Class LegacyLocalDateTimeTypeInfo
- java.lang.Object
-
- org.apache.flink.api.common.typeinfo.TypeInformation<T>
-
- org.apache.flink.api.common.typeinfo.LocalTimeTypeInfo<java.time.LocalDateTime>
-
- org.apache.flink.table.runtime.typeutils.LegacyLocalDateTimeTypeInfo
-
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.typeinfo.AtomicType<java.time.LocalDateTime>
public class LegacyLocalDateTimeTypeInfo extends org.apache.flink.api.common.typeinfo.LocalTimeTypeInfo<java.time.LocalDateTime>TypeInformationforLocalDateTime.The difference between Types.LOCAL_DATE_TIME is this TypeInformation holds a precision Reminder: Conversion from DateType 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
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LegacyLocalDateTimeTypeInfo(int precision)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)intgetPrecision()inthashCode()StringtoString()-
Methods inherited from class org.apache.flink.api.common.typeinfo.LocalTimeTypeInfo
canEqual, createComparator, createSerializer, createSerializer, getArity, getInfoFor, getTotalFields, getTypeClass, isBasicType, isKeyType, isTupleType
-
-
-
-
Method Detail
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classorg.apache.flink.api.common.typeinfo.LocalTimeTypeInfo<java.time.LocalDateTime>
-
toString
public String toString()
- Overrides:
toStringin classorg.apache.flink.api.common.typeinfo.LocalTimeTypeInfo<java.time.LocalDateTime>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classorg.apache.flink.api.common.typeinfo.LocalTimeTypeInfo<java.time.LocalDateTime>
-
getPrecision
public int getPrecision()
-
-