Class CatCountDescriptor
Descriptor for Count
https://opensearch.org/docs/latest/api-reference/cat/cat-count/
Inheritance
CatCountDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class CatCountDescriptor : RequestDescriptorBase<CatCountDescriptor, CatCountRequestParameters, ICatCountRequest>, IDescriptor, ICatCountRequest, IRequest<CatCountRequestParameters>, IRequest
Constructors
|
Edit this page
View Source
CatCountDescriptor()
Declaration
public CatCountDescriptor()
|
Edit this page
View Source
CatCountDescriptor(Indices)
Declaration
public CatCountDescriptor(Indices index)
Parameters
Type |
Name |
Description |
Indices |
index |
Optional, accepts null
|
Methods
|
Edit this page
View Source
AllIndices()
A shortcut into calling Index(Indices.All)
Declaration
public CatCountDescriptor AllIndices()
Returns
|
Edit this page
View Source
A short version of the Accept header (for example, json
, yaml
).
Declaration
public CatCountDescriptor Format(string format)
Parameters
Type |
Name |
Description |
string |
format |
|
Returns
|
Edit this page
View Source
Comma-separated list of column names to display.
Declaration
public CatCountDescriptor Headers(params string[] headers)
Parameters
Type |
Name |
Description |
string[] |
headers |
|
Returns
|
Edit this page
View Source
Help(bool?)
Declaration
public CatCountDescriptor Help(bool? help = true)
Parameters
Type |
Name |
Description |
bool? |
help |
|
Returns
|
Edit this page
View Source
Index(Indices)
Comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (*
). To target all data streams and indexes, omit this parameter or use *
or _all
.
Declaration
public CatCountDescriptor Index(Indices index)
Parameters
Type |
Name |
Description |
Indices |
index |
|
Returns
|
Edit this page
View Source
Index<TOther>()
a shortcut into calling Index(typeof(TOther))
Declaration
public CatCountDescriptor Index<TOther>() where TOther : class
Returns
Type Parameters
|
Edit this page
View Source
SortByColumns(params string[])
Comma-separated list of column names or column aliases to sort by.
Declaration
public CatCountDescriptor SortByColumns(params string[] sortbycolumns)
Parameters
Type |
Name |
Description |
string[] |
sortbycolumns |
|
Returns
|
Edit this page
View Source
Verbose(bool?)
Verbose mode. Display column headers.
Declaration
public CatCountDescriptor Verbose(bool? verbose = true)
Parameters
Type |
Name |
Description |
bool? |
verbose |
|
Returns
Implements
Extension Methods