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

import java.util.Arrays;

/**
 * @author baldersheim
 */
public class MathPowFunction extends FunctionNode {
    /**
     * Constructs a new instance of this class.
     *
     * @param x The expression to evaluate for base, double value will be requested.
     * @param y The expression to evaluate for the exponent, double value will be requested.
     */
    public MathPowFunction(GroupingExpression x, GroupingExpression y) {
        super("math.pow", Arrays.asList(x,y));
    }
}