iceberg-cpp
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
iceberg::ScanMetricsResult Struct Reference

Immutable snapshot of scan metrics for use in ScanReport. More...

#include <scan_report.h>

Public Member Functions

bool operator== (const ScanMetricsResult &) const =default
 

Static Public Member Functions

static ScanMetricsResult From (const ScanMetrics &scan_metrics)
 Build a ScanMetricsResult from live scan metrics.
 

Public Attributes

std::optional< TimerResulttotal_planning_duration
 Total planning duration (count of recordings + accumulated nanoseconds).
 
std::optional< CounterResultresult_data_files
 Number of data files included in the scan result.
 
std::optional< CounterResultresult_delete_files
 Number of delete files included in the scan result.
 
std::optional< CounterResultscanned_data_manifests
 Number of data manifests whose files were read (not skipped).
 
std::optional< CounterResultscanned_delete_manifests
 Number of delete manifests whose files were read (not skipped).
 
std::optional< CounterResulttotal_data_manifests
 Total number of data manifests in the snapshot.
 
std::optional< CounterResulttotal_delete_manifests
 Total number of delete manifests in the snapshot.
 
std::optional< CounterResulttotal_file_size_in_bytes
 Total byte size of all result data files.
 
std::optional< CounterResulttotal_delete_file_size_in_bytes
 Total byte size of all result delete files.
 
std::optional< CounterResultskipped_data_manifests
 Number of data manifests skipped by partition/stats pruning.
 
std::optional< CounterResultskipped_delete_manifests
 Number of delete manifests skipped by partition/stats pruning.
 
std::optional< CounterResultskipped_data_files
 Number of individual data files skipped by stats pruning.
 
std::optional< CounterResultskipped_delete_files
 Number of individual delete files skipped by stats pruning.
 
std::optional< CounterResultindexed_delete_files
 Number of indexed delete files (positional or DV) in the result.
 
std::optional< CounterResultequality_delete_files
 Number of equality delete files in the result.
 
std::optional< CounterResultpositional_delete_files
 Number of positional delete files in the result.
 
std::optional< CounterResultdvs
 Number of deletion vectors in the result.
 

Detailed Description

Immutable snapshot of scan metrics for use in ScanReport.

Populated by ScanMetrics::ToResult() after a scan completes.


The documentation for this struct was generated from the following files: