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< TimerResult > total_planning_duration
 Total planning duration (count of recordings + accumulated nanoseconds).
 
std::optional< CounterResult > result_data_files
 Number of data files included in the scan result.
 
std::optional< CounterResult > result_delete_files
 Number of delete files included in the scan result.
 
std::optional< CounterResult > scanned_data_manifests
 Number of data manifests whose files were read (not skipped).
 
std::optional< CounterResult > scanned_delete_manifests
 Number of delete manifests whose files were read (not skipped).
 
std::optional< CounterResult > total_data_manifests
 Total number of data manifests in the snapshot.
 
std::optional< CounterResult > total_delete_manifests
 Total number of delete manifests in the snapshot.
 
std::optional< CounterResult > total_file_size_in_bytes
 Total byte size of all result data files.
 
std::optional< CounterResult > total_delete_file_size_in_bytes
 Total byte size of all result delete files.
 
std::optional< CounterResult > skipped_data_manifests
 Number of data manifests skipped by partition/stats pruning.
 
std::optional< CounterResult > skipped_delete_manifests
 Number of delete manifests skipped by partition/stats pruning.
 
std::optional< CounterResult > skipped_data_files
 Number of individual data files skipped by stats pruning.
 
std::optional< CounterResult > skipped_delete_files
 Number of individual delete files skipped by stats pruning.
 
std::optional< CounterResult > indexed_delete_files
 Number of indexed delete files (positional or DV) in the result.
 
std::optional< CounterResult > equality_delete_files
 Number of equality delete files in the result.
 
std::optional< CounterResult > positional_delete_files
 Number of positional delete files in the result.
 
std::optional< CounterResult > dvs
 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 file: