Class IterationEventWithAggregators
java.lang.Object
org.apache.flink.runtime.event.AbstractEvent
org.apache.flink.runtime.event.TaskEvent
org.apache.flink.runtime.iterative.event.IterationEventWithAggregators
- All Implemented Interfaces:
org.apache.flink.core.io.IOReadableWritable
- Direct Known Subclasses:
AllWorkersDoneEvent,WorkerDoneEvent
Base class for iteration
TaskEvent transmitting operator aggregators.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final String[]protected static final org.apache.flink.types.Value[] -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedIterationEventWithAggregators(String aggregatorName, org.apache.flink.types.Value aggregate) protectedIterationEventWithAggregators(Map<String, org.apache.flink.api.common.aggregators.Aggregator<?>> aggregators) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.types.Value[]getAggregates(ClassLoader classResolver) String[]voidread(org.apache.flink.core.memory.DataInputView in) voidwrite(org.apache.flink.core.memory.DataOutputView out)
-
Field Details
-
NO_STRINGS
-
NO_VALUES
protected static final org.apache.flink.types.Value[] NO_VALUES
-
-
Constructor Details
-
IterationEventWithAggregators
protected IterationEventWithAggregators() -
IterationEventWithAggregators
protected IterationEventWithAggregators(String aggregatorName, org.apache.flink.types.Value aggregate) -
IterationEventWithAggregators
-
-
Method Details
-
getAggregatorNames
-
getAggregates
-
write
- Throws:
IOException
-
read
- Throws:
IOException
-