Class TransactionLogTail
java.lang.Object
io.trino.plugin.deltalake.transactionlog.checkpoint.TransactionLogTail
-
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<List<DeltaLakeTransactionLogEntry>>getEntriesFromJson(long entryNumber, String transactionLogDir, TrinoFileSystem fileSystem) getUpdatedTail(TrinoFileSystem fileSystem, String tableLocation) longstatic TransactionLogTailloadNewTail(TrinoFileSystem fileSystem, String tableLocation, Optional<Long> startVersion) static TransactionLogTailloadNewTail(TrinoFileSystem fileSystem, String tableLocation, Optional<Long> startVersion, Optional<Long> endVersion)
-
Method Details
-
loadNewTail
public static TransactionLogTail loadNewTail(TrinoFileSystem fileSystem, String tableLocation, Optional<Long> startVersion) throws IOException - Throws:
IOException
-
loadNewTail
public static TransactionLogTail loadNewTail(TrinoFileSystem fileSystem, String tableLocation, Optional<Long> startVersion, Optional<Long> endVersion) throws IOException - Throws:
IOException
-
getUpdatedTail
public Optional<TransactionLogTail> getUpdatedTail(TrinoFileSystem fileSystem, String tableLocation) throws IOException - Throws:
IOException
-
getEntriesFromJson
public static Optional<List<DeltaLakeTransactionLogEntry>> getEntriesFromJson(long entryNumber, String transactionLogDir, TrinoFileSystem fileSystem) throws IOException - Throws:
IOException
-
getFileEntries
-
getVersion
public long getVersion()
-