Class TimestampExtractorUtils

    • Method Detail

      • getAccessedFields

        public static ResolvedFieldReference[] getAccessedFields​(TimestampExtractor timestampExtractor,
                                                                 DataType physicalInputType,
                                                                 Function<String,​String> nameRemapping)
        Retrieves all field accesses needed for the given TimestampExtractor.
        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.