Class AnomalyCause

java.lang.Object
org.elasticsearch.client.ml.job.results.AnomalyCause
All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class AnomalyCause extends Object implements org.elasticsearch.xcontent.ToXContentObject
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
    • FIELD_NAME

      public static final org.elasticsearch.xcontent.ParseField FIELD_NAME
      Metric Results
    • PARSER

      public static final org.elasticsearch.xcontent.ObjectParser<AnomalyCause,Void> PARSER
  • Method Details

    • 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()
    • 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()
    • getTypical

      public List<Double> getTypical()
    • getActual

      public List<Double> getActual()
    • getFieldName

      public String getFieldName()
    • getOverFieldName

      public String getOverFieldName()
    • getOverFieldValue

      public String getOverFieldValue()
    • getInfluencers

      public List<Influence> getInfluencers()
    • getTypicalGeoPoint

      @Nullable public org.elasticsearch.common.geo.GeoPoint getTypicalGeoPoint()
    • getActualGeoPoint

      @Nullable public org.elasticsearch.common.geo.GeoPoint getActualGeoPoint()
    • hashCode

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

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