public final class GiraphGraphComputer extends AbstractHadoopGraphComputer implements GraphComputer
GraphComputer.Exceptions, GraphComputer.Features, GraphComputer.Persist, GraphComputer.ResultGraph
Modifier and Type | Field and Description |
---|---|
protected GiraphConfiguration |
giraphConfiguration |
executed, hadoopGraph, logger, mapReducers, persist, resultGraph, vertexProgram
Constructor and Description |
---|
GiraphGraphComputer(HadoopGraph hadoopGraph) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
static void |
main(String[] args) |
GraphComputer |
program(VertexProgram vertexProgram)
Set the
VertexProgram to be executed by the GraphComputer . |
int |
run(String[] args) |
void |
setConf(org.apache.hadoop.conf.Configuration configuration) |
Future<ComputerResult> |
submit()
|
features, mapReduce, persist, result, toString, validateStatePriorToExecution
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
features, mapReduce, persist, result
public GiraphGraphComputer(HadoopGraph hadoopGraph)
public GraphComputer program(VertexProgram vertexProgram)
GraphComputer
VertexProgram
to be executed by the GraphComputer
.
There can only be one VertexProgram for the GraphComputer.program
in interface GraphComputer
program
in class AbstractHadoopGraphComputer
vertexProgram
- the VertexProgram to be executedpublic Future<ComputerResult> submit()
GraphComputer
submit
in interface GraphComputer
Future
denoting a reference to the asynchronous computation and where to get the DefaultComputerResult
when its is complete.public int run(String[] args)
public void setConf(org.apache.hadoop.conf.Configuration configuration)
public org.apache.hadoop.conf.Configuration getConf()
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.