Class StringByteArrayConverter

    • Constructor Detail

      • StringByteArrayConverter

        public StringByteArrayConverter()
    • Method Detail

      • toInternal

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

        public byte[] toExternal​(org.apache.flink.table.data.StringData 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.StringData,​byte[]>