Package io.prestosql.cost
Class SymbolStatsEstimate.Builder
- java.lang.Object
-
- io.prestosql.cost.SymbolStatsEstimate.Builder
-
- Enclosing class:
- SymbolStatsEstimate
public static final class SymbolStatsEstimate.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SymbolStatsEstimate
build()
SymbolStatsEstimate.Builder
setAverageRowSize(double averageRowSize)
SymbolStatsEstimate.Builder
setDistinctValuesCount(double distinctValuesCount)
SymbolStatsEstimate.Builder
setHighValue(double highValue)
SymbolStatsEstimate.Builder
setLowValue(double lowValue)
SymbolStatsEstimate.Builder
setNullsFraction(double nullsFraction)
SymbolStatsEstimate.Builder
setStatisticsRange(StatisticRange range)
-
-
-
Method Detail
-
setStatisticsRange
public SymbolStatsEstimate.Builder setStatisticsRange(StatisticRange range)
-
setLowValue
public SymbolStatsEstimate.Builder setLowValue(double lowValue)
-
setHighValue
public SymbolStatsEstimate.Builder setHighValue(double highValue)
-
setNullsFraction
public SymbolStatsEstimate.Builder setNullsFraction(double nullsFraction)
-
setAverageRowSize
public SymbolStatsEstimate.Builder setAverageRowSize(double averageRowSize)
-
setDistinctValuesCount
public SymbolStatsEstimate.Builder setDistinctValuesCount(double distinctValuesCount)
-
build
public SymbolStatsEstimate build()
-
-