You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by cw...@apache.org on 2012/11/07 05:55:04 UTC
svn commit: r1406465 [3/15] - in /hive/trunk:
common/src/java/org/apache/hadoop/hive/conf/ conf/ data/files/
metastore/if/ metastore/src/gen/thrift/gen-cpp/
metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/
metastore/src/gen/t...
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=1406465&r1=1406464&r2=1406465&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h Wed Nov 7 04:55:00 2012
@@ -70,6 +70,12 @@ class ThriftHiveMetastoreIf : virtual pu
virtual void get_index_by_name(Index& _return, const std::string& db_name, const std::string& tbl_name, const std::string& index_name) = 0;
virtual void get_indexes(std::vector<Index> & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_indexes) = 0;
virtual void get_index_names(std::vector<std::string> & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_indexes) = 0;
+ virtual bool update_table_column_statistics(const ColumnStatistics& stats_obj) = 0;
+ virtual bool update_partition_column_statistics(const ColumnStatistics& stats_obj) = 0;
+ virtual void get_table_column_statistics(ColumnStatistics& _return, const std::string& db_name, const std::string& tbl_name, const std::string& col_name) = 0;
+ virtual void get_partition_column_statistics(ColumnStatistics& _return, const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const std::string& col_name) = 0;
+ virtual bool delete_partition_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const std::string& col_name) = 0;
+ virtual bool delete_table_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& col_name) = 0;
virtual bool create_role(const Role& role) = 0;
virtual bool drop_role(const std::string& role_name) = 0;
virtual void get_role_names(std::vector<std::string> & _return) = 0;
@@ -261,6 +267,28 @@ class ThriftHiveMetastoreNull : virtual
void get_index_names(std::vector<std::string> & /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const int16_t /* max_indexes */) {
return;
}
+ bool update_table_column_statistics(const ColumnStatistics& /* stats_obj */) {
+ bool _return = false;
+ return _return;
+ }
+ bool update_partition_column_statistics(const ColumnStatistics& /* stats_obj */) {
+ bool _return = false;
+ return _return;
+ }
+ void get_table_column_statistics(ColumnStatistics& /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const std::string& /* col_name */) {
+ return;
+ }
+ void get_partition_column_statistics(ColumnStatistics& /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const std::string& /* part_name */, const std::string& /* col_name */) {
+ return;
+ }
+ bool delete_partition_column_statistics(const std::string& /* db_name */, const std::string& /* tbl_name */, const std::string& /* part_name */, const std::string& /* col_name */) {
+ bool _return = false;
+ return _return;
+ }
+ bool delete_table_column_statistics(const std::string& /* db_name */, const std::string& /* tbl_name */, const std::string& /* col_name */) {
+ bool _return = false;
+ return _return;
+ }
bool create_role(const Role& /* role */) {
bool _return = false;
return _return;
@@ -8167,38 +8195,38 @@ class ThriftHiveMetastore_get_index_name
};
-typedef struct _ThriftHiveMetastore_create_role_args__isset {
- _ThriftHiveMetastore_create_role_args__isset() : role(false) {}
- bool role;
-} _ThriftHiveMetastore_create_role_args__isset;
+typedef struct _ThriftHiveMetastore_update_table_column_statistics_args__isset {
+ _ThriftHiveMetastore_update_table_column_statistics_args__isset() : stats_obj(false) {}
+ bool stats_obj;
+} _ThriftHiveMetastore_update_table_column_statistics_args__isset;
-class ThriftHiveMetastore_create_role_args {
+class ThriftHiveMetastore_update_table_column_statistics_args {
public:
- ThriftHiveMetastore_create_role_args() {
+ ThriftHiveMetastore_update_table_column_statistics_args() {
}
- virtual ~ThriftHiveMetastore_create_role_args() throw() {}
+ virtual ~ThriftHiveMetastore_update_table_column_statistics_args() throw() {}
- Role role;
+ ColumnStatistics stats_obj;
- _ThriftHiveMetastore_create_role_args__isset __isset;
+ _ThriftHiveMetastore_update_table_column_statistics_args__isset __isset;
- void __set_role(const Role& val) {
- role = val;
+ void __set_stats_obj(const ColumnStatistics& val) {
+ stats_obj = val;
}
- bool operator == (const ThriftHiveMetastore_create_role_args & rhs) const
+ bool operator == (const ThriftHiveMetastore_update_table_column_statistics_args & rhs) const
{
- if (!(role == rhs.role))
+ if (!(stats_obj == rhs.stats_obj))
return false;
return true;
}
- bool operator != (const ThriftHiveMetastore_create_role_args &rhs) const {
+ bool operator != (const ThriftHiveMetastore_update_table_column_statistics_args &rhs) const {
return !(*this == rhs);
}
- bool operator < (const ThriftHiveMetastore_create_role_args & ) const;
+ bool operator < (const ThriftHiveMetastore_update_table_column_statistics_args & ) const;
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
@@ -8206,117 +8234,147 @@ class ThriftHiveMetastore_create_role_ar
};
-class ThriftHiveMetastore_create_role_pargs {
+class ThriftHiveMetastore_update_table_column_statistics_pargs {
public:
- virtual ~ThriftHiveMetastore_create_role_pargs() throw() {}
+ virtual ~ThriftHiveMetastore_update_table_column_statistics_pargs() throw() {}
- const Role* role;
+ const ColumnStatistics* stats_obj;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
-typedef struct _ThriftHiveMetastore_create_role_result__isset {
- _ThriftHiveMetastore_create_role_result__isset() : success(false), o1(false) {}
+typedef struct _ThriftHiveMetastore_update_table_column_statistics_result__isset {
+ _ThriftHiveMetastore_update_table_column_statistics_result__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {}
bool success;
bool o1;
-} _ThriftHiveMetastore_create_role_result__isset;
+ bool o2;
+ bool o3;
+ bool o4;
+} _ThriftHiveMetastore_update_table_column_statistics_result__isset;
-class ThriftHiveMetastore_create_role_result {
+class ThriftHiveMetastore_update_table_column_statistics_result {
public:
- ThriftHiveMetastore_create_role_result() : success(0) {
+ ThriftHiveMetastore_update_table_column_statistics_result() : success(0) {
}
- virtual ~ThriftHiveMetastore_create_role_result() throw() {}
+ virtual ~ThriftHiveMetastore_update_table_column_statistics_result() throw() {}
bool success;
- MetaException o1;
+ NoSuchObjectException o1;
+ InvalidObjectException o2;
+ MetaException o3;
+ InvalidInputException o4;
- _ThriftHiveMetastore_create_role_result__isset __isset;
+ _ThriftHiveMetastore_update_table_column_statistics_result__isset __isset;
void __set_success(const bool val) {
success = val;
}
- void __set_o1(const MetaException& val) {
+ void __set_o1(const NoSuchObjectException& val) {
o1 = val;
}
- bool operator == (const ThriftHiveMetastore_create_role_result & rhs) const
+ void __set_o2(const InvalidObjectException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
+ void __set_o4(const InvalidInputException& val) {
+ o4 = val;
+ }
+
+ bool operator == (const ThriftHiveMetastore_update_table_column_statistics_result & rhs) const
{
if (!(success == rhs.success))
return false;
if (!(o1 == rhs.o1))
return false;
+ if (!(o2 == rhs.o2))
+ return false;
+ if (!(o3 == rhs.o3))
+ return false;
+ if (!(o4 == rhs.o4))
+ return false;
return true;
}
- bool operator != (const ThriftHiveMetastore_create_role_result &rhs) const {
+ bool operator != (const ThriftHiveMetastore_update_table_column_statistics_result &rhs) const {
return !(*this == rhs);
}
- bool operator < (const ThriftHiveMetastore_create_role_result & ) const;
+ bool operator < (const ThriftHiveMetastore_update_table_column_statistics_result & ) const;
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
-typedef struct _ThriftHiveMetastore_create_role_presult__isset {
- _ThriftHiveMetastore_create_role_presult__isset() : success(false), o1(false) {}
+typedef struct _ThriftHiveMetastore_update_table_column_statistics_presult__isset {
+ _ThriftHiveMetastore_update_table_column_statistics_presult__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {}
bool success;
bool o1;
-} _ThriftHiveMetastore_create_role_presult__isset;
+ bool o2;
+ bool o3;
+ bool o4;
+} _ThriftHiveMetastore_update_table_column_statistics_presult__isset;
-class ThriftHiveMetastore_create_role_presult {
+class ThriftHiveMetastore_update_table_column_statistics_presult {
public:
- virtual ~ThriftHiveMetastore_create_role_presult() throw() {}
+ virtual ~ThriftHiveMetastore_update_table_column_statistics_presult() throw() {}
bool* success;
- MetaException o1;
+ NoSuchObjectException o1;
+ InvalidObjectException o2;
+ MetaException o3;
+ InvalidInputException o4;
- _ThriftHiveMetastore_create_role_presult__isset __isset;
+ _ThriftHiveMetastore_update_table_column_statistics_presult__isset __isset;
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
-typedef struct _ThriftHiveMetastore_drop_role_args__isset {
- _ThriftHiveMetastore_drop_role_args__isset() : role_name(false) {}
- bool role_name;
-} _ThriftHiveMetastore_drop_role_args__isset;
+typedef struct _ThriftHiveMetastore_update_partition_column_statistics_args__isset {
+ _ThriftHiveMetastore_update_partition_column_statistics_args__isset() : stats_obj(false) {}
+ bool stats_obj;
+} _ThriftHiveMetastore_update_partition_column_statistics_args__isset;
-class ThriftHiveMetastore_drop_role_args {
+class ThriftHiveMetastore_update_partition_column_statistics_args {
public:
- ThriftHiveMetastore_drop_role_args() : role_name("") {
+ ThriftHiveMetastore_update_partition_column_statistics_args() {
}
- virtual ~ThriftHiveMetastore_drop_role_args() throw() {}
+ virtual ~ThriftHiveMetastore_update_partition_column_statistics_args() throw() {}
- std::string role_name;
+ ColumnStatistics stats_obj;
- _ThriftHiveMetastore_drop_role_args__isset __isset;
+ _ThriftHiveMetastore_update_partition_column_statistics_args__isset __isset;
- void __set_role_name(const std::string& val) {
- role_name = val;
+ void __set_stats_obj(const ColumnStatistics& val) {
+ stats_obj = val;
}
- bool operator == (const ThriftHiveMetastore_drop_role_args & rhs) const
+ bool operator == (const ThriftHiveMetastore_update_partition_column_statistics_args & rhs) const
{
- if (!(role_name == rhs.role_name))
+ if (!(stats_obj == rhs.stats_obj))
return false;
return true;
}
- bool operator != (const ThriftHiveMetastore_drop_role_args &rhs) const {
+ bool operator != (const ThriftHiveMetastore_update_partition_column_statistics_args &rhs) const {
return !(*this == rhs);
}
- bool operator < (const ThriftHiveMetastore_drop_role_args & ) const;
+ bool operator < (const ThriftHiveMetastore_update_partition_column_statistics_args & ) const;
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
@@ -8324,104 +8382,163 @@ class ThriftHiveMetastore_drop_role_args
};
-class ThriftHiveMetastore_drop_role_pargs {
+class ThriftHiveMetastore_update_partition_column_statistics_pargs {
public:
- virtual ~ThriftHiveMetastore_drop_role_pargs() throw() {}
+ virtual ~ThriftHiveMetastore_update_partition_column_statistics_pargs() throw() {}
- const std::string* role_name;
+ const ColumnStatistics* stats_obj;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
-typedef struct _ThriftHiveMetastore_drop_role_result__isset {
- _ThriftHiveMetastore_drop_role_result__isset() : success(false), o1(false) {}
+typedef struct _ThriftHiveMetastore_update_partition_column_statistics_result__isset {
+ _ThriftHiveMetastore_update_partition_column_statistics_result__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {}
bool success;
bool o1;
-} _ThriftHiveMetastore_drop_role_result__isset;
+ bool o2;
+ bool o3;
+ bool o4;
+} _ThriftHiveMetastore_update_partition_column_statistics_result__isset;
-class ThriftHiveMetastore_drop_role_result {
+class ThriftHiveMetastore_update_partition_column_statistics_result {
public:
- ThriftHiveMetastore_drop_role_result() : success(0) {
+ ThriftHiveMetastore_update_partition_column_statistics_result() : success(0) {
}
- virtual ~ThriftHiveMetastore_drop_role_result() throw() {}
+ virtual ~ThriftHiveMetastore_update_partition_column_statistics_result() throw() {}
bool success;
- MetaException o1;
+ NoSuchObjectException o1;
+ InvalidObjectException o2;
+ MetaException o3;
+ InvalidInputException o4;
- _ThriftHiveMetastore_drop_role_result__isset __isset;
+ _ThriftHiveMetastore_update_partition_column_statistics_result__isset __isset;
void __set_success(const bool val) {
success = val;
}
- void __set_o1(const MetaException& val) {
+ void __set_o1(const NoSuchObjectException& val) {
o1 = val;
}
- bool operator == (const ThriftHiveMetastore_drop_role_result & rhs) const
+ void __set_o2(const InvalidObjectException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
+ void __set_o4(const InvalidInputException& val) {
+ o4 = val;
+ }
+
+ bool operator == (const ThriftHiveMetastore_update_partition_column_statistics_result & rhs) const
{
if (!(success == rhs.success))
return false;
if (!(o1 == rhs.o1))
return false;
+ if (!(o2 == rhs.o2))
+ return false;
+ if (!(o3 == rhs.o3))
+ return false;
+ if (!(o4 == rhs.o4))
+ return false;
return true;
}
- bool operator != (const ThriftHiveMetastore_drop_role_result &rhs) const {
+ bool operator != (const ThriftHiveMetastore_update_partition_column_statistics_result &rhs) const {
return !(*this == rhs);
}
- bool operator < (const ThriftHiveMetastore_drop_role_result & ) const;
+ bool operator < (const ThriftHiveMetastore_update_partition_column_statistics_result & ) const;
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
-typedef struct _ThriftHiveMetastore_drop_role_presult__isset {
- _ThriftHiveMetastore_drop_role_presult__isset() : success(false), o1(false) {}
+typedef struct _ThriftHiveMetastore_update_partition_column_statistics_presult__isset {
+ _ThriftHiveMetastore_update_partition_column_statistics_presult__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {}
bool success;
bool o1;
-} _ThriftHiveMetastore_drop_role_presult__isset;
+ bool o2;
+ bool o3;
+ bool o4;
+} _ThriftHiveMetastore_update_partition_column_statistics_presult__isset;
-class ThriftHiveMetastore_drop_role_presult {
+class ThriftHiveMetastore_update_partition_column_statistics_presult {
public:
- virtual ~ThriftHiveMetastore_drop_role_presult() throw() {}
+ virtual ~ThriftHiveMetastore_update_partition_column_statistics_presult() throw() {}
bool* success;
- MetaException o1;
+ NoSuchObjectException o1;
+ InvalidObjectException o2;
+ MetaException o3;
+ InvalidInputException o4;
- _ThriftHiveMetastore_drop_role_presult__isset __isset;
+ _ThriftHiveMetastore_update_partition_column_statistics_presult__isset __isset;
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
+typedef struct _ThriftHiveMetastore_get_table_column_statistics_args__isset {
+ _ThriftHiveMetastore_get_table_column_statistics_args__isset() : db_name(false), tbl_name(false), col_name(false) {}
+ bool db_name;
+ bool tbl_name;
+ bool col_name;
+} _ThriftHiveMetastore_get_table_column_statistics_args__isset;
-class ThriftHiveMetastore_get_role_names_args {
+class ThriftHiveMetastore_get_table_column_statistics_args {
public:
- ThriftHiveMetastore_get_role_names_args() {
+ ThriftHiveMetastore_get_table_column_statistics_args() : db_name(""), tbl_name(""), col_name("") {
}
- virtual ~ThriftHiveMetastore_get_role_names_args() throw() {}
+ virtual ~ThriftHiveMetastore_get_table_column_statistics_args() throw() {}
+
+ std::string db_name;
+ std::string tbl_name;
+ std::string col_name;
+ _ThriftHiveMetastore_get_table_column_statistics_args__isset __isset;
- bool operator == (const ThriftHiveMetastore_get_role_names_args & /* rhs */) const
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_col_name(const std::string& val) {
+ col_name = val;
+ }
+
+ bool operator == (const ThriftHiveMetastore_get_table_column_statistics_args & rhs) const
{
+ if (!(db_name == rhs.db_name))
+ return false;
+ if (!(tbl_name == rhs.tbl_name))
+ return false;
+ if (!(col_name == rhs.col_name))
+ return false;
return true;
}
- bool operator != (const ThriftHiveMetastore_get_role_names_args &rhs) const {
+ bool operator != (const ThriftHiveMetastore_get_table_column_statistics_args &rhs) const {
return !(*this == rhs);
}
- bool operator < (const ThriftHiveMetastore_get_role_names_args & ) const;
+ bool operator < (const ThriftHiveMetastore_get_table_column_statistics_args & ) const;
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
@@ -8429,113 +8546,1002 @@ class ThriftHiveMetastore_get_role_names
};
-class ThriftHiveMetastore_get_role_names_pargs {
+class ThriftHiveMetastore_get_table_column_statistics_pargs {
public:
- virtual ~ThriftHiveMetastore_get_role_names_pargs() throw() {}
+ virtual ~ThriftHiveMetastore_get_table_column_statistics_pargs() throw() {}
+ const std::string* db_name;
+ const std::string* tbl_name;
+ const std::string* col_name;
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
-typedef struct _ThriftHiveMetastore_get_role_names_result__isset {
- _ThriftHiveMetastore_get_role_names_result__isset() : success(false), o1(false) {}
+typedef struct _ThriftHiveMetastore_get_table_column_statistics_result__isset {
+ _ThriftHiveMetastore_get_table_column_statistics_result__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {}
bool success;
bool o1;
-} _ThriftHiveMetastore_get_role_names_result__isset;
+ bool o2;
+ bool o3;
+ bool o4;
+} _ThriftHiveMetastore_get_table_column_statistics_result__isset;
-class ThriftHiveMetastore_get_role_names_result {
+class ThriftHiveMetastore_get_table_column_statistics_result {
public:
- ThriftHiveMetastore_get_role_names_result() {
+ ThriftHiveMetastore_get_table_column_statistics_result() {
}
- virtual ~ThriftHiveMetastore_get_role_names_result() throw() {}
+ virtual ~ThriftHiveMetastore_get_table_column_statistics_result() throw() {}
- std::vector<std::string> success;
- MetaException o1;
+ ColumnStatistics success;
+ NoSuchObjectException o1;
+ MetaException o2;
+ InvalidInputException o3;
+ InvalidObjectException o4;
- _ThriftHiveMetastore_get_role_names_result__isset __isset;
+ _ThriftHiveMetastore_get_table_column_statistics_result__isset __isset;
- void __set_success(const std::vector<std::string> & val) {
+ void __set_success(const ColumnStatistics& val) {
success = val;
}
- void __set_o1(const MetaException& val) {
+ void __set_o1(const NoSuchObjectException& val) {
o1 = val;
}
- bool operator == (const ThriftHiveMetastore_get_role_names_result & rhs) const
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const InvalidInputException& val) {
+ o3 = val;
+ }
+
+ void __set_o4(const InvalidObjectException& val) {
+ o4 = val;
+ }
+
+ bool operator == (const ThriftHiveMetastore_get_table_column_statistics_result & rhs) const
{
if (!(success == rhs.success))
return false;
if (!(o1 == rhs.o1))
return false;
+ if (!(o2 == rhs.o2))
+ return false;
+ if (!(o3 == rhs.o3))
+ return false;
+ if (!(o4 == rhs.o4))
+ return false;
return true;
}
- bool operator != (const ThriftHiveMetastore_get_role_names_result &rhs) const {
+ bool operator != (const ThriftHiveMetastore_get_table_column_statistics_result &rhs) const {
return !(*this == rhs);
}
- bool operator < (const ThriftHiveMetastore_get_role_names_result & ) const;
+ bool operator < (const ThriftHiveMetastore_get_table_column_statistics_result & ) const;
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
};
-typedef struct _ThriftHiveMetastore_get_role_names_presult__isset {
- _ThriftHiveMetastore_get_role_names_presult__isset() : success(false), o1(false) {}
+typedef struct _ThriftHiveMetastore_get_table_column_statistics_presult__isset {
+ _ThriftHiveMetastore_get_table_column_statistics_presult__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {}
bool success;
bool o1;
-} _ThriftHiveMetastore_get_role_names_presult__isset;
+ bool o2;
+ bool o3;
+ bool o4;
+} _ThriftHiveMetastore_get_table_column_statistics_presult__isset;
-class ThriftHiveMetastore_get_role_names_presult {
+class ThriftHiveMetastore_get_table_column_statistics_presult {
public:
- virtual ~ThriftHiveMetastore_get_role_names_presult() throw() {}
+ virtual ~ThriftHiveMetastore_get_table_column_statistics_presult() throw() {}
- std::vector<std::string> * success;
- MetaException o1;
+ ColumnStatistics* success;
+ NoSuchObjectException o1;
+ MetaException o2;
+ InvalidInputException o3;
+ InvalidObjectException o4;
- _ThriftHiveMetastore_get_role_names_presult__isset __isset;
+ _ThriftHiveMetastore_get_table_column_statistics_presult__isset __isset;
uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
};
-typedef struct _ThriftHiveMetastore_grant_role_args__isset {
- _ThriftHiveMetastore_grant_role_args__isset() : role_name(false), principal_name(false), principal_type(false), grantor(false), grantorType(false), grant_option(false) {}
- bool role_name;
- bool principal_name;
- bool principal_type;
- bool grantor;
- bool grantorType;
- bool grant_option;
-} _ThriftHiveMetastore_grant_role_args__isset;
+typedef struct _ThriftHiveMetastore_get_partition_column_statistics_args__isset {
+ _ThriftHiveMetastore_get_partition_column_statistics_args__isset() : db_name(false), tbl_name(false), part_name(false), col_name(false) {}
+ bool db_name;
+ bool tbl_name;
+ bool part_name;
+ bool col_name;
+} _ThriftHiveMetastore_get_partition_column_statistics_args__isset;
-class ThriftHiveMetastore_grant_role_args {
+class ThriftHiveMetastore_get_partition_column_statistics_args {
public:
- ThriftHiveMetastore_grant_role_args() : role_name(""), principal_name(""), grantor(""), grant_option(0) {
+ ThriftHiveMetastore_get_partition_column_statistics_args() : db_name(""), tbl_name(""), part_name(""), col_name("") {
}
- virtual ~ThriftHiveMetastore_grant_role_args() throw() {}
+ virtual ~ThriftHiveMetastore_get_partition_column_statistics_args() throw() {}
- std::string role_name;
- std::string principal_name;
- PrincipalType::type principal_type;
- std::string grantor;
- PrincipalType::type grantorType;
- bool grant_option;
+ std::string db_name;
+ std::string tbl_name;
+ std::string part_name;
+ std::string col_name;
- _ThriftHiveMetastore_grant_role_args__isset __isset;
+ _ThriftHiveMetastore_get_partition_column_statistics_args__isset __isset;
- void __set_role_name(const std::string& val) {
- role_name = val;
+ 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_col_name(const std::string& val) {
+ col_name = val;
+ }
+
+ bool operator == (const ThriftHiveMetastore_get_partition_column_statistics_args & rhs) const
+ {
+ if (!(db_name == rhs.db_name))
+ return false;
+ if (!(tbl_name == rhs.tbl_name))
+ return false;
+ if (!(part_name == rhs.part_name))
+ return false;
+ if (!(col_name == rhs.col_name))
+ return false;
+ return true;
+ }
+ bool operator != (const ThriftHiveMetastore_get_partition_column_statistics_args &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const ThriftHiveMetastore_get_partition_column_statistics_args & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+
+class ThriftHiveMetastore_get_partition_column_statistics_pargs {
+ public:
+
+
+ virtual ~ThriftHiveMetastore_get_partition_column_statistics_pargs() throw() {}
+
+ const std::string* db_name;
+ const std::string* tbl_name;
+ const std::string* part_name;
+ const std::string* col_name;
+
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+typedef struct _ThriftHiveMetastore_get_partition_column_statistics_result__isset {
+ _ThriftHiveMetastore_get_partition_column_statistics_result__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+ bool o4;
+} _ThriftHiveMetastore_get_partition_column_statistics_result__isset;
+
+class ThriftHiveMetastore_get_partition_column_statistics_result {
+ public:
+
+ ThriftHiveMetastore_get_partition_column_statistics_result() {
+ }
+
+ virtual ~ThriftHiveMetastore_get_partition_column_statistics_result() throw() {}
+
+ ColumnStatistics success;
+ NoSuchObjectException o1;
+ MetaException o2;
+ InvalidInputException o3;
+ InvalidObjectException o4;
+
+ _ThriftHiveMetastore_get_partition_column_statistics_result__isset __isset;
+
+ void __set_success(const ColumnStatistics& val) {
+ success = val;
+ }
+
+ void __set_o1(const NoSuchObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const InvalidInputException& val) {
+ o3 = val;
+ }
+
+ void __set_o4(const InvalidObjectException& val) {
+ o4 = val;
+ }
+
+ bool operator == (const ThriftHiveMetastore_get_partition_column_statistics_result & rhs) const
+ {
+ if (!(success == rhs.success))
+ return false;
+ if (!(o1 == rhs.o1))
+ return false;
+ if (!(o2 == rhs.o2))
+ return false;
+ if (!(o3 == rhs.o3))
+ return false;
+ if (!(o4 == rhs.o4))
+ return false;
+ return true;
+ }
+ bool operator != (const ThriftHiveMetastore_get_partition_column_statistics_result &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const ThriftHiveMetastore_get_partition_column_statistics_result & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+typedef struct _ThriftHiveMetastore_get_partition_column_statistics_presult__isset {
+ _ThriftHiveMetastore_get_partition_column_statistics_presult__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+ bool o4;
+} _ThriftHiveMetastore_get_partition_column_statistics_presult__isset;
+
+class ThriftHiveMetastore_get_partition_column_statistics_presult {
+ public:
+
+
+ virtual ~ThriftHiveMetastore_get_partition_column_statistics_presult() throw() {}
+
+ ColumnStatistics* success;
+ NoSuchObjectException o1;
+ MetaException o2;
+ InvalidInputException o3;
+ InvalidObjectException o4;
+
+ _ThriftHiveMetastore_get_partition_column_statistics_presult__isset __isset;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+
+};
+
+typedef struct _ThriftHiveMetastore_delete_partition_column_statistics_args__isset {
+ _ThriftHiveMetastore_delete_partition_column_statistics_args__isset() : db_name(false), tbl_name(false), part_name(false), col_name(false) {}
+ bool db_name;
+ bool tbl_name;
+ bool part_name;
+ bool col_name;
+} _ThriftHiveMetastore_delete_partition_column_statistics_args__isset;
+
+class ThriftHiveMetastore_delete_partition_column_statistics_args {
+ public:
+
+ ThriftHiveMetastore_delete_partition_column_statistics_args() : db_name(""), tbl_name(""), part_name(""), col_name("") {
+ }
+
+ virtual ~ThriftHiveMetastore_delete_partition_column_statistics_args() throw() {}
+
+ std::string db_name;
+ std::string tbl_name;
+ std::string part_name;
+ std::string col_name;
+
+ _ThriftHiveMetastore_delete_partition_column_statistics_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_col_name(const std::string& val) {
+ col_name = val;
+ }
+
+ bool operator == (const ThriftHiveMetastore_delete_partition_column_statistics_args & rhs) const
+ {
+ if (!(db_name == rhs.db_name))
+ return false;
+ if (!(tbl_name == rhs.tbl_name))
+ return false;
+ if (!(part_name == rhs.part_name))
+ return false;
+ if (!(col_name == rhs.col_name))
+ return false;
+ return true;
+ }
+ bool operator != (const ThriftHiveMetastore_delete_partition_column_statistics_args &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const ThriftHiveMetastore_delete_partition_column_statistics_args & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+
+class ThriftHiveMetastore_delete_partition_column_statistics_pargs {
+ public:
+
+
+ virtual ~ThriftHiveMetastore_delete_partition_column_statistics_pargs() throw() {}
+
+ const std::string* db_name;
+ const std::string* tbl_name;
+ const std::string* part_name;
+ const std::string* col_name;
+
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+typedef struct _ThriftHiveMetastore_delete_partition_column_statistics_result__isset {
+ _ThriftHiveMetastore_delete_partition_column_statistics_result__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+ bool o4;
+} _ThriftHiveMetastore_delete_partition_column_statistics_result__isset;
+
+class ThriftHiveMetastore_delete_partition_column_statistics_result {
+ public:
+
+ ThriftHiveMetastore_delete_partition_column_statistics_result() : success(0) {
+ }
+
+ virtual ~ThriftHiveMetastore_delete_partition_column_statistics_result() throw() {}
+
+ bool success;
+ NoSuchObjectException o1;
+ MetaException o2;
+ InvalidObjectException o3;
+ InvalidInputException o4;
+
+ _ThriftHiveMetastore_delete_partition_column_statistics_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;
+ }
+
+ void __set_o3(const InvalidObjectException& val) {
+ o3 = val;
+ }
+
+ void __set_o4(const InvalidInputException& val) {
+ o4 = val;
+ }
+
+ bool operator == (const ThriftHiveMetastore_delete_partition_column_statistics_result & rhs) const
+ {
+ if (!(success == rhs.success))
+ return false;
+ if (!(o1 == rhs.o1))
+ return false;
+ if (!(o2 == rhs.o2))
+ return false;
+ if (!(o3 == rhs.o3))
+ return false;
+ if (!(o4 == rhs.o4))
+ return false;
+ return true;
+ }
+ bool operator != (const ThriftHiveMetastore_delete_partition_column_statistics_result &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const ThriftHiveMetastore_delete_partition_column_statistics_result & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+typedef struct _ThriftHiveMetastore_delete_partition_column_statistics_presult__isset {
+ _ThriftHiveMetastore_delete_partition_column_statistics_presult__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+ bool o4;
+} _ThriftHiveMetastore_delete_partition_column_statistics_presult__isset;
+
+class ThriftHiveMetastore_delete_partition_column_statistics_presult {
+ public:
+
+
+ virtual ~ThriftHiveMetastore_delete_partition_column_statistics_presult() throw() {}
+
+ bool* success;
+ NoSuchObjectException o1;
+ MetaException o2;
+ InvalidObjectException o3;
+ InvalidInputException o4;
+
+ _ThriftHiveMetastore_delete_partition_column_statistics_presult__isset __isset;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+
+};
+
+typedef struct _ThriftHiveMetastore_delete_table_column_statistics_args__isset {
+ _ThriftHiveMetastore_delete_table_column_statistics_args__isset() : db_name(false), tbl_name(false), col_name(false) {}
+ bool db_name;
+ bool tbl_name;
+ bool col_name;
+} _ThriftHiveMetastore_delete_table_column_statistics_args__isset;
+
+class ThriftHiveMetastore_delete_table_column_statistics_args {
+ public:
+
+ ThriftHiveMetastore_delete_table_column_statistics_args() : db_name(""), tbl_name(""), col_name("") {
+ }
+
+ virtual ~ThriftHiveMetastore_delete_table_column_statistics_args() throw() {}
+
+ std::string db_name;
+ std::string tbl_name;
+ std::string col_name;
+
+ _ThriftHiveMetastore_delete_table_column_statistics_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_col_name(const std::string& val) {
+ col_name = val;
+ }
+
+ bool operator == (const ThriftHiveMetastore_delete_table_column_statistics_args & rhs) const
+ {
+ if (!(db_name == rhs.db_name))
+ return false;
+ if (!(tbl_name == rhs.tbl_name))
+ return false;
+ if (!(col_name == rhs.col_name))
+ return false;
+ return true;
+ }
+ bool operator != (const ThriftHiveMetastore_delete_table_column_statistics_args &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const ThriftHiveMetastore_delete_table_column_statistics_args & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+
+class ThriftHiveMetastore_delete_table_column_statistics_pargs {
+ public:
+
+
+ virtual ~ThriftHiveMetastore_delete_table_column_statistics_pargs() throw() {}
+
+ const std::string* db_name;
+ const std::string* tbl_name;
+ const std::string* col_name;
+
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+typedef struct _ThriftHiveMetastore_delete_table_column_statistics_result__isset {
+ _ThriftHiveMetastore_delete_table_column_statistics_result__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+ bool o4;
+} _ThriftHiveMetastore_delete_table_column_statistics_result__isset;
+
+class ThriftHiveMetastore_delete_table_column_statistics_result {
+ public:
+
+ ThriftHiveMetastore_delete_table_column_statistics_result() : success(0) {
+ }
+
+ virtual ~ThriftHiveMetastore_delete_table_column_statistics_result() throw() {}
+
+ bool success;
+ NoSuchObjectException o1;
+ MetaException o2;
+ InvalidObjectException o3;
+ InvalidInputException o4;
+
+ _ThriftHiveMetastore_delete_table_column_statistics_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;
+ }
+
+ void __set_o3(const InvalidObjectException& val) {
+ o3 = val;
+ }
+
+ void __set_o4(const InvalidInputException& val) {
+ o4 = val;
+ }
+
+ bool operator == (const ThriftHiveMetastore_delete_table_column_statistics_result & rhs) const
+ {
+ if (!(success == rhs.success))
+ return false;
+ if (!(o1 == rhs.o1))
+ return false;
+ if (!(o2 == rhs.o2))
+ return false;
+ if (!(o3 == rhs.o3))
+ return false;
+ if (!(o4 == rhs.o4))
+ return false;
+ return true;
+ }
+ bool operator != (const ThriftHiveMetastore_delete_table_column_statistics_result &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const ThriftHiveMetastore_delete_table_column_statistics_result & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+typedef struct _ThriftHiveMetastore_delete_table_column_statistics_presult__isset {
+ _ThriftHiveMetastore_delete_table_column_statistics_presult__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+ bool o4;
+} _ThriftHiveMetastore_delete_table_column_statistics_presult__isset;
+
+class ThriftHiveMetastore_delete_table_column_statistics_presult {
+ public:
+
+
+ virtual ~ThriftHiveMetastore_delete_table_column_statistics_presult() throw() {}
+
+ bool* success;
+ NoSuchObjectException o1;
+ MetaException o2;
+ InvalidObjectException o3;
+ InvalidInputException o4;
+
+ _ThriftHiveMetastore_delete_table_column_statistics_presult__isset __isset;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+
+};
+
+typedef struct _ThriftHiveMetastore_create_role_args__isset {
+ _ThriftHiveMetastore_create_role_args__isset() : role(false) {}
+ bool role;
+} _ThriftHiveMetastore_create_role_args__isset;
+
+class ThriftHiveMetastore_create_role_args {
+ public:
+
+ ThriftHiveMetastore_create_role_args() {
+ }
+
+ virtual ~ThriftHiveMetastore_create_role_args() throw() {}
+
+ Role role;
+
+ _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))
+ return false;
+ return true;
+ }
+ bool operator != (const ThriftHiveMetastore_create_role_args &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const ThriftHiveMetastore_create_role_args & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+
+class ThriftHiveMetastore_create_role_pargs {
+ public:
+
+
+ virtual ~ThriftHiveMetastore_create_role_pargs() throw() {}
+
+ const Role* role;
+
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+typedef struct _ThriftHiveMetastore_create_role_result__isset {
+ _ThriftHiveMetastore_create_role_result__isset() : success(false), o1(false) {}
+ bool success;
+ bool o1;
+} _ThriftHiveMetastore_create_role_result__isset;
+
+class ThriftHiveMetastore_create_role_result {
+ public:
+
+ ThriftHiveMetastore_create_role_result() : success(0) {
+ }
+
+ virtual ~ThriftHiveMetastore_create_role_result() throw() {}
+
+ bool success;
+ MetaException o1;
+
+ _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))
+ return false;
+ if (!(o1 == rhs.o1))
+ return false;
+ return true;
+ }
+ bool operator != (const ThriftHiveMetastore_create_role_result &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const ThriftHiveMetastore_create_role_result & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+typedef struct _ThriftHiveMetastore_create_role_presult__isset {
+ _ThriftHiveMetastore_create_role_presult__isset() : success(false), o1(false) {}
+ bool success;
+ bool o1;
+} _ThriftHiveMetastore_create_role_presult__isset;
+
+class ThriftHiveMetastore_create_role_presult {
+ public:
+
+
+ virtual ~ThriftHiveMetastore_create_role_presult() throw() {}
+
+ bool* success;
+ MetaException o1;
+
+ _ThriftHiveMetastore_create_role_presult__isset __isset;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+
+};
+
+typedef struct _ThriftHiveMetastore_drop_role_args__isset {
+ _ThriftHiveMetastore_drop_role_args__isset() : role_name(false) {}
+ bool role_name;
+} _ThriftHiveMetastore_drop_role_args__isset;
+
+class ThriftHiveMetastore_drop_role_args {
+ public:
+
+ ThriftHiveMetastore_drop_role_args() : role_name("") {
+ }
+
+ virtual ~ThriftHiveMetastore_drop_role_args() throw() {}
+
+ std::string role_name;
+
+ _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))
+ return false;
+ return true;
+ }
+ bool operator != (const ThriftHiveMetastore_drop_role_args &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const ThriftHiveMetastore_drop_role_args & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+
+class ThriftHiveMetastore_drop_role_pargs {
+ public:
+
+
+ virtual ~ThriftHiveMetastore_drop_role_pargs() throw() {}
+
+ const std::string* role_name;
+
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+typedef struct _ThriftHiveMetastore_drop_role_result__isset {
+ _ThriftHiveMetastore_drop_role_result__isset() : success(false), o1(false) {}
+ bool success;
+ bool o1;
+} _ThriftHiveMetastore_drop_role_result__isset;
+
+class ThriftHiveMetastore_drop_role_result {
+ public:
+
+ ThriftHiveMetastore_drop_role_result() : success(0) {
+ }
+
+ virtual ~ThriftHiveMetastore_drop_role_result() throw() {}
+
+ bool success;
+ MetaException o1;
+
+ _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))
+ return false;
+ if (!(o1 == rhs.o1))
+ return false;
+ return true;
+ }
+ bool operator != (const ThriftHiveMetastore_drop_role_result &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const ThriftHiveMetastore_drop_role_result & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+typedef struct _ThriftHiveMetastore_drop_role_presult__isset {
+ _ThriftHiveMetastore_drop_role_presult__isset() : success(false), o1(false) {}
+ bool success;
+ bool o1;
+} _ThriftHiveMetastore_drop_role_presult__isset;
+
+class ThriftHiveMetastore_drop_role_presult {
+ public:
+
+
+ virtual ~ThriftHiveMetastore_drop_role_presult() throw() {}
+
+ bool* success;
+ MetaException o1;
+
+ _ThriftHiveMetastore_drop_role_presult__isset __isset;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+
+};
+
+
+class ThriftHiveMetastore_get_role_names_args {
+ public:
+
+ ThriftHiveMetastore_get_role_names_args() {
+ }
+
+ virtual ~ThriftHiveMetastore_get_role_names_args() throw() {}
+
+
+ bool operator == (const ThriftHiveMetastore_get_role_names_args & /* rhs */) const
+ {
+ return true;
+ }
+ bool operator != (const ThriftHiveMetastore_get_role_names_args &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const ThriftHiveMetastore_get_role_names_args & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+
+class ThriftHiveMetastore_get_role_names_pargs {
+ public:
+
+
+ virtual ~ThriftHiveMetastore_get_role_names_pargs() throw() {}
+
+
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+typedef struct _ThriftHiveMetastore_get_role_names_result__isset {
+ _ThriftHiveMetastore_get_role_names_result__isset() : success(false), o1(false) {}
+ bool success;
+ bool o1;
+} _ThriftHiveMetastore_get_role_names_result__isset;
+
+class ThriftHiveMetastore_get_role_names_result {
+ public:
+
+ ThriftHiveMetastore_get_role_names_result() {
+ }
+
+ virtual ~ThriftHiveMetastore_get_role_names_result() throw() {}
+
+ std::vector<std::string> success;
+ MetaException o1;
+
+ _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))
+ return false;
+ if (!(o1 == rhs.o1))
+ return false;
+ return true;
+ }
+ bool operator != (const ThriftHiveMetastore_get_role_names_result &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const ThriftHiveMetastore_get_role_names_result & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+typedef struct _ThriftHiveMetastore_get_role_names_presult__isset {
+ _ThriftHiveMetastore_get_role_names_presult__isset() : success(false), o1(false) {}
+ bool success;
+ bool o1;
+} _ThriftHiveMetastore_get_role_names_presult__isset;
+
+class ThriftHiveMetastore_get_role_names_presult {
+ public:
+
+
+ virtual ~ThriftHiveMetastore_get_role_names_presult() throw() {}
+
+ std::vector<std::string> * success;
+ MetaException o1;
+
+ _ThriftHiveMetastore_get_role_names_presult__isset __isset;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+
+};
+
+typedef struct _ThriftHiveMetastore_grant_role_args__isset {
+ _ThriftHiveMetastore_grant_role_args__isset() : role_name(false), principal_name(false), principal_type(false), grantor(false), grantorType(false), grant_option(false) {}
+ bool role_name;
+ bool principal_name;
+ bool principal_type;
+ bool grantor;
+ bool grantorType;
+ bool grant_option;
+} _ThriftHiveMetastore_grant_role_args__isset;
+
+class ThriftHiveMetastore_grant_role_args {
+ public:
+
+ ThriftHiveMetastore_grant_role_args() : role_name(""), principal_name(""), grantor(""), grant_option(0) {
+ }
+
+ virtual ~ThriftHiveMetastore_grant_role_args() throw() {}
+
+ std::string role_name;
+ std::string principal_name;
+ PrincipalType::type principal_type;
+ std::string grantor;
+ PrincipalType::type grantorType;
+ bool grant_option;
+
+ _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) {
@@ -10098,6 +11104,24 @@ class ThriftHiveMetastoreClient : virtua
void get_index_names(std::vector<std::string> & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_indexes);
void send_get_index_names(const std::string& db_name, const std::string& tbl_name, const int16_t max_indexes);
void recv_get_index_names(std::vector<std::string> & _return);
+ bool update_table_column_statistics(const ColumnStatistics& stats_obj);
+ void send_update_table_column_statistics(const ColumnStatistics& stats_obj);
+ bool recv_update_table_column_statistics();
+ bool update_partition_column_statistics(const ColumnStatistics& stats_obj);
+ void send_update_partition_column_statistics(const ColumnStatistics& stats_obj);
+ bool recv_update_partition_column_statistics();
+ void get_table_column_statistics(ColumnStatistics& _return, const std::string& db_name, const std::string& tbl_name, const std::string& col_name);
+ void send_get_table_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& col_name);
+ void recv_get_table_column_statistics(ColumnStatistics& _return);
+ void get_partition_column_statistics(ColumnStatistics& _return, const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const std::string& col_name);
+ void send_get_partition_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const std::string& col_name);
+ void recv_get_partition_column_statistics(ColumnStatistics& _return);
+ bool delete_partition_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const std::string& col_name);
+ void send_delete_partition_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const std::string& col_name);
+ bool recv_delete_partition_column_statistics();
+ bool delete_table_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& col_name);
+ void send_delete_table_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& col_name);
+ bool recv_delete_table_column_statistics();
bool create_role(const Role& role);
void send_create_role(const Role& role);
bool recv_create_role();
@@ -10203,6 +11227,12 @@ class ThriftHiveMetastoreProcessor : vir
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_update_table_column_statistics(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_update_partition_column_statistics(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_table_column_statistics(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_get_partition_column_statistics(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_delete_partition_column_statistics(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_delete_table_column_statistics(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);
@@ -10276,6 +11306,12 @@ class ThriftHiveMetastoreProcessor : vir
processMap_["get_index_by_name"] = &ThriftHiveMetastoreProcessor::process_get_index_by_name;
processMap_["get_indexes"] = &ThriftHiveMetastoreProcessor::process_get_indexes;
processMap_["get_index_names"] = &ThriftHiveMetastoreProcessor::process_get_index_names;
+ processMap_["update_table_column_statistics"] = &ThriftHiveMetastoreProcessor::process_update_table_column_statistics;
+ processMap_["update_partition_column_statistics"] = &ThriftHiveMetastoreProcessor::process_update_partition_column_statistics;
+ processMap_["get_table_column_statistics"] = &ThriftHiveMetastoreProcessor::process_get_table_column_statistics;
+ processMap_["get_partition_column_statistics"] = &ThriftHiveMetastoreProcessor::process_get_partition_column_statistics;
+ processMap_["delete_partition_column_statistics"] = &ThriftHiveMetastoreProcessor::process_delete_partition_column_statistics;
+ processMap_["delete_table_column_statistics"] = &ThriftHiveMetastoreProcessor::process_delete_table_column_statistics;
processMap_["create_role"] = &ThriftHiveMetastoreProcessor::process_create_role;
processMap_["drop_role"] = &ThriftHiveMetastoreProcessor::process_drop_role;
processMap_["get_role_names"] = &ThriftHiveMetastoreProcessor::process_get_role_names;
@@ -10896,6 +11932,74 @@ class ThriftHiveMetastoreMultiface : vir
}
}
+ bool update_table_column_statistics(const ColumnStatistics& stats_obj) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
+ if (i == sz - 1) {
+ return ifaces_[i]->update_table_column_statistics(stats_obj);
+ } else {
+ ifaces_[i]->update_table_column_statistics(stats_obj);
+ }
+ }
+ }
+
+ bool update_partition_column_statistics(const ColumnStatistics& stats_obj) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
+ if (i == sz - 1) {
+ return ifaces_[i]->update_partition_column_statistics(stats_obj);
+ } else {
+ ifaces_[i]->update_partition_column_statistics(stats_obj);
+ }
+ }
+ }
+
+ void get_table_column_statistics(ColumnStatistics& _return, const std::string& db_name, const std::string& tbl_name, const std::string& col_name) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
+ if (i == sz - 1) {
+ ifaces_[i]->get_table_column_statistics(_return, db_name, tbl_name, col_name);
+ return;
+ } else {
+ ifaces_[i]->get_table_column_statistics(_return, db_name, tbl_name, col_name);
+ }
+ }
+ }
+
+ void get_partition_column_statistics(ColumnStatistics& _return, const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const std::string& col_name) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
+ if (i == sz - 1) {
+ ifaces_[i]->get_partition_column_statistics(_return, db_name, tbl_name, part_name, col_name);
+ return;
+ } else {
+ ifaces_[i]->get_partition_column_statistics(_return, db_name, tbl_name, part_name, col_name);
+ }
+ }
+ }
+
+ bool delete_partition_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const std::string& col_name) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
+ if (i == sz - 1) {
+ return ifaces_[i]->delete_partition_column_statistics(db_name, tbl_name, part_name, col_name);
+ } else {
+ ifaces_[i]->delete_partition_column_statistics(db_name, tbl_name, part_name, col_name);
+ }
+ }
+ }
+
+ bool delete_table_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& col_name) {
+ size_t sz = ifaces_.size();
+ for (size_t i = 0; i < sz; ++i) {
+ if (i == sz - 1) {
+ return ifaces_[i]->delete_table_column_statistics(db_name, tbl_name, col_name);
+ } else {
+ ifaces_[i]->delete_table_column_statistics(db_name, tbl_name, col_name);
+ }
+ }
+ }
+
bool create_role(const Role& role) {
size_t sz = ifaces_.size();
for (size_t i = 0; i < sz; ++i) {
Modified: hive/trunk/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp?rev=1406465&r1=1406464&r2=1406465&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp Wed Nov 7 04:55:00 2012
@@ -297,6 +297,36 @@ class ThriftHiveMetastoreHandler : virtu
printf("get_index_names\n");
}
+ bool update_table_column_statistics(const ColumnStatistics& stats_obj) {
+ // Your implementation goes here
+ printf("update_table_column_statistics\n");
+ }
+
+ bool update_partition_column_statistics(const ColumnStatistics& stats_obj) {
+ // Your implementation goes here
+ printf("update_partition_column_statistics\n");
+ }
+
+ void get_table_column_statistics(ColumnStatistics& _return, const std::string& db_name, const std::string& tbl_name, const std::string& col_name) {
+ // Your implementation goes here
+ printf("get_table_column_statistics\n");
+ }
+
+ void get_partition_column_statistics(ColumnStatistics& _return, const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const std::string& col_name) {
+ // Your implementation goes here
+ printf("get_partition_column_statistics\n");
+ }
+
+ bool delete_partition_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const std::string& col_name) {
+ // Your implementation goes here
+ printf("delete_partition_column_statistics\n");
+ }
+
+ bool delete_table_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& col_name) {
+ // Your implementation goes here
+ printf("delete_table_column_statistics\n");
+ }
+
bool create_role(const Role& role) {
// Your implementation goes here
printf("create_role\n");