public class Bulk extends AbstractAction<BulkResult>
"\n" or "\r\n")
as doing so will break up the elasticsearch's bulk api format and bulk operation
will fail.| Modifier and Type | Class and Description |
|---|---|
static class |
Bulk.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Collection<BulkableAction> |
bulkableActions |
| Modifier | Constructor and Description |
|---|---|
protected |
Bulk(Bulk.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildURI() |
protected BulkResult |
createNewElasticSearchResult(BulkResult result,
String responseBody,
int statusCode,
String reasonPhrase,
com.google.gson.Gson gson) |
BulkResult |
createNewElasticSearchResult(String responseBody,
int statusCode,
String reasonPhrase,
com.google.gson.Gson gson) |
String |
getData(com.google.gson.Gson gson) |
String |
getPathToResult() |
String |
getRestMethodName() |
buildQueryString, equals, getHeader, getHeaders, getIdFromSource, getParameter, getURI, hashCode, isHttpSuccessful, parseResponseBody, setURI, toStringprotected Collection<BulkableAction> bulkableActions
protected Bulk(Bulk.Builder builder)
public String getRestMethodName()
getRestMethodName in interface Action<BulkResult>getRestMethodName in class AbstractAction<BulkResult>public String getData(com.google.gson.Gson gson)
getData in interface Action<BulkResult>getData in class AbstractAction<BulkResult>public String getPathToResult()
getPathToResult in interface Action<BulkResult>getPathToResult in class AbstractAction<BulkResult>protected String buildURI()
buildURI in class AbstractAction<BulkResult>public BulkResult createNewElasticSearchResult(String responseBody, int statusCode, String reasonPhrase, com.google.gson.Gson gson)
protected BulkResult createNewElasticSearchResult(BulkResult result, String responseBody, int statusCode, String reasonPhrase, com.google.gson.Gson gson)
createNewElasticSearchResult in class AbstractAction<BulkResult>Copyright © 2017. All rights reserved.