| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private HolderInstantiator | |
| private final Loader | |
| private static final CoreMessageLogger | |
| private final PreparedStatement | |
| private final QueryParameters | |
| private final ResultSet | |
| private final SharedSessionContractImplementor | |
| private final Type[] |
| Access | Constructor and Description |
|---|---|
| protected | AbstractScrollableResults(ResultSet rs, PreparedStatement ps, SharedSessionContractImplementor 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
The column, numbered from zero col)Implements org. |
| public final BigInteger | getBigInteger(int
The column, numbered from zero col)Implements org. |
| public final byte[] | getBinary(int
The column, numbered from zero col)Implements org. |
| public final Blob | getBlob(int
The column, numbered from zero col)Implements org. |
| public final Boolean | getBoolean(int
The column, numbered from zero col)Implements org. |
| public final Byte | getByte(int
The column, numbered from zero col)Implements org. |
| public final Calendar | getCalendar(int
The column, numbered from zero col)Implements org. |
| public final Character | getCharacter(int
The column, numbered from zero col)Implements org. |
| public final Clob | getClob(int
The column, numbered from zero col)Implements org. |
| protected abstract Object[] | |
| public final Date | getDate(int
The column, numbered from zero col)Implements org. |
| public final Double | getDouble(int
The column, numbered from zero col)Implements org. |
| protected final Object | |
| public final Float | getFloat(int
The column, numbered from zero col)Implements org. |
| protected HolderInstantiator | |
| public final Integer | getInteger(int
The column, numbered from zero col)Implements org. |
| protected Loader | |
| public final Locale | getLocale(int
The column, numbered from zero col)Implements org. |
| public final Long | getLong(int
The column, numbered from zero 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. |
| public int | |
| protected PreparedStatement | |
| protected QueryParameters | |
| protected ResultSet | |
| protected SharedSessionContractImplementor | |
| public final Short | getShort(int
The column, numbered from zero col)Implements org. |
| public final String | getString(int
The column, numbered from zero col)Implements org. |
| public final String | getText(int
The column, numbered from zero col)Implements org. |
| public final TimeZone | getTimeZone(int
The column, numbered from zero col)Implements org. |
| public final Type | getType(int
the column, numbered from zero i)Implements org. |
| protected Type[] | |
| public boolean | |
| private Object |
| closed | back to summary |
|---|---|
| private boolean closed | |
| holderInstantiator | back to summary |
|---|---|
| private HolderInstantiator holderInstantiator | |
| loader | back to summary |
|---|---|
| private final Loader loader | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger 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 SharedSessionContractImplementor session | |
| types | back to summary |
|---|---|
| private final Type[] types | |
| AbstractScrollableResults | back to summary |
|---|---|
| protected AbstractScrollableResults(ResultSet rs, PreparedStatement ps, SharedSessionContractImplementor sess, Loader loader, QueryParameters queryParameters, Type[] types, HolderInstantiator holderInstantiator) | |
| afterScrollOperation | back to summary |
|---|---|
| protected void afterScrollOperation() | |
| close | back to summary |
|---|---|
| public final void close() 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 BigDecimal.
| |
| getBigInteger | back to summary |
|---|---|
| public final BigInteger getBigInteger(int col) throws HibernateException Implements org. Doc from org. Convenience method to read a BigInteger.
| |
| getBinary | back to summary |
|---|---|
| public final byte[] getBinary(int col) throws HibernateException Implements org. Doc from org. Convenience method to read a binary (byte[]).
| |
| 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. | |
| getCharacter | back to summary |
|---|---|
| public final Character getCharacter(int col) throws HibernateException Implements org. Doc from org. Convenience method to read a char. | |
| 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. | |
| 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".
| |
| getNumberOfTypes | back to summary |
|---|---|
| public int getNumberOfTypes() Implements org.
| |
| 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 SharedSessionContractImplementor 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 a String using streaming. | |
| 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() | |
| isClosed | back to summary |
|---|---|
| public boolean isClosed() Implements org.
| |
| throwInvalidColumnTypeException | back to summary |
|---|---|
| private Object throwInvalidColumnTypeException(int i, Type type, Type returnType) throws HibernateException | |