org.hibernate.search.elasticsearch.schema.impl.model

## Class IndexMetadata

- java.lang.Object
- - org.hibernate.search.elasticsearch.schema.impl.model.IndexMetadata

-     public class IndexMetadata
      extends Object

  An object representing an Elasticsearch index.
  Author:
    Yoann Rodiere

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `IndexMetadata()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,TypeMapping>` | `getMappings()`
    `URLEncodedString` | `getName()`
    `IndexSettings` | `getSettings()`
    `void` | `putMapping(String name, TypeMapping mapping)`
    `void` | `removeMapping(String name)`
    `void` | `setMappings(Map<String,TypeMapping> mappings)`
    `void` | `setName(URLEncodedString name)`
    `void` | `setSettings(IndexSettings settings)`
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### IndexMetadata

          public IndexMetadata()

  - ### Method Detail

    - #### getName

          public URLEncodedString getName()

    - #### setName

          public void setName(URLEncodedString name)

    - #### getMappings

          public Map<String,TypeMapping> getMappings()

    - #### setMappings

          public void setMappings(Map<String,TypeMapping> mappings)

    - #### putMapping

          public void putMapping(String name,
                                 TypeMapping mapping)

    - #### removeMapping

          public void removeMapping(String name)

    - #### getSettings

          public IndexSettings getSettings()

    - #### setSettings

          public void setSettings(IndexSettings settings)

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved