| Package | Description |
|---|---|
| org.apache.flink.streaming.connectors.elasticsearch | |
| org.apache.flink.streaming.connectors.elasticsearch.util |
| Modifier and Type | Method and Description |
|---|---|
default RequestIndexer |
ElasticsearchApiCallBridge.createBulkProcessorIndexer(org.elasticsearch.action.bulk.BulkProcessor bulkProcessor,
boolean flushOnCheckpoint,
AtomicLong numPendingRequestsRef)
Creates a
RequestIndexer that is able to work with BulkProcessor binary compatible. |
| Modifier and Type | Method and Description |
|---|---|
void |
ActionRequestFailureHandler.onFailure(org.elasticsearch.action.ActionRequest action,
Throwable failure,
int restStatusCode,
RequestIndexer indexer)
Handle a failed
ActionRequest. |
void |
ElasticsearchSinkFunction.process(T element,
org.apache.flink.api.common.functions.RuntimeContext ctx,
RequestIndexer indexer)
Process the incoming element to produce multiple
ActionsRequests. |
void |
ElasticsearchUpsertTableSinkBase.ElasticsearchUpsertSinkFunction.process(org.apache.flink.api.java.tuple.Tuple2<Boolean,org.apache.flink.types.Row> element,
org.apache.flink.api.common.functions.RuntimeContext ctx,
RequestIndexer indexer) |
| Modifier and Type | Method and Description |
|---|---|
void |
RetryRejectedExecutionFailureHandler.onFailure(org.elasticsearch.action.ActionRequest action,
Throwable failure,
int restStatusCode,
RequestIndexer indexer) |
void |
NoOpFailureHandler.onFailure(org.elasticsearch.action.ActionRequest action,
Throwable failure,
int restStatusCode,
RequestIndexer indexer) |
void |
IgnoringFailureHandler.onFailure(org.elasticsearch.action.ActionRequest action,
Throwable failure,
int restStatusCode,
RequestIndexer indexer) |
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.