public abstract class DumpFileReader extends FileReader
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Set |
targetTxnIds |
protected boolean |
verbose |
anticipateChecksumErrors, cksumValidator, currentEntryHeader, currentEntryOffset, currentEntryPrevOffset, envImpl, eof, fileManager, nextEntryOffset, readBufferFileEnd, readBufferFileNum, readBufferFileStart, startLsn| Constructor and Description |
|---|
DumpFileReader(EnvironmentImpl env,
int readBufferSize,
long startLsn,
long finishLsn,
java.lang.String entryTypes,
java.lang.String txnIds,
boolean verbose)
Create this reader to start at a given LSN.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isTargetEntry(byte logEntryTypeNumber,
byte logEntryTypeVersion) |
void |
summarize() |
getAndResetNReads, getLastEntrySize, getLastLsn, getNRepeatIteratorReads, getNumRead, initStartingPosition, processEntry, readNextEntry, resyncReader, setAlwaysValidateChecksumpublic DumpFileReader(EnvironmentImpl env, int readBufferSize, long startLsn, long finishLsn, java.lang.String entryTypes, java.lang.String txnIds, boolean verbose) throws java.io.IOException, DatabaseException
java.io.IOExceptionDatabaseExceptionprotected boolean isTargetEntry(byte logEntryTypeNumber,
byte logEntryTypeVersion)
isTargetEntry in class FileReaderpublic void summarize()