Packages

case class SparseHLL(bits: Int, maxRhow: Map[Int, Max[Byte]]) extends HLL with Product with Serializable

Linear Supertypes
Product, Equals, HLL, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SparseHLL
  2. Product
  3. Equals
  4. HLL
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SparseHLL(bits: Int, maxRhow: Map[Int, Max[Byte]])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: HLL): HLL
    Definition Classes
    SparseHLLHLL
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def approximateSize: Approximate[Long]
    Definition Classes
    HLL
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val bits: Int
    Definition Classes
    SparseHLLHLL
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def downsize(reducedBits: Int, reducedSize: Int, bitMask: Int, buf: Array[Byte]): HLL

    Returns a new HLL instance with reduced size

    Returns a new HLL instance with reduced size

    reducedBits

    The new number of bits to use (for the length of j)

    reducedSize

    New size (passed in to avoid repeated computation)

    bitMask

    Mask to force early termination of HyperLogLog.rhoW (passed in to avoid repeated computation)

    buf

    Byte array (passed in to avoid repeated allocation)

    returns

    New HLL instance with reduced size

    Attributes
    protected
    Definition Classes
    SparseHLLHLL
  10. def downsize(reducedBits: Int): HLL

    Returns a new HLL instance with reduced size

    reducedBits

    The new number of bits to use

    returns

    New HLL instance with reduced size

    Definition Classes
    HLL
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def estimatedSize: Double
    Definition Classes
    HLL
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def getModifiedRhoW(currentJ: Int, currentRhoW: Byte, reducedBits: Int, reducedSize: Int, bitMask: Int, buf: Array[Byte]): Byte

    Returns the modified value of rhoW at j, taking into account the extra run of bits added to rho due to reduction in the length of j.

    Returns the modified value of rhoW at j, taking into account the extra run of bits added to rho due to reduction in the length of j.

    currentJ

    j for which modified rhoW is needed

    currentRhoW

    Current rhoW value for j

    reducedBits

    New length of j

    reducedSize

    New size (passed in to avoid repeated computation)

    bitMask

    Mask to force early termination of HyperLogLog.rhoW (passed in to avoid repeated computation)

    buf

    Byte array (passed in to avoid repeated allocation)

    returns

    New value of rhoW

    Attributes
    protected
    Definition Classes
    HLL
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. val maxRhow: Map[Int, Max[Byte]]
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def productElementNames: Iterator[String]
    Definition Classes
    Product
  22. val size: Int
    Definition Classes
    SparseHLLHLL
  23. def sparseMapToArray(values: Map[Int, Max[Byte]]): Bytes
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. lazy val toDenseHLL: DenseHLL
    Definition Classes
    SparseHLLHLL
  26. def updateInto(buffer: Array[Byte]): Unit

    Set each item in the given buffer to the max of this and the buffer

    Set each item in the given buffer to the max of this and the buffer

    Definition Classes
    SparseHLLHLL
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. lazy val z: Double
    Definition Classes
    SparseHLLHLL
  31. lazy val zeroCnt: Int
    Definition Classes
    SparseHLLHLL

Inherited from Product

Inherited from Equals

Inherited from HLL

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped