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. case class CacheCommand(tableName: String, doCache: Boolean) extends Command with Product with Serializable

    Returned for the "CACHE TABLE tableName" and "UNCACHE TABLE tableName" command.

  4. abstract class Command extends LeafNode

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

  5. case class DescribeCommand(table: LogicalPlan, isExtended: Boolean) extends Command with Product with Serializable

    Returned for the "DESCRIBE [EXTENDED] [dbName.

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

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

  8. case class ExplainCommand(plan: LogicalPlan, extended: Boolean = false) extends Command with Product with Serializable

    Returned by a parser when the users only wants to see what query plan would be executed, without actually performing the execution.

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

  10. case class Generate(generator: Generator, join: Boolean, outer: Boolean, alias: Option[String], 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.

  11. case class InsertIntoCreatedTable(databaseName: Option[String], tableName: String, child: LogicalPlan) extends UnaryNode with Product with Serializable

  12. case class InsertIntoTable(table: LogicalPlan, partition: Map[String, Option[String]], child: LogicalPlan, overwrite: 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[Product] = immutable.this.Nil) extends LeafNode with MultiInstanceRelation with Product with Serializable

  18. abstract class LogicalPlan extends QueryPlan[LogicalPlan]

  19. case class LowerCaseSchema(child: LogicalPlan) extends UnaryNode with Product with Serializable

    Converts the schema of child to all lowercase, together with LowercaseAttributeReferences this allows for optional case insensitive attribute resolution.

  20. case class NativeCommand(cmd: String) extends Command with Product with Serializable

    Returned for commands supported by a given parser, but not catalyst.

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

  22. abstract class RedistributeData extends UnaryNode

    Performs a physical redistribution of the data.

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

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

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

    Transforms the input by forking and running the specified script.

  26. case class SetCommand(key: Option[String], value: Option[String]) extends Command with Product with Serializable

    Commands of the form "SET (key) (= value)".

  27. case class Sort(order: Seq[SortOrder], 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 WriteToFile(path: String, child: LogicalPlan) extends UnaryNode with Product with Serializable

Value Members

  1. object LocalRelation extends Serializable

  2. object NoRelation extends LeafNode with Product with Serializable

Ungrouped