Command — Eagerly-Executed Logical Operators¶
Command
is an extension of the LogicalPlan abstraction for logical operators that are executed early in the query plan lifecycle (unlike logical operators in general).
Command
is a marker interface for logical operators that are executed when a Dataset
is requested for the logical plan (which is after the query has been analyzed).
Implementations¶
- AlterNamespaceSetLocation
- AlterNamespaceSetProperties
- AlterTable
- CommentOnNamespace
- CommentOnTable
- CreateNamespace
- CreateTableAsSelect
- CreateV2Table
- DataWritingCommand
- DeleteFromTable
- DescribeNamespace
- DescribeRelation
- DropNamespace
- DropTable
- MergeIntoTable
- RefreshTable
- RenameTable
- ReplaceTable
- ReplaceTableAsSelect
- RunnableCommand
- SetCatalogAndNamespace
- ShowCurrentNamespace
- ShowNamespaces
- ShowTableProperties
- ShowTables
- ShowViews
- UpdateTable
- V2WriteCommand
Output Attributes¶
output: Seq[Attribute]
Command
has no output attributes by default.
output
is part of the QueryPlan abstraction.
Child Logical Operators¶
children: Seq[LogicalPlan]
Command
has no child logical operators by default.
children
is part of the TreeNode abstraction.
Statistics¶
stats: Statistics
Command
has no Statistics by default.
stats
is part of the LogicalPlanStats abstraction.
Last update: 2020-11-20