|
Berkeley DB version 4.5.20 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sleepycat.db.DatabaseEntry com.sleepycat.db.MultipleEntry com.sleepycat.db.MultipleRecnoNIODataEntry
public class MultipleRecnoNIODataEntry
A DatabaseEntry that holds multiple record number/data pairs returned by a
single Database
or Cursor
get call.
Constructor Summary | |
---|---|
MultipleRecnoNIODataEntry()
Construct an entry with no data. |
|
MultipleRecnoNIODataEntry(java.nio.ByteBuffer data)
Construct an entry with a given java.nio.ByteBuffer. |
Method Summary | |
---|---|
boolean |
next(DatabaseEntry recno,
DatabaseEntry data)
Get the next record number/data pair in the returned set. |
Methods inherited from class com.sleepycat.db.MultipleEntry |
---|
setUserBuffer |
Methods inherited from class com.sleepycat.db.DatabaseEntry |
---|
equals, getData, getDataNIO, getOffset, getPartial, getPartialLength, getPartialOffset, getRecordNumber, getReuseBuffer, getSize, getUserBuffer, getUserBufferLength, hashCode, setData, setData, setDataNIO, setDataNIO, setOffset, setPartial, setPartial, setPartialLength, setPartialOffset, setRecordNumber, setReuseBuffer, setSize |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultipleRecnoNIODataEntry()
DatabaseEntry.setDataNIO
method.
public MultipleRecnoNIODataEntry(java.nio.ByteBuffer data)
data
- java.nio.ByteBuffer wrapped by the entry.Method Detail |
---|
public boolean next(DatabaseEntry recno, DatabaseEntry data)
Database
or
Cursor
get method with this object as the data parameter.
When used with the Queue and Recno access methods,
data.getData()
will return
null
for deleted
records.
recno
- an entry that is set to refer to the next record number in the returned
set.
data
- an entry that is set to refer to the next data element in the returned
set.
false
indicates that the end of the set was reached.
|
Berkeley DB version 4.5.20 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |