1//===----------------------------------------------------------------------===//
2// DuckDB
3//
4// duckdb/planner/expression_binder/relation_binder.hpp
5//
6//
7//===----------------------------------------------------------------------===//
8
9#pragma once
10
11#include "duckdb/planner/expression_binder.hpp"
12
13namespace duckdb {
14
15//! The relation binder is a binder used to bind expressions in the relation API
16class RelationBinder : public ExpressionBinder {
17public:
18 RelationBinder(Binder &binder, ClientContext &context, string op);
19
20 string op;
21
22protected:
23 BindResult BindExpression(unique_ptr<ParsedExpression> &expr_ptr, idx_t depth,
24 bool root_expression = false) override;
25
26 string UnsupportedAggregateMessage() override;
27};
28
29} // namespace duckdb
30