|
SAP NetWeaver 7.30 (SP05) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Scrollable
This interface is not usable with Open SQL / SQLJ. Scrollable result sets are not supported in Open SQL for Java.
This interface provides a set of methods that all scrollable iterator objects support. The effect of an update on a Scrollable iterator object is implementation-defined.
| Method Summary | |
|---|---|
boolean |
absolute(int row)
Moves the iterator object to the row with the given row number. |
void |
afterLast()
Moves the iterator object to immediately after its last row. |
void |
beforeFirst()
Moves the iterator object to immediately before its first row. |
boolean |
first()
Moves the iterator object to its first row. |
int |
getFetchDirection()
Retrieves the direction for fetching rows for this iterator object. |
boolean |
isAfterLast()
Indicates whether the iterator object is after its last row. |
boolean |
isBeforeFirst()
Indicates whether the iterator object is before its first row. |
boolean |
isFirst()
Indicates whether the iterator object is on its first row. |
boolean |
isLast()
Indicates whether the iterator object is on its last row. |
boolean |
last()
Moves the iterator object to its last row. |
boolean |
previous()
Moves the iterator object to its previous row. |
boolean |
relative(int rows)
Moves the iterator object the given number of rows, either positive or negative, from its current position. |
void |
setFetchDirection(int direction)
Gives the SQLJ runtime a hint as to the direction in which rows of this iterator object are processed. |
| Method Detail |
|---|
boolean absolute(int row)
throws SQLException
SQLException - if a database access error occurs or row is 0 (zero).
void afterLast()
throws SQLException
SQLException - if a database access error occurs
void beforeFirst()
throws SQLException
SQLException - if a database access error occurs
boolean first()
throws SQLException
SQLException - if a database access error occurs
int getFetchDirection()
throws SQLException
SQLException - if a database access error occurs
boolean isAfterLast()
throws SQLException
SQLException - if a database access error occurs
boolean isBeforeFirst()
throws SQLException
SQLException - if a database access error occurs
boolean isFirst()
throws SQLException
SQLException - if a database access error occurs
boolean isLast()
throws SQLException
SQLException - if a database access error occurs
boolean last()
throws SQLException
SQLException - if a database access error occurs
boolean previous()
throws SQLException
SQLException - if a database access error occurs
boolean relative(int rows)
throws SQLException
SQLException - if a database access error occurs
void setFetchDirection(int direction)
throws SQLException
SQLException - if a database access error occurs, or the given direction is not one of
ResultSetIterator.FETCH_FORWARD, ResultSetIterator.FETCH_REVERSE, or ResultSetIterator.FETCH_UNKNOWN.| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] ENGFACADE
|
[sap.com] tc/je/opensql/api
|
api
|
BC-JAS
|
[sap.com] ENGINEAPI
|
[sap.com]
|
default
|
BC-JAS-PER-SQL
|
[sap.com] CORE-TOOLS
|
[sap.com]
|
default
|
BC-JAS
|
|
SAP NetWeaver 7.30 (SP05) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||