Modifier and Type | Method and Description |
---|---|
Vertex |
Result.getVertex() |
Modifier and Type | Field and Description |
---|---|
Supplier<? extends org.apache.tinkerpop.gremlin.process.traversal.Traversal<Vertex,Edge>> |
MessageScope.Local.incidentTraversal |
Modifier and Type | Method and Description |
---|---|
org.apache.tinkerpop.gremlin.process.traversal.Traversal<Vertex,Edge> |
MessageScope.Local.ReverseTraversalSupplier.get() |
Supplier<? extends org.apache.tinkerpop.gremlin.process.traversal.Traversal<Vertex,Edge>> |
MessageScope.Local.getIncidentTraversal() |
Iterable<Vertex> |
MessageScope.Global.vertices() |
Modifier and Type | Method and Description |
---|---|
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.
|
default 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 MessageScope.Global |
MessageScope.Global.of(Iterable<Vertex> vertices) |
static <M> MessageScope.Local<M> |
MessageScope.Local.of(Supplier<? extends org.apache.tinkerpop.gremlin.process.traversal.Traversal<Vertex,Edge>> incidentTraversal) |
static <M> MessageScope.Local<M> |
MessageScope.Local.of(Supplier<? extends org.apache.tinkerpop.gremlin.process.traversal.Traversal<Vertex,Edge>> incidentTraversal,
BiFunction<M,Edge,M> edgeFunction) |
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. |
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)
Get the
Vertex objects in this graph with the provided vertex ids. |
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,
Direction direction,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedEdge,Edge> edgeMaker)
Reads a single vertex from an
InputStream . |
Vertex |
GraphReader.readVertex(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker)
Reads a single vertex from an
InputStream . |
Modifier and Type | Method and Description |
---|---|
Iterator<Vertex> |
GraphReader.readVertices(InputStream inputStream,
Direction direction,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedEdge,Edge> edgeMaker)
Reads a set of vertices from an
InputStream which were written by
GraphWriter.writeVertices(java.io.OutputStream, org.apache.tinkerpop.gremlin.process.traversal.Traversal) . |
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,
Direction direction,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedEdge,Edge> edgeMaker)
Reads a single vertex from an
InputStream . |
Vertex |
GraphReader.readVertex(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker)
Reads a single vertex from an
InputStream . |
Iterator<Vertex> |
GraphReader.readVertices(InputStream inputStream,
Direction direction,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedEdge,Edge> edgeMaker)
Reads a set of vertices from an
InputStream which were written by
GraphWriter.writeVertices(java.io.OutputStream, org.apache.tinkerpop.gremlin.process.traversal.Traversal) . |
default void |
GraphWriter.writeVertices(OutputStream outputStream,
org.apache.tinkerpop.gremlin.process.traversal.Traversal<?,Vertex> traversal)
Write a vertex to a stream without writing its edges.
|
default void |
GraphWriter.writeVertices(OutputStream outputStream,
org.apache.tinkerpop.gremlin.process.traversal.Traversal<?,Vertex> traversal,
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,
Direction direction,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedEdge,Edge> edgeMaker) |
Vertex |
GraphMLReader.readVertex(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker) |
Modifier and Type | Method and Description |
---|---|
Iterator<Vertex> |
GraphMLReader.readVertices(InputStream inputStream,
Direction direction,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedEdge,Edge> edgeMaker) |
Modifier and Type | Method and Description |
---|---|
void |
GraphMLWriter.writeVertex(OutputStream outputStream,
Vertex v) |
void |
GraphMLWriter.writeVertex(OutputStream outputStream,
Vertex v,
Direction direction) |
Modifier and Type | Method and Description |
---|---|
Vertex |
GraphMLReader.readVertex(InputStream inputStream,
Direction direction,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedEdge,Edge> edgeMaker) |
Vertex |
GraphMLReader.readVertex(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker) |
Iterator<Vertex> |
GraphMLReader.readVertices(InputStream inputStream,
Direction direction,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedEdge,Edge> edgeMaker) |
void |
GraphMLWriter.writeVertices(OutputStream outputStream,
org.apache.tinkerpop.gremlin.process.traversal.Traversal<?,Vertex> traversal) |
void |
GraphMLWriter.writeVertices(OutputStream outputStream,
org.apache.tinkerpop.gremlin.process.traversal.Traversal<?,Vertex> traversal,
Direction direction) |
Modifier and Type | Method and Description |
---|---|
Vertex |
GraphSONReader.readVertex(InputStream inputStream,
Direction direction,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedEdge,Edge> edgeMaker) |
Vertex |
LegacyGraphSONReader.readVertex(InputStream inputStream,
Direction direction,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedEdge,Edge> edgeMaker) |
Vertex |
GraphSONReader.readVertex(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker) |
Vertex |
LegacyGraphSONReader.readVertex(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker) |
Vertex |
LegacyGraphSONReader.GraphSONUtility.vertexFromJson(JsonNode json) |
Modifier and Type | Method and Description |
---|---|
Iterator<Vertex> |
GraphSONReader.readVertices(InputStream inputStream,
Direction direction,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedEdge,Edge> edgeMaker) |
Iterator<Vertex> |
LegacyGraphSONReader.readVertices(InputStream inputStream,
Direction direction,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedEdge,Edge> edgeMaker) |
Modifier and Type | Method and Description |
---|---|
static Edge |
LegacyGraphSONReader.GraphSONUtility.edgeFromJson(JsonNode json,
Vertex out,
Vertex in) |
void |
GraphSONWriter.writeVertex(OutputStream outputStream,
Vertex v) |
void |
GraphSONWriter.writeVertex(OutputStream outputStream,
Vertex v,
Direction direction) |
Modifier and Type | Method and Description |
---|---|
Vertex |
GraphSONReader.readVertex(InputStream inputStream,
Direction direction,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedEdge,Edge> edgeMaker) |
Vertex |
LegacyGraphSONReader.readVertex(InputStream inputStream,
Direction direction,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedEdge,Edge> edgeMaker) |
Vertex |
GraphSONReader.readVertex(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker) |
Vertex |
LegacyGraphSONReader.readVertex(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker) |
Iterator<Vertex> |
GraphSONReader.readVertices(InputStream inputStream,
Direction direction,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedEdge,Edge> edgeMaker) |
Iterator<Vertex> |
LegacyGraphSONReader.readVertices(InputStream inputStream,
Direction direction,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex,Vertex> vertexMaker,
Function<org.apache.tinkerpop.gremlin.structure.util.detached.DetachedEdge,Edge> edgeMaker) |
void |
GraphSONWriter.writeVertices(OutputStream outputStream,
org.apache.tinkerpop.gremlin.process.traversal.Traversal<?,Vertex> traversal) |
void |
GraphSONWriter.writeVertices(OutputStream outputStream,
org.apache.tinkerpop.gremlin.process.traversal.Traversal<?,Vertex> traversal,
Direction direction) |
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.