hexspace 0.2.2 → 0.4.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.
@@ -1,5 +1,6 @@
1
+ # frozen_string_literal: true
1
2
  #
2
- # Autogenerated by Thrift Compiler (0.18.1)
3
+ # Autogenerated by Thrift Compiler (0.25.0)
3
4
  #
4
5
  # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
6
  #
@@ -12,424 +13,428 @@ module Hexspace
12
13
 
13
14
  def OpenSession(req)
14
15
  send_OpenSession(req)
15
- return recv_OpenSession()
16
+ recv_OpenSession
16
17
  end
17
18
 
18
19
  def send_OpenSession(req)
19
- send_message('OpenSession', OpenSession_args, :req => req)
20
+ send_message("OpenSession", OpenSession_args, {req: req})
20
21
  end
21
22
 
22
- def recv_OpenSession()
23
- fname, mtype, rseqid = receive_message_begin()
24
- handle_exception(mtype)
25
- if reply_seqid(rseqid)==false
26
- raise "seqid reply faild"
27
- end
23
+ def recv_OpenSession
24
+ fname, mtype, rseqid = receive_message_begin
25
+ validate_message_begin(fname, mtype, rseqid, "OpenSession")
28
26
  result = receive_message(OpenSession_result)
29
27
  return result.success unless result.success.nil?
30
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'OpenSession failed: unknown result')
28
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, "OpenSession failed: unknown result")
31
29
  end
32
30
 
33
31
  def CloseSession(req)
34
32
  send_CloseSession(req)
35
- return recv_CloseSession()
33
+ recv_CloseSession
36
34
  end
37
35
 
38
36
  def send_CloseSession(req)
39
- send_message('CloseSession', CloseSession_args, :req => req)
37
+ send_message("CloseSession", CloseSession_args, {req: req})
40
38
  end
41
39
 
42
- def recv_CloseSession()
43
- fname, mtype, rseqid = receive_message_begin()
44
- handle_exception(mtype)
45
- if reply_seqid(rseqid)==false
46
- raise "seqid reply faild"
47
- end
40
+ def recv_CloseSession
41
+ fname, mtype, rseqid = receive_message_begin
42
+ validate_message_begin(fname, mtype, rseqid, "CloseSession")
48
43
  result = receive_message(CloseSession_result)
49
44
  return result.success unless result.success.nil?
50
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'CloseSession failed: unknown result')
45
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, "CloseSession failed: unknown result")
51
46
  end
52
47
 
53
48
  def GetInfo(req)
54
49
  send_GetInfo(req)
55
- return recv_GetInfo()
50
+ recv_GetInfo
56
51
  end
57
52
 
58
53
  def send_GetInfo(req)
59
- send_message('GetInfo', GetInfo_args, :req => req)
54
+ send_message("GetInfo", GetInfo_args, {req: req})
60
55
  end
61
56
 
62
- def recv_GetInfo()
63
- fname, mtype, rseqid = receive_message_begin()
64
- handle_exception(mtype)
65
- if reply_seqid(rseqid)==false
66
- raise "seqid reply faild"
67
- end
57
+ def recv_GetInfo
58
+ fname, mtype, rseqid = receive_message_begin
59
+ validate_message_begin(fname, mtype, rseqid, "GetInfo")
68
60
  result = receive_message(GetInfo_result)
69
61
  return result.success unless result.success.nil?
70
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetInfo failed: unknown result')
62
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, "GetInfo failed: unknown result")
71
63
  end
72
64
 
73
65
  def ExecuteStatement(req)
74
66
  send_ExecuteStatement(req)
75
- return recv_ExecuteStatement()
67
+ recv_ExecuteStatement
76
68
  end
77
69
 
78
70
  def send_ExecuteStatement(req)
79
- send_message('ExecuteStatement', ExecuteStatement_args, :req => req)
71
+ send_message("ExecuteStatement", ExecuteStatement_args, {req: req})
80
72
  end
81
73
 
82
- def recv_ExecuteStatement()
83
- fname, mtype, rseqid = receive_message_begin()
84
- handle_exception(mtype)
85
- if reply_seqid(rseqid)==false
86
- raise "seqid reply faild"
87
- end
74
+ def recv_ExecuteStatement
75
+ fname, mtype, rseqid = receive_message_begin
76
+ validate_message_begin(fname, mtype, rseqid, "ExecuteStatement")
88
77
  result = receive_message(ExecuteStatement_result)
89
78
  return result.success unless result.success.nil?
90
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'ExecuteStatement failed: unknown result')
79
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, "ExecuteStatement failed: unknown result")
91
80
  end
92
81
 
93
82
  def GetTypeInfo(req)
94
83
  send_GetTypeInfo(req)
95
- return recv_GetTypeInfo()
84
+ recv_GetTypeInfo
96
85
  end
97
86
 
98
87
  def send_GetTypeInfo(req)
99
- send_message('GetTypeInfo', GetTypeInfo_args, :req => req)
88
+ send_message("GetTypeInfo", GetTypeInfo_args, {req: req})
100
89
  end
101
90
 
102
- def recv_GetTypeInfo()
103
- fname, mtype, rseqid = receive_message_begin()
104
- handle_exception(mtype)
105
- if reply_seqid(rseqid)==false
106
- raise "seqid reply faild"
107
- end
91
+ def recv_GetTypeInfo
92
+ fname, mtype, rseqid = receive_message_begin
93
+ validate_message_begin(fname, mtype, rseqid, "GetTypeInfo")
108
94
  result = receive_message(GetTypeInfo_result)
109
95
  return result.success unless result.success.nil?
110
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetTypeInfo failed: unknown result')
96
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, "GetTypeInfo failed: unknown result")
111
97
  end
112
98
 
113
99
  def GetCatalogs(req)
114
100
  send_GetCatalogs(req)
115
- return recv_GetCatalogs()
101
+ recv_GetCatalogs
116
102
  end
117
103
 
118
104
  def send_GetCatalogs(req)
119
- send_message('GetCatalogs', GetCatalogs_args, :req => req)
105
+ send_message("GetCatalogs", GetCatalogs_args, {req: req})
120
106
  end
121
107
 
122
- def recv_GetCatalogs()
123
- fname, mtype, rseqid = receive_message_begin()
124
- handle_exception(mtype)
125
- if reply_seqid(rseqid)==false
126
- raise "seqid reply faild"
127
- end
108
+ def recv_GetCatalogs
109
+ fname, mtype, rseqid = receive_message_begin
110
+ validate_message_begin(fname, mtype, rseqid, "GetCatalogs")
128
111
  result = receive_message(GetCatalogs_result)
129
112
  return result.success unless result.success.nil?
130
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetCatalogs failed: unknown result')
113
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, "GetCatalogs failed: unknown result")
131
114
  end
132
115
 
133
116
  def GetSchemas(req)
134
117
  send_GetSchemas(req)
135
- return recv_GetSchemas()
118
+ recv_GetSchemas
136
119
  end
137
120
 
138
121
  def send_GetSchemas(req)
139
- send_message('GetSchemas', GetSchemas_args, :req => req)
122
+ send_message("GetSchemas", GetSchemas_args, {req: req})
140
123
  end
141
124
 
142
- def recv_GetSchemas()
143
- fname, mtype, rseqid = receive_message_begin()
144
- handle_exception(mtype)
145
- if reply_seqid(rseqid)==false
146
- raise "seqid reply faild"
147
- end
125
+ def recv_GetSchemas
126
+ fname, mtype, rseqid = receive_message_begin
127
+ validate_message_begin(fname, mtype, rseqid, "GetSchemas")
148
128
  result = receive_message(GetSchemas_result)
149
129
  return result.success unless result.success.nil?
150
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetSchemas failed: unknown result')
130
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, "GetSchemas failed: unknown result")
151
131
  end
152
132
 
153
133
  def GetTables(req)
154
134
  send_GetTables(req)
155
- return recv_GetTables()
135
+ recv_GetTables
156
136
  end
157
137
 
158
138
  def send_GetTables(req)
