Modifier and Type | Method and Description |
---|---|
Vertex |
Result.getVertex()
Gets the result item by casting it to a
Vertex . |
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() |
Supplier<? extends 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 Traversal<Vertex,Edge>> incidentTraversal) |
static <M> MessageScope.Local<M> |
MessageScope.Local.of(Supplier<? extends Traversal<Vertex,Edge>> incidentTraversal,
BiFunction<M,Edge,M> edgeFunction) |
Modifier and Type | Method and Description |
---|---|
void |
PeerPressureVertexProgram.execute(Vertex vertex,
Messenger<org.javatuples.Pair<Serializable,Double>> messenger,
Memory memory) |
Modifier and Type | Method and Description |
---|---|
PeerPressureVertexProgram.Builder |
PeerPressureVertexProgram.Builder.traversal(Traversal.Admin<Vertex,Edge> traversal) |
Modifier and Type | Method and Description |
---|---|
void |
PageRankVertexProgram.execute(Vertex vertex,
Messenger<Double> messenger,
Memory memory) |
Modifier and Type | Method and Description |
---|---|
PageRankVertexProgram.Builder |
PageRankVertexProgram.Builder.traversal(Traversal.Admin<Vertex,Edge> traversal) |
Modifier and Type | Method and Description |
---|---|
void |
TraversalVertexProgram.execute(Vertex vertex,
Messenger<org.apache.tinkerpop.gremlin.process.traversal.traverser.util.TraverserSet<?>> messenger,
Memory memory) |
Modifier and Type | Method and Description |
---|---|
void |
TraversalSideEffects.setLocalVertex(Vertex vertex)
In a distributed
GraphComputer traversal, the sideEffects of the traversal are not a single object within a single JVM. |
Modifier and Type | Method and Description |
---|---|
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.addV() |
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.addV() |
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.GraphTraversalSourceStub.addV() |
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.GraphTraversalSourceStub.addV() |
default GraphTraversal<S,Vertex> |
GraphTraversal.addV() |
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.addV(Object... keyValues)
Deprecated.
As of release 3.1.0, replaced by
GraphTraversalSource.addV() |
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.addV(Object... keyValues)
Deprecated.
As of release 3.1.0, replaced by
GraphTraversalSource.addV() |
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.GraphTraversalSourceStub.addV(Object... keyValues)
Deprecated.
As of release 3.1.0, replaced by
GraphTraversalSource.GraphTraversalSourceStub.addV() |
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.GraphTraversalSourceStub.addV(Object... keyValues)
Deprecated.
As of release 3.1.0, replaced by
GraphTraversalSource.GraphTraversalSourceStub.addV() |
default GraphTraversal<S,Vertex> |
GraphTraversal.addV(Object... propertyKeyValues)
Deprecated.
As of release 3.1.0, replaced by
GraphTraversal.addV() |
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.addV(String label) |
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.addV(String label) |
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.GraphTraversalSourceStub.addV(String label) |
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.GraphTraversalSourceStub.addV(String label) |
default GraphTraversal<S,Vertex> |
GraphTraversal.addV(String vertexLabel) |
default GraphTraversal<S,Vertex> |
GraphTraversal.both(String... edgeLabels)
Map the
Vertex to its adjacent vertices given the edge labels. |
default GraphTraversal<S,Vertex> |
GraphTraversal.bothV()
Map the
Edge to its incident vertices. |
default GraphTraversal<S,Vertex> |
GraphTraversal.in(String... edgeLabels)
Map the
Vertex to its incoming adjacent vertices given the edge labels. |
default GraphTraversal<S,Vertex> |
GraphTraversal.inV()
|
default GraphTraversal<S,Vertex> |
GraphTraversal.otherV()
Map the
Edge to the incident vertex that was not just traversed from in the path history. |
default GraphTraversal<S,Vertex> |
GraphTraversal.out(String... edgeLabels)
Map the
Vertex to its outgoing adjacent vertices given the edge labels. |
default GraphTraversal<S,Vertex> |
GraphTraversal.outV()
|
default GraphTraversal<S,Vertex> |
GraphTraversal.to(Direction direction,
String... edgeLabels)
Map the
Vertex to its adjacent vertices given a direction and edge labels. |
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) |
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.V(Object... vertexIds) |
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.GraphTraversalSourceStub.V(Object... vertexIds) |
GraphTraversal<Vertex,Vertex> |
GraphTraversalSource.GraphTraversalSourceStub.V(Object... vertexIds) |
default GraphTraversal<S,Vertex> |
GraphTraversal.V(Object... vertexIdsOrElements) |
Modifier and Type | Method and Description |
---|---|
default GraphTraversal<S,E> |
GraphTraversal.from(Traversal<E,Vertex> fromVertex) |
default GraphTraversal<S,E> |
GraphTraversal.to(Traversal<E,Vertex> toVertex) |
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,
Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)
Reads a single vertex from an
InputStream . |
Vertex |
GraphReader.readVertex(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<org.apache.tinkerpop.gremlin.structure.util.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 parserClass)
Get the vertices at the specified graph location.
|
Iterator<Vertex> |
Storage.head(String location,
Class parserClass,
int totalLines)
Get the vertices at the specified graph location.
|
Iterator<Vertex> |
GraphReader.readVertices(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<org.apache.tinkerpop.gremlin.structure.util.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<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)
Reads a single vertex from an
InputStream . |
Vertex |
GraphReader.readVertex(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)
Reads a single vertex from an
InputStream . |
Vertex |
GraphReader.readVertex(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
Reads a single vertex from an
InputStream . |
Vertex |
GraphReader.readVertex(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
Reads a single vertex from an
InputStream . |
Iterator<Vertex> |
GraphReader.readVertices(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<org.apache.tinkerpop.gremlin.structure.util.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<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<org.apache.tinkerpop.gremlin.structure.util.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<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)
This method is not supported for this reader.
|
Vertex |
GraphMLReader.readVertex(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<org.apache.tinkerpop.gremlin.structure.util.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<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<org.apache.tinkerpop.gremlin.structure.util.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<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)
This method is not supported for this reader.
|
Vertex |
GraphMLReader.readVertex(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)
This method is not supported for this reader.
|
Vertex |
GraphMLReader.readVertex(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
This method is not supported for this reader.
|
Vertex |
GraphMLReader.readVertex(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
This method is not supported for this reader.
|
Iterator<Vertex> |
GraphMLReader.readVertices(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
This method is not supported for this reader.
|
Iterator<Vertex> |
GraphMLReader.readVertices(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<org.apache.tinkerpop.gremlin.structure.util.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<org.apache.tinkerpop.gremlin.structure.util.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<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<org.apache.tinkerpop.gremlin.structure.util.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> |
GraphSONReader.readVertices(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<org.apache.tinkerpop.gremlin.structure.util.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 |
GraphSONReader.readVertex(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.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<org.apache.tinkerpop.gremlin.structure.util.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<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<org.apache.tinkerpop.gremlin.structure.util.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<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<org.apache.tinkerpop.gremlin.structure.util.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> |
GraphSONReader.readVertices(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<org.apache.tinkerpop.gremlin.structure.util.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<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<org.apache.tinkerpop.gremlin.structure.util.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 |
---|---|
Vertex |
GryoReader.readVertex(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.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<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<org.apache.tinkerpop.gremlin.structure.util.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 |
---|---|
Iterator<Vertex> |
GryoReader.readVertices(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<org.apache.tinkerpop.gremlin.structure.util.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 |
---|---|
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 |
---|---|
Vertex |
GryoReader.readVertex(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.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<org.apache.tinkerpop.gremlin.structure.util.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<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<org.apache.tinkerpop.gremlin.structure.util.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<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<org.apache.tinkerpop.gremlin.structure.util.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<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<org.apache.tinkerpop.gremlin.structure.util.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<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<org.apache.tinkerpop.gremlin.structure.util.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. |
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.