Class AnomalyRecord

  • All Implemented Interfaces:
    ToXContent, ToXContentObject

    public class AnomalyRecord
    extends java.lang.Object
    implements ToXContentObject
    Anomaly Record POJO. Uses the object wrappers Boolean and Double so null values can be returned if the members have not been set.
    • Field Detail

      • RESULT_TYPE_VALUE

        public static final java.lang.String RESULT_TYPE_VALUE
        Result type
        See Also:
        Constant Field Values
      • PROBABILITY

        public static final ParseField PROBABILITY
        Result fields (all detector types)
      • MULTI_BUCKET_IMPACT

        public static final ParseField MULTI_BUCKET_IMPACT
      • DETECTOR_INDEX

        public static final ParseField DETECTOR_INDEX
      • BY_FIELD_NAME

        public static final ParseField BY_FIELD_NAME
      • BY_FIELD_VALUE

        public static final ParseField BY_FIELD_VALUE
      • CORRELATED_BY_FIELD_VALUE

        public static final ParseField CORRELATED_BY_FIELD_VALUE
      • PARTITION_FIELD_NAME

        public static final ParseField PARTITION_FIELD_NAME
      • PARTITION_FIELD_VALUE

        public static final ParseField PARTITION_FIELD_VALUE
      • FUNCTION

        public static final ParseField FUNCTION
      • FUNCTION_DESCRIPTION

        public static final ParseField FUNCTION_DESCRIPTION
      • INFLUENCERS

        public static final ParseField INFLUENCERS
      • BUCKET_SPAN

        public static final ParseField BUCKET_SPAN
      • RESULTS_FIELD

        public static final ParseField RESULTS_FIELD
      • FIELD_NAME

        public static final ParseField FIELD_NAME
        Metric Results (including population metrics)
      • OVER_FIELD_NAME

        public static final ParseField OVER_FIELD_NAME
        Population results
      • OVER_FIELD_VALUE

        public static final ParseField OVER_FIELD_VALUE
      • RECORD_SCORE

        public static final ParseField RECORD_SCORE
        Normalization
      • INITIAL_RECORD_SCORE

        public static final ParseField INITIAL_RECORD_SCORE
    • Method Detail

      • getJobId

        public java.lang.String getJobId()
      • getDetectorIndex

        public int getDetectorIndex()
      • getRecordScore

        public double getRecordScore()
      • getInitialRecordScore

        public double getInitialRecordScore()
      • getTimestamp

        public java.util.Date getTimestamp()
      • getBucketSpan

        public long getBucketSpan()
        Bucketspan expressed in seconds
      • getProbability

        public double getProbability()
      • getMultiBucketImpact

        public double getMultiBucketImpact()
      • getByFieldName

        public java.lang.String getByFieldName()
      • getByFieldValue

        public java.lang.String getByFieldValue()
      • getCorrelatedByFieldValue

        public java.lang.String getCorrelatedByFieldValue()
      • getPartitionFieldName

        public java.lang.String getPartitionFieldName()
      • getPartitionFieldValue

        public java.lang.String getPartitionFieldValue()
      • getFunction

        public java.lang.String getFunction()
      • getFunctionDescription

        public java.lang.String getFunctionDescription()
      • getTypical

        public java.util.List<java.lang.Double> getTypical()
      • getActual

        public java.util.List<java.lang.Double> getActual()
      • isInterim

        public boolean isInterim()
      • getFieldName

        public java.lang.String getFieldName()
      • getOverFieldName

        public java.lang.String getOverFieldName()
      • getOverFieldValue

        public java.lang.String getOverFieldValue()
      • getCauses

        public java.util.List<AnomalyCause> getCauses()
      • getInfluencers

        public java.util.List<Influence> getInfluencers()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object