159
- send_message('GetTables', GetTables_args, :req => req)
139
+ send_message("GetTables", GetTables_args, {req: req})
160
140
  end
161
141
 
162
- def recv_GetTables()
163
- fname, mtype, rseqid = receive_message_begin()
164
- handle_exception(mtype)
165
- if reply_seqid(rseqid)==false
166
- raise "seqid reply faild"
167
- end
142
+ def recv_GetTables
143
+ fname, mtype, rseqid = receive_message_begin
144
+ validate_message_begin(fname, mtype, rseqid, "GetTables")
168
145
  result = receive_message(GetTables_result)
169
146
  return result.success unless result.success.nil?
170
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetTables failed: unknown result')
147
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, "GetTables failed: unknown result")
171
148
  end
172
149
 
173
150
  def GetTableTypes(req)
174
151
  send_GetTableTypes(req)
175
- return recv_GetTableTypes()
152
+ recv_GetTableTypes
176
153
  end
177
154
 
178
155
  def send_GetTableTypes(req)
179
- send_message('GetTableTypes', GetTableTypes_args, :req => req)
156
+ send_message("GetTableTypes", GetTableTypes_args, {req: req})
180
157
  end
181
158
 
182
- def recv_GetTableTypes()
183
- fname, mtype, rseqid = receive_message_begin()
184
- handle_exception(mtype)
185
- if reply_seqid(rseqid)==false
186
- raise "seqid reply faild"
187
- end
159
+ def recv_GetTableTypes
160
+ fname, mtype, rseqid = receive_message_begin
161
+ validate_message_begin(fname, mtype, rseqid, "GetTableTypes")
188
162
  result = receive_message(GetTableTypes_result)
189
163
  return result.success unless result.success.nil?
190
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetTableTypes failed: unknown result')
164
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, "GetTableTypes failed: unknown result")
191
165
  end
192
166
 
193
167
  def GetColumns(req)
194
168
  send_GetColumns(req)
195
- return recv_GetColumns()
169
+ recv_GetColumns
196
170
  end
197
171
 
198
172
  def send_GetColumns(req)
199
- send_message('GetColumns', GetColumns_args, :req => req)
173
+ send_message("GetColumns", GetColumns_args, {req: req})
200
174
  end
201
175
 
202
- def recv_GetColumns()
203
- fname, mtype, rseqid = receive_message_begin()
204
- handle_exception(mtype)
205
- if reply_seqid(rseqid)==false
206
- raise "seqid reply faild"
207
- end
176
+ def recv_GetColumns
177
+ fname, mtype, rseqid = receive_message_begin
178
+ validate_message_begin(fname, mtype, rseqid, "GetColumns")
208
179
  result = receive_message(GetColumns_result)
209
180
  return result.success unless result.success.nil?
210
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetColumns failed: unknown result')
181
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, "GetColumns failed: unknown result")
211
182
  end
212
183
 
213
184
  def GetFunctions(req)
214
185
  send_GetFunctions(req)
215
- return recv_GetFunctions()
186
+ recv_GetFunctions
216
187
  end
217
188
 
218
189
  def send_GetFunctions(req)
219
- send_message('GetFunctions', GetFunctions_args, :req => req)
190
+ send_message("GetFunctions", GetFunctions_args, {req: req})
220
191
  end
221
192
 
222
- def recv_GetFunctions()
223
- fname, mtype, rseqid = receive_message_begin()
224
- handle_exception(mtype)
225
- if reply_seqid(rseqid)==false
226
- raise "seqid reply faild"
227
- end
193
+ def recv_GetFunctions
194
+ fname, mtype, rseqid = receive_message_begin
195
+ validate_message_begin(fname, mtype, rseqid, "GetFunctions")
228
196
  result = receive_message(GetFunctions_result)
229
197
  return result.success unless result.success.nil?
230
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetFunctions failed: unknown result')
198
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, "GetFunctions failed: unknown result")
231
199
  end
232
200
 
233
201
  def GetPrimaryKeys(req)
234
202
  send_GetPrimaryKeys(req)
235
- return recv_GetPrimaryKeys()
203
+ recv_GetPrimaryKeys
236
204
  end
237
205
 
238
206
  def send_GetPrimaryKeys(req)
239
- send_message('GetPrimaryKeys', GetPrimaryKeys_args, :req => req)
207
+ send_message("GetPrimaryKeys", GetPrimaryKeys_args, {req: req})
240
208
  end
241
209
 
242
- def recv_GetPrimaryKeys()
243
- fname, mtype, rseqid = receive_message_begin()
244
- handle_exception(mtype)
245
- if reply_seqid(rseqid)==false
246
- raise "seqid reply faild"
247
- end
210
+ def recv_GetPrimaryKeys
211
+ fname, mtype, rseqid = receive_message_begin
212
+ validate_message_begin(fname, mtype, rseqid, "GetPrimaryKeys")
248
213
  result = receive_message(GetPrimaryKeys_result)
249
214
  return result.success unless result.success.nil?
250
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetPrimaryKeys failed: unknown result')
215
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, "GetPrimaryKeys failed: unknown result")
251
216
  end
252
217
 
253
218
  def GetCrossReference(req)
254
219
  send_GetCrossReference(req)
255
- return recv_GetCrossReference()
220
+ recv_GetCrossReference
256
221
  end
257
222
 
258
223
  def send_GetCrossReference(req)
259
- send_message('GetCrossReference', GetCrossReference_args, :req => req)
224
+ send_message("GetCrossReference", GetCrossReference_args, {req: req})
260
225
  end
261
226
 
262
- def recv_GetCrossReference()
263
- fname, mtype, rseqid = receive_message_begin()
264
- handle_exception(mtype)
265
- if reply_seqid(rseqid)==false
266
- raise "seqid reply faild"
267
- end
227
+ def recv_GetCrossReference
228
+ fname, mtype, rseqid = receive_message_begin
229
+ validate_message_begin(fname, mtype, rseqid, "GetCrossReference")
268
230
  result = receive_message(GetCrossReference_result)
269
231
  return result.success unless result.success.nil?
270
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetCrossReference failed: unknown result')
232
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, "GetCrossReference failed: unknown result")
271
233
  end
272
234
 
273
235
  def GetOperationStatus(req)
274
236
  send_GetOperationStatus(req)
275
- return recv_GetOperationStatus()
237
+ recv_GetOperationStatus
276
238
  end
277
239
 
278
240
  def send_GetOperationStatus(req)
279
- send_message('GetOperationStatus', GetOperationStatus_args, :req => req)
241
+ send_message("GetOperationStatus", GetOperationStatus_args, {req: req})
280
242
  end
281
243
 
282
- def recv_GetOperationStatus()
283
- fname, mtype, rseqid = receive_message_begin()
284
- handle_exception(mtype)
285
- if reply_seqid(rseqid)==false
286
- raise "seqid reply faild"
287
- end
244
+ def recv_GetOperationStatus
245
+ fname, mtype, rseqid = receive_message_begin
246
+ validate_message_begin(fname, mtype, rseqid, "GetOperationStatus")
288
247
  result = receive_message(GetOperationStatus_result)
289
248
  return result.success unless result.success.nil?
290
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetOperationStatus failed: unknown result')
249
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, "GetOperationStatus failed: unknown result")
291
250
  end
292
251
 
293
252
  def CancelOperation(req)
294
253
  send_CancelOperation(req)
295
- return recv_CancelOperation()
254
+ recv_CancelOperation
296
255
  end
297
256
 
298
257
  def send_CancelOperation(req)
299
- send_message('CancelOperation', CancelOperation_args, :req => req)
258
+ send_message("CancelOperation", CancelOperation_args, {req: req})
300
259
  end
301
260
 
302
- def recv_CancelOperation()
303
- fname, mtype, rseqid = receive_message_begin()
304
- handle_exception(mtype)
305
- if reply_seqid(rseqid)==false
306
- raise "seqid reply faild"
307
- end
261
+ def recv_CancelOperation
262
+ fname, mtype, rseqid = receive_message_begin
263
+ validate_message_begin(fname, mtype, rseqid, "CancelOperation")
308
264
  result = receive_message(CancelOperation_result)
309
265
  return result.success unless result.success.nil?
310
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'CancelOperation failed: unknown result')
266
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, "CancelOperation failed: unknown result")
311
267
  end
312
268
 
313
269
  def CloseOperation(req)
314
270
  send_CloseOperation(req)
315
- return recv_CloseOperation()
271
+ recv_CloseOperation
316
272
  end
317
273
 
318
274
  def send_CloseOperation(req)
319
- send_message('CloseOperation', CloseOperation_args, :req => req)
275
+ send_message("CloseOperation", CloseOperation_args, {req: req})
320
276
  end
321
277
 
322
- def recv_CloseOperation()
323
- fname, mtype, rseqid = receive_message_begin()
324
- handle_exception(mtype)
325
- if reply_seqid(rseqid)==false
326
- raise "seqid reply faild"
327
- end
278
+ def recv_CloseOperation
279
+ fname, mtype, rseqid = receive_message_begin
280
+ validate_message_begin(fname, mtype, rseqid, "CloseOperation")
328
281
  result = receive_message(CloseOperation_result)
329
282
  return result.success unless result.success.nil?
330
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'CloseOperation failed: unknown result')
283
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, "CloseOperation failed: unknown result")
331
284
  end
332
285
 
333
286
  def GetResultSetMetadata(req)
334
287
  send_GetResultSetMetadata(req)
335
- return recv_GetResultSetMetadata()
288
+ recv_GetResultSetMetadata
336
289
  end
337
290
 
338
291
  def send_GetResultSetMetadata(req)
339
- send_message('GetResultSetMetadata', GetResultSetMetadata_args, :req => req)
292
+ send_message("GetResultSetMetadata", GetResultSetMetadata_args, {req: req})
340
293
  end
341
294
 
342
- def recv_GetResultSetMetadata()
343
- fname, mtype, rseqid = receive_message_begin()
344
- handle_exception(mtype)
345
- if reply_seqid(rseqid)==false
346
- raise "seqid reply faild"
347
- end
295
+ def recv_GetResultSetMetadata
296
+ fname, mtype, rseqid = receive_message_begin
297
+ validate_message_begin(fname, mtype, rseqid, "GetResultSetMetadata")
348
298
  result = receive_message(GetResultSetMetadata_result)
349
299
  return result.success unless result.success.nil?
350
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetResultSetMetadata failed: unknown result')
300
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, "GetResultSetMetadata failed: unknown result")
351
301
  end
352
302
 
353
303
  def FetchResults(req)
354
304
  send_FetchResults(req)
355
- return recv_FetchResults()
305
+ recv_FetchResults
356
306
  end
357
307
 
358
308
  def send_FetchResults(req)
359
- send_message('FetchResults', FetchResults_args, :req => req)
309
+ send_message("FetchResults", FetchResults_args, {req: req})
360
310
  end
361
311
 
362
- def recv_FetchResults()
363
- fname, mtype, rseqid = receive_message_begin()
364
- handle_exception(mtype)
365
- if reply_seqid(rseqid)==false
366
- raise "seqid reply faild"
367
- end
312
+ def recv_FetchResults
313
+ fname, mtype, rseqid = receive_message_begin
314
+ validate_message_begin(fname, mtype, rseqid, "FetchResults")
368
315
  result = receive_message(FetchResults_result)
369
316
  return result.success unless result.success.nil?
370
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'FetchResults failed: unknown result')
317
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, "FetchResults failed: unknown result")
371
318
  end
372
319
 
373
320
  def GetDelegationToken(req)
374
321
  send_GetDelegationToken(req)
375
- return recv_GetDelegationToken()
322
+ recv_GetDelegationToken
376
323
  end
377
324
 
378
325
  def send_GetDelegationToken(req)
379
- send_message('GetDelegationToken', GetDelegationToken_args, :req => req)
326
+ send_message("GetDelegationToken", GetDelegationToken_args, {req: req})
380
327
  end
381
328
 
382
- def recv_GetDelegationToken()
383
- fname, mtype, rseqid = receive_message_begin()
384
- handle_exception(mtype)
385
- if reply_seqid(rseqid)==false
386
- raise "seqid reply faild"
387
- end
329
+ def recv_GetDelegationToken
330
+ fname, mtype, rseqid = receive_message_begin
331
+ validate_message_begin(fname, mtype, rseqid, "GetDelegationToken")
388
332
  result = receive_message(GetDelegationToken_result)
389
333
  return result.success unless result.success.nil?
390
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetDelegationToken failed: unknown result')
334
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, "GetDelegationToken failed: unknown result")
391
335
  end
392
336
 
393
337
  def CancelDelegationToken(req)
394
338
  send_CancelDelegationToken(req)
395
- return recv_CancelDelegationToken()
339
+ recv_CancelDelegationToken
396
340
  end
397
341
 
398
342
  def send_CancelDelegationToken(req)
399
- send_message('CancelDelegationToken', CancelDelegationToken_args, :req => req)
343
+ send_message("CancelDelegationToken", CancelDelegationToken_args, {req: req})
400
344
  end
401
345
 
402
- def recv_CancelDelegationToken()
403
- fname, mtype, rseqid = receive_message_begin()
404
- handle_exception(mtype)
405
- if reply_seqid(rseqid)==false
406
- raise "seqid reply faild"
407
- end
346
+ def recv_CancelDelegationToken
347
+ fname, mtype, rseqid = receive_message_begin
348
+ validate_message_begin(fname, mtype, rseqid, "CancelDelegationToken")
408
349
  result = receive_message(CancelDelegationToken_result)
409
350
  return result.success unless result.success.nil?
410
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'CancelDelegationToken failed: unknown result')
351
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, "CancelDelegationToken failed: unknown result")
411
352
  end
412
353
 
413
354
  def RenewDelegationToken(req)
414
355
  send_RenewDelegationToken(req)
415
- return recv_RenewDelegationToken()
356
+ recv_RenewDelegationToken
416
357
  end
417
358
 
418
359
  def send_RenewDelegationToken(req)
419
- send_message('RenewDelegationToken', RenewDelegationToken_args, :req => req)
360
+ send_message("RenewDelegationToken", RenewDelegationToken_args, {req: req})
420
361
  end
421
362
 
422
- def recv_RenewDelegationToken()
423
- fname, mtype, rseqid = receive_message_begin()
424
- handle_exception(mtype)
425
- if reply_seqid(rseqid)==false
426
- raise "seqid reply faild"
427
- end
363
+ def recv_RenewDelegationToken
364
+ fname, mtype, rseqid = receive_message_begin
365
+ validate_message_begin(fname, mtype, rseqid, "RenewDelegationToken")
428
366
  result = receive_message(RenewDelegationToken_result)
429
367
  return result.success unless result.success.nil?
430
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'RenewDelegationToken failed: unknown result')
368
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, "RenewDelegationToken failed: unknown result")
431
369
  end
432
370
 
