com.twitter.algebird

SketchMap

case class SketchMap[K, V](params: SketchMapParams[K], valuesTable: AdaptiveMatrix[V], heavyHitterKeys: List[K], totalValue: V)(implicit ordering: Ordering[V], monoid: Monoid[V]) extends Serializable with Product with Serializable

Linear Supertypes
Serializable, Product, Equals, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SketchMap
  2. Serializable
  3. Product
  4. Equals
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SketchMap(params: SketchMapParams[K], valuesTable: AdaptiveMatrix[V], heavyHitterKeys: List[K], totalValue: V)(implicit ordering: Ordering[V], monoid: Monoid[V])

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(pair: (K, V)): SketchMap[K, V]

    Returns a new Sketch Map with a key value pair added.

  5. def ++(other: SketchMap[K, V]): SketchMap[K, V]

    Returns a new Sketch Map summed with another Sketch Map.

    Returns a new Sketch Map summed with another Sketch Map. These should have the same parameters, and be generated from the same monoid.

  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def delta: Double

  11. def eps: Double

    These are not 100% accurate because of rounding.

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def frequency(key: K): V

    Calculates the approximate frequency for any key.

  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. val heavyHitterKeys: List[K]

  17. def heavyHitters: List[(K, V)]

    Returns a sorted list of heavy hitter key/value tuples.

  18. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  22. val params: SketchMapParams[K]

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. val totalValue: V

  25. val valuesTable: AdaptiveMatrix[V]

  26. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped