sequel-impala 1.0.1 → 1.1.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.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +45 -0
  3. data/lib/impala.rb +14 -6
  4. data/lib/impala/connection.rb +46 -23
  5. data/lib/impala/cursor.rb +48 -4
  6. data/lib/impala/progress_reporter.rb +40 -0
  7. data/lib/impala/protocol/beeswax_constants.rb +1 -1
  8. data/lib/impala/protocol/beeswax_service.rb +1 -20
  9. data/lib/impala/protocol/beeswax_types.rb +1 -1
  10. data/lib/impala/protocol/exec_stats_constants.rb +13 -0
  11. data/lib/impala/protocol/exec_stats_types.rb +133 -0
  12. data/lib/impala/protocol/facebook_service.rb +3 -3
  13. data/lib/impala/protocol/fb303_constants.rb +1 -1
  14. data/lib/impala/protocol/fb303_types.rb +1 -1
  15. data/lib/impala/protocol/hive_metastore_constants.rb +1 -1
  16. data/lib/impala/protocol/hive_metastore_types.rb +1 -1
  17. data/lib/impala/protocol/impala_hive_server2_service.rb +111 -3
  18. data/lib/impala/protocol/impala_service.rb +67 -1
  19. data/lib/impala/protocol/impala_service_constants.rb +1 -1
  20. data/lib/impala/protocol/impala_service_types.rb +109 -7
  21. data/lib/impala/protocol/status_constants.rb +1 -1
  22. data/lib/impala/protocol/status_types.rb +1 -1
  23. data/lib/impala/protocol/t_c_l_i_service.rb +884 -724
  24. data/lib/impala/protocol/t_c_l_i_service_constants.rb +72 -0
  25. data/lib/impala/protocol/t_c_l_i_service_types.rb +1799 -0
  26. data/lib/impala/protocol/thrift_hive_metastore.rb +1 -1
  27. data/lib/impala/protocol/types_constants.rb +13 -0
  28. data/lib/impala/protocol/types_types.rb +332 -0
  29. data/lib/impala/sasl_transport.rb +117 -0
  30. data/lib/impala/thrift_patch.rb +42 -0
  31. data/lib/rbhive/connection.rb +25 -25
  32. data/lib/rbhive/explain_result.rb +9 -9
  33. data/lib/rbhive/schema_definition.rb +12 -12
  34. data/lib/rbhive/t_c_l_i_connection.rb +28 -26
  35. data/lib/rbhive/t_c_l_i_schema_definition.rb +1 -1
  36. data/lib/rbhive/table_schema.rb +1 -1
  37. data/lib/sequel/adapters/impala.rb +63 -6
  38. data/lib/sequel/adapters/jdbc/hive2.rb +1 -1
  39. data/lib/sequel/adapters/rbhive.rb +3 -2
  40. data/lib/sequel/adapters/shared/impala.rb +133 -25
  41. data/lib/thrift/sasl_client_transport.rb +2 -2
  42. data/lib/thrift/thrift_hive.rb +2 -2
  43. data/lib/thrift/thrift_hive_metastore.rb +2 -2
  44. data/spec/dataset_test.rb +85 -85
  45. data/spec/files/bad_timestamped_migrations/1273253849_create_sessions.rb +1 -1
  46. data/spec/files/bad_timestamped_migrations/1273253851_create_nodes.rb +1 -1
  47. data/spec/files/convert_to_timestamp_migrations/001_create_sessions.rb +1 -1
  48. data/spec/files/convert_to_timestamp_migrations/002_create_nodes.rb +1 -1
  49. data/spec/files/convert_to_timestamp_migrations/1273253850_create_artists.rb +1 -1
  50. data/spec/files/convert_to_timestamp_migrations/1273253852_create_albums.rb +1 -1
  51. data/spec/files/duplicate_timestamped_migrations/1273253849_create_sessions.rb +1 -1
  52. data/spec/files/duplicate_timestamped_migrations/1273253853_create_nodes.rb +1 -1
  53. data/spec/files/integer_migrations/001_create_sessions.rb +1 -1
  54. data/spec/files/integer_migrations/002_create_nodes.rb +1 -1
  55. data/spec/files/interleaved_timestamped_migrations/1273253849_create_sessions.rb +1 -1
  56. data/spec/files/interleaved_timestamped_migrations/1273253850_create_artists.rb +1 -1
  57. data/spec/files/interleaved_timestamped_migrations/1273253851_create_nodes.rb +1 -1
  58. data/spec/files/interleaved_timestamped_migrations/1273253852_create_albums.rb +1 -1
  59. data/spec/files/timestamped_migrations/1273253849_create_sessions.rb +1 -1
  60. data/spec/files/timestamped_migrations/1273253851_create_nodes.rb +1 -1
  61. data/spec/migrator_test.rb +2 -2
  62. data/spec/prepared_statement_test.rb +12 -12
  63. data/spec/schema_test.rb +6 -6
  64. data/spec/type_test.rb +8 -8
  65. metadata +30 -11
  66. data/CHANGELOG +0 -19
  67. data/lib/impala/protocol/cli_service_constants.rb +0 -60
  68. data/lib/impala/protocol/cli_service_types.rb +0 -1452
@@ -1,5 +1,5 @@
1
1
  #
2
- # Autogenerated by Thrift Compiler (0.9.1)
2
+ # Autogenerated by Thrift Compiler (0.9.3)
3
3
  #
4
4
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
5
  #
@@ -183,14 +183,14 @@ module Impala
183
183
  end
184
184
 
185
185
  def send_reinitialize()
186
- send_message('reinitialize', Reinitialize_args)
186
+ send_oneway_message('reinitialize', Reinitialize_args)
187
187
  end
188
188
  def shutdown()
189
189
  send_shutdown()
190
190
  end
191
191
 
192
192
  def send_shutdown()
193
- send_message('shutdown', Shutdown_args)
193
+ send_oneway_message('shutdown', Shutdown_args)
194
194
  end
195
195
  end
196
196
 
@@ -1,5 +1,5 @@
1
1
  #
2
- # Autogenerated by Thrift Compiler (0.9.1)
2
+ # Autogenerated by Thrift Compiler (0.9.3)
3
3
  #
4
4
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
5
  #
@@ -1,5 +1,5 @@
1
1
  #
2
- # Autogenerated by Thrift Compiler (0.9.1)
2
+ # Autogenerated by Thrift Compiler (0.9.3)
3
3
  #
4
4
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
5
  #
@@ -1,5 +1,5 @@
1
1
  #
2
- # Autogenerated by Thrift Compiler (0.9.1)
2
+ # Autogenerated by Thrift Compiler (0.9.3)
3
3
  #
4
4
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
5
  #
@@ -1,5 +1,5 @@
1
1
  #
2
- # Autogenerated by Thrift Compiler (0.9.1)
2
+ # Autogenerated by Thrift Compiler (0.9.3)
3
3
  #
4
4
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
5
  #
@@ -1,5 +1,5 @@
1
1
  #
2
- # Autogenerated by Thrift Compiler (0.9.1)
2
+ # Autogenerated by Thrift Compiler (0.9.3)
3
3
  #
4
4
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
5
  #
@@ -11,18 +11,126 @@ require 'impala_service_types'
11
11
  module Impala
12
12
  module Protocol
13
13
  module ImpalaHiveServer2Service
14
- class Client < ::Impala::Protocol::Hive::TCLIService::Client
14
+ class Client < ::Impala::Protocol::TCLIService::Client
15
15
  include ::Thrift::Client
16
16
 
17
+ def GetExecSummary(req)
18
+ send_GetExecSummary(req)
19
+ return recv_GetExecSummary()
20
+ end
21
+
22
+ def send_GetExecSummary(req)
23
+ send_message('GetExecSummary', GetExecSummary_args, :req => req)
24
+ end
25
+
26
+ def recv_GetExecSummary()
27
+ result = receive_message(GetExecSummary_result)
28
+ return result.success unless result.success.nil?
29
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetExecSummary failed: unknown result')
30
+ end
31
+
32
+ def GetRuntimeProfile(req)
33
+ send_GetRuntimeProfile(req)
34
+ return recv_GetRuntimeProfile()
35
+ end
36
+
37
+ def send_GetRuntimeProfile(req)
38
+ send_message('GetRuntimeProfile', GetRuntimeProfile_args, :req => req)
39
+ end
40
+
41
+ def recv_GetRuntimeProfile()
42
+ result = receive_message(GetRuntimeProfile_result)
43
+ return result.success unless result.success.nil?
44
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetRuntimeProfile failed: unknown result')
45
+ end
46
+
17
47
  end
18
48
 
19
- class Processor < ::Impala::Protocol::Hive::TCLIService::Processor
49
+ class Processor < ::Impala::Protocol::TCLIService::Processor
20
50
  include ::Thrift::Processor
21
51
 
52
+ def process_GetExecSummary(seqid, iprot, oprot)
53
+ args = read_args(iprot, GetExecSummary_args)
54
+ result = GetExecSummary_result.new()
55
+ result.success = @handler.GetExecSummary(args.req)
56
+ write_result(result, oprot, 'GetExecSummary', seqid)
57
+ end
58
+
59
+ def process_GetRuntimeProfile(seqid, iprot, oprot)
60
+ args = read_args(iprot, GetRuntimeProfile_args)
61
+ result = GetRuntimeProfile_result.new()
62
+ result.success = @handler.GetRuntimeProfile(args.req)
63
+ write_result(result, oprot, 'GetRuntimeProfile', seqid)
64
+ end
65
+
22
66
  end
23
67
 
24
68
  # HELPER FUNCTIONS AND STRUCTURES
25
69
 
