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, BackgroundGraphResult, BackgroundTupleResult, BackgroundTupleResult, GraphQueryResultImpl, IteratingGraphQueryResult, IteratingTupleQueryResult, MutableTupleQueryResult, 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 and Description
    --- | ---
    `default Iterator<T>` | `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

    - #### iterator

          default Iterator<T> iterator()

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

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