|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.nxqd.NxqdConsumer net.sf.nxqd.NxqdResults
public class NxqdResults
Method Summary | |
---|---|
void |
add(NxqdValue value)
Adds the specified NxqdValue to the end of the results set. |
boolean |
hasNext()
Returns true if there is another element in the results set. |
boolean |
hasPrevious()
Returns true if there is a previous element in the results set. |
NxqdValue |
next()
Retrieves the next value in the result set. |
NxqdValue |
peek()
Returns the current element in the results set without moving the internal iterator. |
NxqdValue |
previous()
Retrieves the previous value in the result set. |
void |
reset()
If a query was processed with eager evaluation, a call to this method resets the result set iterator, so that a subsequent call to next() method will return the first value in the result set. |
int |
size()
If a query was processed with eager evaluation, a call to this method returns the number of values in the result set. |
Methods inherited from class net.sf.nxqd.NxqdConsumer |
---|
getNxqdManager, setNxqdManager |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void add(NxqdValue value) throws NxqdException
value
- a NxqdValue
value
NxqdException
- if an error occurspublic int size() throws NxqdException
int
value
NxqdException
- if an error occurspublic void reset() throws NxqdException
NxqdException
- if an error occurspublic boolean hasNext() throws NxqdException
boolean
value
NxqdException
- if an error occurspublic boolean hasPrevious() throws NxqdException
boolean
value
NxqdException
- if an error occurspublic NxqdValue next() throws NxqdException
NxqdValue
value
NxqdException
- if an error occurspublic NxqdValue previous() throws NxqdException
NxqdValue
value
NxqdException
- if an error occurspublic NxqdValue peek() throws NxqdException
NxqdValue
value
NxqdException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |