Package

com.twitter.algebird

legacy

Permalink

package legacy

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. legacy
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type CMS = TopCMS[Long]

    Permalink

    For legacy code (Algebird versions < 0.8.1) that uses CMS we provide this functionally equivalent CMS type, which is a CMS with Long-based keys.

    For legacy code (Algebird versions < 0.8.1) that uses CMS we provide this functionally equivalent CMS type, which is a CMS with Long-based keys.

    This type is an alias for TopCMS[Long] (see TopCMS).

    Usage

    You typically create instances of this type via CountMinSketchMonoid.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.8.1) You should use TopCMS[Long] instead of legacy.CMS

  2. type CountMinSketchMonoid = TopPctCMSMonoid[Long]

    Permalink

    For legacy code (Algebird versions < 0.8.1) that uses CMS we provide this functionally equivalent CMS monoid, which allows you to work with (e.g.

    For legacy code (Algebird versions < 0.8.1) that uses CMS we provide this functionally equivalent CMS monoid, which allows you to work with (e.g. create) top-% CMS instances with Long-based keys.

    Usage

    You typically create instances of this type via CountMinSketchMonoid.apply(), see example below.

    Example

    import com.twitter.algebird.legacy.CountMinSketchMonoid
    
    // Pre-0.8.1 you would have used `new CountMinSketchMonoid(EPS, DELTA, SEED)` (note the `new`).
    val cmsMonoid: CountMinSketchMonoid = CountMinSketchMonoid(EPS, DELTA, SEED)

    Implementation details

    This type is an alias for TopPctCMSMonoid[Long] (see TopPctCMSMonoid).

    Annotations
    @deprecated
    Deprecated

    (Since version 0.8.1) You should use TopPctCMSMonoid[Long] instead of legacy.CountMinSketchMonoid

Value Members

  1. object CountMinSketchMonoid

    Permalink

    Creates instances of type CountMinSketchMonoid (which is a type alias for the legacy class of the same name in Algebird versions < 0.8.1).

    Creates instances of type CountMinSketchMonoid (which is a type alias for the legacy class of the same name in Algebird versions < 0.8.1).

    Deprecated since 0.8.1

    Only use this object when transitioning legacy code. Newer code should use TopPctCMS.monoid():

    val cmsMonoid = TopPctCMS.monoid[Long](...)

Inherited from AnyRef

Inherited from Any

Ungrouped