ddbcli 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@ module DynamoDB
14
14
 
15
15
  class Parser < Racc::Parser
16
16
 
17
- module_eval(<<'...end ddb-parser.y/module_eval...', 'ddb-parser.y', 493)
17
+ module_eval(<<'...end ddb-parser.y/module_eval...', 'ddb-parser.y', 501)
18
18
 
19
19
  KEYWORDS = %w(
20
20
  ADD
@@ -97,8 +97,9 @@ def scan
97
97
  until @ss.eos?
98
98
  if (tok = @ss.scan /\s+/)
99
99
  # nothing to do
100
- elsif (tok = @ss.scan /(?:<>|!=|>=|<=|>|<|=)/)
100
+ elsif (tok = @ss.scan /(?:>>|<>|!=|>=|<=|>|<|=)/)
101
101
  sym = {
102
+ '>>' => :GTGT,
102
103
  '<>' => :NE,
103
104
  '!=' => :NE,
104
105
  '>=' => :GE,
@@ -153,7 +154,7 @@ def raise_error(error_value, prev_tokens, scanner)
153
154
  if prev_tokens and not prev_tokens.empty?
154
155
  toks = prev_tokens.reverse[0, 5].reverse
155
156
  toks.unshift('...') if prev_tokens.length > toks.length
156
- errmsg.unshift(toks.join.strip) unless toks.empty?
157
+ errmsg.unshift(toks.join.strip)
157
158
  end
158
159
 
159
160
  if scanner and not (rest = (scanner.rest || '').strip).empty?
@@ -182,397 +183,404 @@ end
182
183
  ##### State transition tables begin ###
183
184
 
184
185
  racc_action_table = [
185
- 3, 4, 18, 219, 150, 168, 220, 21, 150, 19,
186
- 20, 150, 177, 150, 50, 147, 150, 116, 97, 147,
187
- 116, 150, 147, 150, 147, 50, 150, 147, 22, 23,
188
- 24, 25, 147, 150, 147, 150, 26, 147, 150, 122,
189
- 48, 55, 97, 144, 147, 50, 147, 206, 54, 147,
190
- 99, 48, 178, 179, 27, 148, 149, 28, 29, 148,
191
- 149, 30, 148, 149, 148, 149, 50, 148, 149, 205,
192
- 68, 48, 148, 149, 148, 149, 184, 148, 149, 217,
193
- 47, 92, 218, 46, 148, 149, 148, 149, 184, 148,
194
- 149, 45, 48, 100, 192, 185, 186, 187, 188, 189,
195
- 191, 193, 196, 197, 198, 52, 209, 185, 186, 187,
196
- 188, 189, 103, 25, 34, 35, 82, 36, 37, 83,
197
- 283, 265, 53, 284, 258, 82, 257, 82, 83, 258,
198
- 83, 158, 215, 104, 159, 216, 84, 106, 85, 277,
199
- 278, 279, 130, 131, 132, 130, 131, 132, 130, 131,
200
- 132, 73, 74, 32, 33, 227, 226, 73, 74, 107,
201
- 109, 110, 111, 112, 91, 97, 90, 117, 95, 121,
202
- 122, 125, 126, 127, 128, 89, 88, 135, 136, 137,
203
- 122, 139, 140, 95, 87, 86, 152, 153, 156, 59,
204
- 80, 160, 161, 79, 163, 165, 168, 169, 170, 59,
205
- 172, 173, 78, 59, 121, 77, 183, 76, 199, 200,
206
- 201, 202, 203, 59, 75, 207, 71, 211, 109, 213,
207
- 122, 70, 69, 66, 156, 65, 150, 64, 63, 228,
208
- 230, 231, 232, 233, 95, 62, 61, 237, 135, 122,
209
- 59, 241, 242, 243, 244, 245, 246, 60, 249, 250,
210
- 59, 252, 165, 59, 57, 256, 56, 259, 43, 59,
211
- 42, 41, 264, 40, 268, 269, 270, 268, 272, 273,
212
- 39, 275, 38, 280, 282, 31, 285 ]
186
+ 3, 4, 104, 152, 182, 18, 152, 152, 152, 172,
187
+ 21, 52, 19, 20, 154, 52, 152, 154, 154, 154,
188
+ 120, 120, 25, 52, 152, 151, 181, 154, 151, 151,
189
+ 151, 22, 23, 24, 25, 154, 152, 50, 151, 26,
190
+ 152, 50, 101, 126, 152, 99, 151, 154, 72, 50,
191
+ 152, 154, 148, 95, 210, 154, 27, 52, 151, 28,
192
+ 29, 154, 151, 30, 153, 183, 151, 153, 153, 153,
193
+ 152, 49, 151, 192, 48, 209, 54, 153, 88, 57,
194
+ 89, 154, 47, 50, 192, 153, 56, 36, 37, 101,
195
+ 38, 39, 151, 55, 103, 188, 94, 153, 32, 33,
196
+ 34, 153, 35, 107, 261, 153, 188, 262, 108, 86,
197
+ 110, 153, 87, 196, 189, 190, 191, 193, 195, 197,
198
+ 200, 201, 202, 111, 213, 189, 190, 191, 193, 221,
199
+ 269, 153, 222, 262, 219, 223, 287, 220, 224, 288,
200
+ 162, 86, 86, 163, 87, 87, 134, 135, 136, 134,
201
+ 135, 136, 134, 135, 136, 281, 282, 283, 231, 230,
202
+ 77, 78, 77, 78, 113, 114, 115, 116, 93, 101,
203
+ 92, 121, 99, 125, 126, 129, 130, 131, 132, 91,
204
+ 90, 139, 140, 141, 126, 143, 144, 99, 84, 83,
205
+ 156, 157, 160, 63, 82, 164, 165, 81, 167, 169,
206
+ 172, 173, 174, 63, 176, 177, 80, 63, 125, 79,
207
+ 187, 75, 203, 204, 205, 206, 207, 63, 74, 211,
208
+ 73, 215, 113, 217, 126, 70, 69, 68, 160, 67,
209
+ 154, 66, 65, 232, 234, 235, 236, 237, 96, 64,
210
+ 63, 241, 139, 126, 63, 245, 246, 247, 248, 249,
211
+ 250, 61, 253, 254, 60, 256, 169, 63, 59, 260,
212
+ 58, 263, 45, 63, 44, 43, 268, 42, 272, 273,
213
+ 274, 272, 276, 277, 41, 279, 40, 284, 286, 31,
214
+ 289 ]
213
215
 
214
216
  racc_action_check = [
215
- 0, 0, 0, 176, 117, 207, 176, 0, 153, 0,
216
- 0, 244, 150, 192, 26, 117, 208, 118, 76, 153,
217
- 93, 209, 244, 258, 192, 90, 256, 208, 0, 0,
218
- 0, 0, 209, 252, 258, 230, 0, 256, 190, 118,
219
- 26, 28, 93, 117, 252, 46, 230, 165, 28, 190,
220
- 77, 90, 150, 150, 0, 117, 117, 0, 0, 153,
221
- 153, 0, 244, 244, 192, 192, 25, 208, 208, 165,
222
- 46, 46, 209, 209, 258, 258, 156, 256, 256, 175,
223
- 25, 71, 175, 25, 252, 252, 230, 230, 168, 190,
224
- 190, 25, 25, 78, 156, 156, 156, 156, 156, 156,
225
- 156, 156, 156, 156, 156, 27, 168, 168, 168, 168,
226
- 168, 168, 82, 78, 18, 18, 62, 18, 18, 62,
227
- 281, 262, 27, 281, 262, 107, 247, 128, 107, 247,
228
- 128, 124, 174, 83, 124, 174, 63, 84, 63, 275,
229
- 275, 275, 273, 273, 273, 233, 233, 233, 106, 106,
230
- 106, 52, 52, 2, 2, 193, 193, 75, 75, 85,
231
- 86, 87, 88, 89, 70, 92, 69, 95, 96, 97,
232
- 99, 100, 103, 104, 105, 68, 67, 108, 109, 110,
233
- 111, 112, 113, 116, 66, 65, 119, 121, 122, 123,
234
- 61, 126, 127, 59, 129, 134, 135, 136, 137, 138,
235
- 139, 140, 56, 151, 152, 55, 154, 54, 158, 159,
236
- 160, 161, 163, 164, 53, 166, 51, 169, 170, 172,
237
- 173, 49, 47, 45, 183, 44, 191, 41, 40, 198,
238
- 199, 201, 202, 203, 72, 38, 37, 211, 212, 213,
239
- 214, 216, 218, 220, 224, 227, 229, 35, 231, 232,
240
- 34, 236, 238, 239, 31, 246, 29, 251, 24, 253,
241
- 23, 22, 259, 21, 264, 266, 268, 269, 270, 272,
242
- 20, 274, 19, 279, 280, 1, 284 ]
217
+ 0, 0, 82, 121, 154, 0, 157, 248, 196, 211,
218
+ 0, 94, 0, 0, 121, 26, 212, 157, 248, 196,
219
+ 97, 122, 82, 48, 262, 121, 154, 212, 157, 248,
220
+ 196, 0, 0, 0, 0, 262, 260, 94, 212, 0,
221
+ 256, 26, 97, 122, 213, 76, 262, 260, 48, 48,
222
+ 234, 256, 121, 74, 169, 213, 0, 25, 260, 0,
223
+ 0, 234, 256, 0, 121, 154, 213, 157, 248, 196,
224
+ 194, 25, 234, 160, 25, 169, 27, 212, 67, 28,
225
+ 67, 194, 25, 25, 172, 262, 28, 18, 18, 80,
226
+ 18, 18, 194, 27, 81, 160, 73, 260, 2, 2,
227
+ 2, 256, 2, 86, 251, 213, 172, 251, 87, 111,
228
+ 88, 234, 111, 160, 160, 160, 160, 160, 160, 160,
229
+ 160, 160, 160, 89, 172, 172, 172, 172, 172, 179,
230
+ 266, 194, 179, 266, 178, 180, 285, 178, 180, 285,
231
+ 128, 66, 132, 128, 66, 132, 237, 237, 237, 277,
232
+ 277, 277, 110, 110, 110, 279, 279, 279, 197, 197,
233
+ 54, 54, 79, 79, 90, 91, 92, 93, 72, 96,
234
+ 71, 99, 100, 101, 103, 104, 107, 108, 109, 70,
235
+ 69, 112, 113, 114, 115, 116, 117, 120, 65, 63,
236
+ 123, 125, 126, 127, 58, 130, 131, 57, 133, 138,
237
+ 139, 140, 141, 142, 143, 144, 56, 155, 156, 55,
238
+ 158, 53, 162, 163, 164, 165, 167, 168, 51, 170,
239
+ 49, 173, 174, 176, 177, 47, 46, 43, 187, 42,
240
+ 195, 40, 39, 202, 203, 205, 206, 207, 75, 37,
241
+ 36, 215, 216, 217, 218, 220, 222, 224, 228, 231,
242
+ 233, 35, 235, 236, 34, 240, 242, 243, 31, 250,
243
+ 29, 255, 24, 257, 23, 22, 263, 21, 268, 270,
244
+ 272, 273, 274, 276, 20, 278, 19, 283, 284, 1,
245
+ 288 ]
243
246
 