371
+ def GetQueryId(req)
372
+ send_GetQueryId(req)
373
+ recv_GetQueryId
374
+ end
375
+
376
+ def send_GetQueryId(req)
377
+ send_message("GetQueryId", GetQueryId_args, {req: req})
378
+ end
379
+
380
+ def recv_GetQueryId
381
+ fname, mtype, rseqid = receive_message_begin
382
+ validate_message_begin(fname, mtype, rseqid, "GetQueryId")
383
+ result = receive_message(GetQueryId_result)
384
+ return result.success unless result.success.nil?
385
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, "GetQueryId failed: unknown result")
386
+ end
387
+
388
+ def SetClientInfo(req)
389
+ send_SetClientInfo(req)
390
+ recv_SetClientInfo
391
+ end
392
+
393
+ def send_SetClientInfo(req)
394
+ send_message("SetClientInfo", SetClientInfo_args, {req: req})
395
+ end
396
+
397
+ def recv_SetClientInfo
398
+ fname, mtype, rseqid = receive_message_begin
399
+ validate_message_begin(fname, mtype, rseqid, "SetClientInfo")
400
+ result = receive_message(SetClientInfo_result)
401
+ return result.success unless result.success.nil?
402
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, "SetClientInfo failed: unknown result")
403
+ end
404
+
405
+ def UploadData(req)
406
+ send_UploadData(req)
407
+ recv_UploadData
408
+ end
409
+
410
+ def send_UploadData(req)
411
+ send_message("UploadData", UploadData_args, {req: req})
412
+ end
413
+
414
+ def recv_UploadData
415
+ fname, mtype, rseqid = receive_message_begin
416
+ validate_message_begin(fname, mtype, rseqid, "UploadData")
417
+ result = receive_message(UploadData_result)
418
+ return result.success unless result.success.nil?
419
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, "UploadData failed: unknown result")
420
+ end
421
+
422
+ def DownloadData(req)
423
+ send_DownloadData(req)
424
+ recv_DownloadData
425
+ end
426
+
427
+ def send_DownloadData(req)
428
+ send_message("DownloadData", DownloadData_args, {req: req})
429
+ end
430
+
431
+ def recv_DownloadData
432
+ fname, mtype, rseqid = receive_message_begin
433
+ validate_message_begin(fname, mtype, rseqid, "DownloadData")
434
+ result = receive_message(DownloadData_result)
435
+ return result.success unless result.success.nil?
436
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, "DownloadData failed: unknown result")
437
+ end
433
438
  end
434
439
 
435
440
  class Processor
@@ -437,161 +442,189 @@ module Hexspace
437
442
 
438
443
  def process_OpenSession(seqid, iprot, oprot)
439
444
  args = read_args(iprot, OpenSession_args)
440
- result = OpenSession_result.new()
445
+ result = OpenSession_result.new
441
446
  result.success = @handler.OpenSession(args.req)
442
- write_result(result, oprot, 'OpenSession', seqid)
447
+ write_result(result, oprot, "OpenSession", seqid)
443
448
  end
444
449
 
445
450
  def process_CloseSession(seqid, iprot, oprot)
446
451
  args = read_args(iprot, CloseSession_args)
447
- result = CloseSession_result.new()
452
+ result = CloseSession_result.new
448
453
  result.success = @handler.CloseSession(args.req)
449
- write_result(result, oprot, 'CloseSession', seqid)
454
+ write_result(result, oprot, "CloseSession", seqid)
450
455
  end
451
456
 
452
457
  def process_GetInfo(seqid, iprot, oprot)
453
458
  args = read_args(iprot, GetInfo_args)
454
- result = GetInfo_result.new()
459
+ result = GetInfo_result.new
455
460
  result.success = @handler.GetInfo(args.req)
456
- write_result(result, oprot, 'GetInfo', seqid)
461
+ write_result(result, oprot, "GetInfo", seqid)
457
462
  end
458
463
 
459
464
  def process_ExecuteStatement(seqid, iprot, oprot)
460
465
  args = read_args(iprot, ExecuteStatement_args)
461
- result = ExecuteStatement_result.new()
466
+ result = ExecuteStatement_result.new
462
467
  result.success = @handler.ExecuteStatement(args.req)
463
- write_result(result, oprot, 'ExecuteStatement', seqid)
468
+ write_result(result, oprot, "ExecuteStatement", seqid)
464
469
  end
465
470
 
466
471
  def process_GetTypeInfo(seqid, iprot, oprot)
467
472
  args = read_args(iprot, GetTypeInfo_args)
468
- result = GetTypeInfo_result.new()
473
+ result = GetTypeInfo_result.new
469
474
  result.success = @handler.GetTypeInfo(args.req)
470
- write_result(result, oprot, 'GetTypeInfo', seqid)
475
+ write_result(result, oprot, "GetTypeInfo", seqid)
471
476
  end
472
477
 
473
478
  def process_GetCatalogs(seqid, iprot, oprot)
474
479
  args = read_args(iprot, GetCatalogs_args)
475
- result = GetCatalogs_result.new()
480
+ result = GetCatalogs_result.new
476
481
  result.success = @handler.GetCatalogs(args.req)
477
- write_result(result, oprot, 'GetCatalogs', seqid)
482
+ write_result(result, oprot, "GetCatalogs", seqid)
478
483
  end
479
484
 
480
485
  def process_GetSchemas(seqid, iprot, oprot)
481
486
  args = read_args(iprot, GetSchemas_args)
482
- result = GetSchemas_result.new()
487
+ result = GetSchemas_result.new
483
488
  result.success = @handler.GetSchemas(args.req)
484
- write_result(result, oprot, 'GetSchemas', seqid)
489
+ write_result(result, oprot, "GetSchemas", seqid)
485
490
  end
486
491
 
487
492
  def process_GetTables(seqid, iprot, oprot)
488
493
  args = read_args(iprot, GetTables_args)
489
- result = GetTables_result.new()
494
+ result = GetTables_result.new
490
495
  result.success = @handler.GetTables(args.req)
491
- write_result(result, oprot, 'GetTables', seqid)
496
+ write_result(result, oprot, "GetTables", seqid)
492
497
  end
493
498
 
494
499
  def process_GetTableTypes(seqid, iprot, oprot)
495
500
  args = read_args(iprot, GetTableTypes_args)
496
- result = GetTableTypes_result.new()
501
+ result = GetTableTypes_result.new
497
502
  result.success = @handler.GetTableTypes(args.req)
498
- write_result(result, oprot, 'GetTableTypes', seqid)
503
+ write_result(result, oprot, "GetTableTypes", seqid)
499
504
  end
500
505
 
501
506
  def process_GetColumns(seqid, iprot, oprot)
502
507
  args = read_args(iprot, GetColumns_args)
503
- result = GetColumns_result.new()
508
+ result = GetColumns_result.new
504
509
  result.success = @handler.GetColumns(args.req)
505
- write_result(result, oprot, 'GetColumns', seqid)
510
+ write_result(result, oprot, "GetColumns", seqid)
506
511
  end
507
512
 
508
513
  def process_GetFunctions(seqid, iprot, oprot)
509
514
  args = read_args(iprot, GetFunctions_args)
510
- result = GetFunctions_result.new()
515
+ result = GetFunctions_result.new
511
516
  result.success = @handler.GetFunctions(args.req)
512
- write_result(result, oprot, 'GetFunctions', seqid)
517
+ write_result(result, oprot, "GetFunctions", seqid)
513
518
  end
514
519
 
515
520
  def process_GetPrimaryKeys(seqid, iprot, oprot)
516
521
  args = read_args(iprot, GetPrimaryKeys_args)
517
- result = GetPrimaryKeys_result.new()
522
+ result = GetPrimaryKeys_result.new
518
523
  result.success = @handler.GetPrimaryKeys(args.req)
519
- write_result(result, oprot, 'GetPrimaryKeys', seqid)
524
+ write_result(result, oprot, "GetPrimaryKeys", seqid)
520
525
  end
521
526
 
522
527
  def process_GetCrossReference(seqid, iprot, oprot)
523
528
  args = read_args(iprot, GetCrossReference_args)
524
- result = GetCrossReference_result.new()
529
+ result = GetCrossReference_result.new
525
530
  result.success = @handler.GetCrossReference(args.req)
526
- write_result(result, oprot, 'GetCrossReference', seqid)
531
+ write_result(result, oprot, "GetCrossReference", seqid)
527
532
  end
528
533
 
529
534
  def process_GetOperationStatus(seqid, iprot, oprot)
530
535
  args = read_args(iprot, GetOperationStatus_args)
531
- result = GetOperationStatus_result.new()
536
+ result = GetOperationStatus_result.new
532
537
  result.success = @handler.GetOperationStatus(args.req)
533
- write_result(result, oprot, 'GetOperationStatus', seqid)
538
+ write_result(result, oprot, "GetOperationStatus", seqid)
534
539
  end
535
540
 
536
541
  def process_CancelOperation(seqid, iprot, oprot)
537
542
  args = read_args(iprot, CancelOperation_args)
