Class OutputPort

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

public class OutputPort extends Element
An Output Port of the Streams Operator
  • Constructor Details

    • OutputPort

      public OutputPort()
  • Method Details

    • getIndexWithinOperator

      public long getIndexWithinOperator()
      Gets the index of this output port within the operator
      Returns:
      the index as a long
    • getMetrics

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

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

      public String getResourceType()
      Identifies the REST resource type
      Returns:
      "operatorOutputPort"
    • getStreamName

      public String getStreamName()
      Identifies the name of the output stream associated with this output port
      Returns:
      the output stream name for this port