I - Vertex index valueV - Vertex valueE - Edge valueM1 - Incoming message typeM2 - Outgoing message typepublic class ComputeCallable<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable,M1 extends org.apache.hadoop.io.Writable,M2 extends org.apache.hadoop.io.Writable> extends Object implements Callable<Collection<PartitionStats>>
| Constructor and Description |
|---|
ComputeCallable(org.apache.hadoop.mapreduce.Mapper.Context context,
GraphState graphState,
MessageStore<I,M1> messageStore,
ImmutableClassesGiraphConfiguration<I,V,E> configuration,
CentralizedServiceWorker<I,V,E> serviceWorker)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Collection<PartitionStats> |
call() |
public ComputeCallable(org.apache.hadoop.mapreduce.Mapper.Context context,
GraphState graphState,
MessageStore<I,M1> messageStore,
ImmutableClassesGiraphConfiguration<I,V,E> configuration,
CentralizedServiceWorker<I,V,E> serviceWorker)
context - ContextgraphState - Current graph state (use to create own graph state)messageStore - Message storeconfiguration - ConfigurationserviceWorker - Service workerpublic Collection<PartitionStats> call()
call in interface Callable<Collection<PartitionStats>>Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.