Class StatisticsAggrFunctions.HllDecode
java.lang.Object
org.apache.drill.exec.expr.fn.impl.StatisticsAggrFunctions.HllDecode
- All Implemented Interfaces:
DrillFunc
,DrillSimpleFunc
- Enclosing class:
- StatisticsAggrFunctions
The log2m parameter defines the accuracy of the counter. The larger the log2m the better the accuracy where:
accuracy = 1.04/sqrt(2^log2m)
log2m - the number of bits to use as the basis for the HLL instance
The parameter accepts integers in the range [0, 30]
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
HllDecode
public HllDecode()
-
-
Method Details
-
setup
public void setup()- Specified by:
setup
in interfaceDrillSimpleFunc
-
eval
public void eval()- Specified by:
eval
in interfaceDrillSimpleFunc
-