gravitino.api.rel.view_change.RenameView¶
- class gravitino.api.rel.view_change.RenameView(_new_name: str)¶
Bases:
ViewChangeA ViewChange to rename a view.
- __init__(_new_name: str) None¶
Methods
__init__(_new_name)new_name()Returns the new view name.
remove_property(property_name)Create a change for removing a view property.
rename(new_name)Create a change for renaming a view.
replace_view(columns, representations[, ...])Create a change for replacing the view body.
set_property(property_name, value)Create a change for setting a view property.
- new_name() str¶
Returns the new view name.
- static remove_property(property_name: str) RemoveProperty¶
Create a change for removing a view property.
- static rename(new_name: str) RenameView¶
Create a change for renaming a view.
- static replace_view(columns: list[gravitino.api.rel.column.Column], representations: list[gravitino.api.rel.representation.Representation], default_catalog: str | None = None, default_schema: str | None = None, comment: str | None = None) ReplaceView¶
Create a change for replacing the view body.
- static set_property(property_name: str, value: str) SetProperty¶
Create a change for setting a view property.