org.apache.hadoop.hive.metastore.api
Interface ThriftMetaStore.Iface
- All Superinterfaces:
- com.facebook.fb303.FacebookService.Iface
- All Known Implementing Classes:
- MetaStoreServer.ThriftMetaStoreHandler, ThriftMetaStore.Client
- Enclosing class:
- ThriftMetaStore
public static interface ThriftMetaStore.Iface
- extends com.facebook.fb303.FacebookService.Iface
This interface is deprecated.
Method Summary |
void |
alter_table(String db_name,
String table_name,
Map<String,String> schema)
|
List<String> |
cat(String db_name,
String table_name,
String partition,
int high)
|
void |
create_table(String db_name,
String table_name,
Map<String,String> schema)
|
void |
drop_table(String db_name,
String table_name)
|
List<String> |
get_dbs()
|
List<FieldSchema> |
get_fields(String db_name,
String table_name)
|
List<String> |
get_partitions(String db_name,
String table_name)
|
Map<String,String> |
get_schema(String table_name)
|
List<String> |
get_tables(String db_name,
String pattern)
|
boolean |
table_exists(String db_name,
String table_name)
|
void |
truncate_table(String db_name,
String table_name,
String partition)
|
Methods inherited from interface com.facebook.fb303.FacebookService.Iface |
aliveSince, getCounter, getCounters, getLimitedReflection, getName, getOption, getOptions, getStatus, getStatusDetails, getVersion, reinitialize, setOption, shutdown |
get_fields
List<FieldSchema> get_fields(String db_name,
String table_name)
throws MetaException,
UnknownTableException,
UnknownDBException,
com.facebook.thrift.TException
- Throws:
MetaException
UnknownTableException
UnknownDBException
com.facebook.thrift.TException
get_tables
List<String> get_tables(String db_name,
String pattern)
throws MetaException,
UnknownTableException,
UnknownDBException,
com.facebook.thrift.TException
- Throws:
MetaException
UnknownTableException
UnknownDBException
com.facebook.thrift.TException
get_schema
Map<String,String> get_schema(String table_name)
throws MetaException,
UnknownTableException,
UnknownDBException,
com.facebook.thrift.TException
- Throws:
MetaException
UnknownTableException
UnknownDBException
com.facebook.thrift.TException
alter_table
void alter_table(String db_name,
String table_name,
Map<String,String> schema)
throws MetaException,
UnknownTableException,
UnknownDBException,
com.facebook.thrift.TException
- Throws:
MetaException
UnknownTableException
UnknownDBException
com.facebook.thrift.TException
create_table
void create_table(String db_name,
String table_name,
Map<String,String> schema)
throws MetaException,
UnknownDBException,
com.facebook.thrift.TException
- Throws:
MetaException
UnknownDBException
com.facebook.thrift.TException
drop_table
void drop_table(String db_name,
String table_name)
throws MetaException,
UnknownTableException,
UnknownDBException,
com.facebook.thrift.TException
- Throws:
MetaException
UnknownTableException
UnknownDBException
com.facebook.thrift.TException
truncate_table
void truncate_table(String db_name,
String table_name,
String partition)
throws MetaException,
UnknownTableException,
UnknownDBException,
com.facebook.thrift.TException
- Throws:
MetaException
UnknownTableException
UnknownDBException
com.facebook.thrift.TException
table_exists
boolean table_exists(String db_name,
String table_name)
throws MetaException,
UnknownDBException,
com.facebook.thrift.TException
- Throws:
MetaException
UnknownDBException
com.facebook.thrift.TException
get_partitions
List<String> get_partitions(String db_name,
String table_name)
throws MetaException,
UnknownTableException,
UnknownDBException,
com.facebook.thrift.TException
- Throws:
MetaException
UnknownTableException
UnknownDBException
com.facebook.thrift.TException
get_dbs
List<String> get_dbs()
throws MetaException,
com.facebook.thrift.TException
- Throws:
MetaException
com.facebook.thrift.TException
cat
List<String> cat(String db_name,
String table_name,
String partition,
int high)
throws MetaException,
UnknownDBException,
UnknownTableException,
com.facebook.thrift.TException
- Throws:
MetaException
UnknownDBException
UnknownTableException
com.facebook.thrift.TException
Copyright © 2009 The Apache Software Foundation