public abstract class AbstractComputeQuery<T> extends Object implements ComputeQuery<T>
| Modifier and Type | Field and Description |
|---|---|
static String |
connectedComponent |
static String |
degree |
| Constructor and Description |
|---|
AbstractComputeQuery() |
| Modifier and Type | Method and Description |
|---|---|
ComputeQuery<T> |
in(Collection<String> subTypeNames) |
ComputeQuery<T> |
in(String... subTypeNames) |
java.util.stream.Stream<String> |
resultsString(Printer printer)
Execute the query and return a human-readable stream of results
|
String |
toString() |
ComputeQuery<T> |
withGraph(GraknGraph graph) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitexecute, isReadOnlypublic static final String degree
public static final String connectedComponent
public ComputeQuery<T> withGraph(GraknGraph graph)
public ComputeQuery<T> in(String... subTypeNames)
in in interface ComputeQuery<T>subTypeNames - an array of types to include in the subgraphpublic ComputeQuery<T> in(Collection<String> subTypeNames)
in in interface ComputeQuery<T>subTypeNames - a collection of types to include in the subgraphpublic java.util.stream.Stream<String> resultsString(Printer printer)
QueryresultsString in interface Query<T>Copyright © 2016 Grakn Labs Ltd. All rights reserved.