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
.org.elasticsearch.action.index.IndexRequest createIndexRequest(String index, String docType, org.elasticsearch.common.xcontent.XContentType contentType, byte[] document)
RequestIndexer
.org.elasticsearch.action.delete.DeleteRequest createDeleteRequest(String index, String docType, String key)
RequestIndexer
.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.