Class LocalZonedTimestampTimestampConverter
- java.lang.Object
-
- org.apache.flink.table.data.conversion.LocalZonedTimestampTimestampConverter
-
- All Implemented Interfaces:
Serializable
,DataStructureConverter<TimestampData,Timestamp>
@Internal public class LocalZonedTimestampTimestampConverter extends Object implements DataStructureConverter<TimestampData,Timestamp>
Converter forLocalZonedTimestampType
ofTimestamp
external type.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LocalZonedTimestampTimestampConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Timestamp
toExternal(TimestampData internal)
Converts to external data structure.TimestampData
toInternal(Timestamp external)
Converts to internal data structure.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.table.data.conversion.DataStructureConverter
isIdentityConversion, open, toExternalOrNull, toInternalOrNull
-
-
-
-
Method Detail
-
toInternal
public 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 interfaceDataStructureConverter<TimestampData,Timestamp>
-
toExternal
public Timestamp toExternal(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 interfaceDataStructureConverter<TimestampData,Timestamp>
-
-