aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/expression/strcatfunctionnode.h
blob: 29ad3d539537ad529c8a84f1cabc9999794dcc19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once

#include "multiargfunctionnode.h"

namespace search {
namespace expression {

class StrCatFunctionNode : public MultiArgFunctionNode
{
public:
    DECLARE_EXPRESSIONNODE(StrCatFunctionNode);
    StrCatFunctionNode() { }
    StrCatFunctionNode(ExpressionNode::UP arg) { addArg(std::move(arg)); }
private:
    void onPrepareResult() override;
    bool onExecute() const override;
};

}
}