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)
|
Modifier and Type | Method and Description |
---|---|
void |
MergeVertexStep.addChildOption(Merge token,
Traversal.Admin<S,Vertex> traversalOption) |
protected Iterator<E> |
VertexStep.flatMap(Traverser.Admin<Vertex> traverser) |
protected Iterator<Vertex> |
ProfileTest.MockStep.flatMap(Traverser.Admin<Vertex> traverser) |
Modifier and Type | Method and Description |
---|---|
void |
ConsoleMutationListener.vertexAdded(Vertex vertex) |
void |
MutationListener.vertexAdded(Vertex vertex)
Raised when a new
Vertex is added. |
void |
ConsoleMutationListener.vertexPropertyChanged(Vertex element,
VertexProperty oldValue,
Object setValue,
Object... vertexPropertyKeyValues) |
void |
MutationListener.vertexPropertyChanged(Vertex element,
VertexProperty oldValue,
Object setValue,
Object... vertexPropertyKeyValues)
Raised after the property of a
Vertex changed. |
void |
ConsoleMutationListener.vertexRemoved(Vertex vertex) |
void |
MutationListener.vertexRemoved(Vertex vertex)
Raised after a
Vertex was removed from the graph. |
Constructor and Description |
---|
VertexAddedEvent(Vertex vertex) |
VertexPropertyChangedEvent(Vertex element,
Property oldValue,
Object newValue,
Object... vertexPropertyKeyValues) |
VertexRemovedEvent(Vertex vertex) |
Modifier and Type | Method and Description |
---|---|
Traversal<Vertex,?> |
SubgraphStrategy.getVertexCriterion() |
Modifier and Type | Method and Description |
---|---|
SubgraphStrategy.Builder |
SubgraphStrategy.Builder.vertices(Traversal<Vertex,?> vertexPredicate)
The traversal predicate that defines the vertices to include in the subgraph.
|
Modifier and Type | Method and Description |
---|---|
protected Script |
PythonTranslator.DefaultTypeTranslator.produceScript(Vertex o) |
protected Script |
GroovyTranslator.DefaultTypeTranslator.produceScript(Vertex o) |
protected Script |
GroovyTranslator.LanguageTypeTranslator.produceScript(Vertex o) |
protected Script |
GolangTranslator.DefaultTypeTranslator.produceScript(Vertex o) |
protected Script |
JavascriptTranslator.DefaultTypeTranslator.produceScript(Vertex o) |
protected Script |
DotNetTranslator.DefaultTypeTranslator.produceScript(Vertex o) |
Modifier and Type | Method and Description |
---|---|
Vertex |
Graph.addVertex(Object... keyValues)
Add a
Vertex to the graph given an optional series of key/value pairs. |
Vertex |
RemoteGraph.addVertex(Object... keyValues) |
default Vertex |
Graph.addVertex(String label)
Add a
Vertex to the graph with provided vertex label. |
Vertex |
VertexProperty.element()
Gets the
Vertex that owns this VertexProperty . |
default Vertex |
Edge.inVertex()
Get the incoming/head vertex of this edge.
|
default Vertex |
Edge.outVertex()
Get the outgoing/tail vertex of this edge.
|
Modifier and Type | Method and Description |
---|---|
default Iterator<Vertex> |
Edge.bothVertices()
Get both the outgoing and incoming vertices of this edge.
|
Iterator<Vertex> |
Edge.vertices(Direction direction)
Retrieve the vertex (or vertices) associated with this edge as defined by the direction.
|
Iterator<Vertex> |
Vertex.vertices(Direction direction,
String... edgeLabels)
Gets an
Iterator of adjacent vertices. |
Iterator<Vertex> |
Graph.vertices(Object... vertexIds)
|
Iterator<Vertex> |
RemoteGraph.vertices(Object... vertexIds)
This method returns an empty
Iterator - it is not meant to be called directly. |
Modifier and Type | Method and Description |
---|---|
Edge |
Vertex.addEdge(String label,
Vertex inVertex,
Object... keyValues)
Add an outgoing edge to the vertex with provided label and edge properties as key/value pairs.
|
Modifier and Type | Method and Description |
---|---|
Vertex |
GraphReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod)
Reads a single vertex from an
InputStream . |
Vertex |
GraphReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
Reads a single vertex from an
InputStream . |
Modifier and Type | Method and Description |
---|---|
default Iterator<Vertex> |
Storage.head(String location,
Class readerClass)
Get the vertices at the specified graph location.
|
Iterator<Vertex> |
Storage.head(String location,
Class readerClass,
int totalLines)
Get the vertices at the specified graph location.
|
default Optional<Vertex> |
GraphReader.readVertex(InputStream inputStream,
GraphFilter graphFilter)
Reads a single vertex from an
InputStream . |
Iterator<Vertex> |
GraphReader.readVertices(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
Reads a set of one or more vertices from an
InputStream which were written by
GraphWriter.writeVertices(OutputStream, Iterator) . |
Modifier and Type | Method and Description |
---|---|
void |
GraphWriter.writeVertex(OutputStream outputStream,
Vertex v)
Write a vertex to a stream without writing its edges.
|
void |
GraphWriter.writeVertex(OutputStream outputStream,
Vertex v,
Direction direction)
Write a vertex to a stream with its associated edges.
|
Modifier and Type | Method and Description |
---|---|
Vertex |
GraphReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod)
Reads a single vertex from an
InputStream . |
Vertex |
GraphReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod)
Reads a single vertex from an
InputStream . |
Vertex |
GraphReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
Reads a single vertex from an
InputStream . |
Vertex |
GraphReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
Reads a single vertex from an
InputStream . |
Iterator<Vertex> |
GraphReader.readVertices(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
Reads a set of one or more vertices from an
InputStream which were written by
GraphWriter.writeVertices(OutputStream, Iterator) . |
Iterator<Vertex> |
GraphReader.readVertices(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
Reads a set of one or more vertices from an
InputStream which were written by
GraphWriter.writeVertices(OutputStream, Iterator) . |
default void |
GraphWriter.writeVertices(OutputStream outputStream,
Iterator<Vertex> vertexIterator)
Write a vertex to a stream without writing its edges.
|
default void |
GraphWriter.writeVertices(OutputStream outputStream,
Iterator<Vertex> vertexIterator,
Direction direction)
Write a list of vertices from a
Traversal to a stream with its associated edges. |
Modifier and Type | Method and Description |
---|---|
protected Vertex |
VertexSerializer.readValue(Buffer buffer,
GraphBinaryReader context) |
Modifier and Type | Method and Description |
---|---|
protected void |
VertexSerializer.writeValue(Vertex value,
Buffer buffer,
GraphBinaryWriter context) |
Modifier and Type | Method and Description |
---|---|
Vertex |
GraphMLReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod)
This method is not supported for this reader.
|
Vertex |
GraphMLReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
This method is not supported for this reader.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Vertex> |
GraphMLReader.readVertices(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
This method is not supported for this reader.
|
Modifier and Type | Method and Description |
---|---|
void |
GraphMLWriter.writeVertex(OutputStream outputStream,
Vertex v)
This method is not supported for this writer.
|
void |
GraphMLWriter.writeVertex(OutputStream outputStream,
Vertex v,
Direction direction)
This method is not supported for this writer.
|
Modifier and Type | Method and Description |
---|---|
Vertex |
GraphMLReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod)
This method is not supported for this reader.
|
Vertex |
GraphMLReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod)
This method is not supported for this reader.
|
Vertex |
GraphMLReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
This method is not supported for this reader.
|
Vertex |
GraphMLReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
This method is not supported for this reader.
|
Iterator<Vertex> |
GraphMLReader.readVertices(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
This method is not supported for this reader.
|
Iterator<Vertex> |
GraphMLReader.readVertices(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
This method is not supported for this reader.
|
void |
GraphMLWriter.writeVertices(OutputStream outputStream,
Iterator<Vertex> vertexIterator)
This method is not supported for this writer.
|
void |
GraphMLWriter.writeVertices(OutputStream outputStream,
Iterator<Vertex> vertexIterator,
Direction direction)
This method is not supported for this writer.
|
Modifier and Type | Method and Description |
---|---|
Vertex |
GraphSONReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod)
Read a
Vertex from output generated by any of the GraphSONWriter writeVertex or
writeVertices methods or by GraphSONWriter.writeGraph(OutputStream, Graph) . |
Vertex |
LegacyGraphSONReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod)
This method is not supported for this reader.
|
Vertex |
GraphSONReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
Read a
Vertex from output generated by any of the GraphSONWriter writeVertex or
writeVertices methods or by GraphSONWriter.writeGraph(OutputStream, Graph) . |
Vertex |
LegacyGraphSONReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
This method is not supported for this reader.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Vertex> |
GraphSONReader.readVertices(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
Read
Vertex objects from output generated by any of the GraphSONWriter writeVertex or
writeVertices methods or by GraphSONWriter.writeGraph(OutputStream, Graph) . |
Iterator<Vertex> |
LegacyGraphSONReader.readVertices(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
This method is not supported for this reader.
|
Modifier and Type | Method and Description |
---|---|
void |
GraphSONWriter.writeVertex(OutputStream outputStream,
Vertex v)
Writes a single
Vertex with no edges serialized. |
void |
GraphSONWriter.writeVertex(OutputStream outputStream,
Vertex v,
Direction direction)
Writes a single
Vertex to stream where edges only from the specified direction are written. |
Modifier and Type | Method and Description |
---|---|
Vertex |
GraphSONReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod)
Read a
Vertex from output generated by any of the GraphSONWriter writeVertex or
writeVertices methods or by GraphSONWriter.writeGraph(OutputStream, Graph) . |
Vertex |
GraphSONReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod)
Read a
Vertex from output generated by any of the GraphSONWriter writeVertex or
writeVertices methods or by GraphSONWriter.writeGraph(OutputStream, Graph) . |
Vertex |
LegacyGraphSONReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod)
This method is not supported for this reader.
|
Vertex |
LegacyGraphSONReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod)
This method is not supported for this reader.
|
Vertex |
GraphSONReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
Read a
Vertex from output generated by any of the GraphSONWriter writeVertex or
writeVertices methods or by GraphSONWriter.writeGraph(OutputStream, Graph) . |
Vertex |
GraphSONReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
Read a
Vertex from output generated by any of the GraphSONWriter writeVertex or
writeVertices methods or by GraphSONWriter.writeGraph(OutputStream, Graph) . |
Vertex |
LegacyGraphSONReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
This method is not supported for this reader.
|
Vertex |
LegacyGraphSONReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
This method is not supported for this reader.
|
Iterator<Vertex> |
GraphSONReader.readVertices(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
Read
Vertex objects from output generated by any of the GraphSONWriter writeVertex or
writeVertices methods or by GraphSONWriter.writeGraph(OutputStream, Graph) . |
Iterator<Vertex> |
GraphSONReader.readVertices(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
Read
Vertex objects from output generated by any of the GraphSONWriter writeVertex or
writeVertices methods or by GraphSONWriter.writeGraph(OutputStream, Graph) . |
Iterator<Vertex> |
LegacyGraphSONReader.readVertices(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
This method is not supported for this reader.
|
Iterator<Vertex> |
LegacyGraphSONReader.readVertices(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
This method is not supported for this reader.
|
void |
GraphSONWriter.writeVertices(OutputStream outputStream,
Iterator<Vertex> vertexIterator)
Writes a list of vertices without edges.
|
void |
GraphSONWriter.writeVertices(OutputStream outputStream,
Iterator<Vertex> vertexIterator,
Direction direction)
Writes a list of vertices in adjacency list format where vertices are written with edges from both
directions.
|
Modifier and Type | Method and Description |
---|---|
<I extends InputShim> |
GryoSerializersV3d0.VertexSerializer.read(KryoShim<I,?> kryo,
I input,
Class<Vertex> vertexClass) |
<I extends InputShim> |
GryoSerializersV1d0.VertexSerializer.read(KryoShim<I,?> kryo,
I input,
Class<Vertex> vertexClass) |
Vertex |
GryoReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod)
Read a
Vertex from output generated by any of the GryoWriter writeVertex or
writeVertices methods or by GryoWriter.writeGraph(OutputStream, Graph) . |
Vertex |
GryoReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
Read a
Vertex from output generated by any of the GryoWriter writeVertex or
writeVertices methods or by GryoWriter.writeGraph(OutputStream, Graph) . |
Modifier and Type | Method and Description |
---|---|
Optional<Vertex> |
GryoReader.readVertex(InputStream inputStream,
GraphFilter graphFilter) |
Iterator<Vertex> |
GryoReader.readVertices(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
Read
Vertex objects from output generated by any of the GryoWriter writeVertex or
writeVertices methods or by GryoWriter.writeGraph(OutputStream, Graph) . |
Modifier and Type | Method and Description |
---|---|
<O extends OutputShim> |
GryoSerializersV3d0.VertexSerializer.write(KryoShim<?,O> kryo,
O output,
Vertex vertex) |
<O extends OutputShim> |
GryoSerializersV1d0.VertexSerializer.write(KryoShim<?,O> kryo,
O output,
Vertex vertex) |
void |
GryoWriter.writeVertex(OutputStream outputStream,
Vertex v)
Write a vertex to a stream without writing its edges.
|
void |
GryoWriter.writeVertex(OutputStream outputStream,
Vertex v,
Direction direction)
Write a vertex to a stream with its associated edges.
|
Modifier and Type | Method and Description |
---|---|
<I extends InputShim> |
GryoSerializersV3d0.VertexSerializer.read(KryoShim<I,?> kryo,
I input,
Class<Vertex> vertexClass) |
<I extends InputShim> |
GryoSerializersV1d0.VertexSerializer.read(KryoShim<I,?> kryo,
I input,
Class<Vertex> vertexClass) |
Vertex |
GryoReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod)
Read a
Vertex from output generated by any of the GryoWriter writeVertex or
writeVertices methods or by GryoWriter.writeGraph(OutputStream, Graph) . |
Vertex |
GryoReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod)
Read a
Vertex from output generated by any of the GryoWriter writeVertex or
writeVertices methods or by GryoWriter.writeGraph(OutputStream, Graph) . |
Vertex |
GryoReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
Read a
Vertex from output generated by any of the GryoWriter writeVertex or
writeVertices methods or by GryoWriter.writeGraph(OutputStream, Graph) . |
Vertex |
GryoReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
Read a
Vertex from output generated by any of the GryoWriter writeVertex or
writeVertices methods or by GryoWriter.writeGraph(OutputStream, Graph) . |
Iterator<Vertex> |
GryoReader.readVertices(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
Read
Vertex objects from output generated by any of the GryoWriter writeVertex or
writeVertices methods or by GryoWriter.writeGraph(OutputStream, Graph) . |
Iterator<Vertex> |
GryoReader.readVertices(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
Read
Vertex objects from output generated by any of the GryoWriter writeVertex or
writeVertices methods or by GryoWriter.writeGraph(OutputStream, Graph) . |
void |
GryoWriter.writeVertices(OutputStream outputStream,
Iterator<Vertex> vertexIterator)
Write a vertex to a stream without writing its edges.
|
void |
GryoWriter.writeVertices(OutputStream outputStream,
Iterator<Vertex> vertexIterator,
Direction direction)
Write a list of vertices from a
Traversal to a stream with its associated edges. |
Modifier and Type | Field and Description |
---|---|
static Comparator<Vertex> |
Comparators.VERTEX_COMPARATOR
|
Modifier and Type | Method and Description |
---|---|
static Vertex |
Attachable.Method.createVertex(Attachable<Vertex> attachableVertex,
Graph hostGraph) |
static Vertex |
Attachable.Method.createVertex(Attachable<Vertex> attachableVertex,
Vertex hostVertex) |
static Vertex |
Host.getHostingVertex(Object object)
Extracts the
Vertex that is holding the specified object. |
Modifier and Type | Method and Description |
---|---|
static Optional<Vertex> |
Attachable.Method.getVertex(Attachable<Vertex> attachableVertex,
Graph hostGraph) |
static Optional<Vertex> |
Attachable.Method.getVertex(Attachable<Vertex> attachableVertex,
Vertex hostVertex) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ElementHelper.areEqual(Vertex a,
Vertex b) |
static void |
ElementHelper.attachProperties(Vertex vertex,
Object... propertyKeyValues)
Assign key/value pairs as properties to an
Vertex . |
static void |
ElementHelper.attachProperties(Vertex vertex,
VertexProperty.Cardinality cardinality,
Object... propertyKeyValues)
Assign key/value pairs as properties to a
Vertex . |
static IllegalStateException |
Attachable.Exceptions.canNotGetAttachableFromHostVertex(Attachable<?> attachable,
Vertex hostVertex) |
static Edge |
Attachable.Method.createEdge(Attachable<Edge> attachableEdge,
Vertex hostVertex) |
static Property |
Attachable.Method.createProperty(Attachable<Property> attachableProperty,
Vertex hostVertex) |
static Vertex |
Attachable.Method.createVertex(Attachable<Vertex> attachableVertex,
Vertex hostVertex) |
static VertexProperty |
Attachable.Method.createVertexProperty(Attachable<VertexProperty> attachableVertexProperty,
Vertex hostVertex) |
static Optional<Edge> |
Attachable.Method.getEdge(Attachable<Edge> attachableEdge,
Vertex hostVertex) |
static Optional<Property> |
Attachable.Method.getProperty(Attachable<Property> attachableProperty,
Vertex hostVertex) |
static Optional<Vertex> |
Attachable.Method.getVertex(Attachable<Vertex> attachableVertex,
Vertex hostVertex) |
static Optional<VertexProperty> |
Attachable.Method.getVertexProperty(Attachable<VertexProperty> attachableVertexProperty,
Vertex hostVertex) |
static <V> Optional<VertexProperty<V>> |
ElementHelper.stageVertexProperty(Vertex vertex,
VertexProperty.Cardinality cardinality,
String key,
V value,
Object... keyValues)
This is a helper method for dealing with vertex property cardinality and typically used in
property(VertexProperty.Cardinality, String, Object, Object...) . |
static Map<String,List<VertexProperty>> |
ElementHelper.vertexPropertyMap(Vertex vertex,
String... propertyKeys) |
static Map<String,List> |
ElementHelper.vertexPropertyValueMap(Vertex vertex,
String... propertyKeys) |
static String |
StringFactory.vertexString(Vertex vertex)
Construct the representation for a
Vertex . |
Modifier and Type | Method and Description |
---|---|
static Vertex |
Attachable.Method.createVertex(Attachable<Vertex> attachableVertex,
Graph hostGraph) |
static Vertex |
Attachable.Method.createVertex(Attachable<Vertex> attachableVertex,
Vertex hostVertex) |
static Optional<Vertex> |
Attachable.Method.getVertex(Attachable<Vertex> attachableVertex,
Graph hostGraph) |
static Optional<Vertex> |
Attachable.Method.getVertex(Attachable<Vertex> attachableVertex,
Vertex hostVertex) |
Modifier and Type | Class and Description |
---|---|
class |
DetachedVertex
|
Modifier and Type | Method and Description |
---|---|
Vertex |
DetachedVertexProperty.element() |
Vertex |
DetachedEdge.inVertex() |
Vertex |
DetachedEdge.outVertex() |
Modifier and Type | Method and Description |
---|---|
Iterator<Vertex> |
DetachedEdge.vertices(Direction direction) |
Iterator<Vertex> |
DetachedVertex.vertices(Direction direction,
String... labels) |
Modifier and Type | Method and Description |
---|---|
Edge |
DetachedVertex.addEdge(String label,
Vertex inVertex,
Object... keyValues) |
static DetachedVertex |
DetachedFactory.detach(Vertex vertex,
boolean withProperties) |
Constructor and Description |
---|
DetachedVertex(Vertex vertex,
boolean withProperties) |
DetachedVertexProperty(Object id,
String label,
V value,
Map<String,Object> properties,
Vertex vertex) |
Modifier and Type | Method and Description |
---|---|
Vertex |
EmptyGraph.addVertex(Object... keyValues) |
Vertex |
EmptyVertexProperty.element() |
Modifier and Type | Method and Description |
---|---|
Iterator<Vertex> |
EmptyGraph.vertices(Object... vertexIds) |
Modifier and Type | Method and Description |
---|---|
Vertex |
KeyedVertexProperty.element() |
Modifier and Type | Class and Description |
---|---|
class |
ReferenceVertex |
Modifier and Type | Method and Description |
---|---|
Vertex |
ReferenceVertexProperty.element() |
Vertex |
ReferenceEdge.inVertex() |
Vertex |
ReferenceEdge.outVertex() |
Modifier and Type | Method and Description |
---|---|
Iterator<Vertex> |
ReferenceEdge.vertices(Direction direction) |
Iterator<Vertex> |
ReferenceVertex.vertices(Direction direction,
String... edgeLabels) |
Modifier and Type | Method and Description |
---|---|
Edge |
ReferenceVertex.addEdge(String label,
Vertex inVertex,
Object... keyValues) |
static ReferenceVertex |
ReferenceFactory.detach(Vertex vertex) |
Constructor and Description |
---|
ReferenceVertex(Vertex vertex) |
Modifier and Type | Class and Description |
---|---|
class |
StarGraph.StarAdjacentVertex |
class |
StarGraph.StarVertex |
Modifier and Type | Method and Description |
---|---|
Vertex |
StarGraph.addVertex(Object... keyValues) |
Vertex |
StarGraph.StarVertexProperty.element() |
Vertex |
StarGraph.StarOutEdge.inVertex() |
Vertex |
StarGraph.StarInEdge.inVertex() |
Vertex |
StarGraph.StarOutEdge.outVertex() |
Vertex |
StarGraph.StarInEdge.outVertex() |
Modifier and Type | Method and Description |
---|---|
Iterator<Vertex> |
StarGraph.StarEdge.vertices(Direction direction) |
Iterator<Vertex> |
StarGraph.StarVertex.vertices(Direction direction,
String... edgeLabels) |
Iterator<Vertex> |
StarGraph.StarAdjacentVertex.vertices(Direction direction,
String... edgeLabels) |
Iterator<Vertex> |
StarGraph.vertices(Object... vertexIds) |
Modifier and Type | Method and Description |
---|---|
Edge |
StarGraph.StarVertex.addEdge(String label,
Vertex inVertex,
Object... keyValues) |
Edge |
StarGraph.StarAdjacentVertex.addEdge(String label,
Vertex inVertex,
Object... keyValues) |
static StarGraph |
StarGraph.of(Vertex vertex)
|
Modifier and Type | Method and Description |
---|---|
boolean |
TinkerGraphComputerView.legalEdge(Vertex vertex,
Edge edge) |
boolean |
TinkerGraphComputerView.legalVertex(Vertex vertex) |
Modifier and Type | Method and Description |
---|---|
GraphComputer |
TinkerGraphComputer.edges(Traversal<Vertex,Edge> edgeFilter) |
void |
TinkerWorkerPool.executeVertexProgram(TriConsumer<Iterator<Vertex>,VertexProgram,TinkerWorkerMemory> worker) |
GraphComputer |
TinkerGraphComputer.vertices(Traversal<Vertex,Vertex> vertexFilter) |
GraphComputer |
TinkerGraphComputer.vertices(Traversal<Vertex,Vertex> vertexFilter) |
Constructor and Description |
---|
TinkerMessenger(Vertex vertex,
org.apache.tinkerpop.gremlin.tinkergraph.process.computer.TinkerMessageBoard<M> messageBoard,
Optional<MessageCombiner<M>> combiner) |
Modifier and Type | Method and Description |
---|---|
protected Stream<Vertex> |
TinkerMergeVertexStep.createSearchStream(Map<Object,Object> search) |
Modifier and Type | Method and Description |
---|---|
Service<Vertex,Long> |
TinkerDegreeCentralityFactory.createService(boolean isStart,
Map params) |
Modifier and Type | Method and Description |
---|---|
CloseableIterator<Long> |
TinkerDegreeCentralityFactory.execute(Service.ServiceCallContext ctx,
Traverser.Admin<Vertex> in,
Map params) |
Modifier and Type | Class and Description |
---|---|
class |
TinkerVertex |
Modifier and Type | Field and Description |
---|---|
protected Vertex |
TinkerEdge.inVertex |
protected Vertex |
TinkerEdge.outVertex |
Modifier and Type | Field and Description |
---|---|
protected Map<Object,Vertex> |
TinkerGraph.vertices |
Modifier and Type | Method and Description |
---|---|
Vertex |
TinkerGraph.addVertex(Object... keyValues) |
Vertex |
TinkerVertexProperty.element() |
Vertex |
TinkerEdge.inVertex() |
Vertex |
TinkerEdge.outVertex() |
Modifier and Type | Method and Description |
---|---|
static Map<Object,Vertex> |
TinkerHelper.getVertices(TinkerGraph graph) |
Iterator<Vertex> |
TinkerEdge.vertices(Direction direction) |
Iterator<Vertex> |
TinkerVertex.vertices(Direction direction,
String... edgeLabels) |
Iterator<Vertex> |
TinkerGraph.vertices(Object... vertexIds) |
Modifier and Type | Method and Description |
---|---|
Edge |
TinkerVertex.addEdge(String label,
Vertex vertex,
Object... keyValues) |
Constructor and Description |
---|
TinkerEdge(Object id,
Vertex outVertex,
String label,
Vertex inVertex) |
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.