com.ibm.streamsx.rest

Class InputPort



  • public class InputPort
    extends Element
    An Input Port of the IBM Streams Operator
    • Constructor Detail

      • InputPort

        public InputPort()
    • Method Detail

      • getIndexWithinOperator

        public long getIndexWithinOperator()
        Gets the index of this input port within the Operator
        Returns:
        the index number as a long
      • getMetrics

        public java.util.List<Metric> getMetrics()
                                          throws java.io.IOException
        Gets the metrics for this input port
        Returns:
        List of IBM Streams Metrics
        Throws:
        java.io.IOException
      • getName

        public java.lang.String getName()
        Gets the name for this input port
        Returns:
        the name
      • getResourceType

        public java.lang.String getResourceType()
        Identifies the REST resource type
        Returns:
        "operatorInputPort"
streamsx.topology 2.1 @ IBMStreams GitHub