|
iceberg-cpp
|
Task representing a data file and its corresponding delete files. More...
#include <table_scan.h>
Public Member Functions | |
| FileScanTask (std::shared_ptr< DataFile > data_file, std::vector< std::shared_ptr< DataFile > > delete_files={}, std::shared_ptr< Expression > filter=nullptr) | |
| Construct with data file, delete files, and residual filter. | |
| const std::shared_ptr< DataFile > & | data_file () const |
| The data file that should be read by this scan task. | |
| const std::vector< std::shared_ptr< DataFile > > & | delete_files () const |
| Delete files that apply to this data file. | |
| const std::shared_ptr< Expression > & | residual_filter () const |
| Residual filter to apply after reading. | |
| Kind | kind () const override |
| The kind of scan task. | |
| int64_t | size_bytes () const override |
| The number of bytes that should be read by this scan task. | |
| int32_t | files_count () const override |
| The number of files that should be read by this scan task. | |
| int64_t | estimated_row_count () const override |
| The number of rows that should be read by this scan task. | |
Additional Inherited Members | |
Public Types inherited from iceberg::ScanTask | |
| enum class | Kind : uint8_t { kFileScanTask , kChangelogScanTask } |
Task representing a data file and its corresponding delete files.
|
explicit |
Construct with data file, delete files, and residual filter.
| data_file | The data file to read. |
| delete_files | Delete files that apply to this data file. |
| filter | Optional residual filter to apply after reading. |
|
overridevirtual |
The number of rows that should be read by this scan task.
Implements iceberg::ScanTask.
|
overridevirtual |
The number of files that should be read by this scan task.
Implements iceberg::ScanTask.
|
inlineoverridevirtual |
The kind of scan task.
Implements iceberg::ScanTask.
|
overridevirtual |
The number of bytes that should be read by this scan task.
Implements iceberg::ScanTask.