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
| 构造器和说明 |
|---|
LegacyTimestampTypeInfo(int precision) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
int |
getPrecision() |
int |
hashCode() |
String |
toString() |
canEqual, createComparator, createSerializer, getArity, getInfoFor, getTotalFields, getTypeClass, isBasicType, isKeyType, isTupleTypepublic boolean equals(Object obj)
equals 在类中 org.apache.flink.api.common.typeinfo.SqlTimeTypeInfo<Timestamp>public String toString()
toString 在类中 org.apache.flink.api.common.typeinfo.SqlTimeTypeInfo<Timestamp>public int hashCode()
hashCode 在类中 org.apache.flink.api.common.typeinfo.SqlTimeTypeInfo<Timestamp>public int getPrecision()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.