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> |
CommunityGeneratorTest.DifferentDistributionsTest.verticesByOid(Graph graph) |
protected Iterable<Vertex> |
DistributionGeneratorTest.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 |
---|---|
protected Vertex |
VertexSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
Modifier and Type | Method and Description |
---|---|
protected void |
VertexSerializer.writeValue(Vertex value,
ByteBuf buffer,
GraphBinaryWriter context) |
Modifier and Type | Method and Description |
---|---|
default GraphTraversal<S,Vertex> |
CredentialTraversalDsl.user(String username,
String password)
Creates or updates a user.
|
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.users()
Finds all users.
|
GraphTraversal<Vertex,Vertex> |
CredentialTraversalSourceDsl.users()
Finds all users.
|
GraphTraversal<Vertex,Vertex> |
CredentialTraversalSourceDsl.users()
Finds all users.
|
default GraphTraversal<S,Vertex> |
CredentialTraversalDsl.users(String username,
String... more)
Finds users by name.
|
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.
|
Modifier and Type | Method and Description |
---|---|
GraphComputer |
AbstractHadoopGraphComputer.edges(Traversal<Vertex,Edge> edgeFilter) |
GraphComputer |
AbstractHadoopGraphComputer.vertices(Traversal<Vertex,Vertex> vertexFilter) |
GraphComputer |
AbstractHadoopGraphComputer.vertices(Traversal<Vertex,Vertex> vertexFilter) |
Modifier and Type | Class and Description |
---|---|
class |
HadoopVertex |
Modifier and Type | Method and Description |
---|---|
Vertex |
HadoopGraph.addVertex(Object... keyValues) |
Vertex |
HadoopVertexProperty.element() |
Vertex |
HadoopVertex.getBaseVertex() |
Modifier and Type | Method and Description |
---|---|
Iterator<Vertex> |
HadoopEdge.vertices(Direction direction) |
Iterator<Vertex> |
HadoopVertex.vertices(Direction direction,
String... edgeLabels) |
Iterator<Vertex> |
HadoopGraph.vertices(Object... vertexIds) |
Modifier and Type | Method and Description |
---|---|
Edge |
HadoopVertex.addEdge(String label,
Vertex inVertex,
Object... keyValues) |
Constructor and Description |
---|
HadoopVertex(Vertex vertex,
HadoopGraph graph) |
Modifier and Type | Method and Description |
---|---|
Vertex |
HadoopVertexIterator.next() |
Vertex |
VertexWritableIterator.next() |
Modifier and Type | Method and Description |
---|---|
Iterator<Vertex> |
FileSystemStorage.head(String location,
Class readerClass,
int totalLines) |
Modifier and Type | Method and Description |
---|---|
void |
VertexWritable.set(Vertex vertex) |
Constructor and Description |
---|
VertexWritable(Vertex vertex) |
Modifier and Type | Class and Description |
---|---|
class |
Neo4jVertex |
Modifier and Type | Method and Description |
---|---|
Vertex |
Neo4jGraph.addVertex(Object... keyValues) |
Vertex |
Neo4jVertexProperty.element() |
Vertex |
Neo4jEdge.inVertex() |
Vertex |
Neo4jEdge.outVertex() |
Modifier and Type | Method and Description |
---|---|
Iterator<Vertex> |
Neo4jEdge.vertices(Direction direction) |
Iterator<Vertex> |
Neo4jVertex.vertices(Direction direction,
String... edgeLabels) |
Iterator<Vertex> |
Neo4jGraph.vertices(Object... vertexIds) |
Modifier and Type | Method and Description |
---|---|
Edge |
Neo4jVertex.addEdge(String label,
Vertex inVertex,
Object... keyValues) |
Modifier and Type | Method and Description |
---|---|
Iterator<Vertex> |
NoMultiNoMetaNeo4jTrait.lookupVertices(Neo4jGraph graph,
List<HasContainer> hasContainers,
Object... ids) |
Iterator<Vertex> |
MultiMetaNeo4jTrait.lookupVertices(Neo4jGraph graph,
List<HasContainer> hasContainers,
Object... ids) |
Iterator<Vertex> |
Neo4jTrait.lookupVertices(Neo4jGraph graph,
List<HasContainer> hasContainers,
Object... ids) |
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) |
Computer |
Computer.edges(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.
|
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) |
Computer |
Computer.vertices(Traversal<Vertex,Vertex> vertexFilter) |
Computer |
Computer.vertices(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.
|
GraphComputer |
GraphComputerTest.BadGraphComputer.vertices(Traversal<Vertex,Vertex> vertexFilter) |
GraphComputer |
GraphComputerTest.BadGraphComputer.vertices(Traversal<Vertex,Vertex> vertexFilter) |
Modifier and Type | Method and Description |
---|---|
void |
BulkDumperVertexProgram.execute(Vertex sourceVertex,
Messenger<Tuple> messenger,
Memory memory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Vertex |
OneTimeBulkLoader.getOrCreateVertex(Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Creates a clone of the given vertex in the given graph.
|
Vertex |
BulkLoader.getOrCreateVertex(Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Gets or creates a clone of the given vertex in the given graph.
|
Vertex |
IncrementalBulkLoader.getOrCreateVertex(Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Gets or creates a clone of the given vertex in the given graph.
|
Vertex |
OneTimeBulkLoader.getVertex(Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Get a vertex that matches the given vertex from the given graph.
|
Vertex |
BulkLoader.getVertex(Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Get a vertex that matches the given vertex from the given graph.
|
Vertex |
IncrementalBulkLoader.getVertex(Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Get a vertex that matches the given vertex from the given graph.
|
default Vertex |
BulkLoader.getVertexById(Object id,
Graph graph,
GraphTraversalSource g)
Deprecated.
Gets a vertex by its ID from the given graph.
|
Modifier and Type | Method and Description |
---|---|
default Edge |
BulkLoader.createEdge(Edge edge,
Vertex outVertex,
Vertex inVertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Creates a clone of the given edge between the given in- and out-vertices.
|
default VertexProperty |
BulkLoader.createVertexProperty(VertexProperty<?> property,
Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Creates a clone of the given property for the given vertex.
|
void |
BulkLoaderVertexProgram.execute(Vertex sourceVertex,
Messenger<Tuple> messenger,
Memory memory)
Deprecated.
|
Edge |
OneTimeBulkLoader.getOrCreateEdge(Edge edge,
Vertex outVertex,
Vertex inVertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Creates a clone of the given edge between the given in- and out-vertices.
|
Edge |
BulkLoader.getOrCreateEdge(Edge edge,
Vertex outVertex,
Vertex inVertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Gets or creates a clone of the given edge between the given in- and out-vertices.
|
Edge |
IncrementalBulkLoader.getOrCreateEdge(Edge edge,
Vertex outVertex,
Vertex inVertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Gets or creates a clone of the given edge between the given in- and out-vertices.
|
Vertex |
OneTimeBulkLoader.getOrCreateVertex(Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Creates a clone of the given vertex in the given graph.
|
Vertex |
BulkLoader.getOrCreateVertex(Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Gets or creates a clone of the given vertex in the given graph.
|
Vertex |
IncrementalBulkLoader.getOrCreateVertex(Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Gets or creates a clone of the given vertex in the given graph.
|
VertexProperty |
OneTimeBulkLoader.getOrCreateVertexProperty(VertexProperty<?> property,
Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Creates a clone of the given property for the given vertex.
|
VertexProperty |
BulkLoader.getOrCreateVertexProperty(VertexProperty<?> property,
Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Gets or creates a clone of the given property for the given vertex.
|
VertexProperty |
IncrementalBulkLoader.getOrCreateVertexProperty(VertexProperty<?> property,
Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Gets or creates a clone of the given property for the given vertex.
|
Vertex |
OneTimeBulkLoader.getVertex(Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Get a vertex that matches the given vertex from the given graph.
|
Vertex |
BulkLoader.getVertex(Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Get a vertex that matches the given vertex from the given graph.
|
Vertex |
IncrementalBulkLoader.getVertex(Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Get a vertex that matches the given vertex from the given graph.
|
Modifier and Type | Method and Description |
---|---|
void |
CloneVertexProgram.execute(Vertex sourceVertex,
Messenger<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<<any>> 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) |
PeerPressureVertexProgram.Builder |
PeerPressureVertexProgram.Builder.traversal(Traversal.Admin<Vertex,Edge> edgeTraversal)
Deprecated.
As of release 3.2.0, replaced by
PeerPressureVertexProgram.Builder.edges(Traversal.Admin) |
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) |
PageRankVertexProgram.Builder |
PageRankVertexProgram.Builder.traversal(Traversal.Admin<Vertex,Edge> traversal)
Deprecated.
As of release 3.2.0, replaced by
PageRankVertexProgram.Builder.edges(Traversal.Admin) |
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<<any>> 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>> |
PeerPressureVertexProgramStep.getLocalChildren() |
List<Traversal.Admin<Vertex,Edge>> |
PageRankVertexProgramStep.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 |
---|---|
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. |
default GraphTraversal<S,Vertex> |
GraphTraversal.addV()
Adds a
Vertex with a default vertex label. |
static <A> GraphTraversal<A,Vertex> |
__.addV() |
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.addV(String label)
Spawns a
GraphTraversal by adding a vertex with the specified label. |
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.addV(String label)
Spawns a
GraphTraversal by adding a vertex with the specified label. |
default GraphTraversal<S,Vertex> |
GraphTraversal.addV(String vertexLabel)
Adds a
Vertex . |
static <A> GraphTraversal<A,Vertex> |
__.addV(String vertexLabel) |
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 . |
default GraphTraversal<S,Vertex> |
GraphTraversal.addV(Traversal<?,String> vertexLabelTraversal)
|
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()
|
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. |
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. |
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. |
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 | Method and Description |
---|---|
protected Vertex |
EdgeOtherVertexStep.map(Traverser.Admin<Edge> traverser) |
protected Vertex |
AddVertexStep.map(Traverser.Admin<S> traverser) |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
void |
SparkMessenger.setVertexAndIncomingMessages(Vertex vertex,
Iterable<M> incomingMessages) |
Modifier and Type | Method and Description |
---|---|
Iterator<Vertex> |
SparkContextStorage.head(String location,
Class readerClass,
int totalLines) |
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 |
---|---|
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 |
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)
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 |
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) . |
Modifier and Type | Method and Description |
---|---|
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> |
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) . |
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 |
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)
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,
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.
|
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) . |
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.
|
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) . |
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> |
GryoSerializersV1d0.VertexSerializer.read(KryoShim<I,?> kryo,
I input,
Class<Vertex> vertexClass) |
<I extends InputShim> |
GryoSerializersV3d0.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> |
GryoSerializersV1d0.VertexSerializer.write(KryoShim<?,O> kryo,
O output,
Vertex vertex) |
<O extends OutputShim> |
GryoSerializersV3d0.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> |
GryoSerializersV1d0.VertexSerializer.read(KryoShim<I,?> kryo,
I input,
Class<Vertex> vertexClass) |
<I extends InputShim> |
GryoSerializersV3d0.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(org.apache.tinkerpop.gremlin.structure.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 | 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–2019 Apache Software Foundation. All rights reserved.