Class PageViewsByEntitiesAggregator<A,B,M,S>
java.lang.Object
org.openmetadata.service.dataInsight.PageViewsByEntitiesAggregator<A,B,M,S>
- All Implemented Interfaces:
DataInsightAggregatorInterface
- Direct Known Subclasses:
ElasticSearchPageViewsByEntitiesAggregator,OpenSearchPageViewsByEntitiesAggregator
public abstract class PageViewsByEntitiesAggregator<A,B,M,S>
extends Object
implements DataInsightAggregatorInterface
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBuckets(M multiBucketsAggregation) protected abstract MgetEntityBuckets(B bucket) protected abstract StringgetKeyAsString(B bucket) protected abstract SgetSumAggregations(B bucket, String key) protected abstract MgetTimestampBuckets(A aggregations) 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
-
Constructor Details
-
PageViewsByEntitiesAggregator
-
-
Method Details
-
aggregate
- Specified by:
aggregatein interfaceDataInsightAggregatorInterface- Throws:
ParseException
-
getValue
-
getSumAggregations
-
getEntityBuckets
-
getKeyAsString
-
getBuckets
-
getTimestampBuckets
-