You can call this operation to create an index table for the specified primary table.

Request syntax

message CreateIndexRequest {
    required string main_table_name = 1;
    required IndexMeta index_meta = 2;
    optional bool include_base_data = 3;
}
main_table_name:
  • Type: string.
  • Required: yes.
  • This parameter specifies the name of the primary table for which to create an index table.
index_meta:
  • Type: IndexMeta.
  • Required: yes.
  • The schema of the index table.
include_base_data:
  • Type: Bool.
  • Required: no.
  • This parameter specifies whether the existing data of the primary table is included in the index table to be created.

Response syntax



message CreateIndexResponse {
}