Class TimestampExtractor
- java.lang.Object
-
- org.apache.flink.table.legacy.sources.tsextractors.TimestampExtractor
-
- All Implemented Interfaces:
Serializable,Descriptor,FieldComputer<Long>
@Deprecated @Internal public abstract class TimestampExtractor extends Object implements FieldComputer<Long>, Serializable, Descriptor
Deprecated.This interface will not be supported in the new source design aroundDynamicTableSource. Use the concept of computed columns instead. See FLIP-95 for more information.Provides an expression to extract the timestamp for a rowtime attribute.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TimestampExtractor()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.apache.flink.api.common.typeinfo.TypeInformation<Long>getReturnType()Deprecated.Returns the result type of the expression.Map<String,String>toProperties()Deprecated.This method is a default implementation that uses java serialization and it is discouraged.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.table.legacy.sources.FieldComputer
getArgumentFields, getExpression, validateArgumentFields
-
-
-
-
Method Detail
-
getReturnType
public org.apache.flink.api.common.typeinfo.TypeInformation<Long> getReturnType()
Deprecated.Description copied from interface:FieldComputerReturns the result type of the expression.- Specified by:
getReturnTypein interfaceFieldComputer<Long>- Returns:
- The result type of the expression.
-
toProperties
public Map<String,String> toProperties()
Deprecated.This method is a default implementation that uses java serialization and it is discouraged. All implementation should provide a more specific set of properties.- Specified by:
toPropertiesin interfaceDescriptor
-
-