public class AggAccumParam extends java.lang.Object implements org.apache.spark.AccumulatorParam<NamedAggregators>
org.apache.spark.AccumulatorParam.DoubleAccumulatorParam$, org.apache.spark.AccumulatorParam.FloatAccumulatorParam$, org.apache.spark.AccumulatorParam.IntAccumulatorParam$, org.apache.spark.AccumulatorParam.LongAccumulatorParam$
Constructor and Description |
---|
AggAccumParam() |
Modifier and Type | Method and Description |
---|---|
NamedAggregators |
addAccumulator(NamedAggregators current,
NamedAggregators added) |
NamedAggregators |
addInPlace(NamedAggregators current,
NamedAggregators added) |
NamedAggregators |
zero(NamedAggregators initialValue) |
public NamedAggregators addAccumulator(NamedAggregators current, NamedAggregators added)
addAccumulator
in interface org.apache.spark.AccumulableParam<NamedAggregators,NamedAggregators>
addAccumulator
in interface org.apache.spark.AccumulatorParam<NamedAggregators>
public NamedAggregators addInPlace(NamedAggregators current, NamedAggregators added)
addInPlace
in interface org.apache.spark.AccumulableParam<NamedAggregators,NamedAggregators>
public NamedAggregators zero(NamedAggregators initialValue)
zero
in interface org.apache.spark.AccumulableParam<NamedAggregators,NamedAggregators>