Ejemplo n.º 1
0
 /// <inheritdoc />
 public Task <ISearchShardsResponse> SearchShardsAsync(ISearchShardsRequest request)
 {
     return(this.DispatchAsync <ISearchShardsRequest, SearchShardsRequestParameters, SearchShardsResponse, ISearchShardsResponse>(
                request,
                (p, d) => this.RawDispatch.SearchShardsDispatchAsync <SearchShardsResponse>(p)
                ));
 }
Ejemplo n.º 2
0
 /// <inheritdoc />
 public ISearchShardsResponse SearchShards(ISearchShardsRequest request)
 {
     return(this.Dispatch <ISearchShardsRequest, SearchShardsRequestParameters, SearchShardsResponse>(
                request,
                (p, d) => this.RawDispatch.SearchShardsDispatch <SearchShardsResponse>(p)
                ));
 }
Ejemplo n.º 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)
     );
Ejemplo n.º 4
0
 /// <inheritdoc/>
 public Task <ISearchShardsResponse> SearchShardsAsync(ISearchShardsRequest request) =>
 this.Dispatcher.DispatchAsync <ISearchShardsRequest, SearchShardsRequestParameters, SearchShardsResponse, ISearchShardsResponse>(
     request,
     (p, d) => this.LowLevelDispatch.SearchShardsDispatchAsync <SearchShardsResponse>(p)
     );
Ejemplo n.º 5
0
 /// <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;
 }
Ejemplo n.º 9
0
 /// <inheritdoc />
 public Task <SearchShardsResponse> SearchShardsAsync(ISearchShardsRequest request, CancellationToken ct = default) =>
 DoRequestAsync <ISearchShardsRequest, SearchShardsResponse>(request, request.RequestParameters, ct);
Ejemplo n.º 10
0
 /// <inheritdoc />
 public SearchShardsResponse SearchShards(ISearchShardsRequest request) =>
 DoRequest <ISearchShardsRequest, SearchShardsResponse>(request, request.RequestParameters);