Package org.elasticsearch.action.bulk
Class BulkItemRequest
java.lang.Object
org.elasticsearch.action.bulk.BulkItemRequest
- All Implemented Interfaces:
 org.apache.lucene.util.Accountable,Writeable
- 
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> - 
Field Summary
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidAbort this request, and store aBulkItemResponse.Failureresponse.intid()index()longrequest()voidwriteThin(StreamOutput out)voidwriteTo(StreamOutput out)Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.lucene.util.Accountable
getChildResources 
- 
Constructor Details
- 
BulkItemRequest
 
 - 
 - 
Method Details
- 
id
public int id() - 
request
 - 
index
 - 
abort
Abort this request, and store aBulkItemResponse.Failureresponse.- Parameters:
 index- The concrete index that was resolved for this requestcause- The cause of the rejection (may not be null)- Throws:
 IllegalStateException- If a response already exists for this request
 - 
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
 writeToin interfaceWriteable- Throws:
 IOException
 - 
writeThin
- Throws:
 IOException
 - 
ramBytesUsed
public long ramBytesUsed()- Specified by:
 ramBytesUsedin interfaceorg.apache.lucene.util.Accountable
 
 -