hyper_record 0.9.3 → 0.9.4

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.
@@ -13,13 +13,28 @@ require 'client_types'
13
13
  class Client
14
14
  include ::Thrift::Client
15
15
 
16
- def create_table(name, schema)
17
- send_create_table(name, schema)
16
+ def create_namespace(ns)
17
+ send_create_namespace(ns)
18
+ recv_create_namespace()
19
+ end
20
+
21
+ def send_create_namespace(ns)
22
+ send_message('create_namespace', Create_namespace_args, :ns => ns)
23
+ end
24
+
25
+ def recv_create_namespace()
26
+ result = receive_message(Create_namespace_result)
27
+ raise result.e unless result.e.nil?
28
+ return
29
+ end
30
+
31
+ def create_table(ns, table_name, schema)
32
+ send_create_table(ns, table_name, schema)
18
33
  recv_create_table()
19
34
  end
20
35
 
21
- def send_create_table(name, schema)
22
- send_message('create_table', Create_table_args, :name => name, :schema => schema)
36
+ def send_create_table(ns, table_name, schema)
37
+ send_message('create_table', Create_table_args, :ns => ns, :table_name => table_name, :schema => schema)
23
38
  end
24
39
 
25
40
  def recv_create_table()
@@ -28,13 +43,44 @@ require 'client_types'
28
43
  return
29
44
  end
30
45
 
31
- def open_scanner(name, scan_spec, retry_table_not_found)
32
- send_open_scanner(name, scan_spec, retry_table_not_found)
46
+ def open_namespace(ns)
47
+ send_open_namespace(ns)
48
+ return recv_open_namespace()
49
+ end
50
+
51
+ def send_open_namespace(ns)
52
+ send_message('open_namespace', Open_namespace_args, :ns => ns)
53
+ end
54
+
55
+ def recv_open_namespace()
56
+ result = receive_message(Open_namespace_result)
57
+ return result.success unless result.success.nil?
58
+ raise result.e unless result.e.nil?
59
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'open_namespace failed: unknown result')
60
+ end
61
+
62
+ def close_namespace(ns)
63
+ send_close_namespace(ns)
64
+ recv_close_namespace()
65
+ end
66
+
67
+ def send_close_namespace(ns)
68
+ send_message('close_namespace', Close_namespace_args, :ns => ns)
69
+ end
70
+
71
+ def recv_close_namespace()
72
+ result = receive_message(Close_namespace_result)
73
+ raise result.e unless result.e.nil?
74
+ return
75
+ end
76
+
77
+ def open_scanner(ns, table_name, scan_spec, retry_table_not_found)
78
+ send_open_scanner(ns, table_name, scan_spec, retry_table_not_found)
33
79
  return recv_open_scanner()
34
80
  end
35
81
 
36
- def send_open_scanner(name, scan_spec, retry_table_not_found)
37
- send_message('open_scanner', Open_scanner_args, :name => name, :scan_spec => scan_spec, :retry_table_not_found => retry_table_not_found)
82
+ def send_open_scanner(ns, table_name, scan_spec, retry_table_not_found)
83
+ send_message('open_scanner', Open_scanner_args, :ns => ns, :table_name => table_name, :scan_spec => scan_spec, :retry_table_not_found => retry_table_not_found)
38
84
  end
39
85
 
40
86
  def recv_open_scanner()
@@ -91,6 +137,21 @@ require 'client_types'
91
137
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'next_cells_as_arrays failed: unknown result')
92
138
  end
93
139
 
140
+ def next_cells_serialized(scanner)
141
+ send_next_cells_serialized(scanner)
142
+ return recv_next_cells_serialized()
143
+ end
144
+
145
+ def send_next_cells_serialized(scanner)
146
+ send_message('next_cells_serialized', Next_cells_serialized_args, :scanner => scanner)
147
+ end
148
+
149
+ def recv_next_cells_serialized()
150
+ result = receive_message(Next_cells_serialized_result)
151
+ return result.success unless result.success.nil?
152
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'next_cells_serialized failed: unknown result')
153
+ end
154
+
94
155
  def next_row(scanner)
95
156
  send_next_row(scanner)
96
157
  return recv_next_row()
@@ -123,13 +184,29 @@ require 'client_types'
123
184
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'next_row_as_arrays failed: unknown result')
124
185
  end
125
186
 
126
- def get_row(name, row)
127
- send_get_row(name, row)
187
+ def next_row_serialized(scanner)
188
+ send_next_row_serialized(scanner)
189
+ return recv_next_row_serialized()
190
+ end
191
+
192
+ def send_next_row_serialized(scanner)
193
+ send_message('next_row_serialized', Next_row_serialized_args, :scanner => scanner)
194
+ end
195
+
196
+ def recv_next_row_serialized()
197
+ result = receive_message(Next_row_serialized_result)
198
+ return result.success unless result.success.nil?
199
+ raise result.e unless result.e.nil?
200
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'next_row_serialized failed: unknown result')
201
+ end
202
+
203
+ def get_row(ns, table_name, row)
204
+ send_get_row(ns, table_name, row)
128
205
  return recv_get_row()
129
206
  end
130
207
 
131
- def send_get_row(name, row)
132
- send_message('get_row', Get_row_args, :name => name, :row => row)
208
+ def send_get_row(ns, table_name, row)
209
+ send_message('get_row', Get_row_args, :ns => ns, :table_name => table_name, :row => row)
133
210
  end
134
211
 
135
212
  def recv_get_row()
@@ -139,13 +216,13 @@ require 'client_types'
139
216
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_row failed: unknown result')
140
217
  end
141
218
 
142
- def get_row_as_arrays(name, row)
143
- send_get_row_as_arrays(name, row)
219
+ def get_row_as_arrays(ns, name, row)
220
+ send_get_row_as_arrays(ns, name, row)
144
221
  return recv_get_row_as_arrays()
145
222
  end
146
223
 
147
- def send_get_row_as_arrays(name, row)
148
- send_message('get_row_as_arrays', Get_row_as_arrays_args, :name => name, :row => row)
224
+ def send_get_row_as_arrays(ns, name, row)
225
+ send_message('get_row_as_arrays', Get_row_as_arrays_args, :ns => ns, :name => name, :row => row)
149
226
  end
150
227
 
151
228
  def recv_get_row_as_arrays()
@@ -155,13 +232,29 @@ require 'client_types'
155
232
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_row_as_arrays failed: unknown result')
156
233
  end
157
234
 
158
- def get_cell(name, row, column)
159
- send_get_cell(name, row, column)
235
+ def get_row_serialized(ns, table_name, row)
236
+ send_get_row_serialized(ns, table_name, row)
237
+ return recv_get_row_serialized()
238
+ end
239
+
240
+ def send_get_row_serialized(ns, table_name, row)
241
+ send_message('get_row_serialized', Get_row_serialized_args, :ns => ns, :table_name => table_name, :row => row)
242
+ end
243
+
244
+ def recv_get_row_serialized()
245
+ result = receive_message(Get_row_serialized_result)
246
+ return result.success unless result.success.nil?
247
+ raise result.e unless result.e.nil?
248
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_row_serialized failed: unknown result')
249
+ end
250
+
251
+ def get_cell(ns, table_name, row, column)
252
+ send_get_cell(ns, table_name, row, column)
160
253
  return recv_get_cell()
161
254
  end
162
255
 
163
- def send_get_cell(name, row, column)
164
- send_message('get_cell', Get_cell_args, :name => name, :row => row, :column => column)
256
+ def send_get_cell(ns, table_name, row, column)
257
+ send_message('get_cell', Get_cell_args, :ns => ns, :table_name => table_name, :row => row, :column => column)
165
258
  end
166
259
 
167
260
  def recv_get_cell()
@@ -171,13 +264,13 @@ require 'client_types'
171
264
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_cell failed: unknown result')
172
265
  end
173
266
 
174
- def get_cells(name, scan_spec)
175
- send_get_cells(name, scan_spec)
267
+ def get_cells(ns, table_name, scan_spec)
268
+ send_get_cells(ns, table_name, scan_spec)
176
269
  return recv_get_cells()
177
270
  end
178
271
 
179
- def send_get_cells(name, scan_spec)
180
- send_message('get_cells', Get_cells_args, :name => name, :scan_spec => scan_spec)
272
+ def send_get_cells(ns, table_name, scan_spec)
273
+ send_message('get_cells', Get_cells_args, :ns => ns, :table_name => table_name, :scan_spec => scan_spec)
181
274
  end
182
275
 
183
276
  def recv_get_cells()
@@ -187,13 +280,13 @@ require 'client_types'
187
280
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_cells failed: unknown result')
188
281
  end
189
282
 
190
- def get_cells_as_arrays(name, scan_spec)
191
- send_get_cells_as_arrays(name, scan_spec)
283
+ def get_cells_as_arrays(ns, name, scan_spec)
284
+ send_get_cells_as_arrays(ns, name, scan_spec)
192
285
  return recv_get_cells_as_arrays()
193
286
  end
194
287
 
195
- def send_get_cells_as_arrays(name, scan_spec)
196
- send_message('get_cells_as_arrays', Get_cells_as_arrays_args, :name => name, :scan_spec => scan_spec)
288
+ def send_get_cells_as_arrays(ns, name, scan_spec)
289
+ send_message('get_cells_as_arrays', Get_cells_as_arrays_args, :ns => ns, :name => name, :scan_spec => scan_spec)
197
290
  end
198
291
 
199
292
  def recv_get_cells_as_arrays()
@@ -203,73 +296,104 @@ require 'client_types'
203
296
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_cells_as_arrays failed: unknown result')
204
297
  end
205
298
 
206
- def put_cells(tablename, mutate_spec, cells)
207
- send_put_cells(tablename, mutate_spec, cells)
208
- recv_put_cells()
299
+ def get_cells_serialized(ns, name, scan_spec)
300
+ send_get_cells_serialized(ns, name, scan_spec)
301
+ return recv_get_cells_serialized()
302
+ end
303
+
304
+ def send_get_cells_serialized(ns, name, scan_spec)
305
+ send_message('get_cells_serialized', Get_cells_serialized_args, :ns => ns, :name => name, :scan_spec => scan_spec)
306
+ end
307
+
308
+ def recv_get_cells_serialized()
309
+ result = receive_message(Get_cells_serialized_result)
310
+ return result.success unless result.success.nil?
311
+ raise result.e unless result.e.nil?
312
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_cells_serialized failed: unknown result')
313
+ end
314
+
315
+ def refresh_shared_mutator(ns, table_name, mutate_spec)
316
+ send_refresh_shared_mutator(ns, table_name, mutate_spec)
317
+ recv_refresh_shared_mutator()
318
+ end
319
+
320
+ def send_refresh_shared_mutator(ns, table_name, mutate_spec)
321
+ send_message('refresh_shared_mutator', Refresh_shared_mutator_args, :ns => ns, :table_name => table_name, :mutate_spec => mutate_spec)
322
+ end
323
+
324
+ def recv_refresh_shared_mutator()
325
+ result = receive_message(Refresh_shared_mutator_result)
326
+ raise result.e unless result.e.nil?
327
+ return
328
+ end
329
+
330
+ def offer_cells(ns, table_name, mutate_spec, cells)
331
+ send_offer_cells(ns, table_name, mutate_spec, cells)
332
+ recv_offer_cells()
209
333
  end
210
334
 
211
- def send_put_cells(tablename, mutate_spec, cells)
212
- send_message('put_cells', Put_cells_args, :tablename => tablename, :mutate_spec => mutate_spec, :cells => cells)
335
+ def send_offer_cells(ns, table_name, mutate_spec, cells)
336
+ send_message('offer_cells', Offer_cells_args, :ns => ns, :table_name => table_name, :mutate_spec => mutate_spec, :cells => cells)
213
337
  end
214
338
 
215
- def recv_put_cells()
216
- result = receive_message(Put_cells_result)
339
+ def recv_offer_cells()
340
+ result = receive_message(Offer_cells_result)
217
341
  raise result.e unless result.e.nil?
218
342
  return
219
343
  end
220
344
 
221
- def put_cells_as_arrays(tablename, mutate_spec, cells)
222
- send_put_cells_as_arrays(tablename, mutate_spec, cells)
223
- recv_put_cells_as_arrays()
345
+ def offer_cells_as_arrays(ns, table_name, mutate_spec, cells)
346
+ send_offer_cells_as_arrays(ns, table_name, mutate_spec, cells)
347
+ recv_offer_cells_as_arrays()
224
348
  end
225
349
 
