Class Index

java.lang.Object
org.apache.storm.elasticsearch.doc.Index
Direct Known Subclasses:
IndexItem, LookupResponse

public class Index extends Object
Elasticsearch document fragment with "_index", "_type" and "_id" fields.
  • Constructor Details

    • Index

      public Index()
    • Index

      public Index(String index, String type, String id)
      Create a Index with the specified index, type and id.
      Parameters:
      index - index name
      type - document type to be stored
      id - unique document id in Elasticsearch
  • Method Details

    • getIndex

      public String getIndex()
    • setIndex

      public void setIndex(String index)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getId

      public String getId()
    • setId

      public void setId(String id)