final class ZetaSketchHll[T] extends Serializable
This is a wrapper for internal HyperLogLogPlusPlus implementation.
- Source
- ZetaSketchHLL.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ZetaSketchHll
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def add(elem: T): ZetaSketchHll[T]
Add a new element to this ZetaSketchHll.
Add a new element to this ZetaSketchHll. Need to return a new instance to maintain the immutability of the hll value.
- elem
- new element to add.
- returns
- new ZetaSketchHll instance with the same type parameter.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def estimateSize(): Long
- returns
the estimated distinct count
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def merge(that: ZetaSketchHll[T]): ZetaSketchHll[T]
Merge both this and that ZetaSketchHll instances.
Merge both this and that ZetaSketchHll instances. Need to return a new instance to maintain the immutability of this hll value and that hll value.
- that
- ZetaSketchHll to merge with this.
- returns
new instance of ZetaSketchHll
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def precision: Int
- returns
precision used in hyperloglog++ algorithm.
- def serializeToByteArray(): Array[Byte]
- returns
the byte array representation of the hll
- def sparsePrecision: Int
- returns
sparse precision used in hyperloglog++ algorithm.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()