private class ReftableReader.ObjCursorImpl extends RefCursor
| Modifier and Type | Field and Description |
|---|---|
private BlockReader |
block |
private LongList |
blockPos |
private int |
listIdx |
private ObjectId |
match |
private Ref |
ref |
private long |
scanEnd |
private long |
updateIndex |
| Constructor and Description |
|---|
ObjCursorImpl(long scanEnd,
AnyObjectId id) |
| 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.
|
(package private) void |
initScan() |
(package private) void |
initSeek() |
boolean |
next()
Check if another reference is available.
|
wasDeletedprivate final long scanEnd
private final ObjectId match
private Ref ref
private long updateIndex
private int listIdx
private LongList blockPos
private BlockReader block
ObjCursorImpl(long scanEnd,
AnyObjectId id)
void initSeek()
throws java.io.IOException
java.io.IOExceptionvoid initScan()
throws java.io.IOException
java.io.IOExceptionpublic boolean next()
throws java.io.IOException
RefCursorpublic Ref getRef()
RefCursorpublic long getUpdateIndex()
RefCursorgetUpdateIndex in class RefCursor