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

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

The 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 io.vertx.reactivex.RxHelper;
import io.vertx.reactivex.ObservableHelper;
import io.vertx.reactivex.FlowableHelper;
import io.vertx.reactivex.impl.AsyncResultMaybe;
import io.vertx.reactivex.impl.AsyncResultSingle;
import io.vertx.reactivex.impl.AsyncResultCompletable;
import io.vertx.reactivex.WriteStreamObserver;
import io.vertx.reactivex.WriteStreamSubscriber;
import java.util.Map;
import java.util.Set;
import java.util.List;
import java.util.Iterator;
import java.util.function.Function;
import java.util.stream.Collectors;
import io.vertx.core.Handler;
import io.vertx.core.AsyncResult;
import io.vertx.core.json.JsonObject;
import io.vertx.core.json.JsonArray;
import io.vertx.lang.rx.RxGen;
import io.vertx.lang.rx.TypeArg;
import io.vertx.lang.rx.MappingIterator;


@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 TypeArg __TYPE_ARG = new 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 MachineLearningClient(Object delegate) {
    this.delegate = (io.reactiverse.elasticsearch.client.MachineLearningClient)delegate;
  }

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

  public void putJobAsync(org.elasticsearch.client.ml.PutJobRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.putJobAsync(request, options, handler);
  }

  public void putJobAsync(org.elasticsearch.client.ml.PutJobRequest request, org.elasticsearch.client.RequestOptions options) {
    putJobAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxPutJobAsync(org.elasticsearch.client.ml.PutJobRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      putJobAsync(request, options, $handler);
    });
  }

  public void getJobAsync(org.elasticsearch.client.ml.GetJobRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.getJobAsync(request, options, handler);
  }

  public void getJobAsync(org.elasticsearch.client.ml.GetJobRequest request, org.elasticsearch.client.RequestOptions options) {
    getJobAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxGetJobAsync(org.elasticsearch.client.ml.GetJobRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      getJobAsync(request, options, $handler);
    });
  }

  public void getJobStatsAsync(org.elasticsearch.client.ml.GetJobStatsRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.getJobStatsAsync(request, options, handler);
  }

  public void getJobStatsAsync(org.elasticsearch.client.ml.GetJobStatsRequest request, org.elasticsearch.client.RequestOptions options) {
    getJobStatsAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxGetJobStatsAsync(org.elasticsearch.client.ml.GetJobStatsRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      getJobStatsAsync(request, options, $handler);
    });
  }

  public void deleteExpiredDataAsync(org.elasticsearch.client.ml.DeleteExpiredDataRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.deleteExpiredDataAsync(request, options, handler);
  }

  public void deleteExpiredDataAsync(org.elasticsearch.client.ml.DeleteExpiredDataRequest request, org.elasticsearch.client.RequestOptions options) {
    deleteExpiredDataAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxDeleteExpiredDataAsync(org.elasticsearch.client.ml.DeleteExpiredDataRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      deleteExpiredDataAsync(request, options, $handler);
    });
  }

  public void deleteJobAsync(org.elasticsearch.client.ml.DeleteJobRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.deleteJobAsync(request, options, handler);
  }

  public void deleteJobAsync(org.elasticsearch.client.ml.DeleteJobRequest request, org.elasticsearch.client.RequestOptions options) {
    deleteJobAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxDeleteJobAsync(org.elasticsearch.client.ml.DeleteJobRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      deleteJobAsync(request, options, $handler);
    });
  }

  public void openJobAsync(org.elasticsearch.client.ml.OpenJobRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.openJobAsync(request, options, handler);
  }

  public void openJobAsync(org.elasticsearch.client.ml.OpenJobRequest request, org.elasticsearch.client.RequestOptions options) {
    openJobAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxOpenJobAsync(org.elasticsearch.client.ml.OpenJobRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      openJobAsync(request, options, $handler);
    });
  }

  public void closeJobAsync(org.elasticsearch.client.ml.CloseJobRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.closeJobAsync(request, options, handler);
  }

  public void closeJobAsync(org.elasticsearch.client.ml.CloseJobRequest request, org.elasticsearch.client.RequestOptions options) {
    closeJobAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxCloseJobAsync(org.elasticsearch.client.ml.CloseJobRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      closeJobAsync(request, options, $handler);
    });
  }

  public void flushJobAsync(org.elasticsearch.client.ml.FlushJobRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.flushJobAsync(request, options, handler);
  }

  public void flushJobAsync(org.elasticsearch.client.ml.FlushJobRequest request, org.elasticsearch.client.RequestOptions options) {
    flushJobAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxFlushJobAsync(org.elasticsearch.client.ml.FlushJobRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      flushJobAsync(request, options, $handler);
    });
  }

  public void forecastJobAsync(org.elasticsearch.client.ml.ForecastJobRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.forecastJobAsync(request, options, handler);
  }

  public void forecastJobAsync(org.elasticsearch.client.ml.ForecastJobRequest request, org.elasticsearch.client.RequestOptions options) {
    forecastJobAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxForecastJobAsync(org.elasticsearch.client.ml.ForecastJobRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      forecastJobAsync(request, options, $handler);
    });
  }

  public void deleteForecastAsync(org.elasticsearch.client.ml.DeleteForecastRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.deleteForecastAsync(request, options, handler);
  }

  public void deleteForecastAsync(org.elasticsearch.client.ml.DeleteForecastRequest request, org.elasticsearch.client.RequestOptions options) {
    deleteForecastAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxDeleteForecastAsync(org.elasticsearch.client.ml.DeleteForecastRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      deleteForecastAsync(request, options, $handler);
    });
  }

  public void deleteModelSnapshotAsync(org.elasticsearch.client.ml.DeleteModelSnapshotRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.deleteModelSnapshotAsync(request, options, handler);
  }

  public void deleteModelSnapshotAsync(org.elasticsearch.client.ml.DeleteModelSnapshotRequest request, org.elasticsearch.client.RequestOptions options) {
    deleteModelSnapshotAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxDeleteModelSnapshotAsync(org.elasticsearch.client.ml.DeleteModelSnapshotRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      deleteModelSnapshotAsync(request, options, $handler);
    });
  }

  public void revertModelSnapshotAsync(org.elasticsearch.client.ml.RevertModelSnapshotRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.revertModelSnapshotAsync(request, options, handler);
  }

  public void revertModelSnapshotAsync(org.elasticsearch.client.ml.RevertModelSnapshotRequest request, org.elasticsearch.client.RequestOptions options) {
    revertModelSnapshotAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxRevertModelSnapshotAsync(org.elasticsearch.client.ml.RevertModelSnapshotRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      revertModelSnapshotAsync(request, options, $handler);
    });
  }

  public void putDatafeedAsync(org.elasticsearch.client.ml.PutDatafeedRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.putDatafeedAsync(request, options, handler);
  }

  public void putDatafeedAsync(org.elasticsearch.client.ml.PutDatafeedRequest request, org.elasticsearch.client.RequestOptions options) {
    putDatafeedAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxPutDatafeedAsync(org.elasticsearch.client.ml.PutDatafeedRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      putDatafeedAsync(request, options, $handler);
    });
  }

  public void updateDatafeedAsync(org.elasticsearch.client.ml.UpdateDatafeedRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.updateDatafeedAsync(request, options, handler);
  }

  public void updateDatafeedAsync(org.elasticsearch.client.ml.UpdateDatafeedRequest request, org.elasticsearch.client.RequestOptions options) {
    updateDatafeedAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxUpdateDatafeedAsync(org.elasticsearch.client.ml.UpdateDatafeedRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      updateDatafeedAsync(request, options, $handler);
    });
  }

  public void getDatafeedAsync(org.elasticsearch.client.ml.GetDatafeedRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.getDatafeedAsync(request, options, handler);
  }

  public void getDatafeedAsync(org.elasticsearch.client.ml.GetDatafeedRequest request, org.elasticsearch.client.RequestOptions options) {
    getDatafeedAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxGetDatafeedAsync(org.elasticsearch.client.ml.GetDatafeedRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      getDatafeedAsync(request, options, $handler);
    });
  }

  public void deleteDatafeedAsync(org.elasticsearch.client.ml.DeleteDatafeedRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.deleteDatafeedAsync(request, options, handler);
  }

  public void deleteDatafeedAsync(org.elasticsearch.client.ml.DeleteDatafeedRequest request, org.elasticsearch.client.RequestOptions options) {
    deleteDatafeedAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxDeleteDatafeedAsync(org.elasticsearch.client.ml.DeleteDatafeedRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      deleteDatafeedAsync(request, options, $handler);
    });
  }

  public void startDatafeedAsync(org.elasticsearch.client.ml.StartDatafeedRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.startDatafeedAsync(request, options, handler);
  }

  public void startDatafeedAsync(org.elasticsearch.client.ml.StartDatafeedRequest request, org.elasticsearch.client.RequestOptions options) {
    startDatafeedAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxStartDatafeedAsync(org.elasticsearch.client.ml.StartDatafeedRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      startDatafeedAsync(request, options, $handler);
    });
  }

  public void stopDatafeedAsync(org.elasticsearch.client.ml.StopDatafeedRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.stopDatafeedAsync(request, options, handler);
  }

  public void stopDatafeedAsync(org.elasticsearch.client.ml.StopDatafeedRequest request, org.elasticsearch.client.RequestOptions options) {
    stopDatafeedAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxStopDatafeedAsync(org.elasticsearch.client.ml.StopDatafeedRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      stopDatafeedAsync(request, options, $handler);
    });
  }

  public void getDatafeedStatsAsync(org.elasticsearch.client.ml.GetDatafeedStatsRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.getDatafeedStatsAsync(request, options, handler);
  }

  public void getDatafeedStatsAsync(org.elasticsearch.client.ml.GetDatafeedStatsRequest request, org.elasticsearch.client.RequestOptions options) {
    getDatafeedStatsAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxGetDatafeedStatsAsync(org.elasticsearch.client.ml.GetDatafeedStatsRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      getDatafeedStatsAsync(request, options, $handler);
    });
  }

  public void previewDatafeedAsync(org.elasticsearch.client.ml.PreviewDatafeedRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.previewDatafeedAsync(request, options, handler);
  }

  public void previewDatafeedAsync(org.elasticsearch.client.ml.PreviewDatafeedRequest request, org.elasticsearch.client.RequestOptions options) {
    previewDatafeedAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxPreviewDatafeedAsync(org.elasticsearch.client.ml.PreviewDatafeedRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      previewDatafeedAsync(request, options, $handler);
    });
  }

  public void updateJobAsync(org.elasticsearch.client.ml.UpdateJobRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.updateJobAsync(request, options, handler);
  }

  public void updateJobAsync(org.elasticsearch.client.ml.UpdateJobRequest request, org.elasticsearch.client.RequestOptions options) {
    updateJobAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxUpdateJobAsync(org.elasticsearch.client.ml.UpdateJobRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      updateJobAsync(request, options, $handler);
    });
  }

  public void getBucketsAsync(org.elasticsearch.client.ml.GetBucketsRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.getBucketsAsync(request, options, handler);
  }

  public void getBucketsAsync(org.elasticsearch.client.ml.GetBucketsRequest request, org.elasticsearch.client.RequestOptions options) {
    getBucketsAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxGetBucketsAsync(org.elasticsearch.client.ml.GetBucketsRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      getBucketsAsync(request, options, $handler);
    });
  }

  public void getCategoriesAsync(org.elasticsearch.client.ml.GetCategoriesRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.getCategoriesAsync(request, options, handler);
  }

  public void getCategoriesAsync(org.elasticsearch.client.ml.GetCategoriesRequest request, org.elasticsearch.client.RequestOptions options) {
    getCategoriesAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxGetCategoriesAsync(org.elasticsearch.client.ml.GetCategoriesRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      getCategoriesAsync(request, options, $handler);
    });
  }

  public void getModelSnapshotsAsync(org.elasticsearch.client.ml.GetModelSnapshotsRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.getModelSnapshotsAsync(request, options, handler);
  }

  public void getModelSnapshotsAsync(org.elasticsearch.client.ml.GetModelSnapshotsRequest request, org.elasticsearch.client.RequestOptions options) {
    getModelSnapshotsAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxGetModelSnapshotsAsync(org.elasticsearch.client.ml.GetModelSnapshotsRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      getModelSnapshotsAsync(request, options, $handler);
    });
  }

  public void updateModelSnapshotAsync(org.elasticsearch.client.ml.UpdateModelSnapshotRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.updateModelSnapshotAsync(request, options, handler);
  }

  public void updateModelSnapshotAsync(org.elasticsearch.client.ml.UpdateModelSnapshotRequest request, org.elasticsearch.client.RequestOptions options) {
    updateModelSnapshotAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxUpdateModelSnapshotAsync(org.elasticsearch.client.ml.UpdateModelSnapshotRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      updateModelSnapshotAsync(request, options, $handler);
    });
  }

  public void getOverallBucketsAsync(org.elasticsearch.client.ml.GetOverallBucketsRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.getOverallBucketsAsync(request, options, handler);
  }

  public void getOverallBucketsAsync(org.elasticsearch.client.ml.GetOverallBucketsRequest request, org.elasticsearch.client.RequestOptions options) {
    getOverallBucketsAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxGetOverallBucketsAsync(org.elasticsearch.client.ml.GetOverallBucketsRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      getOverallBucketsAsync(request, options, $handler);
    });
  }

  public void getRecordsAsync(org.elasticsearch.client.ml.GetRecordsRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.getRecordsAsync(request, options, handler);
  }

  public void getRecordsAsync(org.elasticsearch.client.ml.GetRecordsRequest request, org.elasticsearch.client.RequestOptions options) {
    getRecordsAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxGetRecordsAsync(org.elasticsearch.client.ml.GetRecordsRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      getRecordsAsync(request, options, $handler);
    });
  }

  public void postDataAsync(org.elasticsearch.client.ml.PostDataRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.postDataAsync(request, options, handler);
  }

  public void postDataAsync(org.elasticsearch.client.ml.PostDataRequest request, org.elasticsearch.client.RequestOptions options) {
    postDataAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxPostDataAsync(org.elasticsearch.client.ml.PostDataRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      postDataAsync(request, options, $handler);
    });
  }

  public void getCalendarsAsync(org.elasticsearch.client.ml.GetCalendarsRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.getCalendarsAsync(request, options, handler);
  }

  public void getCalendarsAsync(org.elasticsearch.client.ml.GetCalendarsRequest request, org.elasticsearch.client.RequestOptions options) {
    getCalendarsAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxGetCalendarsAsync(org.elasticsearch.client.ml.GetCalendarsRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      getCalendarsAsync(request, options, $handler);
    });
  }

  public void getInfluencersAsync(org.elasticsearch.client.ml.GetInfluencersRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.getInfluencersAsync(request, options, handler);
  }

  public void getInfluencersAsync(org.elasticsearch.client.ml.GetInfluencersRequest request, org.elasticsearch.client.RequestOptions options) {
    getInfluencersAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxGetInfluencersAsync(org.elasticsearch.client.ml.GetInfluencersRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      getInfluencersAsync(request, options, $handler);
    });
  }

  public void putCalendarAsync(org.elasticsearch.client.ml.PutCalendarRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.putCalendarAsync(request, options, handler);
  }

  public void putCalendarAsync(org.elasticsearch.client.ml.PutCalendarRequest request, org.elasticsearch.client.RequestOptions options) {
    putCalendarAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxPutCalendarAsync(org.elasticsearch.client.ml.PutCalendarRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      putCalendarAsync(request, options, $handler);
    });
  }

  public void putCalendarJobAsync(org.elasticsearch.client.ml.PutCalendarJobRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.putCalendarJobAsync(request, options, handler);
  }

  public void putCalendarJobAsync(org.elasticsearch.client.ml.PutCalendarJobRequest request, org.elasticsearch.client.RequestOptions options) {
    putCalendarJobAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxPutCalendarJobAsync(org.elasticsearch.client.ml.PutCalendarJobRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      putCalendarJobAsync(request, options, $handler);
    });
  }

  public void deleteCalendarJobAsync(org.elasticsearch.client.ml.DeleteCalendarJobRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.deleteCalendarJobAsync(request, options, handler);
  }

  public void deleteCalendarJobAsync(org.elasticsearch.client.ml.DeleteCalendarJobRequest request, org.elasticsearch.client.RequestOptions options) {
    deleteCalendarJobAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxDeleteCalendarJobAsync(org.elasticsearch.client.ml.DeleteCalendarJobRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      deleteCalendarJobAsync(request, options, $handler);
    });
  }

  public void deleteCalendarAsync(org.elasticsearch.client.ml.DeleteCalendarRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.deleteCalendarAsync(request, options, handler);
  }

  public void deleteCalendarAsync(org.elasticsearch.client.ml.DeleteCalendarRequest request, org.elasticsearch.client.RequestOptions options) {
    deleteCalendarAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxDeleteCalendarAsync(org.elasticsearch.client.ml.DeleteCalendarRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      deleteCalendarAsync(request, options, $handler);
    });
  }

  public void getCalendarEventsAsync(org.elasticsearch.client.ml.GetCalendarEventsRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.getCalendarEventsAsync(request, options, handler);
  }

  public void getCalendarEventsAsync(org.elasticsearch.client.ml.GetCalendarEventsRequest request, org.elasticsearch.client.RequestOptions options) {
    getCalendarEventsAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxGetCalendarEventsAsync(org.elasticsearch.client.ml.GetCalendarEventsRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      getCalendarEventsAsync(request, options, $handler);
    });
  }

  public void postCalendarEventAsync(org.elasticsearch.client.ml.PostCalendarEventRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.postCalendarEventAsync(request, options, handler);
  }

  public void postCalendarEventAsync(org.elasticsearch.client.ml.PostCalendarEventRequest request, org.elasticsearch.client.RequestOptions options) {
    postCalendarEventAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxPostCalendarEventAsync(org.elasticsearch.client.ml.PostCalendarEventRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      postCalendarEventAsync(request, options, $handler);
    });
  }

  public void deleteCalendarEventAsync(org.elasticsearch.client.ml.DeleteCalendarEventRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.deleteCalendarEventAsync(request, options, handler);
  }

  public void deleteCalendarEventAsync(org.elasticsearch.client.ml.DeleteCalendarEventRequest request, org.elasticsearch.client.RequestOptions options) {
    deleteCalendarEventAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxDeleteCalendarEventAsync(org.elasticsearch.client.ml.DeleteCalendarEventRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      deleteCalendarEventAsync(request, options, $handler);
    });
  }

  public void putFilterAsync(org.elasticsearch.client.ml.PutFilterRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.putFilterAsync(request, options, handler);
  }

  public void putFilterAsync(org.elasticsearch.client.ml.PutFilterRequest request, org.elasticsearch.client.RequestOptions options) {
    putFilterAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxPutFilterAsync(org.elasticsearch.client.ml.PutFilterRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      putFilterAsync(request, options, $handler);
    });
  }

  public void getFilterAsync(org.elasticsearch.client.ml.GetFiltersRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.getFilterAsync(request, options, handler);
  }

  public void getFilterAsync(org.elasticsearch.client.ml.GetFiltersRequest request, org.elasticsearch.client.RequestOptions options) {
    getFilterAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxGetFilterAsync(org.elasticsearch.client.ml.GetFiltersRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      getFilterAsync(request, options, $handler);
    });
  }

  public void updateFilterAsync(org.elasticsearch.client.ml.UpdateFilterRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.updateFilterAsync(request, options, handler);
  }

  public void updateFilterAsync(org.elasticsearch.client.ml.UpdateFilterRequest request, org.elasticsearch.client.RequestOptions options) {
    updateFilterAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxUpdateFilterAsync(org.elasticsearch.client.ml.UpdateFilterRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      updateFilterAsync(request, options, $handler);
    });
  }

  public void deleteFilterAsync(org.elasticsearch.client.ml.DeleteFilterRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.deleteFilterAsync(request, options, handler);
  }

  public void deleteFilterAsync(org.elasticsearch.client.ml.DeleteFilterRequest request, org.elasticsearch.client.RequestOptions options) {
    deleteFilterAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxDeleteFilterAsync(org.elasticsearch.client.ml.DeleteFilterRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      deleteFilterAsync(request, options, $handler);
    });
  }

  public void getMlInfoAsync(org.elasticsearch.client.ml.MlInfoRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.getMlInfoAsync(request, options, handler);
  }

  public void getMlInfoAsync(org.elasticsearch.client.ml.MlInfoRequest request, org.elasticsearch.client.RequestOptions options) {
    getMlInfoAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxGetMlInfoAsync(org.elasticsearch.client.ml.MlInfoRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      getMlInfoAsync(request, options, $handler);
    });
  }

  public void findFileStructureAsync(org.elasticsearch.client.ml.FindFileStructureRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.findFileStructureAsync(request, options, handler);
  }

  public void findFileStructureAsync(org.elasticsearch.client.ml.FindFileStructureRequest request, org.elasticsearch.client.RequestOptions options) {
    findFileStructureAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxFindFileStructureAsync(org.elasticsearch.client.ml.FindFileStructureRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      findFileStructureAsync(request, options, $handler);
    });
  }

  public void setUpgradeModeAsync(org.elasticsearch.client.ml.SetUpgradeModeRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.setUpgradeModeAsync(request, options, handler);
  }

  public void setUpgradeModeAsync(org.elasticsearch.client.ml.SetUpgradeModeRequest request, org.elasticsearch.client.RequestOptions options) {
    setUpgradeModeAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxSetUpgradeModeAsync(org.elasticsearch.client.ml.SetUpgradeModeRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      setUpgradeModeAsync(request, options, $handler);
    });
  }

  public void estimateModelMemoryAsync(org.elasticsearch.client.ml.EstimateModelMemoryRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.estimateModelMemoryAsync(request, options, handler);
  }

  public void estimateModelMemoryAsync(org.elasticsearch.client.ml.EstimateModelMemoryRequest request, org.elasticsearch.client.RequestOptions options) {
    estimateModelMemoryAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxEstimateModelMemoryAsync(org.elasticsearch.client.ml.EstimateModelMemoryRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      estimateModelMemoryAsync(request, options, $handler);
    });
  }

  public void putDataFrameAnalyticsAsync(org.elasticsearch.client.ml.PutDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.putDataFrameAnalyticsAsync(request, options, handler);
  }

  public void putDataFrameAnalyticsAsync(org.elasticsearch.client.ml.PutDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options) {
    putDataFrameAnalyticsAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxPutDataFrameAnalyticsAsync(org.elasticsearch.client.ml.PutDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      putDataFrameAnalyticsAsync(request, options, $handler);
    });
  }

  public void updateDataFrameAnalyticsAsync(org.elasticsearch.client.ml.UpdateDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.updateDataFrameAnalyticsAsync(request, options, handler);
  }

  public void updateDataFrameAnalyticsAsync(org.elasticsearch.client.ml.UpdateDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options) {
    updateDataFrameAnalyticsAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxUpdateDataFrameAnalyticsAsync(org.elasticsearch.client.ml.UpdateDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      updateDataFrameAnalyticsAsync(request, options, $handler);
    });
  }

  public void getDataFrameAnalyticsAsync(org.elasticsearch.client.ml.GetDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.getDataFrameAnalyticsAsync(request, options, handler);
  }

  public void getDataFrameAnalyticsAsync(org.elasticsearch.client.ml.GetDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options) {
    getDataFrameAnalyticsAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxGetDataFrameAnalyticsAsync(org.elasticsearch.client.ml.GetDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      getDataFrameAnalyticsAsync(request, options, $handler);
    });
  }

  public void getDataFrameAnalyticsStatsAsync(org.elasticsearch.client.ml.GetDataFrameAnalyticsStatsRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.getDataFrameAnalyticsStatsAsync(request, options, handler);
  }

  public void getDataFrameAnalyticsStatsAsync(org.elasticsearch.client.ml.GetDataFrameAnalyticsStatsRequest request, org.elasticsearch.client.RequestOptions options) {
    getDataFrameAnalyticsStatsAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxGetDataFrameAnalyticsStatsAsync(org.elasticsearch.client.ml.GetDataFrameAnalyticsStatsRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      getDataFrameAnalyticsStatsAsync(request, options, $handler);
    });
  }

  public void startDataFrameAnalyticsAsync(org.elasticsearch.client.ml.StartDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.startDataFrameAnalyticsAsync(request, options, handler);
  }

  public void startDataFrameAnalyticsAsync(org.elasticsearch.client.ml.StartDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options) {
    startDataFrameAnalyticsAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxStartDataFrameAnalyticsAsync(org.elasticsearch.client.ml.StartDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      startDataFrameAnalyticsAsync(request, options, $handler);
    });
  }

  public void stopDataFrameAnalyticsAsync(org.elasticsearch.client.ml.StopDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.stopDataFrameAnalyticsAsync(request, options, handler);
  }

  public void stopDataFrameAnalyticsAsync(org.elasticsearch.client.ml.StopDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options) {
    stopDataFrameAnalyticsAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxStopDataFrameAnalyticsAsync(org.elasticsearch.client.ml.StopDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      stopDataFrameAnalyticsAsync(request, options, $handler);
    });
  }

  public void deleteDataFrameAnalyticsAsync(org.elasticsearch.client.ml.DeleteDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.deleteDataFrameAnalyticsAsync(request, options, handler);
  }

  public void deleteDataFrameAnalyticsAsync(org.elasticsearch.client.ml.DeleteDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options) {
    deleteDataFrameAnalyticsAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxDeleteDataFrameAnalyticsAsync(org.elasticsearch.client.ml.DeleteDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      deleteDataFrameAnalyticsAsync(request, options, $handler);
    });
  }

  public void evaluateDataFrameAsync(org.elasticsearch.client.ml.EvaluateDataFrameRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.evaluateDataFrameAsync(request, options, handler);
  }

  public void evaluateDataFrameAsync(org.elasticsearch.client.ml.EvaluateDataFrameRequest request, org.elasticsearch.client.RequestOptions options) {
    evaluateDataFrameAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxEvaluateDataFrameAsync(org.elasticsearch.client.ml.EvaluateDataFrameRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      evaluateDataFrameAsync(request, options, $handler);
    });
  }

  public void explainDataFrameAnalyticsAsync(org.elasticsearch.client.ml.ExplainDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.explainDataFrameAnalyticsAsync(request, options, handler);
  }

  public void explainDataFrameAnalyticsAsync(org.elasticsearch.client.ml.ExplainDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options) {
    explainDataFrameAnalyticsAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxExplainDataFrameAnalyticsAsync(org.elasticsearch.client.ml.ExplainDataFrameAnalyticsRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      explainDataFrameAnalyticsAsync(request, options, $handler);
    });
  }

  public void getTrainedModelsAsync(org.elasticsearch.client.ml.GetTrainedModelsRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.getTrainedModelsAsync(request, options, handler);
  }

  public void getTrainedModelsAsync(org.elasticsearch.client.ml.GetTrainedModelsRequest request, org.elasticsearch.client.RequestOptions options) {
    getTrainedModelsAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxGetTrainedModelsAsync(org.elasticsearch.client.ml.GetTrainedModelsRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      getTrainedModelsAsync(request, options, $handler);
    });
  }

  public void putTrainedModelAsync(org.elasticsearch.client.ml.PutTrainedModelRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.putTrainedModelAsync(request, options, handler);
  }

  public void putTrainedModelAsync(org.elasticsearch.client.ml.PutTrainedModelRequest request, org.elasticsearch.client.RequestOptions options) {
    putTrainedModelAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxPutTrainedModelAsync(org.elasticsearch.client.ml.PutTrainedModelRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      putTrainedModelAsync(request, options, $handler);
    });
  }

  public void getTrainedModelsStatsAsync(org.elasticsearch.client.ml.GetTrainedModelsStatsRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.getTrainedModelsStatsAsync(request, options, handler);
  }

  public void getTrainedModelsStatsAsync(org.elasticsearch.client.ml.GetTrainedModelsStatsRequest request, org.elasticsearch.client.RequestOptions options) {
    getTrainedModelsStatsAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxGetTrainedModelsStatsAsync(org.elasticsearch.client.ml.GetTrainedModelsStatsRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      getTrainedModelsStatsAsync(request, options, $handler);
    });
  }

  public void deleteTrainedModelAsync(org.elasticsearch.client.ml.DeleteTrainedModelRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler> handler) { 
    delegate.deleteTrainedModelAsync(request, options, handler);
  }

  public void deleteTrainedModelAsync(org.elasticsearch.client.ml.DeleteTrainedModelRequest request, org.elasticsearch.client.RequestOptions options) {
    deleteTrainedModelAsync(request, options, ar -> { });
  }

  public io.reactivex.Single rxDeleteTrainedModelAsync(org.elasticsearch.client.ml.DeleteTrainedModelRequest request, org.elasticsearch.client.RequestOptions options) { 
    return AsyncResultSingle.toSingle($handler -> {
      deleteTrainedModelAsync(request, options, $handler);
    });
  }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy