public interface DegreeQuery<T> extends ComputeQuery<T>
| Modifier and Type | Method and Description |
|---|---|
DegreeQuery<T> |
in(Collection<String> subTypeNames) |
DegreeQuery<T> |
in(String... subTypeNames) |
DegreeQuery<String> |
persist()
Persist the result in the graph after executing the query.
|
DegreeQuery<T> |
withGraph(GraknGraph graph) |
execute, isReadOnly, resultsStringDegreeQuery<String> persist()
DegreeQuery<T> in(String... subTypeNames)
in in interface ComputeQuery<T>subTypeNames - an array of types to include in the subgraphDegreeQuery<T> in(Collection<String> subTypeNames)
in in interface ComputeQuery<T>subTypeNames - a collection of types to include in the subgraphDegreeQuery<T> withGraph(GraknGraph graph)
Copyright © 2016 Grakn Labs Ltd. All rights reserved.