Class MultiGetItem<T>
java.lang.Object
org.springframework.data.elasticsearch.core.MultiGetItem<T>
- Type Parameters:
T
- the entity type
Response object for items returned from multiget requests, encapsulating the returned data and potential error
information.
- Since:
- 4.2
- Author:
- Peter-Josef Meisch
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetItem()
boolean
hasItem()
boolean
isFailed()
static <T> MultiGetItem<T>
of
(T item, MultiGetItem.Failure failure)
-
Method Details
-
of
-
hasItem
public boolean hasItem() -
getItem
-
isFailed
public boolean isFailed() -
getFailure
-