c

zio.elasticsearch

ZIOAggregationsOps

implicit final class ZIOAggregationsOps[R] extends AnyRef

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

Instance Constructors

  1. new ZIOAggregationsOps(zio: RIO[R, ResultWithAggregation])

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. def aggregation(name: String): RIO[R, Option[AggregationResult]]

    Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.

    name

    the name of the aggregation to retrieve

    returns

    a RIO effect that, when executed, will produce an optional result.AggregationResult.

  5. def aggregationAs[A <: AggregationResult](name: String): RIO[R, Option[A]]

    Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.

    A

    type of the aggregation to retrieve, must be subtype of result.AggregationResult

    name

    the name of the aggregation to retrieve

    returns

    a RIO effect that, when executed, will produce the aggregation as instance of parameter A.

  6. def aggregations: RIO[R, Map[String, AggregationResult]]

    Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.

    returns

    a RIO effect that, when executed, will produce a Map of the aggregations name and result.AggregationResult.

  7. def asAvgAggregation(name: String): RIO[R, Option[AvgAggregationResult]]

    Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.

    name

    the name of the aggregation to retrieve

    returns

    a RIO effect that, when executed, will produce the aggregation as instance of result.AvgAggregationResult.

  8. def asCardinalityAggregation(name: String): RIO[R, Option[CardinalityAggregationResult]]

    Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.

    name

    the name of the aggregation to retrieve

    returns

    a RIO effect that, when executed, will produce the aggregation as instance of result.CardinalityAggregationResult.

  9. def asExtendedStatsAggregation(name: String): RIO[R, Option[ExtendedStatsAggregationResult]]

    Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.

    name

    the name of the aggregation to retrieve

    returns

    a RIO effect that, when executed, will produce the aggregation as instance of result.ExtendedStatsAggregationResult.

  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def asMaxAggregation(name: String): RIO[R, Option[MaxAggregationResult]]

    Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.

    name

    the name of the aggregation to retrieve

    returns

    a RIO effect that, when executed, will produce the aggregation as instance of result.MaxAggregationResult.

  12. def asMinAggregation(name: String): RIO[R, Option[MinAggregationResult]]

    Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.

    name

    the name of the aggregation to retrieve

    returns

    a RIO effect that, when executed, will produce the aggregation as instance of result.MinAggregationResult.

  13. def asMissingAggregation(name: String): RIO[R, Option[MissingAggregationResult]]

    Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.

    name

    the name of the aggregation to retrieve

    returns

    a RIO effect that, when executed, will produce the aggregation as instance of result.MissingAggregationResult.

  14. def asPercentileRanksAggregation(name: String): RIO[R, Option[PercentileRanksAggregationResult]]

    Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.

    name

    the name of the aggregation to retrieve

    returns

    a RIO effect that, when executed, will produce the aggregation as instance of result.PercentileRanksAggregationResult.

  15. def asPercentilesAggregation(name: String): RIO[R, Option[PercentilesAggregationResult]]

    Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.

    name

    the name of the aggregation to retrieve

    returns

    a RIO effect that, when executed, will produce the aggregation as instance of result.PercentilesAggregationResult.

  16. def asStatsAggregation(name: String): RIO[R, Option[StatsAggregationResult]]

    Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.

    name

    the name of the aggregation to retrieve

    returns

    a RIO effect that, when executed, will produce the aggregation as instance of result.StatsAggregationResult.

  17. def asSumAggregation(name: String): RIO[R, Option[SumAggregationResult]]

    Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.

    name

    the name of the aggregation to retrieve

    returns

    a RIO effect that, when executed, will produce the aggregation as instance of result.SumAggregationResult.

  18. def asTermsAggregation(name: String): RIO[R, Option[TermsAggregationResult]]

    Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.

    name

    the name of the aggregation to retrieve

    returns

    a RIO effect that, when executed, will produce the aggregation as instance of result.TermsAggregationResult.

  19. def asValueCountAggregation(name: String): RIO[R, Option[ValueCountAggregationResult]]

    Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.

    name

    the name of the aggregation to retrieve

    returns

    a RIO effect that, when executed, will produce the aggregation as instance of result.ValueCountAggregationResult.

  20. def asWeightedAvgAggregation(name: String): RIO[R, Option[WeightedAvgAggregationResult]]

    Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.

    name

    the name of the aggregation to retrieve

    returns

    a RIO effect that, when executed, will produce the aggregation as instance of result.WeightedAvgAggregationResult.

  21. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  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 synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

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