|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.radrails.db.core.QueryResult
Represents a result of an SQL query. Provides easy access to data returned as well as the column names.
Constructor Summary | |
QueryResult(java.util.Collection columnNames,
java.util.Collection rows)
Creates a new QueryResult object. |
Method Summary | |
java.util.Collection |
getColumnNames()
|
int |
getNumberOfColumns()
Gets the number of columns in this result set. |
java.util.Collection |
getRows()
|
int |
getRowsReturned()
Gets the number of rows returned by the query. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QueryResult(java.util.Collection columnNames, java.util.Collection rows)
columnNames
- A Collection of column names as Strings.rows
- A Collection of rows as Collections of Objects.Method Detail |
public java.util.Collection getColumnNames()
public java.util.Collection getRows()
public int getRowsReturned()
public int getNumberOfColumns()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |