Package | Description |
---|---|
org.apache.solr.util.hll |
A fork of Java-HyperLogLog package tweaked
not to depend on fastutil and with cleanups to make it lean and clean.
|
Modifier and Type | Method and Description |
---|---|
HLLType |
HLL.getType() |
static HLLType |
HLLType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HLLType[] |
HLLType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
IWordDeserializer |
ISchemaVersion.getDeserializer(HLLType type,
int wordLength,
byte[] bytes)
Builds an HLL deserializer that matches this schema version.
|
org.apache.solr.util.hll.IWordSerializer |
ISchemaVersion.getSerializer(HLLType type,
int wordLength,
int wordCount)
Builds an HLL serializer that matches this schema version.
|
int |
ISchemaVersion.paddingBytes(HLLType type)
The number of metadata bytes required for a serialized HLL of the
specified type.
|
Constructor and Description |
---|
HLL(int log2m,
int regwidth,
int expthresh,
boolean sparseon,
HLLType type)
NOTE: Arguments here are named and structured identically to those in the
PostgreSQL implementation, which can be found
here.
|
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.