org.apache.hadoop.hive.metastore.api
Class ThriftHiveMetastore.Client

java.lang.Object
  extended by com.facebook.fb303.FacebookService.Client
      extended by org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.Client
All Implemented Interfaces:
com.facebook.fb303.FacebookService.Iface, ThriftHiveMetastore.Iface
Direct Known Subclasses:
ThriftHive.Client
Enclosing class:
ThriftHiveMetastore

public static class ThriftHiveMetastore.Client
extends com.facebook.fb303.FacebookService.Client
implements ThriftHiveMetastore.Iface


Field Summary
 
Fields inherited from class com.facebook.fb303.FacebookService.Client
iprot_, oprot_, seqid_
 
Constructor Summary
ThriftHiveMetastore.Client(org.apache.thrift.protocol.TProtocol prot)
           
ThriftHiveMetastore.Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
           
 
Method Summary
 Partition add_partition(Partition new_part)
           
 void alter_partition(String db_name, String tbl_name, Partition new_part)
           
 void alter_table(String dbname, String tbl_name, Table new_tbl)
           
 Partition append_partition_by_name(String db_name, String tbl_name, String part_name)
           
 Partition append_partition(String db_name, String tbl_name, List<String> part_vals)
           
 void create_database(Database database)
           
 void create_table(Table tbl)
           
 boolean create_type(Type type)
           
 void drop_database(String name, boolean deleteData)
           
 boolean drop_partition_by_name(String db_name, String tbl_name, String part_name, boolean deleteData)
           
 boolean drop_partition(String db_name, String tbl_name, List<String> part_vals, boolean deleteData)
           
 void drop_table(String dbname, String name, boolean deleteData)
           
 boolean drop_type(String type)
           
 List<String> get_all_databases()
           
 List<String> get_all_tables(String db_name)
           
 String get_config_value(String name, String defaultValue)
           
 Database get_database(String name)
           
 List<String> get_databases(String pattern)
           
 List<FieldSchema> get_fields(String db_name, String table_name)
           
 Partition get_partition_by_name(String db_name, String tbl_name, String part_name)
           
 List<String> get_partition_names_ps(String db_name, String tbl_name, List<String> part_vals, short max_parts)
           
 List<String> get_partition_names(String db_name, String tbl_name, short max_parts)
           
 Partition get_partition(String db_name, String tbl_name, List<String> part_vals)
           
 List<Partition> get_partitions_ps(String db_name, String tbl_name, List<String> part_vals, short max_parts)
           
 List<Partition> get_partitions(String db_name, String tbl_name, short max_parts)
           
 List<FieldSchema> get_schema(String db_name, String table_name)
           
 Table get_table(String dbname, String tbl_name)
           
 List<String> get_tables(String db_name, String pattern)
           
 Map<String,Type> get_type_all(String name)
           
 Type get_type(String name)
           
 Map<String,String> partition_name_to_spec(String part_name)
           
 List<String> partition_name_to_vals(String part_name)
           
 Partition recv_add_partition()
           
 void recv_alter_partition()
           
 void recv_alter_table()
           
 Partition recv_append_partition_by_name()
           
 Partition recv_append_partition()
           
 void recv_create_database()
           
 void recv_create_table()
           
 boolean recv_create_type()
           
 void recv_drop_database()
           
 boolean recv_drop_partition_by_name()
           
 boolean recv_drop_partition()
           
 void recv_drop_table()
           
 boolean recv_drop_type()
           
 List<String> recv_get_all_databases()
           
 List<String> recv_get_all_tables()
           
 String recv_get_config_value()
           
 Database recv_get_database()
           
 List<String> recv_get_databases()
           
 List<FieldSchema> recv_get_fields()
           
 Partition recv_get_partition_by_name()
           
 List<String> recv_get_partition_names_ps()
           
 List<String> recv_get_partition_names()
           
 Partition recv_get_partition()
           
 List<Partition> recv_get_partitions_ps()
           
 List<Partition> recv_get_partitions()
           
 List<FieldSchema> recv_get_schema()
           
 Table recv_get_table()
           
 List<String> recv_get_tables()
           
 Map<String,Type> recv_get_type_all()
           
 Type recv_get_type()
           
 Map<String,String> recv_partition_name_to_spec()
           
 List<String> recv_partition_name_to_vals()
           
 void send_add_partition(Partition new_part)
           
 void send_alter_partition(String db_name, String tbl_name, Partition new_part)
           
 void send_alter_table(String dbname, String tbl_name, Table new_tbl)
           
 void send_append_partition_by_name(String db_name, String tbl_name, String part_name)
           
 void send_append_partition(String db_name, String tbl_name, List<String> part_vals)
           
 void send_create_database(Database database)
           
 void send_create_table(Table tbl)
           
 void send_create_type(Type type)
           
 void send_drop_database(String name, boolean deleteData)
           
 void send_drop_partition_by_name(String db_name, String tbl_name, String part_name, boolean deleteData)
           
 void send_drop_partition(String db_name, String tbl_name, List<String> part_vals, boolean deleteData)
           
 void send_drop_table(String dbname, String name, boolean deleteData)
           
 void send_drop_type(String type)
           
 void send_get_all_databases()
           
 void send_get_all_tables(String db_name)
           
 void send_get_config_value(String name, String defaultValue)
           
 void send_get_database(String name)
           
 void send_get_databases(String pattern)
           
 void send_get_fields(String db_name, String table_name)
           
 void send_get_partition_by_name(String db_name, String tbl_name, String part_name)
           
 void send_get_partition_names_ps(String db_name, String tbl_name, List<String> part_vals, short max_parts)
           
 void send_get_partition_names(String db_name, String tbl_name, short max_parts)
           
 void send_get_partition(String db_name, String tbl_name, List<String> part_vals)
           
 void send_get_partitions_ps(String db_name, String tbl_name, List<String> part_vals, short max_parts)
           
 void send_get_partitions(String db_name, String tbl_name, short max_parts)
           
 void send_get_schema(String db_name, String table_name)
           
 void send_get_table(String dbname, String tbl_name)
           
 void send_get_tables(String db_name, String pattern)
           
 void send_get_type_all(String name)
           
 void send_get_type(String name)
           
 void send_partition_name_to_spec(String part_name)
           
 void send_partition_name_to_vals(String part_name)
           
 
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 com.facebook.fb303.FacebookService.Iface
aliveSince, getCounter, getCounters, getCpuProfile, getName, getOption, getOptions, getStatus, getStatusDetails, getVersion, reinitialize, setOption, shutdown
 

Constructor Detail

ThriftHiveMetastore.Client

public ThriftHiveMetastore.Client(org.apache.thrift.protocol.TProtocol prot)

ThriftHiveMetastore.Client

public ThriftHiveMetastore.Client(org.apache.thrift.protocol.TProtocol iprot,
                                  org.apache.thrift.protocol.TProtocol oprot)
Method Detail

create_database

public void create_database(Database database)
                     throws AlreadyExistsException,
                            InvalidObjectException,
                            MetaException,
                            org.apache.thrift.TException
Specified by:
create_database in interface ThriftHiveMetastore.Iface
Throws:
AlreadyExistsException
InvalidObjectException
MetaException
org.apache.thrift.TException

send_create_database

public void send_create_database(Database database)
                          throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_create_database

public void recv_create_database()
                          throws AlreadyExistsException,
                                 InvalidObjectException,
                                 MetaException,
                                 org.apache.thrift.TException
Throws:
AlreadyExistsException
InvalidObjectException
MetaException
org.apache.thrift.TException

get_database

public Database get_database(String name)
                      throws NoSuchObjectException,
                             MetaException,
                             org.apache.thrift.TException
Specified by:
get_database in interface ThriftHiveMetastore.Iface
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

send_get_database

public void send_get_database(String name)
                       throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_database

public Database recv_get_database()
                           throws NoSuchObjectException,
                                  MetaException,
                                  org.apache.thrift.TException
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

drop_database

public void drop_database(String name,
                          boolean deleteData)
                   throws NoSuchObjectException,
                          InvalidOperationException,
                          MetaException,
                          org.apache.thrift.TException
Specified by:
drop_database in interface ThriftHiveMetastore.Iface
Throws:
NoSuchObjectException
InvalidOperationException
MetaException
org.apache.thrift.TException

send_drop_database

public void send_drop_database(String name,
                               boolean deleteData)
                        throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_drop_database

public void recv_drop_database()
                        throws NoSuchObjectException,
                               InvalidOperationException,
                               MetaException,
                               org.apache.thrift.TException
Throws:
NoSuchObjectException
InvalidOperationException
MetaException
org.apache.thrift.TException

get_databases

public List<String> get_databases(String pattern)
                           throws MetaException,
                                  org.apache.thrift.TException
Specified by:
get_databases in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_get_databases

public void send_get_databases(String pattern)
                        throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_databases

public List<String> recv_get_databases()
                                throws MetaException,
                                       org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

get_all_databases

public List<String> get_all_databases()
                               throws MetaException,
                                      org.apache.thrift.TException
Specified by:
get_all_databases in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_get_all_databases

public void send_get_all_databases()
                            throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_all_databases

public List<String> recv_get_all_databases()
                                    throws MetaException,
                                           org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

get_type

public Type get_type(String name)
              throws MetaException,
                     NoSuchObjectException,
                     org.apache.thrift.TException
Specified by:
get_type in interface ThriftHiveMetastore.Iface
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

send_get_type

public void send_get_type(String name)
                   throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_type

public Type recv_get_type()
                   throws MetaException,
                          NoSuchObjectException,
                          org.apache.thrift.TException
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

create_type

public boolean create_type(Type type)
                    throws AlreadyExistsException,
                           InvalidObjectException,
                           MetaException,
                           org.apache.thrift.TException
Specified by:
create_type in interface ThriftHiveMetastore.Iface
Throws:
AlreadyExistsException
InvalidObjectException
MetaException
org.apache.thrift.TException

send_create_type

public void send_create_type(Type type)
                      throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_create_type

public boolean recv_create_type()
                         throws AlreadyExistsException,
                                InvalidObjectException,
                                MetaException,
                                org.apache.thrift.TException
Throws:
AlreadyExistsException
InvalidObjectException
MetaException
org.apache.thrift.TException

drop_type

public boolean drop_type(String type)
                  throws MetaException,
                         NoSuchObjectException,
                         org.apache.thrift.TException
Specified by:
drop_type in interface ThriftHiveMetastore.Iface
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

send_drop_type

public void send_drop_type(String type)
                    throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_drop_type

public boolean recv_drop_type()
                       throws MetaException,
                              NoSuchObjectException,
                              org.apache.thrift.TException
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

get_type_all

public Map<String,Type> get_type_all(String name)
                              throws MetaException,
                                     org.apache.thrift.TException
Specified by:
get_type_all in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_get_type_all

public void send_get_type_all(String name)
                       throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_type_all

public Map<String,Type> recv_get_type_all()
                                   throws MetaException,
                                          org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

get_fields

public List<FieldSchema> get_fields(String db_name,
                                    String table_name)
                             throws MetaException,
                                    UnknownTableException,
                                    UnknownDBException,
                                    org.apache.thrift.TException
Specified by:
get_fields in interface ThriftHiveMetastore.Iface
Throws:
MetaException
UnknownTableException
UnknownDBException
org.apache.thrift.TException

send_get_fields

public void send_get_fields(String db_name,
                            String table_name)
                     throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_fields

public List<FieldSchema> recv_get_fields()
                                  throws MetaException,
                                         UnknownTableException,
                                         UnknownDBException,
                                         org.apache.thrift.TException
Throws:
MetaException
UnknownTableException
UnknownDBException
org.apache.thrift.TException

get_schema

public List<FieldSchema> get_schema(String db_name,
                                    String table_name)
                             throws MetaException,
                                    UnknownTableException,
                                    UnknownDBException,
                                    org.apache.thrift.TException
Specified by:
get_schema in interface ThriftHiveMetastore.Iface
Throws:
MetaException
UnknownTableException
UnknownDBException
org.apache.thrift.TException

send_get_schema

public void send_get_schema(String db_name,
                            String table_name)
                     throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_schema

public List<FieldSchema> recv_get_schema()
                                  throws MetaException,
                                         UnknownTableException,
                                         UnknownDBException,
                                         org.apache.thrift.TException
Throws:
MetaException
UnknownTableException
UnknownDBException
org.apache.thrift.TException