70
+ class GetExecSummary_args
71
+ include ::Thrift::Struct, ::Thrift::Struct_Union
72
+ REQ = 1
73
+
74
+ FIELDS = {
75
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::TGetExecSummaryReq}
76
+ }
77
+
78
+ def struct_fields; FIELDS; end
79
+
80
+ def validate
81
+ end
82
+
83
+ ::Thrift::Struct.generate_accessors self
84
+ end
85
+
86
+ class GetExecSummary_result
87
+ include ::Thrift::Struct, ::Thrift::Struct_Union
88
+ SUCCESS = 0
89
+
90
+ FIELDS = {
91
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::TGetExecSummaryResp}
92
+ }
93
+
94
+ def struct_fields; FIELDS; end
95
+
96
+ def validate
97
+ end
98
+
99
+ ::Thrift::Struct.generate_accessors self
100
+ end
101
+
102
+ class GetRuntimeProfile_args
103
+ include ::Thrift::Struct, ::Thrift::Struct_Union
104
+ REQ = 1
105
+
106
+ FIELDS = {
107
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::TGetRuntimeProfileReq}
108
+ }
109
+
110
+ def struct_fields; FIELDS; end
111
+
112
+ def validate
113
+ end
114
+
115
+ ::Thrift::Struct.generate_accessors self
116
+ end
117
+
118
+ class GetRuntimeProfile_result
119
+ include ::Thrift::Struct, ::Thrift::Struct_Union
120
+ SUCCESS = 0
121
+
122
+ FIELDS = {
123
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::TGetRuntimeProfileResp}
124
+ }
125
+
126
+ def struct_fields; FIELDS; end
127
+
128
+ def validate
129
+ end
130
+
131
+ ::Thrift::Struct.generate_accessors self
132
+ end
133
+
26
134
  end
27
135
 
28
136
  end
@@ -1,5 +1,5 @@
1
1
  #
2
- # Autogenerated by Thrift Compiler (0.9.1)
2
+ # Autogenerated by Thrift Compiler (0.9.3)
3
3
  #
4
4
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
5
  #
@@ -108,6 +108,23 @@ module Impala
108
108
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'PingImpalaService failed: unknown result')
109
109
  end
110
110
 
111
+ def GetExecSummary(handle)
112
+ send_GetExecSummary(handle)
113
+ return recv_GetExecSummary()
114
+ end
115
+
116
+ def send_GetExecSummary(handle)
117
+ send_message('GetExecSummary', GetExecSummary_args, :handle => handle)
118
+ end
119
+
120
+ def recv_GetExecSummary()
121
+ result = receive_message(GetExecSummary_result)
122
+ return result.success unless result.success.nil?
123
+ raise result.error unless result.error.nil?
124
+ raise result.error2 unless result.error2.nil?
125
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetExecSummary failed: unknown result')
126
+ end
127
+
111
128
  end
112
129
 
113
130
  class Processor < ::Impala::Protocol::Beeswax::BeeswaxService::Processor
@@ -169,6 +186,19 @@ module Impala
169
186
  write_result(result, oprot, 'PingImpalaService', seqid)
170
187
  end
171
188
 
189
+ def process_GetExecSummary(seqid, iprot, oprot)
190
+ args = read_args(iprot, GetExecSummary_args)
191
+ result = GetExecSummary_result.new()
192
+ begin
193
+ result.success = @handler.GetExecSummary(args.handle)
194
+ rescue ::Impala::Protocol::Beeswax::QueryNotFoundException => error
195
+ result.error = error
196
+ rescue ::Impala::Protocol::Beeswax::BeeswaxException => error2
197
+ result.error2 = error2
198
+ end
199
+ write_result(result, oprot, 'GetExecSummary', seqid)
200
+ end
201
+
172
202
  end
173
203
 
174
204
  # HELPER FUNCTIONS AND STRUCTURES
@@ -371,6 +401,42 @@ module Impala
371
401
  ::Thrift::Struct.generate_accessors self
372
402
  end
373
403
 
404
+ class GetExecSummary_args
405
+ include ::Thrift::Struct, ::Thrift::Struct_Union
406
+ HANDLE = 1
407
+
408
+ FIELDS = {
409
+ HANDLE => {:type => ::Thrift::Types::STRUCT, :name => 'handle', :class => ::Impala::Protocol::Beeswax::QueryHandle}
410
+ }
411
+
412
+ def struct_fields; FIELDS; end
413
+
414
+ def validate
415
+ end
416
+
417
+ ::Thrift::Struct.generate_accessors self
418
+ end
419
+
420
+ class GetExecSummary_result
421
+ include ::Thrift::Struct, ::Thrift::Struct_Union
422
+ SUCCESS = 0
423
+ ERROR = 1
424
+ ERROR2 = 2
425
+
426
+ FIELDS = {
427
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::TExecSummary},
428
+ ERROR => {:type => ::Thrift::Types::STRUCT, :name => 'error', :class => ::Impala::Protocol::Beeswax::QueryNotFoundException},
429
+ ERROR2 => {:type => ::Thrift::Types::STRUCT, :name => 'error2', :class => ::Impala::Protocol::Beeswax::BeeswaxException}
430
+ }
431
+
432
+ def struct_fields; FIELDS; end
433
+
434
+ def validate
435
+ end
436
+
437
+ ::Thrift::Struct.generate_accessors self
438
+ end
439
+
374
440
  end
375
441
 
376
442
  end
@@ -1,5 +1,5 @@
1
1
  #
2
- # Autogenerated by Thrift Compiler (0.9.1)
2
+ # Autogenerated by Thrift Compiler (0.9.3)
3
3
  #
4
4
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
5
  #
@@ -1,13 +1,15 @@
1
1
  #
2
- # Autogenerated by Thrift Compiler (0.9.1)
2
+ # Autogenerated by Thrift Compiler (0.9.3)
3
3
  #
4
4
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
5
  #
6
6
 
7
7
  require 'thrift'
8
+ require 'exec_stats_types'
8
9
  require 'status_types'
10
+ require 'types_types'
9
11
  require 'beeswax_types'
10
- require 'cli_service_types'
12
+ require 't_c_l_i_service_types'
11
13
 
12
14
 
13
15
  module Impala
@@ -26,11 +28,37 @@ module Impala
26
28
  DEFAULT_ORDER_BY_LIMIT = 10
27
29
  DEBUG_ACTION = 11
28
30
  ABORT_ON_DEFAULT_LIMIT_EXCEEDED = 12
29
- PARQUET_COMPRESSION_CODEC = 13
30
- HBASE_CACHING = 14
31
- HBASE_CACHE_BLOCKS = 15
32
- VALUE_MAP = {0 => "ABORT_ON_ERROR", 1 => "MAX_ERRORS", 2 => "DISABLE_CODEGEN", 3 => "BATCH_SIZE", 4 => "MEM_LIMIT", 5 => "NUM_NODES", 6 => "MAX_SCAN_RANGE_LENGTH", 7 => "MAX_IO_BUFFERS", 8 => "NUM_SCANNER_THREADS", 9 => "ALLOW_UNSUPPORTED_FORMATS", 10 => "DEFAULT_ORDER_BY_LIMIT", 11 => "DEBUG_ACTION", 12 => "ABORT_ON_DEFAULT_LIMIT_EXCEEDED", 13 => "PARQUET_COMPRESSION_CODEC", 14 => "HBASE_CACHING", 15 => "HBASE_CACHE_BLOCKS"}
33
- VALID_VALUES = Set.new([ABORT_ON_ERROR, MAX_ERRORS, DISABLE_CODEGEN, BATCH_SIZE, MEM_LIMIT, NUM_NODES, MAX_SCAN_RANGE_LENGTH, MAX_IO_BUFFERS, NUM_SCANNER_THREADS, ALLOW_UNSUPPORTED_FORMATS, DEFAULT_ORDER_BY_LIMIT, DEBUG_ACTION, ABORT_ON_DEFAULT_LIMIT_EXCEEDED, PARQUET_COMPRESSION_CODEC, HBASE_CACHING, HBASE_CACHE_BLOCKS]).freeze
31
+ COMPRESSION_CODEC = 13
32
+ SEQ_COMPRESSION_MODE = 14
33
+ HBASE_CACHING = 15
34
+ HBASE_CACHE_BLOCKS = 16
35
+ PARQUET_FILE_SIZE = 17
36
+ EXPLAIN_LEVEL = 18
37
+ SYNC_DDL = 19
38
+ REQUEST_POOL = 20
39
+ V_CPU_CORES = 21
40
+ RESERVATION_REQUEST_TIMEOUT = 22
41
+ DISABLE_CACHED_READS = 23
42
+ DISABLE_OUTERMOST_TOPN = 24
43
+ RM_INITIAL_MEM = 25
44
+ QUERY_TIMEOUT_S = 26
45
+ MAX_BLOCK_MGR_MEMORY = 27
46
+ APPX_COUNT_DISTINCT = 28
47
+ DISABLE_UNSAFE_SPILLS = 29
48
+ EXEC_SINGLE_NODE_ROWS_THRESHOLD = 30
49
+ OPTIMIZE_PARTITION_KEY_SCANS = 31
50
+ REPLICA_PREFERENCE = 32
51
+ RANDOM_REPLICA = 33
52
+ SCAN_NODE_CODEGEN_THRESHOLD = 34
53
+ DISABLE_STREAMING_PREAGGREGATIONS = 35
54
+ RUNTIME_FILTER_MODE = 36
55
+ RUNTIME_BLOOM_FILTER_SIZE = 37
56
+ RUNTIME_FILTER_WAIT_TIME_MS = 38
57
+ DISABLE_ROW_RUNTIME_FILTERING = 39
58
+ MAX_NUM_RUNTIME_FILTERS = 40
59
+ PARQUET_ANNOTATE_STRINGS_UTF8 = 41
60
+ VALUE_MAP = {0 => "ABORT_ON_ERROR", 1 => "MAX_ERRORS", 2 => "DISABLE_CODEGEN", 3 => "BATCH_SIZE", 4 => "MEM_LIMIT", 5 => "NUM_NODES", 6 => "MAX_SCAN_RANGE_LENGTH", 7 => "MAX_IO_BUFFERS", 8 => "NUM_SCANNER_THREADS", 9 => "ALLOW_UNSUPPORTED_FORMATS", 10 => "DEFAULT_ORDER_BY_LIMIT", 11 => "DEBUG_ACTION", 12 => "ABORT_ON_DEFAULT_LIMIT_EXCEEDED", 13 => "COMPRESSION_CODEC", 14 => "SEQ_COMPRESSION_MODE", 15 => "HBASE_CACHING", 16 => "HBASE_CACHE_BLOCKS", 17 => "PARQUET_FILE_SIZE", 18 => "EXPLAIN_LEVEL", 19 => "SYNC_DDL", 20 => "REQUEST_POOL", 21 => "V_CPU_CORES", 22 => "RESERVATION_REQUEST_TIMEOUT", 23 => "DISABLE_CACHED_READS", 24 => "DISABLE_OUTERMOST_TOPN", 25 => "RM_INITIAL_MEM", 26 => "QUERY_TIMEOUT_S", 27 => "MAX_BLOCK_MGR_MEMORY", 28 => "APPX_COUNT_DISTINCT", 29 => "DISABLE_UNSAFE_SPILLS", 30 => "EXEC_SINGLE_NODE_ROWS_THRESHOLD", 31 => "OPTIMIZE_PARTITION_KEY_SCANS", 32 => "REPLICA_PREFERENCE", 33 => "RANDOM_REPLICA", 34 => "SCAN_NODE_CODEGEN_THRESHOLD", 35 => "DISABLE_STREAMING_PREAGGREGATIONS", 36 => "RUNTIME_FILTER_MODE", 37 => "RUNTIME_BLOOM_FILTER_SIZE", 38 => "RUNTIME_FILTER_WAIT_TIME_MS", 39 => "DISABLE_ROW_RUNTIME_FILTERING", 40 => "MAX_NUM_RUNTIME_FILTERS", 41 => "PARQUET_ANNOTATE_STRINGS_UTF8"}
61
+ VALID_VALUES = Set.new([ABORT_ON_ERROR, MAX_ERRORS, DISABLE_CODEGEN, BATCH_SIZE, MEM_LIMIT, NUM_NODES, MAX_SCAN_RANGE_LENGTH, MAX_IO_BUFFERS, NUM_SCANNER_THREADS, ALLOW_UNSUPPORTED_FORMATS, DEFAULT_ORDER_BY_LIMIT, DEBUG_ACTION, ABORT_ON_DEFAULT_LIMIT_EXCEEDED, COMPRESSION_CODEC, SEQ_COMPRESSION_MODE, HBASE_CACHING, HBASE_CACHE_BLOCKS, PARQUET_FILE_SIZE, EXPLAIN_LEVEL, SYNC_DDL, REQUEST_POOL, V_CPU_CORES, RESERVATION_REQUEST_TIMEOUT, DISABLE_CACHED_READS, DISABLE_OUTERMOST_TOPN, RM_INITIAL_MEM, QUERY_TIMEOUT_S, MAX_BLOCK_MGR_MEMORY, APPX_COUNT_DISTINCT, DISABLE_UNSAFE_SPILLS, EXEC_SINGLE_NODE_ROWS_THRESHOLD, OPTIMIZE_PARTITION_KEY_SCANS, REPLICA_PREFERENCE, RANDOM_REPLICA, SCAN_NODE_CODEGEN_THRESHOLD, DISABLE_STREAMING_PREAGGREGATIONS, RUNTIME_FILTER_MODE, RUNTIME_BLOOM_FILTER_SIZE, RUNTIME_FILTER_WAIT_TIME_MS, DISABLE_ROW_RUNTIME_FILTERING, MAX_NUM_RUNTIME_FILTERS, PARQUET_ANNOTATE_STRINGS_UTF8]).freeze
34
62
  end
35
63
 
36
64
  class TInsertResult
@@ -86,5 +114,79 @@ module Impala
86
114
  ::Thrift::Struct.generate_accessors self
87
115
  end
88
116
 
117
+ class TGetExecSummaryReq
118
+ include ::Thrift::Struct, ::Thrift::Struct_Union
119
+ OPERATIONHANDLE = 1
120
+ SESSIONHANDLE = 2
121
+
122
+ FIELDS = {
123
+ OPERATIONHANDLE => {:type => ::Thrift::Types::STRUCT, :name => 'operationHandle', :class => ::Impala::Protocol::TOperationHandle, :optional => true},
124
+ SESSIONHANDLE => {:type => ::Thrift::Types::STRUCT, :name => 'sessionHandle', :class => ::Impala::Protocol::TSessionHandle, :optional => true}
125
+ }
126
+
127
+ def struct_fields; FIELDS; end
128
+
129
+ def validate
130
+ end
131
+
132
+ ::Thrift::Struct.generate_accessors self
133
+ end
134
+
135
+ class TGetExecSummaryResp
136
+ include ::Thrift::Struct, ::Thrift::Struct_Union
137
+ STATUS = 1
138
+ SUMMARY = 2
139
+
140
+ FIELDS = {
141
+ STATUS => {:type => ::Thrift::Types::STRUCT, :name => 'status', :class => ::Impala::Protocol::TStatus},
142
+ SUMMARY => {:type => ::Thrift::Types::STRUCT, :name => 'summary', :class => ::Impala::Protocol::TExecSummary, :optional => true}
143
+ }
144
+
145
+ def struct_fields; FIELDS; end
146
+
147
+ def validate
148
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field status is unset!') unless @status
149
+ end
150
+
151
+ ::Thrift::Struct.generate_accessors self
152
+ end
153
+
154
+ class TGetRuntimeProfileReq
155
+ include ::Thrift::Struct, ::Thrift::Struct_Union
156
+ OPERATIONHANDLE = 1
157
+ SESSIONHANDLE = 2
158
+
159
+ FIELDS = {
160
+ OPERATIONHANDLE => {:type => ::Thrift::Types::STRUCT, :name => 'operationHandle', :class => ::Impala::Protocol::TOperationHandle, :optional => true},
161
+ SESSIONHANDLE => {:type => ::Thrift::Types::STRUCT, :name => 'sessionHandle', :class => ::Impala::Protocol::TSessionHandle, :optional => true}
162
+ }
163
+
164
+ def struct_fields; FIELDS; end
165
+
166
+ def validate
167
+ end
168
+
169
+ ::Thrift::Struct.generate_accessors self
170
+ end
171
+
172
+ class TGetRuntimeProfileResp
173
+ include ::Thrift::Struct, ::Thrift::Struct_Union
174
+ STATUS = 1
175
+ PROFILE = 2
176
+
177
+ FIELDS = {
178
+ STATUS => {:type => ::Thrift::Types::STRUCT, :name => 'status', :class => ::Impala::Protocol::TStatus},
179
+ PROFILE => {:type => ::Thrift::Types::STRING, :name => 'profile', :optional => true}
180
+ }
181
+
182
+ def struct_fields; FIELDS; end
183
+
184
+ def validate
185
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field status is unset!') unless @status
186
+ end
187
+
188
+ ::Thrift::Struct.generate_accessors self
189
+ end
190
+
89
191
  end
90
192
  end
@@ -1,5 +1,5 @@
1
1
  #
2
- # Autogenerated by Thrift Compiler (0.9.1)
2
+ # Autogenerated by Thrift Compiler (0.9.3)
3
3
  #
4
4
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
5
  #
@@ -1,5 +1,5 @@
1
1
  #
2
- # Autogenerated by Thrift Compiler (0.9.1)
2
+ # Autogenerated by Thrift Compiler (0.9.3)
3
3
  #
4
4
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
5
  #
@@ -1,948 +1,1108 @@
1
1
  #
2
- # Autogenerated by Thrift Compiler (0.9.1)
2
+ # Autogenerated by Thrift Compiler (0.9.3)
3
3
  #
4
4
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
5
  #
6
6
 
7
7
  require 'thrift'
8
- require 'cli_service_types'
8
+ require 't_c_l_i_service_types'
9
9
 
10
10
  module Impala
11
11
  module Protocol
