Class SingleQueryResultIterator

java.lang.Object
net.ontopia.topicmaps.query.utils.SingleQueryResultIterator
All Implemented Interfaces:
Iterator

public class SingleQueryResultIterator extends Object implements Iterator
INTERNAL: Iterator that iterates over a QueryResultIF and returns an immutable Map instance for each query result row. Note that the Map instance is the same for each item, and that only the Map values change with each step. This means that this iterator must be used with care.
  • Field Details

    • result

      protected QueryResultIF result
    • rowmap

      protected ArrayMap rowmap
    • values

      protected Object[] values
    • has_next

      protected boolean has_next
  • Constructor Details

    • SingleQueryResultIterator

      public SingleQueryResultIterator(QueryResultIF result)
  • Method Details