public static class TableUpdateRequest.RenameTableRequest extends java.lang.Object implements TableUpdateRequest
TableUpdateRequest.AddTableColumnRequest, TableUpdateRequest.DeleteTableColumnRequest, TableUpdateRequest.RemoveTablePropertyRequest, TableUpdateRequest.RenameTableColumnRequest, TableUpdateRequest.RenameTableRequest, TableUpdateRequest.SetTablePropertyRequest, TableUpdateRequest.UpdateTableColumnCommentRequest, TableUpdateRequest.UpdateTableColumnNullabilityRequest, TableUpdateRequest.UpdateTableColumnPositionRequest, TableUpdateRequest.UpdateTableColumnTypeRequest, TableUpdateRequest.UpdateTableCommentRequest
Constructor and Description |
---|
RenameTableRequest()
Default constructor for Jackson deserialization.
|
RenameTableRequest(java.lang.String newName)
Constructor for RenameTableRequest.
|
Modifier and Type | Method and Description |
---|---|
TableChange |
tableChange()
Returns the table change.
|
void |
validate()
Validates the request.
|
public RenameTableRequest(java.lang.String newName)
newName
- the new name of the tablepublic RenameTableRequest()
public void validate() throws java.lang.IllegalArgumentException
validate
in interface RESTMessage
java.lang.IllegalArgumentException
- If the request is invalid, this exception is thrown.public TableChange tableChange()
tableChange
in interface TableUpdateRequest