123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- [
- {
- "QueryType": "table_drop",
- "Database": "db_test",
- "Datatable": "table_strong_consistency_es"
- },
- {
- "QueryType": "table_create",
- "Database": "db_test",
- "Datatable": "table_strong_consistency_es",
- "Definition": {
- "strong_consistency": true,
- "elastic_search": true,
- "Columns": [
- {
- "Name": "KeyBoolean",
- "Type": "Boolean"
- },
- {
- "Name": "KeyLong",
- "Type": "Long"
- },
- {
- "Name": "KeyString",
- "Type": "String"
- },
- {
- "Name": "ValueBoolean",
- "Type": "Boolean"
- },
- {
- "Name": "ValueLong",
- "Type": "Long"
- },
- {
- "Name": "ValueString",
- "Type": "String"
- }
- ],
- "Key": [
- "KeyBoolean",
- "KeyLong",
- "KeyString"
- ],
- "Indexes": [
- {
- "Name": "index_0",
- "Columns": [
- "KeyString",
- "KeyLong",
- "KeyBoolean"
- ]
- },
- {
- "Name": "index_1",
- "Columns": [
- "ValueBoolean"
- ]
- },
- {
- "Name": "index_2",
- "Columns": [
- "ValueLong"
- ]
- },
- {
- "Name": "index_3",
- "Columns": [
- "ValueString"
- ]
- }
- ]
- }
- },
- {
- "QueryType": "batch_insert",
- "Database": "db_test",
- "Datatable": "table_strong_consistency_es",
- "InsertObjects": [
- {
- "KeyLong": 1,
- "KeyString": "a",
- "KeyBoolean": false,
- "ValueLong": 2,
- "ValueString": "b",
- "ValueBoolean": false
- },
- {
- "KeyLong": 1,
- "KeyString": "a",
- "KeyBoolean": true,
- "ValueLong": 1,
- "ValueString": "b",
- "ValueBoolean": false
- }
- ]
- },
- {
- "QueryType": "select",
- "Database": "db_test",
- "Datatable": "table_strong_consistency_es",
- "Hint": "index_0",
- "Criteria": {
- "KeyLong": 1,
- "KeyString": "a",
- "KeyBoolean": false
- }
- }
- ]
|