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