244
247
  racc_action_pointer = [
245
- -2, 275, 151, nil, nil, nil, nil, nil, nil, nil,
246
- nil, nil, nil, nil, nil, nil, nil, nil, 109, 266,
247
- 260, 257, 255, 250, 248, 56, 4, 95, 14, 195,
248
- nil, 254, nil, nil, 195, 240, nil, 230, 225, nil,
249
- 218, 217, nil, nil, 191, 210, 35, 185, nil, 204,
250
- nil, 182, 94, 204, 197, 171, 192, nil, nil, 169,
251
- nil, 180, 94, 123, nil, 175, 148, 142, 162, 142,
252
- 154, 71, 224, nil, nil, 100, -21, 40, 80, nil,
253
- nil, nil, 89, 110, 127, 149, 148, 147, 152, 127,
254
- 15, nil, 126, 3, nil, 144, 158, 159, nil, 131,
255
- 161, nil, nil, 148, 149, 160, 129, 103, 138, 152,
256
- 145, 141, 167, 148, nil, nil, 173, -9, 0, 146,
257
- nil, 164, 178, 134, 117, nil, 174, 175, 105, 178,
258
- nil, nil, nil, nil, 142, 186, 184, 188, 144, 166,
259
- 191, nil, nil, nil, nil, nil, nil, nil, nil, nil,
260
- -12, 148, 194, -5, 166, nil, 53, nil, 146, 199,
261
- 185, 189, nil, 195, 158, 15, 175, nil, 65, 207,
262
- 206, nil, 209, 181, 118, 65, -11, nil, nil, nil,
263
- nil, nil, nil, 214, nil, nil, nil, nil, nil, nil,
264
- 25, 213, 0, 104, nil, nil, nil, nil, 179, 217,
265
- nil, 208, 209, 223, nil, nil, nil, -5, 3, 8,
266
- nil, 223, 199, 200, 185, nil, 217, nil, 178, nil,
267
- 178, nil, nil, nil, 204, nil, nil, 193, nil, 229,
268
- 22, 224, 225, 126, nil, nil, 211, nil, 199, 198,
269
- nil, nil, nil, nil, -2, nil, 242, 112, nil, nil,
270
- nil, 239, 20, 204, nil, nil, 13, nil, 10, 245,
271
- nil, nil, 107, nil, 238, nil, 248, nil, 256, 241,
272
- 255, nil, 259, 123, 257, 112, nil, nil, nil, 260,
273
- 264, 106, nil, nil, 266, nil ]
248
+ -2, 279, 96, nil, nil, nil, nil, nil, nil, nil,
249
+ nil, nil, nil, nil, nil, nil, nil, nil, 79, 267,
250
+ 261, 258, 256, 251, 249, 44, 2, 63, 49, 197,
251
+ nil, 258, nil, nil, 249, 246, 183, 229, nil, 223,
252
+ 218, nil, 216, 214, nil, nil, 189, 209, 10, 180,
253
+ nil, 198, nil, 174, 101, 196, 193, 160, 181, nil,
254
+ nil, nil, nil, 162, nil, 175, 116, 62, nil, 167,
255
+ 140, 133, 152, 69, 40, 225, 32, nil, nil, 103,
256
+ 47, 81, -14, nil, nil, nil, 77, 82, 97, 110,
257
+ 149, 148, 153, 128, -2, nil, 127, 0, nil, 145,
258
+ 159, 160, nil, 132, 162, nil, nil, 149, 150, 161,
259
+ 130, 84, 139, 153, 146, 142, 168, 149, nil, nil,
260
+ 174, -2, 1, 147, nil, 165, 179, 136, 123, nil,
261
+ 175, 176, 117, 179, nil, nil, nil, nil, 144, 187,
262
+ 185, 189, 146, 167, 192, nil, nil, nil, nil, nil,
263
+ nil, nil, nil, nil, -1, 150, 195, 1, 167, nil,
264
+ 69, nil, 148, 200, 186, 190, nil, 196, 160, 19,
265
+ 176, nil, 80, 208, 207, nil, 210, 182, 117, 112,
266
+ 118, nil, nil, nil, nil, nil, nil, 215, nil, nil,
267
+ nil, nil, nil, nil, 65, 214, 3, 105, nil, nil,
268
+ nil, nil, 181, 218, nil, 209, 210, 224, nil, nil,
269
+ nil, -4, 11, 39, nil, 224, 200, 201, 187, nil,
270
+ 218, nil, 241, nil, 181, nil, nil, nil, 205, nil,
271
+ nil, 195, nil, 230, 45, 225, 226, 124, nil, nil,
272
+ 212, nil, 201, 200, nil, nil, nil, nil, 2, nil,
273
+ 243, 87, nil, nil, nil, 240, 35, 206, nil, nil,
274
+ 31, nil, 19, 246, nil, nil, 113, nil, 239, nil,
275
+ 249, nil, 257, 242, 256, nil, 260, 127, 258, 125,
276
+ nil, nil, nil, 261, 265, 119, nil, nil, 267, nil ]
274
277
 
275
278
  racc_action_default = [
276
- -131, -131, -1, -4, -5, -6, -7, -8, -9, -10,
277
- -11, -12, -13, -14, -15, -16, -17, -18, -131, -131,
278
- -131, -131, -131, -131, -131, -131, -131, -131, -131, -131,
279
- -114, -131, -2, -3, -90, -131, -21, -131, -131, -24,
280
- -131, -131, -45, -46, -131, -131, -131, -131, -53, -54,
281
- -55, -131, -131, -131, -131, -131, -131, 286, -19, -131,
282
- -20, -131, -131, -131, -44, -131, -131, -131, -131, -131,
283
- -131, -131, -131, -94, -95, -131, -131, -131, -131, -91,
284
- -22, -23, -131, -131, -131, -131, -57, -131, -131, -131,
285
- -131, -56, -131, -131, -96, -131, -131, -131, -103, -72,
286
- -131, -106, -107, -131, -131, -131, -131, -26, -59, -131,
287
- -131, -72, -131, -131, -52, -92, -131, -131, -72, -99,
288
- -100, -131, -131, -90, -131, -108, -131, -131, -131, -131,
289
- -31, -32, -33, -27, -87, -131, -131, -131, -90, -131,
290
- -131, -97, -98, -115, -116, -117, -118, -119, -120, -121,
291
- -131, -90, -131, -131, -73, -74, -131, -104, -131, -131,
292
- -131, -131, -25, -28, -90, -131, -60, -61, -131, -131,
293
- -57, -49, -131, -72, -131, -131, -131, -125, -127, -129,
294
- -93, -101, -102, -131, -66, -67, -68, -69, -70, -71,
295
- -131, -131, -131, -131, -80, -81, -82, -83, -131, -131,
296
- -109, -131, -131, -131, -47, -88, -89, -131, -131, -131,
297
- -65, -131, -59, -72, -90, -122, -131, -123, -131, -124,
298
- -131, -75, -76, -77, -131, -79, -85, -131, -84, -105,
299
- -131, -131, -131, -131, -62, -63, -131, -58, -87, -90,
300
- -51, -126, -128, -130, -131, -86, -131, -131, -112, -34,
301
- -35, -131, -131, -90, -50, -78, -131, -110, -131, -29,
302
- -64, -48, -131, -113, -131, -111, -30, -36, -131, -131,
303
- -131, -37, -131, -131, -131, -131, -38, -39, -40, -131,
304
- -131, -131, -42, -41, -131, -43 ]
279
+ -133, -133, -1, -6, -7, -8, -9, -10, -11, -12,
280
+ -13, -14, -15, -16, -17, -18, -19, -20, -133, -133,
281
+ -133, -133, -133, -133, -133, -133, -133, -133, -133, -133,
282
+ -116, -133, -2, -3, -133, -133, -92, -133, -23, -133,
283
+ -133, -26, -133, -133, -47, -48, -133, -133, -133, -133,
284
+ -55, -56, -57, -133, -133, -133, -133, -133, -133, 290,
285
+ -4, -5, -21, -133, -22, -133, -133, -133, -46, -133,
286
+ -133, -133, -133, -133, -133, -133, -133, -96, -97, -133,
287
+ -133, -133, -133, -93, -24, -25, -133, -133, -133, -133,
288
+ -59, -133, -133, -133, -133, -58, -133, -133, -98, -133,
289
+ -133, -133, -105, -74, -133, -108, -109, -133, -133, -133,
290
+ -133, -28, -61, -133, -133, -74, -133, -133, -54, -94,
291
+ -133, -133, -74, -101, -102, -133, -133, -92, -133, -110,
292
+ -133, -133, -133, -133, -33, -34, -35, -29, -89, -133,
293
+ -133, -133, -92, -133, -133, -99, -100, -117, -118, -119,
294
+ -120, -121, -122, -123, -133, -92, -133, -133, -75, -76,
295
+ -133, -106, -133, -133, -133, -133, -27, -30, -92, -133,
296
+ -62, -63, -133, -133, -59, -51, -133, -74, -133, -133,
297
+ -133, -127, -129, -131, -95, -103, -104, -133, -68, -69,
298
+ -70, -71, -72, -73, -133, -133, -133, -133, -82, -83,
299
+ -84, -85, -133, -133, -111, -133, -133, -133, -49, -90,
300
+ -91, -133, -133, -133, -67, -133, -61, -74, -92, -124,
301
+ -133, -125, -133, -126, -133, -77, -78, -79, -133, -81,
302
+ -87, -133, -86, -107, -133, -133, -133, -133, -64, -65,
303
+ -133, -60, -89, -92, -53, -128, -130, -132, -133, -88,
304
+ -133, -133, -114, -36, -37, -133, -133, -92, -52, -80,
305
+ -133, -112, -133, -31, -66, -50, -133, -115, -133, -113,
306
+ -32, -38, -133, -133, -133, -39, -133, -133, -133, -133,
307
+ -40, -41, -42, -133, -133, -133, -44, -43, -133, -45 ]
305
308
 
