|
iceberg-cpp
|
Field-level metrics for a single column. More...
#include <metrics.h>
Public Attributes | |
| int32_t | field_id = -1 |
| The field ID this metrics belongs to. | |
| int64_t | value_count = -1 |
| The total number of values (including nulls) for this field. A negative value indicates the count is unknown. | |
| int64_t | null_value_count = -1 |
| The number of null values for this field. A negative value indicates the count is unknown. | |
| int64_t | nan_value_count = -1 |
| The number of NaN values for this field. A negative value indicates the count is unknown. | |
| std::optional< Literal > | lower_bound = std::nullopt |
| The lower bound value as a Literal. Empty if no lower bound is available. | |
| std::optional< Literal > | upper_bound = std::nullopt |
| The upper bound value as a Literal. Empty if no upper bound is available. | |
Field-level metrics for a single column.
This structure captures value counts, null counts, NaN counts, and optional lower/upper bounds for a specific field identified by its field_id.