Class: ThriftHiveMetastore::Client

Inherits:
FacebookService::Client show all
Includes:
Thrift::Client
Defined in:
lib/thrift/thrift_hive_metastore.rb

Direct Known Subclasses

Hive::Thrift::ThriftHive::Client

Instance Method Summary collapse

Methods inherited from FacebookService::Client

#aliveSince, #getCounter, #getCounters, #getCpuProfile, #getName, #getOption, #getOptions, #getStatus, #getStatusDetails, #getVersion, #recv_aliveSince, #recv_getCounter, #recv_getCounters, #recv_getCpuProfile, #recv_getName, #recv_getOption, #recv_getOptions, #recv_getStatus, #recv_getStatusDetails, #recv_getVersion, #recv_setOption, #reinitialize, #send_aliveSince, #send_getCounter, #send_getCounters, #send_getCpuProfile, #send_getName, #send_getOption, #send_getOptions, #send_getStatus, #send_getStatusDetails, #send_getVersion, #send_reinitialize, #send_setOption, #send_shutdown, #setOption, #shutdown

Instance Method Details

#add_index(new_index, index_table) ⇒ Object


636
637
638
639
# File 'lib/thrift/thrift_hive_metastore.rb', line 636

def add_index(new_index, index_table)
  send_add_index(new_index, index_table)
  return recv_add_index()
end

#add_partition(new_part) ⇒ Object


317
318
319
320
# File 'lib/thrift/thrift_hive_metastore.rb', line 317

def add_partition(new_part)
  send_add_partition(new_part)
  return recv_add_partition()
end

#alter_database(dbname, db) ⇒ Object


98
99
100
101
# File 'lib/thrift/thrift_hive_metastore.rb', line 98

def alter_database(dbname, db)
  send_alter_database(dbname, db)
  recv_alter_database()
end

#alter_index(dbname, base_tbl_name, idx_name, new_idx) ⇒ Object


654
655
656
657
# File 'lib/thrift/thrift_hive_metastore.rb', line 654

def alter_index(dbname, base_tbl_name, idx_name, new_idx)
  send_alter_index(dbname, base_tbl_name, idx_name, new_idx)
  recv_alter_index()
end

#alter_partition(db_name, tbl_name, new_part) ⇒ Object


572
573
574
575
# File 'lib/thrift/thrift_hive_metastore.rb', line 572

def alter_partition(db_name, tbl_name, new_part)
  send_alter_partition(db_name, tbl_name, new_part)
  recv_alter_partition()
end

#alter_table(dbname, tbl_name, new_tbl) ⇒ Object


301
302
303
304
# File 'lib/thrift/thrift_hive_metastore.rb', line 301

def alter_table(dbname, tbl_name, new_tbl)
  send_alter_table(dbname, tbl_name, new_tbl)
  recv_alter_table()
end

#append_partition(db_name, tbl_name, part_vals) ⇒ Object


335
336
337
338
# File 'lib/thrift/thrift_hive_metastore.rb', line 335

def append_partition(db_name, tbl_name, part_vals)
  send_append_partition(db_name, tbl_name, part_vals)
  return recv_append_partition()
end

#append_partition_by_name(db_name, tbl_name, part_name) ⇒ Object


353
354
355
356
# File 'lib/thrift/thrift_hive_metastore.rb', line 353

def append_partition_by_name(db_name, tbl_name, part_name)
  send_append_partition_by_name(db_name, tbl_name, part_name)
  return recv_append_partition_by_name()
end

#cancel_delegation_token(token_str_form) ⇒ Object


945
946
947
948
# File 'lib/thrift/thrift_hive_metastore.rb', line 945

def cancel_delegation_token(token_str_form)
  send_cancel_delegation_token(token_str_form)
  recv_cancel_delegation_token()
end

#create_database(database) ⇒ Object


15
16
17
18
# File 'lib/thrift/thrift_hive_metastore.rb', line 15

def create_database(database)
  send_create_database(database)
  recv_create_database()
end

#create_role(role) ⇒ Object


737
738
739
740
# File 'lib/thrift/thrift_hive_metastore.rb', line 737

def create_role(role)
  send_create_role(role)
  return recv_create_role()
end

#create_table(tbl) ⇒ Object


218
219
220
221
# File 'lib/thrift/thrift_hive_metastore.rb', line 218

def create_table(tbl)
  send_create_table(tbl)
  recv_create_table()
end

#create_type(type) ⇒ Object


131
132
133
134
# File 'lib/thrift/thrift_hive_metastore.rb', line 131

def create_type(type)
  send_create_type(type)
  return recv_create_type()
end

#drop_database(name, deleteData) ⇒ Object


49
50
51
52
# File 'lib/thrift/thrift_hive_metastore.rb', line 49

def drop_database(name, deleteData)
  send_drop_database(name, deleteData)
  recv_drop_database()
end

#drop_index_by_name(db_name, tbl_name, index_name, deleteData) ⇒ Object


670
671
672
673
# File 'lib/thrift/thrift_hive_metastore.rb', line 670

def drop_index_by_name(db_name, tbl_name, index_name, deleteData)
  send_drop_index_by_name(db_name, tbl_name, index_name, deleteData)
  return recv_drop_index_by_name()
end

#drop_partition(db_name, tbl_name, part_vals, deleteData) ⇒ Object


371
372
373
374
# File 'lib/thrift/thrift_hive_metastore.rb', line 371

def drop_partition(db_name, tbl_name, part_vals, deleteData)
  send_drop_partition(db_name, tbl_name, part_vals, deleteData)
  return recv_drop_partition()
end

#drop_partition_by_name(db_name, tbl_name, part_name, deleteData) ⇒ Object


388
389
390
391
# File 'lib/thrift/thrift_hive_metastore.rb', line 388

def drop_partition_by_name(db_name, tbl_name, part_name, deleteData)
  send_drop_partition_by_name(db_name, tbl_name, part_name, deleteData)
  return recv_drop_partition_by_name()
end

#drop_role(role_name) ⇒ Object


753
754
755
756
# File 'lib/thrift/thrift_hive_metastore.rb', line 753

def drop_role(role_name)
  send_drop_role(role_name)
  return recv_drop_role()
end

#drop_table(dbname, name, deleteData) ⇒ Object


236
237
238
239
# File 'lib/thrift/thrift_hive_metastore.rb', line 236

def drop_table(dbname, name, deleteData)
  send_drop_table(dbname, name, deleteData)
  recv_drop_table()
end

#drop_type(type) ⇒ Object


149
150
151
152
# File 'lib/thrift/thrift_hive_metastore.rb', line 149

def drop_type(type)
  send_drop_type(type)
  return recv_drop_type()
end

#get_all_databasesObject


82
83
84
85
# File 'lib/thrift/thrift_hive_metastore.rb', line 82

def get_all_databases()
  send_get_all_databases()
  return recv_get_all_databases()
