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<T> |
of(Collection<String> ofTypeNames) |
DegreeQuery<T> |
of(String... ofTypeNames) |
DegreeQuery<String> |
persist()
Persist the result in the graph after executing the query.
|
DegreeQuery<String> |
persist(String resourceTypeName)
Persist the result in the graph after executing the query.
|
DegreeQuery<T> |
withGraph(GraknGraph graph) |
execute, isReadOnly, resultsStringDegreeQuery<String> persist()
DegreeQuery<String> persist(String resourceTypeName)
resourceTypeName - the name of the resource type to save the degreeDegreeQuery<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> of(String... ofTypeNames)
ofTypeNames - an array of types in the subgraph to compute degree of. By default the degrees of all the
types in the graph will be computedDegreeQuery<T> of(Collection<String> ofTypeNames)
ofTypeNames - a collection of types in the subgraph to compute degree of. By default the degrees of all the
types in the graph will be computedDegreeQuery<T> withGraph(GraknGraph graph)
Copyright © 2017 Grakn Labs Ltd. All rights reserved.