Package org.elasticsearch.action.bulk
Class BulkAction
- java.lang.Object
-
- org.elasticsearch.action.Action<BulkResponse>
-
- org.elasticsearch.action.bulk.BulkAction
-
public class BulkAction extends Action<BulkResponse>
-
-
Field Summary
Fields Modifier and Type Field Description static BulkActionINSTANCEstatic java.lang.StringNAME
-
Method Summary
Modifier and Type Method Description BulkResponsenewResponse()Creates a new response instance.TransportRequestOptionstransportOptions(Settings settings)Optional request options for the action.-
Methods inherited from class org.elasticsearch.action.Action
equals, getResponseReader, 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:ActionCreates a new response instance.- Specified by:
newResponsein classAction<BulkResponse>
-
transportOptions
public TransportRequestOptions transportOptions(Settings settings)
Description copied from class:ActionOptional request options for the action.- Overrides:
transportOptionsin classAction<BulkResponse>
-
-