Interface MergedStatistic
- All Known Implementing Classes:
AbstractMergedStatistic,AvgWidthMergedStatistic,CntDupsMergedStatistic,ColTypeMergedStatistic,ColumnMergedStatistic,HLLMergedStatistic,NDVMergedStatistic,NNRowCountMergedStatistic,RowCountMergedStatistic,TDigestMergedStatistic
public interface MergedStatistic
-
Method Summary
Modifier and TypeMethodDescriptiongetInput()Gets the name of the input statisticgetName()Gets the name of the merged statisticvoidinitialize(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)
-
Method Details
-
initialize
Initialize the merged statistic- Parameters:
inputName- - the inputStatisticsAggBatchstatistic for this merged statisticsamplePercent- - the sample percentage used for extrapolation post merge phase
-
getName
String getName()Gets the name of the merged statistic- Returns:
- - name of this merged statistic
-
getInput
String getInput()Gets the name of the input statistic- Returns:
- - name of the input
StatisticsAggBatchstatistic for this merged statistic
-
merge
Merges the input statistic (incoming value vector) into the existing merged statistic- Parameters:
input- - the input value vector to merge
-
setOutput
Sets the merged statistic value in the output (outgoing value vector)- Parameters:
output- - the output vector where to populate the statistic value
-