private class ReftableReader.RefCursorImpl extends RefCursor
| Modifier and Type | Field and Description |
|---|---|
(package private) BlockReader |
block |
private byte[] |
match |
private boolean |
prefix |
private Ref |
ref |
private long |
scanEnd |
private long |
updateIndex |
| Constructor and Description |
|---|
RefCursorImpl(long scanEnd,
byte[] match,
boolean prefix) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Ref |
getRef()
Get reference at the current position.
|
long |
getUpdateIndex()
Get updateIndex that last modified the current reference.
|
boolean |
next()
Check if another reference is available.
|
wasDeletedprivate final long scanEnd
private final byte[] match
private final boolean prefix
private Ref ref
private long updateIndex
BlockReader block
public boolean next()
throws java.io.IOException
RefCursorpublic Ref getRef()
RefCursorpublic long getUpdateIndex()
RefCursorgetUpdateIndex in class RefCursor