1 | //===----------------------------------------------------------------------===// |
---|---|
2 | // DuckDB |
3 | // |
4 | // duckdb/planner/expression/bound_comparison_expression.hpp |
5 | // |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | #pragma once |
10 | |
11 | #include "duckdb/planner/expression.hpp" |
12 | |
13 | namespace duckdb { |
14 | |
15 | class BoundComparisonExpression : public Expression { |
16 | public: |
17 | BoundComparisonExpression(ExpressionType type, unique_ptr<Expression> left, unique_ptr<Expression> right); |
18 | |
19 | unique_ptr<Expression> left; |
20 | unique_ptr<Expression> right; |
21 | |
22 | public: |
23 | string ToString() const override; |
24 | |
25 | bool Equals(const BaseExpression *other) const override; |
26 | |
27 | unique_ptr<Expression> Copy() override; |
28 | }; |
29 | } // namespace duckdb |
30 |