org.apache.hadoop.hive.metastore.api
Class ThriftHiveMetastore.Client

java.lang.Object
  extended by com.facebook.fb303.FacebookService.Client
      extended by org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.Client
All Implemented Interfaces:
com.facebook.fb303.FacebookService.Iface, ThriftHiveMetastore.Iface, org.apache.thrift.TServiceClient
Direct Known Subclasses:
ThriftHive.Client
Enclosing class:
ThriftHiveMetastore

public static class ThriftHiveMetastore.Client
extends com.facebook.fb303.FacebookService.Client
implements org.apache.thrift.TServiceClient, ThriftHiveMetastore.Iface


Nested Class Summary
static class ThriftHiveMetastore.Client.Factory
           
 
Field Summary
 
Fields inherited from class com.facebook.fb303.FacebookService.Client
iprot_, oprot_, seqid_
 
Constructor Summary
ThriftHiveMetastore.Client(org.apache.thrift.protocol.TProtocol prot)
           
ThriftHiveMetastore.Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
           
 
Method Summary
 Index add_index(Index new_index, Table index_table)
           
 Partition add_partition(Partition new_part)
           
 void alter_database(String dbname, Database db)
           
 void alter_index(String dbname, String base_tbl_name, String idx_name, Index new_idx)
           
 void alter_partition(String db_name, String tbl_name, Partition new_part)
           
 void alter_table(String dbname, String tbl_name, Table new_tbl)
           
 Partition append_partition_by_name(String db_name, String tbl_name, String part_name)
           
 Partition append_partition(String db_name, String tbl_name, List<String> part_vals)
           
 void cancel_delegation_token(String token_str_form)
           
 void create_database(Database database)
           
 boolean create_role(Role role)
           
 void create_table(Table tbl)
           
 boolean create_type(Type type)
           
 void drop_database(String name, boolean deleteData)
           
 boolean drop_index_by_name(String db_name, String tbl_name, String index_name, boolean deleteData)
           
 boolean drop_partition_by_name(String db_name, String tbl_name, String part_name, boolean deleteData)
           
 boolean drop_partition(String db_name, String tbl_name, List<String> part_vals, boolean deleteData)
           
 boolean drop_role(String role_name)
           
 void drop_table(String dbname, String name, boolean deleteData)
           
 boolean drop_type(String type)
           
 List<String> get_all_databases()
           
 List<String> get_all_tables(String db_name)
           
 String get_config_value(String name, String defaultValue)
           
 Database get_database(String name)
           
 List<String> get_databases(String pattern)
           
 String get_delegation_token_with_signature(String renewer_kerberos_principal_name, String token_signature)
           
 String get_delegation_token(String renewer_kerberos_principal_name)
           
 List<FieldSchema> get_fields(String db_name, String table_name)
           
 Index get_index_by_name(String db_name, String tbl_name, String index_name)
           
 List<String> get_index_names(String db_name, String tbl_name, short max_indexes)
           
 List<Index> get_indexes(String db_name, String tbl_name, short max_indexes)
           
 Partition get_partition_by_name(String db_name, String tbl_name, String part_name)
           
 List<String> get_partition_names_ps(String db_name, String tbl_name, List<String> part_vals, short max_parts)
           
 List<String> get_partition_names(String db_name, String tbl_name, short max_parts)
           
 Partition get_partition_with_auth(String db_name, String tbl_name, List<String> part_vals, String user_name, List<String> group_names)
           
 Partition get_partition(String db_name, String tbl_name, List<String> part_vals)
           
 List<Partition> get_partitions_by_filter(String db_name, String tbl_name, String filter, short max_parts)
           
 List<Partition> get_partitions_ps_with_auth(String db_name, String tbl_name, List<String> part_vals, short max_parts, String user_name, List<String> group_names)
           
 List<Partition> get_partitions_ps(String db_name, String tbl_name, List<String> part_vals, short max_parts)
           
 List<Partition> get_partitions_with_auth(String db_name, String tbl_name, short max_parts, String user_name, List<String> group_names)
           
 List<Partition> get_partitions(String db_name, String tbl_name, short max_parts)
           
 PrincipalPrivilegeSet get_privilege_set(HiveObjectRef hiveObject, String user_name, List<String> group_names)
           
 List<String> get_role_names()
           
 List<FieldSchema> get_schema(String db_name, String table_name)
           
 Table get_table(String dbname, String tbl_name)
           
 List<String> get_tables(String db_name, String pattern)
           
 Map<String,Type> get_type_all(String name)
           
 Type get_type(String name)
           
 boolean grant_privileges(PrivilegeBag privileges)
           
 boolean grant_role(String role_name, String principal_name, PrincipalType principal_type, String grantor, PrincipalType grantorType, boolean grant_option)
           
 List<HiveObjectPrivilege> list_privileges(String principal_name, PrincipalType principal_type, HiveObjectRef hiveObject)
           
 List<Role> list_roles(String principal_name, PrincipalType principal_type)
           
 Map<String,String> partition_name_to_spec(String part_name)
           
 List<String> partition_name_to_vals(String part_name)
           
 Index recv_add_index()
           
 Partition recv_add_partition()
           
 void recv_alter_database()
           
 void recv_alter_index()
           
 void recv_alter_partition()
           
 void recv_alter_table()
           
 Partition recv_append_partition_by_name()
           
 Partition recv_append_partition()
           
 void recv_cancel_delegation_token()
           
 void recv_create_database()
           
 boolean recv_create_role()
           
 void recv_create_table()
           
 boolean recv_create_type()
           
 void recv_drop_database()
           
 boolean recv_drop_index_by_name()
           
 boolean recv_drop_partition_by_name()
           
 boolean recv_drop_partition()
           
 boolean recv_drop_role()
           
 void recv_drop_table()
           
 boolean recv_drop_type()
           
 List<String> recv_get_all_databases()
           
 List<String> recv_get_all_tables()
           
 String recv_get_config_value()
           
 Database recv_get_database()
           
 List<String> recv_get_databases()
           
 String recv_get_delegation_token_with_signature()
           
 String recv_get_delegation_token()
           
 List<FieldSchema> recv_get_fields()
           
 Index recv_get_index_by_name()
           
 List<String> recv_get_index_names()
           
 List<Index> recv_get_indexes()
           
 Partition recv_get_partition_by_name()
           
 List<String> recv_get_partition_names_ps()
           
 List<String> recv_get_partition_names()
           
 Partition recv_get_partition_with_auth()
           
 Partition recv_get_partition()
           
 List<Partition> recv_get_partitions_by_filter()
           
 List<Partition> recv_get_partitions_ps_with_auth()
           
 List<Partition> recv_get_partitions_ps()
           
 List<Partition> recv_get_partitions_with_auth()
           
 List<Partition> recv_get_partitions()
           
 PrincipalPrivilegeSet recv_get_privilege_set()
           
 List<String> recv_get_role_names()
           
 List<FieldSchema> recv_get_schema()
           
 Table recv_get_table()
           
 List<String> recv_get_tables()
           
 Map<String,Type> recv_get_type_all()
           
 Type recv_get_type()
           
 boolean recv_grant_privileges()
           
 boolean recv_grant_role()
           
 List<HiveObjectPrivilege> recv_list_privileges()
           
 List<Role> recv_list_roles()
           
 Map<String,String> recv_partition_name_to_spec()
           
 List<String> recv_partition_name_to_vals()
           
 long recv_renew_delegation_token()
           
 boolean recv_revoke_privileges()
           
 boolean recv_revoke_role()
           
 long renew_delegation_token(String token_str_form)
           
 boolean revoke_privileges(PrivilegeBag privileges)
           
 boolean revoke_role(String role_name, String principal_name, PrincipalType principal_type)
           
 void send_add_index(Index new_index, Table index_table)
           
 void send_add_partition(Partition new_part)
           
 void send_alter_database(String dbname, Database db)
           
 void send_alter_index(String dbname, String base_tbl_name, String idx_name, Index new_idx)
           
 void send_alter_partition(String db_name, String tbl_name, Partition new_part)
           
 void send_alter_table(String dbname, String tbl_name, Table new_tbl)
           
 void send_append_partition_by_name(String db_name, String tbl_name, String part_name)
           
 void send_append_partition(String db_name, String tbl_name, List<String> part_vals)
           
 void send_cancel_delegation_token(String token_str_form)
           
 void send_create_database(Database database)
           
 void send_create_role(Role role)
           
 void send_create_table(Table tbl)
           
 void send_create_type(Type type)
           
 void send_drop_database(String name, boolean deleteData)
           
 void send_drop_index_by_name(String db_name, String tbl_name, String index_name, boolean deleteData)
           
 void send_drop_partition_by_name(String db_name, String tbl_name, String part_name, boolean deleteData)
           
 void send_drop_partition(String db_name, String tbl_name, List<String> part_vals, boolean deleteData)
           
 void send_drop_role(String role_name)
           
 void send_drop_table(String dbname, String name, boolean deleteData)
           
 void send_drop_type(String type)
           
 void send_get_all_databases()
           
 void send_get_all_tables(String db_name)
           
 void send_get_config_value(String name, String defaultValue)
           
 void send_get_database(String name)
           
 void send_get_databases(String pattern)
           
 void send_get_delegation_token_with_signature(String renewer_kerberos_principal_name, String token_signature)
           
 void send_get_delegation_token(String renewer_kerberos_principal_name)
           
 void send_get_fields(String db_name, String table_name)
           
 void send_get_index_by_name(String db_name, String tbl_name, String index_name)
           
 void send_get_index_names(String db_name, String tbl_name, short max_indexes)
           
 void send_get_indexes(String db_name, String tbl_name, short max_indexes)
           
 void send_get_partition_by_name(String db_name, String tbl_name, String part_name)
           
 void send_get_partition_names_ps(String db_name, String tbl_name, List<String> part_vals, short max_parts)
           
 void send_get_partition_names(String db_name, String tbl_name, short max_parts)
           
 void send_get_partition_with_auth(String db_name, String tbl_name, List<String> part_vals, String user_name, List<String> group_names)
           
 void send_get_partition(String db_name, String tbl_name, List<String> part_vals)
           
 void send_get_partitions_by_filter(String db_name, String tbl_name, String filter, short max_parts)
           
 void send_get_partitions_ps_with_auth(String db_name, String tbl_name, List<String> part_vals, short max_parts, String user_name, List<String> group_names)
           
 void send_get_partitions_ps(String db_name, String tbl_name, List<String> part_vals, short max_parts)
           
 void send_get_partitions_with_auth(String db_name, String tbl_name, short max_parts, String user_name, List<String> group_names)
           
 void send_get_partitions(String db_name, String tbl_name, short max_parts)
           
 void send_get_privilege_set(HiveObjectRef hiveObject, String user_name, List<String> group_names)
           
 void send_get_role_names()
           
 void send_get_schema(String db_name, String table_name)
           
 void send_get_table(String dbname, String tbl_name)
           
 void send_get_tables(String db_name, String pattern)
           
 void send_get_type_all(String name)
           
 void send_get_type(String name)
           
 void send_grant_privileges(PrivilegeBag privileges)
           
 void send_grant_role(String role_name, String principal_name, PrincipalType principal_type, String grantor, PrincipalType grantorType, boolean grant_option)
           
 void send_list_privileges(String principal_name, PrincipalType principal_type, HiveObjectRef hiveObject)
           
 void send_list_roles(String principal_name, PrincipalType principal_type)
           
 void send_partition_name_to_spec(String part_name)
           
 void send_partition_name_to_vals(String part_name)
           
 void send_renew_delegation_token(String token_str_form)
           
 void send_revoke_privileges(PrivilegeBag privileges)
           
 void send_revoke_role(String role_name, String principal_name, PrincipalType principal_type)
           
 
Methods inherited from class com.facebook.fb303.FacebookService.Client
aliveSince, getCounter, getCounters, getCpuProfile, getInputProtocol, getName, getOption, getOptions, getOutputProtocol, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.thrift.TServiceClient
getInputProtocol, getOutputProtocol
 
Methods inherited from interface com.facebook.fb303.FacebookService.Iface
aliveSince, getCounter, getCounters, getCpuProfile, getName, getOption, getOptions, getStatus, getStatusDetails, getVersion, reinitialize, setOption, shutdown
 

Constructor Detail

ThriftHiveMetastore.Client

public ThriftHiveMetastore.Client(org.apache.thrift.protocol.TProtocol prot)

ThriftHiveMetastore.Client

public ThriftHiveMetastore.Client(org.apache.thrift.protocol.TProtocol iprot,
                                  org.apache.thrift.protocol.TProtocol oprot)
Method Detail

create_database

public void create_database(Database database)
                     throws AlreadyExistsException,
                            InvalidObjectException,
                            MetaException,
                            org.apache.thrift.TException
Specified by:
create_database in interface ThriftHiveMetastore.Iface
Throws:
AlreadyExistsException
InvalidObjectException
MetaException
org.apache.thrift.TException

send_create_database

public void send_create_database(Database database)
                          throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_create_database

