Class DataInsightAggregatorInterface
- java.lang.Object
-
- org.openmetadata.service.dataInsight.DataInsightAggregatorInterface
-
- Direct Known Subclasses:
EsDailyActiveUsersAggregator,EsEntitiesDescriptionAggregator,EsEntitiesOwnerAggregator,EsMostActiveUsersAggregator,EsMostViewedEntitiesAggregator,EsPageViewsByEntitiesAggregator,EsServicesDescriptionAggregator,EsServicesOwnerAggregator,EsTotalEntitiesAggregator,EsTotalEntitiesByTierAggregator,OsDailyActiveUsersAggregator,OsEntitiesDescriptionAggregator,OsEntitiesOwnerAggregator,OsMostActiveUsersAggregator,OsMostViewedEntitiesAggregator,OsPageViewsByEntitiesAggregator,OsServicesDescriptionAggregator,OsServicesOwnerAggregator,OsTotalEntitiesAggregator,OsTotalEntitiesByTierAggregator
public abstract class DataInsightAggregatorInterface extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected org.elasticsearch.search.aggregations.AggregationsaggregationsEsprotected org.opensearch.search.aggregations.AggregationsaggregationsOsprotected static StringCOMPLETED_DESCRIPTION_FRACTIONprotected DataInsightChartResult.DataInsightChartTypedataInsightChartTypeprotected static StringENTITY_COUNTprotected static StringENTITY_TIERprotected static StringENTITY_TYPEprotected static StringHAS_OWNER_FRACTIONprotected static StringSERVICE_NAMEprotected static StringTIMESTAMP
-
Constructor Summary
Constructors Modifier Constructor Description protectedDataInsightAggregatorInterface(org.elasticsearch.search.aggregations.Aggregations aggregations, DataInsightChartResult.DataInsightChartType dataInsightChartType)protectedDataInsightAggregatorInterface(org.opensearch.search.aggregations.Aggregations aggregations, DataInsightChartResult.DataInsightChartType dataInsightChartType)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract List<Object>aggregate()LongconvertDatTimeStringToTimestamp(String dateTimeString)abstract DataInsightChartResultprocess()
-
-
-
Field Detail
-
ENTITY_TYPE
protected static final String ENTITY_TYPE
- See Also:
- Constant Field Values
-
SERVICE_NAME
protected static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
COMPLETED_DESCRIPTION_FRACTION
protected static final String COMPLETED_DESCRIPTION_FRACTION
- See Also:
- Constant Field Values
-
HAS_OWNER_FRACTION
protected static final String HAS_OWNER_FRACTION
- See Also:
- Constant Field Values
-
ENTITY_COUNT
protected static final String ENTITY_COUNT
- See Also:
- Constant Field Values
-
TIMESTAMP
protected static final String TIMESTAMP
- See Also:
- Constant Field Values
-
ENTITY_TIER
protected static final String ENTITY_TIER
- See Also:
- Constant Field Values
-
aggregationsEs
protected final org.elasticsearch.search.aggregations.Aggregations aggregationsEs
-
aggregationsOs
protected final org.opensearch.search.aggregations.Aggregations aggregationsOs
-
dataInsightChartType
protected final DataInsightChartResult.DataInsightChartType dataInsightChartType
-
-
Constructor Detail
-
DataInsightAggregatorInterface
protected DataInsightAggregatorInterface(org.elasticsearch.search.aggregations.Aggregations aggregations, DataInsightChartResult.DataInsightChartType dataInsightChartType)
-
DataInsightAggregatorInterface
protected DataInsightAggregatorInterface(org.opensearch.search.aggregations.Aggregations aggregations, DataInsightChartResult.DataInsightChartType dataInsightChartType)
-
-
Method Detail
-
process
public abstract DataInsightChartResult process() throws ParseException
- Throws:
ParseException
-
aggregate
public abstract List<Object> aggregate() throws ParseException
- Throws:
ParseException
-
convertDatTimeStringToTimestamp
public Long convertDatTimeStringToTimestamp(String dateTimeString) throws ParseException
- Throws:
ParseException
-
-