27#include <unordered_map>
37 std::unordered_map<std::string, std::string> labels;
39 bool operator==(
const FieldLabel&)
const =
default;
47 std::unordered_map<std::string, std::string> object_labels;
48 std::vector<FieldLabel> fields;
51 bool empty()
const {
return object_labels.empty() && fields.empty(); }
53 bool operator==(
const Labels&)
const =
default;
Define symbol visibility macros for core Iceberg APIs.
Core Apache Iceberg C++ APIs.
Definition arrow_io_util.h:34
Catalog-provided labels for a single field, identified by its field ID.
Definition labels.h:35
Optional catalog-provided labels returned when a table is loaded.
Definition labels.h:46
bool empty() const
Returns true when there are neither object-level nor field-level labels.
Definition labels.h:51