org.eclipse.rdf4j.query

## Interface TupleQueryResult

- All Superinterfaces:
    AutoCloseable, CloseableIteration<BindingSet,QueryEvaluationException>, Iterable<BindingSet>, Iteration<BindingSet,QueryEvaluationException>, QueryResult<BindingSet>
  All Known Implementing Classes:
    BackgroundTupleResult, BackgroundTupleResult, IteratingTupleQueryResult, MutableTupleQueryResult, TupleQueryResultImpl

      public interface TupleQueryResult
      extends QueryResult<BindingSet>

  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

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<String>` | `getBindingNames()` Gets the names of the bindings, in order of projection.

    - ### Methods inherited from interface org.eclipse.rdf4j.query.QueryResult

      `iterator`

    - ### Methods inherited from interface org.eclipse.rdf4j.common.iteration.CloseableIteration

      `close`

    - ### Methods inherited from interface org.eclipse.rdf4j.common.iteration.Iteration

      `hasNext, next, remove, stream`

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, spliterator`

- - ### 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`

Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.