Search Results for

    Show / Hide Table of Contents

    Class GeoDistanceAggregationDescriptor<T>

    Inheritance
    object
    BucketAggregationDescriptorBase<GeoDistanceAggregationDescriptor<T>, IGeoDistanceAggregation, T>
    GeoDistanceAggregationDescriptor<T>
    Implements
    IDescriptor
    IGeoDistanceAggregation
    IBucketAggregation
    IAggregation
    Inherited Members
    BucketAggregationDescriptorBase<GeoDistanceAggregationDescriptor<T>, IGeoDistanceAggregation, T>.Self
    BucketAggregationDescriptorBase<GeoDistanceAggregationDescriptor<T>, IGeoDistanceAggregation, T>.Assign<TValue>(TValue, Action<IGeoDistanceAggregation, TValue>)
    BucketAggregationDescriptorBase<GeoDistanceAggregationDescriptor<T>, IGeoDistanceAggregation, T>.Aggregations(Func<AggregationContainerDescriptor<T>, IAggregationContainer>)
    BucketAggregationDescriptorBase<GeoDistanceAggregationDescriptor<T>, IGeoDistanceAggregation, T>.Aggregations(AggregationDictionary)
    BucketAggregationDescriptorBase<GeoDistanceAggregationDescriptor<T>, IGeoDistanceAggregation, T>.Meta(Func<FluentDictionary<string, object>, FluentDictionary<string, object>>)
    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 GeoDistanceAggregationDescriptor<T> : BucketAggregationDescriptorBase<GeoDistanceAggregationDescriptor<T>, IGeoDistanceAggregation, T>, IDescriptor, IGeoDistanceAggregation, IBucketAggregation, IAggregation where T : class
    Type Parameters
    Name Description
    T

    Methods

    | Edit this page View Source

    DistanceType(GeoDistanceType?)

    Declaration
    public GeoDistanceAggregationDescriptor<T> DistanceType(GeoDistanceType? geoDistance)
    Parameters
    Type Name Description
    GeoDistanceType? geoDistance
    Returns
    Type Description
    GeoDistanceAggregationDescriptor<T>
    | Edit this page View Source

    Field(Field)

    Declaration
    public GeoDistanceAggregationDescriptor<T> Field(Field field)
    Parameters
    Type Name Description
    Field field
    Returns
    Type Description
    GeoDistanceAggregationDescriptor<T>
    | Edit this page View Source

    Field<TValue>(Expression<Func<T, TValue>>)

    Declaration
    public GeoDistanceAggregationDescriptor<T> Field<TValue>(Expression<Func<T, TValue>> field)
    Parameters
    Type Name Description
    Expression<Func<T, TValue>> field
    Returns
    Type Description
    GeoDistanceAggregationDescriptor<T>
    Type Parameters
    Name Description
    TValue
    | Edit this page View Source

    Origin(GeoLocation)

    Declaration
    public GeoDistanceAggregationDescriptor<T> Origin(GeoLocation geoLocation)
    Parameters
    Type Name Description
    GeoLocation geoLocation
    Returns
    Type Description
    GeoDistanceAggregationDescriptor<T>
    | Edit this page View Source

    Origin(double, double)

    Declaration
    public GeoDistanceAggregationDescriptor<T> Origin(double lat, double lon)
    Parameters
    Type Name Description
    double lat
    double lon
    Returns
    Type Description
    GeoDistanceAggregationDescriptor<T>
    | Edit this page View Source

    Ranges(params Func<AggregationRangeDescriptor, IAggregationRange>[])

    Declaration
    public GeoDistanceAggregationDescriptor<T> Ranges(params Func<AggregationRangeDescriptor, IAggregationRange>[] ranges)
    Parameters
    Type Name Description
    Func<AggregationRangeDescriptor, IAggregationRange>[] ranges
    Returns
    Type Description
    GeoDistanceAggregationDescriptor<T>
    | Edit this page View Source

    Unit(DistanceUnit?)

    Declaration
    public GeoDistanceAggregationDescriptor<T> Unit(DistanceUnit? unit)
    Parameters
    Type Name Description
    DistanceUnit? unit
    Returns
    Type Description
    GeoDistanceAggregationDescriptor<T>

    Implements

    IDescriptor
    IGeoDistanceAggregation
    IBucketAggregation
    IAggregation

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Methods
      • DistanceType(GeoDistanceType?)
      • Field(Field)
      • Field<TValue>(Expression<Func<T, TValue>>)
      • Origin(GeoLocation)
      • Origin(double, double)
      • Ranges(params Func<AggregationRangeDescriptor, IAggregationRange>[])
      • Unit(DistanceUnit?)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX