Search Results for

    Show / Hide Table of Contents

    Class WeightedAverageAggregationDescriptor<T>

    Inheritance
    object
    DescriptorBase<WeightedAverageAggregationDescriptor<T>, IWeightedAverageAggregation>
    WeightedAverageAggregationDescriptor<T>
    Implements
    IDescriptor
    IWeightedAverageAggregation
    IAggregation
    Inherited Members
    DescriptorBase<WeightedAverageAggregationDescriptor<T>, IWeightedAverageAggregation>.Self
    DescriptorBase<WeightedAverageAggregationDescriptor<T>, IWeightedAverageAggregation>.Assign<TValue>(TValue, Action<IWeightedAverageAggregation, TValue>)
    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 WeightedAverageAggregationDescriptor<T> : DescriptorBase<WeightedAverageAggregationDescriptor<T>, IWeightedAverageAggregation>, IDescriptor, IWeightedAverageAggregation, IAggregation where T : class
    Type Parameters
    Name Description
    T

    Methods

    | Edit this page View Source

    Format(string)

    The optional numeric response formatter

    Declaration
    public WeightedAverageAggregationDescriptor<T> Format(string format)
    Parameters
    Type Name Description
    string format
    Returns
    Type Description
    WeightedAverageAggregationDescriptor<T>
    | Edit this page View Source

    Meta(Func<FluentDictionary<string, object>, FluentDictionary<string, object>>)

    metadata to associate with the individual aggregation at request time that will be returned in place at response time

    Declaration
    public WeightedAverageAggregationDescriptor<T> Meta(Func<FluentDictionary<string, object>, FluentDictionary<string, object>> selector)
    Parameters
    Type Name Description
    Func<FluentDictionary<string, object>, FluentDictionary<string, object>> selector
    Returns
    Type Description
    WeightedAverageAggregationDescriptor<T>
    | Edit this page View Source

    Value(Func<WeightedAverageValueDescriptor<T>, IWeightedAverageValue>)

    The configuration for the field or script that provides the values

    Declaration
    public WeightedAverageAggregationDescriptor<T> Value(Func<WeightedAverageValueDescriptor<T>, IWeightedAverageValue> selector)
    Parameters
    Type Name Description
    Func<WeightedAverageValueDescriptor<T>, IWeightedAverageValue> selector
    Returns
    Type Description
    WeightedAverageAggregationDescriptor<T>
    | Edit this page View Source

    ValueType(ValueType?)

    A hint about the values for pure scripts or unmapped fields

    Declaration
    public WeightedAverageAggregationDescriptor<T> ValueType(ValueType? valueType)
    Parameters
    Type Name Description
    ValueType? valueType
    Returns
    Type Description
    WeightedAverageAggregationDescriptor<T>
    | Edit this page View Source

    Weight(Func<WeightedAverageValueDescriptor<T>, IWeightedAverageValue>)

    The configuration for the field or script that provides the weights

    Declaration
    public WeightedAverageAggregationDescriptor<T> Weight(Func<WeightedAverageValueDescriptor<T>, IWeightedAverageValue> selector)
    Parameters
    Type Name Description
    Func<WeightedAverageValueDescriptor<T>, IWeightedAverageValue> selector
    Returns
    Type Description
    WeightedAverageAggregationDescriptor<T>

    Implements

    IDescriptor
    IWeightedAverageAggregation
    IAggregation

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Methods
      • Format(string)
      • Meta(Func<FluentDictionary<string, object>, FluentDictionary<string, object>>)
      • Value(Func<WeightedAverageValueDescriptor<T>, IWeightedAverageValue>)
      • ValueType(ValueType?)
      • Weight(Func<WeightedAverageValueDescriptor<T>, IWeightedAverageValue>)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX