public class GraphDataCompute extends BaseCompute
Constructor and Description |
---|
GraphDataCompute(java.lang.String edgename,
int size) |
GraphDataCompute(java.lang.String edgename,
int dsize,
int parallel) |
GraphDataCompute(java.lang.String edgename,
int dsize,
int parallel,
java.lang.String sourceVertex) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(IMessage message)
Execute with an incoming message
|
int |
getDatasize() |
java.lang.String |
getEdgeName() |
int |
getParallel() |
java.lang.String |
getSourceVertex() |
void |
prepare(Config cfg,
TaskContext context)
Prepare the task to be executed
|
void |
setDatasize(int datasize) |
void |
setEdgeName(java.lang.String edgeName) |
void |
setParallel(int parallel) |
void |
setSourceVertex(java.lang.String sourceVertex) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endExecute
public GraphDataCompute(java.lang.String edgename, int dsize, int parallel, java.lang.String sourceVertex)
public GraphDataCompute(java.lang.String edgename, int dsize, int parallel)
public GraphDataCompute(java.lang.String edgename, int size)
public void setSourceVertex(java.lang.String sourceVertex)
public java.lang.String getSourceVertex()
public int getDatasize()
public void setDatasize(int datasize)
public int getParallel()
public void setParallel(int parallel)
public java.lang.String getEdgeName()
public void setEdgeName(java.lang.String edgeName)
public boolean execute(IMessage message)
ICompute
public void prepare(Config cfg, TaskContext context)
INode