Package io.prestosql.cost
Class OutputStatsRule
- java.lang.Object
-
- io.prestosql.cost.OutputStatsRule
-
- All Implemented Interfaces:
ComposableStatsCalculator.Rule<OutputNode>
public class OutputStatsRule extends Object implements ComposableStatsCalculator.Rule<OutputNode>
-
-
Constructor Summary
Constructors Constructor Description OutputStatsRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<PlanNodeStatsEstimate>
calculate(OutputNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types)
Pattern<OutputNode>
getPattern()
-
-
-
Method Detail
-
getPattern
public Pattern<OutputNode> getPattern()
- Specified by:
getPattern
in interfaceComposableStatsCalculator.Rule<OutputNode>
-
calculate
public Optional<PlanNodeStatsEstimate> calculate(OutputNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types)
- Specified by:
calculate
in interfaceComposableStatsCalculator.Rule<OutputNode>
-
-