com.hp.hpl.jena.sparql.engine.iterator
Class QueryIterSort
java.lang.Object
com.hp.hpl.jena.sparql.util.PrintSerializableBase
com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase
com.hp.hpl.jena.sparql.engine.iterator.QueryIter
com.hp.hpl.jena.sparql.engine.iterator.QueryIterPlainWrapper
com.hp.hpl.jena.sparql.engine.iterator.QueryIterSort
- All Implemented Interfaces:
- QueryIterator, PrintSerializable, Iterator<Binding>, Printable, Closeable
public class QueryIterSort
- extends QueryIterPlainWrapper
Sort a query iterator. The sort will happen in-memory unless the size of the
iterator exceeds a configurable threshold. In that case, a disk sort is used.
- See Also:
SortedDataBag
Method Summary |
void |
requestCancel()
Propagates the cancellation request - called asynchronously with the iterator itself |
QueryIterSort
public QueryIterSort(QueryIterator qIter,
List<SortCondition> conditions,
ExecutionContext context)
QueryIterSort
public QueryIterSort(QueryIterator qIter,
Comparator<Binding> comparator,
ExecutionContext context)
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