Class CatFielddataDescriptor
Descriptor for Fielddata
https://opensearch.org/docs/latest/api-reference/cat/cat-field-data/
Inheritance
CatFielddataDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class CatFielddataDescriptor : RequestDescriptorBase<CatFielddataDescriptor, CatFielddataRequestParameters, ICatFielddataRequest>, IDescriptor, ICatFielddataRequest, IRequest<CatFielddataRequestParameters>, IRequest
Constructors
|
Edit this page
View Source
CatFielddataDescriptor()
Declaration
public CatFielddataDescriptor()
|
Edit this page
View Source
CatFielddataDescriptor(Fields)
Declaration
public CatFielddataDescriptor(Fields fields)
Parameters
Type |
Name |
Description |
Fields |
fields |
Optional, accepts null
|
Methods
|
Edit this page
View Source
Bytes(ByteUnit?)
The unit used to display byte values.
Declaration
public CatFielddataDescriptor Bytes(ByteUnit? bytes)
Parameters
Returns
|
Edit this page
View Source
Fields(Fields)
Comma-separated list of fields used to limit returned information. To retrieve all fields, omit this parameter.
Declaration
public CatFielddataDescriptor Fields(Fields fields)
Parameters
Type |
Name |
Description |
Fields |
fields |
|
Returns
|
Edit this page
View Source
Fields<T>(params Expression<Func<T, object>>[])
Comma-separated list of fields used to limit returned information. To retrieve all fields, omit this parameter.
Declaration
public CatFielddataDescriptor Fields<T>(params Expression<Func<T, object>>[] fields)
Parameters
Returns
Type Parameters
|
Edit this page
View Source
A short version of the Accept header (for example, json
, yaml
).
Declaration
public CatFielddataDescriptor 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 CatFielddataDescriptor Headers(params string[] headers)
Parameters
Type |
Name |
Description |
string[] |
headers |
|
Returns
|
Edit this page
View Source
Help(bool?)
Declaration
public CatFielddataDescriptor Help(bool? help = true)
Parameters
Type |
Name |
Description |
bool? |
help |
|
Returns
|
Edit this page
View Source
SortByColumns(params string[])
Comma-separated list of column names or column aliases to sort by.
Declaration
public CatFielddataDescriptor 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 CatFielddataDescriptor Verbose(bool? verbose = true)
Parameters
Type |
Name |
Description |
bool? |
verbose |
|
Returns
Implements
Extension Methods