selects_strong_none_consistency.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. [
  2. {
  3. "QueryType": "table_drop",
  4. "Database": "db_test",
  5. "Datatable": "table_strong_none_consistency"
  6. },
  7. {
  8. "QueryType": "table_create",
  9. "Database": "db_test",
  10. "Datatable": "table_strong_none_consistency",
  11. "Definition": {
  12. "Columns": [
  13. {
  14. "Name": "KeyBoolean",
  15. "Type": "Boolean"
  16. },
  17. {
  18. "Name": "KeyLong",
  19. "Type": "Long"
  20. },
  21. {
  22. "Name": "KeyString",
  23. "Type": "String"
  24. },
  25. {
  26. "Name": "ValueBoolean",
  27. "Type": "Boolean"
  28. },
  29. {
  30. "Name": "ValueLong",
  31. "Type": "Long"
  32. },
  33. {
  34. "Name": "ValueString",
  35. "Type": "String"
  36. }
  37. ],
  38. "Key": [
  39. "KeyBoolean",
  40. "KeyLong",
  41. "KeyString"
  42. ],
  43. "Indexes": [
  44. {
  45. "Name": "index_0",
  46. "Columns": [
  47. "KeyString",
  48. "KeyLong",
  49. "KeyBoolean"
  50. ]
  51. },
  52. {
  53. "Name": "index_1",
  54. "Columns": [
  55. "ValueBoolean"
  56. ]
  57. },
  58. {
  59. "Name": "index_2",
  60. "Columns": [
  61. "ValueLong"
  62. ]
  63. },
  64. {
  65. "Name": "index_3",
  66. "Columns": [
  67. "ValueString"
  68. ]
  69. }
  70. ]
  71. }
  72. },
  73. {
  74. "QueryType": "batch_insert",
  75. "Database": "db_test",
  76. "Datatable": "table_strong_none_consistency",
  77. "InsertObjects": [
  78. {
  79. "KeyLong": 1,
  80. "KeyString": "a",
  81. "KeyBoolean": false,
  82. "ValueLong": 2,
  83. "ValueString": "b",
  84. "ValueBoolean": false
  85. },
  86. {
  87. "KeyLong": 1,
  88. "KeyString": "a",
  89. "KeyBoolean": true,
  90. "ValueLong": 1,
  91. "ValueString": "b",
  92. "ValueBoolean": false
  93. }
  94. ]
  95. },
  96. {
  97. "QueryType": "select",
  98. "Database": "db_test",
  99. "Datatable": "table_strong_none_consistency",
  100. "Hint": "index_0",
  101. "Criteria": {
  102. "KeyLong": 1,
  103. "KeyString": "a",
  104. "KeyBoolean": false
  105. }
  106. }
  107. ]