Class TransactionLogParser
java.lang.Object
io.trino.plugin.deltalake.transactionlog.TransactionLogParser
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DateTimeFormatterstatic final Stringstatic final DateTimeFormatterstatic final longstatic final long -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectdeserializeColumnValue(DeltaLakeColumnHandle column, String valueString, Function<String, Long> timestampReader, Function<String, Long> timestampWithZoneReader) static ObjectdeserializePartitionValue(DeltaLakeColumnHandle column, Optional<String> valueString) static longgetMandatoryCurrentVersion(TrinoFileSystem fileSystem, String tableLocation) static DeltaLakeTransactionLogEntry
-
Field Details
-
START_OF_MODERN_ERA_EPOCH_DAY
public static final long START_OF_MODERN_ERA_EPOCH_DAY -
START_OF_MODERN_ERA_EPOCH_MICROS
public static final long START_OF_MODERN_ERA_EPOCH_MICROS -
LAST_CHECKPOINT_FILENAME
- See Also:
-
PARTITION_TIMESTAMP_FORMATTER
-
JSON_STATISTICS_TIMESTAMP_FORMATTER
-
-
Method Details
-
parseJson
-
deserializePartitionValue
@Nullable public static Object deserializePartitionValue(DeltaLakeColumnHandle column, Optional<String> valueString) -
deserializeColumnValue
-
getMandatoryCurrentVersion
public static long getMandatoryCurrentVersion(TrinoFileSystem fileSystem, String tableLocation) throws IOException - Throws:
IOException
-