public class LegacyInstantTypeInfo
extends org.apache.flink.api.common.typeinfo.BasicTypeInfo<java.time.Instant>
TypeInformation for Instant.
The different between Types.INSTANT is the 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
| 构造器和说明 |
|---|
LegacyInstantTypeInfo(int precision) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
int |
getPrecision() |
int |
hashCode() |
String |
toString() |
canEqual, createComparator, createSerializer, getArity, getInfoFor, getTotalFields, getTypeClass, isBasicType, isKeyType, isTupleType, shouldAutocastTopublic boolean equals(Object obj)
equals 在类中 org.apache.flink.api.common.typeinfo.BasicTypeInfo<java.time.Instant>public String toString()
toString 在类中 org.apache.flink.api.common.typeinfo.BasicTypeInfo<java.time.Instant>public int hashCode()
hashCode 在类中 org.apache.flink.api.common.typeinfo.BasicTypeInfo<java.time.Instant>public int getPrecision()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.