|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OutputPort
An output port which forwards it output to a connected input port. Operators place their output into output ports which take care of forwarding the data to the input ports.
| Field Summary |
|---|
| Fields inherited from interface com.rapidminer.operator.ports.Port |
|---|
CLEAR_ALL, CLEAR_ALL_ERRORS, CLEAR_ALL_METADATA, CLEAR_DATA, CLEAR_META_DATA_ERRORS, CLEAR_METADATA, CLEAR_REAL_METADATA, CLEAR_SIMPLE_ERRORS |
| Method Summary | |
|---|---|
void |
connectTo(InputPort inputPort)
Connects to an input port. |
void |
deliver(IOObject object)
Delivers an object to the connected InputPort or ignores
it if the output port is not connected. |
void |
deliverMD(MetaData md)
Does the same as #deliver(Object) except that only meta data is delivered. |
void |
disconnect()
Disconnects the OutputPort from its InputPort. |
InputPort |
getDestination()
Returns the destination input port. |
boolean |
shouldAutoConnect()
Asks the owning operator Operator.shouldAutoConnect(OutputPort). |
| Methods inherited from interface com.rapidminer.operator.ports.Port |
|---|
addError, clear, collectQuickFixes, freeMemory, getAnyDataOrNull, getData, getData, getDataOrNull, getDescription, getErrors, getMetaData, getName, getPorts, getShortName, getSpec, isConnected, isLocked, lock, simulatesStack, unlock |
| Methods inherited from interface com.rapidminer.tools.Observable |
|---|
addObserver, addObserverAsFirst, removeObserver |
| Method Detail |
|---|
void connectTo(InputPort inputPort)
throws PortException
PortException - if already connected.
void disconnect()
throws PortException
Port.lock() port first.
PortException - if not connected.void deliver(IOObject object)
InputPort or ignores
it if the output port is not connected.
InputPort getDestination()
void deliverMD(MetaData md)
#deliver(Object) except that only meta data is delivered.
This method is called by the Operator's MDTransformer.
boolean shouldAutoConnect()
Operator.shouldAutoConnect(OutputPort).
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||