Package org.apache.iceberg.spark.actions
Class SetAccumulator<T>
- java.lang.Object
-
- org.apache.spark.util.AccumulatorV2<T,java.util.Set<T>>
-
- org.apache.iceberg.spark.actions.SetAccumulator<T>
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Serializable
public class SetAccumulator<T> extends org.apache.spark.util.AccumulatorV2<T,java.util.Set<T>>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SetAccumulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-