Class TransactionLogParser
java.lang.Object
io.trino.plugin.deltalake.transactionlog.TransactionLogParser
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DateTimeFormatterstatic final Stringstatic final DateTimeFormatterstatic final LocalDate -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectdeserializeColumnValue(DeltaLakeColumnHandle column, String valueString, Function<String, Long> timestampReader) static ObjectdeserializePartitionValue(DeltaLakeColumnHandle column, Optional<String> valueString) static longgetMandatoryCurrentVersion(TrinoFileSystem fileSystem, org.apache.hadoop.fs.Path tableLocation) static DeltaLakeTransactionLogEntry
-
Field Details
-
START_OF_MODERN_ERA
-
LAST_CHECKPOINT_FILENAME
- See Also:
-
PARTITION_TIMESTAMP_FORMATTER
-
JSON_STATISTICS_TIMESTAMP_FORMATTER
-
-
Method Details
-
parseJson
public static DeltaLakeTransactionLogEntry parseJson(String json) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
deserializePartitionValue
@Nullable public static Object deserializePartitionValue(DeltaLakeColumnHandle column, Optional<String> valueString) -
deserializeColumnValue
-
getMandatoryCurrentVersion
public static long getMandatoryCurrentVersion(TrinoFileSystem fileSystem, org.apache.hadoop.fs.Path tableLocation) throws IOException - Throws:
IOException
-