示例#1
0
 public Task <ICatResponse <CatShardsRecord> > CatShardsAsync(ICatShardsRequest request, CancellationToken cancellationToken = default(CancellationToken)) =>
 this.DoCatAsync <ICatShardsRequest, CatShardsRequestParameters, CatShardsRecord>(request, cancellationToken, this.LowLevelDispatch.CatShardsDispatchAsync <CatResponse <CatShardsRecord> >);
		public Task<ICatResponse<CatShardsRecord>> CatShardsAsync(ICatShardsRequest request) =>
			this.DoCatAsync<ICatShardsRequest, CatShardsRequestParameters, CatShardsRecord>(request, this.LowLevelDispatch.CatShardsDispatchAsync<CatResponse<CatShardsRecord>>);
示例#3
0
 /// <inheritdoc/>
 public ICatResponse <CatShardsRecord> CatShards(ICatShardsRequest request) =>
 this.DoCat <ICatShardsRequest, CatShardsRequestParameters, CatShardsRecord>(request, this.LowLevelDispatch.CatShardsDispatch <CatResponse <CatShardsRecord> >);
 public Task <ICatResponse <CatShardsRecord> > CatShardsAsync(ICatShardsRequest request) =>
 this.DoCatAsync <ICatShardsRequest, CatShardsRequestParameters, CatShardsRecord>(request, this.LowLevelDispatch.CatShardsDispatchAsync <CatResponse <CatShardsRecord> >);
		/// <inheritdoc/>
		public ICatResponse<CatShardsRecord> CatShards(ICatShardsRequest request) =>
			this.DoCat<ICatShardsRequest, CatShardsRequestParameters, CatShardsRecord>(request, this.LowLevelDispatch.CatShardsDispatch<CatResponse<CatShardsRecord>>);
示例#6
0
 public static CatResponse <CatShardsRecord> CatShards(this IElasticClient client, ICatShardsRequest request)
 => client.Cat.Shards(request);
示例#7
0
 public static Task <CatResponse <CatShardsRecord> > CatShardsAsync(this IElasticClient client, ICatShardsRequest request,
                                                                    CancellationToken ct = default
                                                                    )
 => client.Cat.ShardsAsync(request, ct);
示例#8
0
 public Task <ICatResponse <CatShardsRecord> > CatShardsAsync(ICatShardsRequest request)
 {
     return(this.DoCatAsync <ICatShardsRequest, CatShardsRequestParameters, CatShardsRecord>(request, this.RawDispatch.CatShardsDispatchAsync <CatResponse <CatShardsRecord> >));
 }
示例#9
0
 public ICatResponse <CatShardsRecord> CatShards(ICatShardsRequest request)
 {
     return(this.DoCat <ICatShardsRequest, CatShardsRequestParameters, CatShardsRecord>(request, this.RawDispatch.CatShardsDispatch <CatResponse <CatShardsRecord> >));
 }
 /// <summary>
 /// <c>GET</c> request to the <c>cat.shards</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-shards/">https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-shards/</a>
 /// </summary>
 public Task <CatResponse <CatShardsRecord> > ShardsAsync(ICatShardsRequest request, CancellationToken ct = default) => DoCatAsync <ICatShardsRequest, CatShardsRequestParameters, CatShardsRecord>(request, ct);
 /// <summary>
 /// <c>GET</c> request to the <c>cat.shards</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-shards/">https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-shards/</a>
 /// </summary>
 public CatResponse <CatShardsRecord> Shards(ICatShardsRequest request) => DoCat <ICatShardsRequest, CatShardsRequestParameters, CatShardsRecord>(request);
		public Task<ICatResponse<CatShardsRecord>> CatShardsAsync(ICatShardsRequest request, CancellationToken cancellationToken = default(CancellationToken)) =>
			this.DoCatAsync<ICatShardsRequest, CatShardsRequestParameters, CatShardsRecord>(request, cancellationToken, this.LowLevelDispatch.CatShardsDispatchAsync<CatResponse<CatShardsRecord>>);