org.apache.hadoop.hive.metastore.api
Class ThriftMetaStore.Client
java.lang.Object
com.facebook.fb303.FacebookService.Client
org.apache.hadoop.hive.metastore.api.ThriftMetaStore.Client
- All Implemented Interfaces:
- com.facebook.fb303.FacebookService.Iface, ThriftMetaStore.Iface
- Enclosing class:
- ThriftMetaStore
public static class ThriftMetaStore.Client
- extends com.facebook.fb303.FacebookService.Client
- implements ThriftMetaStore.Iface
Fields inherited from class com.facebook.fb303.FacebookService.Client |
iprot_, oprot_, seqid_ |
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)
|
void |
recv_alter_table()
|
List<String> |
recv_cat()
|
void |
recv_create_table()
|
void |
recv_drop_table()
|
List<String> |
recv_get_dbs()
|
List<FieldSchema> |
recv_get_fields()
|
List<String> |
recv_get_partitions()
|
Map<String,String> |
recv_get_schema()
|
List<String> |
recv_get_tables()
|
boolean |
recv_table_exists()
|
void |
recv_truncate_table()
|
void |
send_alter_table(String db_name,
String table_name,
Map<String,String> schema)
|
void |
send_cat(String db_name,
String table_name,
String partition,
int high)
|
void |
send_create_table(String db_name,
String table_name,
Map<String,String> schema)
|
void |
send_drop_table(String db_name,
String table_name)
|
void |
send_get_dbs()
|
void |
send_get_fields(String db_name,
String table_name)
|
void |
send_get_partitions(String db_name,
String table_name)
|
void |
send_get_schema(String table_name)
|
void |
send_get_tables(String db_name,
String pattern)
|
void |
send_table_exists(String db_name,
String table_name)
|
void |
send_truncate_table(String db_name,
String table_name,
String partition)
|
boolean |
table_exists(String db_name,
String table_name)
|
void |
truncate_table(String db_name,
String table_name,
String partition)
|
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 com.facebook.fb303.FacebookService.Iface |
aliveSince, getCounter, getCounters, getLimitedReflection, getName, getOption, getOptions, getStatus, getStatusDetails, getVersion, reinitialize, setOption, shutdown |
ThriftMetaStore.Client
public ThriftMetaStore.Client(com.facebook.thrift.protocol.TProtocol prot)
ThriftMetaStore.Client
public ThriftMetaStore.Client(com.facebook.thrift.protocol.TProtocol iprot,
com.facebook.thrift.protocol.TProtocol oprot)
get_fields
public List<FieldSchema> get_fields(String db_name,
String table_name)
throws MetaException,
UnknownTableException,
UnknownDBException,
com.facebook.thrift.TException
- Specified by:
get_fields
in interface ThriftMetaStore.Iface
- Throws:
MetaException
UnknownTableException
UnknownDBException
com.facebook.thrift.TException
send_get_fields
public void send_get_fields(String db_name,
String table_name)
throws com.facebook.thrift.TException
- Throws:
com.facebook.thrift.TException
recv_get_fields
public List<FieldSchema> recv_get_fields()
throws MetaException,
UnknownTableException,
UnknownDBException,
com.facebook.thrift.TException
- Throws:
MetaException
UnknownTableException
UnknownDBException
com.facebook.thrift.TException
get_tables
public List<String> get_tables(String db_name,
String pattern)
throws MetaException,
UnknownTableException,
UnknownDBException,
com.facebook.thrift.TException
- Specified by:
get_tables
in interface ThriftMetaStore.Iface
- Throws:
MetaException
UnknownTableException
UnknownDBException
com.facebook.thrift.TException
send_get_tables
public void send_get_tables(String db_name,
String pattern)
throws com.facebook.thrift.TException
- Throws:
com.facebook.thrift.TException
recv_get_tables
public List<String> recv_get_tables()
throws MetaException,
UnknownTableException,
UnknownDBException,
com.facebook.thrift.TException
- Throws:
MetaException
UnknownTableException
UnknownDBException
com.facebook.thrift.TException
get_schema
public Map<String,String> get_schema(String table_name)
throws MetaException,
UnknownTableException,
UnknownDBException,
com.facebook.thrift.TException
- Specified by:
get_schema
in interface ThriftMetaStore.Iface
- Throws:
MetaException
UnknownTableException
UnknownDBException
com.facebook.thrift.TException
send_get_schema
public void send_get_schema(String table_name)
throws com.facebook.thrift.TException
- Throws:
com.facebook.thrift.TException
recv_get_schema
public Map<String,String> recv_get_schema()
throws MetaException,
UnknownTableException,
UnknownDBException,
com.facebook.thrift.TException
- Throws:
MetaException
UnknownTableException
UnknownDBException
com.facebook.thrift.TException
alter_table
public void alter_table(String db_name,
String table_name,
Map<String,String> schema)
throws MetaException,
UnknownTableException,
UnknownDBException,
com.facebook.thrift.TException
- Specified by:
alter_table
in interface ThriftMetaStore.Iface
- Throws:
MetaException
UnknownTableException
UnknownDBException
com.facebook.thrift.TException
send_alter_table
public void send_alter_table(String db_name,
String table_name,
Map<String,String> schema)
throws com.facebook.thrift.TException
- Throws:
com.facebook.thrift.TException
recv_alter_table
public void recv_alter_table()
throws MetaException,
UnknownTableException,
UnknownDBException,
com.facebook.thrift.TException
- Throws:
MetaException
UnknownTableException
UnknownDBException
com.facebook.thrift.TException
create_table
public void create_table(String db_name,
String table_name,
Map<String,String> schema)
throws MetaException,
UnknownDBException,
com.facebook.thrift.TException
- Specified by:
create_table
in interface ThriftMetaStore.Iface
- Throws:
MetaException
UnknownDBException
com.facebook.thrift.TException
send_create_table
public void send_create_table(String db_name,
String table_name,
Map<String,String> schema)
throws com.facebook.thrift.TException
- Throws:
com.facebook.thrift.TException
recv_create_table
public void recv_create_table()
throws MetaException,
UnknownDBException,
com.facebook.thrift.TException
- Throws:
MetaException
UnknownDBException
com.facebook.thrift.TException
drop_table
public void drop_table(String db_name,
String table_name)
throws MetaException,
UnknownTableException,
UnknownDBException,
com.facebook.thrift.TException
- Specified by:
drop_table
in interface ThriftMetaStore.Iface
- Throws:
MetaException
UnknownTableException
UnknownDBException
com.facebook.thrift.TException
send_drop_table
public void send_drop_table(String db_name,
String table_name)
throws com.facebook.thrift.TException
- Throws:
com.facebook.thrift.TException
recv_drop_table
public void recv_drop_table()
throws MetaException,
UnknownTableException,
UnknownDBException,
com.facebook.thrift.TException
- Throws:
MetaException
UnknownTableException
UnknownDBException
com.facebook.thrift.TException
truncate_table
public void truncate_table(String db_name,
String table_name,
String partition)
throws MetaException,
UnknownTableException,
UnknownDBException,
com.facebook.thrift.TException
- Specified by:
truncate_table
in interface ThriftMetaStore.Iface
- Throws:
MetaException
UnknownTableException
UnknownDBException
com.facebook.thrift.TException
send_truncate_table
public void send_truncate_table(String db_name,
String table_name,
String partition)
throws com.facebook.thrift.TException
- Throws:
com.facebook.thrift.TException
recv_truncate_table
public void recv_truncate_table()
throws MetaException,
UnknownTableException,
UnknownDBException,
com.facebook.thrift.TException
- Throws:
MetaException
UnknownTableException
UnknownDBException
com.facebook.thrift.TException
table_exists
public boolean table_exists(String db_name,
String table_name)
throws MetaException,
UnknownDBException,
com.facebook.thrift.TException
- Specified by:
table_exists
in interface ThriftMetaStore.Iface
- Throws:
MetaException
UnknownDBException
com.facebook.thrift.TException
send_table_exists
public void send_table_exists(String db_name,
String table_name)
throws com.facebook.thrift.TException
- Throws:
com.facebook.thrift.TException
recv_table_exists
public boolean recv_table_exists()
throws MetaException,
UnknownDBException,
com.facebook.thrift.TException
- Throws:
MetaException
UnknownDBException
com.facebook.thrift.TException
get_partitions
public List<String> get_partitions(String db_name,
String table_name)
throws MetaException,
UnknownTableException,
UnknownDBException,
com.facebook.thrift.TException
- Specified by:
get_partitions
in interface ThriftMetaStore.Iface
- Throws:
MetaException
UnknownTableException
UnknownDBException
com.facebook.thrift.TException
send_get_partitions
public void send_get_partitions(String db_name,
String table_name)
throws com.facebook.thrift.TException
- Throws:
com.facebook.thrift.TException
recv_get_partitions
public List<String> recv_get_partitions()
throws MetaException,
UnknownTableException,
UnknownDBException,
com.facebook.thrift.TException
- Throws:
MetaException
UnknownTableException
UnknownDBException
com.facebook.thrift.TException
get_dbs
public List<String> get_dbs()
throws MetaException,
com.facebook.thrift.TException
- Specified by:
get_dbs
in interface ThriftMetaStore.Iface
- Throws:
MetaException
com.facebook.thrift.TException
send_get_dbs
public void send_get_dbs()
throws com.facebook.thrift.TException
- Throws:
com.facebook.thrift.TException
recv_get_dbs
public List<String> recv_get_dbs()
throws MetaException,
com.facebook.thrift.TException
- Throws:
MetaException
com.facebook.thrift.TException
cat
public List<String> cat(String db_name,
String table_name,
String partition,
int high)
throws MetaException,
UnknownDBException,
UnknownTableException,
com.facebook.thrift.TException
- Specified by:
cat
in interface ThriftMetaStore.Iface
- Throws:
MetaException
UnknownDBException
UnknownTableException
com.facebook.thrift.TException
send_cat
public void send_cat(String db_name,
String table_name,
String partition,
int high)
throws com.facebook.thrift.TException
- Throws:
com.facebook.thrift.TException
recv_cat
public List<String> recv_cat()
throws MetaException,
UnknownDBException,
UnknownTableException,
com.facebook.thrift.TException
- Throws:
MetaException
UnknownDBException
UnknownTableException
com.facebook.thrift.TException
Copyright © 2009 The Apache Software Foundation