[ { "QueryType": "table_drop", "Database": "database_1", "Datatable": "table_test" }, { "QueryType": "table_create", "Database": "database_1", "Datatable": "table_test", "Definition": { "table_type": "index_data", "split_column": "data_time", "Columns": [ { "Name": "sign", "Type": "String" }, { "Name": "data_time", "Type": "String" }, { "Name": "value", "Type": "Double" } ], "Key": [ "sign", "data_time" ], "Indexes": [ { "Name": "index_1", "Columns": [ "data_time" ] } ] } }, { "QueryType": "batch_insert", "Database": "database_1", "Datatable": "table_test", "InsertObjects": [ { "sign": "1", "data_time": "20080101000000", "value": 1.0 }, { "sign": "1", "data_time": "20080102000000", "value": 1.0 }, { "sign": "1", "data_time": "20080201000000", "value": 1.0 }, { "sign": "1", "data_time": "20080202000000", "value": 1.0 }, { "sign": "2", "data_time": "20080101000000", "value": 1.0 }, { "sign": "2", "data_time": "20080102000000", "value": 1.0 }, { "sign": "2", "data_time": "20080201000000", "value": 1.0 }, { "sign": "2", "data_time": "20080202000000", "value": 1.0 } ] }, { "QueryType": "index_drop", "Database": "database_1", "Datatable": "table_test", "Name": "index_1" }, { "QueryType": "index_create", "Database": "database_1", "Datatable": "table_test", "Name": "index_1", "Columns": [ "data_time" ] } ]