class HyperLogLogPlusPlusHelper extends Serializable

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

Instance Constructors

  1. new HyperLogLogPlusPlusHelper(relativeSD: Double)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def estimateBias(e: Double): Double

    Estimate the bias using the raw estimates with their respective biases from the HLL++ appendix.

    Estimate the bias using the raw estimates with their respective biases from the HLL++ appendix. We currently use KNN interpolation to determine the bias (as suggested in the paper).

  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def merge(buffer1: InternalRow, buffer2: InternalRow, offset1: Int, offset2: Int): Unit

    Merge the HLL buffers by iterating through the registers in both buffers and select the maximum number of leading zeros for each register.

  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. val numWords: Int

    The number of words used to store the registers.

    The number of words used to store the registers. We use Longs for storage because this is the most compact way of storage; Spark aligns to 8-byte words or uses Long wrappers.

    We only store whole registers per word in order to prevent overly complex bitwise operations. In practice this means we only use 60 out of 64 bits.

  18. def query(buffer: InternalRow, bufferOffset: Int): Long

    Compute the HyperLogLog estimate.

    Compute the HyperLogLog estimate.

    Variable names in the HLL++ paper match variable names in the code.

  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. def trueRsd: Double

    The rsd of HLL++ is always equal to or better than the rsd requested.

    The rsd of HLL++ is always equal to or better than the rsd requested. This method returns the rsd this instance actually guarantees.

    returns

    the actual rsd.

  22. def update(buffer: InternalRow, bufferOffset: Int, value: Any, dataType: DataType): Unit

    Update the HLL++ buffer.

    Update the HLL++ buffer.

    Variable names in the HLL++ paper match variable names in the code.

  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped