Class AnomalyCause
- java.lang.Object
-
- org.elasticsearch.client.ml.job.results.AnomalyCause
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class AnomalyCause extends java.lang.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,java.lang.Void>PARSERstatic ParseFieldPARTITION_FIELD_NAMEstatic ParseFieldPARTITION_FIELD_VALUEstatic ParseFieldPROBABILITYResult fieldsstatic ParseFieldTYPICAL-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object other)java.util.List<java.lang.Double>getActual()java.lang.StringgetByFieldName()java.lang.StringgetByFieldValue()java.lang.StringgetCorrelatedByFieldValue()java.lang.StringgetFieldName()java.lang.StringgetFunction()java.lang.StringgetFunctionDescription()java.util.List<Influence>getInfluencers()java.lang.StringgetOverFieldName()java.lang.StringgetOverFieldValue()java.lang.StringgetPartitionFieldName()java.lang.StringgetPartitionFieldValue()doublegetProbability()java.util.List<java.lang.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,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
-
getProbability
public double getProbability()
-
getByFieldName
public java.lang.String getByFieldName()
-
getByFieldValue
public java.lang.String getByFieldValue()
-
getCorrelatedByFieldValue
public java.lang.String getCorrelatedByFieldValue()
-
getPartitionFieldName
public java.lang.String getPartitionFieldName()
-
getPartitionFieldValue
public java.lang.String getPartitionFieldValue()
-
getFunction
public java.lang.String getFunction()
-
getFunctionDescription
public java.lang.String getFunctionDescription()
-
getTypical
public java.util.List<java.lang.Double> getTypical()
-
getActual
public java.util.List<java.lang.Double> getActual()
-
getFieldName
public java.lang.String getFieldName()
-
getOverFieldName
public java.lang.String getOverFieldName()
-
getOverFieldValue
public java.lang.String getOverFieldValue()
-
getInfluencers
public java.util.List<Influence> getInfluencers()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
-