Class EvaluateDataFrameResponse

java.lang.Object
org.elasticsearch.client.ml.EvaluateDataFrameResponse
All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject

public class EvaluateDataFrameResponse extends Object implements org.elasticsearch.common.xcontent.ToXContentObject
  • Constructor Details

  • Method Details

    • fromXContent

      public static EvaluateDataFrameResponse fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) throws IOException
      Throws:
      IOException
    • getEvaluationName

      public String getEvaluationName()
    • getMetrics

      public List<EvaluationMetric.Result> getMetrics()
    • getMetricByName

      public <T extends EvaluationMetric.Result> T getMetricByName(String metricName)
    • toXContent

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

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

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

      public final String toString()
      Overrides:
      toString in class Object