com.hp.hpl.jena.sparql.engine.iterator
Class QueryIterSlice
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.QueryIter1
com.hp.hpl.jena.sparql.engine.iterator.QueryIterSlice
- All Implemented Interfaces:
- QueryIterator, PrintSerializable, Iterator<Binding>, Printable, Closeable
public class QueryIterSlice
- extends QueryIter1
Iterator until a limit is reached.
| Methods inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIter1 |
output |
QueryIterSlice
public QueryIterSlice(QueryIterator cIter,
long startPosition,
long numItems,
ExecutionContext context)
- Create an iterator that limits the number of returns of
another CloseableIterator.
- Parameters:
cIter - The closable iterator to throttlestartPosition - Offset of start after - 0 is the no-op.numItems - Maximium number of items to yield.
Licenced under the Apache License, Version 2.0