Method Summary |
|
protected void | CLSQRY() Explicitly close the result set by CLSQRY
needed to check for double close. |
protected void | addExtDtaObject(Object o, int jdbcIndex) |
protected ConsistencyToken | addResultSet(ResultSet value, int holdValue) Add a new resultSet to this statement. |
protected ConsistencyToken | calculateResultSetPkgcnstkn(int rsNum) For a single result set, just echo the consistency token that the client sent us. |
protected void | clearExtDtaObjects() |
protected void | close() This method closes the JDBC objects and frees up all references held by
this object. |
protected boolean | execute() Executes the prepared statement and populates the resultSetTable. |
protected PreparedStatement | explicitPrepare(String sqlStmt) |
protected void | finishParams() clear out type data for parameters. |
protected int | getBlksize() |
protected int | getConcurType() |
protected DRDAResultSet | getCurrentDrdaResultSet() |
protected ArrayList | getExtDtaObjects() |
protected int | getNumParams() |
protected int | getNumResultSets() |
protected int | getNumRsCols() |
protected int[] | getOutovr_drdaType() |
int | getOutputParamType(int paramNum) get type for output parameter. |
protected static int | getOutputParameterTypeFromClassName(String objectName) Given an object class name get the paramameter type if the
parameter mode is unknown. |
protected int | getParamDRDAType(int index) |
protected int | getParamLen(int index) returns drda length of parameter as sent by client. |
protected int | getParamPrecision(int index) |
protected int | getParamScale(int index) |
protected EngineParameterMetaData | getParameterMetaData() Retrieve the ParameterMetaData for the prepared statement. |
protected Pkgnamcsn | getPkgnamcsn() |
protected PreparedStatement | getPreparedStatement() |
protected int | getQryprctyp() |
protected long | getQryrownbr() |
protected int | getQryrowset() |
protected boolean | getQryrtndta() |
protected int | getQryscrorn() |
protected ResultSet | getResultSet() |
public String | getResultSetCursorName(int rsNum) |
protected int | getResultSetHoldability() get resultSetHoldability. |
int | getResultSetHoldability(ResultSet rs) get resultSetHoldability. |
protected ConsistencyToken | getResultSetPkgcnstkn(int rsNum) |
protected int | getRsDRDAType(int index) |
protected int[] | getRsDRDATypes() |
protected int | getRsLen(int index) |
protected int[] | getRsLens() |
protected int | getRsPrecision(int index) |
protected int | getRsScale(int index) |
protected int | getScrollType() |
public byte[] | getSplitQRYDTA() |
protected Statement | getStatement() |
protected boolean | hasOutputParams() |
protected boolean | hasdata() |
protected void | initialize() This method is used to initialize the default statement of the database
for re-use. |
protected boolean | isCallableStatement() |
protected boolean | isExtDtaValueNullable(int index) |
boolean | isOutputParam(int paramNum) |
boolean | isRSCloseImplicit(boolean lmtblkprcOK) Method to decide whether the ResultSet should be closed
implicitly based on the QRYCLSIMP value sent from the
client. |
protected boolean | isScrollable() |
protected PreparedStatement | prepare(String sqlStmt) |
public void | registerAllOutParams() |
public void | registerOutParam(int paramNum) |
protected void | reset() This method resets the state of this DRDAStatement object so that it can
be re-used. |
protected void | rsClose() |
protected boolean | rsIsClosed() |
protected void | rsSuspend() |
protected void | setConcurType(int scrollType) |
protected void | setCurrentDrdaResultSet(int rsNum) |
protected void | setCurrentDrdaResultSet(Pkgnamcsn pkgnamcsn) |
protected void | setDatabase(Database database) |
protected void | setExtDtaObjects(ArrayList a) |
protected void | setHasdata(boolean hasdata) |
protected void | setOPNQRYOptions(int blksize, int qryblkctl, int maxblkext, int outovropt, int qryrowset, int qryclsimpl) Set query options sent on OPNQRY and pass options down to the
current DRDAResultSet object. |
protected void | setOutovr_drdaType(int[] outovr_drdaType) |
protected void | setParamDRDAType(int index, byte type) |
protected void | setParamLen(int index, int value) |
protected void | setPkgnamcsn(Pkgnamcsn pkgnamcsn) Set the pkgid sec num for this statement and the
consistency token that will be used for the first resultSet.
For dyamic packages The package name is encoded as follows
SYS(S/L)(H/N)xyy
where 'S' represents Small package and 'L' large
(ignored by cloudscape)
Where 'H' represents WITH HOLD, and 'N' represents NO WITH HOLD. |
protected void | setQryprctyp(int qryprctyp) |
protected void | setQryrownbr(long qryrownbr) |
protected void | setQryrtndta(boolean qryrtndta) |
protected void | setQryscrorn(int qryscrorn) |
protected void | setQueryOptions(int blksize, boolean qryrelscr, long qryrownbr, boolean qryfrtbl, int nbrrow, int maxblkext, int qryscrorn, boolean qryrowsns, boolean qryblkrst, boolean qryrtndta, int qryrowset, int rtnextdta) |
protected void | setResultSet(ResultSet value) |
protected void | setRsDRDAType(int index, int type) |
protected void | setRsDRDATypes(int[] value) |
protected void | setRsDefaultOptions(DRDAResultSet drs) |
protected void | setRsLen(int index, int value) |
protected void | setRsLens(int[] value) |
protected void | setRsPrecision(int index, int precision) |
protected void | setRsScale(int index, int scale) |
protected void | setScrollType(int scrollType) |
public void | setSplitQRYDTA(byte[] data) |
protected void | setStatement(Connection conn) |
protected void | setTypDefValues() |
protected String | toDebugString(String indent) |
protected boolean | wasExplicitlyClosed() |
protected boolean | wasExplicitlyPrepared() |