end

#get_all_tables(db_name) ⇒ Object


268
269
270
271
# File 'lib/thrift/thrift_hive_metastore.rb', line 268

def get_all_tables(db_name)
  send_get_all_tables(db_name)
  return recv_get_all_tables()
end

#get_config_value(name, defaultValue) ⇒ Object


588
589
590
591
# File 'lib/thrift/thrift_hive_metastore.rb', line 588

def get_config_value(name, defaultValue)
  send_get_config_value(name, defaultValue)
  return recv_get_config_value()
end

#get_database(name) ⇒ Object


32
33
34
35
# File 'lib/thrift/thrift_hive_metastore.rb', line 32

def get_database(name)
  send_get_database(name)
  return recv_get_database()
end

#get_databases(pattern) ⇒ Object


66
67
68
69
# File 'lib/thrift/thrift_hive_metastore.rb', line 66

def get_databases(pattern)
  send_get_databases(pattern)
  return recv_get_databases()
end

#get_delegation_token(renewer_kerberos_principal_name) ⇒ Object


897
898
899
900
# File 'lib/thrift/thrift_hive_metastore.rb', line 897

def get_delegation_token(renewer_kerberos_principal_name)
  send_get_delegation_token(renewer_kerberos_principal_name)
  return recv_get_delegation_token()
end

#get_delegation_token_with_signature(renewer_kerberos_principal_name, token_signature) ⇒ Object


913
914
915
916
# File 'lib/thrift/thrift_hive_metastore.rb', line 913

def get_delegation_token_with_signature(renewer_kerberos_principal_name, token_signature)
  send_get_delegation_token_with_signature(renewer_kerberos_principal_name, token_signature)
  return recv_get_delegation_token_with_signature()
end

#get_fields(db_name, table_name) ⇒ Object


182
183
184
185
# File 'lib/thrift/thrift_hive_metastore.rb', line 182

def get_fields(db_name, table_name)
  send_get_fields(db_name, table_name)
  return recv_get_fields()
end

#get_index_by_name(db_name, tbl_name, index_name) ⇒ Object


687
688
689
690
# File 'lib/thrift/thrift_hive_metastore.rb', line 687

def get_index_by_name(db_name, tbl_name, index_name)
  send_get_index_by_name(db_name, tbl_name, index_name)
  return recv_get_index_by_name()
end

#get_index_names(db_name, tbl_name, max_indexes) ⇒ Object


721
722
723
724
# File 'lib/thrift/thrift_hive_metastore.rb', line 721

def get_index_names(db_name, tbl_name, max_indexes)
  send_get_index_names(db_name, tbl_name, max_indexes)
  return recv_get_index_names()
end

#get_indexes(db_name, tbl_name, max_indexes) ⇒ Object


704
705
706
707
# File 'lib/thrift/thrift_hive_metastore.rb', line 704

def get_indexes(db_name, tbl_name, max_indexes)
  send_get_indexes(db_name, tbl_name, max_indexes)
  return recv_get_indexes()
end

#get_partition(db_name, tbl_name, part_vals) ⇒ Object


405
406
407
408
# File 'lib/thrift/thrift_hive_metastore.rb', line 405

def get_partition(db_name, tbl_name, part_vals)
  send_get_partition(db_name, tbl_name, part_vals)
  return recv_get_partition()
end

#get_partition_by_name(db_name, tbl_name, part_name) ⇒ Object


439
440
441
442
# File 'lib/thrift/thrift_hive_metastore.rb', line 439

def get_partition_by_name(db_name, tbl_name, part_name)
  send_get_partition_by_name(db_name, tbl_name, part_name)
  return recv_get_partition_by_name()
end

#get_partition_names(db_name, tbl_name, max_parts) ⇒ Object


490
491
492
493
# File 'lib/thrift/thrift_hive_metastore.rb', line 490

def get_partition_names(db_name, tbl_name, max_parts)
  send_get_partition_names(db_name, tbl_name, max_parts)
  return recv_get_partition_names()
end

#get_partition_names_ps(db_name, tbl_name, part_vals, max_parts) ⇒ Object


539
540
541
542
# File 'lib/thrift/thrift_hive_metastore.rb', line 539

def get_partition_names_ps(db_name, tbl_name, part_vals, max_parts)
  send_get_partition_names_ps(db_name, tbl_name, part_vals, max_parts)
  return recv_get_partition_names_ps()
end

#get_partition_with_auth(db_name, tbl_name, part_vals, user_name, group_names) ⇒ Object


422
423
424
425
# File 'lib/thrift/thrift_hive_metastore.rb', line 422

def get_partition_with_auth(db_name, tbl_name, part_vals, user_name, group_names)
  send_get_partition_with_auth(db_name, tbl_name, part_vals, user_name, group_names)
  return recv_get_partition_with_auth()
end

#get_partitions(db_name, tbl_name, max_parts) ⇒ Object


456
457
458
459
# File 'lib/thrift/thrift_hive_metastore.rb', line 456

def get_partitions(db_name, tbl_name, max_parts)
  send_get_partitions(db_name, tbl_name, max_parts)
  return recv_get_partitions()
end

#get_partitions_by_filter(db_name, tbl_name, filter, max_parts) ⇒ Object


555
556
557
558
# File 'lib/thrift/thrift_hive_metastore.rb', line 555

def get_partitions_by_filter(db_name, tbl_name, filter, max_parts)
  send_get_partitions_by_filter(db_name, tbl_name, filter, max_parts)
  return recv_get_partitions_by_filter()
end

#get_partitions_ps(db_name, tbl_name, part_vals, max_parts) ⇒ Object


506
507
508
509
# File 'lib/thrift/thrift_hive_metastore.rb', line 506

def get_partitions_ps(db_name, tbl_name, part_vals, max_parts)
  send_get_partitions_ps(db_name, tbl_name, part_vals, max_parts)
  return recv_get_partitions_ps()
end

#get_partitions_ps_with_auth(db_name, tbl_name, part_vals, max_parts, user_name, group_names) ⇒ Object


522
523
524
525
# File 'lib/thrift/thrift_hive_metastore.rb', line 522

def get_partitions_ps_with_auth(db_name, tbl_name, part_vals, max_parts, user_name, group_names)
  send_get_partitions_ps_with_auth(db_name, tbl_name, part_vals, max_parts, user_name, group_names)
  return recv_get_partitions_ps_with_auth()
end

#get_partitions_with_auth(db_name, tbl_name, max_parts, user_name, group_names) ⇒ Object


473
474
475
476
# File 'lib/thrift/thrift_hive_metastore.rb', line 473

def get_partitions_with_auth(db_name, tbl_name, max_parts, user_name, group_names)
  send_get_partitions_with_auth(db_name, tbl_name, max_parts, user_name, group_names)
  return recv_get_partitions_with_auth()
end

#get_privilege_set(hiveObject, user_name, group_names) ⇒ Object


833
834
835
836
# File 'lib/thrift/thrift_hive_metastore.rb', line 833

def get_privilege_set(hiveObject, user_name, group_names)
  send_get_privilege_set(hiveObject, user_name, group_names)
  return recv_get_privilege_set()
end

#get_role_namesObject


769
770
771
772
# File 'lib/thrift/thrift_hive_metastore.rb', line 769

def get_role_names()
  send_get_role_names()
  return recv_get_role_names()
end

#get_schema(db_name, table_name) ⇒ Object


200
201
202
203
# File 'lib/thrift/thrift_hive_metastore.rb', line 200

def get_schema(db_name, table_name)
  send_get_schema(db_name, table_name)
  return recv_get_schema()
end

#get_table(dbname, tbl_name) ⇒ Object


284
285
286
287
# File 'lib/thrift/thrift_hive_metastore.rb', line 284

def get_table(dbname, tbl_name)
  send_get_table(dbname, tbl_name)
  return recv_get_table()
end

#get_tables(db_name, pattern) ⇒ Object


252
253
254
255
# File 'lib/thrift/thrift_hive_metastore.rb', line 252

def get_tables(db_name, pattern)
  send_get_tables(db_name, pattern)
  return recv_get_tables()
end

#get_type(name) ⇒ Object


114
115
116
117
# File 'lib/thrift/thrift_hive_metastore.rb', line 114

def get_type(name)
  send_get_type(name)
  return recv_get_type()
end

#get_type_all(name) ⇒ Object


166
167
168
169
# File 'lib/thrift/thrift_hive_metastore.rb', line 166

def get_type_all(name)
  send_get_type_all(name)
  return recv_get_type_all()
end

#grant_privileges(privileges) ⇒ Object


865
866
867
868
# File 'lib/thrift/thrift_hive_metastore.rb', line 865

def grant_privileges(privileges)
  send_grant_privileges(privileges)
  return recv_grant_privileges()
end

#grant_role(role_name, principal_name, principal_type, grantor, grantorType, grant_option) ⇒ Object


785
786
787
788
# File 'lib/thrift/thrift_hive_metastore.rb', line 785

def grant_role(role_name, principal_name, principal_type, grantor, grantorType, grant_option)
  send_grant_role(role_name, principal_name, principal_type, grantor, grantorType, grant_option)
  return recv_grant_role()
end

#list_privileges(principal_name, principal_type, hiveObject) ⇒ Object


849
850
851
852
# File 'lib/thrift/thrift_hive_metastore.rb', line 849

def list_privileges(principal_name, principal_type, hiveObject)
  send_list_privileges(principal_name, principal_type, hiveObject)
  return recv_list_privileges()
end

#list_roles(principal_name, principal_type) ⇒ Object


817
818
819
820
# File 'lib/thrift/thrift_hive_metastore.rb', line 817

def list_roles(principal_name, principal_type)
  send_list_roles(principal_name, principal_type)
  return recv_list_roles()
end

#partition_name_to_spec(part_name) ⇒ Object


620
621
622
623
# File 'lib/thrift/thrift_hive_metastore.rb', line 620

def partition_name_to_spec(part_name)
  send_partition_name_to_spec(part_name)
  return recv_partition_name_to_spec()
end

#partition_name_to_vals(part_name) ⇒ Object


604
605
606
607
# File 'lib/thrift/thrift_hive_metastore.rb', line 604

def partition_name_to_vals(part_name)
  send_partition_name_to_vals(part_name)
  return recv_partition_name_to_vals()
end

#recv_add_indexObject

Raises:

  • (::Thrift::ApplicationException)

645
646
647
648
649
650
651
652
# File 'lib/thrift/thrift_hive_metastore.rb', line 645

def recv_add_index()
  result = receive_message(Add_index_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise result.o3 unless result.o3.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'add_index failed: unknown result')
end

#recv_add_partitionObject

Raises:

  • (::Thrift::ApplicationException)

326
327
328
329
330
331
332
333
# File 'lib/thrift/thrift_hive_metastore.rb', line 326

def recv_add_partition()
  result = receive_message(Add_partition_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise result.o3 unless result.o3.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'add_partition failed: unknown result')
end

#recv_alter_databaseObject


107
108
109
110
111
112
# File 'lib/thrift/thrift_hive_metastore.rb', line 107

def recv_alter_database()
  result = receive_message(Alter_database_result)
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  return
end

#recv_alter_indexObject


663
664
665
666
667
668
# File 'lib/thrift/thrift_hive_metastore.rb', line 663

def recv_alter_index()
  result = receive_message(Alter_index_result)
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  return
end

#recv_alter_partitionObject


581
582
583
584
585
586
# File 'lib/thrift/thrift_hive_metastore.rb', line 581

def recv_alter_partition()
  result = receive_message(Alter_partition_result)
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  return
end

#recv_alter_tableObject


310
311
312
313
314
315
# File 'lib/thrift/thrift_hive_metastore.rb', line 310

def recv_alter_table()
  result = receive_message(Alter_table_result)
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  return
end

#recv_append_partitionObject

Raises:

  • (::Thrift::ApplicationException)

344
345
346
347
348
349
350
351
# File 'lib/thrift/thrift_hive_metastore.rb', line 344

def recv_append_partition()
  result = receive_message(Append_partition_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise result.o3 unless result.o3.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'append_partition failed: unknown result')
end

#recv_append_partition_by_nameObject

Raises:

  • (::Thrift::ApplicationException)

362
363
364
365
366
367
368
369
# File 'lib/thrift/thrift_hive_metastore.rb', line 362

def recv_append_partition_by_name()
  result = receive_message(Append_partition_by_name_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise result.o3 unless result.o3.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'append_partition_by_name failed: unknown result')
end

#recv_cancel_delegation_tokenObject


954
955
956
957
958
# File 'lib/thrift/thrift_hive_metastore.rb', line 954

def recv_cancel_delegation_token()
  result = receive_message(Cancel_delegation_token_result)
  raise result.o1 unless result.o1.nil?
  return
end

#recv_create_databaseObject


24
25
26
27
28
29
30
# File 'lib/thrift/thrift_hive_metastore.rb', line 24

def recv_create_database()
  result = receive_message(Create_database_result)
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise result.o3 unless result.o3.nil?
  return
end

#recv_create_roleObject

Raises:

  • (::Thrift::ApplicationException)

746
747
748
749
750
751
# File 'lib/thrift/thrift_hive_metastore.rb', line 746

def recv_create_role()
  result = receive_message(Create_role_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'create_role failed: unknown result')
end

#recv_create_tableObject


227
228
229
230
231
232
233
234
# File 'lib/thrift/thrift_hive_metastore.rb', line 227

def recv_create_table()
  result = receive_message(Create_table_result)
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise result.o3 unless result.o3.nil?
  raise result.o4 unless result.o4.nil?
  return
