public interface CountQuery extends ComputeQuery<Long>
| Modifier and Type | Method and Description |
|---|---|
Long |
execute()
Execute the query.
|
CountQuery |
in(Collection<Label> subLabels) |
CountQuery |
in(String... subTypeLabels) |
CountQuery |
withGraph(GraknGraph graph) |
killisReadOnly, resultsStringCountQuery in(String... subTypeLabels)
in in interface ComputeQuery<Long>subTypeLabels - an array of types to include in the subgraphCountQuery in(Collection<Label> subLabels)
in in interface ComputeQuery<Long>subLabels - a collection of types to include in the subgraphLong execute()
CountQuery withGraph(GraknGraph graph)
Copyright © 2017 Grakn Labs Ltd. All rights reserved.