25#include <unordered_map>
26#include <unordered_set>
28#include "iceberg/iceberg_export.h"
29#include "iceberg/result.h"
41 static Result<std::shared_ptr<UpdateProperties>> Make(
42 std::shared_ptr<TransactionContext> ctx);
47 std::unordered_map<std::string, std::string> updates;
48 std::unordered_set<std::string> removals;
49 std::optional<int8_t> format_version;
68 Kind
kind() const final {
return Kind::kUpdateProperties; }
72 Result<ApplyResult> Apply();
77 std::unordered_map<std::string, std::string> updates_;
78 std::unordered_set<std::string> removals_;
79 std::optional<int8_t> format_version_;
Base class for all kinds of table metadata updates.
Definition pending_update.h:41
Updates table properties.
Definition update_properties.h:39
bool IsRetryable() const override
Whether this update can be retried after a commit conflict.
Definition update_properties.h:69
Kind kind() const final
Return the kind of this pending update.
Definition update_properties.h:68
Definition update_properties.h:46