Class DateDateConverter
java.lang.Object
org.apache.flink.table.data.conversion.DateDateConverter
- All Implemented Interfaces:
Serializable,DataStructureConverter<Integer,Date>
@Internal
public class DateDateConverter
extends Object
implements DataStructureConverter<Integer,Date>
Converter for
DateType of Date external type.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoExternal(Integer internal) Converts to external data structure.toInternal(Date 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
-
Constructor Details
-
DateDateConverter
public DateDateConverter()
-
-
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<Integer,Date>
-
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<Integer,Date>
-