ElasticAggregation

zio.elasticsearch.ElasticAggregation$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

Constructs an empty instance of the MultipleAggregations.

Constructs an empty instance of the MultipleAggregations.

Attributes

Returns:

an instance of empty MultipleAggregations.

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

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

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

Attributes

field

the Field object representing the type-safe field for which the aggregation will be executed

name

the name of the aggregation

Returns:

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

Constructs an instance of TermsAggregation using the specified parameters.

Constructs an instance of TermsAggregation using the specified parameters.

Attributes

field

field for which terms aggregation will be executed

name

aggregation name

Returns:

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