Package org.apache.iceberg.rest.requests
Class RenameTableRequest
java.lang.Object
org.apache.iceberg.rest.requests.RenameTableRequest
- All Implemented Interfaces:
RESTMessage
,RESTRequest
A REST request to rename a table or a view.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RenameTableRequest.Builder
builder()
source()
toString()
void
validate()
Ensures that a constructed instance of a REST message is valid according to the REST spec.
-
Constructor Details
-
RenameTableRequest
public RenameTableRequest()
-
-
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
-
source
-
destination
-
toString
-
builder
-