| Modifier and Type | Method and Description |
|---|---|
Edge |
Graph.addEdge(Object id,
Vertex outVertex,
Vertex inVertex,
String label)
Add an edge to the graph.
|
Edge |
Vertex.addEdge(String label,
Vertex inVertex)
Add a new outgoing edge from this vertex to the parameter vertex with provided edge label.
|
Edge |
Graph.getEdge(Object id)
Return the edge referenced by the provided object identifier.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<Edge> |
Query.edges()
Execute the query and return the matching edges.
|
Iterable<Edge> |
Graph.getEdges()
Return an iterable to all the edges in the graph.
|
Iterable<Edge> |
Vertex.getEdges(Direction direction,
String... labels)
Return the edges incident to the vertex according to the provided direction and edge labels.
|
Iterable<Edge> |
Graph.getEdges(String key,
Object value)
Return an iterable to all the edges in the graph that have a particular key/value property.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Graph.removeEdge(Edge edge)
Remove the provided edge from the graph.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Edge> |
TinkerGraph.edges |
| Modifier and Type | Method and Description |
|---|---|
Edge |
TinkerGraph.addEdge(Object id,
Vertex outVertex,
Vertex inVertex,
String label) |
Edge |
TinkerGraph.getEdge(Object id) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<Edge> |
TinkerGraph.getEdges() |
Iterable<Edge> |
TinkerGraph.getEdges(String key,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
void |
TinkerGraph.removeEdge(Edge edge) |
| Modifier and Type | Method and Description |
|---|---|
static Edge |
GraphHelper.addEdge(Graph graph,
Object id,
Vertex outVertex,
Vertex inVertex,
String label,
Object... properties)
Add an edge to the graph with specified id and provided properties.
|
static Edge |
EdgeHelper.relabelEdge(Graph graph,
Edge oldEdge,
Object newId,
String newLabel)
An edge is relabeled by creating a new edge with the same properties, but new label.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<Edge> |
DefaultVertexQuery.edges() |
Iterable<Edge> |
DefaultGraphQuery.edges() |
| Modifier and Type | Method and Description |
|---|---|
static String |
StringFactory.edgeString(Edge edge) |
static Vertex |
EdgeHelper.getOther(Edge edge,
Vertex vertex) |
static Edge |
EdgeHelper.relabelEdge(Graph graph,
Edge oldEdge,
Object newId,
String newLabel)
An edge is relabeled by creating a new edge with the same properties, but new label.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
EdgeHelper.relabelEdges(Graph graph,
Iterable<Edge> oldEdges,
String newLabel)
Edges are relabeled by creating new edges with the same properties, but new label.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ElementFactory<V extends Vertex,E extends Edge>
A factory responsible for creating graph elements.
|
| Modifier and Type | Method and Description |
|---|---|
Edge |
GraphElementFactory.createEdge(Object id,
Vertex out,
Vertex in,
String label) |
Edge |
GraphSONUtility.edgeFromJson(InputStream json,
Vertex out,
Vertex in)
Creates an edge from GraphSON using settings supplied in the constructor.
|
static Edge |
GraphSONUtility.edgeFromJson(InputStream json,
Vertex out,
Vertex in,
ElementFactory factory,
GraphSONMode mode,
Set<String> propertyKeys)
Reads an individual Edge from JSON.
|
Edge |
GraphSONUtility.edgeFromJson(com.fasterxml.jackson.databind.JsonNode json,
Vertex out,
Vertex in)
Creates an edge from GraphSON using settings supplied in the constructor.
|
static Edge |
GraphSONUtility.edgeFromJson(com.fasterxml.jackson.databind.JsonNode json,
Vertex out,
Vertex in,
ElementFactory factory,
GraphSONMode mode,
Set<String> propertyKeys)
Reads an individual Edge from JSON.
|
Edge |
GraphSONUtility.edgeFromJson(org.codehaus.jettison.json.JSONObject json,
Vertex out,
Vertex in)
Creates an edge from GraphSON using settings supplied in the constructor.
|
static Edge |
GraphSONUtility.edgeFromJson(org.codehaus.jettison.json.JSONObject json,
Vertex out,
Vertex in,
ElementFactory factory,
GraphSONMode mode,
Set<String> propertyKeys)
Reads an individual Edge from JSON.
|
Edge |
GraphSONUtility.edgeFromJson(String json,
Vertex out,
Vertex in)
Creates an edge from GraphSON using settings supplied in the constructor.
|
static Edge |
GraphSONUtility.edgeFromJson(String json,
Vertex out,
Vertex in,
ElementFactory factory,
GraphSONMode mode,
Set<String> propertyKeys)
Reads an individual Edge from JSON.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Iterable<Edge> |
WrapperVertexQuery.edges() |
abstract Iterable<Edge> |
WrappedGraphQuery.edges() |
| Modifier and Type | Method and Description |
|---|---|
Edge |
BatchGraph.addEdge(Object id,
Vertex outVertex,
Vertex inVertex,
String label) |
Edge |
BatchGraph.addEdge(Object id,
Vertex outVertex,
Vertex inVertex,
String label,
Object... properties) |
protected Edge |
BatchGraph.addEdgeSupport(Vertex outVertex,
Vertex inVertex,
String label) |
Edge |
BatchGraph.getEdge(Object id) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<Edge> |
BatchGraph.getEdges() |
Iterable<Edge> |
BatchGraph.getEdges(String key,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
void |
BatchGraph.removeEdge(Edge edge) |
| Modifier and Type | Class and Description |
|---|---|
class |
EventEdge
An edge with a GraphChangedListener attached.
|
| Modifier and Type | Method and Description |
|---|---|
Edge |
EventGraph.addEdge(Object id,
Vertex outVertex,
Vertex inVertex,
String label)
Raises an edgeAdded event.
|
Edge |
EventVertex.addEdge(String label,
Vertex vertex) |
Edge |
EventEdge.getBaseEdge() |
Edge |
EventGraph.getEdge(Object id) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<Edge> |
EventGraph.getEdges() |
Iterable<Edge> |
EventVertex.getEdges(Direction direction,
String... labels) |
Iterable<Edge> |
EventGraph.getEdges(String key,
Object value) |
Iterator<Edge> |
EventEdgeIterable.iterator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
EventGraph.onEdgeAdded(Edge edge) |
protected void |
EventElement.onEdgePropertyChanged(Edge edge,
String key,
Object oldValue,
Object newValue) |
protected void |
EventElement.onEdgePropertyRemoved(Edge edge,
String key,
Object removedValue) |
protected void |
EventGraph.onEdgeRemoved(Edge edge,
Map<String,Object> props) |
void |
EventGraph.removeEdge(Edge edge)
Raises an edgeRemoved event.
|
| Constructor and Description |
|---|
EventEdge(Edge rawEdge,
EventGraph eventGraph) |
| Constructor and Description |
|---|
EventEdgeIterable(Iterable<Edge> iterable,
EventGraph eventGraph) |
| Modifier and Type | Method and Description |
|---|---|
void |
StubGraphChangedListener.edgeAdded(Edge edge) |
void |
GraphChangedListener.edgeAdded(Edge edge)
Raised after a new edge is added.
|
void |
ConsoleGraphChangedListener.edgeAdded(Edge edge) |
void |
StubGraphChangedListener.edgePropertyChanged(Edge edge,
String s,
Object o,
Object n) |
void |
GraphChangedListener.edgePropertyChanged(Edge edge,
String key,
Object oldValue,
Object setValue)
Raised after the property of a edge changed.
|
void |
ConsoleGraphChangedListener.edgePropertyChanged(Edge edge,
String key,
Object oldValue,
Object newValue) |
void |
StubGraphChangedListener.edgePropertyRemoved(Edge edge,
String s,
Object o) |
void |
GraphChangedListener.edgePropertyRemoved(Edge edge,
String key,
Object removedValue)
Raised after an edge property was removed.
|
void |
ConsoleGraphChangedListener.edgePropertyRemoved(Edge edge,
String key,
Object removedValue) |
void |
StubGraphChangedListener.edgeRemoved(Edge edge,
Map<String,Object> props) |
void |
GraphChangedListener.edgeRemoved(Edge edge,
Map<String,Object> props)
Raised after an edge was removed from the graph.
|
void |
ConsoleGraphChangedListener.edgeRemoved(Edge edge,
Map<String,Object> props) |
| Constructor and Description |
|---|
EdgeAddedEvent(Edge edge) |
EdgePropertyChangedEvent(Edge edge,
String key,
Object oldValue,
Object newValue) |
EdgePropertyEvent(Edge edge,
String key,
Object oldValue,
Object newValue) |
EdgePropertyRemovedEvent(Edge vertex,
String key,
Object oldValue) |
EdgeRemovedEvent(Edge edge,
Map<String,Object> props) |
| Modifier and Type | Class and Description |
|---|---|
class |
IdEdge |
| Modifier and Type | Method and Description |
|---|---|
Edge |
IdGraph.addEdge(Object id,
Vertex outVertex,
Vertex inVertex,
String label) |
Edge |
IdVertex.addEdge(String label,
Vertex vertex) |
Edge |
IdEdge.getBaseEdge() |
Edge |
IdGraph.getEdge(Object id) |
| Modifier and Type | Method and Description |
|---|---|
CloseableIterable<Edge> |
IdEdgeIndex.get(String key,
Object value) |
Iterable<Edge> |
IdGraph.getEdges() |
Iterable<Edge> |
IdVertex.getEdges(Direction direction,
String... labels) |
Iterable<Edge> |
IdGraph.getEdges(String key,
Object value) |
Class<Edge> |
IdEdgeIndex.getIndexClass() |
CloseableIterable<Edge> |
IdEdgeIndex.query(String key,
Object query) |
| Modifier and Type | Method and Description |
|---|---|
void |
IdEdgeIndex.put(String key,
Object value,
Edge element) |
void |
IdEdgeIndex.remove(String key,
Object value,
Edge element) |
void |
IdGraph.removeEdge(Edge edge) |
| Constructor and Description |
|---|
IdEdge(Edge base,
IdGraph idGraph) |
| Constructor and Description |
|---|
IdEdgeIndex(Index<Edge> baseIndex,
IdGraph idGraph) |
| Modifier and Type | Class and Description |
|---|---|
class |
PartitionEdge |
| Modifier and Type | Method and Description |
|---|---|
Edge |
PartitionGraph.addEdge(Object id,
Vertex outVertex,
Vertex inVertex,
String label) |
Edge |
PartitionVertex.addEdge(String label,
Vertex vertex) |
Edge |
PartitionEdge.getBaseEdge() |
Edge |
PartitionGraph.getEdge(Object id) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<Edge> |
PartitionGraph.getEdges() |
Iterable<Edge> |
PartitionVertex.getEdges(Direction direction,
String... labels) |
Iterable<Edge> |
PartitionGraph.getEdges(String key,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
void |
PartitionGraph.removeEdge(Edge edge) |
| Constructor and Description |
|---|
PartitionEdge(Edge baseEdge,
PartitionGraph graph) |
| Modifier and Type | Class and Description |
|---|---|
class |
ReadOnlyEdge |
| Modifier and Type | Method and Description |
|---|---|
Edge |
ReadOnlyGraph.addEdge(Object id,
Vertex outVertex,
Vertex inVertex,
String label) |
Edge |
ReadOnlyVertex.addEdge(String label,
Vertex vertex) |
Edge |
ReadOnlyGraph.getEdge(Object id) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<Edge> |
ReadOnlyGraph.getEdges() |
Iterable<Edge> |
ReadOnlyVertex.getEdges(Direction direction,
String... labels) |
Iterable<Edge> |
ReadOnlyGraph.getEdges(String key,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
void |
ReadOnlyGraph.removeEdge(Edge edge) |
| Constructor and Description |
|---|
ReadOnlyEdge(Edge baseEdge) |
| Modifier and Type | Class and Description |
|---|---|
class |
WrappedEdge |
| Modifier and Type | Method and Description |
|---|---|
Edge |
WrappedGraph.addEdge(Object id,
Vertex outVertex,
Vertex inVertex,
String label) |
Edge |
WrappedVertex.addEdge(String label,
Vertex vertex) |
Edge |
WrappedEdge.getBaseEdge() |
Edge |
WrappedGraph.getEdge(Object id) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<Edge> |
WrappedGraph.getEdges() |
Iterable<Edge> |
WrappedVertex.getEdges(Direction direction,
String... labels) |
Iterable<Edge> |
WrappedGraph.getEdges(String key,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
void |
WrappedGraph.removeEdge(Edge edge) |
| Constructor and Description |
|---|
WrappedEdge(Edge baseEdge) |
Copyright © 2010-2014. All Rights Reserved.