Modifier and Type | Method and Description |
---|---|
GraphComputer |
Computer.apply(Graph graph) |
default GraphComputer |
GraphComputer.configure(String key,
Object value)
Set an arbitrary configuration key/value for the underlying
Configuration in the GraphComputer . |
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 |
GraphComputer.mapReduce(MapReduce mapReduce)
Add a
MapReduce job to the set of MapReduce jobs to be executed by the GraphComputer . |
GraphComputer |
GraphComputer.persist(GraphComputer.Persist persist)
Set the
GraphComputer.Persist level of the computation. |
GraphComputer |
GraphComputer.program(VertexProgram vertexProgram)
Set the
VertexProgram to be executed by the GraphComputer . |
GraphComputer |
GraphComputer.result(GraphComputer.ResultGraph resultGraph)
Set the
GraphComputer.ResultGraph of the computation. |
GraphComputer |
GraphComputer.vertices(Traversal<Vertex,Vertex> vertexFilter)
Add a filter that will limit which vertices are loaded from the graph source.
|
GraphComputer |
GraphComputer.workers(int workers)
Set the desired number of workers to execute the
VertexProgram and MapReduce jobs. |
Modifier and Type | Method and Description |
---|---|
Class<? extends GraphComputer> |
Computer.getGraphComputerClass() |
Modifier and Type | Method and Description |
---|---|
static Computer |
Computer.compute(Class<? extends GraphComputer> graphComputerClass) |
Computer |
Computer.graphComputer(Class<? extends GraphComputer> graphComputerClass) |
Modifier and Type | Method and Description |
---|---|
Optional<GraphComputer> |
TraversalEngine.getGraphComputer()
Deprecated.
If the traversal engine is of type
TraversalEngine.Type.COMPUTER , then it should have the GraphComputer used for executing the traversal. |
Modifier and Type | Method and Description |
---|---|
default TraversalSource |
TraversalSource.withComputer(Class<? extends GraphComputer> graphComputerClass)
Add a
GraphComputer class used to execute the traversal. |
Modifier and Type | Method and Description |
---|---|
GraphTraversalSource |
GraphTraversalSource.withComputer(Class<? extends GraphComputer> graphComputerClass) |
Modifier and Type | Method and Description |
---|---|
<C extends GraphComputer> |
Graph.compute(Class<C> graphComputerClass)
Declare the
GraphComputer to use for OLAP operations on the graph. |
Modifier and Type | Method and Description |
---|---|
GraphComputer |
Graph.compute()
Generate a
GraphComputer using the default engine of the underlying graph system. |
Copyright © 2013–2018 Apache Software Foundation. All rights reserved.