Class SplitRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.SplitRequest
- All Implemented Interfaces:
JsonpSerializable
Allows you to split an existing index into a new index with more primary
shards.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SplitRequest>Json deserializer forSplitRequeststatic final Endpoint<SplitRequest,SplitResponse, ErrorResponse> Endpoint "indices.split". -
Method Summary
Modifier and TypeMethodDescriptionaliases()API name:aliasesfinal Stringindex()Required - The name of the source index to splitfinal TimeSpecify timeout for connection to masterstatic SplitRequestvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) settings()API name:settingsprotected static voidfinal Stringtarget()Required - The name of the target index to split intofinal Timetimeout()Explicit operation timeoutfinal WaitForActiveShardsSet the number of active shards to wait for on the shrunken index before the operation returns.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forSplitRequest -
_ENDPOINT
Endpoint "indices.split".
-
-
Method Details
-
of
-
aliases
API name:aliases -
index
Required - The name of the source index to splitAPI name:
index -
masterTimeout
Specify timeout for connection to masterAPI name:
master_timeout -
settings
API name:settings -
target
Required - The name of the target index to split intoAPI name:
target -
timeout
Explicit operation timeoutAPI name:
timeout -
waitForActiveShards
Set the number of active shards to wait for on the shrunken index before the operation returns.API name:
wait_for_active_shards -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupSplitRequestDeserializer
-