Class ElasticSearchIndexSink
- java.lang.Object
-
- org.openmetadata.service.search.elasticSearch.ElasticSearchIndexSink
-
-
Constructor Summary
Constructors Constructor Description ElasticSearchIndexSink(SearchClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StepStatsgetStats()voidupdateStats(int currentSuccess, int currentFailed)org.elasticsearch.action.bulk.BulkResponsewrite(org.elasticsearch.action.bulk.BulkRequest data, Map<String,Object> contextData)
-
-
-
Constructor Detail
-
ElasticSearchIndexSink
public ElasticSearchIndexSink(SearchClient client)
-
-
Method Detail
-
write
public org.elasticsearch.action.bulk.BulkResponse write(org.elasticsearch.action.bulk.BulkRequest data, Map<String,Object> contextData) throws SinkException- Specified by:
writein interfaceSink<org.elasticsearch.action.bulk.BulkRequest,org.elasticsearch.action.bulk.BulkResponse>- Throws:
SinkException
-
updateStats
public void updateStats(int currentSuccess, int currentFailed)- Specified by:
updateStatsin interfaceStats
-
-