Class OverallBucket

java.lang.Object
co.elastic.clients.elasticsearch.ml.OverallBucket
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class OverallBucket extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • bucketSpan

      public final long bucketSpan()
      Required - The length of the bucket in seconds. Matches the job with the longest bucket_span value.

      API name: bucket_span

    • isInterim

      public final boolean isInterim()
      Required - If true, this is an interim result. In other words, the results are calculated based on partial input data.

      API name: is_interim

    • jobs

      public final List<OverallBucketJob> jobs()
      Required - An array of objects that contain the max_anomaly_score per job_id.

      API name: jobs

    • overallScore

      public final double overallScore()
      Required - The top_n average of the maximum bucket anomaly_score per job.

      API name: overall_score

    • resultType

      public final String resultType()
      Required - Internal. This is always set to overall_bucket.

      API name: result_type

    • timestamp

      public final Time timestamp()
      Required - The start time of the bucket for which these results were calculated.

      API name: timestamp

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupOverallBucketDeserializer

      protected static void setupOverallBucketDeserializer(ObjectDeserializer<OverallBucket.Builder> op)