public class SymbolStatsEstimate extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SymbolStatsEstimate.Builder |
| Constructor and Description |
|---|
SymbolStatsEstimate(double lowValue,
double highValue,
double nullsFraction,
double averageRowSize,
double distinctValuesCount) |
| Modifier and Type | Method and Description |
|---|---|
static SymbolStatsEstimate.Builder |
builder() |
static SymbolStatsEstimate.Builder |
buildFrom(SymbolStatsEstimate other) |
boolean |
equals(Object o) |
double |
getAverageRowSize() |
double |
getDistinctValuesCount() |
double |
getHighValue() |
double |
getLowValue() |
double |
getNullsFraction() |
double |
getValuesFraction() |
int |
hashCode() |
boolean |
isSingleValue() |
boolean |
isUnknown() |
SymbolStatsEstimate |
mapDistinctValuesCount(Function<Double,Double> mappingFunction) |
SymbolStatsEstimate |
mapNullsFraction(Function<Double,Double> mappingFunction) |
StatisticRange |
statisticRange() |
String |
toString() |
static SymbolStatsEstimate |
unknown() |
static SymbolStatsEstimate |
zero() |
public SymbolStatsEstimate(double lowValue,
double highValue,
double nullsFraction,
double averageRowSize,
double distinctValuesCount)
public static SymbolStatsEstimate unknown()
public static SymbolStatsEstimate zero()
public double getLowValue()
public double getHighValue()
public double getNullsFraction()
public StatisticRange statisticRange()
public double getValuesFraction()
public double getAverageRowSize()
public double getDistinctValuesCount()
public SymbolStatsEstimate mapNullsFraction(Function<Double,Double> mappingFunction)
public SymbolStatsEstimate mapDistinctValuesCount(Function<Double,Double> mappingFunction)
public boolean isUnknown()
public boolean isSingleValue()
public static SymbolStatsEstimate.Builder builder()
public static SymbolStatsEstimate.Builder buildFrom(SymbolStatsEstimate other)
Copyright © 2012–2019. All rights reserved.