Package org.apache.flink.table.typeutils
Class TimeIndicatorTypeInfo
- java.lang.Object
-
- org.apache.flink.api.common.typeinfo.TypeInformation<T>
-
- org.apache.flink.api.common.typeinfo.SqlTimeTypeInfo<Timestamp>
-
- org.apache.flink.table.typeutils.TimeIndicatorTypeInfo
-
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.typeinfo.AtomicType<Timestamp>
@Internal @Deprecated public class TimeIndicatorTypeInfo extends org.apache.flink.api.common.typeinfo.SqlTimeTypeInfo<Timestamp>
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 indicating event or processing time. However, it behaves like a regular SQL timestamp but is serialized as Long.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intPROCTIME_BATCH_MARKERDeprecated.static TimeIndicatorTypeInfoPROCTIME_INDICATORDeprecated.static intPROCTIME_STREAM_MARKERDeprecated.static intROWTIME_BATCH_MARKERDeprecated.static TimeIndicatorTypeInfoROWTIME_INDICATORDeprecated.static intROWTIME_STREAM_MARKERDeprecated.
-
Constructor Summary
Constructors Modifier Constructor Description protectedTimeIndicatorTypeInfo(boolean isEventTime)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.apache.flink.api.common.typeutils.TypeSerializer<Timestamp>createSerializer(org.apache.flink.api.common.serialization.SerializerConfig serializerConfig)Deprecated.booleanisEventTime()Deprecated.StringtoString()Deprecated.-
Methods inherited from class org.apache.flink.api.common.typeinfo.SqlTimeTypeInfo
canEqual, createComparator, equals, getArity, getInfoFor, getTotalFields, getTypeClass, hashCode, isBasicType, isKeyType, isTupleType
-
-
-
-
Field Detail
-
ROWTIME_STREAM_MARKER
public static final int ROWTIME_STREAM_MARKER
Deprecated.- See Also:
- Constant Field Values
-
PROCTIME_STREAM_MARKER
public static final int PROCTIME_STREAM_MARKER
Deprecated.- See Also:
- Constant Field Values
-
ROWTIME_BATCH_MARKER
public static final int ROWTIME_BATCH_MARKER
Deprecated.- See Also:
- Constant Field Values
-
PROCTIME_BATCH_MARKER
public static final int PROCTIME_BATCH_MARKER
Deprecated.- See Also:
- Constant Field Values
-
ROWTIME_INDICATOR
public static final TimeIndicatorTypeInfo ROWTIME_INDICATOR
Deprecated.
-
PROCTIME_INDICATOR
public static final TimeIndicatorTypeInfo PROCTIME_INDICATOR
Deprecated.
-
-
Method Detail
-
createSerializer
public org.apache.flink.api.common.typeutils.TypeSerializer<Timestamp> createSerializer(org.apache.flink.api.common.serialization.SerializerConfig serializerConfig)
Deprecated.- Overrides:
createSerializerin classorg.apache.flink.api.common.typeinfo.SqlTimeTypeInfo<Timestamp>
-
isEventTime
public boolean isEventTime()
Deprecated.
-
-