private class ReftableReader.LogCursorImpl extends LogCursor
| Modifier and Type | Field and Description |
|---|---|
(package private) BlockReader |
block |
private ReflogEntry |
entry |
private byte[] |
match |
private java.lang.String |
refName |
private long |
scanEnd |
private long |
updateIndex |
| Constructor and Description |
|---|
LogCursorImpl(long scanEnd,
byte[] match) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ReflogEntry |
getReflogEntry()
Get current log entry.
|
java.lang.String |
getRefName()
Get name of the current reference.
|
long |
getUpdateIndex()
Get identifier of the transaction that created the log record.
|
boolean |
next()
Check if another log record is available.
|
private final long scanEnd
private final byte[] match
private java.lang.String refName
private long updateIndex
private ReflogEntry entry
BlockReader block
public boolean next()
throws java.io.IOException
LogCursorpublic java.lang.String getRefName()
LogCursorgetRefName in class LogCursorpublic long getUpdateIndex()
LogCursorgetUpdateIndex in class LogCursorpublic ReflogEntry getReflogEntry()
LogCursorgetReflogEntry in class LogCursor