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