org.sourceforge.jxutil.net.ddm.qddrdbd
Class QRYBLKCTL
java.lang.Object
|
+--org.sourceforge.jxutil.net.ddm.qddprmd.DATA
|
+--org.sourceforge.jxutil.net.ddm.qddprmd.STRING
|
+--org.sourceforge.jxutil.net.ddm.qddrdbd.QRYBLKCTL
- All Implemented Interfaces:
- CodePoints
- public class QRYBLKCTL
- extends STRING
- implements CodePoints
Query Block Protocol Control (QRYBLKCTL) String controls the type of query
block protocol used when a query is opened.
When the parameter is specified in the OPNQRY command, it controls the
query protocol used for the specific query being opened. When the parameter
is specified in the BGNBND command, it controls the query protocols all
queries in the package use unless the OPNQRY command overrides it.
A database cursor is ambiguous if it is not declared for FETCH ONLY or
UPDATE, not the target of a WHERE_CURRENT_OF clause on an SQL UPDATE or
DELETE statement, and if the package has dynamic SQL capability.
All other database cursors are certain. When the database cursor is certain
and the qryblkctl parameter takes the value FIXROWPRC or LMTBLKPRC, then the
protocols used are defined in the terms FIXROWPRC and LMTBLKPRC.
The value FRCFIXROW means that the target SQLAM must use the fixed row
query protocol for all database cursors (see FRCFIXROW)). The value
FIXROWPRC means that the target SQLAM must use the fixed row query protocol
for all queries that have ambiguous database cursors. The value LMTBLKPRC
means that the target SQLAM must use the limited block query protocol for
all queries that have ambiguous database cursors, except if the cursor is
scrollable and has a sensitivity that requires FIXROWPRC.
Fields inherited from interface org.sourceforge.jxutil.net.ddm.qddrdbd.CodePoints |
BNDCHKONL, BNDERRALW, BNDEXSOPT, BNDEXSRQR, BNDNERALW, CSTBITS, CSTMBCS, CSTSBCS, CSTSYSDFT, DECDELCMA, DECDELPRD, DFTPKG, EURDATFMT, EURTIMFMT, EXPALL, EXPNON, FIXROWPRC, FRCFIXROW, ISODATFMT, ISOLVLALL, ISOLVLCHG, ISOLVLCS, ISOLVLNC, ISOLVLRR, ISOTIMFMT, JISDATFMT, JISTIMFMT, LMTBLKPRC, PKGATHKP, PKGATHRVK, PKGRPLALW, PKGRPLNA, RDBRLSCMM, RDBRLSCNV, STRDELAP, STTASMEUI, STTSCCCLS, STTSTRDEL, USADATFMT, USATIMFMT |
Methods inherited from class org.sourceforge.jxutil.net.ddm.qddprmd.DATA |
getCP |
CP
public static final short CP
- See Also:
- Constant Field Values
DEFAULT
public static final QRYBLKCTL DEFAULT
- DEFAULT = FIXEDROW
FIXEDROW
public static final QRYBLKCTL FIXEDROW
- See Also:
CodePoints.FIXROWPRC
FORCEFIX
public static final QRYBLKCTL FORCEFIX
- See Also:
CodePoints.FRCFIXROW
LIMBLOCK
public static final QRYBLKCTL LIMBLOCK
- See Also:
CodePoints.LMTBLKPRC
value
private final short value
QRYBLKCTL
public QRYBLKCTL(DDM ddm,
int len)
throws IOException
QRYBLKCTL
private QRYBLKCTL(short value)
readResolve
public Object readResolve()
toString
public String toString()
- Description copied from class:
DATA
- Pretty print.
- Overrides:
toString
in class DATA
- Returns:
- the class name and code point value.
write
public void write(DDM ddm)
throws IOException
- Description copied from class:
DATA
- Write out the object.
- Overrides:
write
in class DATA
- Parameters:
ddm
- the DDM stream
IOException
Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.