src.com.ibm.as400.access.SQLVariableCompressible Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jt400-jdk8 Show documentation
Show all versions of jt400-jdk8 Show documentation
The Open Source version of the IBM Toolbox for Java
package com.ibm.as400.access;
import java.sql.SQLException;
public interface SQLVariableCompressible {
/**
Converts the contents of the data in compressed bytes, as needed
in a request to the system.
@param rawBytes the raw bytes for the system.
@param offset the offset into the byte array.
@param ccsidConverter the converter.
@return number of bytes written
* @throws SQLException If a database error occurs.
**/
public int convertToCompressedBytes(byte[] rawBytes, int offset, ConvTable ccsidConverter)
throws SQLException;
}