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_replicassetting.Resolves cluster names from an expression.A component template is a re-usableTemplateas well as metadata about the template.ComponentTemplateMetadatais a customMetadataimplementation 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.TheComposableIndexTemplateMetadataclass is a customMetadata.Customimplementation that stores a map of ids toComposableIndexTemplatetemplates.This is a specialised error to capture that a document does not have a valid timestamp to index a document.Operations on data streams.Represents the last auto sharding event that occured for a data stream.Holds the data stream failure store metadata that enable or disable the failure store of a data stream.Builder that is able to create either a DataStreamFailureStore or its respective Template.This class is only used in template configuration.A utility class that contains the mappings and settings logic for failure store indices that are a part of data streams.Holder for the data stream global settings relating to the data stream failure store.Wrapper class for theDataStreamGlobalRetentionSettings.This class holds the data stream global retention settings.Holds the data stream lifecycle configuration that defines how the data stream indices of a data stream are managed.Builds and composes the data stream lifecycle or the respective template.A round represents the configuration for when and how elasticsearch will downsample a backing index.This enum represents all configuration sources that can influence the retention of a data stream.Represents the template configuration of a lifecycle.CustomMetadataimplementation for storing a map ofDataStreams and their names.Holds data stream dedicated configuration options such as failure store, (in the future lifecycle).Builds and composes the data stream options or the respective template.This class is only used in template configuration.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 allIndexMetadatainstances sharing the same alias name together.Represents an concrete index and encapsulates itsIndexMetadataAn 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.This class main focus is to resolve multi-syntax target expressions to resources or concrete indices.Resolves a date math expression based on the requested time.This represents a resolved expression in the form of the name of a resource in the cluster and a potential selector which defines which part of the resource the expression is targeting.In this class we collect the system access relevant code.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.Metadatais the part of theClusterStatewhich 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 forNodesShutdownMetadataas 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 forReservedStateMetadataThis class holds a value of type @{param T} that can be in one of 3 states: - It has a concrete value, or - It is missing, or - It is meant to reset any other when it is composed with it.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).Metadata for the Streams feature, which allows enabling or disabling logs for data streams.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 installedPlugins when a node joins the cluster