Class OverallBucket
java.lang.Object
co.elastic.clients.elasticsearch.ml.OverallBucket
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<OverallBucket>Json deserializer forOverallBucket -
Method Summary
Modifier and TypeMethodDescriptionfinal longRequired - The length of the bucket in seconds.final booleanRequired - If true, this is an interim result.final List<OverallBucketJob>jobs()Required - An array of objects that contain the max_anomaly_score per job_id.static OverallBucketfinal doubleRequired - The top_n average of the maximum bucket anomaly_score per job.final StringRequired - Internal.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal longRequired - The start time of the bucket for which these results were calculated.final DateTimeThe start time of the bucket for which these results were calculated.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forOverallBucket
-
-
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
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
Required - Internal. This is always set to overall_bucket.API name:
result_type -
timestamp
public final long timestamp()Required - The start time of the bucket for which these results were calculated.API name:
timestamp -
timestampString
The start time of the bucket for which these results were calculated.API name:
timestamp_string -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupOverallBucketDeserializer
-