public class BulkItemRequest extends java.lang.Object implements Streamable
Constructor and Description |
---|
BulkItemRequest(int id,
ActionRequest request) |
Modifier and Type | Method and Description |
---|---|
int |
id() |
java.lang.String |
index() |
static BulkItemRequest |
readBulkItem(StreamInput in) |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
ActionRequest |
request() |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
public BulkItemRequest(int id, ActionRequest request)
public int id()
public ActionRequest request()
public java.lang.String index()
public static BulkItemRequest readBulkItem(StreamInput in) throws java.io.IOException
java.io.IOException
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
java.io.IOException