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

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.QueryIterPlainWrapper
                  extended by com.hp.hpl.jena.sparql.engine.iterator.QueryIterTopN
All Implemented Interfaces:
QueryIterator, PrintSerializable, Iterator<Binding>, Printable, Closeable

public class QueryIterTopN
extends QueryIterPlainWrapper


Field Summary
 
Fields inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase
traceIterators
 
Constructor Summary
QueryIterTopN(QueryIterator qIter, Comparator<Binding> comparator, long numItems, boolean distinct, ExecutionContext context)
           
QueryIterTopN(QueryIterator qIter, List<SortCondition> conditions, long numItems, boolean distinct, 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.QueryIterPlainWrapper
output, setIterator
 
Methods inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIter
close, getExecContext, getIteratorNumber, makeTracked, materialize
 
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

QueryIterTopN

public QueryIterTopN(QueryIterator qIter,
                     List<SortCondition> conditions,
                     long numItems,
                     boolean distinct,
                     ExecutionContext context)

QueryIterTopN

public QueryIterTopN(QueryIterator qIter,
                     Comparator<Binding> comparator,
                     long numItems,
                     boolean distinct,
                     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