Class MetricsContainerStepMapAccumulator
java.lang.Object
org.apache.spark.util.AccumulatorV2<org.apache.beam.runners.core.metrics.MetricsContainerStepMap,org.apache.beam.runners.core.metrics.MetricsContainerStepMap>
org.apache.beam.runners.spark.metrics.MetricsContainerStepMapAccumulator
- All Implemented Interfaces:
Serializable,scala.Serializable
public class MetricsContainerStepMapAccumulator
extends org.apache.spark.util.AccumulatorV2<org.apache.beam.runners.core.metrics.MetricsContainerStepMap,org.apache.beam.runners.core.metrics.MetricsContainerStepMap>
AccumulatorV2 implementation for MetricsContainerStepMap.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMetricsContainerStepMapAccumulator(org.apache.beam.runners.core.metrics.MetricsContainerStepMap value) -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(org.apache.beam.runners.core.metrics.MetricsContainerStepMap other) copy()booleanisZero()voidmerge(org.apache.spark.util.AccumulatorV2<org.apache.beam.runners.core.metrics.MetricsContainerStepMap, org.apache.beam.runners.core.metrics.MetricsContainerStepMap> other) voidreset()org.apache.beam.runners.core.metrics.MetricsContainerStepMapvalue()Methods inherited from class org.apache.spark.util.AccumulatorV2
copyAndReset, countFailedValues, id, isAtDriverSide, isRegistered, metadata, metadata_$eq, name, register, register$default$2, register$default$3, toInfo, toString, withBufferSerialized, writeReplace
-
Constructor Details
-
MetricsContainerStepMapAccumulator
public MetricsContainerStepMapAccumulator(org.apache.beam.runners.core.metrics.MetricsContainerStepMap value)
-
-
Method Details
-
isZero
public boolean isZero()- Specified by:
isZeroin classorg.apache.spark.util.AccumulatorV2<org.apache.beam.runners.core.metrics.MetricsContainerStepMap,org.apache.beam.runners.core.metrics.MetricsContainerStepMap>
-
copy
- Specified by:
copyin classorg.apache.spark.util.AccumulatorV2<org.apache.beam.runners.core.metrics.MetricsContainerStepMap,org.apache.beam.runners.core.metrics.MetricsContainerStepMap>
-
reset
public void reset()- Specified by:
resetin classorg.apache.spark.util.AccumulatorV2<org.apache.beam.runners.core.metrics.MetricsContainerStepMap,org.apache.beam.runners.core.metrics.MetricsContainerStepMap>
-
add
public void add(org.apache.beam.runners.core.metrics.MetricsContainerStepMap other) - Specified by:
addin classorg.apache.spark.util.AccumulatorV2<org.apache.beam.runners.core.metrics.MetricsContainerStepMap,org.apache.beam.runners.core.metrics.MetricsContainerStepMap>
-
merge
public void merge(org.apache.spark.util.AccumulatorV2<org.apache.beam.runners.core.metrics.MetricsContainerStepMap, org.apache.beam.runners.core.metrics.MetricsContainerStepMap> other) - Specified by:
mergein classorg.apache.spark.util.AccumulatorV2<org.apache.beam.runners.core.metrics.MetricsContainerStepMap,org.apache.beam.runners.core.metrics.MetricsContainerStepMap>
-
value
public org.apache.beam.runners.core.metrics.MetricsContainerStepMap value()- Specified by:
valuein classorg.apache.spark.util.AccumulatorV2<org.apache.beam.runners.core.metrics.MetricsContainerStepMap,org.apache.beam.runners.core.metrics.MetricsContainerStepMap>
-