rbhive-vidma 1.0.2.pre1.pre.thrift0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +18 -0
- data/CHANGELOG.md +16 -0
- data/Gemfile +3 -0
- data/LICENSE +20 -0
- data/README.md +344 -0
- data/Rakefile +1 -0
- data/lib/rbhive.rb +8 -0
- data/lib/rbhive/connection.rb +150 -0
- data/lib/rbhive/explain_result.rb +46 -0
- data/lib/rbhive/result_set.rb +37 -0
- data/lib/rbhive/schema_definition.rb +86 -0
- data/lib/rbhive/t_c_l_i_connection.rb +439 -0
- data/lib/rbhive/t_c_l_i_result_set.rb +3 -0
- data/lib/rbhive/t_c_l_i_schema_definition.rb +88 -0
- data/lib/rbhive/table_schema.rb +117 -0
- data/lib/rbhive/version.rb +3 -0
- data/lib/thrift/facebook_service.rb +700 -0
- data/lib/thrift/fb303_constants.rb +9 -0
- data/lib/thrift/fb303_types.rb +19 -0
- data/lib/thrift/hive_metastore_constants.rb +41 -0
- data/lib/thrift/hive_metastore_types.rb +630 -0
- data/lib/thrift/hive_service_constants.rb +13 -0
- data/lib/thrift/hive_service_types.rb +72 -0
- data/lib/thrift/queryplan_constants.rb +13 -0
- data/lib/thrift/queryplan_types.rb +261 -0
- data/lib/thrift/sasl_client_transport.rb +97 -0
- data/lib/thrift/serde_constants.rb +92 -0
- data/lib/thrift/serde_types.rb +7 -0
- data/lib/thrift/t_c_l_i_service.rb +1054 -0
- data/lib/thrift/t_c_l_i_service_constants.rb +72 -0
- data/lib/thrift/t_c_l_i_service_types.rb +1762 -0
- data/lib/thrift/thrift_hive.rb +508 -0
- data/lib/thrift/thrift_hive_metastore.rb +3856 -0
- data/rbhive.gemspec +33 -0
- metadata +165 -0
@@ -0,0 +1,92 @@
|
|
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 'serde_types'
|
9
|
+
|
10
|
+
SERIALIZATION_LIB = %q"serialization.lib"
|
11
|
+
|
12
|
+
SERIALIZATION_CLASS = %q"serialization.class"
|
13
|
+
|
14
|
+
SERIALIZATION_FORMAT = %q"serialization.format"
|
15
|
+
|
16
|
+
SERIALIZATION_DDL = %q"serialization.ddl"
|
17
|
+
|
18
|
+
SERIALIZATION_NULL_FORMAT = %q"serialization.null.format"
|
19
|
+
|
20
|
+
SERIALIZATION_LAST_COLUMN_TAKES_REST = %q"serialization.last.column.takes.rest"
|
21
|
+
|
22
|
+
SERIALIZATION_SORT_ORDER = %q"serialization.sort.order"
|
23
|
+
|
24
|
+
SERIALIZATION_USE_JSON_OBJECTS = %q"serialization.use.json.object"
|
25
|
+
|
26
|
+
FIELD_DELIM = %q"field.delim"
|
27
|
+
|
28
|
+
COLLECTION_DELIM = %q"colelction.delim"
|
29
|
+
|
30
|
+
LINE_DELIM = %q"line.delim"
|
31
|
+
|
32
|
+
MAPKEY_DELIM = %q"mapkey.delim"
|
33
|
+
|
34
|
+
QUOTE_CHAR = %q"quote.delim"
|
35
|
+
|
36
|
+
ESCAPE_CHAR = %q"escape.delim"
|
37
|
+
|
38
|
+
VOID_TYPE_NAME = %q"void"
|
39
|
+
|
40
|
+
BOOLEAN_TYPE_NAME = %q"boolean"
|
41
|
+
|
42
|
+
TINYINT_TYPE_NAME = %q"tinyint"
|
43
|
+
|
44
|
+
SMALLINT_TYPE_NAME = %q"smallint"
|
45
|
+
|
46
|
+
INT_TYPE_NAME = %q"int"
|
47
|
+
|
48
|
+
BIGINT_TYPE_NAME = %q"bigint"
|
49
|
+
|
50
|
+
FLOAT_TYPE_NAME = %q"float"
|
51
|
+
|
52
|
+
DOUBLE_TYPE_NAME = %q"double"
|
53
|
+
|
54
|
+
STRING_TYPE_NAME = %q"string"
|
55
|
+
|
56
|
+
DATE_TYPE_NAME = %q"date"
|
57
|
+
|
58
|
+
DATETIME_TYPE_NAME = %q"datetime"
|
59
|
+
|
60
|
+
TIMESTAMP_TYPE_NAME = %q"timestamp"
|
61
|
+
|
62
|
+
LIST_TYPE_NAME = %q"array"
|
63
|
+
|
64
|
+
MAP_TYPE_NAME = %q"map"
|
65
|
+
|
66
|
+
STRUCT_TYPE_NAME = %q"struct"
|
67
|
+
|
68
|
+
UNION_TYPE_NAME = %q"uniontype"
|
69
|
+
|
70
|
+
LIST_COLUMNS = %q"columns"
|
71
|
+
|
72
|
+
LIST_COLUMN_TYPES = %q"columns.types"
|
73
|
+
|
74
|
+
PrimitiveTypes = Set.new([
|
75
|
+
%q"void",
|
76
|
+
%q"boolean",
|
77
|
+
%q"tinyint",
|
78
|
+
%q"smallint",
|
79
|
+
%q"int",
|
80
|
+
%q"bigint",
|
81
|
+
%q"float",
|
82
|
+
%q"double",
|
83
|
+
%q"string",
|
84
|
+
%q"date",
|
85
|
+
%q"datetime",
|
86
|
+
%q"timestamp",
|
87
|
+
])
|
88
|
+
|
89
|
+
CollectionTypes = Set.new([
|
90
|
+
%q"array",
|
91
|
+
%q"map",
|
92
|
+
])
|
@@ -0,0 +1,1054 @@
|
|
1
|
+
#
|
2
|
+
# Autogenerated by Thrift Compiler (0.9.1)
|
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
|
+
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
|
+
end
|
302
|
+
|
303
|
+
class Processor
|
304
|
+
include ::Thrift::Processor
|
305
|
+
|
306
|
+
def process_OpenSession(seqid, iprot, oprot)
|
307
|
+
args = read_args(iprot, OpenSession_args)
|
308
|
+
result = OpenSession_result.new()
|
309
|
+
result.success = @handler.OpenSession(args.req)
|
310
|
+
write_result(result, oprot, 'OpenSession', seqid)
|
311
|
+
end
|
312
|
+
|
313
|
+
def process_CloseSession(seqid, iprot, oprot)
|
314
|
+
args = read_args(iprot, CloseSession_args)
|
315
|
+
result = CloseSession_result.new()
|
316
|
+
result.success = @handler.CloseSession(args.req)
|
317
|
+
write_result(result, oprot, 'CloseSession', seqid)
|
318
|
+
end
|
319
|
+
|
320
|
+
def process_GetInfo(seqid, iprot, oprot)
|
321
|
+
args = read_args(iprot, GetInfo_args)
|
322
|
+
result = GetInfo_result.new()
|
323
|
+
result.success = @handler.GetInfo(args.req)
|
324
|
+
write_result(result, oprot, 'GetInfo', seqid)
|
325
|
+
end
|
326
|
+
|
327
|
+
def process_ExecuteStatement(seqid, iprot, oprot)
|
328
|
+
args = read_args(iprot, ExecuteStatement_args)
|
329
|
+
result = ExecuteStatement_result.new()
|
330
|
+
result.success = @handler.ExecuteStatement(args.req)
|
331
|
+
write_result(result, oprot, 'ExecuteStatement', seqid)
|
332
|
+
end
|
333
|
+
|
334
|
+
def process_GetTypeInfo(seqid, iprot, oprot)
|
335
|
+
args = read_args(iprot, GetTypeInfo_args)
|
336
|
+
result = GetTypeInfo_result.new()
|
337
|
+
result.success = @handler.GetTypeInfo(args.req)
|
338
|
+
write_result(result, oprot, 'GetTypeInfo', seqid)
|
339
|
+
end
|
340
|
+
|
341
|
+
def process_GetCatalogs(seqid, iprot, oprot)
|
342
|
+
args = read_args(iprot, GetCatalogs_args)
|
343
|
+
result = GetCatalogs_result.new()
|
344
|
+
result.success = @handler.GetCatalogs(args.req)
|
345
|
+
write_result(result, oprot, 'GetCatalogs', seqid)
|
346
|
+
end
|
347
|
+
|
348
|
+
def process_GetSchemas(seqid, iprot, oprot)
|
349
|
+
args = read_args(iprot, GetSchemas_args)
|
350
|
+
result = GetSchemas_result.new()
|
351
|
+
result.success = @handler.GetSchemas(args.req)
|
352
|
+
write_result(result, oprot, 'GetSchemas', seqid)
|
353
|
+
end
|
354
|
+
|
355
|
+
def process_GetTables(seqid, iprot, oprot)
|
356
|
+
args = read_args(iprot, GetTables_args)
|
357
|
+
result = GetTables_result.new()
|
358
|
+
result.success = @handler.GetTables(args.req)
|
359
|
+
write_result(result, oprot, 'GetTables', seqid)
|
360
|
+
end
|
361
|
+
|
362
|
+
def process_GetTableTypes(seqid, iprot, oprot)
|
363
|
+
args = read_args(iprot, GetTableTypes_args)
|
364
|
+
result = GetTableTypes_result.new()
|
365
|
+
result.success = @handler.GetTableTypes(args.req)
|
366
|
+
write_result(result, oprot, 'GetTableTypes', seqid)
|
367
|
+
end
|
368
|
+
|
369
|
+
def process_GetColumns(seqid, iprot, oprot)
|
370
|
+
args = read_args(iprot, GetColumns_args)
|
371
|
+
result = GetColumns_result.new()
|
372
|
+
result.success = @handler.GetColumns(args.req)
|
373
|
+
write_result(result, oprot, 'GetColumns', seqid)
|
374
|
+
end
|
375
|
+
|
376
|
+
def process_GetFunctions(seqid, iprot, oprot)
|
377
|
+
args = read_args(iprot, GetFunctions_args)
|
378
|
+
result = GetFunctions_result.new()
|
379
|
+
result.success = @handler.GetFunctions(args.req)
|
380
|
+
write_result(result, oprot, 'GetFunctions', seqid)
|
381
|
+
end
|
382
|
+
|
383
|
+
def process_GetOperationStatus(seqid, iprot, oprot)
|
384
|
+
args = read_args(iprot, GetOperationStatus_args)
|
385
|
+
result = GetOperationStatus_result.new()
|
386
|
+
result.success = @handler.GetOperationStatus(args.req)
|
387
|
+
write_result(result, oprot, 'GetOperationStatus', seqid)
|
388
|
+
end
|
389
|
+
|
390
|
+
def process_CancelOperation(seqid, iprot, oprot)
|
391
|
+
args = read_args(iprot, CancelOperation_args)
|
392
|
+
result = CancelOperation_result.new()
|
393
|
+
result.success = @handler.CancelOperation(args.req)
|
394
|
+
write_result(result, oprot, 'CancelOperation', seqid)
|
395
|
+
end
|
396
|
+
|
397
|
+
def process_CloseOperation(seqid, iprot, oprot)
|
398
|
+
args = read_args(iprot, CloseOperation_args)
|
399
|
+
result = CloseOperation_result.new()
|
400
|
+
result.success = @handler.CloseOperation(args.req)
|
401
|
+
write_result(result, oprot, 'CloseOperation', seqid)
|
402
|
+
end
|
403
|
+
|
404
|
+
def process_GetResultSetMetadata(seqid, iprot, oprot)
|
405
|
+
args = read_args(iprot, GetResultSetMetadata_args)
|
406
|
+
result = GetResultSetMetadata_result.new()
|
407
|
+
result.success = @handler.GetResultSetMetadata(args.req)
|
408
|
+
write_result(result, oprot, 'GetResultSetMetadata', seqid)
|
409
|
+
end
|
410
|
+
|
411
|
+
def process_FetchResults(seqid, iprot, oprot)
|
412
|
+
args = read_args(iprot, FetchResults_args)
|
413
|
+
result = FetchResults_result.new()
|
414
|
+
result.success = @handler.FetchResults(args.req)
|
415
|
+
write_result(result, oprot, 'FetchResults', seqid)
|
416
|
+
end
|
417
|
+
|
418
|
+
def process_GetDelegationToken(seqid, iprot, oprot)
|
419
|
+
args = read_args(iprot, GetDelegationToken_args)
|
420
|
+
result = GetDelegationToken_result.new()
|
421
|
+
result.success = @handler.GetDelegationToken(args.req)
|
422
|
+
write_result(result, oprot, 'GetDelegationToken', seqid)
|
423
|
+
end
|
424
|
+
|
425
|
+
def process_CancelDelegationToken(seqid, iprot, oprot)
|
426
|
+
args = read_args(iprot, CancelDelegationToken_args)
|
427
|
+
result = CancelDelegationToken_result.new()
|
428
|
+
result.success = @handler.CancelDelegationToken(args.req)
|
429
|
+
write_result(result, oprot, 'CancelDelegationToken', seqid)
|
430
|
+
end
|
431
|
+
|
432
|
+
def process_RenewDelegationToken(seqid, iprot, oprot)
|
433
|
+
args = read_args(iprot, RenewDelegationToken_args)
|
434
|
+
result = RenewDelegationToken_result.new()
|
435
|
+
result.success = @handler.RenewDelegationToken(args.req)
|
436
|
+
write_result(result, oprot, 'RenewDelegationToken', seqid)
|
437
|
+
end
|
438
|
+
|
439
|
+
end
|
440
|
+
|
441
|
+
# HELPER FUNCTIONS AND STRUCTURES
|
442
|
+
|
443
|
+
class OpenSession_args
|
444
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
445
|
+
REQ = 1
|
446
|
+
|
447
|
+
FIELDS = {
|
448
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TOpenSessionReq}
|
449
|
+
}
|
450
|
+
|
451
|
+
def struct_fields; FIELDS; end
|
452
|
+
|
453
|
+
def validate
|
454
|
+
end
|
455
|
+
|
456
|
+
::Thrift::Struct.generate_accessors self
|
457
|
+
end
|
458
|
+
|
459
|
+
class OpenSession_result
|
460
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
461
|
+
SUCCESS = 0
|
462
|
+
|
463
|
+
FIELDS = {
|
464
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TOpenSessionResp}
|
465
|
+
}
|
466
|
+
|
467
|
+
def struct_fields; FIELDS; end
|
468
|
+
|
469
|
+
def validate
|
470
|
+
end
|
471
|
+
|
472
|
+
::Thrift::Struct.generate_accessors self
|
473
|
+
end
|
474
|
+
|
475
|
+
class CloseSession_args
|
476
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
477
|
+
REQ = 1
|
478
|
+
|
479
|
+
FIELDS = {
|
480
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TCloseSessionReq}
|
481
|
+
}
|
482
|
+
|
483
|
+
def struct_fields; FIELDS; end
|
484
|
+
|
485
|
+
def validate
|
486
|
+
end
|
487
|
+
|
488
|
+
::Thrift::Struct.generate_accessors self
|
489
|
+
end
|
490
|
+
|
491
|
+
class CloseSession_result
|
492
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
493
|
+
SUCCESS = 0
|
494
|
+
|
495
|
+
FIELDS = {
|
496
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TCloseSessionResp}
|
497
|
+
}
|
498
|
+
|
499
|
+
def struct_fields; FIELDS; end
|
500
|
+
|
501
|
+
def validate
|
502
|
+
end
|
503
|
+
|
504
|
+
::Thrift::Struct.generate_accessors self
|
505
|
+
end
|
506
|
+
|
507
|
+
class GetInfo_args
|
508
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
509
|
+
REQ = 1
|
510
|
+
|
511
|
+
FIELDS = {
|
512
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TGetInfoReq}
|
513
|
+
}
|
514
|
+
|
515
|
+
def struct_fields; FIELDS; end
|
516
|
+
|
517
|
+
def validate
|
518
|
+
end
|
519
|
+
|
520
|
+
::Thrift::Struct.generate_accessors self
|
521
|
+
end
|
522
|
+
|
523
|
+
class GetInfo_result
|
524
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
525
|
+
SUCCESS = 0
|
526
|
+
|
527
|
+
FIELDS = {
|
528
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TGetInfoResp}
|
529
|
+
}
|
530
|
+
|
531
|
+
def struct_fields; FIELDS; end
|
532
|
+
|
533
|
+
def validate
|
534
|
+
end
|
535
|
+
|
536
|
+
::Thrift::Struct.generate_accessors self
|
537
|
+
end
|
538
|
+
|
539
|
+
class ExecuteStatement_args
|
540
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
541
|
+
REQ = 1
|
542
|
+
|
543
|
+
FIELDS = {
|
544
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TExecuteStatementReq}
|
545
|
+
}
|
546
|
+
|
547
|
+
def struct_fields; FIELDS; end
|
548
|
+
|
549
|
+
def validate
|
550
|
+
end
|
551
|
+
|
552
|
+
::Thrift::Struct.generate_accessors self
|
553
|
+
end
|
554
|
+
|
555
|
+
class ExecuteStatement_result
|
556
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
557
|
+
SUCCESS = 0
|
558
|
+
|
559
|
+
FIELDS = {
|
560
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TExecuteStatementResp}
|
561
|
+
}
|
562
|
+
|
563
|
+
def struct_fields; FIELDS; end
|
564
|
+
|
565
|
+
def validate
|
566
|
+
end
|
567
|
+
|
568
|
+
::Thrift::Struct.generate_accessors self
|
569
|
+
end
|
570
|
+
|
571
|
+
class GetTypeInfo_args
|
572
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
573
|
+
REQ = 1
|
574
|
+
|
575
|
+
FIELDS = {
|
576
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TGetTypeInfoReq}
|
577
|
+
}
|
578
|
+
|
579
|
+
def struct_fields; FIELDS; end
|
580
|
+
|
581
|
+
def validate
|
582
|
+
end
|
583
|
+
|
584
|
+
::Thrift::Struct.generate_accessors self
|
585
|
+
end
|
586
|
+
|
587
|
+
class GetTypeInfo_result
|
588
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
589
|
+
SUCCESS = 0
|
590
|
+
|
591
|
+
FIELDS = {
|
592
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TGetTypeInfoResp}
|
593
|
+
}
|
594
|
+
|
595
|
+
def struct_fields; FIELDS; end
|
596
|
+
|
597
|
+
def validate
|
598
|
+
end
|
599
|
+
|
600
|
+
::Thrift::Struct.generate_accessors self
|
601
|
+
end
|
602
|
+
|
603
|
+
class GetCatalogs_args
|
604
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
605
|
+
REQ = 1
|
606
|
+
|
607
|
+
FIELDS = {
|
608
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TGetCatalogsReq}
|
609
|
+
}
|
610
|
+
|
611
|
+
def struct_fields; FIELDS; end
|
612
|
+
|
613
|
+
def validate
|
614
|
+
end
|
615
|
+
|
616
|
+
::Thrift::Struct.generate_accessors self
|
617
|
+
end
|
618
|
+
|
619
|
+
class GetCatalogs_result
|
620
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
621
|
+
SUCCESS = 0
|
622
|
+
|
623
|
+
FIELDS = {
|
624
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TGetCatalogsResp}
|
625
|
+
}
|
626
|
+
|
627
|
+
def struct_fields; FIELDS; end
|
628
|
+
|
629
|
+
def validate
|
630
|
+
end
|
631
|
+
|
632
|
+
::Thrift::Struct.generate_accessors self
|
633
|
+
end
|
634
|
+
|
635
|
+
class GetSchemas_args
|
636
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
637
|
+
REQ = 1
|
638
|
+
|
639
|
+
FIELDS = {
|
640
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TGetSchemasReq}
|
641
|
+
}
|
642
|
+
|
643
|
+
def struct_fields; FIELDS; end
|
644
|
+
|
645
|
+
def validate
|
646
|
+
end
|
647
|
+
|
648
|
+
::Thrift::Struct.generate_accessors self
|
649
|
+
end
|
650
|
+
|
651
|
+
class GetSchemas_result
|
652
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
653
|
+
SUCCESS = 0
|
654
|
+
|
655
|
+
FIELDS = {
|
656
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TGetSchemasResp}
|
657
|
+
}
|
658
|
+
|
659
|
+
def struct_fields; FIELDS; end
|
660
|
+
|
661
|
+
def validate
|
662
|
+
end
|
663
|
+
|
664
|
+
::Thrift::Struct.generate_accessors self
|
665
|
+
end
|
666
|
+
|
667
|
+
class GetTables_args
|
668
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
669
|
+
REQ = 1
|
670
|
+
|
671
|
+
FIELDS = {
|
672
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TGetTablesReq}
|
673
|
+
}
|
674
|
+
|
675
|
+
def struct_fields; FIELDS; end
|
676
|
+
|
677
|
+
def validate
|
678
|
+
end
|
679
|
+
|
680
|
+
::Thrift::Struct.generate_accessors self
|
681
|
+
end
|
682
|
+
|
683
|
+
class GetTables_result
|
684
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
685
|
+
SUCCESS = 0
|
686
|
+
|
687
|
+
FIELDS = {
|
688
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TGetTablesResp}
|
689
|
+
}
|
690
|
+
|
691
|
+
def struct_fields; FIELDS; end
|
692
|
+
|
693
|
+
def validate
|
694
|
+
end
|
695
|
+
|
696
|
+
::Thrift::Struct.generate_accessors self
|
697
|
+
end
|
698
|
+
|
699
|
+
class GetTableTypes_args
|
700
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
701
|
+
REQ = 1
|
702
|
+
|
703
|
+
FIELDS = {
|
704
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TGetTableTypesReq}
|
705
|
+
}
|
706
|
+
|
707
|
+
def struct_fields; FIELDS; end
|
708
|
+
|
709
|
+
def validate
|
710
|
+
end
|
711
|
+
|
712
|
+
::Thrift::Struct.generate_accessors self
|
713
|
+
end
|
714
|
+
|
715
|
+
class GetTableTypes_result
|
716
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
717
|
+
SUCCESS = 0
|
718
|
+
|
719
|
+
FIELDS = {
|
720
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TGetTableTypesResp}
|
721
|
+
}
|
722
|
+
|
723
|
+
def struct_fields; FIELDS; end
|
724
|
+
|
725
|
+
def validate
|
726
|
+
end
|
727
|
+
|
728
|
+
::Thrift::Struct.generate_accessors self
|
729
|
+
end
|
730
|
+
|
731
|
+
class GetColumns_args
|
732
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
733
|
+
REQ = 1
|
734
|
+
|
735
|
+
FIELDS = {
|
736
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TGetColumnsReq}
|
737
|
+
}
|
738
|
+
|
739
|
+
def struct_fields; FIELDS; end
|
740
|
+
|
741
|
+
def validate
|
742
|
+
end
|
743
|
+
|
744
|
+
::Thrift::Struct.generate_accessors self
|
745
|
+
end
|
746
|
+
|
747
|
+
class GetColumns_result
|
748
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
749
|
+
SUCCESS = 0
|
750
|
+
|
751
|
+
FIELDS = {
|
752
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TGetColumnsResp}
|
753
|
+
}
|
754
|
+
|
755
|
+
def struct_fields; FIELDS; end
|
756
|
+
|
757
|
+
def validate
|
758
|
+
end
|
759
|
+
|
760
|
+
::Thrift::Struct.generate_accessors self
|
761
|
+
end
|
762
|
+
|
763
|
+
class GetFunctions_args
|
764
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
765
|
+
REQ = 1
|
766
|
+
|
767
|
+
FIELDS = {
|
768
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TGetFunctionsReq}
|
769
|
+
}
|
770
|
+
|
771
|
+
def struct_fields; FIELDS; end
|
772
|
+
|
773
|
+
def validate
|
774
|
+
end
|
775
|
+
|
776
|
+
::Thrift::Struct.generate_accessors self
|
777
|
+
end
|
778
|
+
|
779
|
+
class GetFunctions_result
|
780
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
781
|
+
SUCCESS = 0
|
782
|
+
|
783
|
+
FIELDS = {
|
784
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TGetFunctionsResp}
|
785
|
+
}
|
786
|
+
|
787
|
+
def struct_fields; FIELDS; end
|
788
|
+
|
789
|
+
def validate
|
790
|
+
end
|
791
|
+
|
792
|
+
::Thrift::Struct.generate_accessors self
|
793
|
+
end
|
794
|
+
|
795
|
+
class GetOperationStatus_args
|
796
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
797
|
+
REQ = 1
|
798
|
+
|
799
|
+
FIELDS = {
|
800
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TGetOperationStatusReq}
|
801
|
+
}
|
802
|
+
|
803
|
+
def struct_fields; FIELDS; end
|
804
|
+
|
805
|
+
def validate
|
806
|
+
end
|
807
|
+
|
808
|
+
::Thrift::Struct.generate_accessors self
|
809
|
+
end
|
810
|
+
|
811
|
+
class GetOperationStatus_result
|
812
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
813
|
+
SUCCESS = 0
|
814
|
+
|
815
|
+
FIELDS = {
|
816
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TGetOperationStatusResp}
|
817
|
+
}
|
818
|
+
|
819
|
+
def struct_fields; FIELDS; end
|
820
|
+
|
821
|
+
def validate
|
822
|
+
end
|
823
|
+
|
824
|
+
::Thrift::Struct.generate_accessors self
|
825
|
+
end
|
826
|
+
|
827
|
+
class CancelOperation_args
|
828
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
829
|
+
REQ = 1
|
830
|
+
|
831
|
+
FIELDS = {
|
832
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TCancelOperationReq}
|
833
|
+
}
|
834
|
+
|
835
|
+
def struct_fields; FIELDS; end
|
836
|
+
|
837
|
+
def validate
|
838
|
+
end
|
839
|
+
|
840
|
+
::Thrift::Struct.generate_accessors self
|
841
|
+
end
|
842
|
+
|
843
|
+
class CancelOperation_result
|
844
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
845
|
+
SUCCESS = 0
|
846
|
+
|
847
|
+
FIELDS = {
|
848
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TCancelOperationResp}
|
849
|
+
}
|
850
|
+
|
851
|
+
def struct_fields; FIELDS; end
|
852
|
+
|
853
|
+
def validate
|
854
|
+
end
|
855
|
+
|
856
|
+
::Thrift::Struct.generate_accessors self
|
857
|
+
end
|
858
|
+
|
859
|
+
class CloseOperation_args
|
860
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
861
|
+
REQ = 1
|
862
|
+
|
863
|
+
FIELDS = {
|
864
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TCloseOperationReq}
|
865
|
+
}
|
866
|
+
|
867
|
+
def struct_fields; FIELDS; end
|
868
|
+
|
869
|
+
def validate
|
870
|
+
end
|
871
|
+
|
872
|
+
::Thrift::Struct.generate_accessors self
|
873
|
+
end
|
874
|
+
|
875
|
+
class CloseOperation_result
|
876
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
877
|
+
SUCCESS = 0
|
878
|
+
|
879
|
+
FIELDS = {
|
880
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TCloseOperationResp}
|
881
|
+
}
|
882
|
+
|
883
|
+
def struct_fields; FIELDS; end
|
884
|
+
|
885
|
+
def validate
|
886
|
+
end
|
887
|
+
|
888
|
+
::Thrift::Struct.generate_accessors self
|
889
|
+
end
|
890
|
+
|
891
|
+
class GetResultSetMetadata_args
|
892
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
893
|
+
REQ = 1
|
894
|
+
|
895
|
+
FIELDS = {
|
896
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TGetResultSetMetadataReq}
|
897
|
+
}
|
898
|
+
|
899
|
+
def struct_fields; FIELDS; end
|
900
|
+
|
901
|
+
def validate
|
902
|
+
end
|
903
|
+
|
904
|
+
::Thrift::Struct.generate_accessors self
|
905
|
+
end
|
906
|
+
|
907
|
+
class GetResultSetMetadata_result
|
908
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
909
|
+
SUCCESS = 0
|
910
|
+
|
911
|
+
FIELDS = {
|
912
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TGetResultSetMetadataResp}
|
913
|
+
}
|
914
|
+
|
915
|
+
def struct_fields; FIELDS; end
|
916
|
+
|
917
|
+
def validate
|
918
|
+
end
|
919
|
+
|
920
|
+
::Thrift::Struct.generate_accessors self
|
921
|
+
end
|
922
|
+
|
923
|
+
class FetchResults_args
|
924
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
925
|
+
REQ = 1
|
926
|
+
|
927
|
+
FIELDS = {
|
928
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TFetchResultsReq}
|
929
|
+
}
|
930
|
+
|
931
|
+
def struct_fields; FIELDS; end
|
932
|
+
|
933
|
+
def validate
|
934
|
+
end
|
935
|
+
|
936
|
+
::Thrift::Struct.generate_accessors self
|
937
|
+
end
|
938
|
+
|
939
|
+
class FetchResults_result
|
940
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
941
|
+
SUCCESS = 0
|
942
|
+
|
943
|
+
FIELDS = {
|
944
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TFetchResultsResp}
|
945
|
+
}
|
946
|
+
|
947
|
+
def struct_fields; FIELDS; end
|
948
|
+
|
949
|
+
def validate
|
950
|
+
end
|
951
|
+
|
952
|
+
::Thrift::Struct.generate_accessors self
|
953
|
+
end
|
954
|
+
|
955
|
+
class GetDelegationToken_args
|
956
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
957
|
+
REQ = 1
|
958
|
+
|
959
|
+
FIELDS = {
|
960
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TGetDelegationTokenReq}
|
961
|
+
}
|
962
|
+
|
963
|
+
def struct_fields; FIELDS; end
|
964
|
+
|
965
|
+
def validate
|
966
|
+
end
|
967
|
+
|
968
|
+
::Thrift::Struct.generate_accessors self
|
969
|
+
end
|
970
|
+
|
971
|
+
class GetDelegationToken_result
|
972
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
973
|
+
SUCCESS = 0
|
974
|
+
|
975
|
+
FIELDS = {
|
976
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TGetDelegationTokenResp}
|
977
|
+
}
|
978
|
+
|
979
|
+
def struct_fields; FIELDS; end
|
980
|
+
|
981
|
+
def validate
|
982
|
+
end
|
983
|
+
|
984
|
+
::Thrift::Struct.generate_accessors self
|
985
|
+
end
|
986
|
+
|
987
|
+
class CancelDelegationToken_args
|
988
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
989
|
+
REQ = 1
|
990
|
+
|
991
|
+
FIELDS = {
|
992
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TCancelDelegationTokenReq}
|
993
|
+
}
|
994
|
+
|
995
|
+
def struct_fields; FIELDS; end
|
996
|
+
|
997
|
+
def validate
|
998
|
+
end
|
999
|
+
|
1000
|
+
::Thrift::Struct.generate_accessors self
|
1001
|
+
end
|
1002
|
+
|
1003
|
+
class CancelDelegationToken_result
|
1004
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
1005
|
+
SUCCESS = 0
|
1006
|
+
|
1007
|
+
FIELDS = {
|
1008
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TCancelDelegationTokenResp}
|
1009
|
+
}
|
1010
|
+
|
1011
|
+
def struct_fields; FIELDS; end
|
1012
|
+
|
1013
|
+
def validate
|
1014
|
+
end
|
1015
|
+
|
1016
|
+
::Thrift::Struct.generate_accessors self
|
1017
|
+
end
|
1018
|
+
|
1019
|
+
class RenewDelegationToken_args
|
1020
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
1021
|
+
REQ = 1
|
1022
|
+
|
1023
|
+
FIELDS = {
|
1024
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hive2::Thrift::TRenewDelegationTokenReq}
|
1025
|
+
}
|
1026
|
+
|
1027
|
+
def struct_fields; FIELDS; end
|
1028
|
+
|
1029
|
+
def validate
|
1030
|
+
end
|
1031
|
+
|
1032
|
+
::Thrift::Struct.generate_accessors self
|
1033
|
+
end
|
1034
|
+
|
1035
|
+
class RenewDelegationToken_result
|
1036
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
1037
|
+
SUCCESS = 0
|
1038
|
+
|
1039
|
+
FIELDS = {
|
1040
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hive2::Thrift::TRenewDelegationTokenResp}
|
1041
|
+
}
|
1042
|
+
|
1043
|
+
def struct_fields; FIELDS; end
|
1044
|
+
|
1045
|
+
def validate
|
1046
|
+
end
|
1047
|
+
|
1048
|
+
::Thrift::Struct.generate_accessors self
|
1049
|
+
end
|
1050
|
+
|
1051
|
+
end
|
1052
|
+
|
1053
|
+
end
|
1054
|
+
end
|