public interface QueryResultIF
Note: it is a goal that this interface is aligned with net.ontopia.topicmaps.query.core.QueryResultIF.
Modifier and Type | Method and Description |
---|---|
void |
close()
INTERNAL: Closes the query result, which allows it to free its
resources.
|
String |
getColumnName(int ix)
PUBLIC: Returns the name of the given column.
|
String[] |
getColumnNames()
PUBLIC: Returns the names of the columns.
|
Object |
getValue(int index)
INTERNAL: Get the value of the field with the specified index
from the current result row.
|
Object[] |
getValues()
INTERNAL: Get the values of all fields from the current result
row.
|
Object[] |
getValues(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.
|
boolean next()
int getWidth()
String[] getColumnNames()
String getColumnName(int ix)
IndexOutOfBoundsException
- if there is no such column.Object getValue(int index)
Object[] getValues()
Object[] getValues(Object[] values)
void close()