306
309
  racc_goto_table = [
307
- 58, 129, 143, 164, 123, 134, 108, 12, 11, 167,
308
- 81, 155, 120, 247, 44, 51, 138, 93, 194, 72,
309
- 98, 267, 1, 151, 276, 281, 271, 105, 17, 16,
310
- 210, 266, 15, 14, 166, 67, 114, 115, 182, 262,
311
- 13, 118, 96, 208, 10, 9, 154, 8, 190, 223,
312
- 225, 195, 7, 6, 141, 133, 142, 119, 5, 124,
313
- 229, 2, 174, 175, 176, nil, nil, 181, nil, nil,
314
- nil, nil, 221, nil, nil, 222, 162, 224, 214, 113,
315
- nil, 234, nil, nil, nil, 102, 101, nil, nil, 157,
316
- 212, nil, nil, 235, 236, nil, nil, nil, nil, nil,
317
- nil, nil, nil, nil, 171, nil, nil, 253, nil, 238,
318
- nil, nil, nil, nil, nil, nil, nil, 180, 239, nil,
319
- nil, nil, nil, nil, nil, nil, nil, nil, 251, 255,
320
- 204, nil, nil, nil, nil, nil, nil, 260, nil, nil,
321
- nil, nil, nil, 263, nil, nil, nil, nil, nil, nil,
310
+ 62, 133, 147, 168, 127, 138, 112, 12, 171, 159,
311
+ 11, 124, 46, 53, 251, 97, 142, 85, 76, 198,
312
+ 102, 271, 1, 155, 280, 285, 275, 109, 17, 16,
313
+ 270, 214, 15, 14, 170, 71, 118, 119, 186, 122,
314
+ 266, 13, 212, 100, 10, 9, 158, 8, 194, 227,
315
+ 229, 199, 7, 6, 145, 146, 123, 5, 128, 233,
316
+ 2, 178, 137, 179, 180, nil, 185, nil, nil, nil,
317
+ 225, nil, nil, nil, nil, 226, nil, 228, 218, nil,
318
+ 238, 117, nil, 166, nil, nil, nil, nil, nil, 106,
319
+ 216, 161, 105, 239, 240, nil, nil, nil, nil, nil,
320
+ nil, nil, nil, nil, nil, nil, 175, 257, nil, 242,
321
+ nil, nil, nil, nil, nil, nil, nil, nil, 243, 184,
322
+ nil, nil, nil, nil, nil, nil, nil, nil, 255, 259,
323
+ nil, nil, 208, nil, nil, nil, nil, 264, nil, nil,
324
+ nil, nil, nil, 267, nil, nil, nil, nil, nil, nil,
322
325
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
323
- nil, nil, nil, nil, nil, nil, nil, nil, 274, nil,
326
+ nil, nil, nil, nil, nil, nil, nil, nil, 278, nil,
324
327
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
325
- 240, nil, nil, nil, nil, nil, nil, nil, nil, nil,
328
+ nil, nil, 244, nil, nil, nil, nil, nil, nil, nil,
326
329
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
327
- nil, nil, nil, nil, nil, 254, nil, nil, nil, nil,
328
- nil, nil, nil, nil, nil, nil, nil, nil, nil, 261 ]
330
+ nil, nil, nil, nil, nil, nil, nil, 258, nil, nil,
331
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
332
+ nil, 265 ]
329
333
 
330
334
  racc_goto_check = [
331
- 16, 19, 34, 27, 28, 26, 25, 10, 9, 32,
332
- 17, 37, 47, 50, 24, 24, 28, 43, 35, 42,
335
+ 16, 19, 34, 27, 28, 26, 25, 10, 32, 37,
336
+ 9, 47, 24, 24, 50, 43, 28, 17, 42, 35,
333
337
  29, 21, 1, 28, 22, 23, 21, 18, 15, 14,
334
- 35, 20, 13, 12, 31, 24, 29, 29, 34, 50,
335
- 11, 43, 42, 33, 8, 7, 36, 6, 38, 39,
336
- 40, 41, 5, 4, 44, 17, 45, 46, 3, 48,
337
- 49, 2, 52, 53, 54, nil, nil, 47, nil, nil,
338
- nil, nil, 37, nil, nil, 34, 17, 34, 28, 24,
339
- nil, 32, nil, nil, nil, 10, 9, nil, nil, 16,
340
- 25, nil, nil, 34, 34, nil, nil, nil, nil, nil,
341
- nil, nil, nil, nil, 16, nil, nil, 27, nil, 26,
342
- nil, nil, nil, nil, nil, nil, nil, 16, 28, nil,
338
+ 20, 35, 13, 12, 31, 24, 29, 29, 34, 43,
339
+ 50, 11, 33, 42, 8, 7, 36, 6, 38, 39,
340
+ 40, 41, 5, 4, 44, 45, 46, 3, 48, 49,
341
+ 2, 52, 17, 53, 54, nil, 47, nil, nil, nil,
342
+ 37, nil, nil, nil, nil, 34, nil, 34, 28, nil,
343
+ 32, 24, nil, 17, nil, nil, nil, nil, nil, 10,
344
+ 25, 16, 9, 34, 34, nil, nil, nil, nil, nil,
345
+ nil, nil, nil, nil, nil, nil, 16, 27, nil, 26,
346
+ nil, nil, nil, nil, nil, nil, nil, nil, 28, 16,
343
347
  nil, nil, nil, nil, nil, nil, nil, nil, 19, 34,
344
- 16, nil, nil, nil, nil, nil, nil, 34, nil, nil,
348
+ nil, nil, 16, nil, nil, nil, nil, 34, nil, nil,
345
349
  nil, nil, nil, 34, nil, nil, nil, nil, nil, nil,
346
350
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
347
351
  nil, nil, nil, nil, nil, nil, nil, nil, 19, nil,
348
352
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
349
- 16, nil, nil, nil, nil, nil, nil, nil, nil, nil,
353
+ nil, nil, 16, nil, nil, nil, nil, nil, nil, nil,
354
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
355
+ nil, nil, nil, nil, nil, nil, nil, 16, nil, nil,
350
356
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
351
- nil, nil, nil, nil, nil, 16, nil, nil, nil, nil,
352
- nil, nil, nil, nil, nil, nil, nil, nil, nil, 16 ]
357
+ nil, 16 ]
353
358
 
354
359
  racc_goto_pointer = [
355
- nil, 22, 61, 58, 53, 52, 47, 45, 44, 8,
356
- 7, 40, 33, 32, 29, 28, -34, -52, -57, -105,
357
- -233, -243, -251, -255, -11, -80, -103, -131, -95, -56,
358
- nil, -101, -126, -125, -115, -138, -76, -111, -108, -142,
359
- -143, -105, -33, -55, -62, -61, -40, -85, -41, -139,
360
- -217, nil, -88, -87, -86 ]
360
+ nil, 22, 60, 57, 53, 52, 47, 45, 44, 10,
361
+ 7, 41, 33, 32, 29, 28, -36, -49, -61, -109,
362
+ -238, -247, -255, -259, -13, -84, -107, -135, -99, -60,
363
+ nil, -105, -131, -130, -119, -141, -80, -117, -112, -146,
364
+ -147, -109, -36, -61, -66, -66, -45, -90, -46, -144,
365
+ -220, nil, -93, -91, -90 ]
361
366
 
362
367
  racc_goto_default = [
363
368
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
364
369
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
365
370
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
366
- 49, nil, nil, nil, 248, nil, nil, nil, nil, 146,
367
- nil, nil, nil, nil, 94, nil, nil, nil, nil, nil,
368
- nil, 145, nil, nil, nil ]
371
+ 51, nil, nil, nil, 252, nil, nil, nil, nil, 150,
372
+ nil, nil, nil, nil, 98, nil, nil, nil, nil, nil,
373
+ nil, 149, nil, nil, nil ]
369
374
 
