public static class TableUpdateRequest.UpdateTableCommentRequest extends java.lang.Object implements TableUpdateRequest
TableUpdateRequest.AddTableColumnRequest, TableUpdateRequest.AddTableIndexRequest, TableUpdateRequest.DeleteTableColumnRequest, TableUpdateRequest.DeleteTableIndexRequest, TableUpdateRequest.RemoveTablePropertyRequest, TableUpdateRequest.RenameTableColumnRequest, TableUpdateRequest.RenameTableRequest, TableUpdateRequest.SetTablePropertyRequest, TableUpdateRequest.UpdateColumnAutoIncrementRequest, TableUpdateRequest.UpdateTableColumnCommentRequest, TableUpdateRequest.UpdateTableColumnDefaultValueRequest, TableUpdateRequest.UpdateTableColumnNullabilityRequest, TableUpdateRequest.UpdateTableColumnPositionRequest, TableUpdateRequest.UpdateTableColumnTypeRequest, TableUpdateRequest.UpdateTableCommentRequest
Constructor and Description |
---|
UpdateTableCommentRequest()
Default constructor for Jackson deserialization.
|
UpdateTableCommentRequest(java.lang.String newComment)
Constructor for UpdateTableCommentRequest.
|
Modifier and Type | Method and Description |
---|---|
TableChange |
tableChange()
Returns the table change.
|
void |
validate()
Validates the request.
|
public UpdateTableCommentRequest(java.lang.String newComment)
newComment
- the new comment of the tablepublic UpdateTableCommentRequest()
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