| Modifier and Type | Field and Description |
|---|---|
| private Object[] |
| Access | Constructor and Description |
|---|---|
| public | ScrollableResultsImpl(ResultSet
The scrollable result set rs, PreparedStatement The prepared statement used to obtain the result set ps, SharedSessionContractImplementor The originating session sess, Loader The loader loader, QueryParameters query parameters queryParameters, Type[] The result types types, HolderInstantiator Ugh holderInstantiator)Constructs a ScrollableResultsImpl using the specified information. |
| Modifier and Type | Method and Description |
|---|---|
| public void | afterLast()
Implements org. |
| public void | beforeFirst()
Implements org. |
| protected JDBCException | |
| public boolean | |
| protected Object[] | |
| public int | getRowNumber()
Implements org. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| private void | |
| public boolean | |
| public boolean | scroll(int
a positive (forward) or negative (backward) number of rows i)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. |
| currentRow | back to summary |
|---|---|
| private Object[] currentRow | |
| ScrollableResultsImpl | back to summary |
|---|---|
| public ScrollableResultsImpl(ResultSet rs, PreparedStatement ps, SharedSessionContractImplementor sess, Loader loader, QueryParameters queryParameters, Type[] types, HolderInstantiator holderInstantiator) Constructs a ScrollableResultsImpl using the specified information.
| |
| 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.
| |
| convert | back to summary |
|---|---|
| protected JDBCException convert(SQLException sqle, String message) | |
| first | back to summary |
|---|---|
| public boolean first() Implements org. Doc from org. Go to the first result.
| |
| getCurrentRow | back to summary |
|---|---|
| protected Object[] getCurrentRow() Implements abstract org.
| |
| getRowNumber | back to summary |
|---|---|
| public int getRowNumber() throws HibernateException Implements org. Doc from org. Get the current position in the results. The first position is number 0 (unlike JDBC).
| |
| 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.
| |
| prepareCurrentRow | back to summary |
|---|---|
| private void prepareCurrentRow(boolean underlyingScrollSuccessful) | |
| 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 i) Implements org. Doc from org. Scroll the specified number of positions from the current position.
| |
| setRowNumber | back to summary |
|---|---|
| public boolean setRowNumber(int rowNumber) throws HibernateException Implements org. Doc from org. Set the current position in the result set. Can be numbered from the first position (positive number) or the last row (negative number).
| |