Class DefaultBulkResult<T>
- java.lang.Object
-
- org.opennms.features.jest.client.bulk.DefaultBulkResult<T>
-
- All Implemented Interfaces:
BulkResultWrapper
public class DefaultBulkResult<T> extends Object implements BulkResultWrapper
-
-
Constructor Summary
Constructors Constructor Description DefaultBulkResult(io.searchbox.core.BulkResult raw, List<T> documents)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getErrorMessage()
List<T>
getFailedDocuments()
List<FailedItem<T>>
getFailedItems()
io.searchbox.core.BulkResult
getRawResult()
boolean
isSucceeded()
-
-
-
Method Detail
-
isSucceeded
public boolean isSucceeded()
- Specified by:
isSucceeded
in interfaceBulkResultWrapper<T>
-
getErrorMessage
public String getErrorMessage()
- Specified by:
getErrorMessage
in interfaceBulkResultWrapper<T>
-
getFailedItems
public List<FailedItem<T>> getFailedItems()
- Specified by:
getFailedItems
in interfaceBulkResultWrapper<T>
-
getRawResult
public io.searchbox.core.BulkResult getRawResult()
- Specified by:
getRawResult
in interfaceBulkResultWrapper<T>
-
getFailedDocuments
public List<T> getFailedDocuments()
- Specified by:
getFailedDocuments
in interfaceBulkResultWrapper<T>
-
-