@Immutable public class RewritePseudoColumns extends Object implements OptimizerRule
Modifier and Type | Field and Description |
---|---|
static RewritePseudoColumns |
INSTANCE |
Constructor and Description |
---|
RewritePseudoColumns() |
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 Constraint |
rewrite(QueryContext context,
Constraint constraint) |
protected DynamicOperand |
rewrite(QueryContext context,
DynamicOperand operand) |
protected JoinCondition |
rewrite(QueryContext context,
JoinCondition condition) |
protected List<Constraint> |
rewrite(QueryContext context,
List<Constraint> constraints) |
String |
toString() |
public static final RewritePseudoColumns INSTANCE
public PlanNode execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
OptimizerRule
execute
in interface OptimizerRule
context
- 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 JoinCondition rewrite(QueryContext context, JoinCondition condition)
protected List<Constraint> rewrite(QueryContext context, List<Constraint> constraints)
protected Constraint rewrite(QueryContext context, Constraint constraint)
protected DynamicOperand rewrite(QueryContext context, DynamicOperand operand)
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.