Class ElasticsearchMigrationAsyncClient
java.lang.Object
co.elastic.clients.ApiClient<ElasticsearchTransport,ElasticsearchMigrationAsyncClient>
co.elastic.clients.elasticsearch.migration.ElasticsearchMigrationAsyncClient
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class ElasticsearchMigrationAsyncClient
extends ApiClient<ElasticsearchTransport,ElasticsearchMigrationAsyncClient>
Client for the migration namespace.
-
Field Summary
Fields inherited from class co.elastic.clients.ApiClient
transport, transportOptions
-
Constructor Summary
ConstructorsConstructorDescriptionElasticsearchMigrationAsyncClient
(ElasticsearchTransport transport, TransportOptions transportOptions) -
Method Summary
Modifier and TypeMethodDescriptionGet deprecation information.deprecations
(DeprecationsRequest request) Get deprecation information.Get deprecation information.Get feature migration information.Start the feature migration.withTransportOptions
(TransportOptions transportOptions) Creates a new client with some request optionsMethods inherited from class co.elastic.clients.ApiClient
_jsonpMapper, _transport, _transportOptions, close, getDeserializer, withTransportOptions
-
Constructor Details
-
ElasticsearchMigrationAsyncClient
-
ElasticsearchMigrationAsyncClient
public ElasticsearchMigrationAsyncClient(ElasticsearchTransport transport, @Nullable TransportOptions transportOptions)
-
-
Method Details
-
withTransportOptions
public ElasticsearchMigrationAsyncClient withTransportOptions(@Nullable TransportOptions transportOptions) Description copied from class:ApiClient
Creates a new client with some request options- Specified by:
withTransportOptions
in classApiClient<ElasticsearchTransport,
ElasticsearchMigrationAsyncClient>
-
deprecations
Get deprecation information. Get information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version.TIP: This APIs is designed for indirect use by the Upgrade Assistant. You are strongly recommended to use the Upgrade Assistant.
- See Also:
-
deprecations
public final CompletableFuture<DeprecationsResponse> deprecations(Function<DeprecationsRequest.Builder, ObjectBuilder<DeprecationsRequest>> fn) Get deprecation information. Get information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version.TIP: This APIs is designed for indirect use by the Upgrade Assistant. You are strongly recommended to use the Upgrade Assistant.
- Parameters:
fn
- a function that initializes a builder to create theDeprecationsRequest
- See Also:
-
deprecations
Get deprecation information. Get information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version.TIP: This APIs is designed for indirect use by the Upgrade Assistant. You are strongly recommended to use the Upgrade Assistant.
- See Also:
-
getFeatureUpgradeStatus
Get feature migration information. Version upgrades sometimes require changes to how features store configuration information and data in system indices. Check which features need to be migrated and the status of any migrations that are in progress.TIP: This API is designed for indirect use by the Upgrade Assistant. You are strongly recommended to use the Upgrade Assistant.
- See Also:
-
postFeatureUpgrade
Start the feature migration. Version upgrades sometimes require changes to how features store configuration information and data in system indices. This API starts the automatic migration process.Some functionality might be temporarily unavailable during the migration process.
TIP: The API is designed for indirect use by the Upgrade Assistant. We strongly recommend you use the Upgrade Assistant.
- See Also:
-