|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.db.DbMultipleRecnoDataIterator
public class DbMultipleRecnoDataIterator
This class is used to iterate through data returned using the
Db.DB_MULTIPLE_KEY
flag from a database belonging to the Recno or Queue access
methods.
Constructor Summary | |
---|---|
DbMultipleRecnoDataIterator(Dbt dbt)
The constructor takes the data Dbt returned by the call to Db.get or Dbc.get that used
the Db.DB_MULTIPLE_KEY flag. |
Method Summary | |
---|---|
boolean |
next(Dbt key,
Dbt data)
The DbMultipleRecnoDataIterator.next method takes two Dbt s, one for a key and one for a data
item, that will each be filled in with a reference to a
buffer, a size, and an offset that together yield the next key
and data item in the original bulk retrieval buffer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DbMultipleRecnoDataIterator(Dbt dbt)
Dbt
returned by the call to Db.get
or Dbc.get
that used
the Db.DB_MULTIPLE_KEY
flag.
dbt
- a data Dbt
returned
by the call to Db.get
or
Dbc.get
that used the
Db.DB_MULTIPLE_KEY
flag.Method Detail |
---|
public boolean next(Dbt key, Dbt data)
Dbt
s, one for a key and one for a data
item, that will each be filled in with a reference to a
buffer, a size, and an offset that together yield the next key
and data item in the original bulk retrieval buffer. The
record number contained in the key item should be accessed
using the Dbt.getRecordNumber
method.
key
- The key parameter will be filled in with a
reference to a buffer, a size, and an offset that yields
the next key item in the original bulk retrieval buffer.
The record number contained in the key item should be
accessed using the Dbt.getRecordNumber
method.data
- The data parameter will be filled in with
a reference to a buffer, a size, and an offset that yields
the next data item in the original bulk retrieval buffer.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |