Class ServicesDescriptionAggregator<A,B,M,S>
java.lang.Object
org.openmetadata.service.dataInsight.ServicesDescriptionAggregator<A,B,M,S>
- All Implemented Interfaces:
DataInsightAggregatorInterface
- Direct Known Subclasses:
ElasticSearchServicesDescriptionAggregator,OpenSearchServicesDescriptionAggregator
public abstract class ServicesDescriptionAggregator<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 buckets) protected abstract StringgetKeyAsString(B bucket) protected abstract MgetServiceBuckets(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
-
ServicesDescriptionAggregator
-
-
Method Details
-
aggregate
- Specified by:
aggregatein interfaceDataInsightAggregatorInterface- Throws:
ParseException
-
getValue
-
getSumAggregations
-
getServiceBuckets
-
getKeyAsString
-
getBuckets
-
getTimestampBuckets
-