Package | Description |
---|---|
net.agkn.hll | |
net.agkn.hll.serialization |
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
HLLType |
HLLMetadata.HLLType() |
HLLType |
IHLLMetadata.HLLType() |
Modifier and Type | Method and Description |
---|---|
IWordDeserializer |
ISchemaVersion.getDeserializer(HLLType type,
int wordLength,
byte[] bytes)
Builds an HLL deserializer that matches this schema version.
|
IWordDeserializer |
SchemaVersionOne.getDeserializer(HLLType type,
int wordLength,
byte[] bytes) |
IWordSerializer |
ISchemaVersion.getSerializer(HLLType type,
int wordLength,
int wordCount)
Builds an HLL serializer that matches this schema version.
|
IWordSerializer |
SchemaVersionOne.getSerializer(HLLType type,
int wordLength,
int wordCount) |
int |
ISchemaVersion.paddingBytes(HLLType type)
The number of metadata bytes required for a serialized HLL of the
specified type.
|
int |
SchemaVersionOne.paddingBytes(HLLType type) |
Constructor and Description |
---|
HLLMetadata(int schemaVersion,
HLLType type,
int registerCountLog2,
int registerWidth,
int log2ExplicitCutoff,
boolean explicitOff,
boolean explicitAuto,
boolean sparseEnabled) |
Copyright © 2019. All rights reserved.