Class ElasticSearchAggregatedUnusedAssetsCountAggregator
java.lang.Object
org.openmetadata.service.dataInsight.AggregatedUnusedAssetsCountAggregator<es.org.elasticsearch.search.aggregations.Aggregations,es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram,es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram.Bucket,es.org.elasticsearch.search.aggregations.metrics.Sum>
org.openmetadata.service.search.elasticsearch.dataInsightAggregators.ElasticSearchAggregatedUnusedAssetsCountAggregator
- All Implemented Interfaces:
DataInsightAggregatorInterface
public class ElasticSearchAggregatedUnusedAssetsCountAggregator
extends AggregatedUnusedAssetsCountAggregator<es.org.elasticsearch.search.aggregations.Aggregations,es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram,es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram.Bucket,es.org.elasticsearch.search.aggregations.metrics.Sum>
-
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
ConstructorsConstructorDescriptionElasticSearchAggregatedUnusedAssetsCountAggregator(es.org.elasticsearch.search.aggregations.Aggregations aggregations) -
Method Summary
Modifier and TypeMethodDescriptionprotected es.org.elasticsearch.search.aggregations.metrics.SumgetAggregations(es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram.Bucket bucket, String key) protected List<? extends es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram.Bucket>getBuckets(es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram histogramBucket) 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) protected DoublegetValue(es.org.elasticsearch.search.aggregations.metrics.Sum aggregations) Methods inherited from class org.openmetadata.service.dataInsight.AggregatedUnusedAssetsCountAggregator
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
-
ElasticSearchAggregatedUnusedAssetsCountAggregator
public ElasticSearchAggregatedUnusedAssetsCountAggregator(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 classAggregatedUnusedAssetsCountAggregator<es.org.elasticsearch.search.aggregations.Aggregations,es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram, es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram.Bucket, es.org.elasticsearch.search.aggregations.metrics.Sum>
-
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 classAggregatedUnusedAssetsCountAggregator<es.org.elasticsearch.search.aggregations.Aggregations,es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram, es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram.Bucket, es.org.elasticsearch.search.aggregations.metrics.Sum>
-
getKeyAsString
protected String getKeyAsString(es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram.Bucket bucket) - Specified by:
getKeyAsStringin classAggregatedUnusedAssetsCountAggregator<es.org.elasticsearch.search.aggregations.Aggregations,es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram, es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram.Bucket, es.org.elasticsearch.search.aggregations.metrics.Sum>
-
getAggregations
protected es.org.elasticsearch.search.aggregations.metrics.Sum getAggregations(es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram.Bucket bucket, String key) - Specified by:
getAggregationsin classAggregatedUnusedAssetsCountAggregator<es.org.elasticsearch.search.aggregations.Aggregations,es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram, es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram.Bucket, es.org.elasticsearch.search.aggregations.metrics.Sum>
-
getValue
- Specified by:
getValuein classAggregatedUnusedAssetsCountAggregator<es.org.elasticsearch.search.aggregations.Aggregations,es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram, es.org.elasticsearch.search.aggregations.bucket.histogram.Histogram.Bucket, es.org.elasticsearch.search.aggregations.metrics.Sum>
-