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