public class QueryResultSet extends java.lang.Object implements IResultSet, IRSMetaData
| Constructor and Description |
|---|
QueryResultSet(java.sql.ResultSet rs)
Create a new QueryResultSet using the specified java.sql.ResultSet object
|
QueryResultSet(java.sql.Statement stmt)
Create a new QueryResultSet using the specified java.sql.Statement object
|
QueryResultSet(java.sql.Statement stmt,
java.lang.String productName)
Create a QueryResultSet object using the specified Statement and product name
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
For internal use
|
int |
getColumnCount()
Get total number of columns
|
int |
getColumnDisplaySize(int col) |
java.lang.String |
getColumnName(int col)
Get name of specified column
|
int |
getColumnType(int col)
Get type of specified column
|
IRSMetaData |
getMetaData()
Get original data
|
java.lang.Object |
getObject(int colNo)
Get object of specified column number
|
java.lang.String |
getTableName(int col) |
boolean |
next()
For internal use
|
public QueryResultSet(java.sql.ResultSet rs)
throws java.sql.SQLException
java.sql.SQLExceptionpublic QueryResultSet(java.sql.Statement stmt)
throws java.sql.SQLException
stmt - must be an executed statementjava.sql.SQLExceptionpublic QueryResultSet(java.sql.Statement stmt,
java.lang.String productName)
throws java.sql.SQLException
stmt - must be an executed statementproductName - product namejava.sql.SQLExceptionpublic boolean next()
throws java.sql.SQLException
next in interface IResultSetjava.sql.SQLExceptionpublic void close()
throws java.sql.SQLException
close in interface IResultSetjava.sql.SQLExceptionpublic java.lang.Object getObject(int colNo)
throws java.sql.SQLException
public IRSMetaData getMetaData() throws java.sql.SQLException
getMetaData in interface IResultSetjava.sql.SQLExceptionpublic int getColumnCount()
throws java.sql.SQLException
getColumnCount in interface IRSMetaDatajava.sql.SQLExceptionpublic java.lang.String getColumnName(int col)
throws java.sql.SQLException
getColumnName in interface IRSMetaDatajava.sql.SQLExceptionpublic java.lang.String getTableName(int col)
throws java.sql.SQLException
getTableName in interface IRSMetaDatajava.sql.SQLExceptionpublic int getColumnType(int col)
throws java.sql.SQLException
getColumnType in interface IRSMetaDatajava.sql.SQLExceptionTypespublic int getColumnDisplaySize(int col)
throws java.sql.SQLException
java.sql.SQLException