gravitino.api.schema_change.SchemaChange¶
- class gravitino.api.schema_change.SchemaChange¶
Bases:
ABC
NamespaceChange class to set the property and value pairs for the namespace.
- __init__()¶
Methods
__init__
()remove_property
(schema_property)SchemaChange class to remove a property from the schema.
set_property
(schema_property, value)SchemaChange class to set the property and value pairs for the schema.
- class RemoveProperty(_property: str)¶
Bases:
object
SchemaChange class to remove a property from the schema.
- property()¶
Retrieves the name of the property to be removed.
- Returns:
The name of the property for removal.
- class SetProperty(_property: str, _value: str)¶
Bases:
object
SchemaChange class to set the property and value pairs for the schema.
- property()¶
Retrieves the name of the property to be set.
- Returns:
The name of the property.
- value()¶
Retrieves the value of the property to be set.
- Returns:
The value of the property.
- static remove_property(schema_property: str)¶
SchemaChange class to remove a property from the schema.
- Args:
schema_property: The property name to remove.
- Returns:
The SchemaChange object.
- static set_property(schema_property: str, value: str)¶
SchemaChange class to set the property and value pairs for the schema.
- Args:
schema_property: The property name to set. value: The value to set the property to.
- Returns:
The SchemaChange object.