Package io.trino.cost
Class StatisticRange
java.lang.Object
io.trino.cost.StatisticRange
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StatisticRangeempty()booleanstatic StatisticRangefrom(SymbolStatsEstimate estimate) doubledoublegetHigh()doublegetLow()inthashCode()intersect(StatisticRange other) booleanisEmpty()doublelength()doubleoverlapPercentWith(StatisticRange other) toString()
-
Constructor Details
-
StatisticRange
public StatisticRange(double low, double high, double distinctValues)
-
-
Method Details
-
empty
-
from
-
getLow
public double getLow() -
getHigh
public double getHigh() -
getDistinctValuesCount
public double getDistinctValuesCount() -
length
public double length() -
isEmpty
public boolean isEmpty() -
overlapPercentWith
-
intersect
-
addAndSumDistinctValues
-
addAndMaxDistinctValues
-
addAndCollapseDistinctValues
-
equals
-
hashCode
public int hashCode() -
toString
-