Interface ScannerHandler
-
- All Known Implementing Classes:
PrintRawToFileHandler
public interface ScannerHandlerScanner handler which provide ability to do some handling on each record during iteration.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ScannerHandlerandThen(ScannerHandler then)Execute 'then' handler after 'this'.default voidfinish()Method which called after all iteration would be finished.voidhandle(IgniteBiTuple<WALPointer,WALRecord> record)Handling one more record during iteration over WAL.static StringtoStringRecord(WALRecord walRecord)Make string from given wal record.
-
-
-
Method Detail
-
handle
void handle(IgniteBiTuple<WALPointer,WALRecord> record)
Handling one more record during iteration over WAL.- Parameters:
record- One more record from WAL.
-
finish
default void finish()
Method which called after all iteration would be finished.
-
andThen
default ScannerHandler andThen(ScannerHandler then)
Execute 'then' handler after 'this'.- Parameters:
then- Next handler for execution.- Returns:
- Composite handler.
-
-