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
Ordering
- Alphabetic
- By Inheritance
Inherited
- HyperLogLog
- ICardinality
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
merge(arg0: <repeated...>[ICardinality]): ICardinality
- Definition Classes
- ICardinality
- Annotations
- @throws( ... ) @transient()
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
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
IllegalArgumentExceptionif other is not compatible
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
cardinality(): Long
- Definition Classes
- HyperLogLog → ICardinality
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
getBytes(): Array[Byte]
- Definition Classes
- HyperLogLog → ICardinality
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val log2m: Int
- def merge(estimators: ICardinality*): HyperLogLog
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
offer(o: Any): Boolean
- Definition Classes
- HyperLogLog → ICardinality
-
def
offerHashed(hashedValue: Int): Boolean
- Definition Classes
- HyperLogLog → ICardinality
-
def
offerHashed(hashedValue: Long): Boolean
- Definition Classes
- HyperLogLog → ICardinality
- val registerSet: RegisterSet
-
def
sizeof(): Int
- Definition Classes
- HyperLogLog → ICardinality
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated