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;
}
- Type: string.
- Required: yes.
- This parameter specifies the name of the primary table for which to create an index table.
- Type: IndexMeta.
- Required: yes.
- The schema of the index table.
- 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 {
}