| Modifier and Type | Field and Description |
|---|---|
| private Object[] |
| Access | Constructor and Description |
|---|---|
| public | ScrollableResultsImpl(ResultSet rs, PreparedStatement ps, SessionImplementor sess, Loader loader, QueryParameters queryParameters, Type[] types, HolderInstantiator holderInstantiator)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | afterLast()
Implements org. |
| public void | beforeFirst()
Implements org. |
| 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, numbered from the last row, in the
case of a negative row number rowNumber)Implements org. |
| currentRow | back to summary |
|---|---|
| private Object[] currentRow | |
| ScrollableResultsImpl | back to summary |
|---|---|
| public ScrollableResultsImpl(ResultSet rs, PreparedStatement ps, SessionImplementor sess, Loader loader, QueryParameters queryParameters, Type[] types, HolderInstantiator holderInstantiator) throws MappingException | |
| afterLast | back to summary |
|---|---|
| public void afterLast() throws HibernateException Implements org. Doc from org. Go to a location just after the last result | |
| beforeFirst | back to summary |
|---|---|
| public void beforeFirst() throws HibernateException Implements org. Doc from org. Go to a location just before first result (this is the initial location) | |
| first | back to summary |
|---|---|
| public boolean first() throws HibernateException 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 location in the result set. The first row is number 0, contrary to JDBC.
| |
| isFirst | back to summary |
|---|---|
| public boolean isFirst() throws HibernateException Implements org. Doc from org. Is this the first result?
| |
| isLast | back to summary |
|---|---|
| public boolean isLast() throws HibernateException Implements org. Doc from org. Is this the last result?
| |
| last | back to summary |
|---|---|
| public boolean last() throws HibernateException Implements org. Doc from org. Go to the last result
| |
| next | back to summary |
|---|---|
| public boolean next() throws HibernateException Implements org. Doc from org. Advance to the next result
| |
| prepareCurrentRow | back to summary |
|---|---|
| private void prepareCurrentRow(boolean underlyingScrollSuccessful) throws HibernateException | |
| previous | back to summary |
|---|---|
| public boolean previous() throws HibernateException Implements org. Doc from org. Retreat to the previous result
| |
| scroll | back to summary |
|---|---|
| public boolean scroll(int i) throws HibernateException Implements org. Doc from org. Scroll an arbitrary number of locations
| |
| setRowNumber | back to summary |
|---|---|
| public boolean setRowNumber(int rowNumber) throws HibernateException Implements org. Doc from org. Set the current location in the result set, numbered from either the first row (row number 0), or the last row (row number -1).
| |