gravitino.dto.requests.metalake_update_request.MetalakeUpdateRequest¶
- class gravitino.dto.requests.metalake_update_request.MetalakeUpdateRequest¶
Bases:
object
Represents an interface for Metalake update requests.
- __init__()¶
Methods
__init__
()- class RemoveMetalakePropertyRequest(metalake_property: str)¶
Bases:
MetalakeUpdateRequestBase
Represents a request to remove a property from a Metalake.
- validate()¶
Validates the fields of the request.
- Raises:
IllegalArgumentException if metalake_property is not set.
- class RenameMetalakeRequest(new_name: str)¶
Bases:
MetalakeUpdateRequestBase
Represents a request to rename a Metalake.
- validate()¶
Validates the fields of the request.
- Raises:
IllegalArgumentException if the new name is not set.
- class SetMetalakePropertyRequest(metalake_property: str, value: str)¶
Bases:
MetalakeUpdateRequestBase
Represents a request to set a property on a Metalake.
- validate()¶
Validates the fields of the request.
- Raises:
IllegalArgumentException if metalake_property or value are not set.
- class UpdateMetalakeCommentRequest(new_comment: str)¶
Bases:
MetalakeUpdateRequestBase
Represents a request to update the comment on a Metalake.
- validate()¶
Validates the fields of the request. Always pass.