/// <inheritdoc/>
		public Task<IExistsResponse> AliasExistsAsync(IAliasExistsRequest request, CancellationToken cancellationToken = default(CancellationToken)) =>
			this.Dispatcher.DispatchAsync<IAliasExistsRequest, AliasExistsRequestParameters, ExistsResponse, IExistsResponse>(
				request,
				cancellationToken,
				new AliasExistConverter(DeserializeExistsResponse),
				(p, d, c) => this.LowLevelDispatch.IndicesExistsAliasDispatchAsync<ExistsResponse>(p, c)
			);
 /// <inheritdoc/>
 public Task <IExistsResponse> AliasExistsAsync(IAliasExistsRequest request, CancellationToken cancellationToken = default(CancellationToken)) =>
 this.Dispatcher.DispatchAsync <IAliasExistsRequest, AliasExistsRequestParameters, ExistsResponse, IExistsResponse>(
     request,
     cancellationToken,
     new AliasExistConverter(DeserializeExistsResponse),
     (p, d, c) => this.LowLevelDispatch.IndicesExistsAliasDispatchAsync <ExistsResponse>(p, c)
     );
Exemplo n.º 3
0
 /// <inheritdoc />
 public Task <IExistsResponse> AliasExistsAsync(IAliasExistsRequest request, CancellationToken cancellationToken = default(CancellationToken)
                                                ) =>
 Dispatcher.DispatchAsync <IAliasExistsRequest, AliasExistsRequestParameters, ExistsResponse, IExistsResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.IndicesExistsAliasDispatchAsync <ExistsResponse>(p, c)
     );
 /// <inheritdoc />
 public Task <IExistsResponse> AliasExistsAsync(IAliasExistsRequest AliasRequest)
 {
     return(this.DispatchAsync <IAliasExistsRequest, AliasExistsRequestParameters, ExistsResponse, IExistsResponse>(
                AliasRequest,
                (p, d) => this.RawDispatch.IndicesExistsAliasDispatchAsync <ExistsResponse>(
                    p.DeserializationState(new AliasExistConverter(DeserializeExistsResponse))
                    )
                ));
 }
		/// <inheritdoc />
		public Task<IExistsResponse> AliasExistsAsync(IAliasExistsRequest AliasRequest)
		{
			return this.DispatchAsync<IAliasExistsRequest, AliasExistsRequestParameters, ExistsResponse, IExistsResponse>(
				AliasRequest,
				(p, d) => this.RawDispatch.IndicesExistsAliasDispatchAsync<ExistsResponse>(
					p.DeserializationState(new AliasExistConverter(DeserializeExistsResponse))
				)
			);
		}
 /// <inheritdoc/>
 public Task <IExistsResponse> AliasExistsAsync(IAliasExistsRequest request) =>
 this.Dispatcher.DispatchAsync <IAliasExistsRequest, AliasExistsRequestParameters, ExistsResponse, IExistsResponse>(
     request,
     new AliasExistConverter(DeserializeExistsResponse),
     (p, d) => this.LowLevelDispatch.IndicesExistsAliasDispatchAsync <ExistsResponse>(p)
     );
		/// <inheritdoc/>
		public Task<IExistsResponse> AliasExistsAsync(IAliasExistsRequest request) => 
			this.Dispatcher.DispatchAsync<IAliasExistsRequest, AliasExistsRequestParameters, ExistsResponse, IExistsResponse>(
				request,
				new AliasExistConverter(DeserializeExistsResponse),
				(p, d) => this.LowLevelDispatch.IndicesExistsAliasDispatchAsync<ExistsResponse>(p)
			);
Exemplo n.º 8
0
 public static Task <ExistsResponse> AliasExistsAsync(this IElasticClient client, IAliasExistsRequest request, CancellationToken ct = default)
 => client.Indices.AliasExistsAsync(request, ct);
Exemplo n.º 9
0
 public static ExistsResponse AliasExists(this IElasticClient client, IAliasExistsRequest request)
 => client.Indices.AliasExists(request);
 /// <inheritdoc/>
 public IExistsResponse AliasExists(IAliasExistsRequest request) =>
 this.Dispatcher.Dispatch <IAliasExistsRequest, AliasExistsRequestParameters, ExistsResponse>(
     request,
     (p, d) => this.LowLevelDispatch.IndicesExistsAliasDispatch <ExistsResponse>(p)
     );
Exemplo n.º 11
0
 /// <inheritdoc />
 public Task <ExistsResponse> AliasExistsAsync(IAliasExistsRequest request, CancellationToken ct = default) =>
 DoRequestAsync <IAliasExistsRequest, ExistsResponse>(request, request.RequestParameters, ct);
Exemplo n.º 12
0
 /// <inheritdoc />
 public ExistsResponse AliasExists(IAliasExistsRequest request) =>
 DoRequest <IAliasExistsRequest, ExistsResponse>(request, request.RequestParameters);
Exemplo n.º 13
0
 public static void Update(ElasticsearchPathInfo <AliasExistsRequestParameters> pathInfo, IAliasExistsRequest request)
 {
     pathInfo.HttpMethod = PathInfoHttpMethod.HEAD;
 }