org.apache.storm.elasticsearch.doc

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

    Constructors
    Constructor and Description
    `Index()`
    `Index(String index, String type, String id)` Create a Index with the specified index, type and id.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getId()`
    `String` | `getIndex()`
    `String` | `getType()`
    `void` | `setId(String id)`
    `void` | `setIndex(String index)`
    `void` | `setType(String type)`

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

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

- - ### Constructor Detail

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

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

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