Class IndexScopedSettings
java.lang.Object
org.elasticsearch.common.settings.AbstractScopedSettings
org.elasticsearch.common.settings.IndexScopedSettings
public final class IndexScopedSettings extends AbstractScopedSettings
Encapsulates all valid index level settings.
- See Also:
Setting.Property.IndexScope
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.common.settings.AbstractScopedSettings
AbstractScopedSettings.SettingUpdater<T> -
Field Summary
Fields Modifier and Type Field Description static java.util.Set<Setting<?>>BUILT_IN_INDEX_SETTINGSstatic IndexScopedSettingsDEFAULT_SCOPED_SETTINGSstatic java.util.function.Predicate<java.lang.String>INDEX_SETTINGS_KEY_PREDICATEFields inherited from class org.elasticsearch.common.settings.AbstractScopedSettings
ARCHIVED_SETTINGS_PREFIX -
Constructor Summary
Constructors Constructor Description IndexScopedSettings(Settings settings, java.util.Set<Setting<?>> settingsSet) -
Method Summary
Modifier and Type Method Description IndexScopedSettingscopy(Settings settings, IndexMetadata metadata)booleanisPrivateSetting(java.lang.String key)Returnstrueiff the setting is a private setting ie.protected voidvalidateSettingKey(Setting setting)Methods inherited from class org.elasticsearch.common.settings.AbstractScopedSettings
addAffixGroupUpdateConsumer, addAffixMapUpdateConsumer, addAffixUpdateConsumer, addAffixUpdateConsumer, addSettingsUpdateConsumer, addSettingsUpdateConsumer, addSettingsUpdateConsumer, addSettingsUpdateConsumer, addSettingsUpdateConsumer, addSettingsUpdateConsumer, applySettings, archiveUnknownOrInvalidSettings, diff, get, get, getScope, isDynamicSetting, isFinalSetting, isValidKey, updateDynamicSettings, updateSettings, upgradeSettings, validate, validate, validate, validate, validateUpdateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
INDEX_SETTINGS_KEY_PREDICATE
public static final java.util.function.Predicate<java.lang.String> INDEX_SETTINGS_KEY_PREDICATE -
BUILT_IN_INDEX_SETTINGS
-
DEFAULT_SCOPED_SETTINGS
-
-
Constructor Details
-
IndexScopedSettings
-
-
Method Details
-
copy
-
validateSettingKey
- Overrides:
validateSettingKeyin classAbstractScopedSettings
-
isPrivateSetting
public boolean isPrivateSetting(java.lang.String key)Description copied from class:AbstractScopedSettingsReturnstrueiff the setting is a private setting ie. it should be treated as valid even though it has no internal representation. Otherwisefalse- Overrides:
isPrivateSettingin classAbstractScopedSettings
-