public abstract static class RexUtil.RexFinder extends RexVisitorImpl<Void>
deep| Modifier and Type | Method and Description |
|---|---|
boolean |
anyContain(Iterable<? extends RexNode> nodes)
Returns whether any of the given expressions contain what this RexFinder
seeks.
|
boolean |
contains(RexNode node)
Returns whether the given expression contains what this RexFinder
seeks.
|
boolean |
inFilter(Filter filter)
Returns whether a
Filter contains the kind of expression we
seek. |
boolean |
inJoin(Join join)
Returns whether a
Join contains kind of expression we seek. |
boolean |
inProject(Project project)
Returns whether a
Project contains the kind of expression we
seek. |
visitArrayAnd, visitArrayOr, visitCall, visitCorrelVariable, visitDynamicParam, visitFieldAccess, visitInputRef, visitLiteral, visitLocalRef, visitOver, visitPatternFieldRef, visitRangeRef, visitSubQuery, visitTableInputRefclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvisitEach, visitList, visitListpublic boolean inProject(Project project)
Project contains the kind of expression we
seek.public boolean inFilter(Filter filter)
Filter contains the kind of expression we
seek.public boolean contains(RexNode node)
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.