gravitino.dto.requests.schema_update_request.SchemaUpdateRequest

class gravitino.dto.requests.schema_update_request.SchemaUpdateRequest

Bases: object

Represents an interface for Schema update requests.

__init__() None

Methods

class RemoveSchemaPropertyRequest(schema_property: str)

Bases: SchemaUpdateRequestBase

Represents a request to remove a property from a Schema.

validate()

Validates the fields of the request.

Raises:

IllegalArgumentException if schema_property is not set.

class SetSchemaPropertyRequest(schema_property: str, value: str)

Bases: SchemaUpdateRequestBase

Represents a request to set a property on a Schema.

validate()

Validates the fields of the request.

Raises:

IllegalArgumentException if schema_property or value are not set.