package plans
A collection of common abstractions for query plans as well as a base logical plan representation.
- Alphabetic
- By Inheritance
- plans
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- case class ExistenceJoin(exists: Attribute) extends JoinType with Product with Serializable
-
sealed abstract
class
InnerLike extends JoinType
The explicitCartesian flag indicates if the inner join was constructed with a CROSS join indicating a cartesian product has been explicitly requested.
- sealed abstract class JoinType extends AnyRef
- case class NaturalJoin(tpe: JoinType) extends JoinType with Product with Serializable
-
abstract
class
QueryPlan[PlanType <: QueryPlan[PlanType]] extends TreeNode[PlanType]
An abstraction of the Spark SQL query plan tree, which can be logical or physical.
An abstraction of the Spark SQL query plan tree, which can be logical or physical. This class defines some basic properties of a query plan node, as well as some new transform APIs to transform the expressions of the plan node.
Note that, the query plan is a mutually recursive structure: QueryPlan -> Expression (subquery) -> QueryPlan The tree traverse APIs like
transform,foreach,collect, etc. that are inherited fromTreeNode, do not traverse into query plans inside subqueries. - case class UsingJoin(tpe: JoinType, usingColumns: Seq[String]) extends JoinType with Product with Serializable
Value Members
- object Cross extends InnerLike with Product with Serializable
- object FullOuter extends JoinType with Product with Serializable
- object Inner extends InnerLike with Product with Serializable
- object JoinType
- object LeftAnti extends JoinType with Product with Serializable
- object LeftExistence
- object LeftOuter extends JoinType with Product with Serializable
- object LeftSemi extends JoinType with Product with Serializable
- object LeftSemiOrAnti
- object QueryPlan extends PredicateHelper
- object RightOuter extends JoinType with Product with Serializable