Class Bucket

    • Field Detail

      • ANOMALY_SCORE

        public static final ParseField ANOMALY_SCORE
      • INITIAL_ANOMALY_SCORE

        public static final ParseField INITIAL_ANOMALY_SCORE
      • EVENT_COUNT

        public static final ParseField EVENT_COUNT
      • BUCKET_INFLUENCERS

        public static final ParseField BUCKET_INFLUENCERS
      • BUCKET_SPAN

        public static final ParseField BUCKET_SPAN
      • PROCESSING_TIME_MS

        public static final ParseField PROCESSING_TIME_MS
      • SCHEDULED_EVENTS

        public static final ParseField SCHEDULED_EVENTS
      • RESULTS_FIELD

        public static final ParseField RESULTS_FIELD
      • RESULT_TYPE_VALUE

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

        public static final ParseField RESULT_TYPE_FIELD
    • Method Detail

      • getJobId

        public java.lang.String getJobId()
      • getTimestamp

        public java.util.Date getTimestamp()
      • getBucketSpan

        public long getBucketSpan()
        Bucketspan expressed in seconds
      • getAnomalyScore

        public double getAnomalyScore()
      • getInitialAnomalyScore

        public double getInitialAnomalyScore()
      • getRecords

        public java.util.List<AnomalyRecord> getRecords()
        Get all the anomaly records associated with this bucket. The records are not part of the bucket document. They will only be present when the bucket was retrieved and expanded to contain the associated records.
        Returns:
        the anomaly records for the bucket IF the bucket was expanded.
      • getEventCount

        public long getEventCount()
        The number of records (events) actually processed in this bucket.
      • isInterim

        public boolean isInterim()
      • getProcessingTimeMs

        public long getProcessingTimeMs()
      • getBucketInfluencers

        public java.util.List<BucketInfluencer> getBucketInfluencers()
      • getScheduledEvents

        public java.util.List<java.lang.String> getScheduledEvents()
      • hashCode

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

        public boolean equals​(java.lang.Object other)
        Compare all the fields and embedded anomaly records (if any)
        Overrides:
        equals in class java.lang.Object