Package org.elasticsearch.client.ml
Class EvaluateDataFrameResponse
- java.lang.Object
-
- org.elasticsearch.client.ml.EvaluateDataFrameResponse
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class EvaluateDataFrameResponse extends Object implements ToXContentObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Constructor Summary
Constructors Constructor Description EvaluateDataFrameResponse(String evaluationName, List<EvaluationMetric.Result> metrics)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static EvaluateDataFrameResponsefromXContent(XContentParser parser)StringgetEvaluationName()<T extends EvaluationMetric.Result>
TgetMetricByName(String metricName)List<EvaluationMetric.Result>getMetrics()inthashCode()StringtoString()XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
-
-
-
Constructor Detail
-
EvaluateDataFrameResponse
public EvaluateDataFrameResponse(String evaluationName, List<EvaluationMetric.Result> metrics)
-
-
Method Detail
-
fromXContent
public static EvaluateDataFrameResponse fromXContent(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 XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
- Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
-