Module org.elasticsearch.server
Package org.elasticsearch.cluster.metadata
package org.elasticsearch.cluster.metadata
-
ClassDescriptionIndividual operation to perform on the cluster state as part of an
IndicesAliasesRequest
.Operation to add an alias to an index.Validate a new alias.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 consists 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.Operations on data streams.Represents the last auto sharding event that occured for a data stream.A utility class that contains the mappings and settings logic for failure store indices that are a part of data streams.A cluster state entry that contains global retention settings that are configurable by the user.Holds the data stream lifecycle metadata that are configuring how a data stream is managed.This builder helps during the composition of the data stream lifecycle templates.Downsampling holds the configuration about when should elasticsearch downsample a backing index.A round represents the configuration for when and how elasticsearch will downsample a backing index.Retention is the least amount of time that the data will be kept by elasticsearch.This enum represents all configuration sources that can influence the retention of a data stream.CustomMetadata
implementation for storing a map ofDataStream
s and their names.Desired nodes represents the cluster topology that the operator of the cluster is aiming for.This is aMap<String, String>
that implements AbstractDiffable so it can be used for cluster state purposesRepresents differences between two DiffableStringMaps.An index abstraction is a reference to one or more concrete indices.Represents an alias and groups allIndexMetadata
instances sharing the same alias name together.Represents an concrete index and encapsulates itsIndexMetadata
An index abstraction type.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.Used to iterate expression lists and work out which expression item is a wildcard or an exclusion.This is a context for the DateMathExpressionResolver which does not requireIndicesOptions
orClusterState
since it uses only the start time to resolve expressions.Contains inference field data for fields.A class encapsulating the usage of a particular "thing" by something elseContains information about the execution of a lifecycle policy for a single index, and serializes/deserializes this information to and from custom index metadata.This class represents the manifest file, which is the entry point for reading meta data from disk.Mapping configuration for a type.Metadata
is the part of theClusterState
which persists across restarts.Custom metadata that persists (via XContent) across restarts.Service responsible for submitting create index requestsHandles data stream modification requests.Deletes 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 repositoryA metadata class to hold error information about errors encountered while applying a cluster state update for a given namespace.Enum for kinds of errors we might encounter while processing reserved cluster state updates.Metadata class to hold a set of reserved keys in the cluster state, set by eachReservedClusterStateHandler
.Metadata class that contains information about reserved cluster state set through file based settings or by modules/plugins.Builder class forReservedStateMetadata
Contains data about a single node's shutdown readiness.Describes the status of a component of shutdown.Describes the type of node shutdown - permanent (REMOVE) or temporary (RESTART).A service responsible for updating the metadata used by system indices.A template consists of optional settings, mappings, alias or lifecycle configuration for an index or data stream, however, it is entirely independent of an index or data stream.Upgrades Templates on behalf of installedPlugin
s when a node joins the cluster