12
- module Hive
13
- module TCLIService
14
- class Client
15
- include ::Thrift::Client
16
-
17
- def OpenSession(req)
18
- send_OpenSession(req)
19
- return recv_OpenSession()
20
- end
21
-
22
- def send_OpenSession(req)
23
- send_message('OpenSession', OpenSession_args, :req => req)
24
- end
25
-
26
- def recv_OpenSession()
27
- result = receive_message(OpenSession_result)
28
- return result.success unless result.success.nil?
29
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'OpenSession failed: unknown result')
30
- end
31
-
32
- def CloseSession(req)
33
- send_CloseSession(req)
34
- return recv_CloseSession()
35
- end
36
-
37
- def send_CloseSession(req)
38
- send_message('CloseSession', CloseSession_args, :req => req)
39
- end
40
-
41
- def recv_CloseSession()
42
- result = receive_message(CloseSession_result)
43
- return result.success unless result.success.nil?
44
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'CloseSession failed: unknown result')
45
- end
46
-
47
- def GetInfo(req)
48
- send_GetInfo(req)
49
- return recv_GetInfo()
50
- end
51
-
52
- def send_GetInfo(req)
53
- send_message('GetInfo', GetInfo_args, :req => req)
54
- end
55
-
56
- def recv_GetInfo()
57
- result = receive_message(GetInfo_result)
58
- return result.success unless result.success.nil?
59
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetInfo failed: unknown result')
60
- end
61
-
62
- def ExecuteStatement(req)
63
- send_ExecuteStatement(req)
64
- return recv_ExecuteStatement()
65
- end
66
-
67
- def send_ExecuteStatement(req)
68
- send_message('ExecuteStatement', ExecuteStatement_args, :req => req)
69
- end
70
-
71
- def recv_ExecuteStatement()
72
- result = receive_message(ExecuteStatement_result)
73
- return result.success unless result.success.nil?
74
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'ExecuteStatement failed: unknown result')
75
- end
76
-
77
- def GetTypeInfo(req)
78
- send_GetTypeInfo(req)
79
- return recv_GetTypeInfo()
80
- end
81
-
82
- def send_GetTypeInfo(req)
83
- send_message('GetTypeInfo', GetTypeInfo_args, :req => req)
84
- end
85
-
86
- def recv_GetTypeInfo()
87
- result = receive_message(GetTypeInfo_result)
88
- return result.success unless result.success.nil?
89
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetTypeInfo failed: unknown result')
90
- end
91
-
92
- def GetCatalogs(req)
93
- send_GetCatalogs(req)
94
- return recv_GetCatalogs()
95
- end
96
-
97
- def send_GetCatalogs(req)
98
- send_message('GetCatalogs', GetCatalogs_args, :req => req)
99
- end
100
-
101
- def recv_GetCatalogs()
102
- result = receive_message(GetCatalogs_result)
103
- return result.success unless result.success.nil?
104
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetCatalogs failed: unknown result')
105
- end
106
-
107
- def GetSchemas(req)
108
- send_GetSchemas(req)
109
- return recv_GetSchemas()
110
- end
111
-
112
- def send_GetSchemas(req)
113
- send_message('GetSchemas', GetSchemas_args, :req => req)
114
- end
115
-
116
- def recv_GetSchemas()
117
- result = receive_message(GetSchemas_result)
118
- return result.success unless result.success.nil?
119
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetSchemas failed: unknown result')
120
- end
121
-
122
- def GetTables(req)
123
- send_GetTables(req)
124
- return recv_GetTables()
125
- end
126
-
127
- def send_GetTables(req)
128
- send_message('GetTables', GetTables_args, :req => req)
129
- end
130
-
131
- def recv_GetTables()
132
- result = receive_message(GetTables_result)
133
- return result.success unless result.success.nil?
134
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetTables failed: unknown result')
135
- end
136
-
137
- def GetTableTypes(req)
138
- send_GetTableTypes(req)
139
- return recv_GetTableTypes()
140
- end
141
-
142
- def send_GetTableTypes(req)
143
- send_message('GetTableTypes', GetTableTypes_args, :req => req)
144
- end
145
-
146
- def recv_GetTableTypes()
147
- result = receive_message(GetTableTypes_result)
148
- return result.success unless result.success.nil?
149
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetTableTypes failed: unknown result')
150
- end
151
-
152
- def GetColumns(req)
153
- send_GetColumns(req)
154
- return recv_GetColumns()
155
- end
156
-
157
- def send_GetColumns(req)
158
- send_message('GetColumns', GetColumns_args, :req => req)
159
- end
160
-
161
- def recv_GetColumns()
162
- result = receive_message(GetColumns_result)
163
- return result.success unless result.success.nil?
164
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetColumns failed: unknown result')
165
- end
166
-
167
- def GetFunctions(req)
168
- send_GetFunctions(req)
169
- return recv_GetFunctions()
170
- end
171
-
172
- def send_GetFunctions(req)
173
- send_message('GetFunctions', GetFunctions_args, :req => req)
174
- end
175
-
176
- def recv_GetFunctions()
177
- result = receive_message(GetFunctions_result)
178
- return result.success unless result.success.nil?
179
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetFunctions failed: unknown result')
180
- end
181
-
182
- def GetOperationStatus(req)
183
- send_GetOperationStatus(req)
184
- return recv_GetOperationStatus()
185
- end
186
-
187
- def send_GetOperationStatus(req)
188
- send_message('GetOperationStatus', GetOperationStatus_args, :req => req)
189
- end
190
-
191
- def recv_GetOperationStatus()
192
- result = receive_message(GetOperationStatus_result)
193
- return result.success unless result.success.nil?
194
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetOperationStatus failed: unknown result')
195
- end
196
-
197
- def CancelOperation(req)
198
- send_CancelOperation(req)
199
- return recv_CancelOperation()
200
- end
201
-
202
- def send_CancelOperation(req)
203
- send_message('CancelOperation', CancelOperation_args, :req => req)
204
- end
205
-
206
- def recv_CancelOperation()
207
- result = receive_message(CancelOperation_result)
208
- return result.success unless result.success.nil?
209
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'CancelOperation failed: unknown result')
210
- end
211
-
212
- def CloseOperation(req)
213
- send_CloseOperation(req)
214
- return recv_CloseOperation()
215
- end
216
-
217
- def send_CloseOperation(req)
218
- send_message('CloseOperation', CloseOperation_args, :req => req)
219
- end
220
-
221
- def recv_CloseOperation()
222
- result = receive_message(CloseOperation_result)
223
- return result.success unless result.success.nil?
224
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'CloseOperation failed: unknown result')
225
- end
226
-
227
- def GetResultSetMetadata(req)
228
- send_GetResultSetMetadata(req)
229
- return recv_GetResultSetMetadata()
230
- end
231
-
232
- def send_GetResultSetMetadata(req)
233
- send_message('GetResultSetMetadata', GetResultSetMetadata_args, :req => req)
234
- end
235
-
236
- def recv_GetResultSetMetadata()
237
- result = receive_message(GetResultSetMetadata_result)
238
- return result.success unless result.success.nil?
239
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetResultSetMetadata failed: unknown result')
240
- end
241
-
242
- def FetchResults(req)
243
- send_FetchResults(req)
244
- return recv_FetchResults()
245
- end
246
-
247
- def send_FetchResults(req)
248
- send_message('FetchResults', FetchResults_args, :req => req)
249
- end
250
-
251
- def recv_FetchResults()
252
- result = receive_message(FetchResults_result)
253
- return result.success unless result.success.nil?
254
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'FetchResults failed: unknown result')
255
- end
256
-
257
- def GetLog(req)
258
- send_GetLog(req)
259
- return recv_GetLog()
260
- end
261
-
262
- def send_GetLog(req)
263
- send_message('GetLog', GetLog_args, :req => req)
264
- end
265
-
266
- def recv_GetLog()
267
- result = receive_message(GetLog_result)
268
- return result.success unless result.success.nil?
269
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetLog failed: unknown result')
270
- end
271
-
272
- end
273
-
274
- class Processor
275
- include ::Thrift::Processor
276
-
277
- def process_OpenSession(seqid, iprot, oprot)
278
- args = read_args(iprot, OpenSession_args)
279
- result = OpenSession_result.new()
280
- result.success = @handler.OpenSession(args.req)
281
- write_result(result, oprot, 'OpenSession', seqid)
282
- end
283
-
284
- def process_CloseSession(seqid, iprot, oprot)
285
- args = read_args(iprot, CloseSession_args)
286
- result = CloseSession_result.new()
287
- result.success = @handler.CloseSession(args.req)
288
- write_result(result, oprot, 'CloseSession', seqid)
289
- end
290
-
291
- def process_GetInfo(seqid, iprot, oprot)
292
- args = read_args(iprot, GetInfo_args)
293
- result = GetInfo_result.new()
294
- result.success = @handler.GetInfo(args.req)
295
- write_result(result, oprot, 'GetInfo', seqid)
296
- end
297
-
298
- def process_ExecuteStatement(seqid, iprot, oprot)
299
- args = read_args(iprot, ExecuteStatement_args)
300
- result = ExecuteStatement_result.new()
301
- result.success = @handler.ExecuteStatement(args.req)
302
- write_result(result, oprot, 'ExecuteStatement', seqid)
303
- end
304
-
305
- def process_GetTypeInfo(seqid, iprot, oprot)
306
- args = read_args(iprot, GetTypeInfo_args)
307
- result = GetTypeInfo_result.new()
308
- result.success = @handler.GetTypeInfo(args.req)
309
- write_result(result, oprot, 'GetTypeInfo', seqid)
310
- end
311
-
312
- def process_GetCatalogs(seqid, iprot, oprot)
313
- args = read_args(iprot, GetCatalogs_args)
314
- result = GetCatalogs_result.new()
315
- result.success = @handler.GetCatalogs(args.req)
316
- write_result(result, oprot, 'GetCatalogs', seqid)
317
- end
318
-
319
- def process_GetSchemas(seqid, iprot, oprot)
320
- args = read_args(iprot, GetSchemas_args)
321
- result = GetSchemas_result.new()
322
- result.success = @handler.GetSchemas(args.req)
323
- write_result(result, oprot, 'GetSchemas', seqid)
324
- end
325
-
326
- def process_GetTables(seqid, iprot, oprot)
327
- args = read_args(iprot, GetTables_args)
328
- result = GetTables_result.new()
329
- result.success = @handler.GetTables(args.req)
330
- write_result(result, oprot, 'GetTables', seqid)
331
- end
332
-
333
- def process_GetTableTypes(seqid, iprot, oprot)
334
- args = read_args(iprot, GetTableTypes_args)
335
- result = GetTableTypes_result.new()
336
- result.success = @handler.GetTableTypes(args.req)
337
- write_result(result, oprot, 'GetTableTypes', seqid)
338
- end
339
-
340
- def process_GetColumns(seqid, iprot, oprot)
341
- args = read_args(iprot, GetColumns_args)
342
- result = GetColumns_result.new()
343
- result.success = @handler.GetColumns(args.req)
344
- write_result(result, oprot, 'GetColumns', seqid)
345
- end
346
-
347
- def process_GetFunctions(seqid, iprot, oprot)
348
- args = read_args(iprot, GetFunctions_args)
349
- result = GetFunctions_result.new()
350
- result.success = @handler.GetFunctions(args.req)
351
- write_result(result, oprot, 'GetFunctions', seqid)
352
- end
353
-
354
- def process_GetOperationStatus(seqid, iprot, oprot)
355
- args = read_args(iprot, GetOperationStatus_args)
356
- result = GetOperationStatus_result.new()
357
- result.success = @handler.GetOperationStatus(args.req)
358
- write_result(result, oprot, 'GetOperationStatus', seqid)
359
- end
360
-
361
- def process_CancelOperation(seqid, iprot, oprot)
362
- args = read_args(iprot, CancelOperation_args)
363
- result = CancelOperation_result.new()
364
- result.success = @handler.CancelOperation(args.req)
365
- write_result(result, oprot, 'CancelOperation', seqid)
366
- end
367
-
368
- def process_CloseOperation(seqid, iprot, oprot)
369
- args = read_args(iprot, CloseOperation_args)
370
- result = CloseOperation_result.new()
371
- result.success = @handler.CloseOperation(args.req)
372
- write_result(result, oprot, 'CloseOperation', seqid)
373
- end
374
-
375
- def process_GetResultSetMetadata(seqid, iprot, oprot)
376
- args = read_args(iprot, GetResultSetMetadata_args)
377
- result = GetResultSetMetadata_result.new()
378
- result.success = @handler.GetResultSetMetadata(args.req)
379
- write_result(result, oprot, 'GetResultSetMetadata', seqid)
380
- end
12
+ module TCLIService
13
+ class Client
14
+ include ::Thrift::Client
381
15
 
