Class OpenSearchTotalEntitiesByTierAggregator
java.lang.Object
org.openmetadata.service.dataInsight.TotalEntitiesByTierAggregator<os.org.opensearch.search.aggregations.Aggregations,os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket,os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation,os.org.opensearch.search.aggregations.metrics.Sum>
org.openmetadata.service.search.opensearch.dataInsightAggregator.OpenSearchTotalEntitiesByTierAggregator
- All Implemented Interfaces:
DataInsightAggregatorInterface
public class OpenSearchTotalEntitiesByTierAggregator
extends TotalEntitiesByTierAggregator<os.org.opensearch.search.aggregations.Aggregations,os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket,os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation,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
ConstructorsConstructorDescriptionOpenSearchTotalEntitiesByTierAggregator(os.org.opensearch.search.aggregations.Aggregations aggregations) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<? extends os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket>getBuckets(os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation buckets) protected os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregationgetEntityTierBuckets(os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket bucket) protected StringgetKeyAsString(os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket bucket) protected os.org.opensearch.search.aggregations.metrics.SumgetSumAggregations(os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket bucket, String key) protected os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregationgetTimestampBuckets(os.org.opensearch.search.aggregations.Aggregations aggregations) protected DoublegetValue(os.org.opensearch.search.aggregations.metrics.Sum key) Methods inherited from class org.openmetadata.service.dataInsight.TotalEntitiesByTierAggregator
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
-
OpenSearchTotalEntitiesByTierAggregator
public OpenSearchTotalEntitiesByTierAggregator(os.org.opensearch.search.aggregations.Aggregations aggregations)
-
-
Method Details
-
getValue
- Specified by:
getValuein classTotalEntitiesByTierAggregator<os.org.opensearch.search.aggregations.Aggregations,os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket, os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation, os.org.opensearch.search.aggregations.metrics.Sum>
-
getSumAggregations
protected os.org.opensearch.search.aggregations.metrics.Sum getSumAggregations(os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket bucket, String key) - Specified by:
getSumAggregationsin classTotalEntitiesByTierAggregator<os.org.opensearch.search.aggregations.Aggregations,os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket, os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation, os.org.opensearch.search.aggregations.metrics.Sum>
-
getEntityTierBuckets
protected os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation getEntityTierBuckets(os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket bucket) - Specified by:
getEntityTierBucketsin classTotalEntitiesByTierAggregator<os.org.opensearch.search.aggregations.Aggregations,os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket, os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation, os.org.opensearch.search.aggregations.metrics.Sum>
-
getKeyAsString
protected String getKeyAsString(os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket bucket) - Specified by:
getKeyAsStringin classTotalEntitiesByTierAggregator<os.org.opensearch.search.aggregations.Aggregations,os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket, os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation, os.org.opensearch.search.aggregations.metrics.Sum>
-
getBuckets
protected List<? extends os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket> getBuckets(os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation buckets) - Specified by:
getBucketsin classTotalEntitiesByTierAggregator<os.org.opensearch.search.aggregations.Aggregations,os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket, os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation, os.org.opensearch.search.aggregations.metrics.Sum>
-
getTimestampBuckets
protected os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation getTimestampBuckets(os.org.opensearch.search.aggregations.Aggregations aggregations) - Specified by:
getTimestampBucketsin classTotalEntitiesByTierAggregator<os.org.opensearch.search.aggregations.Aggregations,os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket, os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation, os.org.opensearch.search.aggregations.metrics.Sum>
-