com.ibm.streams.operator
Interface StreamingInput<T>
-
- All Superinterfaces:
- StreamingData
public interface StreamingInput<T> extends StreamingData
StreamingInput represents an input port for anOperator
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface and Description static class
StreamingInput.ImportType
Enumeration for how a port imports its streams.-
Nested classes/interfaces inherited from interface com.ibm.streams.operator.StreamingData
StreamingData.Punctuation
-
-
Method Summary
Methods Modifier and Type Method and Description StreamingInput.ImportType
getImportType()
Return the type of this port's import.StreamWindow<T>
getStreamWindow()
Get the window configuration for this port.boolean
isControl()
Is the port a control port.boolean
isImported()
Is the port importing an exported stream.-
Methods inherited from interface com.ibm.streams.operator.StreamingData
getName, getPEPortNumber, getPortNumber, getStreamSchema, isConnectedToPEPort
-
-
-
-
Method Detail
-
getImportType
StreamingInput.ImportType getImportType()
Return the type of this port's import.- Returns:
- The import type.
-
isImported
boolean isImported()
Is the port importing an exported stream.- Returns:
- True if the port imports a stream, false if the port is connected only to streams within the application.
-
getStreamWindow
StreamWindow<T> getStreamWindow()
Get the window configuration for this port.- Returns:
- Description of the window configuration.
-
isControl
boolean isControl()
Is the port a control port. This is valid at runtime only. At compile time, this method always returns false regardless of whether the port is a control port or not.- Returns:
- True if the port is a control port, false otherwise
- Since:
- InfoSphere® Streams Version 4.0
-
-