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