| Modifier and Type | Field and Description |
|---|---|
| public static final ScrollableResultsImplementor |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | afterLast()
Implements org. |
| public void | beforeFirst()
Implements org. |
| public void | |
| public boolean | |
| public Object[] | |
| public int | getRowNumber()
Implements org. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | position(int position)
Implements org. |
| public boolean | |
| public boolean | scroll(int
a positive (forward) or negative (backward)
number of rows positions)Implements org. |
| public void | setFetchSize(int fetchSize)
Implements org. |
| public boolean | setRowNumber(int
the row number. A positive number indicates
a value numbered from the first row; a
negative number indicates a value numbered
from the last row. rowNumber)Implements org. |
| INSTANCE | back to summary |
|---|---|
| public static final ScrollableResultsImplementor<R> INSTANCE | |
| EmptyScrollableResults | back to summary |
|---|---|
| public EmptyScrollableResults() | |
| afterLast | back to summary |
|---|---|
| public void afterLast() Implements org. Doc from org. Go to a location just after the last result.
| |
| beforeFirst | back to summary |
|---|---|
| public void beforeFirst() Implements org. Doc from org. Go to a location just before first result. This is the location of the cursor on a newly returned scrollable result.
| |
| close | back to summary |
|---|---|
| public void close() Implements org. Doc from org. Release resources immediately.
| |
| first | back to summary |
|---|---|
| public boolean first() Implements org. Doc from org. Go to the first result.
| |
| get | back to summary |
|---|---|
| public Object[] get() Implements org. Doc from org. Get the current row of results. | |
| getRowNumber | back to summary |
|---|---|
| public int getRowNumber() Implements org. Doc from org. Get the current position in the results. The first position is number 0 (unlike JDBC).
| |
| isClosed | back to summary |
|---|---|
| public boolean isClosed() Implements org.
| |
| isFirst | back to summary |
|---|---|
| public boolean isFirst() Implements org. Doc from org. Is this the first result?
| |
| isLast | back to summary |
|---|---|
| public boolean isLast() Implements org. Doc from org. Is this the last result?
| |
| last | back to summary |
|---|---|
| public boolean last() Implements org. Doc from org. Go to the last result.
| |
| next | back to summary |
|---|---|
| public boolean next() Implements org. Doc from org. Advance to the next result.
| |
| position | back to summary |
|---|---|
| public boolean position(int position) Implements org. Doc from org. Moves the result cursor to the specified position.
| |
| previous | back to summary |
|---|---|
| public boolean previous() Implements org. Doc from org. Retreat to the previous result.
| |
| scroll | back to summary |
|---|---|
| public boolean scroll(int positions) Implements org. Doc from org. Scroll the specified number of positions from the current position.
| |
| setFetchSize | back to summary |
|---|---|
| public void setFetchSize(int fetchSize) Implements org. Doc from org. Gives the JDBC driver a hint as to the number of rows that
should be fetched from the database when more rows are needed.
If
| |
| setRowNumber | back to summary |
|---|---|
| public boolean setRowNumber(int rowNumber) Implements org. Doc from org. Set the current position in the result set. Can be numbered from the first result (positive number) or backward from the last result (negative number).
| |