27#include <unordered_map>
52 std::shared_ptr<FileIO>
io;
56 std::vector<std::shared_ptr<Schema>>
schemas;
67 bool case_sensitive =
true;
75 bool apply_residuals{
false};
103 std::unique_ptr<Impl> impl_;
Opens a FileScanTask as an ArrowArrayStream.
Definition file_scan_task_reader.h:47
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:68
Definition expected.h:1199
Define symbol visibility macros for data APIs.
Core Apache Iceberg C++ APIs.
Definition arrow_io_util.h:34
Define Result, Status, and error helpers.
Options shared by all tasks opened by this reader.
Definition file_scan_task_reader.h:50
std::shared_ptr< Schema > projected_schema
Definition file_scan_task_reader.h:64
std::shared_ptr< NameMapping > name_mapping
Optional name mapping for files written without field IDs.
Definition file_scan_task_reader.h:69
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:54
std::vector< std::shared_ptr< Schema > > schemas
Optional list of historical table schemas for field lookup.
Definition file_scan_task_reader.h:56
std::shared_ptr< FileIO > io
FileIO instance for reading data and delete files.
Definition file_scan_task_reader.h:52
std::unordered_map< std::string, std::string > properties
Format-specific or implementation-specific options for data readers.
Definition file_scan_task_reader.h:71