rbhive 0.2.95 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,892 @@
1
+ #
2
+ # Autogenerated by Thrift Compiler (0.9.0)
3
+ #
4
+ # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
+ #
6
+
7
+ require 'thrift'
8
+ require_relative 't_c_l_i_service_types'
9
+
10
+ module Hive2
11
+ module Thrift
12
+ module TCLIService
13
+ class Client
14
+ include ::Thrift::Client
15
+
16
+ def OpenSession(req)
17
+ send_OpenSession(req)
18
+ return recv_OpenSession()
19
+ end
20
+
21
+ def send_OpenSession(req)
22
+ send_message('OpenSession', OpenSession_args, :req => req)
23
+ end
24
+
25
+ def recv_OpenSession()
26
+ result = receive_message(OpenSession_result)
27
+ return result.success unless result.success.nil?
28
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'OpenSession failed: unknown result')
29
+ end
30
+
31
+ def CloseSession(req)
32
+ send_CloseSession(req)
33
+ return recv_CloseSession()
34
+ end
35
+
36
+ def send_CloseSession(req)
37
+ send_message('CloseSession', CloseSession_args, :req => req)
38
+ end
39
+
40
+ def recv_CloseSession()
41
+ result = receive_message(CloseSession_result)
42
+ return result.success unless result.success.nil?
43
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'CloseSession failed: unknown result')
44
+ end
45
+
46
+ def GetInfo(req)
47
+ send_GetInfo(req)
48
+ return recv_GetInfo()
49
+ end
50
+
51
+ def send_GetInfo(req)
52
+ send_message('GetInfo', GetInfo_args, :req => req)
53
+ end
54
+
55
+ def recv_GetInfo()
56
+ result = receive_message(GetInfo_result)
57
+ return result.success unless result.success.nil?
58
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetInfo failed: unknown result')
59
+ end
60
+
61
+ def ExecuteStatement(req)
62
+ send_ExecuteStatement(req)
63
+ return recv_ExecuteStatement()
64
+ end
65
+
66
+ def send_ExecuteStatement(req)
67
+ send_message('ExecuteStatement', ExecuteStatement_args, :req => req)
68
+ end
69
+
70
+ def recv_ExecuteStatement()
71
+ result = receive_message(ExecuteStatement_result)
72
+ return result.success unless result.success.nil?
73
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'ExecuteStatement failed: unknown result')
74
+ end
75
+
76
+ def GetTypeInfo(req)
77
+ send_GetTypeInfo(req)
78
+ return recv_GetTypeInfo()
79
+ end
80
+
81
+ def send_GetTypeInfo(req)
82
+ send_message('GetTypeInfo', GetTypeInfo_args, :req => req)
83
+ end
84
+
85
+ def recv_GetTypeInfo()
86
+ result = receive_message(GetTypeInfo_result)
87
+ return result.success unless result.success.nil?
88
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetTypeInfo failed: unknown result')
89
+ end
90
+
91
+ def GetCatalogs(req)
92
+ send_GetCatalogs(req)
93
+ return recv_GetCatalogs()
94
+ end
95
+
96
+ def send_GetCatalogs(req)
97
+ send_message('GetCatalogs', GetCatalogs_args, :req => req)
98
+ end
99
+
100
+ def recv_GetCatalogs()
101
+ result = receive_message(GetCatalogs_result)
102
+ return result.success unless result.success.nil?
103
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetCatalogs failed: unknown result')
104
+ end
105
+
106
+ def GetSchemas(req)
107
+ send_GetSchemas(req)
108
+ return recv_GetSchemas()
109
+ end
110
+
111
+ def send_GetSchemas(req)
112
+ send_message('GetSchemas', GetSchemas_args, :req => req)
113
+ end
114
+
115
+ def recv_GetSchemas()
116
+ result = receive_message(GetSchemas_result)
117
+ return result.success unless result.success.nil?
118
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetSchemas failed: unknown result')
119
+ end
120
+
121
+ def GetTables(req)
122
+ send_GetTables(req)
123
+ return recv_GetTables()
124
+ end
125
+
126
+ def send_GetTables(req)
127
+ send_message('GetTables', GetTables_args, :req => req)
128
+ end
129
+
130
+ def recv_GetTables()
131
+ result = receive_message(GetTables_result)
132
+ return result.success unless result.success.nil?
133
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetTables failed: unknown result')
134
+ end
135
+
136
+ def GetTableTypes(req)
137
+ send_GetTableTypes(req)
138
+ return recv_GetTableTypes()
139
+ end
140
+
141
+ def send_GetTableTypes(req)
142
+ send_message('GetTableTypes', GetTableTypes_args, :req => req)
143
+ end
144
+
145
+ def recv_GetTableTypes()
146
+ result = receive_message(GetTableTypes_result)
147
+ return result.success unless result.success.nil?
148
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetTableTypes failed: unknown result')
149
+ end
150
+
151
+ def GetColumns(req)
152
+ send_GetColumns(req)
153
+ return recv_GetColumns()
154
+ end
155
+
156
+ def send_GetColumns(req)
157
+ send_message('GetColumns', GetColumns_args, :req => req)
158
+ end
159
+
160
+ def recv_GetColumns()
161
+ result = receive_message(GetColumns_result)
162
+ return result.success unless result.success.nil?
163
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetColumns failed: unknown result')
164
+ end
165
+
166
+ def GetFunctions(req)
167
+ send_GetFunctions(req)
168
+ return recv_GetFunctions()
169
+ end
170
+
171
+ def send_GetFunctions(req)
172
+ send_message('GetFunctions', GetFunctions_args, :req => req)
173
+ end
174
+
175
+ def recv_GetFunctions()
176
+ result = receive_message(GetFunctions_result)
177
+ return result.success unless result.success.nil?
178
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetFunctions failed: unknown result')
179
+ end
180
+
181
+ def GetOperationStatus(req)
182
+ send_GetOperationStatus(req)
183
+ return recv_GetOperationStatus()
184
+ end
185
+
186
+ def send_GetOperationStatus(req)
187
+ send_message('GetOperationStatus', GetOperationStatus_args, :req => req)
188
+ end
189
+
190
+ def recv_GetOperationStatus()
191
+ result = receive_message(GetOperationStatus_result)
192
+ return result.success unless result.success.nil?
193
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetOperationStatus failed: unknown result')
194
+ end
195
+
196
+ def CancelOperation(req)
197
+ send_CancelOperation(req)
198
+ return recv_CancelOperation()
199
+ end
200
+
201
+ def send_CancelOperation(req)
202
+ send_message('CancelOperation', CancelOperation_args, :req => req)
203
+ end
204
+
205
+ def recv_CancelOperation()
206
+ result = receive_message(CancelOperation_result)
207
+ return result.success unless result.success.nil?
208
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'CancelOperation failed: unknown result')
209
+ end
210
+
211
+ def CloseOperation(req)
212
+ send_CloseOperation(req)
213
+ return recv_CloseOperation()
214
+ end
215
+
216
+ def send_CloseOperation(req)
217
+ send_message('CloseOperation', CloseOperation_args, :req => req)
218
+ end
219
+
220
+ def recv_CloseOperation()
221
+ result = receive_message(CloseOperation_result)
222
+ return result.success unless result.success.nil?
223
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'CloseOperation failed: unknown result')
224
+ end
225
+
226
+ def GetResultSetMetadata(req)
227
+ send_GetResultSetMetadata(req)
228
+ return recv_GetResultSetMetadata()
229
+ end
230
+
231
+ def send_GetResultSetMetadata(req)
232
+ send_message('GetResultSetMetadata', GetResultSetMetadata_args, :req => req)
233
+ end
234
+
235
+ def recv_GetResultSetMetadata()
236
+ result = receive_message(GetResultSetMetadata_result)
237
+ return result.success unless result.success.nil?
238
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetResultSetMetadata failed: unknown result')
239
+ end
240
+
241
+ def FetchResults(req)
242
+ send_FetchResults(req)
243
+ return recv_FetchResults()
244
+ end
245
+
246
+ def send_FetchResults(req)
247
+ send_message('FetchResults', FetchResults_args, :req => req)
248
+ end
249
+
250
+ def recv_FetchResults()
251
+ result = receive_message(FetchResults_result)
252
+ return result.success unless result.success.nil?
253
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'FetchResults failed: unknown result')
254
+ end
255
+
256
+ end
257
+
258
+ class Processor
259
+ include ::Thrift::Processor
260
+
261
+ def process_OpenSession(seqid, iprot, oprot)
262
+ args = read_args(iprot, OpenSession_args)
263
+ result = OpenSession_result.new()
264
+ result.success = @handler.OpenSession(args.req)
265
+ write_result(result, oprot, 'OpenSession', seqid)
266
+ end
267
+
268
+ def process_CloseSession(seqid, iprot, oprot)
269
+ args = read_args(iprot, CloseSession_args)
270
+ result = CloseSession_result.new()
271
+ result.success = @handler.CloseSession(args.req)
272
+ write_result(result, oprot, 'CloseSession', seqid)
273
+ end
274
+
275
+ def process_GetInfo(seqid, iprot, oprot)
276
+ args = read_args(iprot, GetInfo_args)
277
+ result = GetInfo_result.new()
278
+ result.success = @handler.GetInfo(args.req)
279
+ write_result(result, oprot, 'GetInfo', seqid)
280
+ end
281
+
282
+ def process_ExecuteStatement(seqid, iprot, oprot)
283
+ args = read_args(iprot, ExecuteStatement_args)
284
+ result = ExecuteStatement_result.new()
285
+ result.success = @handler.ExecuteStatement(args.req)
286
+ write_result(result, oprot, 'ExecuteStatement', seqid)
287
+ end
288
+
289
+ def process_GetTypeInfo(seqid, iprot, oprot)
290
+ args = read_args(iprot, GetTypeInfo_args)
291
+ result = GetTypeInfo_result.new()
292
+ result.success = @handler.GetTypeInfo(args.req)
293
+ write_result(result, oprot, 'GetTypeInfo', seqid)
294
+ end
295
+
296
+ def process_GetCatalogs(seqid, iprot, oprot)
297
+ args = read_args(iprot, GetCatalogs_args)
298
+ result = GetCatalogs_result.new()
299
+ result.success = @handler.GetCatalogs(args.req)
300
+ write_result(result, oprot, 'GetCatalogs', seqid)
301
+ end
302
+
303
+ def process_GetSchemas(seqid, iprot, oprot)
304
+ args = read_args(iprot, GetSchemas_args)
305
+ result = GetSchemas_result.new()
306
+ result.success = @handler.GetSchemas(args.req)
307
+ write_result(result, oprot, 'GetSchemas', seqid)
308
+ end
309
+
310
+ def process_GetTables(seqid, iprot, oprot)
311
+ args = read_args(iprot, GetTables_args)
312
+ result = GetTables_result.new()
313
+ result.success = @handler.GetTables(args.req)
314
+ write_result(result, oprot, 'GetTables', seqid)
315
+ end
316
+
317
+ def process_GetTableTypes(seqid, iprot, oprot)
318
+ args = read_args(iprot, GetTableTypes_args)
319
+ result = GetTableTypes_result.new()
320
+ result.success = @handler.GetTableTypes(args.req)
321
+ write_result(result, oprot, 'GetTableTypes', seqid)
322
+ end
323
+
324
+ def process_GetColumns(seqid, iprot, oprot)
325
+ args = read_args(iprot, GetColumns_args)
326
+ result = GetColumns_result.new()
327
+ result.success = @handler.GetColumns(args.req)
328
+ write_result(result, oprot, 'GetColumns', seqid)
329
+ end
330
+
331
+ def process_GetFunctions(seqid, iprot, oprot)
332
+ args = read_args(iprot, GetFunctions_args)
333
+ result = GetFunctions_result.new()
334
+ result.success = @handler.GetFunctions(args.req)
335
+ write_result(result, oprot, 'GetFunctions', seqid)
336
+ end
337
+
338
+ def process_GetOperationStatus(seqid, iprot, oprot)
339
+ args = read_args(iprot, GetOperationStatus_args)
340
+ result = GetOperationStatus_result.new()
341
+ result.success = @handler.GetOperationStatus(args.req)
342
+ write_result(result, oprot, 'GetOperationStatus', seqid)
343
+ end
344
+
345
+ def process_CancelOperation(seqid, iprot, oprot)
346
+ args = read_args(iprot, CancelOperation_args)
347
+ result = CancelOperation_result.new()
348
+ result.success = @handler.CancelOperation(args.req)
349
+ write_result(result, oprot, 'CancelOperation', seqid)
350
+ end
351
+
352
+ def process_CloseOperation(seqid, iprot, oprot)
353
+ args = read_args(iprot, CloseOperation_args)
354
+ result = CloseOperation_result.new()
355
+ result.success = @handler.CloseOperation(args.req)
356
+ write_result(result, oprot, 'CloseOperation', seqid)
357
+ end
358
+
359
+ def process_GetResultSetMetadata(seqid, iprot, oprot)
360
+ args = read_args(iprot, GetResultSetMetadata_args)
361
+ result = GetResultSetMetadata_result.new()
362
+ result.success = @handler.GetResultSetMetadata(args.req)
363
+ write_result(result, oprot, 'GetResultSetMetadata', seqid)
364
+ end
365
+
366
+ def process_FetchResults(seqid, iprot, oprot)
367
+ args = read_args(iprot, FetchResults_args)
368
+ result = FetchResults_result.new()
369
+ result.success = @handler.FetchResults(args.req)
370
+ write_result(result, oprot, 'FetchResults', seqid)
371
+ end
372
+
373
+ end
374
+
375
+ # HELPER FUNCTIONS AND STRUCTURES
376
+
377
+ class OpenSession_args
378
+ include ::Thrift::Struct, ::Thrift::Struct_Union
379
+ REQ = 1
380
+
381
+ FIELDS = {
382
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TOpenSessionReq}
383
+ }
384
+
385
+ def struct_fields; FIELDS; end
386
+
387
+ def validate
388
+ end
389
+
390
+ ::Thrift::Struct.generate_accessors self
391
+ end
392
+
393
+ class OpenSession_result
394
+ include ::Thrift::Struct, ::Thrift::Struct_Union
395
+ SUCCESS = 0
396
+
397
+ FIELDS = {
398
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TOpenSessionResp}
399
+ }
400
+
401
+ def struct_fields; FIELDS; end
402
+
403
+ def validate
404
+ end
405
+
406
+ ::Thrift::Struct.generate_accessors self
407
+ end
408
+
409
+ class CloseSession_args
410
+ include ::Thrift::Struct, ::Thrift::Struct_Union
411
+ REQ = 1
412
+
413
+ FIELDS = {
414
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TCloseSessionReq}
415
+ }
416
+
417
+ def struct_fields; FIELDS; end
418
+
419
+ def validate
420
+ end
421
+
422
+ ::Thrift::Struct.generate_accessors self
423
+ end
424
+
425
+ class CloseSession_result
426
+ include ::Thrift::Struct, ::Thrift::Struct_Union
427
+ SUCCESS = 0
428
+
429
+ FIELDS = {
430
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TCloseSessionResp}
431
+ }
432
+
433
+ def struct_fields; FIELDS; end
434
+
435
+ def validate
436
+ end
437
+
438
+ ::Thrift::Struct.generate_accessors self
439
+ end
440
+
441
+ class GetInfo_args
442
+ include ::Thrift::Struct, ::Thrift::Struct_Union
443
+ REQ = 1
444
+
445
+ FIELDS = {
446
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TGetInfoReq}
447
+ }
448
+
449
+ def struct_fields; FIELDS; end
450
+
451
+ def validate
452
+ end
453
+
454
+ ::Thrift::Struct.generate_accessors self
455
+ end
456
+
457
+ class GetInfo_result
458
+ include ::Thrift::Struct, ::Thrift::Struct_Union
459
+ SUCCESS = 0
460
+
461
+ FIELDS = {
462
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TGetInfoResp}
463
+ }
464
+
465
+ def struct_fields; FIELDS; end
466
+
467
+ def validate
468
+ end
469
+
470
+ ::Thrift::Struct.generate_accessors self
471
+ end
472
+
473
+ class ExecuteStatement_args
474
+ include ::Thrift::Struct, ::Thrift::Struct_Union
475
+ REQ = 1
476
+
477
+ FIELDS = {
478
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TExecuteStatementReq}
479
+ }
480
+
481
+ def struct_fields; FIELDS; end
482
+
483
+ def validate
484
+ end
485
+
486
+ ::Thrift::Struct.generate_accessors self
487
+ end
488
+
489
+ class ExecuteStatement_result
490
+ include ::Thrift::Struct, ::Thrift::Struct_Union
491
+ SUCCESS = 0
492
+
493
+ FIELDS = {
494
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TExecuteStatementResp}
495
+ }
496
+
497
+ def struct_fields; FIELDS; end
498
+
499
+ def validate
500
+ end
501
+
502
+ ::Thrift::Struct.generate_accessors self
503
+ end
504
+
505
+ class GetTypeInfo_args
506
+ include ::Thrift::Struct, ::Thrift::Struct_Union
507
+ REQ = 1
508
+
509
+ FIELDS = {
510
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TGetTypeInfoReq}
511
+ }
512
+
513
+ def struct_fields; FIELDS; end
514
+
515
+ def validate
516
+ end
517
+
518
+ ::Thrift::Struct.generate_accessors self
519
+ end
520
+
521
+ class GetTypeInfo_result
522
+ include ::Thrift::Struct, ::Thrift::Struct_Union
523
+ SUCCESS = 0
524
+
525
+ FIELDS = {
526
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TGetTypeInfoResp}
527
+ }
528
+
529
+ def struct_fields; FIELDS; end
530
+
531
+ def validate
532
+ end
533
+
534
+ ::Thrift::Struct.generate_accessors self
535
+ end
536
+
537
+ class GetCatalogs_args
538
+ include ::Thrift::Struct, ::Thrift::Struct_Union
539
+ REQ = 1
540
+
541
+ FIELDS = {
542
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TGetCatalogsReq}
543
+ }
544
+
545
+ def struct_fields; FIELDS; end
546
+
547
+ def validate
548
+ end
549
+
550
+ ::Thrift::Struct.generate_accessors self
551
+ end
552
+
553
+ class GetCatalogs_result
554
+ include ::Thrift::Struct, ::Thrift::Struct_Union
555
+ SUCCESS = 0
556
+
557
+ FIELDS = {
558
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TGetCatalogsResp}
559
+ }
560
+
561
+ def struct_fields; FIELDS; end
562
+
563
+ def validate
564
+ end
565
+
566
+ ::Thrift::Struct.generate_accessors self
567
+ end
568
+
569
+ class GetSchemas_args
570
+ include ::Thrift::Struct, ::Thrift::Struct_Union
571
+ REQ = 1
572
+
573
+ FIELDS = {
574
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TGetSchemasReq}
575
+ }
576
+
577
+ def struct_fields; FIELDS; end
578
+
579
+ def validate
580
+ end
581
+
582
+ ::Thrift::Struct.generate_accessors self
583
+ end
584
+
585
+ class GetSchemas_result
586
+ include ::Thrift::Struct, ::Thrift::Struct_Union
587
+ SUCCESS = 0
588
+
589
+ FIELDS = {
590
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TGetSchemasResp}
591
+ }
592
+
593
+ def struct_fields; FIELDS; end
594
+
595
+ def validate
596
+ end
597
+
598
+ ::Thrift::Struct.generate_accessors self
599
+ end
600
+
601
+ class GetTables_args
602
+ include ::Thrift::Struct, ::Thrift::Struct_Union
603
+ REQ = 1
604
+
605
+ FIELDS = {
606
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TGetTablesReq}
607
+ }
608
+
609
+ def struct_fields; FIELDS; end
610
+
611
+ def validate
612
+ end
613
+
614
+ ::Thrift::Struct.generate_accessors self
615
+ end
616
+
617
+ class GetTables_result
618
+ include ::Thrift::Struct, ::Thrift::Struct_Union
619
+ SUCCESS = 0
620
+
621
+ FIELDS = {
622
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TGetTablesResp}
623
+ }
624
+
625
+ def struct_fields; FIELDS; end
626
+
627
+ def validate
628
+ end
629
+
630
+ ::Thrift::Struct.generate_accessors self
631
+ end
632
+
633
+ class GetTableTypes_args
634
+ include ::Thrift::Struct, ::Thrift::Struct_Union
635
+ REQ = 1
636
+
637
+ FIELDS = {
638
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TGetTableTypesReq}
639
+ }
640
+
641
+ def struct_fields; FIELDS; end
642
+
643
+ def validate
644
+ end
645
+
646
+ ::Thrift::Struct.generate_accessors self
647
+ end
648
+
649
+ class GetTableTypes_result
650
+ include ::Thrift::Struct, ::Thrift::Struct_Union
651
+ SUCCESS = 0
652
+
653
+ FIELDS = {
654
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TGetTableTypesResp}
655
+ }
656
+
657
+ def struct_fields; FIELDS; end
658
+
659
+ def validate
660
+ end
661
+
662
+ ::Thrift::Struct.generate_accessors self
663
+ end
664
+
665
+ class GetColumns_args
666
+ include ::Thrift::Struct, ::Thrift::Struct_Union
667
+ REQ = 1
668
+
669
+ FIELDS = {
670
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TGetColumnsReq}
671
+ }
672
+
673
+ def struct_fields; FIELDS; end
674
+
675
+ def validate
676
+ end
677
+
678
+ ::Thrift::Struct.generate_accessors self
679
+ end
680
+
681
+ class GetColumns_result
682
+ include ::Thrift::Struct, ::Thrift::Struct_Union
683
+ SUCCESS = 0
684
+
685
+ FIELDS = {
686
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TGetColumnsResp}
687
+ }
688
+
689
+ def struct_fields; FIELDS; end
690
+
691
+ def validate
692
+ end
693
+
694
+ ::Thrift::Struct.generate_accessors self
695
+ end
696
+
697
+ class GetFunctions_args
698
+ include ::Thrift::Struct, ::Thrift::Struct_Union
699
+ REQ = 1
700
+
701
+ FIELDS = {
702
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TGetFunctionsReq}
703
+ }
704
+
705
+ def struct_fields; FIELDS; end
706
+
707
+ def validate
708
+ end
709
+
710
+ ::Thrift::Struct.generate_accessors self
711
+ end
712
+
713
+ class GetFunctions_result
714
+ include ::Thrift::Struct, ::Thrift::Struct_Union
715
+ SUCCESS = 0
716
+
717
+ FIELDS = {
718
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TGetFunctionsResp}
719
+ }
720
+
721
+ def struct_fields; FIELDS; end
722
+
723
+ def validate
724
+ end
725
+
726
+ ::Thrift::Struct.generate_accessors self
727
+ end
728
+
729
+ class GetOperationStatus_args
730
+ include ::Thrift::Struct, ::Thrift::Struct_Union
731
+ REQ = 1
732
+
733
+ FIELDS = {
734
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TGetOperationStatusReq}
735
+ }
736
+
737
+ def struct_fields; FIELDS; end
738
+
739
+ def validate
740
+ end
741
+
742
+ ::Thrift::Struct.generate_accessors self
743
+ end
744
+
745
+ class GetOperationStatus_result
746
+ include ::Thrift::Struct, ::Thrift::Struct_Union
747
+ SUCCESS = 0
748
+
749
+ FIELDS = {
750
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TGetOperationStatusResp}
751
+ }
752
+
753
+ def struct_fields; FIELDS; end
754
+
755
+ def validate
756
+ end
757
+
758
+ ::Thrift::Struct.generate_accessors self
759
+ end
760
+
761
+ class CancelOperation_args
762
+ include ::Thrift::Struct, ::Thrift::Struct_Union
763
+ REQ = 1
764
+
765
+ FIELDS = {
766
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TCancelOperationReq}
767
+ }
768
+
769
+ def struct_fields; FIELDS; end
770
+
771
+ def validate
772
+ end
773
+
774
+ ::Thrift::Struct.generate_accessors self
775
+ end
776
+
777
+ class CancelOperation_result
778
+ include ::Thrift::Struct, ::Thrift::Struct_Union
779
+ SUCCESS = 0
780
+
781
+ FIELDS = {
782
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TCancelOperationResp}
783
+ }
784
+
785
+ def struct_fields; FIELDS; end
786
+
787
+ def validate
788
+ end
789
+
790
+ ::Thrift::Struct.generate_accessors self
791
+ end
792
+
793
+ class CloseOperation_args
794
+ include ::Thrift::Struct, ::Thrift::Struct_Union
795
+ REQ = 1
796
+
797
+ FIELDS = {
798
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TCloseOperationReq}
799
+ }
800
+
801
+ def struct_fields; FIELDS; end
802
+
803
+ def validate
804
+ end
805
+
806
+ ::Thrift::Struct.generate_accessors self
807
+ end
808
+
809
+ class CloseOperation_result
810
+ include ::Thrift::Struct, ::Thrift::Struct_Union
811
+ SUCCESS = 0
812
+
813
+ FIELDS = {
814
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TCloseOperationResp}
815
+ }
816
+
817
+ def struct_fields; FIELDS; end
818
+
819
+ def validate
820
+ end
821
+
822
+ ::Thrift::Struct.generate_accessors self
823
+ end
824
+
825
+ class GetResultSetMetadata_args
826
+ include ::Thrift::Struct, ::Thrift::Struct_Union
827
+ REQ = 1
828
+
829
+ FIELDS = {
830
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TGetResultSetMetadataReq}
831
+ }
832
+
833
+ def struct_fields; FIELDS; end
834
+
835
+ def validate
836
+ end
837
+
838
+ ::Thrift::Struct.generate_accessors self
839
+ end
840
+
841
+ class GetResultSetMetadata_result
842
+ include ::Thrift::Struct, ::Thrift::Struct_Union
843
+ SUCCESS = 0
844
+
845
+ FIELDS = {
846
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TGetResultSetMetadataResp}
847
+ }
848
+
849
+ def struct_fields; FIELDS; end
850
+
851
+ def validate
852
+ end
853
+
854
+ ::Thrift::Struct.generate_accessors self
855
+ end
856
+
857
+ class FetchResults_args
858
+ include ::Thrift::Struct, ::Thrift::Struct_Union
859
+ REQ = 1
860
+
861
+ FIELDS = {
862
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TFetchResultsReq}
863
+ }
864
+
865
+ def struct_fields; FIELDS; end
866
+
867
+ def validate
868
+ end
869
+
870
+ ::Thrift::Struct.generate_accessors self
871
+ end
872
+
873
+ class FetchResults_result
874
+ include ::Thrift::Struct, ::Thrift::Struct_Union
875
+ SUCCESS = 0
876
+
877
+ FIELDS = {
878
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TFetchResultsResp}
879
+ }
880
+
881
+ def struct_fields; FIELDS; end
882
+
883
+ def validate
884
+ end
885
+
886
+ ::Thrift::Struct.generate_accessors self
887
+ end
888
+
889
+ end
890
+
891
+ end
892
+ end