com.hp.hpl.jena.sparql.engine.iterator
Class QueryIterConvert
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.QueryIterConvert
- All Implemented Interfaces:
- QueryIterator, PrintSerializable, java.util.Iterator<Binding>, Printable, Closeable
- Direct Known Subclasses:
- QueryIterCommonParent, QueryIterDistinguishedVars, QueryIterFixed, QueryIterProject
public class QueryIterConvert
- extends QueryIter1
Iterator over another QueryIterator, applying a converter function
to each object that is returned by .next()
|
Method Summary |
boolean |
hasNextBinding()
Implement this, not hasNext() |
Binding |
moveToNextBinding()
Implement this, not next() or nextBinding()
Returning null is turned into NoSuchElementException
Does not need to call hasNext (can presume it is true) |
| Methods inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIter1 |
output |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
QueryIterConvert
public QueryIterConvert(QueryIterator iter,
QueryIterConvert.Converter c,
ExecutionContext context)
hasNextBinding
public boolean hasNextBinding()
- Description copied from class:
QueryIteratorBase
- Implement this, not hasNext()
moveToNextBinding
public Binding moveToNextBinding()
- Description copied from class:
QueryIteratorBase
- Implement this, not next() or nextBinding()
Returning null is turned into NoSuchElementException
Does not need to call hasNext (can presume it is true)
Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.