org.apache.hadoop.hive.service
Class ThriftHive.Client
java.lang.Object
com.facebook.fb303.FacebookService.Client
org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.Client
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
Fields inherited from class com.facebook.fb303.FacebookService.Client |
iprot_, oprot_, seqid_ |
Constructor Summary |
ThriftHive.Client(org.apache.thrift.protocol.TProtocol prot)
|
ThriftHive.Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.Client |
add_partition, alter_partition, alter_table, append_partition, create_database, create_table, create_type, drop_database, drop_partition, drop_table, drop_type, get_config_value, get_database, get_databases, get_fields, get_partition_names, get_partition, get_partitions, get_schema, get_table, get_tables, get_type_all, get_type, recv_add_partition, recv_alter_partition, recv_alter_table, recv_append_partition, recv_create_database, recv_create_table, recv_create_type, recv_drop_database, recv_drop_partition, recv_drop_table, recv_drop_type, recv_get_config_value, recv_get_database, recv_get_databases, recv_get_fields, recv_get_partition_names, recv_get_partition, recv_get_partitions, recv_get_schema, recv_get_table, recv_get_tables, recv_get_type_all, recv_get_type, send_add_partition, send_alter_partition, send_alter_table, send_append_partition, send_create_database, send_create_table, send_create_type, send_drop_database, send_drop_partition, send_drop_table, send_drop_type, send_get_config_value, send_get_database, send_get_databases, send_get_fields, send_get_partition_names, send_get_partition, send_get_partitions, send_get_schema, 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, getCpuProfile, getInputProtocol, getName, getOption, getOptions, getOutputProtocol, 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 |
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_partition, alter_table, append_partition, create_database, create_table, create_type, drop_database, drop_partition, drop_table, drop_type, get_config_value, get_database, get_databases, get_fields, get_partition_names, get_partition, get_partitions, get_schema, get_table, get_tables, get_type_all, get_type |
Methods inherited from interface com.facebook.fb303.FacebookService.Iface |
aliveSince, getCounter, getCounters, getCpuProfile, getName, getOption, getOptions, getStatus, getStatusDetails, getVersion, reinitialize, setOption, shutdown |
ThriftHive.Client
public ThriftHive.Client(org.apache.thrift.protocol.TProtocol prot)
ThriftHive.Client
public ThriftHive.Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot)
execute
public void execute(String query)
throws HiveServerException,
org.apache.thrift.TException
- Specified by:
execute
in interface ThriftHive.Iface
- Throws:
HiveServerException
org.apache.thrift.TException
send_execute
public void send_execute(String query)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
recv_execute
public void recv_execute()
throws HiveServerException,
org.apache.thrift.TException
- Throws:
HiveServerException
org.apache.thrift.TException
fetchOne
public String fetchOne()
throws HiveServerException,
org.apache.thrift.TException
- Specified by:
fetchOne
in interface ThriftHive.Iface
- Throws:
HiveServerException
org.apache.thrift.TException
send_fetchOne
public void send_fetchOne()
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
recv_fetchOne
public String recv_fetchOne()
throws HiveServerException,
org.apache.thrift.TException
- Throws:
HiveServerException
org.apache.thrift.TException
fetchN
public List<String> fetchN(int numRows)
throws HiveServerException,
org.apache.thrift.TException
- Specified by:
fetchN
in interface ThriftHive.Iface
- Throws:
HiveServerException
org.apache.thrift.TException
send_fetchN
public void send_fetchN(int numRows)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
recv_fetchN
public List<String> recv_fetchN()
throws HiveServerException,
org.apache.thrift.TException
- Throws:
HiveServerException
org.apache.thrift.TException
fetchAll
public List<String> fetchAll()
throws HiveServerException,
org.apache.thrift.TException
- Specified by:
fetchAll
in interface ThriftHive.Iface
- Throws:
HiveServerException
org.apache.thrift.TException
send_fetchAll
public void send_fetchAll()
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
recv_fetchAll
public List<String> recv_fetchAll()
throws HiveServerException,
org.apache.thrift.TException
- Throws:
HiveServerException
org.apache.thrift.TException
getSchema
public Schema getSchema()
throws HiveServerException,
org.apache.thrift.TException
- Specified by:
getSchema
in interface ThriftHive.Iface
- Throws:
HiveServerException
org.apache.thrift.TException
send_getSchema
public void send_getSchema()
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
recv_getSchema
public Schema recv_getSchema()
throws HiveServerException,
org.apache.thrift.TException
- Throws:
HiveServerException
org.apache.thrift.TException
getThriftSchema
public Schema getThriftSchema()
throws HiveServerException,
org.apache.thrift.TException
- Specified by:
getThriftSchema
in interface ThriftHive.Iface
- Throws:
HiveServerException
org.apache.thrift.TException
send_getThriftSchema
public void send_getThriftSchema()
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
recv_getThriftSchema
public Schema recv_getThriftSchema()
throws HiveServerException,
org.apache.thrift.TException
- Throws:
HiveServerException
org.apache.thrift.TException
getClusterStatus
public HiveClusterStatus getClusterStatus()
throws HiveServerException,
org.apache.thrift.TException
- Specified by:
getClusterStatus
in interface ThriftHive.Iface
- Throws:
HiveServerException
org.apache.thrift.TException
send_getClusterStatus
public void send_getClusterStatus()
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
recv_getClusterStatus
public HiveClusterStatus recv_getClusterStatus()
throws HiveServerException,
org.apache.thrift.TException
- Throws:
HiveServerException
org.apache.thrift.TException
getQueryPlan
public org.apache.hadoop.hive.ql.plan.api.QueryPlan getQueryPlan()
throws HiveServerException,
org.apache.thrift.TException
- Specified by:
getQueryPlan
in interface ThriftHive.Iface
- Throws:
HiveServerException
org.apache.thrift.TException
send_getQueryPlan
public void send_getQueryPlan()
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
recv_getQueryPlan
public org.apache.hadoop.hive.ql.plan.api.QueryPlan recv_getQueryPlan()
throws HiveServerException,
org.apache.thrift.TException
- Throws:
HiveServerException
org.apache.thrift.TException
Copyright © 2009 The Apache Software Foundation