Package io.trino.cost
Class TableScanStatsRule
- java.lang.Object
-
- io.trino.cost.SimpleStatsRule<TableScanNode>
-
- io.trino.cost.TableScanStatsRule
-
- All Implemented Interfaces:
ComposableStatsCalculator.Rule<TableScanNode>
public class TableScanStatsRule extends SimpleStatsRule<TableScanNode>
-
-
Constructor Summary
Constructors Constructor Description TableScanStatsRule(Metadata metadata, StatsNormalizer normalizer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Optional<PlanNodeStatsEstimate>doCalculate(TableScanNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types)Pattern<TableScanNode>getPattern()-
Methods inherited from class io.trino.cost.SimpleStatsRule
calculate
-
-
-
-
Constructor Detail
-
TableScanStatsRule
public TableScanStatsRule(Metadata metadata, StatsNormalizer normalizer)
-
-
Method Detail
-
getPattern
public Pattern<TableScanNode> getPattern()
-
doCalculate
protected Optional<PlanNodeStatsEstimate> doCalculate(TableScanNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types)
- Specified by:
doCalculatein classSimpleStatsRule<TableScanNode>
-
-