Package org.opensearch.cluster.metadata
package org.opensearch.cluster.metadata
Cluster metadata foundation classes.
-
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.Metadata for index aliasesBuilder of alias metadata.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.Template for data stream.TheComposableIndexTemplateMetadata
class is a customMetadata.Custom
implementation that stores a map of ids toComposableIndexTemplate
templates.Class encapsulating the context metadata associated with an index template/index.Metadata about encryption and decryptionPrimary DataStream classA timestamp field.CustomMetadata
implementation for storing a map ofDataStream
s and their names.Builder of data stream metadata.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.A data stream.Represents an concrete index and encapsulates itsIndexMetadata
An index abstraction type.Utility class to resolve index abstractionsA 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.Index metadata informationBlocks the API.Builder of index metadata.The state of the index.Resolves index name from an expressionContext for the resolver.A date math expression resolver.Metadata for Index TemplatesBuilder of index template metadata.This class represents the manifest file, which is the entry point for reading meta data from disk.Mapping configuration for a type.Metadata informationBuilder of metadata.Custom metadata.Context of the XContent.Creates a data stream of metadataA request to create a data stream cluster state updateService 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 updatesListener for putting metadata in the templateA PUT request.The PUT response.A remove listener.A remove Request.A remove Response.This service is responsible for upgrading legacy index metadata to the current versionService responsible for submitting mapping changesService responsible for submitting update index settings requestsException thrown when there is a timeout processing cluster eventsClass to define the QueryGroup schema { "_id": "fafjafjkaf9ag8a9ga9g7ag0aagaga", "resource_limits": { "memory": 0.4, "cpu": 0.2 }, "resiliency_mode": "enforced", "name": "analytics", "updated_at": 4513232415 }Builder class forQueryGroup
This class holds the QueryGroupMetadata sample schema { "queryGroups": { "_id": {QueryGroup
}, ...Contains metadata about registered snapshot repositoriesMetadata about registered repositoryA 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.Metadata for legacy templatesBuilder for the templates metadataUpgrades Templates on behalf of installedPlugin
s when a node joins the clusterContains metadata for weighted routing