"[SOLVED] Read Database operator(handler) in Java"
Hello,
I'm trying to write Java program using RapidMiner API. In my program, operaters
are created, arranged, and connected as follows:
Here, I want to use "Read Database" operator(handler) to read datasets from
database. I found DatabaseHandler class in com.rapidminer.tools.jdbc and guess
that it defines "Generate Data". But it is not operator but handler so
OperatorService can't create it.
Does anyone know how to create (and configure) "Read Database" operator?
Any help would be appreciated.
Regards,
I'm trying to write Java program using RapidMiner API. In my program, operaters
are created, arranged, and connected as follows:
As you know, The "Generate Data" operator is defined by ExampleSetGenerator class.
Operator generateData = OperatorService.createOperator(ExampleSetGenerator.class);
process.getRootOperator().getSubprocess(0).addOperator(generateData);
generateData.getOutputPorts().getPortByName("output").connectTo(process.getRootOperator().getInputPorts().getPortByName("result 1"));
Here, I want to use "Read Database" operator(handler) to read datasets from
database. I found DatabaseHandler class in com.rapidminer.tools.jdbc and guess
that it defines "Generate Data". But it is not operator but handler so
OperatorService can't create it.
Does anyone know how to create (and configure) "Read Database" operator?
Any help would be appreciated.
Regards,