226
- def send_put_cells_as_arrays(tablename, mutate_spec, cells)
227
- send_message('put_cells_as_arrays', Put_cells_as_arrays_args, :tablename => tablename, :mutate_spec => mutate_spec, :cells => cells)
350
+ def send_offer_cells_as_arrays(ns, table_name, mutate_spec, cells)
351
+ send_message('offer_cells_as_arrays', Offer_cells_as_arrays_args, :ns => ns, :table_name => table_name, :mutate_spec => mutate_spec, :cells => cells)
228
352
  end
229
353
 
230
- def recv_put_cells_as_arrays()
231
- result = receive_message(Put_cells_as_arrays_result)
354
+ def recv_offer_cells_as_arrays()
355
+ result = receive_message(Offer_cells_as_arrays_result)
232
356
  raise result.e unless result.e.nil?
233
357
  return
234
358
  end
235
359
 
236
- def put_cell(tablename, mutate_spec, cell)
237
- send_put_cell(tablename, mutate_spec, cell)
238
- recv_put_cell()
360
+ def offer_cell(ns, table_name, mutate_spec, cell)
361
+ send_offer_cell(ns, table_name, mutate_spec, cell)
362
+ recv_offer_cell()
239
363
  end
240
364
 
241
- def send_put_cell(tablename, mutate_spec, cell)
242
- send_message('put_cell', Put_cell_args, :tablename => tablename, :mutate_spec => mutate_spec, :cell => cell)
365
+ def send_offer_cell(ns, table_name, mutate_spec, cell)
366
+ send_message('offer_cell', Offer_cell_args, :ns => ns, :table_name => table_name, :mutate_spec => mutate_spec, :cell => cell)
243
367
  end
244
368
 
245
- def recv_put_cell()
246
- result = receive_message(Put_cell_result)
369
+ def recv_offer_cell()
370
+ result = receive_message(Offer_cell_result)
247
371
  raise result.e unless result.e.nil?
248
372
  return
249
373
  end
250
374
 
251
- def put_cell_as_array(tablename, mutate_spec, cell)
252
- send_put_cell_as_array(tablename, mutate_spec, cell)
253
- recv_put_cell_as_array()
375
+ def offer_cell_as_array(ns, table_name, mutate_spec, cell)
376
+ send_offer_cell_as_array(ns, table_name, mutate_spec, cell)
377
+ recv_offer_cell_as_array()
254
378
  end
255
379
 
256
- def send_put_cell_as_array(tablename, mutate_spec, cell)
257
- send_message('put_cell_as_array', Put_cell_as_array_args, :tablename => tablename, :mutate_spec => mutate_spec, :cell => cell)
380
+ def send_offer_cell_as_array(ns, table_name, mutate_spec, cell)
381
+ send_message('offer_cell_as_array', Offer_cell_as_array_args, :ns => ns, :table_name => table_name, :mutate_spec => mutate_spec, :cell => cell)
258
382
  end
259
383
 
260
- def recv_put_cell_as_array()
261
- result = receive_message(Put_cell_as_array_result)
384
+ def recv_offer_cell_as_array()
385
+ result = receive_message(Offer_cell_as_array_result)
262
386
  raise result.e unless result.e.nil?
263
387
  return
264
388
  end
265
389
 
266
- def open_mutator(name, flags, flush_interval)
267
- send_open_mutator(name, flags, flush_interval)
390
+ def open_mutator(ns, table_name, flags, flush_interval)
391
+ send_open_mutator(ns, table_name, flags, flush_interval)
268
392
  return recv_open_mutator()
269
393
  end
270
394
 
271
- def send_open_mutator(name, flags, flush_interval)
272
- send_message('open_mutator', Open_mutator_args, :name => name, :flags => flags, :flush_interval => flush_interval)
395
+ def send_open_mutator(ns, table_name, flags, flush_interval)
396
+ send_message('open_mutator', Open_mutator_args, :ns => ns, :table_name => table_name, :flags => flags, :flush_interval => flush_interval)
273
397
  end
274
398
 
275
399
  def recv_open_mutator()
@@ -354,6 +478,21 @@ require 'client_types'
354
478
  return
355
479
  end
356
480
 
481
+ def set_cells_serialized(mutator, cells, flush)
482
+ send_set_cells_serialized(mutator, cells, flush)
483
+ recv_set_cells_serialized()
484
+ end
485
+
486
+ def send_set_cells_serialized(mutator, cells, flush)
487
+ send_message('set_cells_serialized', Set_cells_serialized_args, :mutator => mutator, :cells => cells, :flush => flush)
488
+ end
489
+
490
+ def recv_set_cells_serialized()
491
+ result = receive_message(Set_cells_serialized_result)
492
+ raise result.e unless result.e.nil?
493
+ return
494
+ end
495
+
357
496
  def flush_mutator(mutator)
358
497
  send_flush_mutator(mutator)
359
498
  recv_flush_mutator()
@@ -369,13 +508,29 @@ require 'client_types'
369
508
  return
370
509
  end
371
510
 
372
- def exists_table(name)
373
- send_exists_table(name)
511
+ def exists_namespace(ns)
512
+ send_exists_namespace(ns)
513
+ return recv_exists_namespace()
514
+ end
515
+
516
+ def send_exists_namespace(ns)
517
+ send_message('exists_namespace', Exists_namespace_args, :ns => ns)
518
+ end
519
+
520
+ def recv_exists_namespace()
521
+ result = receive_message(Exists_namespace_result)
522
+ return result.success unless result.success.nil?
523
+ raise result.e unless result.e.nil?
524
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'exists_namespace failed: unknown result')
525
+ end
526
+
527
+ def exists_table(ns, name)
528
+ send_exists_table(ns, name)
374
529
  return recv_exists_table()
375
530
  end
376
531
 
377
- def send_exists_table(name)
378
- send_message('exists_table', Exists_table_args, :name => name)
532
+ def send_exists_table(ns, name)
533
+ send_message('exists_table', Exists_table_args, :ns => ns, :name => name)
379
534
  end
380
535
 
381
536
  def recv_exists_table()
@@ -385,13 +540,13 @@ require 'client_types'
385
540
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'exists_table failed: unknown result')
386
541
  end
387
542
 
388
- def get_table_id(name)
389
- send_get_table_id(name)
543
+ def get_table_id(ns, table_name)
544
+ send_get_table_id(ns, table_name)
390
545
  return recv_get_table_id()
391
546
  end
392
547
 
393
- def send_get_table_id(name)
394
- send_message('get_table_id', Get_table_id_args, :name => name)
548
+ def send_get_table_id(ns, table_name)
549
+ send_message('get_table_id', Get_table_id_args, :ns => ns, :table_name => table_name)
395
550
  end
396
551
 
397
552
  def recv_get_table_id()
@@ -401,13 +556,29 @@ require 'client_types'
401
556
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_table_id failed: unknown result')
402
557
  end
403
558
 
404
- def get_schema(name)
405
- send_get_schema(name)
559
+ def get_schema_str(ns, table_name)
560
+ send_get_schema_str(ns, table_name)
561
+ return recv_get_schema_str()
562
+ end
563
+
564
+ def send_get_schema_str(ns, table_name)
565
+ send_message('get_schema_str', Get_schema_str_args, :ns => ns, :table_name => table_name)
566
+ end
567
+
568
+ def recv_get_schema_str()
569
+ result = receive_message(Get_schema_str_result)
570
+ return result.success unless result.success.nil?
571
+ raise result.e unless result.e.nil?
572
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_schema_str failed: unknown result')
573
+ end
574
+
575
+ def get_schema(ns, table_name)
576
+ send_get_schema(ns, table_name)
406
577
  return recv_get_schema()
407
578
  end
408
579
 
409
- def send_get_schema(name)
410
- send_message('get_schema', Get_schema_args, :name => name)
580
+ def send_get_schema(ns, table_name)
581
+ send_message('get_schema', Get_schema_args, :ns => ns, :table_name => table_name)
411
582
  end
412
583
 
413
584
  def recv_get_schema()
@@ -417,13 +588,13 @@ require 'client_types'
417
588
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_schema failed: unknown result')
418
589
  end
419
590
 
420
- def get_tables()
421
- send_get_tables()
591
+ def get_tables(ns)
592
+ send_get_tables(ns)
422
593
  return recv_get_tables()
423
594
  end
424
595
 
425
- def send_get_tables()
426
- send_message('get_tables', Get_tables_args)
596
+ def send_get_tables(ns)
597
+ send_message('get_tables', Get_tables_args, :ns => ns)
427
598
  end
428
599
 
429
600
  def recv_get_tables()
@@ -433,13 +604,29 @@ require 'client_types'
433
604
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_tables failed: unknown result')
434
605
  end
435
606
 
436
- def get_table_splits(name)
437
- send_get_table_splits(name)
607
+ def get_listing(ns)
608
+ send_get_listing(ns)
609
+ return recv_get_listing()
610
+ end
611
+
612
+ def send_get_listing(ns)
613
+ send_message('get_listing', Get_listing_args, :ns => ns)
614
+ end
615
+
616
+ def recv_get_listing()
617
+ result = receive_message(Get_listing_result)
618
+ return result.success unless result.success.nil?
619
+ raise result.e unless result.e.nil?
620
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_listing failed: unknown result')
621
+ end
622
+
623
+ def get_table_splits(ns, table_name)
624
+ send_get_table_splits(ns, table_name)
438
625
  return recv_get_table_splits()
439
626
  end
440
627
 
441
- def send_get_table_splits(name)
442
- send_message('get_table_splits', Get_table_splits_args, :name => name)
628
+ def send_get_table_splits(ns, table_name)
629
+ send_message('get_table_splits', Get_table_splits_args, :ns => ns, :table_name => table_name)
443
630
  end
444
631
 
445
632
  def recv_get_table_splits()
@@ -449,13 +636,43 @@ require 'client_types'
449
636
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_table_splits failed: unknown result')
450
637
  end
451
638
 
452
- def drop_table(name, if_exists)
453
- send_drop_table(name, if_exists)
639
+ def drop_namespace(ns, if_exists)
640
+ send_drop_namespace(ns, if_exists)
641
+ recv_drop_namespace()
642
+ end
643
+
644
+ def send_drop_namespace(ns, if_exists)
645
+ send_message('drop_namespace', Drop_namespace_args, :ns => ns, :if_exists => if_exists)
646
+ end
647
+
648
+ def recv_drop_namespace()
649
+ result = receive_message(Drop_namespace_result)
650
+ raise result.e unless result.e.nil?
651
+ return
652
+ end
653
+
654
+ def rename_table(ns, name, new_name)
655
+ send_rename_table(ns, name, new_name)
656
+ recv_rename_table()
657
+ end
658
+
659
+ def send_rename_table(ns, name, new_name)
660
+ send_message('rename_table', Rename_table_args, :ns => ns, :name => name, :new_name => new_name)
661
+ end
662
+
663
+ def recv_rename_table()
664
+ result = receive_message(Rename_table_result)
665
+ raise result.e unless result.e.nil?
666
+ return
667
+ end
668
+
669
+ def drop_table(ns, name, if_exists)
670
+ send_drop_table(ns, name, if_exists)
454
671
  recv_drop_table()
455
672
  end
456
673
 
457
- def send_drop_table(name, if_exists)
458
- send_message('drop_table', Drop_table_args, :name => name, :if_exists => if_exists)
674
+ def send_drop_table(ns, name, if_exists)
675
+ send_message('drop_table', Drop_table_args, :ns => ns, :name => name, :if_exists => if_exists)
459
676
  end
460
677
 
461
678
  def recv_drop_table()
@@ -469,22 +686,55 @@ require 'client_types'
469
686
  class Processor
470
687
  include ::Thrift::Processor
471
688
 
689
+ def process_create_namespace(seqid, iprot, oprot)
690
+ args = read_args(iprot, Create_namespace_args)
691
+ result = Create_namespace_result.new()
692
+ begin
693
+ @handler.create_namespace(args.ns)
694
+ rescue Hypertable::ThriftGen::ClientException => e
695
+ result.e = e
696
+ end
697
+ write_result(result, oprot, 'create_namespace', seqid)
698
+ end
699
+
472
700
  def process_create_table(seqid, iprot, oprot)
473
701
  args = read_args(iprot, Create_table_args)
474
702
  result = Create_table_result.new()
475
703
  begin
476
- @handler.create_table(args.name, args.schema)
704
+ @handler.create_table(args.ns, args.table_name, args.schema)
477
705
  rescue Hypertable::ThriftGen::ClientException => e
478
706
  result.e = e
479
707
  end
480
708
  write_result(result, oprot, 'create_table', seqid)
481
709
  end
482
710
 
