public class BulkIndexResponse extends Object
Mapped response for bulk index.
Constructor and Description |
---|
BulkIndexResponse() |
Modifier and Type | Method and Description |
---|---|
Integer |
getFirstError()
Retrieve first error’s code from response.
|
String |
getFirstResult()
Retrieve first result from response.
|
List<IndexItemDoc> |
getItems() |
long |
getTook() |
boolean |
hasErrors() |
void |
setErrors(boolean errors) |
void |
setItems(List<IndexItemDoc> items) |
void |
setTook(long took) |
public boolean hasErrors()
public void setErrors(boolean errors)
public long getTook()
public void setTook(long took)
public List<IndexItemDoc> getItems()
public void setItems(List<IndexItemDoc> items)
public Integer getFirstError()
Retrieve first error’s code from response.
public String getFirstResult()
Retrieve first result from response.
Copyright © 2022 The Apache Software Foundation. All rights reserved.