public enum TgtHllType extends Enum<TgtHllType>
These three target types are isomorphic representations of the same underlying HLL algorithm. Thus, given the same value of lgConfigK and the same input, all three HLL target types will produce identical estimates and have identical error distributions.
The memory (and also the serialization) of the sketch during this early warmup phase starts out very small (8 bytes, when empty) and then grows in increments of 4 bytes as required until the full HLL array is allocated. This transition point occurs at about 10% of K for sketches where lgConfigK is > 8.
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final TgtHllType HLL_4
public static final TgtHllType HLL_6
public static final TgtHllType HLL_8
public static TgtHllType values()
for (TgtHllType c : TgtHllType.values()) System.out.println(c);
public static TgtHllType valueOf(String name)
public static final TgtHllType fromOrdinal(int typeId)
Copyright © 2015–2020 The Apache Software Foundation. All rights reserved.