| Modifier and Type | Method and Description |
|---|---|
DegreeQuery |
in(Collection<TypeName> subTypeNames) |
DegreeQuery |
in(String... subTypeNames) |
DegreeQuery |
of(Collection<TypeName> ofTypeNames) |
DegreeQuery |
of(String... ofTypeNames) |
DegreeQuery |
withGraph(GraknGraph graph) |
execute, isReadOnly, resultsStringDegreeQuery in(String... subTypeNames)
DegreeQuery in(Collection<TypeName> subTypeNames)
DegreeQuery 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 of(Collection<TypeName> 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 withGraph(GraknGraph graph)
Copyright © 2017 Grakn Labs Ltd. All rights reserved.