Package io.trino.cost
Class SymbolStatsEstimate
java.lang.Object
io.trino.cost.SymbolStatsEstimate
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSymbolStatsEstimate(double lowValue, double highValue, double nullsFraction, double averageRowSize, double distinctValuesCount) -
Method Summary
Modifier and TypeMethodDescriptionstatic SymbolStatsEstimate.Builderbuilder()static SymbolStatsEstimate.BuilderbuildFrom(SymbolStatsEstimate other) booleandoubledoubledoubledoubledoubledoubleinthashCode()booleanbooleanmapDistinctValuesCount(Function<Double, Double> mappingFunction) mapNullsFraction(Function<Double, Double> mappingFunction) toString()static SymbolStatsEstimateunknown()static SymbolStatsEstimatezero()
-
Constructor Details
-
SymbolStatsEstimate
public SymbolStatsEstimate(double lowValue, double highValue, double nullsFraction, double averageRowSize, double distinctValuesCount)
-
-
Method Details
-
unknown
-
zero
-
getLowValue
public double getLowValue() -
getHighValue
public double getHighValue() -
getNullsFraction
public double getNullsFraction() -
statisticRange
-
getValuesFraction
public double getValuesFraction() -
getAverageRowSize
public double getAverageRowSize() -
getDistinctValuesCount
public double getDistinctValuesCount() -
mapNullsFraction
-
mapDistinctValuesCount
-
isUnknown
public boolean isUnknown() -
isSingleValue
public boolean isSingleValue() -
equals
-
hashCode
public int hashCode() -
toString
-
builder
-
buildFrom
-