538
- result = CancelOperation_result.new()
543
+ result = CancelOperation_result.new
539
544
  result.success = @handler.CancelOperation(args.req)
540
- write_result(result, oprot, 'CancelOperation', seqid)
545
+ write_result(result, oprot, "CancelOperation", seqid)
541
546
  end
542
547
 
543
548
  def process_CloseOperation(seqid, iprot, oprot)
544
549
  args = read_args(iprot, CloseOperation_args)
545
- result = CloseOperation_result.new()
550
+ result = CloseOperation_result.new
546
551
  result.success = @handler.CloseOperation(args.req)
547
- write_result(result, oprot, 'CloseOperation', seqid)
552
+ write_result(result, oprot, "CloseOperation", seqid)
548
553
  end
549
554
 
550
555
  def process_GetResultSetMetadata(seqid, iprot, oprot)
551
556
  args = read_args(iprot, GetResultSetMetadata_args)
552
- result = GetResultSetMetadata_result.new()
557
+ result = GetResultSetMetadata_result.new
553
558
  result.success = @handler.GetResultSetMetadata(args.req)
554
- write_result(result, oprot, 'GetResultSetMetadata', seqid)
559
+ write_result(result, oprot, "GetResultSetMetadata", seqid)
555
560
  end
556
561
 
557
562
  def process_FetchResults(seqid, iprot, oprot)
558
563
  args = read_args(iprot, FetchResults_args)
559
- result = FetchResults_result.new()
564
+ result = FetchResults_result.new
560
565
  result.success = @handler.FetchResults(args.req)
561
- write_result(result, oprot, 'FetchResults', seqid)
566
+ write_result(result, oprot, "FetchResults", seqid)
562
567
  end
563
568
 
564
569
  def process_GetDelegationToken(seqid, iprot, oprot)
565
570
  args = read_args(iprot, GetDelegationToken_args)
566
- result = GetDelegationToken_result.new()
571
+ result = GetDelegationToken_result.new
567
572
  result.success = @handler.GetDelegationToken(args.req)
568
- write_result(result, oprot, 'GetDelegationToken', seqid)
573
+ write_result(result, oprot, "GetDelegationToken", seqid)
569
574
  end
570
575
 
571
576
  def process_CancelDelegationToken(seqid, iprot, oprot)
572
577
  args = read_args(iprot, CancelDelegationToken_args)
573
- result = CancelDelegationToken_result.new()
578
+ result = CancelDelegationToken_result.new
574
579
  result.success = @handler.CancelDelegationToken(args.req)
575
- write_result(result, oprot, 'CancelDelegationToken', seqid)
580
+ write_result(result, oprot, "CancelDelegationToken", seqid)
576
581
  end
577
582
 
578
583
  def process_RenewDelegationToken(seqid, iprot, oprot)
579
584
  args = read_args(iprot, RenewDelegationToken_args)
580
- result = RenewDelegationToken_result.new()
585
+ result = RenewDelegationToken_result.new
581
586
  result.success = @handler.RenewDelegationToken(args.req)
582
- write_result(result, oprot, 'RenewDelegationToken', seqid)
587
+ write_result(result, oprot, "RenewDelegationToken", seqid)
588
+ end
589
+
590
+ def process_GetQueryId(seqid, iprot, oprot)
591
+ args = read_args(iprot, GetQueryId_args)
592
+ result = GetQueryId_result.new
593
+ result.success = @handler.GetQueryId(args.req)
594
+ write_result(result, oprot, "GetQueryId", seqid)
595
+ end
596
+
597
+ def process_SetClientInfo(seqid, iprot, oprot)
598
+ args = read_args(iprot, SetClientInfo_args)
599
+ result = SetClientInfo_result.new
600
+ result.success = @handler.SetClientInfo(args.req)
601
+ write_result(result, oprot, "SetClientInfo", seqid)
602
+ end
603
+
604
+ def process_UploadData(seqid, iprot, oprot)
605
+ args = read_args(iprot, UploadData_args)
606
+ result = UploadData_result.new
607
+ result.success = @handler.UploadData(args.req)
608
+ write_result(result, oprot, "UploadData", seqid)
583
609
  end
584
610
 
611
+ def process_DownloadData(seqid, iprot, oprot)
612
+ args = read_args(iprot, DownloadData_args)
613
+ result = DownloadData_result.new
614
+ result.success = @handler.DownloadData(args.req)
615
+ write_result(result, oprot, "DownloadData", seqid)
616
+ end
585
617
  end
586
618
 
587
619
  # HELPER FUNCTIONS AND STRUCTURES
588
620
 
589
621
  class OpenSession_args
590
622
  include ::Thrift::Struct, ::Thrift::Struct_Union
591
- REQ = 1
623
+
624
+ REQ_FIELD_ID = 1
592
625
 
593
626
  FIELDS = {
594
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TOpenSessionReq}
627
+ REQ_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "req", class: ::Hexspace::TOpenSessionReq},
595
628
  }
596
629
 
597
630
  def struct_fields; FIELDS; end
@@ -604,10 +637,11 @@ module Hexspace
604
637
 
605
638
  class OpenSession_result
606
639
  include ::Thrift::Struct, ::Thrift::Struct_Union
607
- SUCCESS = 0
640
+
641
+ SUCCESS_FIELD_ID = 0
608
642
 
609
643
  FIELDS = {
610
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TOpenSessionResp}
644
+ SUCCESS_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "success", class: ::Hexspace::TOpenSessionResp},
611
645
  }
612
646
 
613
647
  def struct_fields; FIELDS; end
@@ -620,10 +654,11 @@ module Hexspace
620
654
 
621
655
  class CloseSession_args
622
656
  include ::Thrift::Struct, ::Thrift::Struct_Union
623
- REQ = 1
657
+
658
+ REQ_FIELD_ID = 1
624
659
 
625
660
  FIELDS = {
626
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TCloseSessionReq}
661
+ REQ_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "req", class: ::Hexspace::TCloseSessionReq},
627
662
  }
628
663
 
629
664
  def struct_fields; FIELDS; end
@@ -636,10 +671,11 @@ module Hexspace
636
671
 
637
672
  class CloseSession_result
638
673
  include ::Thrift::Struct, ::Thrift::Struct_Union
639
- SUCCESS = 0
674
+
675
+ SUCCESS_FIELD_ID = 0
640
676
 
641
677
  FIELDS = {
642
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TCloseSessionResp}
678
+ SUCCESS_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "success", class: ::Hexspace::TCloseSessionResp},
643
679
  }
644
680
 
645
681
  def struct_fields; FIELDS; end
@@ -652,10 +688,11 @@ module Hexspace
652
688
 
653
689
  class GetInfo_args
654
690
  include ::Thrift::Struct, ::Thrift::Struct_Union
655
- REQ = 1
691
+
692
+ REQ_FIELD_ID = 1
656
693
 
657
694
  FIELDS = {
658
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetInfoReq}
695
+ REQ_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "req", class: ::Hexspace::TGetInfoReq},
659
696
  }
660
697
 
661
698
  def struct_fields; FIELDS; end
@@ -668,10 +705,11 @@ module Hexspace
668
705
 
669
706
  class GetInfo_result
670
707
  include ::Thrift::Struct, ::Thrift::Struct_Union
671
- SUCCESS = 0
708
+
709
+ SUCCESS_FIELD_ID = 0
672
710
 
673
711
  FIELDS = {
674
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetInfoResp}
712
+ SUCCESS_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "success", class: ::Hexspace::TGetInfoResp},
675
713
  }
676
714
 
677
715
  def struct_fields; FIELDS; end
@@ -684,10 +722,11 @@ module Hexspace
684
722
 
685
723
  class ExecuteStatement_args
686
724
  include ::Thrift::Struct, ::Thrift::Struct_Union
687
- REQ = 1
725
+
726
+ REQ_FIELD_ID = 1
688
727
 
689
728
  FIELDS = {
690
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TExecuteStatementReq}
729
+ REQ_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "req", class: ::Hexspace::TExecuteStatementReq},
691
730
  }
