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, transportOptions
public static final IndexAction INSTANCE
public static final java.lang.String NAME
public IndexResponse newResponse()
GenericAction
newResponse
in class GenericAction<IndexRequest,IndexResponse>
public IndexRequestBuilder newRequestBuilder(ElasticsearchClient client)
Action
newRequestBuilder
in class Action<IndexRequest,IndexResponse,IndexRequestBuilder>