Class sum

  • All Implemented Interfaces:
    IAggregatorFactory

    public final class sum
    extends java.lang.Object
    implements IAggregatorFactory
    This aggregator calculates the sum of the values of a selected aggregate parameter of a called pattern. The aggregate parameter is selected with the '#' symbol; the aggregate parameter must not be used outside the aggregator call. The other parameters of the call might be bound or unbound; bound parameters limit the matches to consider for the summation.
    Since:
    1.4
    • Constructor Summary

      Constructors 
      Constructor Description
      sum()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BoundAggregator getAggregatorLogic​(java.lang.Class<?> domainClass)
      Given type parameters selected from AggregatorType annotations, returns a run-time aggregator operator that is bound to the actual types.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • sum

        public sum()
    • Method Detail

      • getAggregatorLogic

        public BoundAggregator getAggregatorLogic​(java.lang.Class<?> domainClass)
        Description copied from interface: IAggregatorFactory
        Given type parameters selected from AggregatorType annotations, returns a run-time aggregator operator that is bound to the actual types.
        Specified by:
        getAggregatorLogic in interface IAggregatorFactory
        Parameters:
        domainClass - Java type of the values that are being aggregated
        Returns:
        the actual run-time aggregator logic, with type bindings