(Seq[NamedExpression], Seq[AggregateExpression], Seq[NamedExpression], LogicalPlan)
PhysicalAggregation — Scala Extractor for Destructuring Aggregate Logical Operators
PhysicalAggregation
is a Scala extractor to destructure an Aggregate logical operator into a four-element tuple with the following elements:
-
Grouping named expressions
-
Result named expressions
-
Child logical operator
ReturnType
Tip
|
See the document about Scala extractor objects. |
Destructuring Aggregate Logical Operator — unapply
Method
type ReturnType =
(Seq[NamedExpression], Seq[AggregateExpression], Seq[NamedExpression], LogicalPlan)
unapply(a: Any): Option[ReturnType]
unapply
destructures the input a
Aggregate logical operator into a four-element ReturnType.
Note
|
|