activerecord-hive-adapter 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,8 @@
1
+ #
2
+ # Autogenerated by Thrift
3
+ #
4
+ # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
+ #
6
+
7
+ require 'fb303_types'
8
+
@@ -0,0 +1,18 @@
1
+ #
2
+ # Autogenerated by Thrift
3
+ #
4
+ # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
+ #
6
+
7
+
8
+ module Fb_status
9
+ DEAD = 0
10
+ STARTING = 1
11
+ ALIVE = 2
12
+ STOPPING = 3
13
+ STOPPED = 4
14
+ WARNING = 5
15
+ VALUE_MAP = {0 => "DEAD", 1 => "STARTING", 2 => "ALIVE", 3 => "STOPPING", 4 => "STOPPED", 5 => "WARNING"}
16
+ VALID_VALUES = Set.new([DEAD, STARTING, ALIVE, STOPPING, STOPPED, WARNING]).freeze
17
+ end
18
+
@@ -0,0 +1,40 @@
1
+ #
2
+ # Autogenerated by Thrift
3
+ #
4
+ # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
+ #
6
+
7
+ require 'hive_metastore_types'
8
+
9
+ DDL_TIME = %q"transient_lastDdlTime"
10
+
11
+ IS_ARCHIVED = %q"is_archived"
12
+
13
+ ORIGINAL_LOCATION = %q"original_location"
14
+
15
+ META_TABLE_COLUMNS = %q"columns"
16
+
17
+ META_TABLE_COLUMN_TYPES = %q"columns.types"
18
+
19
+ BUCKET_FIELD_NAME = %q"bucket_field_name"
20
+
21
+ BUCKET_COUNT = %q"bucket_count"
22
+
23
+ FIELD_TO_DIMENSION = %q"field_to_dimension"
24
+
25
+ META_TABLE_NAME = %q"name"
26
+
27
+ META_TABLE_DB = %q"db"
28
+
29
+ META_TABLE_LOCATION = %q"location"
30
+
31
+ META_TABLE_SERDE = %q"serde"
32
+
33
+ META_TABLE_PARTITION_COLUMNS = %q"partition_columns"
34
+
35
+ FILE_INPUT_FORMAT = %q"file.inputformat"
36
+
37
+ FILE_OUTPUT_FORMAT = %q"file.outputformat"
38
+
39
+ META_TABLE_STORAGE = %q"storage_handler"
40
+
@@ -0,0 +1,629 @@
1
+ #
2
+ # Autogenerated by Thrift
3
+ #
4
+ # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
+ #
6
+
7
+ require 'fb303_types'
8
+
9
+
10
+ module HiveObjectType
11
+ GLOBAL = 1
12
+ DATABASE = 2
13
+ TABLE = 3
14
+ PARTITION = 4
15
+ COLUMN = 5
16
+ VALUE_MAP = {1 => "GLOBAL", 2 => "DATABASE", 3 => "TABLE", 4 => "PARTITION", 5 => "COLUMN"}
17
+ VALID_VALUES = Set.new([GLOBAL, DATABASE, TABLE, PARTITION, COLUMN]).freeze
18
+ end
19
+
20
+ module PrincipalType
21
+ USER = 1
22
+ ROLE = 2
23
+ GROUP = 3
24
+ VALUE_MAP = {1 => "USER", 2 => "ROLE", 3 => "GROUP"}
25
+ VALID_VALUES = Set.new([USER, ROLE, GROUP]).freeze
26
+ end
27
+
28
+ class Version
29
+ include ::Thrift::Struct, ::Thrift::Struct_Union
30
+ VERSION = 1
31
+ COMMENTS = 2
32
+
33
+ FIELDS = {
34
+ VERSION => {:type => ::Thrift::Types::STRING, :name => 'version'},
35
+ COMMENTS => {:type => ::Thrift::Types::STRING, :name => 'comments'}
36
+ }
37
+
38
+ def struct_fields; FIELDS; end
39
+
40
+ def validate
41
+ end
42
+
43
+ ::Thrift::Struct.generate_accessors self
44
+ end
45
+
46
+ class FieldSchema
47
+ include ::Thrift::Struct, ::Thrift::Struct_Union
48
+ NAME = 1
49
+ TYPE = 2
50
+ COMMENT = 3
51
+
52
+ FIELDS = {
53
+ NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
54
+ TYPE => {:type => ::Thrift::Types::STRING, :name => 'type'},
55
+ COMMENT => {:type => ::Thrift::Types::STRING, :name => 'comment'}
56
+ }
57
+
58
+ def struct_fields; FIELDS; end
59
+
60
+ def validate
61
+ end
62
+
63
+ ::Thrift::Struct.generate_accessors self
64
+ end
65
+
66
+ class Type
67
+ include ::Thrift::Struct, ::Thrift::Struct_Union
68
+ NAME = 1
69
+ TYPE1 = 2
70
+ TYPE2 = 3
71
+ FIELDS = 4
72
+
73
+ FIELDS = {
74
+ NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
75
+ TYPE1 => {:type => ::Thrift::Types::STRING, :name => 'type1', :optional => true},
76
+ TYPE2 => {:type => ::Thrift::Types::STRING, :name => 'type2', :optional => true},
77
+ FIELDS => {:type => ::Thrift::Types::LIST, :name => 'fields', :element => {:type => ::Thrift::Types::STRUCT, :class => FieldSchema}, :optional => true}
78
+ }
79
+
80
+ def struct_fields; FIELDS; end
81
+
82
+ def validate
83
+ end
84
+
85
+ ::Thrift::Struct.generate_accessors self
86
+ end
87
+
88
+ class HiveObjectRef
89
+ include ::Thrift::Struct, ::Thrift::Struct_Union
90
+ OBJECTTYPE = 1
91
+ DBNAME = 2
92
+ OBJECTNAME = 3
93
+ PARTVALUES = 4
94
+ COLUMNNAME = 5
95
+
96
+ FIELDS = {
97
+ OBJECTTYPE => {:type => ::Thrift::Types::I32, :name => 'objectType', :enum_class => HiveObjectType},
98
+ DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'},
99
+ OBJECTNAME => {:type => ::Thrift::Types::STRING, :name => 'objectName'},
100
+ PARTVALUES => {:type => ::Thrift::Types::LIST, :name => 'partValues', :element => {:type => ::Thrift::Types::STRING}},
101
+ COLUMNNAME => {:type => ::Thrift::Types::STRING, :name => 'columnName'}
102
+ }
103
+
104
+ def struct_fields; FIELDS; end
105
+
106
+ def validate
107
+ unless @objectType.nil? || HiveObjectType::VALID_VALUES.include?(@objectType)
108
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field objectType!')
109
+ end
110
+ end
111
+
112
+ ::Thrift::Struct.generate_accessors self
113
+ end
114
+
115
+ class PrivilegeGrantInfo
116
+ include ::Thrift::Struct, ::Thrift::Struct_Union
117
+ PRIVILEGE = 1
118
+ CREATETIME = 2
119
+ GRANTOR = 3
120
+ GRANTORTYPE = 4
121
+ GRANTOPTION = 5
122
+
123
+ FIELDS = {
124
+ PRIVILEGE => {:type => ::Thrift::Types::STRING, :name => 'privilege'},
125
+ CREATETIME => {:type => ::Thrift::Types::I32, :name => 'createTime'},
126
+ GRANTOR => {:type => ::Thrift::Types::STRING, :name => 'grantor'},
127
+ GRANTORTYPE => {:type => ::Thrift::Types::I32, :name => 'grantorType', :enum_class => PrincipalType},
128
+ GRANTOPTION => {:type => ::Thrift::Types::BOOL, :name => 'grantOption'}
129
+ }
130
+
131
+ def struct_fields; FIELDS; end
132
+
133
+ def validate
134
+ unless @grantorType.nil? || PrincipalType::VALID_VALUES.include?(@grantorType)
135
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field grantorType!')
136
+ end
137
+ end
138
+
139
+ ::Thrift::Struct.generate_accessors self
140
+ end
141
+
142
+ class HiveObjectPrivilege
143
+ include ::Thrift::Struct, ::Thrift::Struct_Union
144
+ HIVEOBJECT = 1
145
+ PRINCIPALNAME = 2
146
+ PRINCIPALTYPE = 3
147
+ GRANTINFO = 4
148
+
149
+ FIELDS = {
150
+ HIVEOBJECT => {:type => ::Thrift::Types::STRUCT, :name => 'hiveObject', :class => HiveObjectRef},
151
+ PRINCIPALNAME => {:type => ::Thrift::Types::STRING, :name => 'principalName'},
152
+ PRINCIPALTYPE => {:type => ::Thrift::Types::I32, :name => 'principalType', :enum_class => PrincipalType},
153
+ GRANTINFO => {:type => ::Thrift::Types::STRUCT, :name => 'grantInfo', :class => PrivilegeGrantInfo}
154
+ }
155
+
156
+ def struct_fields; FIELDS; end
157
+
158
+ def validate
159
+ unless @principalType.nil? || PrincipalType::VALID_VALUES.include?(@principalType)
160
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field principalType!')
161
+ end
162
+ end
163
+
164
+ ::Thrift::Struct.generate_accessors self
165
+ end
166
+
167
+ class PrivilegeBag
168
+ include ::Thrift::Struct, ::Thrift::Struct_Union
169
+ PRIVILEGES = 1
170
+
171
+ FIELDS = {
172
+ PRIVILEGES => {:type => ::Thrift::Types::LIST, :name => 'privileges', :element => {:type => ::Thrift::Types::STRUCT, :class => HiveObjectPrivilege}}
173
+ }
174
+
175
+ def struct_fields; FIELDS; end
176
+
177
+ def validate
178
+ end
179
+
180
+ ::Thrift::Struct.generate_accessors self
181
+ end
182
+
183
+ class PrincipalPrivilegeSet
184
+ include ::Thrift::Struct, ::Thrift::Struct_Union
185
+ USERPRIVILEGES = 1
186
+ GROUPPRIVILEGES = 2
187
+ ROLEPRIVILEGES = 3
188
+
189
+ FIELDS = {
190
+ USERPRIVILEGES => {:type => ::Thrift::Types::MAP, :name => 'userPrivileges', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::STRUCT, :class => PrivilegeGrantInfo}}},
191
+ GROUPPRIVILEGES => {:type => ::Thrift::Types::MAP, :name => 'groupPrivileges', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::STRUCT, :class => PrivilegeGrantInfo}}},
192
+ ROLEPRIVILEGES => {:type => ::Thrift::Types::MAP, :name => 'rolePrivileges', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::STRUCT, :class => PrivilegeGrantInfo}}}
193
+ }
194
+
195
+ def struct_fields; FIELDS; end
196
+
197
+ def validate
198
+ end
199
+
200
+ ::Thrift::Struct.generate_accessors self
201
+ end
202
+
203
+ class Role
204
+ include ::Thrift::Struct, ::Thrift::Struct_Union
205
+ ROLENAME = 1
206
+ CREATETIME = 2
207
+ OWNERNAME = 3
208
+
209
+ FIELDS = {
210
+ ROLENAME => {:type => ::Thrift::Types::STRING, :name => 'roleName'},
211
+ CREATETIME => {:type => ::Thrift::Types::I32, :name => 'createTime'},
212
+ OWNERNAME => {:type => ::Thrift::Types::STRING, :name => 'ownerName'}
213
+ }
214
+
215
+ def struct_fields; FIELDS; end
216
+
217
+ def validate
218
+ end
219
+
220
+ ::Thrift::Struct.generate_accessors self
221
+ end
222
+
223
+ class Database
224
+ include ::Thrift::Struct, ::Thrift::Struct_Union
225
+ NAME = 1
226
+ DESCRIPTION = 2
227
+ LOCATIONURI = 3
228
+ PARAMETERS = 4
229
+ PRIVILEGES = 5
230
+
231
+ FIELDS = {
232
+ NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
233
+ DESCRIPTION => {:type => ::Thrift::Types::STRING, :name => 'description'},
234
+ LOCATIONURI => {:type => ::Thrift::Types::STRING, :name => 'locationUri'},
235
+ PARAMETERS => {:type => ::Thrift::Types::MAP, :name => 'parameters', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}},
236
+ PRIVILEGES => {:type => ::Thrift::Types::STRUCT, :name => 'privileges', :class => PrincipalPrivilegeSet, :optional => true}
237
+ }
238
+
239
+ def struct_fields; FIELDS; end
240
+
241
+ def validate
242
+ end
243
+
244
+ ::Thrift::Struct.generate_accessors self
245
+ end
246
+
247
+ class SerDeInfo
248
+ include ::Thrift::Struct, ::Thrift::Struct_Union
249
+ NAME = 1
250
+ SERIALIZATIONLIB = 2
251
+ PARAMETERS = 3
252
+
253
+ FIELDS = {
254
+ NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
255
+ SERIALIZATIONLIB => {:type => ::Thrift::Types::STRING, :name => 'serializationLib'},
256
+ PARAMETERS => {:type => ::Thrift::Types::MAP, :name => 'parameters', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}}
257
+ }
258
+
259
+ def struct_fields; FIELDS; end
260
+
261
+ def validate
262
+ end
263
+
264
+ ::Thrift::Struct.generate_accessors self
265
+ end
266
+
267
+ class Order
268
+ include ::Thrift::Struct, ::Thrift::Struct_Union
269
+ COL = 1
270
+ ORDER = 2
271
+
272
+ FIELDS = {
273
+ COL => {:type => ::Thrift::Types::STRING, :name => 'col'},
274
+ ORDER => {:type => ::Thrift::Types::I32, :name => 'order'}
275
+ }
276
+
277
+ def struct_fields; FIELDS; end
278
+
279
+ def validate
280
+ end
281
+
282
+ ::Thrift::Struct.generate_accessors self
283
+ end
284
+
285
+ class StorageDescriptor
286
+ include ::Thrift::Struct, ::Thrift::Struct_Union
287
+ COLS = 1
288
+ LOCATION = 2
289
+ INPUTFORMAT = 3
290
+ OUTPUTFORMAT = 4
291
+ COMPRESSED = 5
292
+ NUMBUCKETS = 6
293
+ SERDEINFO = 7
294
+ BUCKETCOLS = 8
295
+ SORTCOLS = 9
296
+ PARAMETERS = 10
297
+
298
+ FIELDS = {
299
+ COLS => {:type => ::Thrift::Types::LIST, :name => 'cols', :element => {:type => ::Thrift::Types::STRUCT, :class => FieldSchema}},
300
+ LOCATION => {:type => ::Thrift::Types::STRING, :name => 'location'},
301
+ INPUTFORMAT => {:type => ::Thrift::Types::STRING, :name => 'inputFormat'},
302
+ OUTPUTFORMAT => {:type => ::Thrift::Types::STRING, :name => 'outputFormat'},
303
+ COMPRESSED => {:type => ::Thrift::Types::BOOL, :name => 'compressed'},
304
+ NUMBUCKETS => {:type => ::Thrift::Types::I32, :name => 'numBuckets'},
305
+ SERDEINFO => {:type => ::Thrift::Types::STRUCT, :name => 'serdeInfo', :class => SerDeInfo},
306
+ BUCKETCOLS => {:type => ::Thrift::Types::LIST, :name => 'bucketCols', :element => {:type => ::Thrift::Types::STRING}},
307
+ SORTCOLS => {:type => ::Thrift::Types::LIST, :name => 'sortCols', :element => {:type => ::Thrift::Types::STRUCT, :class => Order}},
308
+ PARAMETERS => {:type => ::Thrift::Types::MAP, :name => 'parameters', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}}
309
+ }
310
+
311
+ def struct_fields; FIELDS; end
312
+
313
+ def validate
314
+ end
315
+
316
+ ::Thrift::Struct.generate_accessors self
317
+ end
318
+
319
+ class Table
320
+ include ::Thrift::Struct, ::Thrift::Struct_Union
321
+ TABLENAME = 1
322
+ DBNAME = 2
323
+ OWNER = 3
324
+ CREATETIME = 4
325
+ LASTACCESSTIME = 5
326
+ RETENTION = 6
327
+ SD = 7
328
+ PARTITIONKEYS = 8
329
+ PARAMETERS = 9
330
+ VIEWORIGINALTEXT = 10
331
+ VIEWEXPANDEDTEXT = 11
332
+ TABLETYPE = 12
333
+ PRIVILEGES = 13
334
+
335
+ FIELDS = {
336
+ TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName'},
337
+ DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'},
338
+ OWNER => {:type => ::Thrift::Types::STRING, :name => 'owner'},
339
+ CREATETIME => {:type => ::Thrift::Types::I32, :name => 'createTime'},
340
+ LASTACCESSTIME => {:type => ::Thrift::Types::I32, :name => 'lastAccessTime'},
341
+ RETENTION => {:type => ::Thrift::Types::I32, :name => 'retention'},
342
+ SD => {:type => ::Thrift::Types::STRUCT, :name => 'sd', :class => StorageDescriptor},
343
+ PARTITIONKEYS => {:type => ::Thrift::Types::LIST, :name => 'partitionKeys', :element => {:type => ::Thrift::Types::STRUCT, :class => FieldSchema}},
344
+ PARAMETERS => {:type => ::Thrift::Types::MAP, :name => 'parameters', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}},
345
+ VIEWORIGINALTEXT => {:type => ::Thrift::Types::STRING, :name => 'viewOriginalText'},
346
+ VIEWEXPANDEDTEXT => {:type => ::Thrift::Types::STRING, :name => 'viewExpandedText'},
347
+ TABLETYPE => {:type => ::Thrift::Types::STRING, :name => 'tableType'},
348
+ PRIVILEGES => {:type => ::Thrift::Types::STRUCT, :name => 'privileges', :class => PrincipalPrivilegeSet, :optional => true}
349
+ }
350
+
351
+ def struct_fields; FIELDS; end
352
+
353
+ def validate
354
+ end
355
+
356
+ ::Thrift::Struct.generate_accessors self
357
+ end
358
+
359
+ class Partition
360
+ include ::Thrift::Struct, ::Thrift::Struct_Union
361
+ VALUES = 1
362
+ DBNAME = 2
363
+ TABLENAME = 3
364
+ CREATETIME = 4
365
+ LASTACCESSTIME = 5
366
+ SD = 6
367
+ PARAMETERS = 7
368
+ PRIVILEGES = 8
369
+
370
+ FIELDS = {
371
+ VALUES => {:type => ::Thrift::Types::LIST, :name => 'values', :element => {:type => ::Thrift::Types::STRING}},
372
+ DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'},
373
+ TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName'},
374
+ CREATETIME => {:type => ::Thrift::Types::I32, :name => 'createTime'},
375
+ LASTACCESSTIME => {:type => ::Thrift::Types::I32, :name => 'lastAccessTime'},
376
+ SD => {:type => ::Thrift::Types::STRUCT, :name => 'sd', :class => StorageDescriptor},
377
+ PARAMETERS => {:type => ::Thrift::Types::MAP, :name => 'parameters', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}},
378
+ PRIVILEGES => {:type => ::Thrift::Types::STRUCT, :name => 'privileges', :class => PrincipalPrivilegeSet, :optional => true}
379
+ }
380
+
381
+ def struct_fields; FIELDS; end
382
+
383
+ def validate
384
+ end
385
+
386
+ ::Thrift::Struct.generate_accessors self
387
+ end
388
+
389
+ class Index
390
+ include ::Thrift::Struct, ::Thrift::Struct_Union
391
+ INDEXNAME = 1
392
+ INDEXHANDLERCLASS = 2
393
+ DBNAME = 3
394
+ ORIGTABLENAME = 4
395
+ CREATETIME = 5
396
+ LASTACCESSTIME = 6
397
+ INDEXTABLENAME = 7
398
+ SD = 8
399
+ PARAMETERS = 9
400
+ DEFERREDREBUILD = 10
401
+
402
+ FIELDS = {
403
+ INDEXNAME => {:type => ::Thrift::Types::STRING, :name => 'indexName'},
404
+ INDEXHANDLERCLASS => {:type => ::Thrift::Types::STRING, :name => 'indexHandlerClass'},
405
+ DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'},
406
+ ORIGTABLENAME => {:type => ::Thrift::Types::STRING, :name => 'origTableName'},
407
+ CREATETIME => {:type => ::Thrift::Types::I32, :name => 'createTime'},
408
+ LASTACCESSTIME => {:type => ::Thrift::Types::I32, :name => 'lastAccessTime'},
409
+ INDEXTABLENAME => {:type => ::Thrift::Types::STRING, :name => 'indexTableName'},
410
+ SD => {:type => ::Thrift::Types::STRUCT, :name => 'sd', :class => StorageDescriptor},
411
+ PARAMETERS => {:type => ::Thrift::Types::MAP, :name => 'parameters', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}},
412
+ DEFERREDREBUILD => {:type => ::Thrift::Types::BOOL, :name => 'deferredRebuild'}
413
+ }
414
+
415
+ def struct_fields; FIELDS; end
416
+
417
+ def validate
418
+ end
419
+
420
+ ::Thrift::Struct.generate_accessors self
421
+ end
422
+
423
+ class Schema
424
+ include ::Thrift::Struct, ::Thrift::Struct_Union
425
+ FIELDSCHEMAS = 1
426
+ PROPERTIES = 2
427
+
428
+ FIELDS = {
429
+ FIELDSCHEMAS => {:type => ::Thrift::Types::LIST, :name => 'fieldSchemas', :element => {:type => ::Thrift::Types::STRUCT, :class => FieldSchema}},
430
+ PROPERTIES => {:type => ::Thrift::Types::MAP, :name => 'properties', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}}
431
+ }
432
+
433
+ def struct_fields; FIELDS; end
434
+
435
+ def validate
436
+ end
437
+
438
+ ::Thrift::Struct.generate_accessors self
439
+ end
440
+
441
+ class MetaException < ::Thrift::Exception
442
+ include ::Thrift::Struct, ::Thrift::Struct_Union
443
+ def initialize(message=nil)
444
+ super()
445
+ self.message = message
446
+ end
447
+
448
+ MESSAGE = 1
449
+
450
+ FIELDS = {
451
+ MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
452
+ }
453
+
454
+ def struct_fields; FIELDS; end
455
+
456
+ def validate
457
+ end
458
+
459
+ ::Thrift::Struct.generate_accessors self
460
+ end
461
+
462
+ class UnknownTableException < ::Thrift::Exception
463
+ include ::Thrift::Struct, ::Thrift::Struct_Union
464
+ def initialize(message=nil)
465
+ super()
466
+ self.message = message
467
+ end
468
+
469
+ MESSAGE = 1
470
+
471
+ FIELDS = {
472
+ MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
473
+ }
474
+
475
+ def struct_fields; FIELDS; end
476
+
477
+ def validate
478
+ end
479
+
480
+ ::Thrift::Struct.generate_accessors self
481
+ end
482
+
483
+ class UnknownDBException < ::Thrift::Exception
484
+ include ::Thrift::Struct, ::Thrift::Struct_Union
485
+ def initialize(message=nil)
486
+ super()
487
+ self.message = message
488
+ end
489
+
490
+ MESSAGE = 1
491
+
492
+ FIELDS = {
493
+ MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
494
+ }
495
+
496
+ def struct_fields; FIELDS; end
497
+
498
+ def validate
499
+ end
500
+
501
+ ::Thrift::Struct.generate_accessors self
502
+ end
503
+
504
+ class AlreadyExistsException < ::Thrift::Exception
505
+ include ::Thrift::Struct, ::Thrift::Struct_Union
506
+ def initialize(message=nil)
507
+ super()
508
+ self.message = message
509
+ end
510
+
511
+ MESSAGE = 1
512
+
513
+ FIELDS = {
514
+ MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
515
+ }
516
+
517
+ def struct_fields; FIELDS; end
518
+
519
+ def validate
520
+ end
521
+
522
+ ::Thrift::Struct.generate_accessors self
523
+ end
524
+
525
+ class InvalidObjectException < ::Thrift::Exception
526
+ include ::Thrift::Struct, ::Thrift::Struct_Union
527
+ def initialize(message=nil)
528
+ super()
529
+ self.message = message
530
+ end
531
+
532
+ MESSAGE = 1
533
+
534
+ FIELDS = {
535
+ MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
536
+ }
537
+
538
+ def struct_fields; FIELDS; end
539
+
540
+ def validate
541
+ end
542
+
543
+ ::Thrift::Struct.generate_accessors self
544
+ end
545
+
546
+ class NoSuchObjectException < ::Thrift::Exception
547
+ include ::Thrift::Struct, ::Thrift::Struct_Union
548
+ def initialize(message=nil)
549
+ super()
550
+ self.message = message
551
+ end
552
+
553
+ MESSAGE = 1
554
+
555
+ FIELDS = {
556
+ MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
557
+ }
558
+
559
+ def struct_fields; FIELDS; end
560
+
561
+ def validate
562
+ end
563
+
564
+ ::Thrift::Struct.generate_accessors self
565
+ end
566
+
567
+ class IndexAlreadyExistsException < ::Thrift::Exception
568
+ include ::Thrift::Struct, ::Thrift::Struct_Union
569
+ def initialize(message=nil)
570
+ super()
571
+ self.message = message
572
+ end
573
+
574
+ MESSAGE = 1
575
+
576
+ FIELDS = {
577
+ MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
578
+ }
579
+
580
+ def struct_fields; FIELDS; end
581
+
582
+ def validate
583
+ end
584
+
585
+ ::Thrift::Struct.generate_accessors self
586
+ end
587
+
588
+ class InvalidOperationException < ::Thrift::Exception
589
+ include ::Thrift::Struct, ::Thrift::Struct_Union
590
+ def initialize(message=nil)
591
+ super()
592
+ self.message = message
593
+ end
594
+
595
+ MESSAGE = 1
596
+
597
+ FIELDS = {
598
+ MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
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 ConfigValSecurityException < ::Thrift::Exception
610
+ include ::Thrift::Struct, ::Thrift::Struct_Union
611
+ def initialize(message=nil)
612
+ super()
613
+ self.message = message
614
+ end
615
+
616
+ MESSAGE = 1
617
+
618
+ FIELDS = {
619
+ MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
620
+ }
621
+
622
+ def struct_fields; FIELDS; end
623
+
624
+ def validate
625
+ end
626
+
627
+ ::Thrift::Struct.generate_accessors self
628
+ end
629
+