Package net.ontopia.persistence.proxy
Class QueryResultIterator<E>
java.lang.Object
net.ontopia.persistence.proxy.QueryResultIterator<E>
- All Implemented Interfaces:
Iterator<E>
INTERNAL: Interator wrapper class for QueryResultIFs. A column
index can be specified to iterate certain columns. The default
column is 0. The iterator does not currently support the remove()
method.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionQueryResultIterator(QueryResultIF result) QueryResultIterator(QueryResultIF result, int index) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
result
-
index
protected int index -
has_next
protected boolean has_next
-
-
Constructor Details
-
QueryResultIterator
-
QueryResultIterator
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
remove
public void remove() -
close
public void close()INTERNAL: Close iterator and release any resources held by it. -
finalize
protected void finalize()
-