Package org.apache.iotdb.db.utils.writelog
-
Interface Summary Interface Description ILogReader ILogReader is an iterator of PhysicalPlan but throws IOException and provide a close() method.ILogWriter ILogWriter provides functions to insert WAL logs that have already been converted to bytes to a persistent medium. -
Class Summary Class Description BatchLogReader BatchedLogReader reads logs from a binary batch of log in the format of ByteBuffer.LogWriter LogWriter writes the binary logs into a file using FileChannel together with check sums of each log calculated using CRC32.MultiFileLogReader MultiFileLogReader constructs SingleFileLogReaders for a list of WAL files, and retrieve logs from the files one-by-one.SingleFileLogReader SingleFileLogReader reads binarized WAL logs from a file through a DataInputStream by scanning the file from head to tail.