Class ExistingField
- 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 aroundDynamicTableSource. See FLIP-95 for more information.Converts an existingLong,Timestamp, or timestamp formatted java.lang.String field (e.g., "2018-05-28 12:34:56.000") into a rowtime attribute.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExistingField(String field)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object o)Deprecated.String[]getArgumentFields()Deprecated.org.apache.flink.table.expressions.ExpressiongetExpression(org.apache.flink.table.expressions.ResolvedFieldReference[] fieldAccesses)Deprecated.inthashCode()Deprecated.Map<String,String>toProperties()Deprecated.voidvalidateArgumentFields(org.apache.flink.api.common.typeinfo.TypeInformation<?>[] argumentFieldTypes)Deprecated.
-
-
-
Constructor Detail
-
ExistingField
public ExistingField(String field)
Deprecated.- Parameters:
field- The field to convert into a rowtime attribute.
-
-
Method Detail
-
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.
-
toProperties
public Map<String,String> toProperties()
Deprecated.- Specified by:
toPropertiesin interfaceorg.apache.flink.table.legacy.descriptors.Descriptor- Overrides:
toPropertiesin classorg.apache.flink.table.legacy.sources.tsextractors.TimestampExtractor
-
-