Package org.apache.calcite.rex
Class RexUtil.SubQueryFinder
- All Implemented Interfaces:
RexVisitor<Void>
- Enclosing class:
RexUtil
Visitor that throws
Util.FoundOne
if
applied to an expression that contains a RexSubQuery
.-
Field Summary
Modifier and TypeFieldDescriptionDeprecated.static final RexUtil.SubQueryFinder
static final com.google.common.base.Predicate<Join>
Deprecated.static final com.google.common.base.Predicate<Project>
Deprecated.Fields inherited from class org.apache.calcite.rex.RexVisitorImpl
deep
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
containsSubQuery
(Filter filter) Returns whether aFilter
contains a sub-query.static boolean
containsSubQuery
(Join join) Returns whether aJoin
contains a sub-query.static boolean
containsSubQuery
(Project project) Returns whether aProject
contains a sub-query.static @Nullable RexSubQuery
static @Nullable RexSubQuery
visitSubQuery
(RexSubQuery subQuery) Methods inherited from class org.apache.calcite.rex.RexVisitorImpl
visitArrayAnd, visitArrayOr, visitCall, visitCorrelVariable, visitDynamicParam, visitFieldAccess, visitInputRef, visitLambda, visitLambdaRef, visitLiteral, visitLocalRef, visitOver, visitPatternFieldRef, visitRangeRef, visitTableInputRef
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.calcite.rex.RexVisitor
visitEach, visitList, visitList
-
Field Details
-
INSTANCE
-
PROJECT_PREDICATE
Deprecated. -
FILTER_PREDICATE
Deprecated. -
JOIN_PREDICATE
Deprecated.
-
-
Method Details
-
containsSubQuery
Returns whether aProject
contains a sub-query. -
containsSubQuery
Returns whether aFilter
contains a sub-query. -
containsSubQuery
Returns whether aJoin
contains a sub-query. -
visitSubQuery
- Specified by:
visitSubQuery
in interfaceRexVisitor<Void>
- Overrides:
visitSubQuery
in classRexVisitorImpl<Void>
-
find
-
find
-