package joins
- Alphabetic
- Public
- All
Type Members
-
trait
BaseJoinExec extends SparkPlan with BinaryExecNode
Holds common logic for join operators
-
case class
BroadcastHashJoinExec(leftKeys: Seq[Expression], rightKeys: Seq[Expression], joinType: JoinType, buildSide: BuildSide, condition: Option[Expression], left: SparkPlan, right: SparkPlan, isNullAwareAntiJoin: Boolean = false) extends SparkPlan with HashJoin with Product with Serializable
Performs an inner hash join of two child relations.
Performs an inner hash join of two child relations. When the output RDD of this operator is being constructed, a Spark job is asynchronously started to calculate the values for the broadcast relation. This data is then placed in a Spark broadcast variable. The streamed relation is not shuffled.
- case class BroadcastNestedLoopJoinExec(left: SparkPlan, right: SparkPlan, buildSide: BuildSide, joinType: JoinType, condition: Option[Expression]) extends SparkPlan with JoinCodegenSupport with Product with Serializable
- case class CartesianProductExec(left: SparkPlan, right: SparkPlan, condition: Option[Expression]) extends SparkPlan with BaseJoinExec with Product with Serializable
- trait HashJoin extends SparkPlan with JoinCodegenSupport
-
case class
HashedRelationBroadcastMode(key: Seq[Expression], isNullAware: Boolean = false) extends BroadcastMode with Product with Serializable
The HashedRelationBroadcastMode requires that rows are broadcasted as a HashedRelation.
-
trait
JoinCodegenSupport extends SparkPlan with CodegenSupport with BaseJoinExec
An interface for those join physical operators that support codegen.
- class LongHashedRelation extends HashedRelation with Externalizable
-
case class
ShuffledHashJoinExec(leftKeys: Seq[Expression], rightKeys: Seq[Expression], joinType: JoinType, buildSide: BuildSide, condition: Option[Expression], left: SparkPlan, right: SparkPlan, isSkewJoin: Boolean = false) extends SparkPlan with HashJoin with ShuffledJoin with Product with Serializable
Performs a hash join of two child relations by first shuffling the data using the join keys.
-
trait
ShuffledJoin extends SparkPlan with JoinCodegenSupport
Holds common logic for join operators by shuffling two child relations using the join keys.
-
case class
SortMergeJoinExec(leftKeys: Seq[Expression], rightKeys: Seq[Expression], joinType: JoinType, condition: Option[Expression], left: SparkPlan, right: SparkPlan, isSkewJoin: Boolean = false) extends SparkPlan with ShuffledJoin with Product with Serializable
Performs a sort merge join of two child relations.
-
class
UnsafeCartesianRDD extends CartesianRDD[UnsafeRow, UnsafeRow]
An optimized CartesianRDD for UnsafeRow, which will cache the rows from second child RDD, will be much faster than building the right partition for every row in left RDD, it also materialize the right RDD (in case of the right RDD is nondeterministic).
Value Members
-
object
EmptyHashedRelation extends HashedRelation with Product with Serializable
A special HashedRelation indicating that it's built from a empty input:Iterator[InternalRow].
A special HashedRelation indicating that it's built from a empty input:Iterator[InternalRow]. get & getValue will return null just like empty LongHashedRelation or empty UnsafeHashedRelation does.
- object HashJoin extends CastSupport with SQLConfHelper with Serializable
-
object
HashedRelationWithAllNullKeys extends HashedRelation with Product with Serializable
A special HashedRelation indicating that it's built from a non-empty input:Iterator[InternalRow] with all the keys to be null.