@Evolving public final class GeneralAggregateFunc extends Object implements AggregateFunc
AggregateFunc
, which contains the upper-cased function
name, the `isDistinct` flag and all the inputs. Note that Spark cannot push down partial
aggregate with this function to the source, but can only push down the entire aggregate.
The currently supported SQL aggregate functions:
VAR_POP(input1)Since 3.3.0
VAR_SAMP(input1)Since 3.3.0
STDDEV_POP(input1)Since 3.3.0
STDDEV_SAMP(input1)Since 3.3.0
COVAR_POP(input1, input2)Since 3.3.0
COVAR_SAMP(input1, input2)Since 3.3.0
CORR(input1, input2)Since 3.3.0
EMPTY_EXPRESSION
Constructor and Description |
---|
GeneralAggregateFunc(String name,
boolean isDistinct,
Expression[] children) |
Modifier and Type | Method and Description |
---|---|
Expression[] |
children()
Returns an array of the children of this node.
|
boolean |
isDistinct() |
String |
name() |
String |
toString() |
describe, references
public GeneralAggregateFunc(String name, boolean isDistinct, Expression[] children)
public String name()
public boolean isDistinct()
public Expression[] children()
Expression
children
in interface Expression
public String toString()
toString
in class Object