Package org.apache.calcite.rex
Class RexUtil.SubQueryFinder
- java.lang.Object
-
- org.apache.calcite.rex.RexVisitorImpl<Void>
-
- org.apache.calcite.rex.RexUtil.SubQueryFinder
-
-
Field Summary
Fields Modifier and Type Field Description static Predicate<org.apache.calcite.rel.core.Filter>
FILTER_PREDICATE
Deprecated.static RexUtil.SubQueryFinder
INSTANCE
static com.google.common.base.Predicate<org.apache.calcite.rel.core.Join>
JOIN_PREDICATE
Deprecated.static com.google.common.base.Predicate<org.apache.calcite.rel.core.Project>
PROJECT_PREDICATE
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
containsSubQuery(org.apache.calcite.rel.core.Filter filter)
Returns whether aFilter
contains a sub-query.static boolean
containsSubQuery(org.apache.calcite.rel.core.Join join)
Returns whether aJoin
contains a sub-query.static boolean
containsSubQuery(org.apache.calcite.rel.core.Project project)
Returns whether aProject
contains a sub-query.static @Nullable org.apache.calcite.rex.RexSubQuery
find(Iterable<org.apache.calcite.rex.RexNode> nodes)
static @Nullable org.apache.calcite.rex.RexSubQuery
find(org.apache.calcite.rex.RexNode node)
Void
visitSubQuery(org.apache.calcite.rex.RexSubQuery subQuery)
-
Methods inherited from class org.apache.calcite.rex.RexVisitorImpl
visitArrayAnd, visitArrayOr, visitCall, visitCorrelVariable, visitDynamicParam, visitFieldAccess, visitInputRef, visitLiteral, visitLocalRef, visitOver, visitPatternFieldRef, visitRangeRef, visitTableInputRef
-
-
-
-
Field Detail
-
INSTANCE
public static final RexUtil.SubQueryFinder INSTANCE
-
PROJECT_PREDICATE
@Deprecated public static final com.google.common.base.Predicate<org.apache.calcite.rel.core.Project> PROJECT_PREDICATE
Deprecated.
-
FILTER_PREDICATE
@Deprecated public static final Predicate<org.apache.calcite.rel.core.Filter> FILTER_PREDICATE
Deprecated.
-
JOIN_PREDICATE
@Deprecated public static final com.google.common.base.Predicate<org.apache.calcite.rel.core.Join> JOIN_PREDICATE
Deprecated.
-
-
Method Detail
-
containsSubQuery
public static boolean containsSubQuery(org.apache.calcite.rel.core.Project project)
Returns whether aProject
contains a sub-query.
-
containsSubQuery
public static boolean containsSubQuery(org.apache.calcite.rel.core.Filter filter)
Returns whether aFilter
contains a sub-query.
-
containsSubQuery
public static boolean containsSubQuery(org.apache.calcite.rel.core.Join join)
Returns whether aJoin
contains a sub-query.
-
visitSubQuery
public Void visitSubQuery(org.apache.calcite.rex.RexSubQuery subQuery)
-
find
public static @Nullable org.apache.calcite.rex.RexSubQuery find(Iterable<org.apache.calcite.rex.RexNode> nodes)
-
find
public static @Nullable org.apache.calcite.rex.RexSubQuery find(org.apache.calcite.rex.RexNode node)
-
-