public interface StatEstimator
| Modifier and Type | Method and Description |
|---|---|
Optional<ColStatistics> |
estimate(List<ColStatistics> argStats)
Computes the output statistics of the actual UDF.
|
Optional<ColStatistics> estimate(List<ColStatistics> argStats)
ColStatistics object if possible.
The actual estimation logic may decide to not give an estimation; it should return with Optional.empty().
Note: at the time of the call there will be ColStatistics for all the arguments; if that is not available - the estimation is skipped.argStats - the statistics for every argument of the UDFColStatistics estimate for the actual UDF.Copyright © 2022 The Apache Software Foundation. All rights reserved.