Class RawByteArrayConverter<T>

    • Method Detail

      • toInternal

        public org.apache.flink.table.data.RawValueData<T> 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 interface DataStructureConverter<org.apache.flink.table.data.RawValueData<T>,​byte[]>
      • toExternal

        public byte[] toExternal​(org.apache.flink.table.data.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 interface DataStructureConverter<org.apache.flink.table.data.RawValueData<T>,​byte[]>
      • create

        public static RawByteArrayConverter<?> create​(org.apache.flink.table.types.DataType dataType)