java.lang.Object
org.apache.flink.table.legacy.sources.tsextractors.TimestampExtractor
org.apache.flink.table.legacy.sources.tsextractors.ExistingField
All Implemented Interfaces:
Serializable, org.apache.flink.table.legacy.descriptors.Descriptor, org.apache.flink.table.legacy.sources.FieldComputer<Long>

@Deprecated @Internal public final class ExistingField extends org.apache.flink.table.legacy.sources.tsextractors.TimestampExtractor
Deprecated.
This class will not be supported in the new source design around DynamicTableSource. See FLIP-95 for more information.
Converts an existing Long, Timestamp, or timestamp formatted java.lang.String field (e.g., "2018-05-28 12:34:56.000") into a rowtime attribute.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated.
     
    Deprecated.
     
    org.apache.flink.table.expressions.Expression
    getExpression(org.apache.flink.table.expressions.ResolvedFieldReference[] fieldAccesses)
    Deprecated.
    Returns an Expression that casts a Long, Timestamp, or timestamp formatted String field (e.g., "2018-05-28 12:34:56.000") into a rowtime attribute.
    int
    Deprecated.
     
    Deprecated.
     
    void
    validateArgumentFields(org.apache.flink.api.common.typeinfo.TypeInformation<?>[] argumentFieldTypes)
    Deprecated.
     

    Methods inherited from class org.apache.flink.table.legacy.sources.tsextractors.TimestampExtractor

    getReturnType

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExistingField

      public ExistingField(String field)
      Deprecated.
      Parameters:
      field - The field to convert into a rowtime attribute.
  • Method Details

    • getArgumentFields

      public String[] getArgumentFields()
      Deprecated.
    • validateArgumentFields

      public void validateArgumentFields(org.apache.flink.api.common.typeinfo.TypeInformation<?>[] argumentFieldTypes)
      Deprecated.
    • getExpression

      public org.apache.flink.table.expressions.Expression getExpression(org.apache.flink.table.expressions.ResolvedFieldReference[] fieldAccesses)
      Deprecated.
      Returns an Expression that casts a Long, Timestamp, or timestamp formatted String field (e.g., "2018-05-28 12:34:56.000") into a rowtime attribute.
    • toProperties

      public Map<String,String> toProperties()
      Deprecated.
      Specified by:
      toProperties in interface org.apache.flink.table.legacy.descriptors.Descriptor
      Overrides:
      toProperties in class org.apache.flink.table.legacy.sources.tsextractors.TimestampExtractor
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object