"Java API and predefined processes"
Hi everybody,
I am developing some generic processes that shall be configured by a minimal GUI. So I have to do some parameter settings using the Java API.
I just wrote some wrapper classes to easily use different data sources (DB, Repository or File). I first thought of adding the relevant operator from my Java code, but then I have to take care of connections and such things. My last idea was to use the "Select Subprocess" operator and add the three alternatives as already connected operators inside. This way I will just have to choose the correct subprocess and set the corresponding operator's parameters. Do you see any disadvantages for this approach?
Working on this, some specific questions came to my mind:
Thanks and best regards
Matthias
I am developing some generic processes that shall be configured by a minimal GUI. So I have to do some parameter settings using the Java API.
I just wrote some wrapper classes to easily use different data sources (DB, Repository or File). I first thought of adding the relevant operator from my Java code, but then I have to take care of connections and such things. My last idea was to use the "Select Subprocess" operator and add the three alternatives as already connected operators inside. This way I will just have to choose the correct subprocess and set the corresponding operator's parameters. Do you see any disadvantages for this approach?
Working on this, some specific questions came to my mind:
- Which way of addressing operators from Java do you suggest? Assigning unique names in the RapidMiner GUI and use them for getOperator()?
- Is there a way to get the names of the predefined database connections? I couldn't find the place, where they are loaded for the ParameterTypeDatabaseConnection.
- What is the best way for loading a process from repository and store it at another location? I am currently loading the process as described here
Thanks and best regards
Matthias