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 TypeMethodDescriptionlongGets the index of this operator within theJobGets a list ofinput portsfor this operatorThe logical name of this operator.Gets a list ofmetricsfor this operatorgetName()Name of this operatorSPL primitive operator type for this operatorGets a list ofoutput portsfor 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 ofmetricsfor 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 portsfor this operator- Returns:
- List of
Input Portsfor 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 portsfor this operator- Returns:
- List of
Output Portsfor 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
-