public class QueryLocalIterator
extends java.lang.Object
implements java.util.Iterator, java.io.Serializable
| Constructor and Description |
|---|
QueryLocalIterator(com.ibm.ObjectQuery.eval.DataEnumerator denum,
java.util.ArrayList headings) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
closes and frees the SQL cursor
|
java.lang.Exception |
getException()
used to obtain exception information about sql errors or ejb query execution errors.
|
java.lang.Object |
getFieldClassName(int field)
future
|
java.lang.String |
getFieldName(int field)
descriptive name for the nth field of the result set. n=1 is the first field.
|
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
|
java.lang.Object |
next()
returns the next IQueryTuple in the iteration
|
void |
remove()
no operation
|
public QueryLocalIterator(com.ibm.ObjectQuery.eval.DataEnumerator denum,
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 void close()
throws QueryException
QueryExceptionpublic java.lang.Exception getException()
public java.lang.Object getFieldType(int field)
public java.lang.Object getFieldClassName(int field)
public java.lang.String getFieldName(int field)
public int getFieldsCount()