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 SummaryNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.WriteableWriteable.Reader<V>, Writeable.Writer<V>
- 
Field SummaryFields inherited from interface org.apache.lucene.util.AccountableNULL_ACCOUNTABLE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.lucene.util.AccountablegetChildResources
- 
Constructor Details- 
BulkItemRequest
 
- 
- 
Method Details- 
idpublic int id()
- 
request
- 
index
- 
abortAbort this request, and store aBulkItemResponse.Failureresponse.- Parameters:
- index- The concrete index that was resolved for this request
- cause- The cause of the rejection (may not be null)
- Throws:
- IllegalStateException- If a response already exists for this request
 
- 
writeToDescription copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
- writeToin interface- Writeable
- Throws:
- IOException
 
- 
writeThin- Throws:
- IOException
 
- 
ramBytesUsedpublic long ramBytesUsed()- Specified by:
- ramBytesUsedin interface- org.apache.lucene.util.Accountable
 
 
-