Class BulkRequest

All Implemented Interfaces:
CompositeIndicesRequest, WriteRequest<BulkRequest>, Writeable, TaskAwareRequest

public class BulkRequest
extends ActionRequest
implements CompositeIndicesRequest, WriteRequest<BulkRequest>
A bulk request holds an ordered IndexRequests, DeleteRequests and UpdateRequests and allows to executes it in a single batch. Note that we only support refresh on the bulk request not per item.
See Also:
Client.bulk(BulkRequest)