711
+ def process_open_namespace(seqid, iprot, oprot)
712
+ args = read_args(iprot, Open_namespace_args)
713
+ result = Open_namespace_result.new()
714
+ begin
715
+ result.success = @handler.open_namespace(args.ns)
716
+ rescue Hypertable::ThriftGen::ClientException => e
717
+ result.e = e
718
+ end
719
+ write_result(result, oprot, 'open_namespace', seqid)
720
+ end
721
+
722
+ def process_close_namespace(seqid, iprot, oprot)
723
+ args = read_args(iprot, Close_namespace_args)
724
+ result = Close_namespace_result.new()
725
+ begin
726
+ @handler.close_namespace(args.ns)
727
+ rescue Hypertable::ThriftGen::ClientException => e
728
+ result.e = e
729
+ end
730
+ write_result(result, oprot, 'close_namespace', seqid)
731
+ end
732
+
483
733
  def process_open_scanner(seqid, iprot, oprot)
484
734
  args = read_args(iprot, Open_scanner_args)
485
735
  result = Open_scanner_result.new()
486
736
  begin
487
- result.success = @handler.open_scanner(args.name, args.scan_spec, args.retry_table_not_found)
737
+ result.success = @handler.open_scanner(args.ns, args.table_name, args.scan_spec, args.retry_table_not_found)
488
738
  rescue Hypertable::ThriftGen::ClientException => e
489
739
  result.e = e
490
740
  end
@@ -524,6 +774,13 @@ require 'client_types'
524
774
  write_result(result, oprot, 'next_cells_as_arrays', seqid)
525
775
  end
526
776
 
777
+ def process_next_cells_serialized(seqid, iprot, oprot)
778
+ args = read_args(iprot, Next_cells_serialized_args)
779
+ result = Next_cells_serialized_result.new()
780
+ result.success = @handler.next_cells_serialized(args.scanner)
781
+ write_result(result, oprot, 'next_cells_serialized', seqid)
782
+ end
783
+
527
784
  def process_next_row(seqid, iprot, oprot)
528
785
  args = read_args(iprot, Next_row_args)
529
786
  result = Next_row_result.new()
@@ -546,11 +803,22 @@ require 'client_types'
546
803
  write_result(result, oprot, 'next_row_as_arrays', seqid)
547
804
  end
548
805
 
806
+ def process_next_row_serialized(seqid, iprot, oprot)
807
+ args = read_args(iprot, Next_row_serialized_args)
808
+ result = Next_row_serialized_result.new()
809
+ begin
810
+ result.success = @handler.next_row_serialized(args.scanner)
811
+ rescue Hypertable::ThriftGen::ClientException => e
812
+ result.e = e
813
+ end
814
+ write_result(result, oprot, 'next_row_serialized', seqid)
815
+ end
816
+
549
817
  def process_get_row(seqid, iprot, oprot)
550
818
  args = read_args(iprot, Get_row_args)
551
819
  result = Get_row_result.new()
552
820
  begin
553
- result.success = @handler.get_row(args.name, args.row)
821
+ result.success = @handler.get_row(args.ns, args.table_name, args.row)
554
822
  rescue Hypertable::ThriftGen::ClientException => e
555
823
  result.e = e
556
824
  end
@@ -561,18 +829,29 @@ require 'client_types'
561
829
  args = read_args(iprot, Get_row_as_arrays_args)
562
830
  result = Get_row_as_arrays_result.new()
563
831
  begin
564
- result.success = @handler.get_row_as_arrays(args.name, args.row)
832
+ result.success = @handler.get_row_as_arrays(args.ns, args.name, args.row)
565
833
  rescue Hypertable::ThriftGen::ClientException => e
566
834
  result.e = e
567
835
  end
568
836
  write_result(result, oprot, 'get_row_as_arrays', seqid)
569
837
  end
570
838
 
839
+ def process_get_row_serialized(seqid, iprot, oprot)
840
+ args = read_args(iprot, Get_row_serialized_args)
841
+ result = Get_row_serialized_result.new()
842
+ begin
843
+ result.success = @handler.get_row_serialized(args.ns, args.table_name, args.row)
844
+ rescue Hypertable::ThriftGen::ClientException => e
845
+ result.e = e
846
+ end
847
+ write_result(result, oprot, 'get_row_serialized', seqid)
848
+ end
849
+
571
850
  def process_get_cell(seqid, iprot, oprot)
572
851
  args = read_args(iprot, Get_cell_args)
573
852
  result = Get_cell_result.new()
574
853
  begin
575
- result.success = @handler.get_cell(args.name, args.row, args.column)
854
+ result.success = @handler.get_cell(args.ns, args.table_name, args.row, args.column)
576
855
  rescue Hypertable::ThriftGen::ClientException => e
577
856
  result.e = e
578
857
  end
@@ -583,7 +862,7 @@ require 'client_types'
583
862
  args = read_args(iprot, Get_cells_args)
584
863
  result = Get_cells_result.new()
585
864
  begin
586
- result.success = @handler.get_cells(args.name, args.scan_spec)
865
+ result.success = @handler.get_cells(args.ns, args.table_name, args.scan_spec)
587
866
  rescue Hypertable::ThriftGen::ClientException => e
588
867
  result.e = e
589
868
  end
@@ -594,62 +873,84 @@ require 'client_types'
594
873
  args = read_args(iprot, Get_cells_as_arrays_args)
595
874
  result = Get_cells_as_arrays_result.new()
596
875
  begin
597
- result.success = @handler.get_cells_as_arrays(args.name, args.scan_spec)
876
+ result.success = @handler.get_cells_as_arrays(args.ns, args.name, args.scan_spec)
598
877
  rescue Hypertable::ThriftGen::ClientException => e
599
878
  result.e = e
600
879
  end
601
880
  write_result(result, oprot, 'get_cells_as_arrays', seqid)
602
881
  end
603
882
 
604
- def process_put_cells(seqid, iprot, oprot)
605
- args = read_args(iprot, Put_cells_args)
606
- result = Put_cells_result.new()
883
+ def process_get_cells_serialized(seqid, iprot, oprot)
884
+ args = read_args(iprot, Get_cells_serialized_args)
885
+ result = Get_cells_serialized_result.new()
886
+ begin
887
+ result.success = @handler.get_cells_serialized(args.ns, args.name, args.scan_spec)
888
+ rescue Hypertable::ThriftGen::ClientException => e
889
+ result.e = e
890
+ end
891
+ write_result(result, oprot, 'get_cells_serialized', seqid)
892
+ end
893
+
894
+ def process_refresh_shared_mutator(seqid, iprot, oprot)
895
+ args = read_args(iprot, Refresh_shared_mutator_args)
896
+ result = Refresh_shared_mutator_result.new()
897
+ begin
898
+ @handler.refresh_shared_mutator(args.ns, args.table_name, args.mutate_spec)
899
+ rescue Hypertable::ThriftGen::ClientException => e
900
+ result.e = e
901
+ end
902
+ write_result(result, oprot, 'refresh_shared_mutator', seqid)
903
+ end
904
+
905
+ def process_offer_cells(seqid, iprot, oprot)
906
+ args = read_args(iprot, Offer_cells_args)
907
+ result = Offer_cells_result.new()
607
908
  begin
608
- @handler.put_cells(args.tablename, args.mutate_spec, args.cells)
909
+ @handler.offer_cells(args.ns, args.table_name, args.mutate_spec, args.cells)
609
910
  rescue Hypertable::ThriftGen::ClientException => e
610
911
  result.e = e
611
912
  end
612
- write_result(result, oprot, 'put_cells', seqid)
913
+ write_result(result, oprot, 'offer_cells', seqid)
613
914
  end
614
915
 
615
- def process_put_cells_as_arrays(seqid, iprot, oprot)
616
- args = read_args(iprot, Put_cells_as_arrays_args)
617
- result = Put_cells_as_arrays_result.new()
916
+ def process_offer_cells_as_arrays(seqid, iprot, oprot)
917
+ args = read_args(iprot, Offer_cells_as_arrays_args)
918
+ result = Offer_cells_as_arrays_result.new()
618
919
  begin
619
- @handler.put_cells_as_arrays(args.tablename, args.mutate_spec, args.cells)
920
+ @handler.offer_cells_as_arrays(args.ns, args.table_name, args.mutate_spec, args.cells)
620
921
  rescue Hypertable::ThriftGen::ClientException => e
621
922
  result.e = e
622
923
  end
623
- write_result(result, oprot, 'put_cells_as_arrays', seqid)
924
+ write_result(result, oprot, 'offer_cells_as_arrays', seqid)
624
925
  end
625
926
 
626
- def process_put_cell(seqid, iprot, oprot)
627
- args = read_args(iprot, Put_cell_args)
628
- result = Put_cell_result.new()
927
+ def process_offer_cell(seqid, iprot, oprot)
928
+ args = read_args(iprot, Offer_cell_args)
929
+ result = Offer_cell_result.new()
629
930
  begin
630
- @handler.put_cell(args.tablename, args.mutate_spec, args.cell)
931
+ @handler.offer_cell(args.ns, args.table_name, args.mutate_spec, args.cell)
631
932
  rescue Hypertable::ThriftGen::ClientException => e
632
933
  result.e = e
633
934
  end
634
- write_result(result, oprot, 'put_cell', seqid)
935
+ write_result(result, oprot, 'offer_cell', seqid)
635
936
  end
636
937
 
637
- def process_put_cell_as_array(seqid, iprot, oprot)
638
- args = read_args(iprot, Put_cell_as_array_args)
639
- result = Put_cell_as_array_result.new()
938
+ def process_offer_cell_as_array(seqid, iprot, oprot)
939
+ args = read_args(iprot, Offer_cell_as_array_args)
940
+ result = Offer_cell_as_array_result.new()
640
941
  begin
641
- @handler.put_cell_as_array(args.tablename, args.mutate_spec, args.cell)
942
+ @handler.offer_cell_as_array(args.ns, args.table_name, args.mutate_spec, args.cell)
642
943
  rescue Hypertable::ThriftGen::ClientException => e
643
944
  result.e = e
644
945
  end
645
- write_result(result, oprot, 'put_cell_as_array', seqid)
946
+ write_result(result, oprot, 'offer_cell_as_array', seqid)
646
947
  end
647
948
 
648
949
  def process_open_mutator(seqid, iprot, oprot)
649
950
  args = read_args(iprot, Open_mutator_args)
650
951
  result = Open_mutator_result.new()
651
952
  begin
652
- result.success = @handler.open_mutator(args.name, args.flags, args.flush_interval)
953
+ result.success = @handler.open_mutator(args.ns, args.table_name, args.flags, args.flush_interval)
653
954
  rescue Hypertable::ThriftGen::ClientException => e
654
955
  result.e = e
655
956
  end
@@ -711,6 +1012,17 @@ require 'client_types'
711
1012
  write_result(result, oprot, 'set_cells_as_arrays', seqid)
712
1013
  end
713
1014
 
1015
+ def process_set_cells_serialized(seqid, iprot, oprot)
1016
+ args = read_args(iprot, Set_cells_serialized_args)
1017
+ result = Set_cells_serialized_result.new()
1018
+ begin
1019
+ @handler.set_cells_serialized(args.mutator, args.cells, args.flush)
1020
+ rescue Hypertable::ThriftGen::ClientException => e
1021
+ result.e = e
1022
+ end
1023
+ write_result(result, oprot, 'set_cells_serialized', seqid)
1024
+ end
1025
+
714
1026
  def process_flush_mutator(seqid, iprot, oprot)
715
1027
  args = read_args(iprot, Flush_mutator_args)
716
1028
  result = Flush_mutator_result.new()
@@ -722,11 +1034,22 @@ require 'client_types'
722
1034
  write_result(result, oprot, 'flush_mutator', seqid)
723
1035
  end
724
1036
 
1037
+ def process_exists_namespace(seqid, iprot, oprot)
1038
+ args = read_args(iprot, Exists_namespace_args)
1039
+ result = Exists_namespace_result.new()
1040
+ begin
1041
+ result.success = @handler.exists_namespace(args.ns)
1042
+ rescue Hypertable::ThriftGen::ClientException => e
1043
+ result.e = e
1044
+ end
1045
+ write_result(result, oprot, 'exists_namespace', seqid)
1046
+ end
1047
+
725
1048
  def process_exists_table(seqid, iprot, oprot)
726
1049
  args = read_args(iprot, Exists_table_args)
727
1050
  result = Exists_table_result.new()
728
1051
  begin
