Class OpenSearchDailyActiveUsersAggregator
java.lang.Object
org.openmetadata.service.dataInsight.DailyActiveUsersAggregator<os.org.opensearch.search.aggregations.Aggregations,os.org.opensearch.search.aggregations.bucket.histogram.Histogram,os.org.opensearch.search.aggregations.bucket.histogram.Histogram.Bucket>
org.openmetadata.service.search.opensearch.dataInsightAggregator.OpenSearchDailyActiveUsersAggregator
- All Implemented Interfaces:
DataInsightAggregatorInterface
public class OpenSearchDailyActiveUsersAggregator
extends DailyActiveUsersAggregator<os.org.opensearch.search.aggregations.Aggregations,os.org.opensearch.search.aggregations.bucket.histogram.Histogram,os.org.opensearch.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
ConstructorsConstructorDescriptionOpenSearchDailyActiveUsersAggregator(os.org.opensearch.search.aggregations.Aggregations aggregations) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<? extends os.org.opensearch.search.aggregations.bucket.histogram.Histogram.Bucket>getBuckets(os.org.opensearch.search.aggregations.bucket.histogram.Histogram histogramBucket) protected LonggetDocCount(os.org.opensearch.search.aggregations.bucket.histogram.Histogram.Bucket bucket) protected os.org.opensearch.search.aggregations.bucket.histogram.HistogramgetHistogramBucket(os.org.opensearch.search.aggregations.Aggregations aggregations) protected StringgetKeyAsString(os.org.opensearch.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
-
OpenSearchDailyActiveUsersAggregator
public OpenSearchDailyActiveUsersAggregator(os.org.opensearch.search.aggregations.Aggregations aggregations)
-
-
Method Details
-
getHistogramBucket
protected os.org.opensearch.search.aggregations.bucket.histogram.Histogram getHistogramBucket(os.org.opensearch.search.aggregations.Aggregations aggregations) - Specified by:
getHistogramBucketin classDailyActiveUsersAggregator<os.org.opensearch.search.aggregations.Aggregations,os.org.opensearch.search.aggregations.bucket.histogram.Histogram, os.org.opensearch.search.aggregations.bucket.histogram.Histogram.Bucket>
-
getBuckets
protected List<? extends os.org.opensearch.search.aggregations.bucket.histogram.Histogram.Bucket> getBuckets(os.org.opensearch.search.aggregations.bucket.histogram.Histogram histogramBucket) - Specified by:
getBucketsin classDailyActiveUsersAggregator<os.org.opensearch.search.aggregations.Aggregations,os.org.opensearch.search.aggregations.bucket.histogram.Histogram, os.org.opensearch.search.aggregations.bucket.histogram.Histogram.Bucket>
-
getKeyAsString
protected String getKeyAsString(os.org.opensearch.search.aggregations.bucket.histogram.Histogram.Bucket bucket) - Specified by:
getKeyAsStringin classDailyActiveUsersAggregator<os.org.opensearch.search.aggregations.Aggregations,os.org.opensearch.search.aggregations.bucket.histogram.Histogram, os.org.opensearch.search.aggregations.bucket.histogram.Histogram.Bucket>
-
getDocCount
protected Long getDocCount(os.org.opensearch.search.aggregations.bucket.histogram.Histogram.Bucket bucket) - Specified by:
getDocCountin classDailyActiveUsersAggregator<os.org.opensearch.search.aggregations.Aggregations,os.org.opensearch.search.aggregations.bucket.histogram.Histogram, os.org.opensearch.search.aggregations.bucket.histogram.Histogram.Bucket>
-