39 static Result<std::shared_ptr<UpdateSortOrder>> Make(
40 std::shared_ptr<TransactionContext> ctx);
68 Kind
kind() const final {
return Kind::kUpdateSortOrder; }
72 Result<std::shared_ptr<SortOrder>> Apply();
77 std::vector<SortField> sort_fields_;
78 bool case_sensitive_ =
true;
Base class for all kinds of table metadata updates.
Definition pending_update.h:41
Updating table sort order with a newly created order.
Definition update_sort_order.h:37
Kind kind() const final
Return the kind of this pending update.
Definition update_sort_order.h:68
bool IsRetryable() const override
Whether this update can be retried after a commit conflict.
Definition update_sort_order.h:69
SortDirection
Sort direction in a partition, either ascending or descending.
Definition sort_field.h:38
NullOrder
Definition sort_field.h:63