Class Influencer
java.lang.Object
org.elasticsearch.client.ml.job.results.Influencer
- All Implemented Interfaces:
ToXContent
,ToXContentObject
public class Influencer 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
BUCKET_SPAN
static ParseField
INFLUENCER_FIELD_NAME
static ParseField
INFLUENCER_FIELD_VALUE
static ParseField
INFLUENCER_SCORE
static ParseField
INITIAL_INFLUENCER_SCORE
static ConstructingObjectParser<Influencer,java.lang.Void>
PARSER
static ParseField
PROBABILITY
static ParseField
RESULT_TYPE_FIELD
static java.lang.String
RESULT_TYPE_VALUE
Result typestatic ParseField
RESULTS_FIELD
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getInfluencerFieldName()
java.lang.String
getInfluencerFieldValue()
double
getInfluencerScore()
double
getInitialInfluencerScore()
java.lang.String
getJobId()
double
getProbability()
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
-
PROBABILITY
-
BUCKET_SPAN
-
INFLUENCER_FIELD_NAME
-
INFLUENCER_FIELD_VALUE
-
INITIAL_INFLUENCER_SCORE
-
INFLUENCER_SCORE
-
RESULTS_FIELD
-
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() -
getTimestamp
public java.util.Date getTimestamp() -
getInfluencerFieldName
public java.lang.String getInfluencerFieldName() -
getInfluencerFieldValue
public java.lang.String getInfluencerFieldValue() -
getInitialInfluencerScore
public double getInitialInfluencerScore() -
getInfluencerScore
public double getInfluencerScore() -
isInterim
public boolean isInterim() -
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equals
in classjava.lang.Object
-