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 around DynamicTableSource. 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:
  • Constructor Details

    • TimestampExtractor

      public TimestampExtractor()
      Deprecated.
  • Method Details

    • getReturnType

      public org.apache.flink.api.common.typeinfo.TypeInformation<Long> getReturnType()
      Deprecated.
      Description copied from interface: FieldComputer
      Returns the result type of the expression.
      Specified by:
      getReturnType in interface FieldComputer<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:
      toProperties in interface Descriptor