create_table

public void create_table(Table tbl)
                  throws AlreadyExistsException,
                         InvalidObjectException,
                         MetaException,
                         NoSuchObjectException,
                         org.apache.thrift.TException
Specified by:
create_table in interface ThriftHiveMetastore.Iface
Throws:
AlreadyExistsException
InvalidObjectException
MetaException
NoSuchObjectException
org.apache.thrift.TException

send_create_table

public void send_create_table(Table tbl)
                       throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_create_table

public void recv_create_table()
                       throws AlreadyExistsException,
                              InvalidObjectException,
                              MetaException,
                              NoSuchObjectException,
                              org.apache.thrift.TException
Throws:
AlreadyExistsException
InvalidObjectException
MetaException
NoSuchObjectException
org.apache.thrift.TException

drop_table

public void drop_table(String dbname,
                       String name,
                       boolean deleteData)
                throws NoSuchObjectException,
                       MetaException,
                       org.apache.thrift.TException
Specified by:
drop_table in interface ThriftHiveMetastore.Iface
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

send_drop_table

public void send_drop_table(String dbname,
                            String name,
                            boolean deleteData)
                     throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_drop_table

public void recv_drop_table()
                     throws NoSuchObjectException,
                            MetaException,
                            org.apache.thrift.TException
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

get_tables

public List<String> get_tables(String db_name,
                               String pattern)
                        throws MetaException,
                               org.apache.thrift.TException
Specified by:
get_tables in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_get_tables

public void send_get_tables(String db_name,
                            String pattern)
                     throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_tables

public List<String> recv_get_tables()
                             throws MetaException,
                                    org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

get_all_tables

public List<String> get_all_tables(String db_name)
                            throws MetaException,
                                   org.apache.thrift.TException
Specified by:
get_all_tables in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_get_all_tables

public void send_get_all_tables(String db_name)
                         throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_all_tables

public List<String> recv_get_all_tables()
                                 throws MetaException,
                                        org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

get_table

public Table get_table(String dbname,
                       String tbl_name)
                throws MetaException,
                       NoSuchObjectException,
                       org.apache.thrift.TException
Specified by:
get_table in interface ThriftHiveMetastore.Iface
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

send_get_table

public void send_get_table(String dbname,
                           String tbl_name)
                    throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_table

public Table recv_get_table()
                     throws MetaException,
                            NoSuchObjectException,
                            org.apache.thrift.TException
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

alter_table

public void alter_table(String dbname,
                        String tbl_name,
                        Table new_tbl)
                 throws InvalidOperationException,
                        MetaException,
                        org.apache.thrift.TException
Specified by:
alter_table in interface ThriftHiveMetastore.Iface
Throws:
InvalidOperationException
MetaException
org.apache.thrift.TException

send_alter_table

public void send_alter_table(String dbname,
                             String tbl_name,
                             Table new_tbl)
                      throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_alter_table

public void recv_alter_table()
                      throws InvalidOperationException,
                             MetaException,
                             org.apache.thrift.TException
Throws:
InvalidOperationException
MetaException
org.apache.thrift.TException

add_partition

public Partition add_partition(Partition new_part)
                        throws InvalidObjectException,
                               AlreadyExistsException,
                               MetaException,
                               org.apache.thrift.TException
Specified by:
add_partition in interface ThriftHiveMetastore.Iface
Throws:
InvalidObjectException
AlreadyExistsException
MetaException
org.apache.thrift.TException

send_add_partition

public void send_add_partition(Partition new_part)
                        throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_add_partition

public Partition recv_add_partition()
                             throws InvalidObjectException,
                                    AlreadyExistsException,
                                    MetaException,
                                    org.apache.thrift.TException
Throws:
InvalidObjectException
AlreadyExistsException
MetaException
org.apache.thrift.TException

append_partition

public Partition append_partition(String db_name,
                                  String tbl_name,
                                  List<String> part_vals)
                           throws InvalidObjectException,
                                  AlreadyExistsException,
                                  MetaException,
                                  org.apache.thrift.TException
Specified by:
append_partition in interface ThriftHiveMetastore.Iface
Throws:
InvalidObjectException
AlreadyExistsException
MetaException
org.apache.thrift.TException

send_append_partition

public void send_append_partition(String db_name,
                                  String tbl_name,
                                  List<String> part_vals)
                           throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_append_partition

public Partition recv_append_partition()
                                throws InvalidObjectException,
                                       AlreadyExistsException,
                                       MetaException,
                                       org.apache.thrift.TException
Throws:
InvalidObjectException
AlreadyExistsException
MetaException
org.apache.thrift.TException

append_partition_by_name

public Partition append_partition_by_name(String db_name,
                                          String tbl_name,
                                          String part_name)
                                   throws InvalidObjectException,
                                          AlreadyExistsException,
                                          MetaException,
                                          org.apache.thrift.TException
Specified by:
append_partition_by_name in interface ThriftHiveMetastore.Iface
Throws:
InvalidObjectException
AlreadyExistsException
MetaException
org.apache.thrift.TException

send_append_partition_by_name

public void send_append_partition_by_name(String db_name,
                                          String tbl_name,
                                          String part_name)
                                   throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_append_partition_by_name

public Partition recv_append_partition_by_name()
                                        throws InvalidObjectException,
                                               AlreadyExistsException,
                                               MetaException,
                                               org.apache.thrift.TException
Throws:
InvalidObjectException
AlreadyExistsException
MetaException
org.apache.thrift.TException

drop_partition

public boolean drop_partition(String db_name,
                              String tbl_name,
                              List<String> part_vals,
                              boolean deleteData)
                       throws NoSuchObjectException,
                              MetaException,
                              org.apache.thrift.TException
Specified by:
drop_partition in interface ThriftHiveMetastore.Iface
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

send_drop_partition

public void send_drop_partition(String db_name,
                                String tbl_name,
                                List<String> part_vals,
                                boolean deleteData)
                         throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_drop_partition

public boolean recv_drop_partition()
                            throws NoSuchObjectException,
                                   MetaException,
                                   org.apache.thrift.TException
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

drop_partition_by_name

public boolean drop_partition_by_name(String db_name,
                                      String tbl_name,
                                      String part_name,
                                      boolean deleteData)
                               throws NoSuchObjectException,
                                      MetaException,
                                      org.apache.thrift.TException
Specified by:
drop_partition_by_name in interface ThriftHiveMetastore.Iface
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

send_drop_partition_by_name

public void send_drop_partition_by_name(String db_name,
                                        String tbl_name,
                                        String part_name,
                                        boolean deleteData)
                                 throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_drop_partition_by_name

public boolean recv_drop_partition_by_name()
                                    throws NoSuchObjectException,
                                           MetaException,
                                           org.apache.thrift.TException
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

get_partition

public Partition get_partition(String db_name,
                               String tbl_name,
                               List<String> part_vals)
                        throws MetaException,
                               NoSuchObjectException,
                               org.apache.thrift.TException
Specified by:
get_partition in interface ThriftHiveMetastore.Iface
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

send_get_partition

public void send_get_partition(String db_name,
                               String tbl_name,
                               List<String> part_vals)
                        throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_partition

public Partition recv_get_partition()
                             throws MetaException,
                                    NoSuchObjectException,
                                    org.apache.thrift.TException
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

get_partition_by_name

public Partition get_partition_by_name(String db_name,
                                       String tbl_name,
                                       String part_name)
                                throws MetaException,
                                       NoSuchObjectException,
                                       org.apache.thrift.TException
Specified by:
get_partition_by_name in interface ThriftHiveMetastore.Iface
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

send_get_partition_by_name

public void send_get_partition_by_name(String db_name,
                                       String tbl_name,
                                       String part_name)
                                throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_partition_by_name

public Partition recv_get_partition_by_name()
                                     throws MetaException,
                                            NoSuchObjectException,
                                            org.apache.thrift.TException
Throws:
MetaException
NoSuchObjectException
org.apache.thrift.TException

get_partitions

public List<Partition> get_partitions(String db_name,
                                      String tbl_name,
                                      short max_parts)
                               throws NoSuchObjectException,
                                      MetaException,
                                      org.apache.thrift.TException
Specified by:
get_partitions in interface ThriftHiveMetastore.Iface
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

send_get_partitions

