public class EnforceSingleRowStatsRule extends SimpleStatsRule<EnforceSingleRowNode>
| Constructor and Description |
|---|
EnforceSingleRowStatsRule(StatsNormalizer normalizer) |
| Modifier and Type | Method and Description |
|---|---|
protected Optional<PlanNodeStatsEstimate> |
doCalculate(EnforceSingleRowNode node,
StatsProvider sourceStats,
Lookup lookup,
Session session,
TypeProvider types) |
Pattern<EnforceSingleRowNode> |
getPattern() |
calculatepublic EnforceSingleRowStatsRule(StatsNormalizer normalizer)
public Pattern<EnforceSingleRowNode> getPattern()
protected Optional<PlanNodeStatsEstimate> doCalculate(EnforceSingleRowNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types)
doCalculate in class SimpleStatsRule<EnforceSingleRowNode>Copyright © 2012–2019. All rights reserved.