Loads delete files and constructs in-memory delete indexes.
More...
#include <delete_loader.h>
Loads delete files and constructs in-memory delete indexes.
◆ DeleteLoader()
| iceberg::DeleteLoader::DeleteLoader |
( |
std::shared_ptr< FileIO > |
io | ) |
|
|
explicit |
◆ LoadEqualityDeletes()
Load equality deletes into an in-memory set.
- Parameters
-
| delete_files | Equality delete files to load (must have content == Content::kEqualityDeletes) |
| equality_type | The struct type describing the equality columns |
- Returns
- A StructLikeSet containing the deleted rows
◆ LoadPositionDeletes()
| Result< PositionDeleteIndex > iceberg::DeleteLoader::LoadPositionDeletes |
( |
std::span< const std::shared_ptr< DataFile > > |
delete_files, |
|
|
std::string_view |
data_file_path |
|
) |
| const |
Load position deletes for a specific data file.
Reads the given position delete files and returns a PositionDeleteIndex containing only the positions that apply to the specified data file path. Supports both regular position delete files and deletion vectors.
- Parameters
-
| delete_files | Position delete files to load (must have content == Content::kPositionDeletes) |
| data_file_path | Path of the data file to filter positions for |
- Returns
- A PositionDeleteIndex with deleted positions for the data file
The documentation for this class was generated from the following files: