Class LocalZonedTimestampIntConverter

java.lang.Object
org.apache.flink.table.data.conversion.LocalZonedTimestampIntConverter
All Implemented Interfaces:
Serializable, DataStructureConverter<org.apache.flink.table.data.TimestampData,Integer>

@Internal public class LocalZonedTimestampIntConverter extends Object implements DataStructureConverter<org.apache.flink.table.data.TimestampData,Integer>
Converter for LocalZonedTimestampType of Integer external type.
See Also:
  • Constructor Details

    • LocalZonedTimestampIntConverter

      public LocalZonedTimestampIntConverter()
  • Method Details

    • toInternal

      public org.apache.flink.table.data.TimestampData toInternal(Integer external)
      Description copied from interface: DataStructureConverter
      Converts to internal data structure.

      Note: Parameter must not be null. Output must not be null.

      Specified by:
      toInternal in interface DataStructureConverter<org.apache.flink.table.data.TimestampData,Integer>
    • toExternal

      public Integer toExternal(org.apache.flink.table.data.TimestampData internal)
      Description copied from interface: DataStructureConverter
      Converts to external data structure.

      Note: Parameter must not be null. Output must not be null.

      Specified by:
      toExternal in interface DataStructureConverter<org.apache.flink.table.data.TimestampData,Integer>