370
375
  racc_reduce_table = [
371
376
  0, 0, :racc_error,
372
- 1, 67, :_reduce_1,
373
- 2, 67, :_reduce_2,
374
- 2, 67, :_reduce_3,
375
- 1, 67, :_reduce_4,
376
- 1, 67, :_reduce_5,
377
- 1, 68, :_reduce_none,
378
- 1, 68, :_reduce_none,
379
- 1, 68, :_reduce_none,
380
- 1, 68, :_reduce_none,
381
- 1, 68, :_reduce_none,
382
- 1, 68, :_reduce_none,
383
- 1, 68, :_reduce_none,
384
- 1, 68, :_reduce_none,
385
- 1, 68, :_reduce_none,
386
- 1, 68, :_reduce_none,
387
- 1, 68, :_reduce_none,
388
- 1, 68, :_reduce_none,
389
- 1, 68, :_reduce_none,
390
- 3, 69, :_reduce_19,
391
- 3, 69, :_reduce_20,
392
- 2, 69, :_reduce_21,
393
- 4, 69, :_reduce_22,
394
- 4, 70, :_reduce_23,
395
- 2, 71, :_reduce_24,
396
- 7, 72, :_reduce_25,
397
- 5, 72, :_reduce_26,
398
- 6, 72, :_reduce_27,
399
- 3, 84, :_reduce_28,
400
- 7, 84, :_reduce_29,
401
- 9, 84, :_reduce_30,
402
- 1, 85, :_reduce_31,
403
- 1, 85, :_reduce_32,
404
- 1, 85, :_reduce_33,
405
- 7, 83, :_reduce_34,
406
- 7, 83, :_reduce_35,
407
- 1, 86, :_reduce_36,
408
- 3, 86, :_reduce_37,
409
- 7, 87, :_reduce_38,
410
- 1, 88, :_reduce_39,
411
- 1, 88, :_reduce_40,
412
- 4, 88, :_reduce_41,
377
+ 1, 68, :_reduce_1,
378
+ 2, 68, :_reduce_2,
379
+ 2, 68, :_reduce_3,
380
+ 3, 68, :_reduce_4,
381
+ 3, 68, :_reduce_5,
382
+ 1, 68, :_reduce_6,
383
+ 1, 68, :_reduce_7,
384
+ 1, 69, :_reduce_none,
385
+ 1, 69, :_reduce_none,
386
+ 1, 69, :_reduce_none,
387
+ 1, 69, :_reduce_none,
388
+ 1, 69, :_reduce_none,
389
+ 1, 69, :_reduce_none,
390
+ 1, 69, :_reduce_none,
391
+ 1, 69, :_reduce_none,
392
+ 1, 69, :_reduce_none,
393
+ 1, 69, :_reduce_none,
394
+ 1, 69, :_reduce_none,
395
+ 1, 69, :_reduce_none,
396
+ 1, 69, :_reduce_none,
397
+ 3, 70, :_reduce_21,
398
+ 3, 70, :_reduce_22,
399
+ 2, 70, :_reduce_23,
400
+ 4, 70, :_reduce_24,
401
+ 4, 71, :_reduce_25,
402
+ 2, 72, :_reduce_26,
403
+ 7, 73, :_reduce_27,
404
+ 5, 73, :_reduce_28,
405
+ 6, 73, :_reduce_29,
406
+ 3, 85, :_reduce_30,
407
+ 7, 85, :_reduce_31,
408
+ 9, 85, :_reduce_32,
409
+ 1, 86, :_reduce_33,
410
+ 1, 86, :_reduce_34,
411
+ 1, 86, :_reduce_35,
412
+ 7, 84, :_reduce_36,
413
+ 7, 84, :_reduce_37,
414
+ 1, 87, :_reduce_38,
415
+ 3, 87, :_reduce_39,
416
+ 7, 88, :_reduce_40,
417
+ 1, 89, :_reduce_41,
413
418
  1, 89, :_reduce_42,
414
- 3, 89, :_reduce_43,
415
- 3, 73, :_reduce_44,
416
- 2, 74, :_reduce_45,
417
- 2, 74, :_reduce_46,
418
- 8, 75, :_reduce_47,
419
- 11, 75, :_reduce_48,
420
- 7, 76, :_reduce_49,
421
- 10, 76, :_reduce_50,
422
- 9, 76, :_reduce_51,
423
- 5, 77, :_reduce_52,
424
- 1, 90, :_reduce_53,
425
- 1, 90, :_reduce_54,
426
- 1, 96, :_reduce_55,
427
- 3, 96, :_reduce_56,
428
- 0, 91, :_reduce_none,
429
- 5, 91, :_reduce_58,
419
+ 4, 89, :_reduce_43,
420
+ 1, 90, :_reduce_44,
421
+ 3, 90, :_reduce_45,
422
+ 3, 74, :_reduce_46,
423
+ 2, 75, :_reduce_47,
424
+ 2, 75, :_reduce_48,
425
+ 8, 76, :_reduce_49,
426
+ 11, 76, :_reduce_50,
427
+ 7, 77, :_reduce_51,
428
+ 10, 77, :_reduce_52,
429
+ 9, 77, :_reduce_53,
430
+ 5, 78, :_reduce_54,
431
+ 1, 91, :_reduce_55,
432
+ 1, 91, :_reduce_56,
433
+ 1, 97, :_reduce_57,
434
+ 3, 97, :_reduce_58,
430
435
  0, 92, :_reduce_none,
431
- 2, 92, :_reduce_60,
432
- 1, 97, :_reduce_61,
433
- 3, 97, :_reduce_62,
434
- 3, 98, :_reduce_63,
435
- 5, 98, :_reduce_64,
436
- 1, 99, :_reduce_none,
437
- 1, 101, :_reduce_66,
438
- 1, 101, :_reduce_67,
439
- 1, 101, :_reduce_68,
440
- 1, 101, :_reduce_69,
441
- 1, 101, :_reduce_70,
442
- 1, 101, :_reduce_none,
443
- 0, 94, :_reduce_none,
444
- 2, 94, :_reduce_73,
445
- 1, 102, :_reduce_74,
446
- 3, 102, :_reduce_75,
447
- 3, 103, :_reduce_76,
448
- 3, 103, :_reduce_77,
449
- 5, 103, :_reduce_78,
450
- 3, 103, :_reduce_79,
451
- 1, 104, :_reduce_none,
452
- 1, 104, :_reduce_none,
453
- 1, 104, :_reduce_82,
454
- 1, 107, :_reduce_none,
455
- 2, 107, :_reduce_84,
456
- 1, 106, :_reduce_85,
457
- 2, 106, :_reduce_86,
436
+ 5, 92, :_reduce_60,
458
437
  0, 93, :_reduce_none,
459
- 2, 93, :_reduce_88,
460
- 2, 93, :_reduce_89,
461
- 0, 82, :_reduce_none,
462
- 2, 82, :_reduce_91,
463
- 5, 78, :_reduce_92,
464
- 7, 78, :_reduce_93,
465
- 1, 108, :_reduce_94,
466
- 1, 108, :_reduce_95,
467
- 1, 109, :_reduce_96,
468
- 3, 109, :_reduce_97,
469
- 3, 110, :_reduce_98,
470
- 2, 95, :_reduce_99,
471
- 1, 112, :_reduce_100,
472
- 3, 112, :_reduce_101,
473
- 3, 113, :_reduce_102,
474
- 4, 79, :_reduce_103,
475
- 6, 79, :_reduce_104,
476
- 8, 80, :_reduce_105,
477
- 4, 80, :_reduce_106,
478
- 4, 80, :_reduce_107,
479
- 1, 114, :_reduce_108,
480
- 3, 114, :_reduce_109,
481
- 3, 115, :_reduce_110,
482
- 5, 115, :_reduce_111,
483
- 1, 116, :_reduce_112,
484
- 3, 116, :_reduce_113,
485
- 1, 81, :_reduce_114,
486
- 1, 111, :_reduce_none,
487
- 1, 111, :_reduce_none,
438
+ 2, 93, :_reduce_62,
439
+ 1, 98, :_reduce_63,
440
+ 3, 98, :_reduce_64,
441
+ 3, 99, :_reduce_65,
442
+ 5, 99, :_reduce_66,
488
443
  1, 100, :_reduce_none,
489
- 1, 100, :_reduce_none,
490
- 1, 117, :_reduce_none,
491
- 1, 117, :_reduce_none,
492
- 1, 117, :_reduce_none,
493
- 3, 105, :_reduce_122,
494
- 3, 105, :_reduce_123,
495
- 3, 105, :_reduce_124,
496
- 1, 118, :_reduce_125,
497
- 3, 118, :_reduce_126,
444
+ 1, 102, :_reduce_68,
445
+ 1, 102, :_reduce_69,
446
+ 1, 102, :_reduce_70,
447
+ 1, 102, :_reduce_71,
448
+ 1, 102, :_reduce_72,
449
+ 1, 102, :_reduce_none,
450
+ 0, 95, :_reduce_none,
451
+ 2, 95, :_reduce_75,
452
+ 1, 103, :_reduce_76,
453
+ 3, 103, :_reduce_77,
454
+ 3, 104, :_reduce_78,
455
+ 3, 104, :_reduce_79,
456
+ 5, 104, :_reduce_80,
457
+ 3, 104, :_reduce_81,
458
+ 1, 105, :_reduce_none,
459
+ 1, 105, :_reduce_none,
460
+ 1, 105, :_reduce_84,
461
+ 1, 108, :_reduce_none,
462
+ 2, 108, :_reduce_86,
463
+ 1, 107, :_reduce_87,
464
+ 2, 107, :_reduce_88,
465
+ 0, 94, :_reduce_none,
466
+ 2, 94, :_reduce_90,
467
+ 2, 94, :_reduce_91,
468
+ 0, 83, :_reduce_none,
469
+ 2, 83, :_reduce_93,
470
+ 5, 79, :_reduce_94,
471
+ 7, 79, :_reduce_95,
472
+ 1, 109, :_reduce_96,
473
+ 1, 109, :_reduce_97,
474
+ 1, 110, :_reduce_98,
475
+ 3, 110, :_reduce_99,
476
+ 3, 111, :_reduce_100,
477
+ 2, 96, :_reduce_101,
478
+ 1, 113, :_reduce_102,
479
+ 3, 113, :_reduce_103,
480
+ 3, 114, :_reduce_104,
481
+ 4, 80, :_reduce_105,
482
+ 6, 80, :_reduce_106,
483
+ 8, 81, :_reduce_107,
484
+ 4, 81, :_reduce_108,
485
+ 4, 81, :_reduce_109,
486
+ 1, 115, :_reduce_110,
487
+ 3, 115, :_reduce_111,
488
+ 3, 116, :_reduce_112,
489
+ 5, 116, :_reduce_113,
490
+ 1, 117, :_reduce_114,
491
+ 3, 117, :_reduce_115,
492
+ 1, 82, :_reduce_116,
493
+ 1, 112, :_reduce_none,
494
+ 1, 112, :_reduce_none,
495
+ 1, 101, :_reduce_none,
496
+ 1, 101, :_reduce_none,
497
+ 1, 118, :_reduce_none,
498
+ 1, 118, :_reduce_none,
499
+ 1, 118, :_reduce_none,
500
+ 3, 106, :_reduce_124,
501
+ 3, 106, :_reduce_125,
502
+ 3, 106, :_reduce_126,
498
503
  1, 119, :_reduce_127,
499
504
  3, 119, :_reduce_128,
500
505
  1, 120, :_reduce_129,
501
- 3, 120, :_reduce_130 ]
506
+ 3, 120, :_reduce_130,
507
+ 1, 121, :_reduce_131,
508
+ 3, 121, :_reduce_132 ]
502
509
 
503
- racc_reduce_n = 131
510
+ racc_reduce_n = 133
504
511
 
505
- racc_shift_n = 286
512
+ racc_shift_n = 290
506
513
 
507
514
  racc_token_table = {
508
515
  false => 0,
509
516
  :error => 1,
510
517
  :RUBY_SCRIPT => 2,
511
518
  :SHELL_SCRIPT => 3,
512
- :SHOW => 4,
513
- :TABLES => 5,
514
- :TABLE => 6,
515
- :STATUS => 7,
516
- :REGIONS => 8,
517
- :CREATE => 9,
518
- :IDENTIFIER => 10,
519
- :ALTER => 11,
520
- :USE => 12,
521
- "(" => 13,
522
- ")" => 14,
523
- :LIKE => 15,
524
- :HASH => 16,
525
- "," => 17,
526
- :RANGE => 18,
527
- :STRING => 19,
528
- :NUMBER => 20,
529
- :BINARY => 21,
530
- :READ => 22,
531
- :EQ => 23,
532
- :NUMBER_VALUE => 24,
533
- :WRITE => 25,
534
- :INDEX => 26,
535
- :ALL => 27,
536
- :KEYS_ONLY => 28,
537
- :INCLUDE => 29,
538
- :DROP => 30,
539
- :DESCRIBE => 31,
540
- :DESC => 32,
541
- :SELECT => 33,
542
- :FROM => 34,
543
- :COUNT => 35,
544
- "*" => 36,
545
- "/" => 37,
546
- :GET => 38,
547
- :WHERE => 39,
548
- :AND => 40,
549
- :BETWEEN => 41,
550
- :LE => 42,
551
- :LT => 43,
552
- :GE => 44,
553
- :GT => 45,
554
- :BEGINS_WITH => 46,
555
- :IN => 47,
556
- :IS => 48,
557
- :NE => 49,
558
- :CONTAINS => 50,
559
- :NOT => 51,
560
- :NULL => 52,
561
- :ORDER => 53,
562
- :ASC => 54,
563
- :LIMIT => 55,
564
- :UPDATE => 56,
565
- :SET => 57,
566
- :ADD => 58,
567
- :DELETE => 59,
568
- :INSERT => 60,
569
- :INTO => 61,
570
- :VALUES => 62,
571
- :NEXT => 63,
572
- :STRING_VALUE => 64,
573
- :BINARY_VALUE => 65 }
574
-
575
- racc_nt_base = 66
519
+ :GT => 4,
520
+ :STRING_VALUE => 5,
521
+ :GTGT => 6,
522
+ :SHOW => 7,
523
+ :TABLES => 8,
524
+ :TABLE => 9,
525
+ :STATUS => 10,
526
+ :REGIONS => 11,
527
+ :CREATE => 12,
528
+ :IDENTIFIER => 13,
529
+ :ALTER => 14,
530
+ :USE => 15,
531
+ "(" => 16,
532
+ ")" => 17,
533
+ :LIKE => 18,
534
+ :HASH => 19,
535
+ "," => 20,
536
+ :RANGE => 21,
537
+ :STRING => 22,
538
+ :NUMBER => 23,
539
+ :BINARY => 24,
540
+ :READ => 25,
541
+ :EQ => 26,
542
+ :NUMBER_VALUE => 27,
543
+ :WRITE => 28,
544
+ :INDEX => 29,
545
+ :ALL => 30,
546
+ :KEYS_ONLY => 31,
547
+ :INCLUDE => 32,
548
+ :DROP => 33,
549
+ :DESCRIBE => 34,
550
+ :DESC => 35,
551
+ :SELECT => 36,
552
+ :FROM => 37,
553
+ :COUNT => 38,
554
+ "*" => 39,
555
+ "/" => 40,
556
+ :GET => 41,
557
+ :WHERE => 42,
558
+ :AND => 43,
559
+ :BETWEEN => 44,
560
+ :LE => 45,
561
+ :LT => 46,
562
+ :GE => 47,
563
+ :BEGINS_WITH => 48,
564
+ :IN => 49,
565
+ :IS => 50,
566
+ :NE => 51,
567
+ :CONTAINS => 52,
568
+ :NOT => 53,
569
+ :NULL => 54,
570
+ :ORDER => 55,
571
+ :ASC => 56,
572
+ :LIMIT => 57,
573
+ :UPDATE => 58,
574
+ :SET => 59,
575
+ :ADD => 60,
576
+ :DELETE => 61,
577
+ :INSERT => 62,
578
+ :INTO => 63,
579
+ :VALUES => 64,
580
+ :NEXT => 65,
581
+ :BINARY_VALUE => 66 }
582
+
583
+ racc_nt_base = 67
576
584
 
577
585
  racc_use_result_var = false
578
586
 
@@ -597,6 +605,9 @@ Racc_token_to_s_table = [
597
605
  "error",
598
606
  "RUBY_SCRIPT",
599
607
  "SHELL_SCRIPT",
608
+ "GT",
609
+ "STRING_VALUE",
610
+ "GTGT",
600
611
  "SHOW",
601
612
  "TABLES",
602
613
  "TABLE",
@@ -638,7 +649,6 @@ Racc_token_to_s_table = [
638
649
  "LE",
639
650
  "LT",
640
651
  "GE",
641
- "GT",
642
652
  "BEGINS_WITH",
643
653
  "IN",
644
654
  "IS",
@@ -657,7 +667,6 @@ Racc_token_to_s_table = [
657
667
  "INTO",
658
668
  "VALUES",
659
669
  "NEXT",
660
- "STRING_VALUE",
661
670
  "BINARY_VALUE",
662
671
  "$start",
663
672
  "stmt",
@@ -744,21 +753,31 @@ module_eval(<<'.,.,', 'ddb-parser.y', 13)
744
753
 
745
754
  module_eval(<<'.,.,', 'ddb-parser.y', 17)
746
755
  def _reduce_4(val, _values)
747
- [struct(:NULL), :ruby, val[0]]
756
+ [val[0], :overwrite, val[2]]
748
757
 
749
758
  end
750
759
  .,.,
751
760
 
752
761
  module_eval(<<'.,.,', 'ddb-parser.y', 21)
753
762
  def _reduce_5(val, _values)
754
- [struct(:NULL), :shell, val[0]]
763
+ [val[0], :append, val[2]]
755
764
 
756
765
  end
757
766
  .,.,
758
767
 
759
- # reduce 6 omitted
768
+ module_eval(<<'.,.,', 'ddb-parser.y', 25)
769
+ def _reduce_6(val, _values)
770
+ [struct(:NULL), :ruby, val[0]]
771
+
772
+ end
773
+ .,.,
760
774
 
761
- # reduce 7 omitted
775
+ module_eval(<<'.,.,', 'ddb-parser.y', 29)
776
+ def _reduce_7(val, _values)
777
+ [struct(:NULL), :shell, val[0]]
778
+
779
+ end
780
+ .,.,
762
781
 
763
782
  # reduce 8 omitted
764
783
 
@@ -782,632 +801,632 @@ module_eval(<<'.,.,', 'ddb-parser.y', 21)
782
801
 
783
802
  # reduce 18 omitted
784
803
 
785
- module_eval(<<'.,.,', 'ddb-parser.y', 40)
786
- def _reduce_19(val, _values)
804
+ # reduce 19 omitted
805
+
806
+ # reduce 20 omitted
807
+
808
+ module_eval(<<'.,.,', 'ddb-parser.y', 48)
809
+ def _reduce_21(val, _values)
787
810
  struct(:SHOW_TABLES, :limit => val[2])
788
811
 
789
812
  end
790
813
  .,.,
791
814
 
792
- module_eval(<<'.,.,', 'ddb-parser.y', 44)
793
- def _reduce_20(val, _values)
815
+ module_eval(<<'.,.,', 'ddb-parser.y', 52)
816
+ def _reduce_22(val, _values)
794
817
  struct(:SHOW_TABLE_STATUS)
795
818
 
796
819
  end
797
820
  .,.,
798
821
 
799
- module_eval(<<'.,.,', 'ddb-parser.y', 48)
800
- def _reduce_21(val, _values)
822
+ module_eval(<<'.,.,', 'ddb-parser.y', 56)
823
+ def _reduce_23(val, _values)
801
824
  struct(:SHOW_REGIONS)
802
825
 
803
826
  end
804
827
  .,.,
805
828
 
806
- module_eval(<<'.,.,', 'ddb-parser.y', 52)
807
- def _reduce_22(val, _values)
829
+ module_eval(<<'.,.,', 'ddb-parser.y', 60)
830
+ def _reduce_24(val, _values)
808
831
  struct(:SHOW_CREATE_TABLE, :table => val[3])
809
832
 
810
833
  end
811
834
  .,.,
812
835
 
813
- module_eval(<<'.,.,', 'ddb-parser.y', 57)
814
- def _reduce_23(val, _values)
836
+ module_eval(<<'.,.,', 'ddb-parser.y', 65)
837
+ def _reduce_25(val, _values)
815
838
  struct(:ALTER_TABLE, :table => val[2], :capacity => val[3])
816
839
 
817
840
  end
818
841
  .,.,
819
842
 
820
- module_eval(<<'.,.,', 'ddb-parser.y', 62)
821
- def _reduce_24(val, _values)
843
+ module_eval(<<'.,.,', 'ddb-parser.y', 70)
844
+ def _reduce_26(val, _values)
822
845
  struct(:USE, :endpoint_or_region => val[1])
823
846
 
824
847
  end
825
848
  .,.,
826
849
 
827
- module_eval(<<'.,.,', 'ddb-parser.y', 67)
828
- def _reduce_25(val, _values)
850
+ module_eval(<<'.,.,', 'ddb-parser.y', 75)
851
+ def _reduce_27(val, _values)
829
852
  struct(:CREATE, val[4].merge(:table => val[2], :capacity => val[6]))
830
853
 
831
854
  end
832
855
  .,.,
833
856
 
834
- module_eval(<<'.,.,', 'ddb-parser.y', 71)
835
- def _reduce_26(val, _values)
857
+ module_eval(<<'.,.,', 'ddb-parser.y', 79)
858
+ def _reduce_28(val, _values)
836
859
  struct(:CREATE_LIKE, :table => val[2], :like => val[4], :capacity => nil)
837
860
 
838
861
  end
839
862
  .,.,
840
863
 
841
- module_eval(<<'.,.,', 'ddb-parser.y', 75)
842
- def _reduce_27(val, _values)
864
+ module_eval(<<'.,.,', 'ddb-parser.y', 83)
865
+ def _reduce_29(val, _values)
843
866
  struct(:CREATE_LIKE, :table => val[2], :like => val[4], :capacity => val[5])
844
867
 
845
868
  end
846
869
  .,.,
847
870
 
848
- module_eval(<<'.,.,', 'ddb-parser.y', 80)
849
- def _reduce_28(val, _values)
871
+ module_eval(<<'.,.,', 'ddb-parser.y', 88)
872
+ def _reduce_30(val, _values)
850
873
  {:hash => {:name => val[0], :type => val[1]}, :range => nil, :indices => nil}
851
874
 
852
875
  end
853
876
  .,.,
854
877
 
855
- module_eval(<<'.,.,', 'ddb-parser.y', 84)
856
- def _reduce_29(val, _values)
878
+ module_eval(<<'.,.,', 'ddb-parser.y', 92)
879
+ def _reduce_31(val, _values)
857
880
  {:hash => {:name => val[0], :type => val[1]}, :range => {:name => val[4], :type => val[5]}, :indices => nil}
858
881
 
859
882
  end
860
883
  .,.,
861
884
 
862
- module_eval(<<'.,.,', 'ddb-parser.y', 88)
863
- def _reduce_30(val, _values)
885
+ module_eval(<<'.,.,', 'ddb-parser.y', 96)
886
+ def _reduce_32(val, _values)
864
887
  {:hash => {:name => val[0], :type => val[1]}, :range => {:name => val[4], :type => val[5]}, :indices => val[8]}
865
888
 
866
889
  end
867
890
  .,.,
868
891
 
869
- module_eval(<<'.,.,', 'ddb-parser.y', 93)
870
- def _reduce_31(val, _values)
892
+ module_eval(<<'.,.,', 'ddb-parser.y', 101)
893
+ def _reduce_33(val, _values)
871
894
  'S'
872
895
 
873
896
  end
874
897
  .,.,
875
898
 
876
- module_eval(<<'.,.,', 'ddb-parser.y', 97)
877
- def _reduce_32(val, _values)
899
+ module_eval(<<'.,.,', 'ddb-parser.y', 105)
900
+ def _reduce_34(val, _values)
878
901
  'N'
879
902
 
880
903
  end
881
904
  .,.,
882
905
 
883
- module_eval(<<'.,.,', 'ddb-parser.y', 101)
884
- def _reduce_33(val, _values)
906
+ module_eval(<<'.,.,', 'ddb-parser.y', 109)
907
+ def _reduce_35(val, _values)
885
908
  'B'
886
909
 
887
910
  end
888
911
  .,.,
889
912
 
890
- module_eval(<<'.,.,', 'ddb-parser.y', 106)
891
- def _reduce_34(val, _values)
913
+ module_eval(<<'.,.,', 'ddb-parser.y', 114)
914
+ def _reduce_36(val, _values)
892
915
  {:read => val[2], :write => val[6]}
893
916
 
894
917
  end
895
918
  .,.,
896
919
 
897
- module_eval(<<'.,.,', 'ddb-parser.y', 110)
898
- def _reduce_35(val, _values)
920
+ module_eval(<<'.,.,', 'ddb-parser.y', 118)
921
+ def _reduce_37(val, _values)
899
922
  {:read => val[6], :write => val[2]}
900
923
 
901
924
  end
902
925
  .,.,
903
926
 
904
- module_eval(<<'.,.,', 'ddb-parser.y', 115)
905
- def _reduce_36(val, _values)
927
+ module_eval(<<'.,.,', 'ddb-parser.y', 123)
928
+ def _reduce_38(val, _values)
906
929
  [val[0]]
907
930
 
908
931
  end
909
932
  .,.,
910
933
 
911
- module_eval(<<'.,.,', 'ddb-parser.y', 119)
912
- def _reduce_37(val, _values)
934
+ module_eval(<<'.,.,', 'ddb-parser.y', 127)
935
+ def _reduce_39(val, _values)
913
936
  val[0] + [val[2]]
914
937
 
915
938
  end
916
939
  .,.,
917
940
 
918
- module_eval(<<'.,.,', 'ddb-parser.y', 124)
919
- def _reduce_38(val, _values)
941
+ module_eval(<<'.,.,', 'ddb-parser.y', 132)
942
+ def _reduce_40(val, _values)
920
943
  {:name => val[1], :key => val[3], :type => val[4], :projection => val[6]}
921
944
 
922
945
  end
923
946
  .,.,
924
947
 
925
- module_eval(<<'.,.,', 'ddb-parser.y', 129)
926
- def _reduce_39(val, _values)
948
+ module_eval(<<'.,.,', 'ddb-parser.y', 137)
949
+ def _reduce_41(val, _values)
927
950
  {:type => 'ALL'}
928
951
 
929
952
  end
930
953
  .,.,
931
954
 
932
- module_eval(<<'.,.,', 'ddb-parser.y', 133)
933
- def _reduce_40(val, _values)
955
+ module_eval(<<'.,.,', 'ddb-parser.y', 141)
956
+ def _reduce_42(val, _values)
934
957
  {:type => 'KEYS_ONLY'}
935
958
 
936
959
  end
937
960
  .,.,
938
961
 
939
- module_eval(<<'.,.,', 'ddb-parser.y', 137)
940
- def _reduce_41(val, _values)
962
+ module_eval(<<'.,.,', 'ddb-parser.y', 145)
963
+ def _reduce_43(val, _values)
941
964
  {:type => 'INCLUDE', :attrs => val[2]}
942
965
 
943
966
  end
944
967
  .,.,
945
968
 
946
- module_eval(<<'.,.,', 'ddb-parser.y', 142)
947
- def _reduce_42(val, _values)
969
+ module_eval(<<'.,.,', 'ddb-parser.y', 150)
970
+ def _reduce_44(val, _values)
948
971
  [val[0]]
949
972
 
950
973
  end
951
974
  .,.,
952
975
 
953
- module_eval(<<'.,.,', 'ddb-parser.y', 146)
954
- def _reduce_43(val, _values)
976
+ module_eval(<<'.,.,', 'ddb-parser.y', 154)
977
+ def _reduce_45(val, _values)
955
978
  val[0] + [val[2]]
956
979
 
957
980
  end
958
981
  .,.,
959
982
 
960
- module_eval(<<'.,.,', 'ddb-parser.y', 151)
961
- def _reduce_44(val, _values)
983
+ module_eval(<<'.,.,', 'ddb-parser.y', 159)
984
+ def _reduce_46(val, _values)
962
985
  struct(:DROP, :table => val[2])
963
986
 
964
987
  end
965
988
  .,.,
966
989
 
967
- module_eval(<<'.,.,', 'ddb-parser.y', 156)
968
- def _reduce_45(val, _values)
990
+ module_eval(<<'.,.,', 'ddb-parser.y', 164)
991
+ def _reduce_47(val, _values)
969
992
  struct(:DESCRIBE, :table => val[1])
970
993
 
971
994
  end
972
995
  .,.,
973
996
 
974
- module_eval(<<'.,.,', 'ddb-parser.y', 160)
975
- def _reduce_46(val, _values)
997
+ module_eval(<<'.,.,', 'ddb-parser.y', 168)
998
+ def _reduce_48(val, _values)
976
999
  struct(:DESCRIBE, :table => val[1])
977
1000
 
978
1001
  end
979
1002
  .,.,
980
1003
 
981
- module_eval(<<'.,.,', 'ddb-parser.y', 165)
982
- def _reduce_47(val, _values)
1004
+ module_eval(<<'.,.,', 'ddb-parser.y', 173)
1005
+ def _reduce_49(val, _values)
983
1006
  struct(:SELECT, :attrs => val[1], :table => val[3], :index => val[4], :conds => val[5], :order_asc => val[6], :limit => val[7], :count => false)
984
1007
 
985
1008
  end
986
1009
  .,.,
987
1010
 
988
- module_eval(<<'.,.,', 'ddb-parser.y', 169)
989
- def _reduce_48(val, _values)
1011
+ module_eval(<<'.,.,', 'ddb-parser.y', 177)
1012
+ def _reduce_50(val, _values)
990
1013
  struct(:SELECT, :attrs => [], :table => val[6], :index => val[7], :conds => val[8], :order_asc => val[9], :limit => val[10], :count => true)
991
1014
 
992
1015
  end
993
1016
  .,.,
994
1017
 
995
- module_eval(<<'.,.,', 'ddb-parser.y', 174)
996
- def _reduce_49(val, _values)
1018
+ module_eval(<<'.,.,', 'ddb-parser.y', 182)
1019
+ def _reduce_51(val, _values)
997
1020
  struct(:SCAN, :attrs => val[2], :table => val[4], :conds => val[5], :limit => val[6], :count => false, :segment => nil, :total_segments => nil)
998
1021
 
999
1022
  end
1000
1023
  .,.,
1001
1024
 
1002
- module_eval(<<'.,.,', 'ddb-parser.y', 178)
1003
- def _reduce_50(val, _values)
1025
+ module_eval(<<'.,.,', 'ddb-parser.y', 186)
1026
+ def _reduce_52(val, _values)
1004
1027
  struct(:SCAN, :attrs => [], :table => val[7], :conds => val[8], :limit => val[9], :count => true, :segment => nil, :total_segments => nil)
1005
1028
 
1006
1029
  end
1007
1030
  .,.,
1008
1031
 
1009
- module_eval(<<'.,.,', 'ddb-parser.y', 182)
1010
- def _reduce_51(val, _values)
1032
+ module_eval(<<'.,.,', 'ddb-parser.y', 190)
1033
+ def _reduce_53(val, _values)
1011
1034
  struct(:SCAN, :attrs => val[4], :table => val[6], :conds => val[7], :limit => val[8], :count => false, :segment => val[1], :total_segments => val[3])
1012
1035
 
1013
1036
  end
1014
1037
  .,.,
1015
1038
 
1016
- module_eval(<<'.,.,', 'ddb-parser.y', 187)
1017
- def _reduce_52(val, _values)
1039
+ module_eval(<<'.,.,', 'ddb-parser.y', 195)
1040
+ def _reduce_54(val, _values)
1018
1041
  struct(:GET, :attrs => val[1], :table => val[3], :conds => val[4])
1019
1042
 
1020
1043
  end
1021
1044
  .,.,
1022
1045
 
1023
- module_eval(<<'.,.,', 'ddb-parser.y', 192)
1024
- def _reduce_53(val, _values)
1046
+ module_eval(<<'.,.,', 'ddb-parser.y', 200)
1047
+ def _reduce_55(val, _values)
1025
1048
  []
1026
1049
 
1027
1050
  end
1028
1051
  .,.,
1029
1052
 
1030
- module_eval(<<'.,.,', 'ddb-parser.y', 196)
1031
- def _reduce_54(val, _values)
1053
+ module_eval(<<'.,.,', 'ddb-parser.y', 204)
1054
+ def _reduce_56(val, _values)
1032
1055
  val[0]
1033
1056
 
1034
1057
  end
1035
1058
  .,.,
1036
1059
 
1037
- module_eval(<<'.,.,', 'ddb-parser.y', 201)
1038
- def _reduce_55(val, _values)
1060
+ module_eval(<<'.,.,', 'ddb-parser.y', 209)
1061
+ def _reduce_57(val, _values)
1039
1062
  [val[0]]
1040
1063
 
1041
1064
  end
1042
1065
  .,.,
1043
1066
 
1044
- module_eval(<<'.,.,', 'ddb-parser.y', 205)
1045
- def _reduce_56(val, _values)
1067
+ module_eval(<<'.,.,', 'ddb-parser.y', 213)
1068
+ def _reduce_58(val, _values)
1046
1069
  val[0] + [val[2]]
1047
1070
 
1048
1071
  end
1049
1072
  .,.,
1050
1073
 
1051
- # reduce 57 omitted
1074
+ # reduce 59 omitted
1052
1075
 
1053
- module_eval(<<'.,.,', 'ddb-parser.y', 211)
1054
- def _reduce_58(val, _values)
1076
+ module_eval(<<'.,.,', 'ddb-parser.y', 219)
1077
+ def _reduce_60(val, _values)
1055
1078
  val[3]
1056
1079
 
1057
1080
  end
1058
1081
  .,.,
1059
1082
 
1060
- # reduce 59 omitted
1083
+ # reduce 61 omitted
1061
1084
 
1062
- module_eval(<<'.,.,', 'ddb-parser.y', 217)
1063
- def _reduce_60(val, _values)
1085
+ module_eval(<<'.,.,', 'ddb-parser.y', 225)
1086
+ def _reduce_62(val, _values)
1064
1087
  val[1]
1065
1088
 
1066
1089
  end
1067
1090
  .,.,
1068
1091
 
1069
- module_eval(<<'.,.,', 'ddb-parser.y', 222)
1070
- def _reduce_61(val, _values)
1092
+ module_eval(<<'.,.,', 'ddb-parser.y', 230)
1093
+ def _reduce_63(val, _values)
1071
1094
  [val[0]]
1072
1095
 
1073
1096
  end
1074
1097
  .,.,
1075
1098
 
1076
- module_eval(<<'.,.,', 'ddb-parser.y', 226)
1077
- def _reduce_62(val, _values)
1099
+ module_eval(<<'.,.,', 'ddb-parser.y', 234)
1100
+ def _reduce_64(val, _values)
1078
1101
  val[0] + [val[2]]
1079
1102
 
1080
1103
  end
1081
1104
  .,.,
1082
1105
 
1083
- module_eval(<<'.,.,', 'ddb-parser.y', 231)
1084
- def _reduce_63(val, _values)
1106
+ module_eval(<<'.,.,', 'ddb-parser.y', 239)
1107
+ def _reduce_65(val, _values)
1085
1108
  [val[0], val[1].to_s.upcase.to_sym, [val[2]]]
1086
1109
 
1087
1110
  end
1088
1111
  .,.,
1089
1112
 
1090
- module_eval(<<'.,.,', 'ddb-parser.y', 235)
1091
- def _reduce_64(val, _values)
1113
+ module_eval(<<'.,.,', 'ddb-parser.y', 243)
1114
+ def _reduce_66(val, _values)
1092
1115
  [val[0], val[1].to_s.upcase.to_sym, [val[2], val[4]]]
1093
1116
 
1094
1117
  end
1095
1118
  .,.,
1096
1119
 
1097
- # reduce 65 omitted
1120
+ # reduce 67 omitted
1098
1121
 
1099
- module_eval(<<'.,.,', 'ddb-parser.y', 242)
1100
- def _reduce_66(val, _values)
1122
+ module_eval(<<'.,.,', 'ddb-parser.y', 250)
1123
+ def _reduce_68(val, _values)
1101
1124
  :EQ
1102
1125
 
1103
1126
  end
1104
1127
  .,.,
1105
1128
 
1106
- module_eval(<<'.,.,', 'ddb-parser.y', 246)
1107
- def _reduce_67(val, _values)
1129
+ module_eval(<<'.,.,', 'ddb-parser.y', 254)
1130
+ def _reduce_69(val, _values)
1108
1131
  :LE
1109
1132
 
1110
1133
  end
1111
1134
  .,.,
1112
1135
 
1113
- module_eval(<<'.,.,', 'ddb-parser.y', 250)
1114
- def _reduce_68(val, _values)
1136
+ module_eval(<<'.,.,', 'ddb-parser.y', 258)
1137
+ def _reduce_70(val, _values)
1115
1138
  :LT
1116
1139
 
1117
1140
  end
1118
1141
  .,.,
1119
1142
 
1120
- module_eval(<<'.,.,', 'ddb-parser.y', 254)
1121
- def _reduce_69(val, _values)
1143
+ module_eval(<<'.,.,', 'ddb-parser.y', 262)
1144
+ def _reduce_71(val, _values)
1122
1145
  :GE
1123
1146
 
1124
1147
  end
1125
1148
  .,.,
1126
1149
 
1127
- module_eval(<<'.,.,', 'ddb-parser.y', 258)
1128
- def _reduce_70(val, _values)
1150
+ module_eval(<<'.,.,', 'ddb-parser.y', 266)
1151
+ def _reduce_72(val, _values)
1129
1152
  :GT
1130
1153
 
1131
1154
  end
1132
1155
  .,.,
1133
1156
 
1134
- # reduce 71 omitted
1157
+ # reduce 73 omitted
1135
1158
 
1136
- # reduce 72 omitted
1159
+ # reduce 74 omitted
1137
1160
 
1138
- module_eval(<<'.,.,', 'ddb-parser.y', 265)
1139
- def _reduce_73(val, _values)
1161
+ module_eval(<<'.,.,', 'ddb-parser.y', 273)
1162
+ def _reduce_75(val, _values)
1140
1163
  val[1]
1141
1164
 
1142
1165
  end
1143
1166
  .,.,
1144
1167
 
1145
- module_eval(<<'.,.,', 'ddb-parser.y', 270)
1146
- def _reduce_74(val, _values)
1168
+ module_eval(<<'.,.,', 'ddb-parser.y', 278)
1169
+ def _reduce_76(val, _values)
1147
1170
  [val[0]]
1148
1171
 
1149
1172
  end
1150
1173
  .,.,
1151
1174
 
1152
- module_eval(<<'.,.,', 'ddb-parser.y', 274)
1153
- def _reduce_75(val, _values)
1175
+ module_eval(<<'.,.,', 'ddb-parser.y', 282)
1176
+ def _reduce_77(val, _values)
1154
1177
  val[0] + [val[2]]
1155
1178
 
1156
1179
  end
1157
1180
  .,.,
1158
1181
 
1159
- module_eval(<<'.,.,', 'ddb-parser.y', 279)
1160
- def _reduce_76(val, _values)
1182
+ module_eval(<<'.,.,', 'ddb-parser.y', 287)
1183
+ def _reduce_78(val, _values)
1161
1184
  [val[0], val[1].to_s.upcase.to_sym, [val[2]]]
1162
1185
 
1163
1186
  end
1164
1187
  .,.,
1165
1188
 
1166
- module_eval(<<'.,.,', 'ddb-parser.y', 283)
1167
- def _reduce_77(val, _values)
1189
+ module_eval(<<'.,.,', 'ddb-parser.y', 291)
1190
+ def _reduce_79(val, _values)
1168
1191
  [val[0], val[1].to_s.upcase.to_sym, val[2]]
1169
1192
 
1170
1193
  end
1171
1194
  .,.,
1172
1195
 
1173
- module_eval(<<'.,.,', 'ddb-parser.y', 287)
1174
- def _reduce_78(val, _values)
1196
+ module_eval(<<'.,.,', 'ddb-parser.y', 295)
1197
+ def _reduce_80(val, _values)
1175
1198
  [val[0], val[1].to_s.upcase.to_sym, [val[2], val[4]]]
1176
1199
 
1177
1200
  end
1178
1201
  .,.,
1179
1202
 
1180
- module_eval(<<'.,.,', 'ddb-parser.y', 291)
1181
- def _reduce_79(val, _values)
1203
+ module_eval(<<'.,.,', 'ddb-parser.y', 299)
1204
+ def _reduce_81(val, _values)
1182
1205
  [val[0], val[2].to_s.upcase.to_sym, []]
1183
1206
 
1184
1207
  end
1185
1208
  .,.,
1186
1209
 
1187
- # reduce 80 omitted
1210
+ # reduce 82 omitted
1188
1211
 
1189
- # reduce 81 omitted
1212
+ # reduce 83 omitted
1190
1213
 
1191
- module_eval(<<'.,.,', 'ddb-parser.y', 297)
1192
- def _reduce_82(val, _values)
1214
+ module_eval(<<'.,.,', 'ddb-parser.y', 305)
1215
+ def _reduce_84(val, _values)
1193
1216
  :NE
1194
1217
 
1195
1218
  end
1196
1219
  .,.,
1197
1220
 
1198
- # reduce 83 omitted
1221
+ # reduce 85 omitted
1199
1222
 
1200
- module_eval(<<'.,.,', 'ddb-parser.y', 303)
1201
- def _reduce_84(val, _values)
1223
+ module_eval(<<'.,.,', 'ddb-parser.y', 311)
1224
+ def _reduce_86(val, _values)
1202
1225
  :NOT_CONTAINS
1203
1226
 
1204
1227
  end
1205
1228
  .,.,
1206
1229
 
1207
- module_eval(<<'.,.,', 'ddb-parser.y', 307)
1208
- def _reduce_85(val, _values)
1230
+ module_eval(<<'.,.,', 'ddb-parser.y', 315)
1231
+ def _reduce_87(val, _values)
1209
1232
  :NULL
1210
1233
 
1211
1234
  end
1212
1235
  .,.,
1213
1236
 
1214
- module_eval(<<'.,.,', 'ddb-parser.y', 311)
1215
- def _reduce_86(val, _values)
1237
+ module_eval(<<'.,.,', 'ddb-parser.y', 319)
1238
+ def _reduce_88(val, _values)
1216
1239
  :NOT_NULL
1217
1240
 
1218
1241
  end
1219
1242
  .,.,
1220
1243
 
1221
- # reduce 87 omitted
1244
+ # reduce 89 omitted
1222
1245
 
1223
- module_eval(<<'.,.,', 'ddb-parser.y', 317)
1224
- def _reduce_88(val, _values)
1246
+ module_eval(<<'.,.,', 'ddb-parser.y', 325)
1247
+ def _reduce_90(val, _values)
1225
1248
  true
1226
1249
 
1227
1250
  end
1228
1251
  .,.,
1229
1252
 
1230
- module_eval(<<'.,.,', 'ddb-parser.y', 321)
1231
- def _reduce_89(val, _values)
1253
+ module_eval(<<'.,.,', 'ddb-parser.y', 329)
1254
+ def _reduce_91(val, _values)
1232
1255
  false
1233
1256
 
1234
1257
  end
1235
1258
  .,.,
1236
1259
 
1237
- # reduce 90 omitted
1260
+ # reduce 92 omitted
1238
1261
 
1239
- module_eval(<<'.,.,', 'ddb-parser.y', 327)
1240
- def _reduce_91(val, _values)
1262
+ module_eval(<<'.,.,', 'ddb-parser.y', 335)
1263
+ def _reduce_93(val, _values)
1241
1264
  val[1]
1242
1265
 
1243
1266
  end
1244
1267
  .,.,
1245
1268
 
1246
- module_eval(<<'.,.,', 'ddb-parser.y', 332)
1247
- def _reduce_92(val, _values)
1269
+ module_eval(<<'.,.,', 'ddb-parser.y', 340)
1270
+ def _reduce_94(val, _values)
1248
1271
  struct(:UPDATE, :table => val[1], :action => val[2], :attrs => val[3], :conds => val[4])
1249
1272
 
1250
1273
  end
1251
1274
  .,.,
1252
1275
 
1253
- module_eval(<<'.,.,', 'ddb-parser.y', 336)
1254
- def _reduce_93(val, _values)
1276
+ module_eval(<<'.,.,', 'ddb-parser.y', 344)
1277
+ def _reduce_95(val, _values)
1255
1278
  struct(:UPDATE_ALL, :table => val[2], :action => val[3], :attrs => val[4], :conds => val[5], :limit => val[6])
1256
1279
 
1257
1280
  end
1258
1281
  .,.,
1259
1282
 
1260
- module_eval(<<'.,.,', 'ddb-parser.y', 341)
1261
- def _reduce_94(val, _values)
1283
+ module_eval(<<'.,.,', 'ddb-parser.y', 349)
1284
+ def _reduce_96(val, _values)
1262
1285
  :PUT
1263
1286
 
1264
1287
  end
1265
1288
  .,.,
1266
1289
 
1267
- module_eval(<<'.,.,', 'ddb-parser.y', 345)
1268
- def _reduce_95(val, _values)
1290
+ module_eval(<<'.,.,', 'ddb-parser.y', 353)
1291
+ def _reduce_97(val, _values)
1269
1292
  :ADD
1270
1293
 
1271
1294
  end
1272
1295
  .,.,
1273
1296
 
1274
- module_eval(<<'.,.,', 'ddb-parser.y', 350)
1275
- def _reduce_96(val, _values)
1297
+ module_eval(<<'.,.,', 'ddb-parser.y', 358)
1298
+ def _reduce_98(val, _values)
1276
1299
  [val[0]]
1277
1300
 
1278
1301
  end
1279
1302
  .,.,
1280
1303
 
1281
- module_eval(<<'.,.,', 'ddb-parser.y', 354)
1282
- def _reduce_97(val, _values)
1304
+ module_eval(<<'.,.,', 'ddb-parser.y', 362)
1305
+ def _reduce_99(val, _values)
1283
1306
  val[0] + [val[2]]
1284
1307
 
1285
1308
  end
1286
1309
  .,.,
1287
1310
 
1288
- module_eval(<<'.,.,', 'ddb-parser.y', 359)
1289
- def _reduce_98(val, _values)
1311
+ module_eval(<<'.,.,', 'ddb-parser.y', 367)
1312
+ def _reduce_100(val, _values)
1290
1313
  [val[0], val[2]]
1291
1314
 
1292
1315
  end
1293
1316
  .,.,
1294
1317
 
1295
- module_eval(<<'.,.,', 'ddb-parser.y', 364)
1296
- def _reduce_99(val, _values)
1318
+ module_eval(<<'.,.,', 'ddb-parser.y', 372)
1319
+ def _reduce_101(val, _values)
1297
1320
  val[1]
1298
1321
 
1299
1322
  end
1300
1323
  .,.,
1301
1324
 
1302
- module_eval(<<'.,.,', 'ddb-parser.y', 369)
1303
- def _reduce_100(val, _values)
1325
+ module_eval(<<'.,.,', 'ddb-parser.y', 377)
1326
+ def _reduce_102(val, _values)
1304
1327
  [val[0]]
1305
1328
 
1306
1329
  end
1307
1330
  .,.,
1308
1331
 
1309
- module_eval(<<'.,.,', 'ddb-parser.y', 373)
1310
- def _reduce_101(val, _values)
1332
+ module_eval(<<'.,.,', 'ddb-parser.y', 381)
1333
+ def _reduce_103(val, _values)
1311
1334
  val[0] + [val[2]]
1312
1335
 
1313
1336
  end
1314
1337
  .,.,
1315
1338
 
1316
- module_eval(<<'.,.,', 'ddb-parser.y', 378)
1317
- def _reduce_102(val, _values)
1339
+ module_eval(<<'.,.,', 'ddb-parser.y', 386)
1340
+ def _reduce_104(val, _values)
1318
1341
  [val[0], val[2]]
1319
1342
 
1320
1343
  end
1321
1344
  .,.,
1322
1345
 
1323
- module_eval(<<'.,.,', 'ddb-parser.y', 383)
1324
- def _reduce_103(val, _values)
1346
+ module_eval(<<'.,.,', 'ddb-parser.y', 391)
1347
+ def _reduce_105(val, _values)
1325
1348
  struct(:DELETE, :table => val[2], :conds => val[3])
1326
1349
 
1327
1350
  end
1328
1351
  .,.,
1329
1352
 
1330
- module_eval(<<'.,.,', 'ddb-parser.y', 387)
1331
- def _reduce_104(val, _values)
1353
+ module_eval(<<'.,.,', 'ddb-parser.y', 395)
1354
+ def _reduce_106(val, _values)
1332
1355
  struct(:DELETE_ALL, :table => val[3], :conds => val[4], :limit => val[5])
1333
1356
 
1334
1357
  end
1335
1358
  .,.,
1336
1359
 
1337
- module_eval(<<'.,.,', 'ddb-parser.y', 392)
1338
- def _reduce_105(val, _values)
1360
+ module_eval(<<'.,.,', 'ddb-parser.y', 400)
1361
+ def _reduce_107(val, _values)
1339
1362
  struct(:INSERT, :table => val[2], :attrs => val[4], :values => val[7])
1340
1363
 
1341
1364
  end
1342
1365
  .,.,
1343
1366
 
1344
- module_eval(<<'.,.,', 'ddb-parser.y', 396)
1345
- def _reduce_106(val, _values)
1367
+ module_eval(<<'.,.,', 'ddb-parser.y', 404)
1368
+ def _reduce_108(val, _values)
1346
1369
  struct(:INSERT_SELECT, :table => val[2], :select => val[3])
1347
1370
 
1348
1371
  end
1349
1372
  .,.,
1350
1373
 
1351
- module_eval(<<'.,.,', 'ddb-parser.y', 400)
1352
- def _reduce_107(val, _values)
1374
+ module_eval(<<'.,.,', 'ddb-parser.y', 408)
1375
+ def _reduce_109(val, _values)
1353
1376
  struct(:INSERT_SCAN, :table => val[2], :select => val[3])
1354
1377
 
1355
1378
  end
1356
1379
  .,.,
1357
1380
 
1358
- module_eval(<<'.,.,', 'ddb-parser.y', 405)
1359
- def _reduce_108(val, _values)
1381
+ module_eval(<<'.,.,', 'ddb-parser.y', 413)
1382
+ def _reduce_110(val, _values)
1360
1383
  [val[0]]
1361
1384
 
1362
1385
  end
1363
1386
  .,.,
1364
1387
 
1365
- module_eval(<<'.,.,', 'ddb-parser.y', 409)
1366
- def _reduce_109(val, _values)
1388
+ module_eval(<<'.,.,', 'ddb-parser.y', 417)
1389
+ def _reduce_111(val, _values)
1367
1390
  val[0] + [val[2]]
1368
1391
 
1369
1392
  end
1370
1393
  .,.,
1371
1394
 
1372
- module_eval(<<'.,.,', 'ddb-parser.y', 414)
1373
- def _reduce_110(val, _values)
1395
+ module_eval(<<'.,.,', 'ddb-parser.y', 422)
1396
+ def _reduce_112(val, _values)
1374
1397
  [val[1]]
1375
1398
 
1376
1399
  end
1377
1400
  .,.,
1378
1401
 
1379
- module_eval(<<'.,.,', 'ddb-parser.y', 418)
1380
- def _reduce_111(val, _values)
1402
+ module_eval(<<'.,.,', 'ddb-parser.y', 426)
1403
+ def _reduce_113(val, _values)
1381
1404
  val[0] + [val[3]]
1382
1405
 
1383
1406
  end
1384
1407
  .,.,
1385
1408
 
1386
- module_eval(<<'.,.,', 'ddb-parser.y', 423)
1387
- def _reduce_112(val, _values)
1409
+ module_eval(<<'.,.,', 'ddb-parser.y', 431)
1410
+ def _reduce_114(val, _values)
1388
1411
  [val[0]]
1389
1412
 
1390
1413
  end
1391
1414
  .,.,
1392
1415
 
1393
- module_eval(<<'.,.,', 'ddb-parser.y', 427)
1394
- def _reduce_113(val, _values)
1416
+ module_eval(<<'.,.,', 'ddb-parser.y', 435)
1417
+ def _reduce_115(val, _values)
1395
1418
  val[0] + [val[2]]
1396
1419
 
1397
1420
  end
1398
1421
  .,.,
1399
1422
 
1400
- module_eval(<<'.,.,', 'ddb-parser.y', 432)
1401
- def _reduce_114(val, _values)
1423
+ module_eval(<<'.,.,', 'ddb-parser.y', 440)
1424
+ def _reduce_116(val, _values)
1402
1425
  struct(:NEXT)
1403
1426
 
1404
1427
  end
1405
1428
  .,.,
1406
1429
 
1407
- # reduce 115 omitted
1408
-
1409
- # reduce 116 omitted
1410
-
1411
1430
  # reduce 117 omitted
1412
1431
 
1413
1432
  # reduce 118 omitted
@@ -1418,64 +1437,68 @@ module_eval(<<'.,.,', 'ddb-parser.y', 432)
1418
1437
 
1419
1438
  # reduce 121 omitted
1420
1439
 
1421
- module_eval(<<'.,.,', 'ddb-parser.y', 446)
1422
- def _reduce_122(val, _values)
1440
+ # reduce 122 omitted
1441
+
1442
+ # reduce 123 omitted
1443
+
1444
+ module_eval(<<'.,.,', 'ddb-parser.y', 454)
1445
+ def _reduce_124(val, _values)
1423
1446
  val[1]
1424
1447
 
1425
1448
  end
1426
1449
  .,.,
1427
1450
 
1428
- module_eval(<<'.,.,', 'ddb-parser.y', 450)
1429
- def _reduce_123(val, _values)
1451
+ module_eval(<<'.,.,', 'ddb-parser.y', 458)
1452
+ def _reduce_125(val, _values)
1430
1453
  val[1]
1431
1454
 
1432
1455
  end
1433
1456
  .,.,
1434
1457
 
1435
- module_eval(<<'.,.,', 'ddb-parser.y', 454)
1436
- def _reduce_124(val, _values)
1458
+ module_eval(<<'.,.,', 'ddb-parser.y', 462)
1459
+ def _reduce_126(val, _values)
1437
1460
  val[1]
1438
1461
 
1439
1462
  end
1440
1463
  .,.,
1441
1464
 
1442
- module_eval(<<'.,.,', 'ddb-parser.y', 459)
1443
- def _reduce_125(val, _values)
1465
+ module_eval(<<'.,.,', 'ddb-parser.y', 467)
1466
+ def _reduce_127(val, _values)
1444
1467
  [val[0]]
1445
1468
 
1446
1469
  end
1447
1470
  .,.,
1448
1471
 
1449
- module_eval(<<'.,.,', 'ddb-parser.y', 463)
1450
- def _reduce_126(val, _values)
1472
+ module_eval(<<'.,.,', 'ddb-parser.y', 471)
1473
+ def _reduce_128(val, _values)
1451
1474
  val[0] + [val[2]]
1452
1475
 
1453
1476
  end
1454
1477
  .,.,
1455
1478
 
1456
- module_eval(<<'.,.,', 'ddb-parser.y', 468)
1457
- def _reduce_127(val, _values)
1479
+ module_eval(<<'.,.,', 'ddb-parser.y', 476)
1480
+ def _reduce_129(val, _values)
1458
1481
  [val[0]]
1459
1482
 
1460
1483
  end
1461
1484
  .,.,
1462
1485
 
1463
- module_eval(<<'.,.,', 'ddb-parser.y', 472)
1464
- def _reduce_128(val, _values)
1486
+ module_eval(<<'.,.,', 'ddb-parser.y', 480)
1487
+ def _reduce_130(val, _values)
1465
1488
  val[0] + [val[2]]
1466
1489
 
1467
1490
  end
1468
1491
  .,.,
1469
1492
 
1470
- module_eval(<<'.,.,', 'ddb-parser.y', 477)
1471
- def _reduce_129(val, _values)
1493
+ module_eval(<<'.,.,', 'ddb-parser.y', 485)
1494
+ def _reduce_131(val, _values)
1472
1495
  [val[0]]
1473
1496
 
1474
1497
  end
1475
1498
  .,.,
1476
1499
 
1477
- module_eval(<<'.,.,', 'ddb-parser.y', 481)
1478
- def _reduce_130(val, _values)
1500
+ module_eval(<<'.,.,', 'ddb-parser.y', 489)
1501
+ def _reduce_132(val, _values)
1479
1502
  val[0] + [val[2]]
1480
1503
 
1481
1504
  end