Package io.trino.spi.statistics
Class ColumnStatistics.Builder
java.lang.Object
io.trino.spi.statistics.ColumnStatistics.Builder
- Enclosing class:
- ColumnStatistics
If one of the estimates below is unspecified (i.e. left as "unknown"),
the optimizer may not be able to derive the statistics needed for
performing cost-based query plan optimizations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()setDataSize(Estimate dataSize) setDistinctValuesCount(Estimate distinctValuesCount) setNullsFraction(Estimate nullsFraction) setRange(DoubleRange range) setRange(Optional<DoubleRange> range)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setNullsFraction
-
setDistinctValuesCount
-
setDataSize
-
setRange
-
setRange
-
build
-