com.twitter.algebird

legacy

package legacy

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. legacy
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type CMS = TopCMS[Long]

    For legacy code (Algebird versions < 0.

    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]

    For legacy code (Algebird versions < 0.

    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

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

Inherited from AnyRef

Inherited from Any

Ungrouped