37 std::shared_ptr<TransactionContext> ctx);
47 Kind
kind() const final {
return Kind::kUpdateLocation; }
56 std::string location_;
Base class for all kinds of table metadata updates.
Definition pending_update.h:41
Updating table location with a new base location.
Definition update_location.h:34
bool IsRetryable() const override
Whether this update can be retried after a commit conflict.
Definition update_location.h:48
Kind kind() const final
Return the kind of this pending update.
Definition update_location.h:47
UpdateLocation & SetLocation(std::string_view location)
Sets the new location for the table.
Result< std::string > Apply()
Apply the pending changes and return the new location.
Core Apache Iceberg C++ APIs.
Definition arrow_io_util.h:33
std::expected< T, E > Result
Result alias.
Definition result.h:88