Object/Class

org.apache.spark.sql.catalyst.expressions.aggregate

HyperLogLogPlusPlus

Related Docs: class HyperLogLogPlusPlus | package aggregate

Permalink

object HyperLogLogPlusPlus extends Serializable

Constants used in the implementation of the HyperLogLogPlusPlus aggregate function.

See the Appendix to HyperLogLog in Practice: Algorithmic Engineering of a State of the Art Cardinality (https://docs.google.com/document/d/1gyjfMHy43U9OWBXxfaeG-3MjGzejW1dlpyMwEYAAWEI/view?fullscreen) for more information.

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

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. val BIAS_DATA: Array[Array[Double]]

    Permalink

    Bias corrections given a precision and the index of the raw estimate table.

  5. val K: Int

    Permalink

    Number of points used for interpolating the bias value.

  6. val RAW_ESTIMATE_DATA: Array[Array[Double]]

    Permalink

    Lookup table used to find the (index of the) bias correction for a given precision (exact) and estimate (nearest).

  7. val REGISTERS_PER_WORD: Int

    Permalink

    The number of registers which can be stored in one word.

  8. val REGISTER_SIZE: Int

    Permalink

    The number of bits that is required per register.

    The number of bits that is required per register.

    This number is determined by the maximum number of leading binary zeros a hashcode can produce. This is equal to the number of bits the hashcode returns. The current implementation uses a 64-bit hashcode, this means 6-bits are (at most) needed to store the number of leading zeros.

  9. val REGISTER_WORD_MASK: Long

    Permalink

    Value used to mask a register stored in a word.

  10. val THRESHOLDS: Array[Double]

    Permalink

    Thresholds which decide if the linear counting or the regular algorithm is used.

  11. val WORD_SIZE: Int

    Permalink

    The size of a word used for storing registers: 64 Bits.

  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped