Class IndexItem

java.lang.Object
org.apache.storm.elasticsearch.doc.Index
org.apache.storm.elasticsearch.doc.IndexItem

public class IndexItem extends Index
Elasticsearch document fragment containing extended index information, used in bulk index responses.
  • Constructor Details

    • IndexItem

      public IndexItem()
  • Method Details

    • getVersion

      public long getVersion()
    • setVersion

      public void setVersion(long version)
    • getResult

      public String getResult()
    • setResult

      public void setResult(String result)
    • isCreated

      public boolean isCreated()
    • setCreated

      public void setCreated(boolean created)
    • getStatus

      public int getStatus()
    • setStatus

      public void setStatus(int status)
    • getError

      public String getError()
    • setError

      public void setError(com.fasterxml.jackson.databind.JsonNode error)
    • getShards

      public Shards getShards()
    • setShards

      public void setShards(Shards shards)