public class ColumnMergedStatistic extends AbstractMergedStatistic
Statistic.State
inputName, name, samplePercent, state
Constructor and Description |
---|
ColumnMergedStatistic() |
Modifier and Type | Method and Description |
---|---|
String |
getInput()
Gets the name of the input statistic
|
String |
getName()
Gets the name of the merged statistic
|
void |
initialize(String inputName,
double samplePercent)
Initialize the merged statistic
|
void |
merge(MapVector input)
Merges the input statistic (incoming value vector) into the existing
merged statistic
|
void |
setOutput(MapVector output)
Sets the merged statistic value in the output (outgoing value vector)
|
initialize
public void initialize(String inputName, double samplePercent)
MergedStatistic
initialize
in interface MergedStatistic
initialize
in class AbstractMergedStatistic
inputName
- - the input StatisticsAggBatch
statistic for this merged statisticsamplePercent
- - the sample percentage used for extrapolation post merge phasepublic String getName()
MergedStatistic
getName
in interface MergedStatistic
getName
in class AbstractMergedStatistic
public String getInput()
MergedStatistic
getInput
in interface MergedStatistic
getInput
in class AbstractMergedStatistic
StatisticsAggBatch
statistic for this merged statisticpublic void merge(MapVector input)
MergedStatistic
merge
in interface MergedStatistic
merge
in class AbstractMergedStatistic
input
- - the input value vector to mergepublic void setOutput(MapVector output)
MergedStatistic
setOutput
in interface MergedStatistic
setOutput
in class AbstractMergedStatistic
output
- - the output vector where to populate the statistic valueCopyright © 2021 The Apache Software Foundation. All rights reserved.