Package org.apache.calcite.plan
Class SubstitutionVisitor.Operand
- java.lang.Object
-
- org.apache.calcite.plan.SubstitutionVisitor.Operand
-
- Direct Known Subclasses:
SubstitutionVisitor.AnyOperand
,SubstitutionVisitor.InternalOperand
,SubstitutionVisitor.QueryOperand
,SubstitutionVisitor.TargetOperand
- Enclosing class:
- SubstitutionVisitor
protected abstract static class SubstitutionVisitor.Operand extends java.lang.Object
Operand to aSubstitutionVisitor.UnifyRule
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Class<? extends MutableRel>
clazz
-
Constructor Summary
Constructors Modifier Constructor Description protected
Operand(java.lang.Class<? extends MutableRel> clazz)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
isWeaker(SubstitutionVisitor visitor, MutableRel rel)
abstract boolean
matches(SubstitutionVisitor visitor, MutableRel rel)
-
-
-
Field Detail
-
clazz
protected final java.lang.Class<? extends MutableRel> clazz
-
-
Constructor Detail
-
Operand
protected Operand(java.lang.Class<? extends MutableRel> clazz)
-
-
Method Detail
-
matches
public abstract boolean matches(SubstitutionVisitor visitor, MutableRel rel)
-
isWeaker
public boolean isWeaker(SubstitutionVisitor visitor, MutableRel rel)
-
-