| Modifier and Type | Field and Description |
|---|---|
| private HolderInstantiator | |
| private final Loader | |
| private static final Logger | |
| private final PreparedStatement | |
| private final QueryParameters | |
| private final ResultSet | |
| private final SessionImplementor | |
| private final Type[] |
| Access | Constructor and Description |
|---|---|
| public | AbstractScrollableResults(ResultSet rs, PreparedStatement ps, SessionImplementor sess, Loader loader, QueryParameters queryParameters, Type[] types, HolderInstantiator holderInstantiator)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public final void | |
| public final Object[] | |
| public final Object | get(int
the column, numbered from zero col)Implements org. |
| public final BigDecimal | getBigDecimal(int col)
Implements org. |
| public final BigInteger | getBigInteger(int col)
Implements org. |
| public final byte[] | getBinary(int col)
Implements org. |
| public final Blob | getBlob(int col)
Implements org. |
| public final Boolean | getBoolean(int col)
Implements org. |
| public final Byte | getByte(int col)
Implements org. |
| public final Calendar | getCalendar(int col)
Implements org. |
| public final Character | getCharacter(int col)
Implements org. |
| public final Clob | getClob(int col)
Implements org. |
| protected abstract Object[] | |
| public final Date | getDate(int col)
Implements org. |
| public final Double | getDouble(int col)
Implements org. |
| protected final Object | |
| public final Float | getFloat(int col)
Implements org. |
| protected HolderInstantiator | |
| public final Integer | getInteger(int col)
Implements org. |
| protected Loader | |
| public final Locale | getLocale(int col)
Implements org. |
| public final Long | getLong(int col)
Implements org. |
| protected final Object | getNonFinal(int
the column col, Type any type returnType)Check that the requested type is compatible with the result type, and return the column value. |
| protected PreparedStatement | |
| protected QueryParameters | |
| protected ResultSet | |
| protected SessionImplementor | |
| public final Short | getShort(int col)
Implements org. |
| public final String | getString(int col)
Implements org. |
| public final String | |
| public final TimeZone | getTimeZone(int col)
Implements org. |
| public final Type | getType(int
the column, numbered from zero i)Implements org. |
| protected Type[] | |
| private Object |
| holderInstantiator | back to summary |
|---|---|
| private HolderInstantiator holderInstantiator | |
| loader | back to summary |
|---|---|
| private final Loader loader | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| ps | back to summary |
|---|---|
| private final PreparedStatement ps | |
| queryParameters | back to summary |
|---|---|
| private final QueryParameters queryParameters | |
| resultSet | back to summary |
|---|---|
| private final ResultSet resultSet | |
| session | back to summary |
|---|---|
| private final SessionImplementor session | |
| types | back to summary |
|---|---|
| private final Type[] types | |
| AbstractScrollableResults | back to summary |
|---|---|
| public AbstractScrollableResults(ResultSet rs, PreparedStatement ps, SessionImplementor sess, Loader loader, QueryParameters queryParameters, Type[] types, HolderInstantiator holderInstantiator) throws MappingException | |
| afterScrollOperation | back to summary |
|---|---|
| protected void afterScrollOperation() | |
| close | back to summary |
|---|---|
| public final void close() throws HibernateException Implements org. Doc from org. Release resources immediately. | |
| get | back to summary |
|---|---|
| public final Object[] get() throws HibernateException Implements org. Doc from org. Get the current row of results
| |
| get | back to summary |
|---|---|
| public final Object get(int col) throws HibernateException Implements org. Doc from org. Get the ith object in the current row of results, without initializing any other results in the row. This method may be used safely, regardless of the type of the column (ie. even for scalar results).
| |
| getBigDecimal | back to summary |
|---|---|
| public final BigDecimal getBigDecimal(int col) throws HibernateException Implements org. Doc from org. Convenience method to read a big_decimal | |
| getBigInteger | back to summary |
|---|---|
| public final BigInteger getBigInteger(int col) throws HibernateException Implements org. Doc from org. Convenience method to read a big_integer | |
| getBinary | back to summary |
|---|---|
| public final byte[] getBinary(int col) throws HibernateException Implements org. Doc from org. Convenience method to read a binary | |
| getBlob | back to summary |
|---|---|
| public final Blob getBlob(int col) throws HibernateException Implements org. Doc from org. Convenience method to read a blob | |
| getBoolean | back to summary |
|---|---|
| public final Boolean getBoolean(int col) throws HibernateException Implements org. Doc from org. Convenience method to read a boolean | |
| getByte | back to summary |
|---|---|
| public final Byte getByte(int col) throws HibernateException Implements org. Doc from org. Convenience method to read a byte | |
| getCalendar | back to summary |
|---|---|
| public final Calendar getCalendar(int col) throws HibernateException Implements org. Doc from org. Convenience method to read a calendar or calendar_date | |
| getCharacter | back to summary |
|---|---|
| public final Character getCharacter(int col) throws HibernateException Implements org. Doc from org. Convenience method to read a character | |
| getClob | back to summary |
|---|---|
| public final Clob getClob(int col) throws HibernateException Implements org. Doc from org. Convenience method to read a clob | |
| getCurrentRow | back to summary |
|---|---|
| protected abstract Object[] getCurrentRow() | |
| getDate | back to summary |
|---|---|
| public final Date getDate(int col) throws HibernateException Implements org. Doc from org. Convenience method to read a date, time or timestamp | |
| getDouble | back to summary |
|---|---|
| public final Double getDouble(int col) throws HibernateException Implements org. Doc from org. Convenience method to read a double | |
| getFinal | back to summary |
|---|---|
| protected final Object getFinal(int col, Type returnType) throws HibernateException Check that the requested type is compatible with the result type, and return the column value. This version makes sure the the classes are identical.
| |
| getFloat | back to summary |
|---|---|
| public final Float getFloat(int col) throws HibernateException Implements org. Doc from org. Convenience method to read a float | |
| getHolderInstantiator | back to summary |
|---|---|
| protected HolderInstantiator getHolderInstantiator() | |
| getInteger | back to summary |
|---|---|
| public final Integer getInteger(int col) throws HibernateException Implements org. Doc from org. Convenience method to read an integer | |
| getLoader | back to summary |
|---|---|
| protected Loader getLoader() | |
| getLocale | back to summary |
|---|---|
| public final Locale getLocale(int col) throws HibernateException Implements org. Doc from org. Convenience method to read a locale | |
| getLong | back to summary |
|---|---|
| public final Long getLong(int col) throws HibernateException Implements org. Doc from org. Convenience method to read a long | |
| getNonFinal | back to summary |
|---|---|
| protected final Object getNonFinal(int col, Type returnType) throws HibernateException Check that the requested type is compatible with the result type, and return the column value. This version makes sure the the classes are "assignable".
| |
| getPs | back to summary |
|---|---|
| protected PreparedStatement getPs() | |
| getQueryParameters | back to summary |
|---|---|
| protected QueryParameters getQueryParameters() | |
| getResultSet | back to summary |
|---|---|
| protected ResultSet getResultSet() | |
| getSession | back to summary |
|---|---|
| protected SessionImplementor getSession() | |
| getShort | back to summary |
|---|---|
| public final Short getShort(int col) throws HibernateException Implements org. Doc from org. Convenience method to read a short | |
| getString | back to summary |
|---|---|
| public final String getString(int col) throws HibernateException Implements org. Doc from org. Convenience method to read a string | |
| getText | back to summary |
|---|---|
| public final String getText(int col) throws HibernateException Implements org. Doc from org. Convenience method to read text | |
| getTimeZone | back to summary |
|---|---|
| public final TimeZone getTimeZone(int col) throws HibernateException Implements org. Doc from org. Convenience method to read a timezone | |
| getType | back to summary |
|---|---|
| public final Type getType(int i) Implements org. Doc from org. Get the type of the ith column of results
| |
| getTypes | back to summary |
|---|---|
| protected Type[] getTypes() | |
| throwInvalidColumnTypeException | back to summary |
|---|---|
| private Object throwInvalidColumnTypeException(int i, Type type, Type returnType) throws HibernateException | |