コード例 #1
0
 /// <inheritdoc />
 public Task <IRegisterPercolateResponse> RegisterPercolatorAsync(IRegisterPercolatorRequest registerPercolatorRequest)
 {
     return(this.DispatchAsync <IRegisterPercolatorRequest, IndexRequestParameters, RegisterPercolateResponse, IRegisterPercolateResponse>(
                registerPercolatorRequest,
                (p, d) => this.RawDispatch.IndexDispatchAsync <RegisterPercolateResponse>(p, d)
                ));
 }
コード例 #2
0
 /// <inheritdoc />
 public IRegisterPercolateResponse RegisterPercolator(IRegisterPercolatorRequest registerPercolatorRequest)
 {
     return(this.Dispatch <IRegisterPercolatorRequest, IndexRequestParameters, RegisterPercolateResponse>(
                registerPercolatorRequest,
                (p, d) => this.RawDispatch.IndexDispatch <RegisterPercolateResponse>(p, d)
                ));
 }
コード例 #3
0
 /// <inheritdoc/>
 public Task <IRegisterPercolateResponse> RegisterPercolatorAsync(IRegisterPercolatorRequest request) =>
 this.Dispatcher.DispatchAsync <IRegisterPercolatorRequest, IndexRequestParameters, RegisterPercolateResponse, IRegisterPercolateResponse>(
     request,
     this.LowLevelDispatch.IndexDispatchAsync <RegisterPercolateResponse>
     );
コード例 #4
0
 /// <inheritdoc/>
 public IRegisterPercolateResponse RegisterPercolator(IRegisterPercolatorRequest request) =>
 this.Dispatcher.Dispatch <IRegisterPercolatorRequest, IndexRequestParameters, RegisterPercolateResponse>(
     request,
     this.LowLevelDispatch.IndexDispatch <RegisterPercolateResponse>
     );
コード例 #5
0
 public static void Update(ElasticsearchPathInfo <IndexRequestParameters> pathInfo, IRegisterPercolatorRequest request)
 {
     pathInfo.HttpMethod = PathInfoHttpMethod.POST;
     pathInfo.Index      = pathInfo.Index;
     pathInfo.Id         = pathInfo.Name;
     pathInfo.Type       = ".percolator";
 }
コード例 #6
0
 public Task <IRegisterPercolatorResponse> RegisterPercolatorAsync(IRegisterPercolatorRequest request, CancellationToken cancellationToken = default(CancellationToken)) =>
 this.Dispatcher.DispatchAsync <IRegisterPercolatorRequest, IndexRequestParameters, RegisterPercolatorResponse, IRegisterPercolatorResponse>(
     request,
     cancellationToken,
     this.LowLevelDispatch.IndexDispatchAsync <RegisterPercolatorResponse>
     );