| Access | Constructor and Description |
|---|---|
| public | FetchingScrollableResultsImpl(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 FetchingScrollableResultsImpl. |
| 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 | |
| private boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | scroll(int
a positive (forward) or negative (backward) number of rows positions)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. |
| currentPosition | back to summary |
|---|---|
| private int currentPosition | |
| currentRow | back to summary |
|---|---|
| private Object[] currentRow | |
| maxPosition | back to summary |
|---|---|
| private Integer maxPosition | |
| FetchingScrollableResultsImpl | back to summary |
|---|---|
| public FetchingScrollableResultsImpl(ResultSet rs, PreparedStatement ps, SharedSessionContractImplementor sess, Loader loader, QueryParameters queryParameters, Type[] types, HolderInstantiator holderInstantiator) Constructs a FetchingScrollableResultsImpl.
| |
| 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.
| |
| 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() 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?
| |
| isResultSetEmpty | back to summary |
|---|---|
| private boolean isResultSetEmpty() | |
| 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.
| |
| 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.
| |
| 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 position (positive number) or the last row (negative number).
| |