org.apache.hadoop.hive.service
Class ThriftHive.AsyncClient
java.lang.Object
org.apache.thrift.async.TAsyncClient
com.facebook.fb303.FacebookService.AsyncClient
org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.AsyncClient
org.apache.hadoop.hive.service.ThriftHive.AsyncClient
- All Implemented Interfaces:
- com.facebook.fb303.FacebookService.AsyncIface, ThriftHiveMetastore.AsyncIface, ThriftHive.AsyncIface
- Enclosing class:
- ThriftHive
public static class ThriftHive.AsyncClient
- extends ThriftHiveMetastore.AsyncClient
- implements ThriftHive.AsyncIface
Nested classes/interfaces inherited from class org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.AsyncClient |
ThriftHiveMetastore.AsyncClient.add_partition_call, ThriftHiveMetastore.AsyncClient.alter_partition_call, ThriftHiveMetastore.AsyncClient.alter_table_call, ThriftHiveMetastore.AsyncClient.append_partition_call, ThriftHiveMetastore.AsyncClient.create_database_call, ThriftHiveMetastore.AsyncClient.create_table_call, ThriftHiveMetastore.AsyncClient.create_type_call, ThriftHiveMetastore.AsyncClient.drop_database_call, ThriftHiveMetastore.AsyncClient.drop_partition_call, ThriftHiveMetastore.AsyncClient.drop_table_call, ThriftHiveMetastore.AsyncClient.drop_type_call, ThriftHiveMetastore.AsyncClient.get_config_value_call, ThriftHiveMetastore.AsyncClient.get_database_call, ThriftHiveMetastore.AsyncClient.get_databases_call, ThriftHiveMetastore.AsyncClient.get_fields_call, ThriftHiveMetastore.AsyncClient.get_partition_call, ThriftHiveMetastore.AsyncClient.get_partition_names_call, ThriftHiveMetastore.AsyncClient.get_partitions_call, ThriftHiveMetastore.AsyncClient.get_schema_call, ThriftHiveMetastore.AsyncClient.get_table_call, ThriftHiveMetastore.AsyncClient.get_tables_call, ThriftHiveMetastore.AsyncClient.get_type_all_call, ThriftHiveMetastore.AsyncClient.get_type_call |
Nested classes/interfaces inherited from class com.facebook.fb303.FacebookService.AsyncClient |
com.facebook.fb303.FacebookService.AsyncClient.aliveSince_call, com.facebook.fb303.FacebookService.AsyncClient.getCounter_call, com.facebook.fb303.FacebookService.AsyncClient.getCounters_call, com.facebook.fb303.FacebookService.AsyncClient.getCpuProfile_call, com.facebook.fb303.FacebookService.AsyncClient.getName_call, com.facebook.fb303.FacebookService.AsyncClient.getOption_call, com.facebook.fb303.FacebookService.AsyncClient.getOptions_call, com.facebook.fb303.FacebookService.AsyncClient.getStatus_call, com.facebook.fb303.FacebookService.AsyncClient.getStatusDetails_call, com.facebook.fb303.FacebookService.AsyncClient.getVersion_call, com.facebook.fb303.FacebookService.AsyncClient.reinitialize_call, com.facebook.fb303.FacebookService.AsyncClient.setOption_call, com.facebook.fb303.FacebookService.AsyncClient.shutdown_call |
Fields inherited from class org.apache.thrift.async.TAsyncClient |
manager, protocolFactory, transport |
Constructor Summary |
ThriftHive.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.async.TAsyncClientManager clientManager,
org.apache.thrift.transport.TNonblockingTransport transport)
|
Methods inherited from class org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.AsyncClient |
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 class com.facebook.fb303.FacebookService.AsyncClient |
aliveSince, getCounter, getCounters, getCpuProfile, getName, getOption, getOptions, getStatus, getStatusDetails, getVersion, reinitialize, setOption, shutdown |
Methods inherited from class org.apache.thrift.async.TAsyncClient |
checkReady, getError, getProtocolFactory, getTimeout, hasError, hasTimeout, onComplete, onError, setTimeout |
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.AsyncIface |
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.AsyncIface |
aliveSince, getCounter, getCounters, getCpuProfile, getName, getOption, getOptions, getStatus, getStatusDetails, getVersion, reinitialize, setOption, shutdown |
ThriftHive.AsyncClient
public ThriftHive.AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.async.TAsyncClientManager clientManager,
org.apache.thrift.transport.TNonblockingTransport transport)
execute
public void execute(String query,
org.apache.thrift.async.AsyncMethodCallback<ThriftHive.AsyncClient.execute_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
execute
in interface ThriftHive.AsyncIface
- Throws:
org.apache.thrift.TException
fetchOne
public void fetchOne(org.apache.thrift.async.AsyncMethodCallback<ThriftHive.AsyncClient.fetchOne_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
fetchOne
in interface ThriftHive.AsyncIface
- Throws:
org.apache.thrift.TException
fetchN
public void fetchN(int numRows,
org.apache.thrift.async.AsyncMethodCallback<ThriftHive.AsyncClient.fetchN_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
fetchN
in interface ThriftHive.AsyncIface
- Throws:
org.apache.thrift.TException
fetchAll
public void fetchAll(org.apache.thrift.async.AsyncMethodCallback<ThriftHive.AsyncClient.fetchAll_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
fetchAll
in interface ThriftHive.AsyncIface
- Throws:
org.apache.thrift.TException
getSchema
public void getSchema(org.apache.thrift.async.AsyncMethodCallback<ThriftHive.AsyncClient.getSchema_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
getSchema
in interface ThriftHive.AsyncIface
- Throws:
org.apache.thrift.TException
getThriftSchema
public void getThriftSchema(org.apache.thrift.async.AsyncMethodCallback<ThriftHive.AsyncClient.getThriftSchema_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
getThriftSchema
in interface ThriftHive.AsyncIface
- Throws:
org.apache.thrift.TException
getClusterStatus
public void getClusterStatus(org.apache.thrift.async.AsyncMethodCallback<ThriftHive.AsyncClient.getClusterStatus_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
getClusterStatus
in interface ThriftHive.AsyncIface
- Throws:
org.apache.thrift.TException
getQueryPlan
public void getQueryPlan(org.apache.thrift.async.AsyncMethodCallback<ThriftHive.AsyncClient.getQueryPlan_call> resultHandler)
throws org.apache.thrift.TException
- Specified by:
getQueryPlan
in interface ThriftHive.AsyncIface
- Throws:
org.apache.thrift.TException
Copyright © 2009 The Apache Software Foundation