Skip to content

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

Output Attributes

QueryPlan
output: Seq[Attribute]

output is part of the QueryPlan abstraction.

Command has no output attributes by default.

Child Logical Operators

TreeNode
children: Seq[LogicalPlan]

children is part of the TreeNode abstraction.

Command has no child logical operators by default.

Statistics

LogicalPlanStats
stats: Statistics

stats is part of the LogicalPlanStats abstraction.

Command has no Statistics by default.