public class IndexAction extends Action<IndexRequest,IndexResponse,IndexRequestBuilder>
| Modifier and Type | Field and Description |
|---|---|
static IndexAction |
INSTANCE |
static 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 String NAME
public IndexResponse newResponse()
GenericActionnewResponse in class GenericAction<IndexRequest,IndexResponse>public IndexRequestBuilder newRequestBuilder(ElasticsearchClient client)
ActionnewRequestBuilder in class Action<IndexRequest,IndexResponse,IndexRequestBuilder>client - An initialized ElasticsearchClientRequestBuilder instanceCopyright © 2009–2017. All rights reserved.