692
731
 
693
732
  def struct_fields; FIELDS; end
@@ -700,10 +739,11 @@ module Hexspace
700
739
 
701
740
  class ExecuteStatement_result
702
741
  include ::Thrift::Struct, ::Thrift::Struct_Union
703
- SUCCESS = 0
742
+
743
+ SUCCESS_FIELD_ID = 0
704
744
 
705
745
  FIELDS = {
706
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TExecuteStatementResp}
746
+ SUCCESS_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "success", class: ::Hexspace::TExecuteStatementResp},
707
747
  }
708
748
 
709
749
  def struct_fields; FIELDS; end
@@ -716,10 +756,11 @@ module Hexspace
716
756
 
717
757
  class GetTypeInfo_args
718
758
  include ::Thrift::Struct, ::Thrift::Struct_Union
719
- REQ = 1
759
+
760
+ REQ_FIELD_ID = 1
720
761
 
721
762
  FIELDS = {
722
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetTypeInfoReq}
763
+ REQ_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "req", class: ::Hexspace::TGetTypeInfoReq},
723
764
  }
724
765
 
725
766
  def struct_fields; FIELDS; end
@@ -732,10 +773,11 @@ module Hexspace
732
773
 
733
774
  class GetTypeInfo_result
734
775
  include ::Thrift::Struct, ::Thrift::Struct_Union
735
- SUCCESS = 0
776
+
777
+ SUCCESS_FIELD_ID = 0
736
778
 
737
779
  FIELDS = {
738
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetTypeInfoResp}
780
+ SUCCESS_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "success", class: ::Hexspace::TGetTypeInfoResp},
739
781
  }
740
782
 
741
783
  def struct_fields; FIELDS; end
@@ -748,10 +790,11 @@ module Hexspace
748
790
 
749
791
  class GetCatalogs_args
750
792
  include ::Thrift::Struct, ::Thrift::Struct_Union
751
- REQ = 1
793
+
794
+ REQ_FIELD_ID = 1
752
795
 
753
796
  FIELDS = {
754
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetCatalogsReq}
797
+ REQ_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "req", class: ::Hexspace::TGetCatalogsReq},
755
798
  }
756
799
 
757
800
  def struct_fields; FIELDS; end
@@ -764,10 +807,11 @@ module Hexspace
764
807
 
765
808
  class GetCatalogs_result
766
809
  include ::Thrift::Struct, ::Thrift::Struct_Union
767
- SUCCESS = 0
810
+
811
+ SUCCESS_FIELD_ID = 0
768
812
 
769
813
  FIELDS = {
770
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetCatalogsResp}
814
+ SUCCESS_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "success", class: ::Hexspace::TGetCatalogsResp},
771
815
  }
772
816
 
773
817
  def struct_fields; FIELDS; end
@@ -780,10 +824,11 @@ module Hexspace
780
824
 
781
825
  class GetSchemas_args
782
826
  include ::Thrift::Struct, ::Thrift::Struct_Union
783
- REQ = 1
827
+
828
+ REQ_FIELD_ID = 1
784
829
 
785
830
  FIELDS = {
786
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetSchemasReq}
831
+ REQ_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "req", class: ::Hexspace::TGetSchemasReq},
787
832
  }
788
833
 
789
834
  def struct_fields; FIELDS; end
@@ -796,10 +841,11 @@ module Hexspace
796
841
 
797
842
  class GetSchemas_result
798
843
  include ::Thrift::Struct, ::Thrift::Struct_Union
799
- SUCCESS = 0
844
+
845
+ SUCCESS_FIELD_ID = 0
800
846
 
801
847
  FIELDS = {
802
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetSchemasResp}
848
+ SUCCESS_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "success", class: ::Hexspace::TGetSchemasResp},
803
849
  }
804
850
 
805
851
  def struct_fields; FIELDS; end
@@ -812,10 +858,11 @@ module Hexspace
812
858
 
813
859
  class GetTables_args
814
860
  include ::Thrift::Struct, ::Thrift::Struct_Union
815
- REQ = 1
861
+
862
+ REQ_FIELD_ID = 1
816
863
 
817
864
  FIELDS = {
818
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetTablesReq}
865
+ REQ_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "req", class: ::Hexspace::TGetTablesReq},
819
866
  }
820
867
 
821
868
  def struct_fields; FIELDS; end
@@ -828,10 +875,11 @@ module Hexspace
828
875
 
829
876
  class GetTables_result
830
877
  include ::Thrift::Struct, ::Thrift::Struct_Union
831
- SUCCESS = 0
878
+
879
+ SUCCESS_FIELD_ID = 0
832
880
 
833
881
  FIELDS = {
834
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetTablesResp}
882
+ SUCCESS_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "success", class: ::Hexspace::TGetTablesResp},
835
883
  }
836
884
 
837
885
  def struct_fields; FIELDS; end
@@ -844,10 +892,11 @@ module Hexspace
844
892
 
845
893
  class GetTableTypes_args
846
894
  include ::Thrift::Struct, ::Thrift::Struct_Union
847
- REQ = 1
895
+
896
+ REQ_FIELD_ID = 1
848
897
 
849
898
  FIELDS = {
850
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetTableTypesReq}
899
+ REQ_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "req", class: ::Hexspace::TGetTableTypesReq},
851
900
  }
852
901
 
853
902
  def struct_fields; FIELDS; end
@@ -860,10 +909,11 @@ module Hexspace
860
909
 
861
910
  class GetTableTypes_result
862
911
  include ::Thrift::Struct, ::Thrift::Struct_Union
863
- SUCCESS = 0
912
+
913
+ SUCCESS_FIELD_ID = 0
864
914
 
865
915
  FIELDS = {
866
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetTableTypesResp}
916
+ SUCCESS_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "success", class: ::Hexspace::TGetTableTypesResp},
867
917
  }
868
918
 
869
919
  def struct_fields; FIELDS; end
@@ -876,10 +926,11 @@ module Hexspace
876
926
 
877
927
  class GetColumns_args
878
928
  include ::Thrift::Struct, ::Thrift::Struct_Union
879
- REQ = 1
929
+
930
+ REQ_FIELD_ID = 1
880
931
 
881
932
  FIELDS = {
882
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetColumnsReq}
933
+ REQ_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "req", class: ::Hexspace::TGetColumnsReq},
883
934
  }
884
935
 
885
936
  def struct_fields; FIELDS; end
@@ -892,10 +943,11 @@ module Hexspace
892
943
 
893
944
  class GetColumns_result
894
945
  include ::Thrift::Struct, ::Thrift::Struct_Union
895
- SUCCESS = 0
946
+
947
+ SUCCESS_FIELD_ID = 0
896
948
 
897
949
  FIELDS = {
898
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetColumnsResp}
950
+ SUCCESS_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "success", class: ::Hexspace::TGetColumnsResp},
899
951
  }
900
952
 
901
953
  def struct_fields; FIELDS; end
@@ -908,10 +960,11 @@ module Hexspace
908
960
 
909
961
  class GetFunctions_args
910
962
  include ::Thrift::Struct, ::Thrift::Struct_Union
911
- REQ = 1
963
+
964
+ REQ_FIELD_ID = 1
912
965
 
913
966
  FIELDS = {
914
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetFunctionsReq}
967
+ REQ_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "req", class: ::Hexspace::TGetFunctionsReq},
915
968
  }
916
969
 
917
970
  def struct_fields; FIELDS; end
@@ -924,10 +977,11 @@ module Hexspace
924
977
 
925
978
  class GetFunctions_result
926
979
  include ::Thrift::Struct, ::Thrift::Struct_Union
927
- SUCCESS = 0
980
+
981
+ SUCCESS_FIELD_ID = 0
928
982
 
929
983
  FIELDS = {
930
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetFunctionsResp}
984
+ SUCCESS_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "success", class: ::Hexspace::TGetFunctionsResp},
931
985
  }
932
986
 
933
987
  def struct_fields; FIELDS; end
