Class OverallBucket

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

public class OverallBucket
extends java.lang.Object
implements org.elasticsearch.common.xcontent.ToXContentObject
Overall Bucket Result POJO
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  OverallBucket.JobInfo  

    Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent

    org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
  • Field Summary

    Fields
    Modifier and Type Field Description
    static org.elasticsearch.common.ParseField BUCKET_SPAN  
    static org.elasticsearch.common.ParseField JOBS  
    static org.elasticsearch.common.ParseField OVERALL_SCORE  
    static org.elasticsearch.common.xcontent.ConstructingObjectParser<OverallBucket,​java.lang.Void> PARSER  
    static java.lang.String RESULT_TYPE_VALUE
    Result type
    static org.elasticsearch.common.ParseField RESULTS_FIELD  

    Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent

    EMPTY_PARAMS
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object other)
    Compare all the fields and embedded anomaly records (if any)
    long getBucketSpan()
    Bucketspan expressed in seconds
    java.util.List<OverallBucket.JobInfo> getJobs()  
    double getOverallScore()  
    java.util.Date getTimestamp()  
    int hashCode()  
    boolean isInterim()  
    org.elasticsearch.common.xcontent.XContentBuilder toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject

    isFragment
  • Field Details

    • OVERALL_SCORE

      public static final org.elasticsearch.common.ParseField OVERALL_SCORE
    • BUCKET_SPAN

      public static final org.elasticsearch.common.ParseField BUCKET_SPAN
    • JOBS

      public static final org.elasticsearch.common.ParseField JOBS
    • RESULTS_FIELD

      public static final org.elasticsearch.common.ParseField RESULTS_FIELD
    • RESULT_TYPE_VALUE

      public static final java.lang.String RESULT_TYPE_VALUE
      Result type
      See Also:
      Constant Field Values
    • PARSER

      public static final org.elasticsearch.common.xcontent.ConstructingObjectParser<OverallBucket,​java.lang.Void> PARSER
  • Method Details

    • toXContent

      public org.elasticsearch.common.xcontent.XContentBuilder toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException
      Specified by:
      toXContent in interface org.elasticsearch.common.xcontent.ToXContent
      Throws:
      java.io.IOException
    • getTimestamp

      public java.util.Date getTimestamp()
    • getBucketSpan

      public long getBucketSpan()
      Bucketspan expressed in seconds
    • getOverallScore

      public double getOverallScore()
    • getJobs

      public java.util.List<OverallBucket.JobInfo> getJobs()
    • isInterim

      public boolean isInterim()
    • hashCode

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

      public boolean equals​(java.lang.Object other)
      Compare all the fields and embedded anomaly records (if any)
      Overrides:
      equals in class java.lang.Object