Package org.eclipse.rdf4j.query
Interface TupleQueryResult
-
- All Superinterfaces:
java.lang.AutoCloseable
,CloseableIteration<BindingSet,QueryEvaluationException>
,java.lang.Iterable<BindingSet>
,Iteration<BindingSet,QueryEvaluationException>
,QueryResult<BindingSet>
- All Known Implementing Classes:
BackgroundTupleResult
,CleanerTupleQueryResult
,IteratingTupleQueryResult
,MutableTupleQueryResult
,QueryResults.TupleQueryResultFilter
,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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.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 org.eclipse.rdf4j.query.QueryResult
hasNext, iterator, next, stream
-
-
-
-
Method Detail
-
getBindingNames
java.util.List<java.lang.String> getBindingNames() throws QueryEvaluationException
Gets the names of the bindings, in order of projection.- Returns:
- The binding names, in order of projection.
- Throws:
QueryEvaluationException
-
-