Interface DefinedFieldMapping

    • Method Detail

      • getFieldMapping

        @Nullable
        Map<String,​String> getFieldMapping()
        Deprecated.
        Returns the mapping for the fields of the TableSource's TableSchema to the fields of its produced DataType.

        The mapping is done based on field names, e.g., a mapping "name" -> "f1" maps the schema field "name" to the field "f1" of the produced data type, for example in this case the second field of a Tuple.

        The returned mapping must map all fields (except proctime and rowtime fields) to the produced data type. It can also provide a mapping for fields which are not in the TableSchema to make fields in the physical DataType accessible for a TimestampExtractor.

        Returns:
        A mapping from TableSchema fields to DataType fields or null if no mapping is necessary.