hexspace 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +3 -0
- data/LICENSE.txt +202 -0
- data/README.md +98 -0
- data/lib/hexspace.rb +16 -0
- data/lib/hexspace/client.rb +130 -0
- data/lib/hexspace/sasl_transport.rb +35 -0
- data/lib/hexspace/tcli_service.rb +1158 -0
- data/lib/hexspace/tcli_service_constants.rb +72 -0
- data/lib/hexspace/tcli_service_types.rb +2076 -0
- data/lib/hexspace/version.rb +3 -0
- metadata +66 -0
@@ -0,0 +1,35 @@
|
|
1
|
+
module Hexspace
|
2
|
+
class SaslTransport < Thrift::FramedTransport
|
3
|
+
attr_reader :options
|
4
|
+
|
5
|
+
def initialize(transport, **options)
|
6
|
+
super(transport)
|
7
|
+
@options = options
|
8
|
+
end
|
9
|
+
|
10
|
+
def open
|
11
|
+
super
|
12
|
+
|
13
|
+
step = [options[:authzid], options[:username], options[:password]].map(&:to_s).join("\x00".b)
|
14
|
+
|
15
|
+
write_sasl("\x01", "PLAIN")
|
16
|
+
write_sasl("\x02", step)
|
17
|
+
|
18
|
+
resp = @transport.read(5)
|
19
|
+
case resp[0]
|
20
|
+
when "\x03"
|
21
|
+
len = resp[1..-1].unpack1("N")
|
22
|
+
raise Error, @transport.read(len)
|
23
|
+
when "\x05"
|
24
|
+
# success
|
25
|
+
else
|
26
|
+
raise Error, "Unknown response: #{resp.inspect}"
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
def write_sasl(status, body)
|
31
|
+
@transport.write("#{status}#{[body.bytesize].pack("N")}#{body}")
|
32
|
+
@transport.flush
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,1158 @@
|
|
1
|
+
#
|
2
|
+
# Autogenerated by Thrift Compiler (0.13.0)
|
3
|
+
#
|
4
|
+
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
5
|
+
#
|
6
|
+
|
7
|
+
|
8
|
+
module Hexspace
|
9
|
+
module TCLIService
|
10
|
+
class Client
|
11
|
+
include ::Thrift::Client
|
12
|
+
|
13
|
+
def OpenSession(req)
|
14
|
+
send_OpenSession(req)
|
15
|
+
return recv_OpenSession()
|
16
|
+
end
|
17
|
+
|
18
|
+
def send_OpenSession(req)
|
19
|
+
send_message('OpenSession', OpenSession_args, :req => req)
|
20
|
+
end
|
21
|
+
|
22
|
+
def recv_OpenSession()
|
23
|
+
result = receive_message(OpenSession_result)
|
24
|
+
return result.success unless result.success.nil?
|
25
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'OpenSession failed: unknown result')
|
26
|
+
end
|
27
|
+
|
28
|
+
def CloseSession(req)
|
29
|
+
send_CloseSession(req)
|
30
|
+
return recv_CloseSession()
|
31
|
+
end
|
32
|
+
|
33
|
+
def send_CloseSession(req)
|
34
|
+
send_message('CloseSession', CloseSession_args, :req => req)
|
35
|
+
end
|
36
|
+
|
37
|
+
def recv_CloseSession()
|
38
|
+
result = receive_message(CloseSession_result)
|
39
|
+
return result.success unless result.success.nil?
|
40
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'CloseSession failed: unknown result')
|
41
|
+
end
|
42
|
+
|
43
|
+
def GetInfo(req)
|
44
|
+
send_GetInfo(req)
|
45
|
+
return recv_GetInfo()
|
46
|
+
end
|
47
|
+
|
48
|
+
def send_GetInfo(req)
|
49
|
+
send_message('GetInfo', GetInfo_args, :req => req)
|
50
|
+
end
|
51
|
+
|
52
|
+
def recv_GetInfo()
|
53
|
+
result = receive_message(GetInfo_result)
|
54
|
+
return result.success unless result.success.nil?
|
55
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetInfo failed: unknown result')
|
56
|
+
end
|
57
|
+
|
58
|
+
def ExecuteStatement(req)
|
59
|
+
send_ExecuteStatement(req)
|
60
|
+
return recv_ExecuteStatement()
|
61
|
+
end
|
62
|
+
|
63
|
+
def send_ExecuteStatement(req)
|
64
|
+
send_message('ExecuteStatement', ExecuteStatement_args, :req => req)
|
65
|
+
end
|
66
|
+
|
67
|
+
def recv_ExecuteStatement()
|
68
|
+
result = receive_message(ExecuteStatement_result)
|
69
|
+
return result.success unless result.success.nil?
|
70
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'ExecuteStatement failed: unknown result')
|
71
|
+
end
|
72
|
+
|
73
|
+
def GetTypeInfo(req)
|
74
|
+
send_GetTypeInfo(req)
|
75
|
+
return recv_GetTypeInfo()
|
76
|
+
end
|
77
|
+
|
78
|
+
def send_GetTypeInfo(req)
|
79
|
+
send_message('GetTypeInfo', GetTypeInfo_args, :req => req)
|
80
|
+
end
|
81
|
+
|
82
|
+
def recv_GetTypeInfo()
|
83
|
+
result = receive_message(GetTypeInfo_result)
|
84
|
+
return result.success unless result.success.nil?
|
85
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetTypeInfo failed: unknown result')
|
86
|
+
end
|
87
|
+
|
88
|
+
def GetCatalogs(req)
|
89
|
+
send_GetCatalogs(req)
|
90
|
+
return recv_GetCatalogs()
|
91
|
+
end
|
92
|
+
|
93
|
+
def send_GetCatalogs(req)
|
94
|
+
send_message('GetCatalogs', GetCatalogs_args, :req => req)
|
95
|
+
end
|
96
|
+
|
97
|
+
def recv_GetCatalogs()
|
98
|
+
result = receive_message(GetCatalogs_result)
|
99
|
+
return result.success unless result.success.nil?
|
100
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetCatalogs failed: unknown result')
|
101
|
+
end
|
102
|
+
|
103
|
+
def GetSchemas(req)
|
104
|
+
send_GetSchemas(req)
|
105
|
+
return recv_GetSchemas()
|
106
|
+
end
|
107
|
+
|
108
|
+
def send_GetSchemas(req)
|
109
|
+
send_message('GetSchemas', GetSchemas_args, :req => req)
|
110
|
+
end
|
111
|
+
|
112
|
+
def recv_GetSchemas()
|
113
|
+
result = receive_message(GetSchemas_result)
|
114
|
+
return result.success unless result.success.nil?
|
115
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetSchemas failed: unknown result')
|
116
|
+
end
|
117
|
+
|
118
|
+
def GetTables(req)
|
119
|
+
send_GetTables(req)
|
120
|
+
return recv_GetTables()
|
121
|
+
end
|
122
|
+
|
123
|
+
def send_GetTables(req)
|
124
|
+
send_message('GetTables', GetTables_args, :req => req)
|
125
|
+
end
|
126
|
+
|
127
|
+
def recv_GetTables()
|
128
|
+
result = receive_message(GetTables_result)
|
129
|
+
return result.success unless result.success.nil?
|
130
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetTables failed: unknown result')
|
131
|
+
end
|
132
|
+
|
133
|
+
def GetTableTypes(req)
|
134
|
+
send_GetTableTypes(req)
|
135
|
+
return recv_GetTableTypes()
|
136
|
+
end
|
137
|
+
|
138
|
+
def send_GetTableTypes(req)
|
139
|
+
send_message('GetTableTypes', GetTableTypes_args, :req => req)
|
140
|
+
end
|
141
|
+
|
142
|
+
def recv_GetTableTypes()
|
143
|
+
result = receive_message(GetTableTypes_result)
|
144
|
+
return result.success unless result.success.nil?
|
145
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetTableTypes failed: unknown result')
|
146
|
+
end
|
147
|
+
|
148
|
+
def GetColumns(req)
|
149
|
+
send_GetColumns(req)
|
150
|
+
return recv_GetColumns()
|
151
|
+
end
|
152
|
+
|
153
|
+
def send_GetColumns(req)
|
154
|
+
send_message('GetColumns', GetColumns_args, :req => req)
|
155
|
+
end
|
156
|
+
|
157
|
+
def recv_GetColumns()
|
158
|
+
result = receive_message(GetColumns_result)
|
159
|
+
return result.success unless result.success.nil?
|
160
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetColumns failed: unknown result')
|
161
|
+
end
|
162
|
+
|
163
|
+
def GetFunctions(req)
|
164
|
+
send_GetFunctions(req)
|
165
|
+
return recv_GetFunctions()
|
166
|
+
end
|
167
|
+
|
168
|
+
def send_GetFunctions(req)
|
169
|
+
send_message('GetFunctions', GetFunctions_args, :req => req)
|
170
|
+
end
|
171
|
+
|
172
|
+
def recv_GetFunctions()
|
173
|
+
result = receive_message(GetFunctions_result)
|
174
|
+
return result.success unless result.success.nil?
|
175
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetFunctions failed: unknown result')
|
176
|
+
end
|
177
|
+
|
178
|
+
def GetPrimaryKeys(req)
|
179
|
+
send_GetPrimaryKeys(req)
|
180
|
+
return recv_GetPrimaryKeys()
|
181
|
+
end
|
182
|
+
|
183
|
+
def send_GetPrimaryKeys(req)
|
184
|
+
send_message('GetPrimaryKeys', GetPrimaryKeys_args, :req => req)
|
185
|
+
end
|
186
|
+
|
187
|
+
def recv_GetPrimaryKeys()
|
188
|
+
result = receive_message(GetPrimaryKeys_result)
|
189
|
+
return result.success unless result.success.nil?
|
190
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetPrimaryKeys failed: unknown result')
|
191
|
+
end
|
192
|
+
|
193
|
+
def GetCrossReference(req)
|
194
|
+
send_GetCrossReference(req)
|
195
|
+
return recv_GetCrossReference()
|
196
|
+
end
|
197
|
+
|
198
|
+
def send_GetCrossReference(req)
|
199
|
+
send_message('GetCrossReference', GetCrossReference_args, :req => req)
|
200
|
+
end
|
201
|
+
|
202
|
+
def recv_GetCrossReference()
|
203
|
+
result = receive_message(GetCrossReference_result)
|
204
|
+
return result.success unless result.success.nil?
|
205
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetCrossReference failed: unknown result')
|
206
|
+
end
|
207
|
+
|
208
|
+
def GetOperationStatus(req)
|
209
|
+
send_GetOperationStatus(req)
|
210
|
+
return recv_GetOperationStatus()
|
211
|
+
end
|
212
|
+
|
213
|
+
def send_GetOperationStatus(req)
|
214
|
+
send_message('GetOperationStatus', GetOperationStatus_args, :req => req)
|
215
|
+
end
|
216
|
+
|
217
|
+
def recv_GetOperationStatus()
|
218
|
+
result = receive_message(GetOperationStatus_result)
|
219
|
+
return result.success unless result.success.nil?
|
220
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetOperationStatus failed: unknown result')
|
221
|
+
end
|
222
|
+
|
223
|
+
def CancelOperation(req)
|
224
|
+
send_CancelOperation(req)
|
225
|
+
return recv_CancelOperation()
|
226
|
+
end
|
227
|
+
|
228
|
+
def send_CancelOperation(req)
|
229
|
+
send_message('CancelOperation', CancelOperation_args, :req => req)
|
230
|
+
end
|
231
|
+
|
232
|
+
def recv_CancelOperation()
|
233
|
+
result = receive_message(CancelOperation_result)
|
234
|
+
return result.success unless result.success.nil?
|
235
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'CancelOperation failed: unknown result')
|
236
|
+
end
|
237
|
+
|
238
|
+
def CloseOperation(req)
|
239
|
+
send_CloseOperation(req)
|
240
|
+
return recv_CloseOperation()
|
241
|
+
end
|
242
|
+
|
243
|
+
def send_CloseOperation(req)
|
244
|
+
send_message('CloseOperation', CloseOperation_args, :req => req)
|
245
|
+
end
|
246
|
+
|
247
|
+
def recv_CloseOperation()
|
248
|
+
result = receive_message(CloseOperation_result)
|
249
|
+
return result.success unless result.success.nil?
|
250
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'CloseOperation failed: unknown result')
|
251
|
+
end
|
252
|
+
|
253
|
+
def GetResultSetMetadata(req)
|
254
|
+
send_GetResultSetMetadata(req)
|
255
|
+
return recv_GetResultSetMetadata()
|
256
|
+
end
|
257
|
+
|
258
|
+
def send_GetResultSetMetadata(req)
|
259
|
+
send_message('GetResultSetMetadata', GetResultSetMetadata_args, :req => req)
|
260
|
+
end
|
261
|
+
|
262
|
+
def recv_GetResultSetMetadata()
|
263
|
+
result = receive_message(GetResultSetMetadata_result)
|
264
|
+
return result.success unless result.success.nil?
|
265
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetResultSetMetadata failed: unknown result')
|
266
|
+
end
|
267
|
+
|
268
|
+
def FetchResults(req)
|
269
|
+
send_FetchResults(req)
|
270
|
+
return recv_FetchResults()
|
271
|
+
end
|
272
|
+
|
273
|
+
def send_FetchResults(req)
|
274
|
+
send_message('FetchResults', FetchResults_args, :req => req)
|
275
|
+
end
|
276
|
+
|
277
|
+
def recv_FetchResults()
|
278
|
+
result = receive_message(FetchResults_result)
|
279
|
+
return result.success unless result.success.nil?
|
280
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'FetchResults failed: unknown result')
|
281
|
+
end
|
282
|
+
|
283
|
+
def GetDelegationToken(req)
|
284
|
+
send_GetDelegationToken(req)
|
285
|
+
return recv_GetDelegationToken()
|
286
|
+
end
|
287
|
+
|
288
|
+
def send_GetDelegationToken(req)
|
289
|
+
send_message('GetDelegationToken', GetDelegationToken_args, :req => req)
|
290
|
+
end
|
291
|
+
|
292
|
+
def recv_GetDelegationToken()
|
293
|
+
result = receive_message(GetDelegationToken_result)
|
294
|
+
return result.success unless result.success.nil?
|
295
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetDelegationToken failed: unknown result')
|
296
|
+
end
|
297
|
+
|
298
|
+
def CancelDelegationToken(req)
|
299
|
+
send_CancelDelegationToken(req)
|
300
|
+
return recv_CancelDelegationToken()
|
301
|
+
end
|
302
|
+
|
303
|
+
def send_CancelDelegationToken(req)
|
304
|
+
send_message('CancelDelegationToken', CancelDelegationToken_args, :req => req)
|
305
|
+
end
|
306
|
+
|
307
|
+
def recv_CancelDelegationToken()
|
308
|
+
result = receive_message(CancelDelegationToken_result)
|
309
|
+
return result.success unless result.success.nil?
|
310
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'CancelDelegationToken failed: unknown result')
|
311
|
+
end
|
312
|
+
|
313
|
+
def RenewDelegationToken(req)
|
314
|
+
send_RenewDelegationToken(req)
|
315
|
+
return recv_RenewDelegationToken()
|
316
|
+
end
|
317
|
+
|
318
|
+
def send_RenewDelegationToken(req)
|
319
|
+
send_message('RenewDelegationToken', RenewDelegationToken_args, :req => req)
|
320
|
+
end
|
321
|
+
|
322
|
+
def recv_RenewDelegationToken()
|
323
|
+
result = receive_message(RenewDelegationToken_result)
|
324
|
+
return result.success unless result.success.nil?
|
325
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'RenewDelegationToken failed: unknown result')
|
326
|
+
end
|
327
|
+
|
328
|
+
end
|
329
|
+
|
330
|
+
class Processor
|
331
|
+
include ::Thrift::Processor
|
332
|
+
|
333
|
+
def process_OpenSession(seqid, iprot, oprot)
|
334
|
+
args = read_args(iprot, OpenSession_args)
|
335
|
+
result = OpenSession_result.new()
|
336
|
+
result.success = @handler.OpenSession(args.req)
|
337
|
+
write_result(result, oprot, 'OpenSession', seqid)
|
338
|
+
end
|
339
|
+
|
340
|
+
def process_CloseSession(seqid, iprot, oprot)
|
341
|
+
args = read_args(iprot, CloseSession_args)
|
342
|
+
result = CloseSession_result.new()
|
343
|
+
result.success = @handler.CloseSession(args.req)
|
344
|
+
write_result(result, oprot, 'CloseSession', seqid)
|
345
|
+
end
|
346
|
+
|
347
|
+
def process_GetInfo(seqid, iprot, oprot)
|
348
|
+
args = read_args(iprot, GetInfo_args)
|
349
|
+
result = GetInfo_result.new()
|
350
|
+
result.success = @handler.GetInfo(args.req)
|
351
|
+
write_result(result, oprot, 'GetInfo', seqid)
|
352
|
+
end
|
353
|
+
|
354
|
+
def process_ExecuteStatement(seqid, iprot, oprot)
|
355
|
+
args = read_args(iprot, ExecuteStatement_args)
|
356
|
+
result = ExecuteStatement_result.new()
|
357
|
+
result.success = @handler.ExecuteStatement(args.req)
|
358
|
+
write_result(result, oprot, 'ExecuteStatement', seqid)
|
359
|
+
end
|
360
|
+
|
361
|
+
def process_GetTypeInfo(seqid, iprot, oprot)
|
362
|
+
args = read_args(iprot, GetTypeInfo_args)
|
363
|
+
result = GetTypeInfo_result.new()
|
364
|
+
result.success = @handler.GetTypeInfo(args.req)
|
365
|
+
write_result(result, oprot, 'GetTypeInfo', seqid)
|
366
|
+
end
|
367
|
+
|
368
|
+
def process_GetCatalogs(seqid, iprot, oprot)
|
369
|
+
args = read_args(iprot, GetCatalogs_args)
|
370
|
+
result = GetCatalogs_result.new()
|
371
|
+
result.success = @handler.GetCatalogs(args.req)
|
372
|
+
write_result(result, oprot, 'GetCatalogs', seqid)
|
373
|
+
end
|
374
|
+
|
375
|
+
def process_GetSchemas(seqid, iprot, oprot)
|
376
|
+
args = read_args(iprot, GetSchemas_args)
|
377
|
+
result = GetSchemas_result.new()
|
378
|
+
result.success = @handler.GetSchemas(args.req)
|
379
|
+
write_result(result, oprot, 'GetSchemas', seqid)
|
380
|
+
end
|
381
|
+
|
382
|
+
def process_GetTables(seqid, iprot, oprot)
|
383
|
+
args = read_args(iprot, GetTables_args)
|
384
|
+
result = GetTables_result.new()
|
385
|
+
result.success = @handler.GetTables(args.req)
|
386
|
+
write_result(result, oprot, 'GetTables', seqid)
|
387
|
+
end
|
388
|
+
|
389
|
+
def process_GetTableTypes(seqid, iprot, oprot)
|
390
|
+
args = read_args(iprot, GetTableTypes_args)
|
391
|
+
result = GetTableTypes_result.new()
|
392
|
+
result.success = @handler.GetTableTypes(args.req)
|
393
|
+
write_result(result, oprot, 'GetTableTypes', seqid)
|
394
|
+
end
|
395
|
+
|
396
|
+
def process_GetColumns(seqid, iprot, oprot)
|
397
|
+
args = read_args(iprot, GetColumns_args)
|
398
|
+
result = GetColumns_result.new()
|
399
|
+
result.success = @handler.GetColumns(args.req)
|
400
|
+
write_result(result, oprot, 'GetColumns', seqid)
|
401
|
+
end
|
402
|
+
|
403
|
+
def process_GetFunctions(seqid, iprot, oprot)
|
404
|
+
args = read_args(iprot, GetFunctions_args)
|
405
|
+
result = GetFunctions_result.new()
|
406
|
+
result.success = @handler.GetFunctions(args.req)
|
407
|
+
write_result(result, oprot, 'GetFunctions', seqid)
|
408
|
+
end
|
409
|
+
|
410
|
+
def process_GetPrimaryKeys(seqid, iprot, oprot)
|
411
|
+
args = read_args(iprot, GetPrimaryKeys_args)
|
412
|
+
result = GetPrimaryKeys_result.new()
|
413
|
+
result.success = @handler.GetPrimaryKeys(args.req)
|
414
|
+
write_result(result, oprot, 'GetPrimaryKeys', seqid)
|
415
|
+
end
|
416
|
+
|
417
|
+
def process_GetCrossReference(seqid, iprot, oprot)
|
418
|
+
args = read_args(iprot, GetCrossReference_args)
|
419
|
+
result = GetCrossReference_result.new()
|
420
|
+
result.success = @handler.GetCrossReference(args.req)
|
421
|
+
write_result(result, oprot, 'GetCrossReference', seqid)
|
422
|
+
end
|
423
|
+
|
424
|
+
def process_GetOperationStatus(seqid, iprot, oprot)
|
425
|
+
args = read_args(iprot, GetOperationStatus_args)
|
426
|
+
result = GetOperationStatus_result.new()
|
427
|
+
result.success = @handler.GetOperationStatus(args.req)
|
428
|
+
write_result(result, oprot, 'GetOperationStatus', seqid)
|
429
|
+
end
|
430
|
+
|
431
|
+
def process_CancelOperation(seqid, iprot, oprot)
|
432
|
+
args = read_args(iprot, CancelOperation_args)
|
433
|
+
result = CancelOperation_result.new()
|
434
|
+
result.success = @handler.CancelOperation(args.req)
|
435
|
+
write_result(result, oprot, 'CancelOperation', seqid)
|
436
|
+
end
|
437
|
+
|
438
|
+
def process_CloseOperation(seqid, iprot, oprot)
|
439
|
+
args = read_args(iprot, CloseOperation_args)
|
440
|
+
result = CloseOperation_result.new()
|
441
|
+
result.success = @handler.CloseOperation(args.req)
|
442
|
+
write_result(result, oprot, 'CloseOperation', seqid)
|
443
|
+
end
|
444
|
+
|
445
|
+
def process_GetResultSetMetadata(seqid, iprot, oprot)
|
446
|
+
args = read_args(iprot, GetResultSetMetadata_args)
|
447
|
+
result = GetResultSetMetadata_result.new()
|
448
|
+
result.success = @handler.GetResultSetMetadata(args.req)
|
449
|
+
write_result(result, oprot, 'GetResultSetMetadata', seqid)
|
450
|
+
end
|
451
|
+
|
452
|
+
def process_FetchResults(seqid, iprot, oprot)
|
453
|
+
args = read_args(iprot, FetchResults_args)
|
454
|
+
result = FetchResults_result.new()
|
455
|
+
result.success = @handler.FetchResults(args.req)
|
456
|
+
write_result(result, oprot, 'FetchResults', seqid)
|
457
|
+
end
|
458
|
+
|
459
|
+
def process_GetDelegationToken(seqid, iprot, oprot)
|
460
|
+
args = read_args(iprot, GetDelegationToken_args)
|
461
|
+
result = GetDelegationToken_result.new()
|
462
|
+
result.success = @handler.GetDelegationToken(args.req)
|
463
|
+
write_result(result, oprot, 'GetDelegationToken', seqid)
|
464
|
+
end
|
465
|
+
|
466
|
+
def process_CancelDelegationToken(seqid, iprot, oprot)
|
467
|
+
args = read_args(iprot, CancelDelegationToken_args)
|
468
|
+
result = CancelDelegationToken_result.new()
|
469
|
+
result.success = @handler.CancelDelegationToken(args.req)
|
470
|
+
write_result(result, oprot, 'CancelDelegationToken', seqid)
|
471
|
+
end
|
472
|
+
|
473
|
+
def process_RenewDelegationToken(seqid, iprot, oprot)
|
474
|
+
args = read_args(iprot, RenewDelegationToken_args)
|
475
|
+
result = RenewDelegationToken_result.new()
|
476
|
+
result.success = @handler.RenewDelegationToken(args.req)
|
477
|
+
write_result(result, oprot, 'RenewDelegationToken', seqid)
|
478
|
+
end
|
479
|
+
|
480
|
+
end
|
481
|
+
|
482
|
+
# HELPER FUNCTIONS AND STRUCTURES
|
483
|
+
|
484
|
+
class OpenSession_args
|
485
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
486
|
+
REQ = 1
|
487
|
+
|
488
|
+
FIELDS = {
|
489
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TOpenSessionReq}
|
490
|
+
}
|
491
|
+
|
492
|
+
def struct_fields; FIELDS; end
|
493
|
+
|
494
|
+
def validate
|
495
|
+
end
|
496
|
+
|
497
|
+
::Thrift::Struct.generate_accessors self
|
498
|
+
end
|
499
|
+
|
500
|
+
class OpenSession_result
|
501
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
502
|
+
SUCCESS = 0
|
503
|
+
|
504
|
+
FIELDS = {
|
505
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TOpenSessionResp}
|
506
|
+
}
|
507
|
+
|
508
|
+
def struct_fields; FIELDS; end
|
509
|
+
|
510
|
+
def validate
|
511
|
+
end
|
512
|
+
|
513
|
+
::Thrift::Struct.generate_accessors self
|
514
|
+
end
|
515
|
+
|
516
|
+
class CloseSession_args
|
517
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
518
|
+
REQ = 1
|
519
|
+
|
520
|
+
FIELDS = {
|
521
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TCloseSessionReq}
|
522
|
+
}
|
523
|
+
|
524
|
+
def struct_fields; FIELDS; end
|
525
|
+
|
526
|
+
def validate
|
527
|
+
end
|
528
|
+
|
529
|
+
::Thrift::Struct.generate_accessors self
|
530
|
+
end
|
531
|
+
|
532
|
+
class CloseSession_result
|
533
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
534
|
+
SUCCESS = 0
|
535
|
+
|
536
|
+
FIELDS = {
|
537
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TCloseSessionResp}
|
538
|
+
}
|
539
|
+
|
540
|
+
def struct_fields; FIELDS; end
|
541
|
+
|
542
|
+
def validate
|
543
|
+
end
|
544
|
+
|
545
|
+
::Thrift::Struct.generate_accessors self
|
546
|
+
end
|
547
|
+
|
548
|
+
class GetInfo_args
|
549
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
550
|
+
REQ = 1
|
551
|
+
|
552
|
+
FIELDS = {
|
553
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetInfoReq}
|
554
|
+
}
|
555
|
+
|
556
|
+
def struct_fields; FIELDS; end
|
557
|
+
|
558
|
+
def validate
|
559
|
+
end
|
560
|
+
|
561
|
+
::Thrift::Struct.generate_accessors self
|
562
|
+
end
|
563
|
+
|
564
|
+
class GetInfo_result
|
565
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
566
|
+
SUCCESS = 0
|
567
|
+
|
568
|
+
FIELDS = {
|
569
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetInfoResp}
|
570
|
+
}
|
571
|
+
|
572
|
+
def struct_fields; FIELDS; end
|
573
|
+
|
574
|
+
def validate
|
575
|
+
end
|
576
|
+
|
577
|
+
::Thrift::Struct.generate_accessors self
|
578
|
+
end
|
579
|
+
|
580
|
+
class ExecuteStatement_args
|
581
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
582
|
+
REQ = 1
|
583
|
+
|
584
|
+
FIELDS = {
|
585
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TExecuteStatementReq}
|
586
|
+
}
|
587
|
+
|
588
|
+
def struct_fields; FIELDS; end
|
589
|
+
|
590
|
+
def validate
|
591
|
+
end
|
592
|
+
|
593
|
+
::Thrift::Struct.generate_accessors self
|
594
|
+
end
|
595
|
+
|
596
|
+
class ExecuteStatement_result
|
597
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
598
|
+
SUCCESS = 0
|
599
|
+
|
600
|
+
FIELDS = {
|
601
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TExecuteStatementResp}
|
602
|
+
}
|
603
|
+
|
604
|
+
def struct_fields; FIELDS; end
|
605
|
+
|
606
|
+
def validate
|
607
|
+
end
|
608
|
+
|
609
|
+
::Thrift::Struct.generate_accessors self
|
610
|
+
end
|
611
|
+
|
612
|
+
class GetTypeInfo_args
|
613
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
614
|
+
REQ = 1
|
615
|
+
|
616
|
+
FIELDS = {
|
617
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetTypeInfoReq}
|
618
|
+
}
|
619
|
+
|
620
|
+
def struct_fields; FIELDS; end
|
621
|
+
|
622
|
+
def validate
|
623
|
+
end
|
624
|
+
|
625
|
+
::Thrift::Struct.generate_accessors self
|
626
|
+
end
|
627
|
+
|
628
|
+
class GetTypeInfo_result
|
629
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
630
|
+
SUCCESS = 0
|
631
|
+
|
632
|
+
FIELDS = {
|
633
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetTypeInfoResp}
|
634
|
+
}
|
635
|
+
|
636
|
+
def struct_fields; FIELDS; end
|
637
|
+
|
638
|
+
def validate
|
639
|
+
end
|
640
|
+
|
641
|
+
::Thrift::Struct.generate_accessors self
|
642
|
+
end
|
643
|
+
|
644
|
+
class GetCatalogs_args
|
645
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
646
|
+
REQ = 1
|
647
|
+
|
648
|
+
FIELDS = {
|
649
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetCatalogsReq}
|
650
|
+
}
|
651
|
+
|
652
|
+
def struct_fields; FIELDS; end
|
653
|
+
|
654
|
+
def validate
|
655
|
+
end
|
656
|
+
|
657
|
+
::Thrift::Struct.generate_accessors self
|
658
|
+
end
|
659
|
+
|
660
|
+
class GetCatalogs_result
|
661
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
662
|
+
SUCCESS = 0
|
663
|
+
|
664
|
+
FIELDS = {
|
665
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetCatalogsResp}
|
666
|
+
}
|
667
|
+
|
668
|
+
def struct_fields; FIELDS; end
|
669
|
+
|
670
|
+
def validate
|
671
|
+
end
|
672
|
+
|
673
|
+
::Thrift::Struct.generate_accessors self
|
674
|
+
end
|
675
|
+
|
676
|
+
class GetSchemas_args
|
677
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
678
|
+
REQ = 1
|
679
|
+
|
680
|
+
FIELDS = {
|
681
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetSchemasReq}
|
682
|
+
}
|
683
|
+
|
684
|
+
def struct_fields; FIELDS; end
|
685
|
+
|
686
|
+
def validate
|
687
|
+
end
|
688
|
+
|
689
|
+
::Thrift::Struct.generate_accessors self
|
690
|
+
end
|
691
|
+
|
692
|
+
class GetSchemas_result
|
693
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
694
|
+
SUCCESS = 0
|
695
|
+
|
696
|
+
FIELDS = {
|
697
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetSchemasResp}
|
698
|
+
}
|
699
|
+
|
700
|
+
def struct_fields; FIELDS; end
|
701
|
+
|
702
|
+
def validate
|
703
|
+
end
|
704
|
+
|
705
|
+
::Thrift::Struct.generate_accessors self
|
706
|
+
end
|
707
|
+
|
708
|
+
class GetTables_args
|
709
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
710
|
+
REQ = 1
|
711
|
+
|
712
|
+
FIELDS = {
|
713
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetTablesReq}
|
714
|
+
}
|
715
|
+
|
716
|
+
def struct_fields; FIELDS; end
|
717
|
+
|
718
|
+
def validate
|
719
|
+
end
|
720
|
+
|
721
|
+
::Thrift::Struct.generate_accessors self
|
722
|
+
end
|
723
|
+
|
724
|
+
class GetTables_result
|
725
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
726
|
+
SUCCESS = 0
|
727
|
+
|
728
|
+
FIELDS = {
|
729
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetTablesResp}
|
730
|
+
}
|
731
|
+
|
732
|
+
def struct_fields; FIELDS; end
|
733
|
+
|
734
|
+
def validate
|
735
|
+
end
|
736
|
+
|
737
|
+
::Thrift::Struct.generate_accessors self
|
738
|
+
end
|
739
|
+
|
740
|
+
class GetTableTypes_args
|
741
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
742
|
+
REQ = 1
|
743
|
+
|
744
|
+
FIELDS = {
|
745
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetTableTypesReq}
|
746
|
+
}
|
747
|
+
|
748
|
+
def struct_fields; FIELDS; end
|
749
|
+
|
750
|
+
def validate
|
751
|
+
end
|
752
|
+
|
753
|
+
::Thrift::Struct.generate_accessors self
|
754
|
+
end
|
755
|
+
|
756
|
+
class GetTableTypes_result
|
757
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
758
|
+
SUCCESS = 0
|
759
|
+
|
760
|
+
FIELDS = {
|
761
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetTableTypesResp}
|
762
|
+
}
|
763
|
+
|
764
|
+
def struct_fields; FIELDS; end
|
765
|
+
|
766
|
+
def validate
|
767
|
+
end
|
768
|
+
|
769
|
+
::Thrift::Struct.generate_accessors self
|
770
|
+
end
|
771
|
+
|
772
|
+
class GetColumns_args
|
773
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
774
|
+
REQ = 1
|
775
|
+
|
776
|
+
FIELDS = {
|
777
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetColumnsReq}
|
778
|
+
}
|
779
|
+
|
780
|
+
def struct_fields; FIELDS; end
|
781
|
+
|
782
|
+
def validate
|
783
|
+
end
|
784
|
+
|
785
|
+
::Thrift::Struct.generate_accessors self
|
786
|
+
end
|
787
|
+
|
788
|
+
class GetColumns_result
|
789
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
790
|
+
SUCCESS = 0
|
791
|
+
|
792
|
+
FIELDS = {
|
793
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetColumnsResp}
|
794
|
+
}
|
795
|
+
|
796
|
+
def struct_fields; FIELDS; end
|
797
|
+
|
798
|
+
def validate
|
799
|
+
end
|
800
|
+
|
801
|
+
::Thrift::Struct.generate_accessors self
|
802
|
+
end
|
803
|
+
|
804
|
+
class GetFunctions_args
|
805
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
806
|
+
REQ = 1
|
807
|
+
|
808
|
+
FIELDS = {
|
809
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetFunctionsReq}
|
810
|
+
}
|
811
|
+
|
812
|
+
def struct_fields; FIELDS; end
|
813
|
+
|
814
|
+
def validate
|
815
|
+
end
|
816
|
+
|
817
|
+
::Thrift::Struct.generate_accessors self
|
818
|
+
end
|
819
|
+
|
820
|
+
class GetFunctions_result
|
821
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
822
|
+
SUCCESS = 0
|
823
|
+
|
824
|
+
FIELDS = {
|
825
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetFunctionsResp}
|
826
|
+
}
|
827
|
+
|
828
|
+
def struct_fields; FIELDS; end
|
829
|
+
|
830
|
+
def validate
|
831
|
+
end
|
832
|
+
|
833
|
+
::Thrift::Struct.generate_accessors self
|
834
|
+
end
|
835
|
+
|
836
|
+
class GetPrimaryKeys_args
|
837
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
838
|
+
REQ = 1
|
839
|
+
|
840
|
+
FIELDS = {
|
841
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetPrimaryKeysReq}
|
842
|
+
}
|
843
|
+
|
844
|
+
def struct_fields; FIELDS; end
|
845
|
+
|
846
|
+
def validate
|
847
|
+
end
|
848
|
+
|
849
|
+
::Thrift::Struct.generate_accessors self
|
850
|
+
end
|
851
|
+
|
852
|
+
class GetPrimaryKeys_result
|
853
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
854
|
+
SUCCESS = 0
|
855
|
+
|
856
|
+
FIELDS = {
|
857
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetPrimaryKeysResp}
|
858
|
+
}
|
859
|
+
|
860
|
+
def struct_fields; FIELDS; end
|
861
|
+
|
862
|
+
def validate
|
863
|
+
end
|
864
|
+
|
865
|
+
::Thrift::Struct.generate_accessors self
|
866
|
+
end
|
867
|
+
|
868
|
+
class GetCrossReference_args
|
869
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
870
|
+
REQ = 1
|
871
|
+
|
872
|
+
FIELDS = {
|
873
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetCrossReferenceReq}
|
874
|
+
}
|
875
|
+
|
876
|
+
def struct_fields; FIELDS; end
|
877
|
+
|
878
|
+
def validate
|
879
|
+
end
|
880
|
+
|
881
|
+
::Thrift::Struct.generate_accessors self
|
882
|
+
end
|
883
|
+
|
884
|
+
class GetCrossReference_result
|
885
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
886
|
+
SUCCESS = 0
|
887
|
+
|
888
|
+
FIELDS = {
|
889
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetCrossReferenceResp}
|
890
|
+
}
|
891
|
+
|
892
|
+
def struct_fields; FIELDS; end
|
893
|
+
|
894
|
+
def validate
|
895
|
+
end
|
896
|
+
|
897
|
+
::Thrift::Struct.generate_accessors self
|
898
|
+
end
|
899
|
+
|
900
|
+
class GetOperationStatus_args
|
901
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
902
|
+
REQ = 1
|
903
|
+
|
904
|
+
FIELDS = {
|
905
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetOperationStatusReq}
|
906
|
+
}
|
907
|
+
|
908
|
+
def struct_fields; FIELDS; end
|
909
|
+
|
910
|
+
def validate
|
911
|
+
end
|
912
|
+
|
913
|
+
::Thrift::Struct.generate_accessors self
|
914
|
+
end
|
915
|
+
|
916
|
+
class GetOperationStatus_result
|
917
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
918
|
+
SUCCESS = 0
|
919
|
+
|
920
|
+
FIELDS = {
|
921
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetOperationStatusResp}
|
922
|
+
}
|
923
|
+
|
924
|
+
def struct_fields; FIELDS; end
|
925
|
+
|
926
|
+
def validate
|
927
|
+
end
|
928
|
+
|
929
|
+
::Thrift::Struct.generate_accessors self
|
930
|
+
end
|
931
|
+
|
932
|
+
class CancelOperation_args
|
933
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
934
|
+
REQ = 1
|
935
|
+
|
936
|
+
FIELDS = {
|
937
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TCancelOperationReq}
|
938
|
+
}
|
939
|
+
|
940
|
+
def struct_fields; FIELDS; end
|
941
|
+
|
942
|
+
def validate
|
943
|
+
end
|
944
|
+
|
945
|
+
::Thrift::Struct.generate_accessors self
|
946
|
+
end
|
947
|
+
|
948
|
+
class CancelOperation_result
|
949
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
950
|
+
SUCCESS = 0
|
951
|
+
|
952
|
+
FIELDS = {
|
953
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TCancelOperationResp}
|
954
|
+
}
|
955
|
+
|
956
|
+
def struct_fields; FIELDS; end
|
957
|
+
|
958
|
+
def validate
|
959
|
+
end
|
960
|
+
|
961
|
+
::Thrift::Struct.generate_accessors self
|
962
|
+
end
|
963
|
+
|
964
|
+
class CloseOperation_args
|
965
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
966
|
+
REQ = 1
|
967
|
+
|
968
|
+
FIELDS = {
|
969
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TCloseOperationReq}
|
970
|
+
}
|
971
|
+
|
972
|
+
def struct_fields; FIELDS; end
|
973
|
+
|
974
|
+
def validate
|
975
|
+
end
|
976
|
+
|
977
|
+
::Thrift::Struct.generate_accessors self
|
978
|
+
end
|
979
|
+
|
980
|
+
class CloseOperation_result
|
981
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
982
|
+
SUCCESS = 0
|
983
|
+
|
984
|
+
FIELDS = {
|
985
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TCloseOperationResp}
|
986
|
+
}
|
987
|
+
|
988
|
+
def struct_fields; FIELDS; end
|
989
|
+
|
990
|
+
def validate
|
991
|
+
end
|
992
|
+
|
993
|
+
::Thrift::Struct.generate_accessors self
|
994
|
+
end
|
995
|
+
|
996
|
+
class GetResultSetMetadata_args
|
997
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
998
|
+
REQ = 1
|
999
|
+
|
1000
|
+
FIELDS = {
|
1001
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetResultSetMetadataReq}
|
1002
|
+
}
|
1003
|
+
|
1004
|
+
def struct_fields; FIELDS; end
|
1005
|
+
|
1006
|
+
def validate
|
1007
|
+
end
|
1008
|
+
|
1009
|
+
::Thrift::Struct.generate_accessors self
|
1010
|
+
end
|
1011
|
+
|
1012
|
+
class GetResultSetMetadata_result
|
1013
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
1014
|
+
SUCCESS = 0
|
1015
|
+
|
1016
|
+
FIELDS = {
|
1017
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetResultSetMetadataResp}
|
1018
|
+
}
|
1019
|
+
|
1020
|
+
def struct_fields; FIELDS; end
|
1021
|
+
|
1022
|
+
def validate
|
1023
|
+
end
|
1024
|
+
|
1025
|
+
::Thrift::Struct.generate_accessors self
|
1026
|
+
end
|
1027
|
+
|
1028
|
+
class FetchResults_args
|
1029
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
1030
|
+
REQ = 1
|
1031
|
+
|
1032
|
+
FIELDS = {
|
1033
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TFetchResultsReq}
|
1034
|
+
}
|
1035
|
+
|
1036
|
+
def struct_fields; FIELDS; end
|
1037
|
+
|
1038
|
+
def validate
|
1039
|
+
end
|
1040
|
+
|
1041
|
+
::Thrift::Struct.generate_accessors self
|
1042
|
+
end
|
1043
|
+
|
1044
|
+
class FetchResults_result
|
1045
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
1046
|
+
SUCCESS = 0
|
1047
|
+
|
1048
|
+
FIELDS = {
|
1049
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TFetchResultsResp}
|
1050
|
+
}
|
1051
|
+
|
1052
|
+
def struct_fields; FIELDS; end
|
1053
|
+
|
1054
|
+
def validate
|
1055
|
+
end
|
1056
|
+
|
1057
|
+
::Thrift::Struct.generate_accessors self
|
1058
|
+
end
|
1059
|
+
|
1060
|
+
class GetDelegationToken_args
|
1061
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
1062
|
+
REQ = 1
|
1063
|
+
|
1064
|
+
FIELDS = {
|
1065
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetDelegationTokenReq}
|
1066
|
+
}
|
1067
|
+
|
1068
|
+
def struct_fields; FIELDS; end
|
1069
|
+
|
1070
|
+
def validate
|
1071
|
+
end
|
1072
|
+
|
1073
|
+
::Thrift::Struct.generate_accessors self
|
1074
|
+
end
|
1075
|
+
|
1076
|
+
class GetDelegationToken_result
|
1077
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
1078
|
+
SUCCESS = 0
|
1079
|
+
|
1080
|
+
FIELDS = {
|
1081
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetDelegationTokenResp}
|
1082
|
+
}
|
1083
|
+
|
1084
|
+
def struct_fields; FIELDS; end
|
1085
|
+
|
1086
|
+
def validate
|
1087
|
+
end
|
1088
|
+
|
1089
|
+
::Thrift::Struct.generate_accessors self
|
1090
|
+
end
|
1091
|
+
|
1092
|
+
class CancelDelegationToken_args
|
1093
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
1094
|
+
REQ = 1
|
1095
|
+
|
1096
|
+
FIELDS = {
|
1097
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TCancelDelegationTokenReq}
|
1098
|
+
}
|
1099
|
+
|
1100
|
+
def struct_fields; FIELDS; end
|
1101
|
+
|
1102
|
+
def validate
|
1103
|
+
end
|
1104
|
+
|
1105
|
+
::Thrift::Struct.generate_accessors self
|
1106
|
+
end
|
1107
|
+
|
1108
|
+
class CancelDelegationToken_result
|
1109
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
1110
|
+
SUCCESS = 0
|
1111
|
+
|
1112
|
+
FIELDS = {
|
1113
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TCancelDelegationTokenResp}
|
1114
|
+
}
|
1115
|
+
|
1116
|
+
def struct_fields; FIELDS; end
|
1117
|
+
|
1118
|
+
def validate
|
1119
|
+
end
|
1120
|
+
|
1121
|
+
::Thrift::Struct.generate_accessors self
|
1122
|
+
end
|
1123
|
+
|
1124
|
+
class RenewDelegationToken_args
|
1125
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
1126
|
+
REQ = 1
|
1127
|
+
|
1128
|
+
FIELDS = {
|
1129
|
+
REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TRenewDelegationTokenReq}
|
1130
|
+
}
|
1131
|
+
|
1132
|
+
def struct_fields; FIELDS; end
|
1133
|
+
|
1134
|
+
def validate
|
1135
|
+
end
|
1136
|
+
|
1137
|
+
::Thrift::Struct.generate_accessors self
|
1138
|
+
end
|
1139
|
+
|
1140
|
+
class RenewDelegationToken_result
|
1141
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
1142
|
+
SUCCESS = 0
|
1143
|
+
|
1144
|
+
FIELDS = {
|
1145
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TRenewDelegationTokenResp}
|
1146
|
+
}
|
1147
|
+
|
1148
|
+
def struct_fields; FIELDS; end
|
1149
|
+
|
1150
|
+
def validate
|
1151
|
+
end
|
1152
|
+
|
1153
|
+
::Thrift::Struct.generate_accessors self
|
1154
|
+
end
|
1155
|
+
|
1156
|
+
end
|
1157
|
+
|
1158
|
+
end
|