Package org.eclipse.rdf4j.query
Interface TupleQueryResult
-
- All Superinterfaces:
AutoCloseable
,CloseableIteration<BindingSet,QueryEvaluationException>
,Iterable<BindingSet>
,Iteration<BindingSet,QueryEvaluationException>
,QueryResult<BindingSet>
- All Known Implementing Classes:
BackgroundTupleResult
,CachedTupleQueryResult
,CleanerTupleQueryResult
,IteratingTupleQueryResult
,MutableTupleQueryResult
,ReusableTupleQueryResult
,TupleQueryResultImpl
public interface TupleQueryResult extends QueryResult<BindingSet>
A representation of a variable-binding query result as a sequence ofBindingSet
objects. Each query result consists of zero or more solutions, each of which represents a single query solution as a set of bindings. Note: take care to always close a TupleQueryResult after use to free any resources it keeps hold of.- Author:
- jeen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
getBindingNames()
Gets the names of the bindings, in order of projection.-
Methods inherited from interface org.eclipse.rdf4j.common.iteration.CloseableIteration
close
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface org.eclipse.rdf4j.query.QueryResult
hasNext, iterator, next, stream
-
-
-
-
Method Detail
-
getBindingNames
List<String> getBindingNames() throws QueryEvaluationException
Gets the names of the bindings, in order of projection.- Returns:
- The binding names, in order of projection.
- Throws:
QueryEvaluationException
-
-