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 classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<SplitRequest>
Json deserializer forSplitRequest
static final Endpoint<SplitRequest,
SplitResponse, ErrorResponse> Endpoint "indices.split
". -
Method Summary
Modifier and TypeMethodDescriptionaliases()
API name:aliases
final String
index()
Required - The name of the source index to splitfinal Time
Specify timeout for connection to masterstatic SplitRequest
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) settings()
API name:settings
protected static void
final String
target()
Required - The name of the target index to split intofinal Time
timeout()
Explicit operation timeoutfinal WaitForActiveShards
Set 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupSplitRequestDeserializer
-