Class AnomalyCause
- java.lang.Object
-
- org.elasticsearch.client.ml.job.results.AnomalyCause
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class AnomalyCause extends Object implements ToXContentObject
Anomaly Cause POJO. Used as a nested level inside population anomaly records.
-
-
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 ParseFieldACTUALstatic ParseFieldANOMALY_CAUSEstatic ParseFieldBY_FIELD_NAMEstatic ParseFieldBY_FIELD_VALUEstatic ParseFieldCORRELATED_BY_FIELD_VALUEstatic ParseFieldFIELD_NAMEMetric Resultsstatic ParseFieldFUNCTIONstatic ParseFieldFUNCTION_DESCRIPTIONstatic ParseFieldINFLUENCERSstatic ParseFieldOVER_FIELD_NAMEstatic ParseFieldOVER_FIELD_VALUEstatic ObjectParser<AnomalyCause,Void>PARSERstatic ParseFieldPARTITION_FIELD_NAMEstatic ParseFieldPARTITION_FIELD_VALUEstatic ParseFieldPROBABILITYResult fieldsstatic ParseFieldTYPICAL-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)List<Double>getActual()StringgetByFieldName()StringgetByFieldValue()StringgetCorrelatedByFieldValue()StringgetFieldName()StringgetFunction()StringgetFunctionDescription()List<Influence>getInfluencers()StringgetOverFieldName()StringgetOverFieldValue()StringgetPartitionFieldName()StringgetPartitionFieldValue()doublegetProbability()List<Double>getTypical()inthashCode()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
-
ANOMALY_CAUSE
public static final ParseField ANOMALY_CAUSE
-
PROBABILITY
public static final ParseField PROBABILITY
Result fields
-
OVER_FIELD_NAME
public static final ParseField OVER_FIELD_NAME
-
OVER_FIELD_VALUE
public static final ParseField OVER_FIELD_VALUE
-
BY_FIELD_NAME
public static final ParseField BY_FIELD_NAME
-
BY_FIELD_VALUE
public static final ParseField BY_FIELD_VALUE
-
CORRELATED_BY_FIELD_VALUE
public static final ParseField CORRELATED_BY_FIELD_VALUE
-
PARTITION_FIELD_NAME
public static final ParseField PARTITION_FIELD_NAME
-
PARTITION_FIELD_VALUE
public static final ParseField PARTITION_FIELD_VALUE
-
FUNCTION
public static final ParseField FUNCTION
-
FUNCTION_DESCRIPTION
public static final ParseField FUNCTION_DESCRIPTION
-
TYPICAL
public static final ParseField TYPICAL
-
ACTUAL
public static final ParseField ACTUAL
-
INFLUENCERS
public static final ParseField INFLUENCERS
-
FIELD_NAME
public static final ParseField FIELD_NAME
Metric Results
-
PARSER
public static final ObjectParser<AnomalyCause,Void> PARSER
-
-
Method Detail
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
- Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
getProbability
public double getProbability()
-
getByFieldName
public String getByFieldName()
-
getByFieldValue
public String getByFieldValue()
-
getCorrelatedByFieldValue
public String getCorrelatedByFieldValue()
-
getPartitionFieldName
public String getPartitionFieldName()
-
getPartitionFieldValue
public String getPartitionFieldValue()
-
getFunction
public String getFunction()
-
getFunctionDescription
public String getFunctionDescription()
-
getFieldName
public String getFieldName()
-
getOverFieldName
public String getOverFieldName()
-
getOverFieldValue
public String getOverFieldValue()
-
-