| Modifier and Type | Method and Description | 
|---|---|
| Edge | Result. getEdge()Gets the result item by casting it to an  Edge. | 
| Modifier and Type | Field and Description | 
|---|---|
| BiFunction<M,Edge,M> | MessageScope.Local. edgeFunction | 
| 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. | 
| BiFunction<M,Edge,M> | MessageScope.Local. getEdgeFunction() | 
| Traversal<Vertex,Edge> | Computer. getEdges() | 
| Supplier<? extends Traversal<Vertex,Edge>> | MessageScope.Local. getIncidentTraversal() | 
| Iterator<Edge> | GraphFilter. legalEdges(Vertex vertex)Returns an iterator of legal edges incident to the provided vertex. | 
| Modifier and Type | Method and Description | 
|---|---|
| static IllegalArgumentException | GraphComputer.Exceptions. edgeFilterAccessesAdjacentVertices(Traversal<Vertex,Edge> edgeFilter) | 
| Computer | Computer. edges(Traversal<Vertex,Edge> edgeFilter) | 
| GraphComputer | GraphComputer. edges(Traversal<Vertex,Edge> edgeFilter)Add a filter that will limit which edges of the vertices are loaded from the graph source. | 
| 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) | 
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| PeerPressureVertexProgram.Builder | PeerPressureVertexProgram.Builder. edges(Traversal.Admin<Vertex,Edge> edgeTraversal) | 
| 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 | 
|---|---|
| PageRankVertexProgram.Builder | PageRankVertexProgram.Builder. edges(Traversal.Admin<Vertex,Edge> edgeTraversal) | 
| 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 | Method and Description | 
|---|---|
| GraphTraversal<Edge,Edge> | GraphTraversalSource. addE(String label) | 
| GraphTraversal<Edge,Edge> | GraphTraversalSource. addE(String label) | 
| default GraphTraversal<S,Edge> | GraphTraversal. addE(String edgeLabel)Adds an  Edgewith the specified edge label. | 
| default GraphTraversal<S,Edge> | GraphTraversal. bothE(String... edgeLabels)Map the  Vertexto its incident edges given the edge labels. | 
| GraphTraversal<Edge,Edge> | GraphTraversalSource. E(Object... edgesIds) | 
| GraphTraversal<Edge,Edge> | GraphTraversalSource. E(Object... edgesIds) | 
| default GraphTraversal<S,Edge> | GraphTraversal. inE(String... edgeLabels)Map the  Vertexto its incoming incident edges given the edge labels. | 
| default GraphTraversal<S,Edge> | GraphTraversal. outE(String... edgeLabels)Map the  Vertexto its outgoing incident edges given the edge labels. | 
| default GraphTraversal<S,Edge> | GraphTraversal. subgraph(String sideEffectKey)Extracts a portion of the graph being traversed into a  Graphobject held in the specified side-effect
 key. | 
| default GraphTraversal<S,Edge> | GraphTraversal. toE(Direction direction,
   String... edgeLabels)Map the  Vertexto its incident edges given the direction and edge labels. | 
| 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 | 
|---|---|
| Iterator<Edge> | Vertex. edges(Direction direction,
     String... edgeLabels)Gets an  Iteratorof incident edges. | 
| Iterator<Edge> | Graph. edges(Object... edgeIds) | 
| Modifier and Type | Method and Description | 
|---|---|
| Edge | GraphReader. readEdge(InputStream inputStream,
        Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>,Edge> edgeAttachMethod)Reads a single edge from an  InputStream. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | GraphWriter. writeEdge(OutputStream outputStream,
         Edge e)Write an edge to a stream. | 
| Modifier and Type | Method and Description | 
|---|---|
| Edge | GraphReader. readEdge(InputStream inputStream,
        Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>,Edge> edgeAttachMethod)Reads a single edge from an  InputStream. | 
| Edge | GraphReader. readEdge(InputStream inputStream,
        Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>,Edge> edgeAttachMethod)Reads a single edge 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). | 
| Modifier and Type | Method and Description | 
|---|---|
| Edge | GraphMLReader. readEdge(InputStream inputStream,
        Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>,Edge> edgeAttachMethod)This method is not supported for this reader. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | GraphMLWriter. writeEdge(OutputStream outputStream,
         Edge e)This method is not supported for this writer. | 
| Modifier and Type | Method and Description | 
|---|---|
| Edge | GraphMLReader. readEdge(InputStream inputStream,
        Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>,Edge> edgeAttachMethod)This method is not supported for this reader. | 
| Edge | GraphMLReader. readEdge(InputStream inputStream,
        Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>,Edge> edgeAttachMethod)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. | 
| Modifier and Type | Method and Description | 
|---|---|
| Edge | GraphSONReader. readEdge(InputStream inputStream,
        Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>,Edge> edgeAttachMethod)Read an  Edgefrom output generated byGraphSONWriter.writeEdge(OutputStream, Edge)or via
 anEdgepassed toGraphSONWriter.writeObject(OutputStream, Object). | 
| Modifier and Type | Method and Description | 
|---|---|
| void | GraphSONWriter. writeEdge(OutputStream outputStream,
         Edge e)Writes an  Edgeobject to the stream. | 
| Modifier and Type | Method and Description | 
|---|---|
| Edge | GraphSONReader. readEdge(InputStream inputStream,
        Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>,Edge> edgeAttachMethod)Read an  Edgefrom output generated byGraphSONWriter.writeEdge(OutputStream, Edge)or via
 anEdgepassed toGraphSONWriter.writeObject(OutputStream, Object). | 
| Edge | GraphSONReader. readEdge(InputStream inputStream,
        Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>,Edge> edgeAttachMethod)Read an  Edgefrom output generated byGraphSONWriter.writeEdge(OutputStream, Edge)or via
 anEdgepassed toGraphSONWriter.writeObject(OutputStream, Object). | 
| 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). | 
| Modifier and Type | Method and Description | 
|---|---|
| Edge | GryoReader. readEdge(InputStream inputStream,
        Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>,Edge> edgeAttachMethod)Read an  Edgefrom output generated byGryoWriter.writeEdge(OutputStream, Edge)or via
 anEdgepassed toGryoWriter.writeObject(OutputStream, Object). | 
| Modifier and Type | Method and Description | 
|---|---|
| void | GryoWriter. writeEdge(OutputStream outputStream,
         Edge e)Write an edge to a stream. | 
| Modifier and Type | Method and Description | 
|---|---|
| Edge | GryoReader. readEdge(InputStream inputStream,
        Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>,Edge> edgeAttachMethod)Read an  Edgefrom output generated byGryoWriter.writeEdge(OutputStream, Edge)or via
 anEdgepassed toGryoWriter.writeObject(OutputStream, Object). | 
| Edge | GryoReader. readEdge(InputStream inputStream,
        Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>,Edge> edgeAttachMethod)Read an  Edgefrom output generated byGryoWriter.writeEdge(OutputStream, Edge)or via
 anEdgepassed toGryoWriter.writeObject(OutputStream, Object). | 
| 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). | 
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.