public class StarResultSet
extends java.lang.Object
ResultSet class to provide the functions which
 are required to provide StarTable 
 functionality.| Constructor and Description | 
|---|
| StarResultSet(java.sql.ResultSet rset)Constructs a StarResultSet with default type mapping behaviour. | 
| StarResultSet(java.sql.ResultSet rset,
             TypeMapper typeMapper)Constructs a StarResultSet with given type mapping behaviour. | 
| Modifier and Type | Method and Description | 
|---|---|
| RowSequence | createRowSequence()Returns a sequential RowSequence based on this object. | 
| java.lang.Object | getCell(int icol)Returns the object at a given column in the current row of this 
 result set in a form suitable for use as the content of a 
 StarTable cell. | 
| java.util.List<ValueInfo> | getColumnAuxDataInfos()Returns an ordered list of  ValueInfoobjects representing the auxilliary metadata returned by
 this object's ColumnInfo objects. | 
| ColumnInfo[] | getColumnInfos()Returns the array of column metadata objects corresponding to the
 columns in this result set. | 
| java.sql.ResultSet | getResultSet()Returns the result set on which this table is based. | 
| java.lang.Object[] | getRow()Returns the current row of this result set in a form suitable for use
 as the content of a StarTable. | 
| long | getRowCount()Lazily counts the number of rows in this result set, if it has random
 access. | 
| boolean | isRandom()Indicates whether this result set can be used for random access. | 
| void | setRowIndex(long lrow)Sets the row index from which subsequent  getCell(int)andgetRow()calls will read. | 
public StarResultSet(java.sql.ResultSet rset)
              throws java.sql.SQLException
rset - result setjava.sql.SQLExceptionpublic StarResultSet(java.sql.ResultSet rset,
                     TypeMapper typeMapper)
              throws java.sql.SQLException
rset - result settypeMapper - handles conversion of JDBC types to cell typesjava.sql.SQLExceptionpublic java.sql.ResultSet getResultSet()
public ColumnInfo[] getColumnInfos()
public boolean isRandom()
public long getRowCount()
public java.util.List<ValueInfo> getColumnAuxDataInfos()
ValueInfo
 objects representing the auxilliary metadata returned by
 this object's ColumnInfo objects.StarTable.getColumnAuxDataInfos()public void setRowIndex(long lrow)
                 throws java.io.IOException
getCell(int)
 and getRow() calls will read.  
 Callers may need to worry about synchronization.lrow - row index (0-based)java.lang.UnsupportedOperationException - for non-random result setsjava.io.IOExceptionpublic java.lang.Object getCell(int icol)
                         throws java.io.IOException
icol - the column to use (first column is 0)java.io.IOExceptionpublic java.lang.Object[] getRow()
                          throws java.io.IOException
java.io.IOExceptionpublic RowSequence createRowSequence() throws java.io.IOException
java.io.IOException