Package org.apache.calcite.rex
Class RexUtil.RexFinder
- java.lang.Object
-
- org.apache.calcite.rex.RexVisitorImpl<Void>
-
- org.apache.calcite.rex.RexUtil.RexFinder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
anyContain(Iterable<? extends org.apache.calcite.rex.RexNode> nodes)
Returns whether any of the given expressions contain what this RexFinder seeks.boolean
contains(org.apache.calcite.rex.RexNode node)
Returns whether the given expression contains what this RexFinder seeks.boolean
inFilter(org.apache.calcite.rel.core.Filter filter)
Returns whether aFilter
contains the kind of expression we seek.boolean
inJoin(org.apache.calcite.rel.core.Join join)
Returns whether aJoin
contains kind of expression we seek.boolean
inProject(org.apache.calcite.rel.core.Project project)
Returns whether aProject
contains the kind of expression we seek.-
Methods inherited from class org.apache.calcite.rex.RexVisitorImpl
visitArrayAnd, visitArrayOr, visitCall, visitCorrelVariable, visitDynamicParam, visitFieldAccess, visitInputRef, visitLiteral, visitLocalRef, visitOver, visitPatternFieldRef, visitRangeRef, visitSubQuery, visitTableInputRef
-
-
-
-
Method Detail
-
inProject
public boolean inProject(org.apache.calcite.rel.core.Project project)
Returns whether aProject
contains the kind of expression we seek.
-
inFilter
public boolean inFilter(org.apache.calcite.rel.core.Filter filter)
Returns whether aFilter
contains the kind of expression we seek.
-
inJoin
public boolean inJoin(org.apache.calcite.rel.core.Join join)
Returns whether aJoin
contains kind of expression we seek.
-
contains
public boolean contains(org.apache.calcite.rex.RexNode node)
Returns whether the given expression contains what this RexFinder seeks.
-
anyContain
public boolean anyContain(Iterable<? extends org.apache.calcite.rex.RexNode> nodes)
Returns whether any of the given expressions contain what this RexFinder seeks.
-
-