public class ParquetTimestampUtils extends Object
| Constructor and Description |
|---|
ParquetTimestampUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Long |
getInt64(Timestamp timestamp,
org.apache.parquet.schema.LogicalTypeAnnotation.TimeUnit timeUnit)
Convert Timestamp to Long, interpreted by TimeUnit.
|
static Timestamp |
getTimestamp(long value,
org.apache.parquet.schema.LogicalTypeAnnotation.TimeUnit timeUnit,
boolean isAdjustedToUTC) |
public static Timestamp getTimestamp(long value, org.apache.parquet.schema.LogicalTypeAnnotation.TimeUnit timeUnit, boolean isAdjustedToUTC)
public static Long getInt64(Timestamp timestamp, org.apache.parquet.schema.LogicalTypeAnnotation.TimeUnit timeUnit)
Copyright © 2024 The Apache Software Foundation. All rights reserved.