382
- def process_FetchResults(seqid, iprot, oprot)
383
- args = read_args(iprot, FetchResults_args)
384
- result = FetchResults_result.new()
385
- result.success = @handler.FetchResults(args.req)
386
- write_result(result, oprot, 'FetchResults', seqid)
387
- end
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
+ def GetDelegationToken(req)
257
+ send_GetDelegationToken(req)
258
+ return recv_GetDelegationToken()
259
+ end
260
+
261
+ def send_GetDelegationToken(req)
262
+ send_message('GetDelegationToken', GetDelegationToken_args, :req => req)
263
+ end
264
+
265
+ def recv_GetDelegationToken()
266
+ result = receive_message(GetDelegationToken_result)
267
+ return result.success unless result.success.nil?
268
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetDelegationToken failed: unknown result')
269
+ end
270
+
271
+ def CancelDelegationToken(req)
272
+ send_CancelDelegationToken(req)
273
+ return recv_CancelDelegationToken()
274
+ end
275
+
276
+ def send_CancelDelegationToken(req)
277
+ send_message('CancelDelegationToken', CancelDelegationToken_args, :req => req)
278
+ end
279
+
280
+ def recv_CancelDelegationToken()
281
+ result = receive_message(CancelDelegationToken_result)
282
+ return result.success unless result.success.nil?
283
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'CancelDelegationToken failed: unknown result')
284
+ end
285
+
286
+ def RenewDelegationToken(req)
287
+ send_RenewDelegationToken(req)
288
+ return recv_RenewDelegationToken()
289
+ end
290
+
291
+ def send_RenewDelegationToken(req)
292
+ send_message('RenewDelegationToken', RenewDelegationToken_args, :req => req)
293
+ end
294
+
295
+ def recv_RenewDelegationToken()
296
+ result = receive_message(RenewDelegationToken_result)
297
+ return result.success unless result.success.nil?
298
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'RenewDelegationToken failed: unknown result')
299
+ end
300
+
301
+ def GetLog(req)
302
+ send_GetLog(req)
303
+ return recv_GetLog()
304
+ end
305
+
306
+ def send_GetLog(req)
307
+ send_message('GetLog', GetLog_args, :req => req)
308
+ end
309
+
310
+ def recv_GetLog()
311
+ result = receive_message(GetLog_result)
312
+ return result.success unless result.success.nil?
313
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetLog failed: unknown result')
314
+ end
315
+
316
+ end
317
+
318
+ class Processor
319
+ include ::Thrift::Processor
320
+
321
+ def process_OpenSession(seqid, iprot, oprot)
322
+ args = read_args(iprot, OpenSession_args)
323
+ result = OpenSession_result.new()
324
+ result.success = @handler.OpenSession(args.req)
325
+ write_result(result, oprot, 'OpenSession', seqid)
326
+ end
327
+
328
+ def process_CloseSession(seqid, iprot, oprot)
329
+ args = read_args(iprot, CloseSession_args)
330
+ result = CloseSession_result.new()
331
+ result.success = @handler.CloseSession(args.req)
332
+ write_result(result, oprot, 'CloseSession', seqid)
333
+ end
334
+
335
+ def process_GetInfo(seqid, iprot, oprot)
336
+ args = read_args(iprot, GetInfo_args)
337
+ result = GetInfo_result.new()
338
+ result.success = @handler.GetInfo(args.req)
339
+ write_result(result, oprot, 'GetInfo', seqid)
340
+ end
341
+
342
+ def process_ExecuteStatement(seqid, iprot, oprot)
343
+ args = read_args(iprot, ExecuteStatement_args)
344
+ result = ExecuteStatement_result.new()
345
+ result.success = @handler.ExecuteStatement(args.req)
346
+ write_result(result, oprot, 'ExecuteStatement', seqid)
347
+ end
348
+
349
+ def process_GetTypeInfo(seqid, iprot, oprot)
350
+ args = read_args(iprot, GetTypeInfo_args)
351
+ result = GetTypeInfo_result.new()
352
+ result.success = @handler.GetTypeInfo(args.req)
353
+ write_result(result, oprot, 'GetTypeInfo', seqid)
354
+ end
355
+
356
+ def process_GetCatalogs(seqid, iprot, oprot)
357
+ args = read_args(iprot, GetCatalogs_args)
358
+ result = GetCatalogs_result.new()
359
+ result.success = @handler.GetCatalogs(args.req)
360
+ write_result(result, oprot, 'GetCatalogs', seqid)
361
+ end
362
+
363
+ def process_GetSchemas(seqid, iprot, oprot)
364
+ args = read_args(iprot, GetSchemas_args)
365
+ result = GetSchemas_result.new()
366
+ result.success = @handler.GetSchemas(args.req)
367
+ write_result(result, oprot, 'GetSchemas', seqid)
368
+ end
369
+
370
+ def process_GetTables(seqid, iprot, oprot)
371
+ args = read_args(iprot, GetTables_args)
372
+ result = GetTables_result.new()
373
+ result.success = @handler.GetTables(args.req)
374
+ write_result(result, oprot, 'GetTables', seqid)
375
+ end
376
+
377
+ def process_GetTableTypes(seqid, iprot, oprot)
378
+ args = read_args(iprot, GetTableTypes_args)
379
+ result = GetTableTypes_result.new()
380
+ result.success = @handler.GetTableTypes(args.req)
381
+ write_result(result, oprot, 'GetTableTypes', seqid)
382
+ end
383
+
384
+ def process_GetColumns(seqid, iprot, oprot)
385
+ args = read_args(iprot, GetColumns_args)
386
+ result = GetColumns_result.new()
387
+ result.success = @handler.GetColumns(args.req)
388
+ write_result(result, oprot, 'GetColumns', seqid)
389
+ end
390
+
391
+ def process_GetFunctions(seqid, iprot, oprot)
392
+ args = read_args(iprot, GetFunctions_args)
393
+ result = GetFunctions_result.new()
394
+ result.success = @handler.GetFunctions(args.req)
395
+ write_result(result, oprot, 'GetFunctions', seqid)
396
+ end
397
+
398
+ def process_GetOperationStatus(seqid, iprot, oprot)
399
+ args = read_args(iprot, GetOperationStatus_args)
400
+ result = GetOperationStatus_result.new()
401
+ result.success = @handler.GetOperationStatus(args.req)
402
+ write_result(result, oprot, 'GetOperationStatus', seqid)
403
+ end
404
+
405
+ def process_CancelOperation(seqid, iprot, oprot)
406
+ args = read_args(iprot, CancelOperation_args)
407
+ result = CancelOperation_result.new()
408
+ result.success = @handler.CancelOperation(args.req)
409
+ write_result(result, oprot, 'CancelOperation', seqid)
410
+ end
411
+
412
+ def process_CloseOperation(seqid, iprot, oprot)
413
+ args = read_args(iprot, CloseOperation_args)
414
+ result = CloseOperation_result.new()
415
+ result.success = @handler.CloseOperation(args.req)
416
+ write_result(result, oprot, 'CloseOperation', seqid)
417
+ end
418
+
419
+ def process_GetResultSetMetadata(seqid, iprot, oprot)
420
+ args = read_args(iprot, GetResultSetMetadata_args)
421
+ result = GetResultSetMetadata_result.new()
422
+ result.success = @handler.GetResultSetMetadata(args.req)
423
+ write_result(result, oprot, 'GetResultSetMetadata', seqid)
424
+ end
425
+
426
+ def process_FetchResults(seqid, iprot, oprot)
427
+ args = read_args(iprot, FetchResults_args)
428
+ result = FetchResults_result.new()
429
+ result.success = @handler.FetchResults(args.req)
430
+ write_result(result, oprot, 'FetchResults', seqid)
431
+ end
432
+
433
+ def process_GetDelegationToken(seqid, iprot, oprot)
434
+ args = read_args(iprot, GetDelegationToken_args)
435
+ result = GetDelegationToken_result.new()
436
+ result.success = @handler.GetDelegationToken(args.req)
437
+ write_result(result, oprot, 'GetDelegationToken', seqid)
438
+ end
439
+
440
+ def process_CancelDelegationToken(seqid, iprot, oprot)
441
+ args = read_args(iprot, CancelDelegationToken_args)
442
+ result = CancelDelegationToken_result.new()
443
+ result.success = @handler.CancelDelegationToken(args.req)
444
+ write_result(result, oprot, 'CancelDelegationToken', seqid)
445
+ end
446
+
447
+ def process_RenewDelegationToken(seqid, iprot, oprot)
448
+ args = read_args(iprot, RenewDelegationToken_args)
449
+ result = RenewDelegationToken_result.new()
450
+ result.success = @handler.RenewDelegationToken(args.req)
451
+ write_result(result, oprot, 'RenewDelegationToken', seqid)
452
+ end
453
+
454
+ def process_GetLog(seqid, iprot, oprot)
455
+ args = read_args(iprot, GetLog_args)
456
+ result = GetLog_result.new()
457
+ result.success = @handler.GetLog(args.req)
458
+ write_result(result, oprot, 'GetLog', seqid)
459
+ end
460
+
461
+ end
462
+
463
+ # HELPER FUNCTIONS AND STRUCTURES
464
+
465
+ class OpenSession_args
466
+ include ::Thrift::Struct, ::Thrift::Struct_Union
467
+ REQ = 1
468
+
469
+ FIELDS = {
470
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::TOpenSessionReq}
471
+ }
472
+
473
+ def struct_fields; FIELDS; end
474
+
475
+ def validate
476
+ end
477
+
478
+ ::Thrift::Struct.generate_accessors self
479
+ end
480
+
481
+ class OpenSession_result
482
+ include ::Thrift::Struct, ::Thrift::Struct_Union
483
+ SUCCESS = 0
484
+
485
+ FIELDS = {
486
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::TOpenSessionResp}
487
+ }
488
+
489
+ def struct_fields; FIELDS; end
490
+
491
+ def validate
492
+ end
388
493
 
