public class GraphToBindingSetConversionIteration extends AbstractCloseableIteration<BindingSet,QueryEvaluationException>
Modifier and Type | Field and Description |
---|---|
protected GraphQueryResult |
graph |
Constructor and Description |
---|
GraphToBindingSetConversionIteration(GraphQueryResult graph) |
Modifier and Type | Method and Description |
---|---|
protected BindingSet |
convert(Statement st) |
boolean |
hasNext()
Returns true if the iteration has more elements.
|
BindingSet |
next()
Returns the next element in the iteration.
|
void |
remove()
Removes from the underlying collection the last element returned by the iteration (optional operation).
|
close, handleClose, isClosed
protected final GraphQueryResult graph
public GraphToBindingSetConversionIteration(GraphQueryResult graph)
public boolean hasNext() throws QueryEvaluationException
Iteration
Iteration.next()
would return an element rather than throwing a NoSuchElementException.)QueryEvaluationException
public BindingSet next() throws QueryEvaluationException
Iteration
QueryEvaluationException
public void remove() throws QueryEvaluationException
Iteration
QueryEvaluationException
protected BindingSet convert(Statement st)
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.