public static class TableUpdateRequest.UpdateTableColumnCommentRequest 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 |
---|
UpdateTableColumnCommentRequest()
Default constructor for Jackson deserialization.
|
UpdateTableColumnCommentRequest(java.lang.String[] fieldName,
java.lang.String newComment)
Constructor for UpdateTableColumnCommentRequest.
|
Modifier and Type | Method and Description |
---|---|
TableChange |
tableChange()
The table change that is requested.
|
void |
validate()
Validates the request.
|
public UpdateTableColumnCommentRequest(java.lang.String[] fieldName, java.lang.String newComment)
fieldName
- the field name to updatenewComment
- the new comment of the fieldpublic UpdateTableColumnCommentRequest()
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()
TableUpdateRequest
tableChange
in interface TableUpdateRequest