Package io.trino.cost
Class OutputStatsRule
java.lang.Object
io.trino.cost.OutputStatsRule
- All Implemented Interfaces:
ComposableStatsCalculator.Rule<OutputNode>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalculate(OutputNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types, TableStatsProvider tableStatsProvider)
-
Constructor Details
-
OutputStatsRule
public OutputStatsRule()
-
-
Method Details
-
getPattern
- Specified by:
getPatternin interfaceComposableStatsCalculator.Rule<OutputNode>
-
calculate
public Optional<PlanNodeStatsEstimate> calculate(OutputNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types, TableStatsProvider tableStatsProvider) - Specified by:
calculatein interfaceComposableStatsCalculator.Rule<OutputNode>
-