@@ -940,10 +994,11 @@ module Hexspace
940
994
 
941
995
  class GetPrimaryKeys_args
942
996
  include ::Thrift::Struct, ::Thrift::Struct_Union
943
- REQ = 1
997
+
998
+ REQ_FIELD_ID = 1
944
999
 
945
1000
  FIELDS = {
946
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetPrimaryKeysReq}
1001
+ REQ_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "req", class: ::Hexspace::TGetPrimaryKeysReq},
947
1002
  }
948
1003
 
949
1004
  def struct_fields; FIELDS; end
@@ -956,10 +1011,11 @@ module Hexspace
956
1011
 
957
1012
  class GetPrimaryKeys_result
958
1013
  include ::Thrift::Struct, ::Thrift::Struct_Union
959
- SUCCESS = 0
1014
+
1015
+ SUCCESS_FIELD_ID = 0
960
1016
 
961
1017
  FIELDS = {
962
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetPrimaryKeysResp}
1018
+ SUCCESS_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "success", class: ::Hexspace::TGetPrimaryKeysResp},
963
1019
  }
964
1020
 
965
1021
  def struct_fields; FIELDS; end
@@ -972,10 +1028,11 @@ module Hexspace
972
1028
 
973
1029
  class GetCrossReference_args
974
1030
  include ::Thrift::Struct, ::Thrift::Struct_Union
975
- REQ = 1
1031
+
1032
+ REQ_FIELD_ID = 1
976
1033
 
977
1034
  FIELDS = {
978
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetCrossReferenceReq}
1035
+ REQ_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "req", class: ::Hexspace::TGetCrossReferenceReq},
979
1036
  }
980
1037
 
981
1038
  def struct_fields; FIELDS; end
@@ -988,10 +1045,11 @@ module Hexspace
988
1045
 
989
1046
  class GetCrossReference_result
990
1047
  include ::Thrift::Struct, ::Thrift::Struct_Union
991
- SUCCESS = 0
1048
+
1049
+ SUCCESS_FIELD_ID = 0
992
1050
 
993
1051
  FIELDS = {
994
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetCrossReferenceResp}
1052
+ SUCCESS_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "success", class: ::Hexspace::TGetCrossReferenceResp},
995
1053
  }
996
1054
 
997
1055
  def struct_fields; FIELDS; end
@@ -1004,10 +1062,11 @@ module Hexspace
1004
1062
 
1005
1063
  class GetOperationStatus_args
1006
1064
  include ::Thrift::Struct, ::Thrift::Struct_Union
1007
- REQ = 1
1065
+
1066
+ REQ_FIELD_ID = 1
1008
1067
 
1009
1068
  FIELDS = {
1010
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetOperationStatusReq}
1069
+ REQ_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "req", class: ::Hexspace::TGetOperationStatusReq},
1011
1070
  }
1012
1071
 
1013
1072
  def struct_fields; FIELDS; end
@@ -1020,10 +1079,11 @@ module Hexspace
1020
1079
 
1021
1080
  class GetOperationStatus_result
1022
1081
  include ::Thrift::Struct, ::Thrift::Struct_Union
1023
- SUCCESS = 0
1082
+
1083
+ SUCCESS_FIELD_ID = 0
1024
1084
 
1025
1085
  FIELDS = {
1026
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetOperationStatusResp}
1086
+ SUCCESS_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "success", class: ::Hexspace::TGetOperationStatusResp},
1027
1087
  }
1028
1088
 
1029
1089
  def struct_fields; FIELDS; end
@@ -1036,10 +1096,11 @@ module Hexspace
1036
1096
 
1037
1097
  class CancelOperation_args
1038
1098
  include ::Thrift::Struct, ::Thrift::Struct_Union
1039
- REQ = 1
1099
+
1100
+ REQ_FIELD_ID = 1
1040
1101
 
1041
1102
  FIELDS = {
1042
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TCancelOperationReq}
1103
+ REQ_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "req", class: ::Hexspace::TCancelOperationReq},
1043
1104
  }
1044
1105
 
1045
1106
  def struct_fields; FIELDS; end
@@ -1052,10 +1113,11 @@ module Hexspace
1052
1113
 
1053
1114
  class CancelOperation_result
1054
1115
  include ::Thrift::Struct, ::Thrift::Struct_Union
1055
- SUCCESS = 0
1116
+
1117
+ SUCCESS_FIELD_ID = 0
1056
1118
 
1057
1119
  FIELDS = {
1058
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TCancelOperationResp}
1120
+ SUCCESS_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "success", class: ::Hexspace::TCancelOperationResp},
1059
1121
  }
1060
1122
 
1061
1123
  def struct_fields; FIELDS; end
@@ -1068,10 +1130,11 @@ module Hexspace
1068
1130
 
1069
1131
  class CloseOperation_args
1070
1132
  include ::Thrift::Struct, ::Thrift::Struct_Union
1071
- REQ = 1
1133
+
1134
+ REQ_FIELD_ID = 1
1072
1135
 
1073
1136
  FIELDS = {
1074
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TCloseOperationReq}
1137
+ REQ_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "req", class: ::Hexspace::TCloseOperationReq},
1075
1138
  }
1076
1139
 
1077
1140
  def struct_fields; FIELDS; end
@@ -1084,10 +1147,11 @@ module Hexspace
1084
1147
 
1085
1148
  class CloseOperation_result
1086
1149
  include ::Thrift::Struct, ::Thrift::Struct_Union
1087
- SUCCESS = 0
1150
+
1151
+ SUCCESS_FIELD_ID = 0
1088
1152
 
1089
1153
  FIELDS = {
1090
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TCloseOperationResp}
1154
+ SUCCESS_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "success", class: ::Hexspace::TCloseOperationResp},
1091
1155
  }
1092
1156
 
1093
1157
  def struct_fields; FIELDS; end
@@ -1100,10 +1164,11 @@ module Hexspace
1100
1164
 
1101
1165
  class GetResultSetMetadata_args
1102
1166
  include ::Thrift::Struct, ::Thrift::Struct_Union
1103
- REQ = 1
1167
+
1168
+ REQ_FIELD_ID = 1
1104
1169
 
1105
1170
  FIELDS = {
1106
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetResultSetMetadataReq}
1171
+ REQ_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "req", class: ::Hexspace::TGetResultSetMetadataReq},
1107
1172
  }
1108
1173
 
1109
1174
  def struct_fields; FIELDS; end
@@ -1116,10 +1181,11 @@ module Hexspace
1116
1181
 
1117
1182
  class GetResultSetMetadata_result
1118
1183
  include ::Thrift::Struct, ::Thrift::Struct_Union
1119
- SUCCESS = 0
1184
+
1185
+ SUCCESS_FIELD_ID = 0
1120
1186
 
1121
1187
  FIELDS = {
1122
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetResultSetMetadataResp}
1188
+ SUCCESS_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "success", class: ::Hexspace::TGetResultSetMetadataResp},
1123
1189
  }
1124
1190
 
1125
1191
  def struct_fields; FIELDS; end
@@ -1132,10 +1198,11 @@ module Hexspace
1132
1198
 
1133
1199
  class FetchResults_args
1134
1200
  include ::Thrift::Struct, ::Thrift::Struct_Union
1135
- REQ = 1
1201
+
1202
+ REQ_FIELD_ID = 1
1136
1203
 
1137
1204
  FIELDS = {
1138
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TFetchResultsReq}
1205
+ REQ_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "req", class: ::Hexspace::TFetchResultsReq},
1139
1206
  }
1140
1207
 
1141
1208
  def struct_fields; FIELDS; end
@@ -1148,10 +1215,11 @@ module Hexspace
1148
1215
 
1149
1216
  class FetchResults_result
1150
1217
  include ::Thrift::Struct, ::Thrift::Struct_Union
1151
- SUCCESS = 0
1218
+
1219
+ SUCCESS_FIELD_ID = 0
1152
1220
 
1153
1221
  FIELDS = {
1154
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TFetchResultsResp}
1222
+ SUCCESS_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "success", class: ::Hexspace::TFetchResultsResp},
1155
1223
  }
