public class IndexAction extends Action<IndexRequest,IndexResponse,IndexRequestBuilder>
| Modifier and Type | Field and Description |
|---|---|
static IndexAction |
INSTANCE |
static java.lang.String |
NAME |
| Modifier and Type | Method and Description |
|---|---|
IndexRequestBuilder |
newRequestBuilder(ElasticsearchClient client)
Creates a new request builder given the client provided as argument
|
IndexResponse |
newResponse()
Creates a new response instance.
|
equals, hashCode, name, transportOptionspublic static final IndexAction INSTANCE
public static final java.lang.String NAME
public IndexResponse newResponse()
GenericActionnewResponse in class GenericAction<IndexRequest,IndexResponse>public IndexRequestBuilder newRequestBuilder(ElasticsearchClient client)
ActionnewRequestBuilder in class Action<IndexRequest,IndexResponse,IndexRequestBuilder>