@Evolving public class UserDefinedAggregateFunc extends org.apache.spark.sql.internal.connector.ExpressionWithToString implements AggregateFunc
AggregateFunc, contains the upper-cased function name, the canonical function name,
the `isDistinct` flag and all the inputs. Note that Spark cannot push down aggregate with
this function partially to the source, but can only push down the entire aggregate.EMPTY_EXPRESSION, EMPTY_NAMED_REFERENCE| Constructor and Description |
|---|
UserDefinedAggregateFunc(String name,
String canonicalName,
boolean isDistinct,
Expression[] children) |
| Modifier and Type | Method and Description |
|---|---|
String |
canonicalName() |
Expression[] |
children()
Returns an array of the children of this node.
|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isDistinct() |
String |
name() |
describe, references, toStringdescribe, referencespublic UserDefinedAggregateFunc(String name,
String canonicalName,
boolean isDistinct,
Expression[] children)
public String name()
public String canonicalName()
public boolean isDistinct()
public Expression[] children()
Expressionchildren in interface Expressionpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object