public interface GraphComputer
GraphComputer is responsible for the execution of a VertexProgram and then a set of MapReduce jobs
over the vertices in the Graph. It is up to the GraphComputer implementation to determine the
appropriate memory structures given the computing substrate. GraphComputer implementations also
maintains levels of memory GraphComputer.Isolation: Bulk Synchronous and Dirty Bulk Synchronous.| Modifier and Type | Interface and Description |
|---|---|
static class |
GraphComputer.Exceptions |
static interface |
GraphComputer.Features |
static class |
GraphComputer.Isolation |
| Modifier and Type | Method and Description |
|---|---|
default GraphComputer.Features |
features() |
GraphComputer |
isolation(GraphComputer.Isolation isolation)
Set the
GraphComputer.Isolation of the computation. |
GraphComputer |
mapReduce(MapReduce mapReduce)
Add a
MapReduce job to the set of MapReduce jobs to be executed by the GraphComputer. |
GraphComputer |
program(VertexProgram vertexProgram)
Set the
VertexProgram to be executed by the GraphComputer. |
java.util.concurrent.Future<ComputerResult> |
submit()
|
GraphComputer isolation(GraphComputer.Isolation isolation)
GraphComputer.Isolation of the computation.isolation - the isolation of the computationGraphComputer program(VertexProgram vertexProgram)
VertexProgram to be executed by the GraphComputer.
There can only be one VertexProgram for the GraphComputer.vertexProgram - the VertexProgram to be executedGraphComputer mapReduce(MapReduce mapReduce)
MapReduce job to the set of MapReduce jobs to be executed by the GraphComputer.
There can be any number of MapReduce jobs.mapReduce - the MapReduce job to add to the computationjava.util.concurrent.Future<ComputerResult> submit()
Future denoting a reference to the asynchronous computation and where to get the ComputerResult when its is complete.default GraphComputer.Features features()
Copyright © 2013-2015 TinkerPop. All Rights Reserved.