| Access | Constructor and Description |
|---|---|
| public | FetchingScrollableResultsImpl(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 | Returns: true if there are any resultsImplements org. |
| protected Object[] | |
| public int | Returns: the row number, numbered from 0, or -1 if there is no current rowImplements org. |
| public boolean | Returns: true if this is the first row of resultsImplements org. |
| public boolean | Returns: true if this is the last row of resultsImplements org. |
| private boolean | |
| public boolean | Returns: true if there are any resultsImplements org. |
| public boolean | Returns: true if there is another resultImplements org. |
| public boolean | Returns: true if there is a previous resultImplements org. |
| public boolean | Returns: true if there is a result at the new locationa positive (forward) or negative (backward) number of rows positions)Implements org. |
| public boolean | Returns: true if there is a row at that row numberthe row number, numbered from the last row, in the case of a negative row number 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, SessionImplementor sess, Loader loader, QueryParameters queryParameters, Type[] types, HolderInstantiator holderInstantiator) throws MappingException | |
| afterLast | back to summary |
|---|---|
| public void afterLast() throws HibernateException Implements org. Go to a location just after the last result | |
| beforeFirst | back to summary |
|---|---|
| public void beforeFirst() throws HibernateException Implements 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. 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. 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. Is this the first result?
| |
| isLast | back to summary |
|---|---|
| public boolean isLast() throws HibernateException Implements org. Is this the last result?
| |
| isResultSetEmpty | back to summary |
|---|---|
| private boolean isResultSetEmpty() | |
| last | back to summary |
|---|---|
| public boolean last() throws HibernateException Implements org. Go to the last result
| |
| next | back to summary |
|---|---|
| public boolean next() throws HibernateException Implements org. Advance to the next result
| |
| previous | back to summary |
|---|---|
| public boolean previous() throws HibernateException Implements org. Retreat to the previous result
| |
| scroll | back to summary |
|---|---|
| public boolean scroll(int positions) throws HibernateException Implements org. Scroll an arbitrary number of locations
| |
| setRowNumber | back to summary |
|---|---|
| public boolean setRowNumber(int rowNumber) throws HibernateException Implements 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).
| |