Class CountStar
Object
org.apache.spark.sql.internal.connector.ExpressionWithToString
org.apache.spark.sql.connector.expressions.aggregate.CountStar
- All Implemented Interfaces:
Serializable
,AggregateFunc
,Expression
,scala.Serializable
@Evolving
public final class CountStar
extends org.apache.spark.sql.internal.connector.ExpressionWithToString
implements AggregateFunc
An aggregate function that returns the number of rows in a group.
- Since:
- 3.2.0
- See Also:
-
Field Summary
Fields inherited from interface org.apache.spark.sql.connector.expressions.Expression
EMPTY_EXPRESSION, EMPTY_NAMED_REFERENCE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.spark.sql.internal.connector.ExpressionWithToString
describe, references, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.spark.sql.connector.expressions.Expression
describe, references
-
Constructor Details
-
CountStar
public CountStar()
-
-
Method Details
-
children
Description copied from interface:Expression
Returns an array of the children of this node. Children should not change.- Specified by:
children
in interfaceExpression
-