@Immutable public class RaiseVariableName extends Object implements OptimizerRule
optimizer rule that moves up higher in the plan any variable name
property to the node immediately under a dependent query node.| Modifier and Type | Field and Description |
|---|---|
static RaiseVariableName |
INSTANCE |
| Constructor and Description |
|---|
RaiseVariableName() |
| 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.
|
protected void |
raiseVariableName(PlanNode node) |
protected String |
removeVariableName(PlanNode node) |
String |
toString() |
public static final RaiseVariableName 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 nullprotected void raiseVariableName(PlanNode node)
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.