IOObject class reference for execute script operator

New Altair Community Member
Updated by Jocelyn
Hi team,
I'm reading a collection of json objects from a MongoDB database and need to iterate through each json object. For this I want to use execute script operator to write a Java code to read the json object collection input as an IOObject. I could do that, but cannot iterate through the json objects without knowing the capability of IOObject class. Can anyone please share a link to access the class references of Rapid Miner related packages.
Thank you in advance.
I'm reading a collection of json objects from a MongoDB database and need to iterate through each json object. For this I want to use execute script operator to write a Java code to read the json object collection input as an IOObject. I could do that, but cannot iterate through the json objects without knowing the capability of IOObject class. Can anyone please share a link to access the class references of Rapid Miner related packages.
Thank you in advance.
Find more posts tagged with
Sort by:
1 - 8 of
81
Hi @udeshika_sewwan,
the ioobject is referenced here: https://github.com/rapidminer/rapidminer-studio/blob/master/src/main/java/com/rapidminer/operator/IOObject.java but you like want to use SimpleExampleSet for it?
This small blog post may help: https://medium.com/@mSchmitz_/scripting-in-rapidminer-part-ii-changing-example-values-a37244cc5a3b
Cheers,
MArtin
Hi,
yes, you will need to enter a proper license key for the extension. It's really not expensive with the 129 € per year. You can directly purchase it online on our website at oldworldcomputing.com
And there's a good tutorial in our blog how to use it properly, because you need to use it differently.
If you need a demo license to check out the functionality first, please contact our sales via the form on our website.
Greetings,
Sebastian
In addition to the above problem, I want to read a json array returned from MongoDB Read operator. When I convert the dataset to a data table using JSON to Data operator, the array becomes flat. That way I cannot achieve my task. That's why I wanted to manipulate the json returned as a IOObject directly. Can you please help me on this ?