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>, org.openjena.atlas.io.Printable, org.openjena.atlas.lib.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 |
| Methods inherited from interface org.openjena.atlas.io.Printable |
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.
Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010 Epimorphics Ltd.