Class ViewUpdatesRequest
java.lang.Object
org.apache.gravitino.dto.requests.ViewUpdatesRequest
- All Implemented Interfaces:
RESTMessage,RESTRequest
Represents a request to update a view.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor used by Jackson deserializer.ViewUpdatesRequest(List<ViewUpdateRequest> updates) Creates a new ViewUpdatesRequest. -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate()Ensures that a constructed instance of a REST message is valid according to the REST spec.
-
Constructor Details
-
ViewUpdatesRequest
Creates a new ViewUpdatesRequest.- Parameters:
updates- The updates to apply to the view.
-
ViewUpdatesRequest
public ViewUpdatesRequest()Default constructor used by Jackson deserializer.
-
-
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
-