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.
  • Field Details

    • ANOMALY_CAUSE

      public static final org.elasticsearch.xcontent.ParseField ANOMALY_CAUSE
    • PROBABILITY

      public static final org.elasticsearch.xcontent.ParseField PROBABILITY
      Result 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_NAME
      Metric Results
    • STRICT_PARSER

      public static final org.elasticsearch.xcontent.ObjectParser<AnomalyCause,Void> STRICT_PARSER
    • LENIENT_PARSER

      public static final org.elasticsearch.xcontent.ObjectParser<AnomalyCause,Void> LENIENT_PARSER
  • Constructor Details

  • Method Details

    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Specified by:
      writeTo in interface Writeable
      Throws:
      IOException
    • toXContent

      public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.xcontent.ToXContent
      Throws:
      IOException
    • getProbability

      public double getProbability()
    • setProbability

      public void setProbability(double value)
    • getByFieldName

      public String getByFieldName()
    • setByFieldName

      public void setByFieldName(String value)
    • getByFieldValue

      public String getByFieldValue()
    • setByFieldValue

      public void setByFieldValue(String value)
    • getCorrelatedByFieldValue

      public String getCorrelatedByFieldValue()
    • setCorrelatedByFieldValue

      public void setCorrelatedByFieldValue(String value)
    • getPartitionFieldName

      public String getPartitionFieldName()
    • setPartitionFieldName

      public void setPartitionFieldName(String field)
    • getPartitionFieldValue

      public String getPartitionFieldValue()
    • setPartitionFieldValue

      public void setPartitionFieldValue(String value)
    • getFunction

      public String getFunction()
    • setFunction

      public void setFunction(String name)
    • getFunctionDescription

      public String getFunctionDescription()
    • setFunctionDescription

      public void setFunctionDescription(String functionDescription)
    • getTypical

      public List<Double> getTypical()
    • setTypical

      public void setTypical(List<Double> typical)
    • getActual

      public List<Double> getActual()
    • setActual

      public void setActual(List<Double> actual)
    • getFieldName

      public String getFieldName()
    • setFieldName

      public void setFieldName(String field)
    • getOverFieldName

      public String getOverFieldName()
    • setOverFieldName

      public void setOverFieldName(String name)
    • getOverFieldValue

      public String getOverFieldValue()
    • setOverFieldValue

      public void setOverFieldValue(String value)
    • getInfluencers

      public List<Influence> getInfluencers()
    • setInfluencers

      public void setInfluencers(List<Influence> influencers)
    • getGeoResults

      public GeoResults getGeoResults()
    • setGeoResults

      public void setGeoResults(GeoResults geoResults)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object