1156
1224
 
1157
1225
  def struct_fields; FIELDS; end
@@ -1164,10 +1232,11 @@ module Hexspace
1164
1232
 
1165
1233
  class GetDelegationToken_args
1166
1234
  include ::Thrift::Struct, ::Thrift::Struct_Union
1167
- REQ = 1
1235
+
1236
+ REQ_FIELD_ID = 1
1168
1237
 
1169
1238
  FIELDS = {
1170
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TGetDelegationTokenReq}
1239
+ REQ_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "req", class: ::Hexspace::TGetDelegationTokenReq},
1171
1240
  }
1172
1241
 
1173
1242
  def struct_fields; FIELDS; end
@@ -1180,10 +1249,11 @@ module Hexspace
1180
1249
 
1181
1250
  class GetDelegationToken_result
1182
1251
  include ::Thrift::Struct, ::Thrift::Struct_Union
1183
- SUCCESS = 0
1252
+
1253
+ SUCCESS_FIELD_ID = 0
1184
1254
 
1185
1255
  FIELDS = {
1186
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TGetDelegationTokenResp}
1256
+ SUCCESS_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "success", class: ::Hexspace::TGetDelegationTokenResp},
1187
1257
  }
1188
1258
 
1189
1259
  def struct_fields; FIELDS; end
@@ -1196,10 +1266,11 @@ module Hexspace
1196
1266
 
1197
1267
  class CancelDelegationToken_args
1198
1268
  include ::Thrift::Struct, ::Thrift::Struct_Union
1199
- REQ = 1
1269
+
1270
+ REQ_FIELD_ID = 1
1200
1271
 
1201
1272
  FIELDS = {
1202
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TCancelDelegationTokenReq}
1273
+ REQ_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "req", class: ::Hexspace::TCancelDelegationTokenReq},
1203
1274
  }
1204
1275
 
1205
1276
  def struct_fields; FIELDS; end
@@ -1212,10 +1283,11 @@ module Hexspace
1212
1283
 
1213
1284
  class CancelDelegationToken_result
1214
1285
  include ::Thrift::Struct, ::Thrift::Struct_Union
1215
- SUCCESS = 0
1286
+
1287
+ SUCCESS_FIELD_ID = 0
1216
1288
 
1217
1289
  FIELDS = {
1218
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TCancelDelegationTokenResp}
1290
+ SUCCESS_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "success", class: ::Hexspace::TCancelDelegationTokenResp},
1219
1291
  }
1220
1292
 
1221
1293
  def struct_fields; FIELDS; end
@@ -1228,10 +1300,11 @@ module Hexspace
1228
1300
 
1229
1301
  class RenewDelegationToken_args
1230
1302
  include ::Thrift::Struct, ::Thrift::Struct_Union
1231
- REQ = 1
1303
+
1304
+ REQ_FIELD_ID = 1
1232
1305
 
1233
1306
  FIELDS = {
1234
- REQ => {:type => ::Thrift::Types::STRUCT, :name => 'req', :class => ::Hexspace::TRenewDelegationTokenReq}
1307
+ REQ_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "req", class: ::Hexspace::TRenewDelegationTokenReq},
1235
1308
  }
1236
1309
 
1237
1310
  def struct_fields; FIELDS; end
@@ -1244,10 +1317,11 @@ module Hexspace
1244
1317
 
1245
1318
  class RenewDelegationToken_result
1246
1319
  include ::Thrift::Struct, ::Thrift::Struct_Union
1247
- SUCCESS = 0
1320
+
1321
+ SUCCESS_FIELD_ID = 0
1248
1322
 
1249
1323
  FIELDS = {
1250
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Hexspace::TRenewDelegationTokenResp}
1324
+ SUCCESS_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "success", class: ::Hexspace::TRenewDelegationTokenResp},
1251
1325
  }
1252
1326
 
1253
1327
  def struct_fields; FIELDS; end
@@ -1258,6 +1332,140 @@ module Hexspace
1258
1332
  ::Thrift::Struct.generate_accessors self
1259
1333
  end
1260
1334
 
1261
- end
1335
+ class GetQueryId_args
1336
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1337
+
1338
+ REQ_FIELD_ID = 1
1339
+
1340
+ FIELDS = {
1341
+ REQ_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "req", class: ::Hexspace::TGetQueryIdReq},
1342
+ }
1343
+
1344
+ def struct_fields; FIELDS; end
1345
+
1346
+ def validate
1347
+ end
1348
+
1349
+ ::Thrift::Struct.generate_accessors self
1350
+ end
1351
+
1352
+ class GetQueryId_result
1353
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1354
+
1355
+ SUCCESS_FIELD_ID = 0
1356
+
1357
+ FIELDS = {
1358
+ SUCCESS_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "success", class: ::Hexspace::TGetQueryIdResp},
1359
+ }
1360
+
1361
+ def struct_fields; FIELDS; end
1362
+
1363
+ def validate
1364
+ end
1365
+
1366
+ ::Thrift::Struct.generate_accessors self
1367
+ end
1368
+
1369
+ class SetClientInfo_args
1370
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1371
+
1372
+ REQ_FIELD_ID = 1
1373
+
1374
+ FIELDS = {
1375
+ REQ_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "req", class: ::Hexspace::TSetClientInfoReq},
1376
+ }
1377
+
1378
+ def struct_fields; FIELDS; end
1379
+
1380
+ def validate
1381
+ end
1382
+
1383
+ ::Thrift::Struct.generate_accessors self
1384
+ end
1385
+
1386
+ class SetClientInfo_result
1387
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1388
+
1389
+ SUCCESS_FIELD_ID = 0
1390
+
1391
+ FIELDS = {
1392
+ SUCCESS_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "success", class: ::Hexspace::TSetClientInfoResp},
1393
+ }
1394
+
1395
+ def struct_fields; FIELDS; end
1396
+
1397
+ def validate
1398
+ end
1399
+
1400
+ ::Thrift::Struct.generate_accessors self
1401
+ end
1402
+
1403
+ class UploadData_args
1404
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1405
+
1406
+ REQ_FIELD_ID = 1
1407
+
1408
+ FIELDS = {
1409
+ REQ_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "req", class: ::Hexspace::TUploadDataReq},
1410
+ }
1411
+
1412
+ def struct_fields; FIELDS; end
1413
+
1414
+ def validate
1415
+ end
1416
+
1417
+ ::Thrift::Struct.generate_accessors self
1418
+ end
1419
+
1420
+ class UploadData_result
1421
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1422
+
1423
+ SUCCESS_FIELD_ID = 0
1424
+
1425
+ FIELDS = {
1426
+ SUCCESS_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "success", class: ::Hexspace::TUploadDataResp},
1427
+ }
1428
+
1429
+ def struct_fields; FIELDS; end
1430
+
1431
+ def validate
1432
+ end
1433
+
1434
+ ::Thrift::Struct.generate_accessors self
1435
+ end
1436
+
1437
+ class DownloadData_args
1438
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1262
1439
 
1440
+ REQ_FIELD_ID = 1
1441
+
1442
+ FIELDS = {
1443
+ REQ_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "req", class: ::Hexspace::TDownloadDataReq},
1444
+ }
1445
+
1446
+ def struct_fields; FIELDS; end
1447
+
1448
+ def validate
1449
+ end
1450
+
1451
+ ::Thrift::Struct.generate_accessors self
1452
+ end
1453
+
1454
+ class DownloadData_result
1455
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1456
+
1457
+ SUCCESS_FIELD_ID = 0
1458
+
1459
+ FIELDS = {
1460
+ SUCCESS_FIELD_ID => {type: ::Thrift::Types::STRUCT, name: "success", class: ::Hexspace::TDownloadDataResp},
1461
+ }
1462
+
1463
+ def struct_fields; FIELDS; end
1464
+
1465
+ def validate
1466
+ end
1467
+
1468
+ ::Thrift::Struct.generate_accessors self
1469
+ end
1470
+ end
1263
1471
  end