public class JMElasticsearchIndex extends Object
| Constructor | Description |
|---|---|
JMElasticsearchIndex(org.elasticsearch.client.Client elasticsearchClient) |
Instantiates a new Jm elasticsearch index.
|
| Modifier and Type | Method | Description |
|---|---|---|
org.elasticsearch.action.index.IndexResponse |
indexQuery(org.elasticsearch.action.index.IndexRequestBuilder indexRequestBuilder) |
Index query index response.
|
org.elasticsearch.action.ActionFuture<org.elasticsearch.action.index.IndexResponse> |
indexQueryAsync(org.elasticsearch.action.index.IndexRequestBuilder indexRequestBuilder) |
Index query async action future.
|
String |
sendData(String jsonSource,
String index,
String type) |
Send data string.
|
org.elasticsearch.action.index.IndexResponse |
sendData(String jsonSource,
String index,
String type,
String id) |
Send data index response.
|
String |
sendData(Map<String,?> source,
String index,
String type) |
Send data string.
|
org.elasticsearch.action.index.IndexResponse |
sendData(Map<String,?> source,
String index,
String type,
String id) |
Send data index response.
|
org.elasticsearch.action.ActionFuture<org.elasticsearch.action.index.IndexResponse> |
sendDataAsync(String jsonSource,
String index,
String type) |
Send data async action future.
|
org.elasticsearch.action.ActionFuture<org.elasticsearch.action.index.IndexResponse> |
sendDataAsync(String jsonSource,
String index,
String type,
String id) |
Send data async action future.
|
org.elasticsearch.action.ActionFuture<org.elasticsearch.action.index.IndexResponse> |
sendDataAsync(Map<String,?> source,
String index,
String type) |
Send data async action future.
|
org.elasticsearch.action.ActionFuture<org.elasticsearch.action.index.IndexResponse> |
sendDataAsync(Map<String,?> source,
String index,
String type,
String id) |
Send data async action future.
|
org.elasticsearch.action.ActionFuture<org.elasticsearch.action.index.IndexResponse> |
sendDataAsyncWithObjectMapper(Object sourceObject,
String index,
String type) |
Send data async with object mapper action future.
|
org.elasticsearch.action.ActionFuture<org.elasticsearch.action.index.IndexResponse> |
sendDataAsyncWithObjectMapper(Object sourceObject,
String index,
String type,
String id) |
Send data async with object mapper action future.
|
String |
sendDataWithObjectMapper(Object sourceObject,
String index,
String type) |
Send data with object mapper string.
|
org.elasticsearch.action.index.IndexResponse |
sendDataWithObjectMapper(Object sourceObject,
String index,
String type,
String id) |
Send data with object mapper index response.
|
org.elasticsearch.action.update.UpdateResponse |
upsertData(String jsonSource,
String index,
String type,
String id) |
Upsert data update response.
|
org.elasticsearch.action.update.UpdateResponse |
upsertData(Map<String,?> source,
String index,
String type,
String id) |
Upsert data update response.
|
org.elasticsearch.action.ActionFuture<org.elasticsearch.action.update.UpdateResponse> |
upsertDataAsync(String jsonSource,
String index,
String type,
String id) |
Upsert data async action future.
|
org.elasticsearch.action.ActionFuture<org.elasticsearch.action.update.UpdateResponse> |
upsertDataAsync(Map<String,?> source,
String index,
String type,
String id) |
Upsert data async action future.
|
org.elasticsearch.action.ActionFuture<org.elasticsearch.action.update.UpdateResponse> |
upsertDataASyncWithObjectMapper(Object sourceObject,
String index,
String type,
String id) |
Upsert data a sync with object mapper action future.
|
org.elasticsearch.action.update.UpdateResponse |
upsertDataWithObjectMapper(Object sourceObject,
String index,
String type,
String id) |
Upsert data with object mapper update response.
|
org.elasticsearch.action.update.UpdateResponse |
upsertQuery(org.elasticsearch.action.update.UpdateRequestBuilder updateRequestBuilder) |
Upsert query update response.
|
org.elasticsearch.action.ActionFuture<org.elasticsearch.action.update.UpdateResponse> |
upsertQueryAsync(org.elasticsearch.action.update.UpdateRequestBuilder updateRequestBuilder) |
Upsert query async action future.
|
public JMElasticsearchIndex(org.elasticsearch.client.Client elasticsearchClient)
elasticsearchClient - the elasticsearch clientpublic org.elasticsearch.action.index.IndexResponse indexQuery(org.elasticsearch.action.index.IndexRequestBuilder indexRequestBuilder)
indexRequestBuilder - the index request builderpublic org.elasticsearch.action.ActionFuture<org.elasticsearch.action.index.IndexResponse> indexQueryAsync(org.elasticsearch.action.index.IndexRequestBuilder indexRequestBuilder)
indexRequestBuilder - the index request builderpublic org.elasticsearch.action.update.UpdateResponse upsertQuery(org.elasticsearch.action.update.UpdateRequestBuilder updateRequestBuilder)
updateRequestBuilder - the update request builderpublic org.elasticsearch.action.ActionFuture<org.elasticsearch.action.update.UpdateResponse> upsertQueryAsync(org.elasticsearch.action.update.UpdateRequestBuilder updateRequestBuilder)
updateRequestBuilder - the update request builderpublic org.elasticsearch.action.update.UpdateResponse upsertData(Map<String,?> source, String index, String type, String id)
source - the sourceindex - the indextype - the typeid - the idpublic org.elasticsearch.action.ActionFuture<org.elasticsearch.action.update.UpdateResponse> upsertDataAsync(Map<String,?> source, String index, String type, String id)
source - the sourceindex - the indextype - the typeid - the idpublic org.elasticsearch.action.update.UpdateResponse upsertData(String jsonSource, String index, String type, String id)
jsonSource - the json sourceindex - the indextype - the typeid - the idpublic org.elasticsearch.action.ActionFuture<org.elasticsearch.action.update.UpdateResponse> upsertDataAsync(String jsonSource, String index, String type, String id)
jsonSource - the json sourceindex - the indextype - the typeid - the idpublic org.elasticsearch.action.update.UpdateResponse upsertDataWithObjectMapper(Object sourceObject, String index, String type, String id)
sourceObject - the source objectindex - the indextype - the typeid - the idpublic org.elasticsearch.action.ActionFuture<org.elasticsearch.action.update.UpdateResponse> upsertDataASyncWithObjectMapper(Object sourceObject, String index, String type, String id)
sourceObject - the source objectindex - the indextype - the typeid - the idpublic org.elasticsearch.action.index.IndexResponse sendData(Map<String,?> source, String index, String type, String id)
source - the sourceindex - the indextype - the typeid - the idpublic String sendData(Map<String,?> source, String index, String type)
source - the sourceindex - the indextype - the typepublic org.elasticsearch.action.index.IndexResponse sendData(String jsonSource, String index, String type, String id)
jsonSource - the json sourceindex - the indextype - the typeid - the idpublic String sendData(String jsonSource, String index, String type)
jsonSource - the json sourceindex - the indextype - the typepublic org.elasticsearch.action.index.IndexResponse sendDataWithObjectMapper(Object sourceObject, String index, String type, String id)
sourceObject - the source objectindex - the indextype - the typeid - the idpublic String sendDataWithObjectMapper(Object sourceObject, String index, String type)
sourceObject - the source objectindex - the indextype - the typepublic org.elasticsearch.action.ActionFuture<org.elasticsearch.action.index.IndexResponse> sendDataAsync(Map<String,?> source, String index, String type, String id)
source - the sourceindex - the indextype - the typeid - the idpublic org.elasticsearch.action.ActionFuture<org.elasticsearch.action.index.IndexResponse> sendDataAsync(Map<String,?> source, String index, String type)
source - the sourceindex - the indextype - the typepublic org.elasticsearch.action.ActionFuture<org.elasticsearch.action.index.IndexResponse> sendDataAsync(String jsonSource, String index, String type, String id)
jsonSource - the json sourceindex - the indextype - the typeid - the idpublic org.elasticsearch.action.ActionFuture<org.elasticsearch.action.index.IndexResponse> sendDataAsync(String jsonSource, String index, String type)
jsonSource - the json sourceindex - the indextype - the typepublic org.elasticsearch.action.ActionFuture<org.elasticsearch.action.index.IndexResponse> sendDataAsyncWithObjectMapper(Object sourceObject, String index, String type, String id)
sourceObject - the source objectindex - the indextype - the typeid - the idpublic org.elasticsearch.action.ActionFuture<org.elasticsearch.action.index.IndexResponse> sendDataAsyncWithObjectMapper(Object sourceObject, String index, String type)
sourceObject - the source objectindex - the indextype - the typeCopyright © 2018. All rights reserved.