27#include <unordered_map>
50 std::shared_ptr<FileIO>
io;
54 std::vector<std::shared_ptr<Schema>>
schemas;
78 std::unique_ptr<Impl> impl_;
Opens a FileScanTask as an ArrowArrayStream.
Definition file_scan_task_reader.h:45
Result< ArrowArrayStream > Open(const FileScanTask &task)
Open a task and return an Arrow C stream for its projected live rows.
static Result< std::unique_ptr< FileScanTaskReader > > Make(Options options)
Create a reusable task reader from shared read context.
Task representing a data file and its corresponding delete files.
Definition table_scan.h:66
Define symbol visibility macros for data APIs.
Core Apache Iceberg C++ APIs.
Definition arrow_io_util.h:33
std::expected< T, E > Result
Result alias.
Definition result.h:88
Define Result, Status, and error helpers.
Options shared by all tasks opened by this reader.
Definition file_scan_task_reader.h:48
std::shared_ptr< Schema > projected_schema
Definition file_scan_task_reader.h:57
std::shared_ptr< NameMapping > name_mapping
Optional name mapping for files written without field IDs.
Definition file_scan_task_reader.h:59
std::shared_ptr< Schema > table_schema
The table schema. Used as the primary field lookup for delete file resolution.
Definition file_scan_task_reader.h:52
std::vector< std::shared_ptr< Schema > > schemas
Optional list of historical table schemas for field lookup.
Definition file_scan_task_reader.h:54
std::shared_ptr< FileIO > io
FileIO instance for reading data and delete files.
Definition file_scan_task_reader.h:50
std::unordered_map< std::string, std::string > properties
Format-specific or implementation-specific options for data readers.
Definition file_scan_task_reader.h:61