public static interface ElasticsearchUpsertTableSinkBase.RequestFactory extends Serializable
ActionRequest
s.Modifier and Type | Method and Description |
---|---|
org.elasticsearch.action.delete.DeleteRequest |
createDeleteRequest(String index,
String docType,
String key)
Creates a delete request to be added to a
RequestIndexer . |
org.elasticsearch.action.index.IndexRequest |
createIndexRequest(String index,
String docType,
org.elasticsearch.common.xcontent.XContentType contentType,
byte[] document)
Creates an index request to be added to a
RequestIndexer . |
org.elasticsearch.action.update.UpdateRequest |
createUpdateRequest(String index,
String docType,
String key,
org.elasticsearch.common.xcontent.XContentType contentType,
byte[] document)
Creates an update request to be added to a
RequestIndexer . |
org.elasticsearch.action.update.UpdateRequest createUpdateRequest(String index, String docType, String key, org.elasticsearch.common.xcontent.XContentType contentType, byte[] document)
RequestIndexer
. Note: the type field
has been deprecated since Elasticsearch 7.x and it would not take any effort.org.elasticsearch.action.index.IndexRequest createIndexRequest(String index, String docType, org.elasticsearch.common.xcontent.XContentType contentType, byte[] document)
RequestIndexer
. Note: the type field
has been deprecated since Elasticsearch 7.x and it would not take any effort.org.elasticsearch.action.delete.DeleteRequest createDeleteRequest(String index, String docType, String key)
RequestIndexer
. Note: the type field
has been deprecated since Elasticsearch 7.x and it would not take any effort.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.