Package org.apache.flink.table.typeutils
Class TimeIntervalTypeInfo<T>
- java.lang.Object
-
- org.apache.flink.api.common.typeinfo.TypeInformation<T>
-
- org.apache.flink.table.typeutils.TimeIntervalTypeInfo<T>
-
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.typeinfo.AtomicType<T>,DataTypeQueryable
@Internal @Deprecated public final class TimeIntervalTypeInfo<T> extends org.apache.flink.api.common.typeinfo.TypeInformation<T> implements org.apache.flink.api.common.typeinfo.AtomicType<T>, DataTypeQueryable
Deprecated.This class will be removed in future versions as it is used for the old type system. It is recommended to useDataTypesinstead. Please make sure to use either the old or the new type system consistently to avoid unintended behavior. See the website documentation for more information.Type information for SQL INTERVAL types.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static TimeIntervalTypeInfo<Long>INTERVAL_MILLISDeprecated.static TimeIntervalTypeInfo<Integer>INTERVAL_MONTHSDeprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancanEqual(Object obj)Deprecated.org.apache.flink.api.common.typeutils.TypeComparator<T>createComparator(boolean sortOrderAscending, org.apache.flink.api.common.ExecutionConfig executionConfig)Deprecated.org.apache.flink.api.common.typeutils.TypeSerializer<T>createSerializer(org.apache.flink.api.common.serialization.SerializerConfig config)Deprecated.booleanequals(Object obj)Deprecated.intgetArity()Deprecated.DataTypegetDataType()Deprecated.intgetTotalFields()Deprecated.Class<T>getTypeClass()Deprecated.inthashCode()Deprecated.booleanisBasicType()Deprecated.booleanisKeyType()Deprecated.booleanisTupleType()Deprecated.StringtoString()Deprecated.
-
-
-
Field Detail
-
INTERVAL_MONTHS
public static final TimeIntervalTypeInfo<Integer> INTERVAL_MONTHS
Deprecated.
-
INTERVAL_MILLIS
public static final TimeIntervalTypeInfo<Long> INTERVAL_MILLIS
Deprecated.
-
-
Method Detail
-
getDataType
public DataType getDataType()
Deprecated.- Specified by:
getDataTypein interfaceDataTypeQueryable
-
isBasicType
public boolean isBasicType()
Deprecated.- Specified by:
isBasicTypein classorg.apache.flink.api.common.typeinfo.TypeInformation<T>
-
isTupleType
public boolean isTupleType()
Deprecated.- Specified by:
isTupleTypein classorg.apache.flink.api.common.typeinfo.TypeInformation<T>
-
getArity
public int getArity()
Deprecated.- Specified by:
getArityin classorg.apache.flink.api.common.typeinfo.TypeInformation<T>
-
getTotalFields
public int getTotalFields()
Deprecated.- Specified by:
getTotalFieldsin classorg.apache.flink.api.common.typeinfo.TypeInformation<T>
-
getTypeClass
public Class<T> getTypeClass()
Deprecated.- Specified by:
getTypeClassin classorg.apache.flink.api.common.typeinfo.TypeInformation<T>
-
isKeyType
public boolean isKeyType()
Deprecated.- Specified by:
isKeyTypein classorg.apache.flink.api.common.typeinfo.TypeInformation<T>
-
createSerializer
public org.apache.flink.api.common.typeutils.TypeSerializer<T> createSerializer(org.apache.flink.api.common.serialization.SerializerConfig config)
Deprecated.- Specified by:
createSerializerin classorg.apache.flink.api.common.typeinfo.TypeInformation<T>
-
createComparator
public org.apache.flink.api.common.typeutils.TypeComparator<T> createComparator(boolean sortOrderAscending, org.apache.flink.api.common.ExecutionConfig executionConfig)
Deprecated.- Specified by:
createComparatorin interfaceorg.apache.flink.api.common.typeinfo.AtomicType<T>
-
hashCode
public int hashCode()
Deprecated.- Specified by:
hashCodein classorg.apache.flink.api.common.typeinfo.TypeInformation<T>
-
canEqual
public boolean canEqual(Object obj)
Deprecated.- Specified by:
canEqualin classorg.apache.flink.api.common.typeinfo.TypeInformation<T>
-
equals
public boolean equals(Object obj)
Deprecated.- Specified by:
equalsin classorg.apache.flink.api.common.typeinfo.TypeInformation<T>
-
-