iceberg-cpp
Loading...
Searching...
No Matches
Classes | Functions
delete_file_index.h File Reference
#include <functional>
#include <map>
#include <memory>
#include <optional>
#include <unordered_map>
#include <vector>
#include "iceberg/expression/literal.h"
#include "iceberg/iceberg_export.h"
#include "iceberg/manifest/manifest_entry.h"
#include "iceberg/result.h"
#include "iceberg/type_fwd.h"
#include "iceberg/util/error_collector.h"
#include "iceberg/util/partition_value_util.h"

Go to the source code of this file.

Classes

struct  iceberg::internal::EqualityDeleteFile
 Wrapper for equality delete files that caches converted bounds. More...
 
class  iceberg::internal::PositionDeletes
 A group of position delete files sorted by the sequence number they apply to. More...
 
class  iceberg::internal::EqualityDeletes
 A group of equality delete files sorted by apply sequence number. More...
 
class  iceberg::DeleteFileIndex
 An index of delete files by sequence number. More...
 

Functions

bool iceberg::internal::RangesOverlap (const Literal &data_lower, const Literal &data_upper, const Literal &delete_lower, const Literal &delete_upper)
 Check if two ranges overlap.
 
bool iceberg::internal::AllNull (const std::map< int32_t, int64_t > &null_counts, const std::map< int32_t, int64_t > &value_counts, int32_t field_id, bool is_required)
 Check if a value count map indicates all values are null.
 
bool iceberg::internal::AllNonNull (const std::map< int32_t, int64_t > &null_counts, int32_t field_id, bool is_required)
 Check if all values are non-null.
 
bool iceberg::internal::ContainsNull (const std::map< int32_t, int64_t > &null_counts, int32_t field_id, bool is_required)
 Check if the column contains any null values.
 
Result< bool > iceberg::internal::CanContainEqDeletesForFile (const DataFile &data_file, const EqualityDeleteFile &delete_file)
 Check if an equality delete file can contain deletes for a data file.
 

Detailed Description

An index of delete files by sequence number.