public class WorkerDoneEvent extends IterationEventWithAggregators
IterationHead to the
IterationSynchronizationSinkTask.NO_STRINGS, NO_VALUES| Constructor and Description |
|---|
WorkerDoneEvent() |
WorkerDoneEvent(int workerIndex,
Map<String,org.apache.flink.api.common.aggregators.Aggregator<?>> aggregators) |
WorkerDoneEvent(int workerIndex,
String aggregatorName,
org.apache.flink.types.Value aggregate) |
| Modifier and Type | Method and Description |
|---|---|
int |
getWorkerIndex() |
void |
read(org.apache.flink.core.memory.DataInputView in) |
void |
write(org.apache.flink.core.memory.DataOutputView out) |
getAggregates, getAggregatorNamespublic WorkerDoneEvent()
public WorkerDoneEvent(int workerIndex,
String aggregatorName,
org.apache.flink.types.Value aggregate)
public int getWorkerIndex()
public void write(org.apache.flink.core.memory.DataOutputView out)
throws IOException
write in interface org.apache.flink.core.io.IOReadableWritablewrite in class IterationEventWithAggregatorsIOExceptionpublic void read(org.apache.flink.core.memory.DataInputView in)
throws IOException
read in interface org.apache.flink.core.io.IOReadableWritableread in class IterationEventWithAggregatorsIOExceptionCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.