Search Results for

    Show / Hide Table of Contents

    Class CatSegmentsDescriptor

    Descriptor for Segments

    https://opensearch.org/docs/latest/api-reference/cat/cat-segments/

    Inheritance
    object
    RequestBase<CatSegmentsRequestParameters>
    RequestDescriptorBase<CatSegmentsDescriptor, CatSegmentsRequestParameters, ICatSegmentsRequest>
    CatSegmentsDescriptor
    Implements
    IDescriptor
    ICatSegmentsRequest
    IRequest<CatSegmentsRequestParameters>
    IRequest
    Inherited Members
    RequestDescriptorBase<CatSegmentsDescriptor, CatSegmentsRequestParameters, ICatSegmentsRequest>.Self
    RequestDescriptorBase<CatSegmentsDescriptor, CatSegmentsRequestParameters, ICatSegmentsRequest>.Assign<TValue>(TValue, Action<ICatSegmentsRequest, TValue>)
    RequestDescriptorBase<CatSegmentsDescriptor, CatSegmentsRequestParameters, ICatSegmentsRequest>.Qs(string, object)
    RequestDescriptorBase<CatSegmentsDescriptor, CatSegmentsRequestParameters, ICatSegmentsRequest>.RequestConfiguration(Func<RequestConfigurationDescriptor, IRequestConfiguration>)
    RequestDescriptorBase<CatSegmentsDescriptor, CatSegmentsRequestParameters, ICatSegmentsRequest>.ErrorTrace(bool?)
    RequestDescriptorBase<CatSegmentsDescriptor, CatSegmentsRequestParameters, ICatSegmentsRequest>.FilterPath(params string[])
    RequestDescriptorBase<CatSegmentsDescriptor, CatSegmentsRequestParameters, ICatSegmentsRequest>.FilterPath(IEnumerable<string>)
    RequestDescriptorBase<CatSegmentsDescriptor, CatSegmentsRequestParameters, ICatSegmentsRequest>.Human(bool?)
    RequestDescriptorBase<CatSegmentsDescriptor, CatSegmentsRequestParameters, ICatSegmentsRequest>.Pretty(bool?)
    RequestDescriptorBase<CatSegmentsDescriptor, CatSegmentsRequestParameters, ICatSegmentsRequest>.SourceQueryString(string)
    RequestBase<CatSegmentsRequestParameters>.HttpMethod
    RequestBase<CatSegmentsRequestParameters>.RequestState
    RequestBase<CatSegmentsRequestParameters>.ContentType
    RequestBase<CatSegmentsRequestParameters>.ResolveUrl(RouteValues, IConnectionSettingsValues)
    RequestBase<CatSegmentsRequestParameters>.RequestDefaults(CatSegmentsRequestParameters)
    RequestBase<CatSegmentsRequestParameters>.Q<TOut>(string)
    RequestBase<CatSegmentsRequestParameters>.Q(string, object)
    RequestBase<CatSegmentsRequestParameters>.SetAcceptHeader(string)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class CatSegmentsDescriptor : RequestDescriptorBase<CatSegmentsDescriptor, CatSegmentsRequestParameters, ICatSegmentsRequest>, IDescriptor, ICatSegmentsRequest, IRequest<CatSegmentsRequestParameters>, IRequest

    Constructors

    | Edit this page View Source

    CatSegmentsDescriptor()

    /_cat/segments

    Declaration
    public CatSegmentsDescriptor()
    | Edit this page View Source

    CatSegmentsDescriptor(Indices)

    /_cat/segments/{index}

    Declaration
    public CatSegmentsDescriptor(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 CatSegmentsDescriptor AllIndices()
    Returns
    Type Description
    CatSegmentsDescriptor
    | Edit this page View Source

    Bytes(ByteUnit?)

    The units used to display byte values.

    Declaration
    public CatSegmentsDescriptor Bytes(ByteUnit? bytes)
    Parameters
    Type Name Description
    ByteUnit? bytes
    Returns
    Type Description
    CatSegmentsDescriptor
    | Edit this page View Source

    ClusterManagerTimeout(Time)

    The amount of time allowed to establish a connection to the cluster manager node.

    Declaration
    public CatSegmentsDescriptor ClusterManagerTimeout(Time clustermanagertimeout)
    Parameters
    Type Name Description
    Time clustermanagertimeout
    Returns
    Type Description
    CatSegmentsDescriptor
    Remarks

    Supported by OpenSearch servers of version 2.0.0 or greater.

    | Edit this page View Source

    Format(string)

    A short version of the Accept header, such as json or yaml.

    Declaration
    public CatSegmentsDescriptor Format(string format)
    Parameters
    Type Name Description
    string format
    Returns
    Type Description
    CatSegmentsDescriptor
    | Edit this page View Source

    Headers(params string[])

    A comma-separated list of column names to display.

    Declaration
    public CatSegmentsDescriptor Headers(params string[] headers)
    Parameters
    Type Name Description
    string[] headers
    Returns
    Type Description
    CatSegmentsDescriptor
    | Edit this page View Source

    Help(bool?)

    Returns help information.

    Declaration
    public CatSegmentsDescriptor Help(bool? help = true)
    Parameters
    Type Name Description
    bool? help
    Returns
    Type Description
    CatSegmentsDescriptor
    | Edit this page View Source

    Index(Indices)

    A 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 CatSegmentsDescriptor Index(Indices index)
    Parameters
    Type Name Description
    Indices index
    Returns
    Type Description
    CatSegmentsDescriptor
    | Edit this page View Source

    Index<TOther>()

    a shortcut into calling Index(typeof(TOther))

    Declaration
    public CatSegmentsDescriptor Index<TOther>() where TOther : class
    Returns
    Type Description
    CatSegmentsDescriptor
    Type Parameters
    Name Description
    TOther
    | Edit this page View Source

    MasterTimeout(Time)

    The amount of time allowed to establish a connection to the cluster manager node.

    Declaration
    [Obsolete("Deprecated as of: 2.0.0, reason: To promote inclusive language, use `cluster_manager_timeout` instead.")]
    public CatSegmentsDescriptor MasterTimeout(Time mastertimeout)
    Parameters
    Type Name Description
    Time mastertimeout
    Returns
    Type Description
    CatSegmentsDescriptor
    | Edit this page View Source

    SortByColumns(params string[])

    A comma-separated list of column names or column aliases to sort by.

    Declaration
    public CatSegmentsDescriptor SortByColumns(params string[] sortbycolumns)
    Parameters
    Type Name Description
    string[] sortbycolumns
    Returns
    Type Description
    CatSegmentsDescriptor
    | Edit this page View Source

    Verbose(bool?)

    Enables verbose mode, which displays column headers.

    Declaration
    public CatSegmentsDescriptor Verbose(bool? verbose = true)
    Parameters
    Type Name Description
    bool? verbose
    Returns
    Type Description
    CatSegmentsDescriptor

    Implements

    IDescriptor
    ICatSegmentsRequest
    IRequest<TParameters>
    IRequest

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • CatSegmentsDescriptor()
      • CatSegmentsDescriptor(Indices)
    • Methods
      • AllIndices()
      • Bytes(ByteUnit?)
      • ClusterManagerTimeout(Time)
      • Format(string)
      • Headers(params string[])
      • Help(bool?)
      • Index(Indices)
      • Index<TOther>()
      • MasterTimeout(Time)
      • SortByColumns(params string[])
      • Verbose(bool?)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX