org.apache.hadoop.hive.service
Class ThriftHive.Client

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

public static class ThriftHive.Client
extends ThriftHiveMetastore.Client
implements ThriftHive.Iface


Field Summary
 
Fields inherited from class com.facebook.fb303.FacebookService.Client
iprot_, oprot_, seqid_
 
Constructor Summary
ThriftHive.Client(com.facebook.thrift.protocol.TProtocol prot)
           
ThriftHive.Client(com.facebook.thrift.protocol.TProtocol iprot, com.facebook.thrift.protocol.TProtocol oprot)
           
 
Method Summary
 void execute(String query)
           
 List<String> fetchAll()
           
 List<String> fetchN(int numRows)
           
 String fetchOne()
           
 String getSchema()
           
 void recv_execute()
           
 List<String> recv_fetchAll()
           
 List<String> recv_fetchN()
           
 String recv_fetchOne()
           
 String recv_getSchema()
           
 void send_execute(String query)
           
 void send_fetchAll()
           
 void send_fetchN(int numRows)
           
 void send_fetchOne()
           
 void send_getSchema()
           
 
Methods inherited from class org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.Client
add_partition, alter_partitions, alter_table, append_partition, create_database, create_index, create_table, create_type, drop_database, drop_partition, drop_table, drop_type, get_database, get_databases, get_fields, get_partition_names, get_partition, get_partitions, get_table, get_tables, get_type_all, get_type, recv_add_partition, recv_alter_partitions, recv_alter_table, recv_append_partition, recv_create_database, recv_create_index, recv_create_table, recv_create_type, recv_drop_database, recv_drop_partition, recv_drop_table, recv_drop_type, recv_get_database, recv_get_databases, recv_get_fields, recv_get_partition_names, recv_get_partition, recv_get_partitions, recv_get_table, recv_get_tables, recv_get_type_all, recv_get_type, send_add_partition, send_alter_partitions, send_alter_table, send_append_partition, send_create_database, send_create_index, send_create_table, send_create_type, send_drop_database, send_drop_partition, send_drop_table, send_drop_type, send_get_database, send_get_databases, send_get_fields, send_get_partition_names, send_get_partition, send_get_partitions, send_get_table, send_get_tables, send_get_type_all, send_get_type
 
Methods inherited from class com.facebook.fb303.FacebookService.Client
aliveSince, getCounter, getCounters, getLimitedReflection, getName, getOption, getOptions, getStatus, getStatusDetails, getVersion, recv_aliveSince, recv_getCounter, recv_getCounters, recv_getLimitedReflection, recv_getName, recv_getOption, recv_getOptions, recv_getStatus, recv_getStatusDetails, recv_getVersion, recv_setOption, reinitialize, send_aliveSince, send_getCounter, send_getCounters, send_getLimitedReflection, 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.hadoop.hive.metastore.api.ThriftHiveMetastore.Iface
add_partition, alter_partitions, alter_table, append_partition, create_database, create_index, create_table, create_type, drop_database, drop_partition, drop_table, drop_type, get_database, get_databases, get_fields, get_partition_names, get_partition, get_partitions, get_table, get_tables, get_type_all, get_type
 
Methods inherited from interface com.facebook.fb303.FacebookService.Iface
aliveSince, getCounter, getCounters, getLimitedReflection, getName, getOption, getOptions, getStatus, getStatusDetails, getVersion, reinitialize, setOption, shutdown
 

Constructor Detail

ThriftHive.Client

public ThriftHive.Client(com.facebook.thrift.protocol.TProtocol prot)

ThriftHive.Client

public ThriftHive.Client(com.facebook.thrift.protocol.TProtocol iprot,
                         com.facebook.thrift.protocol.TProtocol oprot)
Method Detail

execute

public void execute(String query)
             throws HiveServerException,
                    com.facebook.thrift.TException
Specified by:
execute in interface ThriftHive.Iface
Throws:
HiveServerException
com.facebook.thrift.TException

send_execute

public void send_execute(String query)
                  throws com.facebook.thrift.TException
Throws:
com.facebook.thrift.TException

recv_execute

public void recv_execute()
                  throws HiveServerException,
                         com.facebook.thrift.TException
Throws:
HiveServerException
com.facebook.thrift.TException

fetchOne

public String fetchOne()
                throws HiveServerException,
                       com.facebook.thrift.TException
Specified by:
fetchOne in interface ThriftHive.Iface
Throws:
HiveServerException
com.facebook.thrift.TException

send_fetchOne

public void send_fetchOne()
                   throws com.facebook.thrift.TException
Throws:
com.facebook.thrift.TException

recv_fetchOne

public String recv_fetchOne()
                     throws HiveServerException,
                            com.facebook.thrift.TException
Throws:
HiveServerException
com.facebook.thrift.TException

fetchN

public List<String> fetchN(int numRows)
                    throws HiveServerException,
                           com.facebook.thrift.TException
Specified by:
fetchN in interface ThriftHive.Iface
Throws:
HiveServerException
com.facebook.thrift.TException

send_fetchN

public void send_fetchN(int numRows)
                 throws com.facebook.thrift.TException
Throws:
com.facebook.thrift.TException

recv_fetchN

public List<String> recv_fetchN()
                         throws HiveServerException,
                                com.facebook.thrift.TException
Throws:
HiveServerException
com.facebook.thrift.TException

fetchAll

public List<String> fetchAll()
                      throws HiveServerException,
                             com.facebook.thrift.TException
Specified by:
fetchAll in interface ThriftHive.Iface
Throws:
HiveServerException
com.facebook.thrift.TException

send_fetchAll

public void send_fetchAll()
                   throws com.facebook.thrift.TException
Throws:
com.facebook.thrift.TException

recv_fetchAll

public List<String> recv_fetchAll()
                           throws HiveServerException,
                                  com.facebook.thrift.TException
Throws:
HiveServerException
com.facebook.thrift.TException

getSchema

public String getSchema()
                 throws HiveServerException,
                        com.facebook.thrift.TException
Specified by:
getSchema in interface ThriftHive.Iface
Throws:
HiveServerException
com.facebook.thrift.TException

send_getSchema

public void send_getSchema()
                    throws com.facebook.thrift.TException
Throws:
com.facebook.thrift.TException

recv_getSchema

public String recv_getSchema()
                      throws HiveServerException,
                             com.facebook.thrift.TException
Throws:
HiveServerException
com.facebook.thrift.TException


Copyright © 2009 The Apache Software Foundation