iceberg-cpp
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Enumerations | Functions
metrics_reporter.h File Reference

Define metrics report dispatch APIs. More...

#include <string>
#include <string_view>
#include <unordered_map>
#include <utility>
#include <variant>
#include "iceberg/iceberg_export.h"
#include "iceberg/metrics/commit_report.h"
#include "iceberg/metrics/scan_report.h"
#include "iceberg/result.h"

Go to the source code of this file.

Classes

class  iceberg::MetricsReporter
 Interface for reporting metrics from Iceberg operations. More...
 

Namespaces

namespace  iceberg
 Core Apache Iceberg C++ APIs.
 

Typedefs

using iceberg::MetricsReport = std::variant< ScanReport, CommitReport >
 A metrics report, which can be either a ScanReport or CommitReport.
 

Enumerations

enum class  iceberg::MetricsReportType { kScanReport , kCommitReport }
 The type of a metrics report.
 

Functions

ICEBERG_EXPORT constexpr std::string_view iceberg::ToString (MetricsReportType type) noexcept
 Get the string representation of a metrics report type.
 
ICEBERG_EXPORT MetricsReportType iceberg::GetReportType (const MetricsReport &report)
 Get the type of a metrics report.
 

Detailed Description

Define metrics report dispatch APIs.