com.ibm.streamsx.rest

Class Operator



  • public class Operator
    extends Element
    An object describing an IBM Streams Operator
    • Constructor Detail

      • Operator

        public Operator()
    • Method Detail

      • getLogicalName

        public java.lang.String 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

        public java.util.List<Metric> getMetrics()
                                          throws java.io.IOException
        Gets a list of metrics for this operator
        Returns:
        List of IBM Streams Metrics
        Throws:
        java.io.IOException
      • getIndexWithinJob

        public long getIndexWithinJob()
        Gets the index of this operator within the Job
        Returns:
        the index as a long
      • getInputPorts

        public java.util.List<InputPort> getInputPorts()
                                                throws java.io.IOException
        Gets a list of input ports for this operator
        Returns:
        List of Input Ports for this operator
        Throws:
        java.io.IOException
      • getName

        public java.lang.String getName()
        Name of this operator
        Returns:
        the operator name
      • getOperatorKind

        public java.lang.String getOperatorKind()
        SPL primitive operator type for this operator
        Returns:
        the SPL primitive operator type
      • getOutputPorts

        public java.util.List<OutputPort> getOutputPorts()
                                                  throws java.io.IOException
        Gets a list of output ports for this operator
        Returns:
        List of Output Ports for this operator
        Throws:
        java.io.IOException
      • getResourceType

        public java.lang.String getResourceType()
        Identifies the REST resource type
        Returns:
        "operator"
      • getPE

        public ProcessingElement getPE()
                                throws java.io.IOException
        Get the PE for this operator.
        Returns:
        PE for this operator.
        Throws:
        java.io.IOException
        Since:
        1.9
streamsx.topology 2.1 @ IBMStreams GitHub