Allow to set the DOP of individual operators

This PR:
- adds support to set the DOP of individual operators, data sources, and sink. Map-based operators and data sinks inherit the DOP of their input to enable chaining, if their DOP is not explicitly specified.
- simplifies the translation of the new Java API to the core operators.