Modifier and Type | Method and Description |
---|---|
default GraphComputer |
GraphComputer.configure(String key,
Object value)
Set an arbitrary configuration key/value for the underlying
Configuration in the GraphComputer . |
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.workers(int workers)
Set the desired number of workers to execute the
VertexProgram and MapReduce jobs. |
Modifier and Type | Method and Description |
---|---|
Optional<GraphComputer> |
TraversalSource.getGraphComputer()
Gets the
GraphComputer associated with the TraversalSource which could be constructed as empty. |
Optional<GraphComputer> |
TraversalEngine.getGraphComputer()
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 |
---|---|
Optional<GraphComputer> |
GraphTraversalSource.getGraphComputer() |
Modifier and Type | Method and Description |
---|---|
static GraphTraversalSource.Builder |
GraphTraversalSource.computer(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–2017 Apache Software Foundation. All rights reserved.