|
iceberg-cpp
|
Represents setting the table location. More...
#include <table_update.h>
Public Member Functions | |
| SetLocation (std::string location) | |
| const std::string & | location () const |
| void | ApplyTo (TableMetadataBuilder &builder) const override |
| Apply this update to a TableMetadataBuilder. | |
| void | GenerateRequirements (TableUpdateContext &context) const override |
| Generate update requirements for this metadata update. | |
| Kind | kind () const override |
| Return the kind of this update. | |
| bool | Equals (const TableUpdate &other) const override |
| Check equality with another TableUpdate. | |
| std::unique_ptr< TableUpdate > | Clone () const override |
| Create a deep copy of this update. | |
Additional Inherited Members | |
Public Types inherited from iceberg::TableUpdate | |
| enum class | Kind : uint8_t { kAssignUUID , kUpgradeFormatVersion , kAddSchema , kSetCurrentSchema , kAddPartitionSpec , kSetDefaultPartitionSpec , kRemovePartitionSpecs , kRemoveSchemas , kAddSortOrder , kSetDefaultSortOrder , kAddSnapshot , kRemoveSnapshots , kRemoveSnapshotRef , kSetSnapshotRef , kSetProperties , kRemoveProperties , kSetLocation , kSetStatistics , kRemoveStatistics , kSetPartitionStatistics , kRemovePartitionStatistics } |
Represents setting the table location.
|
overridevirtual |
Apply this update to a TableMetadataBuilder.
This method modifies the builder by applying the update operation it represents. Each subclass implements this to apply its specific type of update.
| builder | The builder to apply this update to |
Implements iceberg::TableUpdate.
|
overridevirtual |
Create a deep copy of this update.
Implements iceberg::TableUpdate.
|
overridevirtual |
Check equality with another TableUpdate.
| other | The update to compare with |
Implements iceberg::TableUpdate.
|
overridevirtual |
Generate update requirements for this metadata update.
This method generates the appropriate UpdateRequirement instances that must be validated before this update can be applied. The context provides information about the base metadata and operation mode.
| context | The context containing base metadata and operation state |
Implements iceberg::TableUpdate.
|
inlineoverridevirtual |
Return the kind of this update.
Implements iceberg::TableUpdate.