public class AccumulableInfo
extends Object
implements scala.Product, scala.Serializable
AccumulatorV2
modified during a task or stage.
param: id accumulator ID param: name accumulator name param: update partial value from a task, may be None if used on driver to describe a stage param: value total accumulated value so far, maybe None if used on executors to describe a task param: internal whether this accumulator was internal param: countFailedValues whether to count this accumulator's partial value if the task failed param: metadata internal metadata associated with this accumulator, if any
update
and value
will be lost and be
cast to strings. This is because the user can define an accumulator of any type and it will
be difficult to preserve the type in consumers of the event log. This does not apply to
internal accumulators that represent task level metrics.Modifier and Type | Method and Description |
---|---|
abstract static R |
apply(T1 v1,
T2 v2,
T3 v3,
T4 v4,
T5 v5,
T6 v6,
T7 v7) |
long |
id() |
scala.Option<String> |
name() |
static String |
toString() |
scala.Option<Object> |
update() |
scala.Option<Object> |
value() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait