public class SetAccumulator<T>
extends org.apache.spark.util.AccumulatorV2<T,java.util.Set<T>>
| Constructor and Description |
|---|
SetAccumulator() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(T v) |
org.apache.spark.util.AccumulatorV2<T,java.util.Set<T>> |
copy() |
boolean |
isZero() |
void |
merge(org.apache.spark.util.AccumulatorV2<T,java.util.Set<T>> other) |
void |
reset() |
java.util.Set<T> |
value() |