io.reactiverse.elasticsearch.client.IndicesClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elasticsearch-client-rxjava2 Show documentation
Show all versions of elasticsearch-client-rxjava2 Show documentation
Reactiverse Elasticsearch client :: RxJava2 bindings
The newest version!
/*
[NOTE] This is an automatically generated file.
Do not make changes to this file but to the shim code generator.
*/
package io.reactiverse.elasticsearch.client;
import io.vertx.core.*;
import io.vertx.codegen.annotations.*;
import org.elasticsearch.client.*;
import org.elasticsearch.action.ActionListener;
import org.elasticsearch.action.admin.indices.alias.IndicesAliasesRequest;
import org.elasticsearch.action.admin.indices.alias.get.GetAliasesRequest;
import org.elasticsearch.action.admin.indices.cache.clear.ClearIndicesCacheRequest;
import org.elasticsearch.action.admin.indices.cache.clear.ClearIndicesCacheResponse;
import org.elasticsearch.action.admin.indices.delete.DeleteIndexRequest;
import org.elasticsearch.action.admin.indices.flush.FlushRequest;
import org.elasticsearch.action.admin.indices.flush.FlushResponse;
import org.elasticsearch.action.admin.indices.flush.SyncedFlushRequest;
import org.elasticsearch.action.admin.indices.forcemerge.ForceMergeRequest;
import org.elasticsearch.action.admin.indices.forcemerge.ForceMergeResponse;
import org.elasticsearch.action.admin.indices.open.OpenIndexRequest;
import org.elasticsearch.action.admin.indices.open.OpenIndexResponse;
import org.elasticsearch.action.admin.indices.refresh.RefreshRequest;
import org.elasticsearch.action.admin.indices.refresh.RefreshResponse;
import org.elasticsearch.action.admin.indices.settings.get.GetSettingsRequest;
import org.elasticsearch.action.admin.indices.settings.get.GetSettingsResponse;
import org.elasticsearch.action.admin.indices.settings.put.UpdateSettingsRequest;
import org.elasticsearch.action.admin.indices.template.delete.DeleteIndexTemplateRequest;
import org.elasticsearch.action.admin.indices.validate.query.ValidateQueryRequest;
import org.elasticsearch.action.admin.indices.validate.query.ValidateQueryResponse;
import org.elasticsearch.action.support.master.AcknowledgedResponse;
import org.elasticsearch.client.core.ShardsAcknowledgedResponse;
import org.elasticsearch.client.indices.AnalyzeRequest;
import org.elasticsearch.client.indices.AnalyzeResponse;
import org.elasticsearch.client.indices.CloseIndexRequest;
import org.elasticsearch.client.indices.CloseIndexResponse;
import org.elasticsearch.client.indices.ComposableIndexTemplateExistRequest;
import org.elasticsearch.client.indices.CreateDataStreamRequest;
import org.elasticsearch.client.indices.CreateIndexRequest;
import org.elasticsearch.client.indices.CreateIndexResponse;
import org.elasticsearch.client.indices.DataStreamsStatsRequest;
import org.elasticsearch.client.indices.DataStreamsStatsResponse;
import org.elasticsearch.client.indices.DeleteAliasRequest;
import org.elasticsearch.client.indices.DeleteComposableIndexTemplateRequest;
import org.elasticsearch.client.indices.DeleteDataStreamRequest;
import org.elasticsearch.client.indices.FreezeIndexRequest;
import org.elasticsearch.client.indices.GetComposableIndexTemplateRequest;
import org.elasticsearch.client.indices.GetComposableIndexTemplatesResponse;
import org.elasticsearch.client.indices.GetDataStreamRequest;
import org.elasticsearch.client.indices.GetDataStreamResponse;
import org.elasticsearch.client.indices.GetFieldMappingsRequest;
import org.elasticsearch.client.indices.GetFieldMappingsResponse;
import org.elasticsearch.client.indices.GetIndexRequest;
import org.elasticsearch.client.indices.GetIndexResponse;
import org.elasticsearch.client.indices.GetIndexTemplatesRequest;
import org.elasticsearch.client.indices.GetIndexTemplatesResponse;
import org.elasticsearch.client.indices.GetMappingsRequest;
import org.elasticsearch.client.indices.GetMappingsResponse;
import org.elasticsearch.client.indices.IndexTemplatesExistRequest;
import org.elasticsearch.client.indices.PutComposableIndexTemplateRequest;
import org.elasticsearch.client.indices.PutIndexTemplateRequest;
import org.elasticsearch.client.indices.PutMappingRequest;
import org.elasticsearch.client.indices.ReloadAnalyzersRequest;
import org.elasticsearch.client.indices.ReloadAnalyzersResponse;
import org.elasticsearch.client.indices.ResizeRequest;
import org.elasticsearch.client.indices.ResizeResponse;
import org.elasticsearch.client.indices.SimulateIndexTemplateRequest;
import org.elasticsearch.client.indices.SimulateIndexTemplateResponse;
import org.elasticsearch.client.indices.UnfreezeIndexRequest;
import org.elasticsearch.client.indices.rollover.RolloverRequest;
import org.elasticsearch.client.indices.rollover.RolloverResponse;
import org.elasticsearch.rest.RestStatus;
import java.io.IOException;
import java.util.Collections;
import static java.util.Collections.emptySet;
import static java.util.Collections.singleton;
@VertxGen()
public interface IndicesClient {
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void deleteAsync(DeleteIndexRequest deleteIndexRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void createAsync(CreateIndexRequest createIndexRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void createDataStreamAsync(CreateDataStreamRequest createDataStreamRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void deleteDataStreamAsync(DeleteDataStreamRequest deleteDataStreamRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void getDataStreamAsync(GetDataStreamRequest dataStreamRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void dataStreamsStatsAsync(DataStreamsStatsRequest dataStreamsStatsRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void putMappingAsync(PutMappingRequest putMappingRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void getMappingAsync(GetMappingsRequest getMappingsRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void getFieldMappingAsync(GetFieldMappingsRequest getFieldMappingsRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void updateAliasesAsync(IndicesAliasesRequest indicesAliasesRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void openAsync(OpenIndexRequest openIndexRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
CloseIndexResponse close(CloseIndexRequest closeIndexRequest, RequestOptions options);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void closeAsync(CloseIndexRequest closeIndexRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void existsAliasAsync(GetAliasesRequest getAliasesRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void refreshAsync(RefreshRequest refreshRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void flushAsync(FlushRequest flushRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void getSettingsAsync(GetSettingsRequest getSettingsRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void getAsync(GetIndexRequest getIndexRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void forcemergeAsync(ForceMergeRequest forceMergeRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void clearCacheAsync(ClearIndicesCacheRequest clearIndicesCacheRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void existsAsync(GetIndexRequest request, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void shrinkAsync(ResizeRequest resizeRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void splitAsync(ResizeRequest resizeRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void cloneAsync(ResizeRequest resizeRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void rolloverAsync(RolloverRequest rolloverRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void getAliasAsync(GetAliasesRequest getAliasesRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void putSettingsAsync(UpdateSettingsRequest updateSettingsRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void putTemplateAsync(PutIndexTemplateRequest putIndexTemplateRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void putIndexTemplateAsync(PutComposableIndexTemplateRequest putIndexTemplateRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void simulateIndexTemplateAsync(SimulateIndexTemplateRequest simulateIndexTemplateRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void validateQueryAsync(ValidateQueryRequest validateQueryRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void getIndexTemplateAsync(GetComposableIndexTemplateRequest getIndexTemplatesRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void getIndexTemplateAsync(GetIndexTemplatesRequest getIndexTemplatesRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void existsTemplateAsync(IndexTemplatesExistRequest indexTemplatesExistRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void existsIndexTemplateAsync(ComposableIndexTemplateExistRequest indexTemplatesExistRequest, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void analyzeAsync(AnalyzeRequest request, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void freezeAsync(FreezeIndexRequest request, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void unfreezeAsync(UnfreezeIndexRequest request, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void deleteTemplateAsync(DeleteIndexTemplateRequest request, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void deleteIndexTemplateAsync(DeleteComposableIndexTemplateRequest request, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void reloadAnalyzersAsync(ReloadAnalyzersRequest request, RequestOptions options, Handler> handler);
@GenIgnore(GenIgnore.PERMITTED_TYPE)
void deleteAliasAsync(DeleteAliasRequest request, RequestOptions options, Handler> handler);
}