Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » impl » [javadoc | source]
org.hibernate.impl
public class: FetchingScrollableResultsImpl [javadoc | source]
java.lang.Object
   org.hibernate.impl.AbstractScrollableResults
      org.hibernate.impl.FetchingScrollableResultsImpl

All Implemented Interfaces:
    org.hibernate.ScrollableResults

Implementation of ScrollableResults which can handle collection fetches.
Constructor:
 public FetchingScrollableResultsImpl(ResultSet rs,
    PreparedStatement ps,
    SessionImplementor sess,
    Loader loader,
    QueryParameters queryParameters,
    Type[] types,
    HolderInstantiator holderInstantiator) throws MappingException 
Method from org.hibernate.impl.FetchingScrollableResultsImpl Summary:
afterLast,   beforeFirst,   first,   getCurrentRow,   getRowNumber,   isFirst,   isLast,   last,   next,   previous,   scroll,   setRowNumber
Methods from org.hibernate.impl.AbstractScrollableResults:
afterScrollOperation,   close,   get,   get,   getBigDecimal,   getBigInteger,   getBinary,   getBlob,   getBoolean,   getByte,   getCalendar,   getCharacter,   getClob,   getCurrentRow,   getDate,   getDouble,   getFinal,   getFloat,   getHolderInstantiator,   getInteger,   getLoader,   getLocale,   getLong,   getNonFinal,   getPs,   getQueryParameters,   getResultSet,   getSession,   getShort,   getString,   getText,   getTimeZone,   getType,   getTypes
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.impl.FetchingScrollableResultsImpl Detail:
 public  void afterLast() throws HibernateException 
    Go to a location just after the last result
 public  void beforeFirst() throws HibernateException 
    Go to a location just before first result (this is the initial location)
 public boolean first() throws HibernateException 
    Go to the first result
 protected Object[] getCurrentRow() 
 public int getRowNumber() throws HibernateException 
    Get the current location in the result set. The first row is number 0, contrary to JDBC.
 public boolean isFirst() throws HibernateException 
    Is this the first result?
 public boolean isLast() throws HibernateException 
    Is this the last result?
 public boolean last() throws HibernateException 
    Go to the last result
 public boolean next() throws HibernateException 
    Advance to the next result
 public boolean previous() throws HibernateException 
    Retreat to the previous result
 public boolean scroll(int positions) throws HibernateException 
    Scroll an arbitrary number of locations
 public boolean setRowNumber(int rowNumber) throws HibernateException 
    Set the current location in the result set, numbered from either the first row (row number 0), or the last row (row number -1).