389
- def process_GetLog(seqid, iprot, oprot)
390
- args = read_args(iprot, GetLog_args)
391
- result = GetLog_result.new()
392
- result.success = @handler.GetLog(args.req)
393
- write_result(result, oprot, 'GetLog', seqid)
394
- end
494
+ ::Thrift::Struct.generate_accessors self
495
+ end
496
+
497
+ class CloseSession_args
498
+ include ::Thrift::Struct, ::Thrift::Struct_Union
499
+ REQ = 1
500
+
501
+ FIELDS = {
502
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::TCloseSessionReq}
503
+ }
504
+
505
+ def struct_fields; FIELDS; end
395
506
 
507
+ def validate
396
508
  end
397
509
 
398
- # HELPER FUNCTIONS AND STRUCTURES
510
+ ::Thrift::Struct.generate_accessors self
511
+ end
512
+
513
+ class CloseSession_result
514
+ include ::Thrift::Struct, ::Thrift::Struct_Union
515
+ SUCCESS = 0
399
516
 
400
- class OpenSession_args
401
- include ::Thrift::Struct, ::Thrift::Struct_Union
402
- REQ = 1
517
+ FIELDS = {
518
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::TCloseSessionResp}
519
+ }
403
520
 
404
- FIELDS = {
405
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::Hive::TOpenSessionReq}
406
- }
521
+ def struct_fields; FIELDS; end
407
522
 
408
- def struct_fields; FIELDS; end
523
+ def validate
524
+ end
409
525
 
410
- def validate
411
- end
526
+ ::Thrift::Struct.generate_accessors self
527
+ end
412
528
 
413
- ::Thrift::Struct.generate_accessors self
529
+ class GetInfo_args
530
+ include ::Thrift::Struct, ::Thrift::Struct_Union
531
+ REQ = 1
532
+
533
+ FIELDS = {
534
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::TGetInfoReq}
535
+ }
536
+
537
+ def struct_fields; FIELDS; end
538
+
539
+ def validate
414
540
  end
415
541
 
416
- class OpenSession_result
417
- include ::Thrift::Struct, ::Thrift::Struct_Union
418
- SUCCESS = 0
542
+ ::Thrift::Struct.generate_accessors self
543
+ end
419
544
 
420
- FIELDS = {
421
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::Hive::TOpenSessionResp}
422
- }
545
+ class GetInfo_result
546
+ include ::Thrift::Struct, ::Thrift::Struct_Union
547
+ SUCCESS = 0
423
548
 
424
- def struct_fields; FIELDS; end
549
+ FIELDS = {
550
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::TGetInfoResp}
551
+ }
425
552
 
426
- def validate
427
- end
553
+ def struct_fields; FIELDS; end
428
554
 
429
- ::Thrift::Struct.generate_accessors self
555
+ def validate
430
556
  end
431
557
 
432
- class CloseSession_args
433
- include ::Thrift::Struct, ::Thrift::Struct_Union
434
- REQ = 1
558
+ ::Thrift::Struct.generate_accessors self
559
+ end
435
560
 
436
- FIELDS = {
437
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::Hive::TCloseSessionReq}
438
- }
561
+ class ExecuteStatement_args
562
+ include ::Thrift::Struct, ::Thrift::Struct_Union
563
+ REQ = 1
439
564
 
440
- def struct_fields; FIELDS; end
565
+ FIELDS = {
566
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::TExecuteStatementReq}
567
+ }
441
568
 
442
- def validate
443
- end
569
+ def struct_fields; FIELDS; end
444
570
 
445
- ::Thrift::Struct.generate_accessors self
571
+ def validate
446
572
  end
447
573
 
448
- class CloseSession_result
449
- include ::Thrift::Struct, ::Thrift::Struct_Union
450
- SUCCESS = 0
574
+ ::Thrift::Struct.generate_accessors self
575
+ end
451
576
 
452
- FIELDS = {
453
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::Hive::TCloseSessionResp}
454
- }
577
+ class ExecuteStatement_result
578
+ include ::Thrift::Struct, ::Thrift::Struct_Union
579
+ SUCCESS = 0
455
580
 
456
- def struct_fields; FIELDS; end
581
+ FIELDS = {
582
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::TExecuteStatementResp}
583
+ }
457
584
 
458
- def validate
459
- end
585
+ def struct_fields; FIELDS; end
460
586
 
461
- ::Thrift::Struct.generate_accessors self
587
+ def validate
462
588
  end
463
589
 
464
- class GetInfo_args
465
- include ::Thrift::Struct, ::Thrift::Struct_Union
466
- REQ = 1
590
+ ::Thrift::Struct.generate_accessors self
591
+ end
467
592
 
468
- FIELDS = {
469
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::Hive::TGetInfoReq}
470
- }
593
+ class GetTypeInfo_args
594
+ include ::Thrift::Struct, ::Thrift::Struct_Union
595
+ REQ = 1
471
596
 
472
- def struct_fields; FIELDS; end
597
+ FIELDS = {
598
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::TGetTypeInfoReq}
599
+ }
473
600
 
474
- def validate
475
- end
601
+ def struct_fields; FIELDS; end
476
602
 
477
- ::Thrift::Struct.generate_accessors self
603
+ def validate
478
604
  end
479
605
 
480
- class GetInfo_result
481
- include ::Thrift::Struct, ::Thrift::Struct_Union
482
- SUCCESS = 0
606
+ ::Thrift::Struct.generate_accessors self
607
+ end
483
608
 
484
- FIELDS = {
485
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::Hive::TGetInfoResp}
486
- }
609
+ class GetTypeInfo_result
610
+ include ::Thrift::Struct, ::Thrift::Struct_Union
611
+ SUCCESS = 0
487
612
 
488
- def struct_fields; FIELDS; end
613
+ FIELDS = {
614
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::TGetTypeInfoResp}
615
+ }
489
616
 
490
- def validate
491
- end
617
+ def struct_fields; FIELDS; end
492
618
 
493
- ::Thrift::Struct.generate_accessors self
619
+ def validate
494
620
  end
495
621
 
496
- class ExecuteStatement_args
497
- include ::Thrift::Struct, ::Thrift::Struct_Union
498
- REQ = 1
622
+ ::Thrift::Struct.generate_accessors self
623
+ end
499
624
 
500
- FIELDS = {
501
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::Hive::TExecuteStatementReq}
502
- }
625
+ class GetCatalogs_args
626
+ include ::Thrift::Struct, ::Thrift::Struct_Union
627
+ REQ = 1
503
628
 
504
- def struct_fields; FIELDS; end
629
+ FIELDS = {
630
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::TGetCatalogsReq}
631
+ }
505
632
 
506
- def validate
507
- end
633
+ def struct_fields; FIELDS; end
508
634
 
509
- ::Thrift::Struct.generate_accessors self
635
+ def validate
510
636
  end
511
637
 
512
- class ExecuteStatement_result
513
- include ::Thrift::Struct, ::Thrift::Struct_Union
514
- SUCCESS = 0
638
+ ::Thrift::Struct.generate_accessors self
639
+ end
515
640
 
516
- FIELDS = {
517
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::Hive::TExecuteStatementResp}
518
- }
641
+ class GetCatalogs_result
642
+ include ::Thrift::Struct, ::Thrift::Struct_Union
643
+ SUCCESS = 0
519
644
 
520
- def struct_fields; FIELDS; end
645
+ FIELDS = {
646
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::TGetCatalogsResp}
647
+ }
521
648
 
522
- def validate
523
- end
649
+ def struct_fields; FIELDS; end
524
650
 
525
- ::Thrift::Struct.generate_accessors self
651
+ def validate
526
652
  end
527
653
 
528
- class GetTypeInfo_args
529
- include ::Thrift::Struct, ::Thrift::Struct_Union
530
- REQ = 1
654
+ ::Thrift::Struct.generate_accessors self
655
+ end
531
656
 
532
- FIELDS = {
533
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::Hive::TGetTypeInfoReq}
534
- }
657
+ class GetSchemas_args
658
+ include ::Thrift::Struct, ::Thrift::Struct_Union
659
+ REQ = 1
535
660
 
536
- def struct_fields; FIELDS; end
661
+ FIELDS = {
662
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::TGetSchemasReq}
663
+ }
537
664
 
538
- def validate
539
- end
665
+ def struct_fields; FIELDS; end
540
666
 
541
- ::Thrift::Struct.generate_accessors self
667
+ def validate
542
668
  end
543
669
 
544
- class GetTypeInfo_result
545
- include ::Thrift::Struct, ::Thrift::Struct_Union
546
- SUCCESS = 0
670
+ ::Thrift::Struct.generate_accessors self
671
+ end
547
672
 
548
- FIELDS = {
549
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::Hive::TGetTypeInfoResp}
550
- }
673
+ class GetSchemas_result
674
+ include ::Thrift::Struct, ::Thrift::Struct_Union
675
+ SUCCESS = 0
551
676
 
552
- def struct_fields; FIELDS; end
677
+ FIELDS = {
678
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::TGetSchemasResp}
679
+ }
553
680
 
554
- def validate
555
- end
681
+ def struct_fields; FIELDS; end
556
682
 
557
- ::Thrift::Struct.generate_accessors self
683
+ def validate
558
684
  end
559
685
 
560
- class GetCatalogs_args
561
- include ::Thrift::Struct, ::Thrift::Struct_Union
562
- REQ = 1
686
+ ::Thrift::Struct.generate_accessors self
687
+ end
563
688
 
