public abstract class MigrationMasterCompute extends DefaultImmutableClassesGiraphConfigurable implements org.apache.hadoop.io.Writable
Modifier and Type | Class and Description |
---|---|
static class |
MigrationMasterCompute.MigrationFullMasterCompute
Drop-in replacement for MasterCompute when migrating
to Blocks Framework.
|
Constructor and Description |
---|
MigrationMasterCompute() |
Modifier and Type | Method and Description |
---|---|
void |
broadcast(String name,
org.apache.hadoop.io.Writable object) |
void |
compute() |
<A extends org.apache.hadoop.io.Writable> |
getAggregatedValue(String name) |
StatusReporter |
getContext() |
<T extends org.apache.hadoop.io.Writable> |
getReduced(String name) |
long |
getTotalNumEdges() |
long |
getTotalNumVertices() |
void |
initialize() |
void |
logToCommandLine(String line) |
void |
readFields(DataInput in) |
<A extends org.apache.hadoop.io.Writable> |
registerAggregator(String name,
Class<? extends Aggregator<A>> aggregatorClass) |
<A extends org.apache.hadoop.io.Writable> |
registerPersistentAggregator(String name,
Class<? extends Aggregator<A>> aggregatorClass) |
<S,R extends org.apache.hadoop.io.Writable> |
registerReducer(String name,
ReduceOperation<S,R> reduceOp) |
<S,R extends org.apache.hadoop.io.Writable> |
registerReducer(String name,
ReduceOperation<S,R> reduceOp,
R globalInitialValue) |
<A extends org.apache.hadoop.io.Writable> |
setAggregatedValue(String name,
A value) |
void |
write(DataOutput out) |
getConf, setConf
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void compute()
public void initialize() throws InstantiationException, IllegalAccessException
public long getTotalNumVertices()
public long getTotalNumEdges()
public final <S,R extends org.apache.hadoop.io.Writable> void registerReducer(String name, ReduceOperation<S,R> reduceOp)
public final <S,R extends org.apache.hadoop.io.Writable> void registerReducer(String name, ReduceOperation<S,R> reduceOp, R globalInitialValue)
public final <T extends org.apache.hadoop.io.Writable> T getReduced(String name)
public final void broadcast(String name, org.apache.hadoop.io.Writable object)
public final <A extends org.apache.hadoop.io.Writable> boolean registerAggregator(String name, Class<? extends Aggregator<A>> aggregatorClass) throws InstantiationException, IllegalAccessException
public final <A extends org.apache.hadoop.io.Writable> boolean registerPersistentAggregator(String name, Class<? extends Aggregator<A>> aggregatorClass) throws InstantiationException, IllegalAccessException
public final <A extends org.apache.hadoop.io.Writable> A getAggregatedValue(String name)
public final <A extends org.apache.hadoop.io.Writable> void setAggregatedValue(String name, A value)
public final void logToCommandLine(String line)
public final StatusReporter getContext()
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.