729
- result.success = @handler.exists_table(args.name)
1052
+ result.success = @handler.exists_table(args.ns, args.name)
730
1053
  rescue Hypertable::ThriftGen::ClientException => e
731
1054
  result.e = e
732
1055
  end
@@ -737,18 +1060,29 @@ require 'client_types'
737
1060
  args = read_args(iprot, Get_table_id_args)
738
1061
  result = Get_table_id_result.new()
739
1062
  begin
740
- result.success = @handler.get_table_id(args.name)
1063
+ result.success = @handler.get_table_id(args.ns, args.table_name)
741
1064
  rescue Hypertable::ThriftGen::ClientException => e
742
1065
  result.e = e
743
1066
  end
744
1067
  write_result(result, oprot, 'get_table_id', seqid)
745
1068
  end
746
1069
 
1070
+ def process_get_schema_str(seqid, iprot, oprot)
1071
+ args = read_args(iprot, Get_schema_str_args)
1072
+ result = Get_schema_str_result.new()
1073
+ begin
1074
+ result.success = @handler.get_schema_str(args.ns, args.table_name)
1075
+ rescue Hypertable::ThriftGen::ClientException => e
1076
+ result.e = e
1077
+ end
1078
+ write_result(result, oprot, 'get_schema_str', seqid)
1079
+ end
1080
+
747
1081
  def process_get_schema(seqid, iprot, oprot)
748
1082
  args = read_args(iprot, Get_schema_args)
749
1083
  result = Get_schema_result.new()
750
1084
  begin
751
- result.success = @handler.get_schema(args.name)
1085
+ result.success = @handler.get_schema(args.ns, args.table_name)
752
1086
  rescue Hypertable::ThriftGen::ClientException => e
753
1087
  result.e = e
754
1088
  end
@@ -759,29 +1093,62 @@ require 'client_types'
759
1093
  args = read_args(iprot, Get_tables_args)
760
1094
  result = Get_tables_result.new()
761
1095
  begin
762
- result.success = @handler.get_tables()
1096
+ result.success = @handler.get_tables(args.ns)
763
1097
  rescue Hypertable::ThriftGen::ClientException => e
764
1098
  result.e = e
765
1099
  end
766
1100
  write_result(result, oprot, 'get_tables', seqid)
767
1101
  end
768
1102
 
1103
+ def process_get_listing(seqid, iprot, oprot)
1104
+ args = read_args(iprot, Get_listing_args)
1105
+ result = Get_listing_result.new()
1106
+ begin
1107
+ result.success = @handler.get_listing(args.ns)
1108
+ rescue Hypertable::ThriftGen::ClientException => e
1109
+ result.e = e
1110
+ end
1111
+ write_result(result, oprot, 'get_listing', seqid)
1112
+ end
1113
+
769
1114
  def process_get_table_splits(seqid, iprot, oprot)
770
1115
  args = read_args(iprot, Get_table_splits_args)
771
1116
  result = Get_table_splits_result.new()
772
1117
  begin
773
- result.success = @handler.get_table_splits(args.name)
1118
+ result.success = @handler.get_table_splits(args.ns, args.table_name)
774
1119
  rescue Hypertable::ThriftGen::ClientException => e
775
1120
  result.e = e
776
1121
  end
777
1122
  write_result(result, oprot, 'get_table_splits', seqid)
778
1123
  end
779
1124
 
1125
+ def process_drop_namespace(seqid, iprot, oprot)
1126
+ args = read_args(iprot, Drop_namespace_args)
1127
+ result = Drop_namespace_result.new()
1128
+ begin
1129
+ @handler.drop_namespace(args.ns, args.if_exists)
1130
+ rescue Hypertable::ThriftGen::ClientException => e
1131
+ result.e = e
1132
+ end
1133
+ write_result(result, oprot, 'drop_namespace', seqid)
1134
+ end
1135
+
1136
+ def process_rename_table(seqid, iprot, oprot)
1137
+ args = read_args(iprot, Rename_table_args)
1138
+ result = Rename_table_result.new()
1139
+ begin
1140
+ @handler.rename_table(args.ns, args.name, args.new_name)
1141
+ rescue Hypertable::ThriftGen::ClientException => e
1142
+ result.e = e
1143
+ end
1144
+ write_result(result, oprot, 'rename_table', seqid)
1145
+ end
1146
+
780
1147
  def process_drop_table(seqid, iprot, oprot)
781
1148
  args = read_args(iprot, Drop_table_args)
782
1149
  result = Drop_table_result.new()
783
1150
  begin
784
- @handler.drop_table(args.name, args.if_exists)
1151
+ @handler.drop_table(args.ns, args.name, args.if_exists)
785
1152
  rescue Hypertable::ThriftGen::ClientException => e
786
1153
  result.e = e
787
1154
  end
@@ -792,15 +1159,12 @@ require 'client_types'
792
1159
 
793
1160
  # HELPER FUNCTIONS AND STRUCTURES
794
1161
 
795
- class Create_table_args
796
- include ::Thrift::Struct
797
- NAME = 1
798
- SCHEMA = 2
1162
+ class Create_namespace_args
1163
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1164
+ NS = 1
799
1165
 
800
- ::Thrift::Struct.field_accessor self, :name, :schema
801
1166
  FIELDS = {
802
- NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
803
- SCHEMA => {:type => ::Thrift::Types::STRING, :name => 'schema'}
1167
+ NS => {:type => ::Thrift::Types::STRING, :name => 'ns'}
804
1168
  }
805
1169
 
806
1170
  def struct_fields; FIELDS; end
@@ -808,13 +1172,13 @@ require 'client_types'
808
1172
  def validate
809
1173
  end
810
1174
 
1175
+ ::Thrift::Struct.generate_accessors self
811
1176
  end
812
1177
 
813
- class Create_table_result
814
- include ::Thrift::Struct
1178
+ class Create_namespace_result
1179
+ include ::Thrift::Struct, ::Thrift::Struct_Union
815
1180
  E = 1
816
1181
 
817
- ::Thrift::Struct.field_accessor self, :e
818
1182
  FIELDS = {
819
1183
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
820
1184
  }
@@ -824,19 +1188,19 @@ require 'client_types'
824
1188
  def validate
825
1189
  end
826
1190
 
1191
+ ::Thrift::Struct.generate_accessors self
827
1192
  end
828
1193
 
829
- class Open_scanner_args
830
- include ::Thrift::Struct
831
- NAME = 1
832
- SCAN_SPEC = 2
833
- RETRY_TABLE_NOT_FOUND = 3
1194
+ class Create_table_args
1195
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1196
+ NS = 1
1197
+ TABLE_NAME = 2
1198
+ SCHEMA = 3
834
1199
 
835
- ::Thrift::Struct.field_accessor self, :name, :scan_spec, :retry_table_not_found
836
1200
  FIELDS = {
837
- NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
838
- SCAN_SPEC => {:type => ::Thrift::Types::STRUCT, :name => 'scan_spec', :class => Hypertable::ThriftGen::ScanSpec},
839
- RETRY_TABLE_NOT_FOUND => {:type => ::Thrift::Types::BOOL, :name => 'retry_table_not_found', :default => false}
1201
+ NS => {:type => ::Thrift::Types::I64, :name => 'ns'},
1202
+ TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'},
1203
+ SCHEMA => {:type => ::Thrift::Types::STRING, :name => 'schema'}
840
1204
  }
841
1205
 
842
1206
  def struct_fields; FIELDS; end
@@ -844,16 +1208,14 @@ require 'client_types'
844
1208
  def validate
845
1209
  end
846
1210
 
1211
+ ::Thrift::Struct.generate_accessors self
847
1212
  end
848
1213
 
849
- class Open_scanner_result
850
- include ::Thrift::Struct
851
- SUCCESS = 0
1214
+ class Create_table_result
1215
+ include ::Thrift::Struct, ::Thrift::Struct_Union
852
1216
  E = 1
853
1217
 
854
- ::Thrift::Struct.field_accessor self, :success, :e
855
1218
  FIELDS = {
856
- SUCCESS => {:type => ::Thrift::Types::I64, :name => 'success'},
857
1219
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
858
1220
  }
859
1221
 
@@ -862,15 +1224,15 @@ require 'client_types'
862
1224
  def validate
863
1225
  end
864
1226
 
1227
+ ::Thrift::Struct.generate_accessors self
865
1228
  end
866
1229
 
867
- class Close_scanner_args
868
- include ::Thrift::Struct
869
- SCANNER = 1
1230
+ class Open_namespace_args
1231
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1232
+ NS = 1
870
1233
 
871
- ::Thrift::Struct.field_accessor self, :scanner
872
1234
  FIELDS = {
873
- SCANNER => {:type => ::Thrift::Types::I64, :name => 'scanner'}
1235
+ NS => {:type => ::Thrift::Types::STRING, :name => 'ns'}
874
1236
  }
875
1237
 
876
1238
  def struct_fields; FIELDS; end
@@ -878,14 +1240,16 @@ require 'client_types'
878
1240
  def validate
879
1241
  end
880
1242
 
1243
+ ::Thrift::Struct.generate_accessors self
881
1244
  end
882
1245
 
883
- class Close_scanner_result
884
- include ::Thrift::Struct
1246
+ class Open_namespace_result
1247
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1248
+ SUCCESS = 0
885
1249
  E = 1
886
1250
 
887
- ::Thrift::Struct.field_accessor self, :e
888
1251
  FIELDS = {
1252
+ SUCCESS => {:type => ::Thrift::Types::I64, :name => 'success'},
889
1253
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
890
1254
  }
891
1255
 
@@ -894,15 +1258,15 @@ require 'client_types'
894
1258
  def validate
895
1259
  end
896
1260
 
1261
+ ::Thrift::Struct.generate_accessors self
897
1262
  end
898
1263
 
899
- class Next_cells_args
900
- include ::Thrift::Struct
901
- SCANNER = 1
1264
+ class Close_namespace_args
1265
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1266
+ NS = 1
902
1267
 
903
- ::Thrift::Struct.field_accessor self, :scanner
904
1268
  FIELDS = {
905
- SCANNER => {:type => ::Thrift::Types::I64, :name => 'scanner'}
1269
+ NS => {:type => ::Thrift::Types::I64, :name => 'ns'}
906
1270
  }
907
1271
 
908
1272
  def struct_fields; FIELDS; end
@@ -910,16 +1274,14 @@ require 'client_types'
910
1274
  def validate
911
1275
  end
912
1276
 
1277
+ ::Thrift::Struct.generate_accessors self
913
1278
  end
914
1279
 
915
- class Next_cells_result
916
- include ::Thrift::Struct
917
- SUCCESS = 0
1280
+ class Close_namespace_result
1281
+ include ::Thrift::Struct, ::Thrift::Struct_Union
918
1282
  E = 1
919
1283
 
920
- ::Thrift::Struct.field_accessor self, :success, :e
921
1284
  FIELDS = {
922
- SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => Hypertable::ThriftGen::Cell}},
923
1285
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
924
1286
  }
925
1287
 
@@ -928,15 +1290,21 @@ require 'client_types'
928
1290
  def validate
929
1291
  end
930
1292
 
1293
+ ::Thrift::Struct.generate_accessors self
931
1294
  end
932
1295
 
933
- class Next_cells_as_arrays_args
934
- include ::Thrift::Struct
935
- SCANNER = 1
1296
+ class Open_scanner_args
1297
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1298
+ NS = 1
1299
+ TABLE_NAME = 2
1300
+ SCAN_SPEC = 3
1301
+ RETRY_TABLE_NOT_FOUND = 4
936
1302
 
937
- ::Thrift::Struct.field_accessor self, :scanner
938
1303
  FIELDS = {
939
- SCANNER => {:type => ::Thrift::Types::I64, :name => 'scanner'}
1304
+ NS => {:type => ::Thrift::Types::I64, :name => 'ns'},
1305
+ TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'},
1306
+ SCAN_SPEC => {:type => ::Thrift::Types::STRUCT, :name => 'scan_spec', :class => Hypertable::ThriftGen::ScanSpec},
1307
+ RETRY_TABLE_NOT_FOUND => {:type => ::Thrift::Types::BOOL, :name => 'retry_table_not_found', :default => false}
940
1308
  }
941
1309
 
942
1310
  def struct_fields; FIELDS; end
@@ -944,16 +1312,16 @@ require 'client_types'
944
1312
  def validate
945
1313
  end
946
1314
 
1315
+ ::Thrift::Struct.generate_accessors self
947
1316
  end
948
1317
 
949
- class Next_cells_as_arrays_result
950
- include ::Thrift::Struct
1318
+ class Open_scanner_result
1319
+ include ::Thrift::Struct, ::Thrift::Struct_Union
951
1320
  SUCCESS = 0
952
1321
  E = 1
953
1322
 
954
- ::Thrift::Struct.field_accessor self, :success, :e
955
1323
  FIELDS = {
956
- SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::STRING}}},
1324
+ SUCCESS => {:type => ::Thrift::Types::I64, :name => 'success'},
957
1325
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
958
1326
  }
959
1327
 
@@ -962,13 +1330,13 @@ require 'client_types'
962
1330
  def validate
963
1331
  end
964
1332
 
1333
+ ::Thrift::Struct.generate_accessors self
965
1334
  end
966
1335
 
967
- class Next_row_args
968
- include ::Thrift::Struct
1336
+ class Close_scanner_args
1337
+ include ::Thrift::Struct, ::Thrift::Struct_Union
969
1338
  SCANNER = 1
970
1339
 
971
- ::Thrift::Struct.field_accessor self, :scanner
972
1340
  FIELDS = {
973
1341
  SCANNER => {:type => ::Thrift::Types::I64, :name => 'scanner'}
974
1342
  }
@@ -978,16 +1346,14 @@ require 'client_types'
978
1346
  def validate
979
1347
  end
980
1348
 
1349
+ ::Thrift::Struct.generate_accessors self
981
1350
  end
982
1351
 
983
- class Next_row_result
984
- include ::Thrift::Struct
985
- SUCCESS = 0
1352
+ class Close_scanner_result
1353
+ include ::Thrift::Struct, ::Thrift::Struct_Union
986
1354
  E = 1
987
1355
 
988
- ::Thrift::Struct.field_accessor self, :success, :e
989
1356
  FIELDS = {
990
- SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => Hypertable::ThriftGen::Cell}},
991
1357
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
992
1358
  }
993
1359
 
@@ -996,13 +1362,13 @@ require 'client_types'
996
1362
  def validate
997
1363
  end
998
1364
 
1365
+ ::Thrift::Struct.generate_accessors self
999
1366
  end
1000
1367
 
1001
- class Next_row_as_arrays_args
1002
- include ::Thrift::Struct
1368
+ class Next_cells_args
1369
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1003
1370
  SCANNER = 1
1004
1371
 
1005
- ::Thrift::Struct.field_accessor self, :scanner
1006
1372
  FIELDS = {
1007
1373
  SCANNER => {:type => ::Thrift::Types::I64, :name => 'scanner'}
1008
1374
  }
@@ -1012,16 +1378,16 @@ require 'client_types'
1012
1378
  def validate
1013
1379
  end
1014
1380
 
1381
+ ::Thrift::Struct.generate_accessors self
1015
1382
  end
1016
1383
 
1017
- class Next_row_as_arrays_result
1018
- include ::Thrift::Struct
1384
+ class Next_cells_result
1385
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1019
1386
  SUCCESS = 0
1020
1387
  E = 1
1021
1388
 
1022
- ::Thrift::Struct.field_accessor self, :success, :e
1023
1389
  FIELDS = {
1024
- SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::STRING}}},
1390
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => Hypertable::ThriftGen::Cell}},
1025
1391
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
1026
1392
  }
1027
1393
 
@@ -1030,17 +1396,15 @@ require 'client_types'
1030
1396
  def validate
1031
1397
  end
1032
1398
 
1399
+ ::Thrift::Struct.generate_accessors self
1033
1400
  end
1034
1401
 
1035
- class Get_row_args
1036
- include ::Thrift::Struct
1037
- NAME = 1
1038
- ROW = 2
1402
+ class Next_cells_as_arrays_args
1403
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1404
+ SCANNER = 1
1039
1405
 
1040
- ::Thrift::Struct.field_accessor self, :name, :row
1041
1406
  FIELDS = {
1042
- NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
1043
- ROW => {:type => ::Thrift::Types::STRING, :name => 'row'}
1407
+ SCANNER => {:type => ::Thrift::Types::I64, :name => 'scanner'}
1044
1408
  }
1045
1409
 
1046
1410
  def struct_fields; FIELDS; end
@@ -1048,16 +1412,16 @@ require 'client_types'
1048
1412
  def validate
1049
1413
  end
1050
1414
 
1415
+ ::Thrift::Struct.generate_accessors self
1051
1416
  end
1052
1417
 
1053
- class Get_row_result
1054
- include ::Thrift::Struct
1418
+ class Next_cells_as_arrays_result
1419
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1055
1420
  SUCCESS = 0
1056
1421
  E = 1
1057
1422
 
1058
- ::Thrift::Struct.field_accessor self, :success, :e
1059
1423
  FIELDS = {
1060
- SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => Hypertable::ThriftGen::Cell}},
1424
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::STRING}}},
1061
1425
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
1062
1426
  }
1063
1427
 
@@ -1066,17 +1430,15 @@ require 'client_types'
1066
1430
  def validate
1067
1431
  end
1068
1432
 
1433
+ ::Thrift::Struct.generate_accessors self
1069
1434
  end
1070
1435
 
1071
- class Get_row_as_arrays_args
1072
- include ::Thrift::Struct
1073
- NAME = 1
1074
- ROW = 2
1436
+ class Next_cells_serialized_args
1437
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1438
+ SCANNER = 1
1075
1439
 
1076
- ::Thrift::Struct.field_accessor self, :name, :row
1077
1440
  FIELDS = {
1078
- NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
1079
- ROW => {:type => ::Thrift::Types::STRING, :name => 'row'}
1441
+ SCANNER => {:type => ::Thrift::Types::I64, :name => 'scanner'}
1080
1442
  }
1081
1443
 
1082
1444
  def struct_fields; FIELDS; end
@@ -1084,14 +1446,80 @@ require 'client_types'
1084
1446
  def validate
1085
1447
  end
1086
1448
 
1449
+ ::Thrift::Struct.generate_accessors self
1087
1450
  end
1088
1451
 
1089
- class Get_row_as_arrays_result
1090
- include ::Thrift::Struct
1452
+ class Next_cells_serialized_result
1453
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1091
1454
  SUCCESS = 0
1092
- E = 1
1093
1455
 
1094
- ::Thrift::Struct.field_accessor self, :success, :e
1456
+ FIELDS = {
1457
+ SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success', :binary => true}
1458
+ }
1459
+
1460
+ def struct_fields; FIELDS; end
1461
+
1462
+ def validate
1463
+ end
1464
+
1465
+ ::Thrift::Struct.generate_accessors self
1466
+ end
1467
+
1468
+ class Next_row_args
1469
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1470
+ SCANNER = 1
1471
+
1472
+ FIELDS = {
1473
+ SCANNER => {:type => ::Thrift::Types::I64, :name => 'scanner'}
1474
+ }
1475
+
1476
+ def struct_fields; FIELDS; end
1477
+
1478
+ def validate
1479
+ end
1480
+
1481
+ ::Thrift::Struct.generate_accessors self
1482
+ end
1483
+
1484
+ class Next_row_result
1485
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1486
+ SUCCESS = 0
1487
+ E = 1
1488
+
1489
+ FIELDS = {
1490
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => Hypertable::ThriftGen::Cell}},
1491
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
1492
+ }
1493
+
1494
+ def struct_fields; FIELDS; end
1495
+
1496
+ def validate
1497
+ end
1498
+
1499
+ ::Thrift::Struct.generate_accessors self
1500
+ end
1501
+
1502
+ class Next_row_as_arrays_args
1503
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1504
+ SCANNER = 1
1505
+
1506
+ FIELDS = {
1507
+ SCANNER => {:type => ::Thrift::Types::I64, :name => 'scanner'}
1508
+ }
1509
+
1510
+ def struct_fields; FIELDS; end
1511
+
1512
+ def validate
1513
+ end
1514
+
1515
+ ::Thrift::Struct.generate_accessors self
1516
+ end
1517
+
1518
+ class Next_row_as_arrays_result
1519
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1520
+ SUCCESS = 0
1521
+ E = 1
1522
+
1095
1523
  FIELDS = {
1096
1524
  SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::STRING}}},
1097
1525
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
@@ -1102,17 +1530,167 @@ require 'client_types'
1102
1530
  def validate
1103
1531
  end
1104
1532
 
1533
+ ::Thrift::Struct.generate_accessors self
1105
1534
  end
1106
1535
 
1107
- class Get_cell_args
1108
- include ::Thrift::Struct
1109
- NAME = 1
1110
- ROW = 2
1111
- COLUMN = 3
1536
+ class Next_row_serialized_args
1537
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1538
+ SCANNER = 1
1539
+
1540
+ FIELDS = {
1541
+ SCANNER => {:type => ::Thrift::Types::I64, :name => 'scanner'}
1542
+ }
1543
+
1544
+ def struct_fields; FIELDS; end
1545
+
1546
+ def validate
1547
+ end
1548
+
1549
+ ::Thrift::Struct.generate_accessors self
1550
+ end
1551
+
1552
+ class Next_row_serialized_result
1553
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1554
+ SUCCESS = 0
1555
+ E = 1
1556
+
1557
+ FIELDS = {
1558
+ SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success', :binary => true},
1559
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
1560
+ }
1561
+
1562
+ def struct_fields; FIELDS; end
1563
+
1564
+ def validate
1565
+ end
1566
+
1567
+ ::Thrift::Struct.generate_accessors self
1568
+ end
1569
+
1570
+ class Get_row_args
1571
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1572
+ NS = 1
1573
+ TABLE_NAME = 2
1574
+ ROW = 3
1575
+
1576
+ FIELDS = {
1577
+ NS => {:type => ::Thrift::Types::I64, :name => 'ns'},
1578
+ TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'},
1579
+ ROW => {:type => ::Thrift::Types::STRING, :name => 'row'}
1580
+ }
1581
+
1582
+ def struct_fields; FIELDS; end
1583
+
1584
+ def validate
1585
+ end
1586
+
1587
+ ::Thrift::Struct.generate_accessors self
1588
+ end
1589
+
1590
+ class Get_row_result
1591
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1592
+ SUCCESS = 0
1593
+ E = 1
1112
1594
 
1113
- ::Thrift::Struct.field_accessor self, :name, :row, :column
1114
1595
  FIELDS = {
1596
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => Hypertable::ThriftGen::Cell}},
1597
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
1598
+ }
1599
+
1600
+ def struct_fields; FIELDS; end
1601
+
1602
+ def validate
1603
+ end
1604
+
1605
+ ::Thrift::Struct.generate_accessors self
1606
+ end
1607
+
1608
+ class Get_row_as_arrays_args
1609
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1610
+ NS = 1
1611
+ NAME = 2
1612
+ ROW = 3
1613
+
1614
+ FIELDS = {
1615
+ NS => {:type => ::Thrift::Types::I64, :name => 'ns'},
1115
1616
  NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
1617
+ ROW => {:type => ::Thrift::Types::STRING, :name => 'row'}
1618
+ }
1619
+
1620
+ def struct_fields; FIELDS; end
1621
+
1622
+ def validate
1623
+ end
1624
+
1625
+ ::Thrift::Struct.generate_accessors self
1626
+ end
1627
+
1628
+ class Get_row_as_arrays_result
1629
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1630
+ SUCCESS = 0
1631
+ E = 1
1632
+
1633
+ FIELDS = {
1634
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::STRING}}},
1635
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
1636
+ }
1637
+
1638
+ def struct_fields; FIELDS; end
1639
+
1640
+ def validate
1641
+ end
1642
+
1643
+ ::Thrift::Struct.generate_accessors self
1644
+ end
1645
+
1646
+ class Get_row_serialized_args
1647
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1648
+ NS = 1
1649
+ TABLE_NAME = 2
1650
+ ROW = 3
1651
+
1652
+ FIELDS = {
1653
+ NS => {:type => ::Thrift::Types::I64, :name => 'ns'},
1654
+ TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'},
1655
+ ROW => {:type => ::Thrift::Types::STRING, :name => 'row'}
1656
+ }
1657
+
1658
+ def struct_fields; FIELDS; end
1659
+
1660
+ def validate
1661
+ end
1662
+
1663
+ ::Thrift::Struct.generate_accessors self
1664
+ end
1665
+
1666
+ class Get_row_serialized_result
1667
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1668
+ SUCCESS = 0
1669
+ E = 1
1670
+
1671
+ FIELDS = {
1672
+ SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success', :binary => true},
1673
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
1674
+ }
1675
+
1676
+ def struct_fields; FIELDS; end
1677
+
1678
+ def validate
1679
+ end
1680
+
1681
+ ::Thrift::Struct.generate_accessors self
1682
+ end
1683
+
1684
+ class Get_cell_args
1685
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1686
+ NS = 1
1687
+ TABLE_NAME = 2
1688
+ ROW = 3
1689
+ COLUMN = 4
1690
+
1691
+ FIELDS = {
1692
+ NS => {:type => ::Thrift::Types::I64, :name => 'ns'},
1693
+ TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'},
1116
1694
  ROW => {:type => ::Thrift::Types::STRING, :name => 'row'},
1117
1695
  COLUMN => {:type => ::Thrift::Types::STRING, :name => 'column'}
1118
1696
  }
