Packages

package logical

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. case class AlterTableAddConstraint(table: LogicalPlan, constraintName: String, expr: String) extends LogicalPlan with AlterTableCommand with Product with Serializable

    The logical plan of the ALTER TABLE ...

    The logical plan of the ALTER TABLE ... ADD CONSTRAINT command.

  2. case class AlterTableDropConstraint(table: LogicalPlan, constraintName: String, ifExists: Boolean) extends LogicalPlan with AlterTableCommand with Product with Serializable

    The logical plan of the ALTER TABLE ...

    The logical plan of the ALTER TABLE ... DROP CONSTRAINT command.

  3. case class DeltaDelete(child: LogicalPlan, condition: Option[Expression]) extends LogicalPlan with UnaryNode with Product with Serializable
  4. case class DeltaMergeAction(targetColNameParts: Seq[String], expr: Expression, targetColNameResolved: Boolean = false) extends UnaryExpression with DeltaUnevaluable with Product with Serializable

    Represents an action in MERGE's UPDATE or INSERT clause where a target columns is assigned the value of an expression

    Represents an action in MERGE's UPDATE or INSERT clause where a target columns is assigned the value of an expression

    targetColNameParts

    The name parts of the target column. This is a sequence to support nested fields as targets.

    expr

    Expression to generate the value of the target column.

    targetColNameResolved

    Whether the targetColNameParts have undergone resolution and checks for validity.

  5. case class DeltaMergeInto(target: LogicalPlan, source: LogicalPlan, condition: Expression, matchedClauses: Seq[DeltaMergeIntoMatchedClause], notMatchedClauses: Seq[DeltaMergeIntoInsertClause], migrateSchema: Boolean, finalSchema: Option[StructType]) extends LogicalPlan with Command with SupportsSubquery with Product with Serializable

    Merges changes specified in the source plan into a target table, based on the given search condition and the actions to perform when the condition is matched or not matched by the rows.

    Merges changes specified in the source plan into a target table, based on the given search condition and the actions to perform when the condition is matched or not matched by the rows.

    The syntax of the MERGE statement is as follows.

    MERGE INTO <target_table_with_alias>
    USING <source_table_with_alias>
    ON <search_condition>
    [ WHEN MATCHED [ AND <condition> ] THEN <matched_action> ]
    [ WHEN MATCHED [ AND <condition> ] THEN <matched_action> ]
    ...
    [ WHEN NOT MATCHED [ AND <condition> ] THEN <not_matched_action> ]
    [ WHEN NOT MATCHED [ AND <condition> ] THEN <not_matched_action> ]
    ...
    
    where
    <matched_action> = DELETE | UPDATE SET column1 = value1 [, column2 = value2 ...]
    <not_matched_action> = INSERT (column1 [, column2 ...]) VALUES (expr1 [, expr2 ...])

    - There can be any number of WHEN clauses. - WHEN MATCHED clauses:

    • Each WHEN MATCHED clause can have an optional condition. However, if there are multiple WHEN MATCHED clauses, only the last can omit the condition.
    • WHEN MATCHED clauses are dependent on their ordering; that is, the first clause that satisfies the clause's condition has its corresponding action executed. - WHEN NOT MATCHED clause:
    • Can only have the INSERT action. If present, they must follow the last WHEN MATCHED clause.
    • Each WHEN NOT MATCHED clause can have an optional condition. However, if there are multiple clauses, only the last can omit the condition.
    • WHEN NOT MATCHED clauses are dependent on their ordering; that is, the first clause that satisfies the clause's condition has its corresponding action executed.
  6. sealed trait DeltaMergeIntoClause extends Expression with DeltaUnevaluable

    Trait that represents a WHEN clause in MERGE.

    Trait that represents a WHEN clause in MERGE. See DeltaMergeInto. It extends Expression so that Catalyst can find all the expressions in the clause implementations.

  7. case class DeltaMergeIntoDeleteClause(condition: Option[Expression]) extends Expression with DeltaMergeIntoMatchedClause with Product with Serializable

    Represents the clause WHEN MATCHED THEN DELETE in MERGE.

    Represents the clause WHEN MATCHED THEN DELETE in MERGE. See DeltaMergeInto.

  8. case class DeltaMergeIntoInsertClause(condition: Option[Expression], actions: Seq[Expression]) extends Expression with DeltaMergeIntoClause with Product with Serializable

    Represents the clause WHEN NOT MATCHED THEN INSERT in MERGE.

    Represents the clause WHEN NOT MATCHED THEN INSERT in MERGE. See DeltaMergeInto.

  9. sealed trait DeltaMergeIntoMatchedClause extends Expression with DeltaMergeIntoClause

    Trait that represents WHEN MATCHED clause in MERGE.

    Trait that represents WHEN MATCHED clause in MERGE. See DeltaMergeInto.

  10. case class DeltaMergeIntoUpdateClause(condition: Option[Expression], actions: Seq[Expression]) extends Expression with DeltaMergeIntoMatchedClause with Product with Serializable

    Represents the clause WHEN MATCHED THEN UPDATE in MERGE.

    Represents the clause WHEN MATCHED THEN UPDATE in MERGE. See DeltaMergeInto.

  11. trait DeltaUnevaluable extends Expression

    A copy of Spark SQL Unevaluable for cross-version compatibility.

    A copy of Spark SQL Unevaluable for cross-version compatibility. In 3.0, implementers of the original Unevaluable must explicitly override foldable to false; in 3.1 onwards, this explicit override is invalid.

  12. case class DeltaUpdateTable(child: LogicalPlan, updateColumns: Seq[Expression], updateExpressions: Seq[Expression], condition: Option[Expression]) extends LogicalPlan with UnaryNode with Product with Serializable

    Perform UPDATE on a table

    Perform UPDATE on a table

    child

    the logical plan representing target table

  13. case class RestoreTableStatement(table: TimeTravel) extends LogicalPlan with UnaryNode with Product with Serializable

    RESTORE TABLE statement as parsed from SQL

    RESTORE TABLE statement as parsed from SQL

    table

    - logical node of the table that will be restored, internally contains either version or timestamp.

Value Members

  1. object DeltaMergeInto extends Serializable
  2. object DeltaMergeIntoClause
  3. object DeltaUpdateTable extends Serializable

Ungrouped