DynamicTableSource
. See FLIP-95 for more
information.@Deprecated @PublicEvolving public final class StreamRecordTimestamp extends TimestampExtractor
Note: This extractor only works for StreamTableSources.
Modifier and Type | Field and Description |
---|---|
static StreamRecordTimestamp |
INSTANCE
Deprecated.
|
Constructor and Description |
---|
StreamRecordTimestamp()
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 the
Expression that computes the value of the field. |
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 static final StreamRecordTimestamp INSTANCE
public String[] getArgumentFields()
FieldComputer
public void validateArgumentFields(TypeInformation<?>[] argumentFieldTypes)
FieldComputer
argumentFieldTypes
- The types of the physical input fields.public Expression getExpression(ResolvedFieldReference[] fieldAccesses)
FieldComputer
Expression
that computes the value of the field.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.