cassandra_client 0.1

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.
@@ -0,0 +1,1226 @@
1
+ #
2
+ # Autogenerated by Thrift
3
+ #
4
+ # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
+ #
6
+
7
+ require 'thrift'
8
+ require 'cassandra_types'
9
+
10
+ module Cassandra
11
+ class Client
12
+ include ::Thrift::Client
13
+
14
+ def get_slice_by_name_range(tablename, key, columnParent, start, finish, count)
15
+ send_get_slice_by_name_range(tablename, key, columnParent, start, finish, count)
16
+ return recv_get_slice_by_name_range()
17
+ end
18
+
19
+ def send_get_slice_by_name_range(tablename, key, columnParent, start, finish, count)
20
+ send_message('get_slice_by_name_range', Get_slice_by_name_range_args, :tablename => tablename, :key => key, :columnParent => columnParent, :start => start, :finish => finish, :count => count)
21
+ end
22
+
23
+ def recv_get_slice_by_name_range()
24
+ result = receive_message(Get_slice_by_name_range_result)
25
+ return result.success unless result.success.nil?
26
+ raise result.ire unless result.ire.nil?
27
+ raise result.nfe unless result.nfe.nil?
28
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_slice_by_name_range failed: unknown result')
29
+ end
30
+
31
+ def get_slice_by_names(tablename, key, columnParent, columnNames)
32
+ send_get_slice_by_names(tablename, key, columnParent, columnNames)
33
+ return recv_get_slice_by_names()
34
+ end
35
+
36
+ def send_get_slice_by_names(tablename, key, columnParent, columnNames)
37
+ send_message('get_slice_by_names', Get_slice_by_names_args, :tablename => tablename, :key => key, :columnParent => columnParent, :columnNames => columnNames)
38
+ end
39
+
40
+ def recv_get_slice_by_names()
41
+ result = receive_message(Get_slice_by_names_result)
42
+ return result.success unless result.success.nil?
43
+ raise result.ire unless result.ire.nil?
44
+ raise result.nfe unless result.nfe.nil?
45
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_slice_by_names failed: unknown result')
46
+ end
47
+
48
+ def get_slice(tablename, key, columnParent, isAscending, count)
49
+ send_get_slice(tablename, key, columnParent, isAscending, count)
50
+ return recv_get_slice()
51
+ end
52
+
53
+ def send_get_slice(tablename, key, columnParent, isAscending, count)
54
+ send_message('get_slice', Get_slice_args, :tablename => tablename, :key => key, :columnParent => columnParent, :isAscending => isAscending, :count => count)
55
+ end
56
+
57
+ def recv_get_slice()
58
+ result = receive_message(Get_slice_result)
59
+ return result.success unless result.success.nil?
60
+ raise result.ire unless result.ire.nil?
61
+ raise result.nfe unless result.nfe.nil?
62
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_slice failed: unknown result')
63
+ end
64
+
65
+ def get_column(tablename, key, columnPath)
66
+ send_get_column(tablename, key, columnPath)
67
+ return recv_get_column()
68
+ end
69
+
70
+ def send_get_column(tablename, key, columnPath)
71
+ send_message('get_column', Get_column_args, :tablename => tablename, :key => key, :columnPath => columnPath)
72
+ end
73
+
74
+ def recv_get_column()
75
+ result = receive_message(Get_column_result)
76
+ return result.success unless result.success.nil?
77
+ raise result.ire unless result.ire.nil?
78
+ raise result.nfe unless result.nfe.nil?
79
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_column failed: unknown result')
80
+ end
81
+
82
+ def get_column_count(tablename, key, columnParent)
83
+ send_get_column_count(tablename, key, columnParent)
84
+ return recv_get_column_count()
85
+ end
86
+
87
+ def send_get_column_count(tablename, key, columnParent)
88
+ send_message('get_column_count', Get_column_count_args, :tablename => tablename, :key => key, :columnParent => columnParent)
89
+ end
90
+
91
+ def recv_get_column_count()
92
+ result = receive_message(Get_column_count_result)
93
+ return result.success unless result.success.nil?
94
+ raise result.ire unless result.ire.nil?
95
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_column_count failed: unknown result')
96
+ end
97
+
98
+ def insert(tablename, key, columnPath, cellData, timestamp, block_for)
99
+ send_insert(tablename, key, columnPath, cellData, timestamp, block_for)
100
+ recv_insert()
101
+ end
102
+
103
+ def send_insert(tablename, key, columnPath, cellData, timestamp, block_for)
104
+ send_message('insert', Insert_args, :tablename => tablename, :key => key, :columnPath => columnPath, :cellData => cellData, :timestamp => timestamp, :block_for => block_for)
105
+ end
106
+
107
+ def recv_insert()
108
+ result = receive_message(Insert_result)
109
+ raise result.ire unless result.ire.nil?
110
+ raise result.ue unless result.ue.nil?
111
+ return
112
+ end
113
+
114
+ def batch_insert(batchMutation, block_for)
115
+ send_batch_insert(batchMutation, block_for)
116
+ recv_batch_insert()
117
+ end
118
+
119
+ def send_batch_insert(batchMutation, block_for)
120
+ send_message('batch_insert', Batch_insert_args, :batchMutation => batchMutation, :block_for => block_for)
121
+ end
122
+
123
+ def recv_batch_insert()
124
+ result = receive_message(Batch_insert_result)
125
+ raise result.ire unless result.ire.nil?
126
+ raise result.ue unless result.ue.nil?
127
+ return
128
+ end
129
+
130
+ def remove(tablename, key, columnPathOrParent, timestamp, block_for)
131
+ send_remove(tablename, key, columnPathOrParent, timestamp, block_for)
132
+ recv_remove()
133
+ end
134
+
135
+ def send_remove(tablename, key, columnPathOrParent, timestamp, block_for)
136
+ send_message('remove', Remove_args, :tablename => tablename, :key => key, :columnPathOrParent => columnPathOrParent, :timestamp => timestamp, :block_for => block_for)
137
+ end
138
+
139
+ def recv_remove()
140
+ result = receive_message(Remove_result)
141
+ raise result.ire unless result.ire.nil?
142
+ raise result.ue unless result.ue.nil?
143
+ return
144
+ end
145
+
146
+ def get_columns_since(tablename, key, columnParent, timeStamp)
147
+ send_get_columns_since(tablename, key, columnParent, timeStamp)
148
+ return recv_get_columns_since()
149
+ end
150
+
151
+ def send_get_columns_since(tablename, key, columnParent, timeStamp)
152
+ send_message('get_columns_since', Get_columns_since_args, :tablename => tablename, :key => key, :columnParent => columnParent, :timeStamp => timeStamp)
153
+ end
154
+
155
+ def recv_get_columns_since()
156
+ result = receive_message(Get_columns_since_result)
157
+ return result.success unless result.success.nil?
158
+ raise result.ire unless result.ire.nil?
159
+ raise result.nfe unless result.nfe.nil?
160
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_columns_since failed: unknown result')
161
+ end
162
+
163
+ def get_slice_super(tablename, key, columnFamily, isAscending, count)
164
+ send_get_slice_super(tablename, key, columnFamily, isAscending, count)
165
+ return recv_get_slice_super()
166
+ end
167
+
168
+ def send_get_slice_super(tablename, key, columnFamily, isAscending, count)
169
+ send_message('get_slice_super', Get_slice_super_args, :tablename => tablename, :key => key, :columnFamily => columnFamily, :isAscending => isAscending, :count => count)
170
+ end
171
+
172
+ def recv_get_slice_super()
173
+ result = receive_message(Get_slice_super_result)
174
+ return result.success unless result.success.nil?
175
+ raise result.ire unless result.ire.nil?
176
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_slice_super failed: unknown result')
177
+ end
178
+
179
+ def get_slice_super_by_names(tablename, key, columnFamily, superColumnNames)
180
+ send_get_slice_super_by_names(tablename, key, columnFamily, superColumnNames)
181
+ return recv_get_slice_super_by_names()
182
+ end
183
+
184
+ def send_get_slice_super_by_names(tablename, key, columnFamily, superColumnNames)
185
+ send_message('get_slice_super_by_names', Get_slice_super_by_names_args, :tablename => tablename, :key => key, :columnFamily => columnFamily, :superColumnNames => superColumnNames)
186
+ end
187
+
188
+ def recv_get_slice_super_by_names()
189
+ result = receive_message(Get_slice_super_by_names_result)
190
+ return result.success unless result.success.nil?
191
+ raise result.ire unless result.ire.nil?
192
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_slice_super_by_names failed: unknown result')
193
+ end
194
+
195
+ def get_superColumn(tablename, key, superColumnPath)
196
+ send_get_superColumn(tablename, key, superColumnPath)
197
+ return recv_get_superColumn()
198
+ end
199
+
200
+ def send_get_superColumn(tablename, key, superColumnPath)
201
+ send_message('get_superColumn', Get_superColumn_args, :tablename => tablename, :key => key, :superColumnPath => superColumnPath)
202
+ end
203
+
204
+ def recv_get_superColumn()
205
+ result = receive_message(Get_superColumn_result)
206
+ return result.success unless result.success.nil?
207
+ raise result.ire unless result.ire.nil?
208
+ raise result.nfe unless result.nfe.nil?
209
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_superColumn failed: unknown result')
210
+ end
211
+
212
+ def batch_insert_superColumn(batchMutationSuper, block_for)
213
+ send_batch_insert_superColumn(batchMutationSuper, block_for)
214
+ recv_batch_insert_superColumn()
215
+ end
216
+
217
+ def send_batch_insert_superColumn(batchMutationSuper, block_for)
218
+ send_message('batch_insert_superColumn', Batch_insert_superColumn_args, :batchMutationSuper => batchMutationSuper, :block_for => block_for)
219
+ end
220
+
221
+ def recv_batch_insert_superColumn()
222
+ result = receive_message(Batch_insert_superColumn_result)
223
+ raise result.ire unless result.ire.nil?
224
+ raise result.ue unless result.ue.nil?
225
+ return
226
+ end
227
+
228
+ def get_key_range(tablename, columnFamilies, startWith, stopAt, maxResults)
229
+ send_get_key_range(tablename, columnFamilies, startWith, stopAt, maxResults)
230
+ return recv_get_key_range()
231
+ end
232
+
233
+ def send_get_key_range(tablename, columnFamilies, startWith, stopAt, maxResults)
234
+ send_message('get_key_range', Get_key_range_args, :tablename => tablename, :columnFamilies => columnFamilies, :startWith => startWith, :stopAt => stopAt, :maxResults => maxResults)
235
+ end
236
+
237
+ def recv_get_key_range()
238
+ result = receive_message(Get_key_range_result)
239
+ return result.success unless result.success.nil?
240
+ raise result.ire unless result.ire.nil?
241
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_key_range failed: unknown result')
242
+ end
243
+
244
+ def getStringProperty(propertyName)
245
+ send_getStringProperty(propertyName)
246
+ return recv_getStringProperty()
247
+ end
248
+
249
+ def send_getStringProperty(propertyName)
250
+ send_message('getStringProperty', GetStringProperty_args, :propertyName => propertyName)
251
+ end
252
+
253
+ def recv_getStringProperty()
254
+ result = receive_message(GetStringProperty_result)
255
+ return result.success unless result.success.nil?
256
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getStringProperty failed: unknown result')
257
+ end
258
+
259
+ def getStringListProperty(propertyName)
260
+ send_getStringListProperty(propertyName)
261
+ return recv_getStringListProperty()
262
+ end
263
+
264
+ def send_getStringListProperty(propertyName)
265
+ send_message('getStringListProperty', GetStringListProperty_args, :propertyName => propertyName)
266
+ end
267
+
268
+ def recv_getStringListProperty()
269
+ result = receive_message(GetStringListProperty_result)
270
+ return result.success unless result.success.nil?
271
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getStringListProperty failed: unknown result')
272
+ end
273
+
274
+ def describeTable(tableName)
275
+ send_describeTable(tableName)
276
+ return recv_describeTable()
277
+ end
278
+
279
+ def send_describeTable(tableName)
280
+ send_message('describeTable', DescribeTable_args, :tableName => tableName)
281
+ end
282
+
283
+ def recv_describeTable()
284
+ result = receive_message(DescribeTable_result)
285
+ return result.success unless result.success.nil?
286
+ raise result.nfe unless result.nfe.nil?
287
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'describeTable failed: unknown result')
288
+ end
289
+
290
+ def executeQuery(query)
291
+ send_executeQuery(query)
292
+ return recv_executeQuery()
293
+ end
294
+
295
+ def send_executeQuery(query)
296
+ send_message('executeQuery', ExecuteQuery_args, :query => query)
297
+ end
298
+
299
+ def recv_executeQuery()
300
+ result = receive_message(ExecuteQuery_result)
301
+ return result.success unless result.success.nil?
302
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'executeQuery failed: unknown result')
303
+ end
304
+
305
+ end
306
+
307
+ class Processor
308
+ include ::Thrift::Processor
309
+
310
+ def process_get_slice_by_name_range(seqid, iprot, oprot)
311
+ args = read_args(iprot, Get_slice_by_name_range_args)
312
+ result = Get_slice_by_name_range_result.new()
313
+ begin
314
+ result.success = @handler.get_slice_by_name_range(args.tablename, args.key, args.columnParent, args.start, args.finish, args.count)
315
+ rescue InvalidRequestException => ire
316
+ result.ire = ire
317
+ rescue NotFoundException => nfe
318
+ result.nfe = nfe
319
+ end
320
+ write_result(result, oprot, 'get_slice_by_name_range', seqid)
321
+ end
322
+
323
+ def process_get_slice_by_names(seqid, iprot, oprot)
324
+ args = read_args(iprot, Get_slice_by_names_args)
325
+ result = Get_slice_by_names_result.new()
326
+ begin
327
+ result.success = @handler.get_slice_by_names(args.tablename, args.key, args.columnParent, args.columnNames)
328
+ rescue InvalidRequestException => ire
329
+ result.ire = ire
330
+ rescue NotFoundException => nfe
331
+ result.nfe = nfe
332
+ end
333
+ write_result(result, oprot, 'get_slice_by_names', seqid)
334
+ end
335
+
336
+ def process_get_slice(seqid, iprot, oprot)
337
+ args = read_args(iprot, Get_slice_args)
338
+ result = Get_slice_result.new()
339
+ begin
340
+ result.success = @handler.get_slice(args.tablename, args.key, args.columnParent, args.isAscending, args.count)
341
+ rescue InvalidRequestException => ire
342
+ result.ire = ire
343
+ rescue NotFoundException => nfe
344
+ result.nfe = nfe
345
+ end
346
+ write_result(result, oprot, 'get_slice', seqid)
347
+ end
348
+
349
+ def process_get_column(seqid, iprot, oprot)
350
+ args = read_args(iprot, Get_column_args)
351
+ result = Get_column_result.new()
352
+ begin
353
+ result.success = @handler.get_column(args.tablename, args.key, args.columnPath)
354
+ rescue InvalidRequestException => ire
355
+ result.ire = ire
356
+ rescue NotFoundException => nfe
357
+ result.nfe = nfe
358
+ end
359
+ write_result(result, oprot, 'get_column', seqid)
360
+ end
361
+
362
+ def process_get_column_count(seqid, iprot, oprot)
363
+ args = read_args(iprot, Get_column_count_args)
364
+ result = Get_column_count_result.new()
365
+ begin
366
+ result.success = @handler.get_column_count(args.tablename, args.key, args.columnParent)
367
+ rescue InvalidRequestException => ire
368
+ result.ire = ire
369
+ end
370
+ write_result(result, oprot, 'get_column_count', seqid)
371
+ end
372
+
373
+ def process_insert(seqid, iprot, oprot)
374
+ args = read_args(iprot, Insert_args)
375
+ result = Insert_result.new()
376
+ begin
377
+ @handler.insert(args.tablename, args.key, args.columnPath, args.cellData, args.timestamp, args.block_for)
378
+ rescue InvalidRequestException => ire
379
+ result.ire = ire
380
+ rescue UnavailableException => ue
381
+ result.ue = ue
382
+ end
383
+ write_result(result, oprot, 'insert', seqid)
384
+ end
385
+
386
+ def process_batch_insert(seqid, iprot, oprot)
387
+ args = read_args(iprot, Batch_insert_args)
388
+ result = Batch_insert_result.new()
389
+ begin
390
+ @handler.batch_insert(args.batchMutation, args.block_for)
391
+ rescue InvalidRequestException => ire
392
+ result.ire = ire
393
+ rescue UnavailableException => ue
394
+ result.ue = ue
395
+ end
396
+ write_result(result, oprot, 'batch_insert', seqid)
397
+ end
398
+
399
+ def process_remove(seqid, iprot, oprot)
400
+ args = read_args(iprot, Remove_args)
401
+ result = Remove_result.new()
402
+ begin
403
+ @handler.remove(args.tablename, args.key, args.columnPathOrParent, args.timestamp, args.block_for)
404
+ rescue InvalidRequestException => ire
405
+ result.ire = ire
406
+ rescue UnavailableException => ue
407
+ result.ue = ue
408
+ end
409
+ write_result(result, oprot, 'remove', seqid)
410
+ end
411
+
412
+ def process_get_columns_since(seqid, iprot, oprot)
413
+ args = read_args(iprot, Get_columns_since_args)
414
+ result = Get_columns_since_result.new()
415
+ begin
416
+ result.success = @handler.get_columns_since(args.tablename, args.key, args.columnParent, args.timeStamp)
417
+ rescue InvalidRequestException => ire
418
+ result.ire = ire
419
+ rescue NotFoundException => nfe
420
+ result.nfe = nfe
421
+ end
422
+ write_result(result, oprot, 'get_columns_since', seqid)
423
+ end
424
+
425
+ def process_get_slice_super(seqid, iprot, oprot)
426
+ args = read_args(iprot, Get_slice_super_args)
427
+ result = Get_slice_super_result.new()
428
+ begin
429
+ result.success = @handler.get_slice_super(args.tablename, args.key, args.columnFamily, args.isAscending, args.count)
430
+ rescue InvalidRequestException => ire
431
+ result.ire = ire
432
+ end
433
+ write_result(result, oprot, 'get_slice_super', seqid)
434
+ end
435
+
436
+ def process_get_slice_super_by_names(seqid, iprot, oprot)
437
+ args = read_args(iprot, Get_slice_super_by_names_args)
438
+ result = Get_slice_super_by_names_result.new()
439
+ begin
440
+ result.success = @handler.get_slice_super_by_names(args.tablename, args.key, args.columnFamily, args.superColumnNames)
441
+ rescue InvalidRequestException => ire
442
+ result.ire = ire
443
+ end
444
+ write_result(result, oprot, 'get_slice_super_by_names', seqid)
445
+ end
446
+
447
+ def process_get_superColumn(seqid, iprot, oprot)
448
+ args = read_args(iprot, Get_superColumn_args)
449
+ result = Get_superColumn_result.new()
450
+ begin
451
+ result.success = @handler.get_superColumn(args.tablename, args.key, args.superColumnPath)
452
+ rescue InvalidRequestException => ire
453
+ result.ire = ire
454
+ rescue NotFoundException => nfe
455
+ result.nfe = nfe
456
+ end
457
+ write_result(result, oprot, 'get_superColumn', seqid)
458
+ end
459
+
460
+ def process_batch_insert_superColumn(seqid, iprot, oprot)
461
+ args = read_args(iprot, Batch_insert_superColumn_args)
462
+ result = Batch_insert_superColumn_result.new()
463
+ begin
464
+ @handler.batch_insert_superColumn(args.batchMutationSuper, args.block_for)
465
+ rescue InvalidRequestException => ire
466
+ result.ire = ire
467
+ rescue UnavailableException => ue
468
+ result.ue = ue
469
+ end
470
+ write_result(result, oprot, 'batch_insert_superColumn', seqid)
471
+ end
472
+
473
+ def process_get_key_range(seqid, iprot, oprot)
474
+ args = read_args(iprot, Get_key_range_args)
475
+ result = Get_key_range_result.new()
476
+ begin
477
+ result.success = @handler.get_key_range(args.tablename, args.columnFamilies, args.startWith, args.stopAt, args.maxResults)
478
+ rescue InvalidRequestException => ire
479
+ result.ire = ire
480
+ end
481
+ write_result(result, oprot, 'get_key_range', seqid)
482
+ end
483
+
484
+ def process_getStringProperty(seqid, iprot, oprot)
485
+ args = read_args(iprot, GetStringProperty_args)
486
+ result = GetStringProperty_result.new()
487
+ result.success = @handler.getStringProperty(args.propertyName)
488
+ write_result(result, oprot, 'getStringProperty', seqid)
489
+ end
490
+
491
+ def process_getStringListProperty(seqid, iprot, oprot)
492
+ args = read_args(iprot, GetStringListProperty_args)
493
+ result = GetStringListProperty_result.new()
494
+ result.success = @handler.getStringListProperty(args.propertyName)
495
+ write_result(result, oprot, 'getStringListProperty', seqid)
496
+ end
497
+
498
+ def process_describeTable(seqid, iprot, oprot)
499
+ args = read_args(iprot, DescribeTable_args)
500
+ result = DescribeTable_result.new()
501
+ begin
502
+ result.success = @handler.describeTable(args.tableName)
503
+ rescue NotFoundException => nfe
504
+ result.nfe = nfe
505
+ end
506
+ write_result(result, oprot, 'describeTable', seqid)
507
+ end
508
+
509
+ def process_executeQuery(seqid, iprot, oprot)
510
+ args = read_args(iprot, ExecuteQuery_args)
511
+ result = ExecuteQuery_result.new()
512
+ result.success = @handler.executeQuery(args.query)
513
+ write_result(result, oprot, 'executeQuery', seqid)
514
+ end
515
+
516
+ end
517
+
518
+ # HELPER FUNCTIONS AND STRUCTURES
519
+
520
+ class Get_slice_by_name_range_args
521
+ include ::Thrift::Struct
522
+ TABLENAME = 1
523
+ KEY = 2
524
+ COLUMNPARENT = 3
525
+ START = 4
526
+ FINISH = 5
527
+ COUNT = 6
528
+
529
+ ::Thrift::Struct.field_accessor self, :tablename, :key, :columnParent, :start, :finish, :count
530
+ FIELDS = {
531
+ TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tablename'},
532
+ KEY => {:type => ::Thrift::Types::STRING, :name => 'key'},
533
+ COLUMNPARENT => {:type => ::Thrift::Types::STRING, :name => 'columnParent'},
534
+ START => {:type => ::Thrift::Types::STRING, :name => 'start'},
535
+ FINISH => {:type => ::Thrift::Types::STRING, :name => 'finish'},
536
+ COUNT => {:type => ::Thrift::Types::I32, :name => 'count', :default => -1}
537
+ }
538
+
539
+ def struct_fields; FIELDS; end
540
+
541
+ def validate
542
+ end
543
+
544
+ end
545
+
546
+ class Get_slice_by_name_range_result
547
+ include ::Thrift::Struct
548
+ SUCCESS = 0
549
+ IRE = 1
550
+ NFE = 2
551
+
552
+ ::Thrift::Struct.field_accessor self, :success, :ire, :nfe
553
+ FIELDS = {
554
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => Column_t}},
555
+ IRE => {:type => ::Thrift::Types::STRUCT, :name => 'ire', :class => InvalidRequestException},
556
+ NFE => {:type => ::Thrift::Types::STRUCT, :name => 'nfe', :class => NotFoundException}
557
+ }
558
+
559
+ def struct_fields; FIELDS; end
560
+
561
+ def validate
562
+ end
563
+
564
+ end
565
+
566
+ class Get_slice_by_names_args
567
+ include ::Thrift::Struct
568
+ TABLENAME = 1
569
+ KEY = 2
570
+ COLUMNPARENT = 3
571
+ COLUMNNAMES = 4
572
+
573
+ ::Thrift::Struct.field_accessor self, :tablename, :key, :columnParent, :columnNames
574
+ FIELDS = {
575
+ TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tablename'},
576
+ KEY => {:type => ::Thrift::Types::STRING, :name => 'key'},
577
+ COLUMNPARENT => {:type => ::Thrift::Types::STRING, :name => 'columnParent'},
578
+ COLUMNNAMES => {:type => ::Thrift::Types::LIST, :name => 'columnNames', :element => {:type => ::Thrift::Types::STRING}}
579
+ }
580
+
581
+ def struct_fields; FIELDS; end
582
+
583
+ def validate
584
+ end
585
+
586
+ end
587
+
588
+ class Get_slice_by_names_result
589
+ include ::Thrift::Struct
590
+ SUCCESS = 0
591
+ IRE = 1
592
+ NFE = 2
593
+
594
+ ::Thrift::Struct.field_accessor self, :success, :ire, :nfe
595
+ FIELDS = {
596
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => Column_t}},
597
+ IRE => {:type => ::Thrift::Types::STRUCT, :name => 'ire', :class => InvalidRequestException},
598
+ NFE => {:type => ::Thrift::Types::STRUCT, :name => 'nfe', :class => NotFoundException}
599
+ }
600
+
601
+ def struct_fields; FIELDS; end
602
+
603
+ def validate
604
+ end
605
+
606
+ end
607
+
608
+ class Get_slice_args
609
+ include ::Thrift::Struct
610
+ TABLENAME = 1
611
+ KEY = 2
612
+ COLUMNPARENT = 3
613
+ ISASCENDING = 4
614
+ COUNT = 5
615
+
616
+ ::Thrift::Struct.field_accessor self, :tablename, :key, :columnParent, :isAscending, :count
617
+ FIELDS = {
618
+ TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tablename'},
619
+ KEY => {:type => ::Thrift::Types::STRING, :name => 'key'},
620
+ COLUMNPARENT => {:type => ::Thrift::Types::STRING, :name => 'columnParent'},
621
+ ISASCENDING => {:type => ::Thrift::Types::BOOL, :name => 'isAscending'},
622
+ COUNT => {:type => ::Thrift::Types::I32, :name => 'count'}
623
+ }
624
+
625
+ def struct_fields; FIELDS; end
626
+
627
+ def validate
628
+ end
629
+
630
+ end
631
+
632
+ class Get_slice_result
633
+ include ::Thrift::Struct
634
+ SUCCESS = 0
635
+ IRE = 1
636
+ NFE = 2
637
+
638
+ ::Thrift::Struct.field_accessor self, :success, :ire, :nfe
639
+ FIELDS = {
640
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => Column_t}},
641
+ IRE => {:type => ::Thrift::Types::STRUCT, :name => 'ire', :class => InvalidRequestException},
642
+ NFE => {:type => ::Thrift::Types::STRUCT, :name => 'nfe', :class => NotFoundException}
643
+ }
644
+
645
+ def struct_fields; FIELDS; end
646
+
647
+ def validate
648
+ end
649
+
650
+ end
651
+
652
+ class Get_column_args
653
+ include ::Thrift::Struct
654
+ TABLENAME = 1
655
+ KEY = 2
656
+ COLUMNPATH = 3
657
+
658
+ ::Thrift::Struct.field_accessor self, :tablename, :key, :columnPath
659
+ FIELDS = {
660
+ TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tablename'},
661
+ KEY => {:type => ::Thrift::Types::STRING, :name => 'key'},
662
+ COLUMNPATH => {:type => ::Thrift::Types::STRING, :name => 'columnPath'}
663
+ }
664
+
665
+ def struct_fields; FIELDS; end
666
+
667
+ def validate
668
+ end
669
+
670
+ end
671
+
672
+ class Get_column_result
673
+ include ::Thrift::Struct
674
+ SUCCESS = 0
675
+ IRE = 1
676
+ NFE = 2
677
+
678
+ ::Thrift::Struct.field_accessor self, :success, :ire, :nfe
679
+ FIELDS = {
680
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => Column_t},
681
+ IRE => {:type => ::Thrift::Types::STRUCT, :name => 'ire', :class => InvalidRequestException},
682
+ NFE => {:type => ::Thrift::Types::STRUCT, :name => 'nfe', :class => NotFoundException}
683
+ }
684
+
685
+ def struct_fields; FIELDS; end
686
+
687
+ def validate
688
+ end
689
+
690
+ end
691
+
692
+ class Get_column_count_args
693
+ include ::Thrift::Struct
694
+ TABLENAME = 1
695
+ KEY = 2
696
+ COLUMNPARENT = 3
697
+
698
+ ::Thrift::Struct.field_accessor self, :tablename, :key, :columnParent
699
+ FIELDS = {
700
+ TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tablename'},
701
+ KEY => {:type => ::Thrift::Types::STRING, :name => 'key'},
702
+ COLUMNPARENT => {:type => ::Thrift::Types::STRING, :name => 'columnParent'}
703
+ }
704
+
705
+ def struct_fields; FIELDS; end
706
+
707
+ def validate
708
+ end
709
+
710
+ end
711
+
712
+ class Get_column_count_result
713
+ include ::Thrift::Struct
714
+ SUCCESS = 0
715
+ IRE = 1
716
+
717
+ ::Thrift::Struct.field_accessor self, :success, :ire
718
+ FIELDS = {
719
+ SUCCESS => {:type => ::Thrift::Types::I32, :name => 'success'},
720
+ IRE => {:type => ::Thrift::Types::STRUCT, :name => 'ire', :class => InvalidRequestException}
721
+ }
722
+
723
+ def struct_fields; FIELDS; end
724
+
725
+ def validate
726
+ end
727
+
728
+ end
729
+
730
+ class Insert_args
731
+ include ::Thrift::Struct
732
+ TABLENAME = 1
733
+ KEY = 2
734
+ COLUMNPATH = 3
735
+ CELLDATA = 4
736
+ TIMESTAMP = 5
737
+ BLOCK_FOR = 6
738
+
739
+ ::Thrift::Struct.field_accessor self, :tablename, :key, :columnPath, :cellData, :timestamp, :block_for
740
+ FIELDS = {
741
+ TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tablename'},
742
+ KEY => {:type => ::Thrift::Types::STRING, :name => 'key'},
743
+ COLUMNPATH => {:type => ::Thrift::Types::STRING, :name => 'columnPath'},
744
+ CELLDATA => {:type => ::Thrift::Types::STRING, :name => 'cellData'},
745
+ TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'timestamp'},
746
+ BLOCK_FOR => {:type => ::Thrift::Types::I32, :name => 'block_for', :default => 0}
747
+ }
748
+
749
+ def struct_fields; FIELDS; end
750
+
751
+ def validate
752
+ end
753
+
754
+ end
755
+
756
+ class Insert_result
757
+ include ::Thrift::Struct
758
+ IRE = 1
759
+ UE = 2
760
+
761
+ ::Thrift::Struct.field_accessor self, :ire, :ue
762
+ FIELDS = {
763
+ IRE => {:type => ::Thrift::Types::STRUCT, :name => 'ire', :class => InvalidRequestException},
764
+ UE => {:type => ::Thrift::Types::STRUCT, :name => 'ue', :class => UnavailableException}
765
+ }
766
+
767
+ def struct_fields; FIELDS; end
768
+
769
+ def validate
770
+ end
771
+
772
+ end
773
+
774
+ class Batch_insert_args
775
+ include ::Thrift::Struct
776
+ BATCHMUTATION = 1
777
+ BLOCK_FOR = 2
778
+
779
+ ::Thrift::Struct.field_accessor self, :batchMutation, :block_for
780
+ FIELDS = {
781
+ BATCHMUTATION => {:type => ::Thrift::Types::STRUCT, :name => 'batchMutation', :class => Batch_mutation_t},
782
+ BLOCK_FOR => {:type => ::Thrift::Types::I32, :name => 'block_for', :default => 0}
783
+ }
784
+
785
+ def struct_fields; FIELDS; end
786
+
787
+ def validate
788
+ end
789
+
790
+ end
791
+
792
+ class Batch_insert_result
793
+ include ::Thrift::Struct
794
+ IRE = 1
795
+ UE = 2
796
+
797
+ ::Thrift::Struct.field_accessor self, :ire, :ue
798
+ FIELDS = {
799
+ IRE => {:type => ::Thrift::Types::STRUCT, :name => 'ire', :class => InvalidRequestException},
800
+ UE => {:type => ::Thrift::Types::STRUCT, :name => 'ue', :class => UnavailableException}
801
+ }
802
+
803
+ def struct_fields; FIELDS; end
804
+
805
+ def validate
806
+ end
807
+
808
+ end
809
+
810
+ class Remove_args
811
+ include ::Thrift::Struct
812
+ TABLENAME = 1
813
+ KEY = 2
814
+ COLUMNPATHORPARENT = 3
815
+ TIMESTAMP = 4
816
+ BLOCK_FOR = 5
817
+
818
+ ::Thrift::Struct.field_accessor self, :tablename, :key, :columnPathOrParent, :timestamp, :block_for
819
+ FIELDS = {
820
+ TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tablename'},
821
+ KEY => {:type => ::Thrift::Types::STRING, :name => 'key'},
822
+ COLUMNPATHORPARENT => {:type => ::Thrift::Types::STRING, :name => 'columnPathOrParent'},
823
+ TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'timestamp'},
824
+ BLOCK_FOR => {:type => ::Thrift::Types::I32, :name => 'block_for', :default => 0}
825
+ }
826
+
827
+ def struct_fields; FIELDS; end
828
+
829
+ def validate
830
+ end
831
+
832
+ end
833
+
834
+ class Remove_result
835
+ include ::Thrift::Struct
836
+ IRE = 1
837
+ UE = 2
838
+
839
+ ::Thrift::Struct.field_accessor self, :ire, :ue
840
+ FIELDS = {
841
+ IRE => {:type => ::Thrift::Types::STRUCT, :name => 'ire', :class => InvalidRequestException},
842
+ UE => {:type => ::Thrift::Types::STRUCT, :name => 'ue', :class => UnavailableException}
843
+ }
844
+
845
+ def struct_fields; FIELDS; end
846
+
847
+ def validate
848
+ end
849
+
850
+ end
851
+
852
+ class Get_columns_since_args
853
+ include ::Thrift::Struct
854
+ TABLENAME = 1
855
+ KEY = 2
856
+ COLUMNPARENT = 3
857
+ TIMESTAMP = 4
858
+
859
+ ::Thrift::Struct.field_accessor self, :tablename, :key, :columnParent, :timeStamp
860
+ FIELDS = {
861
+ TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tablename'},
862
+ KEY => {:type => ::Thrift::Types::STRING, :name => 'key'},
863
+ COLUMNPARENT => {:type => ::Thrift::Types::STRING, :name => 'columnParent'},
864
+ TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'timeStamp'}
865
+ }
866
+
867
+ def struct_fields; FIELDS; end
868
+
869
+ def validate
870
+ end
871
+
872
+ end
873
+
874
+ class Get_columns_since_result
875
+ include ::Thrift::Struct
876
+ SUCCESS = 0
877
+ IRE = 1
878
+ NFE = 2
879
+
880
+ ::Thrift::Struct.field_accessor self, :success, :ire, :nfe
881
+ FIELDS = {
882
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => Column_t}},
883
+ IRE => {:type => ::Thrift::Types::STRUCT, :name => 'ire', :class => InvalidRequestException},
884
+ NFE => {:type => ::Thrift::Types::STRUCT, :name => 'nfe', :class => NotFoundException}
885
+ }
886
+
887
+ def struct_fields; FIELDS; end
888
+
889
+ def validate
890
+ end
891
+
892
+ end
893
+
894
+ class Get_slice_super_args
895
+ include ::Thrift::Struct
896
+ TABLENAME = 1
897
+ KEY = 2
898
+ COLUMNFAMILY = 3
899
+ ISASCENDING = 4
900
+ COUNT = 5
901
+
902
+ ::Thrift::Struct.field_accessor self, :tablename, :key, :columnFamily, :isAscending, :count
903
+ FIELDS = {
904
+ TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tablename'},
905
+ KEY => {:type => ::Thrift::Types::STRING, :name => 'key'},
906
+ COLUMNFAMILY => {:type => ::Thrift::Types::STRING, :name => 'columnFamily'},
907
+ ISASCENDING => {:type => ::Thrift::Types::BOOL, :name => 'isAscending'},
908
+ COUNT => {:type => ::Thrift::Types::I32, :name => 'count'}
909
+ }
910
+
911
+ def struct_fields; FIELDS; end
912
+
913
+ def validate
914
+ end
915
+
916
+ end
917
+
918
+ class Get_slice_super_result
919
+ include ::Thrift::Struct
920
+ SUCCESS = 0
921
+ IRE = 1
922
+
923
+ ::Thrift::Struct.field_accessor self, :success, :ire
924
+ FIELDS = {
925
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => SuperColumn_t}},
926
+ IRE => {:type => ::Thrift::Types::STRUCT, :name => 'ire', :class => InvalidRequestException}
927
+ }
928
+
929
+ def struct_fields; FIELDS; end
930
+
931
+ def validate
932
+ end
933
+
934
+ end
935
+
936
+ class Get_slice_super_by_names_args
937
+ include ::Thrift::Struct
938
+ TABLENAME = 1
939
+ KEY = 2
940
+ COLUMNFAMILY = 3
941
+ SUPERCOLUMNNAMES = 4
942
+
943
+ ::Thrift::Struct.field_accessor self, :tablename, :key, :columnFamily, :superColumnNames
944
+ FIELDS = {
945
+ TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tablename'},
946
+ KEY => {:type => ::Thrift::Types::STRING, :name => 'key'},
947
+ COLUMNFAMILY => {:type => ::Thrift::Types::STRING, :name => 'columnFamily'},
948
+ SUPERCOLUMNNAMES => {:type => ::Thrift::Types::LIST, :name => 'superColumnNames', :element => {:type => ::Thrift::Types::STRING}}
949
+ }
950
+
951
+ def struct_fields; FIELDS; end
952
+
953
+ def validate
954
+ end
955
+
956
+ end
957
+
958
+ class Get_slice_super_by_names_result
959
+ include ::Thrift::Struct
960
+ SUCCESS = 0
961
+ IRE = 1
962
+
963
+ ::Thrift::Struct.field_accessor self, :success, :ire
964
+ FIELDS = {
965
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => SuperColumn_t}},
966
+ IRE => {:type => ::Thrift::Types::STRUCT, :name => 'ire', :class => InvalidRequestException}
967
+ }
968
+
969
+ def struct_fields; FIELDS; end
970
+
971
+ def validate
972
+ end
973
+
974
+ end
975
+
976
+ class Get_superColumn_args
977
+ include ::Thrift::Struct
978
+ TABLENAME = 1
979
+ KEY = 2
980
+ SUPERCOLUMNPATH = 3
981
+
982
+ ::Thrift::Struct.field_accessor self, :tablename, :key, :superColumnPath
983
+ FIELDS = {
984
+ TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tablename'},
985
+ KEY => {:type => ::Thrift::Types::STRING, :name => 'key'},
986
+ SUPERCOLUMNPATH => {:type => ::Thrift::Types::STRING, :name => 'superColumnPath'}
987
+ }
988
+
989
+ def struct_fields; FIELDS; end
990
+
991
+ def validate
992
+ end
993
+
994
+ end
995
+
996
+ class Get_superColumn_result
997
+ include ::Thrift::Struct
998
+ SUCCESS = 0
999
+ IRE = 1
1000
+ NFE = 2
1001
+
1002
+ ::Thrift::Struct.field_accessor self, :success, :ire, :nfe
1003
+ FIELDS = {
1004
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => SuperColumn_t},
1005
+ IRE => {:type => ::Thrift::Types::STRUCT, :name => 'ire', :class => InvalidRequestException},
1006
+ NFE => {:type => ::Thrift::Types::STRUCT, :name => 'nfe', :class => NotFoundException}
1007
+ }
1008
+
1009
+ def struct_fields; FIELDS; end
1010
+
1011
+ def validate
1012
+ end
1013
+
1014
+ end
1015
+
1016
+ class Batch_insert_superColumn_args
1017
+ include ::Thrift::Struct
1018
+ BATCHMUTATIONSUPER = 1
1019
+ BLOCK_FOR = 2
1020
+
1021
+ ::Thrift::Struct.field_accessor self, :batchMutationSuper, :block_for
1022
+ FIELDS = {
1023
+ BATCHMUTATIONSUPER => {:type => ::Thrift::Types::STRUCT, :name => 'batchMutationSuper', :class => Batch_mutation_super_t},
1024
+ BLOCK_FOR => {:type => ::Thrift::Types::I32, :name => 'block_for', :default => 0}
1025
+ }
1026
+
1027
+ def struct_fields; FIELDS; end
1028
+
1029
+ def validate
1030
+ end
1031
+
1032
+ end
1033
+
1034
+ class Batch_insert_superColumn_result
1035
+ include ::Thrift::Struct
1036
+ IRE = 1
1037
+ UE = 2
1038
+
1039
+ ::Thrift::Struct.field_accessor self, :ire, :ue
1040
+ FIELDS = {
1041
+ IRE => {:type => ::Thrift::Types::STRUCT, :name => 'ire', :class => InvalidRequestException},
1042
+ UE => {:type => ::Thrift::Types::STRUCT, :name => 'ue', :class => UnavailableException}
1043
+ }
1044
+
1045
+ def struct_fields; FIELDS; end
1046
+
1047
+ def validate
1048
+ end
1049
+
1050
+ end
1051
+
1052
+ class Get_key_range_args
1053
+ include ::Thrift::Struct
1054
+ TABLENAME = 1
1055
+ COLUMNFAMILIES = 2
1056
+ STARTWITH = 3
1057
+ STOPAT = 4
1058
+ MAXRESULTS = 5
1059
+
1060
+ ::Thrift::Struct.field_accessor self, :tablename, :columnFamilies, :startWith, :stopAt, :maxResults
1061
+ FIELDS = {
1062
+ TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tablename'},
1063
+ COLUMNFAMILIES => {:type => ::Thrift::Types::LIST, :name => 'columnFamilies', :default => [
1064
+ ], :element => {:type => ::Thrift::Types::STRING}},
1065
+ STARTWITH => {:type => ::Thrift::Types::STRING, :name => 'startWith', :default => %q""},
1066
+ STOPAT => {:type => ::Thrift::Types::STRING, :name => 'stopAt', :default => %q""},
1067
+ MAXRESULTS => {:type => ::Thrift::Types::I32, :name => 'maxResults', :default => 1000}
1068
+ }
1069
+
1070
+ def struct_fields; FIELDS; end
1071
+
1072
+ def validate
1073
+ end
1074
+
1075
+ end
1076
+
1077
+ class Get_key_range_result
1078
+ include ::Thrift::Struct
1079
+ SUCCESS = 0
1080
+ IRE = 1
1081
+
1082
+ ::Thrift::Struct.field_accessor self, :success, :ire
1083
+ FIELDS = {
1084
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
1085
+ IRE => {:type => ::Thrift::Types::STRUCT, :name => 'ire', :class => InvalidRequestException}
1086
+ }
1087
+
1088
+ def struct_fields; FIELDS; end
1089
+
1090
+ def validate
1091
+ end
1092
+
1093
+ end
1094
+
1095
+ class GetStringProperty_args
1096
+ include ::Thrift::Struct
1097
+ PROPERTYNAME = 1
1098
+
1099
+ ::Thrift::Struct.field_accessor self, :propertyName
1100
+ FIELDS = {
1101
+ PROPERTYNAME => {:type => ::Thrift::Types::STRING, :name => 'propertyName'}
1102
+ }
1103
+
1104
+ def struct_fields; FIELDS; end
1105
+
1106
+ def validate
1107
+ end
1108
+
1109
+ end
1110
+
1111
+ class GetStringProperty_result
1112
+ include ::Thrift::Struct
1113
+ SUCCESS = 0
1114
+
1115
+ ::Thrift::Struct.field_accessor self, :success
1116
+ FIELDS = {
1117
+ SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success'}
1118
+ }
1119
+
1120
+ def struct_fields; FIELDS; end
1121
+
1122
+ def validate
1123
+ end
1124
+
1125
+ end
1126
+
1127
+ class GetStringListProperty_args
1128
+ include ::Thrift::Struct
1129
+ PROPERTYNAME = 1
1130
+
1131
+ ::Thrift::Struct.field_accessor self, :propertyName
1132
+ FIELDS = {
1133
+ PROPERTYNAME => {:type => ::Thrift::Types::STRING, :name => 'propertyName'}
1134
+ }
1135
+
1136
+ def struct_fields; FIELDS; end
1137
+
1138
+ def validate
1139
+ end
1140
+
1141
+ end
1142
+
1143
+ class GetStringListProperty_result
1144
+ include ::Thrift::Struct
1145
+ SUCCESS = 0
1146
+
1147
+ ::Thrift::Struct.field_accessor self, :success
1148
+ FIELDS = {
1149
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}}
1150
+ }
1151
+
1152
+ def struct_fields; FIELDS; end
1153
+
1154
+ def validate
1155
+ end
1156
+
1157
+ end
1158
+
1159
+ class DescribeTable_args
1160
+ include ::Thrift::Struct
1161
+ TABLENAME = 1
1162
+
1163
+ ::Thrift::Struct.field_accessor self, :tableName
1164
+ FIELDS = {
1165
+ TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName'}
1166
+ }
1167
+
1168
+ def struct_fields; FIELDS; end
1169
+
1170
+ def validate
1171
+ end
1172
+
1173
+ end
1174
+
1175
+ class DescribeTable_result
1176
+ include ::Thrift::Struct
1177
+ SUCCESS = 0
1178
+ NFE = 1
1179
+
1180
+ ::Thrift::Struct.field_accessor self, :success, :nfe
1181
+ FIELDS = {
1182
+ SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::MAP, :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}}},
1183
+ NFE => {:type => ::Thrift::Types::STRUCT, :name => 'nfe', :class => NotFoundException}
1184
+ }
1185
+
1186
+ def struct_fields; FIELDS; end
1187
+
1188
+ def validate
1189
+ end
1190
+
1191
+ end
1192
+
1193
+ class ExecuteQuery_args
1194
+ include ::Thrift::Struct
1195
+ QUERY = 1
1196
+
1197
+ ::Thrift::Struct.field_accessor self, :query
1198
+ FIELDS = {
1199
+ QUERY => {:type => ::Thrift::Types::STRING, :name => 'query'}
1200
+ }
1201
+
1202
+ def struct_fields; FIELDS; end
1203
+
1204
+ def validate
1205
+ end
1206
+
1207
+ end
1208
+
1209
+ class ExecuteQuery_result
1210
+ include ::Thrift::Struct
1211
+ SUCCESS = 0
1212
+
1213
+ ::Thrift::Struct.field_accessor self, :success
1214
+ FIELDS = {
1215
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => CqlResult_t}
1216
+ }
1217
+
1218
+ def struct_fields; FIELDS; end
1219
+
1220
+ def validate
1221
+ end
1222
+
1223
+ end
1224
+
1225
+ end
1226
+