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, isClosedprotected final GraphQueryResult graph
public GraphToBindingSetConversionIteration(GraphQueryResult graph)
public boolean hasNext()
throws QueryEvaluationException
IterationIteration.next()
would return an element rather than throwing a NoSuchElementException.)QueryEvaluationExceptionpublic BindingSet next() throws QueryEvaluationException
IterationQueryEvaluationExceptionpublic void remove()
throws QueryEvaluationException
IterationQueryEvaluationExceptionprotected BindingSet convert(Statement st)
Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.