public interface IterationRuntimeContext extends RuntimeContext
| Modifier and Type | Method and Description |
|---|---|
<T extends Aggregator<?>> |
getIterationAggregator(String name) |
<T extends Value> |
getPreviousIterationAggregate(String name) |
int |
getSuperstepNumber()
Gets the number of the current superstep.
|
addAccumulator, getAccumulator, getAllAccumulators, getBroadcastVariable, getBroadcastVariableWithInitializer, getDistributedCache, getDoubleCounter, getExecutionConfig, getHistogram, getIndexOfThisSubtask, getIntCounter, getKeyValueState, getKeyValueState, getLongCounter, getNumberOfParallelSubtasks, getTaskName, getUserCodeClassLoaderint getSuperstepNumber()
<T extends Aggregator<?>> T getIterationAggregator(String name)
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.