gravitino.dto.requests.fileset_update_request.FilesetUpdateRequest¶
- class gravitino.dto.requests.fileset_update_request.FilesetUpdateRequest¶
Bases:
object
Request to update a fileset.
- __init__()¶
Methods
__init__
()- class RemoveFilesetCommentRequest¶
Bases:
FilesetUpdateRequestBase
Represents a request to remove comment from a Fileset.
- Deprecated:
Please use UpdateFilesetCommentRequest with null value as the argument instead.
- validate()¶
Validates the fields of the request.
always pass
- class RemoveFilesetPropertyRequest(fileset_property: str)¶
Bases:
FilesetUpdateRequestBase
Represents a request to remove a property from a Fileset.
- validate()¶
Validates the fields of the request.
- Raises:
IllegalArgumentException if fileset_property is not set.
- class RenameFilesetRequest(new_name: str)¶
Bases:
FilesetUpdateRequestBase
The fileset update request for renaming a fileset.
- fileset_change()¶
Returns the fileset change.
- Returns:
the fileset change.
- validate()¶
Validates the fields of the request.
- Raises:
IllegalArgumentException if the new name is not set.
- class SetFilesetPropertyRequest(fileset_property: str, value: str)¶
Bases:
FilesetUpdateRequestBase
Represents a request to set a property on a Fileset.
- validate()¶
Validates the fields of the request.
- Raises:
IllegalArgumentException if fileset_property or value are not set.
- class UpdateFilesetCommentRequest(new_comment: str)¶
Bases:
FilesetUpdateRequestBase
Represents a request to update the comment on a Fileset.
- fileset_change()¶
Returns the fileset change
- validate()¶
Validates the fields of the request. Always pass.