| Constructor and Description |
|---|
LogRecord.Reader(RecordStream recordStream,
DataInputStream in,
long startSequenceId)
Construct the reader
|
LogRecord.Reader(RecordStream recordStream,
DataInputStream in,
long startSequenceId,
boolean deserializeRecordSet) |
| Modifier and Type | Method and Description |
|---|---|
LogRecordWithDLSN |
readOp()
Read an operation from the input stream.
|
boolean |
skipTo(DLSN dlsn) |
boolean |
skipTo(long txId,
boolean skipControl) |
public LogRecord.Reader(RecordStream recordStream, DataInputStream in, long startSequenceId)
in - The stream to read from.public LogRecord.Reader(RecordStream recordStream, DataInputStream in, long startSequenceId, boolean deserializeRecordSet)
public LogRecordWithDLSN readOp() throws IOException
IOException - on error.public boolean skipTo(long txId,
boolean skipControl)
throws IOException
IOExceptionpublic boolean skipTo(DLSN dlsn) throws IOException
IOExceptionCopyright © 2016. All Rights Reserved.