c

org.apache.spark.sql.delta.stats

ArrayAccumulator

class ArrayAccumulator extends AccumulatorV2[(Int, Long), Array[Long]]

An accumulator that keeps arrays of counts. Counts from multiple partitions are merged by index. -1 indicates a null and is handled using TVL (-1 + N = -1)

Linear Supertypes
AccumulatorV2[(Int, Long), Array[Long]], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ArrayAccumulator
  2. AccumulatorV2
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ArrayAccumulator(size: Int)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def add(v: (Int, Long)): Unit
    Definition Classes
    ArrayAccumulator → AccumulatorV2
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  7. def copy(): AccumulatorV2[(Int, Long), Array[Long]]
    Definition Classes
    ArrayAccumulator → AccumulatorV2
  8. def copyAndReset(): AccumulatorV2[(Int, Long), Array[Long]]
    Definition Classes
    AccumulatorV2
  9. val counts: Array[Long]
    Attributes
    protected
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. final def id: Long
    Definition Classes
    AccumulatorV2
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def isRegistered: Boolean
    Definition Classes
    AccumulatorV2
  17. def isZero: Boolean
    Definition Classes
    ArrayAccumulator → AccumulatorV2
  18. def merge(o: AccumulatorV2[(Int, Long), Array[Long]]): Unit
    Definition Classes
    ArrayAccumulator → AccumulatorV2
  19. final def name: Option[String]
    Definition Classes
    AccumulatorV2
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  23. def reset(): Unit
    Definition Classes
    ArrayAccumulator → AccumulatorV2
  24. val size: Int
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AccumulatorV2 → AnyRef → Any
  27. def value: Array[Long]
    Definition Classes
    ArrayAccumulator → AccumulatorV2
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def withBufferSerialized(): AccumulatorV2[(Int, Long), Array[Long]]
    Attributes
    protected
    Definition Classes
    AccumulatorV2
  32. final def writeReplace(): Any
    Attributes
    protected
    Definition Classes
    AccumulatorV2

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AccumulatorV2[(Int, Long), Array[Long]]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped