SubqueryExpression Contract — Expressions With Logical Query Plans
SubqueryExpression is the contract for expressions with logical query plans (i.e. PlanExpression[LogicalPlan]).
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
package org.apache.spark.sql.catalyst.expressions abstract class SubqueryExpression( plan: LogicalPlan, children: Seq[Expression], exprId: ExprId) extends PlanExpression[LogicalPlan] { // only required methods that have no implementation // the others follow override def withNewPlan(plan: LogicalPlan): SubqueryExpression } |
| Method | Description |
|---|---|
|
Used when:
|
| SubqueryExpression | Description |
|---|---|
SubqueryExpression is resolved when the children are resolved and the subquery logical plan is resolved.
references…FIXME
semanticEquals…FIXME
canonicalize…FIXME
hasInOrExistsSubquery Object Method
|
1 2 3 4 5 |
hasInOrExistsSubquery(e: Expression): Boolean |
hasInOrExistsSubquery…FIXME
|
Note
|
hasInOrExistsSubquery is used when…FIXME
|
hasCorrelatedSubquery Object Method
|
1 2 3 4 5 |
hasCorrelatedSubquery(e: Expression): Boolean |
hasCorrelatedSubquery…FIXME
|
Note
|
hasCorrelatedSubquery is used when…FIXME
|
hasSubquery Object Method
|
1 2 3 4 5 |
hasSubquery(e: Expression): Boolean |
hasSubquery…FIXME
|
Note
|
hasSubquery is used when…FIXME
|
Creating SubqueryExpression Instance
SubqueryExpression takes the following when created:
-
Subquery logical plan
-
Child expressions
spark技术分享