Allow to set the DOP of individual operators

This PR:
- adds support to set the DOP of individual operators, data sources, and sink.
- simplifies the translation of the new Java API to the core operators.