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>
  • Constructor Details

    • OpenSearchTotalEntitiesByTierAggregator

      public OpenSearchTotalEntitiesByTierAggregator(os.org.opensearch.search.aggregations.Aggregations aggregations)
  • Method Details

    • getValue

      protected Double getValue(os.org.opensearch.search.aggregations.metrics.Sum key)
      Specified by:
      getValue in class 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>
    • getSumAggregations

      protected os.org.opensearch.search.aggregations.metrics.Sum getSumAggregations(os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket bucket, String key)
      Specified by:
      getSumAggregations in class 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>
    • getEntityTierBuckets

      protected os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation getEntityTierBuckets(os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket bucket)
      Specified by:
      getEntityTierBuckets in class 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>
    • getKeyAsString

      protected String getKeyAsString(os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket bucket)
      Specified by:
      getKeyAsString in class 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>
    • getBuckets

      protected List<? extends os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket> getBuckets(os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation buckets)
      Specified by:
      getBuckets in class 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>
    • getTimestampBuckets

      protected os.org.opensearch.search.aggregations.bucket.MultiBucketsAggregation getTimestampBuckets(os.org.opensearch.search.aggregations.Aggregations aggregations)
      Specified by:
      getTimestampBuckets in class 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>