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