Package org.apache.iceberg.rest.requests
Class RenameTableRequest
- java.lang.Object
-
- org.apache.iceberg.rest.requests.RenameTableRequest
-
- All Implemented Interfaces:
RESTMessage
,RESTRequest
public class RenameTableRequest extends java.lang.Object implements RESTRequest
A REST request to rename a table.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RenameTableRequest.Builder
-
Constructor Summary
Constructors Constructor Description RenameTableRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RenameTableRequest.Builder
builder()
TableIdentifier
destination()
TableIdentifier
source()
java.lang.String
toString()
void
validate()
Ensures that a constructed instance of a REST message is valid according to the REST spec.
-
-
-
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
-
source
public TableIdentifier source()
-
destination
public TableIdentifier destination()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
builder
public static RenameTableRequest.Builder builder()
-
-