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 execute(String query)
           
 List<String> fetchAll()
           
 List<String> fetchN(int numRows)
           
 String fetchOne()
           
 HiveClusterStatus getClusterStatus()
           
 org.apache.hadoop.hive.ql.plan.api.QueryPlan getQueryPlan()
           
 Schema getSchema()
           
 Schema getThriftSchema()
           
 
Methods inherited from interface org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.Iface
add_partition, alter_partition, alter_table, append_partition_by_name, append_partition, create_database, create_table, create_type, drop_database, drop_partition_by_name, drop_partition, drop_table, drop_type, get_all_databases, get_all_tables, get_config_value, get_database, get_databases, get_fields, get_partition_by_name, get_partition_names_ps, get_partition_names, get_partition, get_partitions_ps, get_partitions, get_schema, get_table, get_tables, get_type_all, get_type, partition_name_to_spec, partition_name_to_vals
 
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

org.apache.hadoop.hive.ql.plan.api.QueryPlan getQueryPlan()
                                                          throws HiveServerException,
                                                                 org.apache.thrift.TException
Throws:
HiveServerException
org.apache.thrift.TException


Copyright © 2010 The Apache Software Foundation