Exemple #1
0
 /// <inheritdoc />
 public Task <ISearchShardsResponse> SearchShardsAsync(ISearchShardsRequest request)
 {
     return(this.DispatchAsync <ISearchShardsRequest, SearchShardsRequestParameters, SearchShardsResponse, ISearchShardsResponse>(
                request,
                (p, d) => this.RawDispatch.SearchShardsDispatchAsync <SearchShardsResponse>(p)
                ));
 }
Exemple #2
0
 /// <inheritdoc />
 public ISearchShardsResponse SearchShards(ISearchShardsRequest request)
 {
     return(this.Dispatch <ISearchShardsRequest, SearchShardsRequestParameters, SearchShardsResponse>(
                request,
                (p, d) => this.RawDispatch.SearchShardsDispatch <SearchShardsResponse>(p)
                ));
 }
Exemple #3
0
 /// <inheritdoc />
 public Task <ISearchShardsResponse> SearchShardsAsync(ISearchShardsRequest request,
                                                       CancellationToken cancellationToken = default(CancellationToken)
                                                       ) =>
 Dispatcher.DispatchAsync <ISearchShardsRequest, SearchShardsRequestParameters, SearchShardsResponse, ISearchShardsResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.SearchShardsDispatchAsync <SearchShardsResponse>(p, c)
     );
 /// <inheritdoc/>
 public Task <ISearchShardsResponse> SearchShardsAsync(ISearchShardsRequest request) =>
 this.Dispatcher.DispatchAsync <ISearchShardsRequest, SearchShardsRequestParameters, SearchShardsResponse, ISearchShardsResponse>(
     request,
     (p, d) => this.LowLevelDispatch.SearchShardsDispatchAsync <SearchShardsResponse>(p)
     );
 /// <inheritdoc/>
 public ISearchShardsResponse SearchShards(ISearchShardsRequest request) =>
 this.Dispatcher.Dispatch <ISearchShardsRequest, SearchShardsRequestParameters, SearchShardsResponse>(
     request,
     (p, d) => this.LowLevelDispatch.SearchShardsDispatch <SearchShardsResponse>(p)
     );
 public Task <SearchShardsResponse> SearchShardsAsync(ISearchShardsRequest request, CancellationToken ct = new CancellationToken())
 {
     throw new NotImplementedException();
 }
 public SearchShardsResponse SearchShards(ISearchShardsRequest request)
 {
     throw new NotImplementedException();
 }
 public static void Update(IConnectionSettingsValues settings, ElasticsearchPathInfo <SearchShardsRequestParameters> pathInfo, ISearchShardsRequest request)
 {
     pathInfo.HttpMethod = PathInfoHttpMethod.GET;
 }
Exemple #9
0
 /// <inheritdoc />
 public Task <SearchShardsResponse> SearchShardsAsync(ISearchShardsRequest request, CancellationToken ct = default) =>
 DoRequestAsync <ISearchShardsRequest, SearchShardsResponse>(request, request.RequestParameters, ct);
Exemple #10
0
 /// <inheritdoc />
 public SearchShardsResponse SearchShards(ISearchShardsRequest request) =>
 DoRequest <ISearchShardsRequest, SearchShardsResponse>(request, request.RequestParameters);