1//===----------------------------------------------------------------------===//
2// DuckDB
3//
4// duckdb/storage/checkpoint/table_data_reader.hpp
5//
6//
7//===----------------------------------------------------------------------===//
8
9#pragma once
10
11#include "duckdb/storage/checkpoint_manager.hpp"
12
13namespace duckdb {
14struct BoundCreateTableInfo;
15
16//! The table data reader is responsible for reading the data of a table from the block manager
17class TableDataReader {
18public:
19 TableDataReader(CheckpointManager &manager, MetaBlockReader &reader, BoundCreateTableInfo &info);
20
21 void ReadTableData();
22
23private:
24 CheckpointManager &manager;
25 MetaBlockReader &reader;
26 BoundCreateTableInfo &info;
27};
28
29} // namespace duckdb
30