org.apache.hadoop.hive.service
Interface ThriftHive.Iface

All Superinterfaces:
com.facebook.fb303.FacebookService.Iface, ThriftHiveMetastore.Iface
All Known Subinterfaces:
HiveInterface
All Known Implementing Classes:
HiveClient, HiveServer.HiveServerHandler, ThriftHive.Client
Enclosing class:
ThriftHive

public static interface ThriftHive.Iface
extends ThriftHiveMetastore.Iface


Method Summary
 void clean()
           
 void execute(String query)
           
 List<String> fetchAll()
           
 List<String> fetchN(int numRows)
           
 String fetchOne()
           
 HiveClusterStatus getClusterStatus()
           
 QueryPlan getQueryPlan()
           
 Schema getSchema()
           
 Schema getThriftSchema()
           
 
Methods inherited from interface org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.Iface
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, 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, drop_partition, drop_role, drop_table, drop_type, 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_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
 
Methods inherited from interface com.facebook.fb303.FacebookService.Iface
aliveSince, getCounter, getCounters, getCpuProfile, getName, getOption, getOptions, getStatus, getStatusDetails, getVersion, reinitialize, setOption, shutdown
 

Method Detail

execute

void execute(String query)
             throws HiveServerException,
                    org.apache.thrift.TException
Throws:
HiveServerException
org.apache.thrift.TException

fetchOne

String fetchOne()
                throws HiveServerException,
                       org.apache.thrift.TException
Throws:
HiveServerException
org.apache.thrift.TException

fetchN

List<String> fetchN(int numRows)
                    throws HiveServerException,
                           org.apache.thrift.TException
Throws:
HiveServerException
org.apache.thrift.TException

fetchAll

List<String> fetchAll()
                      throws HiveServerException,
                             org.apache.thrift.TException
Throws:
HiveServerException
org.apache.thrift.TException

getSchema

Schema getSchema()
                 throws HiveServerException,
                        org.apache.thrift.TException
Throws:
HiveServerException
org.apache.thrift.TException

getThriftSchema

Schema getThriftSchema()
                       throws HiveServerException,
                              org.apache.thrift.TException
Throws:
HiveServerException
org.apache.thrift.TException

getClusterStatus

HiveClusterStatus getClusterStatus()
                                   throws HiveServerException,
                                          org.apache.thrift.TException
Throws:
HiveServerException
org.apache.thrift.TException

getQueryPlan

QueryPlan getQueryPlan()
                       throws HiveServerException,
                              org.apache.thrift.TException
Throws:
HiveServerException
org.apache.thrift.TException

clean

void clean()
           throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2013 The Apache Software Foundation