public class GroupIterator extends CloseableIteratorIteration<BindingSet,QueryEvaluationException>
Modifier and Type | Class and Description |
---|---|
protected class |
GroupIterator.Key
A unique key for a set of existing bindings.
|
Constructor and Description |
---|
GroupIterator(EvaluationStrategy strategy,
Group group,
BindingSet parentBindings) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns true if the iteration has more elements.
|
BindingSet |
next()
Returns the next element in the iteration.
|
remove, setIterator
close, handleClose, isClosed
public GroupIterator(EvaluationStrategy strategy, Group group, BindingSet parentBindings) throws QueryEvaluationException
QueryEvaluationException
public boolean hasNext() throws QueryEvaluationException
Iteration
Iteration.next()
would return an element
rather than throwing a NoSuchElementException.)hasNext
in interface Iteration<BindingSet,QueryEvaluationException>
hasNext
in class CloseableIteratorIteration<BindingSet,QueryEvaluationException>
QueryEvaluationException
public BindingSet next() throws QueryEvaluationException
Iteration
next
in interface Iteration<BindingSet,QueryEvaluationException>
next
in class CloseableIteratorIteration<BindingSet,QueryEvaluationException>
QueryEvaluationException
Copyright © 2001-2016 Aduna. All Rights Reserved.