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>
-
Field Summary
Fields inherited from interface org.openmetadata.service.dataInsight.DataInsightAggregatorInterface
COMPLETED_DESCRIPTION_FRACTION, ENTITY_COUNT, ENTITY_TIER, ENTITY_TYPE, HAS_OWNER_FRACTION, SERVICE_NAME, TIMESTAMP -
Constructor Summary
ConstructorsConstructorDescriptionElasticSearchDailyActiveUsersAggregator(es.org.elasticsearch.search.aggregations.Aggregations aggregations) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<? extends es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram.Bucket>getBuckets(es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram histogramBucket) protected LonggetDocCount(es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram.Bucket bucket) protected es.org.elasticsearch.search.aggregations.bucket.histogram.HistogramgetHistogramBucket(es.org.elasticsearch.search.aggregations.Aggregations aggregations) protected StringgetKeyAsString(es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram.Bucket bucket) Methods inherited from class org.openmetadata.service.dataInsight.DailyActiveUsersAggregator
aggregateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openmetadata.service.dataInsight.DataInsightAggregatorInterface
convertDatTimeStringToTimestamp, process
-
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:
getHistogramBucketin classDailyActiveUsersAggregator<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:
getBucketsin classDailyActiveUsersAggregator<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:
getKeyAsStringin classDailyActiveUsersAggregator<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:
getDocCountin classDailyActiveUsersAggregator<es.org.elasticsearch.search.aggregations.Aggregations,es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram, es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram.Bucket>
-