com.hp.hpl.jena.sparql.engine.iterator
Class QueryIterPlainWrapper
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
- All Implemented Interfaces:
- QueryIterator, PrintSerializable, java.util.Iterator<Binding>, Printable, Closeable
- Direct Known Subclasses:
- QueryIterGroup, QueryIterSort
public class QueryIterPlainWrapper
- extends QueryIter
Turn an normal java.util.Iterator (of Bindings) into a QueryIterator
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
QueryIterPlainWrapper
public QueryIterPlainWrapper(java.util.Iterator<Binding> iter)
QueryIterPlainWrapper
public QueryIterPlainWrapper(java.util.Iterator<Binding> iter,
ExecutionContext context)
setIterator
public void setIterator(java.util.Iterator<Binding> iterator)
- Preferrable to use a constructor - but sometimes that is inconvenient
so pass null in the constructor and then call this before the iterator is
used.
output
public void output(IndentedWriter out,
SerializationContext sCxt)
- Specified by:
output in interface PrintSerializable- Overrides:
output in class QueryIter
Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.