Class LocalZonedTimestampInstantConverter

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

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

    • LocalZonedTimestampInstantConverter

      public LocalZonedTimestampInstantConverter()
  • Method Details

    • toInternal

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

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