Package org.elasticsearch.cluster.metadata
package org.elasticsearch.cluster.metadata
-
InterfaceDescriptionValidate a new alias.An index abstraction is a reference to one or more concrete indices.
-
ClassDescriptionIndividual operation to perform on the cluster state as part of an
IndicesAliasesRequest
.Operation to add an alias to an index.Operation to remove an alias from an index.Operation to remove an index.Validator for an alias, to be used before adding an alias to the index metadata and make sure the alias is validThis class acts as a functional wrapper around theindex.auto_expand_replicas
setting.Resolves cluster names from an expression.A component template is a re-usableTemplate
as well as metadata about the template.ComponentTemplateMetadata
is a customMetadata
implementation for storing a map of component templates and their names.An index template is comprised of a set of index patterns, an optional template, and a list of ids corresponding to component templates that should be composed in order when creating a new index.TheComposableIndexTemplateMetadata
class is a customMetadata.Custom
implementation that stores a map of ids toComposableIndexTemplate
templates.CustomMetadata
implementation for storing a map ofDataStream
s and their names.This is aMap<String, String>
that implements AbstractDiffable so it can be used for cluster state purposesRepresents differences between two DiffableStringMaps.Represents an alias and groups allIndexMetadata
instances sharing the same alias name together.Represents an concrete index and encapsulates itsIndexMetadata
A collection of tombstones for explicitly marking indices as deleted in the cluster state.A class to build an IndexGraveyard.A class representing a diff of two IndexGraveyard objects.An individual tombstone entry for representing a deleted index.This service is responsible for verifying index metadata when an index is introduced to the cluster, for example when restarting nodes, importing dangling indices, or restoring an index from a snapshot repository.This is a context for the DateMathExpressionResolver which does not requireIndicesOptions
orClusterState
since it uses only the start time to resolve expressions.A class encapsulating the usage of a particular "thing" by something elseThis class represents the manifest file, which is the entry point for reading meta data from disk.Mapping configuration for a type.Service responsible for submitting create index requestsDeletes indices.Service responsible for submitting add and remove aliases requestsService responsible for submitting open/close index requests as well as for adding index blocksService responsible for submitting index templates updatesService responsible for submitting mapping changesService responsible for submitting update index settings requestsContains the data about nodes which are currently configured to shut down, either permanently or temporarily.Handles diffing and appling diffs forNodesShutdownMetadata
as necessary for the cluster state infrastructure.Contains metadata about registered snapshot repositoriesMetadata about registered repositoryContains data about a single node's shutdown readiness.A service responsible for updating the metadata used by system indices.A template consists of optional settings, mappings, or alias configuration for an index, however, it is entirely independent from an index.Upgrades Templates on behalf of installedPlugin
s when a node joins the cluster -
Enum ClassDescriptionAn index abstraction type.Describes the status of a component of shutdown.Describes the type of node shutdown - permanent (REMOVE) or temporary (RESTART).