Class LogCompactionWriter
Object
io.delta.kernel.internal.compaction.LogCompactionWriter
Utility for writing out log compactions.
-
Constructor Summary
ConstructorsConstructorDescriptionLogCompactionWriter(Path dataPath, Path logPath, long startVersion, long endVersion, long minFileRetentionTimestampMillis) -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanshouldCompact(long commitVersion, long compactionInterval) Utility to determine if log compaction should run for the given commit version.voidwriteLogCompactionFile(Engine engine)
-
Constructor Details
-
LogCompactionWriter
-
-
Method Details
-
writeLogCompactionFile
- Throws:
IOException
-
shouldCompact
public static boolean shouldCompact(long commitVersion, long compactionInterval) Utility to determine if log compaction should run for the given commit version.
-