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