Class IdentityConverter<I>
java.lang.Object
org.apache.flink.table.data.conversion.IdentityConverter<I>
- All Implemented Interfaces:
Serializable,DataStructureConverter<I,I>
No-op converter that just forwards its input.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether this conversion is a no-op.toExternal(I internal) Converts to external data structure.toInternal(I 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
open, toExternalOrNull, toInternalOrNull
-
Constructor Details
-
IdentityConverter
public IdentityConverter()
-
-
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<I,I>
-
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<I,I>
-
isIdentityConversion
public boolean isIdentityConversion()Description copied from interface:DataStructureConverterReturns whether this conversion is a no-op.An identity conversion means that the type is already an internal data structure.
- Specified by:
isIdentityConversionin interfaceDataStructureConverter<I,I>
-