All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.reactiverse.elasticsearch.client.reactivex.MachineLearningClient Maven / Gradle / Ivy

There is a newer version: 0.9.0-ec7.10.1
Show newest version
/*
 * Copyright 2014 Red Hat, Inc.
 *
 * Red Hat licenses this file to you under the Apache License, version 2.0
 * (the "License"); you may not use this file except in compliance with the
 * License.  You may obtain a copy of the License at:
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
 * License for the specific language governing permissions and limitations
 * under the License.
 */

package io.reactiverse.elasticsearch.client.reactivex;

import java.util.Map;
import io.reactivex.Observable;
import io.reactivex.Flowable;
import io.reactivex.Single;
import io.reactivex.Completable;
import io.reactivex.Maybe;
import org.elasticsearch.client.ml.GetFiltersResponse;
import org.elasticsearch.client.ml.OpenJobRequest;
import org.elasticsearch.client.ml.StartDatafeedResponse;
import org.elasticsearch.client.ml.GetOverallBucketsResponse;
import org.elasticsearch.client.ml.GetInfluencersResponse;
import org.elasticsearch.client.ml.GetJobRequest;
import org.elasticsearch.client.ml.PutCalendarJobRequest;
import org.elasticsearch.client.ml.DeleteFilterRequest;
import org.elasticsearch.client.ml.PutFilterResponse;
import org.elasticsearch.client.ml.SetUpgradeModeRequest;
import org.elasticsearch.client.RequestOptions;
import org.elasticsearch.client.ml.OpenJobResponse;
import org.elasticsearch.client.ml.PutDatafeedRequest;
import org.elasticsearch.client.ml.DeleteDatafeedRequest;
import org.elasticsearch.client.ml.GetDataFrameAnalyticsRequest;
import org.elasticsearch.client.ml.GetModelSnapshotsRequest;
import org.elasticsearch.client.ml.PutCalendarRequest;
import org.elasticsearch.client.ml.GetDatafeedResponse;
import org.elasticsearch.client.ml.DeleteForecastRequest;
import org.elasticsearch.client.ml.DeleteDataFrameAnalyticsRequest;
import org.elasticsearch.client.ml.PreviewDatafeedRequest;
import org.elasticsearch.client.ml.DeleteCalendarRequest;
import org.elasticsearch.client.ml.GetBucketsResponse;
import org.elasticsearch.client.ml.PutFilterRequest;
import org.elasticsearch.client.ml.PutDataFrameAnalyticsRequest;
import org.elasticsearch.client.ml.FlushJobRequest;
import org.elasticsearch.client.ml.GetJobStatsRequest;
import org.elasticsearch.client.ml.GetOverallBucketsRequest;
import org.elasticsearch.client.ml.DeleteJobResponse;
import org.elasticsearch.client.ml.PutDataFrameAnalyticsResponse;
import org.elasticsearch.client.ml.StopDatafeedRequest;
import org.elasticsearch.client.ml.StopDataFrameAnalyticsResponse;
import org.elasticsearch.client.ml.UpdateDatafeedRequest;
import org.elasticsearch.client.ml.StartDatafeedRequest;
import org.elasticsearch.client.ml.PostCalendarEventRequest;
import org.elasticsearch.client.ml.PutJobResponse;
import org.elasticsearch.client.ml.UpdateJobRequest;
import org.elasticsearch.client.ml.GetDatafeedStatsResponse;
import org.elasticsearch.client.ml.GetDatafeedRequest;
import org.elasticsearch.client.ml.PutDatafeedResponse;
import org.elasticsearch.client.ml.ForecastJobResponse;
import org.elasticsearch.client.ml.PostDataRequest;
import org.elasticsearch.client.ml.StopDataFrameAnalyticsRequest;
import org.elasticsearch.client.ml.GetDataFrameAnalyticsResponse;
import org.elasticsearch.client.ml.GetCalendarsResponse;
import org.elasticsearch.client.ml.DeleteExpiredDataRequest;
import org.elasticsearch.client.ml.CloseJobRequest;
import org.elasticsearch.client.ml.GetModelSnapshotsResponse;
import org.elasticsearch.client.ml.DeleteCalendarEventRequest;
import org.elasticsearch.client.ml.StopDatafeedResponse;
import org.elasticsearch.client.ml.RevertModelSnapshotRequest;
import org.elasticsearch.client.ml.DeleteModelSnapshotRequest;
import org.elasticsearch.client.ml.GetDatafeedStatsRequest;
import org.elasticsearch.client.ml.PostCalendarEventResponse;
import org.elasticsearch.client.ml.UpdateModelSnapshotResponse;
import org.elasticsearch.client.ml.FindFileStructureResponse;
import io.vertx.core.AsyncResult;
import org.elasticsearch.client.ml.UpdateModelSnapshotRequest;
import org.elasticsearch.client.ml.ForecastJobRequest;
import org.elasticsearch.client.ml.PreviewDatafeedResponse;
import org.elasticsearch.client.ml.GetJobResponse;
import org.elasticsearch.client.ml.DeleteCalendarJobRequest;
import org.elasticsearch.client.ml.GetFiltersRequest;
import org.elasticsearch.client.ml.GetDataFrameAnalyticsStatsRequest;
import org.elasticsearch.client.ml.StartDataFrameAnalyticsRequest;
import org.elasticsearch.client.ml.EvaluateDataFrameRequest;
import org.elasticsearch.client.ml.GetJobStatsResponse;
import org.elasticsearch.client.ml.GetRecordsRequest;
import org.elasticsearch.client.ml.PutCalendarResponse;
import org.elasticsearch.client.ml.GetCategoriesRequest;
import org.elasticsearch.client.ml.GetCalendarsRequest;
import org.elasticsearch.action.support.master.AcknowledgedResponse;
import org.elasticsearch.client.ml.PostDataResponse;
import org.elasticsearch.client.ml.GetCalendarEventsResponse;
import org.elasticsearch.client.ml.DeleteJobRequest;
import org.elasticsearch.client.ml.CloseJobResponse;
import org.elasticsearch.client.ml.GetInfluencersRequest;
import org.elasticsearch.client.ml.UpdateFilterRequest;
import org.elasticsearch.client.ml.GetDataFrameAnalyticsStatsResponse;
import org.elasticsearch.client.ml.FlushJobResponse;
import org.elasticsearch.client.ml.FindFileStructureRequest;
import org.elasticsearch.client.ml.GetRecordsResponse;
import org.elasticsearch.client.ml.MlInfoRequest;
import org.elasticsearch.client.ml.EstimateMemoryUsageResponse;
import org.elasticsearch.client.ml.PutJobRequest;
import org.elasticsearch.client.ml.DeleteExpiredDataResponse;
import org.elasticsearch.client.ml.MlInfoResponse;
import io.vertx.core.Handler;
import org.elasticsearch.client.ml.GetBucketsRequest;
import org.elasticsearch.client.ml.RevertModelSnapshotResponse;
import org.elasticsearch.client.ml.GetCategoriesResponse;
import org.elasticsearch.client.ml.GetCalendarEventsRequest;
import org.elasticsearch.client.ml.EvaluateDataFrameResponse;


