Package org.opensearch.ml.common.model
Class MetricsCorrelationModelConfig
java.lang.Object
org.opensearch.ml.common.model.MLModelConfig
org.opensearch.ml.common.model.MetricsCorrelationModelConfig
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.NamedWriteable,org.opensearch.core.common.io.stream.Writeable,org.opensearch.core.xcontent.ToXContent,org.opensearch.core.xcontent.ToXContentObject
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from interface org.opensearch.core.xcontent.ToXContent
org.opensearch.core.xcontent.ToXContent.DelegatingMapParams, org.opensearch.core.xcontent.ToXContent.MapParams, org.opensearch.core.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable
org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V> -
Field Summary
FieldsFields inherited from class org.opensearch.ml.common.model.MLModelConfig
ALL_CONFIG_FIELD, allConfig, MODEL_TYPE_FIELD, modelTypeFields inherited from interface org.opensearch.core.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionMetricsCorrelationModelConfig(String modelType, String allConfig) MetricsCorrelationModelConfig(org.opensearch.core.common.io.stream.StreamInput in) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()parse(org.opensearch.core.xcontent.XContentParser parser) org.opensearch.core.xcontent.XContentBuildertoXContent(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) Methods inherited from class org.opensearch.ml.common.model.MLModelConfig
getAllConfig, getModelType, setAllConfig, setModelType, writeToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.core.xcontent.ToXContentObject
isFragment
-
Field Details
-
PARSE_FIELD_NAME
-
-
Constructor Details
-
MetricsCorrelationModelConfig
-
MetricsCorrelationModelConfig
public MetricsCorrelationModelConfig(org.opensearch.core.common.io.stream.StreamInput in) throws IOException - Throws:
IOException
-
-
Method Details
-
getWriteableName
-
toXContent
public org.opensearch.core.xcontent.XContentBuilder toXContent(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) throws IOException - Throws:
IOException
-
parse
public static MetricsCorrelationModelConfig parse(org.opensearch.core.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-
builder
-
toBuilder
-