implicit final class ZIOAggregationsOps[R] extends AnyRef
- Alphabetic
- By Inheritance
- ZIOAggregationsOps
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def aggregation(name: String): RIO[R, Option[AggregationResult]]
Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.
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.
- def aggregationAs[A <: AggregationResult](name: String): RIO[R, Option[A]]
Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.
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.
- def aggregations: RIO[R, Map[String, AggregationResult]]
Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.
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.
- def asAvgAggregation(name: String): RIO[R, Option[AvgAggregationResult]]
Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.
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.
- def asCardinalityAggregation(name: String): RIO[R, Option[CardinalityAggregationResult]]
Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.
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.
- def asExtendedStatsAggregation(name: String): RIO[R, Option[ExtendedStatsAggregationResult]]
Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.
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.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asMaxAggregation(name: String): RIO[R, Option[MaxAggregationResult]]
Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.
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.
- def asMinAggregation(name: String): RIO[R, Option[MinAggregationResult]]
Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.
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.
- def asMissingAggregation(name: String): RIO[R, Option[MissingAggregationResult]]
Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.
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.
- def asPercentileRanksAggregation(name: String): RIO[R, Option[PercentileRanksAggregationResult]]
Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.
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.
- def asPercentilesAggregation(name: String): RIO[R, Option[PercentilesAggregationResult]]
Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.
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.
- def asStatsAggregation(name: String): RIO[R, Option[StatsAggregationResult]]
Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.
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.
- def asSumAggregation(name: String): RIO[R, Option[SumAggregationResult]]
Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.
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.
- def asTermsAggregation(name: String): RIO[R, Option[TermsAggregationResult]]
Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.
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.
- def asValueCountAggregation(name: String): RIO[R, Option[ValueCountAggregationResult]]
Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.
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.
- def asWeightedAvgAggregation(name: String): RIO[R, Option[WeightedAvgAggregationResult]]
Executes the ElasticRequest.SearchRequest or the ElasticRequest.SearchAndAggregateRequest.
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.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])