com.hp.hpl.jena.sparql.engine.iterator
Class QueryIterDistinct

java.lang.Object
  extended by com.hp.hpl.jena.sparql.util.PrintSerializableBase
      extended by com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase
          extended by com.hp.hpl.jena.sparql.engine.iterator.QueryIter
              extended by com.hp.hpl.jena.sparql.engine.iterator.QueryIterDistinct
All Implemented Interfaces:
QueryIterator, PrintSerializable, Iterator<Binding>, Printable, Closeable

public class QueryIterDistinct
extends QueryIter

A QueryIterator that suppresses items already seen. This will stream results until the spill to disk threshold is passed. At that point, it will not return any results until the input iterator has been exhausted.

See Also:
DistinctDataNet

Field Summary
 
Fields inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase
traceIterators
 
Constructor Summary
QueryIterDistinct(QueryIterator qIter, ExecutionContext context)
           
 
Method Summary
 void requestCancel()
          Propagates the cancellation request - called asynchronously with the iterator itself
 
Methods inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIter
close, getExecContext, getIteratorNumber, makeTracked, materialize, output
 
Methods inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase
abort, cancel, cancelAllowContinue, debug, hasNext, next, nextBinding, remove
 
Methods inherited from class com.hp.hpl.jena.sparql.util.PrintSerializableBase
output, toString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.hp.hpl.jena.sparql.util.PrintSerializable
toString
 
Methods inherited from interface org.openjena.atlas.io.Printable
output
 

Constructor Detail

QueryIterDistinct

public QueryIterDistinct(QueryIterator qIter,
                         ExecutionContext context)
Method Detail

requestCancel

public void requestCancel()
Description copied from class: QueryIteratorBase
Propagates the cancellation request - called asynchronously with the iterator itself



Licenced under the Apache License, Version 2.0