public class LegacyLocalDateTimeTypeInfo extends LocalTimeTypeInfo<java.time.LocalDateTime>
TypeInformation
for LocalDateTime
.
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
LOCAL_DATE, LOCAL_DATE_TIME, LOCAL_TIME
Constructor and Description |
---|
LegacyLocalDateTimeTypeInfo(int precision) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getPrecision() |
int |
hashCode() |
String |
toString() |
canEqual, createComparator, createSerializer, getArity, getInfoFor, getTotalFields, getTypeClass, isBasicType, isKeyType, isTupleType
getGenericParameters, isSortKeyType, of, of
public boolean equals(Object obj)
equals
in class LocalTimeTypeInfo<java.time.LocalDateTime>
public String toString()
toString
in class LocalTimeTypeInfo<java.time.LocalDateTime>
public int hashCode()
hashCode
in class LocalTimeTypeInfo<java.time.LocalDateTime>
public int getPrecision()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.