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.QueryIter1
org.apache.jena.sparql.engine.iterator.QueryIterSlice
- 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
Iterator until a limit is reached.
- 
Constructor SummaryConstructorsConstructorDescriptionQueryIterSlice(QueryIterator cIter, long startPosition, long numItems, ExecutionContext context) Create an iterator that limits the number of returns of another CloseableIterator.
- 
Method SummaryMethods inherited from class org.apache.jena.sparql.engine.iterator.QueryIter1outputMethods inherited from class org.apache.jena.sparql.engine.iterator.QueryIterclose, flatMap, getExecContext, getIteratorNumber, makeTracked, map, materialize, materialize, outputMethods inherited from class org.apache.jena.sparql.engine.iterator.QueryIteratorBasecancel, hasNext, next, nextBinding, removeMethods inherited from class org.apache.jena.sparql.util.PrintSerializableBasetoString, toStringMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.IteratorforEachRemainingMethods inherited from interface org.apache.jena.sparql.util.PrintSerializabletoStringMethods inherited from interface org.apache.jena.sparql.engine.QueryIteratorisJoinIdentity
- 
Constructor Details- 
QueryIterSlicepublic 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 throttle
- startPosition- Offset of start after - 0 is the no-op.
- numItems- Maximum number of items to yield.
 
 
-