Modifier and Type | Method and Description |
---|---|
Vertex |
AbstractGremlinTest.convertToVertex(Graph graph,
String vertexName) |
Vertex |
AbstractGremlinTest.convertToVertex(String vertexName) |
Modifier and Type | Method and Description |
---|---|
GraphTraversal<Vertex,VertexProperty<Object>> |
AbstractGremlinTest.convertToVertexProperty(Graph graph,
String vertexName,
String vertexPropertyKey) |
GraphTraversal<Vertex,Object> |
AbstractGremlinTest.convertToVertexPropertyId(Graph graph,
String vertexName,
String vertexPropertyKey) |
GraphTraversal<Vertex,Object> |
AbstractGremlinTest.convertToVertexPropertyId(String vertexName,
String vertexPropertyKey) |
Modifier and Type | Method and Description |
---|---|
static void |
TestHelper.validateVertexEquality(Vertex originalVertex,
Vertex otherVertex,
boolean testEdges) |
Modifier and Type | Field and Description |
---|---|
protected Optional<BiConsumer<Vertex,Map<String,Object>>> |
AbstractGenerator.AbstractGeneratorBuilder.vertexProcessor |
Modifier and Type | Method and Description |
---|---|
protected Vertex |
AbstractGenerator.processVertex(Vertex vertex,
Map<String,Object> context) |
Modifier and Type | Method and Description |
---|---|
protected Iterable<Vertex> |
DistributionGeneratorTest.DifferentDistributionsTest.verticesByOid(Graph graph) |
protected Iterable<Vertex> |
CommunityGeneratorTest.DifferentDistributionsTest.verticesByOid(Graph graph) |
Modifier and Type | Method and Description |
---|---|
protected Edge |
AbstractGenerator.addEdge(Vertex out,
Vertex in) |
protected Vertex |
AbstractGenerator.processVertex(Vertex vertex,
Map<String,Object> context) |
Modifier and Type | Method and Description |
---|---|
DistributionGenerator.Builder |
DistributionGenerator.Builder.inVertices(Iterable<Vertex> vertices) |
DistributionGenerator.Builder |
DistributionGenerator.Builder.outVertices(Iterable<Vertex> vertices) |
T |
AbstractGenerator.AbstractGeneratorBuilder.vertexProcessor(BiConsumer<Vertex,Map<String,Object>> vertexProcessor)
The function supplied here may be called more than once per vertex depending on the implementation.
|
CommunityGenerator.Builder |
CommunityGenerator.Builder.verticesToGenerateEdgesFor(Iterable<Vertex> vertices) |
Modifier and Type | Method and Description |
---|---|
Vertex |
Result.getVertex()
Gets the result item by casting it to a
Vertex . |
Modifier and Type | Method and Description |
---|---|
CredentialTraversal<Vertex,Vertex> |
CredentialTraversalSource.addV() |
CredentialTraversal<Vertex,Vertex> |
CredentialTraversalSource.addV() |
default CredentialTraversal<S,Vertex> |
CredentialTraversal.addV() |
static <A> CredentialTraversal<A,Vertex> |
__.addV() |
CredentialTraversal<Vertex,Vertex> |
CredentialTraversalSource.addV(String label) |
CredentialTraversal<Vertex,Vertex> |
CredentialTraversalSource.addV(String label) |
default CredentialTraversal<S,Vertex> |
CredentialTraversal.addV(String vertexLabel) |
static <A> CredentialTraversal<A,Vertex> |
__.addV(String vertexLabel) |
CredentialTraversal<Vertex,Vertex> |
CredentialTraversalSource.addV(Traversal vertexLabelTraversal) |
CredentialTraversal<Vertex,Vertex> |
CredentialTraversalSource.addV(Traversal vertexLabelTraversal) |
default CredentialTraversal<S,Vertex> |
CredentialTraversal.addV(Traversal<?,String> vertexLabelTraversal) |
static <A> CredentialTraversal<A,Vertex> |
__.addV(Traversal<?,String> vertexLabelTraversal) |
static CredentialTraversal<Vertex,Vertex> |
__.both(String... edgeLabels) |
static CredentialTraversal<Vertex,Vertex> |
__.both(String... edgeLabels) |
default CredentialTraversal<S,Vertex> |
CredentialTraversal.both(String... edgeLabels) |
static CredentialTraversal<Vertex,Edge> |
__.bothE(String... edgeLabels) |
static CredentialTraversal<Edge,Vertex> |
__.bothV() |
default CredentialTraversal<S,Vertex> |
CredentialTraversal.bothV() |
static CredentialTraversal<Vertex,Vertex> |
__.in(String... edgeLabels) |
static CredentialTraversal<Vertex,Vertex> |
__.in(String... edgeLabels) |
default CredentialTraversal<S,Vertex> |
CredentialTraversal.in(String... edgeLabels) |
static CredentialTraversal<Vertex,Edge> |
__.inE(String... edgeLabels) |
static CredentialTraversal<Edge,Vertex> |
__.inV() |
default CredentialTraversal<S,Vertex> |
CredentialTraversal.inV() |
default CredentialTraversal<S,Vertex> |
CredentialTraversal.mergeV() |
static <A> CredentialTraversal<A,Vertex> |
__.mergeV() |
default CredentialTraversal<S,Vertex> |
CredentialTraversal.mergeV(Map<Object,Object> searchCreate) |
static <A> CredentialTraversal<A,Vertex> |
__.mergeV(Map<Object,Object> searchCreate) |
default CredentialTraversal<S,Vertex> |
CredentialTraversal.mergeV(Traversal<?,Map<Object,Object>> searchCreate) |
static <A> CredentialTraversal<A,Vertex> |
__.mergeV(Traversal<?,Map<Object,Object>> searchCreate) |
static CredentialTraversal<Edge,Vertex> |
__.otherV() |
default CredentialTraversal<S,Vertex> |
CredentialTraversal.otherV() |
static CredentialTraversal<Vertex,Vertex> |
__.out(String... edgeLabels) |
static CredentialTraversal<Vertex,Vertex> |
__.out(String... edgeLabels) |
default CredentialTraversal<S,Vertex> |
CredentialTraversal.out(String... edgeLabels) |
static CredentialTraversal<Vertex,Edge> |
__.outE(String... edgeLabels) |
static CredentialTraversal<Edge,Vertex> |
__.outV() |
default CredentialTraversal<S,Vertex> |
CredentialTraversal.outV() |
static CredentialTraversal<Vertex,Vertex> |
__.to(Direction direction,
String... edgeLabels) |
static CredentialTraversal<Vertex,Vertex> |
__.to(Direction direction,
String... edgeLabels) |
default CredentialTraversal<S,Vertex> |
CredentialTraversal.to(Direction direction,
String... edgeLabels) |
static CredentialTraversal<Vertex,Edge> |
__.toE(Direction direction,
String... edgeLabels) |
static CredentialTraversal<Edge,Vertex> |
__.toV(Direction direction) |
default CredentialTraversal<S,Vertex> |
CredentialTraversal.toV(Direction direction) |
GraphTraversal<Vertex,Vertex> |
CredentialTraversalSourceDsl.user(String username,
String password)
Creates or updates a user.
|
GraphTraversal<Vertex,Vertex> |
CredentialTraversalSourceDsl.user(String username,
String password)
Creates or updates a user.
|
default GraphTraversal<S,Vertex> |
CredentialTraversalDsl.user(String username,
String password)
Creates or updates a user.
|
CredentialTraversal<Vertex,Vertex> |
CredentialTraversalSource.user(String username,
String password) |
CredentialTraversal<Vertex,Vertex> |
CredentialTraversalSource.user(String username,
String password) |
default CredentialTraversal<S,Vertex> |
CredentialTraversal.user(String username,
String password) |
static <S> CredentialTraversal<S,Vertex> |
__.user(String username,
String password) |
GraphTraversal<Vertex,Vertex> |
CredentialTraversalSourceDsl.users()
Finds all users.
|
GraphTraversal<Vertex,Vertex> |
CredentialTraversalSourceDsl.users()
Finds all users.
|
default GraphTraversal<S,Vertex> |
CredentialTraversalDsl.users()
Finds all users.
|
CredentialTraversal<Vertex,Vertex> |
CredentialTraversalSource.users() |
CredentialTraversal<Vertex,Vertex> |
CredentialTraversalSource.users() |
default CredentialTraversal<S,Vertex> |
CredentialTraversal.users() |
static <S> CredentialTraversal<S,Vertex> |
__.users() |
GraphTraversal<Vertex,Vertex> |
CredentialTraversalSourceDsl.users(String username,
String... more)
Finds users by name.
|
GraphTraversal<Vertex,Vertex> |
CredentialTraversalSourceDsl.users(String username,
String... more)
Finds users by name.
|
default GraphTraversal<S,Vertex> |
CredentialTraversalDsl.users(String username,
String... more)
Finds users by name.
|
CredentialTraversal<Vertex,Vertex> |
CredentialTraversalSource.users(String username,
String... more) |
CredentialTraversal<Vertex,Vertex> |
CredentialTraversalSource.users(String username,
String... more) |
default CredentialTraversal<S,Vertex> |
CredentialTraversal.users(String username,
String... more) |
static <S> CredentialTraversal<S,Vertex> |
__.users(String username,
String... more) |
CredentialTraversal<Vertex,Vertex> |
CredentialTraversalSource.V(Object... vertexIds) |
CredentialTraversal<Vertex,Vertex> |
CredentialTraversalSource.V(Object... vertexIds) |
default CredentialTraversal<S,Vertex> |
CredentialTraversal.V(Object... vertexIdsOrElements) |
static <A> CredentialTraversal<A,Vertex> |
__.V(Object... vertexIdsOrElements) |
Modifier and Type | Method and Description |
---|---|
default CredentialTraversal<S,E> |
CredentialTraversal.from(Vertex fromVertex) |
default CredentialTraversal<S,E> |
CredentialTraversal.to(Vertex toVertex) |
Modifier and Type | Method and Description |
---|---|
default CredentialTraversal<S,E> |
CredentialTraversal.from(Traversal<?,Vertex> fromVertex) |
default CredentialTraversal<S,E> |
CredentialTraversal.to(Traversal<?,Vertex> toVertex) |
Modifier and Type | Method and Description |
---|---|
static Object |
SugarLoader.VertexCategory.get(Vertex vertex,
String key) |
static Object |
SugarLoader.VertexCategory.putAt(Vertex vertex,
String key,
Object value) |
static Object |
SugarLoader.VertexCategory.set(Vertex vertex,
String key,
Object value) |
Modifier and Type | Method and Description |
---|---|
Vertex |
StructureElementVisitor.visitStructureVertex(GremlinParser.StructureVertexContext ctx) |
Modifier and Type | Field and Description |
---|---|
Supplier<? extends Traversal<Vertex,Edge>> |
MessageScope.Local.incidentTraversal |
Modifier and Type | Method and Description |
---|---|
Traversal<Vertex,Edge> |
MessageScope.Local.ReverseTraversalSupplier.get() |
Traversal.Admin<Vertex,Edge> |
GraphFilter.getEdgeFilter()
Get the edge filter associated with this graph filter.
|
Traversal<Vertex,Edge> |
Computer.getEdges() |
Supplier<? extends Traversal<Vertex,Edge>> |
MessageScope.Local.getIncidentTraversal() |
Traversal.Admin<Vertex,Vertex> |
GraphFilter.getVertexFilter()
Get the vertex filter associated with this graph filter.
|
Traversal.Admin<Vertex,Vertex> |
GraphFilter.getVertexFilter()
Get the vertex filter associated with this graph filter.
|
Traversal<Vertex,Vertex> |
Computer.getVertices() |
Traversal<Vertex,Vertex> |
Computer.getVertices() |
Iterable<Vertex> |
MessageScope.Global.vertices() |
Modifier and Type | Method and Description |
---|---|
void |
GraphComputerTest.MultiScopeVertexProgram.execute(Vertex vertex,
Messenger<Long> messenger,
Memory memory) |
void |
GraphComputerTest.MultiScopeVertexWithEdgeFunctionProgram.execute(Vertex vertex,
Messenger<Long> messenger,
Memory memory) |
void |
VertexProgram.execute(Vertex vertex,
Messenger<M> messenger,
Memory memory)
This method denotes the main body of the computation and is executed on each vertex in the graph.
|
void |
GraphComputerTest.VertexProgramF.execute(Vertex vertex,
Messenger<Object> messenger,
Memory memory) |
void |
GraphComputerTest.VertexProgramB.execute(Vertex vertex,
Messenger messenger,
Memory memory) |
void |
GraphComputerTest.VertexProgramC.execute(Vertex vertex,
Messenger messenger,
Memory memory) |
void |
GraphComputerTest.VertexProgramD.execute(Vertex vertex,
Messenger messenger,
Memory memory) |
void |
GraphComputerTest.VertexProgramE.execute(Vertex vertex,
Messenger messenger,
Memory memory) |
void |
GraphComputerTest.VertexProgramA.execute(Vertex vertex,
Messenger messenger,
Memory memory) |
void |
GraphComputerTest.VertexProgramG.execute(Vertex vertex,
Messenger messenger,
Memory memory) |
void |
GraphComputerTest.VertexProgramH.execute(Vertex vertex,
Messenger messenger,
Memory memory) |
void |
GraphComputerTest.VertexProgramI.execute(Vertex vertex,
Messenger messenger,
Memory memory) |
void |
GraphComputerTest.VertexProgramJ.execute(Vertex vertex,
Messenger messenger,
Memory memory) |
void |
GraphComputerTest.VertexProgramK.execute(Vertex vertex,
Messenger messenger,
Memory memory) |
void |
GraphComputerTest.VertexProgramL.execute(Vertex vertex,
Messenger messenger,
Memory memory) |
void |
GraphComputerTest.VertexProgramM.execute(Vertex vertex,
Messenger messenger,
Memory memory) |
Iterator<Edge> |
GraphFilter.legalEdges(Vertex vertex)
Returns an iterator of legal edges incident to the provided vertex.
|
boolean |
GraphFilter.legalVertex(Vertex vertex)
Returns true if the provided vertex meets the vertex-filter criteria.
|
void |
GraphComputerTest.MapReduceK.map(Vertex vertex,
MapReduce.MapEmitter emitter) |
void |
GraphComputerTest.MapReduceB.map(Vertex vertex,
MapReduce.MapEmitter<Integer,Integer> emitter) |
void |
GraphComputerTest.MapReduceBB.map(Vertex vertex,
MapReduce.MapEmitter<Integer,Integer> emitter) |
void |
GraphComputerTest.MapReduceC.map(Vertex vertex,
MapReduce.MapEmitter<MapReduce.NullObject,MapReduce.NullObject> emitter) |
void |
MapReduce.map(Vertex vertex,
MapReduce.MapEmitter<MK,MV> emitter)
The map() method is logically executed at all vertices in the graph in parallel.
|
static MessageScope.Global |
MessageScope.Global.of(Vertex... vertices) |
Modifier and Type | Method and Description |
---|---|
static IllegalArgumentException |
GraphComputer.Exceptions.edgeFilterAccessesAdjacentVertices(Traversal<Vertex,Edge> edgeFilter) |
GraphComputer |
GraphComputer.edges(Traversal<Vertex,Edge> edgeFilter)
Add a filter that will limit which edges of the vertices are loaded from the graph source.
|
Computer |
Computer.edges(Traversal<Vertex,Edge> edgeFilter) |
GraphComputer |
GraphComputerTest.BadGraphComputer.edges(Traversal<Vertex,Edge> edgeFilter) |
static MessageScope.Global |
MessageScope.Global.of(Iterable<Vertex> vertices) |
static <M> MessageScope.Local<M> |
MessageScope.Local.of(Supplier<? extends Traversal<Vertex,Edge>> incidentTraversal) |
static <M> MessageScope.Local<M> |
MessageScope.Local.of(Supplier<? extends Traversal<Vertex,Edge>> incidentTraversal,
BiFunction<M,Edge,M> edgeFunction) |
void |
GraphFilter.setEdgeFilter(Traversal<Vertex,Edge> edgeFilter)
Set the filter for selecting edges from the source graph.
|
void |
GraphFilter.setVertexFilter(Traversal<Vertex,Vertex> vertexFilter)
Set the filter for selecting vertices from the source graph.
|
void |
GraphFilter.setVertexFilter(Traversal<Vertex,Vertex> vertexFilter)
Set the filter for selecting vertices from the source graph.
|
static IllegalArgumentException |
GraphComputer.Exceptions.vertexFilterAccessesIncidentEdges(Traversal<Vertex,Vertex> vertexFilter) |
static IllegalArgumentException |
GraphComputer.Exceptions.vertexFilterAccessesIncidentEdges(Traversal<Vertex,Vertex> vertexFilter) |
GraphComputer |
GraphComputer.vertices(Traversal<Vertex,Vertex> vertexFilter)
Add a filter that will limit which vertices are loaded from the graph source.
|
GraphComputer |
GraphComputer.vertices(Traversal<Vertex,Vertex> vertexFilter)
Add a filter that will limit which vertices are loaded from the graph source.
|
Computer |
Computer.vertices(Traversal<Vertex,Vertex> vertexFilter) |
Computer |
Computer.vertices(Traversal<Vertex,Vertex> vertexFilter) |
GraphComputer |
GraphComputerTest.BadGraphComputer.vertices(Traversal<Vertex,Vertex> vertexFilter) |
GraphComputer |
GraphComputerTest.BadGraphComputer.vertices(Traversal<Vertex,Vertex> vertexFilter) |
Modifier and Type | Method and Description |
---|---|
void |
CloneVertexProgram.execute(Vertex sourceVertex,
Messenger<org.javatuples.Tuple> messenger,
Memory memory) |
Modifier and Type | Method and Description |
---|---|
void |
ConnectedComponentVertexProgram.execute(Vertex vertex,
Messenger<String> messenger,
Memory memory) |
Modifier and Type | Method and Description |
---|---|
ConnectedComponentVertexProgram.Builder |
ConnectedComponentVertexProgram.Builder.edges(Traversal.Admin<Vertex,Edge> edgeTraversal) |
Modifier and Type | Method and Description |
---|---|
void |
PeerPressureVertexProgram.execute(Vertex vertex,
Messenger<org.javatuples.Pair<Serializable,Double>> messenger,
Memory memory) |
void |
ClusterCountMapReduce.map(Vertex vertex,
MapReduce.MapEmitter<MapReduce.NullObject,Serializable> emitter) |
void |
ClusterPopulationMapReduce.map(Vertex vertex,
MapReduce.MapEmitter<Serializable,Long> emitter) |
Modifier and Type | Method and Description |
---|---|
PeerPressureVertexProgram.Builder |
PeerPressureVertexProgram.Builder.edges(Traversal.Admin<Vertex,Edge> edgeTraversal) |
PeerPressureVertexProgram.Builder |
PeerPressureVertexProgram.Builder.initialVoteStrength(Traversal.Admin<Vertex,? extends Number> initialVoteStrengthTraversal) |
Modifier and Type | Method and Description |
---|---|
void |
PageRankVertexProgram.execute(Vertex vertex,
Messenger<Double> messenger,
Memory memory) |
void |
PageRankMapReduce.map(Vertex vertex,
MapReduce.MapEmitter<Object,Double> emitter) |
Modifier and Type | Method and Description |
---|---|
PageRankVertexProgram.Builder |
PageRankVertexProgram.Builder.edges(Traversal.Admin<Vertex,Edge> edgeTraversal) |
PageRankVertexProgram.Builder |
PageRankVertexProgram.Builder.initialRank(Traversal.Admin<Vertex,? extends Number> initialRankTraversal) |
Modifier and Type | Field and Description |
---|---|
static PureTraversal<Vertex,Edge> |
ShortestPathVertexProgram.DEFAULT_EDGE_TRAVERSAL |
static PureTraversal<Vertex,?> |
ShortestPathVertexProgram.DEFAULT_VERTEX_FILTER_TRAVERSAL |
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 |
---|---|
ShortestPathVertexProgram.Builder |
ShortestPathVertexProgram.Builder.edgeTraversal(Traversal<Vertex,Edge> edgeTraversal) |
ShortestPathVertexProgram.Builder |
ShortestPathVertexProgram.Builder.source(Traversal<Vertex,?> sourceVertexFilter) |
ShortestPathVertexProgram.Builder |
ShortestPathVertexProgram.Builder.target(Traversal<Vertex,?> targetVertexFilter) |
Modifier and Type | Method and Description |
---|---|
void |
TraversalVertexProgram.execute(Vertex vertex,
Messenger<TraverserSet<Object>> messenger,
Memory memory) |
Modifier and Type | Method and Description |
---|---|
void |
HaltedTraversersCountTraversal.addStart(Traverser.Admin<Vertex> start) |
Modifier and Type | Method and Description |
---|---|
List<Traversal.Admin<Vertex,Edge>> |
PageRankVertexProgramStep.getLocalChildren() |
List<Traversal.Admin<Vertex,Edge>> |
PeerPressureVertexProgramStep.getLocalChildren() |
Modifier and Type | Method and Description |
---|---|
VertexProgramStrategy.Builder |
VertexProgramStrategy.Builder.edges(Traversal<Vertex,Edge> edges) |
VertexProgramStrategy.Builder |
VertexProgramStrategy.Builder.vertices(Traversal<Vertex,Vertex> vertices) |
VertexProgramStrategy.Builder |
VertexProgramStrategy.Builder.vertices(Traversal<Vertex,Vertex> vertices) |
Modifier and Type | Method and Description |
---|---|
protected static Traversal.Admin<Vertex,Edge> |
GraphFilterStrategy.getEdgeFilter(Traversal.Admin<?,?> traversal) |
Modifier and Type | Class and Description |
---|---|
class |
ComputerGraph.ComputerAdjacentVertex |
class |
ComputerGraph.ComputerVertex |
Modifier and Type | Method and Description |
---|---|
Vertex |
ComputerGraph.addVertex(Object... keyValues) |
Vertex |
ComputerGraph.ComputerVertexProperty.element() |
Vertex |
ComputerGraph.ComputerVertex.getBaseVertex() |
Vertex |
ComputerGraph.ComputerAdjacentVertex.getBaseVertex() |
Vertex |
ComputerGraph.ComputerEdge.inVertex() |
Vertex |
ComputerGraph.ComputerEdge.outVertex() |
Modifier and Type | Method and Description |
---|---|
Iterator<Vertex> |
ComputerGraph.ComputerEdge.vertices(Direction direction) |
Iterator<Vertex> |
ComputerGraph.ComputerVertex.vertices(Direction direction,
String... edgeLabels) |
Iterator<Vertex> |
ComputerGraph.ComputerAdjacentVertex.vertices(Direction direction,
String... edgeLabels) |
Iterator<Vertex> |
ComputerGraph.vertices(Object... vertexIds) |
Modifier and Type | Method and Description |
---|---|
Edge |
ComputerGraph.ComputerVertex.addEdge(String label,
Vertex inVertex,
Object... keyValues) |
Edge |
ComputerGraph.ComputerAdjacentVertex.addEdge(String label,
Vertex inVertex,
Object... keyValues) |
static ComputerGraph.ComputerVertex |
ComputerGraph.mapReduce(Vertex starVertex) |
static ComputerGraph.ComputerVertex |
ComputerGraph.vertexProgram(Vertex starVertex,
VertexProgram vertexProgram) |
Constructor and Description |
---|
ComputerAdjacentVertex(Vertex adjacentVertex) |
ComputerVertex(Vertex vertex) |
Modifier and Type | Method and Description |
---|---|
protected abstract Script |
Translator.ScriptTranslator.AbstractTypeTranslator.produceScript(Vertex o)
Take the
Vertex and writes the syntax directly to the member Translator.ScriptTranslator.AbstractTypeTranslator.script variable. |
Modifier and Type | Method and Description |
---|---|
default GraphTraversal<S,Vertex> |
GraphTraversal.addV()
Adds a
Vertex with a default vertex label. |
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.addV()
Spawns a
GraphTraversal by adding a vertex with the default label. |
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.addV()
Spawns a
GraphTraversal by adding a vertex with the default label. |
static <A> GraphTraversal<A,Vertex> |
__.addV() |
default GraphTraversal<S,Vertex> |
GraphTraversal.addV(String vertexLabel)
Adds a
Vertex . |
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.addV(String vertexLabel)
Spawns a
GraphTraversal by adding a vertex with the specified label. |
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.addV(String vertexLabel)
Spawns a
GraphTraversal by adding a vertex with the specified label. |
static <A> GraphTraversal<A,Vertex> |
__.addV(String vertexLabel) |
default GraphTraversal<S,Vertex> |
GraphTraversal.addV(Traversal<?,String> vertexLabelTraversal)
|
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.addV(Traversal<?,String> vertexLabelTraversal)
Spawns a
GraphTraversal by adding a vertex with the label as determined by a Traversal . |
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.addV(Traversal<?,String> vertexLabelTraversal)
Spawns a
GraphTraversal by adding a vertex with the label as determined by a Traversal . |
static <A> GraphTraversal<A,Vertex> |
__.addV(Traversal<?,String> vertexLabelTraversal) |
static GraphTraversal<Vertex,Vertex> |
__.both(String... edgeLabels) |
static GraphTraversal<Vertex,Vertex> |
__.both(String... edgeLabels) |
default GraphTraversal<S,Vertex> |
GraphTraversal.both(String... edgeLabels)
Map the
Vertex to its adjacent vertices given the edge labels. |
static GraphTraversal<Vertex,Edge> |
__.bothE(String... edgeLabels) |
static GraphTraversal<Edge,Vertex> |
__.bothV() |
default GraphTraversal<S,Vertex> |
GraphTraversal.bothV()
Map the
Edge to its incident vertices. |
static GraphTraversal<Vertex,Vertex> |
__.in(String... edgeLabels) |
static GraphTraversal<Vertex,Vertex> |
__.in(String... edgeLabels) |
default GraphTraversal<S,Vertex> |
GraphTraversal.in(String... edgeLabels)
Map the
Vertex to its incoming adjacent vertices given the edge labels. |
static GraphTraversal<Vertex,Edge> |
__.inE(String... edgeLabels) |
static GraphTraversal<Edge,Vertex> |
__.inV() |
default GraphTraversal<S,Vertex> |
GraphTraversal.inV()
|
default GraphTraversal<S,Vertex> |
GraphTraversal.mergeV()
Performs a merge (i.e.
|
static <A> GraphTraversal<A,Vertex> |
__.mergeV() |
default GraphTraversal<S,Vertex> |
GraphTraversal.mergeV(Map<Object,Object> searchCreate)
Performs a merge (i.e.
|
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.mergeV(Map<Object,Object> searchCreate)
Spawns a
GraphTraversal by doing a merge (i.e. |
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.mergeV(Map<Object,Object> searchCreate)
Spawns a
GraphTraversal by doing a merge (i.e. |
static <A> GraphTraversal<A,Vertex> |
__.mergeV(Map<Object,Object> searchCreate) |
default GraphTraversal<S,Vertex> |
GraphTraversal.mergeV(Traversal<?,Map<Object,Object>> searchCreate)
Performs a merge (i.e.
|
static <A> GraphTraversal<A,Vertex> |
__.mergeV(Traversal<?,Map<Object,Object>> searchCreate) |
<S> GraphTraversal<S,Vertex> |
GraphTraversalSource.mergeV(Traversal<?,Map<Object,Object>> searchCreate)
Spawns a
GraphTraversal by doing a merge (i.e. |
static GraphTraversal<Edge,Vertex> |
__.otherV() |
default GraphTraversal<S,Vertex> |
GraphTraversal.otherV()
Map the
Edge to the incident vertex that was not just traversed from in the path history. |
static GraphTraversal<Vertex,Vertex> |
__.out(String... edgeLabels) |
static GraphTraversal<Vertex,Vertex> |
__.out(String... edgeLabels) |
default GraphTraversal<S,Vertex> |
GraphTraversal.out(String... edgeLabels)
Map the
Vertex to its outgoing adjacent vertices given the edge labels. |
static GraphTraversal<Vertex,Edge> |
__.outE(String... edgeLabels) |
static GraphTraversal<Edge,Vertex> |
__.outV() |
default GraphTraversal<S,Vertex> |
GraphTraversal.outV()
|
static GraphTraversal<Vertex,Vertex> |
__.to(Direction direction,
String... edgeLabels) |
static GraphTraversal<Vertex,Vertex> |
__.to(Direction direction,
String... edgeLabels) |
default GraphTraversal<S,Vertex> |
GraphTraversal.to(Direction direction,
String... edgeLabels)
Map the
Vertex to its adjacent vertices given a direction and edge labels. |
static GraphTraversal<Vertex,Edge> |
__.toE(Direction direction,
String... edgeLabels) |
static GraphTraversal<Edge,Vertex> |
__.toV(Direction direction) |
default GraphTraversal<S,Vertex> |
GraphTraversal.toV(Direction direction)
Map the
Edge to its incident vertices given the direction. |
default GraphTraversal<S,Vertex> |
GraphTraversal.V(Object... vertexIdsOrElements)
A
V step is usually used to start a traversal but it may also be used mid-traversal. |
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.V(Object... vertexIds)
Spawns a
GraphTraversal starting with all vertices or some subset of vertices as specified by their
unique identifier. |
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.V(Object... vertexIds)
Spawns a
GraphTraversal starting with all vertices or some subset of vertices as specified by their
unique identifier. |
static <A> GraphTraversal<A,Vertex> |
__.V(Object... vertexIdsOrElements) |
Modifier and Type | Method and Description |
---|---|
default GraphTraversal<S,E> |
GraphTraversal.from(Vertex fromVertex)
When used as a modifier to
GraphTraversal.addE(String) this method specifies the traversal to use for selecting the
outgoing vertex of the newly added Edge . |
default GraphTraversal<S,E> |
GraphTraversal.to(Vertex toVertex)
When used as a modifier to
GraphTraversal.addE(String) this method specifies the traversal to use for selecting the
incoming vertex of the newly added Edge . |
Modifier and Type | Method and Description |
---|---|
default GraphTraversal<S,E> |
GraphTraversal.from(Traversal<?,Vertex> fromVertex)
When used as a modifier to
GraphTraversal.addE(String) this method specifies the traversal to use for selecting the
outgoing vertex of the newly added Edge . |
default GraphTraversal<S,E> |
GraphTraversal.to(Traversal<?,Vertex> toVertex)
When used as a modifier to
GraphTraversal.addE(String) this method specifies the traversal to use for selecting the
incoming vertex of the newly added Edge . |
Modifier and Type | Method and Description |
---|---|
protected void |
HasTest.assert_g_VX1X_out_hasXid_2_3X(Object id2,
Object id3,
Traversal<Vertex,Vertex> traversal) |
protected void |
HasTest.assert_g_VX1X_out_hasXid_2_3X(Object id2,
Object id3,
Traversal<Vertex,Vertex> traversal) |
Modifier and Type | Field and Description |
---|---|
static Vertex |
MergeEdgeStep.PLACEHOLDER_VERTEX |
Modifier and Type | Method and Description |
---|---|
protected Vertex |
EdgeOtherVertexStep.map(Traverser.Admin<Edge> traverser) |
protected Vertex |
AddVertexStep.map(Traverser.Admin<S> traverser) |
protected Vertex |
MergeEdgeStep.resolveVertex(Traverser.Admin<S> traverser,
Map<Object,Object> searchCreate,
Direction direction)
|
protected Vertex |
MergeEdgeStep.tryAttachVertex(Vertex maybeAttachable)
|