org.elasticsearch.action.bulk
Class BulkItemRequest

java.lang.Object
  extended by org.elasticsearch.action.bulk.BulkItemRequest
All Implemented Interfaces:
Streamable

public class BulkItemRequest
extends Object
implements Streamable


Constructor Summary
BulkItemRequest(int id, ActionRequest request)
           
 
Method Summary
 int id()
           
static BulkItemRequest readBulkItem(StreamInput in)
           
 void readFrom(StreamInput in)
           
 ActionRequest request()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BulkItemRequest

public BulkItemRequest(int id,
                       ActionRequest request)
Method Detail

id

public int id()

request

public ActionRequest request()

readBulkItem

public static BulkItemRequest readBulkItem(StreamInput in)
                                    throws IOException
Throws:
IOException

readFrom

public void readFrom(StreamInput in)
              throws IOException
Specified by:
readFrom in interface Streamable
Throws:
IOException

writeTo

public void writeTo(StreamOutput out)
             throws IOException
Specified by:
writeTo in interface Streamable
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.