DynamicTableSource
. See FLIP-95 for more
information.@Deprecated @PublicEvolving public final class ExistingField extends TimestampExtractor
Long
, Timestamp
, or timestamp formatted
java.lang.String field (e.g., "2018-05-28 12:34:56.000") into a rowtime attribute.Constructor and Description |
---|
ExistingField(String field)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Deprecated.
|
String[] |
getArgumentFields()
Deprecated.
Returns the names of all fields that the expression of the field computer accesses.
|
Expression |
getExpression(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 |
hashCode()
Deprecated.
|
Map<String,String> |
toProperties()
Deprecated.
This method is a default implementation that uses java serialization and it is discouraged.
|
void |
validateArgumentFields(TypeInformation<?>[] argumentFieldTypes)
Deprecated.
Validates that the fields that the expression references have the correct types.
|
getReturnType
public ExistingField(String field)
field
- The field to convert into a rowtime attribute.public String[] getArgumentFields()
FieldComputer
public void validateArgumentFields(TypeInformation<?>[] argumentFieldTypes)
FieldComputer
argumentFieldTypes
- The types of the physical input fields.public Expression getExpression(ResolvedFieldReference[] fieldAccesses)
Expression
that casts a Long
, Timestamp
, or timestamp
formatted String
field (e.g., "2018-05-28 12:34:56.000") into a rowtime attribute.fieldAccesses
- Field access expressions for the argument fields.TableSource
return type.public Map<String,String> toProperties()
TimestampExtractor
toProperties
in interface Descriptor
toProperties
in class TimestampExtractor
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.