com.ibm.streams.flow.declare
Interface OutputPortDeclaration
-
- All Superinterfaces:
- PortDeclaration<OutputPortDeclaration>, StreamingData
public interface OutputPortDeclaration extends PortDeclaration<OutputPortDeclaration>
Declaration of output port for anOperatorInvocation
.- Since:
- InfoSphere® Streams Version 3.1
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.ibm.streams.operator.StreamingData
StreamingData.Punctuation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description OutputPortDeclaration
connect(InputPortDeclaration... inputPorts)
Connect this output port to input ports.OutputPortSet
getPortSet()
Return the port set for this port if the operator class had anOutputPortSet
annotation.-
Methods inherited from interface com.ibm.streams.flow.declare.PortDeclaration
getConnections, isConnected, operator
-
Methods inherited from interface com.ibm.streams.operator.StreamingData
getName, getPEPortNumber, getPortNumber, getStreamSchema, isConnectedToPEPort
-
-
-
-
Method Detail
-
connect
OutputPortDeclaration connect(InputPortDeclaration... inputPorts)
Connect this output port to input ports.- Parameters:
inputPorts
- Input ports to connect to.- Returns:
- this
- Throws:
java.lang.IllegalStateException
- At least one of the input ports has a different schema.
-
getPortSet
OutputPortSet getPortSet()
Return the port set for this port if the operator class had anOutputPortSet
annotation.- Returns:
- Port set for this port, or null if the operator class was not annotated.
- Since:
- InfoSphere® Streams Version 3.2
-
-