FAQ
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=1445309&r1=1445308&r2=1445309&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h Tue Feb 12 18:52:55 2013
@@ -31,6 +31,7 @@ class ThriftHiveMetastoreIf : virtual pu
    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 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 get_tables(std::vector<std::string> & _return, const std::string& db_name, const std::string& pattern) = 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;
@@ -42,9 +43,13 @@ class ThriftHiveMetastoreIf : virtual pu
    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 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 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 get_partition(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & part_vals) = 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;
@@ -167,6 +172,9 @@ class ThriftHiveMetastoreNull : virtual
    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 get_tables(std::vector<std::string> & /* _return */, const std::string& /* db_name */, const std::string& /* pattern */) {
      return;
    }
@@ -201,17 +209,31 @@ class ThriftHiveMetastoreNull : virtual
    void append_partition(Partition& /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const std::vector<std::string> & /* part_vals */) {
      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 get_partition(Partition& /* _return */, const std::string& /* db_name */, const std::string& /* tbl_name */, const std::vector<std::string> & /* part_vals */) {
      return;
    }
@@ -2343,6 +2365,151 @@ class ThriftHiveMetastore_drop_table_pre

  };

+typedef struct _ThriftHiveMetastore_drop_table_with_environment_context_args__isset {
+ _ThriftHiveMetastore_drop_table_with_environment_context_args__isset() : dbname(false), name(false), deleteData(false), environment_context(false) {}
+ bool dbname;
+ bool name;
+ bool deleteData;
+ bool environment_context;
+} _ThriftHiveMetastore_drop_table_with_environment_context_args__isset;
+
+class ThriftHiveMetastore_drop_table_with_environment_context_args {
+ public:
+
+ ThriftHiveMetastore_drop_table_with_environment_context_args() : dbname(), name(), deleteData(0) {
+ }
+
+ virtual ~ThriftHiveMetastore_drop_table_with_environment_context_args() throw() {}
+
+ std::string dbname;
+ std::string name;
+ bool deleteData;
+ EnvironmentContext environment_context;
+
+ _ThriftHiveMetastore_drop_table_with_environment_context_args__isset __isset;
+
+ void __set_dbname(const std::string& val) {
+ dbname = val;
+ }
+
+ void __set_name(const std::string& val) {
+ name = val;
+ }
+
+ void __set_deleteData(const bool val) {
+ deleteData = val;
+ }
+
+ void __set_environment_context(const EnvironmentContext& val) {
+ environment_context = val;
+ }
+
+ bool operator == (const ThriftHiveMetastore_drop_table_with_environment_context_args & rhs) const
+ {
+ if (!(dbname == rhs.dbname))
+ return false;
+ if (!(name == rhs.name))
+ return false;
+ if (!(deleteData == rhs.deleteData))
+ return false;
+ if (!(environment_context == rhs.environment_context))
+ return false;
+ return true;
+ }
+ bool operator != (const ThriftHiveMetastore_drop_table_with_environment_context_args &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const ThriftHiveMetastore_drop_table_with_environment_context_args & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+
+class ThriftHiveMetastore_drop_table_with_environment_context_pargs {
+ public:
+
+
+ virtual ~ThriftHiveMetastore_drop_table_with_environment_context_pargs() throw() {}
+
+ const std::string* dbname;
+ const std::string* name;
+ const bool* deleteData;
+ const EnvironmentContext* environment_context;
+
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+typedef struct _ThriftHiveMetastore_drop_table_with_environment_context_result__isset {
+ _ThriftHiveMetastore_drop_table_with_environment_context_result__isset() : o1(false), o3(false) {}
+ bool o1;
+ bool o3;
+} _ThriftHiveMetastore_drop_table_with_environment_context_result__isset;
+
+class ThriftHiveMetastore_drop_table_with_environment_context_result {
+ public:
+
+ ThriftHiveMetastore_drop_table_with_environment_context_result() {
+ }
+
+ virtual ~ThriftHiveMetastore_drop_table_with_environment_context_result() throw() {}
+
+ NoSuchObjectException o1;
+ MetaException o3;
+
+ _ThriftHiveMetastore_drop_table_with_environment_context_result__isset __isset;
+
+ void __set_o1(const NoSuchObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
+ bool operator == (const ThriftHiveMetastore_drop_table_with_environment_context_result & rhs) const
+ {
+ if (!(o1 == rhs.o1))
+ return false;
+ if (!(o3 == rhs.o3))
+ return false;
+ return true;
+ }
+ bool operator != (const ThriftHiveMetastore_drop_table_with_environment_context_result &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const ThriftHiveMetastore_drop_table_with_environment_context_result & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+typedef struct _ThriftHiveMetastore_drop_table_with_environment_context_presult__isset {
+ _ThriftHiveMetastore_drop_table_with_environment_context_presult__isset() : o1(false), o3(false) {}
+ bool o1;
+ bool o3;
+} _ThriftHiveMetastore_drop_table_with_environment_context_presult__isset;
+
+class ThriftHiveMetastore_drop_table_with_environment_context_presult {
+ public:
+
+
+ virtual ~ThriftHiveMetastore_drop_table_with_environment_context_presult() throw() {}
+
+ NoSuchObjectException o1;
+ MetaException o3;
+
+ _ThriftHiveMetastore_drop_table_with_environment_context_presult__isset __isset;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+
+};
+
  typedef struct _ThriftHiveMetastore_get_tables_args__isset {
    _ThriftHiveMetastore_get_tables_args__isset() : db_name(false), pattern(false) {}
    bool db_name;
@@ -3836,11 +4003,656 @@ class ThriftHiveMetastore_append_partiti
      o2 = val;
    }

- void __set_o3(const MetaException& val) {
- o3 = val;
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
+ bool operator == (const ThriftHiveMetastore_append_partition_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_append_partition_result &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const ThriftHiveMetastore_append_partition_result & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+typedef struct _ThriftHiveMetastore_append_partition_presult__isset {
+ _ThriftHiveMetastore_append_partition_presult__isset() : success(false), o1(false), o2(false), o3(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+} _ThriftHiveMetastore_append_partition_presult__isset;
+
+class ThriftHiveMetastore_append_partition_presult {
+ public:
+
+
+ virtual ~ThriftHiveMetastore_append_partition_presult() throw() {}
+
+ Partition* success;
+ InvalidObjectException o1;
+ AlreadyExistsException o2;
+ MetaException o3;
+
+ _ThriftHiveMetastore_append_partition_presult__isset __isset;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+
+};
+
+typedef struct _ThriftHiveMetastore_append_partition_with_environment_context_args__isset {
+ _ThriftHiveMetastore_append_partition_with_environment_context_args__isset() : db_name(false), tbl_name(false), part_vals(false), environment_context(false) {}
+ bool db_name;
+ bool tbl_name;
+ bool part_vals;
+ bool environment_context;
+} _ThriftHiveMetastore_append_partition_with_environment_context_args__isset;
+
+class ThriftHiveMetastore_append_partition_with_environment_context_args {
+ public:
+
+ ThriftHiveMetastore_append_partition_with_environment_context_args() : db_name(), tbl_name() {
+ }
+
+ virtual ~ThriftHiveMetastore_append_partition_with_environment_context_args() throw() {}
+
+ std::string db_name;
+ std::string tbl_name;
+ std::vector<std::string> part_vals;
+ EnvironmentContext environment_context;
+
+ _ThriftHiveMetastore_append_partition_with_environment_context_args__isset __isset;
+
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_vals(const std::vector<std::string> & val) {
+ part_vals = val;
+ }
+
+ void __set_environment_context(const EnvironmentContext& val) {
+ environment_context = val;
+ }
+
+ bool operator == (const ThriftHiveMetastore_append_partition_with_environment_context_args & rhs) const
+ {
+ if (!(db_name == rhs.db_name))
+ return false;
+ if (!(tbl_name == rhs.tbl_name))
+ return false;
+ if (!(part_vals == rhs.part_vals))
+ return false;
+ if (!(environment_context == rhs.environment_context))
+ return false;
+ return true;
+ }
+ bool operator != (const ThriftHiveMetastore_append_partition_with_environment_context_args &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const ThriftHiveMetastore_append_partition_with_environment_context_args & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+
+class ThriftHiveMetastore_append_partition_with_environment_context_pargs {
+ public:
+
+
+ virtual ~ThriftHiveMetastore_append_partition_with_environment_context_pargs() throw() {}
+
+ const std::string* db_name;
+ const std::string* tbl_name;
+ const std::vector<std::string> * part_vals;
+ const EnvironmentContext* environment_context;
+
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+typedef struct _ThriftHiveMetastore_append_partition_with_environment_context_result__isset {
+ _ThriftHiveMetastore_append_partition_with_environment_context_result__isset() : success(false), o1(false), o2(false), o3(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+} _ThriftHiveMetastore_append_partition_with_environment_context_result__isset;
+
+class ThriftHiveMetastore_append_partition_with_environment_context_result {
+ public:
+
+ ThriftHiveMetastore_append_partition_with_environment_context_result() {
+ }
+
+ virtual ~ThriftHiveMetastore_append_partition_with_environment_context_result() throw() {}
+
+ Partition success;
+ InvalidObjectException o1;
+ AlreadyExistsException o2;
+ MetaException o3;
+
+ _ThriftHiveMetastore_append_partition_with_environment_context_result__isset __isset;
+
+ void __set_success(const Partition& val) {
+ success = val;
+ }
+
+ void __set_o1(const InvalidObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const AlreadyExistsException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
+ bool operator == (const ThriftHiveMetastore_append_partition_with_environment_context_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_append_partition_with_environment_context_result &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const ThriftHiveMetastore_append_partition_with_environment_context_result & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+typedef struct _ThriftHiveMetastore_append_partition_with_environment_context_presult__isset {
+ _ThriftHiveMetastore_append_partition_with_environment_context_presult__isset() : success(false), o1(false), o2(false), o3(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+} _ThriftHiveMetastore_append_partition_with_environment_context_presult__isset;
+
+class ThriftHiveMetastore_append_partition_with_environment_context_presult {
+ public:
+
+
+ virtual ~ThriftHiveMetastore_append_partition_with_environment_context_presult() throw() {}
+
+ Partition* success;
+ InvalidObjectException o1;
+ AlreadyExistsException o2;
+ MetaException o3;
+
+ _ThriftHiveMetastore_append_partition_with_environment_context_presult__isset __isset;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+
+};
+
+typedef struct _ThriftHiveMetastore_append_partition_by_name_args__isset {
+ _ThriftHiveMetastore_append_partition_by_name_args__isset() : db_name(false), tbl_name(false), part_name(false) {}
+ bool db_name;
+ bool tbl_name;
+ bool part_name;
+} _ThriftHiveMetastore_append_partition_by_name_args__isset;
+
+class ThriftHiveMetastore_append_partition_by_name_args {
+ public:
+
+ ThriftHiveMetastore_append_partition_by_name_args() : db_name(), tbl_name(), part_name() {
+ }
+
+ virtual ~ThriftHiveMetastore_append_partition_by_name_args() throw() {}
+
+ std::string db_name;
+ std::string tbl_name;
+ std::string part_name;
+
+ _ThriftHiveMetastore_append_partition_by_name_args__isset __isset;
+
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_name(const std::string& val) {
+ part_name = val;
+ }
+
+ bool operator == (const ThriftHiveMetastore_append_partition_by_name_args & rhs) const
+ {
+ if (!(db_name == rhs.db_name))
+ return false;
+ if (!(tbl_name == rhs.tbl_name))
+ return false;
+ if (!(part_name == rhs.part_name))
+ return false;
+ return true;
+ }
+ bool operator != (const ThriftHiveMetastore_append_partition_by_name_args &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const ThriftHiveMetastore_append_partition_by_name_args & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+
+class ThriftHiveMetastore_append_partition_by_name_pargs {
+ public:
+
+
+ virtual ~ThriftHiveMetastore_append_partition_by_name_pargs() throw() {}
+
+ const std::string* db_name;
+ const std::string* tbl_name;
+ const std::string* part_name;
+
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+typedef struct _ThriftHiveMetastore_append_partition_by_name_result__isset {
+ _ThriftHiveMetastore_append_partition_by_name_result__isset() : success(false), o1(false), o2(false), o3(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+} _ThriftHiveMetastore_append_partition_by_name_result__isset;
+
+class ThriftHiveMetastore_append_partition_by_name_result {
+ public:
+
+ ThriftHiveMetastore_append_partition_by_name_result() {
+ }
+
+ virtual ~ThriftHiveMetastore_append_partition_by_name_result() throw() {}
+
+ Partition success;
+ InvalidObjectException o1;
+ AlreadyExistsException o2;
+ MetaException o3;
+
+ _ThriftHiveMetastore_append_partition_by_name_result__isset __isset;
+
+ void __set_success(const Partition& val) {
+ success = val;
+ }
+
+ void __set_o1(const InvalidObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const AlreadyExistsException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
+ bool operator == (const ThriftHiveMetastore_append_partition_by_name_result & rhs) const
+ {
+ if (!(success == rhs.success))
+ 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_append_partition_by_name_result &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const ThriftHiveMetastore_append_partition_by_name_result & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+typedef struct _ThriftHiveMetastore_append_partition_by_name_presult__isset {
+ _ThriftHiveMetastore_append_partition_by_name_presult__isset() : success(false), o1(false), o2(false), o3(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+} _ThriftHiveMetastore_append_partition_by_name_presult__isset;
+
+class ThriftHiveMetastore_append_partition_by_name_presult {
+ public:
+
+
+ virtual ~ThriftHiveMetastore_append_partition_by_name_presult() throw() {}
+
+ Partition* success;
+ InvalidObjectException o1;
+ AlreadyExistsException o2;
+ MetaException o3;
+
+ _ThriftHiveMetastore_append_partition_by_name_presult__isset __isset;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+
+};
+
+typedef struct _ThriftHiveMetastore_append_partition_by_name_with_environment_context_args__isset {
+ _ThriftHiveMetastore_append_partition_by_name_with_environment_context_args__isset() : db_name(false), tbl_name(false), part_name(false), environment_context(false) {}
+ bool db_name;
+ bool tbl_name;
+ bool part_name;
+ bool environment_context;
+} _ThriftHiveMetastore_append_partition_by_name_with_environment_context_args__isset;
+
+class ThriftHiveMetastore_append_partition_by_name_with_environment_context_args {
+ public:
+
+ ThriftHiveMetastore_append_partition_by_name_with_environment_context_args() : db_name(), tbl_name(), part_name() {
+ }
+
+ virtual ~ThriftHiveMetastore_append_partition_by_name_with_environment_context_args() throw() {}
+
+ std::string db_name;
+ std::string tbl_name;
+ std::string part_name;
+ EnvironmentContext environment_context;
+
+ _ThriftHiveMetastore_append_partition_by_name_with_environment_context_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_environment_context(const EnvironmentContext& val) {
+ environment_context = val;
+ }
+
+ bool operator == (const ThriftHiveMetastore_append_partition_by_name_with_environment_context_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 (!(environment_context == rhs.environment_context))
+ return false;
+ return true;
+ }
+ bool operator != (const ThriftHiveMetastore_append_partition_by_name_with_environment_context_args &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const ThriftHiveMetastore_append_partition_by_name_with_environment_context_args & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+
+class ThriftHiveMetastore_append_partition_by_name_with_environment_context_pargs {
+ public:
+
+
+ virtual ~ThriftHiveMetastore_append_partition_by_name_with_environment_context_pargs() throw() {}
+
+ const std::string* db_name;
+ const std::string* tbl_name;
+ const std::string* part_name;
+ const EnvironmentContext* environment_context;
+
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+typedef struct _ThriftHiveMetastore_append_partition_by_name_with_environment_context_result__isset {
+ _ThriftHiveMetastore_append_partition_by_name_with_environment_context_result__isset() : success(false), o1(false), o2(false), o3(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+} _ThriftHiveMetastore_append_partition_by_name_with_environment_context_result__isset;
+
+class ThriftHiveMetastore_append_partition_by_name_with_environment_context_result {
+ public:
+
+ ThriftHiveMetastore_append_partition_by_name_with_environment_context_result() {
+ }
+
+ virtual ~ThriftHiveMetastore_append_partition_by_name_with_environment_context_result() throw() {}
+
+ Partition success;
+ InvalidObjectException o1;
+ AlreadyExistsException o2;
+ MetaException o3;
+
+ _ThriftHiveMetastore_append_partition_by_name_with_environment_context_result__isset __isset;
+
+ void __set_success(const Partition& val) {
+ success = val;
+ }
+
+ void __set_o1(const InvalidObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const AlreadyExistsException& val) {
+ o2 = val;
+ }
+
+ void __set_o3(const MetaException& val) {
+ o3 = val;
+ }
+
+ bool operator == (const ThriftHiveMetastore_append_partition_by_name_with_environment_context_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_append_partition_by_name_with_environment_context_result &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const ThriftHiveMetastore_append_partition_by_name_with_environment_context_result & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+typedef struct _ThriftHiveMetastore_append_partition_by_name_with_environment_context_presult__isset {
+ _ThriftHiveMetastore_append_partition_by_name_with_environment_context_presult__isset() : success(false), o1(false), o2(false), o3(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+ bool o3;
+} _ThriftHiveMetastore_append_partition_by_name_with_environment_context_presult__isset;
+
+class ThriftHiveMetastore_append_partition_by_name_with_environment_context_presult {
+ public:
+
+
+ virtual ~ThriftHiveMetastore_append_partition_by_name_with_environment_context_presult() throw() {}
+
+ Partition* success;
+ InvalidObjectException o1;
+ AlreadyExistsException o2;
+ MetaException o3;
+
+ _ThriftHiveMetastore_append_partition_by_name_with_environment_context_presult__isset __isset;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+
+};
+
+typedef struct _ThriftHiveMetastore_drop_partition_args__isset {
+ _ThriftHiveMetastore_drop_partition_args__isset() : db_name(false), tbl_name(false), part_vals(false), deleteData(false) {}
+ bool db_name;
+ bool tbl_name;
+ bool part_vals;
+ bool deleteData;
+} _ThriftHiveMetastore_drop_partition_args__isset;
+
+class ThriftHiveMetastore_drop_partition_args {
+ public:
+
+ ThriftHiveMetastore_drop_partition_args() : db_name(), tbl_name(), deleteData(0) {
+ }
+
+ virtual ~ThriftHiveMetastore_drop_partition_args() throw() {}
+
+ std::string db_name;
+ std::string tbl_name;
+ std::vector<std::string> part_vals;
+ bool deleteData;
+
+ _ThriftHiveMetastore_drop_partition_args__isset __isset;
+
+ void __set_db_name(const std::string& val) {
+ db_name = val;
+ }
+
+ void __set_tbl_name(const std::string& val) {
+ tbl_name = val;
+ }
+
+ void __set_part_vals(const std::vector<std::string> & val) {
+ part_vals = val;
+ }
+
+ void __set_deleteData(const bool val) {
+ deleteData = val;
+ }
+
+ bool operator == (const ThriftHiveMetastore_drop_partition_args & rhs) const
+ {
+ if (!(db_name == rhs.db_name))
+ return false;
+ if (!(tbl_name == rhs.tbl_name))
+ return false;
+ if (!(part_vals == rhs.part_vals))
+ return false;
+ if (!(deleteData == rhs.deleteData))
+ return false;
+ return true;
+ }
+ bool operator != (const ThriftHiveMetastore_drop_partition_args &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const ThriftHiveMetastore_drop_partition_args & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+
+class ThriftHiveMetastore_drop_partition_pargs {
+ public:
+
+
+ virtual ~ThriftHiveMetastore_drop_partition_pargs() throw() {}
+
+ const std::string* db_name;
+ const std::string* tbl_name;
+ const std::vector<std::string> * part_vals;
+ const bool* deleteData;
+
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+typedef struct _ThriftHiveMetastore_drop_partition_result__isset {
+ _ThriftHiveMetastore_drop_partition_result__isset() : success(false), o1(false), o2(false) {}
+ bool success;
+ bool o1;
+ bool o2;
+} _ThriftHiveMetastore_drop_partition_result__isset;
+
+class ThriftHiveMetastore_drop_partition_result {
+ public:
+
+ ThriftHiveMetastore_drop_partition_result() : success(0) {
+ }
+
+ virtual ~ThriftHiveMetastore_drop_partition_result() throw() {}
+
+ bool success;
+ NoSuchObjectException o1;
+ MetaException o2;
+
+ _ThriftHiveMetastore_drop_partition_result__isset __isset;
+
+ void __set_success(const bool val) {
+ success = val;
+ }
+
+ void __set_o1(const NoSuchObjectException& val) {
+ o1 = val;
+ }
+
+ void __set_o2(const MetaException& val) {
+ o2 = val;
    }

- bool operator == (const ThriftHiveMetastore_append_partition_result & rhs) const
+ bool operator == (const ThriftHiveMetastore_drop_partition_result & rhs) const
    {
      if (!(success == rhs.success))
        return false;
@@ -3848,66 +4660,66 @@ class ThriftHiveMetastore_append_partiti
        return false;
      if (!(o2 == rhs.o2))
        return false;
- if (!(o3 == rhs.o3))
- return false;
      return true;
    }
- bool operator != (const ThriftHiveMetastore_append_partition_result &rhs) const {
+ bool operator != (const ThriftHiveMetastore_drop_partition_result &rhs) const {
      return !(*this == rhs);
    }

- bool operator < (const ThriftHiveMetastore_append_partition_result & ) const;
+ bool operator < (const ThriftHiveMetastore_drop_partition_result & ) const;

    uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
    uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

  };

-typedef struct _ThriftHiveMetastore_append_partition_presult__isset {
- _ThriftHiveMetastore_append_partition_presult__isset() : success(false), o1(false), o2(false), o3(false) {}
+typedef struct _ThriftHiveMetastore_drop_partition_presult__isset {
+ _ThriftHiveMetastore_drop_partition_presult__isset() : success(false), o1(false), o2(false) {}
    bool success;
    bool o1;
    bool o2;
- bool o3;
-} _ThriftHiveMetastore_append_partition_presult__isset;
+} _ThriftHiveMetastore_drop_partition_presult__isset;

-class ThriftHiveMetastore_append_partition_presult {
+class ThriftHiveMetastore_drop_partition_presult {
   public:


- virtual ~ThriftHiveMetastore_append_partition_presult() throw() {}
+ virtual ~ThriftHiveMetastore_drop_partition_presult() throw() {}

- Partition* success;
- InvalidObjectException o1;
- AlreadyExistsException o2;
- MetaException o3;
+ bool* success;
+ NoSuchObjectException o1;
+ MetaException o2;

- _ThriftHiveMetastore_append_partition_presult__isset __isset;
+ _ThriftHiveMetastore_drop_partition_presult__isset __isset;

    uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

  };

-typedef struct _ThriftHiveMetastore_append_partition_by_name_args__isset {
- _ThriftHiveMetastore_append_partition_by_name_args__isset() : db_name(false), tbl_name(false), part_name(false) {}
+typedef struct _ThriftHiveMetastore_drop_partition_with_environment_context_args__isset {
+ _ThriftHiveMetastore_drop_partition_with_environment_context_args__isset() : db_name(false), tbl_name(false), part_vals(false), deleteData(false), environment_context(false) {}
    bool db_name;
    bool tbl_name;
- bool part_name;
-} _ThriftHiveMetastore_append_partition_by_name_args__isset;
+ bool part_vals;
+ bool deleteData;
+ bool environment_context;
+} _ThriftHiveMetastore_drop_partition_with_environment_context_args__isset;

-class ThriftHiveMetastore_append_partition_by_name_args {
+class ThriftHiveMetastore_drop_partition_with_environment_context_args {
   public:

- ThriftHiveMetastore_append_partition_by_name_args() : db_name(), tbl_name(), part_name() {
+ ThriftHiveMetastore_drop_partition_with_environment_context_args() : db_name(), tbl_name(), deleteData(0) {
    }

- virtual ~ThriftHiveMetastore_append_partition_by_name_args() throw() {}
+ virtual ~ThriftHiveMetastore_drop_partition_with_environment_context_args() throw() {}

    std::string db_name;
    std::string tbl_name;
- std::string part_name;
+ std::vector<std::string> part_vals;
+ bool deleteData;
+ EnvironmentContext environment_context;

- _ThriftHiveMetastore_append_partition_by_name_args__isset __isset;
+ _ThriftHiveMetastore_drop_partition_with_environment_context_args__isset __isset;

    void __set_db_name(const std::string& val) {
      db_name = val;
@@ -3917,25 +4729,37 @@ class ThriftHiveMetastore_append_partiti
      tbl_name = val;
    }

- void __set_part_name(const std::string& val) {
- part_name = val;
+ void __set_part_vals(const std::vector<std::string> & val) {
+ part_vals = val;
    }

- bool operator == (const ThriftHiveMetastore_append_partition_by_name_args & rhs) const
+ void __set_deleteData(const bool val) {
+ deleteData = val;
+ }
+
+ void __set_environment_context(const EnvironmentContext& val) {
+ environment_context = val;
+ }
+
+ bool operator == (const ThriftHiveMetastore_drop_partition_with_environment_context_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))
+ if (!(part_vals == rhs.part_vals))
+ return false;
+ if (!(deleteData == rhs.deleteData))
+ return false;
+ if (!(environment_context == rhs.environment_context))
        return false;
      return true;
    }
- bool operator != (const ThriftHiveMetastore_append_partition_by_name_args &rhs) const {
+ bool operator != (const ThriftHiveMetastore_drop_partition_with_environment_context_args &rhs) const {
      return !(*this == rhs);
    }

- bool operator < (const ThriftHiveMetastore_append_partition_by_name_args & ) const;
+ bool operator < (const ThriftHiveMetastore_drop_partition_with_environment_context_args & ) const;

    uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
    uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
@@ -3943,60 +4767,56 @@ class ThriftHiveMetastore_append_partiti
  };


-class ThriftHiveMetastore_append_partition_by_name_pargs {
+class ThriftHiveMetastore_drop_partition_with_environment_context_pargs {
   public:


- virtual ~ThriftHiveMetastore_append_partition_by_name_pargs() throw() {}
+ virtual ~ThriftHiveMetastore_drop_partition_with_environment_context_pargs() throw() {}

    const std::string* db_name;
    const std::string* tbl_name;
- const std::string* part_name;
+ const std::vector<std::string> * part_vals;
+ const bool* deleteData;
+ const EnvironmentContext* environment_context;

    uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

  };

-typedef struct _ThriftHiveMetastore_append_partition_by_name_result__isset {
- _ThriftHiveMetastore_append_partition_by_name_result__isset() : success(false), o1(false), o2(false), o3(false) {}
+typedef struct _ThriftHiveMetastore_drop_partition_with_environment_context_result__isset {
+ _ThriftHiveMetastore_drop_partition_with_environment_context_result__isset() : success(false), o1(false), o2(false) {}
    bool success;
    bool o1;
    bool o2;
- bool o3;
-} _ThriftHiveMetastore_append_partition_by_name_result__isset;
+} _ThriftHiveMetastore_drop_partition_with_environment_context_result__isset;

-class ThriftHiveMetastore_append_partition_by_name_result {
+class ThriftHiveMetastore_drop_partition_with_environment_context_result {
   public:

- ThriftHiveMetastore_append_partition_by_name_result() {
+ ThriftHiveMetastore_drop_partition_with_environment_context_result() : success(0) {
    }

- virtual ~ThriftHiveMetastore_append_partition_by_name_result() throw() {}
+ virtual ~ThriftHiveMetastore_drop_partition_with_environment_context_result() throw() {}

- Partition success;
- InvalidObjectException o1;
- AlreadyExistsException o2;
- MetaException o3;
+ bool success;
+ NoSuchObjectException o1;
+ MetaException o2;

- _ThriftHiveMetastore_append_partition_by_name_result__isset __isset;
+ _ThriftHiveMetastore_drop_partition_with_environment_context_result__isset __isset;

- void __set_success(const Partition& val) {
+ void __set_success(const bool val) {
      success = val;
    }

- void __set_o1(const InvalidObjectException& val) {
+ void __set_o1(const NoSuchObjectException& val) {
      o1 = val;
    }

- void __set_o2(const AlreadyExistsException& val) {
+ void __set_o2(const MetaException& val) {
      o2 = val;
    }

- void __set_o3(const MetaException& val) {
- o3 = val;
- }
-
- bool operator == (const ThriftHiveMetastore_append_partition_by_name_result & rhs) const
+ bool operator == (const ThriftHiveMetastore_drop_partition_with_environment_context_result & rhs) const
    {
      if (!(success == rhs.success))
        return false;
@@ -4004,68 +4824,64 @@ class ThriftHiveMetastore_append_partiti
        return false;
      if (!(o2 == rhs.o2))
        return false;
- if (!(o3 == rhs.o3))
- return false;
      return true;
    }
- bool operator != (const ThriftHiveMetastore_append_partition_by_name_result &rhs) const {
+ bool operator != (const ThriftHiveMetastore_drop_partition_with_environment_context_result &rhs) const {
      return !(*this == rhs);
    }

- bool operator < (const ThriftHiveMetastore_append_partition_by_name_result & ) const;
+ bool operator < (const ThriftHiveMetastore_drop_partition_with_environment_context_result & ) const;

    uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
    uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

  };

-typedef struct _ThriftHiveMetastore_append_partition_by_name_presult__isset {
- _ThriftHiveMetastore_append_partition_by_name_presult__isset() : success(false), o1(false), o2(false), o3(false) {}
+typedef struct _ThriftHiveMetastore_drop_partition_with_environment_context_presult__isset {
+ _ThriftHiveMetastore_drop_partition_with_environment_context_presult__isset() : success(false), o1(false), o2(false) {}
    bool success;
    bool o1;
    bool o2;
- bool o3;
-} _ThriftHiveMetastore_append_partition_by_name_presult__isset;
+} _ThriftHiveMetastore_drop_partition_with_environment_context_presult__isset;

-class ThriftHiveMetastore_append_partition_by_name_presult {
+class ThriftHiveMetastore_drop_partition_with_environment_context_presult {
   public:


- virtual ~ThriftHiveMetastore_append_partition_by_name_presult() throw() {}
+ virtual ~ThriftHiveMetastore_drop_partition_with_environment_context_presult() throw() {}

- Partition* success;
- InvalidObjectException o1;
- AlreadyExistsException o2;
- MetaException o3;
+ bool* success;
+ NoSuchObjectException o1;
+ MetaException o2;

- _ThriftHiveMetastore_append_partition_by_name_presult__isset __isset;
+ _ThriftHiveMetastore_drop_partition_with_environment_context_presult__isset __isset;

    uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

  };

-typedef struct _ThriftHiveMetastore_drop_partition_args__isset {
- _ThriftHiveMetastore_drop_partition_args__isset() : db_name(false), tbl_name(false), part_vals(false), deleteData(false) {}
+typedef struct _ThriftHiveMetastore_drop_partition_by_name_args__isset {
+ _ThriftHiveMetastore_drop_partition_by_name_args__isset() : db_name(false), tbl_name(false), part_name(false), deleteData(false) {}
    bool db_name;
    bool tbl_name;
- bool part_vals;
+ bool part_name;
    bool deleteData;
-} _ThriftHiveMetastore_drop_partition_args__isset;
+} _ThriftHiveMetastore_drop_partition_by_name_args__isset;

-class ThriftHiveMetastore_drop_partition_args {
+class ThriftHiveMetastore_drop_partition_by_name_args {
   public:

- ThriftHiveMetastore_drop_partition_args() : db_name(), tbl_name(), deleteData(0) {
+ ThriftHiveMetastore_drop_partition_by_name_args() : db_name(), tbl_name(), part_name(), deleteData(0) {
    }

- virtual ~ThriftHiveMetastore_drop_partition_args() throw() {}
+ virtual ~ThriftHiveMetastore_drop_partition_by_name_args() throw() {}

    std::string db_name;
    std::string tbl_name;
- std::vector<std::string> part_vals;
+ std::string part_name;
    bool deleteData;

- _ThriftHiveMetastore_drop_partition_args__isset __isset;
+ _ThriftHiveMetastore_drop_partition_by_name_args__isset __isset;

    void __set_db_name(const std::string& val) {
      db_name = val;
@@ -4075,31 +4891,31 @@ class ThriftHiveMetastore_drop_partition
      tbl_name = val;
    }

- void __set_part_vals(const std::vector<std::string> & val) {
- part_vals = val;
+ void __set_part_name(const std::string& val) {
+ part_name = val;
    }

    void __set_deleteData(const bool val) {
      deleteData = val;
    }

- bool operator == (const ThriftHiveMetastore_drop_partition_args & rhs) const
+ bool operator == (const ThriftHiveMetastore_drop_partition_by_name_args & rhs) const
    {
      if (!(db_name == rhs.db_name))
        return false;
      if (!(tbl_name == rhs.tbl_name))
        return false;
- if (!(part_vals == rhs.part_vals))
+ if (!(part_name == rhs.part_name))
        return false;
      if (!(deleteData == rhs.deleteData))
        return false;
      return true;
    }
- bool operator != (const ThriftHiveMetastore_drop_partition_args &rhs) const {
+ bool operator != (const ThriftHiveMetastore_drop_partition_by_name_args &rhs) const {
      return !(*this == rhs);
    }

- bool operator < (const ThriftHiveMetastore_drop_partition_args & ) const;
+ bool operator < (const ThriftHiveMetastore_drop_partition_by_name_args & ) const;

    uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
    uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
@@ -4107,41 +4923,41 @@ class ThriftHiveMetastore_drop_partition
  };


-class ThriftHiveMetastore_drop_partition_pargs {
+class ThriftHiveMetastore_drop_partition_by_name_pargs {
   public:


- virtual ~ThriftHiveMetastore_drop_partition_pargs() throw() {}
+ virtual ~ThriftHiveMetastore_drop_partition_by_name_pargs() throw() {}

    const std::string* db_name;
    const std::string* tbl_name;
- const std::vector<std::string> * part_vals;
+ const std::string* part_name;
    const bool* deleteData;

    uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

  };

-typedef struct _ThriftHiveMetastore_drop_partition_result__isset {
- _ThriftHiveMetastore_drop_partition_result__isset() : success(false), o1(false), o2(false) {}
+typedef struct _ThriftHiveMetastore_drop_partition_by_name_result__isset {
+ _ThriftHiveMetastore_drop_partition_by_name_result__isset() : success(false), o1(false), o2(false) {}
    bool success;
    bool o1;
    bool o2;
-} _ThriftHiveMetastore_drop_partition_result__isset;
+} _ThriftHiveMetastore_drop_partition_by_name_result__isset;

-class ThriftHiveMetastore_drop_partition_result {
+class ThriftHiveMetastore_drop_partition_by_name_result {
   public:

- ThriftHiveMetastore_drop_partition_result() : success(0) {
+ ThriftHiveMetastore_drop_partition_by_name_result() : success(0) {
    }

- virtual ~ThriftHiveMetastore_drop_partition_result() throw() {}
+ virtual ~ThriftHiveMetastore_drop_partition_by_name_result() throw() {}

    bool success;
    NoSuchObjectException o1;
    MetaException o2;

- _ThriftHiveMetastore_drop_partition_result__isset __isset;
+ _ThriftHiveMetastore_drop_partition_by_name_result__isset __isset;

    void __set_success(const bool val) {
      success = val;
@@ -4155,7 +4971,7 @@ class ThriftHiveMetastore_drop_partition
      o2 = val;
    }

- bool operator == (const ThriftHiveMetastore_drop_partition_result & rhs) const
+ bool operator == (const ThriftHiveMetastore_drop_partition_by_name_result & rhs) const
    {
      if (!(success == rhs.success))
        return false;
@@ -4165,62 +4981,64 @@ class ThriftHiveMetastore_drop_partition
        return false;
      return true;
    }
- bool operator != (const ThriftHiveMetastore_drop_partition_result &rhs) const {
+ bool operator != (const ThriftHiveMetastore_drop_partition_by_name_result &rhs) const {
      return !(*this == rhs);
    }

- bool operator < (const ThriftHiveMetastore_drop_partition_result & ) const;
+ bool operator < (const ThriftHiveMetastore_drop_partition_by_name_result & ) const;

    uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
    uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

  };

-typedef struct _ThriftHiveMetastore_drop_partition_presult__isset {
- _ThriftHiveMetastore_drop_partition_presult__isset() : success(false), o1(false), o2(false) {}
+typedef struct _ThriftHiveMetastore_drop_partition_by_name_presult__isset {
+ _ThriftHiveMetastore_drop_partition_by_name_presult__isset() : success(false), o1(false), o2(false) {}
    bool success;
    bool o1;
    bool o2;
-} _ThriftHiveMetastore_drop_partition_presult__isset;
+} _ThriftHiveMetastore_drop_partition_by_name_presult__isset;

-class ThriftHiveMetastore_drop_partition_presult {
+class ThriftHiveMetastore_drop_partition_by_name_presult {
   public:


- virtual ~ThriftHiveMetastore_drop_partition_presult() throw() {}
+ virtual ~ThriftHiveMetastore_drop_partition_by_name_presult() throw() {}

    bool* success;
    NoSuchObjectException o1;
    MetaException o2;

- _ThriftHiveMetastore_drop_partition_presult__isset __isset;
+ _ThriftHiveMetastore_drop_partition_by_name_presult__isset __isset;

    uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

  };

-typedef struct _ThriftHiveMetastore_drop_partition_by_name_args__isset {
- _ThriftHiveMetastore_drop_partition_by_name_args__isset() : db_name(false), tbl_name(false), part_name(false), deleteData(false) {}
+typedef struct _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args__isset {
+ _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args__isset() : db_name(false), tbl_name(false), part_name(false), deleteData(false), environment_context(false) {}
    bool db_name;
    bool tbl_name;
    bool part_name;
    bool deleteData;
-} _ThriftHiveMetastore_drop_partition_by_name_args__isset;
+ bool environment_context;
+} _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args__isset;

-class ThriftHiveMetastore_drop_partition_by_name_args {
+class ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args {
   public:

- ThriftHiveMetastore_drop_partition_by_name_args() : db_name(), tbl_name(), part_name(), deleteData(0) {
+ ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args() : db_name(), tbl_name(), part_name(), deleteData(0) {
    }

- virtual ~ThriftHiveMetastore_drop_partition_by_name_args() throw() {}
+ virtual ~ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args() throw() {}

    std::string db_name;
    std::string tbl_name;
    std::string part_name;
    bool deleteData;
+ EnvironmentContext environment_context;

- _ThriftHiveMetastore_drop_partition_by_name_args__isset __isset;
+ _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args__isset __isset;

    void __set_db_name(const std::string& val) {
      db_name = val;
@@ -4238,7 +5056,11 @@ class ThriftHiveMetastore_drop_partition
      deleteData = val;
    }

- bool operator == (const ThriftHiveMetastore_drop_partition_by_name_args & rhs) const
+ void __set_environment_context(const EnvironmentContext& val) {
+ environment_context = val;
+ }
+
+ bool operator == (const ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args & rhs) const
    {
      if (!(db_name == rhs.db_name))
        return false;
@@ -4248,13 +5070,15 @@ class ThriftHiveMetastore_drop_partition
        return false;
      if (!(deleteData == rhs.deleteData))
        return false;
+ if (!(environment_context == rhs.environment_context))
+ return false;
      return true;
    }
- bool operator != (const ThriftHiveMetastore_drop_partition_by_name_args &rhs) const {
+ bool operator != (const ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args &rhs) const {
      return !(*this == rhs);
    }

- bool operator < (const ThriftHiveMetastore_drop_partition_by_name_args & ) const;
+ bool operator < (const ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args & ) const;

    uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
    uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
@@ -4262,41 +5086,42 @@ class ThriftHiveMetastore_drop_partition
  };


-class ThriftHiveMetastore_drop_partition_by_name_pargs {
+class ThriftHiveMetastore_drop_partition_by_name_with_environment_context_pargs {
   public:


- virtual ~ThriftHiveMetastore_drop_partition_by_name_pargs() throw() {}
+ virtual ~ThriftHiveMetastore_drop_partition_by_name_with_environment_context_pargs() throw() {}

    const std::string* db_name;
    const std::string* tbl_name;
    const std::string* part_name;
    const bool* deleteData;
+ const EnvironmentContext* environment_context;

    uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

  };

-typedef struct _ThriftHiveMetastore_drop_partition_by_name_result__isset {
- _ThriftHiveMetastore_drop_partition_by_name_result__isset() : success(false), o1(false), o2(false) {}
+typedef struct _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result__isset {
+ _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result__isset() : success(false), o1(false), o2(false) {}
    bool success;
    bool o1;
    bool o2;
-} _ThriftHiveMetastore_drop_partition_by_name_result__isset;
+} _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result__isset;

-class ThriftHiveMetastore_drop_partition_by_name_result {
+class ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result {
   public:

- ThriftHiveMetastore_drop_partition_by_name_result() : success(0) {
+ ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result() : success(0) {
    }

- virtual ~ThriftHiveMetastore_drop_partition_by_name_result() throw() {}
+ virtual ~ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result() throw() {}

    bool success;
    NoSuchObjectException o1;
    MetaException o2;

- _ThriftHiveMetastore_drop_partition_by_name_result__isset __isset;
+ _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result__isset __isset;

    void __set_success(const bool val) {
      success = val;
@@ -4310,7 +5135,7 @@ class ThriftHiveMetastore_drop_partition
      o2 = val;
    }

- bool operator == (const ThriftHiveMetastore_drop_partition_by_name_result & rhs) const
+ bool operator == (const ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result & rhs) const
    {
      if (!(success == rhs.success))
        return false;
@@ -4320,35 +5145,35 @@ class ThriftHiveMetastore_drop_partition
        return false;
      return true;
    }
- bool operator != (const ThriftHiveMetastore_drop_partition_by_name_result &rhs) const {
+ bool operator != (const ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result &rhs) const {
      return !(*this == rhs);
    }

- bool operator < (const ThriftHiveMetastore_drop_partition_by_name_result & ) const;
+ bool operator < (const ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result & ) const;

    uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
    uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;

  };

-typedef struct _ThriftHiveMetastore_drop_partition_by_name_presult__isset {
- _ThriftHiveMetastore_drop_partition_by_name_presult__isset() : success(false), o1(false), o2(false) {}
+typedef struct _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_presult__isset {
+ _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_presult__isset() : success(false), o1(false), o2(false) {}
    bool success;
    bool o1;
    bool o2;
-} _ThriftHiveMetastore_drop_partition_by_name_presult__isset;
+} _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_presult__isset;

-class ThriftHiveMetastore_drop_partition_by_name_presult {
+class ThriftHiveMetastore_drop_partition_by_name_with_environment_context_presult {
   public:


- virtual ~ThriftHiveMetastore_drop_partition_by_name_presult() throw() {}
+ virtual ~ThriftHiveMetastore_drop_partition_by_name_with_environment_context_presult() throw() {}

    bool* success;
    NoSuchObjectException o1;
    MetaException o2;

- _ThriftHiveMetastore_drop_partition_by_name_presult__isset __isset;
+ _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_presult__isset __isset;

    uint32_t read(::apache::thrift::protocol::TProtocol* iprot);

@@ -11009,6 +11834,9 @@ class ThriftHiveMetastoreClient : virtua
    void drop_table(const std::string& dbname, const std::string& name, const bool deleteData);
    void send_drop_table(const std::string& dbname, const std::string& name, const bool deleteData);
    void recv_drop_table();
+ void drop_table_with_environment_context(const std::string& dbname, const std::string& name, const bool deleteData, const EnvironmentContext& environment_context);
+ void send_drop_table_with_environment_context(const std::string& dbname, const std::string& name, const bool deleteData, const EnvironmentContext& environment_context);
+ void recv_drop_table_with_environment_context();
    void get_tables(std::vector<std::string> & _return, const std::string& db_name, const std::string& pattern);
    void send_get_tables(const std::string& db_name, const std::string& pattern);
    void recv_get_tables(std::vector<std::string> & _return);
@@ -11042,15 +11870,27 @@ class ThriftHiveMetastoreClient : virtua
    void append_partition(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & part_vals);
    void send_append_partition(const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & part_vals);
    void recv_append_partition(Partition& _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);
+ void send_append_partition_with_environment_context(const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & part_vals, const EnvironmentContext& environment_context);
+ void recv_append_partition_with_environment_context(Partition& _return);
    void append_partition_by_name(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::string& part_name);
    void send_append_partition_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& part_name);
    void recv_append_partition_by_name(Partition& _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);
+ void send_append_partition_by_name_with_environment_context(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const EnvironmentContext& environment_context);
+ void recv_append_partition_by_name_with_environment_context(Partition& _return);
    bool drop_partition(const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & part_vals, const bool deleteData);
    void send_drop_partition(const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & part_vals, const bool deleteData);
    bool recv_drop_partition();
+ 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);
+ void send_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 recv_drop_partition_with_environment_context();
    bool drop_partition_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const bool deleteData);
    void send_drop_partition_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const bool deleteData);
    bool recv_drop_partition_by_name();
+ 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);
+ void send_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 recv_drop_partition_by_name_with_environment_context();
    void get_partition(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & part_vals);
    void send_get_partition(const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & part_vals);
    void recv_get_partition(Partition& _return);
@@ -11214,6 +12054,7 @@ class ThriftHiveMetastoreProcessor : pub
    void process_create_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
    void process_create_table_with_environment_context(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
    void process_drop_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_drop_table_with_environment_context(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
    void process_get_tables(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
    void process_get_all_tables(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
    void process_get_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
@@ -11225,9 +12066,13 @@ class ThriftHiveMetastoreProcessor : pub
    void process_add_partition_with_environment_context(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
    void process_add_partitions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
    void process_append_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_append_partition_with_environment_context(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
    void process_append_partition_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_append_partition_by_name_with_environment_context(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
    void process_drop_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_drop_partition_with_environment_context(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
    void process_drop_partition_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
+ void process_drop_partition_by_name_with_environment_context(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
    void process_get_partition(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
    void process_get_partition_with_auth(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
    void process_get_partition_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext);
@@ -11293,6 +12138,7 @@ class ThriftHiveMetastoreProcessor : pub
      processMap_["create_table"] = &ThriftHiveMetastoreProcessor::process_create_table;
      processMap_["create_table_with_environment_context"] = &ThriftHiveMetastoreProcessor::process_create_table_with_environment_context;
      processMap_["drop_table"] = &ThriftHiveMetastoreProcessor::process_drop_table;
+ processMap_["drop_table_with_environment_context"] = &ThriftHiveMetastoreProcessor::process_drop_table_with_environment_context;
      processMap_["get_tables"] = &ThriftHiveMetastoreProcessor::process_get_tables;
      processMap_["get_all_tables"] = &ThriftHiveMetastoreProcessor::process_get_all_tables;
      processMap_["get_table"] = &ThriftHiveMetastoreProcessor::process_get_table;
@@ -11304,9 +12150,13 @@ class ThriftHiveMetastoreProcessor : pub
      processMap_["add_partition_with_environment_context"] = &ThriftHiveMetastoreProcessor::process_add_partition_with_environment_context;
      processMap_["add_partitions"] = &ThriftHiveMetastoreProcessor::process_add_partitions;
      processMap_["append_partition"] = &ThriftHiveMetastoreProcessor::process_append_partition;
+ processMap_["append_partition_with_environment_context"] = &ThriftHiveMetastoreProcessor::process_append_partition_with_environment_context;
      processMap_["append_partition_by_name"] = &ThriftHiveMetastoreProcessor::process_append_partition_by_name;
+ processMap_["append_partition_by_name_with_environment_context"] = &ThriftHiveMetastoreProcessor::process_append_partition_by_name_with_environment_context;
      processMap_["drop_partition"] = &ThriftHiveMetastoreProcessor::process_drop_partition;
+ processMap_["drop_partition_with_environment_context"] = &ThriftHiveMetastoreProcessor::process_drop_partition_with_environment_context;
      processMap_["drop_partition_by_name"] = &ThriftHiveMetastoreProcessor::process_drop_partition_by_name;
+ processMap_["drop_partition_by_name_with_environment_context"] = &ThriftHiveMetastoreProcessor::process_drop_partition_by_name_with_environment_context;
      processMap_["get_partition"] = &ThriftHiveMetastoreProcessor::process_get_partition;
      processMap_["get_partition_with_auth"] = &ThriftHiveMetastoreProcessor::process_get_partition_with_auth;
      processMap_["get_partition_by_name"] = &ThriftHiveMetastoreProcessor::process_get_partition_by_name;
@@ -11528,6 +12378,15 @@ class ThriftHiveMetastoreMultiface : vir
      ifaces_[i]->drop_table(dbname, name, deleteData);
    }

+ void drop_table_with_environment_context(const std::string& dbname, const std::string& name, const bool deleteData, const EnvironmentContext& environment_context) {
+ size_t sz = ifaces_.size();
+ size_t i = 0;
+ for (; i < (sz - 1); ++i) {
+ ifaces_[i]->drop_table_with_environment_context(dbname, name, deleteData, environment_context);
+ }
+ ifaces_[i]->drop_table_with_environment_context(dbname, name, deleteData, environment_context);
+ }
+
    void get_tables(std::vector<std::string> & _return, const std::string& db_name, const std::string& pattern) {
      size_t sz = ifaces_.size();
      size_t i = 0;
@@ -11635,6 +12494,16 @@ class ThriftHiveMetastoreMultiface : vir
      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) {
+ size_t sz = ifaces_.size();
+ size_t i = 0;
+ for (; i < (sz - 1); ++i) {
+ ifaces_[i]->append_partition_with_environment_context(_return, db_name, tbl_name, part_vals, environment_context);
+ }
+ ifaces_[i]->append_partition_with_environment_context(_return, db_name, tbl_name, part_vals, 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) {
      size_t sz = ifaces_.size();
      size_t i = 0;
@@ -11645,6 +12514,16 @@ class ThriftHiveMetastoreMultiface : vir
      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) {
+ size_t sz = ifaces_.size();
+ size_t i = 0;
+ for (; i < (sz - 1); ++i) {
+ ifaces_[i]->append_partition_by_name_with_environment_context(_return, db_name, tbl_name, part_name, environment_context);
+ }
+ ifaces_[i]->append_partition_by_name_with_environment_context(_return, db_name, tbl_name, part_name, 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) {
      size_t sz = ifaces_.size();
      size_t i = 0;
@@ -11654,6 +12533,15 @@ class ThriftHiveMetastoreMultiface : vir
      return ifaces_[i]->drop_partition(db_name, tbl_name, part_vals, deleteData);
    }

+ 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) {
+ size_t sz = ifaces_.size();
+ size_t i = 0;
+ for (; i < (sz - 1); ++i) {
+ ifaces_[i]->drop_partition_with_environment_context(db_name, tbl_name, part_vals, deleteData, environment_context);
+ }
+ return ifaces_[i]->drop_partition_with_environment_context(db_name, tbl_name, part_vals, deleteData, environment_context);
+ }
+
    bool drop_partition_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const bool deleteData) {
      size_t sz = ifaces_.size();
      size_t i = 0;
@@ -11663,6 +12551,15 @@ class ThriftHiveMetastoreMultiface : vir
      return ifaces_[i]->drop_partition_by_name(db_name, tbl_name, part_name, deleteData);
    }

+ 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) {
+ size_t sz = ifaces_.size();
+ size_t i = 0;
+ for (; i < (sz - 1); ++i) {
+ ifaces_[i]->drop_partition_by_name_with_environment_context(db_name, tbl_name, part_name, deleteData, environment_context);
+ }
+ return ifaces_[i]->drop_partition_by_name_with_environment_context(db_name, tbl_name, part_name, deleteData, environment_context);
+ }
+
    void get_partition(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & part_vals) {
      size_t sz = ifaces_.size();
      size_t i = 0;

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=1445309&r1=1445308&r2=1445309&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 Tue Feb 12 18:52:55 2013
@@ -97,6 +97,11 @@ class ThriftHiveMetastoreHandler : virtu
      printf("drop_table\n");
    }

+ void drop_table_with_environment_context(const std::string& dbname, const std::string& name, const bool deleteData, const EnvironmentContext& environment_context) {
+ // Your implementation goes here
+ printf("drop_table_with_environment_context\n");
+ }
+
    void get_tables(std::vector<std::string> & _return, const std::string& db_name, const std::string& pattern) {
      // Your implementation goes here
      printf("get_tables\n");
@@ -152,21 +157,41 @@ class ThriftHiveMetastoreHandler : virtu
      printf("append_partition\n");
    }

+ 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) {
+ // Your implementation goes here
+ printf("append_partition_with_environment_context\n");
+ }
+
    void append_partition_by_name(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::string& part_name) {
      // Your implementation goes here
      printf("append_partition_by_name\n");
    }

+ 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) {
+ // Your implementation goes here
+ printf("append_partition_by_name_with_environment_context\n");
+ }
+
    bool drop_partition(const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & part_vals, const bool deleteData) {
      // Your implementation goes here
      printf("drop_partition\n");
    }

+ 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) {
+ // Your implementation goes here
+ printf("drop_partition_with_environment_context\n");
+ }
+
    bool drop_partition_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const bool deleteData) {
      // Your implementation goes here
      printf("drop_partition_by_name\n");
    }

+ 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) {
+ // Your implementation goes here
+ printf("drop_partition_by_name_with_environment_context\n");
+ }
+
    void get_partition(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::vector<std::string> & part_vals) {
      // Your implementation goes here
      printf("get_partition\n");

Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java?rev=1445309&r1=1445308&r2=1445309&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java Tue Feb 12 18:52:55 2013
@@ -708,7 +708,7 @@ public class Database implements org.apa
                  for (int _i79 = 0; _i79 < _map78.size; ++_i79)
                  {
                    String _key80; // required
- String _val81; // optional
+ String _val81; // required
                    _key80 = iprot.readString();
                    _val81 = iprot.readString();
                    struct.parameters.put(_key80, _val81);
@@ -858,7 +858,7 @@ public class Database implements org.apa
            for (int _i85 = 0; _i85 < _map84.size; ++_i85)
            {
              String _key86; // required
- String _val87; // optional
+ String _val87; // required
              _key86 = iprot.readString();
              _val87 = iprot.readString();
              struct.parameters.put(_key86, _val87);

Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java?rev=1445309&r1=1445308&r2=1445309&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java Tue Feb 12 18:52:55 2013
@@ -356,7 +356,7 @@ public class EnvironmentContext implemen
                  for (int _i247 = 0; _i247 < _map246.size; ++_i247)
                  {
                    String _key248; // required
- String _val249; // optional
+ String _val249; // required
                    _key248 = iprot.readString();
                    _val249 = iprot.readString();
                    struct.properties.put(_key248, _val249);
@@ -439,7 +439,7 @@ public class EnvironmentContext implemen
            for (int _i253 = 0; _i253 < _map252.size; ++_i253)
            {
              String _key254; // required
- String _val255; // optional
+ String _val255; // required
              _key254 = iprot.readString();
              _val255 = iprot.readString();
              struct.properties.put(_key254, _val255);

Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java?rev=1445309&r1=1445308&r2=1445309&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java Tue Feb 12 18:52:55 2013
@@ -1145,7 +1145,7 @@ public class Index implements org.apache
                  for (int _i211 = 0; _i211 < _map210.size; ++_i211)
                  {
                    String _key212; // required
- String _val213; // optional
+ String _val213; // required
                    _key212 = iprot.readString();
                    _val213 = iprot.readString();
                    struct.parameters.put(_key212, _val213);
@@ -1362,7 +1362,7 @@ public class Index implements org.apache
            for (int _i217 = 0; _i217 < _map216.size; ++_i217)
            {
              String _key218; // required
- String _val219; // optional
+ String _val219; // required
              _key218 = iprot.readString();
              _val219 = iprot.readString();
              struct.parameters.put(_key218, _val219);

Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java?rev=1445309&r1=1445308&r2=1445309&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java Tue Feb 12 18:52:55 2013
@@ -1005,7 +1005,7 @@ public class Partition implements org.ap
                  for (int _i196 = 0; _i196 < _map195.size; ++_i196)
                  {
                    String _key197; // required
- String _val198; // optional
+ String _val198; // required
                    _key197 = iprot.readString();
                    _val198 = iprot.readString();
                    struct.parameters.put(_key197, _val198);
@@ -1219,7 +1219,7 @@ public class Partition implements org.ap
            for (int _i207 = 0; _i207 < _map206.size; ++_i207)
            {
              String _key208; // required
- String _val209; // optional
+ String _val209; // required
              _key208 = iprot.readString();
              _val209 = iprot.readString();
              struct.parameters.put(_key208, _val209);

Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java?rev=1445309&r1=1445308&r2=1445309&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java Tue Feb 12 18:52:55 2013
@@ -580,7 +580,7 @@ public class PrincipalPrivilegeSet imple
                  for (int _i25 = 0; _i25 < _map24.size; ++_i25)
                  {
                    String _key26; // required
- List<PrivilegeGrantInfo> _val27; // optional
+ List<PrivilegeGrantInfo> _val27; // required
                    _key26 = iprot.readString();
                    {
                      org.apache.thrift.protocol.TList _list28 = iprot.readListBegin();
@@ -611,7 +611,7 @@ public class PrincipalPrivilegeSet imple
                  for (int _i32 = 0; _i32 < _map31.size; ++_i32)
                  {
                    String _key33; // required
- List<PrivilegeGrantInfo> _val34; // optional
+ List<PrivilegeGrantInfo> _val34; // required
                    _key33 = iprot.readString();
                    {
                      org.apache.thrift.protocol.TList _list35 = iprot.readListBegin();
@@ -642,7 +642,7 @@ public class PrincipalPrivilegeSet imple
                  for (int _i39 = 0; _i39 < _map38.size; ++_i39)
                  {
                    String _key40; // required
- List<PrivilegeGrantInfo> _val41; // optional
+ List<PrivilegeGrantInfo> _val41; // required
                    _key40 = iprot.readString();
                    {
                      org.apache.thrift.protocol.TList _list42 = iprot.readListBegin();
@@ -827,7 +827,7 @@ public class PrincipalPrivilegeSet imple
            for (int _i58 = 0; _i58 < _map57.size; ++_i58)
            {
              String _key59; // required
- List<PrivilegeGrantInfo> _val60; // optional
+ List<PrivilegeGrantInfo> _val60; // required
              _key59 = iprot.readString();
              {
                org.apache.thrift.protocol.TList _list61 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
@@ -852,7 +852,7 @@ public class PrincipalPrivilegeSet imple
            for (int _i65 = 0; _i65 < _map64.size; ++_i65)
            {
              String _key66; // required
- List<PrivilegeGrantInfo> _val67; // optional
+ List<PrivilegeGrantInfo> _val67; // required
              _key66 = iprot.readString();
              {
                org.apache.thrift.protocol.TList _list68 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
@@ -877,7 +877,7 @@ public class PrincipalPrivilegeSet imple
            for (int _i72 = 0; _i72 < _map71.size; ++_i72)
            {
              String _key73; // required
- List<PrivilegeGrantInfo> _val74; // optional
+ List<PrivilegeGrantInfo> _val74; // required
              _key73 = iprot.readString();
              {
                org.apache.thrift.protocol.TList _list75 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());

Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java?rev=1445309&r1=1445308&r2=1445309&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java Tue Feb 12 18:52:55 2013
@@ -476,7 +476,7 @@ public class Schema implements org.apach
                  for (int _i232 = 0; _i232 < _map231.size; ++_i232)
                  {
                    String _key233; // required
- String _val234; // optional
+ String _val234; // required
                    _key233 = iprot.readString();
                    _val234 = iprot.readString();
                    struct.properties.put(_key233, _val234);
@@ -597,7 +597,7 @@ public class Schema implements org.apach
            for (int _i243 = 0; _i243 < _map242.size; ++_i243)
            {
              String _key244; // required
- String _val245; // optional
+ String _val245; // required
              _key244 = iprot.readString();
              _val245 = iprot.readString();
              struct.properties.put(_key244, _val245);

Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java?rev=1445309&r1=1445308&r2=1445309&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java Tue Feb 12 18:52:55 2013
@@ -534,7 +534,7 @@ public class SerDeInfo implements org.ap
                  for (int _i89 = 0; _i89 < _map88.size; ++_i89)
                  {
                    String _key90; // required
- String _val91; // optional
+ String _val91; // required
                    _key90 = iprot.readString();
                    _val91 = iprot.readString();
                    struct.parameters.put(_key90, _val91);
@@ -647,7 +647,7 @@ public class SerDeInfo implements org.ap
            for (int _i95 = 0; _i95 < _map94.size; ++_i95)
            {
              String _key96; // required
- String _val97; // optional
+ String _val97; // required
              _key96 = iprot.readString();
              _val97 = iprot.readString();
              struct.parameters.put(_key96, _val97);

Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java?rev=1445309&r1=1445308&r2=1445309&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java Tue Feb 12 18:52:55 2013
@@ -613,7 +613,7 @@ public class SkewedInfo implements org.a
                  for (int _i108 = 0; _i108 < _map107.size; ++_i108)
                  {
                    List<String> _key109; // required
- String _val110; // optional
+ String _val110; // required
                    {
                      org.apache.thrift.protocol.TList _list111 = iprot.readListBegin();
                      _key109 = new ArrayList<String>(_list111.size);
@@ -815,7 +815,7 @@ public class SkewedInfo implements org.a
            for (int _i134 = 0; _i134 < _map133.size; ++_i134)
            {
              List<String> _key135; // required
- String _val136; // optional
+ String _val136; // required
              {
                org.apache.thrift.protocol.TList _list137 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
                _key135 = new ArrayList<String>(_list137.size);

Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java?rev=1445309&r1=1445308&r2=1445309&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java Tue Feb 12 18:52:55 2013
@@ -1410,7 +1410,7 @@ public class StorageDescriptor implement
                  for (int _i150 = 0; _i150 < _map149.size; ++_i150)
                  {
                    String _key151; // required
- String _val152; // optional
+ String _val152; // required
                    _key151 = iprot.readString();
                    _val152 = iprot.readString();
                    struct.parameters.put(_key151, _val152);
@@ -1734,7 +1734,7 @@ public class StorageDescriptor implement
            for (int _i171 = 0; _i171 < _map170.size; ++_i171)
            {
              String _key172; // required
- String _val173; // optional
+ String _val173; // required
              _key172 = iprot.readString();
              _val173 = iprot.readString();
              struct.parameters.put(_key172, _val173);

Modified: hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java?rev=1445309&r1=1445308&r2=1445309&view=diff
==============================================================================
--- hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java (original)
+++ hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java Tue Feb 12 18:52:55 2013
@@ -1423,7 +1423,7 @@ public class Table implements org.apache
                  for (int _i178 = 0; _i178 < _map177.size; ++_i178)
                  {
                    String _key179; // required
- String _val180; // optional
+ String _val180; // required
                    _key179 = iprot.readString();
                    _val180 = iprot.readString();
                    struct.parameters.put(_key179, _val180);
@@ -1723,7 +1723,7 @@ public class Table implements org.apache
            for (int _i189 = 0; _i189 < _map188.size; ++_i189)
            {
              String _key190; // required
- String _val191; // optional
+ String _val191; // required
              _key190 = iprot.readString();
              _val191 = iprot.readString();
              struct.parameters.put(_key190, _val191);

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 8 | next ›
Discussion Overview
groupcommits @
categorieshive, hadoop
postedFeb 12, '13 at 6:53p
activeFeb 12, '13 at 6:53p
posts8
users1
websitehive.apache.org

1 user in discussion

Kevinwilfong: 8 posts

People

Translate

site design / logo © 2021 Grokbase