public class TableCreateRequest extends java.lang.Object implements RESTRequest
| Constructor and Description |
|---|
TableCreateRequest()
Default constructor for Jackson deserialization.
|
TableCreateRequest(java.lang.String name,
java.lang.String comment,
ColumnDTO[] columns,
java.util.Map<java.lang.String,java.lang.String> properties,
SortOrderDTO[] sortOrders,
DistributionDTO distribution,
Partitioning[] partitioning,
IndexDTO[] indexes)
Creates a new TableCreateRequest.
|
| Modifier and Type | Method and Description |
|---|---|
void |
validate()
Validates the
TableCreateRequest request. |
public TableCreateRequest()
public TableCreateRequest(java.lang.String name,
@Nullable
java.lang.String comment,
ColumnDTO[] columns,
@Nullable
java.util.Map<java.lang.String,java.lang.String> properties,
@Nullable
SortOrderDTO[] sortOrders,
@Nullable
DistributionDTO distribution,
@Nullable
Partitioning[] partitioning,
@Nullable
IndexDTO[] indexes)
name - The name of the table.comment - The comment of the table.columns - The columns of the table.properties - The properties of the table.sortOrders - The sort orders of the table.distribution - The distribution of the table.partitioning - The partitioning of the table.indexes - The indexes of the table.public void validate()
throws java.lang.IllegalArgumentException
TableCreateRequest request.validate in interface RESTMessagejava.lang.IllegalArgumentException - If the request is invalid, this exception is thrown.