You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by am...@apache.org on 2011/09/05 10:47:06 UTC
svn commit: r1165207 [3/19] - in /hive/trunk: ./ cli/ eclipse-templates/
ivy/ jdbc/ lib/ metastore/ metastore/src/gen/thrift/gen-cpp/
metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/
metastore/src/gen/thrift/gen-php/hive_meta...
Modified: hive/trunk/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h?rev=1165207&r1=1165206&r2=1165207&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h Mon Sep 5 08:47:02 2011
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift
+ * Autogenerated by Thrift Compiler (0.7.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*/
@@ -301,6 +301,10 @@ class ThriftHiveMetastore_create_databas
_ThriftHiveMetastore_create_database_args__isset __isset;
+ void __set_database(const Database& val) {
+ database = val;
+ }
+
bool operator == (const ThriftHiveMetastore_create_database_args & rhs) const
{
if (!(database == rhs.database))
@@ -352,6 +356,18 @@ class ThriftHiveMetastore_create_databas
_ThriftHiveMetastore_create_database_result__isset __isset;
+ void __set_o1(const AlreadyExistsException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const InvalidObjectException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_create_database_result & rhs) const
{
if (!(o1 == rhs.o1))
@@ -413,6 +429,10 @@ class ThriftHiveMetastore_get_database_a
_ThriftHiveMetastore_get_database_args__isset __isset;
+ void __set_name(const std::string& val) {
+ name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_database_args & rhs) const
{
if (!(name == rhs.name))
@@ -464,6 +484,18 @@ class ThriftHiveMetastore_get_database_r
_ThriftHiveMetastore_get_database_result__isset __isset;
+ void __set_success(const Database& val) {
+ success = val;
+ }
+
+ void __set_o1(const NoSuchObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_database_result & rhs) const
{
if (!(success == rhs.success))
@@ -529,6 +561,18 @@ class ThriftHiveMetastore_drop_database_
_ThriftHiveMetastore_drop_database_args__isset __isset;
+ void __set_name(const std::string& val) {
+ name = val;
+ }
+
+ void __set_deleteData(const bool val) {
+ deleteData = val;
+ }
+
+ void __set_cascade(const bool val) {
+ cascade = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_database_args & rhs) const
{
if (!(name == rhs.name))
@@ -586,6 +630,18 @@ class ThriftHiveMetastore_drop_database_
_ThriftHiveMetastore_drop_database_result__isset __isset;
+ void __set_o1(const NoSuchObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const InvalidOperationException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_database_result & rhs) const
{
if (!(o1 == rhs.o1))
@@ -647,6 +703,10 @@ class ThriftHiveMetastore_get_databases_
_ThriftHiveMetastore_get_databases_args__isset __isset;
+ void __set_pattern(const std::string& val) {
+ pattern = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_databases_args & rhs) const
{
if (!(pattern == rhs.pattern))
@@ -696,6 +756,14 @@ class ThriftHiveMetastore_get_databases_
_ThriftHiveMetastore_get_databases_result__isset __isset;
+ void __set_success(const std::vector<std::string> & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_databases_result & rhs) const
{
if (!(success == rhs.success))
@@ -792,6 +860,14 @@ class ThriftHiveMetastore_get_all_databa
_ThriftHiveMetastore_get_all_databases_result__isset __isset;
+ void __set_success(const std::vector<std::string> & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_all_databases_result & rhs) const
{
if (!(success == rhs.success))
@@ -851,6 +927,14 @@ class ThriftHiveMetastore_alter_database
_ThriftHiveMetastore_alter_database_args__isset __isset;
+ void __set_dbname(const std::string& val) {
+ dbname = val;
+ }
+
+ void __set_db(const Database& val) {
+ db = val;
+ }
+
bool operator == (const ThriftHiveMetastore_alter_database_args & rhs) const
{
if (!(dbname == rhs.dbname))
@@ -903,6 +987,14 @@ class ThriftHiveMetastore_alter_database
_ThriftHiveMetastore_alter_database_result__isset __isset;
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const NoSuchObjectException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_alter_database_result & rhs) const
{
if (!(o1 == rhs.o1))
@@ -960,6 +1052,10 @@ class ThriftHiveMetastore_get_type_args
_ThriftHiveMetastore_get_type_args__isset __isset;
+ void __set_name(const std::string& val) {
+ name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_type_args & rhs) const
{
if (!(name == rhs.name))
@@ -1011,6 +1107,18 @@ class ThriftHiveMetastore_get_type_resul
_ThriftHiveMetastore_get_type_result__isset __isset;
+ void __set_success(const Type& val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const NoSuchObjectException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_type_result & rhs) const
{
if (!(success == rhs.success))
@@ -1072,6 +1180,10 @@ class ThriftHiveMetastore_create_type_ar
_ThriftHiveMetastore_create_type_args__isset __isset;
+ void __set_type(const Type& val) {
+ type = val;
+ }
+
bool operator == (const ThriftHiveMetastore_create_type_args & rhs) const
{
if (!(type == rhs.type))
@@ -1125,6 +1237,22 @@ class ThriftHiveMetastore_create_type_re
_ThriftHiveMetastore_create_type_result__isset __isset;
+ void __set_success(const bool val) {
+ success = val;
+ }
+
+ void __set_o1(const AlreadyExistsException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const InvalidObjectException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_create_type_result & rhs) const
{
if (!(success == rhs.success))
@@ -1190,6 +1318,10 @@ class ThriftHiveMetastore_drop_type_args
_ThriftHiveMetastore_drop_type_args__isset __isset;
+ void __set_type(const std::string& val) {
+ type = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_type_args & rhs) const
{
if (!(type == rhs.type))
@@ -1241,6 +1373,18 @@ class ThriftHiveMetastore_drop_type_resu
_ThriftHiveMetastore_drop_type_result__isset __isset;
+ void __set_success(const bool val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const NoSuchObjectException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_type_result & rhs) const
{
if (!(success == rhs.success))
@@ -1302,6 +1446,10 @@ class ThriftHiveMetastore_get_type_all_a
_ThriftHiveMetastore_get_type_all_args__isset __isset;
+ void __set_name(const std::string& val) {
+ name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_type_all_args & rhs) const
{
if (!(name == rhs.name))
@@ -1351,6 +1499,14 @@ class ThriftHiveMetastore_get_type_all_r
_ThriftHiveMetastore_get_type_all_result__isset __isset;
+ void __set_success(const std::map<std::string, Type> & val) {
+ success = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_type_all_result & rhs) const
{
if (!(success == rhs.success))
@@ -1410,6 +1566,14 @@ class ThriftHiveMetastore_get_fields_arg
_ThriftHiveMetastore_get_fields_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_table_name(const std::string& val) {
+ table_name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_fields_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -1466,6 +1630,22 @@ class ThriftHiveMetastore_get_fields_res
_ThriftHiveMetastore_get_fields_result__isset __isset;
+ void __set_success(const std::vector<FieldSchema> & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const UnknownTableException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const UnknownDBException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_fields_result & rhs) const
{
if (!(success == rhs.success))
@@ -1533,6 +1713,14 @@ class ThriftHiveMetastore_get_schema_arg
_ThriftHiveMetastore_get_schema_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_table_name(const std::string& val) {
+ table_name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_schema_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -1589,6 +1777,22 @@ class ThriftHiveMetastore_get_schema_res
_ThriftHiveMetastore_get_schema_result__isset __isset;
+ void __set_success(const std::vector<FieldSchema> & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const UnknownTableException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const UnknownDBException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_schema_result & rhs) const
{
if (!(success == rhs.success))
@@ -1654,6 +1858,10 @@ class ThriftHiveMetastore_create_table_a
_ThriftHiveMetastore_create_table_args__isset __isset;
+ void __set_tbl(const Table& val) {
+ tbl = val;
+ }
+
bool operator == (const ThriftHiveMetastore_create_table_args & rhs) const
{
if (!(tbl == rhs.tbl))
@@ -1707,6 +1915,22 @@ class ThriftHiveMetastore_create_table_r
_ThriftHiveMetastore_create_table_result__isset __isset;
+ void __set_o1(const AlreadyExistsException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const InvalidObjectException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
+ void __set_o4(const NoSuchObjectException& val) {
+ o4 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_create_table_result & rhs) const
{
if (!(o1 == rhs.o1))
@@ -1776,6 +2000,18 @@ class ThriftHiveMetastore_drop_table_arg
_ThriftHiveMetastore_drop_table_args__isset __isset;
+ void __set_dbname(const std::string& val) {
+ dbname = val;
+ }
+
+ void __set_name(const std::string& val) {
+ name = val;
+ }
+
+ void __set_deleteData(const bool val) {
+ deleteData = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_table_args & rhs) const
{
if (!(dbname == rhs.dbname))
@@ -1831,6 +2067,14 @@ class ThriftHiveMetastore_drop_table_res
_ThriftHiveMetastore_drop_table_result__isset __isset;
+ void __set_o1(const NoSuchObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_table_result & rhs) const
{
if (!(o1 == rhs.o1))
@@ -1890,6 +2134,14 @@ class ThriftHiveMetastore_get_tables_arg
_ThriftHiveMetastore_get_tables_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_pattern(const std::string& val) {
+ pattern = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_tables_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -1942,6 +2194,14 @@ class ThriftHiveMetastore_get_tables_res
_ThriftHiveMetastore_get_tables_result__isset __isset;
+ void __set_success(const std::vector<std::string> & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_tables_result & rhs) const
{
if (!(success == rhs.success))
@@ -1999,6 +2259,10 @@ class ThriftHiveMetastore_get_all_tables
_ThriftHiveMetastore_get_all_tables_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_all_tables_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -2048,6 +2312,14 @@ class ThriftHiveMetastore_get_all_tables
_ThriftHiveMetastore_get_all_tables_result__isset __isset;
+ void __set_success(const std::vector<std::string> & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_all_tables_result & rhs) const
{
if (!(success == rhs.success))
@@ -2107,6 +2379,14 @@ class ThriftHiveMetastore_get_table_args
_ThriftHiveMetastore_get_table_args__isset __isset;
+ void __set_dbname(const std::string& val) {
+ dbname = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_table_args & rhs) const
{
if (!(dbname == rhs.dbname))
@@ -2161,6 +2441,18 @@ class ThriftHiveMetastore_get_table_resu
_ThriftHiveMetastore_get_table_result__isset __isset;
+ void __set_success(const Table& val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const NoSuchObjectException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_table_result & rhs) const
{
if (!(success == rhs.success))
@@ -2224,6 +2516,14 @@ class ThriftHiveMetastore_get_table_obje
_ThriftHiveMetastore_get_table_objects_by_name_args__isset __isset;
+ void __set_dbname(const std::string& val) {
+ dbname = val;
+ }
+
+ void __set_tbl_names(const std::vector<std::string> & val) {
+ tbl_names = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_table_objects_by_name_args & rhs) const
{
if (!(dbname == rhs.dbname))
@@ -2280,6 +2580,22 @@ class ThriftHiveMetastore_get_table_obje
_ThriftHiveMetastore_get_table_objects_by_name_result__isset __isset;
+ void __set_success(const std::vector<Table> & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const InvalidOperationException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const UnknownDBException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_table_objects_by_name_result & rhs) const
{
if (!(success == rhs.success))
@@ -2349,6 +2665,18 @@ class ThriftHiveMetastore_get_table_name
_ThriftHiveMetastore_get_table_names_by_filter_args__isset __isset;
+ void __set_dbname(const std::string& val) {
+ dbname = val;
+ }
+
+ void __set_filter(const std::string& val) {
+ filter = val;
+ }
+
+ void __set_max_tables(const int16_t val) {
+ max_tables = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_table_names_by_filter_args & rhs) const
{
if (!(dbname == rhs.dbname))
@@ -2408,6 +2736,22 @@ class ThriftHiveMetastore_get_table_name
_ThriftHiveMetastore_get_table_names_by_filter_result__isset __isset;
+ void __set_success(const std::vector<std::string> & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const InvalidOperationException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const UnknownDBException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_table_names_by_filter_result & rhs) const
{
if (!(success == rhs.success))
@@ -2477,6 +2821,18 @@ class ThriftHiveMetastore_alter_table_ar
_ThriftHiveMetastore_alter_table_args__isset __isset;
+ void __set_dbname(const std::string& val) {
+ dbname = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_new_tbl(const Table& val) {
+ new_tbl = val;
+ }
+
bool operator == (const ThriftHiveMetastore_alter_table_args & rhs) const
{
if (!(dbname == rhs.dbname))
@@ -2532,6 +2888,14 @@ class ThriftHiveMetastore_alter_table_re
_ThriftHiveMetastore_alter_table_result__isset __isset;
+ void __set_o1(const InvalidOperationException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_alter_table_result & rhs) const
{
if (!(o1 == rhs.o1))
@@ -2589,6 +2953,10 @@ class ThriftHiveMetastore_add_partition_
_ThriftHiveMetastore_add_partition_args__isset __isset;
+ void __set_new_part(const Partition& val) {
+ new_part = val;
+ }
+
bool operator == (const ThriftHiveMetastore_add_partition_args & rhs) const
{
if (!(new_part == rhs.new_part))
@@ -2642,6 +3010,22 @@ class ThriftHiveMetastore_add_partition_
_ThriftHiveMetastore_add_partition_result__isset __isset;
+ void __set_success(const Partition& val) {
+ success = val;
+ }
+
+ void __set_o1(const InvalidObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const AlreadyExistsException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_add_partition_result & rhs) const
{
if (!(success == rhs.success))
@@ -2707,6 +3091,10 @@ class ThriftHiveMetastore_add_partitions
_ThriftHiveMetastore_add_partitions_args__isset __isset;
+ void __set_new_parts(const std::vector<Partition> & val) {
+ new_parts = val;
+ }
+
bool operator == (const ThriftHiveMetastore_add_partitions_args & rhs) const
{
if (!(new_parts == rhs.new_parts))
@@ -2760,6 +3148,22 @@ class ThriftHiveMetastore_add_partitions
_ThriftHiveMetastore_add_partitions_result__isset __isset;
+ void __set_success(const int32_t val) {
+ success = val;
+ }
+
+ void __set_o1(const InvalidObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const AlreadyExistsException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_add_partitions_result & rhs) const
{
if (!(success == rhs.success))
@@ -2829,6 +3233,18 @@ class ThriftHiveMetastore_append_partiti
_ThriftHiveMetastore_append_partition_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_vals(const std::vector<std::string> & val) {
+ part_vals = val;
+ }
+
bool operator == (const ThriftHiveMetastore_append_partition_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -2888,6 +3304,22 @@ class ThriftHiveMetastore_append_partiti
_ThriftHiveMetastore_append_partition_result__isset __isset;
+ void __set_success(const Partition& val) {
+ success = val;
+ }
+
+ void __set_o1(const InvalidObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const AlreadyExistsException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_append_partition_result & rhs) const
{
if (!(success == rhs.success))
@@ -2957,6 +3389,18 @@ class ThriftHiveMetastore_append_partiti
_ThriftHiveMetastore_append_partition_by_name_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_name(const std::string& val) {
+ part_name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_append_partition_by_name_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -3016,6 +3460,22 @@ class ThriftHiveMetastore_append_partiti
_ThriftHiveMetastore_append_partition_by_name_result__isset __isset;
+ void __set_success(const Partition& val) {
+ success = val;
+ }
+
+ void __set_o1(const InvalidObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const AlreadyExistsException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_append_partition_by_name_result & rhs) const
{
if (!(success == rhs.success))
@@ -3087,6 +3547,22 @@ class ThriftHiveMetastore_drop_partition
_ThriftHiveMetastore_drop_partition_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_vals(const std::vector<std::string> & val) {
+ part_vals = val;
+ }
+
+ void __set_deleteData(const bool val) {
+ deleteData = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_partition_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -3147,6 +3623,18 @@ class ThriftHiveMetastore_drop_partition
_ThriftHiveMetastore_drop_partition_result__isset __isset;
+ void __set_success(const bool val) {
+ success = val;
+ }
+
+ void __set_o1(const NoSuchObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_partition_result & rhs) const
{
if (!(success == rhs.success))
@@ -3214,6 +3702,22 @@ class ThriftHiveMetastore_drop_partition
_ThriftHiveMetastore_drop_partition_by_name_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_name(const std::string& val) {
+ part_name = val;
+ }
+
+ void __set_deleteData(const bool val) {
+ deleteData = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_partition_by_name_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -3274,6 +3778,18 @@ class ThriftHiveMetastore_drop_partition
_ThriftHiveMetastore_drop_partition_by_name_result__isset __isset;
+ void __set_success(const bool val) {
+ success = val;
+ }
+
+ void __set_o1(const NoSuchObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_partition_by_name_result & rhs) const
{
if (!(success == rhs.success))
@@ -3339,6 +3855,18 @@ class ThriftHiveMetastore_get_partition_
_ThriftHiveMetastore_get_partition_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_vals(const std::vector<std::string> & val) {
+ part_vals = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partition_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -3396,6 +3924,18 @@ class ThriftHiveMetastore_get_partition_
_ThriftHiveMetastore_get_partition_result__isset __isset;
+ void __set_success(const Partition& val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const NoSuchObjectException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partition_result & rhs) const
{
if (!(success == rhs.success))
@@ -3465,6 +4005,26 @@ class ThriftHiveMetastore_get_partition_
_ThriftHiveMetastore_get_partition_with_auth_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_vals(const std::vector<std::string> & val) {
+ part_vals = val;
+ }
+
+ void __set_user_name(const std::string& val) {
+ user_name = val;
+ }
+
+ void __set_group_names(const std::vector<std::string> & val) {
+ group_names = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partition_with_auth_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -3528,6 +4088,18 @@ class ThriftHiveMetastore_get_partition_
_ThriftHiveMetastore_get_partition_with_auth_result__isset __isset;
+ void __set_success(const Partition& val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const NoSuchObjectException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partition_with_auth_result & rhs) const
{
if (!(success == rhs.success))
@@ -3593,6 +4165,18 @@ class ThriftHiveMetastore_get_partition_
_ThriftHiveMetastore_get_partition_by_name_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_name(const std::string& val) {
+ part_name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partition_by_name_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -3650,6 +4234,18 @@ class ThriftHiveMetastore_get_partition_
_ThriftHiveMetastore_get_partition_by_name_result__isset __isset;
+ void __set_success(const Partition& val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const NoSuchObjectException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partition_by_name_result & rhs) const
{
if (!(success == rhs.success))
@@ -3715,6 +4311,18 @@ class ThriftHiveMetastore_get_partitions
_ThriftHiveMetastore_get_partitions_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_max_parts(const int16_t val) {
+ max_parts = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partitions_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -3772,6 +4380,18 @@ class ThriftHiveMetastore_get_partitions
_ThriftHiveMetastore_get_partitions_result__isset __isset;
+ void __set_success(const std::vector<Partition> & val) {
+ success = val;
+ }
+
+ void __set_o1(const NoSuchObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partitions_result & rhs) const
{
if (!(success == rhs.success))
@@ -3841,6 +4461,26 @@ class ThriftHiveMetastore_get_partitions
_ThriftHiveMetastore_get_partitions_with_auth_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_max_parts(const int16_t val) {
+ max_parts = val;
+ }
+
+ void __set_user_name(const std::string& val) {
+ user_name = val;
+ }
+
+ void __set_group_names(const std::vector<std::string> & val) {
+ group_names = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partitions_with_auth_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -3904,6 +4544,18 @@ class ThriftHiveMetastore_get_partitions
_ThriftHiveMetastore_get_partitions_with_auth_result__isset __isset;
+ void __set_success(const std::vector<Partition> & val) {
+ success = val;
+ }
+
+ void __set_o1(const NoSuchObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partitions_with_auth_result & rhs) const
{
if (!(success == rhs.success))
@@ -3969,6 +4621,18 @@ class ThriftHiveMetastore_get_partition_
_ThriftHiveMetastore_get_partition_names_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_max_parts(const int16_t val) {
+ max_parts = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partition_names_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -4024,6 +4688,14 @@ class ThriftHiveMetastore_get_partition_
_ThriftHiveMetastore_get_partition_names_result__isset __isset;
+ void __set_success(const std::vector<std::string> & val) {
+ success = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partition_names_result & rhs) const
{
if (!(success == rhs.success))
@@ -4087,6 +4759,22 @@ class ThriftHiveMetastore_get_partitions
_ThriftHiveMetastore_get_partitions_ps_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_vals(const std::vector<std::string> & val) {
+ part_vals = val;
+ }
+
+ void __set_max_parts(const int16_t val) {
+ max_parts = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partitions_ps_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -4145,6 +4833,14 @@ class ThriftHiveMetastore_get_partitions
_ThriftHiveMetastore_get_partitions_ps_result__isset __isset;
+ void __set_success(const std::vector<Partition> & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partitions_ps_result & rhs) const
{
if (!(success == rhs.success))
@@ -4212,6 +4908,30 @@ class ThriftHiveMetastore_get_partitions
_ThriftHiveMetastore_get_partitions_ps_with_auth_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_vals(const std::vector<std::string> & val) {
+ part_vals = val;
+ }
+
+ void __set_max_parts(const int16_t val) {
+ max_parts = val;
+ }
+
+ void __set_user_name(const std::string& val) {
+ user_name = val;
+ }
+
+ void __set_group_names(const std::vector<std::string> & val) {
+ group_names = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partitions_ps_with_auth_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -4278,6 +4998,18 @@ class ThriftHiveMetastore_get_partitions
_ThriftHiveMetastore_get_partitions_ps_with_auth_result__isset __isset;
+ void __set_success(const std::vector<Partition> & val) {
+ success = val;
+ }
+
+ void __set_o1(const NoSuchObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partitions_ps_with_auth_result & rhs) const
{
if (!(success == rhs.success))
@@ -4345,6 +5077,22 @@ class ThriftHiveMetastore_get_partition_
_ThriftHiveMetastore_get_partition_names_ps_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_vals(const std::vector<std::string> & val) {
+ part_vals = val;
+ }
+
+ void __set_max_parts(const int16_t val) {
+ max_parts = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partition_names_ps_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -4403,6 +5151,14 @@ class ThriftHiveMetastore_get_partition_
_ThriftHiveMetastore_get_partition_names_ps_result__isset __isset;
+ void __set_success(const std::vector<std::string> & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partition_names_ps_result & rhs) const
{
if (!(success == rhs.success))
@@ -4466,6 +5222,22 @@ class ThriftHiveMetastore_get_partitions
_ThriftHiveMetastore_get_partitions_by_filter_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_filter(const std::string& val) {
+ filter = val;
+ }
+
+ void __set_max_parts(const int16_t val) {
+ max_parts = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partitions_by_filter_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -4526,6 +5298,18 @@ class ThriftHiveMetastore_get_partitions
_ThriftHiveMetastore_get_partitions_by_filter_result__isset __isset;
+ void __set_success(const std::vector<Partition> & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const NoSuchObjectException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partitions_by_filter_result & rhs) const
{
if (!(success == rhs.success))
@@ -4591,6 +5375,18 @@ class ThriftHiveMetastore_get_partitions
_ThriftHiveMetastore_get_partitions_by_names_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_names(const std::vector<std::string> & val) {
+ names = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partitions_by_names_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -4648,6 +5444,18 @@ class ThriftHiveMetastore_get_partitions
_ThriftHiveMetastore_get_partitions_by_names_result__isset __isset;
+ void __set_success(const std::vector<Partition> & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const NoSuchObjectException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_partitions_by_names_result & rhs) const
{
if (!(success == rhs.success))
@@ -4713,6 +5521,18 @@ class ThriftHiveMetastore_alter_partitio
_ThriftHiveMetastore_alter_partition_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_new_part(const Partition& val) {
+ new_part = val;
+ }
+
bool operator == (const ThriftHiveMetastore_alter_partition_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -4768,6 +5588,14 @@ class ThriftHiveMetastore_alter_partitio
_ThriftHiveMetastore_alter_partition_result__isset __isset;
+ void __set_o1(const InvalidOperationException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_alter_partition_result & rhs) const
{
if (!(o1 == rhs.o1))
@@ -4827,6 +5655,14 @@ class ThriftHiveMetastore_get_config_val
_ThriftHiveMetastore_get_config_value_args__isset __isset;
+ void __set_name(const std::string& val) {
+ name = val;
+ }
+
+ void __set_defaultValue(const std::string& val) {
+ defaultValue = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_config_value_args & rhs) const
{
if (!(name == rhs.name))
@@ -4879,6 +5715,14 @@ class ThriftHiveMetastore_get_config_val
_ThriftHiveMetastore_get_config_value_result__isset __isset;
+ void __set_success(const std::string& val) {
+ success = val;
+ }
+
+ void __set_o1(const ConfigValSecurityException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_config_value_result & rhs) const
{
if (!(success == rhs.success))
@@ -4936,6 +5780,10 @@ class ThriftHiveMetastore_partition_name
_ThriftHiveMetastore_partition_name_to_vals_args__isset __isset;
+ void __set_part_name(const std::string& val) {
+ part_name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_partition_name_to_vals_args & rhs) const
{
if (!(part_name == rhs.part_name))
@@ -4985,6 +5833,14 @@ class ThriftHiveMetastore_partition_name
_ThriftHiveMetastore_partition_name_to_vals_result__isset __isset;
+ void __set_success(const std::vector<std::string> & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_partition_name_to_vals_result & rhs) const
{
if (!(success == rhs.success))
@@ -5042,6 +5898,10 @@ class ThriftHiveMetastore_partition_name
_ThriftHiveMetastore_partition_name_to_spec_args__isset __isset;
+ void __set_part_name(const std::string& val) {
+ part_name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_partition_name_to_spec_args & rhs) const
{
if (!(part_name == rhs.part_name))
@@ -5091,6 +5951,14 @@ class ThriftHiveMetastore_partition_name
_ThriftHiveMetastore_partition_name_to_spec_result__isset __isset;
+ void __set_success(const std::map<std::string, std::string> & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_partition_name_to_spec_result & rhs) const
{
if (!(success == rhs.success))
@@ -5154,6 +6022,22 @@ class ThriftHiveMetastore_markPartitionF
_ThriftHiveMetastore_markPartitionForEvent_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_vals(const std::map<std::string, std::string> & val) {
+ part_vals = val;
+ }
+
+ void __set_eventType(const PartitionEventType::type val) {
+ eventType = val;
+ }
+
bool operator == (const ThriftHiveMetastore_markPartitionForEvent_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -5220,6 +6104,30 @@ class ThriftHiveMetastore_markPartitionF
_ThriftHiveMetastore_markPartitionForEvent_result__isset __isset;
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const NoSuchObjectException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const UnknownDBException& val) {
+ o3 = val;
+ }
+
+ void __set_o4(const UnknownTableException& val) {
+ o4 = val;
+ }
+
+ void __set_o5(const UnknownPartitionException& val) {
+ o5 = val;
+ }
+
+ void __set_o6(const InvalidPartitionException& val) {
+ o6 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_markPartitionForEvent_result & rhs) const
{
if (!(o1 == rhs.o1))
@@ -5299,6 +6207,22 @@ class ThriftHiveMetastore_isPartitionMar
_ThriftHiveMetastore_isPartitionMarkedForEvent_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_vals(const std::map<std::string, std::string> & val) {
+ part_vals = val;
+ }
+
+ void __set_eventType(const PartitionEventType::type val) {
+ eventType = val;
+ }
+
bool operator == (const ThriftHiveMetastore_isPartitionMarkedForEvent_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -5367,6 +6291,34 @@ class ThriftHiveMetastore_isPartitionMar
_ThriftHiveMetastore_isPartitionMarkedForEvent_result__isset __isset;
+ void __set_success(const bool val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const NoSuchObjectException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const UnknownDBException& val) {
+ o3 = val;
+ }
+
+ void __set_o4(const UnknownTableException& val) {
+ o4 = val;
+ }
+
+ void __set_o5(const UnknownPartitionException& val) {
+ o5 = val;
+ }
+
+ void __set_o6(const InvalidPartitionException& val) {
+ o6 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_isPartitionMarkedForEvent_result & rhs) const
{
if (!(success == rhs.success))
@@ -5446,6 +6398,14 @@ class ThriftHiveMetastore_add_index_args
_ThriftHiveMetastore_add_index_args__isset __isset;
+ void __set_new_index(const Index& val) {
+ new_index = val;
+ }
+
+ void __set_index_table(const Table& val) {
+ index_table = val;
+ }
+
bool operator == (const ThriftHiveMetastore_add_index_args & rhs) const
{
if (!(new_index == rhs.new_index))
@@ -5502,6 +6462,22 @@ class ThriftHiveMetastore_add_index_resu
_ThriftHiveMetastore_add_index_result__isset __isset;
+ void __set_success(const Index& val) {
+ success = val;
+ }
+
+ void __set_o1(const InvalidObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const AlreadyExistsException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_add_index_result & rhs) const
{
if (!(success == rhs.success))
@@ -5573,6 +6549,22 @@ class ThriftHiveMetastore_alter_index_ar
_ThriftHiveMetastore_alter_index_args__isset __isset;
+ void __set_dbname(const std::string& val) {
+ dbname = val;
+ }
+
+ void __set_base_tbl_name(const std::string& val) {
+ base_tbl_name = val;
+ }
+
+ void __set_idx_name(const std::string& val) {
+ idx_name = val;
+ }
+
+ void __set_new_idx(const Index& val) {
+ new_idx = val;
+ }
+
bool operator == (const ThriftHiveMetastore_alter_index_args & rhs) const
{
if (!(dbname == rhs.dbname))
@@ -5631,6 +6623,14 @@ class ThriftHiveMetastore_alter_index_re
_ThriftHiveMetastore_alter_index_result__isset __isset;
+ void __set_o1(const InvalidOperationException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_alter_index_result & rhs) const
{
if (!(o1 == rhs.o1))
@@ -5694,6 +6694,22 @@ class ThriftHiveMetastore_drop_index_by_
_ThriftHiveMetastore_drop_index_by_name_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_index_name(const std::string& val) {
+ index_name = val;
+ }
+
+ void __set_deleteData(const bool val) {
+ deleteData = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_index_by_name_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -5754,6 +6770,18 @@ class ThriftHiveMetastore_drop_index_by_
_ThriftHiveMetastore_drop_index_by_name_result__isset __isset;
+ void __set_success(const bool val) {
+ success = val;
+ }
+
+ void __set_o1(const NoSuchObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_index_by_name_result & rhs) const
{
if (!(success == rhs.success))
@@ -5819,6 +6847,18 @@ class ThriftHiveMetastore_get_index_by_n
_ThriftHiveMetastore_get_index_by_name_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_index_name(const std::string& val) {
+ index_name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_index_by_name_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -5876,6 +6916,18 @@ class ThriftHiveMetastore_get_index_by_n
_ThriftHiveMetastore_get_index_by_name_result__isset __isset;
+ void __set_success(const Index& val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const NoSuchObjectException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_index_by_name_result & rhs) const
{
if (!(success == rhs.success))
@@ -5941,6 +6993,18 @@ class ThriftHiveMetastore_get_indexes_ar
_ThriftHiveMetastore_get_indexes_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_max_indexes(const int16_t val) {
+ max_indexes = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_indexes_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -5998,6 +7062,18 @@ class ThriftHiveMetastore_get_indexes_re
_ThriftHiveMetastore_get_indexes_result__isset __isset;
+ void __set_success(const std::vector<Index> & val) {
+ success = val;
+ }
+
+ void __set_o1(const NoSuchObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_indexes_result & rhs) const
{
if (!(success == rhs.success))
@@ -6063,6 +7139,18 @@ class ThriftHiveMetastore_get_index_name
_ThriftHiveMetastore_get_index_names_args__isset __isset;
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_max_indexes(const int16_t val) {
+ max_indexes = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_index_names_args & rhs) const
{
if (!(db_name == rhs.db_name))
@@ -6118,6 +7206,14 @@ class ThriftHiveMetastore_get_index_name
_ThriftHiveMetastore_get_index_names_result__isset __isset;
+ void __set_success(const std::vector<std::string> & val) {
+ success = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_index_names_result & rhs) const
{
if (!(success == rhs.success))
@@ -6175,6 +7271,10 @@ class ThriftHiveMetastore_create_role_ar
_ThriftHiveMetastore_create_role_args__isset __isset;
+ void __set_role(const Role& val) {
+ role = val;
+ }
+
bool operator == (const ThriftHiveMetastore_create_role_args & rhs) const
{
if (!(role == rhs.role))
@@ -6224,6 +7324,14 @@ class ThriftHiveMetastore_create_role_re
_ThriftHiveMetastore_create_role_result__isset __isset;
+ void __set_success(const bool val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_create_role_result & rhs) const
{
if (!(success == rhs.success))
@@ -6281,6 +7389,10 @@ class ThriftHiveMetastore_drop_role_args
_ThriftHiveMetastore_drop_role_args__isset __isset;
+ void __set_role_name(const std::string& val) {
+ role_name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_role_args & rhs) const
{
if (!(role_name == rhs.role_name))
@@ -6330,6 +7442,14 @@ class ThriftHiveMetastore_drop_role_resu
_ThriftHiveMetastore_drop_role_result__isset __isset;
+ void __set_success(const bool val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_drop_role_result & rhs) const
{
if (!(success == rhs.success))
@@ -6426,6 +7546,14 @@ class ThriftHiveMetastore_get_role_names
_ThriftHiveMetastore_get_role_names_result__isset __isset;
+ void __set_success(const std::vector<std::string> & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_role_names_result & rhs) const
{
if (!(success == rhs.success))
@@ -6493,6 +7621,30 @@ class ThriftHiveMetastore_grant_role_arg
_ThriftHiveMetastore_grant_role_args__isset __isset;
+ void __set_role_name(const std::string& val) {
+ role_name = val;
+ }
+
+ void __set_principal_name(const std::string& val) {
+ principal_name = val;
+ }
+
+ void __set_principal_type(const PrincipalType::type val) {
+ principal_type = val;
+ }
+
+ void __set_grantor(const std::string& val) {
+ grantor = val;
+ }
+
+ void __set_grantorType(const PrincipalType::type val) {
+ grantorType = val;
+ }
+
+ void __set_grant_option(const bool val) {
+ grant_option = val;
+ }
+
bool operator == (const ThriftHiveMetastore_grant_role_args & rhs) const
{
if (!(role_name == rhs.role_name))
@@ -6557,6 +7709,14 @@ class ThriftHiveMetastore_grant_role_res
_ThriftHiveMetastore_grant_role_result__isset __isset;
+ void __set_success(const bool val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_grant_role_result & rhs) const
{
if (!(success == rhs.success))
@@ -6618,6 +7778,18 @@ class ThriftHiveMetastore_revoke_role_ar
_ThriftHiveMetastore_revoke_role_args__isset __isset;
+ void __set_role_name(const std::string& val) {
+ role_name = val;
+ }
+
+ void __set_principal_name(const std::string& val) {
+ principal_name = val;
+ }
+
+ void __set_principal_type(const PrincipalType::type val) {
+ principal_type = val;
+ }
+
bool operator == (const ThriftHiveMetastore_revoke_role_args & rhs) const
{
if (!(role_name == rhs.role_name))
@@ -6673,6 +7845,14 @@ class ThriftHiveMetastore_revoke_role_re
_ThriftHiveMetastore_revoke_role_result__isset __isset;
+ void __set_success(const bool val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_revoke_role_result & rhs) const
{
if (!(success == rhs.success))
@@ -6732,6 +7912,14 @@ class ThriftHiveMetastore_list_roles_arg
_ThriftHiveMetastore_list_roles_args__isset __isset;
+ void __set_principal_name(const std::string& val) {
+ principal_name = val;
+ }
+
+ void __set_principal_type(const PrincipalType::type val) {
+ principal_type = val;
+ }
+
bool operator == (const ThriftHiveMetastore_list_roles_args & rhs) const
{
if (!(principal_name == rhs.principal_name))
@@ -6784,6 +7972,14 @@ class ThriftHiveMetastore_list_roles_res
_ThriftHiveMetastore_list_roles_result__isset __isset;
+ void __set_success(const std::vector<Role> & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_list_roles_result & rhs) const
{
if (!(success == rhs.success))
@@ -6845,6 +8041,18 @@ class ThriftHiveMetastore_get_privilege_
_ThriftHiveMetastore_get_privilege_set_args__isset __isset;
+ void __set_hiveObject(const HiveObjectRef& val) {
+ hiveObject = val;
+ }
+
+ void __set_user_name(const std::string& val) {
+ user_name = val;
+ }
+
+ void __set_group_names(const std::vector<std::string> & val) {
+ group_names = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_privilege_set_args & rhs) const
{
if (!(hiveObject == rhs.hiveObject))
@@ -6900,6 +8108,14 @@ class ThriftHiveMetastore_get_privilege_
_ThriftHiveMetastore_get_privilege_set_result__isset __isset;
+ void __set_success(const PrincipalPrivilegeSet& val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_privilege_set_result & rhs) const
{
if (!(success == rhs.success))
@@ -6961,6 +8177,18 @@ class ThriftHiveMetastore_list_privilege
_ThriftHiveMetastore_list_privileges_args__isset __isset;
+ void __set_principal_name(const std::string& val) {
+ principal_name = val;
+ }
+
+ void __set_principal_type(const PrincipalType::type val) {
+ principal_type = val;
+ }
+
+ void __set_hiveObject(const HiveObjectRef& val) {
+ hiveObject = val;
+ }
+
bool operator == (const ThriftHiveMetastore_list_privileges_args & rhs) const
{
if (!(principal_name == rhs.principal_name))
@@ -7016,6 +8244,14 @@ class ThriftHiveMetastore_list_privilege
_ThriftHiveMetastore_list_privileges_result__isset __isset;
+ void __set_success(const std::vector<HiveObjectPrivilege> & val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_list_privileges_result & rhs) const
{
if (!(success == rhs.success))
@@ -7073,6 +8309,10 @@ class ThriftHiveMetastore_grant_privileg
_ThriftHiveMetastore_grant_privileges_args__isset __isset;
+ void __set_privileges(const PrivilegeBag& val) {
+ privileges = val;
+ }
+
bool operator == (const ThriftHiveMetastore_grant_privileges_args & rhs) const
{
if (!(privileges == rhs.privileges))
@@ -7122,6 +8362,14 @@ class ThriftHiveMetastore_grant_privileg
_ThriftHiveMetastore_grant_privileges_result__isset __isset;
+ void __set_success(const bool val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_grant_privileges_result & rhs) const
{
if (!(success == rhs.success))
@@ -7179,6 +8427,10 @@ class ThriftHiveMetastore_revoke_privile
_ThriftHiveMetastore_revoke_privileges_args__isset __isset;
+ void __set_privileges(const PrivilegeBag& val) {
+ privileges = val;
+ }
+
bool operator == (const ThriftHiveMetastore_revoke_privileges_args & rhs) const
{
if (!(privileges == rhs.privileges))
@@ -7228,6 +8480,14 @@ class ThriftHiveMetastore_revoke_privile
_ThriftHiveMetastore_revoke_privileges_result__isset __isset;
+ void __set_success(const bool val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_revoke_privileges_result & rhs) const
{
if (!(success == rhs.success))
@@ -7287,6 +8547,14 @@ class ThriftHiveMetastore_get_delegation
_ThriftHiveMetastore_get_delegation_token_args__isset __isset;
+ void __set_token_owner(const std::string& val) {
+ token_owner = val;
+ }
+
+ void __set_renewer_kerberos_principal_name(const std::string& val) {
+ renewer_kerberos_principal_name = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_delegation_token_args & rhs) const
{
if (!(token_owner == rhs.token_owner))
@@ -7339,6 +8607,14 @@ class ThriftHiveMetastore_get_delegation
_ThriftHiveMetastore_get_delegation_token_result__isset __isset;
+ void __set_success(const std::string& val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_get_delegation_token_result & rhs) const
{
if (!(success == rhs.success))
@@ -7396,6 +8672,10 @@ class ThriftHiveMetastore_renew_delegati
_ThriftHiveMetastore_renew_delegation_token_args__isset __isset;
+ void __set_token_str_form(const std::string& val) {
+ token_str_form = val;
+ }
+
bool operator == (const ThriftHiveMetastore_renew_delegation_token_args & rhs) const
{
if (!(token_str_form == rhs.token_str_form))
@@ -7445,6 +8725,14 @@ class ThriftHiveMetastore_renew_delegati
_ThriftHiveMetastore_renew_delegation_token_result__isset __isset;
+ void __set_success(const int64_t val) {
+ success = val;
+ }
+
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_renew_delegation_token_result & rhs) const
{
if (!(success == rhs.success))
@@ -7502,6 +8790,10 @@ class ThriftHiveMetastore_cancel_delegat
_ThriftHiveMetastore_cancel_delegation_token_args__isset __isset;
+ void __set_token_str_form(const std::string& val) {
+ token_str_form = val;
+ }
+
bool operator == (const ThriftHiveMetastore_cancel_delegation_token_args & rhs) const
{
if (!(token_str_form == rhs.token_str_form))
@@ -7549,6 +8841,10 @@ class ThriftHiveMetastore_cancel_delegat
_ThriftHiveMetastore_cancel_delegation_token_result__isset __isset;
+ void __set_o1(const MetaException& val) {
+ o1 = val;
+ }
+
bool operator == (const ThriftHiveMetastore_cancel_delegation_token_result & rhs) const
{
if (!(o1 == rhs.o1))
@@ -7788,71 +9084,71 @@ class ThriftHiveMetastoreClient : virtua
class ThriftHiveMetastoreProcessor : virtual public ::apache::thrift::TProcessor, public facebook::fb303::FacebookServiceProcessor {
protected:
boost::shared_ptr<ThriftHiveMetastoreIf> iface_;
- virtual bool process_fn(::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, std::string& fname, int32_t seqid);
+ virtual bool process_fn(::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, std::string& fname, int32_t seqid, void* callContext);
private:
- std::map<std::string, void (ThriftHiveMetastoreProcessor::*)(int32_t, ::apache::thrift::protocol::TProtocol*, ::apache::thrift::protocol::TProtocol*)> processMap_;
- void process_create_database(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_database(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_drop_database(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_databases(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_all_databases(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_alter_database(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_type(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_create_type(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_drop_type(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_type_all(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_fields(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_schema(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_create_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_drop_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_tables(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_all_tables(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_table_objects_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_table_names_by_filter(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_alter_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_add_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_add_partitions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_append_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_append_partition_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_drop_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_drop_partition_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_partition_with_auth(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_partition_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_partitions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_partitions_with_auth(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_partition_names(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_partitions_ps(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_partitions_ps_with_auth(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_partition_names_ps(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_partitions_by_filter(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_partitions_by_names(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_alter_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_config_value(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_partition_name_to_vals(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_partition_name_to_spec(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_markPartitionForEvent(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_isPartitionMarkedForEvent(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_add_index(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_alter_index(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_drop_index_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_index_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_indexes(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_index_names(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_create_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_drop_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_role_names(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_grant_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_revoke_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_list_roles(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_privilege_set(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_list_privileges(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_grant_privileges(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_revoke_privileges(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_get_delegation_token(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_renew_delegation_token(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
- void process_cancel_delegation_token(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot);
+ std::map<std::string, void (ThriftHiveMetastoreProcessor::*)(int32_t, ::apache::thrift::protocol::TProtocol*, ::apache::thrift::protocol::TProtocol*, void*)> processMap_;
+ void process_create_database(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_database(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_drop_database(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_databases(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_all_databases(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_alter_database(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_type(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_create_type(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_drop_type(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_type_all(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_fields(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_schema(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_create_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_drop_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_tables(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_all_tables(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_table_objects_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_table_names_by_filter(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_alter_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_add_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_add_partitions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_append_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_append_partition_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_drop_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_drop_partition_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_partition_with_auth(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_partition_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_partitions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_partitions_with_auth(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_partition_names(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_partitions_ps(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_partitions_ps_with_auth(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_partition_names_ps(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_partitions_by_filter(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_partitions_by_names(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_alter_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_config_value(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_partition_name_to_vals(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_partition_name_to_spec(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_markPartitionForEvent(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_isPartitionMarkedForEvent(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_add_index(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_alter_index(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_drop_index_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_index_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_indexes(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_index_names(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_create_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_drop_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_role_names(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_grant_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_revoke_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_list_roles(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_privilege_set(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_list_privileges(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_grant_privileges(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_revoke_privileges(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_delegation_token(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_renew_delegation_token(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_cancel_delegation_token(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
public:
ThriftHiveMetastoreProcessor(boost::shared_ptr<ThriftHiveMetastoreIf> iface) :
facebook::fb303::FacebookServiceProcessor(iface),
@@ -7921,7 +9217,7 @@ class ThriftHiveMetastoreProcessor : vir
processMap_["cancel_delegation_token"] = &ThriftHiveMetastoreProcessor::process_cancel_delegation_token;
}
- virtual bool process(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> piprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> poprot);
+ virtual bool process(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> piprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> poprot, void* callContext);
virtual ~ThriftHiveMetastoreProcessor() {}
};
@@ -7943,15 +9239,15 @@ class ThriftHiveMetastoreMultiface : vir
}
public:
void create_database(const Database& database) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
ifaces_[i]->create_database(database);
}
}
void get_database(Database& _return, const std::string& name) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_database(_return, name);
return;
@@ -7962,15 +9258,15 @@ class ThriftHiveMetastoreMultiface : vir
}
void drop_database(const std::string& name, const bool deleteData, const bool cascade) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
ifaces_[i]->drop_database(name, deleteData, cascade);
}
}
void get_databases(std::vector<std::string> & _return, const std::string& pattern) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_databases(_return, pattern);
return;
@@ -7981,8 +9277,8 @@ class ThriftHiveMetastoreMultiface : vir
}
void get_all_databases(std::vector<std::string> & _return) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_all_databases(_return);
return;
@@ -7993,15 +9289,15 @@ class ThriftHiveMetastoreMultiface : vir
}
void alter_database(const std::string& dbname, const Database& db) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
ifaces_[i]->alter_database(dbname, db);
}
}
void get_type(Type& _return, const std::string& name) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_type(_return, name);
return;
@@ -8012,8 +9308,8 @@ class ThriftHiveMetastoreMultiface : vir
}
bool create_type(const Type& type) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
return ifaces_[i]->create_type(type);
} else {
@@ -8023,8 +9319,8 @@ class ThriftHiveMetastoreMultiface : vir
}
bool drop_type(const std::string& type) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
return ifaces_[i]->drop_type(type);
} else {
@@ -8034,8 +9330,8 @@ class ThriftHiveMetastoreMultiface : vir
}
void get_type_all(std::map<std::string, Type> & _return, const std::string& name) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_type_all(_return, name);
return;
@@ -8046,8 +9342,8 @@ class ThriftHiveMetastoreMultiface : vir
}
void get_fields(std::vector<FieldSchema> & _return, const std::string& db_name, const std::string& table_name) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_fields(_return, db_name, table_name);
return;
@@ -8058,8 +9354,8 @@ class ThriftHiveMetastoreMultiface : vir
}
void get_schema(std::vector<FieldSchema> & _return, const std::string& db_name, const std::string& table_name) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_schema(_return, db_name, table_name);
return;
@@ -8070,22 +9366,22 @@ class ThriftHiveMetastoreMultiface : vir
}
void create_table(const Table& tbl) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
ifaces_[i]->create_table(tbl);
}
}
void drop_table(const std::string& dbname, const std::string& name, const bool deleteData) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
ifaces_[i]->drop_table(dbname, name, deleteData);
}
}
void get_tables(std::vector<std::string> & _return, const std::string& db_name, const std::string& pattern) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_tables(_return, db_name, pattern);
return;
@@ -8096,8 +9392,8 @@ class ThriftHiveMetastoreMultiface : vir
}
void get_all_tables(std::vector<std::string> & _return, const std::string& db_name) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_all_tables(_return, db_name);
return;
@@ -8108,8 +9404,8 @@ class ThriftHiveMetastoreMultiface : vir
}
void get_table(Table& _return, const std::string& dbname, const std::string& tbl_name) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_table(_return, dbname, tbl_name);
return;
@@ -8120,8 +9416,8 @@ class ThriftHiveMetastoreMultiface : vir
}
void get_table_objects_by_name(std::vector<Table> & _return, const std::string& dbname, const std::vector<std::string> & tbl_names) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_table_objects_by_name(_return, dbname, tbl_names);
return;
@@ -8132,8 +9428,8 @@ class ThriftHiveMetastoreMultiface : vir
}
void get_table_names_by_filter(std::vector<std::string> & _return, const std::string& dbname, const std::string& filter, const int16_t max_tables) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_table_names_by_filter(_return, dbname, filter, max_tables);
return;
@@ -8144,15 +9440,15 @@ class ThriftHiveMetastoreMultiface : vir
}
void alter_table(const std::string& dbname, const std::string& tbl_name, const Table& new_tbl) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
ifaces_[i]->alter_table(dbname, tbl_name, new_tbl);
}
}
void add_partition(Partition& _return, const Partition& new_part) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->add_partition(_return, new_part);
return;
@@ -8163,8 +9459,8 @@ class ThriftHiveMetastoreMultiface : vir
}
int32_t add_partitions(const std::vector<Partition> & new_parts) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
return ifaces_[i]->add_partitions(new_parts);
} else {
@@ -8174,8 +9470,8 @@ class ThriftHiveMetastoreMultiface : vir
}
void append_partition(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & part_vals) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->append_partition(_return, db_name, tbl_name, part_vals);
return;
@@ -8186,8 +9482,8 @@ class ThriftHiveMetastoreMultiface : vir
}
void append_partition_by_name(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::string& part_name) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->append_partition_by_name(_return, db_name, tbl_name, part_name);
return;
@@ -8198,8 +9494,8 @@ class ThriftHiveMetastoreMultiface : vir
}
bool drop_partition(const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & part_vals, const bool deleteData) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
return ifaces_[i]->drop_partition(db_name, tbl_name, part_vals, deleteData);
} else {
@@ -8209,8 +9505,8 @@ class ThriftHiveMetastoreMultiface : vir
}
bool drop_partition_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const bool deleteData) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
return ifaces_[i]->drop_partition_by_name(db_name, tbl_name, part_name, deleteData);
} else {
@@ -8220,8 +9516,8 @@ class ThriftHiveMetastoreMultiface : vir
}
void get_partition(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & part_vals) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_partition(_return, db_name, tbl_name, part_vals);
return;
@@ -8232,8 +9528,8 @@ class ThriftHiveMetastoreMultiface : vir
}
void get_partition_with_auth(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & part_vals, const std::string& user_name, const std::vector<std::string> & group_names) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_partition_with_auth(_return, db_name, tbl_name, part_vals, user_name, group_names);
return;
@@ -8244,8 +9540,8 @@ class ThriftHiveMetastoreMultiface : vir
}
void get_partition_by_name(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::string& part_name) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_partition_by_name(_return, db_name, tbl_name, part_name);
return;
@@ -8256,8 +9552,8 @@ class ThriftHiveMetastoreMultiface : vir
}
void get_partitions(std::vector<Partition> & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_parts) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_partitions(_return, db_name, tbl_name, max_parts);
return;
@@ -8268,8 +9564,8 @@ class ThriftHiveMetastoreMultiface : vir
}
void get_partitions_with_auth(std::vector<Partition> & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_parts, const std::string& user_name, const std::vector<std::string> & group_names) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_partitions_with_auth(_return, db_name, tbl_name, max_parts, user_name, group_names);
return;
@@ -8280,8 +9576,8 @@ class ThriftHiveMetastoreMultiface : vir
}
void get_partition_names(std::vector<std::string> & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_parts) {
- uint32_t sz = ifaces_.size();
- for (uint32_t i = 0; i < sz; ++i) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
if (i == sz - 1) {
ifaces_[i]->get_partition_names(_return, db_name, tbl_name, max_parts);
return;
[... 325 lines stripped ...]