Class ElasticSearchDailyActiveUsersAggregator

java.lang.Object
org.openmetadata.service.dataInsight.DailyActiveUsersAggregator<es.org.elasticsearch.search.aggregations.Aggregations,es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram,es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram.Bucket>
org.openmetadata.service.search.elasticsearch.dataInsightAggregators.ElasticSearchDailyActiveUsersAggregator
All Implemented Interfaces:
DataInsightAggregatorInterface

public class ElasticSearchDailyActiveUsersAggregator extends DailyActiveUsersAggregator<es.org.elasticsearch.search.aggregations.Aggregations,es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram,es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram.Bucket>
  • Constructor Details

    • ElasticSearchDailyActiveUsersAggregator

      public ElasticSearchDailyActiveUsersAggregator(es.org.elasticsearch.search.aggregations.Aggregations aggregations)
  • Method Details

    • getHistogramBucket

      protected es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram getHistogramBucket(es.org.elasticsearch.search.aggregations.Aggregations aggregations)
      Specified by:
      getHistogramBucket in class DailyActiveUsersAggregator<es.org.elasticsearch.search.aggregations.Aggregations,es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram,es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram.Bucket>
    • getBuckets

      protected List<? extends es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram.Bucket> getBuckets(es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram histogramBucket)
      Specified by:
      getBuckets in class DailyActiveUsersAggregator<es.org.elasticsearch.search.aggregations.Aggregations,es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram,es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram.Bucket>
    • getKeyAsString

      protected String getKeyAsString(es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram.Bucket bucket)
      Specified by:
      getKeyAsString in class DailyActiveUsersAggregator<es.org.elasticsearch.search.aggregations.Aggregations,es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram,es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram.Bucket>
    • getDocCount

      protected Long getDocCount(es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram.Bucket bucket)
      Specified by:
      getDocCount in class DailyActiveUsersAggregator<es.org.elasticsearch.search.aggregations.Aggregations,es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram,es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram.Bucket>