public class GraqlTraversal extends Object
MatchQuery.
Comprised of ordered Fragments which are used to construct a TinkerPop GraphTraversal, which can be
retrieved and executed.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
com.google.common.collect.ImmutableSet<com.google.common.collect.ImmutableList<Fragment>> |
fragments() |
double |
getComplexity()
Get the estimated complexity of the traversal.
|
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal<org.apache.tinkerpop.gremlin.structure.Vertex,Map<String,org.apache.tinkerpop.gremlin.structure.Vertex>> |
getGraphTraversal(GraknGraph graph)
Get the
GraphTraversal that this GraqlTraversal represents. |
int |
hashCode() |
String |
toString() |
public org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal<org.apache.tinkerpop.gremlin.structure.Vertex,Map<String,org.apache.tinkerpop.gremlin.structure.Vertex>> getGraphTraversal(GraknGraph graph)
GraphTraversal that this GraqlTraversal represents.public com.google.common.collect.ImmutableSet<com.google.common.collect.ImmutableList<Fragment>> fragments()
public double getComplexity()
Copyright © 2017 Grakn Labs Ltd. All rights reserved.