|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryResultIF
INTERNAL: Interface for representing two-dimensional (or potentially even N-dimensional) query results.
Note: it is a goal that this interface is aligned with net.ontopia.topicmaps.query.core.QueryResultIF.
Method Summary | |
---|---|
void |
close()
INTERNAL: Closes the query result, which allows it to free its resources. |
java.lang.String |
getColumnName(int ix)
PUBLIC: Returns the name of the given column. |
java.lang.String[] |
getColumnNames()
PUBLIC: Returns the names of the columns. |
java.lang.Object |
getValue(int index)
INTERNAL: Get the value of the field with the specified index from the current result row. |
java.lang.Object[] |
getValues()
INTERNAL: Get the values of all fields from the current result row. |
java.lang.Object[] |
getValues(java.lang.Object[] values)
INTERNAL: Reads the values of all fields from the current result row into the specified array. |
int |
getWidth()
INTERNAL: Returns the number of fields that each row in the query result set have. |
boolean |
next()
INTERNAL: Skip to the next row in the query result set. |
Method Detail |
---|
boolean next()
int getWidth()
java.lang.String[] getColumnNames()
java.lang.String getColumnName(int ix)
java.lang.IndexOutOfBoundsException
- if there is no such column.java.lang.Object getValue(int index)
java.lang.Object[] getValues()
java.lang.Object[] getValues(java.lang.Object[] values)
void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |