Class IndexTemplateMetadata
java.lang.Object
org.elasticsearch.cluster.AbstractDiffable<IndexTemplateMetadata>
org.elasticsearch.cluster.metadata.IndexTemplateMetadata
- All Implemented Interfaces:
Diffable<IndexTemplateMetadata>
,Writeable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
ConstructorDescriptionIndexTemplateMetadata(String name, int order, Integer version, List<String> patterns, Settings settings, ImmutableOpenMap<String,CompressedXContent> mappings, ImmutableOpenMap<String,AliasMetadata> aliases)
-
Method Summary
Modifier and TypeMethodDescriptionaliases()
boolean
getName()
int
getOrder()
int
hashCode()
mappings()
name()
int
order()
patterns()
static Diff<IndexTemplateMetadata>
static IndexTemplateMetadata
readFrom(StreamInput in)
settings()
version()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class org.elasticsearch.cluster.AbstractDiffable
diff, readDiffFrom
-
Constructor Details
-
IndexTemplateMetadata
public IndexTemplateMetadata(String name, int order, Integer version, List<String> patterns, Settings settings, ImmutableOpenMap<String,CompressedXContent> mappings, ImmutableOpenMap<String,AliasMetadata> aliases)
-
-
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:Writeable
Write this into the StreamOutput.- Throws:
IOException
-