Modifier and Type | Method and Description |
---|---|
Path |
Result.getPath()
Gets the result item by casting it to a
Path . |
Modifier and Type | Method and Description |
---|---|
VertexProgram<org.javatuples.Triplet<Path,Edge,Number>> |
ShortestPathVertexProgram.clone() |
Modifier and Type | Method and Description |
---|---|
void |
ShortestPathVertexProgram.execute(Vertex vertex,
Messenger<org.javatuples.Triplet<Path,Edge,Number>> messenger,
Memory memory) |
Modifier and Type | Method and Description |
---|---|
Path |
Path.clone() |
Path |
Path.extend(Object object,
Set<String> labels)
Add a new step to the path with an object and any number of associated labels.
|
Path |
Path.extend(Set<String> labels)
Add labels to the head of the path.
|
Path |
Traverser.path()
Get the current path of the traverser.
|
Path |
Path.retract(Set<String> labels)
Remove labels from path.
|
default Path |
Path.subPath(String fromLabel,
String toLabel)
Isolate a sub-path from the path object.
|
Modifier and Type | Method and Description |
---|---|
default GraphTraversal<S,Path> |
GraphTraversal.path()
|
default GraphTraversal<S,Path> |
GraphTraversal.shortestPath()
Executes a Shortest Path algorithm over the graph.
|
Copyright © 2013–2020 Apache Software Foundation. All rights reserved.