| 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(Instant instant)
Creates an instance of
TimestampData from an instance of Instant. |
static TimestampData |
TimestampData.fromLocalDateTime(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 |
GenericArrayData.getTimestamp(int pos,
int precision) |
TimestampData |
ArrayData.getTimestamp(int pos,
int precision)
Returns the timestamp value at the given position.
|
TimestampData |
GenericRowData.getTimestamp(int pos,
int precision) |
TimestampData |
RowData.getTimestamp(int pos,
int precision)
Returns the timestamp value at the given position.
|
| Modifier and Type | Method and Description |
|---|---|
int |
TimestampData.compareTo(TimestampData that) |
| Modifier and Type | Method and Description |
|---|---|
TimestampData |
BinaryArrayData.getTimestamp(int pos,
int precision) |
TimestampData |
NestedRowData.getTimestamp(int pos,
int precision) |
TimestampData |
BinaryRowData.getTimestamp(int pos,
int precision) |
static TimestampData |
BinarySegmentUtils.readTimestampData(org.apache.flink.core.memory.MemorySegment[] segments,
int baseOffset,
long offsetAndNanos)
Gets an instance of
TimestampData from underlying MemorySegment. |
| Modifier and Type | Method and Description |
|---|---|
void |
BinaryArrayData.setTimestamp(int pos,
TimestampData value,
int precision) |
void |
NestedRowData.setTimestamp(int pos,
TimestampData value,
int precision) |
void |
TypedSetters.setTimestamp(int pos,
TimestampData value,
int precision)
Set Timestamp value.
|
void |
BinaryRowData.setTimestamp(int pos,
TimestampData value,
int precision) |
| Modifier and Type | Method and Description |
|---|---|
TimestampData |
ColumnarRowData.getTimestamp(int pos,
int precision) |
TimestampData |
ColumnarArrayData.getTimestamp(int pos,
int precision) |
| Modifier and Type | Method and Description |
|---|---|
void |
ColumnarRowData.setTimestamp(int pos,
TimestampData value,
int precision) |
void |
ColumnarArrayData.setTimestamp(int pos,
TimestampData value,
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 |
|---|---|
TimestampData |
ProjectedRowData.getTimestamp(int pos,
int precision) |
TimestampData |
JoinedRowData.getTimestamp(int pos,
int precision) |
| Modifier and Type | Method and Description |
|---|---|
static TimestampData |
DateTimeUtils.dateToTimestampWithLocalZone(int date,
TimeZone tz) |
static TimestampData |
DateTimeUtils.parseTimestampData(String dateStr) |
static TimestampData |
DateTimeUtils.parseTimestampData(String dateStr,
int precision) |
static TimestampData |
DateTimeUtils.parseTimestampData(String dateStr,
int precision,
TimeZone timeZone) |
static TimestampData |
DateTimeUtils.parseTimestampData(String dateStr,
String format) |
static TimestampData |
DateTimeUtils.timestampToTimestampWithLocalZone(TimestampData ts,
TimeZone tz) |
static TimestampData |
DateTimeUtils.timestampWithLocalZoneToTimestamp(TimestampData ts,
TimeZone tz) |
static TimestampData |
DateTimeUtils.timeToTimestampWithLocalZone(int time,
TimeZone tz) |
static TimestampData |
DateTimeUtils.toTimestampData(DecimalData v,
int precision) |
static TimestampData |
DateTimeUtils.toTimestampData(double v,
int precision) |
static TimestampData |
DateTimeUtils.toTimestampData(long v,
int precision) |
static TimestampData |
DateTimeUtils.truncate(TimestampData ts,
int precision) |
| Modifier and Type | Method and Description |
|---|---|
static long |
DateTimeUtils.extractFromTimestamp(DateTimeUtils.TimeUnitRange range,
TimestampData ts,
TimeZone tz) |
static String |
DateTimeUtils.formatTimestamp(TimestampData ts,
String format) |
static String |
DateTimeUtils.formatTimestamp(TimestampData ts,
String format,
TimeZone zone) |
static String |
DateTimeUtils.formatTimestamp(TimestampData ts,
TimeZone tz,
int precision) |
static TimestampData |
DateTimeUtils.timestampToTimestampWithLocalZone(TimestampData ts,
TimeZone tz) |
static int |
DateTimeUtils.timestampWithLocalZoneToDate(TimestampData ts,
TimeZone tz) |
static int |
DateTimeUtils.timestampWithLocalZoneToTime(TimestampData ts,
TimeZone tz) |
static TimestampData |
DateTimeUtils.timestampWithLocalZoneToTimestamp(TimestampData ts,
TimeZone tz) |
static TimestampData |
DateTimeUtils.truncate(TimestampData ts,
int precision) |
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.