gravitino.api.rel.view_change.RemoveProperty

class gravitino.api.rel.view_change.RemoveProperty(_property: str)

Bases: ViewChange

A ViewChange to remove a view property.

__init__(_property: str) → None

Methods

__init__(_property)

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.

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.