Module org.elasticsearch.xcore
Class AnomalyCause
java.lang.Object
org.elasticsearch.xpack.core.ml.job.results.AnomalyCause
- All Implemented Interfaces:
Writeable,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
public class AnomalyCause
extends Object
implements org.elasticsearch.xcontent.ToXContentObject, Writeable
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
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.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 org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldMetric Resultsstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ObjectParser<AnomalyCause, Void> static final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldResult fieldsstatic final org.elasticsearch.xcontent.ObjectParser<AnomalyCause, Void> static final org.elasticsearch.xcontent.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()org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.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
public static final org.elasticsearch.xcontent.ParseField ANOMALY_CAUSE -
PROBABILITY
public static final org.elasticsearch.xcontent.ParseField PROBABILITYResult fields -
OVER_FIELD_NAME
public static final org.elasticsearch.xcontent.ParseField OVER_FIELD_NAME -
OVER_FIELD_VALUE
public static final org.elasticsearch.xcontent.ParseField OVER_FIELD_VALUE -
BY_FIELD_NAME
public static final org.elasticsearch.xcontent.ParseField BY_FIELD_NAME -
BY_FIELD_VALUE
public static final org.elasticsearch.xcontent.ParseField BY_FIELD_VALUE -
CORRELATED_BY_FIELD_VALUE
public static final org.elasticsearch.xcontent.ParseField CORRELATED_BY_FIELD_VALUE -
PARTITION_FIELD_NAME
public static final org.elasticsearch.xcontent.ParseField PARTITION_FIELD_NAME -
PARTITION_FIELD_VALUE
public static final org.elasticsearch.xcontent.ParseField PARTITION_FIELD_VALUE -
FUNCTION
public static final org.elasticsearch.xcontent.ParseField FUNCTION -
FUNCTION_DESCRIPTION
public static final org.elasticsearch.xcontent.ParseField FUNCTION_DESCRIPTION -
TYPICAL
public static final org.elasticsearch.xcontent.ParseField TYPICAL -
ACTUAL
public static final org.elasticsearch.xcontent.ParseField ACTUAL -
INFLUENCERS
public static final org.elasticsearch.xcontent.ParseField INFLUENCERS -
GEO_RESULTS
public static final org.elasticsearch.xcontent.ParseField GEO_RESULTS -
FIELD_NAME
public static final org.elasticsearch.xcontent.ParseField FIELD_NAMEMetric Results -
STRICT_PARSER
-
LENIENT_PARSER
-
-
Constructor Details
-
AnomalyCause
public AnomalyCause() -
AnomalyCause
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- 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
-