Class ViewUpdateRequest.SetViewPropertyRequest
java.lang.Object
org.apache.gravitino.dto.requests.ViewUpdateRequest.SetViewPropertyRequest
- All Implemented Interfaces:
ViewUpdateRequest,RESTMessage,RESTRequest
- Enclosing interface:
- ViewUpdateRequest
public static class ViewUpdateRequest.SetViewPropertyRequest
extends Object
implements ViewUpdateRequest
Represents a request to set 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.SetViewPropertyRequest(String property, String value) Constructor for SetViewPropertyRequest. -
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
-
SetViewPropertyRequest
Constructor for SetViewPropertyRequest.- Parameters:
property- The property to set.value- The value of the property.
-
SetViewPropertyRequest
public SetViewPropertyRequest()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.
-