|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.progress.open4gl.SDOParameters
This is a "catch all" class for passing initial parameters to an SDOResultSet object through the _createSDOResultSet() method. All the parameters not specified as parameters of _createSDOResultSet() are passed through an SDOParameters object.
SDOAppObject
,
SDOResultSet
,
SDOScrollingMode
,
Serialized FormField Summary | |
static int |
DEFAULT_FETCH_SIZE
|
static int |
DEFAULT_MAXPREFETCH_ROWS
|
static int |
MINIMUM_FETCH_SIZE
|
static int |
MINIMUM_MAXPREFETCH_ROWS
|
static int |
PREFETCH_SIZE
|
Constructor Summary | |
SDOParameters()
|
Method Summary | |
int |
getFetchSize()
|
int |
getPrefetchMaxRows()
|
java.lang.String |
getRowIdentity()
|
SDOScrollingMode |
getScrollingMode()
|
boolean |
getStateless()
|
boolean |
scrollingModeWasSet()
|
void |
setFetchSize(int fSize)
Sets the number of rows to be fetched whenever the SDOResultSet gets more rows from the server. |
void |
setPrefetchMaxRows(int maxRows)
Sets the maximum number of rows to be fetched in PREFETCH mode. |
void |
setRowIdentity(java.lang.String id)
To create an SDOResultSet object with the cursor positioned before a specific row. |
void |
setScrollingMode(SDOScrollingMode mode)
Sets the scrolling mode of the SDOResultSet object. |
void |
setStateless(boolean s)
If Stateless is set to true then the implementation of the SDOResultSet object will automatically create and delete the underlying SDOProcObject in order to free the AppServer for requests from other clients. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int DEFAULT_FETCH_SIZE
public static final int DEFAULT_MAXPREFETCH_ROWS
public static final int MINIMUM_FETCH_SIZE
public static final int MINIMUM_MAXPREFETCH_ROWS
public static final int PREFETCH_SIZE
Constructor Detail |
public SDOParameters()
Method Detail |
public int getFetchSize()
public int getPrefetchMaxRows()
public java.lang.String getRowIdentity()
public SDOScrollingMode getScrollingMode()
public boolean getStateless()
public boolean scrollingModeWasSet()
public void setFetchSize(int fSize)
fSize
- the number of rowspublic void setPrefetchMaxRows(int maxRows)
maxRows
- the number of rowspublic void setRowIdentity(java.lang.String id)
id
- the row identity of the specified rowpublic void setScrollingMode(SDOScrollingMode mode)
mode
- one of the modes specified by the SDOScrollingMode classpublic void setStateless(boolean s)
s
- true if a Stateless mode is desired
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |