Class MostViewedEntitiesAggregator<A,B,M,S>
java.lang.Object
org.openmetadata.service.dataInsight.MostViewedEntitiesAggregator<A,B,M,S>
- All Implemented Interfaces:
DataInsightAggregatorInterface
- Direct Known Subclasses:
ElasticSearchMostViewedEntitiesAggregator,OpenSearchMostViewedEntitiesAggregator
public abstract class MostViewedEntitiesAggregator<A,B,M,S>
extends Object
implements DataInsightAggregatorInterface
-
Field Summary
FieldsFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract SgetAggregations(B bucket, String key) protected abstract MgetBucketAggregation(B bucket, String key) getBuckets(M bucket) protected abstract MgetEntityFqnBuckets(A aggregations) protected StringgetFirstValueFromBucketOrNull(M bucket) protected abstract StringgetKeyAsString(B bucket) protected abstract DoubleMethods 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
-
Field Details
-
aggregations
-
-
Constructor Details
-
MostViewedEntitiesAggregator
-
-
Method Details
-
aggregate
- Specified by:
aggregatein interfaceDataInsightAggregatorInterface
-
getValue
-
getBucketAggregation
-
getAggregations
-
getKeyAsString
-
getBuckets
-
getEntityFqnBuckets
-
getFirstValueFromBucketOrNull
-