o

zio.elasticsearch

ElasticAggregation

object ElasticAggregation

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ElasticAggregation
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. final def avgAggregation(name: String, field: String): AvgAggregation

    Constructs an instance of zio.elasticsearch.aggregation.AvgAggregation using the specified parameters.

    Constructs an instance of zio.elasticsearch.aggregation.AvgAggregation using the specified parameters.

    name

    aggregation name

    field

    the field for which avg aggregation will be executed

    returns

    an instance of zio.elasticsearch.aggregation.AvgAggregation that represents avg aggregation to be performed.

  6. final def avgAggregation[A](name: String, field: Field[_, A])(implicit arg0: Numeric[A]): AvgAggregation

    Constructs a type-safe instance of zio.elasticsearch.aggregation.AvgAggregation using the specified parameters.

    Constructs a type-safe instance of zio.elasticsearch.aggregation.AvgAggregation using the specified parameters.

    A

    expected number type

    name

    aggregation name

    field

    the type-safe field for which avg aggregation will be executed

    returns

    an instance of zio.elasticsearch.aggregation.AvgAggregation that represents avg aggregation to be performed.

  7. final def bucketSelectorAggregation(name: String, script: Script, bucketsPath: Map[String, String]): BucketSelectorAggregation

    Constructs an instance of zio.elasticsearch.aggregation.BucketSelectorAggregation using the specified parameters.

    Constructs an instance of zio.elasticsearch.aggregation.BucketSelectorAggregation using the specified parameters.

    name

    aggregation name

    script

    The script to run for this aggregation. The script can be inline, file or indexed

    bucketsPath

    A map of script variables and their associated path to the buckets we wish to use for the variable

    returns

    an instance of zio.elasticsearch.aggregation.BucketSelectorAggregation that represents bucket selector aggregation to be performed.

  8. final def bucketSortAggregation(name: String): BucketSortAggregation

    Constructs an instance of zio.elasticsearch.aggregation.BucketSortAggregation using the specified parameters.

    Constructs an instance of zio.elasticsearch.aggregation.BucketSortAggregation using the specified parameters.

    name

    aggregation name

    returns

    an instance of zio.elasticsearch.aggregation.BucketSortAggregation that represents bucket sort aggregation to be performed.

  9. final def cardinalityAggregation(name: String, field: String): CardinalityAggregation

    Constructs an instance of zio.elasticsearch.aggregation.CardinalityAggregation using the specified parameters.

    Constructs an instance of zio.elasticsearch.aggregation.CardinalityAggregation using the specified parameters. It calculates an approximate count of distinct values.

    name

    aggregation name

    field

    the field for which cardinality aggregation will be executed

    returns

    an instance of zio.elasticsearch.aggregation.CardinalityAggregation that represents cardinality aggregation to be performed.

  10. final def cardinalityAggregation(name: String, field: Field[_, Any]): CardinalityAggregation

    Constructs a type-safe instance of zio.elasticsearch.aggregation.CardinalityAggregation using the specified parameters.

    Constructs a type-safe instance of zio.elasticsearch.aggregation.CardinalityAggregation using the specified parameters. It calculates an approximate count of distinct values.

    name

    aggregation name

    field

    the type-safe field for which cardinality aggregation will be executed

    returns

    an instance of zio.elasticsearch.aggregation.CardinalityAggregation that represents cardinality aggregation to be performed.

  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. final def extendedStatsAggregation(name: String, field: String): ExtendedStatsAggregation

    Constructs an instance of zio.elasticsearch.aggregation.ExtendedStatsAggregation using the specified parameters.

    Constructs an instance of zio.elasticsearch.aggregation.ExtendedStatsAggregation using the specified parameters.

    name

    aggregation name

    field

    the field for which extended stats aggregation will be executed

    returns

    an instance of zio.elasticsearch.aggregation.ExtendedStatsAggregation that represents extended stats aggregation to be performed.

  15. final def extendedStatsAggregation[A](name: String, field: Field[_, A])(implicit arg0: Numeric[A]): ExtendedStatsAggregation

    Constructs a type-safe instance of zio.elasticsearch.aggregation.ExtendedStatsAggregation using the specified parameters.

    Constructs a type-safe instance of zio.elasticsearch.aggregation.ExtendedStatsAggregation using the specified parameters.

    A

    expected number type

    name

    aggregation name

    field

    the type-safe field for which extended stats aggregation will be executed

    returns

    an instance of zio.elasticsearch.aggregation.ExtendedStatsAggregation that represents extended stats aggregation to be performed.

  16. final def filterAggregation(name: String, query: ElasticQuery[_]): FilterAggregation

    Constructs an instance of zio.elasticsearch.aggregation.FilterAggregation using the specified parameters.

    Constructs an instance of zio.elasticsearch.aggregation.FilterAggregation using the specified parameters.

    name

    aggregation name

    query

    a query which the documents must match

    returns

    an instance of zio.elasticsearch.aggregation.FilterAggregation that represents filter aggregation to be performed.

  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def maxAggregation(name: String, field: String): MaxAggregation

    Constructs an instance of zio.elasticsearch.aggregation.MaxAggregation using the specified parameters.

    Constructs an instance of zio.elasticsearch.aggregation.MaxAggregation using the specified parameters.

    name

    aggregation name

    field

    the field for which max aggregation will be executed

    returns

    an instance of zio.elasticsearch.aggregation.MaxAggregation that represents max aggregation to be performed.

  21. final def maxAggregation[A](name: String, field: Field[_, A])(implicit arg0: Numeric[A]): MaxAggregation

    Constructs a type-safe instance of zio.elasticsearch.aggregation.MaxAggregation using the specified parameters.

    Constructs a type-safe instance of zio.elasticsearch.aggregation.MaxAggregation using the specified parameters.

    A

    expected number type

    name

    aggregation name

    field

    the type-safe field for which max aggregation will be executed

    returns

    an instance of zio.elasticsearch.aggregation.MaxAggregation that represents max aggregation to be performed.

  22. final def minAggregation(name: String, field: String): MinAggregation

    Constructs an instance of zio.elasticsearch.aggregation.MinAggregation using the specified parameters.

    Constructs an instance of zio.elasticsearch.aggregation.MinAggregation using the specified parameters.

    name

    aggregation name

    field

    the field for which min aggregation will be executed

    returns

    an instance of zio.elasticsearch.aggregation.MinAggregation that represents min aggregation to be performed.

  23. final def minAggregation[A](name: String, field: Field[_, A])(implicit arg0: Numeric[A]): MinAggregation

    Constructs a type-safe instance of zio.elasticsearch.aggregation.MinAggregation using the specified parameters.

    Constructs a type-safe instance of zio.elasticsearch.aggregation.MinAggregation using the specified parameters.

    A

    expected number type

    name

    aggregation name

    field

    the type-safe field for which min aggregation will be executed

    returns

    an instance of zio.elasticsearch.aggregation.MinAggregation that represents min aggregation to be performed.

  24. final def missingAggregation(name: String, field: String): MissingAggregation

    Constructs an instance of zio.elasticsearch.aggregation.MissingAggregation using the specified parameters.

    Constructs an instance of zio.elasticsearch.aggregation.MissingAggregation using the specified parameters.

    name

    aggregation name

    field

    the field for which missing aggregation will be executed

    returns

    an instance of zio.elasticsearch.aggregation.MissingAggregation that represents missing aggregation to be performed.

  25. final def missingAggregation(name: String, field: Field[_, String]): MissingAggregation

    Constructs a type-safe instance of zio.elasticsearch.aggregation.MissingAggregation using the specified parameters.

    Constructs a type-safe instance of zio.elasticsearch.aggregation.MissingAggregation using the specified parameters.

    name

    aggregation name

    field

    the type-safe field for which missing aggregation will be executed

    returns

    an instance of zio.elasticsearch.aggregation.MissingAggregation that represents missing aggregation to be performed.

  26. final def multipleAggregations: MultipleAggregations

    Constructs an empty instance of the zio.elasticsearch.aggregation.MultipleAggregations.

    Constructs an empty instance of the zio.elasticsearch.aggregation.MultipleAggregations.

    returns

    an instance of empty zio.elasticsearch.aggregation.MultipleAggregations.

  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  30. final def percentileRanksAggregation(name: String, field: String, value: BigDecimal, values: BigDecimal*): PercentileRanksAggregation

    Constructs an instance of zio.elasticsearch.aggregation.PercentileRanksAggregation using the specified parameters.

    Constructs an instance of zio.elasticsearch.aggregation.PercentileRanksAggregation using the specified parameters.

    name

    the name of the aggregation

    field

    the field for which percentile ranks aggregation will be executed

    value

    the first value to be calculated for zio.elasticsearch.aggregation.PercentileRanksAggregation

    values

    an array of values to be calculated for zio.elasticsearch.aggregation.PercentileRanksAggregation

    returns

    an instance of zio.elasticsearch.aggregation.PercentileRanksAggregation that represents percentile ranks aggregation to be performed.

  31. final def percentileRanksAggregation[A](name: String, field: Field[_, A], value: BigDecimal, values: BigDecimal*)(implicit arg0: Numeric[A]): PercentileRanksAggregation

    Constructs a type-safe instance of zio.elasticsearch.aggregation.PercentileRanksAggregation using the specified parameters.

    Constructs a type-safe instance of zio.elasticsearch.aggregation.PercentileRanksAggregation using the specified parameters.

    A

    expected number type

    name

    the name of the aggregation

    field

    the type-safe field for which percentile ranks aggregation will be executed

    value

    the first value to be calculated for zio.elasticsearch.aggregation.PercentileRanksAggregation

    values

    an array of values to be calculated for zio.elasticsearch.aggregation.PercentileRanksAggregation

    returns

    an instance of zio.elasticsearch.aggregation.PercentileRanksAggregation that represents percentile ranks aggregation to be performed.

  32. final def percentilesAggregation(name: String, field: String): PercentilesAggregation

    Constructs an instance of zio.elasticsearch.aggregation.PercentilesAggregation using the specified parameters.

    Constructs an instance of zio.elasticsearch.aggregation.PercentilesAggregation using the specified parameters.

    name

    aggregation name

    field

    the field for which percentiles aggregation will be executed

    returns

    an instance of zio.elasticsearch.aggregation.PercentilesAggregation that represents percentiles aggregation to be performed.

  33. final def percentilesAggregation[A](name: String, field: Field[_, A])(implicit arg0: Numeric[A]): PercentilesAggregation

    Constructs a type-safe instance of zio.elasticsearch.aggregation.PercentilesAggregation using the specified parameters.

    Constructs a type-safe instance of zio.elasticsearch.aggregation.PercentilesAggregation using the specified parameters.

    A

    expected number type

    name

    aggregation name

    field

    the type-safe field for which percentiles aggregation will be executed

    returns

    an instance of zio.elasticsearch.aggregation.PercentilesAggregation that represents percentiles aggregation to be performed.

  34. final def statsAggregation(name: String, field: String): StatsAggregation

    Constructs an instance of zio.elasticsearch.aggregation.StatsAggregation using the specified parameters.

    Constructs an instance of zio.elasticsearch.aggregation.StatsAggregation using the specified parameters.

    name

    the name of the aggregation

    field

    the field for which stats aggregation will be executed

    returns

    an instance of zio.elasticsearch.aggregation.StatsAggregation that represents stats aggregation to be performed.

  35. final def statsAggregation[A](name: String, field: Field[_, A])(implicit arg0: Numeric[A]): StatsAggregation

    Constructs a type-safe instance of zio.elasticsearch.aggregation.StatsAggregation using the specified parameters.

    Constructs a type-safe instance of zio.elasticsearch.aggregation.StatsAggregation using the specified parameters.

    A

    expected number type

    name

    the name of the aggregation

    field

    the type-safe field for which stats aggregation will be executed

    returns

    an instance of zio.elasticsearch.aggregation.StatsAggregation that represents stats aggregation to be performed.

  36. final def sumAggregation(name: String, field: String): SumAggregation

    Constructs an instance of zio.elasticsearch.aggregation.SumAggregation using the specified parameters.

    Constructs an instance of zio.elasticsearch.aggregation.SumAggregation using the specified parameters.

    name

    aggregation name

    field

    the field for which sum aggregation will be executed

    returns

    an instance of zio.elasticsearch.aggregation.SumAggregation that represents sum aggregation to be performed.

  37. final def sumAggregation[A](name: String, field: Field[_, A])(implicit arg0: Numeric[A]): SumAggregation

    Constructs a type-safe instance of zio.elasticsearch.aggregation.SumAggregation using the specified parameters.

    Constructs a type-safe instance of zio.elasticsearch.aggregation.SumAggregation using the specified parameters.

    A

    expected number type

    name

    aggregation name

    field

    the type-safe field for which sum aggregation will be executed

    returns

    an instance of zio.elasticsearch.aggregation.SumAggregation that represents sum aggregation to be performed.

  38. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  39. final def termsAggregation(name: String, field: String): TermsAggregation

    Constructs an instance of zio.elasticsearch.aggregation.TermsAggregation using the specified parameters.

    Constructs an instance of zio.elasticsearch.aggregation.TermsAggregation using the specified parameters.

    name

    aggregation name

    field

    the field for which terms aggregation will be executed

    returns

    an instance of zio.elasticsearch.aggregation.TermsAggregation that represents terms aggregation to be performed.

  40. final def termsAggregation(name: String, field: Field[_, String]): TermsAggregation

    Constructs a type-safe instance of zio.elasticsearch.aggregation.TermsAggregation using the specified parameters.

    Constructs a type-safe instance of zio.elasticsearch.aggregation.TermsAggregation using the specified parameters.

    name

    the name of the aggregation

    field

    the type-safe field for which the aggregation will be executed

    returns

    an instance of zio.elasticsearch.aggregation.TermsAggregation that represents terms aggregation to be performed.

  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. final def valueCountAggregation(name: String, field: String): ValueCountAggregation

    Constructs an instance of zio.elasticsearch.aggregation.ValueCountAggregation using the specified parameters.

    Constructs an instance of zio.elasticsearch.aggregation.ValueCountAggregation using the specified parameters.

    name

    aggregation name

    field

    the field for which value count aggregation will be executed

    returns

    an instance of zio.elasticsearch.aggregation.ValueCountAggregation that represents value count aggregation to be performed.

  43. final def valueCountAggregation(name: String, field: Field[_, Any]): ValueCountAggregation

    Constructs a type-safe instance of zio.elasticsearch.aggregation.ValueCountAggregation using the specified parameters.

    Constructs a type-safe instance of zio.elasticsearch.aggregation.ValueCountAggregation using the specified parameters.

    name

    aggregation name

    field

    the type-safe field for which value count aggregation will be executed

    returns

    an instance of zio.elasticsearch.aggregation.ValueCountAggregation that represents value count aggregation to be performed.

  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def weightedAvgAggregation(name: String, valueField: String, weightField: String): WeightedAvgAggregation

    Constructs an instance of zio.elasticsearch.aggregation.WeightedAvgAggregation using the specified parameters.

    Constructs an instance of zio.elasticsearch.aggregation.WeightedAvgAggregation using the specified parameters.

    name

    aggregation name

    valueField

    the field that represents value for which weighted avg aggregation will be executed

    weightField

    the field that represents weight for which weighted avg aggregation will be executed

    returns

    an instance of zio.elasticsearch.aggregation.WeightedAvgAggregation that represents weighted avg aggregation to be performed.

  48. final def weightedAvgAggregation(name: String, valueField: Field[_, Any], weightField: Field[_, Any]): WeightedAvgAggregation

    Constructs a type-safe instance of zio.elasticsearch.aggregation.WeightedAvgAggregation using the specified parameters.

    Constructs a type-safe instance of zio.elasticsearch.aggregation.WeightedAvgAggregation using the specified parameters.

    name

    aggregation name

    valueField

    the type-safe field that represents value for which weighted avg aggregation will be executed

    weightField

    the type-safe field that represents weight for which weighted avg aggregation will be executed

    returns

    an instance of zio.elasticsearch.aggregation.WeightedAvgAggregation that represents weighted avg aggregation to be performed.

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped