Class OverallBucket
java.lang.Object
org.elasticsearch.client.ml.job.results.OverallBucket
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class OverallBucket extends java.lang.Object implements ToXContentObject
Overall Bucket Result POJO
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOverallBucket.JobInfoNested 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 ParseFieldBUCKET_SPANstatic ParseFieldJOBSstatic ParseFieldOVERALL_SCOREstatic ConstructingObjectParser<OverallBucket,java.lang.Void>PARSERstatic java.lang.StringRESULT_TYPE_VALUEResult typestatic ParseFieldRESULTS_FIELD -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object other)Compare all the fields and embedded anomaly records (if any)longgetBucketSpan()Bucketspan expressed in secondsjava.util.List<OverallBucket.JobInfo>getJobs()doublegetOverallScore()java.util.DategetTimestamp()inthashCode()booleanisInterim()XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params)
-
Field Details
-
OVERALL_SCORE
-
BUCKET_SPAN
-
JOBS
-
RESULTS_FIELD
-
RESULT_TYPE_VALUE
public static final java.lang.String RESULT_TYPE_VALUEResult type- See Also:
- Constant Field Values
-
PARSER
-
-
Method Details
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Specified by:
toXContentin interfaceToXContent- Throws:
java.io.IOException
-
getTimestamp
public java.util.Date getTimestamp() -
getBucketSpan
public long getBucketSpan()Bucketspan expressed in seconds -
getOverallScore
public double getOverallScore() -
getJobs
-
isInterim
public boolean isInterim() -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)Compare all the fields and embedded anomaly records (if any)- Overrides:
equalsin classjava.lang.Object
-