public abstract class OutIsaFragment extends Fragment
varPropertySHARD_LOAD_FACTOR| Constructor and Description |
|---|
OutIsaFragment() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal<org.apache.tinkerpop.gremlin.structure.Vertex,? extends org.apache.tinkerpop.gremlin.structure.Element> |
applyTraversalInner(org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal<org.apache.tinkerpop.gremlin.structure.Vertex,? extends org.apache.tinkerpop.gremlin.structure.Element> traversal,
GraknTx graph,
Collection<Var> vars) |
boolean |
canOperateOnEdges()
Indicates whether the fragment can be used on an
Edge as well as
a Vertex. |
Set<Weighted<DirectedEdge<Node>>> |
directedEdges(Map<NodeId,Node> nodes,
Map<Node,Map<Node,Fragment>> edges)
Convert the fragment to a set of weighted edges for query planning
|
abstract Var |
end() |
double |
internalFragmentCost() |
String |
name()
The name of the fragment
|
applyTraversal, dependencies, fragmentCost, getInverse, getShardCount, hasFixedFragmentCost, isStartingFragment, setAccurateFragmentCost, start, toString, transform, varProperty, varspublic abstract Var end()
public org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal<org.apache.tinkerpop.gremlin.structure.Vertex,? extends org.apache.tinkerpop.gremlin.structure.Element> applyTraversalInner(org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal<org.apache.tinkerpop.gremlin.structure.Vertex,? extends org.apache.tinkerpop.gremlin.structure.Element> traversal,
GraknTx graph,
Collection<Var> vars)
traversal - the traversal to extend with this Fragmentgraph - the graph to execute the traversal onpublic double internalFragmentCost()
internalFragmentCost in class Fragmentpublic Set<Weighted<DirectedEdge<Node>>> directedEdges(Map<NodeId,Node> nodes, Map<Node,Map<Node,Fragment>> edges)
FragmentdirectedEdges in class Fragmentnodes - all nodes in the queryedges - a mapping from edge(child, parent) to its corresponding fragmentpublic boolean canOperateOnEdges()
FragmentEdge as well as
a Vertex.canOperateOnEdges in class FragmentCopyright © 2018 Grakn Labs Ltd. All rights reserved.