Class BucketInfluencer
java.lang.Object
org.elasticsearch.client.ml.job.results.BucketInfluencer
- All Implemented Interfaces:
ToXContent
,ToXContentObject
public class BucketInfluencer extends java.lang.Object implements ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
Field Summary
Fields Modifier and Type Field Description static ParseField
ANOMALY_SCORE
static ParseField
BUCKET_SPAN
static ParseField
INFLUENCER_FIELD_NAME
Field namesstatic ParseField
INITIAL_ANOMALY_SCORE
static ConstructingObjectParser<BucketInfluencer,java.lang.Void>
PARSER
static ParseField
PROBABILITY
static ParseField
RAW_ANOMALY_SCORE
static ParseField
RESULT_TYPE_FIELD
static java.lang.String
RESULT_TYPE_VALUE
Result type -
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object obj)
double
getAnomalyScore()
java.lang.String
getInfluencerFieldName()
double
getInitialAnomalyScore()
java.lang.String
getJobId()
double
getProbability()
double
getRawAnomalyScore()
java.util.Date
getTimestamp()
int
hashCode()
boolean
isInterim()
XContentBuilder
toXContent(XContentBuilder builder, ToXContent.Params params)
-
Field Details
-
RESULT_TYPE_VALUE
public static final java.lang.String RESULT_TYPE_VALUEResult type- See Also:
- Constant Field Values
-
RESULT_TYPE_FIELD
-
INFLUENCER_FIELD_NAME
Field names -
INITIAL_ANOMALY_SCORE
-
ANOMALY_SCORE
-
RAW_ANOMALY_SCORE
-
PROBABILITY
-
BUCKET_SPAN
-
PARSER
-
-
Method Details
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceToXContent
- Throws:
java.io.IOException
-
getJobId
public java.lang.String getJobId() -
getProbability
public double getProbability() -
getInfluencerFieldName
public java.lang.String getInfluencerFieldName() -
getInitialAnomalyScore
public double getInitialAnomalyScore() -
getAnomalyScore
public double getAnomalyScore() -
getRawAnomalyScore
public double getRawAnomalyScore() -
isInterim
public boolean isInterim() -
getTimestamp
public java.util.Date getTimestamp() -
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equals
in classjava.lang.Object
-