|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drizzle.jdbc.internal.common.queryresults.DrizzleQueryResult
public final class DrizzleQueryResult
User: marcuse Date: Jan 23, 2009 Time: 8:15:55 PM
| Constructor Summary | |
|---|---|
DrizzleQueryResult(java.util.List<ColumnInformation> columnInformation,
java.util.List<java.util.List<ValueObject>> valueObjects,
short warningCount)
|
|
| Method Summary | |
|---|---|
void |
close()
|
int |
getColumnId(java.lang.String columnLabel)
get the id of the column named columnLabel |
java.util.List<ColumnInformation> |
getColumnInformation()
|
java.lang.String |
getMessage()
|
ResultSetType |
getResultSetType()
|
int |
getRowPointer()
gets the current row number |
int |
getRows()
|
ValueObject |
getValueObject(int i)
gets the value at position i in the result set. |
ValueObject |
getValueObject(java.lang.String column)
gets the value object in column named columnName |
short |
getWarnings()
|
void |
moveRowPointerTo(int i)
moves the row pointer to position i |
boolean |
next()
move pointer forward |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DrizzleQueryResult(java.util.List<ColumnInformation> columnInformation,
java.util.List<java.util.List<ValueObject>> valueObjects,
short warningCount)
| Method Detail |
|---|
public boolean next()
SelectQueryResult
next in interface SelectQueryResultpublic void close()
close in interface QueryResultpublic short getWarnings()
getWarnings in interface QueryResultpublic java.lang.String getMessage()
getMessage in interface QueryResultpublic java.util.List<ColumnInformation> getColumnInformation()
getColumnInformation in interface QueryResult
public ValueObject getValueObject(int i)
throws NoSuchColumnException
getValueObject in interface SelectQueryResulti - index, starts at 0
NoSuchColumnException - if the column does not exist
public ValueObject getValueObject(java.lang.String column)
throws NoSuchColumnException
SelectQueryResult
getValueObject in interface SelectQueryResultcolumn - the name of the column
NoSuchColumnException - if the column does not existpublic int getRows()
getRows in interface QueryResult
public int getColumnId(java.lang.String columnLabel)
throws NoSuchColumnException
SelectQueryResult
getColumnId in interface SelectQueryResultcolumnLabel - the label of the column
NoSuchColumnException - if the column does not existpublic void moveRowPointerTo(int i)
SelectQueryResult
moveRowPointerTo in interface SelectQueryResulti - the positionpublic int getRowPointer()
SelectQueryResult
getRowPointer in interface SelectQueryResultpublic ResultSetType getResultSetType()
getResultSetType in interface QueryResult
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||