Class TimestampExtractorUtils
- java.lang.Object
-
- org.apache.flink.table.sources.tsextractors.TimestampExtractorUtils
-
@Internal public final class TimestampExtractorUtils extends Object
Utility methods for dealing withTimestampExtractor
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResolvedFieldReference[]
getAccessedFields(TimestampExtractor timestampExtractor, DataType physicalInputType, Function<String,String> nameRemapping)
Retrieves all field accesses needed for the givenTimestampExtractor
.
-
-
-
Method Detail
-
getAccessedFields
public static ResolvedFieldReference[] getAccessedFields(TimestampExtractor timestampExtractor, DataType physicalInputType, Function<String,String> nameRemapping)
Retrieves all field accesses needed for the givenTimestampExtractor
.- Parameters:
timestampExtractor
- Extractor for which to construct array of field accesses.physicalInputType
- Physical input type that the timestamp extractor accesses.nameRemapping
- Additional remapping of a logical to a physical field name. TimestampExtractor works with logical names, but accesses physical fields- Returns:
- Array of physical field references.
-
-