Class SDOScrollingMode

java.lang.Object
com.progress.open4gl.SDOScrollingMode
All Implemented Interfaces:
Serializable

public final class SDOScrollingMode extends Object implements 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:
  • Field Details

    • FORWARD_ONLY_MODE

      public static final int FORWARD_ONLY_MODE
      See Also:
    • KEEP_ROWS_MODE

      public static final int KEEP_ROWS_MODE
      See Also:
    • PREFETCH_MODE

      public static final int PREFETCH_MODE
      See Also:
    • FORWARD_ONLY

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

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

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

    • getMode

      public int getMode()
    • getModeName

      public String getModeName()
    • getModeName

      public static String getModeName(int m)