gravitino.api.rel.view_change.SetProperty¶
- class gravitino.api.rel.view_change.SetProperty(_property: str, _value: str)¶
Bases:
ViewChangeA ViewChange to set a view property.
- __init__(_property: str, _value: str) None¶
Methods
__init__(_property, _value)property()Returns the property 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.
value()Returns the property value.
- property() str¶
Returns the property 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.
- value() str¶
Returns the property value.