Search Results for

    Show / Hide Table of Contents

    Class MappingsDescriptor

    Inheritance
    object
    MappingsDescriptor
    Implements
    IDescriptor
    Inherited Members
    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
    [Obsolete("MappingsDescriptor is obsolete, no longer treats mappings as a dictionary. Please use TypeMappingsDescriptor")]
    public class MappingsDescriptor : IDescriptor

    Methods

    | Edit this page View Source

    Map(Func<TypeMappingDescriptor<object>, ITypeMapping>)

    Declaration
    [Obsolete("MappingsDescriptor is obsolete please call Map() on the parent descriptor")]
    public ITypeMapping Map(Func<TypeMappingDescriptor<object>, ITypeMapping> selector)
    Parameters
    Type Name Description
    Func<TypeMappingDescriptor<object>, ITypeMapping> selector
    Returns
    Type Description
    ITypeMapping
    | Edit this page View Source

    Map(object, Func<TypeMappingDescriptor<object>, ITypeMapping>)

    Declaration
    [Obsolete("Types are gone from OpenSearch, the first argument is completely ignored please remove it")]
    public ITypeMapping Map(object type, Func<TypeMappingDescriptor<object>, ITypeMapping> selector)
    Parameters
    Type Name Description
    object type
    Func<TypeMappingDescriptor<object>, ITypeMapping> selector
    Returns
    Type Description
    ITypeMapping
    | Edit this page View Source

    Map<T>(Func<TypeMappingDescriptor<T>, ITypeMapping>)

    Declaration
    [Obsolete("MappingsDescriptor is obsolete please call Map() on the parent descriptor")]
    public ITypeMapping Map<T>(Func<TypeMappingDescriptor<T>, ITypeMapping> selector) where T : class
    Parameters
    Type Name Description
    Func<TypeMappingDescriptor<T>, ITypeMapping> selector
    Returns
    Type Description
    ITypeMapping
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    Map<T>(object, Func<TypeMappingDescriptor<T>, ITypeMapping>)

    Declaration
    [Obsolete("Types are gone from OpenSearch, the first argument is completely ignored please remove it")]
    public ITypeMapping Map<T>(object type, Func<TypeMappingDescriptor<T>, ITypeMapping> selector) where T : class
    Parameters
    Type Name Description
    object type
    Func<TypeMappingDescriptor<T>, ITypeMapping> selector
    Returns
    Type Description
    ITypeMapping
    Type Parameters
    Name Description
    T

    Implements

    IDescriptor

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Methods
      • Map(Func<TypeMappingDescriptor<object>, ITypeMapping>)
      • Map(object, Func<TypeMappingDescriptor<object>, ITypeMapping>)
      • Map<T>(Func<TypeMappingDescriptor<T>, ITypeMapping>)
      • Map<T>(object, Func<TypeMappingDescriptor<T>, ITypeMapping>)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX