com.hp.hpl.jena.sparql.engine.iterator
Class QueryIterPeek

java.lang.Object
  extended by com.hp.hpl.jena.sparql.util.PrintSerializableBase
      extended by com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase
          extended by com.hp.hpl.jena.sparql.engine.iterator.QueryIter
              extended by com.hp.hpl.jena.sparql.engine.iterator.QueryIter1
                  extended by com.hp.hpl.jena.sparql.engine.iterator.QueryIterPeek
All Implemented Interfaces:
QueryIterator, PrintSerializable, Iterator<Binding>, Printable, Closeable

public class QueryIterPeek
extends QueryIter1


Field Summary
 
Fields inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase
traceIterators
 
Method Summary
static QueryIterPeek create(QueryIterator iterator, ExecutionContext cxt)
           
 Binding peek()
          Returns the next binding without moving on.
 
Methods inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIter1
output
 
Methods inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIter
close, getExecContext, getIteratorNumber, makeTracked, map, materialize, materialize, output
 
Methods inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase
cancel, debug, hasNext, next, nextBinding, remove
 
Methods inherited from class com.hp.hpl.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 com.hp.hpl.jena.sparql.util.PrintSerializable
toString
 

Method Detail

create

public static QueryIterPeek create(QueryIterator iterator,
                                   ExecutionContext cxt)

peek

public Binding peek()
Returns the next binding without moving on. Returns "null" for no such element.



Licenced under the Apache License, Version 2.0