com.ibm.as400.access

Interface SQLVariableCompressible



  • public interface SQLVariableCompressible
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int convertToCompressedBytes(byte[] rawBytes, int offset, ConvTable ccsidConverter)
      Converts the contents of the data in compressed bytes, as needed in a request to the system.
    • Method Detail

      • convertToCompressedBytes

        int convertToCompressedBytes(byte[] rawBytes,
                                   int offset,
                                   ConvTable ccsidConverter)
                                     throws java.sql.SQLException
        Converts the contents of the data in compressed bytes, as needed in a request to the system.
        Parameters:
        rawBytes - the raw bytes for the system.
        offset - the offset into the byte array.
        ccsidConverter - the converter.
        Returns:
        number of bytes written
        Throws:
        java.sql.SQLException - If a database error occurs.