564
- FIELDS = {
565
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::Hive::TGetCatalogsReq}
566
- }
689
+ class GetTables_args
690
+ include ::Thrift::Struct, ::Thrift::Struct_Union
691
+ REQ = 1
567
692
 
568
- def struct_fields; FIELDS; end
693
+ FIELDS = {
694
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::TGetTablesReq}
695
+ }
569
696
 
570
- def validate
571
- end
697
+ def struct_fields; FIELDS; end
572
698
 
573
- ::Thrift::Struct.generate_accessors self
699
+ def validate
574
700
  end
575
701
 
576
- class GetCatalogs_result
577
- include ::Thrift::Struct, ::Thrift::Struct_Union
578
- SUCCESS = 0
702
+ ::Thrift::Struct.generate_accessors self
703
+ end
579
704
 
580
- FIELDS = {
581
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::Hive::TGetCatalogsResp}
582
- }
705
+ class GetTables_result
706
+ include ::Thrift::Struct, ::Thrift::Struct_Union
707
+ SUCCESS = 0
583
708
 
584
- def struct_fields; FIELDS; end
709
+ FIELDS = {
710
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::TGetTablesResp}
711
+ }
585
712
 
586
- def validate
587
- end
713
+ def struct_fields; FIELDS; end
588
714
 
589
- ::Thrift::Struct.generate_accessors self
715
+ def validate
590
716
  end
591
717
 
592
- class GetSchemas_args
593
- include ::Thrift::Struct, ::Thrift::Struct_Union
594
- REQ = 1
718
+ ::Thrift::Struct.generate_accessors self
719
+ end
595
720
 
596
- FIELDS = {
597
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::Hive::TGetSchemasReq}
598
- }
721
+ class GetTableTypes_args
722
+ include ::Thrift::Struct, ::Thrift::Struct_Union
723
+ REQ = 1
599
724
 
600
- def struct_fields; FIELDS; end
725
+ FIELDS = {
726
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::TGetTableTypesReq}
727
+ }
601
728
 
602
- def validate
603
- end
729
+ def struct_fields; FIELDS; end
604
730
 
605
- ::Thrift::Struct.generate_accessors self
731
+ def validate
606
732
  end
607
733
 
608
- class GetSchemas_result
609
- include ::Thrift::Struct, ::Thrift::Struct_Union
610
- SUCCESS = 0
734
+ ::Thrift::Struct.generate_accessors self
735
+ end
611
736
 
612
- FIELDS = {
613
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::Hive::TGetSchemasResp}
614
- }
737
+ class GetTableTypes_result
738
+ include ::Thrift::Struct, ::Thrift::Struct_Union
739
+ SUCCESS = 0
615
740
 
616
- def struct_fields; FIELDS; end
741
+ FIELDS = {
742
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::TGetTableTypesResp}
743
+ }
617
744
 
618
- def validate
619
- end
745
+ def struct_fields; FIELDS; end
620
746
 
621
- ::Thrift::Struct.generate_accessors self
747
+ def validate
622
748
  end
623
749
 
624
- class GetTables_args
625
- include ::Thrift::Struct, ::Thrift::Struct_Union
626
- REQ = 1
750
+ ::Thrift::Struct.generate_accessors self
751
+ end
627
752
 
628
- FIELDS = {
629
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::Hive::TGetTablesReq}
630
- }
753
+ class GetColumns_args
754
+ include ::Thrift::Struct, ::Thrift::Struct_Union
755
+ REQ = 1
631
756
 
632
- def struct_fields; FIELDS; end
757
+ FIELDS = {
758
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::TGetColumnsReq}
759
+ }
633
760
 
634
- def validate
635
- end
761
+ def struct_fields; FIELDS; end
636
762
 
637
- ::Thrift::Struct.generate_accessors self
763
+ def validate
638
764
  end
639
765
 
640
- class GetTables_result
641
- include ::Thrift::Struct, ::Thrift::Struct_Union
642
- SUCCESS = 0
766
+ ::Thrift::Struct.generate_accessors self
767
+ end
643
768
 
644
- FIELDS = {
645
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::Hive::TGetTablesResp}
646
- }
769
+ class GetColumns_result
770
+ include ::Thrift::Struct, ::Thrift::Struct_Union
771
+ SUCCESS = 0
647
772
 
648
- def struct_fields; FIELDS; end
773
+ FIELDS = {
774
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::TGetColumnsResp}
775
+ }
649
776
 
650
- def validate
651
- end
777
+ def struct_fields; FIELDS; end
652
778
 
653
- ::Thrift::Struct.generate_accessors self
779
+ def validate
654
780
  end
655
781
 
656
- class GetTableTypes_args
657
- include ::Thrift::Struct, ::Thrift::Struct_Union
658
- REQ = 1
782
+ ::Thrift::Struct.generate_accessors self
783
+ end
659
784
 
660
- FIELDS = {
661
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::Hive::TGetTableTypesReq}
662
- }
785
+ class GetFunctions_args
786
+ include ::Thrift::Struct, ::Thrift::Struct_Union
787
+ REQ = 1
663
788
 
664
- def struct_fields; FIELDS; end
789
+ FIELDS = {
790
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::TGetFunctionsReq}
791
+ }
665
792
 
666
- def validate
667
- end
793
+ def struct_fields; FIELDS; end
668
794
 
669
- ::Thrift::Struct.generate_accessors self
795
+ def validate
670
796
  end
671
797
 
672
- class GetTableTypes_result
673
- include ::Thrift::Struct, ::Thrift::Struct_Union
674
- SUCCESS = 0
798
+ ::Thrift::Struct.generate_accessors self
799
+ end
675
800
 
676
- FIELDS = {
677
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::Hive::TGetTableTypesResp}
678
- }
801
+ class GetFunctions_result
802
+ include ::Thrift::Struct, ::Thrift::Struct_Union
803
+ SUCCESS = 0
679
804
 
680
- def struct_fields; FIELDS; end
805
+ FIELDS = {
806
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::TGetFunctionsResp}
807
+ }
681
808
 
682
- def validate
683
- end
809
+ def struct_fields; FIELDS; end
684
810
 
685
- ::Thrift::Struct.generate_accessors self
811
+ def validate
686
812
  end
687
813
 
688
- class GetColumns_args
689
- include ::Thrift::Struct, ::Thrift::Struct_Union
690
- REQ = 1
814
+ ::Thrift::Struct.generate_accessors self
815
+ end
691
816
 
692
- FIELDS = {
693
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::Hive::TGetColumnsReq}
694
- }
817
+ class GetOperationStatus_args
818
+ include ::Thrift::Struct, ::Thrift::Struct_Union
819
+ REQ = 1
695
820
 
696
- def struct_fields; FIELDS; end
821
+ FIELDS = {
822
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::TGetOperationStatusReq}
823
+ }
697
824
 
698
- def validate
699
- end
825
+ def struct_fields; FIELDS; end
700
826
 
701
- ::Thrift::Struct.generate_accessors self
827
+ def validate
702
828
  end
703
829
 
704
- class GetColumns_result
705
- include ::Thrift::Struct, ::Thrift::Struct_Union
706
- SUCCESS = 0
830
+ ::Thrift::Struct.generate_accessors self
831
+ end
707
832
 
708
- FIELDS = {
709
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::Hive::TGetColumnsResp}
710
- }
833
+ class GetOperationStatus_result
834
+ include ::Thrift::Struct, ::Thrift::Struct_Union
835
+ SUCCESS = 0
711
836
 
712
- def struct_fields; FIELDS; end
837
+ FIELDS = {
838
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::TGetOperationStatusResp}
839
+ }
713
840
 
714
- def validate
715
- end
841
+ def struct_fields; FIELDS; end
716
842
 
717
- ::Thrift::Struct.generate_accessors self
843
+ def validate
718
844
  end
719
845
 
720
- class GetFunctions_args
721
- include ::Thrift::Struct, ::Thrift::Struct_Union
722
- REQ = 1
846
+ ::Thrift::Struct.generate_accessors self
847
+ end
723
848
 
724
- FIELDS = {
725
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::Hive::TGetFunctionsReq}
726
- }
849
+ class CancelOperation_args
850
+ include ::Thrift::Struct, ::Thrift::Struct_Union
851
+ REQ = 1
727
852
 
728
- def struct_fields; FIELDS; end
853
+ FIELDS = {
854
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::TCancelOperationReq}
855
+ }
729
856
 
730
- def validate
731
- end
857
+ def struct_fields; FIELDS; end
732
858
 
733
- ::Thrift::Struct.generate_accessors self
859
+ def validate
734
860
  end
735
861
 
736
- class GetFunctions_result
737
- include ::Thrift::Struct, ::Thrift::Struct_Union
738
- SUCCESS = 0
862
+ ::Thrift::Struct.generate_accessors self
863
+ end
739
864
 
740
- FIELDS = {
741
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::Hive::TGetFunctionsResp}
742
- }
865
+ class CancelOperation_result
866
+ include ::Thrift::Struct, ::Thrift::Struct_Union
867
+ SUCCESS = 0
743
868
 
744
- def struct_fields; FIELDS; end
869
+ FIELDS = {
870
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::TCancelOperationResp}
871
+ }
745
872
 
746
- def validate
747
- end
873
+ def struct_fields; FIELDS; end
748
874
 
749
- ::Thrift::Struct.generate_accessors self
875
+ def validate
750
876
  end
751
877
 
752
- class GetOperationStatus_args
753
- include ::Thrift::Struct, ::Thrift::Struct_Union
754
- REQ = 1
878
+ ::Thrift::Struct.generate_accessors self
879
+ end
755
880
 
756
- FIELDS = {
757
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::Hive::TGetOperationStatusReq}
758
- }
881
+ class CloseOperation_args
882
+ include ::Thrift::Struct, ::Thrift::Struct_Union
883
+ REQ = 1
759
884
 
760
- def struct_fields; FIELDS; end
885
+ FIELDS = {
886
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::TCloseOperationReq}
887
+ }
761
888
 
