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
  • 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.