org.apache.spark.sql.catalyst.plans

logical

package logical

Visibility
  1. Public
  2. All

Type Members

  1. case class Aggregate(groupingExpressions: Seq[Expression], aggregateExpressions: Seq[NamedExpression], child: LogicalPlan) extends UnaryNode with Product with Serializable

  2. abstract class BinaryNode extends LogicalPlan with trees.BinaryNode[LogicalPlan]

    A logical plan node with a left and right child.

  3. trait Command extends AnyRef

    A logical node that represents a non-query command to be executed by the system.

  4. case class Cube(groupByExprs: Seq[Expression], child: LogicalPlan, aggregations: Seq[NamedExpression], gid: AttributeReference = ...) extends UnaryNode with GroupingAnalytics with Product with Serializable

    Cube is a syntactic sugar for GROUPING SETS, and will be transformed to GroupingSets, and eventually will be transformed to Aggregate(.

  5. case class Distinct(child: LogicalPlan) extends UnaryNode with Product with Serializable

  6. case class Except(left: LogicalPlan, right: LogicalPlan) extends BinaryNode with Product with Serializable

  7. case class Expand(projections: Seq[GroupExpression], output: Seq[Attribute], child: LogicalPlan) extends UnaryNode with Product with Serializable

    Apply the all of the GroupExpressions to every input row, hence we will get multiple output rows for a input row.

  8. case class Filter(condition: Expression, child: LogicalPlan) extends UnaryNode with Product with Serializable

  9. case class Generate(generator: Generator, join: Boolean, outer: Boolean, qualifier: Option[String], generatorOutput: Seq[Attribute], child: LogicalPlan) extends UnaryNode with Product with Serializable

    Applies a Generator to a stream of input rows, combining the output of each into a new stream of rows.

  10. trait GroupingAnalytics extends UnaryNode

  11. case class GroupingSets(bitmasks: Seq[Int], groupByExprs: Seq[Expression], child: LogicalPlan, aggregations: Seq[NamedExpression], gid: AttributeReference = ...) extends UnaryNode with GroupingAnalytics with Product with Serializable

    A GROUP BY clause with GROUPING SETS can generate a result set equivalent to generated by a UNION ALL of multiple simple GROUP BY clauses.

  12. case class InsertIntoTable(table: LogicalPlan, partition: Map[String, Option[String]], child: LogicalPlan, overwrite: Boolean, ifNotExists: Boolean) extends LogicalPlan with Product with Serializable

  13. case class Intersect(left: LogicalPlan, right: LogicalPlan) extends BinaryNode with Product with Serializable

  14. case class Join(left: LogicalPlan, right: LogicalPlan, joinType: JoinType, condition: Option[Expression]) extends BinaryNode with Product with Serializable

  15. abstract class LeafNode extends LogicalPlan with trees.LeafNode[LogicalPlan]

    A logical plan node with no children.

  16. case class Limit(limitExpr: Expression, child: LogicalPlan) extends UnaryNode with Product with Serializable

  17. case class LocalRelation(output: Seq[Attribute], data: Seq[Row] = immutable.this.Nil) extends LeafNode with MultiInstanceRelation with Product with Serializable

  18. abstract class LogicalPlan extends QueryPlan[LogicalPlan] with Logging

  19. case class Project(projectList: Seq[NamedExpression], child: LogicalPlan) extends UnaryNode with Product with Serializable

  20. abstract class RedistributeData extends UnaryNode

    Performs a physical redistribution of the data.

  21. case class Repartition(numPartitions: Int, shuffle: Boolean, child: LogicalPlan) extends UnaryNode with Product with Serializable

    Return a new RDD that has exactly numPartitions partitions.

  22. case class RepartitionByExpression(partitionExpressions: Seq[Expression], child: LogicalPlan) extends RedistributeData with Product with Serializable

    This method repartitions data using Expressions, and receives information about the number of partitions during execution.

  23. case class Rollup(groupByExprs: Seq[Expression], child: LogicalPlan, aggregations: Seq[NamedExpression], gid: AttributeReference = ...) extends UnaryNode with GroupingAnalytics with Product with Serializable

    Rollup is a syntactic sugar for GROUPING SETS, and will be transformed to GroupingSets, and eventually will be transformed to Aggregate(.

  24. case class Sample(lowerBound: Double, upperBound: Double, withReplacement: Boolean, seed: Long, child: LogicalPlan) extends UnaryNode with Product with Serializable

    Sample the dataset.

  25. trait ScriptInputOutputSchema extends AnyRef

    A placeholder for implementation specific input and output properties when passing data to a script.

  26. case class ScriptTransformation(input: Seq[Expression], script: String, output: Seq[Attribute], child: LogicalPlan, ioschema: ScriptInputOutputSchema) extends UnaryNode with Product with Serializable

    Transforms the input by forking and running the specified script.

  27. case class Sort(order: Seq[SortOrder], global: Boolean, child: LogicalPlan) extends UnaryNode with Product with Serializable

  28. case class SortPartitions(sortExpressions: Seq[SortOrder], child: LogicalPlan) extends RedistributeData with Product with Serializable

  29. case class Subquery(alias: String, child: LogicalPlan) extends UnaryNode with Product with Serializable

  30. abstract class UnaryNode extends LogicalPlan with trees.UnaryNode[LogicalPlan]

    A logical plan node with single child.

  31. case class Union(left: LogicalPlan, right: LogicalPlan) extends BinaryNode with Product with Serializable

  32. case class Window(projectList: Seq[Attribute], windowExpressions: Seq[NamedExpression], windowSpec: WindowSpecDefinition, child: LogicalPlan) extends UnaryNode with Product with Serializable

  33. case class With(child: LogicalPlan, cteRelations: Map[String, Subquery]) extends UnaryNode with Product with Serializable

    A container for holding named common table expressions (CTEs) and a query plan.

  34. case class WithWindowDefinition(windowDefinitions: Map[String, WindowSpecDefinition], child: LogicalPlan) extends UnaryNode with Product with Serializable

  35. case class WriteToFile(path: String, child: LogicalPlan) extends UnaryNode with Product with Serializable

Value Members

  1. object LocalRelation extends Serializable

  2. object OneRowRelation extends LeafNode with Product with Serializable

    A relation with one row.

Ungrouped