1//===----------------------------------------------------------------------===//
2// DuckDB
3//
4// duckdb/optimizer/topn_optimizer.hpp
5//
6//
7//===----------------------------------------------------------------------===//
8
9#pragma once
10
11#include "duckdb/common/constants.hpp"
12
13namespace duckdb {
14class LogicalOperator;
15class Optimizer;
16
17class TopN {
18public:
19 //! Optimize ORDER BY + LIMIT to TopN
20 unique_ptr<LogicalOperator> Optimize(unique_ptr<LogicalOperator> op);
21};
22
23} // namespace duckdb
24