Uses of Interface
org.apache.tinkerpop.gremlin.structure.Vertex
-
-
Uses of Vertex in org.apache.tinkerpop.gremlin.driver
Methods in org.apache.tinkerpop.gremlin.driver that return Vertex Modifier and Type Method Description Vertex
Result. getVertex()
Gets the result item by casting it to aVertex
. -
Uses of Vertex in org.apache.tinkerpop.gremlin.process.computer
Fields in org.apache.tinkerpop.gremlin.process.computer with type parameters of type Vertex Modifier and Type Field Description Supplier<? extends Traversal<Vertex,Edge>>
MessageScope.Local. incidentTraversal
Methods in org.apache.tinkerpop.gremlin.process.computer that return types with arguments of type Vertex Modifier and Type Method 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()
Methods in org.apache.tinkerpop.gremlin.process.computer with parameters of type Vertex Modifier and Type Method 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.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
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)
Method parameters in org.apache.tinkerpop.gremlin.process.computer with type arguments of type Vertex Modifier and Type Method 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.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. -
Uses of Vertex in org.apache.tinkerpop.gremlin.process.computer.clustering.connected
Methods in org.apache.tinkerpop.gremlin.process.computer.clustering.connected with parameters of type Vertex Modifier and Type Method Description void
ConnectedComponentVertexProgram. execute(Vertex vertex, Messenger<String> messenger, Memory memory)
Method parameters in org.apache.tinkerpop.gremlin.process.computer.clustering.connected with type arguments of type Vertex Modifier and Type Method Description ConnectedComponentVertexProgram.Builder
ConnectedComponentVertexProgram.Builder. edges(Traversal.Admin<Vertex,Edge> edgeTraversal)
-
Uses of Vertex in org.apache.tinkerpop.gremlin.process.computer.clustering.peerpressure
Methods in org.apache.tinkerpop.gremlin.process.computer.clustering.peerpressure with parameters of type Vertex Modifier and Type Method Description void
PeerPressureVertexProgram. execute(Vertex vertex, Messenger<org.javatuples.Pair<Serializable,Double>> messenger, Memory memory)
Method parameters in org.apache.tinkerpop.gremlin.process.computer.clustering.peerpressure with type arguments of type Vertex Modifier and Type Method Description PeerPressureVertexProgram.Builder
PeerPressureVertexProgram.Builder. edges(Traversal.Admin<Vertex,Edge> edgeTraversal)
PeerPressureVertexProgram.Builder
PeerPressureVertexProgram.Builder. initialVoteStrength(Traversal.Admin<Vertex,? extends Number> initialVoteStrengthTraversal)
-
Uses of Vertex in org.apache.tinkerpop.gremlin.process.computer.ranking.pagerank
Methods in org.apache.tinkerpop.gremlin.process.computer.ranking.pagerank with parameters of type Vertex Modifier and Type Method Description void
PageRankVertexProgram. execute(Vertex vertex, Messenger<Double> messenger, Memory memory)
Method parameters in org.apache.tinkerpop.gremlin.process.computer.ranking.pagerank with type arguments of type Vertex Modifier and Type Method Description PageRankVertexProgram.Builder
PageRankVertexProgram.Builder. edges(Traversal.Admin<Vertex,Edge> edgeTraversal)
PageRankVertexProgram.Builder
PageRankVertexProgram.Builder. initialRank(Traversal.Admin<Vertex,? extends Number> initialRankTraversal)
-
Uses of Vertex in org.apache.tinkerpop.gremlin.process.computer.search.path
Fields in org.apache.tinkerpop.gremlin.process.computer.search.path with type parameters of type Vertex Modifier and Type Field Description static org.apache.tinkerpop.gremlin.process.traversal.util.PureTraversal<Vertex,Edge>
ShortestPathVertexProgram. DEFAULT_EDGE_TRAVERSAL
static org.apache.tinkerpop.gremlin.process.traversal.util.PureTraversal<Vertex,?>
ShortestPathVertexProgram. DEFAULT_VERTEX_FILTER_TRAVERSAL
Methods in org.apache.tinkerpop.gremlin.process.computer.search.path with parameters of type Vertex Modifier and Type Method Description void
ShortestPathVertexProgram. execute(Vertex vertex, Messenger<org.javatuples.Triplet<Path,Edge,Number>> messenger, Memory memory)
Method parameters in org.apache.tinkerpop.gremlin.process.computer.search.path with type arguments of type Vertex Modifier and Type Method 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)
-
Uses of Vertex in org.apache.tinkerpop.gremlin.process.computer.traversal
Methods in org.apache.tinkerpop.gremlin.process.computer.traversal with parameters of type Vertex Modifier and Type Method Description void
TraversalVertexProgram. execute(Vertex vertex, Messenger<org.apache.tinkerpop.gremlin.process.traversal.traverser.util.TraverserSet<Object>> messenger, Memory memory)
-
Uses of Vertex in org.apache.tinkerpop.gremlin.process.traversal
Methods in org.apache.tinkerpop.gremlin.process.traversal with parameters of type Vertex Modifier and Type Method Description protected abstract Script
Translator.ScriptTranslator.AbstractTypeTranslator. produceScript(Vertex o)
Take theVertex
and writes the syntax directly to the memberTranslator.ScriptTranslator.AbstractTypeTranslator.script
variable. -
Uses of Vertex in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph
Methods in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph that return types with arguments of type Vertex Modifier and Type Method Description default GraphTraversal<S,Vertex>
GraphTraversal. addV()
Adds aVertex
with a default vertex label.default GraphTraversal<S,Vertex>
GraphTraversal. addV(String vertexLabel)
Adds aVertex
.default GraphTraversal<S,Vertex>
GraphTraversal. addV(Traversal<?,String> vertexLabelTraversal)
GraphTraversal<Vertex,Vertex>
GraphTraversalSource. addV()
Spawns aGraphTraversal
by adding a vertex with the default label.GraphTraversal<Vertex,Vertex>
GraphTraversalSource. addV()
Spawns aGraphTraversal
by adding a vertex with the default label.GraphTraversal<Vertex,Vertex>
GraphTraversalSource. addV(String vertexLabel)
Spawns aGraphTraversal
by adding a vertex with the specified label.GraphTraversal<Vertex,Vertex>
GraphTraversalSource. addV(String vertexLabel)
Spawns aGraphTraversal
by adding a vertex with the specified label.GraphTraversal<Vertex,Vertex>
GraphTraversalSource. addV(Traversal<?,String> vertexLabelTraversal)
Spawns aGraphTraversal
by adding a vertex with the label as determined by aTraversal
.GraphTraversal<Vertex,Vertex>
GraphTraversalSource. addV(Traversal<?,String> vertexLabelTraversal)
Spawns aGraphTraversal
by adding a vertex with the label as determined by aTraversal
.default GraphTraversal<S,Vertex>
GraphTraversal. both(String... edgeLabels)
Map theVertex
to its adjacent vertices given the edge labels.default GraphTraversal<S,Vertex>
GraphTraversal. bothV()
Map theEdge
to its incident vertices.default GraphTraversal<S,Vertex>
GraphTraversal. in(String... edgeLabels)
Map theVertex
to its incoming adjacent vertices given the edge labels.default GraphTraversal<S,Vertex>
GraphTraversal. inV()
default GraphTraversal<S,Vertex>
GraphTraversal. mergeV()
Performs a merge (i.e.default GraphTraversal<S,Vertex>
GraphTraversal. mergeV(Map<Object,Object> searchCreate)
Performs a merge (i.e.default GraphTraversal<S,Vertex>
GraphTraversal. mergeV(Traversal<?,Map<Object,Object>> searchCreate)
Performs a merge (i.e.GraphTraversal<Vertex,Vertex>
GraphTraversalSource. mergeV(Map<Object,Object> searchCreate)
Spawns aGraphTraversal
by doing a merge (i.e.GraphTraversal<Vertex,Vertex>
GraphTraversalSource. mergeV(Map<Object,Object> searchCreate)
Spawns aGraphTraversal
by doing a merge (i.e.<S> GraphTraversal<S,Vertex>
GraphTraversalSource. mergeV(Traversal<?,Map<Object,Object>> searchCreate)
Spawns aGraphTraversal
by doing a merge (i.e.default GraphTraversal<S,Vertex>
GraphTraversal. otherV()
Map theEdge
to the incident vertex that was not just traversed from in the path history.default GraphTraversal<S,Vertex>
GraphTraversal. out(String... edgeLabels)
Map theVertex
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 theVertex
to its adjacent vertices given a direction and edge labels.default GraphTraversal<S,Vertex>
GraphTraversal. toV(Direction direction)
Map theEdge
to its incident vertices given the direction.default GraphTraversal<S,Vertex>
GraphTraversal. V(Object... vertexIdsOrElements)
AV
step is usually used to start a traversal but it may also be used mid-traversal.GraphTraversal<Vertex,Vertex>
GraphTraversalSource. V(Object... vertexIds)
Spawns aGraphTraversal
starting with all vertices or some subset of vertices as specified by their unique identifier.GraphTraversal<Vertex,Vertex>
GraphTraversalSource. V(Object... vertexIds)
Spawns aGraphTraversal
starting with all vertices or some subset of vertices as specified by their unique identifier.Methods in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph with parameters of type Vertex Modifier and Type Method Description default GraphTraversal<S,E>
GraphTraversal. from(Vertex fromVertex)
When used as a modifier toGraphTraversal.addE(String)
this method specifies the traversal to use for selecting the outgoing vertex of the newly addedEdge
.default GraphTraversal<S,E>
GraphTraversal. to(Vertex toVertex)
When used as a modifier toGraphTraversal.addE(String)
this method specifies the traversal to use for selecting the incoming vertex of the newly addedEdge
.Method parameters in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph with type arguments of type Vertex Modifier and Type Method Description default GraphTraversal<S,E>
GraphTraversal. from(Traversal<?,Vertex> fromVertex)
When used as a modifier toGraphTraversal.addE(String)
this method specifies the traversal to use for selecting the outgoing vertex of the newly addedEdge
.default GraphTraversal<S,E>
GraphTraversal. to(Traversal<?,Vertex> toVertex)
When used as a modifier toGraphTraversal.addE(String)
this method specifies the traversal to use for selecting the incoming vertex of the newly addedEdge
. -
Uses of Vertex in org.apache.tinkerpop.gremlin.structure
Methods in org.apache.tinkerpop.gremlin.structure that return Vertex Modifier and Type Method Description Vertex
Graph. addVertex(Object... keyValues)
Add aVertex
to the graph given an optional series of key/value pairs.default Vertex
Graph. addVertex(String label)
Add aVertex
to the graph with provided vertex label.Vertex
VertexProperty. element()
Gets theVertex
that owns thisVertexProperty
.default Vertex
Edge. inVertex()
Get the incoming/head vertex of this edge.default Vertex
Edge. outVertex()
Get the outgoing/tail vertex of this edge.Methods in org.apache.tinkerpop.gremlin.structure that return types with arguments of type Vertex Modifier and Type Method 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>
Graph. vertices(Object... vertexIds)
Iterator<Vertex>
Vertex. vertices(Direction direction, String... edgeLabels)
Gets anIterator
of adjacent vertices.Methods in org.apache.tinkerpop.gremlin.structure with parameters of type Vertex Modifier and Type Method 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. -
Uses of Vertex in org.apache.tinkerpop.gremlin.structure.io
Methods in org.apache.tinkerpop.gremlin.structure.io that return Vertex Modifier and Type Method Description Vertex
GraphReader. readVertex(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)
Reads a single vertex from anInputStream
.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 anInputStream
.Methods in org.apache.tinkerpop.gremlin.structure.io that return types with arguments of type Vertex Modifier and Type Method 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 anInputStream
.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 anInputStream
which were written byGraphWriter.writeVertices(OutputStream, Iterator)
.Methods in org.apache.tinkerpop.gremlin.structure.io with parameters of type Vertex Modifier and Type Method 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.Method parameters in org.apache.tinkerpop.gremlin.structure.io with type arguments of type Vertex Modifier and Type Method Description Vertex
GraphReader. readVertex(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)
Reads a single vertex from anInputStream
.Vertex
GraphReader. readVertex(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)
Reads a single vertex from anInputStream
.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 anInputStream
.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 anInputStream
.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 anInputStream
which were written byGraphWriter.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 anInputStream
which were written byGraphWriter.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 aTraversal
to a stream with its associated edges. -
Uses of Vertex in org.apache.tinkerpop.gremlin.structure.io.graphml
Methods in org.apache.tinkerpop.gremlin.structure.io.graphml that return Vertex Modifier and Type Method 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.Methods in org.apache.tinkerpop.gremlin.structure.io.graphml that return types with arguments of type Vertex Modifier and Type Method 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.Methods in org.apache.tinkerpop.gremlin.structure.io.graphml with parameters of type Vertex Modifier and Type Method 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.Method parameters in org.apache.tinkerpop.gremlin.structure.io.graphml with type arguments of type Vertex Modifier and Type Method 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. -
Uses of Vertex in org.apache.tinkerpop.gremlin.structure.io.graphson
Methods in org.apache.tinkerpop.gremlin.structure.io.graphson that return Vertex Modifier and Type Method Description Vertex
GraphSONReader. readVertex(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)
Read aVertex
from output generated by any of theGraphSONWriter
writeVertex
orwriteVertices
methods or byGraphSONWriter.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 aVertex
from output generated by any of theGraphSONWriter
writeVertex
orwriteVertices
methods or byGraphSONWriter.writeGraph(OutputStream, Graph)
.Methods in org.apache.tinkerpop.gremlin.structure.io.graphson that return types with arguments of type Vertex Modifier and Type Method 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)
ReadVertex
objects from output generated by any of theGraphSONWriter
writeVertex
orwriteVertices
methods or byGraphSONWriter.writeGraph(OutputStream, Graph)
.Methods in org.apache.tinkerpop.gremlin.structure.io.graphson with parameters of type Vertex Modifier and Type Method Description void
GraphSONWriter. writeVertex(OutputStream outputStream, Vertex v)
Writes a singleVertex
with no edges serialized.void
GraphSONWriter. writeVertex(OutputStream outputStream, Vertex v, Direction direction)
Writes a singleVertex
to stream where edges only from the specified direction are written.Method parameters in org.apache.tinkerpop.gremlin.structure.io.graphson with type arguments of type Vertex Modifier and Type Method Description Vertex
GraphSONReader. readVertex(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)
Read aVertex
from output generated by any of theGraphSONWriter
writeVertex
orwriteVertices
methods or byGraphSONWriter.writeGraph(OutputStream, Graph)
.Vertex
GraphSONReader. readVertex(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)
Read aVertex
from output generated by any of theGraphSONWriter
writeVertex
orwriteVertices
methods or byGraphSONWriter.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 aVertex
from output generated by any of theGraphSONWriter
writeVertex
orwriteVertices
methods or byGraphSONWriter.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 aVertex
from output generated by any of theGraphSONWriter
writeVertex
orwriteVertices
methods or byGraphSONWriter.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)
ReadVertex
objects from output generated by any of theGraphSONWriter
writeVertex
orwriteVertices
methods or byGraphSONWriter.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)
ReadVertex
objects from output generated by any of theGraphSONWriter
writeVertex
orwriteVertices
methods or byGraphSONWriter.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. -
Uses of Vertex in org.apache.tinkerpop.gremlin.structure.io.gryo
Methods in org.apache.tinkerpop.gremlin.structure.io.gryo that return Vertex Modifier and Type Method Description Vertex
GryoReader. readVertex(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)
Read aVertex
from output generated by any of theGryoWriter
writeVertex
orwriteVertices
methods or byGryoWriter.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 aVertex
from output generated by any of theGryoWriter
writeVertex
orwriteVertices
methods or byGryoWriter.writeGraph(OutputStream, Graph)
.Methods in org.apache.tinkerpop.gremlin.structure.io.gryo that return types with arguments of type Vertex Modifier and Type Method Description Optional<Vertex>
GryoReader. readVertex(InputStream inputStream, GraphFilter graphFilter)
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)
ReadVertex
objects from output generated by any of theGryoWriter
writeVertex
orwriteVertices
methods or byGryoWriter.writeGraph(OutputStream, Graph)
.Methods in org.apache.tinkerpop.gremlin.structure.io.gryo with parameters of type Vertex Modifier and Type Method 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.Method parameters in org.apache.tinkerpop.gremlin.structure.io.gryo with type arguments of type Vertex Modifier and Type Method Description Vertex
GryoReader. readVertex(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)
Read aVertex
from output generated by any of theGryoWriter
writeVertex
orwriteVertices
methods or byGryoWriter.writeGraph(OutputStream, Graph)
.Vertex
GryoReader. readVertex(InputStream inputStream, Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)
Read aVertex
from output generated by any of theGryoWriter
writeVertex
orwriteVertices
methods or byGryoWriter.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 aVertex
from output generated by any of theGryoWriter
writeVertex
orwriteVertices
methods or byGryoWriter.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 aVertex
from output generated by any of theGryoWriter
writeVertex
orwriteVertices
methods or byGryoWriter.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)
ReadVertex
objects from output generated by any of theGryoWriter
writeVertex
orwriteVertices
methods or byGryoWriter.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)
ReadVertex
objects from output generated by any of theGryoWriter
writeVertex
orwriteVertices
methods or byGryoWriter.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 aTraversal
to a stream with its associated edges.
-