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

public class Influence extends Object implements org.elasticsearch.xcontent.ToXContentObject, Writeable
Influence field name and list of influence field values/score pairs
  • Field Details

    • INFLUENCER

      public static final org.elasticsearch.xcontent.ParseField INFLUENCER
      Note all publicly exposed field names are "influencer" not "influence"
    • INFLUENCER_FIELD_NAME

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

      public static final org.elasticsearch.xcontent.ParseField INFLUENCER_FIELD_VALUES
    • STRICT_PARSER

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

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

      public String getInfluencerFieldName()
    • getInfluencerFieldValues

      public List<String> getInfluencerFieldValues()
    • hashCode

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

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