Class Bucket

    • Method Detail

      • getJobId

        public String getJobId()
      • getTimestamp

        public Date getTimestamp()
      • getBucketSpan

        public long getBucketSpan()
        Bucketspan expressed in seconds
      • getAnomalyScore

        public double getAnomalyScore()
      • getInitialAnomalyScore

        public double getInitialAnomalyScore()
      • getRecords

        public 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()
      • getScheduledEvents

        public List<String> getScheduledEvents()
      • hashCode

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

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