public abstract class IterationEventWithAggregators extends TaskEvent
TaskEvent
transmitting operator aggregators.Modifier and Type | Field and Description |
---|---|
protected static String[] |
NO_STRINGS |
protected static Value[] |
NO_VALUES |
Modifier | Constructor and Description |
---|---|
protected |
IterationEventWithAggregators() |
protected |
IterationEventWithAggregators(Map<String,Aggregator<?>> aggregators) |
protected |
IterationEventWithAggregators(String aggregatorName,
Value aggregate) |
Modifier and Type | Method and Description |
---|---|
Value[] |
getAggregates(ClassLoader classResolver) |
String[] |
getAggregatorNames() |
void |
read(DataInputView in)
Reads the object's internal data from the given data input view.
|
void |
write(DataOutputView out)
Writes the object's internal data to the given data output view.
|
protected static final String[] NO_STRINGS
protected static final Value[] NO_VALUES
protected IterationEventWithAggregators()
protected IterationEventWithAggregators(String aggregatorName, Value aggregate)
protected IterationEventWithAggregators(Map<String,Aggregator<?>> aggregators)
public String[] getAggregatorNames()
public Value[] getAggregates(ClassLoader classResolver)
public void write(DataOutputView out) throws IOException
IOReadableWritable
out
- the output view to receive the data.IOException
- thrown if any error occurs while writing to the output streampublic void read(DataInputView in) throws IOException
IOReadableWritable
in
- the input view to read the data fromIOException
- thrown if any error occurs while reading from the input streamCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.