Packages

class HyperLogLog extends ICardinality

Create a new HyperLogLog instance. The log2m parameter defines the accuracy of the counter. The larger the log2m the better the accuracy.

accuracy = 1.04/sqrt(math.pow(2, log2m))

Linear Supertypes
ICardinality, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HyperLogLog
  2. ICardinality
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def merge(arg0: <repeated...>[ICardinality]): ICardinality
    Definition Classes
    ICardinality
    Annotations
    @throws( ... ) @transient()

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +=(other: HyperLogLog): Unit

    Add all the elements of the other set to this set.

    Add all the elements of the other set to this set.

    This operation does not imply a loss of precision.

    other

    A compatible Hyperloglog instance (same log2m)

    Exceptions thrown

    IllegalArgumentException if other is not compatible

  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def cardinality(): Long
    Definition Classes
    HyperLogLog → ICardinality
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def getBytes(): Array[Byte]
    Definition Classes
    HyperLogLog → ICardinality
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val log2m: Int
  15. def merge(estimators: ICardinality*): HyperLogLog
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  19. def offer(o: Any): Boolean
    Definition Classes
    HyperLogLog → ICardinality
  20. def offerHashed(hashedValue: Int): Boolean
    Definition Classes
    HyperLogLog → ICardinality
  21. def offerHashed(hashedValue: Long): Boolean
    Definition Classes
    HyperLogLog → ICardinality
  22. val registerSet: RegisterSet
  23. def sizeof(): Int
    Definition Classes
    HyperLogLog → ICardinality
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from ICardinality

Inherited from AnyRef

Inherited from Any

Ungrouped