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