| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.platform.plugin.services.connections.sql.SQLResultSet
public class SQLResultSet
| Constructor Summary | |
|---|---|
SQLResultSet(ResultSet nativeResultSet,
             SQLConnection nativeConnection)
 | 
|
| Method Summary | |
|---|---|
 void | 
beforeFirst()
 | 
 void | 
close()
 | 
 void | 
closeConnection()
 | 
 void | 
dispose()
 | 
 int | 
getColumnCount()
Returns the column count from the result set.  | 
 Object[] | 
getDataColumn(int column)
 | 
 Object[] | 
getDataRow(int row)
 | 
 IPentahoMetaData | 
getMetaData()
 | 
 int | 
getRowCount()
Get a rowCount from the resultset.  | 
 Object | 
getValueAt(int row,
           int column)
Returns the value of the specified row and the specified column from within the resultset.  | 
 boolean | 
isScrollable()
 | 
 IPentahoResultSet | 
memoryCopy()
 | 
 Object[] | 
next()
(non-Javadoc)  | 
 void | 
rewindNext()
 | 
 void | 
setMetaData(IPentahoMetaData metadata)
 | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public SQLResultSet(ResultSet nativeResultSet,
                    SQLConnection nativeConnection)
| Method Detail | 
|---|
public void setMetaData(IPentahoMetaData metadata)
public IPentahoMetaData getMetaData()
public void rewindNext()
public Object[] next()
SQLResultSetExceptionreturns null if no more rowspublic void closeConnection()
public void close()
public void dispose()
public boolean isScrollable()
public int getColumnCount()
public int getRowCount()
public Object getValueAt(int row,
                         int column)
row - the row index.column - the column index.
public IPentahoResultSet memoryCopy()
public void beforeFirst()
public Object[] getDataColumn(int column)
public Object[] getDataRow(int row)
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||