aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/grouping/request/StandardDeviationAggregator.java
blob: 7211adbfe4dfb6b46fd2810a99083ef0f3cef19b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2017 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.search.grouping.request;

/**
 * This class represents an stddev-aggregator in a {@link GroupingExpression}. It evaluates to population standard deviation
 * of the values that the contained expression evaluated to over all the inputs.
 *
 * @author bjorncs
 */
public class StandardDeviationAggregator extends AggregatorNode {

    /**
     * @param exp The expression to aggregate on.
     */
    public StandardDeviationAggregator(GroupingExpression exp) {
        super("stddev", exp);
    }
}