Package com.stardog.stark.query

# Interface GraphQueryResult

All Superinterfaces:
  `AutoCloseable`, `CloseableIterator<Statement>`, `Iterator<Statement>`, `QueryResult<Statement>`

All Known Implementing Classes:
  `AsyncGraphQueryResult`, `IteratorAsGraphQueryResult`

public interface GraphQueryResult extends QueryResult<Statement>

Query result of a sequence of `statements` which correspond to a `Graph` result.

Since:
  1.0
Version:
  1.0
Author:
  Michael Grove

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from interface com.complexible.common.base.CloseableIterator

  `CloseableIterator.AbstractCloseableIterator<T>, CloseableIterator.DelegatingCloseableIterator<T>, CloseableIterator.EmptyCloseableIterator<T>`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Namespaces`
  `namespaces()`
  The set of namespaces, if specified, that are to be used with the result set.
  `default Set<Statement>`
  `toGraph()`
  Transform these results into a graph.

  ### Methods inherited from interface java.util.Iterator

  `forEachRemaining, remove`

  ### Methods inherited from interface com.stardog.stark.query.QueryResult

  `close, hasNext, metadata, next, stream`

- ## Method Details

  - ### namespaces

    @Nonnull Namespaces namespaces()
    The set of namespaces, if specified, that are to be used with the result set.
    Returns:
      the namespaces

  - ### toGraph

    default Set<Statement> toGraph()
    Transform these results into a graph.
    Returns:
      the results as a graph
    Implementation Notes:
      This result set is closed as a side effect of the call.