public class QueryIterator
extends java.lang.Object
implements java.util.Iterator, java.io.Serializable
| Constructor and Description |
|---|
QueryIterator(com.ibm.ObjectQuery.QueryTuple[] elements,
boolean exhausted,
java.util.ArrayList headings) |
| Modifier and Type | Method and Description |
|---|---|
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
|
public QueryIterator(com.ibm.ObjectQuery.QueryTuple[] elements,
boolean exhausted,
java.util.ArrayList headings)
public java.lang.Object next()
next in interface java.util.Iteratorpublic boolean hasNext()
hasNext in interface java.util.Iteratorpublic void remove()
remove in interface java.util.Iteratorpublic 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)