DbMultipleDataIterator |
import com.sleepycat.db.*;public class DbMultipleDataIterator { public DbMultipleDataIterator(Dbt data);
public boolean next(Dbt data); }
public class DbMultipleKeyDataIterator { public DbMultipleKeyDataIterator(Dbt data);
public boolean next(Dbt key, Dbt data); }
public class DbMultipleRecnoDataIterator { public DbMultipleRecnoDataIterator(Dbt data);
public boolean next(Dbt key, Dbt data); }
If either of the Db.DB_MULTIPLE or Db.DB_MULTIPLE_KEY flags were specified to the Db.get or Dbc.get method, the data Dbt returned by those interfaces will refer to a buffer that is filled with data. Access to that data is through the following classes.
All instances of the bulk retrieval classes may be used only once, and to traverse the bulk retrieval buffer in the forward direction only. However, they are nondestructive, so multiple iterators can be instantiated and used on the same returned data Dbt.