Package org.apache.iceberg.rest.requests
Class UpdateTableRequest
java.lang.Object
org.apache.iceberg.rest.requests.UpdateTableRequest
- All Implemented Interfaces:
RESTMessage
,RESTRequest
-
Constructor Summary
ConstructorDescriptionUpdateTableRequest
(List<UpdateRequirement> requirements, List<MetadataUpdate> updates) -
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateTableRequest
create
(TableIdentifier identifier, List<UpdateRequirement> requirements, List<MetadataUpdate> updates) toString()
updates()
void
validate()
Ensures that a constructed instance of a REST message is valid according to the REST spec.
-
Constructor Details
-
UpdateTableRequest
public UpdateTableRequest() -
UpdateTableRequest
-
-
Method Details
-
validate
public void validate()Description copied from interface:RESTMessage
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.
- Specified by:
validate
in interfaceRESTMessage
-
requirements
-
updates
-
identifier
-
toString
-
create
public static UpdateTableRequest create(TableIdentifier identifier, List<UpdateRequirement> requirements, List<MetadataUpdate> updates)
-