Package org.apache.calcite.rel.core
Class Match.PatternVarFinder
- java.lang.Object
-
- org.apache.calcite.rex.RexVisitorImpl
-
- org.apache.calcite.rel.core.Match.PatternVarFinder
-
- All Implemented Interfaces:
RexVisitor
- Enclosing class:
- Match
private static class Match.PatternVarFinder extends RexVisitorImpl
Visits the operands of an aggregate call to retrieve relevant pattern variables.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.Set<java.lang.String>
patternVars
-
Fields inherited from class org.apache.calcite.rex.RexVisitorImpl
deep
-
-
Constructor Summary
Constructors Constructor Description PatternVarFinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.lang.String>
go(java.util.List<RexNode> rexNodeList)
java.util.Set<java.lang.String>
go(RexNode rex)
java.lang.Object
visitCall(RexCall call)
java.lang.Object
visitPatternFieldRef(RexPatternFieldRef fieldRef)
-
Methods inherited from class org.apache.calcite.rex.RexVisitorImpl
visitArrayAnd, visitArrayOr, visitCorrelVariable, visitDynamicParam, visitFieldAccess, visitInputRef, visitLiteral, visitLocalRef, visitOver, visitRangeRef, visitSubQuery, visitTableInputRef
-
-
-
-
Method Detail
-
visitPatternFieldRef
public java.lang.Object visitPatternFieldRef(RexPatternFieldRef fieldRef)
- Specified by:
visitPatternFieldRef
in interfaceRexVisitor
- Overrides:
visitPatternFieldRef
in classRexVisitorImpl
-
visitCall
public java.lang.Object visitCall(RexCall call)
- Specified by:
visitCall
in interfaceRexVisitor
- Overrides:
visitCall
in classRexVisitorImpl
-
go
public java.util.Set<java.lang.String> go(RexNode rex)
-
go
public java.util.Set<java.lang.String> go(java.util.List<RexNode> rexNodeList)
-
-