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