Class LocalZonedTimestampTimestampConverter

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

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

    • LocalZonedTimestampTimestampConverter

      public LocalZonedTimestampTimestampConverter()
  • Method Details

    • toInternal

      public org.apache.flink.table.data.TimestampData toInternal(Timestamp 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,Timestamp>
    • toExternal

      public Timestamp 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,Timestamp>