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.
|
wasDeleted
private 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
RefCursor
public Ref getRef()
RefCursor
public long getUpdateIndex()
RefCursor
getUpdateIndex
in class RefCursor