Accumulator.
value
Get the accumulator’s value; only usable in driver program
previous
pyspark.Accumulator.add
next
pyspark.AccumulatorParam.addInPlace