public void recv_create_database()
                          throws AlreadyExistsException,
                                 InvalidObjectException,
                                 MetaException,
                                 org.apache.thrift.TException
Throws:
AlreadyExistsException
InvalidObjectException
MetaException
org.apache.thrift.TException

get_database

public Database get_database(String name)
                      throws NoSuchObjectException,
                             MetaException,
                             org.apache.thrift.TException
Specified by:
get_database in interface ThriftHiveMetastore.Iface
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

send_get_database

public void send_get_database(String name)
                       throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_database

public Database recv_get_database()
                           throws NoSuchObjectException,
                                  MetaException,
                                  org.apache.thrift.TException
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

drop_database

public void drop_database(String name,
                          boolean deleteData)
                   throws NoSuchObjectException,
                          InvalidOperationException,
                          MetaException,
                          org.apache.thrift.TException
Specified by:
drop_database in interface ThriftHiveMetastore.Iface
Throws:
NoSuchObjectException
InvalidOperationException
MetaException
org.apache.thrift.TException

send_drop_database

public void send_drop_database(String name,
                               boolean deleteData)
                        throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_drop_database

public void recv_drop_database()
                        throws NoSuchObjectException,
                               InvalidOperationException,
                               MetaException,
                               org.apache.thrift.TException
Throws:
NoSuchObjectException
InvalidOperationException
MetaException
org.apache.thrift.TException

get_databases

public List<String> get_databases(String pattern)
                           throws MetaException,
                                  org.apache.thrift.TException
Specified by:
get_databases in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_get_databases

public void send_get_databases(String pattern)
                        throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_databases

public List<String> recv_get_databases()
                                throws MetaException,
                                       org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

get_all_databases

public List<String> get_all_databases()
                               throws MetaException,
                                      org.apache.thrift.TException
Specified by:
get_all_databases in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_get_all_databases

public void send_get_all_databases()
                            throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_all_databases

public List<String> recv_get_all_databases()
                                    throws MetaException,
                                           org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

alter_database

public void alter_database(String dbname,
                           Database db)
                    throws MetaException,
                           NoSuchObjectException,
                           org.apache.thrift.TException
Specified by:
alter_database in interface ThriftHiveMetastore.Iface
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

send_alter_database

public void send_alter_database(String dbname,
                                Database db)
                         throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_alter_database

public void recv_alter_database()
                         throws MetaException,
                                NoSuchObjectException,
                                org.apache.thrift.TException
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

get_type

public Type get_type(String name)
              throws MetaException,
                     NoSuchObjectException,
                     org.apache.thrift.TException
Specified by:
get_type in interface ThriftHiveMetastore.Iface
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

send_get_type

public void send_get_type(String name)
                   throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_type

public Type recv_get_type()
                   throws MetaException,
                          NoSuchObjectException,
                          org.apache.thrift.TException
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

create_type

public boolean create_type(Type type)
                    throws AlreadyExistsException,
                           InvalidObjectException,
                           MetaException,
                           org.apache.thrift.TException
Specified by:
create_type in interface ThriftHiveMetastore.Iface
Throws:
AlreadyExistsException
InvalidObjectException
MetaException
org.apache.thrift.TException

send_create_type

public void send_create_type(Type type)
                      throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_create_type

public boolean recv_create_type()
                         throws AlreadyExistsException,
                                InvalidObjectException,
                                MetaException,
                                org.apache.thrift.TException
Throws:
AlreadyExistsException
InvalidObjectException
MetaException
org.apache.thrift.TException

drop_type

public boolean drop_type(String type)
                  throws MetaException,
                         NoSuchObjectException,
                         org.apache.thrift.TException
Specified by:
drop_type in interface ThriftHiveMetastore.Iface
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

send_drop_type

public void send_drop_type(String type)
                    throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_drop_type

public boolean recv_drop_type()
                       throws MetaException,
                              NoSuchObjectException,
                              org.apache.thrift.TException
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

get_type_all

public Map<String,Type> get_type_all(String name)
                              throws MetaException,
                                     org.apache.thrift.TException
Specified by:
get_type_all in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_get_type_all

public void send_get_type_all(String name)
                       throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_type_all

public Map<String,Type> recv_get_type_all()
                                   throws MetaException,
                                          org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

get_fields

public List<FieldSchema> get_fields(String db_name,
                                    String table_name)
                             throws MetaException,
                                    UnknownTableException,
                                    UnknownDBException,
                                    org.apache.thrift.TException
Specified by:
get_fields in interface ThriftHiveMetastore.Iface
Throws:
MetaException
UnknownTableException
UnknownDBException
org.apache.thrift.TException

send_get_fields

public void send_get_fields(String db_name,
                            String table_name)
                     throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_fields

public List<FieldSchema> recv_get_fields()
                                  throws MetaException,
                                         UnknownTableException,
                                         UnknownDBException,
                                         org.apache.thrift.TException
Throws:
MetaException
UnknownTableException
UnknownDBException
org.apache.thrift.TException

get_schema

public List<FieldSchema> get_schema(String db_name,
                                    String table_name)
                             throws MetaException,
                                    UnknownTableException,
                                    UnknownDBException,
                                    org.apache.thrift.TException
Specified by:
get_schema in interface ThriftHiveMetastore.Iface
Throws:
MetaException
UnknownTableException
UnknownDBException
org.apache.thrift.TException

send_get_schema

public void send_get_schema(String db_name,
                            String table_name)
                     throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_schema

public List<FieldSchema> recv_get_schema()
                                  throws MetaException,
                                         UnknownTableException,
                                         UnknownDBException,
                                         org.apache.thrift.TException
Throws:
MetaException
UnknownTableException
UnknownDBException
org.apache.thrift.TException

create_table

public void create_table(Table tbl)
                  throws AlreadyExistsException,
                         InvalidObjectException,
                         MetaException,
                         NoSuchObjectException,
                         org.apache.thrift.TException
Specified by:
create_table in interface ThriftHiveMetastore.Iface
Throws:
AlreadyExistsException
InvalidObjectException
MetaException
NoSuchObjectException
org.apache.thrift.TException

send_create_table

public void send_create_table(Table tbl)
                       throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_create_table

public void recv_create_table()
                       throws AlreadyExistsException,
                              InvalidObjectException,
                              MetaException,
                              NoSuchObjectException,
                              org.apache.thrift.TException
Throws:
AlreadyExistsException
InvalidObjectException
MetaException
NoSuchObjectException
org.apache.thrift.TException

drop_table

public void drop_table(String dbname,
                       String name,
                       boolean deleteData)
                throws NoSuchObjectException,
                       MetaException,
                       org.apache.thrift.TException
Specified by:
drop_table in interface ThriftHiveMetastore.Iface
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

send_drop_table

public void send_drop_table(String dbname,
                            String name,
                            boolean deleteData)
                     throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_drop_table

public void recv_drop_table()
                     throws NoSuchObjectException,
                            MetaException,
                            org.apache.thrift.TException
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

get_tables

public List<String> get_tables(String db_name,
                               String pattern)
                        throws MetaException,
                               org.apache.thrift.TException
Specified by:
get_tables in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_get_tables

public void send_get_tables(String db_name,
                            String pattern)
                     throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_tables

public List<String> recv_get_tables()
                             throws MetaException,
                                    org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

get_all_tables

public List<String> get_all_tables(String db_name)
                            throws MetaException,
                                   org.apache.thrift.TException
Specified by:
get_all_tables in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_get_all_tables

public void send_get_all_tables(String db_name)
                         throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_all_tables

public List<String> recv_get_all_tables()
                                 throws MetaException,
                                        org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

get_table

public Table get_table(String dbname,
                       String tbl_name)
                throws MetaException,
                       NoSuchObjectException,
                       org.apache.thrift.TException
Specified by:
get_table in interface ThriftHiveMetastore.Iface
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

send_get_table

public void send_get_table(String dbname,
                           String tbl_name)
                    throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_table

public Table recv_get_table()
                     throws MetaException,
                            NoSuchObjectException,
                            org.apache.thrift.TException
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

alter_table

public void alter_table(String dbname,
                        String tbl_name,
                        Table new_tbl)
                 throws InvalidOperationException,
                        MetaException,
                        org.apache.thrift.TException
Specified by:
alter_table in interface ThriftHiveMetastore.Iface
Throws:
InvalidOperationException
MetaException
org.apache.thrift.TException

send_alter_table

public void send_alter_table(String dbname,
                             String tbl_name,
                             Table new_tbl)
                      throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_alter_table

public void recv_alter_table()
                      throws InvalidOperationException,
                             MetaException,
                             org.apache.thrift.TException
Throws:
InvalidOperationException
MetaException
org.apache.thrift.TException

add_partition

public Partition add_partition(Partition new_part)
                        throws InvalidObjectException,
                               AlreadyExistsException,
                               MetaException,
                               org.apache.thrift.TException
Specified by:
add_partition in interface ThriftHiveMetastore.Iface
Throws:
InvalidObjectException
AlreadyExistsException
MetaException
org.apache.thrift.TException

send_add_partition

public void send_add_partition(Partition new_part)
                        throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_add_partition

public Partition recv_add_partition()
                             throws InvalidObjectException,
                                    AlreadyExistsException,
                                    MetaException,
                                    org.apache.thrift.TException
Throws:
InvalidObjectException
AlreadyExistsException
MetaException
org.apache.thrift.TException

append_partition

public Partition append_partition(String db_name,
                                  String tbl_name,
                                  List<String> part_vals)
                           throws InvalidObjectException,
                                  AlreadyExistsException,
                                  MetaException,
                                  org.apache.thrift.TException
Specified by:
append_partition in interface ThriftHiveMetastore.Iface
Throws:
InvalidObjectException
AlreadyExistsException
MetaException
org.apache.thrift.TException

send_append_partition

public void send_append_partition(String db_name,
                                  String tbl_name,
                                  List<String> part_vals)
                           throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_append_partition

public Partition recv_append_partition()
                                throws InvalidObjectException,
                                       AlreadyExistsException,
                                       MetaException,
                                       org.apache.thrift.TException
Throws:
InvalidObjectException
AlreadyExistsException
MetaException
org.apache.thrift.TException

append_partition_by_name

public Partition append_partition_by_name(String db_name,
                                          String tbl_name,
                                          String part_name)
                                   throws InvalidObjectException,
                                          AlreadyExistsException,
                                          MetaException,
                                          org.apache.thrift.TException
Specified by:
append_partition_by_name in interface ThriftHiveMetastore.Iface
Throws:
InvalidObjectException
AlreadyExistsException
MetaException
org.apache.thrift.TException

send_append_partition_by_name

public void send_append_partition_by_name(String db_name,
                                          String tbl_name,
                                          String part_name)
                                   throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_append_partition_by_name

public Partition recv_append_partition_by_name()
                                        throws InvalidObjectException,
                                               AlreadyExistsException,
                                               MetaException,
                                               org.apache.thrift.TException
Throws:
InvalidObjectException
AlreadyExistsException
MetaException
org.apache.thrift.TException

drop_partition

public boolean drop_partition(String db_name,
                              String tbl_name,
                              List<String> part_vals,
                              boolean deleteData)
                       throws NoSuchObjectException,
                              MetaException,
                              org.apache.thrift.TException
Specified by:
drop_partition in interface ThriftHiveMetastore.Iface
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

send_drop_partition

public void send_drop_partition(String db_name,
                                String tbl_name,
                                List<String> part_vals,
                                boolean deleteData)
                         throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_drop_partition

public boolean recv_drop_partition()
                            throws NoSuchObjectException,
                                   MetaException,
                                   org.apache.thrift.TException
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

drop_partition_by_name

public boolean drop_partition_by_name(String db_name,
                                      String tbl_name,
                                      String part_name,
                                      boolean deleteData)
                               throws NoSuchObjectException,
                                      MetaException,
                                      org.apache.thrift.TException
Specified by:
drop_partition_by_name in interface ThriftHiveMetastore.Iface
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

send_drop_partition_by_name

public void send_drop_partition_by_name(String db_name,
                                        String tbl_name,
                                        String part_name,
                                        boolean deleteData)
                                 throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_drop_partition_by_name

public boolean recv_drop_partition_by_name()
                                    throws NoSuchObjectException,
                                           MetaException,
                                           org.apache.thrift.TException
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

get_partition

public Partition get_partition(String db_name,
                               String tbl_name,
                               List<String> part_vals)
                        throws MetaException,
                               NoSuchObjectException,
                               org.apache.thrift.TException
Specified by:
get_partition in interface ThriftHiveMetastore.Iface
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

send_get_partition

public void send_get_partition(String db_name,
                               String tbl_name,
                               List<String> part_vals)
                        throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_partition

public Partition recv_get_partition()
                             throws MetaException,
                                    NoSuchObjectException,
                                    org.apache.thrift.TException
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

get_partition_with_auth

public Partition get_partition_with_auth(String db_name,
                                         String tbl_name,
                                         List<String> part_vals,
                                         String user_name,
                                         List<String> group_names)
                                  throws MetaException,
                                         NoSuchObjectException,
                                         org.apache.thrift.TException
Specified by:
get_partition_with_auth in interface ThriftHiveMetastore.Iface
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

send_get_partition_with_auth

public void send_get_partition_with_auth(String db_name,
                                         String tbl_name,
                                         List<String> part_vals,
                                         String user_name,
                                         List<String> group_names)
                                  throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_partition_with_auth

public Partition recv_get_partition_with_auth()
                                       throws MetaException,
                                              NoSuchObjectException,
                                              org.apache.thrift.TException
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

get_partition_by_name

public Partition get_partition_by_name(String db_name,
                                       String tbl_name,
                                       String part_name)
                                throws MetaException,
                                       NoSuchObjectException,
                                       org.apache.thrift.TException
Specified by:
get_partition_by_name in interface ThriftHiveMetastore.Iface
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

send_get_partition_by_name

public void send_get_partition_by_name(String db_name,
                                       String tbl_name,
                                       String part_name)
                                throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_partition_by_name

public Partition recv_get_partition_by_name()
                                     throws MetaException,
                                            NoSuchObjectException,
                                            org.apache.thrift.TException
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

get_partitions

public List<Partition> get_partitions(String db_name,
                                      String tbl_name,
                                      short max_parts)
                               throws NoSuchObjectException,
                                      MetaException,
                                      org.apache.thrift.TException
Specified by:
get_partitions in interface ThriftHiveMetastore.Iface
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

send_get_partitions

public void send_get_partitions(String db_name,
                                String tbl_name,
                                short max_parts)
                         throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_partitions

public List<Partition> recv_get_partitions()
                                    throws NoSuchObjectException,
                                           MetaException,
                                           org.apache.thrift.TException
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

get_partitions_with_auth

public List<Partition> get_partitions_with_auth(String db_name,
                                                String tbl_name,
                                                short max_parts,
                                                String user_name,
                                                List<String> group_names)
                                         throws NoSuchObjectException,
                                                MetaException,
                                                org.apache.thrift.TException
Specified by:
get_partitions_with_auth in interface ThriftHiveMetastore.Iface
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

send_get_partitions_with_auth

public void send_get_partitions_with_auth(String db_name,
                                          String tbl_name,
                                          short max_parts,
                                          String user_name,
                                          List<String> group_names)
                                   throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_partitions_with_auth

public List<Partition> recv_get_partitions_with_auth()
                                              throws NoSuchObjectException,
                                                     MetaException,
                                                     org.apache.thrift.TException
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

get_partition_names

public List<String> get_partition_names(String db_name,
                                        String tbl_name,
                                        short max_parts)
                                 throws MetaException,
                                        org.apache.thrift.TException
Specified by:
get_partition_names in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_get_partition_names

public void send_get_partition_names(String db_name,
                                     String tbl_name,
                                     short max_parts)
                              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_partition_names

public List<String> recv_get_partition_names()
                                      throws MetaException,
                                             org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

get_partitions_ps

public List<Partition> get_partitions_ps(String db_name,
                                         String tbl_name,
                                         List<String> part_vals,
                                         short max_parts)
                                  throws MetaException,
                                         org.apache.thrift.TException
Specified by:
get_partitions_ps in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_get_partitions_ps

public void send_get_partitions_ps(String db_name,
                                   String tbl_name,
                                   List<String> part_vals,
                                   short max_parts)
                            throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_partitions_ps

public List<Partition> recv_get_partitions_ps()
                                       throws MetaException,
                                              org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

get_partitions_ps_with_auth

public List<Partition> get_partitions_ps_with_auth(String db_name,
                                                   String tbl_name,
                                                   List<String> part_vals,
                                                   short max_parts,
                                                   String user_name,
                                                   List<String> group_names)
                                            throws NoSuchObjectException,
                                                   MetaException,
                                                   org.apache.thrift.TException
Specified by:
get_partitions_ps_with_auth in interface ThriftHiveMetastore.Iface
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

send_get_partitions_ps_with_auth

public void send_get_partitions_ps_with_auth(String db_name,
                                             String tbl_name,
                                             List<String> part_vals,
                                             short max_parts,
                                             String user_name,
                                             List<String> group_names)
                                      throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_partitions_ps_with_auth

public List<Partition> recv_get_partitions_ps_with_auth()
                                                 throws NoSuchObjectException,
                                                        MetaException,
                                                        org.apache.thrift.TException
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

get_partition_names_ps

public List<String> get_partition_names_ps(String db_name,
                                           String tbl_name,
                                           List<String> part_vals,
                                           short max_parts)
                                    throws MetaException,
                                           org.apache.thrift.TException
Specified by:
get_partition_names_ps in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_get_partition_names_ps

public void send_get_partition_names_ps(String db_name,
                                        String tbl_name,
                                        List<String> part_vals,
                                        short max_parts)
                                 throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_partition_names_ps

public List<String> recv_get_partition_names_ps()
                                         throws MetaException,
                                                org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

get_partitions_by_filter

public List<Partition> get_partitions_by_filter(String db_name,
                                                String tbl_name,
                                                String filter,
                                                short max_parts)
                                         throws MetaException,
                                                NoSuchObjectException,
                                                org.apache.thrift.TException
Specified by:
get_partitions_by_filter in interface ThriftHiveMetastore.Iface
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

send_get_partitions_by_filter

public void send_get_partitions_by_filter(String db_name,
                                          String tbl_name,
                                          String filter,
                                          short max_parts)
                                   throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_partitions_by_filter

public List<Partition> recv_get_partitions_by_filter()
                                              throws MetaException,
                                                     NoSuchObjectException,
                                                     org.apache.thrift.TException
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

alter_partition

public void alter_partition(String db_name,
                            String tbl_name,
                            Partition new_part)
                     throws InvalidOperationException,
                            MetaException,
                            org.apache.thrift.TException
Specified by:
alter_partition in interface ThriftHiveMetastore.Iface
Throws:
InvalidOperationException
MetaException
org.apache.thrift.TException

send_alter_partition

public void send_alter_partition(String db_name,
                                 String tbl_name,
                                 Partition new_part)
                          throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_alter_partition

public void recv_alter_partition()
                          throws InvalidOperationException,
                                 MetaException,
                                 org.apache.thrift.TException
Throws:
InvalidOperationException
MetaException
org.apache.thrift.TException

get_config_value

public String get_config_value(String name,
                               String defaultValue)
                        throws ConfigValSecurityException,
                               org.apache.thrift.TException
Specified by:
get_config_value in interface ThriftHiveMetastore.Iface
Throws:
ConfigValSecurityException
org.apache.thrift.TException

send_get_config_value

public void send_get_config_value(String name,
                                  String defaultValue)
                           throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_config_value

public String recv_get_config_value()
                             throws ConfigValSecurityException,
                                    org.apache.thrift.TException
Throws:
ConfigValSecurityException
org.apache.thrift.TException

partition_name_to_vals

public List<String> partition_name_to_vals(String part_name)
                                    throws MetaException,
                                           org.apache.thrift.TException
Specified by:
partition_name_to_vals in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_partition_name_to_vals

public void send_partition_name_to_vals(String part_name)
                                 throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_partition_name_to_vals

public List<String> recv_partition_name_to_vals()
                                         throws MetaException,
                                                org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

partition_name_to_spec

public Map<String,String> partition_name_to_spec(String part_name)
                                          throws MetaException,
                                                 org.apache.thrift.TException
Specified by:
partition_name_to_spec in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_partition_name_to_spec

public void send_partition_name_to_spec(String part_name)
                                 throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_partition_name_to_spec

public Map<String,String> recv_partition_name_to_spec()
                                               throws MetaException,
                                                      org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

add_index

public Index add_index(Index new_index,
                       Table index_table)
                throws InvalidObjectException,
                       AlreadyExistsException,
                       MetaException,
                       org.apache.thrift.TException
Specified by:
add_index in interface ThriftHiveMetastore.Iface
Throws:
InvalidObjectException
AlreadyExistsException
MetaException
org.apache.thrift.TException

send_add_index

public void send_add_index(Index new_index,
                           Table index_table)
                    throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_add_index

public Index recv_add_index()
                     throws InvalidObjectException,
                            AlreadyExistsException,
                            MetaException,
                            org.apache.thrift.TException
Throws:
InvalidObjectException
AlreadyExistsException
MetaException
org.apache.thrift.TException

alter_index

public void alter_index(String dbname,
                        String base_tbl_name,
                        String idx_name,
                        Index new_idx)
                 throws InvalidOperationException,
                        MetaException,
                        org.apache.thrift.TException
Specified by:
alter_index in interface ThriftHiveMetastore.Iface
Throws:
InvalidOperationException
MetaException
org.apache.thrift.TException

send_alter_index

public void send_alter_index(String dbname,
                             String base_tbl_name,
                             String idx_name,
                             Index new_idx)
                      throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_alter_index

public void recv_alter_index()
                      throws InvalidOperationException,
                             MetaException,
                             org.apache.thrift.TException
Throws:
InvalidOperationException
MetaException
org.apache.thrift.TException

drop_index_by_name

public boolean drop_index_by_name(String db_name,
                                  String tbl_name,
                                  String index_name,
                                  boolean deleteData)
                           throws NoSuchObjectException,
                                  MetaException,
                                  org.apache.thrift.TException
Specified by:
drop_index_by_name in interface ThriftHiveMetastore.Iface
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

send_drop_index_by_name

public void send_drop_index_by_name(String db_name,
                                    String tbl_name,
                                    String index_name,
                                    boolean deleteData)
                             throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_drop_index_by_name

public boolean recv_drop_index_by_name()
                                throws NoSuchObjectException,
                                       MetaException,
                                       org.apache.thrift.TException
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

get_index_by_name

public Index get_index_by_name(String db_name,
                               String tbl_name,
                               String index_name)
                        throws MetaException,
                               NoSuchObjectException,
                               org.apache.thrift.TException
Specified by:
get_index_by_name in interface ThriftHiveMetastore.Iface
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

send_get_index_by_name

public void send_get_index_by_name(String db_name,
                                   String tbl_name,
                                   String index_name)
                            throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_index_by_name

public Index recv_get_index_by_name()
                             throws MetaException,
                                    NoSuchObjectException,
                                    org.apache.thrift.TException
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

get_indexes

public List<Index> get_indexes(String db_name,
                               String tbl_name,
                               short max_indexes)
                        throws NoSuchObjectException,
                               MetaException,
                               org.apache.thrift.TException
Specified by:
get_indexes in interface ThriftHiveMetastore.Iface
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

send_get_indexes

public void send_get_indexes(String db_name,
                             String tbl_name,
                             short max_indexes)
                      throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_indexes

public List<Index> recv_get_indexes()
                             throws NoSuchObjectException,
                                    MetaException,
                                    org.apache.thrift.TException
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

get_index_names

public List<String> get_index_names(String db_name,
                                    String tbl_name,
                                    short max_indexes)
                             throws MetaException,
                                    org.apache.thrift.TException
Specified by:
get_index_names in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_get_index_names

public void send_get_index_names(String db_name,
                                 String tbl_name,
                                 short max_indexes)
                          throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_index_names

public List<String> recv_get_index_names()
                                  throws MetaException,
                                         org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

create_role

public boolean create_role(Role role)
                    throws MetaException,
                           org.apache.thrift.TException
Specified by:
create_role in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_create_role

public void send_create_role(Role role)
                      throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_create_role

public boolean recv_create_role()
                         throws MetaException,
                                org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

drop_role

public boolean drop_role(String role_name)
                  throws MetaException,
                         org.apache.thrift.TException
