|
||||||||||
| 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)
|
org.pentaho.commons.connection.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()
|
org.pentaho.commons.connection.IPentahoResultSet |
memoryCopy()
|
Object[] |
next()
(non-Javadoc) |
Object[] |
peek()
|
void |
setMetaData(org.pentaho.commons.connection.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(org.pentaho.commons.connection.IPentahoMetaData metadata)
public org.pentaho.commons.connection.IPentahoMetaData getMetaData()
getMetaData in interface org.pentaho.commons.connection.IPentahoResultSetpublic Object[] peek()
peek in interface org.pentaho.commons.connection.IPeekablepublic Object[] next()
next in interface org.pentaho.commons.connection.IPentahoResultSetSQLResultSetExceptionreturns null if no more rowspublic void closeConnection()
closeConnection in interface org.pentaho.commons.connection.IPentahoResultSetpublic void close()
close in interface org.pentaho.commons.connection.IPentahoResultSetpublic void dispose()
dispose in interface org.pentaho.commons.connection.IDisposablepublic boolean isScrollable()
isScrollable in interface org.pentaho.commons.connection.IPentahoResultSetpublic int getColumnCount()
getColumnCount in interface org.pentaho.commons.connection.IPentahoResultSetpublic int getRowCount()
getRowCount in interface org.pentaho.commons.connection.IPentahoResultSet
public Object getValueAt(int row,
int column)
getValueAt in interface org.pentaho.commons.connection.IPentahoResultSetrow - the row index.column - the column index.
public org.pentaho.commons.connection.IPentahoResultSet memoryCopy()
memoryCopy in interface org.pentaho.commons.connection.IPentahoResultSetpublic void beforeFirst()
beforeFirst in interface org.pentaho.commons.connection.IPentahoResultSetpublic Object[] getDataColumn(int column)
getDataColumn in interface org.pentaho.commons.connection.IPentahoResultSetpublic Object[] getDataRow(int row)
getDataRow in interface org.pentaho.commons.connection.IPentahoResultSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||