org.elasticsearch.cluster.metadata
Class IndexTemplateMetaData
java.lang.Object
org.elasticsearch.cluster.metadata.IndexTemplateMetaData
public class IndexTemplateMetaData
- extends Object
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)
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.