ScrollableCursorPolicy policy = new ScrollableCursorPolicy()
policy.setResultSetType(ScrollableCursorPolicy.TYPE_SCROLL_INSENSITIVE);
query.useScrollableCursor(policy);
| Modifier and Type | Field and Description |
|---|---|
| public static final int | CONCUR_READ_ONLY
JDBC 2.0 The concurrency mode for a ResultSet object that may NOT be updated. |
| public static final int | CONCUR_UPDATABLE
JDBC 2.0 The concurrency mode for a ResultSet object that may be updated. |
| public static final int | FETCH_FORWARD
JDBC 2.0 The rows in a result set will be processed in a forward direction; first-to-last. |
| public static final int | FETCH_REVERSE
JDBC 2.0 The rows in a result set will be processed in a reverse direction; last-to-first. |
| public static final int | FETCH_UNKNOWN
JDBC 2.0 The order in which rows in a result set will be processed is unknown. |
| protected int | |
| protected int | |
| public static final int | TYPE_FORWARD_ONLY
JDBC 2.0 The type for a ResultSet object whose cursor may move only forward. |
| public static final int | TYPE_SCROLL_INSENSITIVE
JDBC 2.0 The type for a ResultSet object that is scrollable but generally not sensitive to changes made by others. |
| public static final int | TYPE_SCROLL_SENSITIVE
JDBC 2.0 The type for a ResultSet object that is scrollable and generally sensitive to changes made by others. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ScrollableCursorPolicy(ReadQuery query, int pageSize)
INTERNAL: Create a cursor policy with the pagesize. |
| Modifier and Type | Method and Description |
|---|---|
| public Object | execute()
Implements abstract org. |
| public int | |
| public int | getResultSetType()
PUBLIC: The ResultSetType specifies if the resultset is sensitive to changes made by others. |
| public boolean | |
| public Object | remoteExecute()
Implements abstract org. |
| public void | setResultSetConcurrency(int resultSetConcurrency)
PUBLIC: The ResultSetConcurrency specifies if the resultset is updatable. |
| public void | setResultSetType(int resultSetType)
PUBLIC: The ResultSetType specifies if the resultset is sensitive to changes made by others. |
| CONCUR_READ_ONLY | back to summary |
|---|---|
| public static final int CONCUR_READ_ONLY JDBC 2.0 The concurrency mode for a ResultSet object that may NOT be updated. | |
| CONCUR_UPDATABLE | back to summary |
|---|---|
| public static final int CONCUR_UPDATABLE JDBC 2.0 The concurrency mode for a ResultSet object that may be updated. | |
| FETCH_FORWARD | back to summary |
|---|---|
| public static final int FETCH_FORWARD JDBC 2.0 The rows in a result set will be processed in a forward direction; first-to-last. | |
| FETCH_REVERSE | back to summary |
|---|---|
| public static final int FETCH_REVERSE JDBC 2.0 The rows in a result set will be processed in a reverse direction; last-to-first. | |
| FETCH_UNKNOWN | back to summary |
|---|---|
| public static final int FETCH_UNKNOWN JDBC 2.0 The order in which rows in a result set will be processed is unknown. | |
| resultSetConcurrency | back to summary |
|---|---|
| protected int resultSetConcurrency | |
| resultSetType | back to summary |
|---|---|
| protected int resultSetType | |
| TYPE_FORWARD_ONLY | back to summary |
|---|---|
| public static final int TYPE_FORWARD_ONLY JDBC 2.0 The type for a ResultSet object whose cursor may move only forward. | |
| TYPE_SCROLL_INSENSITIVE | back to summary |
|---|---|
| public static final int TYPE_SCROLL_INSENSITIVE JDBC 2.0 The type for a ResultSet object that is scrollable but generally not sensitive to changes made by others. | |
| TYPE_SCROLL_SENSITIVE | back to summary |
|---|---|
| public static final int TYPE_SCROLL_SENSITIVE JDBC 2.0 The type for a ResultSet object that is scrollable and generally sensitive to changes made by others. | |
| ScrollableCursorPolicy | back to summary |
|---|---|
| public ScrollableCursorPolicy() PUBLIC: Create a new scrollable cursor policy. | |
| ScrollableCursorPolicy | back to summary |
|---|---|
| public ScrollableCursorPolicy(ReadQuery query, int pageSize) INTERNAL: Create a cursor policy with the pagesize. | |
| execute | back to summary |
|---|---|
| public Object execute() Implements abstract org. INTERNAL: Execute the cursored select and build the stream.
| |
| getResultSetConcurrency | back to summary |
|---|---|
| public int getResultSetConcurrency() PUBLIC: The ResultSetConcurrency specifies if the resultset is updatable. It is one of, CONCUR_READ_ONLY, CONCUR_UPDATABLE | |
| getResultSetType | back to summary |
|---|---|
| public int getResultSetType() PUBLIC: The ResultSetType specifies if the resultset is sensitive to changes made by others. It is one of, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE | |
| isScrollableCursorPolicy | back to summary |
|---|---|
| public boolean isScrollableCursorPolicy() Overrides org.
| |
| remoteExecute | back to summary |
|---|---|
| public Object remoteExecute() Implements abstract org. INTERNAL: Execute the cursored select and build the stream.
| |
| setResultSetConcurrency | back to summary |
|---|---|
| public void setResultSetConcurrency(int resultSetConcurrency) PUBLIC: The ResultSetConcurrency specifies if the resultset is updatable. It is one of, CONCUR_READ_ONLY, CONCUR_UPDATABLE | |
| setResultSetType | back to summary |
|---|---|
| public void setResultSetType(int resultSetType) PUBLIC: The ResultSetType specifies if the resultset is sensitive to changes made by others. It is one of, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE | |