| 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() | 
| 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 | 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) | 
| Modifier and Type | Method and Description | 
|---|---|
| static IllegalArgumentException | GraphComputer.Exceptions. edgeFilterAccessesAdjacentVertices(Traversal<Vertex,Edge> edgeFilter) | 
| GraphComputer | GraphComputer. edges(Traversal<Vertex,Edge> edgeFilter)Add a filter that will limit which edges of the vertices are loaded from the graph source. | 
| Computer | Computer. edges(Traversal<Vertex,Edge> edgeFilter) | 
| static MessageScope.Global | MessageScope.Global. of(Iterable<Vertex> vertices) | 
| static <M> MessageScope.Local<M> | MessageScope.Local. of(Supplier<? extends Traversal<Vertex,Edge>> incidentTraversal) | 
| static <M> MessageScope.Local<M> | MessageScope.Local. of(Supplier<? extends Traversal<Vertex,Edge>> incidentTraversal,
  BiFunction<M,Edge,M> edgeFunction) | 
| void | GraphFilter. setEdgeFilter(Traversal<Vertex,Edge> edgeFilter)Set the filter for selecting edges from the source graph. | 
| void | GraphFilter. setVertexFilter(Traversal<Vertex,Vertex> vertexFilter)Set the filter for selecting vertices from the source graph. | 
| void | GraphFilter. setVertexFilter(Traversal<Vertex,Vertex> vertexFilter)Set the filter for selecting vertices from the source graph. | 
| static IllegalArgumentException | GraphComputer.Exceptions. vertexFilterAccessesIncidentEdges(Traversal<Vertex,Vertex> vertexFilter) | 
| static IllegalArgumentException | GraphComputer.Exceptions. vertexFilterAccessesIncidentEdges(Traversal<Vertex,Vertex> vertexFilter) | 
| GraphComputer | GraphComputer. vertices(Traversal<Vertex,Vertex> vertexFilter)Add a filter that will limit which vertices are loaded from the graph source. | 
| GraphComputer | GraphComputer. vertices(Traversal<Vertex,Vertex> vertexFilter)Add a filter that will limit which vertices are loaded from the graph source. | 
| Computer | Computer. vertices(Traversal<Vertex,Vertex> vertexFilter) | 
| Computer | Computer. vertices(Traversal<Vertex,Vertex> vertexFilter) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ConnectedComponentVertexProgram. execute(Vertex vertex,
       Messenger<String> messenger,
       Memory memory) | 
| Modifier and Type | Method and Description | 
|---|---|
| ConnectedComponentVertexProgram.Builder | ConnectedComponentVertexProgram.Builder. edges(Traversal.Admin<Vertex,Edge> edgeTraversal) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | PeerPressureVertexProgram. execute(Vertex vertex,
       Messenger<org.javatuples.Pair<Serializable,Double>> messenger,
       Memory memory) | 
| 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) | 
| 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 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 | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ShortestPathVertexProgram. execute(Vertex vertex,
       Messenger<org.javatuples.Triplet<Path,Edge,Number>> messenger,
       Memory memory) | 
| Modifier and Type | Method and Description | 
|---|---|
| ShortestPathVertexProgram.Builder | ShortestPathVertexProgram.Builder. edgeTraversal(Traversal<Vertex,Edge> edgeTraversal) | 
| ShortestPathVertexProgram.Builder | ShortestPathVertexProgram.Builder. source(Traversal<Vertex,?> sourceVertexFilter) | 
| ShortestPathVertexProgram.Builder | ShortestPathVertexProgram.Builder. target(Traversal<Vertex,?> targetVertexFilter) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | TraversalVertexProgram. execute(Vertex vertex,
       Messenger<org.apache.tinkerpop.gremlin.process.traversal.traverser.util.TraverserSet<Object>> messenger,
       Memory memory) | 
| Modifier and Type | Method and Description | 
|---|---|
| default GraphTraversal<S,Vertex> | GraphTraversal. addV()Adds a  Vertexwith a default vertex label. | 
| GraphTraversal<Vertex,Vertex> | GraphTraversalSource. addV()Spawns a  GraphTraversalby adding a vertex with the default label. | 
| GraphTraversal<Vertex,Vertex> | GraphTraversalSource. addV()Spawns a  GraphTraversalby adding a vertex with the default label. | 
| default GraphTraversal<S,Vertex> | GraphTraversal. addV(String vertexLabel)Adds a  Vertex. | 
| GraphTraversal<Vertex,Vertex> | GraphTraversalSource. addV(String label)Spawns a  GraphTraversalby adding a vertex with the specified label. | 
| GraphTraversal<Vertex,Vertex> | GraphTraversalSource. addV(String label)Spawns a  GraphTraversalby adding a vertex with the specified label. | 
| default GraphTraversal<S,Vertex> | GraphTraversal. addV(Traversal<?,String> vertexLabelTraversal) | 
| GraphTraversal<Vertex,Vertex> | GraphTraversalSource. addV(Traversal<?,String> vertexLabelTraversal)Spawns a  GraphTraversalby adding a vertex with the label as determined by aTraversal. | 
| GraphTraversal<Vertex,Vertex> | GraphTraversalSource. addV(Traversal<?,String> vertexLabelTraversal)Spawns a  GraphTraversalby adding a vertex with the label as determined by aTraversal. | 
| default GraphTraversal<S,Vertex> | GraphTraversal. both(String... edgeLabels)Map the  Vertexto its adjacent vertices given the edge labels. | 
| default GraphTraversal<S,Vertex> | GraphTraversal. bothV()Map the  Edgeto its incident vertices. | 
| default GraphTraversal<S,Vertex> | GraphTraversal. in(String... edgeLabels)Map the  Vertexto its incoming adjacent vertices given the edge labels. | 
| default GraphTraversal<S,Vertex> | GraphTraversal. inV() | 
| default GraphTraversal<S,Vertex> | GraphTraversal. otherV()Map the  Edgeto the incident vertex that was not just traversed from in the path history. | 
| default GraphTraversal<S,Vertex> | GraphTraversal. out(String... edgeLabels)Map the  Vertexto 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  Vertexto its adjacent vertices given a direction and edge labels. | 
| default GraphTraversal<S,Vertex> | GraphTraversal. toV(Direction direction)Map the  Edgeto its incident vertices given the direction. | 
| default GraphTraversal<S,Vertex> | GraphTraversal. V(Object... vertexIdsOrElements)A  Vstep is usually used to start a traversal but it may also be used mid-traversal. | 
| GraphTraversal<Vertex,Vertex> | GraphTraversalSource. V(Object... vertexIds)Spawns a  GraphTraversalstarting with all vertices or some subset of vertices as specified by their
 unique identifier. | 
| GraphTraversal<Vertex,Vertex> | GraphTraversalSource. V(Object... vertexIds)Spawns a  GraphTraversalstarting with all vertices or some subset of vertices as specified by their
 unique identifier. | 
| 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 addedEdge. | 
| 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 addedEdge. | 
| 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 addedEdge. | 
| 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 addedEdge. | 
| Modifier and Type | Method and Description | 
|---|---|
| Vertex | Graph. addVertex(Object... keyValues)Add a  Vertexto the graph given an optional series of key/value pairs. | 
| default Vertex | Graph. addVertex(String label)Add a  Vertexto the graph with provided vertex label. | 
| Vertex | VertexProperty. element()Gets the  Vertexthat 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. | 
| 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  Iteratorof adjacent vertices. | 
| Iterator<Vertex> | Graph. vertices(Object... vertexIds) | 
| 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 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<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  InputStreamwhich were written byGraphWriter.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  InputStreamwhich 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 an  InputStreamwhich 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 a  Traversalto 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  Vertexfrom output generated by any of theGraphSONWriterwriteVertexorwriteVerticesmethods 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 a  Vertexfrom output generated by any of theGraphSONWriterwriteVertexorwriteVerticesmethods or byGraphSONWriter.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  Vertexobjects from output generated by any of theGraphSONWriterwriteVertexorwriteVerticesmethods or byGraphSONWriter.writeGraph(OutputStream, Graph). | 
| Modifier and Type | Method and Description | 
|---|---|
| void | GraphSONWriter. writeVertex(OutputStream outputStream,
           Vertex v)Writes a single  Vertexwith no edges serialized. | 
| void | GraphSONWriter. writeVertex(OutputStream outputStream,
           Vertex v,
           Direction direction)Writes a single  Vertexto 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  Vertexfrom output generated by any of theGraphSONWriterwriteVertexorwriteVerticesmethods or byGraphSONWriter.writeGraph(OutputStream, Graph). | 
| Vertex | GraphSONReader. readVertex(InputStream inputStream,
          Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)Read a  Vertexfrom output generated by any of theGraphSONWriterwriteVertexorwriteVerticesmethods 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 a  Vertexfrom output generated by any of theGraphSONWriterwriteVertexorwriteVerticesmethods 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 a  Vertexfrom output generated by any of theGraphSONWriterwriteVertexorwriteVerticesmethods 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)Read  Vertexobjects from output generated by any of theGraphSONWriterwriteVertexorwriteVerticesmethods 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)Read  Vertexobjects from output generated by any of theGraphSONWriterwriteVertexorwriteVerticesmethods 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| Vertex | GryoReader. readVertex(InputStream inputStream,
          Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)Read a  Vertexfrom output generated by any of theGryoWriterwriteVertexorwriteVerticesmethods 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 a  Vertexfrom output generated by any of theGryoWriterwriteVertexorwriteVerticesmethods or byGryoWriter.writeGraph(OutputStream, Graph). | 
| Modifier and Type | Method and 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)Read  Vertexobjects from output generated by any of theGryoWriterwriteVertexorwriteVerticesmethods or byGryoWriter.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  Vertexfrom output generated by any of theGryoWriterwriteVertexorwriteVerticesmethods or byGryoWriter.writeGraph(OutputStream, Graph). | 
| Vertex | GryoReader. readVertex(InputStream inputStream,
          Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Vertex>,Vertex> vertexAttachMethod)Read a  Vertexfrom output generated by any of theGryoWriterwriteVertexorwriteVerticesmethods 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 a  Vertexfrom output generated by any of theGryoWriterwriteVertexorwriteVerticesmethods 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 a  Vertexfrom output generated by any of theGryoWriterwriteVertexorwriteVerticesmethods 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)Read  Vertexobjects from output generated by any of theGryoWriterwriteVertexorwriteVerticesmethods 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)Read  Vertexobjects from output generated by any of theGryoWriterwriteVertexorwriteVerticesmethods 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 a  Traversalto a stream with its associated edges. | 
Copyright © 2013–2021 Apache Software Foundation. All rights reserved.