blob: 6d01bcc79c72d8438ab1c221e2e7f6acc1e6abbc (
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 Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "unaryfunctionnode.h"
namespace search {
namespace expression {
class StrLenFunctionNode : public UnaryFunctionNode
{
public:
DECLARE_EXPRESSIONNODE(StrLenFunctionNode);
StrLenFunctionNode() { }
StrLenFunctionNode(ExpressionNode::UP arg) : UnaryFunctionNode(std::move(arg)) { }
private:
bool onExecute() const override;
void onPrepareResult() override;
};
}
}
|