org.elasticsearch.cluster.metadata
Class IndexTemplateMetaData

java.lang.Object
  extended by org.elasticsearch.cluster.metadata.IndexTemplateMetaData

public class IndexTemplateMetaData
extends Object


Nested Class Summary
static class IndexTemplateMetaData.Builder
           
 
Constructor Summary
IndexTemplateMetaData(String name, int order, String template, Settings settings, com.google.common.collect.ImmutableMap<String,CompressedString> mappings, com.google.common.collect.ImmutableMap<String,IndexMetaData.Custom> customs)
           
 
Method Summary
static IndexTemplateMetaData.Builder builder(String name)
           
<T extends IndexMetaData.Custom>
T
custom(String type)
           
 com.google.common.collect.ImmutableMap<String,IndexMetaData.Custom> customs()
           
 boolean equals(Object o)
           
 com.google.common.collect.ImmutableMap<String,IndexMetaData.Custom> getCustoms()
           
 com.google.common.collect.ImmutableMap<String,CompressedString> getMappings()
           
 String getName()
           
 int getOrder()
           
 Settings getSettings()
           
 String getTemplate()
           
 int hashCode()
           
 com.google.common.collect.ImmutableMap<String,CompressedString> mappings()
           
 String name()
           
 int order()
           
 Settings settings()
           
 String template()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexTemplateMetaData

public IndexTemplateMetaData(String name,
                             int order,
                             String template,
                             Settings settings,
                             com.google.common.collect.ImmutableMap<String,CompressedString> mappings,
                             com.google.common.collect.ImmutableMap<String,IndexMetaData.Custom> customs)
Method Detail

name

public String name()

order

public int order()

getOrder

public int getOrder()

getName

public String getName()

template

public String template()

getTemplate

public String getTemplate()

settings

public Settings settings()

getSettings

public Settings getSettings()

mappings

public com.google.common.collect.ImmutableMap<String,CompressedString> mappings()

getMappings

public com.google.common.collect.ImmutableMap<String,CompressedString> getMappings()

customs

public com.google.common.collect.ImmutableMap<String,IndexMetaData.Custom> customs()

getCustoms

public com.google.common.collect.ImmutableMap<String,IndexMetaData.Custom> getCustoms()

custom

public <T extends IndexMetaData.Custom> T custom(String type)

builder

public static IndexTemplateMetaData.Builder builder(String name)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2009-2012. All Rights Reserved.