public class BulkIndexResponse extends Object
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()
public String getFirstResult()
Copyright © 2023 The Apache Software Foundation. All rights reserved.