|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.query.impl.TupleQueryResultImpl
public class TupleQueryResultImpl
A generic implementation of the TupleQueryResult interface.
| Constructor Summary | |
|---|---|
TupleQueryResultImpl(List<String> bindingNames,
CloseableIteration<? extends BindingSet,QueryEvaluationException> bindingSetIter)
Creates a query result object with the supplied binding names. |
|
TupleQueryResultImpl(List<String> bindingNames,
Iterable<? extends BindingSet> bindingSets)
Creates a query result object with the supplied binding names. |
|
TupleQueryResultImpl(List<String> bindingNames,
Iterator<? extends BindingSet> bindingSetIter)
|
|
| Method Summary | |
|---|---|
void |
close()
|
List<String> |
getBindingNames()
Gets the names of the bindings, in order of projection. |
boolean |
hasNext()
|
BindingSet |
next()
|
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TupleQueryResultImpl(List<String> bindingNames,
Iterable<? extends BindingSet> bindingSets)
bindingNames - The binding names, in order of projection.
public TupleQueryResultImpl(List<String> bindingNames,
Iterator<? extends BindingSet> bindingSetIter)
public TupleQueryResultImpl(List<String> bindingNames,
CloseableIteration<? extends BindingSet,QueryEvaluationException> bindingSetIter)
bindingNames - The binding names, in order of projection.| Method Detail |
|---|
public List<String> getBindingNames()
TupleQueryResult
getBindingNames in interface TupleQueryResult
public void close()
throws QueryEvaluationException
close in interface CloseableIteration<BindingSet,QueryEvaluationException>QueryEvaluationException
public boolean hasNext()
throws QueryEvaluationException
hasNext in interface Iteration<BindingSet,QueryEvaluationException>QueryEvaluationException
public BindingSet next()
throws QueryEvaluationException
next in interface Iteration<BindingSet,QueryEvaluationException>QueryEvaluationException
public void remove()
throws QueryEvaluationException
remove in interface Iteration<BindingSet,QueryEvaluationException>QueryEvaluationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||