com.twitter.algebird

CMSZero

case class CMSZero(params: CMSParams) extends CMS with Product with Serializable

Used for initialization.

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

Instance Constructors

  1. new CMSZero(params: CMSParams)

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 ++(other: CMS): CMS

    Definition Classes
    CMSZeroCMS
  5. final def ==(arg0: AnyRef): Boolean

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

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

    Definition Classes
    Any
  8. def clone(): AnyRef

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

    Definition Classes
    CMSZeroCMS
  10. def depth: Int

    Definition Classes
    CMS
  11. def eps: Double

    Definition Classes
    CMSZeroCMS
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def f1: Long

    Definition Classes
    CMS
  14. def f2: Approximate[Long]

    Definition Classes
    CMS
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def frequency(item: Long): Approximate[Long]

    Returns an estimate of the total number of times this item has been seen in the stream so far.

    Returns an estimate of the total number of times this item has been seen in the stream so far. This estimate is an upper bound.

    It is always true that trueFrequency <= estimatedFrequency. With probability p >= 1 - delta, it also holds that estimatedFrequency <= trueFrequency + eps * totalCount.

    Definition Classes
    CMSZeroCMS
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def heavyHitters: Set[Long]

    Definition Classes
    CMSZeroCMS
  19. def heavyHittersPct: Double

    Finds all heavy hitters, i.

    Finds all heavy hitters, i.e., elements in the stream that appear at least (heavyHittersPct * totalCount) times.

    Every item that appears at least (heavyHittersPct * totalCount) times is output, and with probability p >= 1 - delta, no item whose count is less than (heavyHittersPct - eps) * totalCount is output.

    Note that the set of heavy hitters contains at most 1 / heavyHittersPct elements, so keeping track of all elements that appear more than (say) 1% of the time requires tracking at most 100 items.

    Definition Classes
    CMSZeroCMS
  20. def innerProduct(other: CMS): Approximate[Long]

    Returns an estimate of the inner product against another data stream.

    Returns an estimate of the inner product against another data stream.

    In other words, let a_i denote the number of times element i has been seen in the data stream summarized by this CMS, and let b_i denote the same for the other CMS. Then this returns an estimate of <a, b> = \sum a_i b_i

    Note: this can also be viewed as the join size between two relations.

    It is always true that actualInnerProduct <= estimatedInnerProduct. With probability p >= 1 - delta, it also holds that estimatedInnerProduct <= actualInnerProduct + eps * thisTotalCount * otherTotalCount

    Definition Classes
    CMSZeroCMS
  21. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  25. val params: CMSParams

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

    Definition Classes
    AnyRef
  27. def totalCount: Long

    Definition Classes
    CMSZeroCMS
  28. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def width: Int

    Definition Classes
    CMS

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from CMS

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped