public static class ThriftHive.Client extends ThriftHiveMetastore.Client implements ThriftHive.Iface
Modifier and Type | Class and Description |
---|---|
static class |
ThriftHive.Client.Factory |
Constructor and Description |
---|
Client(org.apache.thrift.protocol.TProtocol prot) |
Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot) |
Modifier and Type | Method and Description |
---|---|
void |
clean() |
void |
execute(java.lang.String query) |
java.util.List<java.lang.String> |
fetchAll() |
java.util.List<java.lang.String> |
fetchN(int numRows) |
java.lang.String |
fetchOne() |
HiveClusterStatus |
getClusterStatus() |
QueryPlan |
getQueryPlan() |
Schema |
getSchema() |
Schema |
getThriftSchema() |
void |
recv_clean() |
void |
recv_execute() |
java.util.List<java.lang.String> |
recv_fetchAll() |
java.util.List<java.lang.String> |
recv_fetchN() |
java.lang.String |
recv_fetchOne() |
HiveClusterStatus |
recv_getClusterStatus() |
QueryPlan |
recv_getQueryPlan() |
Schema |
recv_getSchema() |
Schema |
recv_getThriftSchema() |
void |
send_clean() |
void |
send_execute(java.lang.String query) |
void |
send_fetchAll() |
void |
send_fetchN(int numRows) |
void |
send_fetchOne() |
void |
send_getClusterStatus() |
void |
send_getQueryPlan() |
void |
send_getSchema() |
void |
send_getThriftSchema() |
add_index, add_partition_with_environment_context, add_partition, add_partitions, alter_database, alter_index, alter_partition_with_environment_context, alter_partition, alter_partitions, alter_table_with_environment_context, alter_table, append_partition_by_name_with_environment_context, append_partition_by_name, append_partition_with_environment_context, append_partition, cancel_delegation_token, create_database, create_role, create_table_with_environment_context, create_table, create_type, delete_partition_column_statistics, delete_table_column_statistics, drop_database, drop_index_by_name, drop_partition_by_name_with_environment_context, drop_partition_by_name, drop_partition_with_environment_context, drop_partition, drop_role, drop_table_with_environment_context, drop_table, drop_type, exchange_partition, get_all_databases, get_all_tables, get_config_value, get_database, get_databases, get_delegation_token, get_fields, get_index_by_name, get_index_names, get_indexes, get_partition_by_name, get_partition_column_statistics, get_partition_names_ps, get_partition_names, get_partition_with_auth, get_partition, get_partitions_by_filter, get_partitions_by_names, get_partitions_ps_with_auth, get_partitions_ps, get_partitions_with_auth, get_partitions, get_privilege_set, get_role_names, get_schema, get_table_column_statistics, get_table_names_by_filter, get_table_objects_by_name, get_table, get_tables, get_type_all, get_type, grant_privileges, grant_role, isPartitionMarkedForEvent, list_privileges, list_roles, markPartitionForEvent, partition_name_has_valid_characters, partition_name_to_spec, partition_name_to_vals, recv_add_index, recv_add_partition_with_environment_context, recv_add_partition, recv_add_partitions, recv_alter_database, recv_alter_index, recv_alter_partition_with_environment_context, recv_alter_partition, recv_alter_partitions, recv_alter_table_with_environment_context, recv_alter_table, recv_append_partition_by_name_with_environment_context, recv_append_partition_by_name, recv_append_partition_with_environment_context, recv_append_partition, recv_cancel_delegation_token, recv_create_database, recv_create_role, recv_create_table_with_environment_context, recv_create_table, recv_create_type, recv_delete_partition_column_statistics, recv_delete_table_column_statistics, recv_drop_database, recv_drop_index_by_name, recv_drop_partition_by_name_with_environment_context, recv_drop_partition_by_name, recv_drop_partition_with_environment_context, recv_drop_partition, recv_drop_role, recv_drop_table_with_environment_context, recv_drop_table, recv_drop_type, recv_exchange_partition, recv_get_all_databases, recv_get_all_tables, recv_get_config_value, recv_get_database, recv_get_databases, recv_get_delegation_token, recv_get_fields, recv_get_index_by_name, recv_get_index_names, recv_get_indexes, recv_get_partition_by_name, recv_get_partition_column_statistics, recv_get_partition_names_ps, recv_get_partition_names, recv_get_partition_with_auth, recv_get_partition, recv_get_partitions_by_filter, recv_get_partitions_by_names, recv_get_partitions_ps_with_auth, recv_get_partitions_ps, recv_get_partitions_with_auth, recv_get_partitions, recv_get_privilege_set, recv_get_role_names, recv_get_schema, recv_get_table_column_statistics, recv_get_table_names_by_filter, recv_get_table_objects_by_name, recv_get_table, recv_get_tables, recv_get_type_all, recv_get_type, recv_grant_privileges, recv_grant_role, recv_isPartitionMarkedForEvent, recv_list_privileges, recv_list_roles, recv_markPartitionForEvent, recv_partition_name_has_valid_characters, recv_partition_name_to_spec, recv_partition_name_to_vals, recv_rename_partition, recv_renew_delegation_token, recv_revoke_privileges, recv_revoke_role, recv_set_ugi, recv_update_partition_column_statistics, recv_update_table_column_statistics, rename_partition, renew_delegation_token, revoke_privileges, revoke_role, send_add_index, send_add_partition_with_environment_context, send_add_partition, send_add_partitions, send_alter_database, send_alter_index, send_alter_partition_with_environment_context, send_alter_partition, send_alter_partitions, send_alter_table_with_environment_context, send_alter_table, send_append_partition_by_name_with_environment_context, send_append_partition_by_name, send_append_partition_with_environment_context, send_append_partition, send_cancel_delegation_token, send_create_database, send_create_role, send_create_table_with_environment_context, send_create_table, send_create_type, send_delete_partition_column_statistics, send_delete_table_column_statistics, send_drop_database, send_drop_index_by_name, send_drop_partition_by_name_with_environment_context, send_drop_partition_by_name, send_drop_partition_with_environment_context, send_drop_partition, send_drop_role, send_drop_table_with_environment_context, send_drop_table, send_drop_type, send_exchange_partition, send_get_all_databases, send_get_all_tables, send_get_config_value, send_get_database, send_get_databases, send_get_delegation_token, send_get_fields, send_get_index_by_name, send_get_index_names, send_get_indexes, send_get_partition_by_name, send_get_partition_column_statistics, send_get_partition_names_ps, send_get_partition_names, send_get_partition_with_auth, send_get_partition, send_get_partitions_by_filter, send_get_partitions_by_names, send_get_partitions_ps_with_auth, send_get_partitions_ps, send_get_partitions_with_auth, send_get_partitions, send_get_privilege_set, send_get_role_names, send_get_schema, send_get_table_column_statistics, send_get_table_names_by_filter, send_get_table_objects_by_name, send_get_table, send_get_tables, send_get_type_all, send_get_type, send_grant_privileges, send_grant_role, send_isPartitionMarkedForEvent, send_list_privileges, send_list_roles, send_markPartitionForEvent, send_partition_name_has_valid_characters, send_partition_name_to_spec, send_partition_name_to_vals, send_rename_partition, send_renew_delegation_token, send_revoke_privileges, send_revoke_role, send_set_ugi, send_update_partition_column_statistics, send_update_table_column_statistics, set_ugi, update_partition_column_statistics, update_table_column_statistics
aliveSince, getCounter, getCounters, getCpuProfile, getName, getOption, getOptions, getStatus, getStatusDetails, getVersion, recv_aliveSince, recv_getCounter, recv_getCounters, recv_getCpuProfile, recv_getName, recv_getOption, recv_getOptions, recv_getStatus, recv_getStatusDetails, recv_getVersion, recv_setOption, reinitialize, send_aliveSince, send_getCounter, send_getCounters, send_getCpuProfile, send_getName, send_getOption, send_getOptions, send_getStatus, send_getStatusDetails, send_getVersion, send_reinitialize, send_setOption, send_shutdown, setOption, shutdown
getInputProtocol, getOutputProtocol, receiveBase, sendBase
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add_index, add_partition_with_environment_context, add_partition, add_partitions, alter_database, alter_index, alter_partition_with_environment_context, alter_partition, alter_partitions, alter_table_with_environment_context, alter_table, append_partition_by_name_with_environment_context, append_partition_by_name, append_partition_with_environment_context, append_partition, cancel_delegation_token, create_database, create_role, create_table_with_environment_context, create_table, create_type, delete_partition_column_statistics, delete_table_column_statistics, drop_database, drop_index_by_name, drop_partition_by_name_with_environment_context, drop_partition_by_name, drop_partition_with_environment_context, drop_partition, drop_role, drop_table_with_environment_context, drop_table, drop_type, exchange_partition, get_all_databases, get_all_tables, get_config_value, get_database, get_databases, get_delegation_token, get_fields, get_index_by_name, get_index_names, get_indexes, get_partition_by_name, get_partition_column_statistics, get_partition_names_ps, get_partition_names, get_partition_with_auth, get_partition, get_partitions_by_filter, get_partitions_by_names, get_partitions_ps_with_auth, get_partitions_ps, get_partitions_with_auth, get_partitions, get_privilege_set, get_role_names, get_schema, get_table_column_statistics, get_table_names_by_filter, get_table_objects_by_name, get_table, get_tables, get_type_all, get_type, grant_privileges, grant_role, isPartitionMarkedForEvent, list_privileges, list_roles, markPartitionForEvent, partition_name_has_valid_characters, partition_name_to_spec, partition_name_to_vals, rename_partition, renew_delegation_token, revoke_privileges, revoke_role, set_ugi, update_partition_column_statistics, update_table_column_statistics
public Client(org.apache.thrift.protocol.TProtocol prot)
public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
public void execute(java.lang.String query) throws HiveServerException, org.apache.thrift.TException
execute
in interface ThriftHive.Iface
HiveServerException
org.apache.thrift.TException
public void send_execute(java.lang.String query) throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_execute() throws HiveServerException, org.apache.thrift.TException
HiveServerException
org.apache.thrift.TException
public java.lang.String fetchOne() throws HiveServerException, org.apache.thrift.TException
fetchOne
in interface ThriftHive.Iface
HiveServerException
org.apache.thrift.TException
public void send_fetchOne() throws org.apache.thrift.TException
org.apache.thrift.TException
public java.lang.String recv_fetchOne() throws HiveServerException, org.apache.thrift.TException
HiveServerException
org.apache.thrift.TException
public java.util.List<java.lang.String> fetchN(int numRows) throws HiveServerException, org.apache.thrift.TException
fetchN
in interface ThriftHive.Iface
HiveServerException
org.apache.thrift.TException
public void send_fetchN(int numRows) throws org.apache.thrift.TException
org.apache.thrift.TException
public java.util.List<java.lang.String> recv_fetchN() throws HiveServerException, org.apache.thrift.TException
HiveServerException
org.apache.thrift.TException
public java.util.List<java.lang.String> fetchAll() throws HiveServerException, org.apache.thrift.TException
fetchAll
in interface ThriftHive.Iface
HiveServerException
org.apache.thrift.TException
public void send_fetchAll() throws org.apache.thrift.TException
org.apache.thrift.TException
public java.util.List<java.lang.String> recv_fetchAll() throws HiveServerException, org.apache.thrift.TException
HiveServerException
org.apache.thrift.TException
public Schema getSchema() throws HiveServerException, org.apache.thrift.TException
getSchema
in interface ThriftHive.Iface
HiveServerException
org.apache.thrift.TException
public void send_getSchema() throws org.apache.thrift.TException
org.apache.thrift.TException
public Schema recv_getSchema() throws HiveServerException, org.apache.thrift.TException
HiveServerException
org.apache.thrift.TException
public Schema getThriftSchema() throws HiveServerException, org.apache.thrift.TException
getThriftSchema
in interface ThriftHive.Iface
HiveServerException
org.apache.thrift.TException
public void send_getThriftSchema() throws org.apache.thrift.TException
org.apache.thrift.TException
public Schema recv_getThriftSchema() throws HiveServerException, org.apache.thrift.TException
HiveServerException
org.apache.thrift.TException
public HiveClusterStatus getClusterStatus() throws HiveServerException, org.apache.thrift.TException
getClusterStatus
in interface ThriftHive.Iface
HiveServerException
org.apache.thrift.TException
public void send_getClusterStatus() throws org.apache.thrift.TException
org.apache.thrift.TException
public HiveClusterStatus recv_getClusterStatus() throws HiveServerException, org.apache.thrift.TException
HiveServerException
org.apache.thrift.TException
public QueryPlan getQueryPlan() throws HiveServerException, org.apache.thrift.TException
getQueryPlan
in interface ThriftHive.Iface
HiveServerException
org.apache.thrift.TException
public void send_getQueryPlan() throws org.apache.thrift.TException
org.apache.thrift.TException
public QueryPlan recv_getQueryPlan() throws HiveServerException, org.apache.thrift.TException
HiveServerException
org.apache.thrift.TException
public void clean() throws org.apache.thrift.TException
clean
in interface ThriftHive.Iface
org.apache.thrift.TException
public void send_clean() throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_clean() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2012 The Apache Software Foundation