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