Class ElasticSearchDataInsightProcessor
- java.lang.Object
-
- org.openmetadata.service.search.elasticSearch.ElasticSearchDataInsightProcessor
-
- All Implemented Interfaces:
Processor<org.elasticsearch.action.bulk.BulkRequest,ResultList<ReportData>>,Stats
public class ElasticSearchDataInsightProcessor extends Object implements Processor<org.elasticsearch.action.bulk.BulkRequest,ResultList<ReportData>>
-
-
Constructor Summary
Constructors Constructor Description ElasticSearchDataInsightProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StepStatsgetStats()org.elasticsearch.action.bulk.BulkRequestprocess(ResultList<ReportData> input, Map<String,Object> contextData)voidupdateStats(int currentSuccess, int currentFailed)
-
-
-
Method Detail
-
process
public org.elasticsearch.action.bulk.BulkRequest process(ResultList<ReportData> input, Map<String,Object> contextData) throws ProcessorException
- Specified by:
processin interfaceProcessor<org.elasticsearch.action.bulk.BulkRequest,ResultList<ReportData>>- Throws:
ProcessorException
-
updateStats
public void updateStats(int currentSuccess, int currentFailed)- Specified by:
updateStatsin interfaceStats
-
-