@io.vertx.lang.rx.RxGen(io.reactiverse.elasticsearch.client.MachineLearningClient.class)
public class MachineLearningClient {

  @Override
  public String toString() {
    return delegate.toString();
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    MachineLearningClient that = (MachineLearningClient) o;
    return delegate.equals(that.delegate);
  }
  
  @Override
  public int hashCode() {
    return delegate.hashCode();
  }

  public static final io.vertx.lang.rx.TypeArg __TYPE_ARG = new io.vertx.lang.rx.TypeArg<>(    obj -> new MachineLearningClient((io.reactiverse.elasticsearch.client.MachineLearningClient) obj),
    MachineLearningClient::getDelegate
  );

  private final io.reactiverse.elasticsearch.client.MachineLearningClient delegate;
  
  public MachineLearningClient(io.reactiverse.elasticsearch.client.MachineLearningClient delegate) {
    this.delegate = delegate;
  }

  public io.reactiverse.elasticsearch.client.MachineLearningClient getDelegate() {
    return delegate;
  }

  public void putJobAsync(PutJobRequest request, RequestOptions options, Handler> handler) { 
    delegate.putJobAsync(request, options, handler);
  }

  public Single rxPutJobAsync(PutJobRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      putJobAsync(request, options, handler);
    });
  }

  public void getJobAsync(GetJobRequest request, RequestOptions options, Handler> handler) { 
    delegate.getJobAsync(request, options, handler);
  }

  public Single rxGetJobAsync(GetJobRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      getJobAsync(request, options, handler);
    });
  }

  public void getJobStatsAsync(GetJobStatsRequest request, RequestOptions options, Handler> handler) { 
    delegate.getJobStatsAsync(request, options, handler);
  }

  public Single rxGetJobStatsAsync(GetJobStatsRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      getJobStatsAsync(request, options, handler);
    });
  }

  public void deleteExpiredDataAsync(DeleteExpiredDataRequest request, RequestOptions options, Handler> handler) { 
    delegate.deleteExpiredDataAsync(request, options, handler);
  }

  public Single rxDeleteExpiredDataAsync(DeleteExpiredDataRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      deleteExpiredDataAsync(request, options, handler);
    });
  }

  public void deleteJobAsync(DeleteJobRequest request, RequestOptions options, Handler> handler) { 
    delegate.deleteJobAsync(request, options, handler);
  }

  public Single rxDeleteJobAsync(DeleteJobRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      deleteJobAsync(request, options, handler);
    });
  }

  public void openJobAsync(OpenJobRequest request, RequestOptions options, Handler> handler) { 
    delegate.openJobAsync(request, options, handler);
  }

  public Single rxOpenJobAsync(OpenJobRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      openJobAsync(request, options, handler);
    });
  }

  public void closeJobAsync(CloseJobRequest request, RequestOptions options, Handler> handler) { 
    delegate.closeJobAsync(request, options, handler);
  }

  public Single rxCloseJobAsync(CloseJobRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      closeJobAsync(request, options, handler);
    });
  }

  public void flushJobAsync(FlushJobRequest request, RequestOptions options, Handler> handler) { 
    delegate.flushJobAsync(request, options, handler);
  }

  public Single rxFlushJobAsync(FlushJobRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      flushJobAsync(request, options, handler);
    });
  }

  public void forecastJobAsync(ForecastJobRequest request, RequestOptions options, Handler> handler) { 
    delegate.forecastJobAsync(request, options, handler);
  }

  public Single rxForecastJobAsync(ForecastJobRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      forecastJobAsync(request, options, handler);
    });
  }

  public void deleteForecastAsync(DeleteForecastRequest request, RequestOptions options, Handler> handler) { 
    delegate.deleteForecastAsync(request, options, handler);
  }

  public Single rxDeleteForecastAsync(DeleteForecastRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      deleteForecastAsync(request, options, handler);
    });
  }

  public void deleteModelSnapshotAsync(DeleteModelSnapshotRequest request, RequestOptions options, Handler> handler) { 
    delegate.deleteModelSnapshotAsync(request, options, handler);
  }

  public Single rxDeleteModelSnapshotAsync(DeleteModelSnapshotRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      deleteModelSnapshotAsync(request, options, handler);
    });
  }

  public void revertModelSnapshotAsync(RevertModelSnapshotRequest request, RequestOptions options, Handler> handler) { 
    delegate.revertModelSnapshotAsync(request, options, handler);
  }

  public Single rxRevertModelSnapshotAsync(RevertModelSnapshotRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      revertModelSnapshotAsync(request, options, handler);
    });
  }

  public void putDatafeedAsync(PutDatafeedRequest request, RequestOptions options, Handler> handler) { 
    delegate.putDatafeedAsync(request, options, handler);
  }

  public Single rxPutDatafeedAsync(PutDatafeedRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      putDatafeedAsync(request, options, handler);
    });
  }

  public void updateDatafeedAsync(UpdateDatafeedRequest request, RequestOptions options, Handler> handler) { 
    delegate.updateDatafeedAsync(request, options, handler);
  }

  public Single rxUpdateDatafeedAsync(UpdateDatafeedRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      updateDatafeedAsync(request, options, handler);
    });
  }

  public void getDatafeedAsync(GetDatafeedRequest request, RequestOptions options, Handler> handler) { 
    delegate.getDatafeedAsync(request, options, handler);
  }

  public Single rxGetDatafeedAsync(GetDatafeedRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      getDatafeedAsync(request, options, handler);
    });
  }

  public void deleteDatafeedAsync(DeleteDatafeedRequest request, RequestOptions options, Handler> handler) { 
    delegate.deleteDatafeedAsync(request, options, handler);
  }

  public Single rxDeleteDatafeedAsync(DeleteDatafeedRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      deleteDatafeedAsync(request, options, handler);
    });
  }

  public void startDatafeedAsync(StartDatafeedRequest request, RequestOptions options, Handler> handler) { 
    delegate.startDatafeedAsync(request, options, handler);
  }

  public Single rxStartDatafeedAsync(StartDatafeedRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      startDatafeedAsync(request, options, handler);
    });
  }

  public void stopDatafeedAsync(StopDatafeedRequest request, RequestOptions options, Handler> handler) { 
    delegate.stopDatafeedAsync(request, options, handler);
  }

  public Single rxStopDatafeedAsync(StopDatafeedRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      stopDatafeedAsync(request, options, handler);
    });
  }

  public void getDatafeedStatsAsync(GetDatafeedStatsRequest request, RequestOptions options, Handler> handler) { 
    delegate.getDatafeedStatsAsync(request, options, handler);
  }

  public Single rxGetDatafeedStatsAsync(GetDatafeedStatsRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      getDatafeedStatsAsync(request, options, handler);
    });
  }

  public void previewDatafeedAsync(PreviewDatafeedRequest request, RequestOptions options, Handler> handler) { 
    delegate.previewDatafeedAsync(request, options, handler);
  }

  public Single rxPreviewDatafeedAsync(PreviewDatafeedRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      previewDatafeedAsync(request, options, handler);
    });
  }

  public void updateJobAsync(UpdateJobRequest request, RequestOptions options, Handler> handler) { 
    delegate.updateJobAsync(request, options, handler);
  }

  public Single rxUpdateJobAsync(UpdateJobRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      updateJobAsync(request, options, handler);
    });
  }

  public void getBucketsAsync(GetBucketsRequest request, RequestOptions options, Handler> handler) { 
    delegate.getBucketsAsync(request, options, handler);
  }

  public Single rxGetBucketsAsync(GetBucketsRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      getBucketsAsync(request, options, handler);
    });
  }

  public void getCategoriesAsync(GetCategoriesRequest request, RequestOptions options, Handler> handler) { 
    delegate.getCategoriesAsync(request, options, handler);
  }

  public Single rxGetCategoriesAsync(GetCategoriesRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      getCategoriesAsync(request, options, handler);
    });
  }

  public void getModelSnapshotsAsync(GetModelSnapshotsRequest request, RequestOptions options, Handler> handler) { 
    delegate.getModelSnapshotsAsync(request, options, handler);
  }

  public Single rxGetModelSnapshotsAsync(GetModelSnapshotsRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      getModelSnapshotsAsync(request, options, handler);
    });
  }

  public void updateModelSnapshotAsync(UpdateModelSnapshotRequest request, RequestOptions options, Handler> handler) { 
    delegate.updateModelSnapshotAsync(request, options, handler);
  }

  public Single rxUpdateModelSnapshotAsync(UpdateModelSnapshotRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      updateModelSnapshotAsync(request, options, handler);
    });
  }

  public void getOverallBucketsAsync(GetOverallBucketsRequest request, RequestOptions options, Handler> handler) { 
    delegate.getOverallBucketsAsync(request, options, handler);
  }

  public Single rxGetOverallBucketsAsync(GetOverallBucketsRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      getOverallBucketsAsync(request, options, handler);
    });
  }

  public void getRecordsAsync(GetRecordsRequest request, RequestOptions options, Handler> handler) { 
    delegate.getRecordsAsync(request, options, handler);
  }

  public Single rxGetRecordsAsync(GetRecordsRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      getRecordsAsync(request, options, handler);
    });
  }

  public void postDataAsync(PostDataRequest request, RequestOptions options, Handler> handler) { 
    delegate.postDataAsync(request, options, handler);
  }

  public Single rxPostDataAsync(PostDataRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      postDataAsync(request, options, handler);
    });
  }

  public void getCalendarsAsync(GetCalendarsRequest request, RequestOptions options, Handler> handler) { 
    delegate.getCalendarsAsync(request, options, handler);
  }

  public Single rxGetCalendarsAsync(GetCalendarsRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      getCalendarsAsync(request, options, handler);
    });
  }

  public void getInfluencersAsync(GetInfluencersRequest request, RequestOptions options, Handler> handler) { 
    delegate.getInfluencersAsync(request, options, handler);
  }

  public Single rxGetInfluencersAsync(GetInfluencersRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      getInfluencersAsync(request, options, handler);
    });
  }

  public void putCalendarAsync(PutCalendarRequest request, RequestOptions options, Handler> handler) { 
    delegate.putCalendarAsync(request, options, handler);
  }

  public Single rxPutCalendarAsync(PutCalendarRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      putCalendarAsync(request, options, handler);
    });
  }

  public void putCalendarJobAsync(PutCalendarJobRequest request, RequestOptions options, Handler> handler) { 
    delegate.putCalendarJobAsync(request, options, handler);
  }

  public Single rxPutCalendarJobAsync(PutCalendarJobRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      putCalendarJobAsync(request, options, handler);
    });
  }

  public void deleteCalendarJobAsync(DeleteCalendarJobRequest request, RequestOptions options, Handler> handler) { 
    delegate.deleteCalendarJobAsync(request, options, handler);
  }

  public Single rxDeleteCalendarJobAsync(DeleteCalendarJobRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      deleteCalendarJobAsync(request, options, handler);
    });
  }

  public void deleteCalendarAsync(DeleteCalendarRequest request, RequestOptions options, Handler> handler) { 
    delegate.deleteCalendarAsync(request, options, handler);
  }

  public Single rxDeleteCalendarAsync(DeleteCalendarRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      deleteCalendarAsync(request, options, handler);
    });
  }

  public void getCalendarEventsAsync(GetCalendarEventsRequest request, RequestOptions options, Handler> handler) { 
    delegate.getCalendarEventsAsync(request, options, handler);
  }

  public Single rxGetCalendarEventsAsync(GetCalendarEventsRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      getCalendarEventsAsync(request, options, handler);
    });
  }

  public void postCalendarEventAsync(PostCalendarEventRequest request, RequestOptions options, Handler> handler) { 
    delegate.postCalendarEventAsync(request, options, handler);
  }

  public Single rxPostCalendarEventAsync(PostCalendarEventRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      postCalendarEventAsync(request, options, handler);
    });
  }

  public void deleteCalendarEventAsync(DeleteCalendarEventRequest request, RequestOptions options, Handler> handler) { 
    delegate.deleteCalendarEventAsync(request, options, handler);
  }

  public Single rxDeleteCalendarEventAsync(DeleteCalendarEventRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      deleteCalendarEventAsync(request, options, handler);
    });
  }

  public void putFilterAsync(PutFilterRequest request, RequestOptions options, Handler> handler) { 
    delegate.putFilterAsync(request, options, handler);
  }

  public Single rxPutFilterAsync(PutFilterRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      putFilterAsync(request, options, handler);
    });
  }

  public void getFilterAsync(GetFiltersRequest request, RequestOptions options, Handler> handler) { 
    delegate.getFilterAsync(request, options, handler);
  }

  public Single rxGetFilterAsync(GetFiltersRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      getFilterAsync(request, options, handler);
    });
  }

  public void updateFilterAsync(UpdateFilterRequest request, RequestOptions options, Handler> handler) { 
    delegate.updateFilterAsync(request, options, handler);
  }

  public Single rxUpdateFilterAsync(UpdateFilterRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      updateFilterAsync(request, options, handler);
    });
  }

  public void deleteFilterAsync(DeleteFilterRequest request, RequestOptions options, Handler> handler) { 
    delegate.deleteFilterAsync(request, options, handler);
  }

  public Single rxDeleteFilterAsync(DeleteFilterRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      deleteFilterAsync(request, options, handler);
    });
  }

  public void getMlInfoAsync(MlInfoRequest request, RequestOptions options, Handler> handler) { 
    delegate.getMlInfoAsync(request, options, handler);
  }

  public Single rxGetMlInfoAsync(MlInfoRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      getMlInfoAsync(request, options, handler);
    });
  }

  public void findFileStructureAsync(FindFileStructureRequest request, RequestOptions options, Handler> handler) { 
    delegate.findFileStructureAsync(request, options, handler);
  }

  public Single rxFindFileStructureAsync(FindFileStructureRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      findFileStructureAsync(request, options, handler);
    });
  }

  public void setUpgradeModeAsync(SetUpgradeModeRequest request, RequestOptions options, Handler> handler) { 
    delegate.setUpgradeModeAsync(request, options, handler);
  }

  public Single rxSetUpgradeModeAsync(SetUpgradeModeRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      setUpgradeModeAsync(request, options, handler);
    });
  }

  public void putDataFrameAnalyticsAsync(PutDataFrameAnalyticsRequest request, RequestOptions options, Handler> handler) { 
    delegate.putDataFrameAnalyticsAsync(request, options, handler);
  }

  public Single rxPutDataFrameAnalyticsAsync(PutDataFrameAnalyticsRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      putDataFrameAnalyticsAsync(request, options, handler);
    });
  }

  public void getDataFrameAnalyticsAsync(GetDataFrameAnalyticsRequest request, RequestOptions options, Handler> handler) { 
    delegate.getDataFrameAnalyticsAsync(request, options, handler);
  }

  public Single rxGetDataFrameAnalyticsAsync(GetDataFrameAnalyticsRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      getDataFrameAnalyticsAsync(request, options, handler);
    });
  }

  public void getDataFrameAnalyticsStatsAsync(GetDataFrameAnalyticsStatsRequest request, RequestOptions options, Handler> handler) { 
    delegate.getDataFrameAnalyticsStatsAsync(request, options, handler);
  }

  public Single rxGetDataFrameAnalyticsStatsAsync(GetDataFrameAnalyticsStatsRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      getDataFrameAnalyticsStatsAsync(request, options, handler);
    });
  }

  public void startDataFrameAnalyticsAsync(StartDataFrameAnalyticsRequest request, RequestOptions options, Handler> handler) { 
    delegate.startDataFrameAnalyticsAsync(request, options, handler);
  }

  public Single rxStartDataFrameAnalyticsAsync(StartDataFrameAnalyticsRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      startDataFrameAnalyticsAsync(request, options, handler);
    });
  }

  public void stopDataFrameAnalyticsAsync(StopDataFrameAnalyticsRequest request, RequestOptions options, Handler> handler) { 
    delegate.stopDataFrameAnalyticsAsync(request, options, handler);
  }

  public Single rxStopDataFrameAnalyticsAsync(StopDataFrameAnalyticsRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      stopDataFrameAnalyticsAsync(request, options, handler);
    });
  }

  public void deleteDataFrameAnalyticsAsync(DeleteDataFrameAnalyticsRequest request, RequestOptions options, Handler> handler) { 
    delegate.deleteDataFrameAnalyticsAsync(request, options, handler);
  }

  public Single rxDeleteDataFrameAnalyticsAsync(DeleteDataFrameAnalyticsRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      deleteDataFrameAnalyticsAsync(request, options, handler);
    });
  }

  public void evaluateDataFrameAsync(EvaluateDataFrameRequest request, RequestOptions options, Handler> handler) { 
    delegate.evaluateDataFrameAsync(request, options, handler);
  }

  public Single rxEvaluateDataFrameAsync(EvaluateDataFrameRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      evaluateDataFrameAsync(request, options, handler);
    });
  }

  public void estimateMemoryUsageAsync(PutDataFrameAnalyticsRequest request, RequestOptions options, Handler> handler) { 
    delegate.estimateMemoryUsageAsync(request, options, handler);
  }

  public Single rxEstimateMemoryUsageAsync(PutDataFrameAnalyticsRequest request, RequestOptions options) { 
    return io.vertx.reactivex.impl.AsyncResultSingle.toSingle(handler -> {
      estimateMemoryUsageAsync(request, options, handler);
    });
  }


  public static  MachineLearningClient newInstance(io.reactiverse.elasticsearch.client.MachineLearningClient arg) {
    return arg != null ? new MachineLearningClient(arg) : null;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy