Skip navigation links
A B C D E G H K M P Q R S T V 

A

add(long) - Method in class com.github.prasanthj.hll.HLLDenseRegister
 
add(long) - Method in interface com.github.prasanthj.hll.HLLRegister
Specify a hashcode to add to hyperloglog register.
add(long) - Method in class com.github.prasanthj.hll.HLLSparseRegister
 
add(long) - Method in class com.github.prasanthj.hll.HyperLogLog
 
addBoolean(boolean) - Method in class com.github.prasanthj.hll.HyperLogLog
 
addByte(byte) - Method in class com.github.prasanthj.hll.HyperLogLog
 
addBytes(byte[]) - Method in class com.github.prasanthj.hll.HyperLogLog
 
addChar(char) - Method in class com.github.prasanthj.hll.HyperLogLog
 
addDouble(double) - Method in class com.github.prasanthj.hll.HyperLogLog
 
addFloat(float) - Method in class com.github.prasanthj.hll.HyperLogLog
 
addInt(int) - Method in class com.github.prasanthj.hll.HyperLogLog
 
addLong(long) - Method in class com.github.prasanthj.hll.HyperLogLog
 
addShort(short) - Method in class com.github.prasanthj.hll.HyperLogLog
 
addString(String) - Method in class com.github.prasanthj.hll.HyperLogLog
Java's default charset will be used for strings.
addString(String, Charset) - Method in class com.github.prasanthj.hll.HyperLogLog
 

B

biasData - Static variable in class com.github.prasanthj.hll.HLLConstants
 
build() - Method in class com.github.prasanthj.hll.HyperLogLog.HyperLogLogBuilder
 
builder() - Static method in class com.github.prasanthj.hll.HyperLogLog
 

C

com.github.prasanthj.hll - package com.github.prasanthj.hll
 
com.github.prasanthj.hll.tools - package com.github.prasanthj.hll.tools
 
count() - Method in class com.github.prasanthj.hll.HyperLogLog
 

D

deserializeHLL(InputStream) - Static method in class com.github.prasanthj.hll.HyperLogLogUtils
Refer serializeHLL() for format of serialization.

E

enableBitPacking(boolean) - Method in class com.github.prasanthj.hll.HyperLogLog.HyperLogLogBuilder
 
enableNoBias(boolean) - Method in class com.github.prasanthj.hll.HyperLogLog.HyperLogLogBuilder
 
encodeHash(long) - Method in class com.github.prasanthj.hll.HLLSparseRegister
Input: 64 bit hashcode |---------w-------------| |------------p'----------| 10101101.......1010101010 10101010101 01010101010101 |------p-----| Output: 32 bit int |b| |-q'-| |------------p'----------| 1 010101 01010101010 10101010101010 |------p-----| The default values of p', q' and b are 25, 6, 1 (total 32 bits) respectively.
equals(Object) - Method in class com.github.prasanthj.hll.HLLDenseRegister
 
equals(Object) - Method in class com.github.prasanthj.hll.HLLSparseRegister
 
equals(Object) - Method in class com.github.prasanthj.hll.HyperLogLog
 

G

getEncoding() - Method in class com.github.prasanthj.hll.HyperLogLog
 
getEstimatedCountFromSerializedHLL(InputStream) - Static method in class com.github.prasanthj.hll.HyperLogLogUtils
Get estimated cardinality without deserializing HLL
getHLLDenseRegister() - Method in class com.github.prasanthj.hll.HyperLogLog
 
getHLLSparseRegister() - Method in class com.github.prasanthj.hll.HyperLogLog
 
getMaxRegisterValue() - Method in class com.github.prasanthj.hll.HLLDenseRegister
 
getMergedSparseMap() - Method in class com.github.prasanthj.hll.HLLSparseRegister
 
getNumRegisterIndexBits() - Method in class com.github.prasanthj.hll.HyperLogLog
 
getNumZeroes() - Method in class com.github.prasanthj.hll.HLLDenseRegister
 
getP() - Method in class com.github.prasanthj.hll.HLLSparseRegister
 
getPPrime() - Method in class com.github.prasanthj.hll.HLLSparseRegister
 
getRegister() - Method in class com.github.prasanthj.hll.HLLDenseRegister
 
getRelativeError(long, long) - Static method in class com.github.prasanthj.hll.HyperLogLogUtils
Return relative error between actual and estimated cardinality
getSize() - Method in class com.github.prasanthj.hll.HLLSparseRegister
 
getSparseMap() - Method in class com.github.prasanthj.hll.HLLSparseRegister
 
getStandardError() - Method in class com.github.prasanthj.hll.HyperLogLog
 
getSumInversePow2() - Method in class com.github.prasanthj.hll.HLLDenseRegister
 

H

hash128(byte[]) - Static method in class com.github.prasanthj.hll.Murmur3
Murmur3 128-bit variant.
hash128(byte[], int, int) - Static method in class com.github.prasanthj.hll.Murmur3
Murmur3 128-bit variant.
hash32(byte[]) - Static method in class com.github.prasanthj.hll.Murmur3
Murmur3 32-bit variant.
hash32(byte[], int, int) - Static method in class com.github.prasanthj.hll.Murmur3
Murmur3 32-bit variant.
hash64(byte[]) - Static method in class com.github.prasanthj.hll.Murmur3
Murmur3 64-bit variant.
hash64(byte[], int, int) - Static method in class com.github.prasanthj.hll.Murmur3
Murmur3 64-bit variant.
hashCode() - Method in class com.github.prasanthj.hll.HLLDenseRegister
 
hashCode() - Method in class com.github.prasanthj.hll.HLLSparseRegister
 
hashCode() - Method in class com.github.prasanthj.hll.HyperLogLog
 
HLLConstants - Class in com.github.prasanthj.hll
 
HLLConstants() - Constructor for class com.github.prasanthj.hll.HLLConstants
 
HLLDenseRegister - Class in com.github.prasanthj.hll
 
HLLDenseRegister(int) - Constructor for class com.github.prasanthj.hll.HLLDenseRegister
 
HLLDenseRegister(int, boolean) - Constructor for class com.github.prasanthj.hll.HLLDenseRegister
 
HLLRegister - Interface in com.github.prasanthj.hll
 
HLLSparseRegister - Class in com.github.prasanthj.hll
 
HLLSparseRegister(int, int, int) - Constructor for class com.github.prasanthj.hll.HLLSparseRegister
 
HyperLogLog - Class in com.github.prasanthj.hll
This is an implementation of the following variants of hyperloglog (HLL) algorithm Original - Original HLL algorithm from Flajolet et.
HyperLogLog.EncodingType - Enum in com.github.prasanthj.hll
 
HyperLogLog.HyperLogLogBuilder - Class in com.github.prasanthj.hll
 
HyperLogLogBuilder() - Constructor for class com.github.prasanthj.hll.HyperLogLog.HyperLogLogBuilder
 
HyperLogLogCLI - Class in com.github.prasanthj.hll.tools
 
HyperLogLogCLI() - Constructor for class com.github.prasanthj.hll.tools.HyperLogLogCLI
 
HyperLogLogUtils - Class in com.github.prasanthj.hll
HyperLogLog serialization utilities.
HyperLogLogUtils() - Constructor for class com.github.prasanthj.hll.HyperLogLogUtils
 

K

K_NEAREST_NEIGHBOR - Static variable in class com.github.prasanthj.hll.HLLConstants
 

M

MAGIC - Static variable in class com.github.prasanthj.hll.HyperLogLogUtils
 
main(String[]) - Static method in class com.github.prasanthj.hll.tools.HyperLogLogCLI
 
MAX_P_VALUE - Static variable in class com.github.prasanthj.hll.HLLConstants
 
merge(HLLRegister) - Method in class com.github.prasanthj.hll.HLLDenseRegister
 
merge(HLLRegister) - Method in interface com.github.prasanthj.hll.HLLRegister
Merge hyperloglog registers of the same type (SPARSE or DENSE register)
merge(HLLRegister) - Method in class com.github.prasanthj.hll.HLLSparseRegister
 
merge(HyperLogLog) - Method in class com.github.prasanthj.hll.HyperLogLog
Merge the specified hyperloglog to the current one.
MIN_P_VALUE - Static variable in class com.github.prasanthj.hll.HLLConstants
 
Murmur3 - Class in com.github.prasanthj.hll
Murmur3 32 and 128 bit variants.
Murmur3() - Constructor for class com.github.prasanthj.hll.Murmur3
 

P

P_PRIME_VALUE - Static variable in class com.github.prasanthj.hll.HLLConstants
 

Q

Q_PRIME_VALUE - Static variable in class com.github.prasanthj.hll.HLLConstants
 

R

rawEstimateData - Static variable in class com.github.prasanthj.hll.HLLConstants
 

S

serializeHLL(OutputStream, HyperLogLog) - Static method in class com.github.prasanthj.hll.HyperLogLogUtils
HyperLogLog is serialized using the following format
set(int, byte) - Method in class com.github.prasanthj.hll.HLLDenseRegister
 
set(int, byte) - Method in interface com.github.prasanthj.hll.HLLRegister
Instead of specifying hashcode, this interface can be used to directly specify the register index and register value.
set(int, byte) - Method in class com.github.prasanthj.hll.HLLSparseRegister
 
setCount(long) - Method in class com.github.prasanthj.hll.HyperLogLog
 
setEncoding(HyperLogLog.EncodingType) - Method in class com.github.prasanthj.hll.HyperLogLog.HyperLogLogBuilder
 
setEncoding(HyperLogLog.EncodingType) - Method in class com.github.prasanthj.hll.HyperLogLog
 
setHLLDenseRegister(byte[]) - Method in class com.github.prasanthj.hll.HyperLogLog
Reconstruct dense registers from byte array
setHLLSparseRegister(int[]) - Method in class com.github.prasanthj.hll.HyperLogLog
Reconstruct sparse map from serialized integer list
setNumRegisterIndexBits(int) - Method in class com.github.prasanthj.hll.HyperLogLog.HyperLogLogBuilder
 
setRegister(byte[]) - Method in class com.github.prasanthj.hll.HLLDenseRegister
 
size() - Method in class com.github.prasanthj.hll.HLLDenseRegister
 

T

TEMP_LIST_DEFAULT_SIZE - Static variable in class com.github.prasanthj.hll.HLLConstants
 
thresholdData - Static variable in class com.github.prasanthj.hll.HLLConstants
 
toExtendedString() - Method in class com.github.prasanthj.hll.HLLDenseRegister
 
toExtendedString() - Method in class com.github.prasanthj.hll.HLLSparseRegister
 
toString() - Method in class com.github.prasanthj.hll.HLLDenseRegister
 
toString() - Method in class com.github.prasanthj.hll.HLLSparseRegister
 
toString() - Method in class com.github.prasanthj.hll.HyperLogLog
 
toStringExtended() - Method in class com.github.prasanthj.hll.HyperLogLog
 

V

valueOf(String) - Static method in enum com.github.prasanthj.hll.HyperLogLog.EncodingType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.prasanthj.hll.HyperLogLog.EncodingType
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E G H K M P Q R S T V 
Skip navigation links

Copyright © 2017. All rights reserved.