Class CheckpointRecord.Reloadable

All Implemented Interfaces:
com.fishlib.base.log.LogOutputAppendable, TableLocationState, NamedImplementation
Enclosing class:
CheckpointRecord

public static class CheckpointRecord.Reloadable extends CheckpointRecord
Extends CheckpointRecord so that the DataFileSizeRecords are reused when reloading the checkpoint file.
  • Constructor Details

    • Reloadable

      public Reloadable()
  • Method Details

    • getImplementationName

      public String getImplementationName()
      Description copied from interface: NamedImplementation

      Get a name for the implementing class. Useful for abstract override Object.toString().

      The default implementation is correct, but not suitable for high-frequency usage.

      Specified by:
      getImplementationName in interface NamedImplementation
      Overrides:
      getImplementationName in class CheckpointRecord
      Returns:
      A name for the implementing class
    • readDataFileState

      protected void readDataFileState(@NotNull DataInputStream in) throws IOException
      Description copied from class: CheckpointRecord
      Read data file state fields in to this record from a DataInputStream.
      Overrides:
      readDataFileState in class CheckpointRecord
      Parameters:
      in - The input stream
      Throws:
      IOException
    • clearDataFileSizeRecordOverrides

      public void clearDataFileSizeRecordOverrides()
      Replace any overridden DataFileSizeRecords with new mutable copies of the original records. This allows removing references to any higher level column data structures that may have been released.