gravitino.dto.requests.view_update_request.ViewUpdateRequest¶
- class gravitino.dto.requests.view_update_request.ViewUpdateRequest¶
Bases:
objectNamespace for all view update request types.
- __init__()¶
Methods
__init__()- class RemoveViewPropertyRequest(_property: str)¶
Bases:
ViewUpdateRequestBaseUpdate request to remove a view property.
- validate()¶
Ensures that a constructed instance of a REST message is valid according to the REST spec.
This is needed when parsing data that comes from external sources and the object might have been constructed without all the required fields present.
- Raises:
IllegalArgumentException: If the message is not valid.
- view_change() ViewChange¶
Convert to view change operation.
- class RenameViewRequest(_new_name: str)¶
Bases:
ViewUpdateRequestBaseUpdate request to rename a view.
- validate()¶
Ensures that a constructed instance of a REST message is valid according to the REST spec.
This is needed when parsing data that comes from external sources and the object might have been constructed without all the required fields present.
- Raises:
IllegalArgumentException: If the message is not valid.
- view_change() ViewChange¶
Convert to view change operation.
- class ReplaceViewRequest(_columns: list[gravitino.dto.rel.column_dto.ColumnDTO] | None = None, _representations: list[gravitino.dto.rel.representation_dto.RepresentationDTO] | None = None, _default_catalog: str | None = None, _default_schema: str | None = None, _comment: str | None = None)¶
Bases:
ViewUpdateRequestBaseUpdate request to replace the view body.
- validate()¶
Ensures that a constructed instance of a REST message is valid according to the REST spec.
This is needed when parsing data that comes from external sources and the object might have been constructed without all the required fields present.
- Raises:
IllegalArgumentException: If the message is not valid.
- view_change() ViewChange¶
Convert to view change operation.
- class SetViewPropertyRequest(_property: str, _value: str)¶
Bases:
ViewUpdateRequestBaseUpdate request to set a view property.
- validate()¶
Ensures that a constructed instance of a REST message is valid according to the REST spec.
This is needed when parsing data that comes from external sources and the object might have been constructed without all the required fields present.
- Raises:
IllegalArgumentException: If the message is not valid.
- view_change() ViewChange¶
Convert to view change operation.