java.util.Enumeration<java.lang.Object>
OQLQueryImpl.OQLEnumeration
, SimpleQueryExecutor.SimpleQueryResults
public interface QueryResults
extends java.util.Enumeration<java.lang.Object>
Modifier and Type | Method | Description |
---|---|---|
boolean |
absolute(int row) |
moves the result of the query to the absolute position in the
resultset.
|
void |
close() |
Closes the result set and releases all resources held by it.
|
boolean |
hasMore() |
Returns true if there are any more results in the result set.
|
java.lang.Object |
next() |
Returns the next result in the result set.
|
int |
size() |
Finds the size of the resulting resultset from the query.
|
boolean hasMore() throws PersistenceException
PersistenceException
- An error with the persistence enginejava.lang.Object next() throws PersistenceException, java.util.NoSuchElementException
hasMore()
returns
false) this method will throw an exceptin. If an error
occured reading the last result, an exception will be
thrown and the result set cannot be used further.PersistenceException
- An error with the persistence
enginejava.util.NoSuchElementException
- There are no more results in
the result setvoid close()
boolean absolute(int row) throws PersistenceException
row
- The row to move toPersistenceException
- A persistence error occuredint size() throws PersistenceException
PersistenceException
- A persistence error occuredIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com