public class PrintRawToFileHandler extends Object
| Constructor and Description |
|---|
PrintRawToFileHandler(File file,
RecordSerializer serializer) |
| Modifier and Type | Method and Description |
|---|---|
void |
finish()
Method which called after all iteration would be finished.
|
protected byte[] |
getBytes(IgniteBiTuple<WALPointer,WALRecord> record) |
protected byte[] |
getHeader() |
void |
handle(IgniteBiTuple<WALPointer,WALRecord> record)
Handling one more record during iteration over WAL.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThen, toStringRecordpublic PrintRawToFileHandler(File file, RecordSerializer serializer)
file - Output file.serializer - Serializer for WAL records.protected byte[] getBytes(IgniteBiTuple<WALPointer,WALRecord> record)
record - WAL record with its pointer.protected byte[] getHeader()
null if there should be no header.public final void handle(IgniteBiTuple<WALPointer,WALRecord> record)
handle in interface ScannerHandlerrecord - One more record from WAL.public void finish()
finish in interface ScannerHandler
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020