Package org.elasticsearch.action.bulk
Class BulkAction
- java.lang.Object
-
- org.elasticsearch.action.ActionType<Response>
-
- org.elasticsearch.action.StreamableResponseActionType<BulkResponse>
-
- org.elasticsearch.action.bulk.BulkAction
-
public class BulkAction extends StreamableResponseActionType<BulkResponse>
-
-
Field Summary
Fields Modifier and Type Field Description static BulkAction
INSTANCE
static java.lang.String
NAME
-
Method Summary
Modifier and Type Method Description BulkResponse
newResponse()
Creates a new response instance.TransportRequestOptions
transportOptions(Settings settings)
Optional request options for the action.-
Methods inherited from class org.elasticsearch.action.StreamableResponseActionType
getResponseReader
-
Methods inherited from class org.elasticsearch.action.ActionType
equals, hashCode, name
-
-
-
-
Field Detail
-
INSTANCE
public static final BulkAction INSTANCE
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
newResponse
public BulkResponse newResponse()
Description copied from class:StreamableResponseActionType
Creates a new response instance.- Specified by:
newResponse
in classStreamableResponseActionType<BulkResponse>
-
transportOptions
public TransportRequestOptions transportOptions(Settings settings)
Description copied from class:ActionType
Optional request options for the action.- Overrides:
transportOptions
in classActionType<BulkResponse>
-
-