| Modifier and Type | Method and Description |
|---|---|
DegreeQuery |
in(Collection<Label> subLabels) |
DegreeQuery |
in(String... subTypeLabels) |
DegreeQuery |
of(Collection<Label> ofLabels) |
DegreeQuery |
of(String... ofTypeLabels) |
DegreeQuery |
withGraph(GraknGraph graph) |
killexecute, isReadOnly, resultsStringDegreeQuery in(String... subTypeLabels)
DegreeQuery in(Collection<Label> subLabels)
DegreeQuery of(String... ofTypeLabels)
ofTypeLabels - 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 of(Collection<Label> ofLabels)
ofLabels - 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 withGraph(GraknGraph graph)
Copyright © 2017 Grakn Labs Ltd. All rights reserved.