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.
Provides an expression to extract the timestamp for a rowtime attribute.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.api.common.typeinfo.TypeInformation<Long>Deprecated.Returns the result type of the expression.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, waitMethods inherited from interface org.apache.flink.table.legacy.sources.FieldComputer
getArgumentFields, getExpression, validateArgumentFields
-
Constructor Details
-
TimestampExtractor
public TimestampExtractor()Deprecated.
-
-
Method Details
-
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
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
-
DynamicTableSource. Use the concept of computed columns instead. See FLIP-95 for more information.