public class LegacyInstantTypeInfo extends org.apache.flink.api.common.typeinfo.BasicTypeInfo<Instant>
TypeInformation for Instant.
The different between Types.INSTANT is the TypeInformation holds a precision Reminder: Conversion from DataType to TypeInformation (and back) exists in TableSourceUtil.computeIndexMapping, which should be fixed after we remove Legacy TypeInformation TODO: https://issues.apache.org/jira/browse/FLINK-14927
BIG_DEC_TYPE_INFO, BIG_INT_TYPE_INFO, BOOLEAN_TYPE_INFO, BYTE_TYPE_INFO, CHAR_TYPE_INFO, DATE_TYPE_INFO, DOUBLE_TYPE_INFO, FLOAT_TYPE_INFO, INSTANT_TYPE_INFO, INT_TYPE_INFO, LONG_TYPE_INFO, SHORT_TYPE_INFO, STRING_TYPE_INFO, VOID_TYPE_INFO| Constructor and Description |
|---|
LegacyInstantTypeInfo(int precision) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getPrecision() |
int |
hashCode() |
String |
toString() |
canEqual, createComparator, createSerializer, createSerializer, getArity, getInfoFor, getTotalFields, getTypeClass, isBasicType, isKeyType, isTupleType, shouldAutocastTopublic boolean equals(Object obj)
equals in class org.apache.flink.api.common.typeinfo.BasicTypeInfo<Instant>public String toString()
toString in class org.apache.flink.api.common.typeinfo.BasicTypeInfo<Instant>public int hashCode()
hashCode in class org.apache.flink.api.common.typeinfo.BasicTypeInfo<Instant>public int getPrecision()
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.