org.apache.storm.elasticsearch.doc

## Class Shards

- java.lang.Object
- - org.apache.storm.elasticsearch.doc.Shards

-     public class Shards
      extends Object

  Elasticsearch document fragment containing shard success information, used in percolate and bulk index responses.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Shards()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getFailed()`
    `List<Object>` | `getFailures()`
    `int` | `getSuccessful()`
    `int` | `getTotal()`
    `void` | `setFailed(int failed)`
    `void` | `setFailures(List<Object> failures)`
    `void` | `setSuccessful(int successful)`
    `void` | `setTotal(int total)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Shards

          public Shards()

  - ### Method Detail

    - #### 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

          public List<Object> getFailures()

    - #### setFailures

          public void setFailures(List<Object> failures)

Copyright © 2021 The Apache Software Foundation. All rights reserved.