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) |
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 <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 |
---|---|
default GraphTraversal<S,Edge> |
GraphTraversal.addE(Direction direction,
String firstVertexKeyOrEdgeLabel,
String edgeLabelOrSecondVertexKey,
Object... propertyKeyValues)
Deprecated.
As of release 3.1.0, replaced by
GraphTraversal.addE(String) |
default GraphTraversal<S,Edge> |
GraphTraversal.addE(String edgeLabel) |
default GraphTraversal<S,Edge> |
GraphTraversal.addInE(String firstVertexKeyOrEdgeLabel,
String edgeLabelOrSecondVertexKey,
Object... propertyKeyValues)
Deprecated.
As of release 3.1.0, replaced by
GraphTraversal.addE(String) |
default GraphTraversal<S,Edge> |
GraphTraversal.addOutE(String firstVertexKeyOrEdgeLabel,
String edgeLabelOrSecondVertexKey,
Object... propertyKeyValues)
Deprecated.
As of release 3.1.0, replaced by
GraphTraversal.addE(String) |
default GraphTraversal<S,Edge> |
GraphTraversal.bothE(String... edgeLabels)
Map the
Vertex to 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
Vertex to its incoming incident edges given the edge labels. |
default GraphTraversal<S,Edge> |
GraphTraversal.outE(String... edgeLabels)
Map the
Vertex to its outgoing incident edges given the edge labels. |
default GraphTraversal<S,Edge> |
GraphTraversal.subgraph(String sideEffectKey) |
default GraphTraversal<S,Edge> |
GraphTraversal.toE(Direction direction,
String... edgeLabels)
Map the
Vertex to 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
Iterator of 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
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) . |
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
Edge from output generated by GraphSONWriter.writeEdge(OutputStream, Edge) or via
an Edge passed to GraphSONWriter.writeObject(OutputStream, Object) . |
Modifier and Type | Method and Description |
---|---|
void |
GraphSONWriter.writeEdge(OutputStream outputStream,
Edge e)
Writes an
Edge object 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
Edge from output generated by GraphSONWriter.writeEdge(OutputStream, Edge) or via
an Edge passed to GraphSONWriter.writeObject(OutputStream, Object) . |
Edge |
GraphSONReader.readEdge(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>,Edge> edgeAttachMethod)
Read an
Edge from output generated by GraphSONWriter.writeEdge(OutputStream, Edge) or via
an Edge passed to GraphSONWriter.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
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) . |
Modifier and Type | Method and Description |
---|---|
Edge |
GryoReader.readEdge(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>,Edge> edgeAttachMethod)
Read an
Edge from output generated by GryoWriter.writeEdge(OutputStream, Edge) or via
an Edge passed to GryoWriter.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
Edge from output generated by GryoWriter.writeEdge(OutputStream, Edge) or via
an Edge passed to GryoWriter.writeObject(OutputStream, Object) . |
Edge |
GryoReader.readEdge(InputStream inputStream,
Function<org.apache.tinkerpop.gremlin.structure.util.Attachable<Edge>,Edge> edgeAttachMethod)
Read an
Edge from output generated by GryoWriter.writeEdge(OutputStream, Edge) or via
an Edge passed to GryoWriter.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
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) . |
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.