Package org.apache.iceberg.rest.requests
Class UpdateTableRequest
- java.lang.Object
-
- org.apache.iceberg.rest.requests.UpdateTableRequest
-
- All Implemented Interfaces:
RESTMessage
,RESTRequest
public class UpdateTableRequest extends java.lang.Object implements RESTRequest
-
-
Constructor Summary
Constructors Constructor Description UpdateTableRequest()
UpdateTableRequest(java.util.List<UpdateRequirement> requirements, java.util.List<MetadataUpdate> updates)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateTableRequest
create(TableIdentifier identifier, java.util.List<UpdateRequirement> requirements, java.util.List<MetadataUpdate> updates)
TableIdentifier
identifier()
java.util.List<UpdateRequirement>
requirements()
java.lang.String
toString()
java.util.List<MetadataUpdate>
updates()
void
validate()
Ensures that a constructed instance of a REST message is valid according to the REST spec.
-
-
-
Constructor Detail
-
UpdateTableRequest
public UpdateTableRequest()
-
UpdateTableRequest
public UpdateTableRequest(java.util.List<UpdateRequirement> requirements, java.util.List<MetadataUpdate> updates)
-
-
Method Detail
-
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
public java.util.List<UpdateRequirement> requirements()
-
updates
public java.util.List<MetadataUpdate> updates()
-
identifier
public TableIdentifier identifier()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
create
public static UpdateTableRequest create(TableIdentifier identifier, java.util.List<UpdateRequirement> requirements, java.util.List<MetadataUpdate> updates)
-
-