public class IndexOperationResponse extends Object implements OperationResponse
| Modifier and Type | Field and Description |
|---|---|
private boolean |
hasErrors |
private List<Map<String,Object>> |
items |
private static com.fasterxml.jackson.databind.ObjectMapper |
OBJECT_MAPPER |
private long |
took |
| Constructor and Description |
|---|
IndexOperationResponse(long took) |
| Modifier and Type | Method and Description |
|---|---|
static IndexOperationResponse |
fromJsonResponse(String response) |
List<Map<String,Object>> |
getItems() |
long |
getTook() |
boolean |
hasErrors() |
String |
toString() |
private final long took
private boolean hasErrors
private static final com.fasterxml.jackson.databind.ObjectMapper OBJECT_MAPPER
public long getTook()
getTook in interface OperationResponsepublic boolean hasErrors()
public static IndexOperationResponse fromJsonResponse(String response) throws IOException
IOExceptionCopyright © 2023 Apache NiFi Project. All rights reserved.