|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.util.iterator.NiceIterator
de.fuberlin.wiwiss.d2rq.rdql.PatternQueryCombiner.PQCResultIterator
Iterator for PatternQueryCombiner results.
Field Summary | |
protected TripleQuery[] |
conjunction
next TripleQuery conjunction to be processed |
protected ConjunctionIterator |
conjunctionsIterator
Iterator for TripleQuery conjunctions |
protected boolean |
didPrefetch
iterator helper |
protected com.hp.hpl.jena.graph.Triple[] |
prefetchedResult
iterator helper |
(package private) CombinedTripleResultSet |
resultSet
iterator that returns triple arrays for database rows |
Fields inherited from class com.hp.hpl.jena.util.iterator.NiceIterator |
|
Constructor Summary | |
PatternQueryCombiner.PQCResultIterator()
|
Method Summary | |
void |
close()
|
boolean |
hasNext()
|
java.lang.Object |
next()
|
protected void |
prefetch()
Tries to prefetch a prefetchedResult . |
void |
remove()
|
Methods inherited from class com.hp.hpl.jena.util.iterator.NiceIterator |
andThen, andThen, close, emptyIterator, ensureHasNext, filterDrop, filterKeep, mapWith, noElements, removeNext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected ConjunctionIterator conjunctionsIterator
protected TripleQuery[] conjunction
protected com.hp.hpl.jena.graph.Triple[] prefetchedResult
protected boolean didPrefetch
CombinedTripleResultSet resultSet
Constructor Detail |
public PatternQueryCombiner.PQCResultIterator()
Method Detail |
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
protected void prefetch()
prefetchedResult
.
There are two resources to draw from:
1. another row from the current SQL query (resultSet)
2. a new SQL query can be started
Only those TripleQuery conjunctions are considered that may have
solutions in terms of NodeConstraints on shared variables.
public void close()
close
in interface com.hp.hpl.jena.util.iterator.ClosableIterator
public void remove()
remove
in interface java.util.Iterator
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |