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
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_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 |
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
Copyright © 2009 The Apache Software Foundation