public class TableCreateRequest extends java.lang.Object implements RESTRequest
Constructor and Description |
---|
TableCreateRequest() |
TableCreateRequest(java.lang.String name,
java.lang.String comment,
ColumnDTO[] columns,
java.util.Map<java.lang.String,java.lang.String> properties) |
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) |
Modifier and Type | Method and Description |
---|---|
void |
validate()
Ensures that a constructed instance of a REST message is valid according to the REST spec.
|
public TableCreateRequest()
public TableCreateRequest(java.lang.String name, java.lang.String comment, ColumnDTO[] columns, java.util.Map<java.lang.String,java.lang.String> properties)
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)
public void validate() throws java.lang.IllegalArgumentException
RESTMessage
This is needed when parsing data that comes from external sources and the object might have been constructed without all the required fields present.
validate
in interface RESTMessage
java.lang.IllegalArgumentException