Class SqlSumEmptyIsZeroAggFunction

  • All Implemented Interfaces:
    Context, Wrapper

    public class SqlSumEmptyIsZeroAggFunction
    extends SqlAggFunction
    Sum0 is an aggregator which returns the sum of the values which go into it like Sum. It differs in that when no non null values are applied zero is returned instead of null. Can be used along with Count to implement Sum.