public interface SumQuery extends ComputeQuery<Optional<Number>>
| Modifier and Type | Method and Description |
|---|---|
Optional<Number> |
execute()
Execute the query.
|
SumQuery |
in(Collection<String> subTypeNames) |
SumQuery |
in(String... subTypeNames) |
SumQuery |
of(Collection<String> resourceTypeNames) |
SumQuery |
of(String... resourceTypeNames) |
SumQuery |
withGraph(GraknGraph graph) |
isReadOnly, resultsStringSumQuery of(String... resourceTypeNames)
resourceTypeNames - an array of types of resources to execute the query onSumQuery of(Collection<String> resourceTypeNames)
resourceTypeNames - a collection of types of resources to execute the query onSumQuery in(String... subTypeNames)
in in interface ComputeQuery<Optional<Number>>subTypeNames - an array of types to include in the subgraphSumQuery in(Collection<String> subTypeNames)
in in interface ComputeQuery<Optional<Number>>subTypeNames - a collection of types to include in the subgraphSumQuery withGraph(GraknGraph graph)
Copyright © 2017 Grakn Labs Ltd. All rights reserved.