java.lang.Object
org.apache.spark.util.AccumulatorV2<T,
Set<T>>
org.apache.iceberg.spark.actions.SetAccumulator<T>
- All Implemented Interfaces:
Serializable
, scala.Serializable
public class SetAccumulator<T>
extends org.apache.spark.util.AccumulatorV2<T,Set<T>>
- See Also:
-
-
Constructor Summary
Constructors
-
Method Summary
void
org.apache.spark.util.AccumulatorV2<T,Set<T>>
boolean
void
merge(org.apache.spark.util.AccumulatorV2<T,Set<T>> other)
void
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
-
SetAccumulator
public SetAccumulator()
-
Method Details
-
isZero
public boolean isZero()
- Specified by:
isZero
in class org.apache.spark.util.AccumulatorV2<T,Set<T>>
-
copy
public org.apache.spark.util.AccumulatorV2<T,Set<T>> copy()
- Specified by:
copy
in class org.apache.spark.util.AccumulatorV2<T,Set<T>>
-
reset
public void reset()
- Specified by:
reset
in class org.apache.spark.util.AccumulatorV2<T,Set<T>>
-
add
- Specified by:
add
in class org.apache.spark.util.AccumulatorV2<T,Set<T>>
-
merge
public void merge(org.apache.spark.util.AccumulatorV2<T,Set<T>> other)
- Specified by:
merge
in class org.apache.spark.util.AccumulatorV2<T,Set<T>>
-
value
- Specified by:
value
in class org.apache.spark.util.AccumulatorV2<T,Set<T>>