|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValueSetIterator
Iterate over sets of results returned by a query. Each result set is an array of ValueObject instances. Each position in the array normally contains the binding of a named query variable. Some queries may return null values for unbound positions in a result set.
Method Summary | |
---|---|
ValueObject[] |
get()
Get the current element in the iteration. |
ValueObject |
get(int i)
Get the i-th sub-element from the current element in the iteration. |
ValueObject |
get(java.lang.String name)
Get the binding of the named variable in the current result set. |
long |
getCount()
Get a count or estimate on the number of result sets available from this iterator. |
int |
getIndex(java.lang.String var)
Get the index of a given variable in the result array. |
java.lang.String[] |
getNames()
Get the names of the results in each result set. |
ValueObject |
next(int i)
Step to the next element in the iteration and return the i-th sub-element. |
int |
width()
Get the number of results in each result set. |
Methods inherited from interface java.util.Iterator |
---|
hasNext, next, remove |
Method Detail |
---|
ValueObject next(int i)
i
-
int width()
ValueObject[] get()
ValueObject get(int i)
i
-
int getIndex(java.lang.String var)
var
- A variable name
ValueObject get(java.lang.String name)
name
- A variable name
long getCount()
java.lang.String[] getNames()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |