T - the type of result this query will returnpublic interface ComputeQuery<T> extends Query<T>
| Modifier and Type | Method and Description |
|---|---|
ComputeQuery<T> |
in(Collection<Label> subLabels) |
ComputeQuery<T> |
in(String... subTypelabels) |
void |
kill()
kill the compute query, terminate the job
|
ComputeQuery<T> |
withGraph(GraknGraph graph) |
execute, isReadOnly, resultsStringComputeQuery<T> withGraph(GraknGraph graph)
@CheckReturnValue ComputeQuery<T> in(String... subTypelabels)
subTypelabels - an array of types to include in the subgraph@CheckReturnValue ComputeQuery<T> in(Collection<Label> subLabels)
subLabels - a collection of types to include in the subgraphvoid kill()
Copyright © 2017 Grakn Labs Ltd. All rights reserved.