Package

org.apache.spark.sql.sedona_sql.strategy

join

Permalink

package join

Visibility
  1. Public
  2. All

Type Members

  1. case class BroadcastIndexJoinExec(left: SparkPlan, right: SparkPlan, streamShape: Expression, indexBuildSide: JoinSide, windowJoinSide: JoinSide, intersects: Boolean, extraCondition: Option[Expression] = None, radius: Option[Expression] = None) extends SparkPlan with BinaryExecNode with TraitJoinQueryBase with Logging with Product with Serializable

    Permalink
  2. case class DistanceJoinExec(left: SparkPlan, right: SparkPlan, leftShape: Expression, rightShape: Expression, radius: Expression, intersects: Boolean, extraCondition: Option[Expression] = None) extends SparkPlan with BinaryExecNode with TraitJoinQueryExec with Logging with Product with Serializable

    Permalink
  3. case class JoinQueryDetection(left: LogicalPlan, right: LogicalPlan, leftShape: Expression, rightShape: Expression, intersects: Boolean, extraCondition: Option[Expression] = None, radius: Option[Expression] = None) extends Product with Serializable

    Permalink
  4. class JoinQueryDetector extends Strategy

    Permalink

    Plans RangeJoinExec for inner joins on spatial relationships ST_Contains(a, b) and ST_Intersects(a, b).

    Plans RangeJoinExec for inner joins on spatial relationships ST_Contains(a, b) and ST_Intersects(a, b).

    Plans DistanceJoinExec for inner joins on spatial relationship ST_Distance(a, b) < r.

    Plans BroadcastIndexJoinExec for inner joins on spatial relationships with a broadcast hint.

  5. sealed trait JoinSide extends AnyRef

    Permalink
  6. case class RangeJoinExec(left: SparkPlan, right: SparkPlan, leftShape: Expression, rightShape: Expression, intersects: Boolean, extraCondition: Option[Expression] = None) extends SparkPlan with BinaryExecNode with TraitJoinQueryExec with Logging with Product with Serializable

    Permalink

    ST_Contains(left, right) - left contains right or ST_Intersects(left, right) - left and right intersect

    ST_Contains(left, right) - left contains right or ST_Intersects(left, right) - left and right intersect

    left

    left side of the join

    right

    right side of the join

    leftShape

    expression for the first argument of ST_Contains or ST_Intersects

    rightShape

    expression for the second argument of ST_Contains or ST_Intersects

    intersects

    boolean indicating whether spatial relationship is 'intersects' (true) or 'contains' (false)

  7. case class SpatialIndexExec(child: SparkPlan, shape: Expression, indexType: IndexType, radius: Option[Expression] = None) extends Exchange with TraitJoinQueryBase with Logging with Product with Serializable

    Permalink
  8. trait TraitJoinQueryBase extends AnyRef

    Permalink
  9. trait TraitJoinQueryExec extends TraitJoinQueryBase

    Permalink

Value Members

  1. object LeftSide extends JoinSide with Product with Serializable

    Permalink
  2. object RightSide extends JoinSide with Product with Serializable

    Permalink

Ungrouped