|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the results of a query operation. That is the preferred way to obtain the results of a query.
SdaiQuery
Nested Class Summary | |
static class |
QueryResultSet.ItemStruct
This class is a structure to store query result item value in an efficient way. |
Method Summary | |
void |
close()
Closes this result set. |
java.lang.Object |
getItem(int itemPos)
Returns the item of the current result identified by the indexPos . |
QueryResultSet.ItemStruct |
getItemStruct(int itemPos,
QueryResultSet.ItemStruct itemStruct)
Returns the item of the current result identified by the indexPos to specified ItemStruct . |
boolean |
next()
Moves to next result. |
Method Detail |
public boolean next() throws SdaiException
close
method.
SdaiException
- if an error occurs during the operation
or in underlying JSDAI operationsclose()
public java.lang.Object getItem(int itemPos) throws SdaiException
indexPos
.
itemPos
- the index of the item. Items are numbered starting from 1.
SdaiException
- if an error occurs during the operation
or in underlying JSDAI operationspublic QueryResultSet.ItemStruct getItemStruct(int itemPos, QueryResultSet.ItemStruct itemStruct) throws SdaiException
indexPos
to specified ItemStruct
.
itemPos
- the index of the item. Items are numbered starting from 1.itemStruct
- the ItemStruct
to put item value in
itemStruct
parameter
SdaiException
- if an error occurs during the operation
or in underlying JSDAI operationspublic void close() throws SdaiException
close
may give unpredictable result. This method does not have to be
called if the last call to next
method returned false
because it closes the result set implicitly.
SdaiException
- if an error occurs during the operation
or in underlying JSDAI operationsnext()
|
Copyright © LKSoftWare GmbH, 1999-2008 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |