jxUtil 0.6

org.sourceforge.jxutil.net.ddm.qddrdbd
Class QRYROWNBR

java.lang.Object
  |
  +--org.sourceforge.jxutil.net.ddm.qddprmd.DATA
        |
        +--org.sourceforge.jxutil.net.ddm.qddprmd.NUMBER
              |
              +--org.sourceforge.jxutil.net.ddm.qddprmd.BIN
                    |
                    +--org.sourceforge.jxutil.net.ddm.qddrdbd.QRYROWNBR

public class QRYROWNBR
extends BIN

Query Row Number (QRYROWNBR) specifies a row number when using scrollable cursors. QRYROWNBR is used in conjunction with the Query Scroll Orientation (QRYSCRORN) parameter specified on a CNTQRY command. When used with a QRYSCRORN value of QRYSCRABS (absolute), it identifes that the row is calculated from the beginning of the result table (if the QRYROWNBR is positive) or from the end of the result table (if the QRYROWNBR is negative). If an application requester cannot convert a row number value provided by the application because it is larger than the largest number that can be transmitted in this instance variable, the application requester fails the request with a SQLSTATE of 56051.


Field Summary
static short CP
           
private  long value
           
 
Constructor Summary
QRYROWNBR(DDM ddm, int len)
           
 
Method Summary
 void write(DDM ddm)
          Write out the object.
 
Methods inherited from class org.sourceforge.jxutil.net.ddm.qddprmd.DATA
getCP, toString
 
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

value

private final long value
Constructor Detail

QRYROWNBR

public QRYROWNBR(DDM ddm,
                 int len)
          throws IOException
Method Detail

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.