| Modifier and Type | Method and Description |
|---|---|
Optional<List<Concept>> |
execute()
Execute the query.
|
PathQuery |
from(ConceptId sourceId) |
PathQuery |
in(Collection<Label> subLabels) |
PathQuery |
in(String... subTypeLabels) |
PathQuery |
to(ConceptId destinationId) |
PathQuery |
withGraph(GraknGraph graph) |
killisReadOnly, resultsStringPathQuery from(ConceptId sourceId)
sourceId - the id of the source instancePathQuery to(ConceptId destinationId)
destinationId - the id of the destination instancePathQuery in(String... subTypeLabels)
in in interface ComputeQuery<Optional<List<Concept>>>subTypeLabels - an array of types to include in the subgraphPathQuery in(Collection<Label> subLabels)
in in interface ComputeQuery<Optional<List<Concept>>>subLabels - a collection of types to include in the subgraphCopyright © 2017 Grakn Labs Ltd. All rights reserved.