Class OpenSearchEntityTimeSeriesProcessor
java.lang.Object
org.openmetadata.service.search.opensearch.OpenSearchEntityTimeSeriesProcessor
- All Implemented Interfaces:
Processor<os.org.opensearch.action.bulk.BulkRequest,,ResultList<? extends EntityTimeSeriesInterface>> Stats
public class OpenSearchEntityTimeSeriesProcessor
extends Object
implements Processor<os.org.opensearch.action.bulk.BulkRequest,ResultList<? extends EntityTimeSeriesInterface>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetStats()os.org.opensearch.action.bulk.BulkRequestprocess(ResultList<? extends EntityTimeSeriesInterface> input, Map<String, Object> contextData) voidupdateStats(int currentSuccess, int currentFailed)
-
Constructor Details
-
OpenSearchEntityTimeSeriesProcessor
public OpenSearchEntityTimeSeriesProcessor(int total)
-
-
Method Details
-
process
public os.org.opensearch.action.bulk.BulkRequest process(ResultList<? extends EntityTimeSeriesInterface> input, Map<String, Object> contextData) throws SearchIndexException- Specified by:
processin interfaceProcessor<os.org.opensearch.action.bulk.BulkRequest,ResultList<? extends EntityTimeSeriesInterface>> - Throws:
SearchIndexException
-
updateStats
public void updateStats(int currentSuccess, int currentFailed) - Specified by:
updateStatsin interfaceStats
-
getStats
-