Package com.teracloud.streams.rest
Class Operator
java.lang.Object
com.teracloud.streams.rest.Element
com.teracloud.streams.rest.Operator
An object describing an Streams Operator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Gets the index of this operator within theJob
Gets a list ofinput ports
for this operatorThe logical name of this operator.Gets a list ofmetrics
for this operatorgetName()
Name of this operatorSPL primitive operator type for this operatorGets a list ofoutput ports
for this operatorgetPE()
Get the PE for this operator.Identifies the REST resource typeMethods inherited from class com.teracloud.streams.rest.Element
getStreamsConnection, refresh, toString
-
Constructor Details
-
Operator
public Operator()
-
-
Method Details
-
getLogicalName
The logical name of this operator.- Returns:
- the logical name of the operator, which is just the name if the operator is not part of a parallel region.
- Since:
- 1.9
-
getMetrics
Gets a list ofmetrics
for this operator- Returns:
- List of
Streams Metrics
- Throws:
IOException
-
getIndexWithinJob
public long getIndexWithinJob()Gets the index of this operator within theJob
- Returns:
- the index as a long
-
getInputPorts
Gets a list ofinput ports
for this operator- Returns:
- List of
Input Ports
for this operator - Throws:
IOException
-
getName
Name of this operator- Returns:
- the operator name
-
getOperatorKind
SPL primitive operator type for this operator- Returns:
- the SPL primitive operator type
-
getOutputPorts
Gets a list ofoutput ports
for this operator- Returns:
- List of
Output Ports
for this operator - Throws:
IOException
-
getResourceType
Identifies the REST resource type- Returns:
- "operator"
-
getPE
Get the PE for this operator.- Returns:
- PE for this operator.
- Throws:
IOException
- Since:
- 1.9
-