org.apache.hadoop.hive.metastore.api
Class ThriftHiveMetastore.AsyncClient
java.lang.Object
org.apache.thrift.async.TAsyncClient
com.facebook.fb303.FacebookService.AsyncClient
org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.AsyncClient
- All Implemented Interfaces:
- com.facebook.fb303.FacebookService.AsyncIface, ThriftHiveMetastore.AsyncIface
- Direct Known Subclasses:
- ThriftHive.AsyncClient
- Enclosing class:
- ThriftHiveMetastore
public static class ThriftHiveMetastore.AsyncClient
- extends com.facebook.fb303.FacebookService.AsyncClient
- implements ThriftHiveMetastore.AsyncIface
Nested classes/interfaces inherited from class com.facebook.fb303.FacebookService.AsyncClient |
com.facebook.fb303.FacebookService.AsyncClient.aliveSince_call, com.facebook.fb303.FacebookService.AsyncClient.getCounter_call, com.facebook.fb303.FacebookService.AsyncClient.getCounters_call, com.facebook.fb303.FacebookService.AsyncClient.getCpuProfile_call, com.facebook.fb303.FacebookService.AsyncClient.getName_call, com.facebook.fb303.FacebookService.AsyncClient.getOption_call, com.facebook.fb303.FacebookService.AsyncClient.getOptions_call, com.facebook.fb303.FacebookService.AsyncClient.getStatus_call, com.facebook.fb303.FacebookService.AsyncClient.getStatusDetails_call, com.facebook.fb303.FacebookService.AsyncClient.getVersion_call, com.facebook.fb303.FacebookService.AsyncClient.reinitialize_call, com.facebook.fb303.FacebookService.AsyncClient.setOption_call, com.facebook.fb303.FacebookService.AsyncClient.shutdown_call |
Fields inherited from class org.apache.thrift.async.TAsyncClient |
___currentMethod, ___manager, ___protocolFactory, ___transport |
Constructor Summary |
ThriftHiveMetastore.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.async.TAsyncClientManager clientManager,
org.apache.thrift.transport.TNonblockingTransport transport)
|
Method Summary |
void |
add_index(Index new_index,
Table index_table,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.add_index_call> resultHandler)
|
void |
add_partition(Partition new_part,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.add_partition_call> resultHandler)
|
void |
add_partitions(List<Partition> new_parts,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.add_partitions_call> resultHandler)
|
void |
alter_database(String dbname,
Database db,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.alter_database_call> resultHandler)
|
void |
alter_index(String dbname,
String base_tbl_name,
String idx_name,
Index new_idx,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.alter_index_call> resultHandler)
|
void |
alter_partition(String db_name,
String tbl_name,
Partition new_part,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.alter_partition_call> resultHandler)
|
void |
alter_table(String dbname,
String tbl_name,
Table new_tbl,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.alter_table_call> resultHandler)
|
void |
append_partition_by_name(String db_name,
String tbl_name,
String part_name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.append_partition_by_name_call> resultHandler)
|
void |
append_partition(String db_name,
String tbl_name,
List<String> part_vals,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.append_partition_call> resultHandler)
|
void |
cancel_delegation_token(String token_str_form,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.cancel_delegation_token_call> resultHandler)
|
void |
create_database(Database database,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.create_database_call> resultHandler)
|
void |
create_role(Role role,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.create_role_call> resultHandler)
|
void |
create_table(Table tbl,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.create_table_call> resultHandler)
|
void |
create_type(Type type,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.create_type_call> resultHandler)
|
void |
drop_database(String name,
boolean deleteData,
boolean cascade,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.drop_database_call> resultHandler)
|
void |
drop_index_by_name(String db_name,
String tbl_name,
String index_name,
boolean deleteData,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.drop_index_by_name_call> resultHandler)
|
void |
drop_partition_by_name(String db_name,
String tbl_name,
String part_name,
boolean deleteData,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.drop_partition_by_name_call> resultHandler)
|
void |
drop_partition(String db_name,
String tbl_name,
List<String> part_vals,
boolean deleteData,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.drop_partition_call> resultHandler)
|
void |
drop_role(String role_name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.drop_role_call> resultHandler)
|
void |
drop_table(String dbname,
String name,
boolean deleteData,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.drop_table_call> resultHandler)
|
void |
drop_type(String type,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.drop_type_call> resultHandler)
|
void |
get_all_databases(org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_all_databases_call> resultHandler)
|
void |
get_all_tables(String db_name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_all_tables_call> resultHandler)
|
void |
get_config_value(String name,
String defaultValue,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_config_value_call> resultHandler)
|
void |
get_database(String name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_database_call> resultHandler)
|
void |
get_databases(String pattern,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_databases_call> resultHandler)
|
void |
get_delegation_token(String token_owner,
String renewer_kerberos_principal_name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_delegation_token_call> resultHandler)
|
void |
get_fields(String db_name,
String table_name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_fields_call> resultHandler)
|
void |
get_index_by_name(String db_name,
String tbl_name,
String index_name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_index_by_name_call> resultHandler)
|
void |
get_index_names(String db_name,
String tbl_name,
short max_indexes,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_index_names_call> resultHandler)
|
void |
get_indexes(String db_name,
String tbl_name,
short max_indexes,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_indexes_call> resultHandler)
|
void |
get_partition_by_name(String db_name,
String tbl_name,
String part_name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_partition_by_name_call> resultHandler)
|
void |
get_partition_names_ps(String db_name,
String tbl_name,
List<String> part_vals,
short max_parts,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_partition_names_ps_call> resultHandler)
|
void |
get_partition_names(String db_name,
String tbl_name,
short max_parts,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_partition_names_call> resultHandler)
|
void |
get_partition_with_auth(String db_name,
String tbl_name,
List<String> part_vals,
String user_name,
List<String> group_names,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_partition_with_auth_call> resultHandler)
|
void |
get_partition(String db_name,
String tbl_name,
List<String> part_vals,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_partition_call> resultHandler)
|
void |
get_partitions_by_filter(String db_name,
String tbl_name,
String filter,
short max_parts,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_partitions_by_filter_call> resultHandler)
|
void |
get_partitions_by_names(String db_name,
String tbl_name,
List<String> names,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_partitions_by_names_call> resultHandler)
|
void |
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,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_partitions_ps_with_auth_call> resultHandler)
|
void |
get_partitions_ps(String db_name,
String tbl_name,
List<String> part_vals,
short max_parts,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_partitions_ps_call> resultHandler)
|
void |
get_partitions_with_auth(String db_name,
String tbl_name,
short max_parts,
String user_name,
List<String> group_names,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_partitions_with_auth_call> resultHandler)
|
void |
get_partitions(String db_name,
String tbl_name,
short max_parts,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_partitions_call> resultHandler)
|
void |
get_privilege_set(HiveObjectRef hiveObject,
String user_name,
List<String> group_names,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_privilege_set_call> resultHandler)
|
void |
get_role_names(org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_role_names_call> resultHandler)
|
void |
get_schema(String db_name,
String table_name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_schema_call> resultHandler)
|
void |
get_table_names_by_filter(String dbname,
String filter,
short max_tables,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_table_names_by_filter_call> resultHandler)
|
void |
get_table_objects_by_name(String dbname,
List<String> tbl_names,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_table_objects_by_name_call> resultHandler)
|
void |
get_table(String dbname,
String tbl_name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_table_call> resultHandler)
|
void |
get_tables(String db_name,
String pattern,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_tables_call> resultHandler)
|
void |
get_type_all(String name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_type_all_call> resultHandler)
|
void |
get_type(String name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_type_call> resultHandler)
|
void |
grant_privileges(PrivilegeBag privileges,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.grant_privileges_call> resultHandler)
|
void |
grant_role(String role_name,
String principal_name,
PrincipalType principal_type,
String grantor,
PrincipalType grantorType,
boolean grant_option,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.grant_role_call> resultHandler)
|
void |
isPartitionMarkedForEvent(String db_name,
String tbl_name,
Map<String,String> part_vals,
PartitionEventType eventType,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.isPartitionMarkedForEvent_call> resultHandler)
|
void |
list_privileges(String principal_name,
PrincipalType principal_type,
HiveObjectRef hiveObject,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.list_privileges_call> resultHandler)
|
void |
list_roles(String principal_name,
PrincipalType principal_type,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.list_roles_call> resultHandler)
|
void |
markPartitionForEvent(String db_name,
String tbl_name,
Map<String,String> part_vals,
PartitionEventType eventType,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.markPartitionForEvent_call> resultHandler)
|
void |
partition_name_to_spec(String part_name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.partition_name_to_spec_call> resultHandler)
|
void |
partition_name_to_vals(String part_name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.partition_name_to_vals_call> resultHandler)
|
void |
rename_partition(String db_name,
String tbl_name,
List<String> part_vals,
Partition new_part,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.rename_partition_call> resultHandler)
|
void |
renew_delegation_token(String token_str_form,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.renew_delegation_token_call> resultHandler)
|
void |
revoke_privileges(PrivilegeBag privileges,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.revoke_privileges_call> resultHandler)
|
void |
revoke_role(String role_name,
String principal_name,
PrincipalType principal_type,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.revoke_role_call> resultHandler)
|
void |
set_ugi(String user_name,
List<String> group_names,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.set_ugi_call> resultHandler)
|
Methods inherited from class com.facebook.fb303.FacebookService.AsyncClient |
aliveSince, getCounter, getCounters, getCpuProfile, getName, getOption, getOptions, getStatus, getStatusDetails, getVersion, reinitialize, setOption, shutdown |
Methods inherited from class org.apache.thrift.async.TAsyncClient |
checkReady, getError, getProtocolFactory, getTimeout, hasError, hasTimeout, onComplete, onError, setTimeout |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.facebook.fb303.FacebookService.AsyncIface |
aliveSince, getCounter, getCounters, getCpuProfile, getName, getOption, getOptions, getStatus, getStatusDetails, getVersion, reinitialize, setOption, shutdown |
ThriftHiveMetastore.AsyncClient
public ThriftHiveMetastore.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.async.TAsyncClientManager clientManager,
org.apache.thrift.transport.TNonblockingTransport transport)
create_database
public void create_database(Database database,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.create_database_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
create_database
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_database
public void get_database(String name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_database_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_database
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
drop_database
public void drop_database(String name,
boolean deleteData,
boolean cascade,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.drop_database_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
drop_database
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_databases
public void get_databases(String pattern,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_databases_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_databases
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_all_databases
public void get_all_databases(org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_all_databases_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_all_databases
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
alter_database
public void alter_database(String dbname,
Database db,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.alter_database_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
alter_database
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_type
public void get_type(String name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_type_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_type
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
create_type
public void create_type(Type type,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.create_type_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
create_type
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
drop_type
public void drop_type(String type,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.drop_type_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
drop_type
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_type_all
public void get_type_all(String name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_type_all_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_type_all
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_fields
public void get_fields(String db_name,
String table_name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_fields_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_fields
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_schema
public void get_schema(String db_name,
String table_name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_schema_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_schema
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
create_table
public void create_table(Table tbl,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.create_table_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
create_table
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
drop_table
public void drop_table(String dbname,
String name,
boolean deleteData,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.drop_table_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
drop_table
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_tables
public void get_tables(String db_name,
String pattern,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_tables_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_tables
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_all_tables
public void get_all_tables(String db_name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_all_tables_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_all_tables
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_table
public void get_table(String dbname,
String tbl_name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_table_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_table
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_table_objects_by_name
public void get_table_objects_by_name(String dbname,
List<String> tbl_names,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_table_objects_by_name_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_table_objects_by_name
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_table_names_by_filter
public void get_table_names_by_filter(String dbname,
String filter,
short max_tables,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_table_names_by_filter_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_table_names_by_filter
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
alter_table
public void alter_table(String dbname,
String tbl_name,
Table new_tbl,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.alter_table_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
alter_table
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
add_partition
public void add_partition(Partition new_part,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.add_partition_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
add_partition
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
add_partitions
public void add_partitions(List<Partition> new_parts,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.add_partitions_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
add_partitions
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
append_partition
public void append_partition(String db_name,
String tbl_name,
List<String> part_vals,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.append_partition_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
append_partition
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
append_partition_by_name
public void append_partition_by_name(String db_name,
String tbl_name,
String part_name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.append_partition_by_name_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
append_partition_by_name
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
drop_partition
public void drop_partition(String db_name,
String tbl_name,
List<String> part_vals,
boolean deleteData,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.drop_partition_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
drop_partition
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
drop_partition_by_name
public void drop_partition_by_name(String db_name,
String tbl_name,
String part_name,
boolean deleteData,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.drop_partition_by_name_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
drop_partition_by_name
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_partition
public void get_partition(String db_name,
String tbl_name,
List<String> part_vals,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_partition_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_partition
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_partition_with_auth
public void get_partition_with_auth(String db_name,
String tbl_name,
List<String> part_vals,
String user_name,
List<String> group_names,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_partition_with_auth_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_partition_with_auth
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_partition_by_name
public void get_partition_by_name(String db_name,
String tbl_name,
String part_name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_partition_by_name_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_partition_by_name
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_partitions
public void get_partitions(String db_name,
String tbl_name,
short max_parts,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_partitions_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_partitions
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_partitions_with_auth
public void get_partitions_with_auth(String db_name,
String tbl_name,
short max_parts,
String user_name,
List<String> group_names,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_partitions_with_auth_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_partitions_with_auth
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_partition_names
public void get_partition_names(String db_name,
String tbl_name,
short max_parts,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_partition_names_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_partition_names
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_partitions_ps
public void get_partitions_ps(String db_name,
String tbl_name,
List<String> part_vals,
short max_parts,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_partitions_ps_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_partitions_ps
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_partitions_ps_with_auth
public void 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,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_partitions_ps_with_auth_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_partitions_ps_with_auth
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_partition_names_ps
public void get_partition_names_ps(String db_name,
String tbl_name,
List<String> part_vals,
short max_parts,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_partition_names_ps_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_partition_names_ps
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_partitions_by_filter
public void get_partitions_by_filter(String db_name,
String tbl_name,
String filter,
short max_parts,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_partitions_by_filter_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_partitions_by_filter
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_partitions_by_names
public void get_partitions_by_names(String db_name,
String tbl_name,
List<String> names,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_partitions_by_names_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_partitions_by_names
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
alter_partition
public void alter_partition(String db_name,
String tbl_name,
Partition new_part,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.alter_partition_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
alter_partition
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
rename_partition
public void rename_partition(String db_name,
String tbl_name,
List<String> part_vals,
Partition new_part,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.rename_partition_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
rename_partition
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_config_value
public void get_config_value(String name,
String defaultValue,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_config_value_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_config_value
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
partition_name_to_vals
public void partition_name_to_vals(String part_name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.partition_name_to_vals_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
partition_name_to_vals
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
partition_name_to_spec
public void partition_name_to_spec(String part_name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.partition_name_to_spec_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
partition_name_to_spec
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
markPartitionForEvent
public void markPartitionForEvent(String db_name,
String tbl_name,
Map<String,String> part_vals,
PartitionEventType eventType,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.markPartitionForEvent_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
markPartitionForEvent
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
isPartitionMarkedForEvent
public void isPartitionMarkedForEvent(String db_name,
String tbl_name,
Map<String,String> part_vals,
PartitionEventType eventType,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.isPartitionMarkedForEvent_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
isPartitionMarkedForEvent
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
add_index
public void add_index(Index new_index,
Table index_table,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.add_index_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
add_index
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
alter_index
public void alter_index(String dbname,
String base_tbl_name,
String idx_name,
Index new_idx,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.alter_index_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
alter_index
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
drop_index_by_name
public void drop_index_by_name(String db_name,
String tbl_name,
String index_name,
boolean deleteData,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.drop_index_by_name_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
drop_index_by_name
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_index_by_name
public void get_index_by_name(String db_name,
String tbl_name,
String index_name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_index_by_name_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_index_by_name
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_indexes
public void get_indexes(String db_name,
String tbl_name,
short max_indexes,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_indexes_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_indexes
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_index_names
public void get_index_names(String db_name,
String tbl_name,
short max_indexes,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_index_names_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_index_names
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
create_role
public void create_role(Role role,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.create_role_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
create_role
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
drop_role
public void drop_role(String role_name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.drop_role_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
drop_role
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_role_names
public void get_role_names(org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_role_names_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_role_names
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
grant_role
public void grant_role(String role_name,
String principal_name,
PrincipalType principal_type,
String grantor,
PrincipalType grantorType,
boolean grant_option,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.grant_role_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
grant_role
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
revoke_role
public void revoke_role(String role_name,
String principal_name,
PrincipalType principal_type,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.revoke_role_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
revoke_role
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
list_roles
public void list_roles(String principal_name,
PrincipalType principal_type,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.list_roles_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
list_roles
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_privilege_set
public void get_privilege_set(HiveObjectRef hiveObject,
String user_name,
List<String> group_names,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_privilege_set_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_privilege_set
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
list_privileges
public void list_privileges(String principal_name,
PrincipalType principal_type,
HiveObjectRef hiveObject,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.list_privileges_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
list_privileges
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
grant_privileges
public void grant_privileges(PrivilegeBag privileges,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.grant_privileges_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
grant_privileges
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
revoke_privileges
public void revoke_privileges(PrivilegeBag privileges,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.revoke_privileges_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
revoke_privileges
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
set_ugi
public void set_ugi(String user_name,
List<String> group_names,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.set_ugi_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
set_ugi
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
get_delegation_token
public void get_delegation_token(String token_owner,
String renewer_kerberos_principal_name,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.get_delegation_token_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
get_delegation_token
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
renew_delegation_token
public void renew_delegation_token(String token_str_form,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.renew_delegation_token_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
renew_delegation_token
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
cancel_delegation_token
public void cancel_delegation_token(String token_str_form,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.cancel_delegation_token_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
cancel_delegation_token
in interface ThriftHiveMetastore.AsyncIface
- Throws:
org.apache.thrift.TException
Copyright © 2011 The Apache Software Foundation