java.lang.Object
org.elasticsearch.xpack.core.ml.job.results.Influencer
- 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 ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ConstructingObjectParser<Influencer, Void> static final ParseFieldstatic final ParseFieldstatic final StringResult typestatic final 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()booleanvoidsetEventIngested(Instant eventIngested) voidsetInfluencerScore(double score) voidsetInitialInfluencerScore(double score) voidsetInterim(boolean value) voidsetProbability(double probability) 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
-
PROBABILITY
-
BUCKET_SPAN
-
INFLUENCER_FIELD_NAME
-
INFLUENCER_FIELD_VALUE
-
INITIAL_INFLUENCER_SCORE
-
INFLUENCER_SCORE
-
RESULTS_FIELD
-
LENIENT_PARSER
-
-
Constructor Details
-
Influencer
-
Influencer
- 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
-
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) -
getEventIngested
-
setEventIngested
-
hashCode
public int hashCode() -
equals
-