Class UpgradeTransformsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.transform.UpgradeTransformsRequest
Upgrades all transforms. This API identifies transforms that have a legacy
configuration format and upgrades them to the latest version. It also cleans
up the internal data structures that store the transform state and
checkpoints. The upgrade does not affect the source and destination indices.
The upgrade also does not affect the roles that transforms use when
Elasticsearch security features are enabled; the role used to read source
data and write to the destination index remains unchanged.
- 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 TypeFieldDescriptionEndpoint "transform.upgrade_transforms
". -
Method Summary
Modifier and TypeMethodDescriptionfinal Boolean
dryRun()
When true, the request checks for updates but does not run them.static UpgradeTransformsRequest
final Time
timeout()
Period to wait for a response.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<UpgradeTransformsRequest,UpgradeTransformsResponse, _ENDPOINTErrorResponse> Endpoint "transform.upgrade_transforms
".
-
-
Method Details
-
of
public static UpgradeTransformsRequest of(Function<UpgradeTransformsRequest.Builder, ObjectBuilder<UpgradeTransformsRequest>> fn) -
dryRun
When true, the request checks for updates but does not run them.API name:
dry_run
-
timeout
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout
-