Class

com.twitter.algebird

HyperLogLogMonoid

Related Doc: package algebird

Permalink

class HyperLogLogMonoid extends Monoid[HLL]

Source
HyperLogLog.scala
Linear Supertypes
Monoid[HLL], Semigroup[HLL], Serializable, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HyperLogLogMonoid
  2. Monoid
  3. Semigroup
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HyperLogLogMonoid(bits: Int)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def assertNotZero(v: HLL): Unit

    Permalink
    Definition Classes
    Monoid
  6. val bits: Int

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def create(example: Array[Byte]): HLL

    Permalink
  9. def createFromHashBytes(hashed: Array[Byte]): HLL

    Permalink
  10. def createFromHashLongs(l0: Long, l1: Long): HLL

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def estimateIntersectionSize(his: Seq[HLL]): Double

    Permalink
  14. final def estimateSize(hll: HLL): Double

    Permalink
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def intersectionSize(his: Seq[HLL]): Approximate[Long]

    Permalink
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def isNonZero(v: HLL): Boolean

    Permalink
    Definition Classes
    Monoid
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. def nonZeroOption(v: HLL): Option[HLL]

    Permalink
    Definition Classes
    Monoid
  23. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  25. def plus(left: HLL, right: HLL): HLL

    Permalink

    Combines two T instances associatively.

    Combines two T instances associatively.

    returns

    result of combining l and r

    Definition Classes
    HyperLogLogMonoidSemigroup
  26. val size: Int

    Permalink
  27. final def sizeOf(hll: HLL): Approximate[Long]

    Permalink
  28. def sum(vs: TraversableOnce[HLL]): HLL

    Permalink
    Definition Classes
    Monoid
  29. def sumOption(items: TraversableOnce[HLL]): Option[HLL]

    Permalink

    Returns an instance of T calculated by summing all instances in iter in one pass.

    Returns an instance of T calculated by summing all instances in iter in one pass. Returns None if iter is empty, else Some[T].

    returns

    None if iter is empty, else an option value containing the summed T

    Definition Classes
    HyperLogLogMonoidSemigroup
    Note

    Override if there is a faster way to compute this sum than iter.reduceLeftOption using plus.

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

    Permalink
    Definition Classes
    AnyRef
  31. def toHLL[K](k: K)(implicit hash128: Hash128[K]): HLL

    Permalink
  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. val zero: HLL

    Permalink

    Returns the identity element of T for plus.

    Returns the identity element of T for plus.

    Definition Classes
    HyperLogLogMonoidMonoid

Deprecated Value Members

  1. def apply[T](t: T)(implicit arg0: (T) ⇒ Array[Byte]): HLL

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.10.0 / 2015-05) Use toHLL

  2. def batchCreate[T](instances: Iterable[T])(implicit arg0: (T) ⇒ Array[Byte]): HLL

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.10.0 / 2015-05) Use toHLL

Inherited from Monoid[HLL]

Inherited from Semigroup[HLL]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped