Interface DatamartContext.DataSlice

  • Enclosing interface:
    DatamartContext

    public static interface DatamartContext.DataSlice
    A DataSlice defines a set of filters to be applied to a PA DataSet (Datamart, DataSource...). A typical case is set of FC dimension (field,value) pairs. In RebateManager a combination of a TimePeriod, CustomerGroup and ProductGroup is quite common. Complete generic Filters can be uses as well. Inclusions and exclusions are all OR-ed together. They are then combined as (inclusions AND NOT exclusions).

    When a TimePeriod is used, the slice also needs to know the name of the date dimension field to match to. This field is set in the constructor, and is common to all TimePeriod used.

    • Method Detail

      • include

        void include​(CustomerGroup customerGroup)
      • include

        void include​(ProductGroup productGroup)
      • exclude

        void exclude​(CustomerGroup customerGroup)
      • exclude

        void exclude​(ProductGroup productGroup)
      • addFilter

        void addFilter​(Filter filter)
      • clear

        void clear()