Package org.apache.calcite.plan
Class SubstitutionVisitor.AbstractUnifyRule
java.lang.Object
org.apache.calcite.plan.SubstitutionVisitor.UnifyRule
org.apache.calcite.plan.SubstitutionVisitor.AbstractUnifyRule
- Enclosing class:
SubstitutionVisitor
public abstract static class SubstitutionVisitor.AbstractUnifyRule
extends SubstitutionVisitor.UnifyRule
Abstract base class for implementing
SubstitutionVisitor.UnifyRule
.-
Field Summary
Fields inherited from class org.apache.calcite.plan.SubstitutionVisitor.UnifyRule
queryOperand, slotCount, targetOperand
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractUnifyRule
(SubstitutionVisitor.Operand queryOperand, SubstitutionVisitor.Operand targetOperand, int slotCount) -
Method Summary
Modifier and TypeMethodDescriptionprotected static SubstitutionVisitor.Operand
any
(Class<? extends MutableRel> clazz) Creates an operand that doesn't check inputs.protected boolean
isValid()
protected static SubstitutionVisitor.Operand
operand
(Class<? extends MutableRel> clazz, SubstitutionVisitor.Operand... inputOperands) Creates an operand with given inputs.protected static SubstitutionVisitor.Operand
query
(int ordinal) Creates an operand that matches a relational expression in the query.protected static SubstitutionVisitor.Operand
target
(int ordinal) Creates an operand that matches a relational expression in the target.Methods inherited from class org.apache.calcite.plan.SubstitutionVisitor.UnifyRule
apply, copy, match
-
Constructor Details
-
AbstractUnifyRule
protected AbstractUnifyRule(SubstitutionVisitor.Operand queryOperand, SubstitutionVisitor.Operand targetOperand, int slotCount)
-
-
Method Details
-
isValid
protected boolean isValid() -
operand
protected static SubstitutionVisitor.Operand operand(Class<? extends MutableRel> clazz, SubstitutionVisitor.Operand... inputOperands) Creates an operand with given inputs. -
any
Creates an operand that doesn't check inputs. -
query
Creates an operand that matches a relational expression in the query. -
target
Creates an operand that matches a relational expression in the target.
-