Package io.delta.kernel.internal.replay
Class DeltaLogFile
Object
io.delta.kernel.internal.replay.DeltaLogFile
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.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DeltaLogFileforFileStatus(FileStatus file) getFile()longGet the version for this log file.static DeltaLogFileofSideCar(FileStatus file, long version)
-
Method Details
-
forFileStatus
-
ofSideCar
-
getFile
-
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
-