public class Elasticsearch2ApiCallBridge extends Object implements ElasticsearchApiCallBridge
ElasticsearchApiCallBridge for Elasticsearch 2.x.| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
void |
configureBulkProcessorBackoff(org.elasticsearch.action.bulk.BulkProcessor.Builder builder,
ElasticsearchSinkBase.BulkFlushBackoffPolicy flushBackoffPolicy) |
org.elasticsearch.client.Client |
createClient(Map<String,String> clientConfig) |
Throwable |
extractFailureCauseFromBulkItemResponse(org.elasticsearch.action.bulk.BulkItemResponse bulkItemResponse) |
public org.elasticsearch.client.Client createClient(Map<String,String> clientConfig)
createClient in interface ElasticsearchApiCallBridgepublic Throwable extractFailureCauseFromBulkItemResponse(org.elasticsearch.action.bulk.BulkItemResponse bulkItemResponse)
extractFailureCauseFromBulkItemResponse in interface ElasticsearchApiCallBridgepublic void configureBulkProcessorBackoff(org.elasticsearch.action.bulk.BulkProcessor.Builder builder,
@Nullable
ElasticsearchSinkBase.BulkFlushBackoffPolicy flushBackoffPolicy)
configureBulkProcessorBackoff in interface ElasticsearchApiCallBridgepublic void cleanup()
cleanup in interface ElasticsearchApiCallBridgeCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.