Class Shards
java.lang.Object
org.apache.storm.elasticsearch.doc.Shards
Elasticsearch document fragment containing shard success information,
used in percolate and bulk index responses.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
getTotal()
void
setFailed
(int failed) void
setFailures
(List<Object> failures) void
setSuccessful
(int successful) void
setTotal
(int total)
-
Constructor Details
-
Shards
public Shards()
-
-
Method Details
-
getTotal
public int getTotal() -
setTotal
public void setTotal(int total) -
getSuccessful
public int getSuccessful() -
setSuccessful
public void setSuccessful(int successful) -
getFailed
public int getFailed() -
setFailed
public void setFailed(int failed) -
getFailures
-
setFailures
-