public void send_get_partitions(String db_name,
                                String tbl_name,
                                short max_parts)
                         throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_partitions

public List<Partition> recv_get_partitions()
                                    throws NoSuchObjectException,
                                           MetaException,
                                           org.apache.thrift.TException
Throws:
NoSuchObjectException
MetaException
org.apache.thrift.TException

get_partition_names

public List<String> get_partition_names(String db_name,
                                        String tbl_name,
                                        short max_parts)
                                 throws MetaException,
                                        org.apache.thrift.TException
Specified by:
get_partition_names in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_get_partition_names

public void send_get_partition_names(String db_name,
                                     String tbl_name,
                                     short max_parts)
                              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_partition_names

public List<String> recv_get_partition_names()
                                      throws MetaException,
                                             org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

get_partitions_ps

public List<Partition> get_partitions_ps(String db_name,
                                         String tbl_name,
                                         List<String> part_vals,
                                         short max_parts)
                                  throws MetaException,
                                         org.apache.thrift.TException
Specified by:
get_partitions_ps in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_get_partitions_ps

public void send_get_partitions_ps(String db_name,
                                   String tbl_name,
                                   List<String> part_vals,
                                   short max_parts)
                            throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_partitions_ps

public List<Partition> recv_get_partitions_ps()
                                       throws MetaException,
                                              org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

get_partition_names_ps

public List<String> get_partition_names_ps(String db_name,
                                           String tbl_name,
                                           List<String> part_vals,
                                           short max_parts)
                                    throws MetaException,
                                           org.apache.thrift.TException
Specified by:
get_partition_names_ps in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_get_partition_names_ps

public void send_get_partition_names_ps(String db_name,
                                        String tbl_name,
                                        List<String> part_vals,
                                        short max_parts)
                                 throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_partition_names_ps

public List<String> recv_get_partition_names_ps()
                                         throws MetaException,
                                                org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

alter_partition

public void alter_partition(String db_name,
                            String tbl_name,
                            Partition new_part)
                     throws InvalidOperationException,
                            MetaException,
                            org.apache.thrift.TException
Specified by:
alter_partition in interface ThriftHiveMetastore.Iface
Throws:
InvalidOperationException
MetaException
org.apache.thrift.TException

send_alter_partition

public void send_alter_partition(String db_name,
                                 String tbl_name,
                                 Partition new_part)
                          throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_alter_partition

public void recv_alter_partition()
                          throws InvalidOperationException,
                                 MetaException,
                                 org.apache.thrift.TException
Throws:
InvalidOperationException
MetaException
org.apache.thrift.TException

get_config_value

public String get_config_value(String name,
                               String defaultValue)
                        throws ConfigValSecurityException,
                               org.apache.thrift.TException
Specified by:
get_config_value in interface ThriftHiveMetastore.Iface
Throws:
ConfigValSecurityException
org.apache.thrift.TException

send_get_config_value

public void send_get_config_value(String name,
                                  String defaultValue)
                           throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_get_config_value

public String recv_get_config_value()
                             throws ConfigValSecurityException,
                                    org.apache.thrift.TException
Throws:
ConfigValSecurityException
org.apache.thrift.TException

partition_name_to_vals

public List<String> partition_name_to_vals(String part_name)
                                    throws MetaException,
                                           org.apache.thrift.TException
Specified by:
partition_name_to_vals in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_partition_name_to_vals

public void send_partition_name_to_vals(String part_name)
                                 throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_partition_name_to_vals

public List<String> recv_partition_name_to_vals()
                                         throws MetaException,
                                                org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException

partition_name_to_spec

public Map<String,String> partition_name_to_spec(String part_name)
                                          throws MetaException,
                                                 org.apache.thrift.TException
Specified by:
partition_name_to_spec in interface ThriftHiveMetastore.Iface
Throws:
MetaException
org.apache.thrift.TException

send_partition_name_to_spec

public void send_partition_name_to_spec(String part_name)
                                 throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_partition_name_to_spec

public Map<String,String> recv_partition_name_to_spec()
                                               throws MetaException,
                                                      org.apache.thrift.TException
Throws:
MetaException
org.apache.thrift.TException


Copyright © 2010 The Apache Software Foundation