762
- def validate
763
- end
889
+ def struct_fields; FIELDS; end
764
890
 
765
- ::Thrift::Struct.generate_accessors self
891
+ def validate
766
892
  end
767
893
 
768
- class GetOperationStatus_result
769
- include ::Thrift::Struct, ::Thrift::Struct_Union
770
- SUCCESS = 0
894
+ ::Thrift::Struct.generate_accessors self
895
+ end
771
896
 
772
- FIELDS = {
773
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::Hive::TGetOperationStatusResp}
774
- }
897
+ class CloseOperation_result
898
+ include ::Thrift::Struct, ::Thrift::Struct_Union
899
+ SUCCESS = 0
775
900
 
776
- def struct_fields; FIELDS; end
901
+ FIELDS = {
902
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::TCloseOperationResp}
903
+ }
777
904
 
778
- def validate
779
- end
905
+ def struct_fields; FIELDS; end
780
906
 
781
- ::Thrift::Struct.generate_accessors self
907
+ def validate
782
908
  end
783
909
 
784
- class CancelOperation_args
785
- include ::Thrift::Struct, ::Thrift::Struct_Union
786
- REQ = 1
910
+ ::Thrift::Struct.generate_accessors self
911
+ end
787
912
 
788
- FIELDS = {
789
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::Hive::TCancelOperationReq}
790
- }
913
+ class GetResultSetMetadata_args
914
+ include ::Thrift::Struct, ::Thrift::Struct_Union
915
+ REQ = 1
791
916
 
792
- def struct_fields; FIELDS; end
917
+ FIELDS = {
918
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::TGetResultSetMetadataReq}
919
+ }
793
920
 
794
- def validate
795
- end
921
+ def struct_fields; FIELDS; end
796
922
 
797
- ::Thrift::Struct.generate_accessors self
923
+ def validate
798
924
  end
799
925
 
800
- class CancelOperation_result
801
- include ::Thrift::Struct, ::Thrift::Struct_Union
802
- SUCCESS = 0
926
+ ::Thrift::Struct.generate_accessors self
927
+ end
803
928
 
804
- FIELDS = {
805
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::Hive::TCancelOperationResp}
806
- }
929
+ class GetResultSetMetadata_result
930
+ include ::Thrift::Struct, ::Thrift::Struct_Union
931
+ SUCCESS = 0
807
932
 
808
- def struct_fields; FIELDS; end
933
+ FIELDS = {
934
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::TGetResultSetMetadataResp}
935
+ }
809
936
 
810
- def validate
811
- end
937
+ def struct_fields; FIELDS; end
812
938
 
813
- ::Thrift::Struct.generate_accessors self
939
+ def validate
814
940
  end
815
941
 
816
- class CloseOperation_args
817
- include ::Thrift::Struct, ::Thrift::Struct_Union
818
- REQ = 1
942
+ ::Thrift::Struct.generate_accessors self
943
+ end
819
944
 
820
- FIELDS = {
821
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::Hive::TCloseOperationReq}
822
- }
945
+ class FetchResults_args
946
+ include ::Thrift::Struct, ::Thrift::Struct_Union
947
+ REQ = 1
823
948
 
824
- def struct_fields; FIELDS; end
949
+ FIELDS = {
950
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::TFetchResultsReq}
951
+ }
825
952
 
826
- def validate
827
- end
953
+ def struct_fields; FIELDS; end
828
954
 
829
- ::Thrift::Struct.generate_accessors self
955
+ def validate
830
956
  end
831
957
 
832
- class CloseOperation_result
833
- include ::Thrift::Struct, ::Thrift::Struct_Union
834
- SUCCESS = 0
958
+ ::Thrift::Struct.generate_accessors self
959
+ end
835
960
 
836
- FIELDS = {
837
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::Hive::TCloseOperationResp}
838
- }
961
+ class FetchResults_result
962
+ include ::Thrift::Struct, ::Thrift::Struct_Union
963
+ SUCCESS = 0
839
964
 
840
- def struct_fields; FIELDS; end
965
+ FIELDS = {
966
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::TFetchResultsResp}
967
+ }
841
968
 
842
- def validate
843
- end
969
+ def struct_fields; FIELDS; end
844
970
 
845
- ::Thrift::Struct.generate_accessors self
971
+ def validate
846
972
  end
847
973
 
848
- class GetResultSetMetadata_args
849
- include ::Thrift::Struct, ::Thrift::Struct_Union
850
- REQ = 1
974
+ ::Thrift::Struct.generate_accessors self
975
+ end
851
976
 
852
- FIELDS = {
853
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::Hive::TGetResultSetMetadataReq}
854
- }
977
+ class GetDelegationToken_args
978
+ include ::Thrift::Struct, ::Thrift::Struct_Union
979
+ REQ = 1
855
980
 
856
- def struct_fields; FIELDS; end
981
+ FIELDS = {
982
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::TGetDelegationTokenReq}
983
+ }
857
984
 
858
- def validate
859
- end
985
+ def struct_fields; FIELDS; end
860
986
 
861
- ::Thrift::Struct.generate_accessors self
987
+ def validate
862
988
  end
863
989
 
864
- class GetResultSetMetadata_result
865
- include ::Thrift::Struct, ::Thrift::Struct_Union
866
- SUCCESS = 0
990
+ ::Thrift::Struct.generate_accessors self
991
+ end
867
992
 
868
- FIELDS = {
869
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::Hive::TGetResultSetMetadataResp}
870
- }
993
+ class GetDelegationToken_result
994
+ include ::Thrift::Struct, ::Thrift::Struct_Union
995
+ SUCCESS = 0
871
996
 
872
- def struct_fields; FIELDS; end
997
+ FIELDS = {
998
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::TGetDelegationTokenResp}
999
+ }
873
1000
 
874
- def validate
875
- end
1001
+ def struct_fields; FIELDS; end
876
1002
 
877
- ::Thrift::Struct.generate_accessors self
1003
+ def validate
878
1004
  end
879
1005
 
880
- class FetchResults_args
881
- include ::Thrift::Struct, ::Thrift::Struct_Union
882
- REQ = 1
1006
+ ::Thrift::Struct.generate_accessors self
1007
+ end
883
1008
 
884
- FIELDS = {
885
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::Hive::TFetchResultsReq}
886
- }
1009
+ class CancelDelegationToken_args
1010
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1011
+ REQ = 1
887
1012
 
888
- def struct_fields; FIELDS; end
1013
+ FIELDS = {
1014
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::TCancelDelegationTokenReq}
1015
+ }
889
1016
 
890
- def validate
891
- end
1017
+ def struct_fields; FIELDS; end
892
1018
 
893
- ::Thrift::Struct.generate_accessors self
1019
+ def validate
894
1020
  end
895
1021
 
896
- class FetchResults_result
897
- include ::Thrift::Struct, ::Thrift::Struct_Union
898
- SUCCESS = 0
1022
+ ::Thrift::Struct.generate_accessors self
1023
+ end
899
1024
 
900
- FIELDS = {
901
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::Hive::TFetchResultsResp}
902
- }
1025
+ class CancelDelegationToken_result
1026
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1027
+ SUCCESS = 0
903
1028
 
904
- def struct_fields; FIELDS; end
1029
+ FIELDS = {
1030
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::TCancelDelegationTokenResp}
1031
+ }
905
1032
 
906
- def validate
907
- end
1033
+ def struct_fields; FIELDS; end
908
1034
 
909
- ::Thrift::Struct.generate_accessors self
1035
+ def validate
910
1036
  end
911
1037
 
912
- class GetLog_args
913
- include ::Thrift::Struct, ::Thrift::Struct_Union
914
- REQ = 1
1038
+ ::Thrift::Struct.generate_accessors self
1039
+ end
915
1040
 
916
- FIELDS = {
917
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::Hive::TGetLogReq}
918
- }
1041
+ class RenewDelegationToken_args
1042
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1043
+ REQ = 1
919
1044
 
920
- def struct_fields; FIELDS; end
1045
+ FIELDS = {
1046
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::TRenewDelegationTokenReq}
1047
+ }
921
1048
 
922
- def validate
923
- end
1049
+ def struct_fields; FIELDS; end
924
1050
 
925
- ::Thrift::Struct.generate_accessors self
1051
+ def validate
926
1052
  end
927
1053
 
928
- class GetLog_result
929
- include ::Thrift::Struct, ::Thrift::Struct_Union
930
- SUCCESS = 0
1054
+ ::Thrift::Struct.generate_accessors self
1055
+ end
931
1056
 
932
- FIELDS = {
933
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::Hive::TGetLogResp}
934
- }
1057
+ class RenewDelegationToken_result
1058
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1059
+ SUCCESS = 0
935
1060
 
936
- def struct_fields; FIELDS; end
1061
+ FIELDS = {
1062
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::TRenewDelegationTokenResp}
1063
+ }
937
1064
 
938
- def validate
939
- end
1065
+ def struct_fields; FIELDS; end
940
1066
 
941
- ::Thrift::Struct.generate_accessors self
1067
+ def validate
942
1068
  end
943
1069
 
1070
+ ::Thrift::Struct.generate_accessors self
1071
+ end
1072
+
1073
+ class GetLog_args
1074
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1075
+ REQ = 1
1076
+
1077
+ FIELDS = {
1078
+ REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Impala::Protocol::TGetLogReq}
1079
+ }
1080
+
1081
+ def struct_fields; FIELDS; end
1082
+
1083
+ def validate
1084
+ end
1085
+
1086
+ ::Thrift::Struct.generate_accessors self
1087
+ end
1088
+
1089
+ class GetLog_result
1090
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1091
+ SUCCESS = 0
1092
+
1093
+ FIELDS = {
1094
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::TGetLogResp}
1095
+ }
1096
+
1097
+ def struct_fields; FIELDS; end
1098
+
1099
+ def validate
1100
+ end
1101
+
1102
+ ::Thrift::Struct.generate_accessors self
944
1103
  end
945
1104
 
946
1105
  end
1106
+
947
1107
  end
948
1108
  end