Interface TupleQueryResult
- All Superinterfaces:
AutoCloseable, CloseableIteration<BindingSet>, Iterable<BindingSet>, Iterator<BindingSet>, QueryResult<BindingSet>
- All Known Implementing Classes:
BackgroundTupleResult, CachedTupleQueryResult, CleanerTupleQueryResult, IteratingTupleQueryResult, MutableTupleQueryResult, ReusableTupleQueryResult
A representation of a variable-binding query result as a sequence of
BindingSet 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
-
Field Summary
Fields inherited from interface CloseableIteration
EMPTY_STATEMENT_ITERATION -
Method Summary
Modifier and TypeMethodDescriptionGets the names of the bindings, in order of projection.Methods inherited from interface CloseableIteration
closeMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface Iterator
forEachRemaining, removeMethods inherited from interface QueryResult
hasNext, iterator, next, stream
-
Method Details
-
getBindingNames
Gets the names of the bindings, in order of projection.- Returns:
- The binding names, in order of projection.
- Throws:
QueryEvaluationException
-