class BucketsAccumulator[T] extends AccumulatorV2[T, Buckets[T]]
Adapter for Spark 2.0 accumulatorV2.
- T
type of the value to accumulate, must be Numeric
- Alphabetic
- By Inheritance
- BucketsAccumulator
- AccumulatorV2
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new BucketsAccumulator(bucketDelimiters: Array[T])(implicit arg0: Ordering[T], arg1: Numeric[T])
- bucketDelimiters
the delimiters of buckets as Array of Numeric. For example, given (1, 10, 100), four buckets will be created (-inf:1), [1:10), [10:100), [100:+inf)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def add(v: T): Unit
- Definition Classes
- BucketsAccumulator → AccumulatorV2
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def copy(): BucketsAccumulator[T]
- Definition Classes
- BucketsAccumulator → AccumulatorV2
- def copyAndReset(): AccumulatorV2[T, Buckets[T]]
- Definition Classes
- AccumulatorV2
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def id: Long
- Definition Classes
- AccumulatorV2
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def isRegistered: Boolean
- Definition Classes
- AccumulatorV2
- def isZero: Boolean
- Definition Classes
- BucketsAccumulator → AccumulatorV2
- def merge(other: AccumulatorV2[T, Buckets[T]]): Unit
- Definition Classes
- BucketsAccumulator → AccumulatorV2
- final def name: Option[String]
- Definition Classes
- AccumulatorV2
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def reset(): Unit
- Definition Classes
- BucketsAccumulator → AccumulatorV2
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AccumulatorV2 → AnyRef → Any
- def value: Buckets[T]
- Definition Classes
- BucketsAccumulator → AccumulatorV2
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withBufferSerialized(): AccumulatorV2[T, Buckets[T]]
- Attributes
- protected
- Definition Classes
- AccumulatorV2
- final def writeReplace(): Any
- Attributes
- protected
- Definition Classes
- AccumulatorV2
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)