public static class TableUpdateRequest.SetTablePropertyRequest 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 |
---|
SetTablePropertyRequest()
Default constructor for Jackson deserialization.
|
SetTablePropertyRequest(java.lang.String property,
java.lang.String value)
Constructor for SetTablePropertyRequest.
|
Modifier and Type | Method and Description |
---|---|
TableChange |
tableChange()
Returns the table change.
|
void |
validate()
Validates the request.
|
public SetTablePropertyRequest(java.lang.String property, java.lang.String value)
property
- the property to setvalue
- the value to setpublic SetTablePropertyRequest()
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