Class/Object

org.hammerlab.spark.accumulator

Histogram

Related Docs: object Histogram | package accumulator

Permalink

case class Histogram[T](map: Map[T, Long] = mutable.Map.empty[T, Long])(implicit evidence$1: Ordering[T]) extends AccumulatorV2[T, SortedMap[T, Long]] with Product with Serializable

Accumulator that keeps a counter of "key" objects that are added to it, ultimately emitting a SortedMap of keys and their counts.

Linear Supertypes
Product, Equals, AccumulatorV2[T, SortedMap[T, Long]], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Histogram
  2. Product
  3. Equals
  4. AccumulatorV2
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Histogram(map: Map[T, Long] = mutable.Map.empty[T, Long])(implicit arg0: Ordering[T])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def add(k: T): Unit

    Permalink
    Definition Classes
    Histogram → AccumulatorV2
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def copy(): AccumulatorV2[T, SortedMap[T, Long]]

    Permalink
    Definition Classes
    Histogram → AccumulatorV2
  8. def copyAndReset(): AccumulatorV2[T, SortedMap[T, Long]]

    Permalink
    Definition Classes
    AccumulatorV2
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def id: Long

    Permalink
    Definition Classes
    AccumulatorV2
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def isRegistered: Boolean

    Permalink
    Definition Classes
    AccumulatorV2
  15. def isZero: Boolean

    Permalink
    Definition Classes
    Histogram → AccumulatorV2
  16. var map: Map[T, Long]

    Permalink
  17. def merge(other: AccumulatorV2[T, SortedMap[T, Long]]): Unit

    Permalink
    Definition Classes
    Histogram → AccumulatorV2
  18. final def name: Option[String]

    Permalink
    Definition Classes
    AccumulatorV2
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def reset(): Unit

    Permalink
    Definition Classes
    Histogram → AccumulatorV2
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AccumulatorV2 → AnyRef → Any
  25. def value: SortedMap[T, Long]

    Permalink
    Definition Classes
    Histogram → AccumulatorV2
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def writeReplace(): Any

    Permalink
    Attributes
    protected
    Definition Classes
    AccumulatorV2

Inherited from Product

Inherited from Equals

Inherited from AccumulatorV2[T, SortedMap[T, Long]]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped