java.lang.Object
org.elasticsearch.xpack.core.ml.job.results.Influencer
- 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 org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ConstructingObjectParser<Influencer, Void> static final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final StringResult typestatic final org.elasticsearch.xcontent.ParseFieldFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionInfluencer(String jobId, String fieldName, String fieldValue, Date timestamp, long bucketSpan) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()doubledoublegetJobId()doubleinthashCode()booleanvoidsetInfluencerScore(double score) voidsetInitialInfluencerScore(double score) voidsetInterim(boolean value) voidsetProbability(double probability) 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 -
PROBABILITY
public static final org.elasticsearch.xcontent.ParseField PROBABILITY -
BUCKET_SPAN
public static final org.elasticsearch.xcontent.ParseField BUCKET_SPAN -
INFLUENCER_FIELD_NAME
public static final org.elasticsearch.xcontent.ParseField INFLUENCER_FIELD_NAME -
INFLUENCER_FIELD_VALUE
public static final org.elasticsearch.xcontent.ParseField INFLUENCER_FIELD_VALUE -
INITIAL_INFLUENCER_SCORE
public static final org.elasticsearch.xcontent.ParseField INITIAL_INFLUENCER_SCORE -
INFLUENCER_SCORE
public static final org.elasticsearch.xcontent.ParseField INFLUENCER_SCORE -
RESULTS_FIELD
public static final org.elasticsearch.xcontent.ParseField RESULTS_FIELD -
LENIENT_PARSER
public static final org.elasticsearch.xcontent.ConstructingObjectParser<Influencer,Void> LENIENT_PARSER
-
-
Constructor Details
-
Influencer
-
Influencer
- 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
-
getJobId
-
getId
-
getProbability
public double getProbability() -
setProbability
public void setProbability(double probability) -
getTimestamp
-
getInfluencerFieldName
-
getInfluencerFieldValue
-
getInitialInfluencerScore
public double getInitialInfluencerScore() -
setInitialInfluencerScore
public void setInitialInfluencerScore(double score) -
getInfluencerScore
public double getInfluencerScore() -
setInfluencerScore
public void setInfluencerScore(double score) -
isInterim
public boolean isInterim() -
setInterim
public void setInterim(boolean value) -
hashCode
public int hashCode() -
equals
-