| Modifier and Type | Method and Description |
|---|---|
Graph |
ComputerResult.graph()
|
| Modifier and Type | Method and Description |
|---|---|
GraphComputer |
Computer.apply(Graph graph) |
<P extends VertexProgram> |
VertexProgram.Builder.create(Graph graph) |
static <M extends MapReduce> |
MapReduce.createMapReduce(Graph graph,
org.apache.commons.configuration.Configuration configuration)
A helper method to construct a
MapReduce given the content of the supplied configuration. |
static <V extends VertexProgram> |
VertexProgram.createVertexProgram(Graph graph,
org.apache.commons.configuration.Configuration configuration)
A helper method to construct a
VertexProgram given the content of the supplied configuration. |
default void |
MapReduce.loadState(Graph graph,
org.apache.commons.configuration.Configuration configuration)
When it is necessary to load the state of a MapReduce job, this method is called.
|
default void |
VertexProgram.loadState(Graph graph,
org.apache.commons.configuration.Configuration configuration)
When it is necessary to load the state of the VertexProgram, this method is called.
|
| Modifier and Type | Method and Description |
|---|---|
BulkDumperVertexProgram |
BulkDumperVertexProgram.Builder.create(Graph graph) |
| Modifier and Type | Method and Description |
|---|---|
BulkLoaderVertexProgram |
BulkLoaderVertexProgram.Builder.create(Graph graph) |
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.
|
default VertexProperty |
BulkLoader.createVertexProperty(VertexProperty<?> property,
Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Creates a clone of the given property for the given vertex.
|
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 |
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.
|
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.
|
Vertex |
OneTimeBulkLoader.getOrCreateVertex(Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Creates a clone of the given vertex in the given graph.
|
Vertex |
IncrementalBulkLoader.getOrCreateVertex(Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Gets or creates a clone of the given vertex in the given graph.
|
Vertex |
BulkLoader.getOrCreateVertex(Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Gets or creates a clone of the given vertex in the given graph.
|
VertexProperty |
OneTimeBulkLoader.getOrCreateVertexProperty(VertexProperty<?> property,
Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Creates a clone of the given property for the given vertex.
|
VertexProperty |
IncrementalBulkLoader.getOrCreateVertexProperty(VertexProperty<?> property,
Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Gets or creates a clone of the given property for the given vertex.
|
VertexProperty |
BulkLoader.getOrCreateVertexProperty(VertexProperty<?> property,
Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Gets or creates a clone of the given property for the given vertex.
|
Vertex |
OneTimeBulkLoader.getVertex(Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Get a vertex that matches the given vertex from the given graph.
|
Vertex |
IncrementalBulkLoader.getVertex(Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Get a vertex that matches the given vertex from the given graph.
|
Vertex |
BulkLoader.getVertex(Vertex vertex,
Graph graph,
GraphTraversalSource g)
Deprecated.
Get a vertex that matches the given vertex from the given graph.
|
default Vertex |
BulkLoader.getVertexById(Object id,
Graph graph,
GraphTraversalSource g)
Deprecated.
Gets a vertex by its ID from the given graph.
|
void |
BulkLoaderVertexProgram.loadState(Graph graph,
org.apache.commons.configuration.Configuration config)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
CloneVertexProgram |
CloneVertexProgram.Builder.create(Graph graph) |
| Modifier and Type | Method and Description |
|---|---|
void |
ConnectedComponentVertexProgram.loadState(Graph graph,
org.apache.commons.configuration.Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClusterPopulationMapReduce.loadState(Graph graph,
org.apache.commons.configuration.Configuration configuration) |
void |
ClusterCountMapReduce.loadState(Graph graph,
org.apache.commons.configuration.Configuration configuration) |
void |
PeerPressureVertexProgram.loadState(Graph graph,
org.apache.commons.configuration.Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
PageRankVertexProgram.loadState(Graph graph,
org.apache.commons.configuration.Configuration configuration) |
void |
PageRankMapReduce.loadState(Graph graph,
org.apache.commons.configuration.Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
ShortestPathVertexProgram.loadState(Graph graph,
org.apache.commons.configuration.Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
TraversalVertexProgram.loadState(Graph graph,
org.apache.commons.configuration.Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
VertexProgram |
VertexComputing.generateProgram(Graph graph,
Memory memory)
Generate the
VertexProgram. |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Traverser.Admin<S>> |
ComputerResultStep.attach(Iterator<Traverser.Admin<S>> iterator,
Graph graph) |
TraversalVertexProgram |
TraversalVertexProgramStep.generateProgram(Graph graph,
Memory memory) |
ConnectedComponentVertexProgram |
ConnectedComponentVertexProgramStep.generateProgram(Graph graph,
Memory memory) |
PeerPressureVertexProgram |
PeerPressureVertexProgramStep.generateProgram(Graph graph,
Memory memory) |
PageRankVertexProgram |
PageRankVertexProgramStep.generateProgram(Graph graph,
Memory memory) |
VertexProgram |
ProgramVertexProgramStep.generateProgram(Graph graph,
Memory memory) |
ShortestPathVertexProgram |
ShortestPathVertexProgramStep.generateProgram(Graph graph,
Memory memory) |
| Modifier and Type | Class and Description |
|---|---|
class |
ComputerGraph |
| Modifier and Type | Field and Description |
|---|---|
protected Graph |
DefaultComputerResult.graph |
| Modifier and Type | Method and Description |
|---|---|
Graph |
ComputerGraph.ComputerElement.graph() |
Graph |
ComputerGraph.ComputerAdjacentVertex.graph() |
Graph |
DefaultComputerResult.graph() |
| Modifier and Type | Method and Description |
|---|---|
<P extends VertexProgram> |
AbstractVertexProgramBuilder.create(Graph graph) |
| Constructor and Description |
|---|
DefaultComputerResult(Graph graph,
Memory memory) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Graph> |
AbstractRemoteTraversal.getGraph() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractRemoteTraversal.setGraph(Graph graph) |
| Modifier and Type | Method and Description |
|---|---|
Graph |
TraversalSource.getGraph()
Get the
Graph associated with this traversal source. |
| Modifier and Type | Method and Description |
|---|---|
Optional<Graph> |
Traversal.Admin.getGraph()
|
| Modifier and Type | Method and Description |
|---|---|
void |
Traversal.Admin.setGraph(Graph graph) |
T |
AnonymousTraversalSource.withGraph(Graph graph)
Creates the specified
TraversalSource binding a Graph as its reference such that traversals
spawned from it will execute over that reference. |
| Modifier and Type | Field and Description |
|---|---|
protected Graph |
GraphTraversalSource.graph |
| Modifier and Type | Method and Description |
|---|---|
Graph |
GraphTraversalSource.getGraph() |
| Constructor and Description |
|---|
DefaultGraphTraversal(Graph graph) |
GraphTraversalSource(Graph graph) |
GraphTraversalSource(Graph graph,
TraversalStrategies traversalStrategies) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Graph> |
AbstractLambdaTraversal.getGraph() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractLambdaTraversal.setGraph(Graph graph) |
| Constructor and Description |
|---|
ConsoleMutationListener(Graph graph) |
| Constructor and Description |
|---|
TransactionalEventQueue(Graph graph) |
| Modifier and Type | Field and Description |
|---|---|
protected Graph |
DefaultTraversal.graph |
| Modifier and Type | Method and Description |
|---|---|
Optional<Graph> |
DefaultTraversal.getGraph() |
Optional<Graph> |
EmptyTraversal.getGraph() |
| Modifier and Type | Method and Description |
|---|---|
Traversal.Admin<S,E> |
TraversalClassFunction.apply(Graph graph) |
Traversal.Admin<S,E> |
TraversalObjectFunction.apply(Graph graph) |
T |
TraversalSourceFactory.createTraversalSource(Graph graph) |
static <S,E> PureTraversal<S,E> |
PureTraversal.loadState(org.apache.commons.configuration.Configuration configuration,
String configurationKey,
Graph graph) |
void |
DefaultTraversal.setGraph(Graph graph) |
void |
EmptyTraversal.setGraph(Graph graph) |
| Constructor and Description |
|---|
DefaultTraversal(Graph graph) |
| Modifier and Type | Method and Description |
|---|---|
<G extends Graph> |
Transaction.createThreadedTx()
Creates a transaction that can be executed across multiple threads.
|
| Modifier and Type | Method and Description |
|---|---|
default Graph |
VertexProperty.graph()
Get the graph that this element is within.
|
Graph |
Element.graph()
Get the graph that this element is within.
|
| Modifier and Type | Method and Description |
|---|---|
Io.Builder<? extends Io> |
Io.Builder.graph(Graph g)
Providers use this method to supply the current instance of their
Graph to the builder. |
static void |
GraphMigrator.migrateGraph(Graph fromGraph,
Graph toGraph)
Use Gryo to pipe the data from one graph to another graph.
|
static void |
GraphMigrator.migrateGraph(Graph fromGraph,
Graph toGraph,
GraphReader reader,
GraphWriter writer)
Pipe the data from one graph to another graph.
|
void |
GraphReader.readGraph(InputStream inputStream,
Graph graphToWriteTo)
Reads an entire graph from an
InputStream. |
void |
GraphWriter.writeGraph(OutputStream outputStream,
Graph g)
Write the entire graph to a stream.
|
| Modifier and Type | Method and Description |
|---|---|
protected Graph |
GraphSerializer.readValue(Buffer buffer,
GraphBinaryReader context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
GraphSerializer.writeValue(Graph value,
Buffer buffer,
GraphBinaryWriter context) |
| Modifier and Type | Method and Description |
|---|---|
Io.Builder<GraphMLIo> |
GraphMLIo.Builder.graph(Graph g) |
void |
GraphMLReader.readGraph(InputStream graphInputStream,
Graph graphToWriteTo) |
void |
GraphMLWriter.writeGraph(OutputStream outputStream,
Graph g)
Write the data in a Graph to a GraphML OutputStream.
|
| Modifier and Type | Method and Description |
|---|---|
Io.Builder<GraphSONIo> |
GraphSONIo.Builder.graph(Graph g) |
void |
LegacyGraphSONReader.readGraph(InputStream inputStream,
Graph graphToWriteTo) |
void |
GraphSONReader.readGraph(InputStream inputStream,
Graph graphToWriteTo)
Read data into a
Graph from output generated by any of the GraphSONWriter writeVertex or
writeVertices methods or by GryoWriter.writeGraph(OutputStream, Graph). |
void |
GraphSONWriter.writeGraph(OutputStream outputStream,
Graph g)
Writes a
Graph to stream in an adjacency list format where vertices are written with edges from both
directions. |
| Modifier and Type | Method and Description |
|---|---|
Io.Builder<GryoIo> |
GryoIo.Builder.graph(Graph g) |
void |
GryoReader.readGraph(InputStream inputStream,
Graph graphToWriteTo)
Read data into a
Graph from output generated by any of the GryoWriter writeVertex or
writeVertices methods or by GryoWriter.writeGraph(OutputStream, Graph). |
void |
GryoWriter.writeGraph(OutputStream outputStream,
Graph g)
Write the entire graph to a stream.
|
| Modifier and Type | Method and Description |
|---|---|
<G extends Graph> |
AbstractTransaction.createThreadedTx()
Creates a transaction that can be executed across multiple threads.
|
| Modifier and Type | Method and Description |
|---|---|
static Graph |
GraphFactory.open(org.apache.commons.configuration.Configuration configuration)
Open a graph.
|
static Graph |
GraphFactory.open(Map configuration)
Open a graph.
|
static Graph |
GraphFactory.open(String configurationFile)
Open a graph.
|
| Modifier and Type | Method and Description |
|---|---|
static IllegalStateException |
Attachable.Exceptions.canNotGetAttachableFromHostGraph(Attachable<?> attachable,
Graph hostGraph) |
static Edge |
Attachable.Method.createEdge(Attachable<Edge> attachableEdge,
Graph hostGraph) |
static Property |
Attachable.Method.createProperty(Attachable<Property> attachableProperty,
Graph hostGraph) |
static Vertex |
Attachable.Method.createVertex(Attachable<Vertex> attachableVertex,
Graph hostGraph) |
static VertexProperty |
Attachable.Method.createVertexProperty(Attachable<VertexProperty> attachableVertexProperty,
Graph hostGraph) |
static Optional<Edge> |
Attachable.Method.getEdge(Attachable<Edge> attachableEdge,
Graph hostGraph) |
static Optional<Property> |
Attachable.Method.getProperty(Attachable<Property> attachableProperty,
Graph hostGraph) |
static Optional<Vertex> |
Attachable.Method.getVertex(Attachable<Vertex> attachableVertex,
Graph hostGraph) |
static Optional<VertexProperty> |
Attachable.Method.getVertexProperty(Attachable<VertexProperty> attachableVertexProperty,
Graph hostGraph) |
static String |
StringFactory.graphString(Graph graph,
String internalString)
Construct the representation for a
Graph. |
| Constructor and Description |
|---|
AbstractThreadedTransaction(Graph g) |
AbstractThreadLocalTransaction(Graph g) |
AbstractTransaction(Graph g) |
| Modifier and Type | Method and Description |
|---|---|
Graph |
DetachedElement.graph() |
| Modifier and Type | Class and Description |
|---|---|
class |
EmptyGraph |
| Modifier and Type | Method and Description |
|---|---|
Graph |
EmptyVertexProperty.graph() |
static Graph |
EmptyGraph.instance() |
static Graph |
EmptyGraph.EmptyGraphFactory.open(org.apache.commons.configuration.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
Graph |
KeyedVertexProperty.graph() |
| Modifier and Type | Method and Description |
|---|---|
Graph |
ReferenceElement.graph() |
| Modifier and Type | Class and Description |
|---|---|
class |
StarGraph
A
StarGraph is a form of Attachable (though the Graph implementation does not implement
that interface itself). |
| Modifier and Type | Method and Description |
|---|---|
Graph |
StarGraph.StarElement.graph() |
Graph |
StarGraph.StarAdjacentVertex.graph() |
Copyright © 2013–2020 Apache Software Foundation. All rights reserved.