end

#recv_create_typeObject

Raises:

  • (::Thrift::ApplicationException)

140
141
142
143
144
145
146
147
# File 'lib/thrift/thrift_hive_metastore.rb', line 140

def recv_create_type()
  result = receive_message(Create_type_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise result.o3 unless result.o3.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'create_type failed: unknown result')
end

#recv_drop_databaseObject


58
59
60
61
62
63
64
# File 'lib/thrift/thrift_hive_metastore.rb', line 58

def recv_drop_database()
  result = receive_message(Drop_database_result)
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise result.o3 unless result.o3.nil?
  return
end

#recv_drop_index_by_nameObject

Raises:

  • (::Thrift::ApplicationException)

679
680
681
682
683
684
685
# File 'lib/thrift/thrift_hive_metastore.rb', line 679

def recv_drop_index_by_name()
  result = receive_message(Drop_index_by_name_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'drop_index_by_name failed: unknown result')
end

#recv_drop_partitionObject

Raises:

  • (::Thrift::ApplicationException)

380
381
382
383
384
385
386
# File 'lib/thrift/thrift_hive_metastore.rb', line 380

def recv_drop_partition()
  result = receive_message(Drop_partition_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'drop_partition failed: unknown result')
end

#recv_drop_partition_by_nameObject

Raises:

  • (::Thrift::ApplicationException)

397
398
399
400
401
402
403
# File 'lib/thrift/thrift_hive_metastore.rb', line 397

def recv_drop_partition_by_name()
  result = receive_message(Drop_partition_by_name_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'drop_partition_by_name failed: unknown result')
end

#recv_drop_roleObject

Raises:

  • (::Thrift::ApplicationException)

762
763
764
765
766
767
# File 'lib/thrift/thrift_hive_metastore.rb', line 762

def recv_drop_role()
  result = receive_message(Drop_role_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'drop_role failed: unknown result')
end

#recv_drop_tableObject


245
246
247
248
249
250
# File 'lib/thrift/thrift_hive_metastore.rb', line 245

def recv_drop_table()
  result = receive_message(Drop_table_result)
  raise result.o1 unless result.o1.nil?
  raise result.o3 unless result.o3.nil?
  return
end

#recv_drop_typeObject

Raises:

  • (::Thrift::ApplicationException)

158
159
160
161
162
163
164
# File 'lib/thrift/thrift_hive_metastore.rb', line 158

def recv_drop_type()
  result = receive_message(Drop_type_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'drop_type failed: unknown result')
end

#recv_get_all_databasesObject

Raises:

  • (::Thrift::ApplicationException)

91
92
93
94
95
96
# File 'lib/thrift/thrift_hive_metastore.rb', line 91