@@ -1122,16 +1700,16 @@ require 'client_types'
1122
1700
  def validate
1123
1701
  end
1124
1702
 
1703
+ ::Thrift::Struct.generate_accessors self
1125
1704
  end
1126
1705
 
1127
1706
  class Get_cell_result
1128
- include ::Thrift::Struct
1707
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1129
1708
  SUCCESS = 0
1130
1709
  E = 1
1131
1710
 
1132
- ::Thrift::Struct.field_accessor self, :success, :e
1133
1711
  FIELDS = {
1134
- SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success'},
1712
+ SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success', :binary => true},
1135
1713
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
1136
1714
  }
1137
1715
 
@@ -1140,16 +1718,18 @@ require 'client_types'
1140
1718
  def validate
1141
1719
  end
1142
1720
 
1721
+ ::Thrift::Struct.generate_accessors self
1143
1722
  end
1144
1723
 
1145
1724
  class Get_cells_args
1146
- include ::Thrift::Struct
1147
- NAME = 1
1148
- SCAN_SPEC = 2
1725
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1726
+ NS = 1
1727
+ TABLE_NAME = 2
1728
+ SCAN_SPEC = 3
1149
1729
 
1150
- ::Thrift::Struct.field_accessor self, :name, :scan_spec
1151
1730
  FIELDS = {
1152
- NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
1731
+ NS => {:type => ::Thrift::Types::I64, :name => 'ns'},
1732
+ TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'},
1153
1733
  SCAN_SPEC => {:type => ::Thrift::Types::STRUCT, :name => 'scan_spec', :class => Hypertable::ThriftGen::ScanSpec}
1154
1734
  }
1155
1735
 
@@ -1158,14 +1738,14 @@ require 'client_types'
1158
1738
  def validate
1159
1739
  end
1160
1740
 
1741
+ ::Thrift::Struct.generate_accessors self
1161
1742
  end
1162
1743
 
1163
1744
  class Get_cells_result
1164
- include ::Thrift::Struct
1745
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1165
1746
  SUCCESS = 0
1166
1747
  E = 1
1167
1748
 
1168
- ::Thrift::Struct.field_accessor self, :success, :e
1169
1749
  FIELDS = {
1170
1750
  SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => Hypertable::ThriftGen::Cell}},
1171
1751
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
@@ -1176,15 +1756,17 @@ require 'client_types'
1176
1756
  def validate
1177
1757
  end
1178
1758
 
1759
+ ::Thrift::Struct.generate_accessors self
1179
1760
  end
1180
1761
 
1181
1762
  class Get_cells_as_arrays_args
1182
- include ::Thrift::Struct
1183
- NAME = 1
1184
- SCAN_SPEC = 2
1763
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1764
+ NS = 1
1765
+ NAME = 2
1766
+ SCAN_SPEC = 3
1185
1767
 
1186
- ::Thrift::Struct.field_accessor self, :name, :scan_spec
1187
1768
  FIELDS = {
1769
+ NS => {:type => ::Thrift::Types::I64, :name => 'ns'},
1188
1770
  NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
1189
1771
  SCAN_SPEC => {:type => ::Thrift::Types::STRUCT, :name => 'scan_spec', :class => Hypertable::ThriftGen::ScanSpec}
1190
1772
  }
@@ -1194,14 +1776,14 @@ require 'client_types'
1194
1776
  def validate
1195
1777
  end
1196
1778
 
1779
+ ::Thrift::Struct.generate_accessors self
1197
1780
  end
1198
1781
 
1199
1782
  class Get_cells_as_arrays_result
1200
- include ::Thrift::Struct
1783
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1201
1784
  SUCCESS = 0
1202
1785
  E = 1
1203
1786
 
1204
- ::Thrift::Struct.field_accessor self, :success, :e
1205
1787
  FIELDS = {
1206
1788
  SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::STRING}}},
1207
1789
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
@@ -1212,17 +1794,93 @@ require 'client_types'
1212
1794
  def validate
1213
1795
  end
1214
1796
 
1797
+ ::Thrift::Struct.generate_accessors self
1798
+ end
1799
+
1800
+ class Get_cells_serialized_args
1801
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1802
+ NS = 1
1803
+ NAME = 2
1804
+ SCAN_SPEC = 3
1805
+
1806
+ FIELDS = {
1807
+ NS => {:type => ::Thrift::Types::I64, :name => 'ns'},
1808
+ NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
1809
+ SCAN_SPEC => {:type => ::Thrift::Types::STRUCT, :name => 'scan_spec', :class => Hypertable::ThriftGen::ScanSpec}
1810
+ }
1811
+
1812
+ def struct_fields; FIELDS; end
1813
+
1814
+ def validate
1815
+ end
1816
+
1817
+ ::Thrift::Struct.generate_accessors self
1215
1818
  end
1216
1819
 
1217
- class Put_cells_args
1218
- include ::Thrift::Struct
1219
- TABLENAME = 1
1220
- MUTATE_SPEC = 2
1221
- CELLS = 3
1820
+ class Get_cells_serialized_result
1821
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1822
+ SUCCESS = 0
1823
+ E = 1
1222
1824
 
1223
- ::Thrift::Struct.field_accessor self, :tablename, :mutate_spec, :cells
1224
1825
  FIELDS = {
1225
- TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tablename'},
1826
+ SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success', :binary => true},
1827
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
1828
+ }
1829
+
1830
+ def struct_fields; FIELDS; end
1831
+
1832
+ def validate
1833
+ end
1834
+
1835
+ ::Thrift::Struct.generate_accessors self
1836
+ end
1837
+
1838
+ class Refresh_shared_mutator_args
1839
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1840
+ NS = 1
1841
+ TABLE_NAME = 2
1842
+ MUTATE_SPEC = 3
1843
+
1844
+ FIELDS = {
1845
+ NS => {:type => ::Thrift::Types::I64, :name => 'ns'},
1846
+ TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'},
1847
+ MUTATE_SPEC => {:type => ::Thrift::Types::STRUCT, :name => 'mutate_spec', :class => Hypertable::ThriftGen::MutateSpec}
1848
+ }
1849
+
1850
+ def struct_fields; FIELDS; end
1851
+
1852
+ def validate
1853
+ end
1854
+
1855
+ ::Thrift::Struct.generate_accessors self
1856
+ end
1857
+
1858
+ class Refresh_shared_mutator_result
1859
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1860
+ E = 1
1861
+
1862
+ FIELDS = {
1863
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
1864
+ }
1865
+
1866
+ def struct_fields; FIELDS; end
1867
+
1868
+ def validate
1869
+ end
1870
+
1871
+ ::Thrift::Struct.generate_accessors self
1872
+ end
1873
+
1874
+ class Offer_cells_args
1875
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1876
+ NS = 1
1877
+ TABLE_NAME = 2
1878
+ MUTATE_SPEC = 3
1879
+ CELLS = 4
1880
+
1881
+ FIELDS = {
1882
+ NS => {:type => ::Thrift::Types::I64, :name => 'ns'},
1883
+ TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'},
1226
1884
  MUTATE_SPEC => {:type => ::Thrift::Types::STRUCT, :name => 'mutate_spec', :class => Hypertable::ThriftGen::MutateSpec},
1227
1885
  CELLS => {:type => ::Thrift::Types::LIST, :name => 'cells', :element => {:type => ::Thrift::Types::STRUCT, :class => Hypertable::ThriftGen::Cell}}
1228
1886
  }
@@ -1232,13 +1890,13 @@ require 'client_types'
1232
1890
  def validate
1233
1891
  end
1234
1892
 
1893
+ ::Thrift::Struct.generate_accessors self
1235
1894
  end
1236
1895
 
1237
- class Put_cells_result
1238
- include ::Thrift::Struct
1896
+ class Offer_cells_result
1897
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1239
1898
  E = 1
1240
1899
 
1241
- ::Thrift::Struct.field_accessor self, :e
1242
1900
  FIELDS = {
1243
1901
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
1244
1902
  }
@@ -1248,17 +1906,19 @@ require 'client_types'
1248
1906
  def validate
1249
1907
  end
1250
1908
 
1909
+ ::Thrift::Struct.generate_accessors self
1251
1910
  end
1252
1911
 
1253
- class Put_cells_as_arrays_args
1254
- include ::Thrift::Struct
1255
- TABLENAME = 1
1256
- MUTATE_SPEC = 2
1257
- CELLS = 3
1912
+ class Offer_cells_as_arrays_args
1913
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1914
+ NS = 1
1915
+ TABLE_NAME = 2
1916
+ MUTATE_SPEC = 3
1917
+ CELLS = 4
1258
1918
 
1259
- ::Thrift::Struct.field_accessor self, :tablename, :mutate_spec, :cells
1260
1919
  FIELDS = {
1261
- TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tablename'},
1920
+ NS => {:type => ::Thrift::Types::I64, :name => 'ns'},
1921
+ TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'},
1262
1922
  MUTATE_SPEC => {:type => ::Thrift::Types::STRUCT, :name => 'mutate_spec', :class => Hypertable::ThriftGen::MutateSpec},
1263
1923
  CELLS => {:type => ::Thrift::Types::LIST, :name => 'cells', :element => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::STRING}}}
1264
1924
  }
@@ -1268,13 +1928,13 @@ require 'client_types'
1268
1928
  def validate
1269
1929
  end
1270
1930
 
1931
+ ::Thrift::Struct.generate_accessors self
1271
1932
  end
1272
1933
 
1273
- class Put_cells_as_arrays_result
1274
- include ::Thrift::Struct
1934
+ class Offer_cells_as_arrays_result
1935
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1275
1936
  E = 1
1276
1937
 
1277
- ::Thrift::Struct.field_accessor self, :e
1278
1938
  FIELDS = {
1279
1939
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
1280
1940
  }
@@ -1284,17 +1944,19 @@ require 'client_types'
1284
1944
  def validate
1285
1945
  end
1286
1946
 
1947
+ ::Thrift::Struct.generate_accessors self
1287
1948
  end
1288
1949
 
1289
- class Put_cell_args
1290
- include ::Thrift::Struct
1291
- TABLENAME = 1
1292
- MUTATE_SPEC = 2
1293
- CELL = 3
1950
+ class Offer_cell_args
1951
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1952
+ NS = 1
1953
+ TABLE_NAME = 2
1954
+ MUTATE_SPEC = 3
1955
+ CELL = 4
1294
1956
 
1295
- ::Thrift::Struct.field_accessor self, :tablename, :mutate_spec, :cell
1296
1957
  FIELDS = {
1297
- TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tablename'},
1958
+ NS => {:type => ::Thrift::Types::I64, :name => 'ns'},
1959
+ TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'},
1298
1960
  MUTATE_SPEC => {:type => ::Thrift::Types::STRUCT, :name => 'mutate_spec', :class => Hypertable::ThriftGen::MutateSpec},
1299
1961
  CELL => {:type => ::Thrift::Types::STRUCT, :name => 'cell', :class => Hypertable::ThriftGen::Cell}
1300
1962
  }
@@ -1304,13 +1966,13 @@ require 'client_types'
1304
1966
  def validate
1305
1967
  end
1306
1968
 
1969
+ ::Thrift::Struct.generate_accessors self
1307
1970
  end
1308
1971
 
1309
- class Put_cell_result
1310
- include ::Thrift::Struct
1972
+ class Offer_cell_result
1973
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1311
1974
  E = 1
1312
1975
 
1313
- ::Thrift::Struct.field_accessor self, :e
1314
1976
  FIELDS = {
1315
1977
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
1316
1978
  }
@@ -1320,17 +1982,19 @@ require 'client_types'
1320
1982
  def validate
1321
1983
  end
1322
1984
 
1985
+ ::Thrift::Struct.generate_accessors self
1323
1986
  end
1324
1987
 
1325
- class Put_cell_as_array_args
1326
- include ::Thrift::Struct
1327
- TABLENAME = 1
1328
- MUTATE_SPEC = 2
1329
- CELL = 3
1988
+ class Offer_cell_as_array_args
1989
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1990
+ NS = 1
1991
+ TABLE_NAME = 2
1992
+ MUTATE_SPEC = 3
1993
+ CELL = 4
1330
1994
 
