Package org.eclipse.rdf4j.query

## Interface QueryResult<T>

- All Superinterfaces:
    `AutoCloseable`, `CloseableIteration<T,​QueryEvaluationException>`, `Iterable<T>`, `Iteration<T,​QueryEvaluationException>`
  All Known Subinterfaces:
    `GraphQueryResult`, `TupleQueryResult`
  All Known Implementing Classes:
    `BackgroundGraphResult`, `BackgroundTupleResult`, `CachedGraphQueryResult`, `CachedTupleQueryResult`, `GraphQueryResultImpl`, `IteratingGraphQueryResult`, `IteratingTupleQueryResult`, `MutableTupleQueryResult`, `ReusableGraphQueryResult`, `ReusableTupleQueryResult`, `TupleQueryResultImpl`

      public interface QueryResult<T>
      extends CloseableIteration<T,​QueryEvaluationException>, Iterable<T>

  Super type of all query result types (TupleQueryResult, GraphQueryResult, etc.).
  Author:
    Jeen Broekstra, Arjohn Kampman

- - ### Method Summary

    All Methods Instance Methods Default Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `default Iterator<T>` | `iterator()` |

    - ### 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.common.iteration.Iteration

      `hasNext, next, remove, stream`

- - ### Method Detail

    - #### iterator

          default Iterator<T> iterator()

      Specified by:
        `iterator` in interface `Iterable<T>`