bosrvclient 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/bosrvclient/big_object_service.rb +62 -601
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19b74c21435fe0cc00cd4ffeedcb525379e09bcc
|
4
|
+
data.tar.gz: 6adb760774f3a097dd815dc72f4869f0ed4420c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43dfb665a8fee129b2cde286fd856c3efda4078f9ffdeced17fac1e0ba894a7d13cf1de58d8d80904ae4c92e22409e4c07446211b59d0cbf06a72acb9d22a534
|
7
|
+
data.tar.gz: a505a16a4b194cf2c4e31178e85e91ca64d367256c8a14df5a84c169de651f165d539e4842d5886c2980124f276c2c1772b22c10b2830c3556b81915d8f4e384
|
@@ -12,28 +12,13 @@ module Bosrv
|
|
12
12
|
class Client
|
13
13
|
include ::Thrift::Client
|
14
14
|
|
15
|
-
def
|
16
|
-
|
17
|
-
return recv_ping()
|
18
|
-
end
|
19
|
-
|
20
|
-
def send_ping()
|
21
|
-
send_message('ping', Ping_args)
|
22
|
-
end
|
23
|
-
|
24
|
-
def recv_ping()
|
25
|
-
result = receive_message(Ping_result)
|
26
|
-
return result.success unless result.success.nil?
|
27
|
-
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'ping failed: unknown result')
|
28
|
-
end
|
29
|
-
|
30
|
-
def star_apply(token, srvname, cmd_stmt, autocommit)
|
31
|
-
send_star_apply(token, srvname, cmd_stmt, autocommit)
|
15
|
+
def star_apply(token, srvname, cmd_stmt, workspace, opts)
|
16
|
+
send_star_apply(token, srvname, cmd_stmt, workspace, opts)
|
32
17
|
return recv_star_apply()
|
33
18
|
end
|
34
19
|
|
35
|
-
def send_star_apply(token, srvname, cmd_stmt,
|
36
|
-
send_message('star_apply', Star_apply_args, :token => token, :srvname => srvname, :cmd_stmt => cmd_stmt, :
|
20
|
+
def send_star_apply(token, srvname, cmd_stmt, workspace, opts)
|
21
|
+
send_message('star_apply', Star_apply_args, :token => token, :srvname => srvname, :cmd_stmt => cmd_stmt, :workspace => workspace, :opts => opts)
|
37
22
|
end
|
38
23
|
|
39
24
|
def recv_star_apply()
|
@@ -44,66 +29,13 @@ module Bosrv
|
|
44
29
|
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'star_apply failed: unknown result')
|
45
30
|
end
|
46
31
|
|
47
|
-
def
|
48
|
-
|
49
|
-
return recv_sql_begin()
|
50
|
-
end
|
51
|
-
|
52
|
-
def send_sql_begin(token)
|
53
|
-
send_message('sql_begin', Sql_begin_args, :token => token)
|
54
|
-
end
|
55
|
-
|
56
|
-
def recv_sql_begin()
|
57
|
-
result = receive_message(Sql_begin_result)
|
58
|
-
return result.success unless result.success.nil?
|
59
|
-
raise result.err unless result.err.nil?
|
60
|
-
raise result.arr unless result.arr.nil?
|
61
|
-
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'sql_begin failed: unknown result')
|
62
|
-
end
|
63
|
-
|
64
|
-
def sql_commit(token, resource)
|
65
|
-
send_sql_commit(token, resource)
|
66
|
-
return recv_sql_commit()
|
67
|
-
end
|
68
|
-
|
69
|
-
def send_sql_commit(token, resource)
|
70
|
-
send_message('sql_commit', Sql_commit_args, :token => token, :resource => resource)
|
71
|
-
end
|
72
|
-
|
73
|
-
def recv_sql_commit()
|
74
|
-
result = receive_message(Sql_commit_result)
|
75
|
-
return result.success unless result.success.nil?
|
76
|
-
raise result.err unless result.err.nil?
|
77
|
-
raise result.sqlerr unless result.sqlerr.nil?
|
78
|
-
raise result.arr unless result.arr.nil?
|
79
|
-
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'sql_commit failed: unknown result')
|
80
|
-
end
|
81
|
-
|
82
|
-
def sql_execute_many(token, resource, sql_stmt)
|
83
|
-
send_sql_execute_many(token, resource, sql_stmt)
|
84
|
-
return recv_sql_execute_many()
|
85
|
-
end
|
86
|
-
|
87
|
-
def send_sql_execute_many(token, resource, sql_stmt)
|
88
|
-
send_message('sql_execute_many', Sql_execute_many_args, :token => token, :resource => resource, :sql_stmt => sql_stmt)
|
89
|
-
end
|
90
|
-
|
91
|
-
def recv_sql_execute_many()
|
92
|
-
result = receive_message(Sql_execute_many_result)
|
93
|
-
return result.success unless result.success.nil?
|
94
|
-
raise result.err unless result.err.nil?
|
95
|
-
raise result.sqlerr unless result.sqlerr.nil?
|
96
|
-
raise result.arr unless result.arr.nil?
|
97
|
-
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'sql_execute_many failed: unknown result')
|
98
|
-
end
|
99
|
-
|
100
|
-
def sql_execute(token, sql_stmt, autocommit)
|
101
|
-
send_sql_execute(token, sql_stmt, autocommit)
|
32
|
+
def sql_execute(token, sql_stmt, workspace, opts)
|
33
|
+
send_sql_execute(token, sql_stmt, workspace, opts)
|
102
34
|
return recv_sql_execute()
|
103
35
|
end
|
104
36
|
|
105
|
-
def send_sql_execute(token, sql_stmt,
|
106
|
-
send_message('sql_execute', Sql_execute_args, :token => token, :sql_stmt => sql_stmt, :
|
37
|
+
def send_sql_execute(token, sql_stmt, workspace, opts)
|
38
|
+
send_message('sql_execute', Sql_execute_args, :token => token, :sql_stmt => sql_stmt, :workspace => workspace, :opts => opts)
|
107
39
|
end
|
108
40
|
|
109
41
|
def recv_sql_execute()
|
@@ -115,30 +47,13 @@ module Bosrv
|
|
115
47
|
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'sql_execute failed: unknown result')
|
116
48
|
end
|
117
49
|
|
118
|
-
def
|
119
|
-
|
120
|
-
return recv_aux_execute()
|
121
|
-
end
|
122
|
-
|
123
|
-
def send_aux_execute(token, stmt, autocommit)
|
124
|
-
send_message('aux_execute', Aux_execute_args, :token => token, :stmt => stmt, :autocommit => autocommit)
|
125
|
-
end
|
126
|
-
|
127
|
-
def recv_aux_execute()
|
128
|
-
result = receive_message(Aux_execute_result)
|
129
|
-
return result.success unless result.success.nil?
|
130
|
-
raise result.err unless result.err.nil?
|
131
|
-
raise result.arr unless result.arr.nil?
|
132
|
-
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'aux_execute failed: unknown result')
|
133
|
-
end
|
134
|
-
|
135
|
-
def assoc_execute(token, stmt, autocommit)
|
136
|
-
send_assoc_execute(token, stmt, autocommit)
|
50
|
+
def assoc_execute(token, stmt, workspace, opts)
|
51
|
+
send_assoc_execute(token, stmt, workspace, opts)
|
137
52
|
return recv_assoc_execute()
|
138
53
|
end
|
139
54
|
|
140
|
-
def send_assoc_execute(token, stmt,
|
141
|
-
send_message('assoc_execute', Assoc_execute_args, :token => token, :stmt => stmt, :
|
55
|
+
def send_assoc_execute(token, stmt, workspace, opts)
|
56
|
+
send_message('assoc_execute', Assoc_execute_args, :token => token, :stmt => stmt, :workspace => workspace, :opts => opts)
|
142
57
|
end
|
143
58
|
|
144
59
|
def recv_assoc_execute()
|
@@ -166,23 +81,6 @@ module Bosrv
|
|
166
81
|
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'cursor_fetch failed: unknown result')
|
167
82
|
end
|
168
83
|
|
169
|
-
def cursor_dup(token, resource, count)
|
170
|
-
send_cursor_dup(token, resource, count)
|
171
|
-
return recv_cursor_dup()
|
172
|
-
end
|
173
|
-
|
174
|
-
def send_cursor_dup(token, resource, count)
|
175
|
-
send_message('cursor_dup', Cursor_dup_args, :token => token, :resource => resource, :count => count)
|
176
|
-
end
|
177
|
-
|
178
|
-
def recv_cursor_dup()
|
179
|
-
result = receive_message(Cursor_dup_result)
|
180
|
-
return result.success unless result.success.nil?
|
181
|
-
raise result.err unless result.err.nil?
|
182
|
-
raise result.arr unless result.arr.nil?
|
183
|
-
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'cursor_dup failed: unknown result')
|
184
|
-
end
|
185
|
-
|
186
84
|
def cursor_close(token, resource)
|
187
85
|
send_cursor_close(token, resource)
|
188
86
|
recv_cursor_close()
|
@@ -199,13 +97,13 @@ module Bosrv
|
|
199
97
|
return
|
200
98
|
end
|
201
99
|
|
202
|
-
def get_table_list(token,
|
203
|
-
send_get_table_list(token,
|
100
|
+
def get_table_list(token, workspace)
|
101
|
+
send_get_table_list(token, workspace)
|
204
102
|
return recv_get_table_list()
|
205
103
|
end
|
206
104
|
|
207
|
-
def send_get_table_list(token,
|
208
|
-
send_message('get_table_list', Get_table_list_args, :token => token, :
|
105
|
+
def send_get_table_list(token, workspace)
|
106
|
+
send_message('get_table_list', Get_table_list_args, :token => token, :workspace => workspace)
|
209
107
|
end
|
210
108
|
|
211
109
|
def recv_get_table_list()
|
@@ -216,13 +114,13 @@ module Bosrv
|
|
216
114
|
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_table_list failed: unknown result')
|
217
115
|
end
|
218
116
|
|
219
|
-
def get_table_schema(token, table_name,
|
220
|
-
send_get_table_schema(token, table_name,
|
117
|
+
def get_table_schema(token, table_name, workspace)
|
118
|
+
send_get_table_schema(token, table_name, workspace)
|
221
119
|
return recv_get_table_schema()
|
222
120
|
end
|
223
121
|
|
224
|
-
def send_get_table_schema(token, table_name,
|
225
|
-
send_message('get_table_schema', Get_table_schema_args, :token => token, :table_name => table_name, :
|
122
|
+
def send_get_table_schema(token, table_name, workspace)
|
123
|
+
send_message('get_table_schema', Get_table_schema_args, :token => token, :table_name => table_name, :workspace => workspace)
|
226
124
|
end
|
227
125
|
|
228
126
|
def recv_get_table_schema()
|
@@ -233,13 +131,13 @@ module Bosrv
|
|
233
131
|
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_table_schema failed: unknown result')
|
234
132
|
end
|
235
133
|
|
236
|
-
def get_table_relation(token, table_name,
|
237
|
-
send_get_table_relation(token, table_name,
|
134
|
+
def get_table_relation(token, table_name, workspace)
|
135
|
+
send_get_table_relation(token, table_name, workspace)
|
238
136
|
return recv_get_table_relation()
|
239
137
|
end
|
240
138
|
|
241
|
-
def send_get_table_relation(token, table_name,
|
242
|
-
send_message('get_table_relation', Get_table_relation_args, :token => token, :table_name => table_name, :
|
139
|
+
def send_get_table_relation(token, table_name, workspace)
|
140
|
+
send_message('get_table_relation', Get_table_relation_args, :token => token, :table_name => table_name, :workspace => workspace)
|
243
141
|
end
|
244
142
|
|
245
143
|
def recv_get_table_relation()
|
@@ -267,13 +165,13 @@ module Bosrv
|
|
267
165
|
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_table_create_stmt failed: unknown result')
|
268
166
|
end
|
269
167
|
|
270
|
-
def get_qbo_list(token,
|
271
|
-
send_get_qbo_list(token,
|
168
|
+
def get_qbo_list(token, workspace)
|
169
|
+
send_get_qbo_list(token, workspace)
|
272
170
|
return recv_get_qbo_list()
|
273
171
|
end
|
274
172
|
|
275
|
-
def send_get_qbo_list(token,
|
276
|
-
send_message('get_qbo_list', Get_qbo_list_args, :token => token, :
|
173
|
+
def send_get_qbo_list(token, workspace)
|
174
|
+
send_message('get_qbo_list', Get_qbo_list_args, :token => token, :workspace => workspace)
|
277
175
|
end
|
278
176
|
|
279
177
|
def recv_get_qbo_list()
|
@@ -284,13 +182,13 @@ module Bosrv
|
|
284
182
|
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_qbo_list failed: unknown result')
|
285
183
|
end
|
286
184
|
|
287
|
-
def get_qbo_info(token, table_name,
|
288
|
-
send_get_qbo_info(token, table_name,
|
185
|
+
def get_qbo_info(token, table_name, workspace)
|
186
|
+
send_get_qbo_info(token, table_name, workspace)
|
289
187
|
return recv_get_qbo_info()
|
290
188
|
end
|
291
189
|
|
292
|
-
def send_get_qbo_info(token, table_name,
|
293
|
-
send_message('get_qbo_info', Get_qbo_info_args, :token => token, :table_name => table_name, :
|
190
|
+
def send_get_qbo_info(token, table_name, workspace)
|
191
|
+
send_message('get_qbo_info', Get_qbo_info_args, :token => token, :table_name => table_name, :workspace => workspace)
|
294
192
|
end
|
295
193
|
|
296
194
|
def recv_get_qbo_info()
|
@@ -301,57 +199,16 @@ module Bosrv
|
|
301
199
|
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_qbo_info failed: unknown result')
|
302
200
|
end
|
303
201
|
|
304
|
-
def get_mbt_list(token, path)
|
305
|
-
send_get_mbt_list(token, path)
|
306
|
-
return recv_get_mbt_list()
|
307
|
-
end
|
308
|
-
|
309
|
-
def send_get_mbt_list(token, path)
|
310
|
-
send_message('get_mbt_list', Get_mbt_list_args, :token => token, :path => path)
|
311
|
-
end
|
312
|
-
|
313
|
-
def recv_get_mbt_list()
|
314
|
-
result = receive_message(Get_mbt_list_result)
|
315
|
-
return result.success unless result.success.nil?
|
316
|
-
raise result.err unless result.err.nil?
|
317
|
-
raise result.arr unless result.arr.nil?
|
318
|
-
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_mbt_list failed: unknown result')
|
319
|
-
end
|
320
|
-
|
321
|
-
def get_mbt_info(token, table_name, path)
|
322
|
-
send_get_mbt_info(token, table_name, path)
|
323
|
-
return recv_get_mbt_info()
|
324
|
-
end
|
325
|
-
|
326
|
-
def send_get_mbt_info(token, table_name, path)
|
327
|
-
send_message('get_mbt_info', Get_mbt_info_args, :token => token, :table_name => table_name, :path => path)
|
328
|
-
end
|
329
|
-
|
330
|
-
def recv_get_mbt_info()
|
331
|
-
result = receive_message(Get_mbt_info_result)
|
332
|
-
return result.success unless result.success.nil?
|
333
|
-
raise result.err unless result.err.nil?
|
334
|
-
raise result.arr unless result.arr.nil?
|
335
|
-
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_mbt_info failed: unknown result')
|
336
|
-
end
|
337
|
-
|
338
202
|
end
|
339
203
|
|
340
204
|
class Processor
|
341
205
|
include ::Thrift::Processor
|
342
206
|
|
343
|
-
def process_ping(seqid, iprot, oprot)
|
344
|
-
args = read_args(iprot, Ping_args)
|
345
|
-
result = Ping_result.new()
|
346
|
-
result.success = @handler.ping()
|
347
|
-
write_result(result, oprot, 'ping', seqid)
|
348
|
-
end
|
349
|
-
|
350
207
|
def process_star_apply(seqid, iprot, oprot)
|
351
208
|
args = read_args(iprot, Star_apply_args)
|
352
209
|
result = Star_apply_result.new()
|
353
210
|
begin
|
354
|
-
result.success = @handler.star_apply(args.token, args.srvname, args.cmd_stmt, args.
|
211
|
+
result.success = @handler.star_apply(args.token, args.srvname, args.cmd_stmt, args.workspace, args.opts)
|
355
212
|
rescue ::Exc::ServiceError => err
|
356
213
|
result.err = err
|
357
214
|
rescue ::Exc::AuthError => arr
|
@@ -360,54 +217,11 @@ module Bosrv
|
|
360
217
|
write_result(result, oprot, 'star_apply', seqid)
|
361
218
|
end
|
362
219
|
|
363
|
-
def process_sql_begin(seqid, iprot, oprot)
|
364
|
-
args = read_args(iprot, Sql_begin_args)
|
365
|
-
result = Sql_begin_result.new()
|
366
|
-
begin
|
367
|
-
result.success = @handler.sql_begin(args.token)
|
368
|
-
rescue ::Exc::ServiceError => err
|
369
|
-
result.err = err
|
370
|
-
rescue ::Exc::AuthError => arr
|
371
|
-
result.arr = arr
|
372
|
-
end
|
373
|
-
write_result(result, oprot, 'sql_begin', seqid)
|
374
|
-
end
|
375
|
-
|
376
|
-
def process_sql_commit(seqid, iprot, oprot)
|
377
|
-
args = read_args(iprot, Sql_commit_args)
|
378
|
-
result = Sql_commit_result.new()
|
379
|
-
begin
|
380
|
-
result.success = @handler.sql_commit(args.token, args.resource)
|
381
|
-
rescue ::Exc::ServiceError => err
|
382
|
-
result.err = err
|
383
|
-
rescue ::Exc::SQLError => sqlerr
|
384
|
-
result.sqlerr = sqlerr
|
385
|
-
rescue ::Exc::AuthError => arr
|
386
|
-
result.arr = arr
|
387
|
-
end
|
388
|
-
write_result(result, oprot, 'sql_commit', seqid)
|
389
|
-
end
|
390
|
-
|
391
|
-
def process_sql_execute_many(seqid, iprot, oprot)
|
392
|
-
args = read_args(iprot, Sql_execute_many_args)
|
393
|
-
result = Sql_execute_many_result.new()
|
394
|
-
begin
|
395
|
-
result.success = @handler.sql_execute_many(args.token, args.resource, args.sql_stmt)
|
396
|
-
rescue ::Exc::ServiceError => err
|
397
|
-
result.err = err
|
398
|
-
rescue ::Exc::SQLError => sqlerr
|
399
|
-
result.sqlerr = sqlerr
|
400
|
-
rescue ::Exc::AuthError => arr
|
401
|
-
result.arr = arr
|
402
|
-
end
|
403
|
-
write_result(result, oprot, 'sql_execute_many', seqid)
|
404
|
-
end
|
405
|
-
|
406
220
|
def process_sql_execute(seqid, iprot, oprot)
|
407
221
|
args = read_args(iprot, Sql_execute_args)
|
408
222
|
result = Sql_execute_result.new()
|
409
223
|
begin
|
410
|
-
result.success = @handler.sql_execute(args.token, args.sql_stmt, args.
|
224
|
+
result.success = @handler.sql_execute(args.token, args.sql_stmt, args.workspace, args.opts)
|
411
225
|
rescue ::Exc::ServiceError => err
|
412
226
|
result.err = err
|
413
227
|
rescue ::Exc::SQLError => sqlerr
|
@@ -418,24 +232,11 @@ module Bosrv
|
|
418
232
|
write_result(result, oprot, 'sql_execute', seqid)
|
419
233
|
end
|
420
234
|
|
421
|
-
def process_aux_execute(seqid, iprot, oprot)
|
422
|
-
args = read_args(iprot, Aux_execute_args)
|
423
|
-
result = Aux_execute_result.new()
|
424
|
-
begin
|
425
|
-
result.success = @handler.aux_execute(args.token, args.stmt, args.autocommit)
|
426
|
-
rescue ::Exc::ServiceError => err
|
427
|
-
result.err = err
|
428
|
-
rescue ::Exc::AuthError => arr
|
429
|
-
result.arr = arr
|
430
|
-
end
|
431
|
-
write_result(result, oprot, 'aux_execute', seqid)
|
432
|
-
end
|
433
|
-
|
434
235
|
def process_assoc_execute(seqid, iprot, oprot)
|
435
236
|
args = read_args(iprot, Assoc_execute_args)
|
436
237
|
result = Assoc_execute_result.new()
|
437
238
|
begin
|
438
|
-
result.success = @handler.assoc_execute(args.token, args.stmt, args.
|
239
|
+
result.success = @handler.assoc_execute(args.token, args.stmt, args.workspace, args.opts)
|
439
240
|
rescue ::Exc::ASSOCError => err
|
440
241
|
result.err = err
|
441
242
|
rescue ::Exc::AuthError => arr
|
@@ -457,19 +258,6 @@ module Bosrv
|
|
457
258
|
write_result(result, oprot, 'cursor_fetch', seqid)
|
458
259
|
end
|
459
260
|
|
460
|
-
def process_cursor_dup(seqid, iprot, oprot)
|
461
|
-
args = read_args(iprot, Cursor_dup_args)
|
462
|
-
result = Cursor_dup_result.new()
|
463
|
-
begin
|
464
|
-
result.success = @handler.cursor_dup(args.token, args.resource, args.count)
|
465
|
-
rescue ::Exc::ServiceError => err
|
466
|
-
result.err = err
|
467
|
-
rescue ::Exc::AuthError => arr
|
468
|
-
result.arr = arr
|
469
|
-
end
|
470
|
-
write_result(result, oprot, 'cursor_dup', seqid)
|
471
|
-
end
|
472
|
-
|
473
261
|
def process_cursor_close(seqid, iprot, oprot)
|
474
262
|
args = read_args(iprot, Cursor_close_args)
|
475
263
|
result = Cursor_close_result.new()
|
@@ -487,7 +275,7 @@ module Bosrv
|
|
487
275
|
args = read_args(iprot, Get_table_list_args)
|
488
276
|
result = Get_table_list_result.new()
|
489
277
|
begin
|
490
|
-
result.success = @handler.get_table_list(args.token, args.
|
278
|
+
result.success = @handler.get_table_list(args.token, args.workspace)
|
491
279
|
rescue ::Exc::ServiceError => err
|
492
280
|
result.err = err
|
493
281
|
rescue ::Exc::AuthError => arr
|
@@ -500,7 +288,7 @@ module Bosrv
|
|
500
288
|
args = read_args(iprot, Get_table_schema_args)
|
501
289
|
result = Get_table_schema_result.new()
|
502
290
|
begin
|
503
|
-
result.success = @handler.get_table_schema(args.token, args.table_name, args.
|
291
|
+
result.success = @handler.get_table_schema(args.token, args.table_name, args.workspace)
|
504
292
|
rescue ::Exc::ServiceError => err
|
505
293
|
result.err = err
|
506
294
|
rescue ::Exc::AuthError => arr
|
@@ -513,7 +301,7 @@ module Bosrv
|
|
513
301
|
args = read_args(iprot, Get_table_relation_args)
|
514
302
|
result = Get_table_relation_result.new()
|
515
303
|
begin
|
516
|
-
result.success = @handler.get_table_relation(args.token, args.table_name, args.
|
304
|
+
result.success = @handler.get_table_relation(args.token, args.table_name, args.workspace)
|
517
305
|
rescue ::Exc::ServiceError => err
|
518
306
|
result.err = err
|
519
307
|
rescue ::Exc::AuthError => arr
|
@@ -539,7 +327,7 @@ module Bosrv
|
|
539
327
|
args = read_args(iprot, Get_qbo_list_args)
|
540
328
|
result = Get_qbo_list_result.new()
|
541
329
|
begin
|
542
|
-
result.success = @handler.get_qbo_list(args.token, args.
|
330
|
+
result.success = @handler.get_qbo_list(args.token, args.workspace)
|
543
331
|
rescue ::Exc::ServiceError => err
|
544
332
|
result.err = err
|
545
333
|
rescue ::Exc::AuthError => arr
|
@@ -552,7 +340,7 @@ module Bosrv
|
|
552
340
|
args = read_args(iprot, Get_qbo_info_args)
|
553
341
|
result = Get_qbo_info_result.new()
|
554
342
|
begin
|
555
|
-
result.success = @handler.get_qbo_info(args.token, args.table_name, args.
|
343
|
+
result.success = @handler.get_qbo_info(args.token, args.table_name, args.workspace)
|
556
344
|
rescue ::Exc::ServiceError => err
|
557
345
|
result.err = err
|
558
346
|
rescue ::Exc::AuthError => arr
|
@@ -561,79 +349,24 @@ module Bosrv
|
|
561
349
|
write_result(result, oprot, 'get_qbo_info', seqid)
|
562
350
|
end
|
563
351
|
|
564
|
-
def process_get_mbt_list(seqid, iprot, oprot)
|
565
|
-
args = read_args(iprot, Get_mbt_list_args)
|
566
|
-
result = Get_mbt_list_result.new()
|
567
|
-
begin
|
568
|
-
result.success = @handler.get_mbt_list(args.token, args.path)
|
569
|
-
rescue ::Exc::ServiceError => err
|
570
|
-
result.err = err
|
571
|
-
rescue ::Exc::AuthError => arr
|
572
|
-
result.arr = arr
|
573
|
-
end
|
574
|
-
write_result(result, oprot, 'get_mbt_list', seqid)
|
575
|
-
end
|
576
|
-
|
577
|
-
def process_get_mbt_info(seqid, iprot, oprot)
|
578
|
-
args = read_args(iprot, Get_mbt_info_args)
|
579
|
-
result = Get_mbt_info_result.new()
|
580
|
-
begin
|
581
|
-
result.success = @handler.get_mbt_info(args.token, args.table_name, args.path)
|
582
|
-
rescue ::Exc::ServiceError => err
|
583
|
-
result.err = err
|
584
|
-
rescue ::Exc::AuthError => arr
|
585
|
-
result.arr = arr
|
586
|
-
end
|
587
|
-
write_result(result, oprot, 'get_mbt_info', seqid)
|
588
|
-
end
|
589
|
-
|
590
352
|
end
|
591
353
|
|
592
354
|
# HELPER FUNCTIONS AND STRUCTURES
|
593
355
|
|
594
|
-
class Ping_args
|
595
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
596
|
-
|
597
|
-
FIELDS = {
|
598
|
-
|
599
|
-
}
|
600
|
-
|
601
|
-
def struct_fields; FIELDS; end
|
602
|
-
|
603
|
-
def validate
|
604
|
-
end
|
605
|
-
|
606
|
-
::Thrift::Struct.generate_accessors self
|
607
|
-
end
|
608
|
-
|
609
|
-
class Ping_result
|
610
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
611
|
-
SUCCESS = 0
|
612
|
-
|
613
|
-
FIELDS = {
|
614
|
-
SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success'}
|
615
|
-
}
|
616
|
-
|
617
|
-
def struct_fields; FIELDS; end
|
618
|
-
|
619
|
-
def validate
|
620
|
-
end
|
621
|
-
|
622
|
-
::Thrift::Struct.generate_accessors self
|
623
|
-
end
|
624
|
-
|
625
356
|
class Star_apply_args
|
626
357
|
include ::Thrift::Struct, ::Thrift::Struct_Union
|
627
358
|
TOKEN = 1
|
628
359
|
SRVNAME = 2
|
629
360
|
CMD_STMT = 3
|
630
|
-
|
361
|
+
WORKSPACE = 4
|
362
|
+
OPTS = 5
|
631
363
|
|
632
364
|
FIELDS = {
|
633
365
|
TOKEN => {:type => ::Thrift::Types::STRING, :name => 'token'},
|
634
366
|
SRVNAME => {:type => ::Thrift::Types::STRING, :name => 'srvname'},
|
635
367
|
CMD_STMT => {:type => ::Thrift::Types::STRING, :name => 'cmd_stmt'},
|
636
|
-
|
368
|
+
WORKSPACE => {:type => ::Thrift::Types::STRING, :name => 'workspace'},
|
369
|
+
OPTS => {:type => ::Thrift::Types::STRING, :name => 'opts'}
|
637
370
|
}
|
638
371
|
|
639
372
|
def struct_fields; FIELDS; end
|
@@ -664,134 +397,18 @@ module Bosrv
|
|
664
397
|
::Thrift::Struct.generate_accessors self
|
665
398
|
end
|
666
399
|
|
667
|
-
class Sql_begin_args
|
668
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
669
|
-
TOKEN = 1
|
670
|
-
|
671
|
-
FIELDS = {
|
672
|
-
TOKEN => {:type => ::Thrift::Types::STRING, :name => 'token'}
|
673
|
-
}
|
674
|
-
|
675
|
-
def struct_fields; FIELDS; end
|
676
|
-
|
677
|
-
def validate
|
678
|
-
end
|
679
|
-
|
680
|
-
::Thrift::Struct.generate_accessors self
|
681
|
-
end
|
682
|
-
|
683
|
-
class Sql_begin_result
|
684
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
685
|
-
SUCCESS = 0
|
686
|
-
ERR = 1
|
687
|
-
ARR = 2
|
688
|
-
|
689
|
-
FIELDS = {
|
690
|
-
SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success'},
|
691
|
-
ERR => {:type => ::Thrift::Types::STRUCT, :name => 'err', :class => ::Exc::ServiceError},
|
692
|
-
ARR => {:type => ::Thrift::Types::STRUCT, :name => 'arr', :class => ::Exc::AuthError}
|
693
|
-
}
|
694
|
-
|
695
|
-
def struct_fields; FIELDS; end
|
696
|
-
|
697
|
-
def validate
|
698
|
-
end
|
699
|
-
|
700
|
-
::Thrift::Struct.generate_accessors self
|
701
|
-
end
|
702
|
-
|
703
|
-
class Sql_commit_args
|
704
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
705
|
-
TOKEN = 1
|
706
|
-
RESOURCE = 2
|
707
|
-
|
708
|
-
FIELDS = {
|
709
|
-
TOKEN => {:type => ::Thrift::Types::STRING, :name => 'token'},
|
710
|
-
RESOURCE => {:type => ::Thrift::Types::STRING, :name => 'resource'}
|
711
|
-
}
|
712
|
-
|
713
|
-
def struct_fields; FIELDS; end
|
714
|
-
|
715
|
-
def validate
|
716
|
-
end
|
717
|
-
|
718
|
-
::Thrift::Struct.generate_accessors self
|
719
|
-
end
|
720
|
-
|
721
|
-
class Sql_commit_result
|
722
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
723
|
-
SUCCESS = 0
|
724
|
-
ERR = 1
|
725
|
-
SQLERR = 2
|
726
|
-
ARR = 3
|
727
|
-
|
728
|
-
FIELDS = {
|
729
|
-
SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
|
730
|
-
ERR => {:type => ::Thrift::Types::STRUCT, :name => 'err', :class => ::Exc::ServiceError},
|
731
|
-
SQLERR => {:type => ::Thrift::Types::STRUCT, :name => 'sqlerr', :class => ::Exc::SQLError},
|
732
|
-
ARR => {:type => ::Thrift::Types::STRUCT, :name => 'arr', :class => ::Exc::AuthError}
|
733
|
-
}
|
734
|
-
|
735
|
-
def struct_fields; FIELDS; end
|
736
|
-
|
737
|
-
def validate
|
738
|
-
end
|
739
|
-
|
740
|
-
::Thrift::Struct.generate_accessors self
|
741
|
-
end
|
742
|
-
|
743
|
-
class Sql_execute_many_args
|
744
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
745
|
-
TOKEN = 1
|
746
|
-
RESOURCE = 2
|
747
|
-
SQL_STMT = 3
|
748
|
-
|
749
|
-
FIELDS = {
|
750
|
-
TOKEN => {:type => ::Thrift::Types::STRING, :name => 'token'},
|
751
|
-
RESOURCE => {:type => ::Thrift::Types::STRING, :name => 'resource'},
|
752
|
-
SQL_STMT => {:type => ::Thrift::Types::STRING, :name => 'sql_stmt'}
|
753
|
-
}
|
754
|
-
|
755
|
-
def struct_fields; FIELDS; end
|
756
|
-
|
757
|
-
def validate
|
758
|
-
end
|
759
|
-
|
760
|
-
::Thrift::Struct.generate_accessors self
|
761
|
-
end
|
762
|
-
|
763
|
-
class Sql_execute_many_result
|
764
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
765
|
-
SUCCESS = 0
|
766
|
-
ERR = 1
|
767
|
-
SQLERR = 2
|
768
|
-
ARR = 3
|
769
|
-
|
770
|
-
FIELDS = {
|
771
|
-
SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success'},
|
772
|
-
ERR => {:type => ::Thrift::Types::STRUCT, :name => 'err', :class => ::Exc::ServiceError},
|
773
|
-
SQLERR => {:type => ::Thrift::Types::STRUCT, :name => 'sqlerr', :class => ::Exc::SQLError},
|
774
|
-
ARR => {:type => ::Thrift::Types::STRUCT, :name => 'arr', :class => ::Exc::AuthError}
|
775
|
-
}
|
776
|
-
|
777
|
-
def struct_fields; FIELDS; end
|
778
|
-
|
779
|
-
def validate
|
780
|
-
end
|
781
|
-
|
782
|
-
::Thrift::Struct.generate_accessors self
|
783
|
-
end
|
784
|
-
|
785
400
|
class Sql_execute_args
|
786
401
|
include ::Thrift::Struct, ::Thrift::Struct_Union
|
787
402
|
TOKEN = 1
|
788
403
|
SQL_STMT = 2
|
789
|
-
|
404
|
+
WORKSPACE = 3
|
405
|
+
OPTS = 4
|
790
406
|
|
791
407
|
FIELDS = {
|
792
408
|
TOKEN => {:type => ::Thrift::Types::STRING, :name => 'token'},
|
793
409
|
SQL_STMT => {:type => ::Thrift::Types::STRING, :name => 'sql_stmt'},
|
794
|
-
|
410
|
+
WORKSPACE => {:type => ::Thrift::Types::STRING, :name => 'workspace'},
|
411
|
+
OPTS => {:type => ::Thrift::Types::STRING, :name => 'opts'}
|
795
412
|
}
|
796
413
|
|
797
414
|
def struct_fields; FIELDS; end
|
@@ -824,56 +441,18 @@ module Bosrv
|
|
824
441
|
::Thrift::Struct.generate_accessors self
|
825
442
|
end
|
826
443
|
|
827
|
-
class Aux_execute_args
|
828
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
829
|
-
TOKEN = 1
|
830
|
-
STMT = 2
|
831
|
-
AUTOCOMMIT = 3
|
832
|
-
|
833
|
-
FIELDS = {
|
834
|
-
TOKEN => {:type => ::Thrift::Types::STRING, :name => 'token'},
|
835
|
-
STMT => {:type => ::Thrift::Types::STRING, :name => 'stmt'},
|
836
|
-
AUTOCOMMIT => {:type => ::Thrift::Types::BOOL, :name => 'autocommit'}
|
837
|
-
}
|
838
|
-
|
839
|
-
def struct_fields; FIELDS; end
|
840
|
-
|
841
|
-
def validate
|
842
|
-
end
|
843
|
-
|
844
|
-
::Thrift::Struct.generate_accessors self
|
845
|
-
end
|
846
|
-
|
847
|
-
class Aux_execute_result
|
848
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
849
|
-
SUCCESS = 0
|
850
|
-
ERR = 1
|
851
|
-
ARR = 2
|
852
|
-
|
853
|
-
FIELDS = {
|
854
|
-
SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success'},
|
855
|
-
ERR => {:type => ::Thrift::Types::STRUCT, :name => 'err', :class => ::Exc::ServiceError},
|
856
|
-
ARR => {:type => ::Thrift::Types::STRUCT, :name => 'arr', :class => ::Exc::AuthError}
|
857
|
-
}
|
858
|
-
|
859
|
-
def struct_fields; FIELDS; end
|
860
|
-
|
861
|
-
def validate
|
862
|
-
end
|
863
|
-
|
864
|
-
::Thrift::Struct.generate_accessors self
|
865
|
-
end
|
866
|
-
|
867
444
|
class Assoc_execute_args
|
868
445
|
include ::Thrift::Struct, ::Thrift::Struct_Union
|
869
446
|
TOKEN = 1
|
870
447
|
STMT = 2
|
871
|
-
|
448
|
+
WORKSPACE = 3
|
449
|
+
OPTS = 4
|
872
450
|
|
873
451
|
FIELDS = {
|
874
452
|
TOKEN => {:type => ::Thrift::Types::STRING, :name => 'token'},
|
875
453
|
STMT => {:type => ::Thrift::Types::STRING, :name => 'stmt'},
|
876
|
-
|
454
|
+
WORKSPACE => {:type => ::Thrift::Types::STRING, :name => 'workspace'},
|
455
|
+
OPTS => {:type => ::Thrift::Types::STRING, :name => 'opts'}
|
877
456
|
}
|
878
457
|
|
879
458
|
def struct_fields; FIELDS; end
|
@@ -944,46 +523,6 @@ module Bosrv
|
|
944
523
|
::Thrift::Struct.generate_accessors self
|
945
524
|
end
|
946
525
|
|
947
|
-
class Cursor_dup_args
|
948
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
949
|
-
TOKEN = 1
|
950
|
-
RESOURCE = 2
|
951
|
-
COUNT = 3
|
952
|
-
|
953
|
-
FIELDS = {
|
954
|
-
TOKEN => {:type => ::Thrift::Types::STRING, :name => 'token'},
|
955
|
-
RESOURCE => {:type => ::Thrift::Types::STRING, :name => 'resource'},
|
956
|
-
COUNT => {:type => ::Thrift::Types::I64, :name => 'count'}
|
957
|
-
}
|
958
|
-
|
959
|
-
def struct_fields; FIELDS; end
|
960
|
-
|
961
|
-
def validate
|
962
|
-
end
|
963
|
-
|
964
|
-
::Thrift::Struct.generate_accessors self
|
965
|
-
end
|
966
|
-
|
967
|
-
class Cursor_dup_result
|
968
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
969
|
-
SUCCESS = 0
|
970
|
-
ERR = 1
|
971
|
-
ARR = 2
|
972
|
-
|
973
|
-
FIELDS = {
|
974
|
-
SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success'},
|
975
|
-
ERR => {:type => ::Thrift::Types::STRUCT, :name => 'err', :class => ::Exc::ServiceError},
|
976
|
-
ARR => {:type => ::Thrift::Types::STRUCT, :name => 'arr', :class => ::Exc::AuthError}
|
977
|
-
}
|
978
|
-
|
979
|
-
def struct_fields; FIELDS; end
|
980
|
-
|
981
|
-
def validate
|
982
|
-
end
|
983
|
-
|
984
|
-
::Thrift::Struct.generate_accessors self
|
985
|
-
end
|
986
|
-
|
987
526
|
class Cursor_close_args
|
988
527
|
include ::Thrift::Struct, ::Thrift::Struct_Union
|
989
528
|
TOKEN = 1
|
@@ -1023,11 +562,11 @@ module Bosrv
|
|
1023
562
|
class Get_table_list_args
|
1024
563
|
include ::Thrift::Struct, ::Thrift::Struct_Union
|
1025
564
|
TOKEN = 1
|
1026
|
-
|
565
|
+
WORKSPACE = 2
|
1027
566
|
|
1028
567
|
FIELDS = {
|
1029
568
|
TOKEN => {:type => ::Thrift::Types::STRING, :name => 'token'},
|
1030
|
-
|
569
|
+
WORKSPACE => {:type => ::Thrift::Types::STRING, :name => 'workspace'}
|
1031
570
|
}
|
1032
571
|
|
1033
572
|
def struct_fields; FIELDS; end
|
@@ -1062,12 +601,12 @@ module Bosrv
|
|
1062
601
|
include ::Thrift::Struct, ::Thrift::Struct_Union
|
1063
602
|
TOKEN = 1
|
1064
603
|
TABLE_NAME = 2
|
1065
|
-
|
604
|
+
WORKSPACE = 3
|
1066
605
|
|
1067
606
|
FIELDS = {
|
1068
607
|
TOKEN => {:type => ::Thrift::Types::STRING, :name => 'token'},
|
1069
608
|
TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'},
|
1070
|
-
|
609
|
+
WORKSPACE => {:type => ::Thrift::Types::STRING, :name => 'workspace'}
|
1071
610
|
}
|
1072
611
|
|
1073
612
|
def struct_fields; FIELDS; end
|
@@ -1102,12 +641,12 @@ module Bosrv
|
|
1102
641
|
include ::Thrift::Struct, ::Thrift::Struct_Union
|
1103
642
|
TOKEN = 1
|
1104
643
|
TABLE_NAME = 2
|
1105
|
-
|
644
|
+
WORKSPACE = 3
|
1106
645
|
|
1107
646
|
FIELDS = {
|
1108
647
|
TOKEN => {:type => ::Thrift::Types::STRING, :name => 'token'},
|
1109
648
|
TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'},
|
1110
|
-
|
649
|
+
WORKSPACE => {:type => ::Thrift::Types::STRING, :name => 'workspace'}
|
1111
650
|
}
|
1112
651
|
|
1113
652
|
def struct_fields; FIELDS; end
|
@@ -1181,11 +720,11 @@ module Bosrv
|
|
1181
720
|
class Get_qbo_list_args
|
1182
721
|
include ::Thrift::Struct, ::Thrift::Struct_Union
|
1183
722
|
TOKEN = 1
|
1184
|
-
|
723
|
+
WORKSPACE = 2
|
1185
724
|
|
1186
725
|
FIELDS = {
|
1187
726
|
TOKEN => {:type => ::Thrift::Types::STRING, :name => 'token'},
|
1188
|
-
|
727
|
+
WORKSPACE => {:type => ::Thrift::Types::STRING, :name => 'workspace'}
|
1189
728
|
}
|
1190
729
|
|
1191
730
|
def struct_fields; FIELDS; end
|
@@ -1220,12 +759,12 @@ module Bosrv
|
|
1220
759
|
include ::Thrift::Struct, ::Thrift::Struct_Union
|
1221
760
|
TOKEN = 1
|
1222
761
|
TABLE_NAME = 2
|
1223
|
-
|
762
|
+
WORKSPACE = 3
|
1224
763
|
|
1225
764
|
FIELDS = {
|
1226
765
|
TOKEN => {:type => ::Thrift::Types::STRING, :name => 'token'},
|
1227
766
|
TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'},
|
1228
|
-
|
767
|
+
WORKSPACE => {:type => ::Thrift::Types::STRING, :name => 'workspace'}
|
1229
768
|
}
|
1230
769
|
|
1231
770
|
def struct_fields; FIELDS; end
|
@@ -1256,84 +795,6 @@ module Bosrv
|
|
1256
795
|
::Thrift::Struct.generate_accessors self
|
1257
796
|
end
|
1258
797
|
|
1259
|
-
class Get_mbt_list_args
|
1260
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
1261
|
-
TOKEN = 1
|
1262
|
-
PATH = 2
|
1263
|
-
|
1264
|
-
FIELDS = {
|
1265
|
-
TOKEN => {:type => ::Thrift::Types::STRING, :name => 'token'},
|
1266
|
-
PATH => {:type => ::Thrift::Types::STRING, :name => 'path'}
|
1267
|
-
}
|
1268
|
-
|
1269
|
-
def struct_fields; FIELDS; end
|
1270
|
-
|
1271
|
-
def validate
|
1272
|
-
end
|
1273
|
-
|
1274
|
-
::Thrift::Struct.generate_accessors self
|
1275
|
-
end
|
1276
|
-
|
1277
|
-
class Get_mbt_list_result
|
1278
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
1279
|
-
SUCCESS = 0
|
1280
|
-
ERR = 1
|
1281
|
-
ARR = 2
|
1282
|
-
|
1283
|
-
FIELDS = {
|
1284
|
-
SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success'},
|
1285
|
-
ERR => {:type => ::Thrift::Types::STRUCT, :name => 'err', :class => ::Exc::ServiceError},
|
1286
|
-
ARR => {:type => ::Thrift::Types::STRUCT, :name => 'arr', :class => ::Exc::AuthError}
|
1287
|
-
}
|
1288
|
-
|
1289
|
-
def struct_fields; FIELDS; end
|
1290
|
-
|
1291
|
-
def validate
|
1292
|
-
end
|
1293
|
-
|
1294
|
-
::Thrift::Struct.generate_accessors self
|
1295
|
-
end
|
1296
|
-
|
1297
|
-
class Get_mbt_info_args
|
1298
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
1299
|
-
TOKEN = 1
|
1300
|
-
TABLE_NAME = 2
|
1301
|
-
PATH = 3
|
1302
|
-
|
1303
|
-
FIELDS = {
|
1304
|
-
TOKEN => {:type => ::Thrift::Types::STRING, :name => 'token'},
|
1305
|
-
TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'},
|
1306
|
-
PATH => {:type => ::Thrift::Types::STRING, :name => 'path'}
|
1307
|
-
}
|
1308
|
-
|
1309
|
-
def struct_fields; FIELDS; end
|
1310
|
-
|
1311
|
-
def validate
|
1312
|
-
end
|
1313
|
-
|
1314
|
-
::Thrift::Struct.generate_accessors self
|
1315
|
-
end
|
1316
|
-
|
1317
|
-
class Get_mbt_info_result
|
1318
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
1319
|
-
SUCCESS = 0
|
1320
|
-
ERR = 1
|
1321
|
-
ARR = 2
|
1322
|
-
|
1323
|
-
FIELDS = {
|
1324
|
-
SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success'},
|
1325
|
-
ERR => {:type => ::Thrift::Types::STRUCT, :name => 'err', :class => ::Exc::ServiceError},
|
1326
|
-
ARR => {:type => ::Thrift::Types::STRUCT, :name => 'arr', :class => ::Exc::AuthError}
|
1327
|
-
}
|
1328
|
-
|
1329
|
-
def struct_fields; FIELDS; end
|
1330
|
-
|
1331
|
-
def validate
|
1332
|
-
end
|
1333
|
-
|
1334
|
-
::Thrift::Struct.generate_accessors self
|
1335
|
-
end
|
1336
|
-
|
1337
798
|
end
|
1338
799
|
|
1339
800
|
end
|