Package org.apache.calcite.plan
Class SubstitutionVisitor.QueryOperand
- java.lang.Object
-
- org.apache.calcite.plan.SubstitutionVisitor.Operand
-
- org.apache.calcite.plan.SubstitutionVisitor.QueryOperand
-
- Enclosing class:
- SubstitutionVisitor
private static class SubstitutionVisitor.QueryOperand extends SubstitutionVisitor.Operand
Operand that assigns a particular relational expression to a variable.It is applied to a descendant of the query, writes the operand into the slots array, and always matches. There is a corresponding operand of type
SubstitutionVisitor.TargetOperand
that checks whether its relational expression, a descendant of the target, is equivalent to thisQueryOperand
's relational expression.
-
-
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
QueryOperand(int ordinal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(SubstitutionVisitor visitor, MutableRel rel)
-
Methods inherited from class org.apache.calcite.plan.SubstitutionVisitor.Operand
isWeaker
-
-
-
-
Method Detail
-
matches
public boolean matches(SubstitutionVisitor visitor, MutableRel rel)
- Specified by:
matches
in classSubstitutionVisitor.Operand
-
-