com.ibm.streams.operator
Interface StreamingData
-
- All Known Subinterfaces:
- InputPortDeclaration, OutputPortDeclaration, PortDeclaration<T>, StreamingInput<T>, StreamingOutput<T>
public interface StreamingDataStreamingData describes anOperator's port.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface and Description static classStreamingData.PunctuationEnumeration for punctuation marks.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.StringgetName()Get the name for this port as defined in the application.intgetPEPortNumber()Get the PE (processing element) port number index for this port.intgetPortNumber()Get the port number as defined in the application.StreamSchemagetStreamSchema()Get the schema for this port.booleanisConnectedToPEPort()Is this port connected to a PE (processing element) port.
-
-
-
Method Detail
-
getStreamSchema
StreamSchema getStreamSchema()
Get the schema for this port.- Returns:
- schema for the port
-
getName
java.lang.String getName()
Get the name for this port as defined in the application.- Returns:
- name of the port
-
getPortNumber
int getPortNumber()
Get the port number as defined in the application.- Returns:
- port number
-
isConnectedToPEPort
boolean isConnectedToPEPort()
Is this port connected to a PE (processing element) port.- Returns:
- True if port is connected to a PE port, false otherwise.
- Since:
- InfoSphere® Streams Version 3.0
- See Also:
getPEPortNumber()
-
getPEPortNumber
int getPEPortNumber()
Get the PE (processing element) port number index for this port.- Returns:
- PE port number
- Throws:
java.lang.IllegalStateException- Port is not connected to a PE port (isConnectedToPEPort()is false)- Since:
- InfoSphere® Streams Version 3.0
- See Also:
ProcessingElement,PEMetrics.getInputPortMetric(int, InputPortMetric),PEMetrics.getOutputPortMetric(int, OutputPortMetric)
-
-