You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ga...@apache.org on 2017/08/03 16:57:10 UTC
[49/51] [partial] hive git commit: HIVE-17170 Move thrift generated
code to stand alone metastore (Alan Gates reviewed by Vihang Karajgaonkar)
http://git-wip-us.apache.org/repos/asf/hive/blob/453c8ed4/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h
----------------------------------------------------------------------
diff --git a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h
deleted file mode 100644
index 8406b42..0000000
--- a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h
+++ /dev/null
@@ -1,23336 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.3)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#ifndef ThriftHiveMetastore_H
-#define ThriftHiveMetastore_H
-
-#include <thrift/TDispatchProcessor.h>
-#include <thrift/async/TConcurrentClientSyncInfo.h>
-#include "hive_metastore_types.h"
-#include "FacebookService.h"
-
-namespace Apache { namespace Hadoop { namespace Hive {
-
-#ifdef _WIN32
- #pragma warning( push )
- #pragma warning (disable : 4250 ) //inheriting methods via dominance
-#endif
-
-class ThriftHiveMetastoreIf : virtual public ::facebook::fb303::FacebookServiceIf {
- public:
- virtual ~ThriftHiveMetastoreIf() {}
- virtual void getMetaConf(std::string& _return, const std::string& key) = 0;
- virtual void setMetaConf(const std::string& key, const std::string& value) = 0;
- virtual void create_database(const Database& database) = 0;
- virtual void get_database(Database& _return, const std::string& name) = 0;
- virtual void drop_database(const std::string& name, const bool deleteData, const bool cascade) = 0;
- virtual void get_databases(std::vector<std::string> & _return, const std::string& pattern) = 0;
- virtual void get_all_databases(std::vector<std::string> & _return) = 0;
- virtual void alter_database(const std::string& dbname, const Database& db) = 0;
- virtual void get_type(Type& _return, const std::string& name) = 0;
- virtual bool create_type(const Type& type) = 0;
- virtual bool drop_type(const std::string& type) = 0;
- virtual void get_type_all(std::map<std::string, Type> & _return, const std::string& name) = 0;
- virtual void get_fields(std::vector<FieldSchema> & _return, const std::string& db_name, const std::string& table_name) = 0;
- virtual void get_fields_with_environment_context(std::vector<FieldSchema> & _return, const std::string& db_name, const std::string& table_name, const EnvironmentContext& environment_context) = 0;
- virtual void get_schema(std::vector<FieldSchema> & _return, const std::string& db_name, const std::string& table_name) = 0;
- virtual void get_schema_with_environment_context(std::vector<FieldSchema> & _return, const std::string& db_name, const std::string& table_name, const EnvironmentContext& environment_context) = 0;
- virtual void create_table(const Table& tbl) = 0;
- virtual void create_table_with_environment_context(const Table& tbl, const EnvironmentContext& environment_context) = 0;
- virtual void create_table_with_constraints(const Table& tbl, const std::vector<SQLPrimaryKey> & primaryKeys, const std::vector<SQLForeignKey> & foreignKeys, const std::vector<SQLUniqueConstraint> & uniqueConstraints, const std::vector<SQLNotNullConstraint> & notNullConstraints) = 0;
- virtual void drop_constraint(const DropConstraintRequest& req) = 0;
- virtual void add_primary_key(const AddPrimaryKeyRequest& req) = 0;
- virtual void add_foreign_key(const AddForeignKeyRequest& req) = 0;
- virtual void add_unique_constraint(const AddUniqueConstraintRequest& req) = 0;
- virtual void add_not_null_constraint(const AddNotNullConstraintRequest& req) = 0;
- virtual void drop_table(const std::string& dbname, const std::string& name, const bool deleteData) = 0;
- virtual void drop_table_with_environment_context(const std::string& dbname, const std::string& name, const bool deleteData, const EnvironmentContext& environment_context) = 0;
- virtual void truncate_table(const std::string& dbName, const std::string& tableName, const std::vector<std::string> & partNames) = 0;
- virtual void get_tables(std::vector<std::string> & _return, const std::string& db_name, const std::string& pattern) = 0;
- virtual void get_tables_by_type(std::vector<std::string> & _return, const std::string& db_name, const std::string& pattern, const std::string& tableType) = 0;
- virtual void get_table_meta(std::vector<TableMeta> & _return, const std::string& db_patterns, const std::string& tbl_patterns, const std::vector<std::string> & tbl_types) = 0;
- virtual void get_all_tables(std::vector<std::string> & _return, const std::string& db_name) = 0;
- virtual void get_table(Table& _return, const std::string& dbname, const std::string& tbl_name) = 0;
- virtual void get_table_objects_by_name(std::vector<Table> & _return, const std::string& dbname, const std::vector<std::string> & tbl_names) = 0;
- virtual void get_table_req(GetTableResult& _return, const GetTableRequest& req) = 0;
- virtual void get_table_objects_by_name_req(GetTablesResult& _return, const GetTablesRequest& req) = 0;
- virtual void get_table_names_by_filter(std::vector<std::string> & _return, const std::string& dbname, const std::string& filter, const int16_t max_tables) = 0;
- virtual void alter_table(const std::string& dbname, const std::string& tbl_name, const Table& new_tbl) = 0;
- virtual void alter_table_with_environment_context(const std::string& dbname, const std::string& tbl_name, const Table& new_tbl, const EnvironmentContext& environment_context) = 0;
- virtual void alter_table_with_cascade(const std::string& dbname, const std::string& tbl_name, const Table& new_tbl, const bool cascade) = 0;
- virtual void add_partition(Partition& _return, const Partition& new_part) = 0;
- virtual void add_partition_with_environment_context(Partition& _return, const Partition& new_part, const EnvironmentContext& environment_context) = 0;
- virtual int32_t add_partitions(const std::vector<Partition> & new_parts) = 0;
- virtual int32_t add_partitions_pspec(const std::vector<PartitionSpec> & new_parts) = 0;
- virtual void append_partition(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & part_vals) = 0;
- virtual void add_partitions_req(AddPartitionsResult& _return, const AddPartitionsRequest& request) = 0;
- virtual void append_partition_with_environment_context(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & part_vals, const EnvironmentContext& environment_context) = 0;
- virtual void append_partition_by_name(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::string& part_name) = 0;
- virtual void append_partition_by_name_with_environment_context(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const EnvironmentContext& environment_context) = 0;
- virtual bool drop_partition(const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & part_vals, const bool deleteData) = 0;
- virtual bool drop_partition_with_environment_context(const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & part_vals, const bool deleteData, const EnvironmentContext& environment_context) = 0;
- virtual bool drop_partition_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const bool deleteData) = 0;
- virtual bool drop_partition_by_name_with_environment_context(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const bool deleteData, const EnvironmentContext& environment_context) = 0;
- virtual void drop_partitions_req(DropPartitionsResult& _return, const DropPartitionsRequest& req) = 0;
- virtual void get_partition(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & part_vals) = 0;
- virtual void exchange_partition(Partition& _return, const std::map<std::string, std::string> & partitionSpecs, const std::string& source_db, const std::string& source_table_name, const std::string& dest_db, const std::string& dest_table_name) = 0;
- virtual void exchange_partitions(std::vector<Partition> & _return, const std::map<std::string, std::string> & partitionSpecs, const std::string& source_db, const std::string& source_table_name, const std::string& dest_db, const std::string& dest_table_name) = 0;
- virtual 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) = 0;
- virtual void get_partition_by_name(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::string& part_name) = 0;
- virtual void get_partitions(std::vector<Partition> & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_parts) = 0;
- virtual 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) = 0;
- virtual void get_partitions_pspec(std::vector<PartitionSpec> & _return, const std::string& db_name, const std::string& tbl_name, const int32_t max_parts) = 0;
- virtual void get_partition_names(std::vector<std::string> & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_parts) = 0;
- virtual void get_partitions_ps(std::vector<Partition> & _return, const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & part_vals, const int16_t max_parts) = 0;
- virtual void get_partitions_ps_with_auth(std::vector<Partition> & _return, const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & part_vals, const int16_t max_parts, const std::string& user_name, const std::vector<std::string> & group_names) = 0;
- virtual void get_partition_names_ps(std::vector<std::string> & _return, const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & part_vals, const int16_t max_parts) = 0;
- virtual void get_partitions_by_filter(std::vector<Partition> & _return, const std::string& db_name, const std::string& tbl_name, const std::string& filter, const int16_t max_parts) = 0;
- virtual void get_part_specs_by_filter(std::vector<PartitionSpec> & _return, const std::string& db_name, const std::string& tbl_name, const std::string& filter, const int32_t max_parts) = 0;
- virtual void get_partitions_by_expr(PartitionsByExprResult& _return, const PartitionsByExprRequest& req) = 0;
- virtual int32_t get_num_partitions_by_filter(const std::string& db_name, const std::string& tbl_name, const std::string& filter) = 0;
- virtual void get_partitions_by_names(std::vector<Partition> & _return, const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & names) = 0;
- virtual void alter_partition(const std::string& db_name, const std::string& tbl_name, const Partition& new_part) = 0;
- virtual void alter_partitions(const std::string& db_name, const std::string& tbl_name, const std::vector<Partition> & new_parts) = 0;
- virtual void alter_partitions_with_environment_context(const std::string& db_name, const std::string& tbl_name, const std::vector<Partition> & new_parts, const EnvironmentContext& environment_context) = 0;
- virtual void alter_partition_with_environment_context(const std::string& db_name, const std::string& tbl_name, const Partition& new_part, const EnvironmentContext& environment_context) = 0;
- virtual void rename_partition(const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & part_vals, const Partition& new_part) = 0;
- virtual bool partition_name_has_valid_characters(const std::vector<std::string> & part_vals, const bool throw_exception) = 0;
- virtual void get_config_value(std::string& _return, const std::string& name, const std::string& defaultValue) = 0;
- virtual void partition_name_to_vals(std::vector<std::string> & _return, const std::string& part_name) = 0;
- virtual void partition_name_to_spec(std::map<std::string, std::string> & _return, const std::string& part_name) = 0;
- virtual void markPartitionForEvent(const std::string& db_name, const std::string& tbl_name, const std::map<std::string, std::string> & part_vals, const PartitionEventType::type eventType) = 0;
- virtual bool isPartitionMarkedForEvent(const std::string& db_name, const std::string& tbl_name, const std::map<std::string, std::string> & part_vals, const PartitionEventType::type eventType) = 0;
- virtual void add_index(Index& _return, const Index& new_index, const Table& index_table) = 0;
- virtual void alter_index(const std::string& dbname, const std::string& base_tbl_name, const std::string& idx_name, const Index& new_idx) = 0;
- virtual bool drop_index_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& index_name, const bool deleteData) = 0;
- 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 void get_primary_keys(PrimaryKeysResponse& _return, const PrimaryKeysRequest& request) = 0;
- virtual void get_foreign_keys(ForeignKeysResponse& _return, const ForeignKeysRequest& request) = 0;
- virtual void get_unique_constraints(UniqueConstraintsResponse& _return, const UniqueConstraintsRequest& request) = 0;
- virtual void get_not_null_constraints(NotNullConstraintsResponse& _return, const NotNullConstraintsRequest& request) = 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 void get_table_statistics_req(TableStatsResult& _return, const TableStatsRequest& request) = 0;
- virtual void get_partitions_statistics_req(PartitionsStatsResult& _return, const PartitionsStatsRequest& request) = 0;
- virtual void get_aggr_stats_for(AggrStats& _return, const PartitionsStatsRequest& request) = 0;
- virtual bool set_aggr_stats_for(const SetPartitionsStatsRequest& request) = 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 void create_function(const Function& func) = 0;
- virtual void drop_function(const std::string& dbName, const std::string& funcName) = 0;
- virtual void alter_function(const std::string& dbName, const std::string& funcName, const Function& newFunc) = 0;
- virtual void get_functions(std::vector<std::string> & _return, const std::string& dbName, const std::string& pattern) = 0;
- virtual void get_function(Function& _return, const std::string& dbName, const std::string& funcName) = 0;
- virtual void get_all_functions(GetAllFunctionsResponse& _return) = 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;
- virtual bool grant_role(const std::string& role_name, const std::string& principal_name, const PrincipalType::type principal_type, const std::string& grantor, const PrincipalType::type grantorType, const bool grant_option) = 0;
- virtual bool revoke_role(const std::string& role_name, const std::string& principal_name, const PrincipalType::type principal_type) = 0;
- virtual void list_roles(std::vector<Role> & _return, const std::string& principal_name, const PrincipalType::type principal_type) = 0;
- virtual void grant_revoke_role(GrantRevokeRoleResponse& _return, const GrantRevokeRoleRequest& request) = 0;
- virtual void get_principals_in_role(GetPrincipalsInRoleResponse& _return, const GetPrincipalsInRoleRequest& request) = 0;
- virtual void get_role_grants_for_principal(GetRoleGrantsForPrincipalResponse& _return, const GetRoleGrantsForPrincipalRequest& request) = 0;
- virtual void get_privilege_set(PrincipalPrivilegeSet& _return, const HiveObjectRef& hiveObject, const std::string& user_name, const std::vector<std::string> & group_names) = 0;
- virtual void list_privileges(std::vector<HiveObjectPrivilege> & _return, const std::string& principal_name, const PrincipalType::type principal_type, const HiveObjectRef& hiveObject) = 0;
- virtual bool grant_privileges(const PrivilegeBag& privileges) = 0;
- virtual bool revoke_privileges(const PrivilegeBag& privileges) = 0;
- virtual void grant_revoke_privileges(GrantRevokePrivilegeResponse& _return, const GrantRevokePrivilegeRequest& request) = 0;
- virtual void set_ugi(std::vector<std::string> & _return, const std::string& user_name, const std::vector<std::string> & group_names) = 0;
- virtual void get_delegation_token(std::string& _return, const std::string& token_owner, const std::string& renewer_kerberos_principal_name) = 0;
- virtual int64_t renew_delegation_token(const std::string& token_str_form) = 0;
- virtual void cancel_delegation_token(const std::string& token_str_form) = 0;
- virtual bool add_token(const std::string& token_identifier, const std::string& delegation_token) = 0;
- virtual bool remove_token(const std::string& token_identifier) = 0;
- virtual void get_token(std::string& _return, const std::string& token_identifier) = 0;
- virtual void get_all_token_identifiers(std::vector<std::string> & _return) = 0;
- virtual int32_t add_master_key(const std::string& key) = 0;
- virtual void update_master_key(const int32_t seq_number, const std::string& key) = 0;
- virtual bool remove_master_key(const int32_t key_seq) = 0;
- virtual void get_master_keys(std::vector<std::string> & _return) = 0;
- virtual void get_open_txns(GetOpenTxnsResponse& _return) = 0;
- virtual void get_open_txns_info(GetOpenTxnsInfoResponse& _return) = 0;
- virtual void open_txns(OpenTxnsResponse& _return, const OpenTxnRequest& rqst) = 0;
- virtual void abort_txn(const AbortTxnRequest& rqst) = 0;
- virtual void abort_txns(const AbortTxnsRequest& rqst) = 0;
- virtual void commit_txn(const CommitTxnRequest& rqst) = 0;
- virtual void lock(LockResponse& _return, const LockRequest& rqst) = 0;
- virtual void check_lock(LockResponse& _return, const CheckLockRequest& rqst) = 0;
- virtual void unlock(const UnlockRequest& rqst) = 0;
- virtual void show_locks(ShowLocksResponse& _return, const ShowLocksRequest& rqst) = 0;
- virtual void heartbeat(const HeartbeatRequest& ids) = 0;
- virtual void heartbeat_txn_range(HeartbeatTxnRangeResponse& _return, const HeartbeatTxnRangeRequest& txns) = 0;
- virtual void compact(const CompactionRequest& rqst) = 0;
- virtual void compact2(CompactionResponse& _return, const CompactionRequest& rqst) = 0;
- virtual void show_compact(ShowCompactResponse& _return, const ShowCompactRequest& rqst) = 0;
- virtual void add_dynamic_partitions(const AddDynamicPartitions& rqst) = 0;
- virtual void get_next_notification(NotificationEventResponse& _return, const NotificationEventRequest& rqst) = 0;
- virtual void get_current_notificationEventId(CurrentNotificationEventId& _return) = 0;
- virtual void fire_listener_event(FireEventResponse& _return, const FireEventRequest& rqst) = 0;
- virtual void flushCache() = 0;
- virtual void cm_recycle(CmRecycleResponse& _return, const CmRecycleRequest& request) = 0;
- virtual void get_file_metadata_by_expr(GetFileMetadataByExprResult& _return, const GetFileMetadataByExprRequest& req) = 0;
- virtual void get_file_metadata(GetFileMetadataResult& _return, const GetFileMetadataRequest& req) = 0;
- virtual void put_file_metadata(PutFileMetadataResult& _return, const PutFileMetadataRequest& req) = 0;
- virtual void clear_file_metadata(ClearFileMetadataResult& _return, const ClearFileMetadataRequest& req) = 0;
- virtual void cache_file_metadata(CacheFileMetadataResult& _return, const CacheFileMetadataRequest& req) = 0;
- virtual void get_metastore_db_uuid(std::string& _return) = 0;
-};
-
-class ThriftHiveMetastoreIfFactory : virtual public ::facebook::fb303::FacebookServiceIfFactory {
- public:
- typedef ThriftHiveMetastoreIf Handler;
-
- virtual ~ThriftHiveMetastoreIfFactory() {}
-
- virtual ThriftHiveMetastoreIf* getHandler(const ::apache::thrift::TConnectionInfo& connInfo) = 0;
- virtual void releaseHandler( ::facebook::fb303::FacebookServiceIf* /* handler */) = 0;
-};
-
-class ThriftHiveMetastoreIfSingletonFactory : virtual public ThriftHiveMetastoreIfFactory {
- public:
- ThriftHiveMetastoreIfSingletonFactory(const boost::shared_ptr<ThriftHiveMetastoreIf>& iface) : iface_(iface) {}
- virtual ~ThriftHiveMetastoreIfSingletonFactory() {}
-
- virtual ThriftHiveMetastoreIf* getHandler(const ::apache::thrift::TConnectionInfo&) {
- return iface_.get();
- }
- virtual void releaseHandler( ::facebook::fb303::FacebookServiceIf* /* handler */) {}
-
- protected:
- boost::shared_ptr<ThriftHiveMetastoreIf> iface_;
-};
-
-class ThriftHiveMetastoreNull : virtual public ThriftHiveMetastoreIf , virtual public ::facebook::fb303::FacebookServiceNull {
- public:
- virtual ~ThriftHiveMetastoreNull() {}
- void getMetaConf(std::string& /* _return */, const std::string& /* key */) {
- return;
- }
- void setMetaConf(const std::string& /* key */, const std::string& /* value */) {
- return;
- }
- void create_database(const Database& /* database */) {
- return;
- }
- void get_database(Database& /* _return */, const std::string& /* name */) {
- return;
- }
- void drop_database(const std::string& /* name */, const bool /* deleteData */, const bool /* cascade */) {
- return;
- }
- void get_databases(std::vector<std::string> & /* _return */, const std::string& /* pattern */) {
- return;
- }
- void get_all_databases(std::vector<std::string> & /* _return */) {
- return;
- }
- void alter_database(const std::string& /* dbname */, const Database& /* db */) {
- return;
- }
- void get_type(Type& /* _return */, const std::string& /* name */) {
- return;
- }
- bool create_type(const Type& /* type */) {
- bool _return = false;
- return _return;
- }
- bool drop_type(const std::string& /* type */) {
- bool _return = false;
- return _return;
- }
- void get_type_all(std::map<std::string, Type> & /* _return */, const std::string& /* name */) {
- return;
- }
- void get_fields(std::vector<FieldSchema> & /* _return */, const std::string& /* db_name */, const std::string& /* table_name */) {
- return;
- }
- void get_fields_with_environment_context(std::vector<FieldSchema> & /* _return */, const std::string& /* db_name */, const std::string& /* table_name */, const EnvironmentContext& /* environment_context */) {
- return;
- }
- void get_schema(std::vector<FieldSchema> & /* _return */, const std::string& /* db_name */, const std::string& /* table_name */) {
- return;
- }
- void get_schema_with_environment_context(std::vector<FieldSchema> & /* _return */, const std::string& /* db_name */, const std::string& /* table_name */, const EnvironmentContext& /* environment_context */) {
- return;
- }
- void create_table(const Table& /* tbl */) {
- return;
- }
- void create_table_with_environment_context(const Table& /* tbl */, const EnvironmentContext& /* environment_context */) {
- return;
- }
- void create_table_with_constraints(const Table& /* tbl */, const std::vector<SQLPrimaryKey> & /* primaryKeys */, const std::vector<SQLForeignKey> & /* foreignKeys */, const std::vector<SQLUniqueConstraint> & /* uniqueConstraints */, const std::vector<SQLNotNullConstraint> & /* notNullConstraints */) {
- return;
- }
- void drop_constraint(const DropConstraintRequest& /* req */) {
- return;
- }
- void add_primary_key(const AddPrimaryKeyRequest& /* req */) {
- return;
- }
- void add_foreign_key(const AddForeignKeyRequest& /* req */) {
- return;
- }
- void add_unique_constraint(const AddUniqueConstraintRequest& /* req */) {
- return;
- }
- void add_not_null_constraint(const AddNotNullConstraintRequest& /* req */) {
- return;
- }
- void drop_table(const std::string& /* dbname */, const std::string& /* name */, const bool /* deleteData */) {
- return;
- }
- void drop_table_with_environment_context(const std::string& /* dbname */, const std::string& /* name */, const bool /* deleteData */, const EnvironmentContext& /* environment_context */) {
- return;
- }
- void truncate_table(const std::string& /* dbName */, const std::string& /* tableName */, const std::vector<std::string> & /* partNames */) {
- return;
- }
- void get_tables(std::vector<std::string> & /* _return */, const std::string& /* db_name */, const std::string& /* pattern */) {
- return;
- }
- void get_tables_by_type(std::vector<std::string> & /* _return */, const std::string& /* db_name */, const std::string& /* pattern */, const std::string& /* tableType */) {
- return;
- }
- void get_table_meta(std::vector<TableMeta> & /* _return */, const std::string& /* db_patterns */, const std::string& /* tbl_patterns */, const std::vector<std::string> & /* tbl_types */) {
- return;
- }
- void get_all_tables(std::vector<std::string> & /* _return */, const std::string& /* db_name */) {
- return;
- }
- void get_table(Table& /* _return */, const std::string& /* dbname */, const std::string& /* tbl_name */) {
- return;
- }
- void get_table_objects_by_name(std::vector<Table> & /* _return */, const std::string& /* dbname */, const std::vector<std::string> & /* tbl_names */) {
- return;
- }
- void get_table_req(GetTableResult& /* _return */, const GetTableRequest& /* req */) {
- return;
- }
- void get_table_objects_by_name_req(GetTablesResult& /* _return */, const GetTablesRequest& /* req */) {
- return;
- }
- void get_table_names_by_filter(std::vector<std::string> & /* _return */, const std::string& /* dbname */, const std::string& /* filter */, const int16_t /* max_tables */) {
- return;
- }
- void alter_table(const std::string& /* dbname */, const std::string& /* tbl_name */, const Table& /* new_tbl */) {
- return;
- }
- void alter_table_with_environment_context(const std::string& /* dbname */, const std::string& /* tbl_name */, const Table& /* new_tbl */, const EnvironmentContext& /* environment_context */) {
- return;
- }
- void alter_table_with_cascade(const std::string& /* dbname */, const std::string& /* tbl_name */, const Table& /* new_tbl */, const bool /* cascade */) {
- return;
- }
- void add_partition(Partition& /* _return */, const Partition& /* new_part */) {
- return;
- }
- void add_partition_with_environment_context(Partition& /* _return */, const Partition& /* new_part */, const EnvironmentContext& /* environment_context */) {
- return;
- }
- int32_t add_partitions(const std::vector<Partition> & /* new_parts */) {
- int32_t _return = 0;
- return _return;
- }
- int32_t add_partitions_pspec(const std::vector<PartitionSpec> & /* new_parts */) {
- int32_t _return = 0;
- return _return;
- }
- void append_partition(Partition& /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const std::vector<std::string> & /* part_vals */) {
- return;
- }
- void add_partitions_req(AddPartitionsResult& /* _return */, const AddPartitionsRequest& /* request */) {
- return;
- }
- void append_partition_with_environment_context(Partition& /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const std::vector<std::string> & /* part_vals */, const EnvironmentContext& /* environment_context */) {
- return;
- }
- void append_partition_by_name(Partition& /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const std::string& /* part_name */) {
- return;
- }
- void append_partition_by_name_with_environment_context(Partition& /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const std::string& /* part_name */, const EnvironmentContext& /* environment_context */) {
- return;
- }
- bool drop_partition(const std::string& /* db_name */, const std::string& /* tbl_name */, const std::vector<std::string> & /* part_vals */, const bool /* deleteData */) {
- bool _return = false;
- return _return;
- }
- bool drop_partition_with_environment_context(const std::string& /* db_name */, const std::string& /* tbl_name */, const std::vector<std::string> & /* part_vals */, const bool /* deleteData */, const EnvironmentContext& /* environment_context */) {
- bool _return = false;
- return _return;
- }
- bool drop_partition_by_name(const std::string& /* db_name */, const std::string& /* tbl_name */, const std::string& /* part_name */, const bool /* deleteData */) {
- bool _return = false;
- return _return;
- }
- bool drop_partition_by_name_with_environment_context(const std::string& /* db_name */, const std::string& /* tbl_name */, const std::string& /* part_name */, const bool /* deleteData */, const EnvironmentContext& /* environment_context */) {
- bool _return = false;
- return _return;
- }
- void drop_partitions_req(DropPartitionsResult& /* _return */, const DropPartitionsRequest& /* req */) {
- return;
- }
- void get_partition(Partition& /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const std::vector<std::string> & /* part_vals */) {
- return;
- }
- void exchange_partition(Partition& /* _return */, const std::map<std::string, std::string> & /* partitionSpecs */, const std::string& /* source_db */, const std::string& /* source_table_name */, const std::string& /* dest_db */, const std::string& /* dest_table_name */) {
- return;
- }
- void exchange_partitions(std::vector<Partition> & /* _return */, const std::map<std::string, std::string> & /* partitionSpecs */, const std::string& /* source_db */, const std::string& /* source_table_name */, const std::string& /* dest_db */, const std::string& /* dest_table_name */) {
- return;
- }
- 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 */) {
- return;
- }
- void get_partition_by_name(Partition& /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const std::string& /* part_name */) {
- return;
- }
- void get_partitions(std::vector<Partition> & /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const int16_t /* max_parts */) {
- return;
- }
- 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 */) {
- return;
- }
- void get_partitions_pspec(std::vector<PartitionSpec> & /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const int32_t /* max_parts */) {
- return;
- }
- void get_partition_names(std::vector<std::string> & /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const int16_t /* max_parts */) {
- return;
- }
- void get_partitions_ps(std::vector<Partition> & /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const std::vector<std::string> & /* part_vals */, const int16_t /* max_parts */) {
- return;
- }
- void get_partitions_ps_with_auth(std::vector<Partition> & /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const std::vector<std::string> & /* part_vals */, const int16_t /* max_parts */, const std::string& /* user_name */, const std::vector<std::string> & /* group_names */) {
- return;
- }
- void get_partition_names_ps(std::vector<std::string> & /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const std::vector<std::string> & /* part_vals */, const int16_t /* max_parts */) {
- return;
- }
- void get_partitions_by_filter(std::vector<Partition> & /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const std::string& /* filter */, const int16_t /* max_parts */) {
- return;
- }
- void get_part_specs_by_filter(std::vector<PartitionSpec> & /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const std::string& /* filter */, const int32_t /* max_parts */) {
- return;
- }
- void get_partitions_by_expr(PartitionsByExprResult& /* _return */, const PartitionsByExprRequest& /* req */) {
- return;
- }
- int32_t get_num_partitions_by_filter(const std::string& /* db_name */, const std::string& /* tbl_name */, const std::string& /* filter */) {
- int32_t _return = 0;
- return _return;
- }
- void get_partitions_by_names(std::vector<Partition> & /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const std::vector<std::string> & /* names */) {
- return;
- }
- void alter_partition(const std::string& /* db_name */, const std::string& /* tbl_name */, const Partition& /* new_part */) {
- return;
- }
- void alter_partitions(const std::string& /* db_name */, const std::string& /* tbl_name */, const std::vector<Partition> & /* new_parts */) {
- return;
- }
- void alter_partitions_with_environment_context(const std::string& /* db_name */, const std::string& /* tbl_name */, const std::vector<Partition> & /* new_parts */, const EnvironmentContext& /* environment_context */) {
- return;
- }
- void alter_partition_with_environment_context(const std::string& /* db_name */, const std::string& /* tbl_name */, const Partition& /* new_part */, const EnvironmentContext& /* environment_context */) {
- return;
- }
- void rename_partition(const std::string& /* db_name */, const std::string& /* tbl_name */, const std::vector<std::string> & /* part_vals */, const Partition& /* new_part */) {
- return;
- }
- bool partition_name_has_valid_characters(const std::vector<std::string> & /* part_vals */, const bool /* throw_exception */) {
- bool _return = false;
- return _return;
- }
- void get_config_value(std::string& /* _return */, const std::string& /* name */, const std::string& /* defaultValue */) {
- return;
- }
- void partition_name_to_vals(std::vector<std::string> & /* _return */, const std::string& /* part_name */) {
- return;
- }
- void partition_name_to_spec(std::map<std::string, std::string> & /* _return */, const std::string& /* part_name */) {
- return;
- }
- void markPartitionForEvent(const std::string& /* db_name */, const std::string& /* tbl_name */, const std::map<std::string, std::string> & /* part_vals */, const PartitionEventType::type /* eventType */) {
- return;
- }
- bool isPartitionMarkedForEvent(const std::string& /* db_name */, const std::string& /* tbl_name */, const std::map<std::string, std::string> & /* part_vals */, const PartitionEventType::type /* eventType */) {
- bool _return = false;
- return _return;
- }
- void add_index(Index& /* _return */, const Index& /* new_index */, const Table& /* index_table */) {
- return;
- }
- void alter_index(const std::string& /* dbname */, const std::string& /* base_tbl_name */, const std::string& /* idx_name */, const Index& /* new_idx */) {
- return;
- }
- bool drop_index_by_name(const std::string& /* db_name */, const std::string& /* tbl_name */, const std::string& /* index_name */, const bool /* deleteData */) {
- bool _return = false;
- return _return;
- }
- void get_index_by_name(Index& /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const std::string& /* index_name */) {
- return;
- }
- void get_indexes(std::vector<Index> & /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const int16_t /* max_indexes */) {
- return;
- }
- 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;
- }
- void get_primary_keys(PrimaryKeysResponse& /* _return */, const PrimaryKeysRequest& /* request */) {
- return;
- }
- void get_foreign_keys(ForeignKeysResponse& /* _return */, const ForeignKeysRequest& /* request */) {
- return;
- }
- void get_unique_constraints(UniqueConstraintsResponse& /* _return */, const UniqueConstraintsRequest& /* request */) {
- return;
- }
- void get_not_null_constraints(NotNullConstraintsResponse& /* _return */, const NotNullConstraintsRequest& /* request */) {
- 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;
- }
- void get_table_statistics_req(TableStatsResult& /* _return */, const TableStatsRequest& /* request */) {
- return;
- }
- void get_partitions_statistics_req(PartitionsStatsResult& /* _return */, const PartitionsStatsRequest& /* request */) {
- return;
- }
- void get_aggr_stats_for(AggrStats& /* _return */, const PartitionsStatsRequest& /* request */) {
- return;
- }
- bool set_aggr_stats_for(const SetPartitionsStatsRequest& /* request */) {
- bool _return = false;
- return _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;
- }
- void create_function(const Function& /* func */) {
- return;
- }
- void drop_function(const std::string& /* dbName */, const std::string& /* funcName */) {
- return;
- }
- void alter_function(const std::string& /* dbName */, const std::string& /* funcName */, const Function& /* newFunc */) {
- return;
- }
- void get_functions(std::vector<std::string> & /* _return */, const std::string& /* dbName */, const std::string& /* pattern */) {
- return;
- }
- void get_function(Function& /* _return */, const std::string& /* dbName */, const std::string& /* funcName */) {
- return;
- }
- void get_all_functions(GetAllFunctionsResponse& /* _return */) {
- return;
- }
- bool create_role(const Role& /* role */) {
- bool _return = false;
- return _return;
- }
- bool drop_role(const std::string& /* role_name */) {
- bool _return = false;
- return _return;
- }
- void get_role_names(std::vector<std::string> & /* _return */) {
- return;
- }
- bool grant_role(const std::string& /* role_name */, const std::string& /* principal_name */, const PrincipalType::type /* principal_type */, const std::string& /* grantor */, const PrincipalType::type /* grantorType */, const bool /* grant_option */) {
- bool _return = false;
- return _return;
- }
- bool revoke_role(const std::string& /* role_name */, const std::string& /* principal_name */, const PrincipalType::type /* principal_type */) {
- bool _return = false;
- return _return;
- }
- void list_roles(std::vector<Role> & /* _return */, const std::string& /* principal_name */, const PrincipalType::type /* principal_type */) {
- return;
- }
- void grant_revoke_role(GrantRevokeRoleResponse& /* _return */, const GrantRevokeRoleRequest& /* request */) {
- return;
- }
- void get_principals_in_role(GetPrincipalsInRoleResponse& /* _return */, const GetPrincipalsInRoleRequest& /* request */) {
- return;
- }
- void get_role_grants_for_principal(GetRoleGrantsForPrincipalResponse& /* _return */, const GetRoleGrantsForPrincipalRequest& /* request */) {
- return;
- }
- void get_privilege_set(PrincipalPrivilegeSet& /* _return */, const HiveObjectRef& /* hiveObject */, const std::string& /* user_name */, const std::vector<std::string> & /* group_names */) {
- return;
- }
- void list_privileges(std::vector<HiveObjectPrivilege> & /* _return */, const std::string& /* principal_name */, const PrincipalType::type /* principal_type */, const HiveObjectRef& /* hiveObject */) {
- return;
- }
- bool grant_privileges(const PrivilegeBag& /* privileges */) {
- bool _return = false;
- return _return;
- }
- bool revoke_privileges(const PrivilegeBag& /* privileges */) {
- bool _return = false;
- return _return;
- }
- void grant_revoke_privileges(GrantRevokePrivilegeResponse& /* _return */, const GrantRevokePrivilegeRequest& /* request */) {
- return;
- }
- void set_ugi(std::vector<std::string> & /* _return */, const std::string& /* user_name */, const std::vector<std::string> & /* group_names */) {
- return;
- }
- void get_delegation_token(std::string& /* _return */, const std::string& /* token_owner */, const std::string& /* renewer_kerberos_principal_name */) {
- return;
- }
- int64_t renew_delegation_token(const std::string& /* token_str_form */) {
- int64_t _return = 0;
- return _return;
- }
- void cancel_delegation_token(const std::string& /* token_str_form */) {
- return;
- }
- bool add_token(const std::string& /* token_identifier */, const std::string& /* delegation_token */) {
- bool _return = false;
- return _return;
- }
- bool remove_token(const std::string& /* token_identifier */) {
- bool _return = false;
- return _return;
- }
- void get_token(std::string& /* _return */, const std::string& /* token_identifier */) {
- return;
- }
- void get_all_token_identifiers(std::vector<std::string> & /* _return */) {
- return;
- }
- int32_t add_master_key(const std::string& /* key */) {
- int32_t _return = 0;
- return _return;
- }
- void update_master_key(const int32_t /* seq_number */, const std::string& /* key */) {
- return;
- }
- bool remove_master_key(const int32_t /* key_seq */) {
- bool _return = false;
- return _return;
- }
- void get_master_keys(std::vector<std::string> & /* _return */) {
- return;
- }
- void get_open_txns(GetOpenTxnsResponse& /* _return */) {
- return;
- }
- void get_open_txns_info(GetOpenTxnsInfoResponse& /* _return */) {
- return;
- }
- void open_txns(OpenTxnsResponse& /* _return */, const OpenTxnRequest& /* rqst */) {
- return;
- }
- void abort_txn(const AbortTxnRequest& /* rqst */) {
- return;
- }
- void abort_txns(const AbortTxnsRequest& /* rqst */) {
- return;
- }
- void commit_txn(const CommitTxnRequest& /* rqst */) {
- return;
- }
- void lock(LockResponse& /* _return */, const LockRequest& /* rqst */) {
- return;
- }
- void check_lock(LockResponse& /* _return */, const CheckLockRequest& /* rqst */) {
- return;
- }
- void unlock(const UnlockRequest& /* rqst */) {
- return;
- }
- void show_locks(ShowLocksResponse& /* _return */, const ShowLocksRequest& /* rqst */) {
- return;
- }
- void heartbeat(const HeartbeatRequest& /* ids */) {
- return;
- }
- void heartbeat_txn_range(HeartbeatTxnRangeResponse& /* _return */, const HeartbeatTxnRangeRequest& /* txns */) {
- return;
- }
- void compact(const CompactionRequest& /* rqst */) {
- return;
- }
- void compact2(CompactionResponse& /* _return */, const CompactionRequest& /* rqst */) {
- return;
- }
- void show_compact(ShowCompactResponse& /* _return */, const ShowCompactRequest& /* rqst */) {
- return;
- }
- void add_dynamic_partitions(const AddDynamicPartitions& /* rqst */) {
- return;
- }
- void get_next_notification(NotificationEventResponse& /* _return */, const NotificationEventRequest& /* rqst */) {
- return;
- }
- void get_current_notificationEventId(CurrentNotificationEventId& /* _return */) {
- return;
- }
- void fire_listener_event(FireEventResponse& /* _return */, const FireEventRequest& /* rqst */) {
- return;
- }
- void flushCache() {
- return;
- }
- void cm_recycle(CmRecycleResponse& /* _return */, const CmRecycleRequest& /* request */) {
- return;
- }
- void get_file_metadata_by_expr(GetFileMetadataByExprResult& /* _return */, const GetFileMetadataByExprRequest& /* req */) {
- return;
- }
- void get_file_metadata(GetFileMetadataResult& /* _return */, const GetFileMetadataRequest& /* req */) {
- return;
- }
- void put_file_metadata(PutFileMetadataResult& /* _return */, const PutFileMetadataRequest& /* req */) {
- return;
- }
- void clear_file_metadata(ClearFileMetadataResult& /* _return */, const ClearFileMetadataRequest& /* req */) {
- return;
- }
- void cache_file_metadata(CacheFileMetadataResult& /* _return */, const CacheFileMetadataRequest& /* req */) {
- return;
- }
- void get_metastore_db_uuid(std::string& /* _return */) {
- return;
- }
-};
-
-typedef struct _ThriftHiveMetastore_getMetaConf_args__isset {
- _ThriftHiveMetastore_getMetaConf_args__isset() : key(false) {}
- bool key :1;
-} _ThriftHiveMetastore_getMetaConf_args__isset;
-
-class ThriftHiveMetastore_getMetaConf_args {
- public:
-
- ThriftHiveMetastore_getMetaConf_args(const ThriftHiveMetastore_getMetaConf_args&);
- ThriftHiveMetastore_getMetaConf_args& operator=(const ThriftHiveMetastore_getMetaConf_args&);
- ThriftHiveMetastore_getMetaConf_args() : key() {
- }
-
- virtual ~ThriftHiveMetastore_getMetaConf_args() throw();
- std::string key;
-
- _ThriftHiveMetastore_getMetaConf_args__isset __isset;
-
- void __set_key(const std::string& val);
-
- bool operator == (const ThriftHiveMetastore_getMetaConf_args & rhs) const
- {
- if (!(key == rhs.key))
- return false;
- return true;
- }
- bool operator != (const ThriftHiveMetastore_getMetaConf_args &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ThriftHiveMetastore_getMetaConf_args & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-
-class ThriftHiveMetastore_getMetaConf_pargs {
- public:
-
-
- virtual ~ThriftHiveMetastore_getMetaConf_pargs() throw();
- const std::string* key;
-
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _ThriftHiveMetastore_getMetaConf_result__isset {
- _ThriftHiveMetastore_getMetaConf_result__isset() : success(false), o1(false) {}
- bool success :1;
- bool o1 :1;
-} _ThriftHiveMetastore_getMetaConf_result__isset;
-
-class ThriftHiveMetastore_getMetaConf_result {
- public:
-
- ThriftHiveMetastore_getMetaConf_result(const ThriftHiveMetastore_getMetaConf_result&);
- ThriftHiveMetastore_getMetaConf_result& operator=(const ThriftHiveMetastore_getMetaConf_result&);
- ThriftHiveMetastore_getMetaConf_result() : success() {
- }
-
- virtual ~ThriftHiveMetastore_getMetaConf_result() throw();
- std::string success;
- MetaException o1;
-
- _ThriftHiveMetastore_getMetaConf_result__isset __isset;
-
- void __set_success(const std::string& val);
-
- void __set_o1(const MetaException& val);
-
- bool operator == (const ThriftHiveMetastore_getMetaConf_result & rhs) const
- {
- if (!(success == rhs.success))
- return false;
- if (!(o1 == rhs.o1))
- return false;
- return true;
- }
- bool operator != (const ThriftHiveMetastore_getMetaConf_result &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ThriftHiveMetastore_getMetaConf_result & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _ThriftHiveMetastore_getMetaConf_presult__isset {
- _ThriftHiveMetastore_getMetaConf_presult__isset() : success(false), o1(false) {}
- bool success :1;
- bool o1 :1;
-} _ThriftHiveMetastore_getMetaConf_presult__isset;
-
-class ThriftHiveMetastore_getMetaConf_presult {
- public:
-
-
- virtual ~ThriftHiveMetastore_getMetaConf_presult() throw();
- std::string* success;
- MetaException o1;
-
- _ThriftHiveMetastore_getMetaConf_presult__isset __isset;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-
-};
-
-typedef struct _ThriftHiveMetastore_setMetaConf_args__isset {
- _ThriftHiveMetastore_setMetaConf_args__isset() : key(false), value(false) {}
- bool key :1;
- bool value :1;
-} _ThriftHiveMetastore_setMetaConf_args__isset;
-
-class ThriftHiveMetastore_setMetaConf_args {
- public:
-
- ThriftHiveMetastore_setMetaConf_args(const ThriftHiveMetastore_setMetaConf_args&);
- ThriftHiveMetastore_setMetaConf_args& operator=(const ThriftHiveMetastore_setMetaConf_args&);
- ThriftHiveMetastore_setMetaConf_args() : key(), value() {
- }
-
- virtual ~ThriftHiveMetastore_setMetaConf_args() throw();
- std::string key;
- std::string value;
-
- _ThriftHiveMetastore_setMetaConf_args__isset __isset;
-
- void __set_key(const std::string& val);
-
- void __set_value(const std::string& val);
-
- bool operator == (const ThriftHiveMetastore_setMetaConf_args & rhs) const
- {
- if (!(key == rhs.key))
- return false;
- if (!(value == rhs.value))
- return false;
- return true;
- }
- bool operator != (const ThriftHiveMetastore_setMetaConf_args &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ThriftHiveMetastore_setMetaConf_args & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-
-class ThriftHiveMetastore_setMetaConf_pargs {
- public:
-
-
- virtual ~ThriftHiveMetastore_setMetaConf_pargs() throw();
- const std::string* key;
- const std::string* value;
-
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _ThriftHiveMetastore_setMetaConf_result__isset {
- _ThriftHiveMetastore_setMetaConf_result__isset() : o1(false) {}
- bool o1 :1;
-} _ThriftHiveMetastore_setMetaConf_result__isset;
-
-class ThriftHiveMetastore_setMetaConf_result {
- public:
-
- ThriftHiveMetastore_setMetaConf_result(const ThriftHiveMetastore_setMetaConf_result&);
- ThriftHiveMetastore_setMetaConf_result& operator=(const ThriftHiveMetastore_setMetaConf_result&);
- ThriftHiveMetastore_setMetaConf_result() {
- }
-
- virtual ~ThriftHiveMetastore_setMetaConf_result() throw();
- MetaException o1;
-
- _ThriftHiveMetastore_setMetaConf_result__isset __isset;
-
- void __set_o1(const MetaException& val);
-
- bool operator == (const ThriftHiveMetastore_setMetaConf_result & rhs) const
- {
- if (!(o1 == rhs.o1))
- return false;
- return true;
- }
- bool operator != (const ThriftHiveMetastore_setMetaConf_result &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ThriftHiveMetastore_setMetaConf_result & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _ThriftHiveMetastore_setMetaConf_presult__isset {
- _ThriftHiveMetastore_setMetaConf_presult__isset() : o1(false) {}
- bool o1 :1;
-} _ThriftHiveMetastore_setMetaConf_presult__isset;
-
-class ThriftHiveMetastore_setMetaConf_presult {
- public:
-
-
- virtual ~ThriftHiveMetastore_setMetaConf_presult() throw();
- MetaException o1;
-
- _ThriftHiveMetastore_setMetaConf_presult__isset __isset;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-
-};
-
-typedef struct _ThriftHiveMetastore_create_database_args__isset {
- _ThriftHiveMetastore_create_database_args__isset() : database(false) {}
- bool database :1;
-} _ThriftHiveMetastore_create_database_args__isset;
-
-class ThriftHiveMetastore_create_database_args {
- public:
-
- ThriftHiveMetastore_create_database_args(const ThriftHiveMetastore_create_database_args&);
- ThriftHiveMetastore_create_database_args& operator=(const ThriftHiveMetastore_create_database_args&);
- ThriftHiveMetastore_create_database_args() {
- }
-
- virtual ~ThriftHiveMetastore_create_database_args() throw();
- Database database;
-
- _ThriftHiveMetastore_create_database_args__isset __isset;
-
- void __set_database(const Database& val);
-
- bool operator == (const ThriftHiveMetastore_create_database_args & rhs) const
- {
- if (!(database == rhs.database))
- return false;
- return true;
- }
- bool operator != (const ThriftHiveMetastore_create_database_args &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ThriftHiveMetastore_create_database_args & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-
-class ThriftHiveMetastore_create_database_pargs {
- public:
-
-
- virtual ~ThriftHiveMetastore_create_database_pargs() throw();
- const Database* database;
-
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _ThriftHiveMetastore_create_database_result__isset {
- _ThriftHiveMetastore_create_database_result__isset() : o1(false), o2(false), o3(false) {}
- bool o1 :1;
- bool o2 :1;
- bool o3 :1;
-} _ThriftHiveMetastore_create_database_result__isset;
-
-class ThriftHiveMetastore_create_database_result {
- public:
-
- ThriftHiveMetastore_create_database_result(const ThriftHiveMetastore_create_database_result&);
- ThriftHiveMetastore_create_database_result& operator=(const ThriftHiveMetastore_create_database_result&);
- ThriftHiveMetastore_create_database_result() {
- }
-
- virtual ~ThriftHiveMetastore_create_database_result() throw();
- AlreadyExistsException o1;
- InvalidObjectException o2;
- MetaException o3;
-
- _ThriftHiveMetastore_create_database_result__isset __isset;
-
- void __set_o1(const AlreadyExistsException& val);
-
- void __set_o2(const InvalidObjectException& val);
-
- void __set_o3(const MetaException& val);
-
- bool operator == (const ThriftHiveMetastore_create_database_result & rhs) const
- {
- if (!(o1 == rhs.o1))
- return false;
- if (!(o2 == rhs.o2))
- return false;
- if (!(o3 == rhs.o3))
- return false;
- return true;
- }
- bool operator != (const ThriftHiveMetastore_create_database_result &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ThriftHiveMetastore_create_database_result & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _ThriftHiveMetastore_create_database_presult__isset {
- _ThriftHiveMetastore_create_database_presult__isset() : o1(false), o2(false), o3(false) {}
- bool o1 :1;
- bool o2 :1;
- bool o3 :1;
-} _ThriftHiveMetastore_create_database_presult__isset;
-
-class ThriftHiveMetastore_create_database_presult {
- public:
-
-
- virtual ~ThriftHiveMetastore_create_database_presult() throw();
- AlreadyExistsException o1;
- InvalidObjectException o2;
- MetaException o3;
-
- _ThriftHiveMetastore_create_database_presult__isset __isset;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-
-};
-
-typedef struct _ThriftHiveMetastore_get_database_args__isset {
- _ThriftHiveMetastore_get_database_args__isset() : name(false) {}
- bool name :1;
-} _ThriftHiveMetastore_get_database_args__isset;
-
-class ThriftHiveMetastore_get_database_args {
- public:
-
- ThriftHiveMetastore_get_database_args(const ThriftHiveMetastore_get_database_args&);
- ThriftHiveMetastore_get_database_args& operator=(const ThriftHiveMetastore_get_database_args&);
- ThriftHiveMetastore_get_database_args() : name() {
- }
-
- virtual ~ThriftHiveMetastore_get_database_args() throw();
- std::string name;
-
- _ThriftHiveMetastore_get_database_args__isset __isset;
-
- void __set_name(const std::string& val);
-
- bool operator == (const ThriftHiveMetastore_get_database_args & rhs) const
- {
- if (!(name == rhs.name))
- return false;
- return true;
- }
- bool operator != (const ThriftHiveMetastore_get_database_args &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ThriftHiveMetastore_get_database_args & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-
-class ThriftHiveMetastore_get_database_pargs {
- public:
-
-
- virtual ~ThriftHiveMetastore_get_database_pargs() throw();
- const std::string* name;
-
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _ThriftHiveMetastore_get_database_result__isset {
- _ThriftHiveMetastore_get_database_result__isset() : success(false), o1(false), o2(false) {}
- bool success :1;
- bool o1 :1;
- bool o2 :1;
-} _ThriftHiveMetastore_get_database_result__isset;
-
-class ThriftHiveMetastore_get_database_result {
- public:
-
- ThriftHiveMetastore_get_database_result(const ThriftHiveMetastore_get_database_result&);
- ThriftHiveMetastore_get_database_result& operator=(const ThriftHiveMetastore_get_database_result&);
- ThriftHiveMetastore_get_database_result() {
- }
-
- virtual ~ThriftHiveMetastore_get_database_result() throw();
- Database success;
- NoSuchObjectException o1;
- MetaException o2;
-
- _ThriftHiveMetastore_get_database_result__isset __isset;
-
- void __set_success(const Database& val);
-
- void __set_o1(const NoSuchObjectException& val);
-
- void __set_o2(const MetaException& val);
-
- bool operator == (const ThriftHiveMetastore_get_database_result & rhs) const
- {
- if (!(success == rhs.success))
- return false;
- if (!(o1 == rhs.o1))
- return false;
- if (!(o2 == rhs.o2))
- return false;
- return true;
- }
- bool operator != (const ThriftHiveMetastore_get_database_result &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ThriftHiveMetastore_get_database_result & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _ThriftHiveMetastore_get_database_presult__isset {
- _ThriftHiveMetastore_get_database_presult__isset() : success(false), o1(false), o2(false) {}
- bool success :1;
- bool o1 :1;
- bool o2 :1;
-} _ThriftHiveMetastore_get_database_presult__isset;
-
-class ThriftHiveMetastore_get_database_presult {
- public:
-
-
- virtual ~ThriftHiveMetastore_get_database_presult() throw();
- Database* success;
- NoSuchObjectException o1;
- MetaException o2;
-
- _ThriftHiveMetastore_get_database_presult__isset __isset;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-
-};
-
-typedef struct _ThriftHiveMetastore_drop_database_args__isset {
- _ThriftHiveMetastore_drop_database_args__isset() : name(false), deleteData(false), cascade(false) {}
- bool name :1;
- bool deleteData :1;
- bool cascade :1;
-} _ThriftHiveMetastore_drop_database_args__isset;
-
-class ThriftHiveMetastore_drop_database_args {
- public:
-
- ThriftHiveMetastore_drop_database_args(const ThriftHiveMetastore_drop_database_args&);
- ThriftHiveMetastore_drop_database_args& operator=(const ThriftHiveMetastore_drop_database_args&);
- ThriftHiveMetastore_drop_database_args() : name(), deleteData(0), cascade(0) {
- }
-
- virtual ~ThriftHiveMetastore_drop_database_args() throw();
- std::string name;
- bool deleteData;
- bool cascade;
-
- _ThriftHiveMetastore_drop_database_args__isset __isset;
-
- void __set_name(const std::string& val);
-
- void __set_deleteData(const bool val);
-
- void __set_cascade(const bool val);
-
- bool operator == (const ThriftHiveMetastore_drop_database_args & rhs) const
- {
- if (!(name == rhs.name))
- return false;
- if (!(deleteData == rhs.deleteData))
- return false;
- if (!(cascade == rhs.cascade))
- return false;
- return true;
- }
- bool operator != (const ThriftHiveMetastore_drop_database_args &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ThriftHiveMetastore_drop_database_args & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-
-class ThriftHiveMetastore_drop_database_pargs {
- public:
-
-
- virtual ~ThriftHiveMetastore_drop_database_pargs() throw();
- const std::string* name;
- const bool* deleteData;
- const bool* cascade;
-
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _ThriftHiveMetastore_drop_database_result__isset {
- _ThriftHiveMetastore_drop_database_result__isset() : o1(false), o2(false), o3(false) {}
- bool o1 :1;
- bool o2 :1;
- bool o3 :1;
-} _ThriftHiveMetastore_drop_database_result__isset;
-
-class ThriftHiveMetastore_drop_database_result {
- public:
-
- ThriftHiveMetastore_drop_database_result(const ThriftHiveMetastore_drop_database_result&);
- ThriftHiveMetastore_drop_database_result& operator=(const ThriftHiveMetastore_drop_database_result&);
- ThriftHiveMetastore_drop_database_result() {
- }
-
- virtual ~ThriftHiveMetastore_drop_database_result() throw();
- NoSuchObjectException o1;
- InvalidOperationException o2;
- MetaException o3;
-
- _ThriftHiveMetastore_drop_database_result__isset __isset;
-
- void __set_o1(const NoSuchObjectException& val);
-
- void __set_o2(const InvalidOperationException& val);
-
- void __set_o3(const MetaException& val);
-
- bool operator == (const ThriftHiveMetastore_drop_database_result & rhs) const
- {
- if (!(o1 == rhs.o1))
- return false;
- if (!(o2 == rhs.o2))
- return false;
- if (!(o3 == rhs.o3))
- return false;
- return true;
- }
- bool operator != (const ThriftHiveMetastore_drop_database_result &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ThriftHiveMetastore_drop_database_result & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _ThriftHiveMetastore_drop_database_presult__isset {
- _ThriftHiveMetastore_drop_database_presult__isset() : o1(false), o2(false), o3(false) {}
- bool o1 :1;
- bool o2 :1;
- bool o3 :1;
-} _ThriftHiveMetastore_drop_database_presult__isset;
-
-class ThriftHiveMetastore_drop_database_presult {
- public:
-
-
- virtual ~ThriftHiveMetastore_drop_database_presult() throw();
- NoSuchObjectException o1;
- InvalidOperationException o2;
- MetaException o3;
-
- _ThriftHiveMetastore_drop_database_presult__isset __isset;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-
-};
-
-typedef struct _ThriftHiveMetastore_get_databases_args__isset {
- _ThriftHiveMetastore_get_databases_args__isset() : pattern(false) {}
- bool pattern :1;
-} _ThriftHiveMetastore_get_databases_args__isset;
-
-class ThriftHiveMetastore_get_databases_args {
- public:
-
- ThriftHiveMetastore_get_databases_args(const ThriftHiveMetastore_get_databases_args&);
- ThriftHiveMetastore_get_databases_args& operator=(const ThriftHiveMetastore_get_databases_args&);
- ThriftHiveMetastore_get_databases_args() : pattern() {
- }
-
- virtual ~ThriftHiveMetastore_get_databases_args() throw();
- std::string pattern;
-
- _ThriftHiveMetastore_get_databases_args__isset __isset;
-
- void __set_pattern(const std::string& val);
-
- bool operator == (const ThriftHiveMetastore_get_databases_args & rhs) const
- {
- if (!(pattern == rhs.pattern))
- return false;
- return true;
- }
- bool operator != (const ThriftHiveMetastore_get_databases_args &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ThriftHiveMetastore_get_databases_args & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-
-class ThriftHiveMetastore_get_databases_pargs {
- public:
-
-
- virtual ~ThriftHiveMetastore_get_databases_pargs() throw();
- const std::string* pattern;
-
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _ThriftHiveMetastore_get_databases_result__isset {
- _ThriftHiveMetastore_get_databases_result__isset() : success(false), o1(false) {}
- bool success :1;
- bool o1 :1;
-} _ThriftHiveMetastore_get_databases_result__isset;
-
-class ThriftHiveMetastore_get_databases_result {
- public:
-
- ThriftHiveMetastore_get_databases_result(const ThriftHiveMetastore_get_databases_result&);
- ThriftHiveMetastore_get_databases_result& operator=(const ThriftHiveMetastore_get_databases_result&);
- ThriftHiveMetastore_get_databases_result() {
- }
-
- virtual ~ThriftHiveMetastore_get_databases_result() throw();
- std::vector<std::string> success;
- MetaException o1;
-
- _ThriftHiveMetastore_get_databases_result__isset __isset;
-
- void __set_success(const std::vector<std::string> & val);
-
- void __set_o1(const MetaException& val);
-
- bool operator == (const ThriftHiveMetastore_get_databases_result & rhs) const
- {
- if (!(success == rhs.success))
- return false;
- if (!(o1 == rhs.o1))
- return false;
- return true;
- }
- bool operator != (const ThriftHiveMetastore_get_databases_result &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ThriftHiveMetastore_get_databases_result & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _ThriftHiveMetastore_get_databases_presult__isset {
- _ThriftHiveMetastore_get_databases_presult__isset() : success(false), o1(false) {}
- bool success :1;
- bool o1 :1;
-} _ThriftHiveMetastore_get_databases_presult__isset;
-
-class ThriftHiveMetastore_get_databases_presult {
- public:
-
-
- virtual ~ThriftHiveMetastore_get_databases_presult() throw();
- std::vector<std::string> * success;
- MetaException o1;
-
- _ThriftHiveMetastore_get_databases_presult__isset __isset;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-
-};
-
-
-class ThriftHiveMetastore_get_all_databases_args {
- public:
-
- ThriftHiveMetastore_get_all_databases_args(const ThriftHiveMetastore_get_all_databases_args&);
- ThriftHiveMetastore_get_all_databases_args& operator=(const ThriftHiveMetastore_get_all_databases_args&);
- ThriftHiveMetastore_get_all_databases_args() {
- }
-
- virtual ~ThriftHiveMetastore_get_all_databases_args() throw();
-
- bool operator == (const ThriftHiveMetastore_get_all_databases_args & /* rhs */) const
- {
- return true;
- }
- bool operator != (const ThriftHiveMetastore_get_all_databases_args &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ThriftHiveMetastore_get_all_databases_args & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-
-class ThriftHiveMetastore_get_all_databases_pargs {
- public:
-
-
- virtual ~ThriftHiveMetastore_get_all_databases_pargs() throw();
-
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _ThriftHiveMetastore_get_all_databases_result__isset {
- _ThriftHiveMetastore_get_all_databases_result__isset() : success(false), o1(false) {}
- bool success :1;
- bool o1 :1;
-} _ThriftHiveMetastore_get_all_databases_result__isset;
-
-class ThriftHiveMetastore_get_all_databases_result {
- public:
-
- ThriftHiveMetastore_get_all_databases_result(const ThriftHiveMetastore_get_all_databases_result&);
- ThriftHiveMetastore_get_all_databases_result& operator=(const ThriftHiveMetastore_get_all_databases_result&);
- ThriftHiveMetastore_get_all_databases_result() {
- }
-
- virtual ~ThriftHiveMetastore_get_all_databases_result() throw();
- std::vector<std::string> success;
- MetaException o1;
-
- _ThriftHiveMetastore_get_all_databases_result__isset __isset;
-
- void __set_success(const std::vector<std::string> & val);
-
- void __set_o1(const MetaException& val);
-
- bool operator == (const ThriftHiveMetastore_get_all_databases_result & rhs) const
- {
- if (!(success == rhs.success))
- return false;
- if (!(o1 == rhs.o1))
- return false;
- return true;
- }
- bool operator != (const ThriftHiveMetastore_get_all_databases_result &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ThriftHiveMetastore_get_all_databases_result & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _ThriftHiveMetastore_get_all_databases_presult__isset {
- _ThriftHiveMetastore_get_all_databases_presult__isset() : success(false), o1(false) {}
- bool success :1;
- bool o1 :1;
-} _ThriftHiveMetastore_get_all_databases_presult__isset;
-
-class ThriftHiveMetastore_get_all_databases_presult {
- public:
-
-
- virtual ~ThriftHiveMetastore_get_all_databases_presult() throw();
- std::vector<std::string> * success;
- MetaException o1;
-
- _ThriftHiveMetastore_get_all_databases_presult__isset __isset;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-
-};
-
-typedef struct _ThriftHiveMetastore_alter_database_args__isset {
- _ThriftHiveMetastore_alter_database_args__isset() : dbname(false), db(false) {}
- bool dbname :1;
- bool db :1;
-} _ThriftHiveMetastore_alter_database_args__isset;
-
-class ThriftHiveMetastore_alter_database_args {
- public:
-
- ThriftHiveMetastore_alter_database_args(const ThriftHiveMetastore_alter_database_args&);
- ThriftHiveMetastore_alter_database_args& operator=(const ThriftHiveMetastore_alter_database_args&);
- ThriftHiveMetastore_alter_database_args() : dbname() {
- }
-
- virtual ~ThriftHiveMetastore_alter_database_args() throw();
- std::string dbname;
- Database db;
-
- _ThriftHiveMetastore_alter_database_args__isset __isset;
-
- void __set_dbname(const std::string& val);
-
- void __set_db(const Database& val);
-
- bool operator == (const ThriftHiveMetastore_alter_database_args & rhs) const
- {
- if (!(dbname == rhs.dbname))
- return false;
- if (!(db == rhs.db))
- return false;
- return true;
- }
- bool operator != (const ThriftHiveMetastore_alter_database_args &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ThriftHiveMetastore_alter_database_args & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-
-class ThriftHiveMetastore_alter_database_pargs {
- public:
-
-
- virtual ~ThriftHiveMetastore_alter_database_pargs() throw();
- const std::string* dbname;
- const Database* db;
-
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _ThriftHiveMetastore_alter_database_result__isset {
- _ThriftHiveMetastore_alter_database_result__isset() : o1(false), o2(false) {}
- bool o1 :1;
- bool o2 :1;
-} _ThriftHiveMetastore_alter_database_result__isset;
-
-class ThriftHiveMetastore_alter_database_result {
- public:
-
- ThriftHiveMetastore_alter_database_result(const ThriftHiveMetastore_alter_database_result&);
- ThriftHiveMetastore_alter_database_result& operator=(const ThriftHiveMetastore_alter_database_result&);
- ThriftHiveMetastore_alter_database_result() {
- }
-
- virtual ~ThriftHiveMetastore_alter_database_result() throw();
- MetaException o1;
- NoSuchObjectException o2;
-
- _ThriftHiveMetastore_alter_database_result__isset __isset;
-
- void __set_o1(const MetaException& val);
-
- void __set_o2(const NoSuchObjectException& val);
-
- bool operator == (const ThriftHiveMetastore_alter_database_result & rhs) const
- {
- if (!(o1 == rhs.o1))
- return false;
- if (!(o2 == rhs.o2))
- return false;
- return true;
- }
- bool operator != (const ThriftHiveMetastore_alter_database_result &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ThriftHiveMetastore_alter_database_result & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _ThriftHiveMetastore_alter_database_presult__isset {
- _ThriftHiveMetastore_alter_database_presult__isset() : o1(false), o2(false) {}
- bool o1 :1;
- bool o2 :1;
-} _ThriftHiveMetastore_alter_database_presult__isset;
-
-class ThriftHiveMetastore_alter_database_presult {
- public:
-
-
- virtual ~ThriftHiveMetastore_alter_database_presult() throw();
- MetaException o1;
- NoSuchObjectException o2;
-
- _ThriftHiveMetastore_alter_database_presult__isset __isset;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-
-};
-
-typedef struct _ThriftHiveMetastore_get_type_args__isset {
- _ThriftHiveMetastore_get_type_args__isset() : name(false) {}
- bool name :1;
-} _ThriftHiveMetastore_get_type_args__isset;
-
-class ThriftHiveMetastore_get_type_args {
- public:
-
- ThriftHiveMetastore_get_type_args(const ThriftHiveMetastore_get_type_args&);
- ThriftHiveMetastore_get_type_args& operator=(const ThriftHiveMetastore_get_type_args&);
- ThriftHiveMetastore_get_type_args() : name() {
- }
-
- virtual ~ThriftHiveMetastore_get_type_args() throw();
- std::string name;
-
- _ThriftHiveMetastore_get_type_args__isset __isset;
-
- void __set_name(const std::string& val);
-
- bool operator == (const ThriftHiveMetastore_get_type_args & rhs) const
- {
- if (!(name == rhs.name))
- return false;
- return true;
- }
- bool operator != (const ThriftHiveMetastore_get_type_args &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ThriftHiveMetastore_get_type_args & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-
-class ThriftHiveMetastore_get_type_pargs {
- public:
-
-
- virtual ~ThriftHiveMetastore_get_type_pargs() throw();
- const std::string* name;
-
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _ThriftHiveMetastore_get_type_result__isset {
- _ThriftHiveMetastore_get_type_result__isset() : success(false), o1(false), o2(false) {}
- bool success :1;
- bool o1 :1;
- bool o2 :1;
-} _ThriftHiveMetastore_get_type_result__isset;
-
-class ThriftHiveMetastore_get_type_result {
- public:
-
- ThriftHiveMetastore_get_type_result(const ThriftHiveMetastore_get_type_result&);
- ThriftHiveMetastore_get_type_result& operator=(const ThriftHiveMetastore_get_type_result&);
- ThriftHiveMetastore_get_type_result() {
- }
-
- virtual ~ThriftHiveMetastore_get_type_result() throw();
- Type success;
- MetaException o1;
- NoSuchObjectException o2;
-
- _ThriftHiveMetastore_get_type_result__isset __isset;
-
- void __set_success(const Type& val);
-
- void __set_o1(const MetaException& val);
-
- void __set_o2(const NoSuchObjectException& val);
-
- bool operator == (const ThriftHiveMetastore_get_type_result & rhs) const
- {
- if (!(success == rhs.success))
- return false;
- if (!(o1 == rhs.o1))
- return false;
- if (!(o2 == rhs.o2))
- return false;
- return true;
- }
- bool operator != (const ThriftHiveMetastore_get_type_result &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ThriftHiveMetastore_get_type_result & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _ThriftHiveMetastore_get_type_presult__isset {
- _ThriftHiveMetastore_get_type_presult__isset() : success(false), o1(false), o2(false) {}
- bool success :1;
- bool o1 :1;
- bool o2 :1;
-} _ThriftHiveMetastore_get_type_presult__isset;
-
-class ThriftHiveMetastore_get_type_presult {
- public:
-
-
- virtual ~ThriftHiveMetastore_get_type_presult() throw();
- Type* success;
- MetaException o1;
- NoSuchObjectException o2;
-
- _ThriftHiveMetastore_get_type_presult__isset __isset;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-
-};
-
-typedef struct _ThriftHiveMetastore_create_type_args__isset {
- _ThriftHiveMetastore_create_type_args__isset() : type(false) {}
- bool type :1;
-} _ThriftHiveMetastore_create_type_args__isset;
-
-class ThriftHiveMetastore_create_type_args {
- public:
-
- ThriftHiveMetastore_create_type_args(const ThriftHiveMetastore_create_type_args&);
- ThriftHiveMetastore_create_type_args& operator=(const ThriftHiveMetastore_create_type_args&);
- ThriftHiveMetastore_create_type_args() {
- }
-
- virtual ~ThriftHiveMetastore_create_type_args() throw();
- Type type;
-
- _ThriftHiveMetastore_create_type_args__isset __isset;
-
- void __set_type(const Type& val);
-
- bool operator == (const ThriftHiveMetastore_create_type_args & rhs) const
- {
- if (!(type == rhs.type))
- return false;
- return true;
- }
- bool operator != (const ThriftHiveMetastore_create_type_args &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ThriftHiveMetastore_create_type_args & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-
-class ThriftHiveMetastore_create_type_pargs {
- public:
-
-
- virtual ~ThriftHiveMetastore_create_type_pargs() throw();
- const Type* type;
-
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _ThriftHiveMetastore_create_type_result__isset {
- _ThriftHiveMetastore_create_type_result__isset() : success(false), o1(false), o2(false), o3(false) {}
- bool success :1;
- bool o1 :1;
- bool o2 :1;
- bool o3 :1;
-} _ThriftHiveMetastore_create_type_result__isset;
-
-class ThriftHiveMetastore_create_type_result {
- public:
-
- ThriftHiveMetastore_create_type_result(const ThriftHiveMetastore_create_type_result&);
- ThriftHiveMetastore_create_type_result& operator=(const ThriftHiveMetastore_create_type_result&);
- ThriftHiveMetastore_create_type_result() : success(0) {
- }
-
- virtual ~ThriftHiveMetastore_create_type_result() throw();
- bool success;
- AlreadyExistsException o1;
- InvalidObjectException o2;
- MetaException o3;
-
- _ThriftHiveMetastore_create_type_result__isset __isset;
-
- void __set_success(const bool val);
-
- void __set_o1(const AlreadyExistsException& val);
-
- void __set_o2(const InvalidObjectException& val);
-
- void __set_o3(const MetaException& val);
-
- bool operator == (const ThriftHiveMetastore_create_type_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;
- return true;
- }
- bool operator != (const ThriftHiveMetastore_create_type_result &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ThriftHiveMetastore_create_type_result & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _ThriftHiveMetastore_create_type_presult__isset {
- _ThriftHiveMetastore_create_type_presult__isset() : success(false), o1(false), o2(false), o3(false) {}
- bool success :1;
- bool o1 :1;
- bool o2 :1;
- bool o3 :1;
-} _ThriftHiveMetastore_create_type_presult__isset;
-
-class ThriftHiveMetastore_create_type_presult {
- public:
-
-
- virtual ~ThriftHiveMetastore_create_type_presult() throw();
- bool* success;
- AlreadyExistsException o1;
- InvalidObjectException o2;
- MetaException o3;
-
- _ThriftHiveMetastore_create_type_presult__isset __isset;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-
-};
-
-typedef struct _ThriftHiveMetastore_drop_type_args__isset {
- _ThriftHiveMetastore_drop_type_args__isset() : type(false) {}
- bool type :1;
-} _ThriftHiveMetastore_drop_type_args__isset;
-
-class ThriftHiveMetastore_drop_type_args {
- public:
-
- ThriftHiveMetastore_drop_type_args(const ThriftHiveMetastore_drop_type_args&);
- ThriftHiveMetastore_drop_type_args& operator=(const ThriftHiveMetastore_drop_type_args&);
- ThriftHiveMetastore_drop_type_args() : type() {
- }
-
- virtual ~ThriftHiveMetastore_drop_type_args() throw();
- std::string type;
-
- _ThriftHiveMetastore_drop_type_args__isset __isset;
-
- void __set_type(const std::string& val);
-
- bool operator == (const ThriftHiveMetastore_drop_type_args & rhs) const
- {
- if (!(type == rhs.type))
- return false;
- return true;
- }
- bool operator != (const ThriftHiveMetastore_drop_type_args &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ThriftHiveMetastore_drop_type_args & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-
-class ThriftHiveMetastore_drop_type_pargs {
- public:
-
-
- virtual ~ThriftHiveMetastore_drop_type_pargs() throw();
- const std::string* type;
-
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _ThriftHiveMetastore_drop_type_result__isset {
- _ThriftHiveMetastore_drop_type_result__isset() : success(false), o1(false), o2(false) {}
- bool success :1;
- bool o1 :1;
- bool o2 :1;
-} _ThriftHiveMetastore_drop_type_result__isset;
-
-class ThriftHiveMetastore_drop_type_result {
- public:
-
- ThriftHiveMetastore_drop_type_result(const ThriftHiveMetastore_drop_type_result&);
- ThriftHiveMetastore_drop_type_result& operator=(const ThriftHiveMetastore_drop_type_result&);
- ThriftHiveMetastore_drop_type_result() : success(0) {
- }
-
- virtual ~ThriftHiveMetastore_drop_type_result() throw();
- bool success;
- MetaException o1;
- NoSuchObjectException o2;
-
- _ThriftHiveMetastore_drop_type_result__isset __isset;
-
- void __set_success(const bool val);
-
- void __set_o1(const MetaException& val);
-
- void __set_o2(const NoSuchObjectException& val);
-
- bool operator == (const ThriftHiveMetastore_drop_type_result & rhs) const
- {
- if (!(success == rhs.success))
- return false;
- if (!(o1 == rhs.o1))
- return false;
- if (!(o2 == rhs.o2))
- return false;
- return true;
- }
- bool operator != (const ThriftHiveMetastore_drop_type_result &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ThriftHiveMetastore_drop_type_result & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _ThriftHiveMetastore_drop_type_presult__isset {
- _ThriftHiveMetastore_drop_type_presult__isset() : success(false), o1(false), o2(false) {}
- bool success :1;
- bool o1 :1;
- bool o2 :1;
-} _ThriftHiveMetastore_drop_type_presult__isset;
-
-class ThriftHiveMetastore_drop_type_presult {
- public:
-
-
- virtual ~ThriftHiveMetastore_drop_type_presult() throw();
- bool* success;
- MetaException o1;
- NoSuchObjectException o2;
-
- _ThriftHiveMetastore_drop_type_presult__isset __isset;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-
-};
-
-typedef struct _ThriftHiveMetastore_get_type_all_args__isset {
- _ThriftHiveMetastore_get_type_all_args__isset() : name(false) {}
- bool name :1;
-} _ThriftHiveMetastore_get_type_all_args__isset;
-
-class ThriftHiveMetastore_get_type_all_args {
- public:
-
- ThriftHiveMetastore_get_type_all_args(const ThriftHiveMetastore_get_type_all_args&);
- ThriftHiveMetastore_get_type_all_args& operator=(const ThriftHiveMetastore_get_type_all_args&);
- ThriftHiveMetastore_get_type_all_args() : name() {
- }
-
- virtual ~ThriftHiveMetastore_get_type_all_args() throw();
- std::string name;
-
- _ThriftHiveMetastore_get_type_all_args__isset __isset;
-
- void __set_name(const std::string& val);
-
- bool operator == (const ThriftHiveMetastore_get_type_all_args & rhs) const
- {
- if (!(name == rhs.name))
- return false;
- return true;
- }
- bool operator != (const ThriftHiveMetastore_get_type_all_args &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ThriftHiveMetastore_get_type_all_args & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-
-class ThriftHiveMetastore_get_type_all_pargs {
- public:
-
-
- virtual ~ThriftHiveMetastore_get_type_all_pargs() throw();
- const std::string* name;
-
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _ThriftHiveMetastore_get_type_all_result__isset {
- _ThriftHiveMetastore_get_type_all_result__isset() : success(false), o2(false) {}
- bool success :1;
- bool o2 :1;
-} _ThriftHiveMetastore_get_type_all_result__isset;
-
-class ThriftHiveMetastore_get_type_all_result {
- public:
-
- ThriftHiveMetastore_get_type_all_result(const ThriftHiveMetastore_get_type_all_result&);
- ThriftHiveMetastore_get_type_all_result& operator=(const ThriftHiveMetastore_get_type_all_result&);
- ThriftHiveMetastore_get_type_all_result() {
- }
-
- virtual ~ThriftHiveMetastore_get_type_all_result() throw();
- std::map<std::string, Type> success;
- MetaException o2;
-
- _ThriftHiveMetastore_get_type_all_result__isset __isset;
-
- void __set_success(const std::map<std::string, Type> & val);
-
- void __set_o2(const MetaException& val);
-
- bool operator == (const ThriftHiveMetastore_get_type_all_result & rhs) const
- {
- if (!(success == rhs.success))
- return false;
- if (!(o2 == rhs.o2))
- return false;
- return true;
- }
- bool operator != (const ThriftHiveMetastore_get_type_all_result &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ThriftHiveMetastore_get_type_all_result & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-typedef struct _ThriftHiveMetastore_get_type_all_presult__isset {
- _ThriftHiveMetastore_get_type_all_presult__isset() : success(false), o2(false) {}
- bool success :1;
- bool o2 :1;
-} _ThriftHiveMetastore_get_type_all_presult__isset;
-
-class ThriftHiveMetastore_get_type_all_presult {
- public:
-
-
- virtual ~ThriftHiveMetastore_get_type_all_presult() throw();
- std::map<std::string, Type> * success;
- MetaException o2;
-
- _ThriftHiveMetastore_get_type_all_presult__isset __isset;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
-
-};
-
-typedef struct _ThriftHiveMetastore_get_fields_args__isset {
- _ThriftHiveMetastore_get_fields_args__isset() : db_name(false), table_name(false) {}
- bool db_name :1;
- bool table_name :1;
-} _ThriftHiveMetastore_get_fields_args__isset;
-
-class ThriftHiveMetastore_get_fields_args {
- public:
-
- ThriftHiveMetastore_get_fields_args(const ThriftHiveMetastore_get_fields_args&);
- ThriftHiveMetastore_get_fields_args& operator=(const ThriftHiveMetastore_get_fields_args&);
- ThriftHiveMetastore_get_fields_args() : db_name(), table_name() {
- }
-
- virtual ~ThriftHiveMetastore_get_fields_args() throw();
- std::string db_name;
- std::string table_name;
-
- _ThriftHiveMetastore_get_fields_args__isset __isset;
-
- void __set_db_name(const std::string& val);
-
- void __set_table_name(const std::string& val);
-
- bool operator == (const ThriftHiveMetastore_get_fields_args & rhs) const
- {
- if (!(db_name == rhs.db_name))
- return false;
- if (!(table_name == rhs.table_name))
- return false;
- return true;
- }
- bool operator != (const ThriftHiveMetastore_get_fields_args &rhs) const {
- return !(*
<TRUNCATED>