public interface MultiGetItemResponseWrapper
MultiGetItemResponse, allows to get returned hit as an object
(similar to SearchHitWrapper)| Modifier and Type | Interface and Description |
|---|---|
static interface |
MultiGetItemResponseWrapper.MultiGetItemReader |
| Modifier and Type | Method and Description |
|---|---|
org.elasticsearch.action.get.MultiGetItemResponse |
getMultiGetItemResponse() |
Object |
getObject() |
<T> T |
getObject(Class<T> type) |
org.elasticsearch.action.get.MultiGetItemResponse getMultiGetItemResponse()
@CheckForNull Object getObject()
null if id not found or
TypeMapping.read(GetResponse) returns null@CheckForNull <T> T getObject(Class<T> type)
ClassCastException - if returned object is not of given typeCopyright © 2013 Molindo GmbH. All Rights Reserved.