public final class SDOParameters
extends java.lang.Object
implements java.io.Serializable
SDOAppObject
,
SDOResultSet
,
SDOScrollingMode
,
Serialized FormModifier and Type | Field and Description |
---|---|
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 and Description |
---|
SDOParameters() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final int PREFETCH_SIZE
public static final int DEFAULT_FETCH_SIZE
public static final int MINIMUM_FETCH_SIZE
public static final int DEFAULT_MAXPREFETCH_ROWS
public static final int MINIMUM_MAXPREFETCH_ROWS
public void setRowIdentity(java.lang.String id)
id
- the row identity of the specified rowpublic java.lang.String getRowIdentity()
public boolean scrollingModeWasSet()
public void setScrollingMode(SDOScrollingMode mode)
mode
- one of the modes specified by the SDOScrollingMode classpublic SDOScrollingMode getScrollingMode()
public void setPrefetchMaxRows(int maxRows)
maxRows
- the number of rowspublic int getPrefetchMaxRows()
public void setFetchSize(int fSize)
fSize
- the number of rowspublic int getFetchSize()
public void setStateless(boolean s)
s
- true if a Stateless mode is desiredpublic boolean getStateless()