Class InputPort

java.lang.Object
com.teracloud.streams.rest.Element
com.teracloud.streams.rest.InputPort

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

    • InputPort

      public InputPort()
  • Method Details

    • getIndexWithinOperator

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

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

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

      public String getResourceType()
      Identifies the REST resource type
      Returns:
      "operatorInputPort"