|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.ejbquery.QueryIterator
public class QueryIterator
Iterator over a collection of IQueryTuple objects. This iterator is returned by the remote interface of the Websphere dynamic ejb query service. The result collection belonging to this iterator is fully materialized. This iterator and its collection can be passed to a remote J2EE client.
Constructor Summary | |
---|---|
QueryIterator(com.ibm.ObjectQuery.QueryTuple[] elements,
boolean exhausted,
java.util.ArrayList headings)
|
Method Summary | |
---|---|
java.lang.Object |
getFieldClassName(int field)
future |
java.lang.String |
getFieldName(int field)
descriptive name for the nth field of the result set. |
int |
getFieldsCount()
number of fields in the result set |
java.lang.Object |
getFieldType(int field)
future |
boolean |
hasNext()
returns TRUE if the iteration has more elements |
boolean |
isComplete()
TRUE if the result set was truncated, FALSE otherwise. |
java.lang.Object |
next()
returns the next IQueryTuple in the iteration |
void |
remove()
no operation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryIterator(com.ibm.ObjectQuery.QueryTuple[] elements, boolean exhausted, java.util.ArrayList headings)
Method Detail |
---|
public java.lang.Object next()
next
in interface java.util.Iterator
public boolean hasNext()
hasNext
in interface java.util.Iterator
public void remove()
remove
in interface java.util.Iterator
public java.lang.Object getFieldType(int field)
public java.lang.Object getFieldClassName(int field)
public java.lang.String getFieldName(int field)
public int getFieldsCount()
public boolean isComplete()
Query.executeQuery(java.lang.String, java.lang.Object[], java.util.Properties, int, int)
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |