public abstract class ColumnStatsMerger<T> extends Object
Constructor and Description |
---|
ColumnStatsMerger() |
Modifier and Type | Method and Description |
---|---|
abstract void |
merge(ColumnStatisticsObj aggregateColStats,
ColumnStatisticsObj newColStats) |
double |
mergeAvgColLen(double oldValue,
double newValue) |
T |
mergeHighValue(T oldValue,
T newValue) |
protected KllHistogramEstimator |
mergeHistogramEstimator(String columnName,
KllHistogramEstimator oldEst,
KllHistogramEstimator newEst) |
T |
mergeLowValue(T oldValue,
T newValue) |
long |
mergeMaxColLen(long oldValue,
long newValue) |
protected long |
mergeNumDistinctValueEstimator(String columnName,
List<NumDistinctValueEstimator> estimators,
long oldNumDVs,
long newNumDVs) |
long |
mergeNumDVs(long oldValue,
long newValue) |
long |
mergeNumNulls(long oldValue,
long newValue) |
public abstract void merge(ColumnStatisticsObj aggregateColStats, ColumnStatisticsObj newColStats)
protected KllHistogramEstimator mergeHistogramEstimator(String columnName, KllHistogramEstimator oldEst, KllHistogramEstimator newEst)
protected long mergeNumDistinctValueEstimator(String columnName, List<NumDistinctValueEstimator> estimators, long oldNumDVs, long newNumDVs)
public long mergeNumDVs(long oldValue, long newValue)
public long mergeNumNulls(long oldValue, long newValue)
public long mergeMaxColLen(long oldValue, long newValue)
public double mergeAvgColLen(double oldValue, double newValue)
Copyright © 2023 The Apache Software Foundation. All rights reserved.