blob: c4587791f40c5fc78727a57c4e0eede44a4acdb0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "singleresultnode.h"
namespace search::expression {
class NumericResultNode : public SingleResultNode
{
public:
DECLARE_ABSTRACT_EXPRESSIONNODE(NumericResultNode);
using CP = vespalib::IdentifiablePtr<NumericResultNode>;
using UP = std::unique_ptr<NumericResultNode>;
virtual NumericResultNode *clone() const override = 0;
virtual void multiply(const ResultNode & b) = 0;
virtual void divide(const ResultNode & b) = 0;
virtual void modulo(const ResultNode & b) = 0;
};
}
|