Packages

final class Sum extends ExpressionWithToString with AggregateFunc

An aggregate function that returns the summation of all the values in a group.

Annotations
@Evolving()
Source
Sum.java
Since

3.2.0

Linear Supertypes
AggregateFunc, ExpressionWithToString, Serializable, Expression, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Sum
  2. AggregateFunc
  3. ExpressionWithToString
  4. Serializable
  5. Expression
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Sum(column: Expression, isDistinct: Boolean)

Value Members

  1. def children(): Array[Expression]

    Returns an array of the children of this node.

    Returns an array of the children of this node. Children should not change.

    Definition Classes
    SumExpression
    Annotations
    @Override()
  2. def column(): Expression
  3. def describe(): String

    Format the expression as a human readable SQL-like string.

    Format the expression as a human readable SQL-like string.

    Definition Classes
    Expression
  4. def isDistinct(): Boolean
  5. def references(): Array[NamedReference]

    List of fields or columns that are referenced by this expression.

    List of fields or columns that are referenced by this expression.

    Definition Classes
    Expression
  6. def toString(): String
    Definition Classes
    ExpressionWithToString → AnyRef → Any