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, validateStatePriorToExecutionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfeatures, mapReduce, persist, resultpublic GiraphGraphComputer(HadoopGraph hadoopGraph)
public GraphComputer program(VertexProgram vertexProgram)
GraphComputerVertexProgram to be executed by the GraphComputer.
There can only be one VertexProgram for the GraphComputer.program in interface GraphComputerprogram in class AbstractHadoopGraphComputervertexProgram - the VertexProgram to be executedpublic Future<ComputerResult> submit()
GraphComputersubmit in interface GraphComputerFuture 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.