Class AnomalyRecord
java.lang.Object
org.elasticsearch.client.ml.job.results.AnomalyRecord
- All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
Anomaly Record POJO.
Uses the object wrappers Boolean and Double so
null values
can be returned if the members have not been set.-
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.Params -
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.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldMetric Results (including population metrics)static 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.ParseFieldPopulation resultsstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ConstructingObjectParser<AnomalyRecord,Void> static final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldResult fields (all detector types)static final org.elasticsearch.xcontent.ParseFieldNormalizationstatic final StringResult typestatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongBucketspan expressed in secondsintdoublegetJobId()doubledoubledoubleinthashCode()booleanorg.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) 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:
-
PROBABILITY
public static final org.elasticsearch.xcontent.ParseField PROBABILITYResult fields (all detector types) -
MULTI_BUCKET_IMPACT
public static final org.elasticsearch.xcontent.ParseField MULTI_BUCKET_IMPACT -
DETECTOR_INDEX
public static final org.elasticsearch.xcontent.ParseField DETECTOR_INDEX -
BY_FIELD_NAME
public static final org.elasticsearch.xcontent.ParseField BY_FIELD_NAME -
BY_FIELD_VALUE
public static final org.elasticsearch.xcontent.ParseField BY_FIELD_VALUE -
CORRELATED_BY_FIELD_VALUE
public static final org.elasticsearch.xcontent.ParseField CORRELATED_BY_FIELD_VALUE -
PARTITION_FIELD_NAME
public static final org.elasticsearch.xcontent.ParseField PARTITION_FIELD_NAME -
PARTITION_FIELD_VALUE
public static final org.elasticsearch.xcontent.ParseField PARTITION_FIELD_VALUE -
FUNCTION
public static final org.elasticsearch.xcontent.ParseField FUNCTION -
FUNCTION_DESCRIPTION
public static final org.elasticsearch.xcontent.ParseField FUNCTION_DESCRIPTION -
TYPICAL
public static final org.elasticsearch.xcontent.ParseField TYPICAL -
ACTUAL
public static final org.elasticsearch.xcontent.ParseField ACTUAL -
INFLUENCERS
public static final org.elasticsearch.xcontent.ParseField INFLUENCERS -
BUCKET_SPAN
public static final org.elasticsearch.xcontent.ParseField BUCKET_SPAN -
RESULTS_FIELD
public static final org.elasticsearch.xcontent.ParseField RESULTS_FIELD -
FIELD_NAME
public static final org.elasticsearch.xcontent.ParseField FIELD_NAMEMetric Results (including population metrics) -
OVER_FIELD_NAME
public static final org.elasticsearch.xcontent.ParseField OVER_FIELD_NAMEPopulation results -
OVER_FIELD_VALUE
public static final org.elasticsearch.xcontent.ParseField OVER_FIELD_VALUE -
CAUSES
public static final org.elasticsearch.xcontent.ParseField CAUSES -
RECORD_SCORE
public static final org.elasticsearch.xcontent.ParseField RECORD_SCORENormalization -
INITIAL_RECORD_SCORE
public static final org.elasticsearch.xcontent.ParseField INITIAL_RECORD_SCORE -
PARSER
-
-
Method Details
-
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
-
getDetectorIndex
public int getDetectorIndex() -
getRecordScore
public double getRecordScore() -
getInitialRecordScore
public double getInitialRecordScore() -
getTimestamp
-
getBucketSpan
public long getBucketSpan()Bucketspan expressed in seconds -
getProbability
public double getProbability() -
getMultiBucketImpact
public double getMultiBucketImpact() -
getByFieldName
-
getByFieldValue
-
getPartitionFieldName
-
getPartitionFieldValue
-
getFunction
-
getFunctionDescription
-
getTypical
-
getActual
-
isInterim
public boolean isInterim() -
getFieldName
-
getOverFieldName
-
getOverFieldValue
-
getCauses
-
getInfluencers
-
getTypicalGeoPoint
-
getActualGeoPoint
-
hashCode
public int hashCode() -
equals
-