Example #1
0
 /// <inheritdoc/>
 public Task <ICatResponse <CatIndicesRecord> > CatIndicesAsync(ICatIndicesRequest request) =>
 this.DoCatAsync <ICatIndicesRequest, CatIndicesRequestParameters, CatIndicesRecord>(request, this.LowLevelDispatch.CatIndicesDispatchAsync <CatResponse <CatIndicesRecord> >);
 public static Task <CatResponse <CatIndicesRecord> > CatIndicesAsync(this IElasticClient client, ICatIndicesRequest request,
                                                                      CancellationToken ct = default
                                                                      )
 => client.Cat.IndicesAsync(request, ct);
Example #3
0
 /// <inheritdoc/>
 public ICatResponse <CatIndicesRecord> CatIndices(ICatIndicesRequest request) =>
 this.DoCat <ICatIndicesRequest, CatIndicesRequestParameters, CatIndicesRecord>(request, this.LowLevelDispatch.CatIndicesDispatch <CatResponse <CatIndicesRecord> >);
 /// <inheritdoc/>
 public Task <ICatResponse <CatIndicesRecord> > CatIndicesAsync(ICatIndicesRequest request, CancellationToken cancellationToken = default(CancellationToken)) =>
 this.DoCatAsync <ICatIndicesRequest, CatIndicesRequestParameters, CatIndicesRecord>(request, cancellationToken, this.LowLevelDispatch.CatIndicesDispatchAsync <CatResponse <CatIndicesRecord> >);
 public static CatResponse <CatIndicesRecord> CatIndices(this IElasticClient client, ICatIndicesRequest request)
 => client.Cat.Indices(request);
		/// <inheritdoc/>
		public ICatResponse<CatIndicesRecord> CatIndices(ICatIndicesRequest request) =>
			this.DoCat<ICatIndicesRequest, CatIndicesRequestParameters, CatIndicesRecord>(request, this.LowLevelDispatch.CatIndicesDispatch<CatResponse<CatIndicesRecord>>);
		/// <inheritdoc/>
		public Task<ICatResponse<CatIndicesRecord>> CatIndicesAsync(ICatIndicesRequest request, CancellationToken cancellationToken = default(CancellationToken)) =>
			this.DoCatAsync<ICatIndicesRequest, CatIndicesRequestParameters, CatIndicesRecord>(request, cancellationToken, this.LowLevelDispatch.CatIndicesDispatchAsync<CatResponse<CatIndicesRecord>>);
Example #8
0
 public Task <ICatResponse <CatIndicesRecord> > CatIndicesAsync(ICatIndicesRequest request)
 {
     return(this.DoCatAsync <ICatIndicesRequest, CatIndicesRequestParameters, CatIndicesRecord>(request, this.RawDispatch.CatIndicesDispatchAsync <CatResponse <CatIndicesRecord> >));
 }
Example #9
0
 public ICatResponse <CatIndicesRecord> CatIndices(ICatIndicesRequest request)
 {
     return(this.DoCat <ICatIndicesRequest, CatIndicesRequestParameters, CatIndicesRecord>(request, this.RawDispatch.CatIndicesDispatch <CatResponse <CatIndicesRecord> >));
 }
		/// <inheritdoc/>
		public Task<ICatResponse<CatIndicesRecord>> CatIndicesAsync(ICatIndicesRequest request) =>
			this.DoCatAsync<ICatIndicesRequest, CatIndicesRequestParameters, CatIndicesRecord>(request, this.LowLevelDispatch.CatIndicesDispatchAsync<CatResponse<CatIndicesRecord>>);
 /// <summary>
 /// <c>GET</c> request to the <c>cat.indices</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-indices/">https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-indices/</a>
 /// </summary>
 public Task <CatResponse <CatIndicesRecord> > IndicesAsync(ICatIndicesRequest request, CancellationToken ct = default) => DoCatAsync <ICatIndicesRequest, CatIndicesRequestParameters, CatIndicesRecord>(request, ct);
 /// <summary>
 /// <c>GET</c> request to the <c>cat.indices</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-indices/">https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-indices/</a>
 /// </summary>
 public CatResponse <CatIndicesRecord> Indices(ICatIndicesRequest request) => DoCat <ICatIndicesRequest, CatIndicesRequestParameters, CatIndicesRecord>(request);