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