Class ModelPlotConfig
- java.lang.Object
-
- org.elasticsearch.client.ml.job.config.ModelPlotConfig
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class ModelPlotConfig extends java.lang.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 Modifier and Type Field Description static ConstructingObjectParser<ModelPlotConfig,java.lang.Void>PARSERstatic ParseFieldTERMS_FIELD-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Constructor Summary
Constructors Constructor Description ModelPlotConfig(boolean enabled, java.lang.String terms)
-
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object other)java.lang.StringgetTerms()inthashCode()booleanisEnabled()XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
-
-
-
Field Detail
-
TERMS_FIELD
public static final ParseField TERMS_FIELD
-
PARSER
public static final ConstructingObjectParser<ModelPlotConfig,java.lang.Void> PARSER
-
-
Method Detail
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
- Specified by:
toXContentin interfaceToXContent- Throws:
java.io.IOException
-
isEnabled
public boolean isEnabled()
-
getTerms
public java.lang.String getTerms()
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-