Class HLLMergedStatistic
java.lang.Object
org.apache.drill.exec.physical.impl.statistics.AbstractMergedStatistic
org.apache.drill.exec.physical.impl.statistics.HLLMergedStatistic
- All Implemented Interfaces:
- MergedStatistic,- Statistic
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.drill.metastore.statistics.StatisticStatistic.State
- 
Field SummaryFields inherited from class org.apache.drill.exec.physical.impl.statistics.AbstractMergedStatisticinputName, name, samplePercent, state
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidconfigure(OptionManager optionsManager) getInput()Gets the name of the input statisticgetName()Gets the name of the merged statisticcom.clearspring.analytics.stream.cardinality.HyperLogLogvoidinitialize(String inputName, double samplePercent) Initialize the merged statisticvoidMerges the input statistic (incoming value vector) into the existing merged statisticvoidSets the merged statistic value in the output (outgoing value vector)Methods inherited from class org.apache.drill.exec.physical.impl.statistics.AbstractMergedStatisticinitialize
- 
Constructor Details- 
HLLMergedStatisticpublic HLLMergedStatistic()
 
- 
- 
Method Details- 
initializeDescription copied from interface:MergedStatisticInitialize the merged statistic- Specified by:
- initializein interface- MergedStatistic
- Specified by:
- initializein class- AbstractMergedStatistic
- Parameters:
- inputName- - the input- StatisticsAggBatchstatistic for this merged statistic
- samplePercent- - the sample percentage used for extrapolation post merge phase
 
- 
getNameDescription copied from interface:MergedStatisticGets the name of the merged statistic- Specified by:
- getNamein interface- MergedStatistic
- Specified by:
- getNamein class- AbstractMergedStatistic
- Returns:
- - name of this merged statistic
 
- 
getInputDescription copied from interface:MergedStatisticGets the name of the input statistic- Specified by:
- getInputin interface- MergedStatistic
- Specified by:
- getInputin class- AbstractMergedStatistic
- Returns:
- - name of the input StatisticsAggBatchstatistic for this merged statistic
 
- 
mergeDescription copied from interface:MergedStatisticMerges the input statistic (incoming value vector) into the existing merged statistic- Specified by:
- mergein interface- MergedStatistic
- Specified by:
- mergein class- AbstractMergedStatistic
- Parameters:
- input- - the input value vector to merge
 
- 
getStat
- 
setOutputDescription copied from interface:MergedStatisticSets the merged statistic value in the output (outgoing value vector)- Specified by:
- setOutputin interface- MergedStatistic
- Specified by:
- setOutputin class- AbstractMergedStatistic
- Parameters:
- output- - the output vector where to populate the statistic value
 
- 
configure
 
-