Class TableCreateRequest

java.lang.Object
org.apache.gravitino.dto.requests.TableCreateRequest
All Implemented Interfaces:
RESTMessage, RESTRequest

public class TableCreateRequest extends Object implements RESTRequest
Represents a request to create a table.
  • Constructor Details

    • TableCreateRequest

      public TableCreateRequest()
      Default constructor for Jackson deserialization.
    • TableCreateRequest

      public TableCreateRequest(String name, @Nullable String comment, ColumnDTO[] columns, @Nullable Map<String,String> properties, @Nullable SortOrderDTO[] sortOrders, @Nullable DistributionDTO distribution, @Nullable Partitioning[] partitioning, @Nullable IndexDTO[] indexes)
      Creates a new TableCreateRequest.
      Parameters:
      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.
  • Method Details