Modifier and Type | Method and Description |
---|---|
static void |
TestHelper.validateEdgeEquality(Edge originalEdge,
Edge otherEdge) |
Modifier and Type | Field and Description |
---|---|
protected Optional<Consumer<Edge>> |
AbstractGenerator.AbstractGeneratorBuilder.edgeProcessor |
Modifier and Type | Method and Description |
---|---|
protected Edge |
AbstractGenerator.addEdge(Vertex out,
Vertex in) |
Modifier and Type | Method and Description |
---|---|
T |
AbstractGenerator.AbstractGeneratorBuilder.edgeProcessor(Consumer<Edge> edgeProcessor) |
Modifier and Type | Method and Description |
---|---|
Edge |
Result.getEdge()
Gets the result item by casting it to an
Edge . |
Modifier and Type | Method and Description |
---|---|
protected Edge |
EdgeSerializer.readValue(ByteBuf buffer,
GraphBinaryReader context) |
Modifier and Type | Method and Description |
---|---|
protected void |
EdgeSerializer.writeValue(Edge value,
ByteBuf buffer,
GraphBinaryWriter context) |
Modifier and Type | Method and Description |
---|---|
GraphComputer |
AbstractHadoopGraphComputer.edges(Traversal<Vertex,Edge> edgeFilter) |
Modifier and Type | Class and Description |
---|---|
class |
HadoopEdge |
Modifier and Type | Method and Description |
---|---|
Edge |
HadoopVertex.addEdge(String label,
Vertex inVertex,
Object... keyValues) |
Edge |
HadoopEdge.getBaseEdge() |
Modifier and Type | Method and Description |
---|---|
Iterator<Edge> |
HadoopVertex.edges(Direction direction,
String... edgeLabels) |
Iterator<Edge> |
HadoopGraph.edges(Object... edgeIds) |
Constructor and Description |
---|
HadoopEdge(Edge edge,
HadoopGraph graph) |
Modifier and Type | Method and Description |
---|---|
Edge |
HadoopEdgeIterator.next() |
Modifier and Type | Class and Description |
---|---|
class |
Neo4jEdge |
Modifier and Type | Method and Description |
---|---|
Edge |
Neo4jVertex.addEdge(String label,
Vertex inVertex,
Object... keyValues) |
Modifier and Type | Method and Description |
---|---|
Iterator<Edge> |
Neo4jVertex.edges(Direction direction,
String... edgeLabels) |
Iterator<Edge> |
Neo4jGraph.edges(Object... edgeIds) |
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.
|
GraphComputer |
GraphComputerTest.BadGraphComputer.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 |
---|---|
default Edge |
BulkLoader.createEdge(Edge edge,
Vertex outVertex,
Vertex inVertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Creates a clone of the given edge between the given in- and out-vertices.
|
Edge |
OneTimeBulkLoader.getOrCreateEdge(Edge edge,
Vertex outVertex,
Vertex inVertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Creates a clone of the given edge between the given in- and out-vertices.
|
Edge |
BulkLoader.getOrCreateEdge(Edge edge,
Vertex outVertex,
Vertex inVertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Gets or creates a clone of the given edge between the given in- and out-vertices.
|
Edge |
IncrementalBulkLoader.getOrCreateEdge(Edge edge,
Vertex outVertex,
Vertex inVertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Gets or creates a clone of the given edge between the given in- and out-vertices.
|
Modifier and Type | Method and Description |
---|---|
default Edge |
BulkLoader.createEdge(Edge edge,
Vertex outVertex,
Vertex inVertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Creates a clone of the given edge between the given in- and out-vertices.
|
Edge |
OneTimeBulkLoader.getOrCreateEdge(Edge edge,
Vertex outVertex,
Vertex inVertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Creates a clone of the given edge between the given in- and out-vertices.
|
Edge |
BulkLoader.getOrCreateEdge(Edge edge,
Vertex outVertex,
Vertex inVertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Gets or creates a clone of the given edge between the given in- and out-vertices.
|
Edge |
IncrementalBulkLoader.getOrCreateEdge(Edge edge,
Vertex outVertex,
Vertex inVertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Gets or creates a clone of the given edge between the given in- and out-vertices.
|
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) |
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 | Field and Description |
---|---|
static PureTraversal<Edge,Number> |
ShortestPathVertexProgram.DEFAULT_DISTANCE_TRAVERSAL |
static PureTraversal<Vertex,Edge> |
ShortestPathVertexProgram.DEFAULT_EDGE_TRAVERSAL |
Modifier and Type | Method and Description |
---|---|
ShortestPathVertexProgram.Builder |
ShortestPathVertexProgram.Builder.distanceTraversal(Traversal<Edge,Number> distanceTraversal) |
ShortestPathVertexProgram.Builder |
ShortestPathVertexProgram.Builder.edgeTraversal(Traversal<Vertex,Edge> edgeTraversal) |
Modifier and Type | Method and Description |
---|---|
List<Traversal.Admin<Vertex,Edge>> |
PeerPressureVertexProgramStep.getLocalChildren() |
List<Traversal.Admin<Vertex,Edge>> |
PageRankVertexProgramStep.getLocalChildren() |
Modifier and Type | Method and Description |
---|---|
VertexProgramStrategy.Builder |
VertexProgramStrategy.Builder.edges(Traversal<Vertex,Edge> edges) |
Modifier and Type | Method and Description |
---|---|
protected static Traversal.Admin<Vertex,Edge> |
GraphFilterStrategy.getEdgeFilter(Traversal.Admin<?,?> traversal) |
Modifier and Type | Class and Description |
---|---|
class |
ComputerGraph.ComputerEdge |
Modifier and Type | Method and Description |
---|---|
Edge |
ComputerGraph.ComputerVertex.addEdge(String label,
Vertex inVertex,
Object... keyValues) |
Edge |
ComputerGraph.ComputerAdjacentVertex.addEdge(String label,
Vertex inVertex,
Object... keyValues) |
Edge |
ComputerGraph.ComputerEdge.getBaseEdge() |
Modifier and Type | Method and Description |
---|---|
Iterator<Edge> |
ComputerGraph.ComputerVertex.edges(Direction direction,
String... edgeLabels) |
Iterator<Edge> |
ComputerGraph.ComputerAdjacentVertex.edges(Direction direction,
String... edgeLabels) |
Iterator<Edge> |
ComputerGraph.edges(Object... edgeIds) |
Constructor and Description |
---|
ComputerEdge(Edge edge) |
Modifier and Type | Method and Description |
---|---|
GraphTraversal<Edge,Edge> |
GraphTraversalSource.addE(String label)
Spawns a
GraphTraversal by adding a edge with the specified label. |
GraphTraversal<Edge,Edge> |
GraphTraversalSource.addE(String label)
Spawns a
GraphTraversal by adding a edge with the specified label. |
default GraphTraversal<S,Edge> |
GraphTraversal.addE(String edgeLabel)
Adds an
Edge with the specified edge label. |
static <A> GraphTraversal<A,Edge> |
__.addE(String edgeLabel) |
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.addE(Traversal<?,String> edgeLabelTraversal)
|
static <A> GraphTraversal<A,Edge> |
__.addE(Traversal<?,String> edgeLabelTraversal) |
static GraphTraversal<Vertex,Edge> |
__.bothE(String... edgeLabels) |
default GraphTraversal<S,Edge> |
GraphTraversal.bothE(String... edgeLabels)
Map the
Vertex to its incident edges given the edge labels. |
static GraphTraversal<Edge,Vertex> |
__.bothV() |
GraphTraversal<Edge,Edge> |
GraphTraversalSource.E(Object... edgesIds)
Spawns a
GraphTraversal starting with all edges or some subset of edges as specified by their unique
identifier. |
GraphTraversal<Edge,Edge> |
GraphTraversalSource.E(Object... edgesIds)
Spawns a
GraphTraversal starting with all edges or some subset of edges as specified by their unique
identifier. |
static GraphTraversal<Vertex,Edge> |
__.inE(String... edgeLabels) |
default GraphTraversal<S,Edge> |
GraphTraversal.inE(String... edgeLabels)
Map the
Vertex to its incoming incident edges given the edge labels. |
static GraphTraversal<Edge,Vertex> |
__.inV() |
static GraphTraversal<Edge,Vertex> |
__.otherV() |
static GraphTraversal<Vertex,Edge> |
__.outE(String... edgeLabels) |
default GraphTraversal<S,Edge> |
GraphTraversal.outE(String... edgeLabels)
Map the
Vertex to its outgoing incident edges given the edge labels. |
static GraphTraversal<Edge,Vertex> |
__.outV() |
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. |
static <A> GraphTraversal<A,Edge> |
__.subgraph(String sideEffectKey) |
static GraphTraversal<Vertex,Edge> |
__.toE(Direction direction,
String... edgeLabels) |
default GraphTraversal<S,Edge> |
GraphTraversal.toE(Direction direction,
String... edgeLabels)
Map the
Vertex to its incident edges given the direction and edge labels. |
static GraphTraversal<Edge,Vertex> |
__.toV(Direction direction) |
Modifier and Type | Method and Description |
---|---|
abstract Traversal<Vertex,Edge> |
LocalTest.get_g_VX4X_localXbothEX1_createdX_limitX1XX(Object v4Id) |
Traversal<Vertex,Edge> |
LocalTest.Traversals.get_g_VX4X_localXbothEX1_createdX_limitX1XX(Object v4Id) |
abstract Traversal<Vertex,Edge> |
LocalTest.get_g_VX4X_localXbothEXknows_createdX_limitX1XX(Object v4Id) |
Traversal<Vertex,Edge> |
LocalTest.Traversals.get_g_VX4X_localXbothEXknows_createdX_limitX1XX(Object v4Id) |
Modifier and Type | Method and Description |
---|---|
protected Edge |
AddEdgeStep.map(Traverser.Admin<S> traverser) |
Modifier and Type | Method and Description |
---|---|
protected Iterator<Vertex> |
EdgeVertexStep.flatMap(Traverser.Admin<Edge> traverser) |
protected Vertex |
EdgeOtherVertexStep.map(Traverser.Admin<Edge> traverser) |
Modifier and Type | Method and Description |
---|---|
protected void |
SubgraphStep.sideEffect(Traverser.Admin<Edge> traverser) |
Modifier and Type | Method and Description |
---|---|
void |
ConsoleMutationListener.edgeAdded(Edge edge) |
void |
MutationListener.edgeAdded(Edge edge)
Raised after a new
Edge is added. |
void |
ConsoleMutationListener.edgePropertyChanged(Edge element,
Property oldValue,
Object setValue) |
void |
MutationListener.edgePropertyChanged(Edge element,
Property oldValue,
Object setValue)
Raised after the property of a
Edge changed. |
void |
ConsoleMutationListener.edgePropertyRemoved(Edge element,
Property removedValue) |
void |
MutationListener.edgePropertyRemoved(Edge element,
Property property)
|
void |
ConsoleMutationListener.edgeRemoved(Edge edge) |
void |
MutationListener.edgeRemoved(Edge edge)
Raised after an
Edge was removed from the graph. |
Constructor and Description |
---|
EdgeAddedEvent(Edge edge) |
EdgePropertyChangedEvent(Edge edge,
Property oldValue,
Object newValue) |
EdgePropertyRemovedEvent(Edge element,
Property removed) |
EdgeRemovedEvent(Edge edge) |
Modifier and Type | Method and Description |
---|---|
Traversal<Edge,?> |
SubgraphStrategy.getEdgeCriterion() |
Modifier and Type | Method and Description |
---|---|
SubgraphStrategy.Builder |
SubgraphStrategy.Builder.edges(Traversal<Edge,?> edgePredicate)
The traversal predicate that defines the edges to include in the subgraph.
|
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)
|
Iterator<Edge> |
RemoteGraph.edges(Object... edgeIds)
This method returns an empty
Iterator - it is not meant to be called directly. |
Modifier and Type | Method and Description |
---|---|
Edge |
GraphReader.readEdge(InputStream inputStream,
Function<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<Attachable<Edge>,Edge> edgeAttachMethod)
Reads a single edge from an
InputStream . |
Edge |
GraphReader.readEdge(InputStream inputStream,
Function<Attachable<Edge>,Edge> edgeAttachMethod)
Reads a single edge from an
InputStream . |
Vertex |
GraphReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
Reads a single vertex from an
InputStream . |
Vertex |
GraphReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
Reads a single vertex from an
InputStream . |
Iterator<Vertex> |
GraphReader.readVertices(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<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<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<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<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<Attachable<Edge>,Edge> edgeAttachMethod)
This method is not supported for this reader.
|
Edge |
GraphMLReader.readEdge(InputStream inputStream,
Function<Attachable<Edge>,Edge> edgeAttachMethod)
This method is not supported for this reader.
|
Vertex |
GraphMLReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
This method is not supported for this reader.
|
Vertex |
GraphMLReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
This method is not supported for this reader.
|
Iterator<Vertex> |
GraphMLReader.readVertices(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
This method is not supported for this reader.
|
Iterator<Vertex> |
GraphMLReader.readVertices(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
This method is not supported for this reader.
|
Modifier and Type | Method and Description |
---|---|
Edge |
LegacyGraphSONReader.readEdge(InputStream inputStream,
Function<Attachable<Edge>,Edge> edgeAttachMethod)
This method is not supported for this reader.
|
Edge |
GraphSONReader.readEdge(InputStream inputStream,
Function<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 |
LegacyGraphSONReader.readEdge(InputStream inputStream,
Function<Attachable<Edge>,Edge> edgeAttachMethod)
This method is not supported for this reader.
|
Edge |
LegacyGraphSONReader.readEdge(InputStream inputStream,
Function<Attachable<Edge>,Edge> edgeAttachMethod)
This method is not supported for this reader.
|
Edge |
GraphSONReader.readEdge(InputStream inputStream,
Function<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<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 |
LegacyGraphSONReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
This method is not supported for this reader.
|
Vertex |
LegacyGraphSONReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
This method is not supported for this reader.
|
Vertex |
GraphSONReader.readVertex(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<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<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<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> |
LegacyGraphSONReader.readVertices(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
This method is not supported for this reader.
|
Iterator<Vertex> |
LegacyGraphSONReader.readVertices(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<Attachable<Edge>,Edge> edgeAttachMethod,
Direction attachEdgesOfThisDirection)
This method is not supported for this reader.
|
Iterator<Vertex> |
GraphSONReader.readVertices(InputStream inputStream,
Function<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<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<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<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 |
---|---|
<I extends InputShim> |
GryoSerializersV1d0.EdgeSerializer.read(KryoShim<I,?> kryo,
I input,
Class<Edge> edgeClass) |
<I extends InputShim> |
GryoSerializersV3d0.EdgeSerializer.read(KryoShim<I,?> kryo,
I input,
Class<Edge> edgeClass) |
Edge |
GryoReader.readEdge(InputStream inputStream,
Function<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 |
---|---|
<O extends OutputShim> |
GryoSerializersV1d0.EdgeSerializer.write(KryoShim<?,O> kryo,
O output,
Edge edge) |
<O extends OutputShim> |
GryoSerializersV3d0.EdgeSerializer.write(KryoShim<?,O> kryo,
O output,
Edge edge) |
void |
GryoWriter.writeEdge(OutputStream outputStream,
Edge e)
Write an edge to a stream.
|
Modifier and Type | Method and Description |
---|---|
<I extends InputShim> |
GryoSerializersV1d0.EdgeSerializer.read(KryoShim<I,?> kryo,
I input,
Class<Edge> edgeClass) |
<I extends InputShim> |
GryoSerializersV3d0.EdgeSerializer.read(KryoShim<I,?> kryo,
I input,
Class<Edge> edgeClass) |
Edge |
GryoReader.readEdge(InputStream inputStream,
Function<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<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<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<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<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<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<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<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<Attachable<Vertex>,Vertex> vertexAttachMethod,
Function<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) . |
Modifier and Type | Field and Description |
---|---|
static Comparator<Edge> |
Comparators.EDGE_COMPARATOR
|
Modifier and Type | Method and Description |
---|---|
static Edge |
Attachable.Method.createEdge(Attachable<Edge> attachableEdge,
Graph hostGraph) |
static Edge |
Attachable.Method.createEdge(Attachable<Edge> attachableEdge,
Vertex hostVertex) |
Modifier and Type | Method and Description |
---|---|
static Optional<Edge> |
Attachable.Method.getEdge(Attachable<Edge> attachableEdge,
Graph hostGraph) |
static Optional<Edge> |
Attachable.Method.getEdge(Attachable<Edge> attachableEdge,
Vertex hostVertex) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ElementHelper.areEqual(Edge a,
Edge b) |
static String |
StringFactory.edgeString(Edge edge)
Construct the representation for a
Edge . |
Modifier and Type | Method and Description |
---|---|
static Edge |
Attachable.Method.createEdge(Attachable<Edge> attachableEdge,
Graph hostGraph) |
static Edge |
Attachable.Method.createEdge(Attachable<Edge> attachableEdge,
Vertex hostVertex) |
static Optional<Edge> |
Attachable.Method.getEdge(Attachable<Edge> attachableEdge,
Graph hostGraph) |
static Optional<Edge> |
Attachable.Method.getEdge(Attachable<Edge> attachableEdge,
Vertex hostVertex) |
Modifier and Type | Class and Description |
---|---|
class |
DetachedEdge
|
Modifier and Type | Method and Description |
---|---|
Edge |
DetachedVertex.addEdge(String label,
Vertex inVertex,
Object... keyValues) |
Modifier and Type | Method and Description |
---|---|
Iterator<Edge> |
DetachedVertex.edges(Direction direction,
String... edgeLabels) |
Modifier and Type | Method and Description |
---|---|
static DetachedEdge |
DetachedFactory.detach(Edge edge,
boolean withProperties) |
Constructor and Description |
---|
DetachedEdge(Edge edge,
boolean withProperties) |
Modifier and Type | Method and Description |
---|---|
Iterator<Edge> |
EmptyGraph.edges(Object... edgeIds) |
Modifier and Type | Class and Description |
---|---|
class |
ReferenceEdge |
Modifier and Type | Method and Description |
---|---|
Edge |
ReferenceVertex.addEdge(String label,
Vertex inVertex,
Object... keyValues) |
Modifier and Type | Method and Description |
---|---|
Iterator<Edge> |
ReferenceVertex.edges(Direction direction,
String... edgeLabels) |
Modifier and Type | Method and Description |
---|---|
static ReferenceEdge |
ReferenceFactory.detach(Edge edge) |
Constructor and Description |
---|
ReferenceEdge(Edge edge) |
Modifier and Type | Class and Description |
---|---|
class |
StarGraph.StarEdge |
class |
StarGraph.StarInEdge |
class |
StarGraph.StarOutEdge |
Modifier and Type | Field and Description |
---|---|
protected Map<String,List<Edge>> |
StarGraph.StarVertex.inEdges |
protected Map<String,List<Edge>> |
StarGraph.StarVertex.outEdges |
Modifier and Type | Method and Description |
---|---|
Edge |
StarGraph.StarVertex.addEdge(String label,
Vertex inVertex,
Object... keyValues) |
Edge |
StarGraph.StarAdjacentVertex.addEdge(String label,
Vertex inVertex,
Object... keyValues) |
Modifier and Type | Method and Description |
---|---|
Iterator<Edge> |
StarGraph.StarVertex.edges(Direction direction,
String... edgeLabels) |
Iterator<Edge> |
StarGraph.StarAdjacentVertex.edges(Direction direction,
String... edgeLabels) |
Iterator<Edge> |
StarGraph.edges(Object... edgeIds) |
Modifier and Type | Method and Description |
---|---|
static void |
StarGraphGraphSONDeserializer.readStarGraphEdges(Function<Attachable<Edge>,Edge> edgeMaker,
StarGraph starGraph,
Map<String,Object> vertexData,
String direction)
A helper function for reading vertex edges from a serialized
StarGraph (i.e. |
static void |
StarGraphGraphSONDeserializer.readStarGraphEdges(Function<Attachable<Edge>,Edge> edgeMaker,
StarGraph starGraph,
Map<String,Object> vertexData,
String direction)
A helper function for reading vertex edges from a serialized
StarGraph (i.e. |
Modifier and Type | Method and Description |
---|---|
boolean |
TinkerGraphComputerView.legalEdge(Vertex vertex,
Edge edge) |
Modifier and Type | Method and Description |
---|---|
GraphComputer |
TinkerGraphComputer.edges(Traversal<Vertex,Edge> edgeFilter) |
Modifier and Type | Class and Description |
---|---|
class |
TinkerEdge |
Modifier and Type | Field and Description |
---|---|
protected Map<Object,Edge> |
TinkerGraph.edges |
protected Map<String,Set<Edge>> |
TinkerVertex.inEdges |
protected Map<String,Set<Edge>> |
TinkerVertex.outEdges |
Modifier and Type | Method and Description |
---|---|
Edge |
TinkerVertex.addEdge(String label,
Vertex vertex,
Object... keyValues) |
protected static Edge |
TinkerHelper.addEdge(TinkerGraph graph,
TinkerVertex outVertex,
TinkerVertex inVertex,
String label,
Object... keyValues) |
Modifier and Type | Method and Description |
---|---|
Iterator<Edge> |
TinkerVertex.edges(Direction direction,
String... edgeLabels) |
Iterator<Edge> |
TinkerGraph.edges(Object... edgeIds) |
static Map<Object,Edge> |
TinkerHelper.getEdges(TinkerGraph graph) |
Modifier and Type | Method and Description |
---|---|
protected static void |
TinkerHelper.addInEdge(TinkerVertex vertex,
String label,
Edge edge) |
protected static void |
TinkerHelper.addOutEdge(TinkerVertex vertex,
String label,
Edge edge) |
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.