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.
  • Constructor Details

  • 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 class ApiClient<ElasticsearchTransport,ElasticsearchMigrationAsyncClient>
    • deprecations

      Get deprecation information.

      Returns information about deprecated features which are in use in the cluster. The reported features include cluster, node, and index level settings that will be removed or changed in the next major version. You must address the reported issues before upgrading to the next major version. However, no action is required when upgrading within the current major version. Deprecated features remain fully supported and will continue to work in the current version, and when upgrading to a newer minor or patch release in the same major version. Use this API to review your usage of these features and migrate away from them at your own pace, before upgrading to a new major version.

      info This API is designed for indirect use by the Upgrade Assistant. We recommend learning about deprecated features using the Upgrade Assistant rather than calling this API directly.

      See Also:
    • deprecations

      Get deprecation information.

      Returns information about deprecated features which are in use in the cluster. The reported features include cluster, node, and index level settings that will be removed or changed in the next major version. You must address the reported issues before upgrading to the next major version. However, no action is required when upgrading within the current major version. Deprecated features remain fully supported and will continue to work in the current version, and when upgrading to a newer minor or patch release in the same major version. Use this API to review your usage of these features and migrate away from them at your own pace, before upgrading to a new major version.

      info This API is designed for indirect use by the Upgrade Assistant. We recommend learning about deprecated features using the Upgrade Assistant rather than calling this API directly.

      Parameters:
      fn - a function that initializes a builder to create the DeprecationsRequest
      See Also:
    • deprecations

      public CompletableFuture<DeprecationsResponse> deprecations()
      Get deprecation information.

      Returns information about deprecated features which are in use in the cluster. The reported features include cluster, node, and index level settings that will be removed or changed in the next major version. You must address the reported issues before upgrading to the next major version. However, no action is required when upgrading within the current major version. Deprecated features remain fully supported and will continue to work in the current version, and when upgrading to a newer minor or patch release in the same major version. Use this API to review your usage of these features and migrate away from them at your own pace, before upgrading to a new major version.

      info This API is designed for indirect use by the Upgrade Assistant. We recommend learning about deprecated features using the Upgrade Assistant rather than calling this API directly.

      See Also:
    • getFeatureUpgradeStatus

      public CompletableFuture<GetFeatureUpgradeStatusResponse> 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

      public CompletableFuture<PostFeatureUpgradeResponse> 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: