jxUtil 0.6

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.


Field Summary
static short CP
           
static QRYBLKCTL DEFAULT
          DEFAULT = FIXEDROW
static QRYBLKCTL FIXEDROW
           
static QRYBLKCTL FORCEFIX
           
static QRYBLKCTL LIMBLOCK
           
private  short value
           
 
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
 
Constructor Summary
  QRYBLKCTL(DDM ddm, int len)
           
private QRYBLKCTL(short value)
           
 
Method Summary
 Object readResolve()
           
 String toString()
          Pretty print.
 void write(DDM ddm)
          Write out the object.
 
Methods inherited from class org.sourceforge.jxutil.net.ddm.qddprmd.DATA
getCP
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

QRYBLKCTL

public QRYBLKCTL(DDM ddm,
                 int len)
          throws IOException

QRYBLKCTL

private QRYBLKCTL(short value)
Method Detail

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

jxUtil 0.6

Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.