public class IteratingTupleQueryResult extends IterationWrapper<BindingSet,QueryEvaluationException> implements TupleQueryResult
TupleQueryResult
interface.wrappedIter
Constructor and Description |
---|
IteratingTupleQueryResult(List<String> bindingNames,
CloseableIteration<? extends BindingSet,QueryEvaluationException> bindingSetIter)
Creates a query result object with the supplied binding names.
|
IteratingTupleQueryResult(List<String> bindingNames,
Iterable<? extends BindingSet> bindingSets)
Creates a query result object with the supplied binding names.
|
IteratingTupleQueryResult(List<String> bindingNames,
Iterator<? extends BindingSet> bindingSetIter) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getBindingNames()
Gets the names of the bindings, in order of projection.
|
handleClose, hasNext, next, remove
close, isClosed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
iterator
close
hasNext, next, remove, stream
forEach, spliterator
public IteratingTupleQueryResult(List<String> bindingNames, Iterable<? extends BindingSet> bindingSets)
bindingNames
- The binding names, in order of projection.public IteratingTupleQueryResult(List<String> bindingNames, Iterator<? extends BindingSet> bindingSetIter)
public IteratingTupleQueryResult(List<String> bindingNames, CloseableIteration<? extends BindingSet,QueryEvaluationException> bindingSetIter)
bindingNames
- The binding names, in order of projection.public List<String> getBindingNames() throws QueryEvaluationException
TupleQueryResult
getBindingNames
in interface TupleQueryResult
QueryEvaluationException
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.