Module org.elasticsearch.xcore
Class MlEvaluationNamedXContentProvider
java.lang.Object
org.elasticsearch.xpack.core.ml.dataframe.evaluation.MlEvaluationNamedXContentProvider
- All Implemented Interfaces:
NamedXContentProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<NamedWriteableRegistry.Entry> List<org.elasticsearch.xcontent.NamedXContentRegistry.Entry> static StringregisteredMetricName(String evaluationName, String metricName) Constructs the name under which a metric (or metric result) is registered.static StringregisteredMetricName(org.elasticsearch.xcontent.ParseField evaluationName, org.elasticsearch.xcontent.ParseField metricName) Constructs the name under which a metric (or metric result) is registered.
-
Constructor Details
-
MlEvaluationNamedXContentProvider
public MlEvaluationNamedXContentProvider()
-
-
Method Details
-
registeredMetricName
public static String registeredMetricName(org.elasticsearch.xcontent.ParseField evaluationName, org.elasticsearch.xcontent.ParseField metricName) Constructs the name under which a metric (or metric result) is registered. The name is prefixed with evaluation name so that registered names are unique.- Parameters:
evaluationName- name of the evaluationmetricName- name of the metric- Returns:
- name appropriate for registering a metric (or metric result) in
NamedXContentRegistry
-
registeredMetricName
Constructs the name under which a metric (or metric result) is registered. The name is prefixed with evaluation name so that registered names are unique.- Parameters:
evaluationName- name of the evaluationmetricName- name of the metric- Returns:
- name appropriate for registering a metric (or metric result) in
NamedXContentRegistry
-
getNamedXContentParsers
- Specified by:
getNamedXContentParsersin interfaceNamedXContentProvider
-
getNamedWriteables
-