Module org.elasticsearch.xcore
Class AnomalyCause
java.lang.Object
org.elasticsearch.xpack.core.ml.job.results.AnomalyCause
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentObject
Anomaly Cause POJO.
Used as a nested level inside population anomaly records.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldMetric Resultsstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ObjectParser<AnomalyCause, Void> static final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldResult fieldsstatic final ObjectParser<AnomalyCause, Void> static final ParseFieldFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandoubleinthashCode()voidvoidsetByFieldName(String value) voidsetByFieldValue(String value) voidsetCorrelatedByFieldValue(String value) voidsetFieldName(String field) voidsetFunction(String name) voidsetFunctionDescription(String functionDescription) voidsetGeoResults(GeoResults geoResults) voidsetInfluencers(List<Influence> influencers) voidsetOverFieldName(String name) voidsetOverFieldValue(String value) voidsetPartitionFieldName(String field) voidsetPartitionFieldValue(String value) voidsetProbability(double value) voidsetTypical(List<Double> typical) toString()toXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
ANOMALY_CAUSE
-
PROBABILITY
Result fields -
OVER_FIELD_NAME
-
OVER_FIELD_VALUE
-
BY_FIELD_NAME
-
BY_FIELD_VALUE
-
CORRELATED_BY_FIELD_VALUE
-
PARTITION_FIELD_NAME
-
PARTITION_FIELD_VALUE
-
FUNCTION
-
FUNCTION_DESCRIPTION
-
TYPICAL
-
ACTUAL
-
INFLUENCERS
-
GEO_RESULTS
-
FIELD_NAME
Metric Results -
STRICT_PARSER
-
LENIENT_PARSER
-
-
Constructor Details
-
AnomalyCause
public AnomalyCause() -
AnomalyCause
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
getProbability
public double getProbability() -
setProbability
public void setProbability(double value) -
getByFieldName
-
setByFieldName
-
getByFieldValue
-
setByFieldValue
-
getPartitionFieldName
-
setPartitionFieldName
-
getPartitionFieldValue
-
setPartitionFieldValue
-
getFunction
-
setFunction
-
getFunctionDescription
-
setFunctionDescription
-
getTypical
-
setTypical
-
getActual
-
setActual
-
getFieldName
-
setFieldName
-
getOverFieldName
-
setOverFieldName
-
getOverFieldValue
-
setOverFieldValue
-
getInfluencers
-
setInfluencers
-
getGeoResults
-
setGeoResults
-
hashCode
public int hashCode() -
equals
-
toString
-