WeightedAvgAggregation

zio.elasticsearch.aggregation.WeightedAvgAggregation

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

Sets the valueMissing parameter for the zio.elasticsearch.aggregation.WeightedAvgAggregation. ThevalueMissing parameter provides a value to use when a document is missing the value field that the aggregation is running on.

Sets the valueMissing parameter for the zio.elasticsearch.aggregation.WeightedAvgAggregation. ThevalueMissing parameter provides a value to use when a document is missing the value field that the aggregation is running on.

Value parameters

value

the value to use for missing documents

Attributes

Returns

an instance of the zio.elasticsearch.aggregation.WeightedAvgAggregation enriched with the valueMissing parameter.

Sets the weightMissing parameter for the zio.elasticsearch.aggregation.WeightedAvgAggregation. TheweightMissing parameter provides a value to use when a document is missing the weight field that the aggregation is running on.

Sets the weightMissing parameter for the zio.elasticsearch.aggregation.WeightedAvgAggregation. TheweightMissing parameter provides a value to use when a document is missing the weight field that the aggregation is running on.

Value parameters

value

the value to use for missing documents

Attributes

Returns

an instance of the zio.elasticsearch.aggregation.WeightedAvgAggregation enriched with the weightMissing parameter.

Inherited and Abstract methods

Adds a new aggregation to the list of aggregations represented as MultipleAggregations.

Adds a new aggregation to the list of aggregations represented as MultipleAggregations.

Value parameters

agg

the SingleElasticAggregation to add

Attributes

Returns

a new instance of MultipleAggregations with the specified aggregation added to its list of aggregations.

Inherited from:
WithAgg (hidden)