Class RenameTableRequest

java.lang.Object
org.apache.iceberg.rest.requests.RenameTableRequest
All Implemented Interfaces:
RESTMessage, RESTRequest

public class RenameTableRequest extends Object implements RESTRequest
A REST request to rename a table or a view.
  • 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 interface RESTMessage
    • source

      public TableIdentifier source()
    • destination

      public TableIdentifier destination()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static RenameTableRequest.Builder builder()