|
Java Client API Reference 6.0.2.61 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Points into a set of business objects.
This works much like a standard java.util.Enumeration. It is used to
enable asynchronous data retrieval, whereby a client application can process
a part of the result of a query while the next part is being retrieved
| Method Summary | |
boolean |
hasMoreElements()
Indicates whether there are more business objects to return Threading policy: Unsafe |
BusinessObject |
nextElement()
Returns the next business object. |
void |
setFetchSize(int p_iteratorSize)
Sets the fetch size for this iterator. |
| Method Detail |
public boolean hasMoreElements()
throws BoiException,
BoiApplicationException
nextElement() will return
another business object, false if such a call will
result in a NoSuchElementExceptionBoiException - if an adapter or transport level error occurredBoiApplicationException - if the query resulted in an error in the backend
public BusinessObject nextElement()
throws BoiException,
BoiApplicationException,
java.lang.ClassCastException,
java.util.NoSuchElementException
hasMoreElements() method returns
true
BoiException - if an error occurred at the adapter or transport
levelBoiApplicationException - if an error occurred while processing the
query in the backendjava.util.NoSuchElementException - if the end of the data set has
been reachedjava.lang.ClassCastException - if there is a type mismatch between
the expected type of object and the type of the returned objectspublic void setFetchSize(int p_iteratorSize)
p_iteratorSize - the number of 'root' business objects to retrieve
with each fetch (must be greater than 0)
|
Java Client API Reference 6.0.2.61 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||