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