Class MachineLearningClient

java.lang.Object
org.elasticsearch.client.MachineLearningClient

@Deprecated public final class MachineLearningClient extends Object
Deprecated.
The High Level Rest Client is deprecated in favor of the Elasticsearch Java API Client
Machine Learning API client wrapper for the RestHighLevelClient

See the X-Pack Machine Learning APIs for additional information.

  • Method Details

    • putJob

      public PutJobResponse putJob(PutJobRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Creates a new Machine Learning Job

      For additional info see ML PUT job documentation

      Parameters:
      request - The PutJobRequest containing the Job settings
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      PutJobResponse with enclosed Job object
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • putJobAsync

      public org.elasticsearch.client.Cancellable putJobAsync(PutJobRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<PutJobResponse> listener)
      Deprecated.
      Creates a new Machine Learning Job asynchronously and notifies listener on completion

      For additional info see ML PUT job documentation

      Parameters:
      request - The request containing the Job settings
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getJob

      public GetJobResponse getJob(GetJobRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Gets one or more Machine Learning job configuration info.

      For additional info see ML GET job documentation

      Parameters:
      request - GetJobRequest Request containing a list of jobId(s) and additional options
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      GetJobResponse response object containing the Job objects and the number of jobs found
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • getJobAsync

      public org.elasticsearch.client.Cancellable getJobAsync(GetJobRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetJobResponse> listener)
      Deprecated.
      Gets one or more Machine Learning job configuration info, asynchronously.

      For additional info see ML GET job documentation

      Parameters:
      request - GetJobRequest Request containing a list of jobId(s) and additional options
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified with GetJobResponse upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getJobStats

      public GetJobStatsResponse getJobStats(GetJobStatsRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Gets usage statistics for one or more Machine Learning jobs

      For additional info see Get job stats docs

      Parameters:
      request - GetJobStatsRequest Request containing a list of jobId(s) and additional options
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      GetJobStatsResponse response object containing the JobStats objects and the number of jobs found
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • getJobStatsAsync

      public org.elasticsearch.client.Cancellable getJobStatsAsync(GetJobStatsRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetJobStatsResponse> listener)
      Deprecated.
      Gets usage statistics for one or more Machine Learning jobs, asynchronously.

      For additional info see Get job stats docs

      Parameters:
      request - GetJobStatsRequest Request containing a list of jobId(s) and additional options
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified with GetJobStatsResponse upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • deleteExpiredData

      public DeleteExpiredDataResponse deleteExpiredData(DeleteExpiredDataRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Deletes expired data from Machine Learning Jobs

      For additional info see ML Delete Expired Data documentation

      Parameters:
      request - The request to delete expired ML data
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      The action response which contains the acknowledgement or the task id depending on whether the action was set to wait for completion
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • deleteExpiredDataAsync

      public org.elasticsearch.client.Cancellable deleteExpiredDataAsync(DeleteExpiredDataRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<DeleteExpiredDataResponse> listener)
      Deprecated.
      Deletes expired data from Machine Learning Jobs asynchronously and notifies the listener on completion

      For additional info see ML Delete Expired Data documentation

      Parameters:
      request - The request to delete expired ML data
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • deleteJob

      public DeleteJobResponse deleteJob(DeleteJobRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Deletes the given Machine Learning Job

      For additional info see ML Delete job documentation

      Parameters:
      request - The request to delete the job
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      The action response which contains the acknowledgement or the task id depending on whether the action was set to wait for completion
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • deleteJobAsync

      public org.elasticsearch.client.Cancellable deleteJobAsync(DeleteJobRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<DeleteJobResponse> listener)
      Deprecated.
      Deletes the given Machine Learning Job asynchronously and notifies the listener on completion

      For additional info see ML Delete Job documentation

      Parameters:
      request - The request to delete the job
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • openJob

      public OpenJobResponse openJob(OpenJobRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Opens a Machine Learning Job. When you open a new job, it starts with an empty model. When you open an existing job, the most recent model state is automatically loaded. The job is ready to resume its analysis from where it left off, once new data is received.

      For additional info see ML Open Job documentation

      Parameters:
      request - Request containing job_id and additional optional options
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      response containing if the job was successfully opened or not.
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • openJobAsync

      public org.elasticsearch.client.Cancellable openJobAsync(OpenJobRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<OpenJobResponse> listener)
      Deprecated.
      Opens a Machine Learning Job asynchronously, notifies listener on completion. When you open a new job, it starts with an empty model. When you open an existing job, the most recent model state is automatically loaded. The job is ready to resume its analysis from where it left off, once new data is received.

      For additional info see ML Open Job documentation

      Parameters:
      request - Request containing job_id and additional optional options
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • closeJob

      public CloseJobResponse closeJob(CloseJobRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Closes one or more Machine Learning Jobs. A job can be opened and closed multiple times throughout its lifecycle. A closed job cannot receive data or perform analysis operations, but you can still explore and navigate results.

      For additional info see ML Close Job documentation

      Parameters:
      request - Request containing job_ids and additional options. See CloseJobRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      response containing if the job was successfully closed or not.
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • closeJobAsync

      public org.elasticsearch.client.Cancellable closeJobAsync(CloseJobRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<CloseJobResponse> listener)
      Deprecated.
      Closes one or more Machine Learning Jobs asynchronously, notifies listener on completion A closed job cannot receive data or perform analysis operations, but you can still explore and navigate results.

      For additional info see ML Close Job documentation

      Parameters:
      request - Request containing job_ids and additional options. See CloseJobRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • flushJob

      public FlushJobResponse flushJob(FlushJobRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Flushes internally buffered data for the given Machine Learning Job ensuring all data sent to the has been processed. This may cause new results to be calculated depending on the contents of the buffer Both flush and close operations are similar, however the flush is more efficient if you are expecting to send more data for analysis. When flushing, the job remains open and is available to continue analyzing data. A close operation additionally prunes and persists the model state to disk and the job must be opened again before analyzing further data.

      For additional info see Flush ML job documentation

      Parameters:
      request - The FlushJobRequest object enclosing the `jobId` and additional request options
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • flushJobAsync

      public org.elasticsearch.client.Cancellable flushJobAsync(FlushJobRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<FlushJobResponse> listener)
      Deprecated.
      Flushes internally buffered data for the given Machine Learning Job asynchronously ensuring all data sent to the has been processed. This may cause new results to be calculated depending on the contents of the buffer Both flush and close operations are similar, however the flush is more efficient if you are expecting to send more data for analysis. When flushing, the job remains open and is available to continue analyzing data. A close operation additionally prunes and persists the model state to disk and the job must be opened again before analyzing further data.

      For additional info see Flush ML job documentation

      Parameters:
      request - The FlushJobRequest object enclosing the `jobId` and additional request options
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • forecastJob

      public ForecastJobResponse forecastJob(ForecastJobRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Creates a forecast of an existing, opened Machine Learning Job This predicts the future behavior of a time series by using its historical behavior.

      For additional info see Forecast ML Job Documentation

      Parameters:
      request - ForecastJobRequest with forecasting options
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      response containing forecast acknowledgement and new forecast's ID
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • forecastJobAsync

      public org.elasticsearch.client.Cancellable forecastJobAsync(ForecastJobRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<ForecastJobResponse> listener)
      Deprecated.
      Creates a forecast of an existing, opened Machine Learning Job asynchronously This predicts the future behavior of a time series by using its historical behavior.

      For additional info see Forecast ML Job Documentation

      Parameters:
      request - ForecastJobRequest with forecasting options
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • deleteForecast

      public org.elasticsearch.action.support.master.AcknowledgedResponse deleteForecast(DeleteForecastRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Deletes Machine Learning Job Forecasts

      For additional info see Delete Job Forecast Documentation

      Parameters:
      request - the DeleteForecastRequest object enclosing the desired jobId, forecastIDs, and other options
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      a AcknowledgedResponse object indicating request success
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • deleteForecastAsync

      public org.elasticsearch.client.Cancellable deleteForecastAsync(DeleteForecastRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
      Deprecated.
      Deletes Machine Learning Job Forecasts asynchronously

      For additional info see Delete Job Forecast Documentation

      Parameters:
      request - the DeleteForecastRequest object enclosing the desired jobId, forecastIDs, and other options
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • deleteModelSnapshot

      public org.elasticsearch.action.support.master.AcknowledgedResponse deleteModelSnapshot(DeleteModelSnapshotRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Deletes Machine Learning Model Snapshots

      For additional info see ML Delete Model Snapshot documentation

      Parameters:
      request - The request to delete the model snapshot
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      action acknowledgement
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • deleteModelSnapshotAsync

      public org.elasticsearch.client.Cancellable deleteModelSnapshotAsync(DeleteModelSnapshotRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
      Deprecated.
      Deletes Machine Learning Model Snapshots asynchronously and notifies the listener on completion

      For additional info see ML Delete Model Snapshot documentation

      Parameters:
      request - The request to delete the model snapshot
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • revertModelSnapshot

      public RevertModelSnapshotResponse revertModelSnapshot(RevertModelSnapshotRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Reverts to a particular Machine Learning Model Snapshot

      For additional info see ML Revert Model Snapshot documentation

      Parameters:
      request - The request to revert to a previous model snapshot
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      action acknowledgement
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • resetJob

      public ResetJobResponse resetJob(ResetJobRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Resets the given Machine Learning Job

      For additional info see ML Reset job documentation

      Parameters:
      request - The request to reset the job
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      The action response which contains the acknowledgement or the task id depending on whether the action was set to wait for completion
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • resetJobAsync

      public org.elasticsearch.client.Cancellable resetJobAsync(ResetJobRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<ResetJobResponse> listener)
      Deprecated.
      Resets the given Machine Learning Job asynchronously and notifies the listener on completion

      For additional info see ML Reset Job documentation

      Parameters:
      request - The request to reset the job
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • revertModelSnapshotAsync

      public org.elasticsearch.client.Cancellable revertModelSnapshotAsync(RevertModelSnapshotRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<RevertModelSnapshotResponse> listener)
      Deprecated.
      Reverts to a particular Machine Learning Model Snapshot asynchronously and notifies the listener on completion

      For additional info see ML Revert Model Snapshot documentation

      Parameters:
      request - The request to revert to a previous model snapshot
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • putDatafeed

      public PutDatafeedResponse putDatafeed(PutDatafeedRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Creates a new Machine Learning Datafeed

      For additional info see ML PUT datafeed documentation

      Parameters:
      request - The PutDatafeedRequest containing the DatafeedConfig settings
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      PutDatafeedResponse with enclosed DatafeedConfig object
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • putDatafeedAsync

      public org.elasticsearch.client.Cancellable putDatafeedAsync(PutDatafeedRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<PutDatafeedResponse> listener)
      Deprecated.
      Creates a new Machine Learning Datafeed asynchronously and notifies listener on completion

      For additional info see ML PUT datafeed documentation

      Parameters:
      request - The request containing the DatafeedConfig settings
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • updateDatafeed

      public PutDatafeedResponse updateDatafeed(UpdateDatafeedRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Updates a Machine Learning Datafeed

      For additional info see ML Update datafeed documentation

      Parameters:
      request - The UpdateDatafeedRequest containing the DatafeedUpdate settings
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      PutDatafeedResponse with enclosed, updated DatafeedConfig object
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • updateDatafeedAsync

      public org.elasticsearch.client.Cancellable updateDatafeedAsync(UpdateDatafeedRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<PutDatafeedResponse> listener)
      Deprecated.
      Updates a Machine Learning Datafeed asynchronously and notifies listener on completion

      For additional info see ML Update datafeed documentation

      Parameters:
      request - The request containing the DatafeedUpdate settings
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getDatafeed

      public GetDatafeedResponse getDatafeed(GetDatafeedRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Gets one or more Machine Learning datafeed configuration info.

      For additional info see ML GET datafeed documentation

      Parameters:
      request - GetDatafeedRequest Request containing a list of datafeedId(s) and additional options
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      GetDatafeedResponse response object containing the DatafeedConfig objects and the number of jobs found
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • getDatafeedAsync

      public org.elasticsearch.client.Cancellable getDatafeedAsync(GetDatafeedRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetDatafeedResponse> listener)
      Deprecated.
      Gets one or more Machine Learning datafeed configuration info, asynchronously.

      For additional info see ML GET datafeed documentation

      Parameters:
      request - GetDatafeedRequest Request containing a list of datafeedId(s) and additional options
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified with GetDatafeedResponse upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • deleteDatafeed

      public org.elasticsearch.action.support.master.AcknowledgedResponse deleteDatafeed(DeleteDatafeedRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Deletes the given Machine Learning Datafeed

      For additional info see ML Delete Datafeed documentation

      Parameters:
      request - The request to delete the datafeed
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      action acknowledgement
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • deleteDatafeedAsync

      public org.elasticsearch.client.Cancellable deleteDatafeedAsync(DeleteDatafeedRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
      Deprecated.
      Deletes the given Machine Learning Datafeed asynchronously and notifies the listener on completion

      For additional info see ML Delete Datafeed documentation

      Parameters:
      request - The request to delete the datafeed
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • startDatafeed

      public StartDatafeedResponse startDatafeed(StartDatafeedRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Starts the given Machine Learning Datafeed

      For additional info see ML Start Datafeed documentation

      Parameters:
      request - The request to start the datafeed
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      action acknowledgement
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • startDatafeedAsync

      public org.elasticsearch.client.Cancellable startDatafeedAsync(StartDatafeedRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<StartDatafeedResponse> listener)
      Deprecated.
      Starts the given Machine Learning Datafeed asynchronously and notifies the listener on completion

      For additional info see ML Start Datafeed documentation

      Parameters:
      request - The request to start the datafeed
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • stopDatafeed

      public StopDatafeedResponse stopDatafeed(StopDatafeedRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Stops the given Machine Learning Datafeed

      For additional info see ML Stop Datafeed documentation

      Parameters:
      request - The request to stop the datafeed
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      action acknowledgement
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • stopDatafeedAsync

      public org.elasticsearch.client.Cancellable stopDatafeedAsync(StopDatafeedRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<StopDatafeedResponse> listener)
      Deprecated.
      Stops the given Machine Learning Datafeed asynchronously and notifies the listener on completion

      For additional info see ML Stop Datafeed documentation

      Parameters:
      request - The request to stop the datafeed
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getDatafeedStats

      public GetDatafeedStatsResponse getDatafeedStats(GetDatafeedStatsRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Gets statistics for one or more Machine Learning datafeeds

      For additional info see Get datafeed stats docs

      Parameters:
      request - GetDatafeedStatsRequest Request containing a list of datafeedId(s) and additional options
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      GetDatafeedStatsResponse response object containing the DatafeedStats objects and the number of datafeeds found
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • previewDatafeed

      public PreviewDatafeedResponse previewDatafeed(PreviewDatafeedRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Previews the given Machine Learning Datafeed

      For additional info see ML Preview Datafeed documentation

      Parameters:
      request - The request to preview the datafeed
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      PreviewDatafeedResponse object containing a BytesReference of the data in JSON format
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • getDatafeedStatsAsync

      public org.elasticsearch.client.Cancellable getDatafeedStatsAsync(GetDatafeedStatsRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetDatafeedStatsResponse> listener)
      Deprecated.
      Gets statistics for one or more Machine Learning datafeeds, asynchronously.

      For additional info see Get datafeed stats docs

      Parameters:
      request - GetDatafeedStatsRequest Request containing a list of datafeedId(s) and additional options
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified with GetDatafeedStatsResponse upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • previewDatafeedAsync

      public org.elasticsearch.client.Cancellable previewDatafeedAsync(PreviewDatafeedRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<PreviewDatafeedResponse> listener)
      Deprecated.
      Previews the given Machine Learning Datafeed asynchronously and notifies the listener on completion

      For additional info see ML Preview Datafeed documentation

      Parameters:
      request - The request to preview the datafeed
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • updateJob

      public PutJobResponse updateJob(UpdateJobRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Updates a Machine Learning Job

      For additional info see ML Update Job Documentation

      Parameters:
      request - the UpdateJobRequest object enclosing the desired updates
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      a PutJobResponse object containing the updated job object
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • updateJobAsync

      public org.elasticsearch.client.Cancellable updateJobAsync(UpdateJobRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<PutJobResponse> listener)
      Deprecated.
      Updates a Machine Learning Job asynchronously

      For additional info see ML Update Job Documentation

      Parameters:
      request - the UpdateJobRequest object enclosing the desired updates
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getBuckets

      public GetBucketsResponse getBuckets(GetBucketsRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Gets the buckets for a Machine Learning Job.

      For additional info see ML GET buckets documentation

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Throws:
      IOException
    • getBucketsAsync

      public org.elasticsearch.client.Cancellable getBucketsAsync(GetBucketsRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetBucketsResponse> listener)
      Deprecated.
      Gets the buckets for a Machine Learning Job, notifies listener once the requested buckets are retrieved.

      For additional info see ML GET buckets documentation

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getCategories

      public GetCategoriesResponse getCategories(GetCategoriesRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Gets the categories for a Machine Learning Job.

      For additional info see ML GET categories documentation

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • getCategoriesAsync

      public org.elasticsearch.client.Cancellable getCategoriesAsync(GetCategoriesRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetCategoriesResponse> listener)
      Deprecated.
      Gets the categories for a Machine Learning Job, notifies listener once the requested buckets are retrieved.

      For additional info see ML GET categories documentation

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getModelSnapshots

      public GetModelSnapshotsResponse getModelSnapshots(GetModelSnapshotsRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Gets the snapshots for a Machine Learning Job.

      For additional info see ML GET model snapshots documentation

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • getModelSnapshotsAsync

      public org.elasticsearch.client.Cancellable getModelSnapshotsAsync(GetModelSnapshotsRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetModelSnapshotsResponse> listener)
      Deprecated.
      Gets the snapshots for a Machine Learning Job, notifies listener once the requested snapshots are retrieved.

      For additional info see ML GET model snapshots documentation

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • updateModelSnapshot

      public UpdateModelSnapshotResponse updateModelSnapshot(UpdateModelSnapshotRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Updates a snapshot for a Machine Learning Job.

      For additional info see ML UPDATE model snapshots documentation

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • updateModelSnapshotAsync

      public org.elasticsearch.client.Cancellable updateModelSnapshotAsync(UpdateModelSnapshotRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<UpdateModelSnapshotResponse> listener)
      Deprecated.
      Updates a snapshot for a Machine Learning Job, notifies listener once the requested snapshots are retrieved.

      For additional info see ML UPDATE model snapshots documentation

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • upgradeJobSnapshot

      public UpgradeJobModelSnapshotResponse upgradeJobSnapshot(UpgradeJobModelSnapshotRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Upgrades a snapshot for a Machine Learning Job to the current major version.

      For additional info see ML Upgrade job snapshots documentation

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • upgradeJobSnapshotAsync

      public org.elasticsearch.client.Cancellable upgradeJobSnapshotAsync(UpgradeJobModelSnapshotRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<UpgradeJobModelSnapshotResponse> listener)
      Deprecated.
      Upgrades a snapshot for a Machine Learning Job to the current major version, notifies listener once the upgrade has started.

      For additional info see ML Upgrade job snapshots documentation

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getOverallBuckets

      public GetOverallBucketsResponse getOverallBuckets(GetOverallBucketsRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Gets overall buckets for a set of Machine Learning Jobs.

      For additional info see ML GET overall buckets documentation

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Throws:
      IOException
    • getOverallBucketsAsync

      public org.elasticsearch.client.Cancellable getOverallBucketsAsync(GetOverallBucketsRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetOverallBucketsResponse> listener)
      Deprecated.
      Gets overall buckets for a set of Machine Learning Jobs, notifies listener once the requested buckets are retrieved.

      For additional info see ML GET overall buckets documentation

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getRecords

      public GetRecordsResponse getRecords(GetRecordsRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Gets the records for a Machine Learning Job.

      For additional info see ML GET records documentation

      Parameters:
      request - the request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Throws:
      IOException
    • getRecordsAsync

      public org.elasticsearch.client.Cancellable getRecordsAsync(GetRecordsRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetRecordsResponse> listener)
      Deprecated.
      Gets the records for a Machine Learning Job, notifies listener once the requested records are retrieved.

      For additional info see ML GET records documentation

      Parameters:
      request - the request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • postData

      public PostDataResponse postData(PostDataRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Sends data to an anomaly detection job for analysis.

      NOTE: The job must have a state of open to receive and process the data.

      For additional info see ML POST Data documentation

      Parameters:
      request - PostDataRequest containing the data to post and some additional options
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      response containing operational progress about the job
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • postDataAsync

      public org.elasticsearch.client.Cancellable postDataAsync(PostDataRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<PostDataResponse> listener)
      Deprecated.
      Sends data to an anomaly detection job for analysis, asynchronously

      NOTE: The job must have a state of open to receive and process the data.

      For additional info see ML POST Data documentation

      Parameters:
      request - PostDataRequest containing the data to post and some additional options
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getCalendars

      public GetCalendarsResponse getCalendars(GetCalendarsRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Gets a single or multiple calendars.

      For additional info see ML GET calendars documentation

      Parameters:
      request - The calendars request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      GetCalendarsResponse response object containing the Calendar objects and the number of calendars found
      Throws:
      IOException
    • getCalendarsAsync

      public org.elasticsearch.client.Cancellable getCalendarsAsync(GetCalendarsRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetCalendarsResponse> listener)
      Deprecated.
      Gets a single or multiple calendars, notifies listener once the requested records are retrieved.

      For additional info see ML GET calendars documentation

      Parameters:
      request - The calendars request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getInfluencers

      public GetInfluencersResponse getInfluencers(GetInfluencersRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Gets the influencers for a Machine Learning Job.

      For additional info see ML GET influencers documentation

      Parameters:
      request - the request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Throws:
      IOException
    • getInfluencersAsync

      public org.elasticsearch.client.Cancellable getInfluencersAsync(GetInfluencersRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetInfluencersResponse> listener)
      Deprecated.
      Gets the influencers for a Machine Learning Job, notifies listener once the requested influencers are retrieved.

      For additional info * see ML GET influencers documentation

      Parameters:
      request - the request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • putCalendar

      public PutCalendarResponse putCalendar(PutCalendarRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Create a new machine learning calendar

      For additional info see ML create calendar documentation

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      The PutCalendarResponse containing the calendar
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • putCalendarAsync

      public org.elasticsearch.client.Cancellable putCalendarAsync(PutCalendarRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<PutCalendarResponse> listener)
      Deprecated.
      Create a new machine learning calendar, notifies listener with the created calendar

      For additional info see ML create calendar documentation

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • putCalendarJob

      public PutCalendarResponse putCalendarJob(PutCalendarJobRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Adds Machine Learning Job(s) to a calendar

      For additional info see ML Put calendar job documentation

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      The PutCalendarResponse containing the updated calendar
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • putCalendarJobAsync

      public org.elasticsearch.client.Cancellable putCalendarJobAsync(PutCalendarJobRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<PutCalendarResponse> listener)
      Deprecated.
      Adds Machine Learning Job(s) to a calendar, notifies listener when completed

      For additional info see ML Put calendar job documentation

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • deleteCalendarJob

      public PutCalendarResponse deleteCalendarJob(DeleteCalendarJobRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Removes Machine Learning Job(s) from a calendar

      For additional info see ML Delete calendar job documentation

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      The PutCalendarResponse containing the updated calendar
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • deleteCalendarJobAsync

      public org.elasticsearch.client.Cancellable deleteCalendarJobAsync(DeleteCalendarJobRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<PutCalendarResponse> listener)
      Deprecated.
      Removes Machine Learning Job(s) from a calendar, notifies listener when completed

      For additional info see ML Delete calendar job documentation

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • deleteCalendar

      public org.elasticsearch.action.support.master.AcknowledgedResponse deleteCalendar(DeleteCalendarRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Deletes the given Machine Learning Calendar

      For additional info see ML Delete calendar documentation

      Parameters:
      request - The request to delete the calendar
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      action acknowledgement
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • deleteCalendarAsync

      public org.elasticsearch.client.Cancellable deleteCalendarAsync(DeleteCalendarRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
      Deprecated.
      Deletes the given Machine Learning Job asynchronously and notifies the listener on completion

      For additional info see ML Delete calendar documentation

      Parameters:
      request - The request to delete the calendar
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getCalendarEvents

      public GetCalendarEventsResponse getCalendarEvents(GetCalendarEventsRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Gets the events for a machine learning calendar

      For additional info see GET Calendar Events API

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      The PostCalendarEventRequest containing the scheduled events
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • getCalendarEventsAsync

      public org.elasticsearch.client.Cancellable getCalendarEventsAsync(GetCalendarEventsRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetCalendarEventsResponse> listener)
      Deprecated.
      Gets the events for a a machine learning calendar asynchronously, notifies the listener on completion

      For additional info see GET Calendar Events API

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • postCalendarEvent

      public PostCalendarEventResponse postCalendarEvent(PostCalendarEventRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Creates new events for a a machine learning calendar

      For additional info see Add Events to Calendar API

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      The PostCalendarEventRequest containing the scheduled events
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • postCalendarEventAsync

      public org.elasticsearch.client.Cancellable postCalendarEventAsync(PostCalendarEventRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<PostCalendarEventResponse> listener)
      Deprecated.
      Creates new events for a a machine learning calendar asynchronously, notifies the listener on completion

      For additional info see Add Events to Calendar API

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • deleteCalendarEvent

      public org.elasticsearch.action.support.master.AcknowledgedResponse deleteCalendarEvent(DeleteCalendarEventRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Removes a Scheduled Event from a calendar

      For additional info see ML Delete calendar event documentation

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      The PutCalendarResponse containing the updated calendar
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • deleteCalendarEventAsync

      public org.elasticsearch.client.Cancellable deleteCalendarEventAsync(DeleteCalendarEventRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
      Deprecated.
      Removes a Scheduled Event from a calendar, notifies listener when completed

      For additional info see ML Delete calendar event documentation

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • putFilter

      public PutFilterResponse putFilter(PutFilterRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Creates a new Machine Learning Filter

      For additional info see ML PUT Filter documentation

      Parameters:
      request - The PutFilterRequest containing the MlFilter settings
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      PutFilterResponse with enclosed MlFilter object
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • putFilterAsync

      public org.elasticsearch.client.Cancellable putFilterAsync(PutFilterRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<PutFilterResponse> listener)
      Deprecated.
      Creates a new Machine Learning Filter asynchronously and notifies listener on completion

      For additional info see ML PUT Filter documentation

      Parameters:
      request - The request containing the MlFilter settings
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getFilter

      public GetFiltersResponse getFilter(GetFiltersRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Gets Machine Learning Filters

      For additional info see ML GET Filter documentation

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      GetFilterResponse with enclosed MlFilter objects
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • getFilterAsync

      public org.elasticsearch.client.Cancellable getFilterAsync(GetFiltersRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetFiltersResponse> listener)
      Deprecated.
      Gets Machine Learning Filters asynchronously and notifies listener on completion

      For additional info see ML GET Filter documentation

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • updateFilter

      public PutFilterResponse updateFilter(UpdateFilterRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Updates a Machine Learning Filter

      For additional info see ML Update Filter documentation

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      PutFilterResponse with the updated MlFilter object
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • updateFilterAsync

      public org.elasticsearch.client.Cancellable updateFilterAsync(UpdateFilterRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<PutFilterResponse> listener)
      Deprecated.
      Updates a Machine Learning Filter asynchronously and notifies listener on completion

      For additional info see ML Update Filter documentation

      Parameters:
      request - The request
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • deleteFilter

      public org.elasticsearch.action.support.master.AcknowledgedResponse deleteFilter(DeleteFilterRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Deletes the given Machine Learning filter

      For additional info see ML Delete Filter documentation

      Parameters:
      request - The request to delete the filter
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      action acknowledgement
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • deleteFilterAsync

      public org.elasticsearch.client.Cancellable deleteFilterAsync(DeleteFilterRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
      Deprecated.
      Deletes the given Machine Learning filter asynchronously and notifies the listener on completion

      For additional info see ML Delete Filter documentation

      Parameters:
      request - The request to delete the filter
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getMlInfo

      public MlInfoResponse getMlInfo(MlInfoRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Gets Machine Learning information about default values and limits.

      For additional info see Machine Learning info

      Parameters:
      request - The request of Machine Learning info
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      response info about default values and limits
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • getMlInfoAsync

      public org.elasticsearch.client.Cancellable getMlInfoAsync(MlInfoRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<MlInfoResponse> listener)
      Deprecated.
      Gets Machine Learning information about default values and limits, asynchronously.

      For additional info see Machine Learning info

      Parameters:
      request - The request of Machine Learning info
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • setUpgradeMode

      public org.elasticsearch.action.support.master.AcknowledgedResponse setUpgradeMode(SetUpgradeModeRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Sets the ML cluster setting upgrade_mode

      For additional info see Set Upgrade Mode

      Parameters:
      request - The request to set upgrade mode
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      response
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • setUpgradeModeAsync

      public org.elasticsearch.client.Cancellable setUpgradeModeAsync(SetUpgradeModeRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
      Deprecated.
      Sets the ML cluster setting upgrade_mode asynchronously

      For additional info see Set Upgrade Mode

      Parameters:
      request - The request of Machine Learning info
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • estimateModelMemory

      public EstimateModelMemoryResponse estimateModelMemory(EstimateModelMemoryRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Estimate the model memory an analysis config is likely to need given supplied field cardinalities

      For additional info see Estimate Model Memory

      Parameters:
      request - The EstimateModelMemoryRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      EstimateModelMemoryResponse response object
      Throws:
      IOException
    • estimateModelMemoryAsync

      public org.elasticsearch.client.Cancellable estimateModelMemoryAsync(EstimateModelMemoryRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<EstimateModelMemoryResponse> listener)
      Deprecated.
      Estimate the model memory an analysis config is likely to need given supplied field cardinalities and notifies listener upon completion

      For additional info see Estimate Model Memory

      Parameters:
      request - The EstimateModelMemoryRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • putDataFrameAnalytics

      public PutDataFrameAnalyticsResponse putDataFrameAnalytics(PutDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Creates a new Data Frame Analytics config

      For additional info see PUT Data Frame Analytics documentation

      Parameters:
      request - The PutDataFrameAnalyticsRequest containing the DataFrameAnalyticsConfig
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      The PutDataFrameAnalyticsResponse containing the created DataFrameAnalyticsConfig
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • putDataFrameAnalyticsAsync

      public org.elasticsearch.client.Cancellable putDataFrameAnalyticsAsync(PutDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<PutDataFrameAnalyticsResponse> listener)
      Deprecated.
      Creates a new Data Frame Analytics config asynchronously and notifies listener upon completion

      For additional info see PUT Data Frame Analytics documentation

      Parameters:
      request - The PutDataFrameAnalyticsRequest containing the DataFrameAnalyticsConfig
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • updateDataFrameAnalytics

      public PutDataFrameAnalyticsResponse updateDataFrameAnalytics(UpdateDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Updates a Data Frame Analytics config

      For additional info see PUT Data Frame Analytics documentation

      Parameters:
      request - The UpdateDataFrameAnalyticsRequest containing the DataFrameAnalyticsConfigUpdate
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      The PutDataFrameAnalyticsResponse containing the updated DataFrameAnalyticsConfig
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • updateDataFrameAnalyticsAsync

      public org.elasticsearch.client.Cancellable updateDataFrameAnalyticsAsync(UpdateDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<PutDataFrameAnalyticsResponse> listener)
      Deprecated.
      Updates a Data Frame Analytics config asynchronously and notifies listener upon completion

      For additional info see Update Data Frame Analytics documentation

      Parameters:
      request - The UpdateDataFrameAnalyticsRequest containing the DataFrameAnalyticsConfigUpdate
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getDataFrameAnalytics

      public GetDataFrameAnalyticsResponse getDataFrameAnalytics(GetDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Gets a single or multiple Data Frame Analytics configs

      For additional info see GET Data Frame Analytics documentation

      Parameters:
      request - The GetDataFrameAnalyticsRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      GetDataFrameAnalyticsResponse response object containing the DataFrameAnalyticsConfig objects
      Throws:
      IOException
    • getDataFrameAnalyticsAsync

      public org.elasticsearch.client.Cancellable getDataFrameAnalyticsAsync(GetDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetDataFrameAnalyticsResponse> listener)
      Deprecated.
      Gets a single or multiple Data Frame Analytics configs asynchronously and notifies listener upon completion

      For additional info see GET Data Frame Analytics documentation

      Parameters:
      request - The GetDataFrameAnalyticsRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getDataFrameAnalyticsStats

      public GetDataFrameAnalyticsStatsResponse getDataFrameAnalyticsStats(GetDataFrameAnalyticsStatsRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Gets the running statistics of a Data Frame Analytics

      For additional info see GET Data Frame Analytics Stats documentation

      Parameters:
      request - The GetDataFrameAnalyticsStatsRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      GetDataFrameAnalyticsStatsResponse response object
      Throws:
      IOException
    • getDataFrameAnalyticsStatsAsync

      public org.elasticsearch.client.Cancellable getDataFrameAnalyticsStatsAsync(GetDataFrameAnalyticsStatsRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetDataFrameAnalyticsStatsResponse> listener)
      Deprecated.
      Gets the running statistics of a Data Frame Analytics asynchronously and notifies listener upon completion

      For additional info see GET Data Frame Analytics Stats documentation

      Parameters:
      request - The GetDataFrameAnalyticsStatsRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • startDataFrameAnalytics

      public StartDataFrameAnalyticsResponse startDataFrameAnalytics(StartDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Starts Data Frame Analytics

      For additional info see Start Data Frame Analytics documentation

      Parameters:
      request - The StartDataFrameAnalyticsRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      action acknowledgement
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • startDataFrameAnalyticsAsync

      public org.elasticsearch.client.Cancellable startDataFrameAnalyticsAsync(StartDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<StartDataFrameAnalyticsResponse> listener)
      Deprecated.
      Starts Data Frame Analytics asynchronously and notifies listener upon completion

      For additional info see Start Data Frame Analytics documentation

      Parameters:
      request - The StartDataFrameAnalyticsRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • stopDataFrameAnalytics

      public StopDataFrameAnalyticsResponse stopDataFrameAnalytics(StopDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Stops Data Frame Analytics

      For additional info see Stop Data Frame Analytics documentation

      Parameters:
      request - The StopDataFrameAnalyticsRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      StopDataFrameAnalyticsResponse
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • stopDataFrameAnalyticsAsync

      public org.elasticsearch.client.Cancellable stopDataFrameAnalyticsAsync(StopDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<StopDataFrameAnalyticsResponse> listener)
      Deprecated.
      Stops Data Frame Analytics asynchronously and notifies listener upon completion

      For additional info see Stop Data Frame Analytics documentation

      Parameters:
      request - The StopDataFrameAnalyticsRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • deleteDataFrameAnalytics

      public org.elasticsearch.action.support.master.AcknowledgedResponse deleteDataFrameAnalytics(DeleteDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Deletes the given Data Frame Analytics config

      For additional info see DELETE Data Frame Analytics documentation

      Parameters:
      request - The DeleteDataFrameAnalyticsRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      action acknowledgement
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • deleteDataFrameAnalyticsAsync

      public org.elasticsearch.client.Cancellable deleteDataFrameAnalyticsAsync(DeleteDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
      Deprecated.
      Deletes the given Data Frame Analytics config asynchronously and notifies listener upon completion

      For additional info see DELETE Data Frame Analytics documentation

      Parameters:
      request - The DeleteDataFrameAnalyticsRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • evaluateDataFrame

      public EvaluateDataFrameResponse evaluateDataFrame(EvaluateDataFrameRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Evaluates the given Data Frame

      For additional info see Evaluate Data Frame documentation

      Parameters:
      request - The EvaluateDataFrameRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      EvaluateDataFrameResponse response object
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • evaluateDataFrameAsync

      public org.elasticsearch.client.Cancellable evaluateDataFrameAsync(EvaluateDataFrameRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<EvaluateDataFrameResponse> listener)
      Deprecated.
      Evaluates the given Data Frame asynchronously and notifies listener upon completion

      For additional info see Evaluate Data Frame documentation

      Parameters:
      request - The EvaluateDataFrameRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • explainDataFrameAnalytics

      public ExplainDataFrameAnalyticsResponse explainDataFrameAnalytics(ExplainDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Explains the given Data Frame Analytics

      For additional info see Explain Data Frame Analytics documentation

      Parameters:
      request - The ExplainDataFrameAnalyticsRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      ExplainDataFrameAnalyticsResponse response object
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • explainDataFrameAnalyticsAsync

      public org.elasticsearch.client.Cancellable explainDataFrameAnalyticsAsync(ExplainDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<ExplainDataFrameAnalyticsResponse> listener)
      Deprecated.
      Explains the given Data Frame Analytics asynchronously and notifies listener upon completion

      For additional info see Explain Data Frame Analytics documentation

      Parameters:
      request - The ExplainDataFrameAnalyticsRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getTrainedModels

      public GetTrainedModelsResponse getTrainedModels(GetTrainedModelsRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Gets trained model configs

      For additional info see GET Trained Model Configs documentation

      Parameters:
      request - The GetTrainedModelsRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      GetTrainedModelsResponse response object
      Throws:
      IOException
    • getTrainedModelsAsync

      public org.elasticsearch.client.Cancellable getTrainedModelsAsync(GetTrainedModelsRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetTrainedModelsResponse> listener)
      Deprecated.
      Gets trained model configs asynchronously and notifies listener upon completion

      For additional info see GET Trained Model Configs documentation

      Parameters:
      request - The GetTrainedModelsRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • putTrainedModel

      public PutTrainedModelResponse putTrainedModel(PutTrainedModelRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Put trained model config

      For additional info see PUT Trained Model Config documentation

      Parameters:
      request - The PutTrainedModelRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      PutTrainedModelResponse response object
      Throws:
      IOException
    • putTrainedModelAsync

      public org.elasticsearch.client.Cancellable putTrainedModelAsync(PutTrainedModelRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<PutTrainedModelResponse> listener)
      Deprecated.
      Put trained model config asynchronously and notifies listener upon completion

      For additional info see PUT Trained Model Config documentation

      Parameters:
      request - The PutTrainedModelRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getTrainedModelsStats

      public GetTrainedModelsStatsResponse getTrainedModelsStats(GetTrainedModelsStatsRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Gets trained model stats

      For additional info see GET Trained Model Stats documentation

      Parameters:
      request - The GetTrainedModelsStatsRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      GetTrainedModelsStatsResponse response object
      Throws:
      IOException
    • getTrainedModelsStatsAsync

      public org.elasticsearch.client.Cancellable getTrainedModelsStatsAsync(GetTrainedModelsStatsRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetTrainedModelsStatsResponse> listener)
      Deprecated.
      Gets trained model stats asynchronously and notifies listener upon completion

      For additional info see GET Trained Model Stats documentation

      Parameters:
      request - The GetTrainedModelsStatsRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • deleteTrainedModel

      public org.elasticsearch.action.support.master.AcknowledgedResponse deleteTrainedModel(DeleteTrainedModelRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Deletes the given Trained Model

      For additional info see DELETE Trained Model documentation

      Parameters:
      request - The DeleteTrainedModelRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      action acknowledgement
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • deleteTrainedModelAsync

      public org.elasticsearch.client.Cancellable deleteTrainedModelAsync(DeleteTrainedModelRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
      Deprecated.
      Deletes the given Trained Model asynchronously and notifies listener upon completion

      For additional info see DELETE Trained Model documentation

      Parameters:
      request - The DeleteTrainedModelRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • putTrainedModelAlias

      public org.elasticsearch.action.support.master.AcknowledgedResponse putTrainedModelAlias(PutTrainedModelAliasRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Creates or reassigns a trained model alias

      For additional info see Put Trained Model Aliases documentation

      Parameters:
      request - The PutTrainedModelAliasRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      action acknowledgement
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • putTrainedModelAliasAsync

      public org.elasticsearch.client.Cancellable putTrainedModelAliasAsync(PutTrainedModelAliasRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
      Deprecated.
      Creates or reassigns a trained model alias asynchronously and notifies listener upon completion

      For additional info see Put Trained Model Aliases documentation

      Parameters:
      request - The PutTrainedModelAliasRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • deleteTrainedModelAlias

      public org.elasticsearch.action.support.master.AcknowledgedResponse deleteTrainedModelAlias(DeleteTrainedModelAliasRequest request, org.elasticsearch.client.RequestOptions options) throws IOException
      Deprecated.
      Deletes a trained model alias

      For additional info see Delete Trained Model Aliases documentation

      Parameters:
      request - The DeleteTrainedModelAliasRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      action acknowledgement
      Throws:
      IOException - when there is a serialization issue sending the request or receiving the response
    • deleteTrainedModelAliasAsync

      public org.elasticsearch.client.Cancellable deleteTrainedModelAliasAsync(DeleteTrainedModelAliasRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
      Deprecated.
      Deletes a trained model alias asynchronously and notifies listener upon completion

      For additional info see Delete Trained Model Aliases documentation

      Parameters:
      request - The DeleteTrainedModelAliasRequest
      options - Additional request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - Listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request