Module org.elasticsearch.xcore
Class BucketInfluencer
java.lang.Object
org.elasticsearch.xpack.core.ml.job.results.BucketInfluencer
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ParseFieldstatic final ParseFieldstatic final StringThe influencer field name used for time influencersstatic final ParseFieldField namesstatic final ParseFieldstatic final ConstructingObjectParser<BucketInfluencer, Void> static final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final StringResult typestatic final ConstructingObjectParser<BucketInfluencer, Void> Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandoublegetId()Data store ID of this bucket influencer.doublegetJobId()doubledoubleinthashCode()booleanvoidsetAnomalyScore(double score) voidsetEventIngested(Instant eventIngested) voidsetInfluencerFieldName(String fieldName) voidsetInitialAnomalyScore(double influenceScore) voidsetIsInterim(boolean isInterim) voidsetProbability(double probability) voidsetRawAnomalyScore(double score) toXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
RESULT_TYPE_VALUE
Result type- See Also:
-
RESULT_TYPE_FIELD
-
INFLUENCER_FIELD_NAME
Field names -
INITIAL_ANOMALY_SCORE
-
ANOMALY_SCORE
-
RAW_ANOMALY_SCORE
-
PROBABILITY
-
BUCKET_SPAN
-
BUCKET_TIME
The influencer field name used for time influencers- See Also:
-
STRICT_PARSER
-
LENIENT_PARSER
-
-
Constructor Details
-
BucketInfluencer
-
BucketInfluencer
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
getId
Data store ID of this bucket influencer. -
getJobId
-
getProbability
public double getProbability() -
setProbability
public void setProbability(double probability) -
getInfluencerFieldName
-
setInfluencerFieldName
-
getInitialAnomalyScore
public double getInitialAnomalyScore() -
setInitialAnomalyScore
public void setInitialAnomalyScore(double influenceScore) -
getAnomalyScore
public double getAnomalyScore() -
setAnomalyScore
public void setAnomalyScore(double score) -
getRawAnomalyScore
public double getRawAnomalyScore() -
setRawAnomalyScore
public void setRawAnomalyScore(double score) -
setIsInterim
public void setIsInterim(boolean isInterim) -
isInterim
public boolean isInterim() -
getTimestamp
-
getEventIngested
-
setEventIngested
-
hashCode
public int hashCode() -
equals
-