🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Use io ports in Script Execution Operator in Java

User: "kemoc"
New Altair Community Member
Updated by Jocelyn
Hi,
I have another problem:
I try to use 2 Input ports and 2 output ports into Script Execution Operator and unfortunatelly it dosen't work,
my code:

ExampleSet exampleSet5 = table.createExampleSet(label);

List<IOObject> connList = new IOContainer(exampleSet5).asList();
operator.getOutputPorts().getPortByName("output 1").receive( connList.get(0) );

I have Exception
groovy.lang.MissingMethodException: No signature of method: com.rapidminer.operator.ports.impl.OutputPortImpl.receive() is applicable for argument types: (com.rapidminer.example.set.SimpleExampleSet) values: [SimpleExampleSet:
Possible solutions: deliver(com.rapidminer.operator.IOObject).

I tried:
IOObject ioo = examplseSet5;
IOContainer ioc = new IOContainer(new IOObject[] {ioo});
but RM still throw Exception.

Find more posts tagged with