Class ByteArrayUtils
java.lang.Object
org.apache.flink.table.runtime.arrow.ByteArrayUtils
A utility class for converting byte[][] to String and String to byte[][].
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[][]Convert String to byte[][].static StringtwoDimByteArrayToString(byte[][] byteArray) Convert byte[][] to String.
-
Constructor Details
-
ByteArrayUtils
public ByteArrayUtils()
-
-
Method Details
-
twoDimByteArrayToString
Convert byte[][] to String.- Throws:
IOException
-
stringToTwoDimByteArray
public static byte[][] stringToTwoDimByteArray(String str) throws IOException, ClassNotFoundException Convert String to byte[][].- Throws:
IOExceptionClassNotFoundException
-