Class OverallBucket
java.lang.Object
org.elasticsearch.client.ml.job.results.OverallBucket
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentObject
public class OverallBucket
extends Object
implements org.elasticsearch.common.xcontent.ToXContentObject
Overall Bucket Result POJO
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
-
Field Summary
Modifier and TypeFieldDescriptionstatic org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ConstructingObjectParser<OverallBucket,Void>
static String
Result typestatic org.elasticsearch.common.xcontent.ParseField
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare all the fields and embedded anomaly records (if any)long
Bucketspan expressed in secondsgetJobs()
double
int
hashCode()
boolean
org.elasticsearch.common.xcontent.XContentBuilder
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
Field Details
-
OVERALL_SCORE
public static final org.elasticsearch.common.xcontent.ParseField OVERALL_SCORE -
BUCKET_SPAN
public static final org.elasticsearch.common.xcontent.ParseField BUCKET_SPAN -
JOBS
public static final org.elasticsearch.common.xcontent.ParseField JOBS -
RESULTS_FIELD
public static final org.elasticsearch.common.xcontent.ParseField RESULTS_FIELD -
RESULT_TYPE_VALUE
Result type- See Also:
- Constant Field Values
-
PARSER
public static final org.elasticsearch.common.xcontent.ConstructingObjectParser<OverallBucket,Void> PARSER
-
-
Method Details
-
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException- Specified by:
toXContent
in interfaceorg.elasticsearch.common.xcontent.ToXContent
- Throws:
IOException
-
getTimestamp
-
getBucketSpan
public long getBucketSpan()Bucketspan expressed in seconds -
getOverallScore
public double getOverallScore() -
getJobs
-
isInterim
public boolean isInterim() -
hashCode
public int hashCode() -
equals
Compare all the fields and embedded anomaly records (if any)
-