Ability to execute action on the found elements in the indexing tree

Description

Idea originating from INSPECTIT-1867

We always first find objects in the buffer, put them to list and then aggregate.. When working on so many objects, I have feeling that just creating such a huge list is slow.. Maybe we could have something like queryAndAggregate for the indexing tree where we don't need to create such list in first place.

Add a method like:

where instead of returning the elements we would apply the given action on the found elements in the indexing tree..

Environment

None

Assignee

Ivan Senic

Reporter

Ivan Senic

Labels

None

Integrator

None

Components

Priority

Medium
Configure