@Immutable public class RemoveEmptyAccessNodes extends Object implements OptimizerRule
optimizer rule that removes any ACCESS nodes that are known to never return any tuples because of
conflicting constraints.| Modifier and Type | Field and Description |
|---|---|
static RemoveEmptyAccessNodes |
INSTANCE |
| Constructor and Description |
|---|
RemoveEmptyAccessNodes() |
| Modifier and Type | Method and Description |
|---|---|
PlanNode |
execute(QueryContext context,
PlanNode plan,
LinkedList<OptimizerRule> ruleStack)
Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
|
String |
toString() |
public static final RemoveEmptyAccessNodes INSTANCE
public PlanNode execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
OptimizerRuleexecute in interface OptimizerRulecontext - the context in which the query is being optimized; never nullplan - the plan to be optimized; never nullruleStack - the stack of rules that will be run after this rule; never nullCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.