public interface RecordIterator extends Closeable
BTree
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the iterator, freeing any resources that it uses.
|
byte[] |
next()
Returns the next record in the BTree.
|
void |
set(byte[] record)
Replaces the last record returned by
next() with the specified record. |
byte[] next() throws IOException
IOException
- In case an I/O error occurred.void set(byte[] record) throws IOException
next()
with the specified record.IOException
- In case an I/O error occurred.void close() throws IOException
close
in interface AutoCloseable
close
in interface Closeable
IOException
- In case an I/O error occurred.Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.