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, Iterator<Binding>, org.openjena.atlas.io.Printable, org.openjena.atlas.lib.Closeable
- Direct Known Subclasses:
- QueryIterGroup, QueryIterSort
public class QueryIterPlainWrapper
- extends QueryIter
Turn an normal java.util.Iterator (of Bindings) into a QueryIterator
|
Method Summary |
void |
output(org.openjena.atlas.io.IndentedWriter out,
SerializationContext sCxt)
|
void |
setIterator(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. |
| Methods inherited from interface org.openjena.atlas.io.Printable |
output |
QueryIterPlainWrapper
public QueryIterPlainWrapper(Iterator<Binding> iter)
QueryIterPlainWrapper
public QueryIterPlainWrapper(Iterator<Binding> iter,
ExecutionContext context)
setIterator
public void setIterator(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(org.openjena.atlas.io.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 Epimorphics Ltd.