Package com.teracloud.streams.rest
Class InputPort
java.lang.Object
com.teracloud.streams.rest.Element
com.teracloud.streams.rest.InputPort
An Input Port of the Streams Operator
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.teracloud.streams.rest.Element
getStreamsConnection, refresh, toString
-
Constructor Details
-
InputPort
public InputPort()
-
-
Method Details
-
getIndexWithinOperator
public long getIndexWithinOperator()Gets the index of this input port within theOperator
- Returns:
- the index number as a long
-
getMetrics
Gets themetrics
for this input port- Returns:
- List of
Streams Metrics
- Throws:
IOException
-
getName
Gets the name for this input port- Returns:
- the name
-
getResourceType
Identifies the REST resource type- Returns:
- "operatorInputPort"
-