Class MetricsCorrelationOutput

java.lang.Object
org.opensearch.ml.common.output.execute.metrics_correlation.MetricsCorrelationOutput
All Implemented Interfaces:
org.opensearch.core.common.io.stream.Writeable, org.opensearch.core.xcontent.ToXContent, org.opensearch.core.xcontent.ToXContentObject, Output

public class MetricsCorrelationOutput extends Object implements Output
Output of metrics correlation algorithm results
  • Field Details

  • Constructor Details

    • MetricsCorrelationOutput

      public MetricsCorrelationOutput(List<MCorrModelTensors> modelOutput)
    • MetricsCorrelationOutput

      public MetricsCorrelationOutput(org.opensearch.core.common.io.stream.StreamInput in) throws IOException
      Throws:
      IOException
  • Method Details

    • writeTo

      public void writeTo(org.opensearch.core.common.io.stream.StreamOutput out) throws IOException
      Specified by:
      writeTo in interface org.opensearch.core.common.io.stream.Writeable
      Throws:
      IOException
    • toXContent

      public org.opensearch.core.xcontent.XContentBuilder toXContent(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.opensearch.core.xcontent.ToXContent
      Throws:
      IOException
    • builder

    • getModelOutput

      public List<MCorrModelTensors> getModelOutput()
    • setModelOutput

      public void setModelOutput(List<MCorrModelTensors> modelOutput)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object