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