Interface IHLLMetadata
-
- All Known Implementing Classes:
HLLMetadata
public interface IHLLMetadataThe metadata and parameters associated with a HLL.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanexplicitAuto()booleanexplicitOff()HLLTypeHLLType()intlog2ExplicitCutoff()intregisterCountLog2()intregisterWidth()intschemaVersion()booleansparseEnabled()
-
-
-
Method Detail
-
schemaVersion
int schemaVersion()
- Returns:
- the schema version of the HLL. This will never be
null.
-
HLLType
HLLType HLLType()
- Returns:
- the type of the HLL. This will never be
null.
-
registerCountLog2
int registerCountLog2()
- Returns:
- the log-base-2 of the register count parameter of the HLL. This will always be greater than or equal to 4 and less than or equal to 31.
-
registerWidth
int registerWidth()
- Returns:
- the register width parameter of the HLL. This will always be greater than or equal to 1 and less than or equal to 8.
-
log2ExplicitCutoff
int log2ExplicitCutoff()
- Returns:
- the log-base-2 of the explicit cutoff cardinality. This will always be greater than or equal to zero and less than 31, per the specification.
-
explicitOff
boolean explicitOff()
- Returns:
trueif theHLLType.EXPLICITrepresentation has been disabled.falseotherwise.
-
explicitAuto
boolean explicitAuto()
- Returns:
trueif theHLLType.EXPLICITrepresentation cutoff cardinality is set to be automatically chosen,falseotherwise.
-
sparseEnabled
boolean sparseEnabled()
- Returns:
trueif theHLLType.SPARSErepresentation is enabled.
-
-