public class AllEdgesIterable extends Object
Iterables over all JanusGraphEdges connecting a provided set of vertices.
Given a set of vertices, one may be interested in all edges that are contained in the subgraph spanned
by those vertices.| Modifier and Type | Method and Description |
|---|---|
static Iterable<org.apache.tinkerpop.gremlin.structure.Edge> |
of(Iterable<? extends org.apache.tinkerpop.gremlin.structure.Vertex> vertices)
Returns an iterable over all edges incident on the vertices returned by the given Iterable over vertices.
|
static Iterable<org.apache.tinkerpop.gremlin.structure.Edge> |
of(Set<? extends org.apache.tinkerpop.gremlin.structure.Vertex> vertices)
Returns an iterable over all edges contained in the subgraph spanned by the given vertices.
|
public static Iterable<org.apache.tinkerpop.gremlin.structure.Edge> of(Iterable<? extends org.apache.tinkerpop.gremlin.structure.Vertex> vertices)
vertices - Iterable over a set of vertices defining a connected component.public static Iterable<org.apache.tinkerpop.gremlin.structure.Edge> of(Set<? extends org.apache.tinkerpop.gremlin.structure.Vertex> vertices)
vertices - Set of verticesCopyright © 2012–2017. All rights reserved.