/// <inheritdoc />
 public Task <IExistsResponse> IndexTemplateExistsAsync(IIndexTemplateExistsRequest request,
                                                        CancellationToken cancellationToken = default(CancellationToken)
                                                        ) => Dispatcher.DispatchAsync <IIndexTemplateExistsRequest, IndexTemplateExistsRequestParameters, ExistsResponse, IExistsResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.IndicesExistsTemplateDispatchAsync <ExistsResponse>(p, c)
     );
		/// <inheritdoc/>
		public Task<IExistsResponse> IndexTemplateExistsAsync(IIndexTemplateExistsRequest request)
		{
			return this.Dispatcher.DispatchAsync<IIndexTemplateExistsRequest, IndexTemplateExistsRequestParameters, ExistsResponse, IExistsResponse>(
				request,
				new IndexTemplateExistConverter(DeserializeExistsResponse),
				(p, d) => this.LowLevelDispatch.IndicesExistsTemplateDispatchAsync<ExistsResponse>(p)
			);
		}
 /// <inheritdoc/>
 public Task <IExistsResponse> IndexTemplateExistsAsync(IIndexTemplateExistsRequest request)
 {
     return(this.Dispatcher.DispatchAsync <IIndexTemplateExistsRequest, IndexTemplateExistsRequestParameters, ExistsResponse, IExistsResponse>(
                request,
                new IndexTemplateExistConverter(DeserializeExistsResponse),
                (p, d) => this.LowLevelDispatch.IndicesExistsTemplateDispatchAsync <ExistsResponse>(p)
                ));
 }
		/// <inheritdoc/>
		public Task<IExistsResponse> IndexTemplateExistsAsync(IIndexTemplateExistsRequest request, CancellationToken cancellationToken = default(CancellationToken))
		{
			return this.Dispatcher.DispatchAsync<IIndexTemplateExistsRequest, IndexTemplateExistsRequestParameters, ExistsResponse, IExistsResponse>(
				request,
				cancellationToken,
				new IndexTemplateExistConverter(DeserializeExistsResponse),
				(p, d, c) => this.LowLevelDispatch.IndicesExistsTemplateDispatchAsync<ExistsResponse>(p, c)
			);
		}
Exemple #5
0
 /// <inheritdoc/>
 public Task <IExistsResponse> IndexTemplateExistsAsync(IIndexTemplateExistsRequest request, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(this.Dispatcher.DispatchAsync <IIndexTemplateExistsRequest, IndexTemplateExistsRequestParameters, ExistsResponse, IExistsResponse>(
                request,
                cancellationToken,
                new IndexTemplateExistConverter(DeserializeExistsResponse),
                (p, d, c) => this.LowLevelDispatch.IndicesExistsTemplateDispatchAsync <ExistsResponse>(p, c)
                ));
 }
		/// <inheritdoc/>
		public IExistsResponse IndexTemplateExists(IIndexTemplateExistsRequest request) => 
			this.Dispatcher.Dispatch<IIndexTemplateExistsRequest, IndexTemplateExistsRequestParameters, ExistsResponse>(
				request,
				new IndexTemplateExistConverter(DeserializeExistsResponse),
				(p, d) => this.LowLevelDispatch.IndicesExistsTemplateDispatch<ExistsResponse>(p)
			);
 public static Task <ExistsResponse> IndexTemplateExistsAsync(this IElasticClient client, IIndexTemplateExistsRequest request,
                                                              CancellationToken ct = default
                                                              )
 => client.Indices.TemplateExistsAsync(request, ct);
 public static ExistsResponse IndexTemplateExists(this IElasticClient client, IIndexTemplateExistsRequest request)
 => client.Indices.TemplateExists(request);
Exemple #9
0
 /// <inheritdoc />
 public Task <ExistsResponse> IndexTemplateExistsAsync(IIndexTemplateExistsRequest request, CancellationToken ct = default) =>
 DoRequestAsync <IIndexTemplateExistsRequest, ExistsResponse>(request, request.RequestParameters, ct);
Exemple #10
0
 /// <inheritdoc />
 public ExistsResponse IndexTemplateExists(IIndexTemplateExistsRequest request) =>
 DoRequest <IIndexTemplateExistsRequest, ExistsResponse>(request, request.RequestParameters);
 /// <inheritdoc />
 public IExistsResponse IndexTemplateExists(IIndexTemplateExistsRequest request) =>
 Dispatcher.Dispatch <IIndexTemplateExistsRequest, IndexTemplateExistsRequestParameters, ExistsResponse>(
     request,
     (p, d) => LowLevelDispatch.IndicesExistsTemplateDispatch <ExistsResponse>(p)
     );
Exemple #12
0
 /// <inheritdoc/>
 public IExistsResponse IndexTemplateExists(IIndexTemplateExistsRequest request) =>
 this.Dispatcher.Dispatch <IIndexTemplateExistsRequest, IndexTemplateExistsRequestParameters, ExistsResponse>(
     request,
     new IndexTemplateExistConverter(DeserializeExistsResponse),
     (p, d) => this.LowLevelDispatch.IndicesExistsTemplateDispatch <ExistsResponse>(p)
     );