public class BulkAction extends Action<BulkRequest,BulkResponse,BulkRequestBuilder>
Modifier and Type | Field and Description |
---|---|
static BulkAction |
INSTANCE |
static java.lang.String |
NAME |
Modifier and Type | Method and Description |
---|---|
BulkRequestBuilder |
newRequestBuilder(ElasticsearchClient client)
Creates a new request builder given the client provided as argument
|
BulkResponse |
newResponse()
Creates a new response instance.
|
TransportRequestOptions |
transportOptions(Settings settings)
Optional request options for the action.
|
equals, hashCode, name
public static final BulkAction INSTANCE
public static final java.lang.String NAME
public BulkResponse newResponse()
GenericAction
newResponse
in class GenericAction<BulkRequest,BulkResponse>
public BulkRequestBuilder newRequestBuilder(ElasticsearchClient client)
Action
newRequestBuilder
in class Action<BulkRequest,BulkResponse,BulkRequestBuilder>
public TransportRequestOptions transportOptions(Settings settings)
GenericAction
transportOptions
in class GenericAction<BulkRequest,BulkResponse>