Class RawObjectConverter<T>
- java.lang.Object
-
- org.apache.flink.table.data.conversion.RawObjectConverter<T>
-
- All Implemented Interfaces:
Serializable
,DataStructureConverter<RawValueData<T>,T>
@Internal public class RawObjectConverter<T> extends Object implements DataStructureConverter<RawValueData<T>,T>
Converter forRawType
of object external type.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RawObjectConverter<?>
create(DataType dataType)
T
toExternal(RawValueData<T> internal)
Converts to external data structure.RawValueData<T>
toInternal(T 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 RawValueData<T> toInternal(T 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<RawValueData<T>,T>
-
toExternal
public T toExternal(RawValueData<T> 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<RawValueData<T>,T>
-
create
public static RawObjectConverter<?> create(DataType dataType)
-
-