Modifier and Type | Method and Description |
---|---|
TimestampData |
ParquetDictionary.decodeToTimestamp(int id) |
Modifier and Type | Method and Description |
---|---|
static TimestampData |
TimestampColumnReader.decodeInt96ToTimestamp(boolean utcTimestamp,
org.apache.parquet.column.Dictionary dictionary,
int id) |
Modifier and Type | Method and Description |
---|---|
TimestampData |
OrcNoHiveTimestampVector.getTimestamp(int i,
int precision) |
Modifier and Type | Method and Description |
---|---|
TimestampData |
OrcTimestampColumnVector.getTimestamp(int i,
int precision) |
TimestampData |
OrcLegacyTimestampColumnVector.getTimestamp(int i,
int precision) |
Modifier and Type | Method and Description |
---|---|
static TimestampData |
TimestampData.fromEpochMillis(long milliseconds)
Creates an instance of
TimestampData from milliseconds. |
static TimestampData |
TimestampData.fromEpochMillis(long milliseconds,
int nanosOfMillisecond)
Creates an instance of
TimestampData from milliseconds and a nanos-of-millisecond. |
static TimestampData |
TimestampData.fromInstant(java.time.Instant instant)
Creates an instance of
TimestampData from an instance of Instant . |
static TimestampData |
TimestampData.fromLocalDateTime(java.time.LocalDateTime dateTime)
Creates an instance of
TimestampData from an instance of LocalDateTime . |
static TimestampData |
TimestampData.fromTimestamp(Timestamp timestamp)
Creates an instance of
TimestampData from an instance of Timestamp . |
TimestampData |
ColumnarRowData.getTimestamp(int pos,
int precision) |
TimestampData |
ColumnarArrayData.getTimestamp(int pos,
int precision) |
TimestampData |
BoxedWrapperRowData.getTimestamp(int pos,
int precision) |
TimestampData |
UpdatableRowData.getTimestamp(int pos,
int precision) |
TimestampData |
GenericRowData.getTimestamp(int pos,
int precision) |
TimestampData |
GenericArrayData.getTimestamp(int pos,
int precision) |
TimestampData |
RowData.getTimestamp(int pos,
int precision)
Returns the timestamp value at the given position.
|
TimestampData |
ArrayData.getTimestamp(int pos,
int precision)
Returns the timestamp value at the given position.
|
Modifier and Type | Method and Description |
---|---|
int |
TimestampData.compareTo(TimestampData that) |
void |
ColumnarRowData.setTimestamp(int pos,
TimestampData value,
int precision) |
void |
ColumnarArrayData.setTimestamp(int pos,
TimestampData value,
int precision) |
void |
BoxedWrapperRowData.setTimestamp(int pos,
TimestampData value,
int precision) |
void |
UpdatableRowData.setTimestamp(int pos,
TimestampData value,
int precision) |
Modifier and Type | Method and Description |
---|---|
TimestampData |
BinaryRowData.getTimestamp(int pos,
int precision) |
TimestampData |
BinaryArrayData.getTimestamp(int pos,
int precision) |
TimestampData |
NestedRowData.getTimestamp(int pos,
int precision) |
static TimestampData |
BinarySegmentUtils.readTimestampData(MemorySegment[] segments,
int baseOffset,
long offsetAndNanos)
Gets an instance of
TimestampData from underlying MemorySegment . |
Modifier and Type | Method and Description |
---|---|
void |
BinaryRowData.setTimestamp(int pos,
TimestampData value,
int precision) |
void |
BinaryArrayData.setTimestamp(int pos,
TimestampData value,
int precision) |
void |
TypedSetters.setTimestamp(int pos,
TimestampData value,
int precision)
Set Timestamp value.
|
void |
NestedRowData.setTimestamp(int pos,
TimestampData value,
int precision) |
Modifier and Type | Method and Description |
---|---|
TimestampData |
LocalZonedTimestampInstantConverter.toInternal(java.time.Instant external) |
TimestampData |
LocalZonedTimestampIntConverter.toInternal(Integer external) |
TimestampData |
TimestampLocalDateTimeConverter.toInternal(java.time.LocalDateTime external) |
TimestampData |
LocalZonedTimestampLongConverter.toInternal(Long external) |
TimestampData |
TimestampTimestampConverter.toInternal(Timestamp external) |
Modifier and Type | Method and Description |
---|---|
Integer |
LocalZonedTimestampIntConverter.toExternal(TimestampData internal) |
Long |
LocalZonedTimestampLongConverter.toExternal(TimestampData internal) |
Timestamp |
TimestampTimestampConverter.toExternal(TimestampData internal) |
java.time.LocalDateTime |
TimestampLocalDateTimeConverter.toExternal(TimestampData internal) |
java.time.Instant |
LocalZonedTimestampInstantConverter.toExternal(TimestampData internal) |
Modifier and Type | Method and Description |
---|---|
TimestampData |
JoinedRowData.getTimestamp(int pos,
int precision) |
Modifier and Type | Method and Description |
---|---|
TimestampData |
Dictionary.decodeToTimestamp(int id) |
TimestampData |
TimestampColumnVector.getTimestamp(int i,
int precision) |
TimestampData |
VectorizedColumnBatch.getTimestamp(int rowId,
int colId,
int precision) |
Modifier and Type | Method and Description |
---|---|
TimestampData |
HeapTimestampVector.getTimestamp(int i,
int precision) |
Modifier and Type | Method and Description |
---|---|
void |
HeapTimestampVector.fill(TimestampData value) |
void |
HeapTimestampVector.setTimestamp(int i,
TimestampData timestamp) |
Modifier and Type | Method and Description |
---|---|
void |
WritableTimestampVector.fill(TimestampData value)
Fill the column vector with the provided value.
|
void |
WritableTimestampVector.setTimestamp(int rowId,
TimestampData timestamp)
Set
TimestampData at rowId with the provided value. |
Modifier and Type | Method and Description |
---|---|
void |
BinaryWriter.writeTimestamp(int pos,
TimestampData value,
int precision) |
Modifier and Type | Method and Description |
---|---|
TimestampData |
ArrowTimestampColumnVector.getTimestamp(int i,
int precision) |
Modifier and Type | Method and Description |
---|---|
static TimestampData |
SqlDateTimeUtils.timestampToTimestampWithLocalZone(TimestampData ts,
TimeZone tz) |
static TimestampData |
SqlDateTimeUtils.timestampWithLocalZoneToTimestamp(TimestampData ts,
TimeZone tz) |
static TimestampData |
SqlDateTimeUtils.toTimestampData(String dateStr) |
static TimestampData |
SqlDateTimeUtils.toTimestampData(String dateStr,
String format) |
static TimestampData |
SqlDateTimeUtils.truncate(TimestampData ts,
int precision) |
Modifier and Type | Method and Description |
---|---|
static String |
SqlDateTimeUtils.dateFormat(TimestampData ts,
String format) |
static String |
SqlDateTimeUtils.dateFormat(TimestampData ts,
String format,
TimeZone zone) |
static String |
SqlDateTimeUtils.dateFormat(TimestampData ts,
String format,
java.time.ZoneId zoneId)
Format a timestamp as specific.
|
static long |
SqlDateTimeUtils.extractFromTimestamp(org.apache.calcite.avatica.util.TimeUnitRange range,
TimestampData ts,
TimeZone tz) |
static String |
SqlDateTimeUtils.timestampToString(TimestampData ts,
int precision) |
static String |
SqlDateTimeUtils.timestampToString(TimestampData ts,
TimeZone tz,
int precision) |
static TimestampData |
SqlDateTimeUtils.timestampToTimestampWithLocalZone(TimestampData ts,
TimeZone tz) |
static TimestampData |
SqlDateTimeUtils.timestampWithLocalZoneToTimestamp(TimestampData ts,
TimeZone tz) |
static TimestampData |
SqlDateTimeUtils.truncate(TimestampData ts,
int precision) |
Modifier and Type | Method and Description |
---|---|
static void |
SortUtil.putTimestampNormalizedKey(TimestampData value,
MemorySegment target,
int offset,
int numBytes)
Support the compact precision TimestampData.
|
Modifier and Type | Method and Description |
---|---|
TimestampData |
TimestampDataSerializer.copy(TimestampData from) |
TimestampData |
TimestampDataSerializer.copy(TimestampData from,
TimestampData reuse) |
TimestampData |
TimestampDataSerializer.createInstance() |
TimestampData |
TimestampDataSerializer.deserialize(DataInputView source) |
TimestampData |
TimestampDataSerializer.deserialize(TimestampData reuse,
DataInputView source) |
Modifier and Type | Method and Description |
---|---|
TypeSerializer<TimestampData> |
TimestampDataTypeInfo.createSerializer(ExecutionConfig config) |
TypeSerializer<TimestampData> |
TimestampDataSerializer.duplicate() |
Class<TimestampData> |
TimestampDataTypeInfo.getTypeClass() |
TypeSerializerSchemaCompatibility<TimestampData> |
TimestampDataSerializer.TimestampDataSerializerSnapshot.resolveSchemaCompatibility(TypeSerializer<TimestampData> newSerializer) |
TypeSerializer<TimestampData> |
TimestampDataSerializer.TimestampDataSerializerSnapshot.restoreSerializer() |
TypeSerializerSnapshot<TimestampData> |
TimestampDataSerializer.snapshotConfiguration() |
Modifier and Type | Method and Description |
---|---|
TimestampData |
TimestampDataSerializer.copy(TimestampData from) |
TimestampData |
TimestampDataSerializer.copy(TimestampData from,
TimestampData reuse) |
TimestampData |
TimestampDataSerializer.deserialize(TimestampData reuse,
DataInputView source) |
void |
TimestampDataSerializer.serialize(TimestampData record,
DataOutputView target) |
Modifier and Type | Method and Description |
---|---|
TypeSerializerSchemaCompatibility<TimestampData> |
TimestampDataSerializer.TimestampDataSerializerSnapshot.resolveSchemaCompatibility(TypeSerializer<TimestampData> newSerializer) |
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.