Module org.elasticsearch.server
Class IndexTemplateMetadata
java.lang.Object
org.elasticsearch.cluster.metadata.IndexTemplateMetadata
- All Implemented Interfaces:
Diffable<IndexTemplateMetadata>,SimpleDiffable<IndexTemplateMetadata>,Writeable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.elasticsearch.cluster.SimpleDiffable
SimpleDiffable.CompleteDiff<T extends Diffable<T>>Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from interface org.elasticsearch.cluster.SimpleDiffable
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionIndexTemplateMetadata(String name, int order, Integer version, List<String> patterns, Settings settings, Map<String, CompressedXContent> mappings, Map<String, AliasMetadata> aliases) -
Method Summary
Modifier and TypeMethodDescriptionaliases()booleangetName()intgetOrder()inthashCode()mappings()name()intorder()patterns()static Diff<IndexTemplateMetadata> static IndexTemplateMetadatareadFrom(StreamInput in) settings()toString()version()voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.cluster.SimpleDiffable
diff
-
Constructor Details
-
IndexTemplateMetadata
-
-
Method Details
-
name
-
order
public int order() -
getOrder
public int getOrder() -
getVersion
-
version
-
getName
-
patterns
-
settings
-
mappings
-
getMappings
-
aliases
-
getAliases
-
builder
-
equals
-
hashCode
public int hashCode() -
readFrom
- Throws:
IOException
-
readDiffFrom
- Throws:
IOException
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toString
-