Class QueryIterDistinct
- java.lang.Object
-
- org.apache.jena.sparql.util.PrintSerializableBase
-
- org.apache.jena.sparql.engine.iterator.QueryIteratorBase
-
- org.apache.jena.sparql.engine.iterator.QueryIter
-
- org.apache.jena.sparql.engine.iterator.QueryIter1
-
- org.apache.jena.sparql.engine.iterator.QueryIterDistinct
-
- All Implemented Interfaces:
java.util.Iterator<Binding>,org.apache.jena.atlas.io.Printable,org.apache.jena.atlas.lib.Closeable,QueryIterator,PrintSerializable
public class QueryIterDistinct extends QueryIter1
A QueryIterator that suppresses items already seen. This will stream results until a threshold is passed. At that point, it will fill a disk-backedDistinctDataNet, then yield not return any results until the input iterator has been exhausted.- See Also:
DistinctDataBag
-
-
Field Summary
-
Fields inherited from class org.apache.jena.sparql.engine.iterator.QueryIteratorBase
traceIterators
-
-
Constructor Summary
Constructors Constructor Description QueryIterDistinct(QueryIterator qIter, java.util.List<SortCondition> preserveOrder, ExecutionContext execCxt)
-
Method Summary
-
Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIter1
output
-
Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIter
close, getExecContext, getIteratorNumber, makeTracked, map, materialize, materialize, output
-
Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIteratorBase
cancel, debug, hasNext, next, nextBinding, remove
-
Methods inherited from class org.apache.jena.sparql.util.PrintSerializableBase
toString, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.jena.sparql.util.PrintSerializable
toString
-
Methods inherited from interface org.apache.jena.sparql.engine.QueryIterator
isJoinIdentity
-
-
-
-
Constructor Detail
-
QueryIterDistinct
public QueryIterDistinct(QueryIterator qIter, java.util.List<SortCondition> preserveOrder, ExecutionContext execCxt)
-
-