java.lang.Object
org.elasticsearch.action.get.MultiGetItemResponse
- All Implemented Interfaces:
- Writeable
A single multi get response.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.WriteableWriteable.Reader<V>, Writeable.Writer<V>
- 
Constructor SummaryConstructorsConstructorDescriptionMultiGetItemResponse(GetResponse response, MultiGetResponse.Failure failure) 
- 
Method SummaryModifier and TypeMethodDescriptionThe failure if relevant.getId()The id of the document.getIndex()The index name of the document.The actual get response,nullif its a failure.booleanisFailed()Is this a failed execution?voidwriteTo(StreamOutput out) Write this into the StreamOutput.
- 
Constructor Details- 
MultiGetItemResponse
 
- 
- 
Method Details- 
getIndexThe index name of the document.
- 
getIdThe id of the document.
- 
isFailedpublic boolean isFailed()Is this a failed execution?
- 
getResponseThe actual get response,nullif its a failure.
- 
getFailureThe failure if relevant.
- 
writeToDescription copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
- writeToin interface- Writeable
- Throws:
- IOException
 
 
-