Class ArrayByteArrayConverter
- java.lang.Object
-
- org.apache.flink.table.data.conversion.ArrayByteArrayConverter
-
- All Implemented Interfaces:
Serializable
,DataStructureConverter<ArrayData,byte[]>
@Internal public class ArrayByteArrayConverter extends Object implements DataStructureConverter<ArrayData,byte[]>
Converter forArrayType
ofbyte[]
external type.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ArrayByteArrayConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
toExternal(ArrayData internal)
Converts to external data structure.ArrayData
toInternal(byte[] 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 ArrayData toInternal(byte[] 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<ArrayData,byte[]>
-
toExternal
public byte[] toExternal(ArrayData 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<ArrayData,byte[]>
-
-