Interface MergedStatistic
- All Known Implementing Classes:
- AbstractMergedStatistic,- AvgWidthMergedStatistic,- CntDupsMergedStatistic,- ColTypeMergedStatistic,- ColumnMergedStatistic,- HLLMergedStatistic,- NDVMergedStatistic,- NNRowCountMergedStatistic,- RowCountMergedStatistic,- TDigestMergedStatistic
public interface MergedStatistic
- 
Method SummaryModifier 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- 
initializeInitialize the merged statistic- Parameters:
- inputName- - the input- StatisticsAggBatchstatistic for this merged statistic
- samplePercent- - the sample percentage used for extrapolation post merge phase
 
- 
getNameString getName()Gets the name of the merged statistic- Returns:
- - name of this merged statistic
 
- 
getInputString getInput()Gets the name of the input statistic- Returns:
- - name of the input StatisticsAggBatchstatistic for this merged statistic
 
- 
mergeMerges the input statistic (incoming value vector) into the existing merged statistic- Parameters:
- input- - the input value vector to merge
 
- 
setOutputSets the merged statistic value in the output (outgoing value vector)- Parameters:
- output- - the output vector where to populate the statistic value
 
 
-