Class SumExpression

  • All Implemented Interfaces:
    Expression

    public final class SumExpression
    extends UnaryOperatorExpression
    Implementation of the (+) fold operation: All elements of the processed collection are summed up, 0 is returned in case the collection is empty.
    Within expressions, this function can be used by SUM(collection).