Class ViewUpdateRequest.RemoveViewPropertyRequest
java.lang.Object
org.apache.gravitino.dto.requests.ViewUpdateRequest.RemoveViewPropertyRequest
- All Implemented Interfaces:
ViewUpdateRequest,RESTMessage,RESTRequest
- Enclosing interface:
- ViewUpdateRequest
public static class ViewUpdateRequest.RemoveViewPropertyRequest
extends Object
implements ViewUpdateRequest
Represents a request to remove a property of a view.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.gravitino.dto.requests.ViewUpdateRequest
ViewUpdateRequest.RemoveViewPropertyRequest, ViewUpdateRequest.RenameViewRequest, ViewUpdateRequest.ReplaceViewRequest, ViewUpdateRequest.SetViewPropertyRequest -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for Jackson deserialization.RemoveViewPropertyRequest(String property) Constructor for RemoveViewPropertyRequest. -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate()Ensures that a constructed instance of a REST message is valid according to the REST spec.The view change represented by this request.
-
Constructor Details
-
RemoveViewPropertyRequest
Constructor for RemoveViewPropertyRequest.- Parameters:
property- The property to remove.
-
RemoveViewPropertyRequest
public RemoveViewPropertyRequest()Default constructor for Jackson deserialization.
-
-
Method Details
-
validate
Description copied from interface:RESTMessageEnsures 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.
- Specified by:
validatein interfaceRESTMessage- Throws:
IllegalArgumentException
-
viewChange
Description copied from interface:ViewUpdateRequestThe view change represented by this request.- Specified by:
viewChangein interfaceViewUpdateRequest- Returns:
- An instance of
ViewChange.
-