Module org.elasticsearch.xcore
Class BucketInfluencer
java.lang.Object
org.elasticsearch.xpack.core.ml.job.results.BucketInfluencer
- All Implemented Interfaces:
Writeable,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.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 org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final StringThe influencer field name used for time influencersstatic final org.elasticsearch.xcontent.ParseFieldField namesstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ConstructingObjectParser<BucketInfluencer, Void> static final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final StringResult typestatic final org.elasticsearch.xcontent.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) voidsetInfluencerFieldName(String fieldName) voidsetInitialAnomalyScore(double influenceScore) voidsetIsInterim(boolean isInterim) voidsetProbability(double probability) voidsetRawAnomalyScore(double score) org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.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
public static final org.elasticsearch.xcontent.ParseField RESULT_TYPE_FIELD -
INFLUENCER_FIELD_NAME
public static final org.elasticsearch.xcontent.ParseField INFLUENCER_FIELD_NAMEField names -
INITIAL_ANOMALY_SCORE
public static final org.elasticsearch.xcontent.ParseField INITIAL_ANOMALY_SCORE -
ANOMALY_SCORE
public static final org.elasticsearch.xcontent.ParseField ANOMALY_SCORE -
RAW_ANOMALY_SCORE
public static final org.elasticsearch.xcontent.ParseField RAW_ANOMALY_SCORE -
PROBABILITY
public static final org.elasticsearch.xcontent.ParseField PROBABILITY -
BUCKET_SPAN
public static final org.elasticsearch.xcontent.ParseField BUCKET_SPAN -
BUCKET_TIME
The influencer field name used for time influencers- See Also:
-
STRICT_PARSER
public static final org.elasticsearch.xcontent.ConstructingObjectParser<BucketInfluencer,Void> STRICT_PARSER -
LENIENT_PARSER
public static final org.elasticsearch.xcontent.ConstructingObjectParser<BucketInfluencer,Void> LENIENT_PARSER
-
-
Constructor Details
-
BucketInfluencer
-
BucketInfluencer
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- 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
-
hashCode
public int hashCode() -
equals
-