Class Aggregate

All Implemented Interfaces:
Callable, FunctionItem, GroundedValue, Item, Sequence
Direct Known Subclasses:
Empty, Exists

public abstract class Aggregate extends SystemFunction
This abstract class provides functionality common to the sum(), avg(), count(), exists(), and empty() functions. These all take a sequence as input and produce a singleton as output; and they are all independent of the ordering of the items in the input.
  • Constructor Details

    • Aggregate

      public Aggregate()