public class WorkerDoneEvent extends IterationEventWithAggregators
IterationHead to the IterationSynchronizationSinkTask.NO_STRINGS, NO_VALUES| 构造器和说明 |
|---|
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) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 org.apache.flink.core.io.IOReadableWritablewrite 在类中 IterationEventWithAggregatorsIOExceptionpublic void read(org.apache.flink.core.memory.DataInputView in)
throws IOException
read 在接口中 org.apache.flink.core.io.IOReadableWritableread 在类中 IterationEventWithAggregatorsIOExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.