Packages

c

com.johnsnowlabs.util.spark

MapAccumulator

class MapAccumulator extends AccumulatorV2[(String, Long), Map[String, Long]]

Linear Supertypes
AccumulatorV2[(String, Long), Map[String, Long]], Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MapAccumulator
  2. AccumulatorV2
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new MapAccumulator(defaultMap: Map[String, Long] = MMap.empty[String, Long].withDefaultValue(0))

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: (String, Long)): Unit
    Definition Classes
    MapAccumulator → AccumulatorV2
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  7. def copy(): AccumulatorV2[(String, Long), Map[String, Long]]
    Definition Classes
    MapAccumulator → AccumulatorV2
  8. def copyAndReset(): AccumulatorV2[(String, Long), Map[String, Long]]
    Definition Classes
    AccumulatorV2
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  13. final def id: Long
    Definition Classes
    AccumulatorV2
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def isRegistered: Boolean
    Definition Classes
    AccumulatorV2
  16. def isZero: Boolean
    Definition Classes
    MapAccumulator → AccumulatorV2
  17. def merge(other: AccumulatorV2[(String, Long), Map[String, Long]]): Unit
    Definition Classes
    MapAccumulator → AccumulatorV2
  18. def mmap: Map[String, Long]
  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
    @HotSpotIntrinsicCandidate() @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  23. def reset(): Unit
    Definition Classes
    MapAccumulator → AccumulatorV2
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AccumulatorV2 → AnyRef → Any
  26. def value: Map[String, Long]
    Definition Classes
    MapAccumulator → AccumulatorV2
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. def withBufferSerialized(): AccumulatorV2[(String, Long), Map[String, Long]]
    Attributes
    protected
    Definition Classes
    AccumulatorV2
  31. 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

    (Since version 9)

Inherited from AccumulatorV2[(String, Long), Map[String, Long]]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped