Class DayTimeIntervalDurationConverter
java.lang.Object
org.apache.flink.table.data.conversion.DayTimeIntervalDurationConverter
- All Implemented Interfaces:
Serializable,DataStructureConverter<Long,Duration>
@Internal
public class DayTimeIntervalDurationConverter
extends Object
implements DataStructureConverter<Long,Duration>
Converter for
DayTimeIntervalType of Duration external type.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoExternal(Long internal) Converts to external data structure.toInternal(Duration external) Converts to internal data structure.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.table.data.conversion.DataStructureConverter
isIdentityConversion, open, toExternalOrNull, toInternalOrNull
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
DayTimeIntervalDurationConverter
public DayTimeIntervalDurationConverter()
-
-
Method Details
-
toInternal
Description copied from interface:DataStructureConverterConverts to internal data structure.Note: Parameter must not be null. Output must not be null.
- Specified by:
toInternalin interfaceDataStructureConverter<Long,Duration>
-
toExternal
Description copied from interface:DataStructureConverterConverts to external data structure.Note: Parameter must not be null. Output must not be null.
- Specified by:
toExternalin interfaceDataStructureConverter<Long,Duration>
-