Class IndexSettingsStore
java.lang.Object
org.opensearch.client.opensearch.indices.IndexSettingsStore
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<IndexSettingsStore.Builder,IndexSettingsStore>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class IndexSettingsStore
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<IndexSettingsStore.Builder,IndexSettingsStore>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<IndexSettingsStore> Json deserializer forIndexSettingsStore -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanWhether memory-mapping is allowed.static IndexSettingsStore.Builderbuilder()booleanfinal IndexSettingsStoreFsfs()API name:fsinthashCode()final IndexSettingsStoreHybridhybrid()API name:hybridstatic IndexSettingsStorepreload()The list of files to preload into memory.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal TimeAPI name:stats_refresh_intervalCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final StorageTypetype()Required - API name:typeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forIndexSettingsStore
-
-
Method Details
-
of
public static IndexSettingsStore of(Function<IndexSettingsStore.Builder, ObjectBuilder<IndexSettingsStore>> fn) -
allowMmap
Whether memory-mapping is allowed. You can restrict the use of themmapfsand the relatedhybridfsstore types with the settingnode.store.allow_mmap. This setting is useful, for example, if you are in an environment where you can not control the ability to create a lot of memory maps so you need disable the ability to use memory-mapping.API name:
allow_mmap -
fs
API name:fs -
hybrid
API name:hybrid -
preload
The list of files to preload into memory.API name:
preload -
statsRefreshInterval
API name:stats_refresh_interval -
type
Required - API name:type -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<IndexSettingsStore.Builder,IndexSettingsStore> - Returns:
- a new builder instance.
-
builder
-
setupIndexSettingsStoreDeserializer
protected static void setupIndexSettingsStoreDeserializer(ObjectDeserializer<IndexSettingsStore.Builder> op) -
hashCode
public int hashCode() -
equals
-