public interface StatsCalculator
| Modifier and Type | Method and Description |
|---|---|
PlanNodeStatsEstimate |
calculateStats(PlanNode node,
StatsProvider sourceStats,
Lookup lookup,
Session session,
TypeProvider types)
Calculate stats for the
node. |
PlanNodeStatsEstimate calculateStats(PlanNode node, StatsProvider sourceStats, Lookup lookup, Session session, TypeProvider types)
node.node - The node to compute stats for.sourceStats - The stats provider for any child nodes' stats, if needed to compute stats for the nodelookup - Lookup to be used when resolving source nodes, allowing stats calculation to work within IterativeOptimizertypes - The type provider for all symbols in the scope.Copyright © 2012–2019. All rights reserved.