com.progress.open4gl
Class SDOScrollingMode

java.lang.Object
  |
  +--com.progress.open4gl.SDOScrollingMode
All Implemented Interfaces:
java.io.Serializable

public final class SDOScrollingMode
extends java.lang.Object
implements java.io.Serializable

The SDOScrollingMode class is used statically to define the scrolling mode of the SDOResultSet. The Java application passes one of the following: SDOScrollingMode.FORWARD_ONLY, SDOScrollingMode.KEEP_ROWS or SDOScrollingMode.PREFETCH using the SDOParameters.setScrollingMode() method. SDOScrollingMode.KEEP_ROWS is the default.

See Also:
SDOParameters, SDOResultSet, Serialized Form

Field Summary
static SDOScrollingMode FORWARD_ONLY
          Only the next() navigation method is supported.
static int FORWARD_ONLY_MODE
           
static SDOScrollingMode KEEP_ROWS
          Rows are fetched by demand and kept in memory until the result set is claused.
static int KEEP_ROWS_MODE
           
static SDOScrollingMode PREFETCH
          All the rows are fetched when the SDOResultSet object is created.
static int PREFETCH_MODE
           
 
Method Summary
 int getMode()
           
 java.lang.String getModeName()
           
static java.lang.String getModeName(int m)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FORWARD_ONLY

public static final SDOScrollingMode FORWARD_ONLY
Only the next() navigation method is supported.


FORWARD_ONLY_MODE

public static final int FORWARD_ONLY_MODE
See Also:
Constant Field Values

KEEP_ROWS

public static final SDOScrollingMode KEEP_ROWS
Rows are fetched by demand and kept in memory until the result set is claused.


KEEP_ROWS_MODE

public static final int KEEP_ROWS_MODE
See Also:
Constant Field Values

PREFETCH

public static final SDOScrollingMode PREFETCH
All the rows are fetched when the SDOResultSet object is created.


PREFETCH_MODE

public static final int PREFETCH_MODE
See Also:
Constant Field Values
Method Detail

getMode

public int getMode()

getModeName

public java.lang.String getModeName()

getModeName

public static java.lang.String getModeName(int m)