[WIP] PIM-3415: Split methods to decrease the cyclomatic complexity value

| Q                    | A
| -------------------- | ---
| Bug fix?             |
| New feature?         |
| BC breaks?           |
| CI currently passes? |
| Tests pass?          |
| Scenarios pass?      |
| Checkstyle issues?*  |
| PMD issues?**        |
| Changelog updated?   |
| Fixed tickets        |
| DB schema updated?   |
| Migration script?    |
| Doc PR               |
not sure about the naming of "prepareOperator" as it doesnt only prepare, it also apply th filter, perhaps "applyFilter" or something like that