java.lang.Object
org.elasticsearch.xpack.core.ml.job.results.BucketInfluencer
All Implemented Interfaces:
Writeable, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class BucketInfluencer extends Object implements org.elasticsearch.xcontent.ToXContentObject, Writeable
  • Field Details

    • RESULT_TYPE_VALUE

      public static final String RESULT_TYPE_VALUE
      Result type
      See Also:
    • RESULT_TYPE_FIELD

      public static final org.elasticsearch.xcontent.ParseField RESULT_TYPE_FIELD
    • INFLUENCER_FIELD_NAME

      public static final org.elasticsearch.xcontent.ParseField INFLUENCER_FIELD_NAME
      Field names
    • INITIAL_ANOMALY_SCORE

      public static final org.elasticsearch.xcontent.ParseField INITIAL_ANOMALY_SCORE
    • ANOMALY_SCORE

      public static final org.elasticsearch.xcontent.ParseField ANOMALY_SCORE
    • RAW_ANOMALY_SCORE

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

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

      public static final org.elasticsearch.xcontent.ParseField BUCKET_SPAN
    • BUCKET_TIME

      public static final String BUCKET_TIME
      The influencer field name used for time influencers
      See Also:
    • STRICT_PARSER

      public static final org.elasticsearch.xcontent.ConstructingObjectParser<BucketInfluencer,Void> STRICT_PARSER
    • LENIENT_PARSER

      public static final org.elasticsearch.xcontent.ConstructingObjectParser<BucketInfluencer,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
    • getId

      public String getId()
      Data store ID of this bucket influencer.
    • getJobId

      public String getJobId()
    • getProbability

      public double getProbability()
    • setProbability

      public void setProbability(double probability)
    • getInfluencerFieldName

      public String getInfluencerFieldName()
    • setInfluencerFieldName

      public void setInfluencerFieldName(String fieldName)
    • getInitialAnomalyScore

      public double getInitialAnomalyScore()
    • setInitialAnomalyScore

      public void setInitialAnomalyScore(double influenceScore)
    • getAnomalyScore

      public double getAnomalyScore()
    • setAnomalyScore

      public void setAnomalyScore(double score)
    • getRawAnomalyScore

      public double getRawAnomalyScore()
    • setRawAnomalyScore

      public void setRawAnomalyScore(double score)
    • setIsInterim

      public void setIsInterim(boolean isInterim)
    • isInterim

      public boolean isInterim()
    • getTimestamp

      public Date getTimestamp()
    • hashCode

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

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