Class FollowRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ccr.FollowRequest
- All Implemented Interfaces:
JsonpSerializable
Creates a new follower index configured to follow the referenced leader
index.
- 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<FollowRequest>Json deserializer forFollowRequeststatic final Endpoint<FollowRequest,FollowResponse, ErrorResponse> Endpoint "ccr.follow". -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringindex()Required - The name of the follower indexfinal StringAPI name:leader_indexfinal LongAPI name:max_outstanding_read_requestsfinal LongAPI name:max_outstanding_write_requestsfinal LongAPI name:max_read_request_operation_countfinal StringAPI name:max_read_request_sizefinal TimeAPI name:max_retry_delayfinal LongAPI name:max_write_buffer_countfinal StringAPI name:max_write_buffer_sizefinal LongAPI name:max_write_request_operation_countfinal StringAPI name:max_write_request_sizestatic FollowRequestfinal TimeAPI name:read_poll_timeoutfinal StringAPI name:remote_clustervoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal WaitForActiveShardsSets the number of shard copies that must be active before returning.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forFollowRequest -
_ENDPOINT
Endpoint "ccr.follow".
-
-
Method Details
-
of
-
index
Required - The name of the follower indexAPI name:
index -
leaderIndex
API name:leader_index -
maxOutstandingReadRequests
API name:max_outstanding_read_requests -
maxOutstandingWriteRequests
API name:max_outstanding_write_requests -
maxReadRequestOperationCount
API name:max_read_request_operation_count -
maxReadRequestSize
API name:max_read_request_size -
maxRetryDelay
API name:max_retry_delay -
maxWriteBufferCount
API name:max_write_buffer_count -
maxWriteBufferSize
API name:max_write_buffer_size -
maxWriteRequestOperationCount
API name:max_write_request_operation_count -
maxWriteRequestSize
API name:max_write_request_size -
readPollTimeout
API name:read_poll_timeout -
remoteCluster
API name:remote_cluster -
waitForActiveShards
Sets the number of shard copies that must be active before returning. Defaults to 0. Set toallfor all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)API name:
wait_for_active_shards -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupFollowRequestDeserializer
-