public class NamedAggregatorsAccumulator extends org.apache.spark.util.AccumulatorV2<NamedAggregators,NamedAggregators>
AccumulatorV2
implementation for NamedAggregators
.Constructor and Description |
---|
NamedAggregatorsAccumulator(NamedAggregators value) |
Modifier and Type | Method and Description |
---|---|
void |
add(NamedAggregators other) |
NamedAggregatorsAccumulator |
copy() |
boolean |
isZero() |
void |
merge(org.apache.spark.util.AccumulatorV2<NamedAggregators,NamedAggregators> other) |
void |
reset() |
NamedAggregators |
value() |
public NamedAggregatorsAccumulator(NamedAggregators value)
public boolean isZero()
isZero
in class org.apache.spark.util.AccumulatorV2<NamedAggregators,NamedAggregators>
public NamedAggregatorsAccumulator copy()
copy
in class org.apache.spark.util.AccumulatorV2<NamedAggregators,NamedAggregators>
public void reset()
reset
in class org.apache.spark.util.AccumulatorV2<NamedAggregators,NamedAggregators>
public void add(NamedAggregators other)
add
in class org.apache.spark.util.AccumulatorV2<NamedAggregators,NamedAggregators>
public void merge(org.apache.spark.util.AccumulatorV2<NamedAggregators,NamedAggregators> other)
merge
in class org.apache.spark.util.AccumulatorV2<NamedAggregators,NamedAggregators>
public NamedAggregators value()
value
in class org.apache.spark.util.AccumulatorV2<NamedAggregators,NamedAggregators>