@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, toString
describe, references
public UserDefinedAggregateFunc(String name, String canonicalName, boolean isDistinct, Expression[] children)
public String name()
public String canonicalName()
public boolean isDistinct()
public Expression[] children()
Expression
children
in interface Expression
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object