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 |
---|---|
ConnectedComponentVertexProgram.Builder |
ConnectedComponentVertexProgram.Builder.edges(Traversal.Admin<Vertex,Edge> edgeTraversal) |
Modifier and Type | Method and Description |
---|---|
PeerPressureVertexProgram.Builder |
PeerPressureVertexProgram.Builder.edges(Traversal.Admin<Vertex,Edge> edgeTraversal) |
Modifier and Type | Method and Description |
---|---|
PageRankVertexProgram.Builder |
PageRankVertexProgram.Builder.edges(Traversal.Admin<Vertex,Edge> edgeTraversal) |
Modifier and Type | Field and Description |
---|---|
static org.apache.tinkerpop.gremlin.process.traversal.util.PureTraversal<Edge,Number> |
ShortestPathVertexProgram.DEFAULT_DISTANCE_TRAVERSAL |
static org.apache.tinkerpop.gremlin.process.traversal.util.PureTraversal<Vertex,Edge> |
ShortestPathVertexProgram.DEFAULT_EDGE_TRAVERSAL |
Modifier and Type | Method and Description |
---|---|
VertexProgram<org.javatuples.Triplet<Path,Edge,Number>> |
ShortestPathVertexProgram.clone() |
Modifier and Type | Method and Description |
---|---|
ShortestPathVertexProgram.Builder |
ShortestPathVertexProgram.Builder.distanceTraversal(Traversal<Edge,Number> distanceTraversal) |
ShortestPathVertexProgram.Builder |
ShortestPathVertexProgram.Builder.edgeTraversal(Traversal<Vertex,Edge> edgeTraversal) |
void |
ShortestPathVertexProgram.execute(Vertex vertex,
Messenger<org.javatuples.Triplet<Path,Edge,Number>> messenger,
Memory memory) |
Modifier and Type | Method and Description |
---|---|
protected abstract Script |
Translator.ScriptTranslator.AbstractTypeTranslator.produceScript(Edge o)
Take the
Edge and writes the syntax directly to the member Translator.ScriptTranslator.AbstractTypeTranslator.script variable. |
Modifier and Type | Method and Description |
---|---|
default GraphTraversal<S,Edge> |
GraphTraversal.addE(String edgeLabel)
Adds an
Edge with the specified edge label. |
GraphTraversal<Edge,Edge> |
GraphTraversalSource.addE(String label)
Spawns a
GraphTraversal by adding an edge with the specified label. |
GraphTraversal<Edge,Edge> |
GraphTraversalSource.addE(String label)
Spawns a
GraphTraversal by adding an edge with the specified label. |
default GraphTraversal<S,Edge> |
GraphTraversal.addE(Traversal<?,String> edgeLabelTraversal)
|
GraphTraversal<Edge,Edge> |
GraphTraversalSource.addE(Traversal<?,String> edgeLabelTraversal)
Spawns a
GraphTraversal by adding a edge with a label as specified by the provided Traversal . |
GraphTraversal<Edge,Edge> |
GraphTraversalSource.addE(Traversal<?,String> edgeLabelTraversal)
Spawns a
GraphTraversal by adding a edge with a label as specified by the provided Traversal . |
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... edgeIds)
Spawns a
GraphTraversal starting with all edges or some subset of edges as specified by their unique
identifier. |
GraphTraversal<Edge,Edge> |
GraphTraversalSource.E(Object... edgeIds)
Spawns a
GraphTraversal starting with all edges or some subset of edges as specified by their unique
identifier. |
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.mergeE()
Spawns a
GraphTraversal by doing a merge (i.e. |
GraphTraversal<Edge,Edge> |
GraphTraversalSource.mergeE(Map<?,Object> searchCreate)
Spawns a
GraphTraversal by doing a merge (i.e. |
GraphTraversal<Edge,Edge> |
GraphTraversalSource.mergeE(Map<?,Object> searchCreate)
Spawns a
GraphTraversal by doing a merge (i.e. |
default GraphTraversal<S,Edge> |
GraphTraversal.mergeE(Map<Object,Object> searchCreate)
Spawns a
GraphTraversal by doing a merge (i.e. |
default GraphTraversal<S,Edge> |
GraphTraversal.mergeE(Traversal<?,Map<Object,Object>> searchCreate)
Spawns a
GraphTraversal by doing a merge (i.e. |
GraphTraversal<Edge,Edge> |
GraphTraversalSource.mergeE(Traversal<?,Map<Object,Object>> searchCreate)
Spawns a
GraphTraversal by doing a merge (i.e. |
GraphTraversal<Edge,Edge> |
GraphTraversalSource.mergeE(Traversal<?,Map<Object,Object>> searchCreate)
Spawns a
GraphTraversal by doing a merge (i.e. |
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)
Extracts a portion of the graph being traversed into a
Graph object held in the specified side-effect
key. |
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–2022 Apache Software Foundation. All rights reserved.