gravitino.api.rel.table_change.UpdateColumnDefaultValue¶
- final class gravitino.api.rel.table_change.UpdateColumnDefaultValue(_field_name: list[str], _new_default_value: Expression | None)¶
Bases:
ColumnChangeA TableChange to update the default value of a field.
The field names are used to find the field to update.
If the field does not exist, the change must result in an IllegalArgumentException.
- __init__(_field_name: list[str], _new_default_value: Expression | None) None¶
Methods
__init__(_field_name, _new_default_value)Retrieves the field name of the column to be modified.
get_new_default_value()- field_name() list[str]¶
Retrieves the field name of the column to be modified.
- Returns:
- list[str]:
A list of strings representing the field name.