Uses of Class
org.elasticsearch.cluster.metadata.MetaData
-
-
Uses of MetaData in org.elasticsearch.action.index
Methods in org.elasticsearch.action.index with parameters of type MetaData Modifier and Type Method Description voidIndexRequest. resolveRouting(MetaData metaData) -
Uses of MetaData in org.elasticsearch.action.update
Methods in org.elasticsearch.action.update with parameters of type MetaData Modifier and Type Method Description static voidTransportUpdateAction. resolveAndValidateRouting(MetaData metaData, String concreteIndex, UpdateRequest request) -
Uses of MetaData in org.elasticsearch.bootstrap
Methods in org.elasticsearch.bootstrap that return MetaData Modifier and Type Method Description MetaDataBootstrapContext. metaData()Constructors in org.elasticsearch.bootstrap with parameters of type MetaData Constructor Description BootstrapContext(Environment environment, MetaData metaData) -
Uses of MetaData in org.elasticsearch.cluster
Methods in org.elasticsearch.cluster that return MetaData Modifier and Type Method Description MetaDataClusterState. getMetaData()MetaDataClusterState. metaData()Methods in org.elasticsearch.cluster with parameters of type MetaData Modifier and Type Method Description ClusterState.BuilderClusterState.Builder. metaData(MetaData metaData)Constructors in org.elasticsearch.cluster with parameters of type MetaData Constructor Description ClusterState(ClusterName clusterName, long version, String stateUUID, MetaData metaData, RoutingTable routingTable, DiscoveryNodes nodes, ClusterBlocks blocks, ImmutableOpenMap<String,ClusterState.Custom> customs, int minimumMasterNodesOnPublishingMaster, boolean wasReadFromDiff) -
Uses of MetaData in org.elasticsearch.cluster.coordination
Methods in org.elasticsearch.cluster.coordination with parameters of type MetaData Modifier and Type Method Description static voidJoinTaskExecutor. ensureIndexCompatibility(Version nodeVersion, MetaData metaData)Ensures that all indices are compatible with the given node version. -
Uses of MetaData in org.elasticsearch.cluster.metadata
Fields in org.elasticsearch.cluster.metadata declared as MetaData Modifier and Type Field Description static MetaDataMetaData. EMPTY_META_DATAFields in org.elasticsearch.cluster.metadata with type parameters of type MetaData Modifier and Type Field Description static MetaDataStateFormat<MetaData>MetaData. FORMATState format forMetaDatato write to and load from diskstatic MetaDataStateFormat<MetaData>MetaData. FORMAT_PRESERVE_CUSTOMSSpecial state format forMetaDatato write to and load from disk, preserving unknown customsMethods in org.elasticsearch.cluster.metadata that return MetaData Modifier and Type Method Description MetaDataMetaData.Builder. build()static MetaDataMetaData.Builder. fromXContent(XContentParser parser, boolean preserveUnknownCustoms)static MetaDataMetaData. fromXContent(XContentParser parser)static MetaDataMetaData. readFrom(StreamInput in)Methods in org.elasticsearch.cluster.metadata that return types with arguments of type MetaData Modifier and Type Method Description Diff<MetaData>MetaData. diff(MetaData previousState)static Diff<MetaData>MetaData. readDiffFrom(StreamInput in)Methods in org.elasticsearch.cluster.metadata with parameters of type MetaData Modifier and Type Method Description static MetaData.BuilderMetaData. builder(MetaData metaData)Diff<MetaData>MetaData. diff(MetaData previousState)booleanMetaData. equalsAliases(MetaData other)static List<IndexTemplateMetaData>MetaDataIndexTemplateService. findTemplates(MetaData metaData, String indexName)Finds index templates whose index pattern matched with the given index name.static Map<Integer,List<String>>AutoExpandReplicas. getAutoExpandReplicaChanges(MetaData metaData, DiscoveryNodes discoveryNodes)Checks if the are replicas with the auto-expand feature that need to be adapted.static booleanMetaData. isGlobalStateEquals(MetaData metaData1, MetaData metaData2)Map<String,Set<String>>IndexNameExpressionResolver. resolveSearchRoutingAllIndices(MetaData metaData, String routing)Sets the same routing for all indicesstatic StringMetaData.Builder. toXContent(MetaData metaData)static voidMetaData.Builder. toXContent(MetaData metaData, XContentBuilder builder, ToXContent.Params params)voidAliasValidator. validateAlias(Alias alias, String index, MetaData metaData)Allows to validate anAliasand make sure it's valid before it gets added to the index metadata.voidAliasValidator. validateAliasMetaData(AliasMetaData aliasMetaData, String index, MetaData metaData)Allows to validate anAliasMetaDataand make sure it's valid before it gets added to the index metadata.Constructors in org.elasticsearch.cluster.metadata with parameters of type MetaData Constructor Description Builder(MetaData metaData) -
Uses of MetaData in org.elasticsearch.cluster.routing
Methods in org.elasticsearch.cluster.routing with parameters of type MetaData Modifier and Type Method Description booleanRoutingNodes. allReplicasActive(ShardId shardId, MetaData metaData)Returnstrueiff all replicas are active for the given shard routing.booleanRoutingTable. validate(MetaData metaData) -
Uses of MetaData in org.elasticsearch.cluster.routing.allocation
Methods in org.elasticsearch.cluster.routing.allocation that return MetaData Modifier and Type Method Description MetaDataIndexMetaDataUpdater. applyChanges(MetaData oldMetaData, RoutingTable newRoutingTable)Updates the currentMetaDatabased on the changes of this RoutingChangesObserver.MetaDataRoutingAllocation. metaData()Get metadata of routing nodesMetaDataRoutingAllocation. updateMetaDataWithRoutingChanges(RoutingTable newRoutingTable)Returns updatedMetaDatabased on the changes that were made to the routing nodesMethods in org.elasticsearch.cluster.routing.allocation with parameters of type MetaData Modifier and Type Method Description MetaDataIndexMetaDataUpdater. applyChanges(MetaData oldMetaData, RoutingTable newRoutingTable)Updates the currentMetaDatabased on the changes of this RoutingChangesObserver. -
Uses of MetaData in org.elasticsearch.gateway
Fields in org.elasticsearch.gateway with type parameters of type MetaData Modifier and Type Field Description protected MetaDataStateFormat<MetaData>MetaStateService. META_DATA_FORMATMethods in org.elasticsearch.gateway that return MetaData Modifier and Type Method Description MetaDataGatewayMetaState. getMetaData()MetaDataTransportNodesListGatewayMetaState.NodeGatewayMetaState. metaData()Methods in org.elasticsearch.gateway with parameters of type MetaData Modifier and Type Method Description voidDanglingIndicesState. processDanglingIndices(MetaData metaData)Process dangling indices based on the provided meta data, handling cleanup, finding new dangling indices, and allocating outstanding ones.voidMetaStateService. writeGlobalStateAndUpdateManifest(String reason, MetaData metaData)Writes global metadata and updates manifest file accordingly.Constructors in org.elasticsearch.gateway with parameters of type MetaData Constructor Description NodeGatewayMetaState(DiscoveryNode node, MetaData metaData) -
Uses of MetaData in org.elasticsearch.repositories
Methods in org.elasticsearch.repositories that return MetaData Modifier and Type Method Description MetaDataRepository. getSnapshotGlobalMetaData(SnapshotId snapshotId)Returns global metadata associated with the snapshot.Methods in org.elasticsearch.repositories with parameters of type MetaData Modifier and Type Method Description voidRepository. finalizeSnapshot(SnapshotId snapshotId, List<IndexId> indices, long startTime, String failure, int totalShards, List<SnapshotShardFailure> shardFailures, long repositoryStateId, boolean includeGlobalState, MetaData clusterMetaData, Map<String,Object> userMetadata, ActionListener<SnapshotInfo> listener)Finalizes snapshotting processvoidRepository. initializeSnapshot(SnapshotId snapshotId, List<IndexId> indices, MetaData metaData)Deprecated.this method is only used when taking snapshots in a mixed version cluster where a master node older thanSnapshotsService.NO_REPO_INITIALIZE_VERSIONis present. -
Uses of MetaData in org.elasticsearch.repositories.blobstore
Methods in org.elasticsearch.repositories.blobstore that return MetaData Modifier and Type Method Description MetaDataBlobStoreRepository. getSnapshotGlobalMetaData(SnapshotId snapshotId)Methods in org.elasticsearch.repositories.blobstore with parameters of type MetaData Modifier and Type Method Description voidBlobStoreRepository. finalizeSnapshot(SnapshotId snapshotId, List<IndexId> indices, long startTime, String failure, int totalShards, List<SnapshotShardFailure> shardFailures, long repositoryStateId, boolean includeGlobalState, MetaData clusterMetaData, Map<String,Object> userMetadata, ActionListener<SnapshotInfo> listener)voidBlobStoreRepository. initializeSnapshot(SnapshotId snapshotId, List<IndexId> indices, MetaData clusterMetaData)
-