get all aggregates based on Class