Specified by:
drop_role in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_drop_role

public void send_drop_role(String role_name)
                    throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_drop_role

public boolean recv_drop_role()
                       throws MetaException,
                              org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

get_role_names

public List<String> get_role_names()
                            throws MetaException,
                                   org.apache.thrift.TException
Specified by:
get_role_names in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_get_role_names

public void send_get_role_names()
                         throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_role_names

public List<String> recv_get_role_names()
                                 throws MetaException,
                                        org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

grant_role

public boolean grant_role(String role_name,
                          String principal_name,
                          PrincipalType principal_type,
                          String grantor,
                          PrincipalType grantorType,
                          boolean grant_option)
                   throws MetaException,
                          org.apache.thrift.TException
Specified by:
grant_role in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_grant_role

public void send_grant_role(String role_name,
                            String principal_name,
                            PrincipalType principal_type,
                            String grantor,
                            PrincipalType grantorType,
                            boolean grant_option)
                     throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_grant_role

public boolean recv_grant_role()
                        throws MetaException,
                               org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

revoke_role

public boolean revoke_role(String role_name,
                           String principal_name,
                           PrincipalType principal_type)
                    throws MetaException,
                           org.apache.thrift.TException
Specified by:
revoke_role in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_revoke_role

public void send_revoke_role(String role_name,
                             String principal_name,
                             PrincipalType principal_type)
                      throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_revoke_role

public boolean recv_revoke_role()
                         throws MetaException,
                                org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

list_roles

public List<Role> list_roles(String principal_name,
                             PrincipalType principal_type)
                      throws MetaException,
                             org.apache.thrift.TException
Specified by:
list_roles in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_list_roles

public void send_list_roles(String principal_name,
                            PrincipalType principal_type)
                     throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_list_roles

public List<Role> recv_list_roles()
                           throws MetaException,
                                  org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

get_privilege_set

public PrincipalPrivilegeSet get_privilege_set(HiveObjectRef hiveObject,
                                               String user_name,
                                               List<String> group_names)
                                        throws MetaException,
                                               org.apache.thrift.TException
Specified by:
get_privilege_set in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_get_privilege_set

public void send_get_privilege_set(HiveObjectRef hiveObject,
                                   String user_name,
                                   List<String> group_names)
                            throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_privilege_set

public PrincipalPrivilegeSet recv_get_privilege_set()
                                             throws MetaException,
                                                    org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

list_privileges

public List<HiveObjectPrivilege> list_privileges(String principal_name,
                                                 PrincipalType principal_type,
                                                 HiveObjectRef hiveObject)
                                          throws MetaException,
                                                 org.apache.thrift.TException
Specified by:
list_privileges in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_list_privileges

public void send_list_privileges(String principal_name,
                                 PrincipalType principal_type,
                                 HiveObjectRef hiveObject)
                          throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_list_privileges

public List<HiveObjectPrivilege> recv_list_privileges()
                                               throws MetaException,
                                                      org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

grant_privileges

public boolean grant_privileges(PrivilegeBag privileges)
                         throws MetaException,
                                org.apache.thrift.TException
Specified by:
grant_privileges in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_grant_privileges

public void send_grant_privileges(PrivilegeBag privileges)
                           throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_grant_privileges

public boolean recv_grant_privileges()
                              throws MetaException,
                                     org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

revoke_privileges

public boolean revoke_privileges(PrivilegeBag privileges)
                          throws MetaException,
                                 org.apache.thrift.TException
Specified by:
revoke_privileges in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_revoke_privileges

public void send_revoke_privileges(PrivilegeBag privileges)
                            throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_revoke_privileges

public boolean recv_revoke_privileges()
                               throws MetaException,
                                      org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

get_delegation_token

public String get_delegation_token(String renewer_kerberos_principal_name)
                            throws MetaException,
                                   org.apache.thrift.TException
Specified by:
get_delegation_token in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_get_delegation_token

public void send_get_delegation_token(String renewer_kerberos_principal_name)
                               throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_delegation_token

public String recv_get_delegation_token()
                                 throws MetaException,
                                        org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

get_delegation_token_with_signature

public String get_delegation_token_with_signature(String renewer_kerberos_principal_name,
                                                  String token_signature)
                                           throws MetaException,
                                                  org.apache.thrift.TException
Specified by:
get_delegation_token_with_signature in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_get_delegation_token_with_signature

public void send_get_delegation_token_with_signature(String renewer_kerberos_principal_name,
                                                     String token_signature)
                                              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_delegation_token_with_signature

public String recv_get_delegation_token_with_signature()
                                                throws MetaException,
                                                       org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

renew_delegation_token

public long renew_delegation_token(String token_str_form)
                            throws MetaException,
                                   org.apache.thrift.TException
Specified by:
renew_delegation_token in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_renew_delegation_token

public void send_renew_delegation_token(String token_str_form)
                                 throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_renew_delegation_token

public long recv_renew_delegation_token()
                                 throws MetaException,
                                        org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

cancel_delegation_token

public void cancel_delegation_token(String token_str_form)
                             throws MetaException,
                                    org.apache.thrift.TException
Specified by:
cancel_delegation_token in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_cancel_delegation_token

public void send_cancel_delegation_token(String token_str_form)
                                  throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_cancel_delegation_token

public void recv_cancel_delegation_token()
                                  throws MetaException,
                                         org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException


Copyright © 2011 The Apache Software Foundation