public class LegacyTimestampTypeInfo extends org.apache.flink.api.common.typeinfo.SqlTimeTypeInfo<Timestamp>
TypeInformation for Timestamp.
The difference between Types.SQL_TIMESTAMP 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
| Constructor and Description |
|---|
LegacyTimestampTypeInfo(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, isTupleTypepublic boolean equals(Object obj)
equals in class org.apache.flink.api.common.typeinfo.SqlTimeTypeInfo<Timestamp>public String toString()
toString in class org.apache.flink.api.common.typeinfo.SqlTimeTypeInfo<Timestamp>public int hashCode()
hashCode in class org.apache.flink.api.common.typeinfo.SqlTimeTypeInfo<Timestamp>public int getPrecision()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.