Class BucketInfluencer
java.lang.Object
co.elastic.clients.elasticsearch.ml.BucketInfluencer
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class BucketInfluencer extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBucketInfluencer.BuilderBuilder forBucketInfluencer. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<BucketInfluencer>_DESERIALIZERJson deserializer forBucketInfluencer -
Constructor Summary
Constructors Constructor Description BucketInfluencer(BucketInfluencer.Builder builder)BucketInfluencer(java.util.function.Function<BucketInfluencer.Builder,BucketInfluencer.Builder> fn) -
Method Summary
Modifier and Type Method Description longbucketSpan()The length of the bucket in seconds.java.lang.Stringfoo()API name:foojava.lang.StringinfluencerFieldName()The field name of the influencer.java.lang.StringinfluencerFieldValue()The entity that influenced, contributed to, or was to blame for the anomaly.doubleinfluencerScore()A normalized score between 0-100, which is based on the probability of the influencer in this bucket aggregated across detectors.doubleinitialInfluencerScore()A normalized score between 0-100, which is based on the probability of the influencer aggregated across detectors.booleanisInterim()If true, this is an interim result.java.lang.StringjobId()Identifier for the anomaly detection job.doubleprobability()The probability that the influencer has this behavior, in the range 0 to 1.java.lang.StringresultType()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 voidsetupBucketInfluencerDeserializer(DelegatingDeserializer<BucketInfluencer.Builder> op)java.lang.Stringtimestamp()The start time of the bucket for which these results were calculated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forBucketInfluencer
-
-
Constructor Details
-
BucketInfluencer
-
BucketInfluencer
public BucketInfluencer(java.util.function.Function<BucketInfluencer.Builder,BucketInfluencer.Builder> fn)
-
-
Method Details
-
bucketSpan
public long bucketSpan()The length of the bucket in seconds. This value matches the bucket_span that is specified in the job.API name:
bucket_span -
influencerScore
public double influencerScore()A normalized score between 0-100, which is based on the probability of the influencer in this bucket aggregated across detectors. Unlike initial_influencer_score, this value will be updated by a re-normalization process as new data is analyzed.API name:
influencer_score -
influencerFieldName
public java.lang.String influencerFieldName()The field name of the influencer.API name:
influencer_field_name -
influencerFieldValue
public java.lang.String influencerFieldValue()The entity that influenced, contributed to, or was to blame for the anomaly.API name:
influencer_field_value -
initialInfluencerScore
public double initialInfluencerScore()A normalized score between 0-100, which is based on the probability of the influencer aggregated across detectors. This is the initial value that was calculated at the time the bucket was processed.API name:
initial_influencer_score -
isInterim
public boolean isInterim()If true, this is an interim result. In other words, the results are calculated based on partial input data.API name:
is_interim -
jobId
public java.lang.String jobId()Identifier for the anomaly detection job.API name:
job_id -
probability
public double probability()The probability that the influencer has this behavior, in the range 0 to 1. This value can be held to a high precision of over 300 decimal places, so the influencer_score is provided as a human-readable and friendly interpretation of this.API name:
probability -
resultType
public java.lang.String resultType()Internal. This value is always set to influencer.API name:
result_type -
timestamp
public java.lang.String timestamp()The start time of the bucket for which these results were calculated.API name:
timestamp -
foo
@Nullable public java.lang.String foo()API name:foo -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupBucketInfluencerDeserializer
protected static void setupBucketInfluencerDeserializer(DelegatingDeserializer<BucketInfluencer.Builder> op)
-