Package org.apache.calcite.plan
Class SubstitutionVisitor.TargetOperand
- java.lang.Object
-
- org.apache.calcite.plan.SubstitutionVisitor.Operand
-
- org.apache.calcite.plan.SubstitutionVisitor.TargetOperand
-
- Enclosing class:
- SubstitutionVisitor
private static class SubstitutionVisitor.TargetOperand extends SubstitutionVisitor.Operand
Operand that checks that a relational expression matches the corresponding relational expression that was passed to aSubstitutionVisitor.QueryOperand
.
-
-
Field Summary
Fields Modifier and Type Field Description private int
ordinal
-
Fields inherited from class org.apache.calcite.plan.SubstitutionVisitor.Operand
clazz
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TargetOperand(int ordinal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isWeaker(SubstitutionVisitor visitor, MutableRel rel)
boolean
matches(SubstitutionVisitor visitor, MutableRel rel)
-
-
-
Method Detail
-
matches
public boolean matches(SubstitutionVisitor visitor, MutableRel rel)
- Specified by:
matches
in classSubstitutionVisitor.Operand
-
isWeaker
public boolean isWeaker(SubstitutionVisitor visitor, MutableRel rel)
- Overrides:
isWeaker
in classSubstitutionVisitor.Operand
-
-