Package com.stardog.stark.query
Interface GraphQueryResult
-
- All Superinterfaces:
java.lang.AutoCloseable
,CloseableIterator<Statement>
,java.util.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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Namespaces
namespaces()
The set of namespaces, if specified, that are to be used with the result set.default java.util.Set<Statement>
toGraph()
Transform these results into a graph.
-
-
-
Method Detail
-
namespaces
@Nonnull Namespaces namespaces()
The set of namespaces, if specified, that are to be used with the result set.- Returns:
- the namespaces
-
toGraph
default java.util.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.
-
-