Typically, using types is enumnot good practice to explicitly determine the type of a class, because in some other part of your code you want to have a control structure (if-else / switch-case) of that type to separate the aggregation method.
, aggregate, . DataBaseAggregator CacheAggregator , .