connectedComponent, degree| Constructor and Description |
|---|
PathQueryImpl(Optional<GraknGraph> graph) |
| Modifier and Type | Method and Description |
|---|---|
Optional<List<Concept>> |
execute()
Execute the query.
|
PathQuery |
from(String sourceId) |
PathQuery |
in(Collection<String> subTypeNames) |
PathQuery |
in(String... subTypeNames) |
boolean |
isReadOnly()
Whether this query will modify the graph
|
PathQuery |
to(String destinationId) |
PathQuery |
withGraph(GraknGraph graph) |
resultsString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitresultsStringpublic PathQueryImpl(Optional<GraknGraph> graph)
public Optional<List<Concept>> execute()
PathQuerypublic boolean isReadOnly()
QueryisReadOnly in interface Query<Optional<List<Concept>>>public PathQuery in(Collection<String> subTypeNames)
in in interface PathQueryin in interface ComputeQuery<Optional<List<Concept>>>in in class AbstractComputeQuery<Optional<List<Concept>>>subTypeNames - a collection of types to include in the subgraphpublic PathQuery withGraph(GraknGraph graph)
withGraph in interface PathQuerywithGraph in interface ComputeQuery<Optional<List<Concept>>>withGraph in interface Query<Optional<List<Concept>>>withGraph in class AbstractComputeQuery<Optional<List<Concept>>>graph - the graph to execute the compute query onCopyright © 2016 Grakn Labs Ltd. All rights reserved.