def recv_get_all_databases()
  result = receive_message(Get_all_databases_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_all_databases failed: unknown result')
end

#recv_get_all_tablesObject

Raises:

  • (::Thrift::ApplicationException)

277
278
279
280
281
282
# File 'lib/thrift/thrift_hive_metastore.rb', line 277

def recv_get_all_tables()
  result = receive_message(Get_all_tables_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_all_tables failed: unknown result')
end

#recv_get_config_valueObject

Raises:

  • (::Thrift::ApplicationException)

597
598
599
600
601
602
# File 'lib/thrift/thrift_hive_metastore.rb', line 597

def recv_get_config_value()
  result = receive_message(Get_config_value_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_config_value failed: unknown result')
end

#recv_get_databaseObject

Raises:

  • (::Thrift::ApplicationException)

41
42
43
44
45
46
47
# File 'lib/thrift/thrift_hive_metastore.rb', line 41

def recv_get_database()
  result = receive_message(Get_database_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_database failed: unknown result')
end

#recv_get_databasesObject

Raises:

  • (::Thrift::ApplicationException)

75
76
77
78
79
80
# File 'lib/thrift/thrift_hive_metastore.rb', line 75

def recv_get_databases()
  result = receive_message(Get_databases_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_databases failed: unknown result')
end

#recv_get_delegation_tokenObject

Raises:

  • (::Thrift::ApplicationException)

906
907
908
909
910
911
# File 'lib/thrift/thrift_hive_metastore.rb', line 906

def recv_get_delegation_token()
  result = receive_message(Get_delegation_token_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_delegation_token failed: unknown result')
end

#recv_get_delegation_token_with_signatureObject

Raises:

  • (::Thrift::ApplicationException)

922
923
924
925
926
927
# File 'lib/thrift/thrift_hive_metastore.rb', line 922

def recv_get_delegation_token_with_signature()
  result = receive_message(Get_delegation_token_with_signature_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_delegation_token_with_signature failed: unknown result')
end

#recv_get_fieldsObject

Raises:

  • (::Thrift::ApplicationException)

191
192
193
194
195
196
197
198
# File 'lib/thrift/thrift_hive_metastore.rb', line 191

def recv_get_fields()
  result = receive_message(Get_fields_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise result.o3 unless result.o3.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_fields failed: unknown result')
end

#recv_get_index_by_nameObject

Raises:

  • (::Thrift::ApplicationException)

696
697
698
699
700
701
702
# File 'lib/thrift/thrift_hive_metastore.rb', line 696

def recv_get_index_by_name()
  result = receive_message(Get_index_by_name_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_index_by_name failed: unknown result')
end

#recv_get_index_namesObject

Raises:

  • (::Thrift::ApplicationException)

730
731
732
733
734
735
# File 'lib/thrift/thrift_hive_metastore.rb', line 730

def recv_get_index_names()
  result = receive_message(Get_index_names_result)
  return result.success unless result.success.nil?
  raise result.o2 unless result.o2.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_index_names failed: unknown result')
end

#recv_get_indexesObject

Raises:

  • (::Thrift::ApplicationException)

713
714
715
716
717
718
719
# File 'lib/thrift/thrift_hive_metastore.rb', line 713

def recv_get_indexes()
  result = receive_message(Get_indexes_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_indexes failed: unknown result')
end

#recv_get_partitionObject

Raises:

  • (::Thrift::ApplicationException)

414
415
416
417
418
419
420
# File 'lib/thrift/thrift_hive_metastore.rb', line 414

def recv_get_partition()
  result = receive_message(Get_partition_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_partition failed: unknown result')
end

#recv_get_partition_by_nameObject

Raises:

  • (::Thrift::ApplicationException)

448
449
450
451
452
453
454
# File 'lib/thrift/thrift_hive_metastore.rb', line 448

def recv_get_partition_by_name()
  result = receive_message(Get_partition_by_name_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_partition_by_name failed: unknown result')
end

#recv_get_partition_namesObject

Raises:

  • (::Thrift::ApplicationException)

499
500
501
502
503
504
# File 'lib/thrift/thrift_hive_metastore.rb', line 499

def recv_get_partition_names()
  result = receive_message(Get_partition_names_result)
  return result.success unless result.success.nil?
  raise result.o2 unless result.o2.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_partition_names failed: unknown result')
end

#recv_get_partition_names_psObject

Raises:

  • (::Thrift::ApplicationException)

548
549
550
551
552
553
# File 'lib/thrift/thrift_hive_metastore.rb', line 548

def recv_get_partition_names_ps()
  result = receive_message(Get_partition_names_ps_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_partition_names_ps failed: unknown result')
end

#recv_get_partition_with_authObject

Raises:

  • (::Thrift::ApplicationException)

431
432
433
434
435
436
437
# File 'lib/thrift/thrift_hive_metastore.rb', line 431

def recv_get_partition_with_auth()
  result = receive_message(Get_partition_with_auth_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_partition_with_auth failed: unknown result')
end

#recv_get_partitionsObject

Raises:

  • (::Thrift::ApplicationException)

465
466
467
468
469
470
471
# File 'lib/thrift/thrift_hive_metastore.rb', line 465

def recv_get_partitions()
  result = receive_message(Get_partitions_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_partitions failed: unknown result')
end

#recv_get_partitions_by_filterObject

Raises:

  • (::Thrift::ApplicationException)

564
565
566
567
568
569
570
# File 'lib/thrift/thrift_hive_metastore.rb', line 564

def recv_get_partitions_by_filter()
  result = receive_message(Get_partitions_by_filter_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_partitions_by_filter failed: unknown result')
end

#recv_get_partitions_psObject

Raises:

  • (::Thrift::ApplicationException)

515
516
517
518
519
520
# File 'lib/thrift/thrift_hive_metastore.rb', line 515

def recv_get_partitions_ps()
  result = receive_message(Get_partitions_ps_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_partitions_ps failed: unknown result')
end

#recv_get_partitions_ps_with_authObject

Raises:

  • (::Thrift::ApplicationException)

531
532
533
534
535
536
537
# File 'lib/thrift/thrift_hive_metastore.rb', line 531

def recv_get_partitions_ps_with_auth()
  result = receive_message(Get_partitions_ps_with_auth_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_partitions_ps_with_auth failed: unknown result')
end

#recv_get_partitions_with_authObject

Raises:

  • (::Thrift::ApplicationException)

482
483
484
485
486
487
488
# File 'lib/thrift/thrift_hive_metastore.rb', line 482

def recv_get_partitions_with_auth()
  result = receive_message(Get_partitions_with_auth_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_partitions_with_auth failed: unknown result')
end

#recv_get_privilege_setObject

Raises:

  • (::Thrift::ApplicationException)

842
843
844
845
846
847
# File 'lib/thrift/thrift_hive_metastore.rb', line 842

def recv_get_privilege_set()
  result = receive_message(Get_privilege_set_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_privilege_set failed: unknown result')
end

#recv_get_role_namesObject

Raises:

  • (::Thrift::ApplicationException)

778
779
780
781
782
783
# File 'lib/thrift/thrift_hive_metastore.rb', line 778

def recv_get_role_names()
  result = receive_message(Get_role_names_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_role_names failed: unknown result')
end

#recv_get_schemaObject

Raises:

  • (::Thrift::ApplicationException)

209
210
211
212
213
214
215
216
# File 'lib/thrift/thrift_hive_metastore.rb', line 209

def recv_get_schema()
  result = receive_message(Get_schema_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise result.o3 unless result.o3.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_schema failed: unknown result')
end

#recv_get_tableObject

Raises:

  • (::Thrift::ApplicationException)

293
294
295
296
297
298
299
# File 'lib/thrift/thrift_hive_metastore.rb', line 293

def recv_get_table()
  result = receive_message(Get_table_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_table failed: unknown result')
end

#recv_get_tablesObject

Raises:

  • (::Thrift::ApplicationException)

261
262
263
264
265
266
# File 'lib/thrift/thrift_hive_metastore.rb', line 261

def recv_get_tables()
  result = receive_message(Get_tables_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_tables failed: unknown result')
end

#recv_get_typeObject

Raises:

  • (::Thrift::ApplicationException)

123
124
125
126
127
128
129
# File 'lib/thrift/thrift_hive_metastore.rb', line 123

def recv_get_type()
  result = receive_message(Get_type_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise result.o2 unless result.o2.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_type failed: unknown result')
end

#recv_get_type_allObject

Raises:

  • (::Thrift::ApplicationException)

175
176
177
178
179
180
# File 'lib/thrift/thrift_hive_metastore.rb', line 175

def recv_get_type_all()
  result = receive_message(Get_type_all_result)
  return result.success unless result.success.nil?
  raise result.o2 unless result.o2.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_type_all failed: unknown result')
end

#recv_grant_privilegesObject

Raises:

  • (::Thrift::ApplicationException)

874
875
876
877
878
879
# File 'lib/thrift/thrift_hive_metastore.rb', line 874

def recv_grant_privileges()
  result = receive_message(Grant_privileges_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'grant_privileges failed: unknown result')
end

#recv_grant_roleObject

Raises:

  • (::Thrift::ApplicationException)

794
795
796
797
798
799
# File 'lib/thrift/thrift_hive_metastore.rb', line 794

def recv_grant_role()
  result = receive_message(Grant_role_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'grant_role failed: unknown result')
end

#recv_list_privilegesObject

Raises:

  • (::Thrift::ApplicationException)

858
859
860
861
862
863
# File 'lib/thrift/thrift_hive_metastore.rb', line 858

def recv_list_privileges()
  result = receive_message(List_privileges_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'list_privileges failed: unknown result')
end

#recv_list_rolesObject

Raises:

  • (::Thrift::ApplicationException)

826
827
828
829
830
831
# File 'lib/thrift/thrift_hive_metastore.rb', line 826

def recv_list_roles()
  result = receive_message(List_roles_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'list_roles failed: unknown result')
end

#recv_partition_name_to_specObject

Raises:

  • (::Thrift::ApplicationException)

629
630
631
632
633
634
# File 'lib/thrift/thrift_hive_metastore.rb', line 629

def recv_partition_name_to_spec()
  result = receive_message(Partition_name_to_spec_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'partition_name_to_spec failed: unknown result')
end

#recv_partition_name_to_valsObject

Raises:

  • (::Thrift::ApplicationException)

613
614
615
616
617
618
# File 'lib/thrift/thrift_hive_metastore.rb', line 613

def recv_partition_name_to_vals()
  result = receive_message(Partition_name_to_vals_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'partition_name_to_vals failed: unknown result')
end

#recv_renew_delegation_tokenObject

Raises:

  • (::Thrift::ApplicationException)

938
939
940
941
942
943
# File 'lib/thrift/thrift_hive_metastore.rb', line 938

def recv_renew_delegation_token()
  result = receive_message(Renew_delegation_token_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'renew_delegation_token failed: unknown result')
end

#recv_revoke_privilegesObject

Raises:

  • (::Thrift::ApplicationException)

890
891
892
893
894
895
# File 'lib/thrift/thrift_hive_metastore.rb', line 890

def recv_revoke_privileges()
  result = receive_message(Revoke_privileges_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'revoke_privileges failed: unknown result')
end

#recv_revoke_roleObject

Raises:

  • (::Thrift::ApplicationException)

810
811
812
813
814
815
# File 'lib/thrift/thrift_hive_metastore.rb', line 810

def recv_revoke_role()
  result = receive_message(Revoke_role_result)
  return result.success unless result.success.nil?
  raise result.o1 unless result.o1.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'revoke_role failed: unknown result')
end

#renew_delegation_token(token_str_form) ⇒ Object


929
930
931
932
# File 'lib/thrift/thrift_hive_metastore.rb', line 929

def renew_delegation_token(token_str_form)
  send_renew_delegation_token(token_str_form)
  return recv_renew_delegation_token()
end

#revoke_privileges(privileges) ⇒ Object


881
882
883
884
# File 'lib/thrift/thrift_hive_metastore.rb', line 881

def revoke_privileges(privileges)
  send_revoke_privileges(privileges)
  return recv_revoke_privileges()
end

#revoke_role(role_name, principal_name, principal_type) ⇒ Object


801
802
803
804
# File 'lib/thrift/thrift_hive_metastore.rb', line 801

def revoke_role(role_name, principal_name, principal_type)
  send_revoke_role(role_name, principal_name, principal_type)
  return recv_revoke_role()
end

#send_add_index(new_index, index_table) ⇒ Object


641
642
643
# File 'lib/thrift/thrift_hive_metastore.rb', line 641

def send_add_index(new_index, index_table)
  send_message('add_index', Add_index_args, :new_index => new_index, :index_table => index_table)
end

#send_add_partition(new_part) ⇒ Object


322
323
324
# File 'lib/thrift/thrift_hive_metastore.rb', line 322

def send_add_partition(new_part)
  send_message('add_partition', Add_partition_args, :new_part => new_part)
end

#send_alter_database(dbname, db) ⇒ Object


103
104
105
# File 'lib/thrift/thrift_hive_metastore.rb', line 103

def send_alter_database(dbname, db)
  send_message('alter_database', Alter_database_args, :dbname => dbname, :db => db)
end

#send_alter_index(dbname, base_tbl_name, idx_name, new_idx) ⇒ Object


659
660
661
# File 'lib/thrift/thrift_hive_metastore.rb', line 659

def send_alter_index(dbname, base_tbl_name, idx_name, new_idx)
  send_message('alter_index', Alter_index_args, :dbname => dbname, :base_tbl_name => base_tbl_name, :idx_name => idx_name, :new_idx => new_idx)
end

#send_alter_partition(db_name, tbl_name, new_part) ⇒ Object


577
578
579
# File 'lib/thrift/thrift_hive_metastore.rb', line 577

def send_alter_partition(db_name, tbl_name, new_part)
  send_message('alter_partition', Alter_partition_args, :db_name => db_name, :tbl_name => tbl_name, :new_part => new_part)
end

#send_alter_table(dbname, tbl_name, new_tbl) ⇒ Object


306
307
308
# File 'lib/thrift/thrift_hive_metastore.rb', line 306

def send_alter_table(dbname, tbl_name, new_tbl)
  send_message('alter_table', Alter_table_args, :dbname => dbname, :tbl_name => tbl_name, :new_tbl => new_tbl)
end

#send_append_partition(db_name, tbl_name, part_vals) ⇒ Object


340
341
342
# File 'lib/thrift/thrift_hive_metastore.rb', line 340

def send_append_partition(db_name, tbl_name, part_vals)
  send_message('append_partition', Append_partition_args, :db_name => db_name, :tbl_name => tbl_name, :part_vals => part_vals)
end

#send_append_partition_by_name(db_name, tbl_name, part_name) ⇒ Object


358
359
360
# File 'lib/thrift/thrift_hive_metastore.rb', line 358

def send_append_partition_by_name(db_name, tbl_name, part_name)
  send_message('append_partition_by_name', Append_partition_by_name_args, :db_name => db_name, :tbl_name => tbl_name, :part_name => part_name)
end

#send_cancel_delegation_token(token_str_form) ⇒ Object


950
951
952
# File 'lib/thrift/thrift_hive_metastore.rb', line 950

def send_cancel_delegation_token(token_str_form)
  send_message('cancel_delegation_token', Cancel_delegation_token_args, :token_str_form => token_str_form)
end

#send_create_database(database) ⇒ Object


20
21
22
# File 'lib/thrift/thrift_hive_metastore.rb', line 20

def send_create_database(database)
  send_message('create_database', Create_database_args, :database => database)
end

#send_create_role(role) ⇒ Object


742
743
744
# File 'lib/thrift/thrift_hive_metastore.rb', line 742

def send_create_role(role)
  send_message('create_role', Create_role_args, :role => role)
end

#send_create_table(tbl) ⇒ Object


223
224
225
# File 'lib/thrift/thrift_hive_metastore.rb', line 223

def send_create_table(tbl)
  send_message('create_table', Create_table_args, :tbl => tbl)
end

#send_create_type(type) ⇒ Object


136
137
138
# File 'lib/thrift/thrift_hive_metastore.rb', line 136

def send_create_type(type)
  send_message('create_type', Create_type_args, :type => type)
end

#send_drop_database(name, deleteData) ⇒ Object


54
55
56
# File 'lib/thrift/thrift_hive_metastore.rb', line 54

def send_drop_database(name, deleteData)
  send_message('drop_database', Drop_database_args, :name => name, :deleteData => deleteData)
end

#send_drop_index_by_name(db_name, tbl_name, index_name, deleteData) ⇒ Object


675
676
677
# File 'lib/thrift/thrift_hive_metastore.rb', line 675

def send_drop_index_by_name(db_name, tbl_name, index_name, deleteData)
  send_message('drop_index_by_name', Drop_index_by_name_args, :db_name => db_name, :tbl_name => tbl_name, :index_name => index_name, :deleteData => deleteData)
end

#send_drop_partition(db_name, tbl_name, part_vals, deleteData) ⇒ Object


376
377
378
# File 'lib/thrift/thrift_hive_metastore.rb', line 376

def send_drop_partition(db_name, tbl_name, part_vals, deleteData)
  send_message('drop_partition', Drop_partition_args, :db_name => db_name, :tbl_name => tbl_name, :part_vals => part_vals, :deleteData => deleteData)
end

#send_drop_partition_by_name(db_name, tbl_name, part_name, deleteData) ⇒ Object


393
394
395
# File 'lib/thrift/thrift_hive_metastore.rb', line 393

def send_drop_partition_by_name(db_name, tbl_name, part_name, deleteData)
  send_message('drop_partition_by_name', Drop_partition_by_name_args, :db_name => db_name, :tbl_name => tbl_name, :part_name => part_name, :deleteData => deleteData)
end

#send_drop_role(role_name) ⇒ Object


758
759
760
# File 'lib/thrift/thrift_hive_metastore.rb', line 758

def send_drop_role(role_name)
  send_message('drop_role', Drop_role_args, :role_name => role_name)
end

#send_drop_table(dbname, name, deleteData) ⇒ Object


241
242
243
# File 'lib/thrift/thrift_hive_metastore.rb', line 241

def send_drop_table(dbname, name, deleteData)
  send_message('drop_table', Drop_table_args, :dbname => dbname, :name => name, :deleteData => deleteData)
end

#send_drop_type(type) ⇒ Object


154
155
156
# File 'lib/thrift/thrift_hive_metastore.rb', line 154

def send_drop_type(type)
  send_message('drop_type', Drop_type_args, :type => type)
end

#send_get_all_databasesObject


87
88
89
# File 'lib/thrift/thrift_hive_metastore.rb', line 87

def send_get_all_databases()
  send_message('get_all_databases', Get_all_databases_args)
end

#send_get_all_tables(db_name) ⇒ Object


273
274
275
# File 'lib/thrift/thrift_hive_metastore.rb', line 273

def send_get_all_tables(db_name)
  send_message('get_all_tables', Get_all_tables_args, :db_name => db_name)
end

#send_get_config_value(name, defaultValue) ⇒ Object


593
594
595
# File 'lib/thrift/thrift_hive_metastore.rb', line 593

def send_get_config_value(name, defaultValue)
  send_message('get_config_value', Get_config_value_args, :name => name, :defaultValue => defaultValue)
end

#send_get_database(name) ⇒ Object


37
38
39
# File 'lib/thrift/thrift_hive_metastore.rb', line 37

def send_get_database(name)
  send_message('get_database', Get_database_args, :name => name)
end

#send_get_databases(pattern) ⇒ Object


71
72
73
# File 'lib/thrift/thrift_hive_metastore.rb', line 71

def send_get_databases(pattern)
  send_message('get_databases', Get_databases_args, :pattern => pattern)
end

#send_get_delegation_token(renewer_kerberos_principal_name) ⇒ Object


902
903
904
# File 'lib/thrift/thrift_hive_metastore.rb', line 902

def send_get_delegation_token(renewer_kerberos_principal_name)
  send_message('get_delegation_token', Get_delegation_token_args, :renewer_kerberos_principal_name => renewer_kerberos_principal_name)
end

#send_get_delegation_token_with_signature(renewer_kerberos_principal_name, token_signature) ⇒ Object


918
919
920
# File 'lib/thrift/thrift_hive_metastore.rb', line 918

def send_get_delegation_token_with_signature(renewer_kerberos_principal_name, token_signature)
  send_message('get_delegation_token_with_signature', Get_delegation_token_with_signature_args, :renewer_kerberos_principal_name => renewer_kerberos_principal_name, :token_signature => token_signature)
end

#send_get_fields(db_name, table_name) ⇒ Object


187
188
189
# File 'lib/thrift/thrift_hive_metastore.rb', line 187

def send_get_fields(db_name, table_name)
  send_message('get_fields', Get_fields_args, :db_name => db_name, :table_name => table_name)
end

#send_get_index_by_name(db_name, tbl_name, index_name) ⇒ Object


692
693
694
# File 'lib/thrift/thrift_hive_metastore.rb', line 692

def send_get_index_by_name(db_name, tbl_name, index_name)
  send_message('get_index_by_name', Get_index_by_name_args, :db_name => db_name, :tbl_name => tbl_name, :index_name => index_name)
end

#send_get_index_names(db_name, tbl_name, max_indexes) ⇒ Object


726
727
728
# File 'lib/thrift/thrift_hive_metastore.rb', line 726

def send_get_index_names(db_name, tbl_name, max_indexes)
  send_message('get_index_names', Get_index_names_args, :db_name => db_name, :tbl_name => tbl_name, :max_indexes => max_indexes)
end

#send_get_indexes(db_name, tbl_name, max_indexes) ⇒ Object


709
710
711
# File 'lib/thrift/thrift_hive_metastore.rb', line 709

def send_get_indexes(db_name, tbl_name, max_indexes)
  send_message('get_indexes', Get_indexes_args, :db_name => db_name, :tbl_name => tbl_name, :max_indexes => max_indexes)
end

#send_get_partition(db_name, tbl_name, part_vals) ⇒ Object


410
411
412
# File 'lib/thrift/thrift_hive_metastore.rb', line 410

def send_get_partition(db_name, tbl_name, part_vals)
  send_message('get_partition', Get_partition_args, :db_name => db_name, :tbl_name => tbl_name, :part_vals => part_vals)
end

#send_get_partition_by_name(db_name, tbl_name, part_name) ⇒ Object


444
445
446
# File 'lib/thrift/thrift_hive_metastore.rb', line 444

def send_get_partition_by_name(db_name, tbl_name, part_name)
  send_message('get_partition_by_name', Get_partition_by_name_args, :db_name => db_name, :tbl_name => tbl_name, :part_name => part_name)
end

#send_get_partition_names(db_name, tbl_name, max_parts) ⇒ Object


495
496
497
# File 'lib/thrift/thrift_hive_metastore.rb', line 495

def send_get_partition_names(db_name, tbl_name, max_parts)
  send_message('get_partition_names', Get_partition_names_args, :db_name => db_name, :tbl_name => tbl_name, :max_parts => max_parts)
end

#send_get_partition_names_ps(db_name, tbl_name, part_vals, max_parts) ⇒ Object


544
545
546
# File 'lib/thrift/thrift_hive_metastore.rb', line 544

def send_get_partition_names_ps(db_name, tbl_name, part_vals, max_parts)
  send_message('get_partition_names_ps', Get_partition_names_ps_args, :db_name => db_name, :tbl_name => tbl_name, :part_vals => part_vals, :max_parts => max_parts)
end

#send_get_partition_with_auth(db_name, tbl_name, part_vals, user_name, group_names) ⇒ Object


427
428
429
# File 'lib/thrift/thrift_hive_metastore.rb', line 427

def send_get_partition_with_auth(db_name, tbl_name, part_vals, user_name, group_names)
  send_message('get_partition_with_auth', Get_partition_with_auth_args, :db_name => db_name, :tbl_name => tbl_name, :part_vals => part_vals, :user_name => user_name, :group_names => group_names)
end

#send_get_partitions(db_name, tbl_name, max_parts) ⇒ Object


461
462
463
# File 'lib/thrift/thrift_hive_metastore.rb', line 461

def send_get_partitions(db_name, tbl_name, max_parts)
  send_message('get_partitions', Get_partitions_args, :db_name => db_name, :tbl_name => tbl_name, :max_parts => max_parts)
end

#send_get_partitions_by_filter(db_name, tbl_name, filter, max_parts) ⇒ Object


560
561
562
# File 'lib/thrift/thrift_hive_metastore.rb', line 560

def send_get_partitions_by_filter(db_name, tbl_name, filter, max_parts)
  send_message('get_partitions_by_filter', Get_partitions_by_filter_args, :db_name => db_name, :tbl_name => tbl_name, :filter => filter, :max_parts => max_parts)
end

#send_get_partitions_ps(db_name, tbl_name, part_vals, max_parts) ⇒ Object


511
512
513
# File 'lib/thrift/thrift_hive_metastore.rb', line 511

def send_get_partitions_ps(db_name, tbl_name, part_vals, max_parts)
  send_message('get_partitions_ps', Get_partitions_ps_args, :db_name => db_name, :tbl_name => tbl_name, :part_vals => part_vals, :max_parts => max_parts)
end

#send_get_partitions_ps_with_auth(db_name, tbl_name, part_vals, max_parts, user_name, group_names) ⇒ Object


527
528
529
# File 'lib/thrift/thrift_hive_metastore.rb', line 527

def send_get_partitions_ps_with_auth(db_name, tbl_name, part_vals, max_parts, user_name, group_names)
  send_message('get_partitions_ps_with_auth', Get_partitions_ps_with_auth_args, :db_name => db_name, :tbl_name => tbl_name, :part_vals => part_vals, :max_parts => max_parts, :user_name => user_name, :group_names => group_names)
end

#send_get_partitions_with_auth(db_name, tbl_name, max_parts, user_name, group_names) ⇒ Object


478
479
480
# File 'lib/thrift/thrift_hive_metastore.rb', line 478

def send_get_partitions_with_auth(db_name, tbl_name, max_parts, user_name, group_names)
  send_message('get_partitions_with_auth', Get_partitions_with_auth_args, :db_name => db_name, :tbl_name => tbl_name, :max_parts => max_parts, :user_name => user_name, :group_names => group_names)
end

#send_get_privilege_set(hiveObject, user_name, group_names) ⇒ Object


838
839
840
# File 'lib/thrift/thrift_hive_metastore.rb', line 838

def send_get_privilege_set(hiveObject, user_name, group_names)
  send_message('get_privilege_set', Get_privilege_set_args, :hiveObject => hiveObject, :user_name => user_name, :group_names => group_names)
end

#send_get_role_namesObject


774
775
776
# File 'lib/thrift/thrift_hive_metastore.rb', line 774

def send_get_role_names()
  send_message('get_role_names', Get_role_names_args)
end

#send_get_schema(db_name, table_name) ⇒ Object


205
206
207
# File 'lib/thrift/thrift_hive_metastore.rb', line 205

def send_get_schema(db_name, table_name)
  send_message('get_schema', Get_schema_args, :db_name => db_name, :table_name => table_name)
end

#send_get_table(dbname, tbl_name) ⇒ Object


289
290
291
# File 'lib/thrift/thrift_hive_metastore.rb', line 289

def send_get_table(dbname, tbl_name)
  send_message('get_table', Get_table_args, :dbname => dbname, :tbl_name => tbl_name)
end

#send_get_tables(db_name, pattern) ⇒ Object


257
258
259
# File 'lib/thrift/thrift_hive_metastore.rb', line 257

def send_get_tables(db_name, pattern)
  send_message('get_tables', Get_tables_args, :db_name => db_name, :pattern => pattern)
end

#send_get_type(name) ⇒ Object


119
120
121
# File 'lib/thrift/thrift_hive_metastore.rb', line 119

def send_get_type(name)
  send_message('get_type', Get_type_args, :name => name)
end

#send_get_type_all(name) ⇒ Object


171
172
173
# File 'lib/thrift/thrift_hive_metastore.rb', line 171

def send_get_type_all(name)
  send_message('get_type_all', Get_type_all_args, :name => name)
end

#send_grant_privileges(privileges) ⇒ Object


870
871
872
# File 'lib/thrift/thrift_hive_metastore.rb', line 870

def send_grant_privileges(privileges)
  send_message('grant_privileges', Grant_privileges_args, :privileges => privileges)
end

#send_grant_role(role_name, principal_name, principal_type, grantor, grantorType, grant_option) ⇒ Object


790
791
792
# File 'lib/thrift/thrift_hive_metastore.rb', line 790

def send_grant_role(role_name, principal_name, principal_type, grantor, grantorType, grant_option)
  send_message('grant_role', Grant_role_args, :role_name => role_name, :principal_name => principal_name, :principal_type => principal_type, :grantor => grantor, :grantorType => grantorType, :grant_option => grant_option)
end

#send_list_privileges(principal_name, principal_type, hiveObject) ⇒ Object


854
855
856
# File 'lib/thrift/thrift_hive_metastore.rb', line 854

def send_list_privileges(principal_name, principal_type, hiveObject)
  send_message('list_privileges', List_privileges_args, :principal_name => principal_name, :principal_type => principal_type, :hiveObject => hiveObject)
end

#send_list_roles(principal_name, principal_type) ⇒ Object


822
823
824
# File 'lib/thrift/thrift_hive_metastore.rb', line 822

def send_list_roles(principal_name, principal_type)
  send_message('list_roles', List_roles_args, :principal_name => principal_name, :principal_type => principal_type)
end

#send_partition_name_to_spec(part_name) ⇒ Object


625
626
627
# File 'lib/thrift/thrift_hive_metastore.rb', line 625

def send_partition_name_to_spec(part_name)
  send_message('partition_name_to_spec', Partition_name_to_spec_args, :part_name => part_name)
end

#send_partition_name_to_vals(part_name) ⇒ Object


609
610
611
# File 'lib/thrift/thrift_hive_metastore.rb', line 609

def send_partition_name_to_vals(part_name)
  send_message('partition_name_to_vals', Partition_name_to_vals_args, :part_name => part_name)
end

#send_renew_delegation_token(token_str_form) ⇒ Object


934
935
936
# File 'lib/thrift/thrift_hive_metastore.rb', line 934

def send_renew_delegation_token(token_str_form)
  send_message('renew_delegation_token', Renew_delegation_token_args, :token_str_form => token_str_form)
end

#send_revoke_privileges(privileges) ⇒ Object


886
887
888
# File 'lib/thrift/thrift_hive_metastore.rb', line 886

def send_revoke_privileges(privileges)
  send_message('revoke_privileges', Revoke_privileges_args, :privileges => privileges)
end

#send_revoke_role(role_name, principal_name, principal_type) ⇒ Object


806
807
808
# File 'lib/thrift/thrift_hive_metastore.rb', line 806

def send_revoke_role(role_name, principal_name, principal_type)
  send_message('revoke_role', Revoke_role_args, :role_name => role_name, :principal_name => principal_name, :principal_type => principal_type)
end