Class DeltaLogFile

Object
io.delta.kernel.internal.replay.DeltaLogFile

public class DeltaLogFile extends Object
Internal wrapper class holding information needed to perform log replay. Represents either a Delta commit file, classic checkpoint, a multipart checkpoint, a V2 checkpoint, or a sidecar checkpoint.
  • Method Details

    • forFileStatus

      public static DeltaLogFile forFileStatus(FileStatus file)
    • ofSideCar

      public static DeltaLogFile ofSideCar(FileStatus file, long version)
    • getFile

      public FileStatus getFile()
    • getLogType

      public DeltaLogFile.LogType getLogType()
    • getVersion

      public long getVersion()
      Get the version for this log file. Note that for LOG_COMPACTION files this returns the end version, similar to a checkpoint