1331
- ::Thrift::Struct.field_accessor self, :tablename, :mutate_spec, :cell
1332
1995
  FIELDS = {
1333
- TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tablename'},
1996
+ NS => {:type => ::Thrift::Types::I64, :name => 'ns'},
1997
+ TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'},
1334
1998
  MUTATE_SPEC => {:type => ::Thrift::Types::STRUCT, :name => 'mutate_spec', :class => Hypertable::ThriftGen::MutateSpec},
1335
1999
  CELL => {:type => ::Thrift::Types::LIST, :name => 'cell', :element => {:type => ::Thrift::Types::STRING}}
1336
2000
  }
@@ -1340,13 +2004,13 @@ require 'client_types'
1340
2004
  def validate
1341
2005
  end
1342
2006
 
2007
+ ::Thrift::Struct.generate_accessors self
1343
2008
  end
1344
2009
 
1345
- class Put_cell_as_array_result
1346
- include ::Thrift::Struct
2010
+ class Offer_cell_as_array_result
2011
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1347
2012
  E = 1
1348
2013
 
1349
- ::Thrift::Struct.field_accessor self, :e
1350
2014
  FIELDS = {
1351
2015
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
1352
2016
  }
@@ -1356,17 +2020,19 @@ require 'client_types'
1356
2020
  def validate
1357
2021
  end
1358
2022
 
2023
+ ::Thrift::Struct.generate_accessors self
1359
2024
  end
1360
2025
 
1361
2026
  class Open_mutator_args
1362
- include ::Thrift::Struct
1363
- NAME = 1
1364
- FLAGS = 2
1365
- FLUSH_INTERVAL = 3
2027
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2028
+ NS = 1
2029
+ TABLE_NAME = 2
2030
+ FLAGS = 3
2031
+ FLUSH_INTERVAL = 4
1366
2032
 
1367
- ::Thrift::Struct.field_accessor self, :name, :flags, :flush_interval
1368
2033
  FIELDS = {
1369
- NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
2034
+ NS => {:type => ::Thrift::Types::I64, :name => 'ns'},
2035
+ TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'},
1370
2036
  FLAGS => {:type => ::Thrift::Types::I32, :name => 'flags', :default => 0},
1371
2037
  FLUSH_INTERVAL => {:type => ::Thrift::Types::I32, :name => 'flush_interval', :default => 0}
1372
2038
  }
@@ -1376,14 +2042,14 @@ require 'client_types'
1376
2042
  def validate
1377
2043
  end
1378
2044
 
2045
+ ::Thrift::Struct.generate_accessors self
1379
2046
  end
1380
2047
 
1381
2048
  class Open_mutator_result
1382
- include ::Thrift::Struct
2049
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1383
2050
  SUCCESS = 0
1384
2051
  E = 1
1385
2052
 
