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.QueryIterPlainWrapper
org.apache.jena.sparql.engine.iterator.QueryIterTopN
- All Implemented Interfaces:
Iterator<Binding>
,org.apache.jena.atlas.io.Printable
,org.apache.jena.atlas.iterator.IteratorCloseable<Binding>
,org.apache.jena.atlas.lib.Closeable
,QueryIterator
,PrintSerializable
-
Constructor Summary
ConstructorDescriptionQueryIterTopN
(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
Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIterPlainWrapper
create, create, output, setIterator
Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIter
close, flatMap, getExecContext, getIteratorNumber, makeTracked, map, materialize, materialize, output
Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIteratorBase
cancel, 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 java.util.Iterator
forEachRemaining
Methods inherited from interface org.apache.jena.sparql.util.PrintSerializable
toString
Methods inherited from interface org.apache.jena.sparql.engine.QueryIterator
isJoinIdentity
-
Constructor Details
-
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 Details
-
requestCancel
public void requestCancel()
-