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, Iterator<Binding>, Printable, Closeable
- Direct Known Subclasses:
- QueryIterCommonParent, QueryIterDistinguishedVars, 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 |
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)
Licenced under the Apache License, Version 2.0