1386
- ::Thrift::Struct.field_accessor self, :success, :e
1387
2053
  FIELDS = {
1388
2054
  SUCCESS => {:type => ::Thrift::Types::I64, :name => 'success'},
1389
2055
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
@@ -1394,14 +2060,14 @@ require 'client_types'
1394
2060
  def validate
1395
2061
  end
1396
2062
 
2063
+ ::Thrift::Struct.generate_accessors self
1397
2064
  end
1398
2065
 
1399
2066
  class Close_mutator_args
1400
- include ::Thrift::Struct
2067
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1401
2068
  MUTATOR = 1
1402
2069
  FLUSH = 2
1403
2070
 
1404
- ::Thrift::Struct.field_accessor self, :mutator, :flush
1405
2071
  FIELDS = {
1406
2072
  MUTATOR => {:type => ::Thrift::Types::I64, :name => 'mutator'},
1407
2073
  FLUSH => {:type => ::Thrift::Types::BOOL, :name => 'flush', :default => true}
@@ -1412,13 +2078,13 @@ require 'client_types'
1412
2078
  def validate
1413
2079
  end
1414
2080
 
2081
+ ::Thrift::Struct.generate_accessors self
1415
2082
  end
1416
2083
 
1417
2084
  class Close_mutator_result
1418
- include ::Thrift::Struct
2085
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1419
2086
  E = 1
1420
2087
 
1421
- ::Thrift::Struct.field_accessor self, :e
1422
2088
  FIELDS = {
1423
2089
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
1424
2090
  }
@@ -1428,14 +2094,14 @@ require 'client_types'
1428
2094
  def validate
1429
2095
  end
1430
2096
 
2097
+ ::Thrift::Struct.generate_accessors self
1431
2098
  end
1432
2099
 
1433
2100
  class Set_cell_args
1434
- include ::Thrift::Struct
2101
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1435
2102
  MUTATOR = 1
1436
2103
  CELL = 2
1437
2104
 
1438
- ::Thrift::Struct.field_accessor self, :mutator, :cell
1439
2105
  FIELDS = {
1440
2106
  MUTATOR => {:type => ::Thrift::Types::I64, :name => 'mutator'},
1441
2107
  CELL => {:type => ::Thrift::Types::STRUCT, :name => 'cell', :class => Hypertable::ThriftGen::Cell}
@@ -1446,13 +2112,13 @@ require 'client_types'
1446
2112
  def validate
1447
2113
  end
1448
2114
 
2115
+ ::Thrift::Struct.generate_accessors self
1449
2116
  end
1450
2117
 
1451
2118
  class Set_cell_result
1452
- include ::Thrift::Struct
2119
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1453
2120
  E = 1
1454
2121
 
1455
- ::Thrift::Struct.field_accessor self, :e
1456
2122
  FIELDS = {
1457
2123
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
1458
2124
  }
@@ -1462,14 +2128,14 @@ require 'client_types'
1462
2128
  def validate
1463
2129
  end
1464
2130
 
2131
+ ::Thrift::Struct.generate_accessors self
1465
2132
  end
1466
2133
 
1467
2134
  class Set_cell_as_array_args
1468
- include ::Thrift::Struct
2135
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1469
2136
  MUTATOR = 1
1470
2137
  CELL = 2
1471
2138
 
1472
- ::Thrift::Struct.field_accessor self, :mutator, :cell
1473
2139
  FIELDS = {
1474
2140
  MUTATOR => {:type => ::Thrift::Types::I64, :name => 'mutator'},
1475
2141
  CELL => {:type => ::Thrift::Types::LIST, :name => 'cell', :element => {:type => ::Thrift::Types::STRING}}
@@ -1480,13 +2146,13 @@ require 'client_types'
1480
2146
  def validate
1481
2147
  end
1482
2148
 
2149
+ ::Thrift::Struct.generate_accessors self
1483
2150
  end
1484
2151
 
1485
2152
  class Set_cell_as_array_result
1486
- include ::Thrift::Struct
2153
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1487
2154
  E = 1
1488
2155
 
1489
- ::Thrift::Struct.field_accessor self, :e
1490
2156
  FIELDS = {
1491
2157
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
1492
2158
  }
@@ -1496,14 +2162,14 @@ require 'client_types'
1496
2162
  def validate
1497
2163
  end
1498
2164
 
2165
+ ::Thrift::Struct.generate_accessors self
1499
2166
  end
1500
2167
 
1501
2168
  class Set_cells_args
1502
- include ::Thrift::Struct
2169
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1503
2170
  MUTATOR = 1
1504
2171
  CELLS = 2
1505
2172
 
1506
- ::Thrift::Struct.field_accessor self, :mutator, :cells
1507
2173
  FIELDS = {
1508
2174
  MUTATOR => {:type => ::Thrift::Types::I64, :name => 'mutator'},
1509
2175
  CELLS => {:type => ::Thrift::Types::LIST, :name => 'cells', :element => {:type => ::Thrift::Types::STRUCT, :class => Hypertable::ThriftGen::Cell}}
@@ -1514,13 +2180,13 @@ require 'client_types'
1514
2180
  def validate
1515
2181
  end
1516
2182
 
2183
+ ::Thrift::Struct.generate_accessors self
1517
2184
  end
1518
2185
 
1519
2186
  class Set_cells_result
1520
- include ::Thrift::Struct
2187
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1521
2188
  E = 1
1522
2189
 
1523
- ::Thrift::Struct.field_accessor self, :e
1524
2190
  FIELDS = {
1525
2191
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
1526
2192
  }
@@ -1530,14 +2196,14 @@ require 'client_types'
1530
2196
  def validate
1531
2197
  end
1532
2198
 
2199
+ ::Thrift::Struct.generate_accessors self
1533
2200
  end
1534
2201
 
1535
2202
  class Set_cells_as_arrays_args
1536
- include ::Thrift::Struct
2203
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1537
2204
  MUTATOR = 1
1538
2205
  CELLS = 2
1539
2206
 
1540
- ::Thrift::Struct.field_accessor self, :mutator, :cells
1541
2207
  FIELDS = {
1542
2208
  MUTATOR => {:type => ::Thrift::Types::I64, :name => 'mutator'},
1543
2209
  CELLS => {:type => ::Thrift::Types::LIST, :name => 'cells', :element => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::STRING}}}
@@ -1548,13 +2214,13 @@ require 'client_types'
1548
2214
  def validate
1549
2215
  end
1550
2216
 
2217
+ ::Thrift::Struct.generate_accessors self
1551
2218
  end
1552
2219
 
1553
2220
  class Set_cells_as_arrays_result
1554
- include ::Thrift::Struct
2221
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1555
2222
  E = 1
1556
2223
 
1557
- ::Thrift::Struct.field_accessor self, :e
1558
2224
  FIELDS = {
1559
2225
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
1560
2226
  }
@@ -1564,13 +2230,49 @@ require 'client_types'
1564
2230
  def validate
1565
2231
  end
1566
2232
 
2233
+ ::Thrift::Struct.generate_accessors self
2234
+ end
2235
+
2236
+ class Set_cells_serialized_args
2237
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2238
+ MUTATOR = 1
2239
+ CELLS = 2
2240
+ FLUSH = 3
2241
+
2242
+ FIELDS = {
2243
+ MUTATOR => {:type => ::Thrift::Types::I64, :name => 'mutator'},
2244
+ CELLS => {:type => ::Thrift::Types::STRING, :name => 'cells', :binary => true},
2245
+ FLUSH => {:type => ::Thrift::Types::BOOL, :name => 'flush', :default => false}
2246
+ }
2247
+
2248
+ def struct_fields; FIELDS; end
2249
+
2250
+ def validate
2251
+ end
2252
+
2253
+ ::Thrift::Struct.generate_accessors self
2254
+ end
2255
+
2256
+ class Set_cells_serialized_result
2257
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2258
+ E = 1
2259
+
2260
+ FIELDS = {
2261
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
2262
+ }
2263
+
2264
+ def struct_fields; FIELDS; end
2265
+
2266
+ def validate
2267
+ end
2268
+
2269
+ ::Thrift::Struct.generate_accessors self
1567
2270
  end
1568
2271
 
1569
2272
  class Flush_mutator_args
1570
- include ::Thrift::Struct
2273
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1571
2274
  MUTATOR = 1
1572
2275
 
1573
- ::Thrift::Struct.field_accessor self, :mutator
1574
2276
  FIELDS = {
1575
2277
  MUTATOR => {:type => ::Thrift::Types::I64, :name => 'mutator'}
1576
2278
  }
@@ -1580,14 +2282,48 @@ require 'client_types'
1580
2282
  def validate
1581
2283
  end
1582
2284
 
2285
+ ::Thrift::Struct.generate_accessors self
1583
2286
  end
1584
2287
 
1585
2288
  class Flush_mutator_result
1586
- include ::Thrift::Struct
2289
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2290
+ E = 1
2291
+
2292
+ FIELDS = {
2293
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
2294
+ }
2295
+
2296
+ def struct_fields; FIELDS; end
2297
+
2298
+ def validate
2299
+ end
2300
+
2301
+ ::Thrift::Struct.generate_accessors self
2302
+ end
2303
+
2304
+ class Exists_namespace_args
2305
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2306
+ NS = 1
2307
+
2308
+ FIELDS = {
2309
+ NS => {:type => ::Thrift::Types::STRING, :name => 'ns'}
2310
+ }
2311
+
2312
+ def struct_fields; FIELDS; end
2313
+
2314
+ def validate
2315
+ end
2316
+
2317
+ ::Thrift::Struct.generate_accessors self
2318
+ end
2319
+
2320
+ class Exists_namespace_result
2321
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2322
+ SUCCESS = 0
1587
2323
  E = 1
1588
2324
 
1589
- ::Thrift::Struct.field_accessor self, :e
1590
2325
  FIELDS = {
2326
+ SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
1591
2327
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
1592
2328
  }
1593
2329
 
@@ -1596,14 +2332,16 @@ require 'client_types'
1596
2332
  def validate
1597
2333
  end
1598
2334
 
2335
+ ::Thrift::Struct.generate_accessors self
1599
2336
  end
1600
2337
 
1601
2338
  class Exists_table_args
1602
- include ::Thrift::Struct
1603
- NAME = 1
2339
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2340
+ NS = 1
2341
+ NAME = 2
1604
2342
 
1605
- ::Thrift::Struct.field_accessor self, :name
1606
2343
  FIELDS = {
2344
+ NS => {:type => ::Thrift::Types::I64, :name => 'ns'},
1607
2345
  NAME => {:type => ::Thrift::Types::STRING, :name => 'name'}
1608
2346
  }
1609
2347
 
@@ -1612,14 +2350,14 @@ require 'client_types'
1612
2350
  def validate
1613
2351
  end
1614
2352
 
2353
+ ::Thrift::Struct.generate_accessors self
1615
2354
  end
1616
2355
 
1617
2356
  class Exists_table_result
1618
- include ::Thrift::Struct
2357
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1619
2358
  SUCCESS = 0
1620
2359
  E = 1
1621
2360
 
1622
- ::Thrift::Struct.field_accessor self, :success, :e
1623
2361
  FIELDS = {
1624
2362
  SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
1625
2363
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
@@ -1630,15 +2368,17 @@ require 'client_types'
1630
2368
  def validate
1631
2369
  end
1632
2370
 
2371
+ ::Thrift::Struct.generate_accessors self
1633
2372
  end
1634
2373
 
1635
2374
  class Get_table_id_args
1636
- include ::Thrift::Struct
1637
- NAME = 1
2375
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2376
+ NS = 1
2377
+ TABLE_NAME = 2
1638
2378
 
1639
- ::Thrift::Struct.field_accessor self, :name
1640
2379
  FIELDS = {
1641
- NAME => {:type => ::Thrift::Types::STRING, :name => 'name'}
2380
+ NS => {:type => ::Thrift::Types::I64, :name => 'ns'},
2381
+ TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'}
1642
2382
  }
1643
2383
 
1644
2384
  def struct_fields; FIELDS; end
@@ -1646,16 +2386,16 @@ require 'client_types'
1646
2386
  def validate
1647
2387
  end
1648
2388
 
2389
+ ::Thrift::Struct.generate_accessors self
1649
2390
  end
1650
2391
 
1651
2392
  class Get_table_id_result
1652
- include ::Thrift::Struct
2393
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1653
2394
  SUCCESS = 0
1654
2395
  E = 1
1655
2396
 
1656
- ::Thrift::Struct.field_accessor self, :success, :e
1657
2397
  FIELDS = {
1658
- SUCCESS => {:type => ::Thrift::Types::I32, :name => 'success'},
2398
+ SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success'},
1659
2399
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
1660
2400
  }
1661
2401
 
@@ -1664,15 +2404,53 @@ require 'client_types'
1664
2404
  def validate
1665
2405
  end
1666
2406
 
2407
+ ::Thrift::Struct.generate_accessors self
2408
+ end
2409
+
2410
+ class Get_schema_str_args
2411
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2412
+ NS = 1
2413
+ TABLE_NAME = 2
2414
+
2415
+ FIELDS = {
2416
+ NS => {:type => ::Thrift::Types::I64, :name => 'ns'},
2417
+ TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'}
2418
+ }
2419
+
2420
+ def struct_fields; FIELDS; end
2421
+
2422
+ def validate
2423
+ end
2424
+
2425
+ ::Thrift::Struct.generate_accessors self
2426
+ end
2427
+
2428
+ class Get_schema_str_result
2429
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2430
+ SUCCESS = 0
2431
+ E = 1
2432
+
2433
+ FIELDS = {
2434
+ SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success'},
2435
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
2436
+ }
2437
+
2438
+ def struct_fields; FIELDS; end
2439
+
2440
+ def validate
2441
+ end
2442
+
2443
+ ::Thrift::Struct.generate_accessors self
1667
2444
  end
1668
2445
 
1669
2446
  class Get_schema_args
1670
- include ::Thrift::Struct
1671
- NAME = 1
2447
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2448
+ NS = 1
2449
+ TABLE_NAME = 2
1672
2450
 
1673
- ::Thrift::Struct.field_accessor self, :name
1674
2451
  FIELDS = {
1675
- NAME => {:type => ::Thrift::Types::STRING, :name => 'name'}
2452
+ NS => {:type => ::Thrift::Types::I64, :name => 'ns'},
2453
+ TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'}
1676
2454
  }
1677
2455
 
1678
2456
  def struct_fields; FIELDS; end
@@ -1680,16 +2458,16 @@ require 'client_types'
1680
2458
  def validate
1681
2459
  end
1682
2460
 
2461
+ ::Thrift::Struct.generate_accessors self
1683
2462
  end
1684
2463
 
1685
2464
  class Get_schema_result
1686
- include ::Thrift::Struct
2465
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1687
2466
  SUCCESS = 0
1688
2467
  E = 1
1689
2468
 
1690
- ::Thrift::Struct.field_accessor self, :success, :e
1691
2469
  FIELDS = {
1692
- SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success'},
2470
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => Hypertable::ThriftGen::Schema},
1693
2471
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
1694
2472
  }
1695
2473
 
@@ -1698,13 +2476,15 @@ require 'client_types'
1698
2476
  def validate
1699
2477
  end
1700
2478
 
2479
+ ::Thrift::Struct.generate_accessors self
1701
2480
  end
1702
2481
 
1703
2482
  class Get_tables_args
1704
- include ::Thrift::Struct
2483
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2484
+ NS = 1
1705
2485
 
1706
2486
  FIELDS = {
1707
-
2487
+ NS => {:type => ::Thrift::Types::I64, :name => 'ns'}
1708
2488
  }
1709
2489
 
1710
2490
  def struct_fields; FIELDS; end
@@ -1712,14 +2492,14 @@ require 'client_types'
1712
2492
  def validate
1713
2493
  end
1714
2494
 
2495
+ ::Thrift::Struct.generate_accessors self
1715
2496
  end
1716
2497
 
1717
2498
  class Get_tables_result
1718
- include ::Thrift::Struct
2499
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1719
2500
  SUCCESS = 0
1720
2501
  E = 1
1721
2502
 
1722
- ::Thrift::Struct.field_accessor self, :success, :e
1723
2503
  FIELDS = {
1724
2504
  SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
1725
2505
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
@@ -1730,15 +2510,51 @@ require 'client_types'
1730
2510
  def validate
1731
2511
  end
1732
2512
 
2513
+ ::Thrift::Struct.generate_accessors self
2514
+ end
2515
+
2516
+ class Get_listing_args
2517
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2518
+ NS = 1
2519
+
2520
+ FIELDS = {
2521
+ NS => {:type => ::Thrift::Types::I64, :name => 'ns'}
2522
+ }
2523
+
2524
+ def struct_fields; FIELDS; end
2525
+
2526
+ def validate
2527
+ end
2528
+
2529
+ ::Thrift::Struct.generate_accessors self
2530
+ end
2531
+
2532
+ class Get_listing_result
2533
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2534
+ SUCCESS = 0
2535
+ E = 1
2536
+
2537
+ FIELDS = {
2538
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => Hypertable::ThriftGen::NamespaceListing}},
2539
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
2540
+ }
2541
+
2542
+ def struct_fields; FIELDS; end
2543
+
2544
+ def validate
2545
+ end
2546
+
2547
+ ::Thrift::Struct.generate_accessors self
1733
2548
  end
1734
2549
 
1735
2550
  class Get_table_splits_args
1736
- include ::Thrift::Struct
1737
- NAME = 1
2551
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2552
+ NS = 1
2553
+ TABLE_NAME = 2
1738
2554
 
1739
- ::Thrift::Struct.field_accessor self, :name
1740
2555
  FIELDS = {
1741
- NAME => {:type => ::Thrift::Types::STRING, :name => 'name'}
2556
+ NS => {:type => ::Thrift::Types::I64, :name => 'ns'},
2557
+ TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'}
1742
2558
  }
1743
2559
 
1744
2560
  def struct_fields; FIELDS; end
@@ -1746,14 +2562,14 @@ require 'client_types'
1746
2562
  def validate
1747
2563
  end
1748
2564
 
2565
+ ::Thrift::Struct.generate_accessors self
1749
2566
  end
1750
2567
 
1751
2568
  class Get_table_splits_result
1752
- include ::Thrift::Struct
2569
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1753
2570
  SUCCESS = 0
1754
2571
  E = 1
1755
2572
 
1756
- ::Thrift::Struct.field_accessor self, :success, :e
1757
2573
  FIELDS = {
1758
2574
  SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => Hypertable::ThriftGen::TableSplit}},
1759
2575
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
@@ -1764,15 +2580,87 @@ require 'client_types'
1764
2580
  def validate
1765
2581
  end
1766
2582
 
2583
+ ::Thrift::Struct.generate_accessors self
1767
2584
  end
1768
2585
 
1769
- class Drop_table_args
1770
- include ::Thrift::Struct
1771
- NAME = 1
2586
+ class Drop_namespace_args
2587
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2588
+ NS = 1
1772
2589
  IF_EXISTS = 2
1773
2590
 
1774
- ::Thrift::Struct.field_accessor self, :name, :if_exists
1775
2591
  FIELDS = {
2592
+ NS => {:type => ::Thrift::Types::STRING, :name => 'ns'},
2593
+ IF_EXISTS => {:type => ::Thrift::Types::BOOL, :name => 'if_exists', :default => true}
2594
+ }
2595
+
2596
+ def struct_fields; FIELDS; end
2597
+
2598
+ def validate
2599
+ end
2600
+
2601
+ ::Thrift::Struct.generate_accessors self
2602
+ end
2603
+
2604
+ class Drop_namespace_result
2605
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2606
+ E = 1
2607
+
2608
+ FIELDS = {
2609
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
2610
+ }
2611
+
2612
+ def struct_fields; FIELDS; end
2613
+
2614
+ def validate
2615
+ end
2616
+
2617
+ ::Thrift::Struct.generate_accessors self
2618
+ end
2619
+
2620
+ class Rename_table_args
2621
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2622
+ NS = 1
2623
+ NAME = 2
2624
+ NEW_NAME = 3
2625
+
2626
+ FIELDS = {
2627
+ NS => {:type => ::Thrift::Types::I64, :name => 'ns'},
2628
+ NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
2629
+ NEW_NAME => {:type => ::Thrift::Types::STRING, :name => 'new_name'}
2630
+ }
2631
+
2632
+ def struct_fields; FIELDS; end
2633
+
2634
+ def validate
2635
+ end
2636
+
2637
+ ::Thrift::Struct.generate_accessors self
2638
+ end
2639
+
2640
+ class Rename_table_result
2641
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2642
+ E = 1
2643
+
2644
+ FIELDS = {
2645
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
2646
+ }
2647
+
2648
+ def struct_fields; FIELDS; end
2649
+
2650
+ def validate
2651
+ end
2652
+
2653
+ ::Thrift::Struct.generate_accessors self
2654
+ end
2655
+
2656
+ class Drop_table_args
2657
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2658
+ NS = 1
2659
+ NAME = 2
2660
+ IF_EXISTS = 3
2661
+
2662
+ FIELDS = {
2663
+ NS => {:type => ::Thrift::Types::I64, :name => 'ns'},
1776
2664
  NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
1777
2665
  IF_EXISTS => {:type => ::Thrift::Types::BOOL, :name => 'if_exists', :default => true}
1778
2666
  }
@@ -1782,13 +2670,13 @@ require 'client_types'
1782
2670
  def validate
1783
2671
  end
1784
2672
 
2673
+ ::Thrift::Struct.generate_accessors self
1785
2674
  end
1786
2675
 
1787
2676
  class Drop_table_result
1788
- include ::Thrift::Struct
2677
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1789
2678
  E = 1
1790
2679
 
1791
- ::Thrift::Struct.field_accessor self, :e
1792
2680
  FIELDS = {
1793
2681
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => Hypertable::ThriftGen::ClientException}
1794
2682
  }
@@ -1798,6 +2686,7 @@ require 'client_types'
1798
2686
  def validate
1799
2687
  end
1800
2688
 
2689
+ ::Thrift::Struct.generate_accessors self
1801
2690
  end
1802
2691
 
1803
2692
  end