Uses of Class
org.apache.datasketches.hll.TgtHllType
| Package | Description |
|---|---|
| org.apache.datasketches.hll |
The hll package contains a high performance implementation of Phillipe
Flajolet's HLL sketch with significantly improved error behavior.
|
-
Uses of TgtHllType in org.apache.datasketches.hll
Fields in org.apache.datasketches.hll declared as TgtHllType Modifier and Type Field Description static TgtHllTypeHllSketch. DEFAULT_HLL_TYPEThe default HLL-TYPE is HLL_4Methods in org.apache.datasketches.hll that return TgtHllType Modifier and Type Method Description static TgtHllTypeTgtHllType. fromOrdinal(int typeId)TgtHllTypeHllSketch. getTgtHllType()TgtHllTypeUnion. getTgtHllType()static TgtHllTypeTgtHllType. valueOf(String name)Returns the enum constant of this type with the specified name.static TgtHllType[]TgtHllType. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.datasketches.hll with parameters of type TgtHllType Modifier and Type Method Description HllSketchHllSketch. copyAs(TgtHllType tgtHllType)Return a deep copy of this sketch onto the Java heap with the specified TgtHllType.static intHllSketch. getMaxUpdatableSerializationBytes(int lgConfigK, TgtHllType tgtHllType)Returns the maximum size in bytes that this sketch can grow to given lgConfigK.HllSketchUnion. getResult(TgtHllType tgtHllType)Return the result of this union operator with the specifiedTgtHllTypeConstructors in org.apache.datasketches.hll with parameters of type TgtHllType Constructor Description HllSketch(int lgConfigK, TgtHllType tgtHllType)Constructs a new on-heap sketch with the type of HLL sketch to configure.HllSketch(int lgConfigK, TgtHllType tgtHllType, org.apache.datasketches.memory.WritableMemory dstMem)Constructs a new sketch with the type of HLL sketch to configure and the given WritableMemory as the destination for the sketch.