I have a list of objects (each containing 3 data members) and a list of collection names. Object members are: Collection name, Collection path, Bytes used.
I want to aggregate certain values (e.g. 'bytes used') based on two of the data members 'collection name' and 'collection path' (both string type) such that 'collection name' is present in list of collection names.
So the output must come like this:
Collection Name | Collection Path | Bytes