Class LocalZonedTimestampLongConverter

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

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

    • LocalZonedTimestampLongConverter

      public LocalZonedTimestampLongConverter()
  • Method Details

    • toInternal

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

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