diff --git common/src/java/org/apache/hadoop/hive/common/JavaUtils.java common/src/java/org/apache/hadoop/hive/common/JavaUtils.java index 87bc99e..3916fe3 100644 --- common/src/java/org/apache/hadoop/hive/common/JavaUtils.java +++ common/src/java/org/apache/hadoop/hive/common/JavaUtils.java @@ -26,6 +26,7 @@ import java.lang.reflect.Method; import java.net.URLClassLoader; import java.util.Arrays; +import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -150,6 +151,10 @@ public static String txnIdToString(long txnId) { return "txnid:" + txnId; } + public static String txnIdsToString(List txnIds) { + return "Transactions requested to be aborted: " + txnIds.toString(); + } + private JavaUtils() { // prevent instantiation } diff --git metastore/if/hive_metastore.thrift metastore/if/hive_metastore.thrift index 6a55962..05597f7 100755 --- metastore/if/hive_metastore.thrift +++ metastore/if/hive_metastore.thrift @@ -580,6 +580,10 @@ struct AbortTxnRequest { 1: required i64 txnid, } +struct AbortTxnsRequest { + 1: required list txn_ids, +} + struct CommitTxnRequest { 1: required i64 txnid, } @@ -1325,6 +1329,7 @@ service ThriftHiveMetastore extends fb303.FacebookService GetOpenTxnsInfoResponse get_open_txns_info() OpenTxnsResponse open_txns(1:OpenTxnRequest rqst) void abort_txn(1:AbortTxnRequest rqst) throws (1:NoSuchTxnException o1) + void abort_txns(1:AbortTxnsRequest rqst) throws (1:NoSuchTxnException o1) void commit_txn(1:CommitTxnRequest rqst) throws (1:NoSuchTxnException o1, 2:TxnAbortedException o2) LockResponse lock(1:LockRequest rqst) throws (1:NoSuchTxnException o1, 2:TxnAbortedException o2) LockResponse check_lock(1:CheckLockRequest rqst) diff --git metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index 6e5de20..ce8d9f3 100644 --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp @@ -1240,14 +1240,14 @@ uint32_t ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size725; - ::apache::thrift::protocol::TType _etype728; - xfer += iprot->readListBegin(_etype728, _size725); - this->success.resize(_size725); - uint32_t _i729; - for (_i729 = 0; _i729 < _size725; ++_i729) + uint32_t _size733; + ::apache::thrift::protocol::TType _etype736; + xfer += iprot->readListBegin(_etype736, _size733); + this->success.resize(_size733); + uint32_t _i737; + for (_i737 = 0; _i737 < _size733; ++_i737) { - xfer += iprot->readString(this->success[_i729]); + xfer += iprot->readString(this->success[_i737]); } xfer += iprot->readListEnd(); } @@ -1286,10 +1286,10 @@ uint32_t ThriftHiveMetastore_get_databases_result::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter730; - for (_iter730 = this->success.begin(); _iter730 != this->success.end(); ++_iter730) + std::vector ::const_iterator _iter738; + for (_iter738 = this->success.begin(); _iter738 != this->success.end(); ++_iter738) { - xfer += oprot->writeString((*_iter730)); + xfer += oprot->writeString((*_iter738)); } xfer += oprot->writeListEnd(); } @@ -1334,14 +1334,14 @@ uint32_t ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size731; - ::apache::thrift::protocol::TType _etype734; - xfer += iprot->readListBegin(_etype734, _size731); - (*(this->success)).resize(_size731); - uint32_t _i735; - for (_i735 = 0; _i735 < _size731; ++_i735) + uint32_t _size739; + ::apache::thrift::protocol::TType _etype742; + xfer += iprot->readListBegin(_etype742, _size739); + (*(this->success)).resize(_size739); + uint32_t _i743; + for (_i743 = 0; _i743 < _size739; ++_i743) { - xfer += iprot->readString((*(this->success))[_i735]); + xfer += iprot->readString((*(this->success))[_i743]); } xfer += iprot->readListEnd(); } @@ -1458,14 +1458,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size736; - ::apache::thrift::protocol::TType _etype739; - xfer += iprot->readListBegin(_etype739, _size736); - this->success.resize(_size736); - uint32_t _i740; - for (_i740 = 0; _i740 < _size736; ++_i740) + uint32_t _size744; + ::apache::thrift::protocol::TType _etype747; + xfer += iprot->readListBegin(_etype747, _size744); + this->success.resize(_size744); + uint32_t _i748; + for (_i748 = 0; _i748 < _size744; ++_i748) { - xfer += iprot->readString(this->success[_i740]); + xfer += iprot->readString(this->success[_i748]); } xfer += iprot->readListEnd(); } @@ -1504,10 +1504,10 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::write(::apache::thrift::p xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter741; - for (_iter741 = this->success.begin(); _iter741 != this->success.end(); ++_iter741) + std::vector ::const_iterator _iter749; + for (_iter749 = this->success.begin(); _iter749 != this->success.end(); ++_iter749) { - xfer += oprot->writeString((*_iter741)); + xfer += oprot->writeString((*_iter749)); } xfer += oprot->writeListEnd(); } @@ -1552,14 +1552,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size742; - ::apache::thrift::protocol::TType _etype745; - xfer += iprot->readListBegin(_etype745, _size742); - (*(this->success)).resize(_size742); - uint32_t _i746; - for (_i746 = 0; _i746 < _size742; ++_i746) + uint32_t _size750; + ::apache::thrift::protocol::TType _etype753; + xfer += iprot->readListBegin(_etype753, _size750); + (*(this->success)).resize(_size750); + uint32_t _i754; + for (_i754 = 0; _i754 < _size750; ++_i754) { - xfer += iprot->readString((*(this->success))[_i746]); + xfer += iprot->readString((*(this->success))[_i754]); } xfer += iprot->readListEnd(); } @@ -2621,17 +2621,17 @@ uint32_t ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size747; - ::apache::thrift::protocol::TType _ktype748; - ::apache::thrift::protocol::TType _vtype749; - xfer += iprot->readMapBegin(_ktype748, _vtype749, _size747); - uint32_t _i751; - for (_i751 = 0; _i751 < _size747; ++_i751) + uint32_t _size755; + ::apache::thrift::protocol::TType _ktype756; + ::apache::thrift::protocol::TType _vtype757; + xfer += iprot->readMapBegin(_ktype756, _vtype757, _size755); + uint32_t _i759; + for (_i759 = 0; _i759 < _size755; ++_i759) { - std::string _key752; - xfer += iprot->readString(_key752); - Type& _val753 = this->success[_key752]; - xfer += _val753.read(iprot); + std::string _key760; + xfer += iprot->readString(_key760); + Type& _val761 = this->success[_key760]; + xfer += _val761.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2670,11 +2670,11 @@ uint32_t ThriftHiveMetastore_get_type_all_result::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::map ::const_iterator _iter754; - for (_iter754 = this->success.begin(); _iter754 != this->success.end(); ++_iter754) + std::map ::const_iterator _iter762; + for (_iter762 = this->success.begin(); _iter762 != this->success.end(); ++_iter762) { - xfer += oprot->writeString(_iter754->first); - xfer += _iter754->second.write(oprot); + xfer += oprot->writeString(_iter762->first); + xfer += _iter762->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -2719,17 +2719,17 @@ uint32_t ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size755; - ::apache::thrift::protocol::TType _ktype756; - ::apache::thrift::protocol::TType _vtype757; - xfer += iprot->readMapBegin(_ktype756, _vtype757, _size755); - uint32_t _i759; - for (_i759 = 0; _i759 < _size755; ++_i759) + uint32_t _size763; + ::apache::thrift::protocol::TType _ktype764; + ::apache::thrift::protocol::TType _vtype765; + xfer += iprot->readMapBegin(_ktype764, _vtype765, _size763); + uint32_t _i767; + for (_i767 = 0; _i767 < _size763; ++_i767) { - std::string _key760; - xfer += iprot->readString(_key760); - Type& _val761 = (*(this->success))[_key760]; - xfer += _val761.read(iprot); + std::string _key768; + xfer += iprot->readString(_key768); + Type& _val769 = (*(this->success))[_key768]; + xfer += _val769.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2883,14 +2883,14 @@ uint32_t ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size762; - ::apache::thrift::protocol::TType _etype765; - xfer += iprot->readListBegin(_etype765, _size762); - this->success.resize(_size762); - uint32_t _i766; - for (_i766 = 0; _i766 < _size762; ++_i766) + uint32_t _size770; + ::apache::thrift::protocol::TType _etype773; + xfer += iprot->readListBegin(_etype773, _size770); + this->success.resize(_size770); + uint32_t _i774; + for (_i774 = 0; _i774 < _size770; ++_i774) { - xfer += this->success[_i766].read(iprot); + xfer += this->success[_i774].read(iprot); } xfer += iprot->readListEnd(); } @@ -2945,10 +2945,10 @@ uint32_t ThriftHiveMetastore_get_fields_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter767; - for (_iter767 = this->success.begin(); _iter767 != this->success.end(); ++_iter767) + std::vector ::const_iterator _iter775; + for (_iter775 = this->success.begin(); _iter775 != this->success.end(); ++_iter775) { - xfer += (*_iter767).write(oprot); + xfer += (*_iter775).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3001,14 +3001,14 @@ uint32_t ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size768; - ::apache::thrift::protocol::TType _etype771; - xfer += iprot->readListBegin(_etype771, _size768); - (*(this->success)).resize(_size768); - uint32_t _i772; - for (_i772 = 0; _i772 < _size768; ++_i772) + uint32_t _size776; + ::apache::thrift::protocol::TType _etype779; + xfer += iprot->readListBegin(_etype779, _size776); + (*(this->success)).resize(_size776); + uint32_t _i780; + for (_i780 = 0; _i780 < _size776; ++_i780) { - xfer += (*(this->success))[_i772].read(iprot); + xfer += (*(this->success))[_i780].read(iprot); } xfer += iprot->readListEnd(); } @@ -3194,14 +3194,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size773; - ::apache::thrift::protocol::TType _etype776; - xfer += iprot->readListBegin(_etype776, _size773); - this->success.resize(_size773); - uint32_t _i777; - for (_i777 = 0; _i777 < _size773; ++_i777) + uint32_t _size781; + ::apache::thrift::protocol::TType _etype784; + xfer += iprot->readListBegin(_etype784, _size781); + this->success.resize(_size781); + uint32_t _i785; + for (_i785 = 0; _i785 < _size781; ++_i785) { - xfer += this->success[_i777].read(iprot); + xfer += this->success[_i785].read(iprot); } xfer += iprot->readListEnd(); } @@ -3256,10 +3256,10 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::write(: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter778; - for (_iter778 = this->success.begin(); _iter778 != this->success.end(); ++_iter778) + std::vector ::const_iterator _iter786; + for (_iter786 = this->success.begin(); _iter786 != this->success.end(); ++_iter786) { - xfer += (*_iter778).write(oprot); + xfer += (*_iter786).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3312,14 +3312,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size779; - ::apache::thrift::protocol::TType _etype782; - xfer += iprot->readListBegin(_etype782, _size779); - (*(this->success)).resize(_size779); - uint32_t _i783; - for (_i783 = 0; _i783 < _size779; ++_i783) + uint32_t _size787; + ::apache::thrift::protocol::TType _etype790; + xfer += iprot->readListBegin(_etype790, _size787); + (*(this->success)).resize(_size787); + uint32_t _i791; + for (_i791 = 0; _i791 < _size787; ++_i791) { - xfer += (*(this->success))[_i783].read(iprot); + xfer += (*(this->success))[_i791].read(iprot); } xfer += iprot->readListEnd(); } @@ -3489,14 +3489,14 @@ uint32_t ThriftHiveMetastore_get_schema_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size784; - ::apache::thrift::protocol::TType _etype787; - xfer += iprot->readListBegin(_etype787, _size784); - this->success.resize(_size784); - uint32_t _i788; - for (_i788 = 0; _i788 < _size784; ++_i788) + uint32_t _size792; + ::apache::thrift::protocol::TType _etype795; + xfer += iprot->readListBegin(_etype795, _size792); + this->success.resize(_size792); + uint32_t _i796; + for (_i796 = 0; _i796 < _size792; ++_i796) { - xfer += this->success[_i788].read(iprot); + xfer += this->success[_i796].read(iprot); } xfer += iprot->readListEnd(); } @@ -3551,10 +3551,10 @@ uint32_t ThriftHiveMetastore_get_schema_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter789; - for (_iter789 = this->success.begin(); _iter789 != this->success.end(); ++_iter789) + std::vector ::const_iterator _iter797; + for (_iter797 = this->success.begin(); _iter797 != this->success.end(); ++_iter797) { - xfer += (*_iter789).write(oprot); + xfer += (*_iter797).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3607,14 +3607,14 @@ uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size790; - ::apache::thrift::protocol::TType _etype793; - xfer += iprot->readListBegin(_etype793, _size790); - (*(this->success)).resize(_size790); - uint32_t _i794; - for (_i794 = 0; _i794 < _size790; ++_i794) + uint32_t _size798; + ::apache::thrift::protocol::TType _etype801; + xfer += iprot->readListBegin(_etype801, _size798); + (*(this->success)).resize(_size798); + uint32_t _i802; + for (_i802 = 0; _i802 < _size798; ++_i802) { - xfer += (*(this->success))[_i794].read(iprot); + xfer += (*(this->success))[_i802].read(iprot); } xfer += iprot->readListEnd(); } @@ -3800,14 +3800,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size795; - ::apache::thrift::protocol::TType _etype798; - xfer += iprot->readListBegin(_etype798, _size795); - this->success.resize(_size795); - uint32_t _i799; - for (_i799 = 0; _i799 < _size795; ++_i799) + uint32_t _size803; + ::apache::thrift::protocol::TType _etype806; + xfer += iprot->readListBegin(_etype806, _size803); + this->success.resize(_size803); + uint32_t _i807; + for (_i807 = 0; _i807 < _size803; ++_i807) { - xfer += this->success[_i799].read(iprot); + xfer += this->success[_i807].read(iprot); } xfer += iprot->readListEnd(); } @@ -3862,10 +3862,10 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::write(: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter800; - for (_iter800 = this->success.begin(); _iter800 != this->success.end(); ++_iter800) + std::vector ::const_iterator _iter808; + for (_iter808 = this->success.begin(); _iter808 != this->success.end(); ++_iter808) { - xfer += (*_iter800).write(oprot); + xfer += (*_iter808).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3918,14 +3918,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size801; - ::apache::thrift::protocol::TType _etype804; - xfer += iprot->readListBegin(_etype804, _size801); - (*(this->success)).resize(_size801); - uint32_t _i805; - for (_i805 = 0; _i805 < _size801; ++_i805) + uint32_t _size809; + ::apache::thrift::protocol::TType _etype812; + xfer += iprot->readListBegin(_etype812, _size809); + (*(this->success)).resize(_size809); + uint32_t _i813; + for (_i813 = 0; _i813 < _size809; ++_i813) { - xfer += (*(this->success))[_i805].read(iprot); + xfer += (*(this->success))[_i813].read(iprot); } xfer += iprot->readListEnd(); } @@ -5099,14 +5099,14 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size806; - ::apache::thrift::protocol::TType _etype809; - xfer += iprot->readListBegin(_etype809, _size806); - this->success.resize(_size806); - uint32_t _i810; - for (_i810 = 0; _i810 < _size806; ++_i810) + uint32_t _size814; + ::apache::thrift::protocol::TType _etype817; + xfer += iprot->readListBegin(_etype817, _size814); + this->success.resize(_size814); + uint32_t _i818; + for (_i818 = 0; _i818 < _size814; ++_i818) { - xfer += iprot->readString(this->success[_i810]); + xfer += iprot->readString(this->success[_i818]); } xfer += iprot->readListEnd(); } @@ -5145,10 +5145,10 @@ uint32_t ThriftHiveMetastore_get_tables_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter811; - for (_iter811 = this->success.begin(); _iter811 != this->success.end(); ++_iter811) + std::vector ::const_iterator _iter819; + for (_iter819 = this->success.begin(); _iter819 != this->success.end(); ++_iter819) { - xfer += oprot->writeString((*_iter811)); + xfer += oprot->writeString((*_iter819)); } xfer += oprot->writeListEnd(); } @@ -5193,14 +5193,14 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size812; - ::apache::thrift::protocol::TType _etype815; - xfer += iprot->readListBegin(_etype815, _size812); - (*(this->success)).resize(_size812); - uint32_t _i816; - for (_i816 = 0; _i816 < _size812; ++_i816) + uint32_t _size820; + ::apache::thrift::protocol::TType _etype823; + xfer += iprot->readListBegin(_etype823, _size820); + (*(this->success)).resize(_size820); + uint32_t _i824; + for (_i824 = 0; _i824 < _size820; ++_i824) { - xfer += iprot->readString((*(this->success))[_i816]); + xfer += iprot->readString((*(this->success))[_i824]); } xfer += iprot->readListEnd(); } @@ -5275,14 +5275,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tbl_types.clear(); - uint32_t _size817; - ::apache::thrift::protocol::TType _etype820; - xfer += iprot->readListBegin(_etype820, _size817); - this->tbl_types.resize(_size817); - uint32_t _i821; - for (_i821 = 0; _i821 < _size817; ++_i821) + uint32_t _size825; + ::apache::thrift::protocol::TType _etype828; + xfer += iprot->readListBegin(_etype828, _size825); + this->tbl_types.resize(_size825); + uint32_t _i829; + for (_i829 = 0; _i829 < _size825; ++_i829) { - xfer += iprot->readString(this->tbl_types[_i821]); + xfer += iprot->readString(this->tbl_types[_i829]); } xfer += iprot->readListEnd(); } @@ -5319,10 +5319,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("tbl_types", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tbl_types.size())); - std::vector ::const_iterator _iter822; - for (_iter822 = this->tbl_types.begin(); _iter822 != this->tbl_types.end(); ++_iter822) + std::vector ::const_iterator _iter830; + for (_iter830 = this->tbl_types.begin(); _iter830 != this->tbl_types.end(); ++_iter830) { - xfer += oprot->writeString((*_iter822)); + xfer += oprot->writeString((*_iter830)); } xfer += oprot->writeListEnd(); } @@ -5354,10 +5354,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("tbl_types", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->tbl_types)).size())); - std::vector ::const_iterator _iter823; - for (_iter823 = (*(this->tbl_types)).begin(); _iter823 != (*(this->tbl_types)).end(); ++_iter823) + std::vector ::const_iterator _iter831; + for (_iter831 = (*(this->tbl_types)).begin(); _iter831 != (*(this->tbl_types)).end(); ++_iter831) { - xfer += oprot->writeString((*_iter823)); + xfer += oprot->writeString((*_iter831)); } xfer += oprot->writeListEnd(); } @@ -5398,14 +5398,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size824; - ::apache::thrift::protocol::TType _etype827; - xfer += iprot->readListBegin(_etype827, _size824); - this->success.resize(_size824); - uint32_t _i828; - for (_i828 = 0; _i828 < _size824; ++_i828) + uint32_t _size832; + ::apache::thrift::protocol::TType _etype835; + xfer += iprot->readListBegin(_etype835, _size832); + this->success.resize(_size832); + uint32_t _i836; + for (_i836 = 0; _i836 < _size832; ++_i836) { - xfer += this->success[_i828].read(iprot); + xfer += this->success[_i836].read(iprot); } xfer += iprot->readListEnd(); } @@ -5444,10 +5444,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter829; - for (_iter829 = this->success.begin(); _iter829 != this->success.end(); ++_iter829) + std::vector ::const_iterator _iter837; + for (_iter837 = this->success.begin(); _iter837 != this->success.end(); ++_iter837) { - xfer += (*_iter829).write(oprot); + xfer += (*_iter837).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5492,14 +5492,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size830; - ::apache::thrift::protocol::TType _etype833; - xfer += iprot->readListBegin(_etype833, _size830); - (*(this->success)).resize(_size830); - uint32_t _i834; - for (_i834 = 0; _i834 < _size830; ++_i834) + uint32_t _size838; + ::apache::thrift::protocol::TType _etype841; + xfer += iprot->readListBegin(_etype841, _size838); + (*(this->success)).resize(_size838); + uint32_t _i842; + for (_i842 = 0; _i842 < _size838; ++_i842) { - xfer += (*(this->success))[_i834].read(iprot); + xfer += (*(this->success))[_i842].read(iprot); } xfer += iprot->readListEnd(); } @@ -5637,14 +5637,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size835; - ::apache::thrift::protocol::TType _etype838; - xfer += iprot->readListBegin(_etype838, _size835); - this->success.resize(_size835); - uint32_t _i839; - for (_i839 = 0; _i839 < _size835; ++_i839) + uint32_t _size843; + ::apache::thrift::protocol::TType _etype846; + xfer += iprot->readListBegin(_etype846, _size843); + this->success.resize(_size843); + uint32_t _i847; + for (_i847 = 0; _i847 < _size843; ++_i847) { - xfer += iprot->readString(this->success[_i839]); + xfer += iprot->readString(this->success[_i847]); } xfer += iprot->readListEnd(); } @@ -5683,10 +5683,10 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter840; - for (_iter840 = this->success.begin(); _iter840 != this->success.end(); ++_iter840) + std::vector ::const_iterator _iter848; + for (_iter848 = this->success.begin(); _iter848 != this->success.end(); ++_iter848) { - xfer += oprot->writeString((*_iter840)); + xfer += oprot->writeString((*_iter848)); } xfer += oprot->writeListEnd(); } @@ -5731,14 +5731,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size841; - ::apache::thrift::protocol::TType _etype844; - xfer += iprot->readListBegin(_etype844, _size841); - (*(this->success)).resize(_size841); - uint32_t _i845; - for (_i845 = 0; _i845 < _size841; ++_i845) + uint32_t _size849; + ::apache::thrift::protocol::TType _etype852; + xfer += iprot->readListBegin(_etype852, _size849); + (*(this->success)).resize(_size849); + uint32_t _i853; + for (_i853 = 0; _i853 < _size849; ++_i853) { - xfer += iprot->readString((*(this->success))[_i845]); + xfer += iprot->readString((*(this->success))[_i853]); } xfer += iprot->readListEnd(); } @@ -6048,14 +6048,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tbl_names.clear(); - uint32_t _size846; - ::apache::thrift::protocol::TType _etype849; - xfer += iprot->readListBegin(_etype849, _size846); - this->tbl_names.resize(_size846); - uint32_t _i850; - for (_i850 = 0; _i850 < _size846; ++_i850) + uint32_t _size854; + ::apache::thrift::protocol::TType _etype857; + xfer += iprot->readListBegin(_etype857, _size854); + this->tbl_names.resize(_size854); + uint32_t _i858; + for (_i858 = 0; _i858 < _size854; ++_i858) { - xfer += iprot->readString(this->tbl_names[_i850]); + xfer += iprot->readString(this->tbl_names[_i858]); } xfer += iprot->readListEnd(); } @@ -6088,10 +6088,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::write(::apache::thr xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tbl_names.size())); - std::vector ::const_iterator _iter851; - for (_iter851 = this->tbl_names.begin(); _iter851 != this->tbl_names.end(); ++_iter851) + std::vector ::const_iterator _iter859; + for (_iter859 = this->tbl_names.begin(); _iter859 != this->tbl_names.end(); ++_iter859) { - xfer += oprot->writeString((*_iter851)); + xfer += oprot->writeString((*_iter859)); } xfer += oprot->writeListEnd(); } @@ -6119,10 +6119,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_pargs::write(::apache::th xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->tbl_names)).size())); - std::vector ::const_iterator _iter852; - for (_iter852 = (*(this->tbl_names)).begin(); _iter852 != (*(this->tbl_names)).end(); ++_iter852) + std::vector ::const_iterator _iter860; + for (_iter860 = (*(this->tbl_names)).begin(); _iter860 != (*(this->tbl_names)).end(); ++_iter860) { - xfer += oprot->writeString((*_iter852)); + xfer += oprot->writeString((*_iter860)); } xfer += oprot->writeListEnd(); } @@ -6163,14 +6163,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size853; - ::apache::thrift::protocol::TType _etype856; - xfer += iprot->readListBegin(_etype856, _size853); - this->success.resize(_size853); - uint32_t _i857; - for (_i857 = 0; _i857 < _size853; ++_i857) + uint32_t _size861; + ::apache::thrift::protocol::TType _etype864; + xfer += iprot->readListBegin(_etype864, _size861); + this->success.resize(_size861); + uint32_t _i865; + for (_i865 = 0; _i865 < _size861; ++_i865) { - xfer += this->success[_i857].read(iprot); + xfer += this->success[_i865].read(iprot); } xfer += iprot->readListEnd(); } @@ -6225,10 +6225,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter858; - for (_iter858 = this->success.begin(); _iter858 != this->success.end(); ++_iter858) + std::vector
::const_iterator _iter866; + for (_iter866 = this->success.begin(); _iter866 != this->success.end(); ++_iter866) { - xfer += (*_iter858).write(oprot); + xfer += (*_iter866).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6281,14 +6281,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size859; - ::apache::thrift::protocol::TType _etype862; - xfer += iprot->readListBegin(_etype862, _size859); - (*(this->success)).resize(_size859); - uint32_t _i863; - for (_i863 = 0; _i863 < _size859; ++_i863) + uint32_t _size867; + ::apache::thrift::protocol::TType _etype870; + xfer += iprot->readListBegin(_etype870, _size867); + (*(this->success)).resize(_size867); + uint32_t _i871; + for (_i871 = 0; _i871 < _size867; ++_i871) { - xfer += (*(this->success))[_i863].read(iprot); + xfer += (*(this->success))[_i871].read(iprot); } xfer += iprot->readListEnd(); } @@ -6474,14 +6474,14 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size864; - ::apache::thrift::protocol::TType _etype867; - xfer += iprot->readListBegin(_etype867, _size864); - this->success.resize(_size864); - uint32_t _i868; - for (_i868 = 0; _i868 < _size864; ++_i868) + uint32_t _size872; + ::apache::thrift::protocol::TType _etype875; + xfer += iprot->readListBegin(_etype875, _size872); + this->success.resize(_size872); + uint32_t _i876; + for (_i876 = 0; _i876 < _size872; ++_i876) { - xfer += iprot->readString(this->success[_i868]); + xfer += iprot->readString(this->success[_i876]); } xfer += iprot->readListEnd(); } @@ -6536,10 +6536,10 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter869; - for (_iter869 = this->success.begin(); _iter869 != this->success.end(); ++_iter869) + std::vector ::const_iterator _iter877; + for (_iter877 = this->success.begin(); _iter877 != this->success.end(); ++_iter877) { - xfer += oprot->writeString((*_iter869)); + xfer += oprot->writeString((*_iter877)); } xfer += oprot->writeListEnd(); } @@ -6592,14 +6592,14 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size870; - ::apache::thrift::protocol::TType _etype873; - xfer += iprot->readListBegin(_etype873, _size870); - (*(this->success)).resize(_size870); - uint32_t _i874; - for (_i874 = 0; _i874 < _size870; ++_i874) + uint32_t _size878; + ::apache::thrift::protocol::TType _etype881; + xfer += iprot->readListBegin(_etype881, _size878); + (*(this->success)).resize(_size878); + uint32_t _i882; + for (_i882 = 0; _i882 < _size878; ++_i882) { - xfer += iprot->readString((*(this->success))[_i874]); + xfer += iprot->readString((*(this->success))[_i882]); } xfer += iprot->readListEnd(); } @@ -7933,14 +7933,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size875; - ::apache::thrift::protocol::TType _etype878; - xfer += iprot->readListBegin(_etype878, _size875); - this->new_parts.resize(_size875); - uint32_t _i879; - for (_i879 = 0; _i879 < _size875; ++_i879) + uint32_t _size883; + ::apache::thrift::protocol::TType _etype886; + xfer += iprot->readListBegin(_etype886, _size883); + this->new_parts.resize(_size883); + uint32_t _i887; + for (_i887 = 0; _i887 < _size883; ++_i887) { - xfer += this->new_parts[_i879].read(iprot); + xfer += this->new_parts[_i887].read(iprot); } xfer += iprot->readListEnd(); } @@ -7969,10 +7969,10 @@ uint32_t ThriftHiveMetastore_add_partitions_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter880; - for (_iter880 = this->new_parts.begin(); _iter880 != this->new_parts.end(); ++_iter880) + std::vector ::const_iterator _iter888; + for (_iter888 = this->new_parts.begin(); _iter888 != this->new_parts.end(); ++_iter888) { - xfer += (*_iter880).write(oprot); + xfer += (*_iter888).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7996,10 +7996,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter881; - for (_iter881 = (*(this->new_parts)).begin(); _iter881 != (*(this->new_parts)).end(); ++_iter881) + std::vector ::const_iterator _iter889; + for (_iter889 = (*(this->new_parts)).begin(); _iter889 != (*(this->new_parts)).end(); ++_iter889) { - xfer += (*_iter881).write(oprot); + xfer += (*_iter889).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8208,14 +8208,14 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_args::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size882; - ::apache::thrift::protocol::TType _etype885; - xfer += iprot->readListBegin(_etype885, _size882); - this->new_parts.resize(_size882); - uint32_t _i886; - for (_i886 = 0; _i886 < _size882; ++_i886) + uint32_t _size890; + ::apache::thrift::protocol::TType _etype893; + xfer += iprot->readListBegin(_etype893, _size890); + this->new_parts.resize(_size890); + uint32_t _i894; + for (_i894 = 0; _i894 < _size890; ++_i894) { - xfer += this->new_parts[_i886].read(iprot); + xfer += this->new_parts[_i894].read(iprot); } xfer += iprot->readListEnd(); } @@ -8244,10 +8244,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_args::write(::apache::thrift:: xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter887; - for (_iter887 = this->new_parts.begin(); _iter887 != this->new_parts.end(); ++_iter887) + std::vector ::const_iterator _iter895; + for (_iter895 = this->new_parts.begin(); _iter895 != this->new_parts.end(); ++_iter895) { - xfer += (*_iter887).write(oprot); + xfer += (*_iter895).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8271,10 +8271,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_pargs::write(::apache::thrift: xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter888; - for (_iter888 = (*(this->new_parts)).begin(); _iter888 != (*(this->new_parts)).end(); ++_iter888) + std::vector ::const_iterator _iter896; + for (_iter896 = (*(this->new_parts)).begin(); _iter896 != (*(this->new_parts)).end(); ++_iter896) { - xfer += (*_iter888).write(oprot); + xfer += (*_iter896).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8499,14 +8499,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size889; - ::apache::thrift::protocol::TType _etype892; - xfer += iprot->readListBegin(_etype892, _size889); - this->part_vals.resize(_size889); - uint32_t _i893; - for (_i893 = 0; _i893 < _size889; ++_i893) + uint32_t _size897; + ::apache::thrift::protocol::TType _etype900; + xfer += iprot->readListBegin(_etype900, _size897); + this->part_vals.resize(_size897); + uint32_t _i901; + for (_i901 = 0; _i901 < _size897; ++_i901) { - xfer += iprot->readString(this->part_vals[_i893]); + xfer += iprot->readString(this->part_vals[_i901]); } xfer += iprot->readListEnd(); } @@ -8543,10 +8543,10 @@ uint32_t ThriftHiveMetastore_append_partition_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter894; - for (_iter894 = this->part_vals.begin(); _iter894 != this->part_vals.end(); ++_iter894) + std::vector ::const_iterator _iter902; + for (_iter902 = this->part_vals.begin(); _iter902 != this->part_vals.end(); ++_iter902) { - xfer += oprot->writeString((*_iter894)); + xfer += oprot->writeString((*_iter902)); } xfer += oprot->writeListEnd(); } @@ -8578,10 +8578,10 @@ uint32_t ThriftHiveMetastore_append_partition_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter895; - for (_iter895 = (*(this->part_vals)).begin(); _iter895 != (*(this->part_vals)).end(); ++_iter895) + std::vector ::const_iterator _iter903; + for (_iter903 = (*(this->part_vals)).begin(); _iter903 != (*(this->part_vals)).end(); ++_iter903) { - xfer += oprot->writeString((*_iter895)); + xfer += oprot->writeString((*_iter903)); } xfer += oprot->writeListEnd(); } @@ -9053,14 +9053,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size896; - ::apache::thrift::protocol::TType _etype899; - xfer += iprot->readListBegin(_etype899, _size896); - this->part_vals.resize(_size896); - uint32_t _i900; - for (_i900 = 0; _i900 < _size896; ++_i900) + uint32_t _size904; + ::apache::thrift::protocol::TType _etype907; + xfer += iprot->readListBegin(_etype907, _size904); + this->part_vals.resize(_size904); + uint32_t _i908; + for (_i908 = 0; _i908 < _size904; ++_i908) { - xfer += iprot->readString(this->part_vals[_i900]); + xfer += iprot->readString(this->part_vals[_i908]); } xfer += iprot->readListEnd(); } @@ -9105,10 +9105,10 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::wri xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter901; - for (_iter901 = this->part_vals.begin(); _iter901 != this->part_vals.end(); ++_iter901) + std::vector ::const_iterator _iter909; + for (_iter909 = this->part_vals.begin(); _iter909 != this->part_vals.end(); ++_iter909) { - xfer += oprot->writeString((*_iter901)); + xfer += oprot->writeString((*_iter909)); } xfer += oprot->writeListEnd(); } @@ -9144,10 +9144,10 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_pargs::wr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter902; - for (_iter902 = (*(this->part_vals)).begin(); _iter902 != (*(this->part_vals)).end(); ++_iter902) + std::vector ::const_iterator _iter910; + for (_iter910 = (*(this->part_vals)).begin(); _iter910 != (*(this->part_vals)).end(); ++_iter910) { - xfer += oprot->writeString((*_iter902)); + xfer += oprot->writeString((*_iter910)); } xfer += oprot->writeListEnd(); } @@ -9950,14 +9950,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size903; - ::apache::thrift::protocol::TType _etype906; - xfer += iprot->readListBegin(_etype906, _size903); - this->part_vals.resize(_size903); - uint32_t _i907; - for (_i907 = 0; _i907 < _size903; ++_i907) + uint32_t _size911; + ::apache::thrift::protocol::TType _etype914; + xfer += iprot->readListBegin(_etype914, _size911); + this->part_vals.resize(_size911); + uint32_t _i915; + for (_i915 = 0; _i915 < _size911; ++_i915) { - xfer += iprot->readString(this->part_vals[_i907]); + xfer += iprot->readString(this->part_vals[_i915]); } xfer += iprot->readListEnd(); } @@ -10002,10 +10002,10 @@ uint32_t ThriftHiveMetastore_drop_partition_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter908; - for (_iter908 = this->part_vals.begin(); _iter908 != this->part_vals.end(); ++_iter908) + std::vector ::const_iterator _iter916; + for (_iter916 = this->part_vals.begin(); _iter916 != this->part_vals.end(); ++_iter916) { - xfer += oprot->writeString((*_iter908)); + xfer += oprot->writeString((*_iter916)); } xfer += oprot->writeListEnd(); } @@ -10041,10 +10041,10 @@ uint32_t ThriftHiveMetastore_drop_partition_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter909; - for (_iter909 = (*(this->part_vals)).begin(); _iter909 != (*(this->part_vals)).end(); ++_iter909) + std::vector ::const_iterator _iter917; + for (_iter917 = (*(this->part_vals)).begin(); _iter917 != (*(this->part_vals)).end(); ++_iter917) { - xfer += oprot->writeString((*_iter909)); + xfer += oprot->writeString((*_iter917)); } xfer += oprot->writeListEnd(); } @@ -10253,14 +10253,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size910; - ::apache::thrift::protocol::TType _etype913; - xfer += iprot->readListBegin(_etype913, _size910); - this->part_vals.resize(_size910); - uint32_t _i914; - for (_i914 = 0; _i914 < _size910; ++_i914) + uint32_t _size918; + ::apache::thrift::protocol::TType _etype921; + xfer += iprot->readListBegin(_etype921, _size918); + this->part_vals.resize(_size918); + uint32_t _i922; + for (_i922 = 0; _i922 < _size918; ++_i922) { - xfer += iprot->readString(this->part_vals[_i914]); + xfer += iprot->readString(this->part_vals[_i922]); } xfer += iprot->readListEnd(); } @@ -10313,10 +10313,10 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::write xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter915; - for (_iter915 = this->part_vals.begin(); _iter915 != this->part_vals.end(); ++_iter915) + std::vector ::const_iterator _iter923; + for (_iter923 = this->part_vals.begin(); _iter923 != this->part_vals.end(); ++_iter923) { - xfer += oprot->writeString((*_iter915)); + xfer += oprot->writeString((*_iter923)); } xfer += oprot->writeListEnd(); } @@ -10356,10 +10356,10 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_pargs::writ xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter916; - for (_iter916 = (*(this->part_vals)).begin(); _iter916 != (*(this->part_vals)).end(); ++_iter916) + std::vector ::const_iterator _iter924; + for (_iter924 = (*(this->part_vals)).begin(); _iter924 != (*(this->part_vals)).end(); ++_iter924) { - xfer += oprot->writeString((*_iter916)); + xfer += oprot->writeString((*_iter924)); } xfer += oprot->writeListEnd(); } @@ -11365,14 +11365,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size917; - ::apache::thrift::protocol::TType _etype920; - xfer += iprot->readListBegin(_etype920, _size917); - this->part_vals.resize(_size917); - uint32_t _i921; - for (_i921 = 0; _i921 < _size917; ++_i921) + uint32_t _size925; + ::apache::thrift::protocol::TType _etype928; + xfer += iprot->readListBegin(_etype928, _size925); + this->part_vals.resize(_size925); + uint32_t _i929; + for (_i929 = 0; _i929 < _size925; ++_i929) { - xfer += iprot->readString(this->part_vals[_i921]); + xfer += iprot->readString(this->part_vals[_i929]); } xfer += iprot->readListEnd(); } @@ -11409,10 +11409,10 @@ uint32_t ThriftHiveMetastore_get_partition_args::write(::apache::thrift::protoco xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter922; - for (_iter922 = this->part_vals.begin(); _iter922 != this->part_vals.end(); ++_iter922) + std::vector ::const_iterator _iter930; + for (_iter930 = this->part_vals.begin(); _iter930 != this->part_vals.end(); ++_iter930) { - xfer += oprot->writeString((*_iter922)); + xfer += oprot->writeString((*_iter930)); } xfer += oprot->writeListEnd(); } @@ -11444,10 +11444,10 @@ uint32_t ThriftHiveMetastore_get_partition_pargs::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter923; - for (_iter923 = (*(this->part_vals)).begin(); _iter923 != (*(this->part_vals)).end(); ++_iter923) + std::vector ::const_iterator _iter931; + for (_iter931 = (*(this->part_vals)).begin(); _iter931 != (*(this->part_vals)).end(); ++_iter931) { - xfer += oprot->writeString((*_iter923)); + xfer += oprot->writeString((*_iter931)); } xfer += oprot->writeListEnd(); } @@ -11636,17 +11636,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size924; - ::apache::thrift::protocol::TType _ktype925; - ::apache::thrift::protocol::TType _vtype926; - xfer += iprot->readMapBegin(_ktype925, _vtype926, _size924); - uint32_t _i928; - for (_i928 = 0; _i928 < _size924; ++_i928) + uint32_t _size932; + ::apache::thrift::protocol::TType _ktype933; + ::apache::thrift::protocol::TType _vtype934; + xfer += iprot->readMapBegin(_ktype933, _vtype934, _size932); + uint32_t _i936; + for (_i936 = 0; _i936 < _size932; ++_i936) { - std::string _key929; - xfer += iprot->readString(_key929); - std::string& _val930 = this->partitionSpecs[_key929]; - xfer += iprot->readString(_val930); + std::string _key937; + xfer += iprot->readString(_key937); + std::string& _val938 = this->partitionSpecs[_key937]; + xfer += iprot->readString(_val938); } xfer += iprot->readMapEnd(); } @@ -11707,11 +11707,11 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->partitionSpecs.size())); - std::map ::const_iterator _iter931; - for (_iter931 = this->partitionSpecs.begin(); _iter931 != this->partitionSpecs.end(); ++_iter931) + std::map ::const_iterator _iter939; + for (_iter939 = this->partitionSpecs.begin(); _iter939 != this->partitionSpecs.end(); ++_iter939) { - xfer += oprot->writeString(_iter931->first); - xfer += oprot->writeString(_iter931->second); + xfer += oprot->writeString(_iter939->first); + xfer += oprot->writeString(_iter939->second); } xfer += oprot->writeMapEnd(); } @@ -11751,11 +11751,11 @@ uint32_t ThriftHiveMetastore_exchange_partition_pargs::write(::apache::thrift::p xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->partitionSpecs)).size())); - std::map ::const_iterator _iter932; - for (_iter932 = (*(this->partitionSpecs)).begin(); _iter932 != (*(this->partitionSpecs)).end(); ++_iter932) + std::map ::const_iterator _iter940; + for (_iter940 = (*(this->partitionSpecs)).begin(); _iter940 != (*(this->partitionSpecs)).end(); ++_iter940) { - xfer += oprot->writeString(_iter932->first); - xfer += oprot->writeString(_iter932->second); + xfer += oprot->writeString(_iter940->first); + xfer += oprot->writeString(_iter940->second); } xfer += oprot->writeMapEnd(); } @@ -12000,17 +12000,17 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size933; - ::apache::thrift::protocol::TType _ktype934; - ::apache::thrift::protocol::TType _vtype935; - xfer += iprot->readMapBegin(_ktype934, _vtype935, _size933); - uint32_t _i937; - for (_i937 = 0; _i937 < _size933; ++_i937) + uint32_t _size941; + ::apache::thrift::protocol::TType _ktype942; + ::apache::thrift::protocol::TType _vtype943; + xfer += iprot->readMapBegin(_ktype942, _vtype943, _size941); + uint32_t _i945; + for (_i945 = 0; _i945 < _size941; ++_i945) { - std::string _key938; - xfer += iprot->readString(_key938); - std::string& _val939 = this->partitionSpecs[_key938]; - xfer += iprot->readString(_val939); + std::string _key946; + xfer += iprot->readString(_key946); + std::string& _val947 = this->partitionSpecs[_key946]; + xfer += iprot->readString(_val947); } xfer += iprot->readMapEnd(); } @@ -12071,11 +12071,11 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::write(::apache::thrift::p xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->partitionSpecs.size())); - std::map ::const_iterator _iter940; - for (_iter940 = this->partitionSpecs.begin(); _iter940 != this->partitionSpecs.end(); ++_iter940) + std::map ::const_iterator _iter948; + for (_iter948 = this->partitionSpecs.begin(); _iter948 != this->partitionSpecs.end(); ++_iter948) { - xfer += oprot->writeString(_iter940->first); - xfer += oprot->writeString(_iter940->second); + xfer += oprot->writeString(_iter948->first); + xfer += oprot->writeString(_iter948->second); } xfer += oprot->writeMapEnd(); } @@ -12115,11 +12115,11 @@ uint32_t ThriftHiveMetastore_exchange_partitions_pargs::write(::apache::thrift:: xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->partitionSpecs)).size())); - std::map ::const_iterator _iter941; - for (_iter941 = (*(this->partitionSpecs)).begin(); _iter941 != (*(this->partitionSpecs)).end(); ++_iter941) + std::map ::const_iterator _iter949; + for (_iter949 = (*(this->partitionSpecs)).begin(); _iter949 != (*(this->partitionSpecs)).end(); ++_iter949) { - xfer += oprot->writeString(_iter941->first); - xfer += oprot->writeString(_iter941->second); + xfer += oprot->writeString(_iter949->first); + xfer += oprot->writeString(_iter949->second); } xfer += oprot->writeMapEnd(); } @@ -12176,14 +12176,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size942; - ::apache::thrift::protocol::TType _etype945; - xfer += iprot->readListBegin(_etype945, _size942); - this->success.resize(_size942); - uint32_t _i946; - for (_i946 = 0; _i946 < _size942; ++_i946) + uint32_t _size950; + ::apache::thrift::protocol::TType _etype953; + xfer += iprot->readListBegin(_etype953, _size950); + this->success.resize(_size950); + uint32_t _i954; + for (_i954 = 0; _i954 < _size950; ++_i954) { - xfer += this->success[_i946].read(iprot); + xfer += this->success[_i954].read(iprot); } xfer += iprot->readListEnd(); } @@ -12246,10 +12246,10 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::write(::apache::thrift: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter947; - for (_iter947 = this->success.begin(); _iter947 != this->success.end(); ++_iter947) + std::vector ::const_iterator _iter955; + for (_iter955 = this->success.begin(); _iter955 != this->success.end(); ++_iter955) { - xfer += (*_iter947).write(oprot); + xfer += (*_iter955).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12306,14 +12306,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size948; - ::apache::thrift::protocol::TType _etype951; - xfer += iprot->readListBegin(_etype951, _size948); - (*(this->success)).resize(_size948); - uint32_t _i952; - for (_i952 = 0; _i952 < _size948; ++_i952) + uint32_t _size956; + ::apache::thrift::protocol::TType _etype959; + xfer += iprot->readListBegin(_etype959, _size956); + (*(this->success)).resize(_size956); + uint32_t _i960; + for (_i960 = 0; _i960 < _size956; ++_i960) { - xfer += (*(this->success))[_i952].read(iprot); + xfer += (*(this->success))[_i960].read(iprot); } xfer += iprot->readListEnd(); } @@ -12412,14 +12412,14 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size953; - ::apache::thrift::protocol::TType _etype956; - xfer += iprot->readListBegin(_etype956, _size953); - this->part_vals.resize(_size953); - uint32_t _i957; - for (_i957 = 0; _i957 < _size953; ++_i957) + uint32_t _size961; + ::apache::thrift::protocol::TType _etype964; + xfer += iprot->readListBegin(_etype964, _size961); + this->part_vals.resize(_size961); + uint32_t _i965; + for (_i965 = 0; _i965 < _size961; ++_i965) { - xfer += iprot->readString(this->part_vals[_i957]); + xfer += iprot->readString(this->part_vals[_i965]); } xfer += iprot->readListEnd(); } @@ -12440,14 +12440,14 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size958; - ::apache::thrift::protocol::TType _etype961; - xfer += iprot->readListBegin(_etype961, _size958); - this->group_names.resize(_size958); - uint32_t _i962; - for (_i962 = 0; _i962 < _size958; ++_i962) + uint32_t _size966; + ::apache::thrift::protocol::TType _etype969; + xfer += iprot->readListBegin(_etype969, _size966); + this->group_names.resize(_size966); + uint32_t _i970; + for (_i970 = 0; _i970 < _size966; ++_i970) { - xfer += iprot->readString(this->group_names[_i962]); + xfer += iprot->readString(this->group_names[_i970]); } xfer += iprot->readListEnd(); } @@ -12484,10 +12484,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrif xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter963; - for (_iter963 = this->part_vals.begin(); _iter963 != this->part_vals.end(); ++_iter963) + std::vector ::const_iterator _iter971; + for (_iter971 = this->part_vals.begin(); _iter971 != this->part_vals.end(); ++_iter971) { - xfer += oprot->writeString((*_iter963)); + xfer += oprot->writeString((*_iter971)); } xfer += oprot->writeListEnd(); } @@ -12500,10 +12500,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrif xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter964; - for (_iter964 = this->group_names.begin(); _iter964 != this->group_names.end(); ++_iter964) + std::vector ::const_iterator _iter972; + for (_iter972 = this->group_names.begin(); _iter972 != this->group_names.end(); ++_iter972) { - xfer += oprot->writeString((*_iter964)); + xfer += oprot->writeString((*_iter972)); } xfer += oprot->writeListEnd(); } @@ -12535,10 +12535,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter965; - for (_iter965 = (*(this->part_vals)).begin(); _iter965 != (*(this->part_vals)).end(); ++_iter965) + std::vector ::const_iterator _iter973; + for (_iter973 = (*(this->part_vals)).begin(); _iter973 != (*(this->part_vals)).end(); ++_iter973) { - xfer += oprot->writeString((*_iter965)); + xfer += oprot->writeString((*_iter973)); } xfer += oprot->writeListEnd(); } @@ -12551,10 +12551,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter966; - for (_iter966 = (*(this->group_names)).begin(); _iter966 != (*(this->group_names)).end(); ++_iter966) + std::vector ::const_iterator _iter974; + for (_iter974 = (*(this->group_names)).begin(); _iter974 != (*(this->group_names)).end(); ++_iter974) { - xfer += oprot->writeString((*_iter966)); + xfer += oprot->writeString((*_iter974)); } xfer += oprot->writeListEnd(); } @@ -13113,14 +13113,14 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size967; - ::apache::thrift::protocol::TType _etype970; - xfer += iprot->readListBegin(_etype970, _size967); - this->success.resize(_size967); - uint32_t _i971; - for (_i971 = 0; _i971 < _size967; ++_i971) + uint32_t _size975; + ::apache::thrift::protocol::TType _etype978; + xfer += iprot->readListBegin(_etype978, _size975); + this->success.resize(_size975); + uint32_t _i979; + for (_i979 = 0; _i979 < _size975; ++_i979) { - xfer += this->success[_i971].read(iprot); + xfer += this->success[_i979].read(iprot); } xfer += iprot->readListEnd(); } @@ -13167,10 +13167,10 @@ uint32_t ThriftHiveMetastore_get_partitions_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter972; - for (_iter972 = this->success.begin(); _iter972 != this->success.end(); ++_iter972) + std::vector ::const_iterator _iter980; + for (_iter980 = this->success.begin(); _iter980 != this->success.end(); ++_iter980) { - xfer += (*_iter972).write(oprot); + xfer += (*_iter980).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13219,14 +13219,14 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size973; - ::apache::thrift::protocol::TType _etype976; - xfer += iprot->readListBegin(_etype976, _size973); - (*(this->success)).resize(_size973); - uint32_t _i977; - for (_i977 = 0; _i977 < _size973; ++_i977) + uint32_t _size981; + ::apache::thrift::protocol::TType _etype984; + xfer += iprot->readListBegin(_etype984, _size981); + (*(this->success)).resize(_size981); + uint32_t _i985; + for (_i985 = 0; _i985 < _size981; ++_i985) { - xfer += (*(this->success))[_i977].read(iprot); + xfer += (*(this->success))[_i985].read(iprot); } xfer += iprot->readListEnd(); } @@ -13325,14 +13325,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size978; - ::apache::thrift::protocol::TType _etype981; - xfer += iprot->readListBegin(_etype981, _size978); - this->group_names.resize(_size978); - uint32_t _i982; - for (_i982 = 0; _i982 < _size978; ++_i982) + uint32_t _size986; + ::apache::thrift::protocol::TType _etype989; + xfer += iprot->readListBegin(_etype989, _size986); + this->group_names.resize(_size986); + uint32_t _i990; + for (_i990 = 0; _i990 < _size986; ++_i990) { - xfer += iprot->readString(this->group_names[_i982]); + xfer += iprot->readString(this->group_names[_i990]); } xfer += iprot->readListEnd(); } @@ -13377,10 +13377,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::write(::apache::thri xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter983; - for (_iter983 = this->group_names.begin(); _iter983 != this->group_names.end(); ++_iter983) + std::vector ::const_iterator _iter991; + for (_iter991 = this->group_names.begin(); _iter991 != this->group_names.end(); ++_iter991) { - xfer += oprot->writeString((*_iter983)); + xfer += oprot->writeString((*_iter991)); } xfer += oprot->writeListEnd(); } @@ -13420,10 +13420,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_pargs::write(::apache::thr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter984; - for (_iter984 = (*(this->group_names)).begin(); _iter984 != (*(this->group_names)).end(); ++_iter984) + std::vector ::const_iterator _iter992; + for (_iter992 = (*(this->group_names)).begin(); _iter992 != (*(this->group_names)).end(); ++_iter992) { - xfer += oprot->writeString((*_iter984)); + xfer += oprot->writeString((*_iter992)); } xfer += oprot->writeListEnd(); } @@ -13464,14 +13464,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size985; - ::apache::thrift::protocol::TType _etype988; - xfer += iprot->readListBegin(_etype988, _size985); - this->success.resize(_size985); - uint32_t _i989; - for (_i989 = 0; _i989 < _size985; ++_i989) + uint32_t _size993; + ::apache::thrift::protocol::TType _etype996; + xfer += iprot->readListBegin(_etype996, _size993); + this->success.resize(_size993); + uint32_t _i997; + for (_i997 = 0; _i997 < _size993; ++_i997) { - xfer += this->success[_i989].read(iprot); + xfer += this->success[_i997].read(iprot); } xfer += iprot->readListEnd(); } @@ -13518,10 +13518,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter990; - for (_iter990 = this->success.begin(); _iter990 != this->success.end(); ++_iter990) + std::vector ::const_iterator _iter998; + for (_iter998 = this->success.begin(); _iter998 != this->success.end(); ++_iter998) { - xfer += (*_iter990).write(oprot); + xfer += (*_iter998).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13570,14 +13570,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size991; - ::apache::thrift::protocol::TType _etype994; - xfer += iprot->readListBegin(_etype994, _size991); - (*(this->success)).resize(_size991); - uint32_t _i995; - for (_i995 = 0; _i995 < _size991; ++_i995) + uint32_t _size999; + ::apache::thrift::protocol::TType _etype1002; + xfer += iprot->readListBegin(_etype1002, _size999); + (*(this->success)).resize(_size999); + uint32_t _i1003; + for (_i1003 = 0; _i1003 < _size999; ++_i1003) { - xfer += (*(this->success))[_i995].read(iprot); + xfer += (*(this->success))[_i1003].read(iprot); } xfer += iprot->readListEnd(); } @@ -13755,14 +13755,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size996; - ::apache::thrift::protocol::TType _etype999; - xfer += iprot->readListBegin(_etype999, _size996); - this->success.resize(_size996); - uint32_t _i1000; - for (_i1000 = 0; _i1000 < _size996; ++_i1000) + uint32_t _size1004; + ::apache::thrift::protocol::TType _etype1007; + xfer += iprot->readListBegin(_etype1007, _size1004); + this->success.resize(_size1004); + uint32_t _i1008; + for (_i1008 = 0; _i1008 < _size1004; ++_i1008) { - xfer += this->success[_i1000].read(iprot); + xfer += this->success[_i1008].read(iprot); } xfer += iprot->readListEnd(); } @@ -13809,10 +13809,10 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::write(::apache::thrift xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1001; - for (_iter1001 = this->success.begin(); _iter1001 != this->success.end(); ++_iter1001) + std::vector ::const_iterator _iter1009; + for (_iter1009 = this->success.begin(); _iter1009 != this->success.end(); ++_iter1009) { - xfer += (*_iter1001).write(oprot); + xfer += (*_iter1009).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13861,14 +13861,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_presult::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1002; - ::apache::thrift::protocol::TType _etype1005; - xfer += iprot->readListBegin(_etype1005, _size1002); - (*(this->success)).resize(_size1002); - uint32_t _i1006; - for (_i1006 = 0; _i1006 < _size1002; ++_i1006) + uint32_t _size1010; + ::apache::thrift::protocol::TType _etype1013; + xfer += iprot->readListBegin(_etype1013, _size1010); + (*(this->success)).resize(_size1010); + uint32_t _i1014; + for (_i1014 = 0; _i1014 < _size1010; ++_i1014) { - xfer += (*(this->success))[_i1006].read(iprot); + xfer += (*(this->success))[_i1014].read(iprot); } xfer += iprot->readListEnd(); } @@ -14046,14 +14046,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1007; - ::apache::thrift::protocol::TType _etype1010; - xfer += iprot->readListBegin(_etype1010, _size1007); - this->success.resize(_size1007); - uint32_t _i1011; - for (_i1011 = 0; _i1011 < _size1007; ++_i1011) + uint32_t _size1015; + ::apache::thrift::protocol::TType _etype1018; + xfer += iprot->readListBegin(_etype1018, _size1015); + this->success.resize(_size1015); + uint32_t _i1019; + for (_i1019 = 0; _i1019 < _size1015; ++_i1019) { - xfer += iprot->readString(this->success[_i1011]); + xfer += iprot->readString(this->success[_i1019]); } xfer += iprot->readListEnd(); } @@ -14092,10 +14092,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::write(::apache::thrift: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1012; - for (_iter1012 = this->success.begin(); _iter1012 != this->success.end(); ++_iter1012) + std::vector ::const_iterator _iter1020; + for (_iter1020 = this->success.begin(); _iter1020 != this->success.end(); ++_iter1020) { - xfer += oprot->writeString((*_iter1012)); + xfer += oprot->writeString((*_iter1020)); } xfer += oprot->writeListEnd(); } @@ -14140,14 +14140,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1013; - ::apache::thrift::protocol::TType _etype1016; - xfer += iprot->readListBegin(_etype1016, _size1013); - (*(this->success)).resize(_size1013); - uint32_t _i1017; - for (_i1017 = 0; _i1017 < _size1013; ++_i1017) + uint32_t _size1021; + ::apache::thrift::protocol::TType _etype1024; + xfer += iprot->readListBegin(_etype1024, _size1021); + (*(this->success)).resize(_size1021); + uint32_t _i1025; + for (_i1025 = 0; _i1025 < _size1021; ++_i1025) { - xfer += iprot->readString((*(this->success))[_i1017]); + xfer += iprot->readString((*(this->success))[_i1025]); } xfer += iprot->readListEnd(); } @@ -14222,14 +14222,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1018; - ::apache::thrift::protocol::TType _etype1021; - xfer += iprot->readListBegin(_etype1021, _size1018); - this->part_vals.resize(_size1018); - uint32_t _i1022; - for (_i1022 = 0; _i1022 < _size1018; ++_i1022) + uint32_t _size1026; + ::apache::thrift::protocol::TType _etype1029; + xfer += iprot->readListBegin(_etype1029, _size1026); + this->part_vals.resize(_size1026); + uint32_t _i1030; + for (_i1030 = 0; _i1030 < _size1026; ++_i1030) { - xfer += iprot->readString(this->part_vals[_i1022]); + xfer += iprot->readString(this->part_vals[_i1030]); } xfer += iprot->readListEnd(); } @@ -14274,10 +14274,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1023; - for (_iter1023 = this->part_vals.begin(); _iter1023 != this->part_vals.end(); ++_iter1023) + std::vector ::const_iterator _iter1031; + for (_iter1031 = this->part_vals.begin(); _iter1031 != this->part_vals.end(); ++_iter1031) { - xfer += oprot->writeString((*_iter1023)); + xfer += oprot->writeString((*_iter1031)); } xfer += oprot->writeListEnd(); } @@ -14313,10 +14313,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1024; - for (_iter1024 = (*(this->part_vals)).begin(); _iter1024 != (*(this->part_vals)).end(); ++_iter1024) + std::vector ::const_iterator _iter1032; + for (_iter1032 = (*(this->part_vals)).begin(); _iter1032 != (*(this->part_vals)).end(); ++_iter1032) { - xfer += oprot->writeString((*_iter1024)); + xfer += oprot->writeString((*_iter1032)); } xfer += oprot->writeListEnd(); } @@ -14361,14 +14361,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1025; - ::apache::thrift::protocol::TType _etype1028; - xfer += iprot->readListBegin(_etype1028, _size1025); - this->success.resize(_size1025); - uint32_t _i1029; - for (_i1029 = 0; _i1029 < _size1025; ++_i1029) + uint32_t _size1033; + ::apache::thrift::protocol::TType _etype1036; + xfer += iprot->readListBegin(_etype1036, _size1033); + this->success.resize(_size1033); + uint32_t _i1037; + for (_i1037 = 0; _i1037 < _size1033; ++_i1037) { - xfer += this->success[_i1029].read(iprot); + xfer += this->success[_i1037].read(iprot); } xfer += iprot->readListEnd(); } @@ -14415,10 +14415,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::write(::apache::thrift::p xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1030; - for (_iter1030 = this->success.begin(); _iter1030 != this->success.end(); ++_iter1030) + std::vector ::const_iterator _iter1038; + for (_iter1038 = this->success.begin(); _iter1038 != this->success.end(); ++_iter1038) { - xfer += (*_iter1030).write(oprot); + xfer += (*_iter1038).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14467,14 +14467,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1031; - ::apache::thrift::protocol::TType _etype1034; - xfer += iprot->readListBegin(_etype1034, _size1031); - (*(this->success)).resize(_size1031); - uint32_t _i1035; - for (_i1035 = 0; _i1035 < _size1031; ++_i1035) + uint32_t _size1039; + ::apache::thrift::protocol::TType _etype1042; + xfer += iprot->readListBegin(_etype1042, _size1039); + (*(this->success)).resize(_size1039); + uint32_t _i1043; + for (_i1043 = 0; _i1043 < _size1039; ++_i1043) { - xfer += (*(this->success))[_i1035].read(iprot); + xfer += (*(this->success))[_i1043].read(iprot); } xfer += iprot->readListEnd(); } @@ -14557,14 +14557,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1036; - ::apache::thrift::protocol::TType _etype1039; - xfer += iprot->readListBegin(_etype1039, _size1036); - this->part_vals.resize(_size1036); - uint32_t _i1040; - for (_i1040 = 0; _i1040 < _size1036; ++_i1040) + uint32_t _size1044; + ::apache::thrift::protocol::TType _etype1047; + xfer += iprot->readListBegin(_etype1047, _size1044); + this->part_vals.resize(_size1044); + uint32_t _i1048; + for (_i1048 = 0; _i1048 < _size1044; ++_i1048) { - xfer += iprot->readString(this->part_vals[_i1040]); + xfer += iprot->readString(this->part_vals[_i1048]); } xfer += iprot->readListEnd(); } @@ -14593,14 +14593,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1041; - ::apache::thrift::protocol::TType _etype1044; - xfer += iprot->readListBegin(_etype1044, _size1041); - this->group_names.resize(_size1041); - uint32_t _i1045; - for (_i1045 = 0; _i1045 < _size1041; ++_i1045) + uint32_t _size1049; + ::apache::thrift::protocol::TType _etype1052; + xfer += iprot->readListBegin(_etype1052, _size1049); + this->group_names.resize(_size1049); + uint32_t _i1053; + for (_i1053 = 0; _i1053 < _size1049; ++_i1053) { - xfer += iprot->readString(this->group_names[_i1045]); + xfer += iprot->readString(this->group_names[_i1053]); } xfer += iprot->readListEnd(); } @@ -14637,10 +14637,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::t xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1046; - for (_iter1046 = this->part_vals.begin(); _iter1046 != this->part_vals.end(); ++_iter1046) + std::vector ::const_iterator _iter1054; + for (_iter1054 = this->part_vals.begin(); _iter1054 != this->part_vals.end(); ++_iter1054) { - xfer += oprot->writeString((*_iter1046)); + xfer += oprot->writeString((*_iter1054)); } xfer += oprot->writeListEnd(); } @@ -14657,10 +14657,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::t xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1047; - for (_iter1047 = this->group_names.begin(); _iter1047 != this->group_names.end(); ++_iter1047) + std::vector ::const_iterator _iter1055; + for (_iter1055 = this->group_names.begin(); _iter1055 != this->group_names.end(); ++_iter1055) { - xfer += oprot->writeString((*_iter1047)); + xfer += oprot->writeString((*_iter1055)); } xfer += oprot->writeListEnd(); } @@ -14692,10 +14692,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache:: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1048; - for (_iter1048 = (*(this->part_vals)).begin(); _iter1048 != (*(this->part_vals)).end(); ++_iter1048) + std::vector ::const_iterator _iter1056; + for (_iter1056 = (*(this->part_vals)).begin(); _iter1056 != (*(this->part_vals)).end(); ++_iter1056) { - xfer += oprot->writeString((*_iter1048)); + xfer += oprot->writeString((*_iter1056)); } xfer += oprot->writeListEnd(); } @@ -14712,10 +14712,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache:: xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1049; - for (_iter1049 = (*(this->group_names)).begin(); _iter1049 != (*(this->group_names)).end(); ++_iter1049) + std::vector ::const_iterator _iter1057; + for (_iter1057 = (*(this->group_names)).begin(); _iter1057 != (*(this->group_names)).end(); ++_iter1057) { - xfer += oprot->writeString((*_iter1049)); + xfer += oprot->writeString((*_iter1057)); } xfer += oprot->writeListEnd(); } @@ -14756,14 +14756,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1050; - ::apache::thrift::protocol::TType _etype1053; - xfer += iprot->readListBegin(_etype1053, _size1050); - this->success.resize(_size1050); - uint32_t _i1054; - for (_i1054 = 0; _i1054 < _size1050; ++_i1054) + uint32_t _size1058; + ::apache::thrift::protocol::TType _etype1061; + xfer += iprot->readListBegin(_etype1061, _size1058); + this->success.resize(_size1058); + uint32_t _i1062; + for (_i1062 = 0; _i1062 < _size1058; ++_i1062) { - xfer += this->success[_i1054].read(iprot); + xfer += this->success[_i1062].read(iprot); } xfer += iprot->readListEnd(); } @@ -14810,10 +14810,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::write(::apache: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1055; - for (_iter1055 = this->success.begin(); _iter1055 != this->success.end(); ++_iter1055) + std::vector ::const_iterator _iter1063; + for (_iter1063 = this->success.begin(); _iter1063 != this->success.end(); ++_iter1063) { - xfer += (*_iter1055).write(oprot); + xfer += (*_iter1063).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14862,14 +14862,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1056; - ::apache::thrift::protocol::TType _etype1059; - xfer += iprot->readListBegin(_etype1059, _size1056); - (*(this->success)).resize(_size1056); - uint32_t _i1060; - for (_i1060 = 0; _i1060 < _size1056; ++_i1060) + uint32_t _size1064; + ::apache::thrift::protocol::TType _etype1067; + xfer += iprot->readListBegin(_etype1067, _size1064); + (*(this->success)).resize(_size1064); + uint32_t _i1068; + for (_i1068 = 0; _i1068 < _size1064; ++_i1068) { - xfer += (*(this->success))[_i1060].read(iprot); + xfer += (*(this->success))[_i1068].read(iprot); } xfer += iprot->readListEnd(); } @@ -14952,14 +14952,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1061; - ::apache::thrift::protocol::TType _etype1064; - xfer += iprot->readListBegin(_etype1064, _size1061); - this->part_vals.resize(_size1061); - uint32_t _i1065; - for (_i1065 = 0; _i1065 < _size1061; ++_i1065) + uint32_t _size1069; + ::apache::thrift::protocol::TType _etype1072; + xfer += iprot->readListBegin(_etype1072, _size1069); + this->part_vals.resize(_size1069); + uint32_t _i1073; + for (_i1073 = 0; _i1073 < _size1069; ++_i1073) { - xfer += iprot->readString(this->part_vals[_i1065]); + xfer += iprot->readString(this->part_vals[_i1073]); } xfer += iprot->readListEnd(); } @@ -15004,10 +15004,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::write(::apache::thrift xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1066; - for (_iter1066 = this->part_vals.begin(); _iter1066 != this->part_vals.end(); ++_iter1066) + std::vector ::const_iterator _iter1074; + for (_iter1074 = this->part_vals.begin(); _iter1074 != this->part_vals.end(); ++_iter1074) { - xfer += oprot->writeString((*_iter1066)); + xfer += oprot->writeString((*_iter1074)); } xfer += oprot->writeListEnd(); } @@ -15043,10 +15043,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_pargs::write(::apache::thrif xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1067; - for (_iter1067 = (*(this->part_vals)).begin(); _iter1067 != (*(this->part_vals)).end(); ++_iter1067) + std::vector ::const_iterator _iter1075; + for (_iter1075 = (*(this->part_vals)).begin(); _iter1075 != (*(this->part_vals)).end(); ++_iter1075) { - xfer += oprot->writeString((*_iter1067)); + xfer += oprot->writeString((*_iter1075)); } xfer += oprot->writeListEnd(); } @@ -15091,14 +15091,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1068; - ::apache::thrift::protocol::TType _etype1071; - xfer += iprot->readListBegin(_etype1071, _size1068); - this->success.resize(_size1068); - uint32_t _i1072; - for (_i1072 = 0; _i1072 < _size1068; ++_i1072) + uint32_t _size1076; + ::apache::thrift::protocol::TType _etype1079; + xfer += iprot->readListBegin(_etype1079, _size1076); + this->success.resize(_size1076); + uint32_t _i1080; + for (_i1080 = 0; _i1080 < _size1076; ++_i1080) { - xfer += iprot->readString(this->success[_i1072]); + xfer += iprot->readString(this->success[_i1080]); } xfer += iprot->readListEnd(); } @@ -15145,10 +15145,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1073; - for (_iter1073 = this->success.begin(); _iter1073 != this->success.end(); ++_iter1073) + std::vector ::const_iterator _iter1081; + for (_iter1081 = this->success.begin(); _iter1081 != this->success.end(); ++_iter1081) { - xfer += oprot->writeString((*_iter1073)); + xfer += oprot->writeString((*_iter1081)); } xfer += oprot->writeListEnd(); } @@ -15197,14 +15197,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1074; - ::apache::thrift::protocol::TType _etype1077; - xfer += iprot->readListBegin(_etype1077, _size1074); - (*(this->success)).resize(_size1074); - uint32_t _i1078; - for (_i1078 = 0; _i1078 < _size1074; ++_i1078) + uint32_t _size1082; + ::apache::thrift::protocol::TType _etype1085; + xfer += iprot->readListBegin(_etype1085, _size1082); + (*(this->success)).resize(_size1082); + uint32_t _i1086; + for (_i1086 = 0; _i1086 < _size1082; ++_i1086) { - xfer += iprot->readString((*(this->success))[_i1078]); + xfer += iprot->readString((*(this->success))[_i1086]); } xfer += iprot->readListEnd(); } @@ -15398,14 +15398,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1079; - ::apache::thrift::protocol::TType _etype1082; - xfer += iprot->readListBegin(_etype1082, _size1079); - this->success.resize(_size1079); - uint32_t _i1083; - for (_i1083 = 0; _i1083 < _size1079; ++_i1083) + uint32_t _size1087; + ::apache::thrift::protocol::TType _etype1090; + xfer += iprot->readListBegin(_etype1090, _size1087); + this->success.resize(_size1087); + uint32_t _i1091; + for (_i1091 = 0; _i1091 < _size1087; ++_i1091) { - xfer += this->success[_i1083].read(iprot); + xfer += this->success[_i1091].read(iprot); } xfer += iprot->readListEnd(); } @@ -15452,10 +15452,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1084; - for (_iter1084 = this->success.begin(); _iter1084 != this->success.end(); ++_iter1084) + std::vector ::const_iterator _iter1092; + for (_iter1092 = this->success.begin(); _iter1092 != this->success.end(); ++_iter1092) { - xfer += (*_iter1084).write(oprot); + xfer += (*_iter1092).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15504,14 +15504,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1085; - ::apache::thrift::protocol::TType _etype1088; - xfer += iprot->readListBegin(_etype1088, _size1085); - (*(this->success)).resize(_size1085); - uint32_t _i1089; - for (_i1089 = 0; _i1089 < _size1085; ++_i1089) + uint32_t _size1093; + ::apache::thrift::protocol::TType _etype1096; + xfer += iprot->readListBegin(_etype1096, _size1093); + (*(this->success)).resize(_size1093); + uint32_t _i1097; + for (_i1097 = 0; _i1097 < _size1093; ++_i1097) { - xfer += (*(this->success))[_i1089].read(iprot); + xfer += (*(this->success))[_i1097].read(iprot); } xfer += iprot->readListEnd(); } @@ -15705,14 +15705,14 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1090; - ::apache::thrift::protocol::TType _etype1093; - xfer += iprot->readListBegin(_etype1093, _size1090); - this->success.resize(_size1090); - uint32_t _i1094; - for (_i1094 = 0; _i1094 < _size1090; ++_i1094) + uint32_t _size1098; + ::apache::thrift::protocol::TType _etype1101; + xfer += iprot->readListBegin(_etype1101, _size1098); + this->success.resize(_size1098); + uint32_t _i1102; + for (_i1102 = 0; _i1102 < _size1098; ++_i1102) { - xfer += this->success[_i1094].read(iprot); + xfer += this->success[_i1102].read(iprot); } xfer += iprot->readListEnd(); } @@ -15759,10 +15759,10 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1095; - for (_iter1095 = this->success.begin(); _iter1095 != this->success.end(); ++_iter1095) + std::vector ::const_iterator _iter1103; + for (_iter1103 = this->success.begin(); _iter1103 != this->success.end(); ++_iter1103) { - xfer += (*_iter1095).write(oprot); + xfer += (*_iter1103).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15811,14 +15811,14 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1096; - ::apache::thrift::protocol::TType _etype1099; - xfer += iprot->readListBegin(_etype1099, _size1096); - (*(this->success)).resize(_size1096); - uint32_t _i1100; - for (_i1100 = 0; _i1100 < _size1096; ++_i1100) + uint32_t _size1104; + ::apache::thrift::protocol::TType _etype1107; + xfer += iprot->readListBegin(_etype1107, _size1104); + (*(this->success)).resize(_size1104); + uint32_t _i1108; + for (_i1108 = 0; _i1108 < _size1104; ++_i1108) { - xfer += (*(this->success))[_i1100].read(iprot); + xfer += (*(this->success))[_i1108].read(iprot); } xfer += iprot->readListEnd(); } @@ -16387,14 +16387,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size1101; - ::apache::thrift::protocol::TType _etype1104; - xfer += iprot->readListBegin(_etype1104, _size1101); - this->names.resize(_size1101); - uint32_t _i1105; - for (_i1105 = 0; _i1105 < _size1101; ++_i1105) + uint32_t _size1109; + ::apache::thrift::protocol::TType _etype1112; + xfer += iprot->readListBegin(_etype1112, _size1109); + this->names.resize(_size1109); + uint32_t _i1113; + for (_i1113 = 0; _i1113 < _size1109; ++_i1113) { - xfer += iprot->readString(this->names[_i1105]); + xfer += iprot->readString(this->names[_i1113]); } xfer += iprot->readListEnd(); } @@ -16431,10 +16431,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::write(::apache::thrif xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->names.size())); - std::vector ::const_iterator _iter1106; - for (_iter1106 = this->names.begin(); _iter1106 != this->names.end(); ++_iter1106) + std::vector ::const_iterator _iter1114; + for (_iter1114 = this->names.begin(); _iter1114 != this->names.end(); ++_iter1114) { - xfer += oprot->writeString((*_iter1106)); + xfer += oprot->writeString((*_iter1114)); } xfer += oprot->writeListEnd(); } @@ -16466,10 +16466,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->names)).size())); - std::vector ::const_iterator _iter1107; - for (_iter1107 = (*(this->names)).begin(); _iter1107 != (*(this->names)).end(); ++_iter1107) + std::vector ::const_iterator _iter1115; + for (_iter1115 = (*(this->names)).begin(); _iter1115 != (*(this->names)).end(); ++_iter1115) { - xfer += oprot->writeString((*_iter1107)); + xfer += oprot->writeString((*_iter1115)); } xfer += oprot->writeListEnd(); } @@ -16510,14 +16510,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1108; - ::apache::thrift::protocol::TType _etype1111; - xfer += iprot->readListBegin(_etype1111, _size1108); - this->success.resize(_size1108); - uint32_t _i1112; - for (_i1112 = 0; _i1112 < _size1108; ++_i1112) + uint32_t _size1116; + ::apache::thrift::protocol::TType _etype1119; + xfer += iprot->readListBegin(_etype1119, _size1116); + this->success.resize(_size1116); + uint32_t _i1120; + for (_i1120 = 0; _i1120 < _size1116; ++_i1120) { - xfer += this->success[_i1112].read(iprot); + xfer += this->success[_i1120].read(iprot); } xfer += iprot->readListEnd(); } @@ -16564,10 +16564,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::write(::apache::thr xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1113; - for (_iter1113 = this->success.begin(); _iter1113 != this->success.end(); ++_iter1113) + std::vector ::const_iterator _iter1121; + for (_iter1121 = this->success.begin(); _iter1121 != this->success.end(); ++_iter1121) { - xfer += (*_iter1113).write(oprot); + xfer += (*_iter1121).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16616,14 +16616,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1114; - ::apache::thrift::protocol::TType _etype1117; - xfer += iprot->readListBegin(_etype1117, _size1114); - (*(this->success)).resize(_size1114); - uint32_t _i1118; - for (_i1118 = 0; _i1118 < _size1114; ++_i1118) + uint32_t _size1122; + ::apache::thrift::protocol::TType _etype1125; + xfer += iprot->readListBegin(_etype1125, _size1122); + (*(this->success)).resize(_size1122); + uint32_t _i1126; + for (_i1126 = 0; _i1126 < _size1122; ++_i1126) { - xfer += (*(this->success))[_i1118].read(iprot); + xfer += (*(this->success))[_i1126].read(iprot); } xfer += iprot->readListEnd(); } @@ -16945,14 +16945,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1119; - ::apache::thrift::protocol::TType _etype1122; - xfer += iprot->readListBegin(_etype1122, _size1119); - this->new_parts.resize(_size1119); - uint32_t _i1123; - for (_i1123 = 0; _i1123 < _size1119; ++_i1123) + uint32_t _size1127; + ::apache::thrift::protocol::TType _etype1130; + xfer += iprot->readListBegin(_etype1130, _size1127); + this->new_parts.resize(_size1127); + uint32_t _i1131; + for (_i1131 = 0; _i1131 < _size1127; ++_i1131) { - xfer += this->new_parts[_i1123].read(iprot); + xfer += this->new_parts[_i1131].read(iprot); } xfer += iprot->readListEnd(); } @@ -16989,10 +16989,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter1124; - for (_iter1124 = this->new_parts.begin(); _iter1124 != this->new_parts.end(); ++_iter1124) + std::vector ::const_iterator _iter1132; + for (_iter1132 = this->new_parts.begin(); _iter1132 != this->new_parts.end(); ++_iter1132) { - xfer += (*_iter1124).write(oprot); + xfer += (*_iter1132).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17024,10 +17024,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter1125; - for (_iter1125 = (*(this->new_parts)).begin(); _iter1125 != (*(this->new_parts)).end(); ++_iter1125) + std::vector ::const_iterator _iter1133; + for (_iter1133 = (*(this->new_parts)).begin(); _iter1133 != (*(this->new_parts)).end(); ++_iter1133) { - xfer += (*_iter1125).write(oprot); + xfer += (*_iter1133).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17212,14 +17212,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1126; - ::apache::thrift::protocol::TType _etype1129; - xfer += iprot->readListBegin(_etype1129, _size1126); - this->new_parts.resize(_size1126); - uint32_t _i1130; - for (_i1130 = 0; _i1130 < _size1126; ++_i1130) + uint32_t _size1134; + ::apache::thrift::protocol::TType _etype1137; + xfer += iprot->readListBegin(_etype1137, _size1134); + this->new_parts.resize(_size1134); + uint32_t _i1138; + for (_i1138 = 0; _i1138 < _size1134; ++_i1138) { - xfer += this->new_parts[_i1130].read(iprot); + xfer += this->new_parts[_i1138].read(iprot); } xfer += iprot->readListEnd(); } @@ -17264,10 +17264,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::wri xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter1131; - for (_iter1131 = this->new_parts.begin(); _iter1131 != this->new_parts.end(); ++_iter1131) + std::vector ::const_iterator _iter1139; + for (_iter1139 = this->new_parts.begin(); _iter1139 != this->new_parts.end(); ++_iter1139) { - xfer += (*_iter1131).write(oprot); + xfer += (*_iter1139).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17303,10 +17303,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_pargs::wr xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter1132; - for (_iter1132 = (*(this->new_parts)).begin(); _iter1132 != (*(this->new_parts)).end(); ++_iter1132) + std::vector ::const_iterator _iter1140; + for (_iter1140 = (*(this->new_parts)).begin(); _iter1140 != (*(this->new_parts)).end(); ++_iter1140) { - xfer += (*_iter1132).write(oprot); + xfer += (*_iter1140).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17750,14 +17750,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1133; - ::apache::thrift::protocol::TType _etype1136; - xfer += iprot->readListBegin(_etype1136, _size1133); - this->part_vals.resize(_size1133); - uint32_t _i1137; - for (_i1137 = 0; _i1137 < _size1133; ++_i1137) + uint32_t _size1141; + ::apache::thrift::protocol::TType _etype1144; + xfer += iprot->readListBegin(_etype1144, _size1141); + this->part_vals.resize(_size1141); + uint32_t _i1145; + for (_i1145 = 0; _i1145 < _size1141; ++_i1145) { - xfer += iprot->readString(this->part_vals[_i1137]); + xfer += iprot->readString(this->part_vals[_i1145]); } xfer += iprot->readListEnd(); } @@ -17802,10 +17802,10 @@ uint32_t ThriftHiveMetastore_rename_partition_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1138; - for (_iter1138 = this->part_vals.begin(); _iter1138 != this->part_vals.end(); ++_iter1138) + std::vector ::const_iterator _iter1146; + for (_iter1146 = this->part_vals.begin(); _iter1146 != this->part_vals.end(); ++_iter1146) { - xfer += oprot->writeString((*_iter1138)); + xfer += oprot->writeString((*_iter1146)); } xfer += oprot->writeListEnd(); } @@ -17841,10 +17841,10 @@ uint32_t ThriftHiveMetastore_rename_partition_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1139; - for (_iter1139 = (*(this->part_vals)).begin(); _iter1139 != (*(this->part_vals)).end(); ++_iter1139) + std::vector ::const_iterator _iter1147; + for (_iter1147 = (*(this->part_vals)).begin(); _iter1147 != (*(this->part_vals)).end(); ++_iter1147) { - xfer += oprot->writeString((*_iter1139)); + xfer += oprot->writeString((*_iter1147)); } xfer += oprot->writeListEnd(); } @@ -18017,14 +18017,14 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::read(::ap if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1140; - ::apache::thrift::protocol::TType _etype1143; - xfer += iprot->readListBegin(_etype1143, _size1140); - this->part_vals.resize(_size1140); - uint32_t _i1144; - for (_i1144 = 0; _i1144 < _size1140; ++_i1144) + uint32_t _size1148; + ::apache::thrift::protocol::TType _etype1151; + xfer += iprot->readListBegin(_etype1151, _size1148); + this->part_vals.resize(_size1148); + uint32_t _i1152; + for (_i1152 = 0; _i1152 < _size1148; ++_i1152) { - xfer += iprot->readString(this->part_vals[_i1144]); + xfer += iprot->readString(this->part_vals[_i1152]); } xfer += iprot->readListEnd(); } @@ -18061,10 +18061,10 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::write(::a xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1145; - for (_iter1145 = this->part_vals.begin(); _iter1145 != this->part_vals.end(); ++_iter1145) + std::vector ::const_iterator _iter1153; + for (_iter1153 = this->part_vals.begin(); _iter1153 != this->part_vals.end(); ++_iter1153) { - xfer += oprot->writeString((*_iter1145)); + xfer += oprot->writeString((*_iter1153)); } xfer += oprot->writeListEnd(); } @@ -18092,10 +18092,10 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_pargs::write(:: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1146; - for (_iter1146 = (*(this->part_vals)).begin(); _iter1146 != (*(this->part_vals)).end(); ++_iter1146) + std::vector ::const_iterator _iter1154; + for (_iter1154 = (*(this->part_vals)).begin(); _iter1154 != (*(this->part_vals)).end(); ++_iter1154) { - xfer += oprot->writeString((*_iter1146)); + xfer += oprot->writeString((*_iter1154)); } xfer += oprot->writeListEnd(); } @@ -18570,14 +18570,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1147; - ::apache::thrift::protocol::TType _etype1150; - xfer += iprot->readListBegin(_etype1150, _size1147); - this->success.resize(_size1147); - uint32_t _i1151; - for (_i1151 = 0; _i1151 < _size1147; ++_i1151) + uint32_t _size1155; + ::apache::thrift::protocol::TType _etype1158; + xfer += iprot->readListBegin(_etype1158, _size1155); + this->success.resize(_size1155); + uint32_t _i1159; + for (_i1159 = 0; _i1159 < _size1155; ++_i1159) { - xfer += iprot->readString(this->success[_i1151]); + xfer += iprot->readString(this->success[_i1159]); } xfer += iprot->readListEnd(); } @@ -18616,10 +18616,10 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1152; - for (_iter1152 = this->success.begin(); _iter1152 != this->success.end(); ++_iter1152) + std::vector ::const_iterator _iter1160; + for (_iter1160 = this->success.begin(); _iter1160 != this->success.end(); ++_iter1160) { - xfer += oprot->writeString((*_iter1152)); + xfer += oprot->writeString((*_iter1160)); } xfer += oprot->writeListEnd(); } @@ -18664,14 +18664,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1153; - ::apache::thrift::protocol::TType _etype1156; - xfer += iprot->readListBegin(_etype1156, _size1153); - (*(this->success)).resize(_size1153); - uint32_t _i1157; - for (_i1157 = 0; _i1157 < _size1153; ++_i1157) + uint32_t _size1161; + ::apache::thrift::protocol::TType _etype1164; + xfer += iprot->readListBegin(_etype1164, _size1161); + (*(this->success)).resize(_size1161); + uint32_t _i1165; + for (_i1165 = 0; _i1165 < _size1161; ++_i1165) { - xfer += iprot->readString((*(this->success))[_i1157]); + xfer += iprot->readString((*(this->success))[_i1165]); } xfer += iprot->readListEnd(); } @@ -18809,17 +18809,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1158; - ::apache::thrift::protocol::TType _ktype1159; - ::apache::thrift::protocol::TType _vtype1160; - xfer += iprot->readMapBegin(_ktype1159, _vtype1160, _size1158); - uint32_t _i1162; - for (_i1162 = 0; _i1162 < _size1158; ++_i1162) + uint32_t _size1166; + ::apache::thrift::protocol::TType _ktype1167; + ::apache::thrift::protocol::TType _vtype1168; + xfer += iprot->readMapBegin(_ktype1167, _vtype1168, _size1166); + uint32_t _i1170; + for (_i1170 = 0; _i1170 < _size1166; ++_i1170) { - std::string _key1163; - xfer += iprot->readString(_key1163); - std::string& _val1164 = this->success[_key1163]; - xfer += iprot->readString(_val1164); + std::string _key1171; + xfer += iprot->readString(_key1171); + std::string& _val1172 = this->success[_key1171]; + xfer += iprot->readString(_val1172); } xfer += iprot->readMapEnd(); } @@ -18858,11 +18858,11 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::map ::const_iterator _iter1165; - for (_iter1165 = this->success.begin(); _iter1165 != this->success.end(); ++_iter1165) + std::map ::const_iterator _iter1173; + for (_iter1173 = this->success.begin(); _iter1173 != this->success.end(); ++_iter1173) { - xfer += oprot->writeString(_iter1165->first); - xfer += oprot->writeString(_iter1165->second); + xfer += oprot->writeString(_iter1173->first); + xfer += oprot->writeString(_iter1173->second); } xfer += oprot->writeMapEnd(); } @@ -18907,17 +18907,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1166; - ::apache::thrift::protocol::TType _ktype1167; - ::apache::thrift::protocol::TType _vtype1168; - xfer += iprot->readMapBegin(_ktype1167, _vtype1168, _size1166); - uint32_t _i1170; - for (_i1170 = 0; _i1170 < _size1166; ++_i1170) + uint32_t _size1174; + ::apache::thrift::protocol::TType _ktype1175; + ::apache::thrift::protocol::TType _vtype1176; + xfer += iprot->readMapBegin(_ktype1175, _vtype1176, _size1174); + uint32_t _i1178; + for (_i1178 = 0; _i1178 < _size1174; ++_i1178) { - std::string _key1171; - xfer += iprot->readString(_key1171); - std::string& _val1172 = (*(this->success))[_key1171]; - xfer += iprot->readString(_val1172); + std::string _key1179; + xfer += iprot->readString(_key1179); + std::string& _val1180 = (*(this->success))[_key1179]; + xfer += iprot->readString(_val1180); } xfer += iprot->readMapEnd(); } @@ -18992,17 +18992,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1173; - ::apache::thrift::protocol::TType _ktype1174; - ::apache::thrift::protocol::TType _vtype1175; - xfer += iprot->readMapBegin(_ktype1174, _vtype1175, _size1173); - uint32_t _i1177; - for (_i1177 = 0; _i1177 < _size1173; ++_i1177) + uint32_t _size1181; + ::apache::thrift::protocol::TType _ktype1182; + ::apache::thrift::protocol::TType _vtype1183; + xfer += iprot->readMapBegin(_ktype1182, _vtype1183, _size1181); + uint32_t _i1185; + for (_i1185 = 0; _i1185 < _size1181; ++_i1185) { - std::string _key1178; - xfer += iprot->readString(_key1178); - std::string& _val1179 = this->part_vals[_key1178]; - xfer += iprot->readString(_val1179); + std::string _key1186; + xfer += iprot->readString(_key1186); + std::string& _val1187 = this->part_vals[_key1186]; + xfer += iprot->readString(_val1187); } xfer += iprot->readMapEnd(); } @@ -19013,9 +19013,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1180; - xfer += iprot->readI32(ecast1180); - this->eventType = (PartitionEventType::type)ecast1180; + int32_t ecast1188; + xfer += iprot->readI32(ecast1188); + this->eventType = (PartitionEventType::type)ecast1188; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -19049,11 +19049,11 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::write(::apache::thrift: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::map ::const_iterator _iter1181; - for (_iter1181 = this->part_vals.begin(); _iter1181 != this->part_vals.end(); ++_iter1181) + std::map ::const_iterator _iter1189; + for (_iter1189 = this->part_vals.begin(); _iter1189 != this->part_vals.end(); ++_iter1189) { - xfer += oprot->writeString(_iter1181->first); - xfer += oprot->writeString(_iter1181->second); + xfer += oprot->writeString(_iter1189->first); + xfer += oprot->writeString(_iter1189->second); } xfer += oprot->writeMapEnd(); } @@ -19089,11 +19089,11 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_pargs::write(::apache::thrift xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::map ::const_iterator _iter1182; - for (_iter1182 = (*(this->part_vals)).begin(); _iter1182 != (*(this->part_vals)).end(); ++_iter1182) + std::map ::const_iterator _iter1190; + for (_iter1190 = (*(this->part_vals)).begin(); _iter1190 != (*(this->part_vals)).end(); ++_iter1190) { - xfer += oprot->writeString(_iter1182->first); - xfer += oprot->writeString(_iter1182->second); + xfer += oprot->writeString(_iter1190->first); + xfer += oprot->writeString(_iter1190->second); } xfer += oprot->writeMapEnd(); } @@ -19362,17 +19362,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1183; - ::apache::thrift::protocol::TType _ktype1184; - ::apache::thrift::protocol::TType _vtype1185; - xfer += iprot->readMapBegin(_ktype1184, _vtype1185, _size1183); - uint32_t _i1187; - for (_i1187 = 0; _i1187 < _size1183; ++_i1187) + uint32_t _size1191; + ::apache::thrift::protocol::TType _ktype1192; + ::apache::thrift::protocol::TType _vtype1193; + xfer += iprot->readMapBegin(_ktype1192, _vtype1193, _size1191); + uint32_t _i1195; + for (_i1195 = 0; _i1195 < _size1191; ++_i1195) { - std::string _key1188; - xfer += iprot->readString(_key1188); - std::string& _val1189 = this->part_vals[_key1188]; - xfer += iprot->readString(_val1189); + std::string _key1196; + xfer += iprot->readString(_key1196); + std::string& _val1197 = this->part_vals[_key1196]; + xfer += iprot->readString(_val1197); } xfer += iprot->readMapEnd(); } @@ -19383,9 +19383,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1190; - xfer += iprot->readI32(ecast1190); - this->eventType = (PartitionEventType::type)ecast1190; + int32_t ecast1198; + xfer += iprot->readI32(ecast1198); + this->eventType = (PartitionEventType::type)ecast1198; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -19419,11 +19419,11 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::write(::apache::thr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::map ::const_iterator _iter1191; - for (_iter1191 = this->part_vals.begin(); _iter1191 != this->part_vals.end(); ++_iter1191) + std::map ::const_iterator _iter1199; + for (_iter1199 = this->part_vals.begin(); _iter1199 != this->part_vals.end(); ++_iter1199) { - xfer += oprot->writeString(_iter1191->first); - xfer += oprot->writeString(_iter1191->second); + xfer += oprot->writeString(_iter1199->first); + xfer += oprot->writeString(_iter1199->second); } xfer += oprot->writeMapEnd(); } @@ -19459,11 +19459,11 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_pargs::write(::apache::th xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::map ::const_iterator _iter1192; - for (_iter1192 = (*(this->part_vals)).begin(); _iter1192 != (*(this->part_vals)).end(); ++_iter1192) + std::map ::const_iterator _iter1200; + for (_iter1200 = (*(this->part_vals)).begin(); _iter1200 != (*(this->part_vals)).end(); ++_iter1200) { - xfer += oprot->writeString(_iter1192->first); - xfer += oprot->writeString(_iter1192->second); + xfer += oprot->writeString(_iter1200->first); + xfer += oprot->writeString(_iter1200->second); } xfer += oprot->writeMapEnd(); } @@ -20899,14 +20899,14 @@ uint32_t ThriftHiveMetastore_get_indexes_result::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1193; - ::apache::thrift::protocol::TType _etype1196; - xfer += iprot->readListBegin(_etype1196, _size1193); - this->success.resize(_size1193); - uint32_t _i1197; - for (_i1197 = 0; _i1197 < _size1193; ++_i1197) + uint32_t _size1201; + ::apache::thrift::protocol::TType _etype1204; + xfer += iprot->readListBegin(_etype1204, _size1201); + this->success.resize(_size1201); + uint32_t _i1205; + for (_i1205 = 0; _i1205 < _size1201; ++_i1205) { - xfer += this->success[_i1197].read(iprot); + xfer += this->success[_i1205].read(iprot); } xfer += iprot->readListEnd(); } @@ -20953,10 +20953,10 @@ uint32_t ThriftHiveMetastore_get_indexes_result::write(::apache::thrift::protoco xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1198; - for (_iter1198 = this->success.begin(); _iter1198 != this->success.end(); ++_iter1198) + std::vector ::const_iterator _iter1206; + for (_iter1206 = this->success.begin(); _iter1206 != this->success.end(); ++_iter1206) { - xfer += (*_iter1198).write(oprot); + xfer += (*_iter1206).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21005,14 +21005,14 @@ uint32_t ThriftHiveMetastore_get_indexes_presult::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1199; - ::apache::thrift::protocol::TType _etype1202; - xfer += iprot->readListBegin(_etype1202, _size1199); - (*(this->success)).resize(_size1199); - uint32_t _i1203; - for (_i1203 = 0; _i1203 < _size1199; ++_i1203) + uint32_t _size1207; + ::apache::thrift::protocol::TType _etype1210; + xfer += iprot->readListBegin(_etype1210, _size1207); + (*(this->success)).resize(_size1207); + uint32_t _i1211; + for (_i1211 = 0; _i1211 < _size1207; ++_i1211) { - xfer += (*(this->success))[_i1203].read(iprot); + xfer += (*(this->success))[_i1211].read(iprot); } xfer += iprot->readListEnd(); } @@ -21190,14 +21190,14 @@ uint32_t ThriftHiveMetastore_get_index_names_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1204; - ::apache::thrift::protocol::TType _etype1207; - xfer += iprot->readListBegin(_etype1207, _size1204); - this->success.resize(_size1204); - uint32_t _i1208; - for (_i1208 = 0; _i1208 < _size1204; ++_i1208) + uint32_t _size1212; + ::apache::thrift::protocol::TType _etype1215; + xfer += iprot->readListBegin(_etype1215, _size1212); + this->success.resize(_size1212); + uint32_t _i1216; + for (_i1216 = 0; _i1216 < _size1212; ++_i1216) { - xfer += iprot->readString(this->success[_i1208]); + xfer += iprot->readString(this->success[_i1216]); } xfer += iprot->readListEnd(); } @@ -21236,10 +21236,10 @@ uint32_t ThriftHiveMetastore_get_index_names_result::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1209; - for (_iter1209 = this->success.begin(); _iter1209 != this->success.end(); ++_iter1209) + std::vector ::const_iterator _iter1217; + for (_iter1217 = this->success.begin(); _iter1217 != this->success.end(); ++_iter1217) { - xfer += oprot->writeString((*_iter1209)); + xfer += oprot->writeString((*_iter1217)); } xfer += oprot->writeListEnd(); } @@ -21284,14 +21284,14 @@ uint32_t ThriftHiveMetastore_get_index_names_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1210; - ::apache::thrift::protocol::TType _etype1213; - xfer += iprot->readListBegin(_etype1213, _size1210); - (*(this->success)).resize(_size1210); - uint32_t _i1214; - for (_i1214 = 0; _i1214 < _size1210; ++_i1214) + uint32_t _size1218; + ::apache::thrift::protocol::TType _etype1221; + xfer += iprot->readListBegin(_etype1221, _size1218); + (*(this->success)).resize(_size1218); + uint32_t _i1222; + for (_i1222 = 0; _i1222 < _size1218; ++_i1222) { - xfer += iprot->readString((*(this->success))[_i1214]); + xfer += iprot->readString((*(this->success))[_i1222]); } xfer += iprot->readListEnd(); } @@ -24864,14 +24864,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1215; - ::apache::thrift::protocol::TType _etype1218; - xfer += iprot->readListBegin(_etype1218, _size1215); - this->success.resize(_size1215); - uint32_t _i1219; - for (_i1219 = 0; _i1219 < _size1215; ++_i1219) + uint32_t _size1223; + ::apache::thrift::protocol::TType _etype1226; + xfer += iprot->readListBegin(_etype1226, _size1223); + this->success.resize(_size1223); + uint32_t _i1227; + for (_i1227 = 0; _i1227 < _size1223; ++_i1227) { - xfer += iprot->readString(this->success[_i1219]); + xfer += iprot->readString(this->success[_i1227]); } xfer += iprot->readListEnd(); } @@ -24910,10 +24910,10 @@ uint32_t ThriftHiveMetastore_get_functions_result::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1220; - for (_iter1220 = this->success.begin(); _iter1220 != this->success.end(); ++_iter1220) + std::vector ::const_iterator _iter1228; + for (_iter1228 = this->success.begin(); _iter1228 != this->success.end(); ++_iter1228) { - xfer += oprot->writeString((*_iter1220)); + xfer += oprot->writeString((*_iter1228)); } xfer += oprot->writeListEnd(); } @@ -24958,14 +24958,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1221; - ::apache::thrift::protocol::TType _etype1224; - xfer += iprot->readListBegin(_etype1224, _size1221); - (*(this->success)).resize(_size1221); - uint32_t _i1225; - for (_i1225 = 0; _i1225 < _size1221; ++_i1225) + uint32_t _size1229; + ::apache::thrift::protocol::TType _etype1232; + xfer += iprot->readListBegin(_etype1232, _size1229); + (*(this->success)).resize(_size1229); + uint32_t _i1233; + for (_i1233 = 0; _i1233 < _size1229; ++_i1233) { - xfer += iprot->readString((*(this->success))[_i1225]); + xfer += iprot->readString((*(this->success))[_i1233]); } xfer += iprot->readListEnd(); } @@ -25925,14 +25925,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1226; - ::apache::thrift::protocol::TType _etype1229; - xfer += iprot->readListBegin(_etype1229, _size1226); - this->success.resize(_size1226); - uint32_t _i1230; - for (_i1230 = 0; _i1230 < _size1226; ++_i1230) + uint32_t _size1234; + ::apache::thrift::protocol::TType _etype1237; + xfer += iprot->readListBegin(_etype1237, _size1234); + this->success.resize(_size1234); + uint32_t _i1238; + for (_i1238 = 0; _i1238 < _size1234; ++_i1238) { - xfer += iprot->readString(this->success[_i1230]); + xfer += iprot->readString(this->success[_i1238]); } xfer += iprot->readListEnd(); } @@ -25971,10 +25971,10 @@ uint32_t ThriftHiveMetastore_get_role_names_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1231; - for (_iter1231 = this->success.begin(); _iter1231 != this->success.end(); ++_iter1231) + std::vector ::const_iterator _iter1239; + for (_iter1239 = this->success.begin(); _iter1239 != this->success.end(); ++_iter1239) { - xfer += oprot->writeString((*_iter1231)); + xfer += oprot->writeString((*_iter1239)); } xfer += oprot->writeListEnd(); } @@ -26019,14 +26019,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1232; - ::apache::thrift::protocol::TType _etype1235; - xfer += iprot->readListBegin(_etype1235, _size1232); - (*(this->success)).resize(_size1232); - uint32_t _i1236; - for (_i1236 = 0; _i1236 < _size1232; ++_i1236) + uint32_t _size1240; + ::apache::thrift::protocol::TType _etype1243; + xfer += iprot->readListBegin(_etype1243, _size1240); + (*(this->success)).resize(_size1240); + uint32_t _i1244; + for (_i1244 = 0; _i1244 < _size1240; ++_i1244) { - xfer += iprot->readString((*(this->success))[_i1236]); + xfer += iprot->readString((*(this->success))[_i1244]); } xfer += iprot->readListEnd(); } @@ -26099,9 +26099,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1237; - xfer += iprot->readI32(ecast1237); - this->principal_type = (PrincipalType::type)ecast1237; + int32_t ecast1245; + xfer += iprot->readI32(ecast1245); + this->principal_type = (PrincipalType::type)ecast1245; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -26117,9 +26117,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1238; - xfer += iprot->readI32(ecast1238); - this->grantorType = (PrincipalType::type)ecast1238; + int32_t ecast1246; + xfer += iprot->readI32(ecast1246); + this->grantorType = (PrincipalType::type)ecast1246; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -26390,9 +26390,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1239; - xfer += iprot->readI32(ecast1239); - this->principal_type = (PrincipalType::type)ecast1239; + int32_t ecast1247; + xfer += iprot->readI32(ecast1247); + this->principal_type = (PrincipalType::type)ecast1247; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -26623,9 +26623,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1240; - xfer += iprot->readI32(ecast1240); - this->principal_type = (PrincipalType::type)ecast1240; + int32_t ecast1248; + xfer += iprot->readI32(ecast1248); + this->principal_type = (PrincipalType::type)ecast1248; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -26714,14 +26714,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1241; - ::apache::thrift::protocol::TType _etype1244; - xfer += iprot->readListBegin(_etype1244, _size1241); - this->success.resize(_size1241); - uint32_t _i1245; - for (_i1245 = 0; _i1245 < _size1241; ++_i1245) + uint32_t _size1249; + ::apache::thrift::protocol::TType _etype1252; + xfer += iprot->readListBegin(_etype1252, _size1249); + this->success.resize(_size1249); + uint32_t _i1253; + for (_i1253 = 0; _i1253 < _size1249; ++_i1253) { - xfer += this->success[_i1245].read(iprot); + xfer += this->success[_i1253].read(iprot); } xfer += iprot->readListEnd(); } @@ -26760,10 +26760,10 @@ uint32_t ThriftHiveMetastore_list_roles_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1246; - for (_iter1246 = this->success.begin(); _iter1246 != this->success.end(); ++_iter1246) + std::vector ::const_iterator _iter1254; + for (_iter1254 = this->success.begin(); _iter1254 != this->success.end(); ++_iter1254) { - xfer += (*_iter1246).write(oprot); + xfer += (*_iter1254).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26808,14 +26808,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1247; - ::apache::thrift::protocol::TType _etype1250; - xfer += iprot->readListBegin(_etype1250, _size1247); - (*(this->success)).resize(_size1247); - uint32_t _i1251; - for (_i1251 = 0; _i1251 < _size1247; ++_i1251) + uint32_t _size1255; + ::apache::thrift::protocol::TType _etype1258; + xfer += iprot->readListBegin(_etype1258, _size1255); + (*(this->success)).resize(_size1255); + uint32_t _i1259; + for (_i1259 = 0; _i1259 < _size1255; ++_i1259) { - xfer += (*(this->success))[_i1251].read(iprot); + xfer += (*(this->success))[_i1259].read(iprot); } xfer += iprot->readListEnd(); } @@ -27511,14 +27511,14 @@ uint32_t ThriftHiveMetastore_get_privilege_set_args::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1252; - ::apache::thrift::protocol::TType _etype1255; - xfer += iprot->readListBegin(_etype1255, _size1252); - this->group_names.resize(_size1252); - uint32_t _i1256; - for (_i1256 = 0; _i1256 < _size1252; ++_i1256) + uint32_t _size1260; + ::apache::thrift::protocol::TType _etype1263; + xfer += iprot->readListBegin(_etype1263, _size1260); + this->group_names.resize(_size1260); + uint32_t _i1264; + for (_i1264 = 0; _i1264 < _size1260; ++_i1264) { - xfer += iprot->readString(this->group_names[_i1256]); + xfer += iprot->readString(this->group_names[_i1264]); } xfer += iprot->readListEnd(); } @@ -27555,10 +27555,10 @@ uint32_t ThriftHiveMetastore_get_privilege_set_args::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1257; - for (_iter1257 = this->group_names.begin(); _iter1257 != this->group_names.end(); ++_iter1257) + std::vector ::const_iterator _iter1265; + for (_iter1265 = this->group_names.begin(); _iter1265 != this->group_names.end(); ++_iter1265) { - xfer += oprot->writeString((*_iter1257)); + xfer += oprot->writeString((*_iter1265)); } xfer += oprot->writeListEnd(); } @@ -27590,10 +27590,10 @@ uint32_t ThriftHiveMetastore_get_privilege_set_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1258; - for (_iter1258 = (*(this->group_names)).begin(); _iter1258 != (*(this->group_names)).end(); ++_iter1258) + std::vector ::const_iterator _iter1266; + for (_iter1266 = (*(this->group_names)).begin(); _iter1266 != (*(this->group_names)).end(); ++_iter1266) { - xfer += oprot->writeString((*_iter1258)); + xfer += oprot->writeString((*_iter1266)); } xfer += oprot->writeListEnd(); } @@ -27768,9 +27768,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1259; - xfer += iprot->readI32(ecast1259); - this->principal_type = (PrincipalType::type)ecast1259; + int32_t ecast1267; + xfer += iprot->readI32(ecast1267); + this->principal_type = (PrincipalType::type)ecast1267; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -27875,14 +27875,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1260; - ::apache::thrift::protocol::TType _etype1263; - xfer += iprot->readListBegin(_etype1263, _size1260); - this->success.resize(_size1260); - uint32_t _i1264; - for (_i1264 = 0; _i1264 < _size1260; ++_i1264) + uint32_t _size1268; + ::apache::thrift::protocol::TType _etype1271; + xfer += iprot->readListBegin(_etype1271, _size1268); + this->success.resize(_size1268); + uint32_t _i1272; + for (_i1272 = 0; _i1272 < _size1268; ++_i1272) { - xfer += this->success[_i1264].read(iprot); + xfer += this->success[_i1272].read(iprot); } xfer += iprot->readListEnd(); } @@ -27921,10 +27921,10 @@ uint32_t ThriftHiveMetastore_list_privileges_result::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1265; - for (_iter1265 = this->success.begin(); _iter1265 != this->success.end(); ++_iter1265) + std::vector ::const_iterator _iter1273; + for (_iter1273 = this->success.begin(); _iter1273 != this->success.end(); ++_iter1273) { - xfer += (*_iter1265).write(oprot); + xfer += (*_iter1273).write(oprot); } xfer += oprot->writeListEnd(); } @@ -27969,14 +27969,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1266; - ::apache::thrift::protocol::TType _etype1269; - xfer += iprot->readListBegin(_etype1269, _size1266); - (*(this->success)).resize(_size1266); - uint32_t _i1270; - for (_i1270 = 0; _i1270 < _size1266; ++_i1270) + uint32_t _size1274; + ::apache::thrift::protocol::TType _etype1277; + xfer += iprot->readListBegin(_etype1277, _size1274); + (*(this->success)).resize(_size1274); + uint32_t _i1278; + for (_i1278 = 0; _i1278 < _size1274; ++_i1278) { - xfer += (*(this->success))[_i1270].read(iprot); + xfer += (*(this->success))[_i1278].read(iprot); } xfer += iprot->readListEnd(); } @@ -28664,14 +28664,14 @@ uint32_t ThriftHiveMetastore_set_ugi_args::read(::apache::thrift::protocol::TPro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1271; - ::apache::thrift::protocol::TType _etype1274; - xfer += iprot->readListBegin(_etype1274, _size1271); - this->group_names.resize(_size1271); - uint32_t _i1275; - for (_i1275 = 0; _i1275 < _size1271; ++_i1275) + uint32_t _size1279; + ::apache::thrift::protocol::TType _etype1282; + xfer += iprot->readListBegin(_etype1282, _size1279); + this->group_names.resize(_size1279); + uint32_t _i1283; + for (_i1283 = 0; _i1283 < _size1279; ++_i1283) { - xfer += iprot->readString(this->group_names[_i1275]); + xfer += iprot->readString(this->group_names[_i1283]); } xfer += iprot->readListEnd(); } @@ -28704,10 +28704,10 @@ uint32_t ThriftHiveMetastore_set_ugi_args::write(::apache::thrift::protocol::TPr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1276; - for (_iter1276 = this->group_names.begin(); _iter1276 != this->group_names.end(); ++_iter1276) + std::vector ::const_iterator _iter1284; + for (_iter1284 = this->group_names.begin(); _iter1284 != this->group_names.end(); ++_iter1284) { - xfer += oprot->writeString((*_iter1276)); + xfer += oprot->writeString((*_iter1284)); } xfer += oprot->writeListEnd(); } @@ -28735,10 +28735,10 @@ uint32_t ThriftHiveMetastore_set_ugi_pargs::write(::apache::thrift::protocol::TP xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1277; - for (_iter1277 = (*(this->group_names)).begin(); _iter1277 != (*(this->group_names)).end(); ++_iter1277) + std::vector ::const_iterator _iter1285; + for (_iter1285 = (*(this->group_names)).begin(); _iter1285 != (*(this->group_names)).end(); ++_iter1285) { - xfer += oprot->writeString((*_iter1277)); + xfer += oprot->writeString((*_iter1285)); } xfer += oprot->writeListEnd(); } @@ -28779,14 +28779,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1278; - ::apache::thrift::protocol::TType _etype1281; - xfer += iprot->readListBegin(_etype1281, _size1278); - this->success.resize(_size1278); - uint32_t _i1282; - for (_i1282 = 0; _i1282 < _size1278; ++_i1282) + uint32_t _size1286; + ::apache::thrift::protocol::TType _etype1289; + xfer += iprot->readListBegin(_etype1289, _size1286); + this->success.resize(_size1286); + uint32_t _i1290; + for (_i1290 = 0; _i1290 < _size1286; ++_i1290) { - xfer += iprot->readString(this->success[_i1282]); + xfer += iprot->readString(this->success[_i1290]); } xfer += iprot->readListEnd(); } @@ -28825,10 +28825,10 @@ uint32_t ThriftHiveMetastore_set_ugi_result::write(::apache::thrift::protocol::T xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1283; - for (_iter1283 = this->success.begin(); _iter1283 != this->success.end(); ++_iter1283) + std::vector ::const_iterator _iter1291; + for (_iter1291 = this->success.begin(); _iter1291 != this->success.end(); ++_iter1291) { - xfer += oprot->writeString((*_iter1283)); + xfer += oprot->writeString((*_iter1291)); } xfer += oprot->writeListEnd(); } @@ -28873,14 +28873,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1284; - ::apache::thrift::protocol::TType _etype1287; - xfer += iprot->readListBegin(_etype1287, _size1284); - (*(this->success)).resize(_size1284); - uint32_t _i1288; - for (_i1288 = 0; _i1288 < _size1284; ++_i1288) + uint32_t _size1292; + ::apache::thrift::protocol::TType _etype1295; + xfer += iprot->readListBegin(_etype1295, _size1292); + (*(this->success)).resize(_size1292); + uint32_t _i1296; + for (_i1296 = 0; _i1296 < _size1292; ++_i1296) { - xfer += iprot->readString((*(this->success))[_i1288]); + xfer += iprot->readString((*(this->success))[_i1296]); } xfer += iprot->readListEnd(); } @@ -30191,14 +30191,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1289; - ::apache::thrift::protocol::TType _etype1292; - xfer += iprot->readListBegin(_etype1292, _size1289); - this->success.resize(_size1289); - uint32_t _i1293; - for (_i1293 = 0; _i1293 < _size1289; ++_i1293) + uint32_t _size1297; + ::apache::thrift::protocol::TType _etype1300; + xfer += iprot->readListBegin(_etype1300, _size1297); + this->success.resize(_size1297); + uint32_t _i1301; + for (_i1301 = 0; _i1301 < _size1297; ++_i1301) { - xfer += iprot->readString(this->success[_i1293]); + xfer += iprot->readString(this->success[_i1301]); } xfer += iprot->readListEnd(); } @@ -30229,10 +30229,10 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1294; - for (_iter1294 = this->success.begin(); _iter1294 != this->success.end(); ++_iter1294) + std::vector ::const_iterator _iter1302; + for (_iter1302 = this->success.begin(); _iter1302 != this->success.end(); ++_iter1302) { - xfer += oprot->writeString((*_iter1294)); + xfer += oprot->writeString((*_iter1302)); } xfer += oprot->writeListEnd(); } @@ -30273,14 +30273,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1295; - ::apache::thrift::protocol::TType _etype1298; - xfer += iprot->readListBegin(_etype1298, _size1295); - (*(this->success)).resize(_size1295); - uint32_t _i1299; - for (_i1299 = 0; _i1299 < _size1295; ++_i1299) + uint32_t _size1303; + ::apache::thrift::protocol::TType _etype1306; + xfer += iprot->readListBegin(_etype1306, _size1303); + (*(this->success)).resize(_size1303); + uint32_t _i1307; + for (_i1307 = 0; _i1307 < _size1303; ++_i1307) { - xfer += iprot->readString((*(this->success))[_i1299]); + xfer += iprot->readString((*(this->success))[_i1307]); } xfer += iprot->readListEnd(); } @@ -31006,14 +31006,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1300; - ::apache::thrift::protocol::TType _etype1303; - xfer += iprot->readListBegin(_etype1303, _size1300); - this->success.resize(_size1300); - uint32_t _i1304; - for (_i1304 = 0; _i1304 < _size1300; ++_i1304) + uint32_t _size1308; + ::apache::thrift::protocol::TType _etype1311; + xfer += iprot->readListBegin(_etype1311, _size1308); + this->success.resize(_size1308); + uint32_t _i1312; + for (_i1312 = 0; _i1312 < _size1308; ++_i1312) { - xfer += iprot->readString(this->success[_i1304]); + xfer += iprot->readString(this->success[_i1312]); } xfer += iprot->readListEnd(); } @@ -31044,10 +31044,10 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1305; - for (_iter1305 = this->success.begin(); _iter1305 != this->success.end(); ++_iter1305) + std::vector ::const_iterator _iter1313; + for (_iter1313 = this->success.begin(); _iter1313 != this->success.end(); ++_iter1313) { - xfer += oprot->writeString((*_iter1305)); + xfer += oprot->writeString((*_iter1313)); } xfer += oprot->writeListEnd(); } @@ -31088,14 +31088,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1306; - ::apache::thrift::protocol::TType _etype1309; - xfer += iprot->readListBegin(_etype1309, _size1306); - (*(this->success)).resize(_size1306); - uint32_t _i1310; - for (_i1310 = 0; _i1310 < _size1306; ++_i1310) + uint32_t _size1314; + ::apache::thrift::protocol::TType _etype1317; + xfer += iprot->readListBegin(_etype1317, _size1314); + (*(this->success)).resize(_size1314); + uint32_t _i1318; + for (_i1318 = 0; _i1318 < _size1314; ++_i1318) { - xfer += iprot->readString((*(this->success))[_i1310]); + xfer += iprot->readString((*(this->success))[_i1318]); } xfer += iprot->readListEnd(); } @@ -31823,6 +31823,193 @@ uint32_t ThriftHiveMetastore_abort_txn_presult::read(::apache::thrift::protocol: } +ThriftHiveMetastore_abort_txns_args::~ThriftHiveMetastore_abort_txns_args() throw() { +} + + +uint32_t ThriftHiveMetastore_abort_txns_args::read(::apache::thrift::protocol::TProtocol* iprot) { + + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->rqst.read(iprot); + this->__isset.rqst = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t ThriftHiveMetastore_abort_txns_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_abort_txns_args"); + + xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->rqst.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +ThriftHiveMetastore_abort_txns_pargs::~ThriftHiveMetastore_abort_txns_pargs() throw() { +} + + +uint32_t ThriftHiveMetastore_abort_txns_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_abort_txns_pargs"); + + xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += (*(this->rqst)).write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +ThriftHiveMetastore_abort_txns_result::~ThriftHiveMetastore_abort_txns_result() throw() { +} + + +uint32_t ThriftHiveMetastore_abort_txns_result::read(::apache::thrift::protocol::TProtocol* iprot) { + + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o1.read(iprot); + this->__isset.o1 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t ThriftHiveMetastore_abort_txns_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("ThriftHiveMetastore_abort_txns_result"); + + if (this->__isset.o1) { + xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->o1.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +ThriftHiveMetastore_abort_txns_presult::~ThriftHiveMetastore_abort_txns_presult() throw() { +} + + +uint32_t ThriftHiveMetastore_abort_txns_presult::read(::apache::thrift::protocol::TProtocol* iprot) { + + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o1.read(iprot); + this->__isset.o1 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + + ThriftHiveMetastore_commit_txn_args::~ThriftHiveMetastore_commit_txn_args() throw() { } @@ -43562,6 +43749,62 @@ void ThriftHiveMetastoreClient::recv_abort_txn() return; } +void ThriftHiveMetastoreClient::abort_txns(const AbortTxnsRequest& rqst) +{ + send_abort_txns(rqst); + recv_abort_txns(); +} + +void ThriftHiveMetastoreClient::send_abort_txns(const AbortTxnsRequest& rqst) +{ + int32_t cseqid = 0; + oprot_->writeMessageBegin("abort_txns", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_abort_txns_pargs args; + args.rqst = &rqst; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); +} + +void ThriftHiveMetastoreClient::recv_abort_txns() +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + iprot_->readMessageBegin(fname, mtype, rseqid); + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("abort_txns") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + ThriftHiveMetastore_abort_txns_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.o1) { + throw result.o1; + } + return; +} + void ThriftHiveMetastoreClient::commit_txn(const CommitTxnRequest& rqst) { send_commit_txn(rqst); @@ -52089,6 +52332,62 @@ void ThriftHiveMetastoreProcessor::process_abort_txn(int32_t seqid, ::apache::th } } +void ThriftHiveMetastoreProcessor::process_abort_txns(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) +{ + void* ctx = NULL; + if (this->eventHandler_.get() != NULL) { + ctx = this->eventHandler_->getContext("ThriftHiveMetastore.abort_txns", callContext); + } + ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "ThriftHiveMetastore.abort_txns"); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->preRead(ctx, "ThriftHiveMetastore.abort_txns"); + } + + ThriftHiveMetastore_abort_txns_args args; + args.read(iprot); + iprot->readMessageEnd(); + uint32_t bytes = iprot->getTransport()->readEnd(); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->postRead(ctx, "ThriftHiveMetastore.abort_txns", bytes); + } + + ThriftHiveMetastore_abort_txns_result result; + try { + iface_->abort_txns(args.rqst); + } catch (NoSuchTxnException &o1) { + result.o1 = o1; + result.__isset.o1 = true; + } catch (const std::exception& e) { + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->handlerError(ctx, "ThriftHiveMetastore.abort_txns"); + } + + ::apache::thrift::TApplicationException x(e.what()); + oprot->writeMessageBegin("abort_txns", ::apache::thrift::protocol::T_EXCEPTION, seqid); + x.write(oprot); + oprot->writeMessageEnd(); + oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + return; + } + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->preWrite(ctx, "ThriftHiveMetastore.abort_txns"); + } + + oprot->writeMessageBegin("abort_txns", ::apache::thrift::protocol::T_REPLY, seqid); + result.write(oprot); + oprot->writeMessageEnd(); + bytes = oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->postWrite(ctx, "ThriftHiveMetastore.abort_txns", bytes); + } +} + void ThriftHiveMetastoreProcessor::process_commit_txn(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) { void* ctx = NULL; @@ -64533,6 +64832,88 @@ void ThriftHiveMetastoreConcurrentClient::recv_abort_txn(const int32_t seqid) } // end while(true) } +void ThriftHiveMetastoreConcurrentClient::abort_txns(const AbortTxnsRequest& rqst) +{ + int32_t seqid = send_abort_txns(rqst); + recv_abort_txns(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_abort_txns(const AbortTxnsRequest& rqst) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("abort_txns", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_abort_txns_pargs args; + args.rqst = &rqst; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_abort_txns(const int32_t seqid) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + // the read mutex gets dropped and reacquired as part of waitForWork() + // The destructor of this sentry wakes up other clients + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid); + + while(true) { + if(!this->sync_.getPending(fname, mtype, rseqid)) { + iprot_->readMessageBegin(fname, mtype, rseqid); + } + if(seqid == rseqid) { + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + sentry.commit(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("abort_txns") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + // in a bad state, don't commit + using ::apache::thrift::protocol::TProtocolException; + throw TProtocolException(TProtocolException::INVALID_DATA); + } + ThriftHiveMetastore_abort_txns_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + void ThriftHiveMetastoreConcurrentClient::commit_txn(const CommitTxnRequest& rqst) { int32_t seqid = send_commit_txn(rqst); diff --git metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h index 8a8f8b1..6268938 100644 --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h @@ -145,6 +145,7 @@ class ThriftHiveMetastoreIf : virtual public ::facebook::fb303::FacebookService 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; @@ -591,6 +592,9 @@ class ThriftHiveMetastoreNull : virtual public ThriftHiveMetastoreIf , virtual p void abort_txn(const AbortTxnRequest& /* rqst */) { return; } + void abort_txns(const AbortTxnsRequest& /* rqst */) { + return; + } void commit_txn(const CommitTxnRequest& /* rqst */) { return; } @@ -16289,6 +16293,110 @@ class ThriftHiveMetastore_abort_txn_presult { }; +typedef struct _ThriftHiveMetastore_abort_txns_args__isset { + _ThriftHiveMetastore_abort_txns_args__isset() : rqst(false) {} + bool rqst :1; +} _ThriftHiveMetastore_abort_txns_args__isset; + +class ThriftHiveMetastore_abort_txns_args { + public: + + ThriftHiveMetastore_abort_txns_args(const ThriftHiveMetastore_abort_txns_args&); + ThriftHiveMetastore_abort_txns_args& operator=(const ThriftHiveMetastore_abort_txns_args&); + ThriftHiveMetastore_abort_txns_args() { + } + + virtual ~ThriftHiveMetastore_abort_txns_args() throw(); + AbortTxnsRequest rqst; + + _ThriftHiveMetastore_abort_txns_args__isset __isset; + + void __set_rqst(const AbortTxnsRequest& val); + + bool operator == (const ThriftHiveMetastore_abort_txns_args & rhs) const + { + if (!(rqst == rhs.rqst)) + return false; + return true; + } + bool operator != (const ThriftHiveMetastore_abort_txns_args &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_abort_txns_args & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class ThriftHiveMetastore_abort_txns_pargs { + public: + + + virtual ~ThriftHiveMetastore_abort_txns_pargs() throw(); + const AbortTxnsRequest* rqst; + + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _ThriftHiveMetastore_abort_txns_result__isset { + _ThriftHiveMetastore_abort_txns_result__isset() : o1(false) {} + bool o1 :1; +} _ThriftHiveMetastore_abort_txns_result__isset; + +class ThriftHiveMetastore_abort_txns_result { + public: + + ThriftHiveMetastore_abort_txns_result(const ThriftHiveMetastore_abort_txns_result&); + ThriftHiveMetastore_abort_txns_result& operator=(const ThriftHiveMetastore_abort_txns_result&); + ThriftHiveMetastore_abort_txns_result() { + } + + virtual ~ThriftHiveMetastore_abort_txns_result() throw(); + NoSuchTxnException o1; + + _ThriftHiveMetastore_abort_txns_result__isset __isset; + + void __set_o1(const NoSuchTxnException& val); + + bool operator == (const ThriftHiveMetastore_abort_txns_result & rhs) const + { + if (!(o1 == rhs.o1)) + return false; + return true; + } + bool operator != (const ThriftHiveMetastore_abort_txns_result &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_abort_txns_result & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _ThriftHiveMetastore_abort_txns_presult__isset { + _ThriftHiveMetastore_abort_txns_presult__isset() : o1(false) {} + bool o1 :1; +} _ThriftHiveMetastore_abort_txns_presult__isset; + +class ThriftHiveMetastore_abort_txns_presult { + public: + + + virtual ~ThriftHiveMetastore_abort_txns_presult() throw(); + NoSuchTxnException o1; + + _ThriftHiveMetastore_abort_txns_presult__isset __isset; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + +}; + typedef struct _ThriftHiveMetastore_commit_txn_args__isset { _ThriftHiveMetastore_commit_txn_args__isset() : rqst(false) {} bool rqst :1; @@ -18769,6 +18877,9 @@ class ThriftHiveMetastoreClient : virtual public ThriftHiveMetastoreIf, public void abort_txn(const AbortTxnRequest& rqst); void send_abort_txn(const AbortTxnRequest& rqst); void recv_abort_txn(); + void abort_txns(const AbortTxnsRequest& rqst); + void send_abort_txns(const AbortTxnsRequest& rqst); + void recv_abort_txns(); void commit_txn(const CommitTxnRequest& rqst); void send_commit_txn(const CommitTxnRequest& rqst); void recv_commit_txn(); @@ -18962,6 +19073,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP void process_get_open_txns_info(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_open_txns(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_abort_txn(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); + void process_abort_txns(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_commit_txn(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_lock(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_check_lock(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); @@ -19109,6 +19221,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP processMap_["get_open_txns_info"] = &ThriftHiveMetastoreProcessor::process_get_open_txns_info; processMap_["open_txns"] = &ThriftHiveMetastoreProcessor::process_open_txns; processMap_["abort_txn"] = &ThriftHiveMetastoreProcessor::process_abort_txn; + processMap_["abort_txns"] = &ThriftHiveMetastoreProcessor::process_abort_txns; processMap_["commit_txn"] = &ThriftHiveMetastoreProcessor::process_commit_txn; processMap_["lock"] = &ThriftHiveMetastoreProcessor::process_lock; processMap_["check_lock"] = &ThriftHiveMetastoreProcessor::process_check_lock; @@ -20340,6 +20453,15 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi ifaces_[i]->abort_txn(rqst); } + void abort_txns(const AbortTxnsRequest& rqst) { + size_t sz = ifaces_.size(); + size_t i = 0; + for (; i < (sz - 1); ++i) { + ifaces_[i]->abort_txns(rqst); + } + ifaces_[i]->abort_txns(rqst); + } + void commit_txn(const CommitTxnRequest& rqst) { size_t sz = ifaces_.size(); size_t i = 0; @@ -20919,6 +21041,9 @@ class ThriftHiveMetastoreConcurrentClient : virtual public ThriftHiveMetastoreIf void abort_txn(const AbortTxnRequest& rqst); int32_t send_abort_txn(const AbortTxnRequest& rqst); void recv_abort_txn(const int32_t seqid); + void abort_txns(const AbortTxnsRequest& rqst); + int32_t send_abort_txns(const AbortTxnsRequest& rqst); + void recv_abort_txns(const int32_t seqid); void commit_txn(const CommitTxnRequest& rqst); int32_t send_commit_txn(const CommitTxnRequest& rqst); void recv_commit_txn(const int32_t seqid); diff --git metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp index 3e7c6e7..5d91035 100644 --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp @@ -637,6 +637,11 @@ class ThriftHiveMetastoreHandler : virtual public ThriftHiveMetastoreIf { printf("abort_txn\n"); } + void abort_txns(const AbortTxnsRequest& rqst) { + // Your implementation goes here + printf("abort_txns\n"); + } + void commit_txn(const CommitTxnRequest& rqst) { // Your implementation goes here printf("commit_txn\n"); diff --git metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp index 2695ffa..e765043 100644 --- metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp +++ metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp @@ -10952,6 +10952,112 @@ void AbortTxnRequest::printTo(std::ostream& out) const { } +AbortTxnsRequest::~AbortTxnsRequest() throw() { +} + + +void AbortTxnsRequest::__set_txn_ids(const std::vector & val) { + this->txn_ids = val; +} + +uint32_t AbortTxnsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + bool isset_txn_ids = false; + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->txn_ids.clear(); + uint32_t _size496; + ::apache::thrift::protocol::TType _etype499; + xfer += iprot->readListBegin(_etype499, _size496); + this->txn_ids.resize(_size496); + uint32_t _i500; + for (_i500 = 0; _i500 < _size496; ++_i500) + { + xfer += iprot->readI64(this->txn_ids[_i500]); + } + xfer += iprot->readListEnd(); + } + isset_txn_ids = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + if (!isset_txn_ids) + throw TProtocolException(TProtocolException::INVALID_DATA); + return xfer; +} + +uint32_t AbortTxnsRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("AbortTxnsRequest"); + + xfer += oprot->writeFieldBegin("txn_ids", ::apache::thrift::protocol::T_LIST, 1); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->txn_ids.size())); + std::vector ::const_iterator _iter501; + for (_iter501 = this->txn_ids.begin(); _iter501 != this->txn_ids.end(); ++_iter501) + { + xfer += oprot->writeI64((*_iter501)); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(AbortTxnsRequest &a, AbortTxnsRequest &b) { + using ::std::swap; + swap(a.txn_ids, b.txn_ids); +} + +AbortTxnsRequest::AbortTxnsRequest(const AbortTxnsRequest& other502) { + txn_ids = other502.txn_ids; +} +AbortTxnsRequest& AbortTxnsRequest::operator=(const AbortTxnsRequest& other503) { + txn_ids = other503.txn_ids; + return *this; +} +void AbortTxnsRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "AbortTxnsRequest("; + out << "txn_ids=" << to_string(txn_ids); + out << ")"; +} + + CommitTxnRequest::~CommitTxnRequest() throw() { } @@ -11023,11 +11129,11 @@ void swap(CommitTxnRequest &a, CommitTxnRequest &b) { swap(a.txnid, b.txnid); } -CommitTxnRequest::CommitTxnRequest(const CommitTxnRequest& other496) { - txnid = other496.txnid; +CommitTxnRequest::CommitTxnRequest(const CommitTxnRequest& other504) { + txnid = other504.txnid; } -CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other497) { - txnid = other497.txnid; +CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other505) { + txnid = other505.txnid; return *this; } void CommitTxnRequest::printTo(std::ostream& out) const { @@ -11090,9 +11196,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast498; - xfer += iprot->readI32(ecast498); - this->type = (LockType::type)ecast498; + int32_t ecast506; + xfer += iprot->readI32(ecast506); + this->type = (LockType::type)ecast506; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -11100,9 +11206,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast499; - xfer += iprot->readI32(ecast499); - this->level = (LockLevel::type)ecast499; + int32_t ecast507; + xfer += iprot->readI32(ecast507); + this->level = (LockLevel::type)ecast507; isset_level = true; } else { xfer += iprot->skip(ftype); @@ -11192,21 +11298,21 @@ void swap(LockComponent &a, LockComponent &b) { swap(a.__isset, b.__isset); } -LockComponent::LockComponent(const LockComponent& other500) { - type = other500.type; - level = other500.level; - dbname = other500.dbname; - tablename = other500.tablename; - partitionname = other500.partitionname; - __isset = other500.__isset; -} -LockComponent& LockComponent::operator=(const LockComponent& other501) { - type = other501.type; - level = other501.level; - dbname = other501.dbname; - tablename = other501.tablename; - partitionname = other501.partitionname; - __isset = other501.__isset; +LockComponent::LockComponent(const LockComponent& other508) { + type = other508.type; + level = other508.level; + dbname = other508.dbname; + tablename = other508.tablename; + partitionname = other508.partitionname; + __isset = other508.__isset; +} +LockComponent& LockComponent::operator=(const LockComponent& other509) { + type = other509.type; + level = other509.level; + dbname = other509.dbname; + tablename = other509.tablename; + partitionname = other509.partitionname; + __isset = other509.__isset; return *this; } void LockComponent::printTo(std::ostream& out) const { @@ -11275,14 +11381,14 @@ uint32_t LockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->component.clear(); - uint32_t _size502; - ::apache::thrift::protocol::TType _etype505; - xfer += iprot->readListBegin(_etype505, _size502); - this->component.resize(_size502); - uint32_t _i506; - for (_i506 = 0; _i506 < _size502; ++_i506) + uint32_t _size510; + ::apache::thrift::protocol::TType _etype513; + xfer += iprot->readListBegin(_etype513, _size510); + this->component.resize(_size510); + uint32_t _i514; + for (_i514 = 0; _i514 < _size510; ++_i514) { - xfer += this->component[_i506].read(iprot); + xfer += this->component[_i514].read(iprot); } xfer += iprot->readListEnd(); } @@ -11349,10 +11455,10 @@ uint32_t LockRequest::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldBegin("component", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->component.size())); - std::vector ::const_iterator _iter507; - for (_iter507 = this->component.begin(); _iter507 != this->component.end(); ++_iter507) + std::vector ::const_iterator _iter515; + for (_iter515 = this->component.begin(); _iter515 != this->component.end(); ++_iter515) { - xfer += (*_iter507).write(oprot); + xfer += (*_iter515).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11391,21 +11497,21 @@ void swap(LockRequest &a, LockRequest &b) { swap(a.__isset, b.__isset); } -LockRequest::LockRequest(const LockRequest& other508) { - component = other508.component; - txnid = other508.txnid; - user = other508.user; - hostname = other508.hostname; - agentInfo = other508.agentInfo; - __isset = other508.__isset; -} -LockRequest& LockRequest::operator=(const LockRequest& other509) { - component = other509.component; - txnid = other509.txnid; - user = other509.user; - hostname = other509.hostname; - agentInfo = other509.agentInfo; - __isset = other509.__isset; +LockRequest::LockRequest(const LockRequest& other516) { + component = other516.component; + txnid = other516.txnid; + user = other516.user; + hostname = other516.hostname; + agentInfo = other516.agentInfo; + __isset = other516.__isset; +} +LockRequest& LockRequest::operator=(const LockRequest& other517) { + component = other517.component; + txnid = other517.txnid; + user = other517.user; + hostname = other517.hostname; + agentInfo = other517.agentInfo; + __isset = other517.__isset; return *this; } void LockRequest::printTo(std::ostream& out) const { @@ -11465,9 +11571,9 @@ uint32_t LockResponse::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast510; - xfer += iprot->readI32(ecast510); - this->state = (LockState::type)ecast510; + int32_t ecast518; + xfer += iprot->readI32(ecast518); + this->state = (LockState::type)ecast518; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -11513,13 +11619,13 @@ void swap(LockResponse &a, LockResponse &b) { swap(a.state, b.state); } -LockResponse::LockResponse(const LockResponse& other511) { - lockid = other511.lockid; - state = other511.state; +LockResponse::LockResponse(const LockResponse& other519) { + lockid = other519.lockid; + state = other519.state; } -LockResponse& LockResponse::operator=(const LockResponse& other512) { - lockid = other512.lockid; - state = other512.state; +LockResponse& LockResponse::operator=(const LockResponse& other520) { + lockid = other520.lockid; + state = other520.state; return *this; } void LockResponse::printTo(std::ostream& out) const { @@ -11641,17 +11747,17 @@ void swap(CheckLockRequest &a, CheckLockRequest &b) { swap(a.__isset, b.__isset); } -CheckLockRequest::CheckLockRequest(const CheckLockRequest& other513) { - lockid = other513.lockid; - txnid = other513.txnid; - elapsed_ms = other513.elapsed_ms; - __isset = other513.__isset; +CheckLockRequest::CheckLockRequest(const CheckLockRequest& other521) { + lockid = other521.lockid; + txnid = other521.txnid; + elapsed_ms = other521.elapsed_ms; + __isset = other521.__isset; } -CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other514) { - lockid = other514.lockid; - txnid = other514.txnid; - elapsed_ms = other514.elapsed_ms; - __isset = other514.__isset; +CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other522) { + lockid = other522.lockid; + txnid = other522.txnid; + elapsed_ms = other522.elapsed_ms; + __isset = other522.__isset; return *this; } void CheckLockRequest::printTo(std::ostream& out) const { @@ -11735,11 +11841,11 @@ void swap(UnlockRequest &a, UnlockRequest &b) { swap(a.lockid, b.lockid); } -UnlockRequest::UnlockRequest(const UnlockRequest& other515) { - lockid = other515.lockid; +UnlockRequest::UnlockRequest(const UnlockRequest& other523) { + lockid = other523.lockid; } -UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other516) { - lockid = other516.lockid; +UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other524) { + lockid = other524.lockid; return *this; } void UnlockRequest::printTo(std::ostream& out) const { @@ -11878,19 +11984,19 @@ void swap(ShowLocksRequest &a, ShowLocksRequest &b) { swap(a.__isset, b.__isset); } -ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other517) { - dbname = other517.dbname; - tablename = other517.tablename; - partname = other517.partname; - isExtended = other517.isExtended; - __isset = other517.__isset; +ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other525) { + dbname = other525.dbname; + tablename = other525.tablename; + partname = other525.partname; + isExtended = other525.isExtended; + __isset = other525.__isset; } -ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other518) { - dbname = other518.dbname; - tablename = other518.tablename; - partname = other518.partname; - isExtended = other518.isExtended; - __isset = other518.__isset; +ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other526) { + dbname = other526.dbname; + tablename = other526.tablename; + partname = other526.partname; + isExtended = other526.isExtended; + __isset = other526.__isset; return *this; } void ShowLocksRequest::printTo(std::ostream& out) const { @@ -12043,9 +12149,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast519; - xfer += iprot->readI32(ecast519); - this->state = (LockState::type)ecast519; + int32_t ecast527; + xfer += iprot->readI32(ecast527); + this->state = (LockState::type)ecast527; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -12053,9 +12159,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast520; - xfer += iprot->readI32(ecast520); - this->type = (LockType::type)ecast520; + int32_t ecast528; + xfer += iprot->readI32(ecast528); + this->type = (LockType::type)ecast528; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -12271,43 +12377,43 @@ void swap(ShowLocksResponseElement &a, ShowLocksResponseElement &b) { swap(a.__isset, b.__isset); } -ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other521) { - lockid = other521.lockid; - dbname = other521.dbname; - tablename = other521.tablename; - partname = other521.partname; - state = other521.state; - type = other521.type; - txnid = other521.txnid; - lastheartbeat = other521.lastheartbeat; - acquiredat = other521.acquiredat; - user = other521.user; - hostname = other521.hostname; - heartbeatCount = other521.heartbeatCount; - agentInfo = other521.agentInfo; - blockedByExtId = other521.blockedByExtId; - blockedByIntId = other521.blockedByIntId; - lockIdInternal = other521.lockIdInternal; - __isset = other521.__isset; +ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other529) { + lockid = other529.lockid; + dbname = other529.dbname; + tablename = other529.tablename; + partname = other529.partname; + state = other529.state; + type = other529.type; + txnid = other529.txnid; + lastheartbeat = other529.lastheartbeat; + acquiredat = other529.acquiredat; + user = other529.user; + hostname = other529.hostname; + heartbeatCount = other529.heartbeatCount; + agentInfo = other529.agentInfo; + blockedByExtId = other529.blockedByExtId; + blockedByIntId = other529.blockedByIntId; + lockIdInternal = other529.lockIdInternal; + __isset = other529.__isset; } -ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other522) { - lockid = other522.lockid; - dbname = other522.dbname; - tablename = other522.tablename; - partname = other522.partname; - state = other522.state; - type = other522.type; - txnid = other522.txnid; - lastheartbeat = other522.lastheartbeat; - acquiredat = other522.acquiredat; - user = other522.user; - hostname = other522.hostname; - heartbeatCount = other522.heartbeatCount; - agentInfo = other522.agentInfo; - blockedByExtId = other522.blockedByExtId; - blockedByIntId = other522.blockedByIntId; - lockIdInternal = other522.lockIdInternal; - __isset = other522.__isset; +ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other530) { + lockid = other530.lockid; + dbname = other530.dbname; + tablename = other530.tablename; + partname = other530.partname; + state = other530.state; + type = other530.type; + txnid = other530.txnid; + lastheartbeat = other530.lastheartbeat; + acquiredat = other530.acquiredat; + user = other530.user; + hostname = other530.hostname; + heartbeatCount = other530.heartbeatCount; + agentInfo = other530.agentInfo; + blockedByExtId = other530.blockedByExtId; + blockedByIntId = other530.blockedByIntId; + lockIdInternal = other530.lockIdInternal; + __isset = other530.__isset; return *this; } void ShowLocksResponseElement::printTo(std::ostream& out) const { @@ -12366,14 +12472,14 @@ uint32_t ShowLocksResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->locks.clear(); - uint32_t _size523; - ::apache::thrift::protocol::TType _etype526; - xfer += iprot->readListBegin(_etype526, _size523); - this->locks.resize(_size523); - uint32_t _i527; - for (_i527 = 0; _i527 < _size523; ++_i527) + uint32_t _size531; + ::apache::thrift::protocol::TType _etype534; + xfer += iprot->readListBegin(_etype534, _size531); + this->locks.resize(_size531); + uint32_t _i535; + for (_i535 = 0; _i535 < _size531; ++_i535) { - xfer += this->locks[_i527].read(iprot); + xfer += this->locks[_i535].read(iprot); } xfer += iprot->readListEnd(); } @@ -12402,10 +12508,10 @@ uint32_t ShowLocksResponse::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("locks", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->locks.size())); - std::vector ::const_iterator _iter528; - for (_iter528 = this->locks.begin(); _iter528 != this->locks.end(); ++_iter528) + std::vector ::const_iterator _iter536; + for (_iter536 = this->locks.begin(); _iter536 != this->locks.end(); ++_iter536) { - xfer += (*_iter528).write(oprot); + xfer += (*_iter536).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12422,13 +12528,13 @@ void swap(ShowLocksResponse &a, ShowLocksResponse &b) { swap(a.__isset, b.__isset); } -ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other529) { - locks = other529.locks; - __isset = other529.__isset; +ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other537) { + locks = other537.locks; + __isset = other537.__isset; } -ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other530) { - locks = other530.locks; - __isset = other530.__isset; +ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other538) { + locks = other538.locks; + __isset = other538.__isset; return *this; } void ShowLocksResponse::printTo(std::ostream& out) const { @@ -12529,15 +12635,15 @@ void swap(HeartbeatRequest &a, HeartbeatRequest &b) { swap(a.__isset, b.__isset); } -HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other531) { - lockid = other531.lockid; - txnid = other531.txnid; - __isset = other531.__isset; +HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other539) { + lockid = other539.lockid; + txnid = other539.txnid; + __isset = other539.__isset; } -HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other532) { - lockid = other532.lockid; - txnid = other532.txnid; - __isset = other532.__isset; +HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other540) { + lockid = other540.lockid; + txnid = other540.txnid; + __isset = other540.__isset; return *this; } void HeartbeatRequest::printTo(std::ostream& out) const { @@ -12640,13 +12746,13 @@ void swap(HeartbeatTxnRangeRequest &a, HeartbeatTxnRangeRequest &b) { swap(a.max, b.max); } -HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other533) { - min = other533.min; - max = other533.max; +HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other541) { + min = other541.min; + max = other541.max; } -HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other534) { - min = other534.min; - max = other534.max; +HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other542) { + min = other542.min; + max = other542.max; return *this; } void HeartbeatTxnRangeRequest::printTo(std::ostream& out) const { @@ -12697,15 +12803,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->aborted.clear(); - uint32_t _size535; - ::apache::thrift::protocol::TType _etype538; - xfer += iprot->readSetBegin(_etype538, _size535); - uint32_t _i539; - for (_i539 = 0; _i539 < _size535; ++_i539) + uint32_t _size543; + ::apache::thrift::protocol::TType _etype546; + xfer += iprot->readSetBegin(_etype546, _size543); + uint32_t _i547; + for (_i547 = 0; _i547 < _size543; ++_i547) { - int64_t _elem540; - xfer += iprot->readI64(_elem540); - this->aborted.insert(_elem540); + int64_t _elem548; + xfer += iprot->readI64(_elem548); + this->aborted.insert(_elem548); } xfer += iprot->readSetEnd(); } @@ -12718,15 +12824,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->nosuch.clear(); - uint32_t _size541; - ::apache::thrift::protocol::TType _etype544; - xfer += iprot->readSetBegin(_etype544, _size541); - uint32_t _i545; - for (_i545 = 0; _i545 < _size541; ++_i545) + uint32_t _size549; + ::apache::thrift::protocol::TType _etype552; + xfer += iprot->readSetBegin(_etype552, _size549); + uint32_t _i553; + for (_i553 = 0; _i553 < _size549; ++_i553) { - int64_t _elem546; - xfer += iprot->readI64(_elem546); - this->nosuch.insert(_elem546); + int64_t _elem554; + xfer += iprot->readI64(_elem554); + this->nosuch.insert(_elem554); } xfer += iprot->readSetEnd(); } @@ -12759,10 +12865,10 @@ uint32_t HeartbeatTxnRangeResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("aborted", ::apache::thrift::protocol::T_SET, 1); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I64, static_cast(this->aborted.size())); - std::set ::const_iterator _iter547; - for (_iter547 = this->aborted.begin(); _iter547 != this->aborted.end(); ++_iter547) + std::set ::const_iterator _iter555; + for (_iter555 = this->aborted.begin(); _iter555 != this->aborted.end(); ++_iter555) { - xfer += oprot->writeI64((*_iter547)); + xfer += oprot->writeI64((*_iter555)); } xfer += oprot->writeSetEnd(); } @@ -12771,10 +12877,10 @@ uint32_t HeartbeatTxnRangeResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("nosuch", ::apache::thrift::protocol::T_SET, 2); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I64, static_cast(this->nosuch.size())); - std::set ::const_iterator _iter548; - for (_iter548 = this->nosuch.begin(); _iter548 != this->nosuch.end(); ++_iter548) + std::set ::const_iterator _iter556; + for (_iter556 = this->nosuch.begin(); _iter556 != this->nosuch.end(); ++_iter556) { - xfer += oprot->writeI64((*_iter548)); + xfer += oprot->writeI64((*_iter556)); } xfer += oprot->writeSetEnd(); } @@ -12791,13 +12897,13 @@ void swap(HeartbeatTxnRangeResponse &a, HeartbeatTxnRangeResponse &b) { swap(a.nosuch, b.nosuch); } -HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other549) { - aborted = other549.aborted; - nosuch = other549.nosuch; +HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other557) { + aborted = other557.aborted; + nosuch = other557.nosuch; } -HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other550) { - aborted = other550.aborted; - nosuch = other550.nosuch; +HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other558) { + aborted = other558.aborted; + nosuch = other558.nosuch; return *this; } void HeartbeatTxnRangeResponse::printTo(std::ostream& out) const { @@ -12885,9 +12991,9 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast551; - xfer += iprot->readI32(ecast551); - this->type = (CompactionType::type)ecast551; + int32_t ecast559; + xfer += iprot->readI32(ecast559); + this->type = (CompactionType::type)ecast559; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -12961,21 +13067,21 @@ void swap(CompactionRequest &a, CompactionRequest &b) { swap(a.__isset, b.__isset); } -CompactionRequest::CompactionRequest(const CompactionRequest& other552) { - dbname = other552.dbname; - tablename = other552.tablename; - partitionname = other552.partitionname; - type = other552.type; - runas = other552.runas; - __isset = other552.__isset; -} -CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other553) { - dbname = other553.dbname; - tablename = other553.tablename; - partitionname = other553.partitionname; - type = other553.type; - runas = other553.runas; - __isset = other553.__isset; +CompactionRequest::CompactionRequest(const CompactionRequest& other560) { + dbname = other560.dbname; + tablename = other560.tablename; + partitionname = other560.partitionname; + type = other560.type; + runas = other560.runas; + __isset = other560.__isset; +} +CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other561) { + dbname = other561.dbname; + tablename = other561.tablename; + partitionname = other561.partitionname; + type = other561.type; + runas = other561.runas; + __isset = other561.__isset; return *this; } void CompactionRequest::printTo(std::ostream& out) const { @@ -13038,11 +13144,11 @@ void swap(ShowCompactRequest &a, ShowCompactRequest &b) { (void) b; } -ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other554) { - (void) other554; +ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other562) { + (void) other562; } -ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other555) { - (void) other555; +ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other563) { + (void) other563; return *this; } void ShowCompactRequest::printTo(std::ostream& out) const { @@ -13163,9 +13269,9 @@ uint32_t ShowCompactResponseElement::read(::apache::thrift::protocol::TProtocol* break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast556; - xfer += iprot->readI32(ecast556); - this->type = (CompactionType::type)ecast556; + int32_t ecast564; + xfer += iprot->readI32(ecast564); + this->type = (CompactionType::type)ecast564; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -13338,35 +13444,35 @@ void swap(ShowCompactResponseElement &a, ShowCompactResponseElement &b) { swap(a.__isset, b.__isset); } -ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other557) { - dbname = other557.dbname; - tablename = other557.tablename; - partitionname = other557.partitionname; - type = other557.type; - state = other557.state; - workerid = other557.workerid; - start = other557.start; - runAs = other557.runAs; - hightestTxnId = other557.hightestTxnId; - metaInfo = other557.metaInfo; - endTime = other557.endTime; - hadoopJobId = other557.hadoopJobId; - __isset = other557.__isset; -} -ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other558) { - dbname = other558.dbname; - tablename = other558.tablename; - partitionname = other558.partitionname; - type = other558.type; - state = other558.state; - workerid = other558.workerid; - start = other558.start; - runAs = other558.runAs; - hightestTxnId = other558.hightestTxnId; - metaInfo = other558.metaInfo; - endTime = other558.endTime; - hadoopJobId = other558.hadoopJobId; - __isset = other558.__isset; +ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other565) { + dbname = other565.dbname; + tablename = other565.tablename; + partitionname = other565.partitionname; + type = other565.type; + state = other565.state; + workerid = other565.workerid; + start = other565.start; + runAs = other565.runAs; + hightestTxnId = other565.hightestTxnId; + metaInfo = other565.metaInfo; + endTime = other565.endTime; + hadoopJobId = other565.hadoopJobId; + __isset = other565.__isset; +} +ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other566) { + dbname = other566.dbname; + tablename = other566.tablename; + partitionname = other566.partitionname; + type = other566.type; + state = other566.state; + workerid = other566.workerid; + start = other566.start; + runAs = other566.runAs; + hightestTxnId = other566.hightestTxnId; + metaInfo = other566.metaInfo; + endTime = other566.endTime; + hadoopJobId = other566.hadoopJobId; + __isset = other566.__isset; return *this; } void ShowCompactResponseElement::printTo(std::ostream& out) const { @@ -13422,14 +13528,14 @@ uint32_t ShowCompactResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->compacts.clear(); - uint32_t _size559; - ::apache::thrift::protocol::TType _etype562; - xfer += iprot->readListBegin(_etype562, _size559); - this->compacts.resize(_size559); - uint32_t _i563; - for (_i563 = 0; _i563 < _size559; ++_i563) + uint32_t _size567; + ::apache::thrift::protocol::TType _etype570; + xfer += iprot->readListBegin(_etype570, _size567); + this->compacts.resize(_size567); + uint32_t _i571; + for (_i571 = 0; _i571 < _size567; ++_i571) { - xfer += this->compacts[_i563].read(iprot); + xfer += this->compacts[_i571].read(iprot); } xfer += iprot->readListEnd(); } @@ -13460,10 +13566,10 @@ uint32_t ShowCompactResponse::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldBegin("compacts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->compacts.size())); - std::vector ::const_iterator _iter564; - for (_iter564 = this->compacts.begin(); _iter564 != this->compacts.end(); ++_iter564) + std::vector ::const_iterator _iter572; + for (_iter572 = this->compacts.begin(); _iter572 != this->compacts.end(); ++_iter572) { - xfer += (*_iter564).write(oprot); + xfer += (*_iter572).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13479,11 +13585,11 @@ void swap(ShowCompactResponse &a, ShowCompactResponse &b) { swap(a.compacts, b.compacts); } -ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other565) { - compacts = other565.compacts; +ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other573) { + compacts = other573.compacts; } -ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other566) { - compacts = other566.compacts; +ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other574) { + compacts = other574.compacts; return *this; } void ShowCompactResponse::printTo(std::ostream& out) const { @@ -13567,14 +13673,14 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionnames.clear(); - uint32_t _size567; - ::apache::thrift::protocol::TType _etype570; - xfer += iprot->readListBegin(_etype570, _size567); - this->partitionnames.resize(_size567); - uint32_t _i571; - for (_i571 = 0; _i571 < _size567; ++_i571) + uint32_t _size575; + ::apache::thrift::protocol::TType _etype578; + xfer += iprot->readListBegin(_etype578, _size575); + this->partitionnames.resize(_size575); + uint32_t _i579; + for (_i579 = 0; _i579 < _size575; ++_i579) { - xfer += iprot->readString(this->partitionnames[_i571]); + xfer += iprot->readString(this->partitionnames[_i579]); } xfer += iprot->readListEnd(); } @@ -13623,10 +13729,10 @@ uint32_t AddDynamicPartitions::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("partitionnames", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partitionnames.size())); - std::vector ::const_iterator _iter572; - for (_iter572 = this->partitionnames.begin(); _iter572 != this->partitionnames.end(); ++_iter572) + std::vector ::const_iterator _iter580; + for (_iter580 = this->partitionnames.begin(); _iter580 != this->partitionnames.end(); ++_iter580) { - xfer += oprot->writeString((*_iter572)); + xfer += oprot->writeString((*_iter580)); } xfer += oprot->writeListEnd(); } @@ -13645,17 +13751,17 @@ void swap(AddDynamicPartitions &a, AddDynamicPartitions &b) { swap(a.partitionnames, b.partitionnames); } -AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other573) { - txnid = other573.txnid; - dbname = other573.dbname; - tablename = other573.tablename; - partitionnames = other573.partitionnames; +AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other581) { + txnid = other581.txnid; + dbname = other581.dbname; + tablename = other581.tablename; + partitionnames = other581.partitionnames; } -AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other574) { - txnid = other574.txnid; - dbname = other574.dbname; - tablename = other574.tablename; - partitionnames = other574.partitionnames; +AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other582) { + txnid = other582.txnid; + dbname = other582.dbname; + tablename = other582.tablename; + partitionnames = other582.partitionnames; return *this; } void AddDynamicPartitions::printTo(std::ostream& out) const { @@ -13760,15 +13866,15 @@ void swap(NotificationEventRequest &a, NotificationEventRequest &b) { swap(a.__isset, b.__isset); } -NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other575) { - lastEvent = other575.lastEvent; - maxEvents = other575.maxEvents; - __isset = other575.__isset; +NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other583) { + lastEvent = other583.lastEvent; + maxEvents = other583.maxEvents; + __isset = other583.__isset; } -NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other576) { - lastEvent = other576.lastEvent; - maxEvents = other576.maxEvents; - __isset = other576.__isset; +NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other584) { + lastEvent = other584.lastEvent; + maxEvents = other584.maxEvents; + __isset = other584.__isset; return *this; } void NotificationEventRequest::printTo(std::ostream& out) const { @@ -13950,23 +14056,23 @@ void swap(NotificationEvent &a, NotificationEvent &b) { swap(a.__isset, b.__isset); } -NotificationEvent::NotificationEvent(const NotificationEvent& other577) { - eventId = other577.eventId; - eventTime = other577.eventTime; - eventType = other577.eventType; - dbName = other577.dbName; - tableName = other577.tableName; - message = other577.message; - __isset = other577.__isset; -} -NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other578) { - eventId = other578.eventId; - eventTime = other578.eventTime; - eventType = other578.eventType; - dbName = other578.dbName; - tableName = other578.tableName; - message = other578.message; - __isset = other578.__isset; +NotificationEvent::NotificationEvent(const NotificationEvent& other585) { + eventId = other585.eventId; + eventTime = other585.eventTime; + eventType = other585.eventType; + dbName = other585.dbName; + tableName = other585.tableName; + message = other585.message; + __isset = other585.__isset; +} +NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other586) { + eventId = other586.eventId; + eventTime = other586.eventTime; + eventType = other586.eventType; + dbName = other586.dbName; + tableName = other586.tableName; + message = other586.message; + __isset = other586.__isset; return *this; } void NotificationEvent::printTo(std::ostream& out) const { @@ -14016,14 +14122,14 @@ uint32_t NotificationEventResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->events.clear(); - uint32_t _size579; - ::apache::thrift::protocol::TType _etype582; - xfer += iprot->readListBegin(_etype582, _size579); - this->events.resize(_size579); - uint32_t _i583; - for (_i583 = 0; _i583 < _size579; ++_i583) + uint32_t _size587; + ::apache::thrift::protocol::TType _etype590; + xfer += iprot->readListBegin(_etype590, _size587); + this->events.resize(_size587); + uint32_t _i591; + for (_i591 = 0; _i591 < _size587; ++_i591) { - xfer += this->events[_i583].read(iprot); + xfer += this->events[_i591].read(iprot); } xfer += iprot->readListEnd(); } @@ -14054,10 +14160,10 @@ uint32_t NotificationEventResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("events", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->events.size())); - std::vector ::const_iterator _iter584; - for (_iter584 = this->events.begin(); _iter584 != this->events.end(); ++_iter584) + std::vector ::const_iterator _iter592; + for (_iter592 = this->events.begin(); _iter592 != this->events.end(); ++_iter592) { - xfer += (*_iter584).write(oprot); + xfer += (*_iter592).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14073,11 +14179,11 @@ void swap(NotificationEventResponse &a, NotificationEventResponse &b) { swap(a.events, b.events); } -NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other585) { - events = other585.events; +NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other593) { + events = other593.events; } -NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other586) { - events = other586.events; +NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other594) { + events = other594.events; return *this; } void NotificationEventResponse::printTo(std::ostream& out) const { @@ -14159,11 +14265,11 @@ void swap(CurrentNotificationEventId &a, CurrentNotificationEventId &b) { swap(a.eventId, b.eventId); } -CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other587) { - eventId = other587.eventId; +CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other595) { + eventId = other595.eventId; } -CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other588) { - eventId = other588.eventId; +CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other596) { + eventId = other596.eventId; return *this; } void CurrentNotificationEventId::printTo(std::ostream& out) const { @@ -14208,14 +14314,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAdded.clear(); - uint32_t _size589; - ::apache::thrift::protocol::TType _etype592; - xfer += iprot->readListBegin(_etype592, _size589); - this->filesAdded.resize(_size589); - uint32_t _i593; - for (_i593 = 0; _i593 < _size589; ++_i593) + uint32_t _size597; + ::apache::thrift::protocol::TType _etype600; + xfer += iprot->readListBegin(_etype600, _size597); + this->filesAdded.resize(_size597); + uint32_t _i601; + for (_i601 = 0; _i601 < _size597; ++_i601) { - xfer += iprot->readString(this->filesAdded[_i593]); + xfer += iprot->readString(this->filesAdded[_i601]); } xfer += iprot->readListEnd(); } @@ -14246,10 +14352,10 @@ uint32_t InsertEventRequestData::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("filesAdded", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->filesAdded.size())); - std::vector ::const_iterator _iter594; - for (_iter594 = this->filesAdded.begin(); _iter594 != this->filesAdded.end(); ++_iter594) + std::vector ::const_iterator _iter602; + for (_iter602 = this->filesAdded.begin(); _iter602 != this->filesAdded.end(); ++_iter602) { - xfer += oprot->writeString((*_iter594)); + xfer += oprot->writeString((*_iter602)); } xfer += oprot->writeListEnd(); } @@ -14265,11 +14371,11 @@ void swap(InsertEventRequestData &a, InsertEventRequestData &b) { swap(a.filesAdded, b.filesAdded); } -InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other595) { - filesAdded = other595.filesAdded; +InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other603) { + filesAdded = other603.filesAdded; } -InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other596) { - filesAdded = other596.filesAdded; +InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other604) { + filesAdded = other604.filesAdded; return *this; } void InsertEventRequestData::printTo(std::ostream& out) const { @@ -14349,13 +14455,13 @@ void swap(FireEventRequestData &a, FireEventRequestData &b) { swap(a.__isset, b.__isset); } -FireEventRequestData::FireEventRequestData(const FireEventRequestData& other597) { - insertData = other597.insertData; - __isset = other597.__isset; +FireEventRequestData::FireEventRequestData(const FireEventRequestData& other605) { + insertData = other605.insertData; + __isset = other605.__isset; } -FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other598) { - insertData = other598.insertData; - __isset = other598.__isset; +FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other606) { + insertData = other606.insertData; + __isset = other606.__isset; return *this; } void FireEventRequestData::printTo(std::ostream& out) const { @@ -14452,14 +14558,14 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionVals.clear(); - uint32_t _size599; - ::apache::thrift::protocol::TType _etype602; - xfer += iprot->readListBegin(_etype602, _size599); - this->partitionVals.resize(_size599); - uint32_t _i603; - for (_i603 = 0; _i603 < _size599; ++_i603) + uint32_t _size607; + ::apache::thrift::protocol::TType _etype610; + xfer += iprot->readListBegin(_etype610, _size607); + this->partitionVals.resize(_size607); + uint32_t _i611; + for (_i611 = 0; _i611 < _size607; ++_i611) { - xfer += iprot->readString(this->partitionVals[_i603]); + xfer += iprot->readString(this->partitionVals[_i611]); } xfer += iprot->readListEnd(); } @@ -14511,10 +14617,10 @@ uint32_t FireEventRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("partitionVals", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partitionVals.size())); - std::vector ::const_iterator _iter604; - for (_iter604 = this->partitionVals.begin(); _iter604 != this->partitionVals.end(); ++_iter604) + std::vector ::const_iterator _iter612; + for (_iter612 = this->partitionVals.begin(); _iter612 != this->partitionVals.end(); ++_iter612) { - xfer += oprot->writeString((*_iter604)); + xfer += oprot->writeString((*_iter612)); } xfer += oprot->writeListEnd(); } @@ -14535,21 +14641,21 @@ void swap(FireEventRequest &a, FireEventRequest &b) { swap(a.__isset, b.__isset); } -FireEventRequest::FireEventRequest(const FireEventRequest& other605) { - successful = other605.successful; - data = other605.data; - dbName = other605.dbName; - tableName = other605.tableName; - partitionVals = other605.partitionVals; - __isset = other605.__isset; +FireEventRequest::FireEventRequest(const FireEventRequest& other613) { + successful = other613.successful; + data = other613.data; + dbName = other613.dbName; + tableName = other613.tableName; + partitionVals = other613.partitionVals; + __isset = other613.__isset; } -FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other606) { - successful = other606.successful; - data = other606.data; - dbName = other606.dbName; - tableName = other606.tableName; - partitionVals = other606.partitionVals; - __isset = other606.__isset; +FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other614) { + successful = other614.successful; + data = other614.data; + dbName = other614.dbName; + tableName = other614.tableName; + partitionVals = other614.partitionVals; + __isset = other614.__isset; return *this; } void FireEventRequest::printTo(std::ostream& out) const { @@ -14612,11 +14718,11 @@ void swap(FireEventResponse &a, FireEventResponse &b) { (void) b; } -FireEventResponse::FireEventResponse(const FireEventResponse& other607) { - (void) other607; +FireEventResponse::FireEventResponse(const FireEventResponse& other615) { + (void) other615; } -FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other608) { - (void) other608; +FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other616) { + (void) other616; return *this; } void FireEventResponse::printTo(std::ostream& out) const { @@ -14697,11 +14803,11 @@ void swap(GetChangeVersionRequest &a, GetChangeVersionRequest &b) { swap(a.topic, b.topic); } -GetChangeVersionRequest::GetChangeVersionRequest(const GetChangeVersionRequest& other609) { - topic = other609.topic; +GetChangeVersionRequest::GetChangeVersionRequest(const GetChangeVersionRequest& other617) { + topic = other617.topic; } -GetChangeVersionRequest& GetChangeVersionRequest::operator=(const GetChangeVersionRequest& other610) { - topic = other610.topic; +GetChangeVersionRequest& GetChangeVersionRequest::operator=(const GetChangeVersionRequest& other618) { + topic = other618.topic; return *this; } void GetChangeVersionRequest::printTo(std::ostream& out) const { @@ -14783,11 +14889,11 @@ void swap(GetChangeVersionResult &a, GetChangeVersionResult &b) { swap(a.version, b.version); } -GetChangeVersionResult::GetChangeVersionResult(const GetChangeVersionResult& other611) { - version = other611.version; +GetChangeVersionResult::GetChangeVersionResult(const GetChangeVersionResult& other619) { + version = other619.version; } -GetChangeVersionResult& GetChangeVersionResult::operator=(const GetChangeVersionResult& other612) { - version = other612.version; +GetChangeVersionResult& GetChangeVersionResult::operator=(const GetChangeVersionResult& other620) { + version = other620.version; return *this; } void GetChangeVersionResult::printTo(std::ostream& out) const { @@ -14888,15 +14994,15 @@ void swap(MetadataPpdResult &a, MetadataPpdResult &b) { swap(a.__isset, b.__isset); } -MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other613) { - metadata = other613.metadata; - includeBitset = other613.includeBitset; - __isset = other613.__isset; +MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other621) { + metadata = other621.metadata; + includeBitset = other621.includeBitset; + __isset = other621.__isset; } -MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other614) { - metadata = other614.metadata; - includeBitset = other614.includeBitset; - __isset = other614.__isset; +MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other622) { + metadata = other622.metadata; + includeBitset = other622.includeBitset; + __isset = other622.__isset; return *this; } void MetadataPpdResult::printTo(std::ostream& out) const { @@ -14947,17 +15053,17 @@ uint32_t GetFileMetadataByExprResult::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size615; - ::apache::thrift::protocol::TType _ktype616; - ::apache::thrift::protocol::TType _vtype617; - xfer += iprot->readMapBegin(_ktype616, _vtype617, _size615); - uint32_t _i619; - for (_i619 = 0; _i619 < _size615; ++_i619) + uint32_t _size623; + ::apache::thrift::protocol::TType _ktype624; + ::apache::thrift::protocol::TType _vtype625; + xfer += iprot->readMapBegin(_ktype624, _vtype625, _size623); + uint32_t _i627; + for (_i627 = 0; _i627 < _size623; ++_i627) { - int64_t _key620; - xfer += iprot->readI64(_key620); - MetadataPpdResult& _val621 = this->metadata[_key620]; - xfer += _val621.read(iprot); + int64_t _key628; + xfer += iprot->readI64(_key628); + MetadataPpdResult& _val629 = this->metadata[_key628]; + xfer += _val629.read(iprot); } xfer += iprot->readMapEnd(); } @@ -14998,11 +15104,11 @@ uint32_t GetFileMetadataByExprResult::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldBegin("metadata", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I64, ::apache::thrift::protocol::T_STRUCT, static_cast(this->metadata.size())); - std::map ::const_iterator _iter622; - for (_iter622 = this->metadata.begin(); _iter622 != this->metadata.end(); ++_iter622) + std::map ::const_iterator _iter630; + for (_iter630 = this->metadata.begin(); _iter630 != this->metadata.end(); ++_iter630) { - xfer += oprot->writeI64(_iter622->first); - xfer += _iter622->second.write(oprot); + xfer += oprot->writeI64(_iter630->first); + xfer += _iter630->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -15023,13 +15129,13 @@ void swap(GetFileMetadataByExprResult &a, GetFileMetadataByExprResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other623) { - metadata = other623.metadata; - isSupported = other623.isSupported; +GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other631) { + metadata = other631.metadata; + isSupported = other631.isSupported; } -GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other624) { - metadata = other624.metadata; - isSupported = other624.isSupported; +GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other632) { + metadata = other632.metadata; + isSupported = other632.isSupported; return *this; } void GetFileMetadataByExprResult::printTo(std::ostream& out) const { @@ -15090,14 +15196,14 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size625; - ::apache::thrift::protocol::TType _etype628; - xfer += iprot->readListBegin(_etype628, _size625); - this->fileIds.resize(_size625); - uint32_t _i629; - for (_i629 = 0; _i629 < _size625; ++_i629) + uint32_t _size633; + ::apache::thrift::protocol::TType _etype636; + xfer += iprot->readListBegin(_etype636, _size633); + this->fileIds.resize(_size633); + uint32_t _i637; + for (_i637 = 0; _i637 < _size633; ++_i637) { - xfer += iprot->readI64(this->fileIds[_i629]); + xfer += iprot->readI64(this->fileIds[_i637]); } xfer += iprot->readListEnd(); } @@ -15124,9 +15230,9 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast630; - xfer += iprot->readI32(ecast630); - this->type = (FileMetadataExprType::type)ecast630; + int32_t ecast638; + xfer += iprot->readI32(ecast638); + this->type = (FileMetadataExprType::type)ecast638; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -15156,10 +15262,10 @@ uint32_t GetFileMetadataByExprRequest::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter631; - for (_iter631 = this->fileIds.begin(); _iter631 != this->fileIds.end(); ++_iter631) + std::vector ::const_iterator _iter639; + for (_iter639 = this->fileIds.begin(); _iter639 != this->fileIds.end(); ++_iter639) { - xfer += oprot->writeI64((*_iter631)); + xfer += oprot->writeI64((*_iter639)); } xfer += oprot->writeListEnd(); } @@ -15193,19 +15299,19 @@ void swap(GetFileMetadataByExprRequest &a, GetFileMetadataByExprRequest &b) { swap(a.__isset, b.__isset); } -GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other632) { - fileIds = other632.fileIds; - expr = other632.expr; - doGetFooters = other632.doGetFooters; - type = other632.type; - __isset = other632.__isset; +GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other640) { + fileIds = other640.fileIds; + expr = other640.expr; + doGetFooters = other640.doGetFooters; + type = other640.type; + __isset = other640.__isset; } -GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other633) { - fileIds = other633.fileIds; - expr = other633.expr; - doGetFooters = other633.doGetFooters; - type = other633.type; - __isset = other633.__isset; +GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other641) { + fileIds = other641.fileIds; + expr = other641.expr; + doGetFooters = other641.doGetFooters; + type = other641.type; + __isset = other641.__isset; return *this; } void GetFileMetadataByExprRequest::printTo(std::ostream& out) const { @@ -15258,17 +15364,17 @@ uint32_t GetFileMetadataResult::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size634; - ::apache::thrift::protocol::TType _ktype635; - ::apache::thrift::protocol::TType _vtype636; - xfer += iprot->readMapBegin(_ktype635, _vtype636, _size634); - uint32_t _i638; - for (_i638 = 0; _i638 < _size634; ++_i638) + uint32_t _size642; + ::apache::thrift::protocol::TType _ktype643; + ::apache::thrift::protocol::TType _vtype644; + xfer += iprot->readMapBegin(_ktype643, _vtype644, _size642); + uint32_t _i646; + for (_i646 = 0; _i646 < _size642; ++_i646) { - int64_t _key639; - xfer += iprot->readI64(_key639); - std::string& _val640 = this->metadata[_key639]; - xfer += iprot->readBinary(_val640); + int64_t _key647; + xfer += iprot->readI64(_key647); + std::string& _val648 = this->metadata[_key647]; + xfer += iprot->readBinary(_val648); } xfer += iprot->readMapEnd(); } @@ -15309,11 +15415,11 @@ uint32_t GetFileMetadataResult::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldBegin("metadata", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I64, ::apache::thrift::protocol::T_STRING, static_cast(this->metadata.size())); - std::map ::const_iterator _iter641; - for (_iter641 = this->metadata.begin(); _iter641 != this->metadata.end(); ++_iter641) + std::map ::const_iterator _iter649; + for (_iter649 = this->metadata.begin(); _iter649 != this->metadata.end(); ++_iter649) { - xfer += oprot->writeI64(_iter641->first); - xfer += oprot->writeBinary(_iter641->second); + xfer += oprot->writeI64(_iter649->first); + xfer += oprot->writeBinary(_iter649->second); } xfer += oprot->writeMapEnd(); } @@ -15334,13 +15440,13 @@ void swap(GetFileMetadataResult &a, GetFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other642) { - metadata = other642.metadata; - isSupported = other642.isSupported; +GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other650) { + metadata = other650.metadata; + isSupported = other650.isSupported; } -GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other643) { - metadata = other643.metadata; - isSupported = other643.isSupported; +GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other651) { + metadata = other651.metadata; + isSupported = other651.isSupported; return *this; } void GetFileMetadataResult::printTo(std::ostream& out) const { @@ -15386,14 +15492,14 @@ uint32_t GetFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size644; - ::apache::thrift::protocol::TType _etype647; - xfer += iprot->readListBegin(_etype647, _size644); - this->fileIds.resize(_size644); - uint32_t _i648; - for (_i648 = 0; _i648 < _size644; ++_i648) + uint32_t _size652; + ::apache::thrift::protocol::TType _etype655; + xfer += iprot->readListBegin(_etype655, _size652); + this->fileIds.resize(_size652); + uint32_t _i656; + for (_i656 = 0; _i656 < _size652; ++_i656) { - xfer += iprot->readI64(this->fileIds[_i648]); + xfer += iprot->readI64(this->fileIds[_i656]); } xfer += iprot->readListEnd(); } @@ -15424,10 +15530,10 @@ uint32_t GetFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter649; - for (_iter649 = this->fileIds.begin(); _iter649 != this->fileIds.end(); ++_iter649) + std::vector ::const_iterator _iter657; + for (_iter657 = this->fileIds.begin(); _iter657 != this->fileIds.end(); ++_iter657) { - xfer += oprot->writeI64((*_iter649)); + xfer += oprot->writeI64((*_iter657)); } xfer += oprot->writeListEnd(); } @@ -15443,11 +15549,11 @@ void swap(GetFileMetadataRequest &a, GetFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other650) { - fileIds = other650.fileIds; +GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other658) { + fileIds = other658.fileIds; } -GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other651) { - fileIds = other651.fileIds; +GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other659) { + fileIds = other659.fileIds; return *this; } void GetFileMetadataRequest::printTo(std::ostream& out) const { @@ -15506,11 +15612,11 @@ void swap(PutFileMetadataResult &a, PutFileMetadataResult &b) { (void) b; } -PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other652) { - (void) other652; +PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other660) { + (void) other660; } -PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other653) { - (void) other653; +PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other661) { + (void) other661; return *this; } void PutFileMetadataResult::printTo(std::ostream& out) const { @@ -15564,14 +15670,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size654; - ::apache::thrift::protocol::TType _etype657; - xfer += iprot->readListBegin(_etype657, _size654); - this->fileIds.resize(_size654); - uint32_t _i658; - for (_i658 = 0; _i658 < _size654; ++_i658) + uint32_t _size662; + ::apache::thrift::protocol::TType _etype665; + xfer += iprot->readListBegin(_etype665, _size662); + this->fileIds.resize(_size662); + uint32_t _i666; + for (_i666 = 0; _i666 < _size662; ++_i666) { - xfer += iprot->readI64(this->fileIds[_i658]); + xfer += iprot->readI64(this->fileIds[_i666]); } xfer += iprot->readListEnd(); } @@ -15584,14 +15690,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->metadata.clear(); - uint32_t _size659; - ::apache::thrift::protocol::TType _etype662; - xfer += iprot->readListBegin(_etype662, _size659); - this->metadata.resize(_size659); - uint32_t _i663; - for (_i663 = 0; _i663 < _size659; ++_i663) + uint32_t _size667; + ::apache::thrift::protocol::TType _etype670; + xfer += iprot->readListBegin(_etype670, _size667); + this->metadata.resize(_size667); + uint32_t _i671; + for (_i671 = 0; _i671 < _size667; ++_i671) { - xfer += iprot->readBinary(this->metadata[_i663]); + xfer += iprot->readBinary(this->metadata[_i671]); } xfer += iprot->readListEnd(); } @@ -15602,9 +15708,9 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast664; - xfer += iprot->readI32(ecast664); - this->type = (FileMetadataExprType::type)ecast664; + int32_t ecast672; + xfer += iprot->readI32(ecast672); + this->type = (FileMetadataExprType::type)ecast672; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -15634,10 +15740,10 @@ uint32_t PutFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter665; - for (_iter665 = this->fileIds.begin(); _iter665 != this->fileIds.end(); ++_iter665) + std::vector ::const_iterator _iter673; + for (_iter673 = this->fileIds.begin(); _iter673 != this->fileIds.end(); ++_iter673) { - xfer += oprot->writeI64((*_iter665)); + xfer += oprot->writeI64((*_iter673)); } xfer += oprot->writeListEnd(); } @@ -15646,10 +15752,10 @@ uint32_t PutFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("metadata", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->metadata.size())); - std::vector ::const_iterator _iter666; - for (_iter666 = this->metadata.begin(); _iter666 != this->metadata.end(); ++_iter666) + std::vector ::const_iterator _iter674; + for (_iter674 = this->metadata.begin(); _iter674 != this->metadata.end(); ++_iter674) { - xfer += oprot->writeBinary((*_iter666)); + xfer += oprot->writeBinary((*_iter674)); } xfer += oprot->writeListEnd(); } @@ -15673,17 +15779,17 @@ void swap(PutFileMetadataRequest &a, PutFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other667) { - fileIds = other667.fileIds; - metadata = other667.metadata; - type = other667.type; - __isset = other667.__isset; +PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other675) { + fileIds = other675.fileIds; + metadata = other675.metadata; + type = other675.type; + __isset = other675.__isset; } -PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other668) { - fileIds = other668.fileIds; - metadata = other668.metadata; - type = other668.type; - __isset = other668.__isset; +PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other676) { + fileIds = other676.fileIds; + metadata = other676.metadata; + type = other676.type; + __isset = other676.__isset; return *this; } void PutFileMetadataRequest::printTo(std::ostream& out) const { @@ -15744,11 +15850,11 @@ void swap(ClearFileMetadataResult &a, ClearFileMetadataResult &b) { (void) b; } -ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other669) { - (void) other669; +ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other677) { + (void) other677; } -ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other670) { - (void) other670; +ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other678) { + (void) other678; return *this; } void ClearFileMetadataResult::printTo(std::ostream& out) const { @@ -15792,14 +15898,14 @@ uint32_t ClearFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size671; - ::apache::thrift::protocol::TType _etype674; - xfer += iprot->readListBegin(_etype674, _size671); - this->fileIds.resize(_size671); - uint32_t _i675; - for (_i675 = 0; _i675 < _size671; ++_i675) + uint32_t _size679; + ::apache::thrift::protocol::TType _etype682; + xfer += iprot->readListBegin(_etype682, _size679); + this->fileIds.resize(_size679); + uint32_t _i683; + for (_i683 = 0; _i683 < _size679; ++_i683) { - xfer += iprot->readI64(this->fileIds[_i675]); + xfer += iprot->readI64(this->fileIds[_i683]); } xfer += iprot->readListEnd(); } @@ -15830,10 +15936,10 @@ uint32_t ClearFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter676; - for (_iter676 = this->fileIds.begin(); _iter676 != this->fileIds.end(); ++_iter676) + std::vector ::const_iterator _iter684; + for (_iter684 = this->fileIds.begin(); _iter684 != this->fileIds.end(); ++_iter684) { - xfer += oprot->writeI64((*_iter676)); + xfer += oprot->writeI64((*_iter684)); } xfer += oprot->writeListEnd(); } @@ -15849,11 +15955,11 @@ void swap(ClearFileMetadataRequest &a, ClearFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other677) { - fileIds = other677.fileIds; +ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other685) { + fileIds = other685.fileIds; } -ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other678) { - fileIds = other678.fileIds; +ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other686) { + fileIds = other686.fileIds; return *this; } void ClearFileMetadataRequest::printTo(std::ostream& out) const { @@ -15935,11 +16041,11 @@ void swap(CacheFileMetadataResult &a, CacheFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other679) { - isSupported = other679.isSupported; +CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other687) { + isSupported = other687.isSupported; } -CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other680) { - isSupported = other680.isSupported; +CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other688) { + isSupported = other688.isSupported; return *this; } void CacheFileMetadataResult::printTo(std::ostream& out) const { @@ -16080,19 +16186,19 @@ void swap(CacheFileMetadataRequest &a, CacheFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other681) { - dbName = other681.dbName; - tblName = other681.tblName; - partName = other681.partName; - isAllParts = other681.isAllParts; - __isset = other681.__isset; +CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other689) { + dbName = other689.dbName; + tblName = other689.tblName; + partName = other689.partName; + isAllParts = other689.isAllParts; + __isset = other689.__isset; } -CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other682) { - dbName = other682.dbName; - tblName = other682.tblName; - partName = other682.partName; - isAllParts = other682.isAllParts; - __isset = other682.__isset; +CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other690) { + dbName = other690.dbName; + tblName = other690.tblName; + partName = other690.partName; + isAllParts = other690.isAllParts; + __isset = other690.__isset; return *this; } void CacheFileMetadataRequest::printTo(std::ostream& out) const { @@ -16140,14 +16246,14 @@ uint32_t GetAllFunctionsResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->functions.clear(); - uint32_t _size683; - ::apache::thrift::protocol::TType _etype686; - xfer += iprot->readListBegin(_etype686, _size683); - this->functions.resize(_size683); - uint32_t _i687; - for (_i687 = 0; _i687 < _size683; ++_i687) + uint32_t _size691; + ::apache::thrift::protocol::TType _etype694; + xfer += iprot->readListBegin(_etype694, _size691); + this->functions.resize(_size691); + uint32_t _i695; + for (_i695 = 0; _i695 < _size691; ++_i695) { - xfer += this->functions[_i687].read(iprot); + xfer += this->functions[_i695].read(iprot); } xfer += iprot->readListEnd(); } @@ -16177,10 +16283,10 @@ uint32_t GetAllFunctionsResponse::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldBegin("functions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->functions.size())); - std::vector ::const_iterator _iter688; - for (_iter688 = this->functions.begin(); _iter688 != this->functions.end(); ++_iter688) + std::vector ::const_iterator _iter696; + for (_iter696 = this->functions.begin(); _iter696 != this->functions.end(); ++_iter696) { - xfer += (*_iter688).write(oprot); + xfer += (*_iter696).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16197,13 +16303,13 @@ void swap(GetAllFunctionsResponse &a, GetAllFunctionsResponse &b) { swap(a.__isset, b.__isset); } -GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other689) { - functions = other689.functions; - __isset = other689.__isset; +GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other697) { + functions = other697.functions; + __isset = other697.__isset; } -GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other690) { - functions = other690.functions; - __isset = other690.__isset; +GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other698) { + functions = other698.functions; + __isset = other698.__isset; return *this; } void GetAllFunctionsResponse::printTo(std::ostream& out) const { @@ -16345,19 +16451,19 @@ void swap(TableMeta &a, TableMeta &b) { swap(a.__isset, b.__isset); } -TableMeta::TableMeta(const TableMeta& other691) { - dbName = other691.dbName; - tableName = other691.tableName; - tableType = other691.tableType; - comments = other691.comments; - __isset = other691.__isset; +TableMeta::TableMeta(const TableMeta& other699) { + dbName = other699.dbName; + tableName = other699.tableName; + tableType = other699.tableType; + comments = other699.comments; + __isset = other699.__isset; } -TableMeta& TableMeta::operator=(const TableMeta& other692) { - dbName = other692.dbName; - tableName = other692.tableName; - tableType = other692.tableType; - comments = other692.comments; - __isset = other692.__isset; +TableMeta& TableMeta::operator=(const TableMeta& other700) { + dbName = other700.dbName; + tableName = other700.tableName; + tableType = other700.tableType; + comments = other700.comments; + __isset = other700.__isset; return *this; } void TableMeta::printTo(std::ostream& out) const { @@ -16440,13 +16546,13 @@ void swap(MetaException &a, MetaException &b) { swap(a.__isset, b.__isset); } -MetaException::MetaException(const MetaException& other693) : TException() { - message = other693.message; - __isset = other693.__isset; +MetaException::MetaException(const MetaException& other701) : TException() { + message = other701.message; + __isset = other701.__isset; } -MetaException& MetaException::operator=(const MetaException& other694) { - message = other694.message; - __isset = other694.__isset; +MetaException& MetaException::operator=(const MetaException& other702) { + message = other702.message; + __isset = other702.__isset; return *this; } void MetaException::printTo(std::ostream& out) const { @@ -16537,13 +16643,13 @@ void swap(UnknownTableException &a, UnknownTableException &b) { swap(a.__isset, b.__isset); } -UnknownTableException::UnknownTableException(const UnknownTableException& other695) : TException() { - message = other695.message; - __isset = other695.__isset; +UnknownTableException::UnknownTableException(const UnknownTableException& other703) : TException() { + message = other703.message; + __isset = other703.__isset; } -UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other696) { - message = other696.message; - __isset = other696.__isset; +UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other704) { + message = other704.message; + __isset = other704.__isset; return *this; } void UnknownTableException::printTo(std::ostream& out) const { @@ -16634,13 +16740,13 @@ void swap(UnknownDBException &a, UnknownDBException &b) { swap(a.__isset, b.__isset); } -UnknownDBException::UnknownDBException(const UnknownDBException& other697) : TException() { - message = other697.message; - __isset = other697.__isset; +UnknownDBException::UnknownDBException(const UnknownDBException& other705) : TException() { + message = other705.message; + __isset = other705.__isset; } -UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other698) { - message = other698.message; - __isset = other698.__isset; +UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other706) { + message = other706.message; + __isset = other706.__isset; return *this; } void UnknownDBException::printTo(std::ostream& out) const { @@ -16731,13 +16837,13 @@ void swap(AlreadyExistsException &a, AlreadyExistsException &b) { swap(a.__isset, b.__isset); } -AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other699) : TException() { - message = other699.message; - __isset = other699.__isset; +AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other707) : TException() { + message = other707.message; + __isset = other707.__isset; } -AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other700) { - message = other700.message; - __isset = other700.__isset; +AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other708) { + message = other708.message; + __isset = other708.__isset; return *this; } void AlreadyExistsException::printTo(std::ostream& out) const { @@ -16828,13 +16934,13 @@ void swap(InvalidPartitionException &a, InvalidPartitionException &b) { swap(a.__isset, b.__isset); } -InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other701) : TException() { - message = other701.message; - __isset = other701.__isset; +InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other709) : TException() { + message = other709.message; + __isset = other709.__isset; } -InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other702) { - message = other702.message; - __isset = other702.__isset; +InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other710) { + message = other710.message; + __isset = other710.__isset; return *this; } void InvalidPartitionException::printTo(std::ostream& out) const { @@ -16925,13 +17031,13 @@ void swap(UnknownPartitionException &a, UnknownPartitionException &b) { swap(a.__isset, b.__isset); } -UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other703) : TException() { - message = other703.message; - __isset = other703.__isset; +UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other711) : TException() { + message = other711.message; + __isset = other711.__isset; } -UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other704) { - message = other704.message; - __isset = other704.__isset; +UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other712) { + message = other712.message; + __isset = other712.__isset; return *this; } void UnknownPartitionException::printTo(std::ostream& out) const { @@ -17022,13 +17128,13 @@ void swap(InvalidObjectException &a, InvalidObjectException &b) { swap(a.__isset, b.__isset); } -InvalidObjectException::InvalidObjectException(const InvalidObjectException& other705) : TException() { - message = other705.message; - __isset = other705.__isset; +InvalidObjectException::InvalidObjectException(const InvalidObjectException& other713) : TException() { + message = other713.message; + __isset = other713.__isset; } -InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other706) { - message = other706.message; - __isset = other706.__isset; +InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other714) { + message = other714.message; + __isset = other714.__isset; return *this; } void InvalidObjectException::printTo(std::ostream& out) const { @@ -17119,13 +17225,13 @@ void swap(NoSuchObjectException &a, NoSuchObjectException &b) { swap(a.__isset, b.__isset); } -NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other707) : TException() { - message = other707.message; - __isset = other707.__isset; +NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other715) : TException() { + message = other715.message; + __isset = other715.__isset; } -NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other708) { - message = other708.message; - __isset = other708.__isset; +NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other716) { + message = other716.message; + __isset = other716.__isset; return *this; } void NoSuchObjectException::printTo(std::ostream& out) const { @@ -17216,13 +17322,13 @@ void swap(IndexAlreadyExistsException &a, IndexAlreadyExistsException &b) { swap(a.__isset, b.__isset); } -IndexAlreadyExistsException::IndexAlreadyExistsException(const IndexAlreadyExistsException& other709) : TException() { - message = other709.message; - __isset = other709.__isset; +IndexAlreadyExistsException::IndexAlreadyExistsException(const IndexAlreadyExistsException& other717) : TException() { + message = other717.message; + __isset = other717.__isset; } -IndexAlreadyExistsException& IndexAlreadyExistsException::operator=(const IndexAlreadyExistsException& other710) { - message = other710.message; - __isset = other710.__isset; +IndexAlreadyExistsException& IndexAlreadyExistsException::operator=(const IndexAlreadyExistsException& other718) { + message = other718.message; + __isset = other718.__isset; return *this; } void IndexAlreadyExistsException::printTo(std::ostream& out) const { @@ -17313,13 +17419,13 @@ void swap(InvalidOperationException &a, InvalidOperationException &b) { swap(a.__isset, b.__isset); } -InvalidOperationException::InvalidOperationException(const InvalidOperationException& other711) : TException() { - message = other711.message; - __isset = other711.__isset; +InvalidOperationException::InvalidOperationException(const InvalidOperationException& other719) : TException() { + message = other719.message; + __isset = other719.__isset; } -InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other712) { - message = other712.message; - __isset = other712.__isset; +InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other720) { + message = other720.message; + __isset = other720.__isset; return *this; } void InvalidOperationException::printTo(std::ostream& out) const { @@ -17410,13 +17516,13 @@ void swap(ConfigValSecurityException &a, ConfigValSecurityException &b) { swap(a.__isset, b.__isset); } -ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other713) : TException() { - message = other713.message; - __isset = other713.__isset; +ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other721) : TException() { + message = other721.message; + __isset = other721.__isset; } -ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other714) { - message = other714.message; - __isset = other714.__isset; +ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other722) { + message = other722.message; + __isset = other722.__isset; return *this; } void ConfigValSecurityException::printTo(std::ostream& out) const { @@ -17507,13 +17613,13 @@ void swap(InvalidInputException &a, InvalidInputException &b) { swap(a.__isset, b.__isset); } -InvalidInputException::InvalidInputException(const InvalidInputException& other715) : TException() { - message = other715.message; - __isset = other715.__isset; +InvalidInputException::InvalidInputException(const InvalidInputException& other723) : TException() { + message = other723.message; + __isset = other723.__isset; } -InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other716) { - message = other716.message; - __isset = other716.__isset; +InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other724) { + message = other724.message; + __isset = other724.__isset; return *this; } void InvalidInputException::printTo(std::ostream& out) const { @@ -17604,13 +17710,13 @@ void swap(NoSuchTxnException &a, NoSuchTxnException &b) { swap(a.__isset, b.__isset); } -NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other717) : TException() { - message = other717.message; - __isset = other717.__isset; +NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other725) : TException() { + message = other725.message; + __isset = other725.__isset; } -NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other718) { - message = other718.message; - __isset = other718.__isset; +NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other726) { + message = other726.message; + __isset = other726.__isset; return *this; } void NoSuchTxnException::printTo(std::ostream& out) const { @@ -17701,13 +17807,13 @@ void swap(TxnAbortedException &a, TxnAbortedException &b) { swap(a.__isset, b.__isset); } -TxnAbortedException::TxnAbortedException(const TxnAbortedException& other719) : TException() { - message = other719.message; - __isset = other719.__isset; +TxnAbortedException::TxnAbortedException(const TxnAbortedException& other727) : TException() { + message = other727.message; + __isset = other727.__isset; } -TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other720) { - message = other720.message; - __isset = other720.__isset; +TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other728) { + message = other728.message; + __isset = other728.__isset; return *this; } void TxnAbortedException::printTo(std::ostream& out) const { @@ -17798,13 +17904,13 @@ void swap(TxnOpenException &a, TxnOpenException &b) { swap(a.__isset, b.__isset); } -TxnOpenException::TxnOpenException(const TxnOpenException& other721) : TException() { - message = other721.message; - __isset = other721.__isset; +TxnOpenException::TxnOpenException(const TxnOpenException& other729) : TException() { + message = other729.message; + __isset = other729.__isset; } -TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other722) { - message = other722.message; - __isset = other722.__isset; +TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other730) { + message = other730.message; + __isset = other730.__isset; return *this; } void TxnOpenException::printTo(std::ostream& out) const { @@ -17895,13 +18001,13 @@ void swap(NoSuchLockException &a, NoSuchLockException &b) { swap(a.__isset, b.__isset); } -NoSuchLockException::NoSuchLockException(const NoSuchLockException& other723) : TException() { - message = other723.message; - __isset = other723.__isset; +NoSuchLockException::NoSuchLockException(const NoSuchLockException& other731) : TException() { + message = other731.message; + __isset = other731.__isset; } -NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other724) { - message = other724.message; - __isset = other724.__isset; +NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other732) { + message = other732.message; + __isset = other732.__isset; return *this; } void NoSuchLockException::printTo(std::ostream& out) const { diff --git metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h index 97c07a5..75cbd24 100644 --- metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h +++ metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h @@ -279,6 +279,8 @@ class OpenTxnsResponse; class AbortTxnRequest; +class AbortTxnsRequest; + class CommitTxnRequest; class LockComponent; @@ -4497,6 +4499,46 @@ inline std::ostream& operator<<(std::ostream& out, const AbortTxnRequest& obj) } +class AbortTxnsRequest { + public: + + AbortTxnsRequest(const AbortTxnsRequest&); + AbortTxnsRequest& operator=(const AbortTxnsRequest&); + AbortTxnsRequest() { + } + + virtual ~AbortTxnsRequest() throw(); + std::vector txn_ids; + + void __set_txn_ids(const std::vector & val); + + bool operator == (const AbortTxnsRequest & rhs) const + { + if (!(txn_ids == rhs.txn_ids)) + return false; + return true; + } + bool operator != (const AbortTxnsRequest &rhs) const { + return !(*this == rhs); + } + + bool operator < (const AbortTxnsRequest & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(AbortTxnsRequest &a, AbortTxnsRequest &b); + +inline std::ostream& operator<<(std::ostream& out, const AbortTxnsRequest& obj) +{ + obj.printTo(out); + return out; +} + + class CommitTxnRequest { public: diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java new file mode 100644 index 0000000..1bf4655 --- /dev/null +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java @@ -0,0 +1,438 @@ +/** + * Autogenerated by Thrift Compiler (0.9.3) + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +package org.apache.hadoop.hive.metastore.api; + +import org.apache.thrift.scheme.IScheme; +import org.apache.thrift.scheme.SchemeFactory; +import org.apache.thrift.scheme.StandardScheme; + +import org.apache.thrift.scheme.TupleScheme; +import org.apache.thrift.protocol.TTupleProtocol; +import org.apache.thrift.protocol.TProtocolException; +import org.apache.thrift.EncodingUtils; +import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.EnumMap; +import java.util.Set; +import java.util.HashSet; +import java.util.EnumSet; +import java.util.Collections; +import java.util.BitSet; +import java.nio.ByteBuffer; +import java.util.Arrays; +import javax.annotation.Generated; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)") +public class AbortTxnsRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AbortTxnsRequest"); + + private static final org.apache.thrift.protocol.TField TXN_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("txn_ids", org.apache.thrift.protocol.TType.LIST, (short)1); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new AbortTxnsRequestStandardSchemeFactory()); + schemes.put(TupleScheme.class, new AbortTxnsRequestTupleSchemeFactory()); + } + + private List txn_ids; // required + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + TXN_IDS((short)1, "txn_ids"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 1: // TXN_IDS + return TXN_IDS; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TXN_IDS, new org.apache.thrift.meta_data.FieldMetaData("txn_ids", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(AbortTxnsRequest.class, metaDataMap); + } + + public AbortTxnsRequest() { + } + + public AbortTxnsRequest( + List txn_ids) + { + this(); + this.txn_ids = txn_ids; + } + + /** + * Performs a deep copy on other. + */ + public AbortTxnsRequest(AbortTxnsRequest other) { + if (other.isSetTxn_ids()) { + List __this__txn_ids = new ArrayList(other.txn_ids); + this.txn_ids = __this__txn_ids; + } + } + + public AbortTxnsRequest deepCopy() { + return new AbortTxnsRequest(this); + } + + @Override + public void clear() { + this.txn_ids = null; + } + + public int getTxn_idsSize() { + return (this.txn_ids == null) ? 0 : this.txn_ids.size(); + } + + public java.util.Iterator getTxn_idsIterator() { + return (this.txn_ids == null) ? null : this.txn_ids.iterator(); + } + + public void addToTxn_ids(long elem) { + if (this.txn_ids == null) { + this.txn_ids = new ArrayList(); + } + this.txn_ids.add(elem); + } + + public List getTxn_ids() { + return this.txn_ids; + } + + public void setTxn_ids(List txn_ids) { + this.txn_ids = txn_ids; + } + + public void unsetTxn_ids() { + this.txn_ids = null; + } + + /** Returns true if field txn_ids is set (has been assigned a value) and false otherwise */ + public boolean isSetTxn_ids() { + return this.txn_ids != null; + } + + public void setTxn_idsIsSet(boolean value) { + if (!value) { + this.txn_ids = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case TXN_IDS: + if (value == null) { + unsetTxn_ids(); + } else { + setTxn_ids((List)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case TXN_IDS: + return getTxn_ids(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case TXN_IDS: + return isSetTxn_ids(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof AbortTxnsRequest) + return this.equals((AbortTxnsRequest)that); + return false; + } + + public boolean equals(AbortTxnsRequest that) { + if (that == null) + return false; + + boolean this_present_txn_ids = true && this.isSetTxn_ids(); + boolean that_present_txn_ids = true && that.isSetTxn_ids(); + if (this_present_txn_ids || that_present_txn_ids) { + if (!(this_present_txn_ids && that_present_txn_ids)) + return false; + if (!this.txn_ids.equals(that.txn_ids)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_txn_ids = true && (isSetTxn_ids()); + list.add(present_txn_ids); + if (present_txn_ids) + list.add(txn_ids); + + return list.hashCode(); + } + + @Override + public int compareTo(AbortTxnsRequest other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetTxn_ids()).compareTo(other.isSetTxn_ids()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTxn_ids()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txn_ids, other.txn_ids); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("AbortTxnsRequest("); + boolean first = true; + + sb.append("txn_ids:"); + if (this.txn_ids == null) { + sb.append("null"); + } else { + sb.append(this.txn_ids); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + if (!isSetTxn_ids()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'txn_ids' is unset! Struct:" + toString()); + } + + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class AbortTxnsRequestStandardSchemeFactory implements SchemeFactory { + public AbortTxnsRequestStandardScheme getScheme() { + return new AbortTxnsRequestStandardScheme(); + } + } + + private static class AbortTxnsRequestStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, AbortTxnsRequest struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // TXN_IDS + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list452 = iprot.readListBegin(); + struct.txn_ids = new ArrayList(_list452.size); + long _elem453; + for (int _i454 = 0; _i454 < _list452.size; ++_i454) + { + _elem453 = iprot.readI64(); + struct.txn_ids.add(_elem453); + } + iprot.readListEnd(); + } + struct.setTxn_idsIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, AbortTxnsRequest struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.txn_ids != null) { + oprot.writeFieldBegin(TXN_IDS_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.txn_ids.size())); + for (long _iter455 : struct.txn_ids) + { + oprot.writeI64(_iter455); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class AbortTxnsRequestTupleSchemeFactory implements SchemeFactory { + public AbortTxnsRequestTupleScheme getScheme() { + return new AbortTxnsRequestTupleScheme(); + } + } + + private static class AbortTxnsRequestTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, AbortTxnsRequest struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + { + oprot.writeI32(struct.txn_ids.size()); + for (long _iter456 : struct.txn_ids) + { + oprot.writeI64(_iter456); + } + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, AbortTxnsRequest struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + { + org.apache.thrift.protocol.TList _list457 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txn_ids = new ArrayList(_list457.size); + long _elem458; + for (int _i459 = 0; _i459 < _list457.size; ++_i459) + { + _elem458 = iprot.readI64(); + struct.txn_ids.add(_elem458); + } + } + struct.setTxn_idsIsSet(true); + } + } + +} + diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java index bb6e584..45140bc 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java @@ -630,13 +630,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddDynamicPartition case 4: // PARTITIONNAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list492 = iprot.readListBegin(); - struct.partitionnames = new ArrayList(_list492.size); - String _elem493; - for (int _i494 = 0; _i494 < _list492.size; ++_i494) + org.apache.thrift.protocol.TList _list500 = iprot.readListBegin(); + struct.partitionnames = new ArrayList(_list500.size); + String _elem501; + for (int _i502 = 0; _i502 < _list500.size; ++_i502) { - _elem493 = iprot.readString(); - struct.partitionnames.add(_elem493); + _elem501 = iprot.readString(); + struct.partitionnames.add(_elem501); } iprot.readListEnd(); } @@ -675,9 +675,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddDynamicPartitio oprot.writeFieldBegin(PARTITIONNAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionnames.size())); - for (String _iter495 : struct.partitionnames) + for (String _iter503 : struct.partitionnames) { - oprot.writeString(_iter495); + oprot.writeString(_iter503); } oprot.writeListEnd(); } @@ -705,9 +705,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartition oprot.writeString(struct.tablename); { oprot.writeI32(struct.partitionnames.size()); - for (String _iter496 : struct.partitionnames) + for (String _iter504 : struct.partitionnames) { - oprot.writeString(_iter496); + oprot.writeString(_iter504); } } } @@ -722,13 +722,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartitions struct.tablename = iprot.readString(); struct.setTablenameIsSet(true); { - org.apache.thrift.protocol.TList _list497 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionnames = new ArrayList(_list497.size); - String _elem498; - for (int _i499 = 0; _i499 < _list497.size; ++_i499) + org.apache.thrift.protocol.TList _list505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionnames = new ArrayList(_list505.size); + String _elem506; + for (int _i507 = 0; _i507 < _list505.size; ++_i507) { - _elem498 = iprot.readString(); - struct.partitionnames.add(_elem498); + _elem506 = iprot.readString(); + struct.partitionnames.add(_elem506); } } struct.setPartitionnamesIsSet(true); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java index 657bb7b..5c10050 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ClearFileMetadataRe case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list576 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list576.size); - long _elem577; - for (int _i578 = 0; _i578 < _list576.size; ++_i578) + org.apache.thrift.protocol.TList _list584 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list584.size); + long _elem585; + for (int _i586 = 0; _i586 < _list584.size; ++_i586) { - _elem577 = iprot.readI64(); - struct.fileIds.add(_elem577); + _elem585 = iprot.readI64(); + struct.fileIds.add(_elem585); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ClearFileMetadataR oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter579 : struct.fileIds) + for (long _iter587 : struct.fileIds) { - oprot.writeI64(_iter579); + oprot.writeI64(_iter587); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClearFileMetadataRe TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter580 : struct.fileIds) + for (long _iter588 : struct.fileIds) { - oprot.writeI64(_iter580); + oprot.writeI64(_iter588); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClearFileMetadataRe public void read(org.apache.thrift.protocol.TProtocol prot, ClearFileMetadataRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list581 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list581.size); - long _elem582; - for (int _i583 = 0; _i583 < _list581.size; ++_i583) + org.apache.thrift.protocol.TList _list589 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list589.size); + long _elem590; + for (int _i591 = 0; _i591 < _list589.size; ++_i591) { - _elem582 = iprot.readI64(); - struct.fileIds.add(_elem582); + _elem590 = iprot.readI64(); + struct.fileIds.add(_elem590); } } struct.setFileIdsIsSet(true); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java index 6b08234..551c46a 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java @@ -713,13 +713,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FireEventRequest st case 5: // PARTITION_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list516 = iprot.readListBegin(); - struct.partitionVals = new ArrayList(_list516.size); - String _elem517; - for (int _i518 = 0; _i518 < _list516.size; ++_i518) + org.apache.thrift.protocol.TList _list524 = iprot.readListBegin(); + struct.partitionVals = new ArrayList(_list524.size); + String _elem525; + for (int _i526 = 0; _i526 < _list524.size; ++_i526) { - _elem517 = iprot.readString(); - struct.partitionVals.add(_elem517); + _elem525 = iprot.readString(); + struct.partitionVals.add(_elem525); } iprot.readListEnd(); } @@ -768,9 +768,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, FireEventRequest s oprot.writeFieldBegin(PARTITION_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionVals.size())); - for (String _iter519 : struct.partitionVals) + for (String _iter527 : struct.partitionVals) { - oprot.writeString(_iter519); + oprot.writeString(_iter527); } oprot.writeListEnd(); } @@ -816,9 +816,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, FireEventRequest st if (struct.isSetPartitionVals()) { { oprot.writeI32(struct.partitionVals.size()); - for (String _iter520 : struct.partitionVals) + for (String _iter528 : struct.partitionVals) { - oprot.writeString(_iter520); + oprot.writeString(_iter528); } } } @@ -843,13 +843,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FireEventRequest str } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionVals = new ArrayList(_list521.size); - String _elem522; - for (int _i523 = 0; _i523 < _list521.size; ++_i523) + org.apache.thrift.protocol.TList _list529 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionVals = new ArrayList(_list529.size); + String _elem530; + for (int _i531 = 0; _i531 < _list529.size; ++_i531) { - _elem522 = iprot.readString(); - struct.partitionVals.add(_elem522); + _elem530 = iprot.readString(); + struct.partitionVals.add(_elem530); } } struct.setPartitionValsIsSet(true); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java index f88e279..d82ab51 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java @@ -346,14 +346,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetAllFunctionsResp case 1: // FUNCTIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list584 = iprot.readListBegin(); - struct.functions = new ArrayList(_list584.size); - Function _elem585; - for (int _i586 = 0; _i586 < _list584.size; ++_i586) + org.apache.thrift.protocol.TList _list592 = iprot.readListBegin(); + struct.functions = new ArrayList(_list592.size); + Function _elem593; + for (int _i594 = 0; _i594 < _list592.size; ++_i594) { - _elem585 = new Function(); - _elem585.read(iprot); - struct.functions.add(_elem585); + _elem593 = new Function(); + _elem593.read(iprot); + struct.functions.add(_elem593); } iprot.readListEnd(); } @@ -380,9 +380,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetAllFunctionsRes oprot.writeFieldBegin(FUNCTIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.functions.size())); - for (Function _iter587 : struct.functions) + for (Function _iter595 : struct.functions) { - _iter587.write(oprot); + _iter595.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetAllFunctionsResp if (struct.isSetFunctions()) { { oprot.writeI32(struct.functions.size()); - for (Function _iter588 : struct.functions) + for (Function _iter596 : struct.functions) { - _iter588.write(oprot); + _iter596.write(oprot); } } } @@ -428,14 +428,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetAllFunctionsRespo BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list589 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.functions = new ArrayList(_list589.size); - Function _elem590; - for (int _i591 = 0; _i591 < _list589.size; ++_i591) + org.apache.thrift.protocol.TList _list597 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.functions = new ArrayList(_list597.size); + Function _elem598; + for (int _i599 = 0; _i599 < _list597.size; ++_i599) { - _elem590 = new Function(); - _elem590.read(iprot); - struct.functions.add(_elem590); + _elem598 = new Function(); + _elem598.read(iprot); + struct.functions.add(_elem598); } } struct.setFunctionsIsSet(true); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java index 0236b4a..25f78bb 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java @@ -619,13 +619,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataByEx case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list534 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list534.size); - long _elem535; - for (int _i536 = 0; _i536 < _list534.size; ++_i536) + org.apache.thrift.protocol.TList _list542 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list542.size); + long _elem543; + for (int _i544 = 0; _i544 < _list542.size; ++_i544) { - _elem535 = iprot.readI64(); - struct.fileIds.add(_elem535); + _elem543 = iprot.readI64(); + struct.fileIds.add(_elem543); } iprot.readListEnd(); } @@ -675,9 +675,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataByE oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter537 : struct.fileIds) + for (long _iter545 : struct.fileIds) { - oprot.writeI64(_iter537); + oprot.writeI64(_iter545); } oprot.writeListEnd(); } @@ -719,9 +719,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter538 : struct.fileIds) + for (long _iter546 : struct.fileIds) { - oprot.writeI64(_iter538); + oprot.writeI64(_iter546); } } oprot.writeBinary(struct.expr); @@ -745,13 +745,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByExprRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list539 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list539.size); - long _elem540; - for (int _i541 = 0; _i541 < _list539.size; ++_i541) + org.apache.thrift.protocol.TList _list547 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list547.size); + long _elem548; + for (int _i549 = 0; _i549 < _list547.size; ++_i549) { - _elem540 = iprot.readI64(); - struct.fileIds.add(_elem540); + _elem548 = iprot.readI64(); + struct.fileIds.add(_elem548); } } struct.setFileIdsIsSet(true); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java index 89eb819..52d206f 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java @@ -444,16 +444,16 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataByEx case 1: // METADATA if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map524 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map524.size); - long _key525; - MetadataPpdResult _val526; - for (int _i527 = 0; _i527 < _map524.size; ++_i527) + org.apache.thrift.protocol.TMap _map532 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map532.size); + long _key533; + MetadataPpdResult _val534; + for (int _i535 = 0; _i535 < _map532.size; ++_i535) { - _key525 = iprot.readI64(); - _val526 = new MetadataPpdResult(); - _val526.read(iprot); - struct.metadata.put(_key525, _val526); + _key533 = iprot.readI64(); + _val534 = new MetadataPpdResult(); + _val534.read(iprot); + struct.metadata.put(_key533, _val534); } iprot.readMapEnd(); } @@ -487,10 +487,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataByE oprot.writeFieldBegin(METADATA_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, struct.metadata.size())); - for (Map.Entry _iter528 : struct.metadata.entrySet()) + for (Map.Entry _iter536 : struct.metadata.entrySet()) { - oprot.writeI64(_iter528.getKey()); - _iter528.getValue().write(oprot); + oprot.writeI64(_iter536.getKey()); + _iter536.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -518,10 +518,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.metadata.size()); - for (Map.Entry _iter529 : struct.metadata.entrySet()) + for (Map.Entry _iter537 : struct.metadata.entrySet()) { - oprot.writeI64(_iter529.getKey()); - _iter529.getValue().write(oprot); + oprot.writeI64(_iter537.getKey()); + _iter537.getValue().write(oprot); } } oprot.writeBool(struct.isSupported); @@ -531,16 +531,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByExprResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TMap _map530 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.metadata = new HashMap(2*_map530.size); - long _key531; - MetadataPpdResult _val532; - for (int _i533 = 0; _i533 < _map530.size; ++_i533) + org.apache.thrift.protocol.TMap _map538 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.metadata = new HashMap(2*_map538.size); + long _key539; + MetadataPpdResult _val540; + for (int _i541 = 0; _i541 < _map538.size; ++_i541) { - _key531 = iprot.readI64(); - _val532 = new MetadataPpdResult(); - _val532.read(iprot); - struct.metadata.put(_key531, _val532); + _key539 = iprot.readI64(); + _val540 = new MetadataPpdResult(); + _val540.read(iprot); + struct.metadata.put(_key539, _val540); } } struct.setMetadataIsSet(true); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java index 2408ad1..ead1a1e 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataRequ case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list552 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list552.size); - long _elem553; - for (int _i554 = 0; _i554 < _list552.size; ++_i554) + org.apache.thrift.protocol.TList _list560 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list560.size); + long _elem561; + for (int _i562 = 0; _i562 < _list560.size; ++_i562) { - _elem553 = iprot.readI64(); - struct.fileIds.add(_elem553); + _elem561 = iprot.readI64(); + struct.fileIds.add(_elem561); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataReq oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter555 : struct.fileIds) + for (long _iter563 : struct.fileIds) { - oprot.writeI64(_iter555); + oprot.writeI64(_iter563); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataRequ TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter556 : struct.fileIds) + for (long _iter564 : struct.fileIds) { - oprot.writeI64(_iter556); + oprot.writeI64(_iter564); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataRequ public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list557 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list557.size); - long _elem558; - for (int _i559 = 0; _i559 < _list557.size; ++_i559) + org.apache.thrift.protocol.TList _list565 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list565.size); + long _elem566; + for (int _i567 = 0; _i567 < _list565.size; ++_i567) { - _elem558 = iprot.readI64(); - struct.fileIds.add(_elem558); + _elem566 = iprot.readI64(); + struct.fileIds.add(_elem566); } } struct.setFileIdsIsSet(true); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java index 8946635..6e5271e 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java @@ -433,15 +433,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataResu case 1: // METADATA if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map542 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map542.size); - long _key543; - ByteBuffer _val544; - for (int _i545 = 0; _i545 < _map542.size; ++_i545) + org.apache.thrift.protocol.TMap _map550 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map550.size); + long _key551; + ByteBuffer _val552; + for (int _i553 = 0; _i553 < _map550.size; ++_i553) { - _key543 = iprot.readI64(); - _val544 = iprot.readBinary(); - struct.metadata.put(_key543, _val544); + _key551 = iprot.readI64(); + _val552 = iprot.readBinary(); + struct.metadata.put(_key551, _val552); } iprot.readMapEnd(); } @@ -475,10 +475,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataRes oprot.writeFieldBegin(METADATA_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, struct.metadata.size())); - for (Map.Entry _iter546 : struct.metadata.entrySet()) + for (Map.Entry _iter554 : struct.metadata.entrySet()) { - oprot.writeI64(_iter546.getKey()); - oprot.writeBinary(_iter546.getValue()); + oprot.writeI64(_iter554.getKey()); + oprot.writeBinary(_iter554.getValue()); } oprot.writeMapEnd(); } @@ -506,10 +506,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataResu TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.metadata.size()); - for (Map.Entry _iter547 : struct.metadata.entrySet()) + for (Map.Entry _iter555 : struct.metadata.entrySet()) { - oprot.writeI64(_iter547.getKey()); - oprot.writeBinary(_iter547.getValue()); + oprot.writeI64(_iter555.getKey()); + oprot.writeBinary(_iter555.getValue()); } } oprot.writeBool(struct.isSupported); @@ -519,15 +519,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataResu public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TMap _map548 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.metadata = new HashMap(2*_map548.size); - long _key549; - ByteBuffer _val550; - for (int _i551 = 0; _i551 < _map548.size; ++_i551) + org.apache.thrift.protocol.TMap _map556 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.metadata = new HashMap(2*_map556.size); + long _key557; + ByteBuffer _val558; + for (int _i559 = 0; _i559 < _map556.size; ++_i559) { - _key549 = iprot.readI64(); - _val550 = iprot.readBinary(); - struct.metadata.put(_key549, _val550); + _key557 = iprot.readI64(); + _val558 = iprot.readBinary(); + struct.metadata.put(_key557, _val558); } } struct.setMetadataIsSet(true); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java index b00fb9c..963e46d 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java @@ -453,13 +453,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, HeartbeatTxnRangeRe case 1: // ABORTED if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set468 = iprot.readSetBegin(); - struct.aborted = new HashSet(2*_set468.size); - long _elem469; - for (int _i470 = 0; _i470 < _set468.size; ++_i470) + org.apache.thrift.protocol.TSet _set476 = iprot.readSetBegin(); + struct.aborted = new HashSet(2*_set476.size); + long _elem477; + for (int _i478 = 0; _i478 < _set476.size; ++_i478) { - _elem469 = iprot.readI64(); - struct.aborted.add(_elem469); + _elem477 = iprot.readI64(); + struct.aborted.add(_elem477); } iprot.readSetEnd(); } @@ -471,13 +471,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, HeartbeatTxnRangeRe case 2: // NOSUCH if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set471 = iprot.readSetBegin(); - struct.nosuch = new HashSet(2*_set471.size); - long _elem472; - for (int _i473 = 0; _i473 < _set471.size; ++_i473) + org.apache.thrift.protocol.TSet _set479 = iprot.readSetBegin(); + struct.nosuch = new HashSet(2*_set479.size); + long _elem480; + for (int _i481 = 0; _i481 < _set479.size; ++_i481) { - _elem472 = iprot.readI64(); - struct.nosuch.add(_elem472); + _elem480 = iprot.readI64(); + struct.nosuch.add(_elem480); } iprot.readSetEnd(); } @@ -503,9 +503,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, HeartbeatTxnRangeR oprot.writeFieldBegin(ABORTED_FIELD_DESC); { oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.aborted.size())); - for (long _iter474 : struct.aborted) + for (long _iter482 : struct.aborted) { - oprot.writeI64(_iter474); + oprot.writeI64(_iter482); } oprot.writeSetEnd(); } @@ -515,9 +515,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, HeartbeatTxnRangeR oprot.writeFieldBegin(NOSUCH_FIELD_DESC); { oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.nosuch.size())); - for (long _iter475 : struct.nosuch) + for (long _iter483 : struct.nosuch) { - oprot.writeI64(_iter475); + oprot.writeI64(_iter483); } oprot.writeSetEnd(); } @@ -542,16 +542,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeRe TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.aborted.size()); - for (long _iter476 : struct.aborted) + for (long _iter484 : struct.aborted) { - oprot.writeI64(_iter476); + oprot.writeI64(_iter484); } } { oprot.writeI32(struct.nosuch.size()); - for (long _iter477 : struct.nosuch) + for (long _iter485 : struct.nosuch) { - oprot.writeI64(_iter477); + oprot.writeI64(_iter485); } } } @@ -560,24 +560,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeRe public void read(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TSet _set478 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.aborted = new HashSet(2*_set478.size); - long _elem479; - for (int _i480 = 0; _i480 < _set478.size; ++_i480) + org.apache.thrift.protocol.TSet _set486 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.aborted = new HashSet(2*_set486.size); + long _elem487; + for (int _i488 = 0; _i488 < _set486.size; ++_i488) { - _elem479 = iprot.readI64(); - struct.aborted.add(_elem479); + _elem487 = iprot.readI64(); + struct.aborted.add(_elem487); } } struct.setAbortedIsSet(true); { - org.apache.thrift.protocol.TSet _set481 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.nosuch = new HashSet(2*_set481.size); - long _elem482; - for (int _i483 = 0; _i483 < _set481.size; ++_i483) + org.apache.thrift.protocol.TSet _set489 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.nosuch = new HashSet(2*_set489.size); + long _elem490; + for (int _i491 = 0; _i491 < _set489.size; ++_i491) { - _elem482 = iprot.readI64(); - struct.nosuch.add(_elem482); + _elem490 = iprot.readI64(); + struct.nosuch.add(_elem490); } } struct.setNosuchIsSet(true); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java index 488d3a0..8a799c8 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestD case 1: // FILES_ADDED if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list508 = iprot.readListBegin(); - struct.filesAdded = new ArrayList(_list508.size); - String _elem509; - for (int _i510 = 0; _i510 < _list508.size; ++_i510) + org.apache.thrift.protocol.TList _list516 = iprot.readListBegin(); + struct.filesAdded = new ArrayList(_list516.size); + String _elem517; + for (int _i518 = 0; _i518 < _list516.size; ++_i518) { - _elem509 = iprot.readString(); - struct.filesAdded.add(_elem509); + _elem517 = iprot.readString(); + struct.filesAdded.add(_elem517); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, InsertEventRequest oprot.writeFieldBegin(FILES_ADDED_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.filesAdded.size())); - for (String _iter511 : struct.filesAdded) + for (String _iter519 : struct.filesAdded) { - oprot.writeString(_iter511); + oprot.writeString(_iter519); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.filesAdded.size()); - for (String _iter512 : struct.filesAdded) + for (String _iter520 : struct.filesAdded) { - oprot.writeString(_iter512); + oprot.writeString(_iter520); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD public void read(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestData struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list513 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAdded = new ArrayList(_list513.size); - String _elem514; - for (int _i515 = 0; _i515 < _list513.size; ++_i515) + org.apache.thrift.protocol.TList _list521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAdded = new ArrayList(_list521.size); + String _elem522; + for (int _i523 = 0; _i523 < _list521.size; ++_i523) { - _elem514 = iprot.readString(); - struct.filesAdded.add(_elem514); + _elem522 = iprot.readString(); + struct.filesAdded.add(_elem522); } } struct.setFilesAddedIsSet(true); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java index f39f582..922a6e8 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java @@ -689,14 +689,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, LockRequest struct) case 1: // COMPONENT if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list452 = iprot.readListBegin(); - struct.component = new ArrayList(_list452.size); - LockComponent _elem453; - for (int _i454 = 0; _i454 < _list452.size; ++_i454) + org.apache.thrift.protocol.TList _list460 = iprot.readListBegin(); + struct.component = new ArrayList(_list460.size); + LockComponent _elem461; + for (int _i462 = 0; _i462 < _list460.size; ++_i462) { - _elem453 = new LockComponent(); - _elem453.read(iprot); - struct.component.add(_elem453); + _elem461 = new LockComponent(); + _elem461.read(iprot); + struct.component.add(_elem461); } iprot.readListEnd(); } @@ -754,9 +754,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, LockRequest struct oprot.writeFieldBegin(COMPONENT_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.component.size())); - for (LockComponent _iter455 : struct.component) + for (LockComponent _iter463 : struct.component) { - _iter455.write(oprot); + _iter463.write(oprot); } oprot.writeListEnd(); } @@ -803,9 +803,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.component.size()); - for (LockComponent _iter456 : struct.component) + for (LockComponent _iter464 : struct.component) { - _iter456.write(oprot); + _iter464.write(oprot); } } oprot.writeString(struct.user); @@ -830,14 +830,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) public void read(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list457 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.component = new ArrayList(_list457.size); - LockComponent _elem458; - for (int _i459 = 0; _i459 < _list457.size; ++_i459) + org.apache.thrift.protocol.TList _list465 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.component = new ArrayList(_list465.size); + LockComponent _elem466; + for (int _i467 = 0; _i467 < _list465.size; ++_i467) { - _elem458 = new LockComponent(); - _elem458.read(iprot); - struct.component.add(_elem458); + _elem466 = new LockComponent(); + _elem466.read(iprot); + struct.component.add(_elem466); } } struct.setComponentIsSet(true); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java index fcbbd18..f6671d5 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, NotificationEventRe case 1: // EVENTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list500 = iprot.readListBegin(); - struct.events = new ArrayList(_list500.size); - NotificationEvent _elem501; - for (int _i502 = 0; _i502 < _list500.size; ++_i502) + org.apache.thrift.protocol.TList _list508 = iprot.readListBegin(); + struct.events = new ArrayList(_list508.size); + NotificationEvent _elem509; + for (int _i510 = 0; _i510 < _list508.size; ++_i510) { - _elem501 = new NotificationEvent(); - _elem501.read(iprot); - struct.events.add(_elem501); + _elem509 = new NotificationEvent(); + _elem509.read(iprot); + struct.events.add(_elem509); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, NotificationEventR oprot.writeFieldBegin(EVENTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.events.size())); - for (NotificationEvent _iter503 : struct.events) + for (NotificationEvent _iter511 : struct.events) { - _iter503.write(oprot); + _iter511.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotificationEventRe TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.events.size()); - for (NotificationEvent _iter504 : struct.events) + for (NotificationEvent _iter512 : struct.events) { - _iter504.write(oprot); + _iter512.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotificationEventRe public void read(org.apache.thrift.protocol.TProtocol prot, NotificationEventResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.events = new ArrayList(_list505.size); - NotificationEvent _elem506; - for (int _i507 = 0; _i507 < _list505.size; ++_i507) + org.apache.thrift.protocol.TList _list513 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.events = new ArrayList(_list513.size); + NotificationEvent _elem514; + for (int _i515 = 0; _i515 < _list513.size; ++_i515) { - _elem506 = new NotificationEvent(); - _elem506.read(iprot); - struct.events.add(_elem506); + _elem514 = new NotificationEvent(); + _elem514.read(iprot); + struct.events.add(_elem514); } } struct.setEventsIsSet(true); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java index ab151b1..0d0eb6e 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java @@ -547,13 +547,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PutFileMetadataRequ case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list560 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list560.size); - long _elem561; - for (int _i562 = 0; _i562 < _list560.size; ++_i562) + org.apache.thrift.protocol.TList _list568 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list568.size); + long _elem569; + for (int _i570 = 0; _i570 < _list568.size; ++_i570) { - _elem561 = iprot.readI64(); - struct.fileIds.add(_elem561); + _elem569 = iprot.readI64(); + struct.fileIds.add(_elem569); } iprot.readListEnd(); } @@ -565,13 +565,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PutFileMetadataRequ case 2: // METADATA if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list563 = iprot.readListBegin(); - struct.metadata = new ArrayList(_list563.size); - ByteBuffer _elem564; - for (int _i565 = 0; _i565 < _list563.size; ++_i565) + org.apache.thrift.protocol.TList _list571 = iprot.readListBegin(); + struct.metadata = new ArrayList(_list571.size); + ByteBuffer _elem572; + for (int _i573 = 0; _i573 < _list571.size; ++_i573) { - _elem564 = iprot.readBinary(); - struct.metadata.add(_elem564); + _elem572 = iprot.readBinary(); + struct.metadata.add(_elem572); } iprot.readListEnd(); } @@ -605,9 +605,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PutFileMetadataReq oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter566 : struct.fileIds) + for (long _iter574 : struct.fileIds) { - oprot.writeI64(_iter566); + oprot.writeI64(_iter574); } oprot.writeListEnd(); } @@ -617,9 +617,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PutFileMetadataReq oprot.writeFieldBegin(METADATA_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.metadata.size())); - for (ByteBuffer _iter567 : struct.metadata) + for (ByteBuffer _iter575 : struct.metadata) { - oprot.writeBinary(_iter567); + oprot.writeBinary(_iter575); } oprot.writeListEnd(); } @@ -651,16 +651,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PutFileMetadataRequ TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter568 : struct.fileIds) + for (long _iter576 : struct.fileIds) { - oprot.writeI64(_iter568); + oprot.writeI64(_iter576); } } { oprot.writeI32(struct.metadata.size()); - for (ByteBuffer _iter569 : struct.metadata) + for (ByteBuffer _iter577 : struct.metadata) { - oprot.writeBinary(_iter569); + oprot.writeBinary(_iter577); } } BitSet optionals = new BitSet(); @@ -677,24 +677,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PutFileMetadataRequ public void read(org.apache.thrift.protocol.TProtocol prot, PutFileMetadataRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list570 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list570.size); - long _elem571; - for (int _i572 = 0; _i572 < _list570.size; ++_i572) + org.apache.thrift.protocol.TList _list578 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list578.size); + long _elem579; + for (int _i580 = 0; _i580 < _list578.size; ++_i580) { - _elem571 = iprot.readI64(); - struct.fileIds.add(_elem571); + _elem579 = iprot.readI64(); + struct.fileIds.add(_elem579); } } struct.setFileIdsIsSet(true); { - org.apache.thrift.protocol.TList _list573 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.metadata = new ArrayList(_list573.size); - ByteBuffer _elem574; - for (int _i575 = 0; _i575 < _list573.size; ++_i575) + org.apache.thrift.protocol.TList _list581 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.metadata = new ArrayList(_list581.size); + ByteBuffer _elem582; + for (int _i583 = 0; _i583 < _list581.size; ++_i583) { - _elem574 = iprot.readBinary(); - struct.metadata.add(_elem574); + _elem582 = iprot.readBinary(); + struct.metadata.add(_elem582); } } struct.setMetadataIsSet(true); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java index afa832c..1cb446d 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowCompactResponse case 1: // COMPACTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list484 = iprot.readListBegin(); - struct.compacts = new ArrayList(_list484.size); - ShowCompactResponseElement _elem485; - for (int _i486 = 0; _i486 < _list484.size; ++_i486) + org.apache.thrift.protocol.TList _list492 = iprot.readListBegin(); + struct.compacts = new ArrayList(_list492.size); + ShowCompactResponseElement _elem493; + for (int _i494 = 0; _i494 < _list492.size; ++_i494) { - _elem485 = new ShowCompactResponseElement(); - _elem485.read(iprot); - struct.compacts.add(_elem485); + _elem493 = new ShowCompactResponseElement(); + _elem493.read(iprot); + struct.compacts.add(_elem493); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ShowCompactRespons oprot.writeFieldBegin(COMPACTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.compacts.size())); - for (ShowCompactResponseElement _iter487 : struct.compacts) + for (ShowCompactResponseElement _iter495 : struct.compacts) { - _iter487.write(oprot); + _iter495.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.compacts.size()); - for (ShowCompactResponseElement _iter488 : struct.compacts) + for (ShowCompactResponseElement _iter496 : struct.compacts) { - _iter488.write(oprot); + _iter496.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse public void read(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list489 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.compacts = new ArrayList(_list489.size); - ShowCompactResponseElement _elem490; - for (int _i491 = 0; _i491 < _list489.size; ++_i491) + org.apache.thrift.protocol.TList _list497 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.compacts = new ArrayList(_list497.size); + ShowCompactResponseElement _elem498; + for (int _i499 = 0; _i499 < _list497.size; ++_i499) { - _elem490 = new ShowCompactResponseElement(); - _elem490.read(iprot); - struct.compacts.add(_elem490); + _elem498 = new ShowCompactResponseElement(); + _elem498.read(iprot); + struct.compacts.add(_elem498); } } struct.setCompactsIsSet(true); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java index b9b7f3c..4a61355 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java @@ -350,14 +350,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowLocksResponse s case 1: // LOCKS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list460 = iprot.readListBegin(); - struct.locks = new ArrayList(_list460.size); - ShowLocksResponseElement _elem461; - for (int _i462 = 0; _i462 < _list460.size; ++_i462) + org.apache.thrift.protocol.TList _list468 = iprot.readListBegin(); + struct.locks = new ArrayList(_list468.size); + ShowLocksResponseElement _elem469; + for (int _i470 = 0; _i470 < _list468.size; ++_i470) { - _elem461 = new ShowLocksResponseElement(); - _elem461.read(iprot); - struct.locks.add(_elem461); + _elem469 = new ShowLocksResponseElement(); + _elem469.read(iprot); + struct.locks.add(_elem469); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ShowLocksResponse oprot.writeFieldBegin(LOCKS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.locks.size())); - for (ShowLocksResponseElement _iter463 : struct.locks) + for (ShowLocksResponseElement _iter471 : struct.locks) { - _iter463.write(oprot); + _iter471.write(oprot); } oprot.writeListEnd(); } @@ -416,9 +416,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowLocksResponse s if (struct.isSetLocks()) { { oprot.writeI32(struct.locks.size()); - for (ShowLocksResponseElement _iter464 : struct.locks) + for (ShowLocksResponseElement _iter472 : struct.locks) { - _iter464.write(oprot); + _iter472.write(oprot); } } } @@ -430,14 +430,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ShowLocksResponse st BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list465 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.locks = new ArrayList(_list465.size); - ShowLocksResponseElement _elem466; - for (int _i467 = 0; _i467 < _list465.size; ++_i467) + org.apache.thrift.protocol.TList _list473 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.locks = new ArrayList(_list473.size); + ShowLocksResponseElement _elem474; + for (int _i475 = 0; _i475 < _list473.size; ++_i475) { - _elem466 = new ShowLocksResponseElement(); - _elem466.read(iprot); - struct.locks.add(_elem466); + _elem474 = new ShowLocksResponseElement(); + _elem474.read(iprot); + struct.locks.add(_elem474); } } struct.setLocksIsSet(true); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java index 13e30db..0b45b47 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java @@ -288,6 +288,8 @@ public void abort_txn(AbortTxnRequest rqst) throws NoSuchTxnException, org.apache.thrift.TException; + public void abort_txns(AbortTxnsRequest rqst) throws NoSuchTxnException, org.apache.thrift.TException; + public void commit_txn(CommitTxnRequest rqst) throws NoSuchTxnException, TxnAbortedException, org.apache.thrift.TException; public LockResponse lock(LockRequest rqst) throws NoSuchTxnException, TxnAbortedException, org.apache.thrift.TException; @@ -578,6 +580,8 @@ public void abort_txn(AbortTxnRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void abort_txns(AbortTxnsRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void commit_txn(CommitTxnRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; public void lock(LockRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; @@ -4287,6 +4291,29 @@ public void recv_abort_txn() throws NoSuchTxnException, org.apache.thrift.TExcep return; } + public void abort_txns(AbortTxnsRequest rqst) throws NoSuchTxnException, org.apache.thrift.TException + { + send_abort_txns(rqst); + recv_abort_txns(); + } + + public void send_abort_txns(AbortTxnsRequest rqst) throws org.apache.thrift.TException + { + abort_txns_args args = new abort_txns_args(); + args.setRqst(rqst); + sendBase("abort_txns", args); + } + + public void recv_abort_txns() throws NoSuchTxnException, org.apache.thrift.TException + { + abort_txns_result result = new abort_txns_result(); + receiveBase(result, "abort_txns"); + if (result.o1 != null) { + throw result.o1; + } + return; + } + public void commit_txn(CommitTxnRequest rqst) throws NoSuchTxnException, TxnAbortedException, org.apache.thrift.TException { send_commit_txn(rqst); @@ -9206,6 +9233,38 @@ public void getResult() throws NoSuchTxnException, org.apache.thrift.TException } } + public void abort_txns(AbortTxnsRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + checkReady(); + abort_txns_call method_call = new abort_txns_call(rqst, resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class abort_txns_call extends org.apache.thrift.async.TAsyncMethodCall { + private AbortTxnsRequest rqst; + public abort_txns_call(AbortTxnsRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.rqst = rqst; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("abort_txns", org.apache.thrift.protocol.TMessageType.CALL, 0)); + abort_txns_args args = new abort_txns_args(); + args.setRqst(rqst); + args.write(prot); + prot.writeMessageEnd(); + } + + public void getResult() throws NoSuchTxnException, org.apache.thrift.TException { + if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException("Method call not finished!"); + } + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + (new Client(prot)).recv_abort_txns(); + } + } + public void commit_txn(CommitTxnRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); commit_txn_call method_call = new commit_txn_call(rqst, resultHandler, this, ___protocolFactory, ___transport); @@ -9976,6 +10035,7 @@ protected Processor(I iface, Map extends org.apache.thrift.ProcessFunction { + public abort_txns() { + super("abort_txns"); + } + + public abort_txns_args getEmptyArgsInstance() { + return new abort_txns_args(); + } + + protected boolean isOneway() { + return false; + } + + public abort_txns_result getResult(I iface, abort_txns_args args) throws org.apache.thrift.TException { + abort_txns_result result = new abort_txns_result(); + try { + iface.abort_txns(args.rqst); + } catch (NoSuchTxnException o1) { + result.o1 = o1; + } + return result; + } + } + public static class commit_txn extends org.apache.thrift.ProcessFunction { public commit_txn() { super("commit_txn"); @@ -13777,6 +13861,7 @@ protected AsyncProcessor(I iface, Map extends org.apache.thrift.AsyncProcessFunction { - public commit_txn() { - super("commit_txn"); + public static class abort_txns extends org.apache.thrift.AsyncProcessFunction { + public abort_txns() { + super("abort_txns"); } - public commit_txn_args getEmptyArgsInstance() { - return new commit_txn_args(); + public abort_txns_args getEmptyArgsInstance() { + return new abort_txns_args(); } public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; return new AsyncMethodCallback() { public void onComplete(Void o) { - commit_txn_result result = new commit_txn_result(); + abort_txns_result result = new abort_txns_result(); try { fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); return; @@ -21431,17 +21516,12 @@ public void onComplete(Void o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - commit_txn_result result = new commit_txn_result(); + abort_txns_result result = new abort_txns_result(); if (e instanceof NoSuchTxnException) { result.o1 = (NoSuchTxnException) e; result.setO1IsSet(true); msg = result; } - else if (e instanceof TxnAbortedException) { - result.o2 = (TxnAbortedException) e; - result.setO2IsSet(true); - msg = result; - } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; @@ -21462,26 +21542,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, commit_txn_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.commit_txn(args.rqst,resultHandler); + public void start(I iface, abort_txns_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.abort_txns(args.rqst,resultHandler); } } - public static class lock extends org.apache.thrift.AsyncProcessFunction { - public lock() { - super("lock"); + public static class commit_txn extends org.apache.thrift.AsyncProcessFunction { + public commit_txn() { + super("commit_txn"); } - public lock_args getEmptyArgsInstance() { - return new lock_args(); + public commit_txn_args getEmptyArgsInstance() { + return new commit_txn_args(); } - public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(LockResponse o) { - lock_result result = new lock_result(); - result.success = o; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + commit_txn_result result = new commit_txn_result(); try { fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); return; @@ -21493,7 +21572,7 @@ public void onComplete(LockResponse o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - lock_result result = new lock_result(); + commit_txn_result result = new commit_txn_result(); if (e instanceof NoSuchTxnException) { result.o1 = (NoSuchTxnException) e; result.setO1IsSet(true); @@ -21524,25 +21603,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, lock_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.lock(args.rqst,resultHandler); + public void start(I iface, commit_txn_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.commit_txn(args.rqst,resultHandler); } } - public static class check_lock extends org.apache.thrift.AsyncProcessFunction { - public check_lock() { - super("check_lock"); + public static class lock extends org.apache.thrift.AsyncProcessFunction { + public lock() { + super("lock"); } - public check_lock_args getEmptyArgsInstance() { - return new check_lock_args(); + public lock_args getEmptyArgsInstance() { + return new lock_args(); } public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; return new AsyncMethodCallback() { public void onComplete(LockResponse o) { - check_lock_result result = new check_lock_result(); + lock_result result = new lock_result(); result.success = o; try { fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -21555,7 +21634,7 @@ public void onComplete(LockResponse o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - check_lock_result result = new check_lock_result(); + lock_result result = new lock_result(); if (e instanceof NoSuchTxnException) { result.o1 = (NoSuchTxnException) e; result.setO1IsSet(true); @@ -21566,11 +21645,6 @@ else if (e instanceof TxnAbortedException) { result.setO2IsSet(true); msg = result; } - else if (e instanceof NoSuchLockException) { - result.o3 = (NoSuchLockException) e; - result.setO3IsSet(true); - msg = result; - } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; @@ -21591,86 +21665,25 @@ protected boolean isOneway() { return false; } - public void start(I iface, check_lock_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.check_lock(args.rqst,resultHandler); - } - } - - public static class unlock extends org.apache.thrift.AsyncProcessFunction { - public unlock() { - super("unlock"); - } - - public unlock_args getEmptyArgsInstance() { - return new unlock_args(); - } - - public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Void o) { - unlock_result result = new unlock_result(); - try { - fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - return; - } catch (Exception e) { - LOGGER.error("Exception writing to internal frame buffer", e); - } - fb.close(); - } - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - unlock_result result = new unlock_result(); - if (e instanceof NoSuchLockException) { - result.o1 = (NoSuchLockException) e; - result.setO1IsSet(true); - msg = result; - } - else if (e instanceof TxnOpenException) { - result.o2 = (TxnOpenException) e; - result.setO2IsSet(true); - msg = result; - } - else - { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); - } - try { - fcall.sendResponse(fb,msg,msgType,seqid); - return; - } catch (Exception ex) { - LOGGER.error("Exception writing to internal frame buffer", ex); - } - fb.close(); - } - }; - } - - protected boolean isOneway() { - return false; - } - - public void start(I iface, unlock_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.unlock(args.rqst,resultHandler); + public void start(I iface, lock_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.lock(args.rqst,resultHandler); } } - public static class show_locks extends org.apache.thrift.AsyncProcessFunction { - public show_locks() { - super("show_locks"); + public static class check_lock extends org.apache.thrift.AsyncProcessFunction { + public check_lock() { + super("check_lock"); } - public show_locks_args getEmptyArgsInstance() { - return new show_locks_args(); + public check_lock_args getEmptyArgsInstance() { + return new check_lock_args(); } - public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(ShowLocksResponse o) { - show_locks_result result = new show_locks_result(); + return new AsyncMethodCallback() { + public void onComplete(LockResponse o) { + check_lock_result result = new check_lock_result(); result.success = o; try { fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); @@ -21683,69 +21696,197 @@ public void onComplete(ShowLocksResponse o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - show_locks_result result = new show_locks_result(); - { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); - } - try { - fcall.sendResponse(fb,msg,msgType,seqid); - return; - } catch (Exception ex) { - LOGGER.error("Exception writing to internal frame buffer", ex); - } - fb.close(); - } - }; - } - - protected boolean isOneway() { - return false; - } - - public void start(I iface, show_locks_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.show_locks(args.rqst,resultHandler); - } - } - - public static class heartbeat extends org.apache.thrift.AsyncProcessFunction { - public heartbeat() { - super("heartbeat"); - } - - public heartbeat_args getEmptyArgsInstance() { - return new heartbeat_args(); - } - - public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Void o) { - heartbeat_result result = new heartbeat_result(); - try { - fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - return; - } catch (Exception e) { - LOGGER.error("Exception writing to internal frame buffer", e); - } - fb.close(); - } - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - heartbeat_result result = new heartbeat_result(); - if (e instanceof NoSuchLockException) { - result.o1 = (NoSuchLockException) e; + check_lock_result result = new check_lock_result(); + if (e instanceof NoSuchTxnException) { + result.o1 = (NoSuchTxnException) e; result.setO1IsSet(true); msg = result; } - else if (e instanceof NoSuchTxnException) { - result.o2 = (NoSuchTxnException) e; + else if (e instanceof TxnAbortedException) { + result.o2 = (TxnAbortedException) e; result.setO2IsSet(true); msg = result; } - else if (e instanceof TxnAbortedException) { - result.o3 = (TxnAbortedException) e; + else if (e instanceof NoSuchLockException) { + result.o3 = (NoSuchLockException) e; + result.setO3IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, check_lock_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.check_lock(args.rqst,resultHandler); + } + } + + public static class unlock extends org.apache.thrift.AsyncProcessFunction { + public unlock() { + super("unlock"); + } + + public unlock_args getEmptyArgsInstance() { + return new unlock_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + unlock_result result = new unlock_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + unlock_result result = new unlock_result(); + if (e instanceof NoSuchLockException) { + result.o1 = (NoSuchLockException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof TxnOpenException) { + result.o2 = (TxnOpenException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, unlock_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.unlock(args.rqst,resultHandler); + } + } + + public static class show_locks extends org.apache.thrift.AsyncProcessFunction { + public show_locks() { + super("show_locks"); + } + + public show_locks_args getEmptyArgsInstance() { + return new show_locks_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(ShowLocksResponse o) { + show_locks_result result = new show_locks_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + show_locks_result result = new show_locks_result(); + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, show_locks_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.show_locks(args.rqst,resultHandler); + } + } + + public static class heartbeat extends org.apache.thrift.AsyncProcessFunction { + public heartbeat() { + super("heartbeat"); + } + + public heartbeat_args getEmptyArgsInstance() { + return new heartbeat_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + heartbeat_result result = new heartbeat_result(); + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + heartbeat_result result = new heartbeat_result(); + if (e instanceof NoSuchLockException) { + result.o1 = (NoSuchLockException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof NoSuchTxnException) { + result.o2 = (NoSuchTxnException) e; + result.setO2IsSet(true); + msg = result; + } + else if (e instanceof TxnAbortedException) { + result.o3 = (TxnAbortedException) e; result.setO3IsSet(true); msg = result; } @@ -27891,13 +28032,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_databases_resul case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list592 = iprot.readListBegin(); - struct.success = new ArrayList(_list592.size); - String _elem593; - for (int _i594 = 0; _i594 < _list592.size; ++_i594) + org.apache.thrift.protocol.TList _list600 = iprot.readListBegin(); + struct.success = new ArrayList(_list600.size); + String _elem601; + for (int _i602 = 0; _i602 < _list600.size; ++_i602) { - _elem593 = iprot.readString(); - struct.success.add(_elem593); + _elem601 = iprot.readString(); + struct.success.add(_elem601); } iprot.readListEnd(); } @@ -27932,9 +28073,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_databases_resu oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter595 : struct.success) + for (String _iter603 : struct.success) { - oprot.writeString(_iter595); + oprot.writeString(_iter603); } oprot.writeListEnd(); } @@ -27973,9 +28114,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter596 : struct.success) + for (String _iter604 : struct.success) { - oprot.writeString(_iter596); + oprot.writeString(_iter604); } } } @@ -27990,13 +28131,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_databases_result BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list597 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list597.size); - String _elem598; - for (int _i599 = 0; _i599 < _list597.size; ++_i599) + org.apache.thrift.protocol.TList _list605 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list605.size); + String _elem606; + for (int _i607 = 0; _i607 < _list605.size; ++_i607) { - _elem598 = iprot.readString(); - struct.success.add(_elem598); + _elem606 = iprot.readString(); + struct.success.add(_elem606); } } struct.setSuccessIsSet(true); @@ -28650,13 +28791,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_databases_r case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list600 = iprot.readListBegin(); - struct.success = new ArrayList(_list600.size); - String _elem601; - for (int _i602 = 0; _i602 < _list600.size; ++_i602) + org.apache.thrift.protocol.TList _list608 = iprot.readListBegin(); + struct.success = new ArrayList(_list608.size); + String _elem609; + for (int _i610 = 0; _i610 < _list608.size; ++_i610) { - _elem601 = iprot.readString(); - struct.success.add(_elem601); + _elem609 = iprot.readString(); + struct.success.add(_elem609); } iprot.readListEnd(); } @@ -28691,9 +28832,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_databases_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter603 : struct.success) + for (String _iter611 : struct.success) { - oprot.writeString(_iter603); + oprot.writeString(_iter611); } oprot.writeListEnd(); } @@ -28732,9 +28873,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter604 : struct.success) + for (String _iter612 : struct.success) { - oprot.writeString(_iter604); + oprot.writeString(_iter612); } } } @@ -28749,13 +28890,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_databases_re BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list605 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list605.size); - String _elem606; - for (int _i607 = 0; _i607 < _list605.size; ++_i607) + org.apache.thrift.protocol.TList _list613 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list613.size); + String _elem614; + for (int _i615 = 0; _i615 < _list613.size; ++_i615) { - _elem606 = iprot.readString(); - struct.success.add(_elem606); + _elem614 = iprot.readString(); + struct.success.add(_elem614); } } struct.setSuccessIsSet(true); @@ -33362,16 +33503,16 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_type_all_result case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map608 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map608.size); - String _key609; - Type _val610; - for (int _i611 = 0; _i611 < _map608.size; ++_i611) + org.apache.thrift.protocol.TMap _map616 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map616.size); + String _key617; + Type _val618; + for (int _i619 = 0; _i619 < _map616.size; ++_i619) { - _key609 = iprot.readString(); - _val610 = new Type(); - _val610.read(iprot); - struct.success.put(_key609, _val610); + _key617 = iprot.readString(); + _val618 = new Type(); + _val618.read(iprot); + struct.success.put(_key617, _val618); } iprot.readMapEnd(); } @@ -33406,10 +33547,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_type_all_resul oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry _iter612 : struct.success.entrySet()) + for (Map.Entry _iter620 : struct.success.entrySet()) { - oprot.writeString(_iter612.getKey()); - _iter612.getValue().write(oprot); + oprot.writeString(_iter620.getKey()); + _iter620.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -33448,10 +33589,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_type_all_result if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter613 : struct.success.entrySet()) + for (Map.Entry _iter621 : struct.success.entrySet()) { - oprot.writeString(_iter613.getKey()); - _iter613.getValue().write(oprot); + oprot.writeString(_iter621.getKey()); + _iter621.getValue().write(oprot); } } } @@ -33466,16 +33607,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_type_all_result BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map614 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new HashMap(2*_map614.size); - String _key615; - Type _val616; - for (int _i617 = 0; _i617 < _map614.size; ++_i617) + org.apache.thrift.protocol.TMap _map622 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new HashMap(2*_map622.size); + String _key623; + Type _val624; + for (int _i625 = 0; _i625 < _map622.size; ++_i625) { - _key615 = iprot.readString(); - _val616 = new Type(); - _val616.read(iprot); - struct.success.put(_key615, _val616); + _key623 = iprot.readString(); + _val624 = new Type(); + _val624.read(iprot); + struct.success.put(_key623, _val624); } } struct.setSuccessIsSet(true); @@ -34510,14 +34651,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_fields_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list618 = iprot.readListBegin(); - struct.success = new ArrayList(_list618.size); - FieldSchema _elem619; - for (int _i620 = 0; _i620 < _list618.size; ++_i620) + org.apache.thrift.protocol.TList _list626 = iprot.readListBegin(); + struct.success = new ArrayList(_list626.size); + FieldSchema _elem627; + for (int _i628 = 0; _i628 < _list626.size; ++_i628) { - _elem619 = new FieldSchema(); - _elem619.read(iprot); - struct.success.add(_elem619); + _elem627 = new FieldSchema(); + _elem627.read(iprot); + struct.success.add(_elem627); } iprot.readListEnd(); } @@ -34570,9 +34711,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_fields_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter621 : struct.success) + for (FieldSchema _iter629 : struct.success) { - _iter621.write(oprot); + _iter629.write(oprot); } oprot.writeListEnd(); } @@ -34627,9 +34768,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter622 : struct.success) + for (FieldSchema _iter630 : struct.success) { - _iter622.write(oprot); + _iter630.write(oprot); } } } @@ -34650,14 +34791,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_fields_result st BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list623 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list623.size); - FieldSchema _elem624; - for (int _i625 = 0; _i625 < _list623.size; ++_i625) + org.apache.thrift.protocol.TList _list631 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list631.size); + FieldSchema _elem632; + for (int _i633 = 0; _i633 < _list631.size; ++_i633) { - _elem624 = new FieldSchema(); - _elem624.read(iprot); - struct.success.add(_elem624); + _elem632 = new FieldSchema(); + _elem632.read(iprot); + struct.success.add(_elem632); } } struct.setSuccessIsSet(true); @@ -35811,14 +35952,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_fields_with_env case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list626 = iprot.readListBegin(); - struct.success = new ArrayList(_list626.size); - FieldSchema _elem627; - for (int _i628 = 0; _i628 < _list626.size; ++_i628) + org.apache.thrift.protocol.TList _list634 = iprot.readListBegin(); + struct.success = new ArrayList(_list634.size); + FieldSchema _elem635; + for (int _i636 = 0; _i636 < _list634.size; ++_i636) { - _elem627 = new FieldSchema(); - _elem627.read(iprot); - struct.success.add(_elem627); + _elem635 = new FieldSchema(); + _elem635.read(iprot); + struct.success.add(_elem635); } iprot.readListEnd(); } @@ -35871,9 +36012,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_fields_with_en oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter629 : struct.success) + for (FieldSchema _iter637 : struct.success) { - _iter629.write(oprot); + _iter637.write(oprot); } oprot.writeListEnd(); } @@ -35928,9 +36069,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter630 : struct.success) + for (FieldSchema _iter638 : struct.success) { - _iter630.write(oprot); + _iter638.write(oprot); } } } @@ -35951,14 +36092,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_fields_with_envi BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list631 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list631.size); - FieldSchema _elem632; - for (int _i633 = 0; _i633 < _list631.size; ++_i633) + org.apache.thrift.protocol.TList _list639 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list639.size); + FieldSchema _elem640; + for (int _i641 = 0; _i641 < _list639.size; ++_i641) { - _elem632 = new FieldSchema(); - _elem632.read(iprot); - struct.success.add(_elem632); + _elem640 = new FieldSchema(); + _elem640.read(iprot); + struct.success.add(_elem640); } } struct.setSuccessIsSet(true); @@ -37003,14 +37144,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list634 = iprot.readListBegin(); - struct.success = new ArrayList(_list634.size); - FieldSchema _elem635; - for (int _i636 = 0; _i636 < _list634.size; ++_i636) + org.apache.thrift.protocol.TList _list642 = iprot.readListBegin(); + struct.success = new ArrayList(_list642.size); + FieldSchema _elem643; + for (int _i644 = 0; _i644 < _list642.size; ++_i644) { - _elem635 = new FieldSchema(); - _elem635.read(iprot); - struct.success.add(_elem635); + _elem643 = new FieldSchema(); + _elem643.read(iprot); + struct.success.add(_elem643); } iprot.readListEnd(); } @@ -37063,9 +37204,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter637 : struct.success) + for (FieldSchema _iter645 : struct.success) { - _iter637.write(oprot); + _iter645.write(oprot); } oprot.writeListEnd(); } @@ -37120,9 +37261,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter638 : struct.success) + for (FieldSchema _iter646 : struct.success) { - _iter638.write(oprot); + _iter646.write(oprot); } } } @@ -37143,14 +37284,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_result st BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list639 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list639.size); - FieldSchema _elem640; - for (int _i641 = 0; _i641 < _list639.size; ++_i641) + org.apache.thrift.protocol.TList _list647 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list647.size); + FieldSchema _elem648; + for (int _i649 = 0; _i649 < _list647.size; ++_i649) { - _elem640 = new FieldSchema(); - _elem640.read(iprot); - struct.success.add(_elem640); + _elem648 = new FieldSchema(); + _elem648.read(iprot); + struct.success.add(_elem648); } } struct.setSuccessIsSet(true); @@ -38304,14 +38445,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_with_env case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list642 = iprot.readListBegin(); - struct.success = new ArrayList(_list642.size); - FieldSchema _elem643; - for (int _i644 = 0; _i644 < _list642.size; ++_i644) + org.apache.thrift.protocol.TList _list650 = iprot.readListBegin(); + struct.success = new ArrayList(_list650.size); + FieldSchema _elem651; + for (int _i652 = 0; _i652 < _list650.size; ++_i652) { - _elem643 = new FieldSchema(); - _elem643.read(iprot); - struct.success.add(_elem643); + _elem651 = new FieldSchema(); + _elem651.read(iprot); + struct.success.add(_elem651); } iprot.readListEnd(); } @@ -38364,9 +38505,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_with_en oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter645 : struct.success) + for (FieldSchema _iter653 : struct.success) { - _iter645.write(oprot); + _iter653.write(oprot); } oprot.writeListEnd(); } @@ -38421,9 +38562,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter646 : struct.success) + for (FieldSchema _iter654 : struct.success) { - _iter646.write(oprot); + _iter654.write(oprot); } } } @@ -38444,14 +38585,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_with_envi BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list647 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list647.size); - FieldSchema _elem648; - for (int _i649 = 0; _i649 < _list647.size; ++_i649) + org.apache.thrift.protocol.TList _list655 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list655.size); + FieldSchema _elem656; + for (int _i657 = 0; _i657 < _list655.size; ++_i657) { - _elem648 = new FieldSchema(); - _elem648.read(iprot); - struct.success.add(_elem648); + _elem656 = new FieldSchema(); + _elem656.read(iprot); + struct.success.add(_elem656); } } struct.setSuccessIsSet(true); @@ -43691,13 +43832,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list650 = iprot.readListBegin(); - struct.success = new ArrayList(_list650.size); - String _elem651; - for (int _i652 = 0; _i652 < _list650.size; ++_i652) + org.apache.thrift.protocol.TList _list658 = iprot.readListBegin(); + struct.success = new ArrayList(_list658.size); + String _elem659; + for (int _i660 = 0; _i660 < _list658.size; ++_i660) { - _elem651 = iprot.readString(); - struct.success.add(_elem651); + _elem659 = iprot.readString(); + struct.success.add(_elem659); } iprot.readListEnd(); } @@ -43732,9 +43873,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter653 : struct.success) + for (String _iter661 : struct.success) { - oprot.writeString(_iter653); + oprot.writeString(_iter661); } oprot.writeListEnd(); } @@ -43773,9 +43914,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter654 : struct.success) + for (String _iter662 : struct.success) { - oprot.writeString(_iter654); + oprot.writeString(_iter662); } } } @@ -43790,13 +43931,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_result st BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list655 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list655.size); - String _elem656; - for (int _i657 = 0; _i657 < _list655.size; ++_i657) + org.apache.thrift.protocol.TList _list663 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list663.size); + String _elem664; + for (int _i665 = 0; _i665 < _list663.size; ++_i665) { - _elem656 = iprot.readString(); - struct.success.add(_elem656); + _elem664 = iprot.readString(); + struct.success.add(_elem664); } } struct.setSuccessIsSet(true); @@ -44301,13 +44442,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_meta_args case 3: // TBL_TYPES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list658 = iprot.readListBegin(); - struct.tbl_types = new ArrayList(_list658.size); - String _elem659; - for (int _i660 = 0; _i660 < _list658.size; ++_i660) + org.apache.thrift.protocol.TList _list666 = iprot.readListBegin(); + struct.tbl_types = new ArrayList(_list666.size); + String _elem667; + for (int _i668 = 0; _i668 < _list666.size; ++_i668) { - _elem659 = iprot.readString(); - struct.tbl_types.add(_elem659); + _elem667 = iprot.readString(); + struct.tbl_types.add(_elem667); } iprot.readListEnd(); } @@ -44343,9 +44484,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_meta_arg oprot.writeFieldBegin(TBL_TYPES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tbl_types.size())); - for (String _iter661 : struct.tbl_types) + for (String _iter669 : struct.tbl_types) { - oprot.writeString(_iter661); + oprot.writeString(_iter669); } oprot.writeListEnd(); } @@ -44388,9 +44529,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args if (struct.isSetTbl_types()) { { oprot.writeI32(struct.tbl_types.size()); - for (String _iter662 : struct.tbl_types) + for (String _iter670 : struct.tbl_types) { - oprot.writeString(_iter662); + oprot.writeString(_iter670); } } } @@ -44410,13 +44551,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list663 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_types = new ArrayList(_list663.size); - String _elem664; - for (int _i665 = 0; _i665 < _list663.size; ++_i665) + org.apache.thrift.protocol.TList _list671 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_types = new ArrayList(_list671.size); + String _elem672; + for (int _i673 = 0; _i673 < _list671.size; ++_i673) { - _elem664 = iprot.readString(); - struct.tbl_types.add(_elem664); + _elem672 = iprot.readString(); + struct.tbl_types.add(_elem672); } } struct.setTbl_typesIsSet(true); @@ -44822,14 +44963,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_meta_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list666 = iprot.readListBegin(); - struct.success = new ArrayList(_list666.size); - TableMeta _elem667; - for (int _i668 = 0; _i668 < _list666.size; ++_i668) + org.apache.thrift.protocol.TList _list674 = iprot.readListBegin(); + struct.success = new ArrayList(_list674.size); + TableMeta _elem675; + for (int _i676 = 0; _i676 < _list674.size; ++_i676) { - _elem667 = new TableMeta(); - _elem667.read(iprot); - struct.success.add(_elem667); + _elem675 = new TableMeta(); + _elem675.read(iprot); + struct.success.add(_elem675); } iprot.readListEnd(); } @@ -44864,9 +45005,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_meta_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (TableMeta _iter669 : struct.success) + for (TableMeta _iter677 : struct.success) { - _iter669.write(oprot); + _iter677.write(oprot); } oprot.writeListEnd(); } @@ -44905,9 +45046,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (TableMeta _iter670 : struct.success) + for (TableMeta _iter678 : struct.success) { - _iter670.write(oprot); + _iter678.write(oprot); } } } @@ -44922,14 +45063,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list671 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list671.size); - TableMeta _elem672; - for (int _i673 = 0; _i673 < _list671.size; ++_i673) + org.apache.thrift.protocol.TList _list679 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list679.size); + TableMeta _elem680; + for (int _i681 = 0; _i681 < _list679.size; ++_i681) { - _elem672 = new TableMeta(); - _elem672.read(iprot); - struct.success.add(_elem672); + _elem680 = new TableMeta(); + _elem680.read(iprot); + struct.success.add(_elem680); } } struct.setSuccessIsSet(true); @@ -45695,13 +45836,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_tables_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list674 = iprot.readListBegin(); - struct.success = new ArrayList(_list674.size); - String _elem675; - for (int _i676 = 0; _i676 < _list674.size; ++_i676) + org.apache.thrift.protocol.TList _list682 = iprot.readListBegin(); + struct.success = new ArrayList(_list682.size); + String _elem683; + for (int _i684 = 0; _i684 < _list682.size; ++_i684) { - _elem675 = iprot.readString(); - struct.success.add(_elem675); + _elem683 = iprot.readString(); + struct.success.add(_elem683); } iprot.readListEnd(); } @@ -45736,9 +45877,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_tables_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter677 : struct.success) + for (String _iter685 : struct.success) { - oprot.writeString(_iter677); + oprot.writeString(_iter685); } oprot.writeListEnd(); } @@ -45777,9 +45918,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter678 : struct.success) + for (String _iter686 : struct.success) { - oprot.writeString(_iter678); + oprot.writeString(_iter686); } } } @@ -45794,13 +45935,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list679 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list679.size); - String _elem680; - for (int _i681 = 0; _i681 < _list679.size; ++_i681) + org.apache.thrift.protocol.TList _list687 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list687.size); + String _elem688; + for (int _i689 = 0; _i689 < _list687.size; ++_i689) { - _elem680 = iprot.readString(); - struct.success.add(_elem680); + _elem688 = iprot.readString(); + struct.success.add(_elem688); } } struct.setSuccessIsSet(true); @@ -47253,13 +47394,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_b case 2: // TBL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list682 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list682.size); - String _elem683; - for (int _i684 = 0; _i684 < _list682.size; ++_i684) + org.apache.thrift.protocol.TList _list690 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list690.size); + String _elem691; + for (int _i692 = 0; _i692 < _list690.size; ++_i692) { - _elem683 = iprot.readString(); - struct.tbl_names.add(_elem683); + _elem691 = iprot.readString(); + struct.tbl_names.add(_elem691); } iprot.readListEnd(); } @@ -47290,9 +47431,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_objects_ oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tbl_names.size())); - for (String _iter685 : struct.tbl_names) + for (String _iter693 : struct.tbl_names) { - oprot.writeString(_iter685); + oprot.writeString(_iter693); } oprot.writeListEnd(); } @@ -47329,9 +47470,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetTbl_names()) { { oprot.writeI32(struct.tbl_names.size()); - for (String _iter686 : struct.tbl_names) + for (String _iter694 : struct.tbl_names) { - oprot.writeString(_iter686); + oprot.writeString(_iter694); } } } @@ -47347,13 +47488,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list687 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list687.size); - String _elem688; - for (int _i689 = 0; _i689 < _list687.size; ++_i689) + org.apache.thrift.protocol.TList _list695 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list695.size); + String _elem696; + for (int _i697 = 0; _i697 < _list695.size; ++_i697) { - _elem688 = iprot.readString(); - struct.tbl_names.add(_elem688); + _elem696 = iprot.readString(); + struct.tbl_names.add(_elem696); } } struct.setTbl_namesIsSet(true); @@ -47921,14 +48062,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_b case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list690 = iprot.readListBegin(); - struct.success = new ArrayList
(_list690.size); - Table _elem691; - for (int _i692 = 0; _i692 < _list690.size; ++_i692) + org.apache.thrift.protocol.TList _list698 = iprot.readListBegin(); + struct.success = new ArrayList
(_list698.size); + Table _elem699; + for (int _i700 = 0; _i700 < _list698.size; ++_i700) { - _elem691 = new Table(); - _elem691.read(iprot); - struct.success.add(_elem691); + _elem699 = new Table(); + _elem699.read(iprot); + struct.success.add(_elem699); } iprot.readListEnd(); } @@ -47981,9 +48122,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_objects_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Table _iter693 : struct.success) + for (Table _iter701 : struct.success) { - _iter693.write(oprot); + _iter701.write(oprot); } oprot.writeListEnd(); } @@ -48038,9 +48179,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter694 : struct.success) + for (Table _iter702 : struct.success) { - _iter694.write(oprot); + _iter702.write(oprot); } } } @@ -48061,14 +48202,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list695 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list695.size); - Table _elem696; - for (int _i697 = 0; _i697 < _list695.size; ++_i697) + org.apache.thrift.protocol.TList _list703 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list703.size); + Table _elem704; + for (int _i705 = 0; _i705 < _list703.size; ++_i705) { - _elem696 = new Table(); - _elem696.read(iprot); - struct.success.add(_elem696); + _elem704 = new Table(); + _elem704.read(iprot); + struct.success.add(_elem704); } } struct.setSuccessIsSet(true); @@ -49214,13 +49355,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_names_by_ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list698 = iprot.readListBegin(); - struct.success = new ArrayList(_list698.size); - String _elem699; - for (int _i700 = 0; _i700 < _list698.size; ++_i700) + org.apache.thrift.protocol.TList _list706 = iprot.readListBegin(); + struct.success = new ArrayList(_list706.size); + String _elem707; + for (int _i708 = 0; _i708 < _list706.size; ++_i708) { - _elem699 = iprot.readString(); - struct.success.add(_elem699); + _elem707 = iprot.readString(); + struct.success.add(_elem707); } iprot.readListEnd(); } @@ -49273,9 +49414,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_names_by oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter701 : struct.success) + for (String _iter709 : struct.success) { - oprot.writeString(_iter701); + oprot.writeString(_iter709); } oprot.writeListEnd(); } @@ -49330,9 +49471,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter702 : struct.success) + for (String _iter710 : struct.success) { - oprot.writeString(_iter702); + oprot.writeString(_iter710); } } } @@ -49353,13 +49494,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_f BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list703 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list703.size); - String _elem704; - for (int _i705 = 0; _i705 < _list703.size; ++_i705) + org.apache.thrift.protocol.TList _list711 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list711.size); + String _elem712; + for (int _i713 = 0; _i713 < _list711.size; ++_i713) { - _elem704 = iprot.readString(); - struct.success.add(_elem704); + _elem712 = iprot.readString(); + struct.success.add(_elem712); } } struct.setSuccessIsSet(true); @@ -55218,14 +55359,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, add_partitions_args case 1: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list706 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list706.size); - Partition _elem707; - for (int _i708 = 0; _i708 < _list706.size; ++_i708) + org.apache.thrift.protocol.TList _list714 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list714.size); + Partition _elem715; + for (int _i716 = 0; _i716 < _list714.size; ++_i716) { - _elem707 = new Partition(); - _elem707.read(iprot); - struct.new_parts.add(_elem707); + _elem715 = new Partition(); + _elem715.read(iprot); + struct.new_parts.add(_elem715); } iprot.readListEnd(); } @@ -55251,9 +55392,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, add_partitions_arg oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (Partition _iter709 : struct.new_parts) + for (Partition _iter717 : struct.new_parts) { - _iter709.write(oprot); + _iter717.write(oprot); } oprot.writeListEnd(); } @@ -55284,9 +55425,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, add_partitions_args if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter710 : struct.new_parts) + for (Partition _iter718 : struct.new_parts) { - _iter710.write(oprot); + _iter718.write(oprot); } } } @@ -55298,14 +55439,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partitions_args BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list711 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list711.size); - Partition _elem712; - for (int _i713 = 0; _i713 < _list711.size; ++_i713) + org.apache.thrift.protocol.TList _list719 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list719.size); + Partition _elem720; + for (int _i721 = 0; _i721 < _list719.size; ++_i721) { - _elem712 = new Partition(); - _elem712.read(iprot); - struct.new_parts.add(_elem712); + _elem720 = new Partition(); + _elem720.read(iprot); + struct.new_parts.add(_elem720); } } struct.setNew_partsIsSet(true); @@ -56306,14 +56447,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, add_partitions_pspe case 1: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list714 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list714.size); - PartitionSpec _elem715; - for (int _i716 = 0; _i716 < _list714.size; ++_i716) + org.apache.thrift.protocol.TList _list722 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list722.size); + PartitionSpec _elem723; + for (int _i724 = 0; _i724 < _list722.size; ++_i724) { - _elem715 = new PartitionSpec(); - _elem715.read(iprot); - struct.new_parts.add(_elem715); + _elem723 = new PartitionSpec(); + _elem723.read(iprot); + struct.new_parts.add(_elem723); } iprot.readListEnd(); } @@ -56339,9 +56480,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, add_partitions_psp oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (PartitionSpec _iter717 : struct.new_parts) + for (PartitionSpec _iter725 : struct.new_parts) { - _iter717.write(oprot); + _iter725.write(oprot); } oprot.writeListEnd(); } @@ -56372,9 +56513,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, add_partitions_pspe if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (PartitionSpec _iter718 : struct.new_parts) + for (PartitionSpec _iter726 : struct.new_parts) { - _iter718.write(oprot); + _iter726.write(oprot); } } } @@ -56386,14 +56527,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partitions_pspec BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list719 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list719.size); - PartitionSpec _elem720; - for (int _i721 = 0; _i721 < _list719.size; ++_i721) + org.apache.thrift.protocol.TList _list727 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list727.size); + PartitionSpec _elem728; + for (int _i729 = 0; _i729 < _list727.size; ++_i729) { - _elem720 = new PartitionSpec(); - _elem720.read(iprot); - struct.new_parts.add(_elem720); + _elem728 = new PartitionSpec(); + _elem728.read(iprot); + struct.new_parts.add(_elem728); } } struct.setNew_partsIsSet(true); @@ -57569,13 +57710,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, append_partition_ar case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list722 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list722.size); - String _elem723; - for (int _i724 = 0; _i724 < _list722.size; ++_i724) + org.apache.thrift.protocol.TList _list730 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list730.size); + String _elem731; + for (int _i732 = 0; _i732 < _list730.size; ++_i732) { - _elem723 = iprot.readString(); - struct.part_vals.add(_elem723); + _elem731 = iprot.readString(); + struct.part_vals.add(_elem731); } iprot.readListEnd(); } @@ -57611,9 +57752,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, append_partition_a oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter725 : struct.part_vals) + for (String _iter733 : struct.part_vals) { - oprot.writeString(_iter725); + oprot.writeString(_iter733); } oprot.writeListEnd(); } @@ -57656,9 +57797,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, append_partition_ar if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter726 : struct.part_vals) + for (String _iter734 : struct.part_vals) { - oprot.writeString(_iter726); + oprot.writeString(_iter734); } } } @@ -57678,13 +57819,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list727 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list727.size); - String _elem728; - for (int _i729 = 0; _i729 < _list727.size; ++_i729) + org.apache.thrift.protocol.TList _list735 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list735.size); + String _elem736; + for (int _i737 = 0; _i737 < _list735.size; ++_i737) { - _elem728 = iprot.readString(); - struct.part_vals.add(_elem728); + _elem736 = iprot.readString(); + struct.part_vals.add(_elem736); } } struct.setPart_valsIsSet(true); @@ -59993,13 +60134,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, append_partition_wi case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list730 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list730.size); - String _elem731; - for (int _i732 = 0; _i732 < _list730.size; ++_i732) + org.apache.thrift.protocol.TList _list738 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list738.size); + String _elem739; + for (int _i740 = 0; _i740 < _list738.size; ++_i740) { - _elem731 = iprot.readString(); - struct.part_vals.add(_elem731); + _elem739 = iprot.readString(); + struct.part_vals.add(_elem739); } iprot.readListEnd(); } @@ -60044,9 +60185,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, append_partition_w oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter733 : struct.part_vals) + for (String _iter741 : struct.part_vals) { - oprot.writeString(_iter733); + oprot.writeString(_iter741); } oprot.writeListEnd(); } @@ -60097,9 +60238,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, append_partition_wi if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter734 : struct.part_vals) + for (String _iter742 : struct.part_vals) { - oprot.writeString(_iter734); + oprot.writeString(_iter742); } } } @@ -60122,13 +60263,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list735 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list735.size); - String _elem736; - for (int _i737 = 0; _i737 < _list735.size; ++_i737) + org.apache.thrift.protocol.TList _list743 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list743.size); + String _elem744; + for (int _i745 = 0; _i745 < _list743.size; ++_i745) { - _elem736 = iprot.readString(); - struct.part_vals.add(_elem736); + _elem744 = iprot.readString(); + struct.part_vals.add(_elem744); } } struct.setPart_valsIsSet(true); @@ -63998,13 +64139,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_partition_args case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list738 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list738.size); - String _elem739; - for (int _i740 = 0; _i740 < _list738.size; ++_i740) + org.apache.thrift.protocol.TList _list746 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list746.size); + String _elem747; + for (int _i748 = 0; _i748 < _list746.size; ++_i748) { - _elem739 = iprot.readString(); - struct.part_vals.add(_elem739); + _elem747 = iprot.readString(); + struct.part_vals.add(_elem747); } iprot.readListEnd(); } @@ -64048,9 +64189,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, drop_partition_arg oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter741 : struct.part_vals) + for (String _iter749 : struct.part_vals) { - oprot.writeString(_iter741); + oprot.writeString(_iter749); } oprot.writeListEnd(); } @@ -64099,9 +64240,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, drop_partition_args if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter742 : struct.part_vals) + for (String _iter750 : struct.part_vals) { - oprot.writeString(_iter742); + oprot.writeString(_iter750); } } } @@ -64124,13 +64265,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list743 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list743.size); - String _elem744; - for (int _i745 = 0; _i745 < _list743.size; ++_i745) + org.apache.thrift.protocol.TList _list751 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list751.size); + String _elem752; + for (int _i753 = 0; _i753 < _list751.size; ++_i753) { - _elem744 = iprot.readString(); - struct.part_vals.add(_elem744); + _elem752 = iprot.readString(); + struct.part_vals.add(_elem752); } } struct.setPart_valsIsSet(true); @@ -65369,13 +65510,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_partition_with case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list746 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list746.size); - String _elem747; - for (int _i748 = 0; _i748 < _list746.size; ++_i748) + org.apache.thrift.protocol.TList _list754 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list754.size); + String _elem755; + for (int _i756 = 0; _i756 < _list754.size; ++_i756) { - _elem747 = iprot.readString(); - struct.part_vals.add(_elem747); + _elem755 = iprot.readString(); + struct.part_vals.add(_elem755); } iprot.readListEnd(); } @@ -65428,9 +65569,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, drop_partition_wit oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter749 : struct.part_vals) + for (String _iter757 : struct.part_vals) { - oprot.writeString(_iter749); + oprot.writeString(_iter757); } oprot.writeListEnd(); } @@ -65487,9 +65628,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, drop_partition_with if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter750 : struct.part_vals) + for (String _iter758 : struct.part_vals) { - oprot.writeString(_iter750); + oprot.writeString(_iter758); } } } @@ -65515,13 +65656,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list751 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list751.size); - String _elem752; - for (int _i753 = 0; _i753 < _list751.size; ++_i753) + org.apache.thrift.protocol.TList _list759 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list759.size); + String _elem760; + for (int _i761 = 0; _i761 < _list759.size; ++_i761) { - _elem752 = iprot.readString(); - struct.part_vals.add(_elem752); + _elem760 = iprot.readString(); + struct.part_vals.add(_elem760); } } struct.setPart_valsIsSet(true); @@ -70123,13 +70264,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_args case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list754 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list754.size); - String _elem755; - for (int _i756 = 0; _i756 < _list754.size; ++_i756) + org.apache.thrift.protocol.TList _list762 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list762.size); + String _elem763; + for (int _i764 = 0; _i764 < _list762.size; ++_i764) { - _elem755 = iprot.readString(); - struct.part_vals.add(_elem755); + _elem763 = iprot.readString(); + struct.part_vals.add(_elem763); } iprot.readListEnd(); } @@ -70165,9 +70306,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_args oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter757 : struct.part_vals) + for (String _iter765 : struct.part_vals) { - oprot.writeString(_iter757); + oprot.writeString(_iter765); } oprot.writeListEnd(); } @@ -70210,9 +70351,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_args if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter758 : struct.part_vals) + for (String _iter766 : struct.part_vals) { - oprot.writeString(_iter758); + oprot.writeString(_iter766); } } } @@ -70232,13 +70373,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list759 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list759.size); - String _elem760; - for (int _i761 = 0; _i761 < _list759.size; ++_i761) + org.apache.thrift.protocol.TList _list767 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list767.size); + String _elem768; + for (int _i769 = 0; _i769 < _list767.size; ++_i769) { - _elem760 = iprot.readString(); - struct.part_vals.add(_elem760); + _elem768 = iprot.readString(); + struct.part_vals.add(_elem768); } } struct.setPart_valsIsSet(true); @@ -71456,15 +71597,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, exchange_partition_ case 1: // PARTITION_SPECS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map762 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map762.size); - String _key763; - String _val764; - for (int _i765 = 0; _i765 < _map762.size; ++_i765) + org.apache.thrift.protocol.TMap _map770 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map770.size); + String _key771; + String _val772; + for (int _i773 = 0; _i773 < _map770.size; ++_i773) { - _key763 = iprot.readString(); - _val764 = iprot.readString(); - struct.partitionSpecs.put(_key763, _val764); + _key771 = iprot.readString(); + _val772 = iprot.readString(); + struct.partitionSpecs.put(_key771, _val772); } iprot.readMapEnd(); } @@ -71522,10 +71663,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exchange_partition oprot.writeFieldBegin(PARTITION_SPECS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.partitionSpecs.size())); - for (Map.Entry _iter766 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter774 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter766.getKey()); - oprot.writeString(_iter766.getValue()); + oprot.writeString(_iter774.getKey()); + oprot.writeString(_iter774.getValue()); } oprot.writeMapEnd(); } @@ -71588,10 +71729,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter767 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter775 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter767.getKey()); - oprot.writeString(_iter767.getValue()); + oprot.writeString(_iter775.getKey()); + oprot.writeString(_iter775.getValue()); } } } @@ -71615,15 +71756,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partition_a BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map768 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionSpecs = new HashMap(2*_map768.size); - String _key769; - String _val770; - for (int _i771 = 0; _i771 < _map768.size; ++_i771) + org.apache.thrift.protocol.TMap _map776 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionSpecs = new HashMap(2*_map776.size); + String _key777; + String _val778; + for (int _i779 = 0; _i779 < _map776.size; ++_i779) { - _key769 = iprot.readString(); - _val770 = iprot.readString(); - struct.partitionSpecs.put(_key769, _val770); + _key777 = iprot.readString(); + _val778 = iprot.readString(); + struct.partitionSpecs.put(_key777, _val778); } } struct.setPartitionSpecsIsSet(true); @@ -73069,15 +73210,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, exchange_partitions case 1: // PARTITION_SPECS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map772 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map772.size); - String _key773; - String _val774; - for (int _i775 = 0; _i775 < _map772.size; ++_i775) + org.apache.thrift.protocol.TMap _map780 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map780.size); + String _key781; + String _val782; + for (int _i783 = 0; _i783 < _map780.size; ++_i783) { - _key773 = iprot.readString(); - _val774 = iprot.readString(); - struct.partitionSpecs.put(_key773, _val774); + _key781 = iprot.readString(); + _val782 = iprot.readString(); + struct.partitionSpecs.put(_key781, _val782); } iprot.readMapEnd(); } @@ -73135,10 +73276,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exchange_partition oprot.writeFieldBegin(PARTITION_SPECS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.partitionSpecs.size())); - for (Map.Entry _iter776 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter784 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter776.getKey()); - oprot.writeString(_iter776.getValue()); + oprot.writeString(_iter784.getKey()); + oprot.writeString(_iter784.getValue()); } oprot.writeMapEnd(); } @@ -73201,10 +73342,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter777 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter785 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter777.getKey()); - oprot.writeString(_iter777.getValue()); + oprot.writeString(_iter785.getKey()); + oprot.writeString(_iter785.getValue()); } } } @@ -73228,15 +73369,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partitions_ BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map778 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionSpecs = new HashMap(2*_map778.size); - String _key779; - String _val780; - for (int _i781 = 0; _i781 < _map778.size; ++_i781) + org.apache.thrift.protocol.TMap _map786 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionSpecs = new HashMap(2*_map786.size); + String _key787; + String _val788; + for (int _i789 = 0; _i789 < _map786.size; ++_i789) { - _key779 = iprot.readString(); - _val780 = iprot.readString(); - struct.partitionSpecs.put(_key779, _val780); + _key787 = iprot.readString(); + _val788 = iprot.readString(); + struct.partitionSpecs.put(_key787, _val788); } } struct.setPartitionSpecsIsSet(true); @@ -73901,14 +74042,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, exchange_partitions case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list782 = iprot.readListBegin(); - struct.success = new ArrayList(_list782.size); - Partition _elem783; - for (int _i784 = 0; _i784 < _list782.size; ++_i784) + org.apache.thrift.protocol.TList _list790 = iprot.readListBegin(); + struct.success = new ArrayList(_list790.size); + Partition _elem791; + for (int _i792 = 0; _i792 < _list790.size; ++_i792) { - _elem783 = new Partition(); - _elem783.read(iprot); - struct.success.add(_elem783); + _elem791 = new Partition(); + _elem791.read(iprot); + struct.success.add(_elem791); } iprot.readListEnd(); } @@ -73970,9 +74111,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exchange_partition oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter785 : struct.success) + for (Partition _iter793 : struct.success) { - _iter785.write(oprot); + _iter793.write(oprot); } oprot.writeListEnd(); } @@ -74035,9 +74176,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter786 : struct.success) + for (Partition _iter794 : struct.success) { - _iter786.write(oprot); + _iter794.write(oprot); } } } @@ -74061,14 +74202,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partitions_ BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list787 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list787.size); - Partition _elem788; - for (int _i789 = 0; _i789 < _list787.size; ++_i789) + org.apache.thrift.protocol.TList _list795 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list795.size); + Partition _elem796; + for (int _i797 = 0; _i797 < _list795.size; ++_i797) { - _elem788 = new Partition(); - _elem788.read(iprot); - struct.success.add(_elem788); + _elem796 = new Partition(); + _elem796.read(iprot); + struct.success.add(_elem796); } } struct.setSuccessIsSet(true); @@ -74767,13 +74908,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_ case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list790 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list790.size); - String _elem791; - for (int _i792 = 0; _i792 < _list790.size; ++_i792) + org.apache.thrift.protocol.TList _list798 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list798.size); + String _elem799; + for (int _i800 = 0; _i800 < _list798.size; ++_i800) { - _elem791 = iprot.readString(); - struct.part_vals.add(_elem791); + _elem799 = iprot.readString(); + struct.part_vals.add(_elem799); } iprot.readListEnd(); } @@ -74793,13 +74934,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_ case 5: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list793 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list793.size); - String _elem794; - for (int _i795 = 0; _i795 < _list793.size; ++_i795) + org.apache.thrift.protocol.TList _list801 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list801.size); + String _elem802; + for (int _i803 = 0; _i803 < _list801.size; ++_i803) { - _elem794 = iprot.readString(); - struct.group_names.add(_elem794); + _elem802 = iprot.readString(); + struct.group_names.add(_elem802); } iprot.readListEnd(); } @@ -74835,9 +74976,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter796 : struct.part_vals) + for (String _iter804 : struct.part_vals) { - oprot.writeString(_iter796); + oprot.writeString(_iter804); } oprot.writeListEnd(); } @@ -74852,9 +74993,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter797 : struct.group_names) + for (String _iter805 : struct.group_names) { - oprot.writeString(_iter797); + oprot.writeString(_iter805); } oprot.writeListEnd(); } @@ -74903,9 +75044,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter798 : struct.part_vals) + for (String _iter806 : struct.part_vals) { - oprot.writeString(_iter798); + oprot.writeString(_iter806); } } } @@ -74915,9 +75056,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_ if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter799 : struct.group_names) + for (String _iter807 : struct.group_names) { - oprot.writeString(_iter799); + oprot.writeString(_iter807); } } } @@ -74937,13 +75078,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list800 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list800.size); - String _elem801; - for (int _i802 = 0; _i802 < _list800.size; ++_i802) + org.apache.thrift.protocol.TList _list808 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list808.size); + String _elem809; + for (int _i810 = 0; _i810 < _list808.size; ++_i810) { - _elem801 = iprot.readString(); - struct.part_vals.add(_elem801); + _elem809 = iprot.readString(); + struct.part_vals.add(_elem809); } } struct.setPart_valsIsSet(true); @@ -74954,13 +75095,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list803 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list803.size); - String _elem804; - for (int _i805 = 0; _i805 < _list803.size; ++_i805) + org.apache.thrift.protocol.TList _list811 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list811.size); + String _elem812; + for (int _i813 = 0; _i813 < _list811.size; ++_i813) { - _elem804 = iprot.readString(); - struct.group_names.add(_elem804); + _elem812 = iprot.readString(); + struct.group_names.add(_elem812); } } struct.setGroup_namesIsSet(true); @@ -77729,14 +77870,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list806 = iprot.readListBegin(); - struct.success = new ArrayList(_list806.size); - Partition _elem807; - for (int _i808 = 0; _i808 < _list806.size; ++_i808) + org.apache.thrift.protocol.TList _list814 = iprot.readListBegin(); + struct.success = new ArrayList(_list814.size); + Partition _elem815; + for (int _i816 = 0; _i816 < _list814.size; ++_i816) { - _elem807 = new Partition(); - _elem807.read(iprot); - struct.success.add(_elem807); + _elem815 = new Partition(); + _elem815.read(iprot); + struct.success.add(_elem815); } iprot.readListEnd(); } @@ -77780,9 +77921,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter809 : struct.success) + for (Partition _iter817 : struct.success) { - _iter809.write(oprot); + _iter817.write(oprot); } oprot.writeListEnd(); } @@ -77829,9 +77970,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter810 : struct.success) + for (Partition _iter818 : struct.success) { - _iter810.write(oprot); + _iter818.write(oprot); } } } @@ -77849,14 +77990,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_resul BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list811 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list811.size); - Partition _elem812; - for (int _i813 = 0; _i813 < _list811.size; ++_i813) + org.apache.thrift.protocol.TList _list819 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list819.size); + Partition _elem820; + for (int _i821 = 0; _i821 < _list819.size; ++_i821) { - _elem812 = new Partition(); - _elem812.read(iprot); - struct.success.add(_elem812); + _elem820 = new Partition(); + _elem820.read(iprot); + struct.success.add(_elem820); } } struct.setSuccessIsSet(true); @@ -78546,13 +78687,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with case 5: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list814 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list814.size); - String _elem815; - for (int _i816 = 0; _i816 < _list814.size; ++_i816) + org.apache.thrift.protocol.TList _list822 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list822.size); + String _elem823; + for (int _i824 = 0; _i824 < _list822.size; ++_i824) { - _elem815 = iprot.readString(); - struct.group_names.add(_elem815); + _elem823 = iprot.readString(); + struct.group_names.add(_elem823); } iprot.readListEnd(); } @@ -78596,9 +78737,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_wit oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter817 : struct.group_names) + for (String _iter825 : struct.group_names) { - oprot.writeString(_iter817); + oprot.writeString(_iter825); } oprot.writeListEnd(); } @@ -78653,9 +78794,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter818 : struct.group_names) + for (String _iter826 : struct.group_names) { - oprot.writeString(_iter818); + oprot.writeString(_iter826); } } } @@ -78683,13 +78824,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list819 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list819.size); - String _elem820; - for (int _i821 = 0; _i821 < _list819.size; ++_i821) + org.apache.thrift.protocol.TList _list827 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list827.size); + String _elem828; + for (int _i829 = 0; _i829 < _list827.size; ++_i829) { - _elem820 = iprot.readString(); - struct.group_names.add(_elem820); + _elem828 = iprot.readString(); + struct.group_names.add(_elem828); } } struct.setGroup_namesIsSet(true); @@ -79176,14 +79317,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list822 = iprot.readListBegin(); - struct.success = new ArrayList(_list822.size); - Partition _elem823; - for (int _i824 = 0; _i824 < _list822.size; ++_i824) + org.apache.thrift.protocol.TList _list830 = iprot.readListBegin(); + struct.success = new ArrayList(_list830.size); + Partition _elem831; + for (int _i832 = 0; _i832 < _list830.size; ++_i832) { - _elem823 = new Partition(); - _elem823.read(iprot); - struct.success.add(_elem823); + _elem831 = new Partition(); + _elem831.read(iprot); + struct.success.add(_elem831); } iprot.readListEnd(); } @@ -79227,9 +79368,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_wit oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter825 : struct.success) + for (Partition _iter833 : struct.success) { - _iter825.write(oprot); + _iter833.write(oprot); } oprot.writeListEnd(); } @@ -79276,9 +79417,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter826 : struct.success) + for (Partition _iter834 : struct.success) { - _iter826.write(oprot); + _iter834.write(oprot); } } } @@ -79296,14 +79437,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list827 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list827.size); - Partition _elem828; - for (int _i829 = 0; _i829 < _list827.size; ++_i829) + org.apache.thrift.protocol.TList _list835 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list835.size); + Partition _elem836; + for (int _i837 = 0; _i837 < _list835.size; ++_i837) { - _elem828 = new Partition(); - _elem828.read(iprot); - struct.success.add(_elem828); + _elem836 = new Partition(); + _elem836.read(iprot); + struct.success.add(_elem836); } } struct.setSuccessIsSet(true); @@ -80366,14 +80507,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_pspe case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list830 = iprot.readListBegin(); - struct.success = new ArrayList(_list830.size); - PartitionSpec _elem831; - for (int _i832 = 0; _i832 < _list830.size; ++_i832) + org.apache.thrift.protocol.TList _list838 = iprot.readListBegin(); + struct.success = new ArrayList(_list838.size); + PartitionSpec _elem839; + for (int _i840 = 0; _i840 < _list838.size; ++_i840) { - _elem831 = new PartitionSpec(); - _elem831.read(iprot); - struct.success.add(_elem831); + _elem839 = new PartitionSpec(); + _elem839.read(iprot); + struct.success.add(_elem839); } iprot.readListEnd(); } @@ -80417,9 +80558,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_psp oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (PartitionSpec _iter833 : struct.success) + for (PartitionSpec _iter841 : struct.success) { - _iter833.write(oprot); + _iter841.write(oprot); } oprot.writeListEnd(); } @@ -80466,9 +80607,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter834 : struct.success) + for (PartitionSpec _iter842 : struct.success) { - _iter834.write(oprot); + _iter842.write(oprot); } } } @@ -80486,14 +80627,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list835 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list835.size); - PartitionSpec _elem836; - for (int _i837 = 0; _i837 < _list835.size; ++_i837) + org.apache.thrift.protocol.TList _list843 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list843.size); + PartitionSpec _elem844; + for (int _i845 = 0; _i845 < _list843.size; ++_i845) { - _elem836 = new PartitionSpec(); - _elem836.read(iprot); - struct.success.add(_elem836); + _elem844 = new PartitionSpec(); + _elem844.read(iprot); + struct.success.add(_elem844); } } struct.setSuccessIsSet(true); @@ -81472,13 +81613,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list838 = iprot.readListBegin(); - struct.success = new ArrayList(_list838.size); - String _elem839; - for (int _i840 = 0; _i840 < _list838.size; ++_i840) + org.apache.thrift.protocol.TList _list846 = iprot.readListBegin(); + struct.success = new ArrayList(_list846.size); + String _elem847; + for (int _i848 = 0; _i848 < _list846.size; ++_i848) { - _elem839 = iprot.readString(); - struct.success.add(_elem839); + _elem847 = iprot.readString(); + struct.success.add(_elem847); } iprot.readListEnd(); } @@ -81513,9 +81654,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter841 : struct.success) + for (String _iter849 : struct.success) { - oprot.writeString(_iter841); + oprot.writeString(_iter849); } oprot.writeListEnd(); } @@ -81554,9 +81695,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter842 : struct.success) + for (String _iter850 : struct.success) { - oprot.writeString(_iter842); + oprot.writeString(_iter850); } } } @@ -81571,13 +81712,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list843 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list843.size); - String _elem844; - for (int _i845 = 0; _i845 < _list843.size; ++_i845) + org.apache.thrift.protocol.TList _list851 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list851.size); + String _elem852; + for (int _i853 = 0; _i853 < _list851.size; ++_i853) { - _elem844 = iprot.readString(); - struct.success.add(_elem844); + _elem852 = iprot.readString(); + struct.success.add(_elem852); } } struct.setSuccessIsSet(true); @@ -82165,13 +82306,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_a case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list846 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list846.size); - String _elem847; - for (int _i848 = 0; _i848 < _list846.size; ++_i848) + org.apache.thrift.protocol.TList _list854 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list854.size); + String _elem855; + for (int _i856 = 0; _i856 < _list854.size; ++_i856) { - _elem847 = iprot.readString(); - struct.part_vals.add(_elem847); + _elem855 = iprot.readString(); + struct.part_vals.add(_elem855); } iprot.readListEnd(); } @@ -82215,9 +82356,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter849 : struct.part_vals) + for (String _iter857 : struct.part_vals) { - oprot.writeString(_iter849); + oprot.writeString(_iter857); } oprot.writeListEnd(); } @@ -82266,9 +82407,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_a if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter850 : struct.part_vals) + for (String _iter858 : struct.part_vals) { - oprot.writeString(_iter850); + oprot.writeString(_iter858); } } } @@ -82291,13 +82432,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list851 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list851.size); - String _elem852; - for (int _i853 = 0; _i853 < _list851.size; ++_i853) + org.apache.thrift.protocol.TList _list859 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list859.size); + String _elem860; + for (int _i861 = 0; _i861 < _list859.size; ++_i861) { - _elem852 = iprot.readString(); - struct.part_vals.add(_elem852); + _elem860 = iprot.readString(); + struct.part_vals.add(_elem860); } } struct.setPart_valsIsSet(true); @@ -82788,14 +82929,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_r case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list854 = iprot.readListBegin(); - struct.success = new ArrayList(_list854.size); - Partition _elem855; - for (int _i856 = 0; _i856 < _list854.size; ++_i856) + org.apache.thrift.protocol.TList _list862 = iprot.readListBegin(); + struct.success = new ArrayList(_list862.size); + Partition _elem863; + for (int _i864 = 0; _i864 < _list862.size; ++_i864) { - _elem855 = new Partition(); - _elem855.read(iprot); - struct.success.add(_elem855); + _elem863 = new Partition(); + _elem863.read(iprot); + struct.success.add(_elem863); } iprot.readListEnd(); } @@ -82839,9 +82980,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter857 : struct.success) + for (Partition _iter865 : struct.success) { - _iter857.write(oprot); + _iter865.write(oprot); } oprot.writeListEnd(); } @@ -82888,9 +83029,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter858 : struct.success) + for (Partition _iter866 : struct.success) { - _iter858.write(oprot); + _iter866.write(oprot); } } } @@ -82908,14 +83049,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_re BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list859 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list859.size); - Partition _elem860; - for (int _i861 = 0; _i861 < _list859.size; ++_i861) + org.apache.thrift.protocol.TList _list867 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list867.size); + Partition _elem868; + for (int _i869 = 0; _i869 < _list867.size; ++_i869) { - _elem860 = new Partition(); - _elem860.read(iprot); - struct.success.add(_elem860); + _elem868 = new Partition(); + _elem868.read(iprot); + struct.success.add(_elem868); } } struct.setSuccessIsSet(true); @@ -83687,13 +83828,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list862 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list862.size); - String _elem863; - for (int _i864 = 0; _i864 < _list862.size; ++_i864) + org.apache.thrift.protocol.TList _list870 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list870.size); + String _elem871; + for (int _i872 = 0; _i872 < _list870.size; ++_i872) { - _elem863 = iprot.readString(); - struct.part_vals.add(_elem863); + _elem871 = iprot.readString(); + struct.part_vals.add(_elem871); } iprot.readListEnd(); } @@ -83721,13 +83862,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w case 6: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list865 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list865.size); - String _elem866; - for (int _i867 = 0; _i867 < _list865.size; ++_i867) + org.apache.thrift.protocol.TList _list873 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list873.size); + String _elem874; + for (int _i875 = 0; _i875 < _list873.size; ++_i875) { - _elem866 = iprot.readString(); - struct.group_names.add(_elem866); + _elem874 = iprot.readString(); + struct.group_names.add(_elem874); } iprot.readListEnd(); } @@ -83763,9 +83904,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter868 : struct.part_vals) + for (String _iter876 : struct.part_vals) { - oprot.writeString(_iter868); + oprot.writeString(_iter876); } oprot.writeListEnd(); } @@ -83783,9 +83924,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter869 : struct.group_names) + for (String _iter877 : struct.group_names) { - oprot.writeString(_iter869); + oprot.writeString(_iter877); } oprot.writeListEnd(); } @@ -83837,9 +83978,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter870 : struct.part_vals) + for (String _iter878 : struct.part_vals) { - oprot.writeString(_iter870); + oprot.writeString(_iter878); } } } @@ -83852,9 +83993,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter871 : struct.group_names) + for (String _iter879 : struct.group_names) { - oprot.writeString(_iter871); + oprot.writeString(_iter879); } } } @@ -83874,13 +84015,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list872 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list872.size); - String _elem873; - for (int _i874 = 0; _i874 < _list872.size; ++_i874) + org.apache.thrift.protocol.TList _list880 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list880.size); + String _elem881; + for (int _i882 = 0; _i882 < _list880.size; ++_i882) { - _elem873 = iprot.readString(); - struct.part_vals.add(_elem873); + _elem881 = iprot.readString(); + struct.part_vals.add(_elem881); } } struct.setPart_valsIsSet(true); @@ -83895,13 +84036,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list875 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list875.size); - String _elem876; - for (int _i877 = 0; _i877 < _list875.size; ++_i877) + org.apache.thrift.protocol.TList _list883 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list883.size); + String _elem884; + for (int _i885 = 0; _i885 < _list883.size; ++_i885) { - _elem876 = iprot.readString(); - struct.group_names.add(_elem876); + _elem884 = iprot.readString(); + struct.group_names.add(_elem884); } } struct.setGroup_namesIsSet(true); @@ -84388,14 +84529,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list878 = iprot.readListBegin(); - struct.success = new ArrayList(_list878.size); - Partition _elem879; - for (int _i880 = 0; _i880 < _list878.size; ++_i880) + org.apache.thrift.protocol.TList _list886 = iprot.readListBegin(); + struct.success = new ArrayList(_list886.size); + Partition _elem887; + for (int _i888 = 0; _i888 < _list886.size; ++_i888) { - _elem879 = new Partition(); - _elem879.read(iprot); - struct.success.add(_elem879); + _elem887 = new Partition(); + _elem887.read(iprot); + struct.success.add(_elem887); } iprot.readListEnd(); } @@ -84439,9 +84580,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter881 : struct.success) + for (Partition _iter889 : struct.success) { - _iter881.write(oprot); + _iter889.write(oprot); } oprot.writeListEnd(); } @@ -84488,9 +84629,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter882 : struct.success) + for (Partition _iter890 : struct.success) { - _iter882.write(oprot); + _iter890.write(oprot); } } } @@ -84508,14 +84649,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list883 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list883.size); - Partition _elem884; - for (int _i885 = 0; _i885 < _list883.size; ++_i885) + org.apache.thrift.protocol.TList _list891 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list891.size); + Partition _elem892; + for (int _i893 = 0; _i893 < _list891.size; ++_i893) { - _elem884 = new Partition(); - _elem884.read(iprot); - struct.success.add(_elem884); + _elem892 = new Partition(); + _elem892.read(iprot); + struct.success.add(_elem892); } } struct.setSuccessIsSet(true); @@ -85108,13 +85249,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list886 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list886.size); - String _elem887; - for (int _i888 = 0; _i888 < _list886.size; ++_i888) + org.apache.thrift.protocol.TList _list894 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list894.size); + String _elem895; + for (int _i896 = 0; _i896 < _list894.size; ++_i896) { - _elem887 = iprot.readString(); - struct.part_vals.add(_elem887); + _elem895 = iprot.readString(); + struct.part_vals.add(_elem895); } iprot.readListEnd(); } @@ -85158,9 +85299,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter889 : struct.part_vals) + for (String _iter897 : struct.part_vals) { - oprot.writeString(_iter889); + oprot.writeString(_iter897); } oprot.writeListEnd(); } @@ -85209,9 +85350,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter890 : struct.part_vals) + for (String _iter898 : struct.part_vals) { - oprot.writeString(_iter890); + oprot.writeString(_iter898); } } } @@ -85234,13 +85375,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list891 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list891.size); - String _elem892; - for (int _i893 = 0; _i893 < _list891.size; ++_i893) + org.apache.thrift.protocol.TList _list899 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list899.size); + String _elem900; + for (int _i901 = 0; _i901 < _list899.size; ++_i901) { - _elem892 = iprot.readString(); - struct.part_vals.add(_elem892); + _elem900 = iprot.readString(); + struct.part_vals.add(_elem900); } } struct.setPart_valsIsSet(true); @@ -85728,13 +85869,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list894 = iprot.readListBegin(); - struct.success = new ArrayList(_list894.size); - String _elem895; - for (int _i896 = 0; _i896 < _list894.size; ++_i896) + org.apache.thrift.protocol.TList _list902 = iprot.readListBegin(); + struct.success = new ArrayList(_list902.size); + String _elem903; + for (int _i904 = 0; _i904 < _list902.size; ++_i904) { - _elem895 = iprot.readString(); - struct.success.add(_elem895); + _elem903 = iprot.readString(); + struct.success.add(_elem903); } iprot.readListEnd(); } @@ -85778,9 +85919,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter897 : struct.success) + for (String _iter905 : struct.success) { - oprot.writeString(_iter897); + oprot.writeString(_iter905); } oprot.writeListEnd(); } @@ -85827,9 +85968,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter898 : struct.success) + for (String _iter906 : struct.success) { - oprot.writeString(_iter898); + oprot.writeString(_iter906); } } } @@ -85847,13 +85988,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list899 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list899.size); - String _elem900; - for (int _i901 = 0; _i901 < _list899.size; ++_i901) + org.apache.thrift.protocol.TList _list907 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list907.size); + String _elem908; + for (int _i909 = 0; _i909 < _list907.size; ++_i909) { - _elem900 = iprot.readString(); - struct.success.add(_elem900); + _elem908 = iprot.readString(); + struct.success.add(_elem908); } } struct.setSuccessIsSet(true); @@ -87020,14 +87161,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_f case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list902 = iprot.readListBegin(); - struct.success = new ArrayList(_list902.size); - Partition _elem903; - for (int _i904 = 0; _i904 < _list902.size; ++_i904) + org.apache.thrift.protocol.TList _list910 = iprot.readListBegin(); + struct.success = new ArrayList(_list910.size); + Partition _elem911; + for (int _i912 = 0; _i912 < _list910.size; ++_i912) { - _elem903 = new Partition(); - _elem903.read(iprot); - struct.success.add(_elem903); + _elem911 = new Partition(); + _elem911.read(iprot); + struct.success.add(_elem911); } iprot.readListEnd(); } @@ -87071,9 +87212,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter905 : struct.success) + for (Partition _iter913 : struct.success) { - _iter905.write(oprot); + _iter913.write(oprot); } oprot.writeListEnd(); } @@ -87120,9 +87261,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter906 : struct.success) + for (Partition _iter914 : struct.success) { - _iter906.write(oprot); + _iter914.write(oprot); } } } @@ -87140,14 +87281,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_fi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list907 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list907.size); - Partition _elem908; - for (int _i909 = 0; _i909 < _list907.size; ++_i909) + org.apache.thrift.protocol.TList _list915 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list915.size); + Partition _elem916; + for (int _i917 = 0; _i917 < _list915.size; ++_i917) { - _elem908 = new Partition(); - _elem908.read(iprot); - struct.success.add(_elem908); + _elem916 = new Partition(); + _elem916.read(iprot); + struct.success.add(_elem916); } } struct.setSuccessIsSet(true); @@ -88314,14 +88455,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_part_specs_by_f case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list910 = iprot.readListBegin(); - struct.success = new ArrayList(_list910.size); - PartitionSpec _elem911; - for (int _i912 = 0; _i912 < _list910.size; ++_i912) + org.apache.thrift.protocol.TList _list918 = iprot.readListBegin(); + struct.success = new ArrayList(_list918.size); + PartitionSpec _elem919; + for (int _i920 = 0; _i920 < _list918.size; ++_i920) { - _elem911 = new PartitionSpec(); - _elem911.read(iprot); - struct.success.add(_elem911); + _elem919 = new PartitionSpec(); + _elem919.read(iprot); + struct.success.add(_elem919); } iprot.readListEnd(); } @@ -88365,9 +88506,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_part_specs_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (PartitionSpec _iter913 : struct.success) + for (PartitionSpec _iter921 : struct.success) { - _iter913.write(oprot); + _iter921.write(oprot); } oprot.writeListEnd(); } @@ -88414,9 +88555,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter914 : struct.success) + for (PartitionSpec _iter922 : struct.success) { - _iter914.write(oprot); + _iter922.write(oprot); } } } @@ -88434,14 +88575,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_fi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list915 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list915.size); - PartitionSpec _elem916; - for (int _i917 = 0; _i917 < _list915.size; ++_i917) + org.apache.thrift.protocol.TList _list923 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list923.size); + PartitionSpec _elem924; + for (int _i925 = 0; _i925 < _list923.size; ++_i925) { - _elem916 = new PartitionSpec(); - _elem916.read(iprot); - struct.success.add(_elem916); + _elem924 = new PartitionSpec(); + _elem924.read(iprot); + struct.success.add(_elem924); } } struct.setSuccessIsSet(true); @@ -91025,13 +91166,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_n case 3: // NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list918 = iprot.readListBegin(); - struct.names = new ArrayList(_list918.size); - String _elem919; - for (int _i920 = 0; _i920 < _list918.size; ++_i920) + org.apache.thrift.protocol.TList _list926 = iprot.readListBegin(); + struct.names = new ArrayList(_list926.size); + String _elem927; + for (int _i928 = 0; _i928 < _list926.size; ++_i928) { - _elem919 = iprot.readString(); - struct.names.add(_elem919); + _elem927 = iprot.readString(); + struct.names.add(_elem927); } iprot.readListEnd(); } @@ -91067,9 +91208,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.names.size())); - for (String _iter921 : struct.names) + for (String _iter929 : struct.names) { - oprot.writeString(_iter921); + oprot.writeString(_iter929); } oprot.writeListEnd(); } @@ -91112,9 +91253,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter922 : struct.names) + for (String _iter930 : struct.names) { - oprot.writeString(_iter922); + oprot.writeString(_iter930); } } } @@ -91134,13 +91275,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list923 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list923.size); - String _elem924; - for (int _i925 = 0; _i925 < _list923.size; ++_i925) + org.apache.thrift.protocol.TList _list931 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list931.size); + String _elem932; + for (int _i933 = 0; _i933 < _list931.size; ++_i933) { - _elem924 = iprot.readString(); - struct.names.add(_elem924); + _elem932 = iprot.readString(); + struct.names.add(_elem932); } } struct.setNamesIsSet(true); @@ -91627,14 +91768,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_n case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list926 = iprot.readListBegin(); - struct.success = new ArrayList(_list926.size); - Partition _elem927; - for (int _i928 = 0; _i928 < _list926.size; ++_i928) + org.apache.thrift.protocol.TList _list934 = iprot.readListBegin(); + struct.success = new ArrayList(_list934.size); + Partition _elem935; + for (int _i936 = 0; _i936 < _list934.size; ++_i936) { - _elem927 = new Partition(); - _elem927.read(iprot); - struct.success.add(_elem927); + _elem935 = new Partition(); + _elem935.read(iprot); + struct.success.add(_elem935); } iprot.readListEnd(); } @@ -91678,9 +91819,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter929 : struct.success) + for (Partition _iter937 : struct.success) { - _iter929.write(oprot); + _iter937.write(oprot); } oprot.writeListEnd(); } @@ -91727,9 +91868,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter930 : struct.success) + for (Partition _iter938 : struct.success) { - _iter930.write(oprot); + _iter938.write(oprot); } } } @@ -91747,14 +91888,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list931 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list931.size); - Partition _elem932; - for (int _i933 = 0; _i933 < _list931.size; ++_i933) + org.apache.thrift.protocol.TList _list939 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list939.size); + Partition _elem940; + for (int _i941 = 0; _i941 < _list939.size; ++_i941) { - _elem932 = new Partition(); - _elem932.read(iprot); - struct.success.add(_elem932); + _elem940 = new Partition(); + _elem940.read(iprot); + struct.success.add(_elem940); } } struct.setSuccessIsSet(true); @@ -93304,14 +93445,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, alter_partitions_ar case 3: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list934 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list934.size); - Partition _elem935; - for (int _i936 = 0; _i936 < _list934.size; ++_i936) + org.apache.thrift.protocol.TList _list942 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list942.size); + Partition _elem943; + for (int _i944 = 0; _i944 < _list942.size; ++_i944) { - _elem935 = new Partition(); - _elem935.read(iprot); - struct.new_parts.add(_elem935); + _elem943 = new Partition(); + _elem943.read(iprot); + struct.new_parts.add(_elem943); } iprot.readListEnd(); } @@ -93347,9 +93488,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, alter_partitions_a oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (Partition _iter937 : struct.new_parts) + for (Partition _iter945 : struct.new_parts) { - _iter937.write(oprot); + _iter945.write(oprot); } oprot.writeListEnd(); } @@ -93392,9 +93533,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, alter_partitions_ar if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter938 : struct.new_parts) + for (Partition _iter946 : struct.new_parts) { - _iter938.write(oprot); + _iter946.write(oprot); } } } @@ -93414,14 +93555,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list939 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list939.size); - Partition _elem940; - for (int _i941 = 0; _i941 < _list939.size; ++_i941) + org.apache.thrift.protocol.TList _list947 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list947.size); + Partition _elem948; + for (int _i949 = 0; _i949 < _list947.size; ++_i949) { - _elem940 = new Partition(); - _elem940.read(iprot); - struct.new_parts.add(_elem940); + _elem948 = new Partition(); + _elem948.read(iprot); + struct.new_parts.add(_elem948); } } struct.setNew_partsIsSet(true); @@ -94474,14 +94615,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, alter_partitions_wi case 3: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list942 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list942.size); - Partition _elem943; - for (int _i944 = 0; _i944 < _list942.size; ++_i944) + org.apache.thrift.protocol.TList _list950 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list950.size); + Partition _elem951; + for (int _i952 = 0; _i952 < _list950.size; ++_i952) { - _elem943 = new Partition(); - _elem943.read(iprot); - struct.new_parts.add(_elem943); + _elem951 = new Partition(); + _elem951.read(iprot); + struct.new_parts.add(_elem951); } iprot.readListEnd(); } @@ -94526,9 +94667,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, alter_partitions_w oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (Partition _iter945 : struct.new_parts) + for (Partition _iter953 : struct.new_parts) { - _iter945.write(oprot); + _iter953.write(oprot); } oprot.writeListEnd(); } @@ -94579,9 +94720,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wi if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter946 : struct.new_parts) + for (Partition _iter954 : struct.new_parts) { - _iter946.write(oprot); + _iter954.write(oprot); } } } @@ -94604,14 +94745,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list947 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list947.size); - Partition _elem948; - for (int _i949 = 0; _i949 < _list947.size; ++_i949) + org.apache.thrift.protocol.TList _list955 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list955.size); + Partition _elem956; + for (int _i957 = 0; _i957 < _list955.size; ++_i957) { - _elem948 = new Partition(); - _elem948.read(iprot); - struct.new_parts.add(_elem948); + _elem956 = new Partition(); + _elem956.read(iprot); + struct.new_parts.add(_elem956); } } struct.setNew_partsIsSet(true); @@ -96812,13 +96953,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, rename_partition_ar case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list950 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list950.size); - String _elem951; - for (int _i952 = 0; _i952 < _list950.size; ++_i952) + org.apache.thrift.protocol.TList _list958 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list958.size); + String _elem959; + for (int _i960 = 0; _i960 < _list958.size; ++_i960) { - _elem951 = iprot.readString(); - struct.part_vals.add(_elem951); + _elem959 = iprot.readString(); + struct.part_vals.add(_elem959); } iprot.readListEnd(); } @@ -96863,9 +97004,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, rename_partition_a oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter953 : struct.part_vals) + for (String _iter961 : struct.part_vals) { - oprot.writeString(_iter953); + oprot.writeString(_iter961); } oprot.writeListEnd(); } @@ -96916,9 +97057,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, rename_partition_ar if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter954 : struct.part_vals) + for (String _iter962 : struct.part_vals) { - oprot.writeString(_iter954); + oprot.writeString(_iter962); } } } @@ -96941,13 +97082,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list955 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list955.size); - String _elem956; - for (int _i957 = 0; _i957 < _list955.size; ++_i957) + org.apache.thrift.protocol.TList _list963 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list963.size); + String _elem964; + for (int _i965 = 0; _i965 < _list963.size; ++_i965) { - _elem956 = iprot.readString(); - struct.part_vals.add(_elem956); + _elem964 = iprot.readString(); + struct.part_vals.add(_elem964); } } struct.setPart_valsIsSet(true); @@ -97821,13 +97962,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_has_ case 1: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list958 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list958.size); - String _elem959; - for (int _i960 = 0; _i960 < _list958.size; ++_i960) + org.apache.thrift.protocol.TList _list966 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list966.size); + String _elem967; + for (int _i968 = 0; _i968 < _list966.size; ++_i968) { - _elem959 = iprot.readString(); - struct.part_vals.add(_elem959); + _elem967 = iprot.readString(); + struct.part_vals.add(_elem967); } iprot.readListEnd(); } @@ -97861,9 +98002,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_has oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter961 : struct.part_vals) + for (String _iter969 : struct.part_vals) { - oprot.writeString(_iter961); + oprot.writeString(_iter969); } oprot.writeListEnd(); } @@ -97900,9 +98041,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_has_ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter962 : struct.part_vals) + for (String _iter970 : struct.part_vals) { - oprot.writeString(_iter962); + oprot.writeString(_iter970); } } } @@ -97917,13 +98058,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_has_v BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list963 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list963.size); - String _elem964; - for (int _i965 = 0; _i965 < _list963.size; ++_i965) + org.apache.thrift.protocol.TList _list971 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list971.size); + String _elem972; + for (int _i973 = 0; _i973 < _list971.size; ++_i973) { - _elem964 = iprot.readString(); - struct.part_vals.add(_elem964); + _elem972 = iprot.readString(); + struct.part_vals.add(_elem972); } } struct.setPart_valsIsSet(true); @@ -100078,13 +100219,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_v case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list966 = iprot.readListBegin(); - struct.success = new ArrayList(_list966.size); - String _elem967; - for (int _i968 = 0; _i968 < _list966.size; ++_i968) + org.apache.thrift.protocol.TList _list974 = iprot.readListBegin(); + struct.success = new ArrayList(_list974.size); + String _elem975; + for (int _i976 = 0; _i976 < _list974.size; ++_i976) { - _elem967 = iprot.readString(); - struct.success.add(_elem967); + _elem975 = iprot.readString(); + struct.success.add(_elem975); } iprot.readListEnd(); } @@ -100119,9 +100260,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter969 : struct.success) + for (String _iter977 : struct.success) { - oprot.writeString(_iter969); + oprot.writeString(_iter977); } oprot.writeListEnd(); } @@ -100160,9 +100301,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter970 : struct.success) + for (String _iter978 : struct.success) { - oprot.writeString(_iter970); + oprot.writeString(_iter978); } } } @@ -100177,13 +100318,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_va BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list971 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list971.size); - String _elem972; - for (int _i973 = 0; _i973 < _list971.size; ++_i973) + org.apache.thrift.protocol.TList _list979 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list979.size); + String _elem980; + for (int _i981 = 0; _i981 < _list979.size; ++_i981) { - _elem972 = iprot.readString(); - struct.success.add(_elem972); + _elem980 = iprot.readString(); + struct.success.add(_elem980); } } struct.setSuccessIsSet(true); @@ -100946,15 +101087,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map974 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map974.size); - String _key975; - String _val976; - for (int _i977 = 0; _i977 < _map974.size; ++_i977) + org.apache.thrift.protocol.TMap _map982 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map982.size); + String _key983; + String _val984; + for (int _i985 = 0; _i985 < _map982.size; ++_i985) { - _key975 = iprot.readString(); - _val976 = iprot.readString(); - struct.success.put(_key975, _val976); + _key983 = iprot.readString(); + _val984 = iprot.readString(); + struct.success.put(_key983, _val984); } iprot.readMapEnd(); } @@ -100989,10 +101130,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (Map.Entry _iter978 : struct.success.entrySet()) + for (Map.Entry _iter986 : struct.success.entrySet()) { - oprot.writeString(_iter978.getKey()); - oprot.writeString(_iter978.getValue()); + oprot.writeString(_iter986.getKey()); + oprot.writeString(_iter986.getValue()); } oprot.writeMapEnd(); } @@ -101031,10 +101172,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter979 : struct.success.entrySet()) + for (Map.Entry _iter987 : struct.success.entrySet()) { - oprot.writeString(_iter979.getKey()); - oprot.writeString(_iter979.getValue()); + oprot.writeString(_iter987.getKey()); + oprot.writeString(_iter987.getValue()); } } } @@ -101049,15 +101190,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_sp BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map980 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new HashMap(2*_map980.size); - String _key981; - String _val982; - for (int _i983 = 0; _i983 < _map980.size; ++_i983) + org.apache.thrift.protocol.TMap _map988 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new HashMap(2*_map988.size); + String _key989; + String _val990; + for (int _i991 = 0; _i991 < _map988.size; ++_i991) { - _key981 = iprot.readString(); - _val982 = iprot.readString(); - struct.success.put(_key981, _val982); + _key989 = iprot.readString(); + _val990 = iprot.readString(); + struct.success.put(_key989, _val990); } } struct.setSuccessIsSet(true); @@ -101652,15 +101793,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, markPartitionForEve case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map984 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map984.size); - String _key985; - String _val986; - for (int _i987 = 0; _i987 < _map984.size; ++_i987) + org.apache.thrift.protocol.TMap _map992 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map992.size); + String _key993; + String _val994; + for (int _i995 = 0; _i995 < _map992.size; ++_i995) { - _key985 = iprot.readString(); - _val986 = iprot.readString(); - struct.part_vals.put(_key985, _val986); + _key993 = iprot.readString(); + _val994 = iprot.readString(); + struct.part_vals.put(_key993, _val994); } iprot.readMapEnd(); } @@ -101704,10 +101845,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, markPartitionForEv oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (Map.Entry _iter988 : struct.part_vals.entrySet()) + for (Map.Entry _iter996 : struct.part_vals.entrySet()) { - oprot.writeString(_iter988.getKey()); - oprot.writeString(_iter988.getValue()); + oprot.writeString(_iter996.getKey()); + oprot.writeString(_iter996.getValue()); } oprot.writeMapEnd(); } @@ -101758,10 +101899,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter989 : struct.part_vals.entrySet()) + for (Map.Entry _iter997 : struct.part_vals.entrySet()) { - oprot.writeString(_iter989.getKey()); - oprot.writeString(_iter989.getValue()); + oprot.writeString(_iter997.getKey()); + oprot.writeString(_iter997.getValue()); } } } @@ -101784,15 +101925,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map990 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new HashMap(2*_map990.size); - String _key991; - String _val992; - for (int _i993 = 0; _i993 < _map990.size; ++_i993) + org.apache.thrift.protocol.TMap _map998 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new HashMap(2*_map998.size); + String _key999; + String _val1000; + for (int _i1001 = 0; _i1001 < _map998.size; ++_i1001) { - _key991 = iprot.readString(); - _val992 = iprot.readString(); - struct.part_vals.put(_key991, _val992); + _key999 = iprot.readString(); + _val1000 = iprot.readString(); + struct.part_vals.put(_key999, _val1000); } } struct.setPart_valsIsSet(true); @@ -103276,15 +103417,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, isPartitionMarkedFo case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map994 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map994.size); - String _key995; - String _val996; - for (int _i997 = 0; _i997 < _map994.size; ++_i997) + org.apache.thrift.protocol.TMap _map1002 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1002.size); + String _key1003; + String _val1004; + for (int _i1005 = 0; _i1005 < _map1002.size; ++_i1005) { - _key995 = iprot.readString(); - _val996 = iprot.readString(); - struct.part_vals.put(_key995, _val996); + _key1003 = iprot.readString(); + _val1004 = iprot.readString(); + struct.part_vals.put(_key1003, _val1004); } iprot.readMapEnd(); } @@ -103328,10 +103469,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, isPartitionMarkedF oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (Map.Entry _iter998 : struct.part_vals.entrySet()) + for (Map.Entry _iter1006 : struct.part_vals.entrySet()) { - oprot.writeString(_iter998.getKey()); - oprot.writeString(_iter998.getValue()); + oprot.writeString(_iter1006.getKey()); + oprot.writeString(_iter1006.getValue()); } oprot.writeMapEnd(); } @@ -103382,10 +103523,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter999 : struct.part_vals.entrySet()) + for (Map.Entry _iter1007 : struct.part_vals.entrySet()) { - oprot.writeString(_iter999.getKey()); - oprot.writeString(_iter999.getValue()); + oprot.writeString(_iter1007.getKey()); + oprot.writeString(_iter1007.getValue()); } } } @@ -103408,15 +103549,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1000 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new HashMap(2*_map1000.size); - String _key1001; - String _val1002; - for (int _i1003 = 0; _i1003 < _map1000.size; ++_i1003) + org.apache.thrift.protocol.TMap _map1008 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new HashMap(2*_map1008.size); + String _key1009; + String _val1010; + for (int _i1011 = 0; _i1011 < _map1008.size; ++_i1011) { - _key1001 = iprot.readString(); - _val1002 = iprot.readString(); - struct.part_vals.put(_key1001, _val1002); + _key1009 = iprot.readString(); + _val1010 = iprot.readString(); + struct.part_vals.put(_key1009, _val1010); } } struct.setPart_valsIsSet(true); @@ -110140,14 +110281,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_indexes_result case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1004 = iprot.readListBegin(); - struct.success = new ArrayList(_list1004.size); - Index _elem1005; - for (int _i1006 = 0; _i1006 < _list1004.size; ++_i1006) + org.apache.thrift.protocol.TList _list1012 = iprot.readListBegin(); + struct.success = new ArrayList(_list1012.size); + Index _elem1013; + for (int _i1014 = 0; _i1014 < _list1012.size; ++_i1014) { - _elem1005 = new Index(); - _elem1005.read(iprot); - struct.success.add(_elem1005); + _elem1013 = new Index(); + _elem1013.read(iprot); + struct.success.add(_elem1013); } iprot.readListEnd(); } @@ -110191,9 +110332,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_indexes_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Index _iter1007 : struct.success) + for (Index _iter1015 : struct.success) { - _iter1007.write(oprot); + _iter1015.write(oprot); } oprot.writeListEnd(); } @@ -110240,9 +110381,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_indexes_result if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Index _iter1008 : struct.success) + for (Index _iter1016 : struct.success) { - _iter1008.write(oprot); + _iter1016.write(oprot); } } } @@ -110260,14 +110401,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_indexes_result s BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1009 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1009.size); - Index _elem1010; - for (int _i1011 = 0; _i1011 < _list1009.size; ++_i1011) + org.apache.thrift.protocol.TList _list1017 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1017.size); + Index _elem1018; + for (int _i1019 = 0; _i1019 < _list1017.size; ++_i1019) { - _elem1010 = new Index(); - _elem1010.read(iprot); - struct.success.add(_elem1010); + _elem1018 = new Index(); + _elem1018.read(iprot); + struct.success.add(_elem1018); } } struct.setSuccessIsSet(true); @@ -111246,13 +111387,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_names_res case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1012 = iprot.readListBegin(); - struct.success = new ArrayList(_list1012.size); - String _elem1013; - for (int _i1014 = 0; _i1014 < _list1012.size; ++_i1014) + org.apache.thrift.protocol.TList _list1020 = iprot.readListBegin(); + struct.success = new ArrayList(_list1020.size); + String _elem1021; + for (int _i1022 = 0; _i1022 < _list1020.size; ++_i1022) { - _elem1013 = iprot.readString(); - struct.success.add(_elem1013); + _elem1021 = iprot.readString(); + struct.success.add(_elem1021); } iprot.readListEnd(); } @@ -111287,9 +111428,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_index_names_re oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1015 : struct.success) + for (String _iter1023 : struct.success) { - oprot.writeString(_iter1015); + oprot.writeString(_iter1023); } oprot.writeListEnd(); } @@ -111328,9 +111469,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_index_names_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1016 : struct.success) + for (String _iter1024 : struct.success) { - oprot.writeString(_iter1016); + oprot.writeString(_iter1024); } } } @@ -111345,13 +111486,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_index_names_resu BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1017 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1017.size); - String _elem1018; - for (int _i1019 = 0; _i1019 < _list1017.size; ++_i1019) + org.apache.thrift.protocol.TList _list1025 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1025.size); + String _elem1026; + for (int _i1027 = 0; _i1027 < _list1025.size; ++_i1027) { - _elem1018 = iprot.readString(); - struct.success.add(_elem1018); + _elem1026 = iprot.readString(); + struct.success.add(_elem1026); } } struct.setSuccessIsSet(true); @@ -127086,13 +127227,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_functions_resul case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1020 = iprot.readListBegin(); - struct.success = new ArrayList(_list1020.size); - String _elem1021; - for (int _i1022 = 0; _i1022 < _list1020.size; ++_i1022) + org.apache.thrift.protocol.TList _list1028 = iprot.readListBegin(); + struct.success = new ArrayList(_list1028.size); + String _elem1029; + for (int _i1030 = 0; _i1030 < _list1028.size; ++_i1030) { - _elem1021 = iprot.readString(); - struct.success.add(_elem1021); + _elem1029 = iprot.readString(); + struct.success.add(_elem1029); } iprot.readListEnd(); } @@ -127127,9 +127268,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_functions_resu oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1023 : struct.success) + for (String _iter1031 : struct.success) { - oprot.writeString(_iter1023); + oprot.writeString(_iter1031); } oprot.writeListEnd(); } @@ -127168,9 +127309,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1024 : struct.success) + for (String _iter1032 : struct.success) { - oprot.writeString(_iter1024); + oprot.writeString(_iter1032); } } } @@ -127185,13 +127326,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_functions_result BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1025 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1025.size); - String _elem1026; - for (int _i1027 = 0; _i1027 < _list1025.size; ++_i1027) + org.apache.thrift.protocol.TList _list1033 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1033.size); + String _elem1034; + for (int _i1035 = 0; _i1035 < _list1033.size; ++_i1035) { - _elem1026 = iprot.readString(); - struct.success.add(_elem1026); + _elem1034 = iprot.readString(); + struct.success.add(_elem1034); } } struct.setSuccessIsSet(true); @@ -131246,13 +131387,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_role_names_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1028 = iprot.readListBegin(); - struct.success = new ArrayList(_list1028.size); - String _elem1029; - for (int _i1030 = 0; _i1030 < _list1028.size; ++_i1030) + org.apache.thrift.protocol.TList _list1036 = iprot.readListBegin(); + struct.success = new ArrayList(_list1036.size); + String _elem1037; + for (int _i1038 = 0; _i1038 < _list1036.size; ++_i1038) { - _elem1029 = iprot.readString(); - struct.success.add(_elem1029); + _elem1037 = iprot.readString(); + struct.success.add(_elem1037); } iprot.readListEnd(); } @@ -131287,9 +131428,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_role_names_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1031 : struct.success) + for (String _iter1039 : struct.success) { - oprot.writeString(_iter1031); + oprot.writeString(_iter1039); } oprot.writeListEnd(); } @@ -131328,9 +131469,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1032 : struct.success) + for (String _iter1040 : struct.success) { - oprot.writeString(_iter1032); + oprot.writeString(_iter1040); } } } @@ -131345,13 +131486,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_role_names_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1033 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1033.size); - String _elem1034; - for (int _i1035 = 0; _i1035 < _list1033.size; ++_i1035) + org.apache.thrift.protocol.TList _list1041 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1041.size); + String _elem1042; + for (int _i1043 = 0; _i1043 < _list1041.size; ++_i1043) { - _elem1034 = iprot.readString(); - struct.success.add(_elem1034); + _elem1042 = iprot.readString(); + struct.success.add(_elem1042); } } struct.setSuccessIsSet(true); @@ -134642,14 +134783,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, list_roles_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1036 = iprot.readListBegin(); - struct.success = new ArrayList(_list1036.size); - Role _elem1037; - for (int _i1038 = 0; _i1038 < _list1036.size; ++_i1038) + org.apache.thrift.protocol.TList _list1044 = iprot.readListBegin(); + struct.success = new ArrayList(_list1044.size); + Role _elem1045; + for (int _i1046 = 0; _i1046 < _list1044.size; ++_i1046) { - _elem1037 = new Role(); - _elem1037.read(iprot); - struct.success.add(_elem1037); + _elem1045 = new Role(); + _elem1045.read(iprot); + struct.success.add(_elem1045); } iprot.readListEnd(); } @@ -134684,9 +134825,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, list_roles_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Role _iter1039 : struct.success) + for (Role _iter1047 : struct.success) { - _iter1039.write(oprot); + _iter1047.write(oprot); } oprot.writeListEnd(); } @@ -134725,9 +134866,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter1040 : struct.success) + for (Role _iter1048 : struct.success) { - _iter1040.write(oprot); + _iter1048.write(oprot); } } } @@ -134742,14 +134883,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_roles_result st BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1041 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1041.size); - Role _elem1042; - for (int _i1043 = 0; _i1043 < _list1041.size; ++_i1043) + org.apache.thrift.protocol.TList _list1049 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1049.size); + Role _elem1050; + for (int _i1051 = 0; _i1051 < _list1049.size; ++_i1051) { - _elem1042 = new Role(); - _elem1042.read(iprot); - struct.success.add(_elem1042); + _elem1050 = new Role(); + _elem1050.read(iprot); + struct.success.add(_elem1050); } } struct.setSuccessIsSet(true); @@ -137754,13 +137895,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_privilege_set_a case 3: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1044 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1044.size); - String _elem1045; - for (int _i1046 = 0; _i1046 < _list1044.size; ++_i1046) + org.apache.thrift.protocol.TList _list1052 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1052.size); + String _elem1053; + for (int _i1054 = 0; _i1054 < _list1052.size; ++_i1054) { - _elem1045 = iprot.readString(); - struct.group_names.add(_elem1045); + _elem1053 = iprot.readString(); + struct.group_names.add(_elem1053); } iprot.readListEnd(); } @@ -137796,9 +137937,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_privilege_set_ oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1047 : struct.group_names) + for (String _iter1055 : struct.group_names) { - oprot.writeString(_iter1047); + oprot.writeString(_iter1055); } oprot.writeListEnd(); } @@ -137841,9 +137982,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_a if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1048 : struct.group_names) + for (String _iter1056 : struct.group_names) { - oprot.writeString(_iter1048); + oprot.writeString(_iter1056); } } } @@ -137864,13 +138005,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1049 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1049.size); - String _elem1050; - for (int _i1051 = 0; _i1051 < _list1049.size; ++_i1051) + org.apache.thrift.protocol.TList _list1057 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1057.size); + String _elem1058; + for (int _i1059 = 0; _i1059 < _list1057.size; ++_i1059) { - _elem1050 = iprot.readString(); - struct.group_names.add(_elem1050); + _elem1058 = iprot.readString(); + struct.group_names.add(_elem1058); } } struct.setGroup_namesIsSet(true); @@ -139328,14 +139469,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, list_privileges_res case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1052 = iprot.readListBegin(); - struct.success = new ArrayList(_list1052.size); - HiveObjectPrivilege _elem1053; - for (int _i1054 = 0; _i1054 < _list1052.size; ++_i1054) + org.apache.thrift.protocol.TList _list1060 = iprot.readListBegin(); + struct.success = new ArrayList(_list1060.size); + HiveObjectPrivilege _elem1061; + for (int _i1062 = 0; _i1062 < _list1060.size; ++_i1062) { - _elem1053 = new HiveObjectPrivilege(); - _elem1053.read(iprot); - struct.success.add(_elem1053); + _elem1061 = new HiveObjectPrivilege(); + _elem1061.read(iprot); + struct.success.add(_elem1061); } iprot.readListEnd(); } @@ -139370,9 +139511,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, list_privileges_re oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (HiveObjectPrivilege _iter1055 : struct.success) + for (HiveObjectPrivilege _iter1063 : struct.success) { - _iter1055.write(oprot); + _iter1063.write(oprot); } oprot.writeListEnd(); } @@ -139411,9 +139552,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter1056 : struct.success) + for (HiveObjectPrivilege _iter1064 : struct.success) { - _iter1056.write(oprot); + _iter1064.write(oprot); } } } @@ -139428,14 +139569,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_privileges_resu BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1057 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1057.size); - HiveObjectPrivilege _elem1058; - for (int _i1059 = 0; _i1059 < _list1057.size; ++_i1059) + org.apache.thrift.protocol.TList _list1065 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1065.size); + HiveObjectPrivilege _elem1066; + for (int _i1067 = 0; _i1067 < _list1065.size; ++_i1067) { - _elem1058 = new HiveObjectPrivilege(); - _elem1058.read(iprot); - struct.success.add(_elem1058); + _elem1066 = new HiveObjectPrivilege(); + _elem1066.read(iprot); + struct.success.add(_elem1066); } } struct.setSuccessIsSet(true); @@ -142337,13 +142478,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, set_ugi_args struct case 2: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1060 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1060.size); - String _elem1061; - for (int _i1062 = 0; _i1062 < _list1060.size; ++_i1062) + org.apache.thrift.protocol.TList _list1068 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1068.size); + String _elem1069; + for (int _i1070 = 0; _i1070 < _list1068.size; ++_i1070) { - _elem1061 = iprot.readString(); - struct.group_names.add(_elem1061); + _elem1069 = iprot.readString(); + struct.group_names.add(_elem1069); } iprot.readListEnd(); } @@ -142374,9 +142515,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, set_ugi_args struc oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1063 : struct.group_names) + for (String _iter1071 : struct.group_names) { - oprot.writeString(_iter1063); + oprot.writeString(_iter1071); } oprot.writeListEnd(); } @@ -142413,9 +142554,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1064 : struct.group_names) + for (String _iter1072 : struct.group_names) { - oprot.writeString(_iter1064); + oprot.writeString(_iter1072); } } } @@ -142431,13 +142572,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1065 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1065.size); - String _elem1066; - for (int _i1067 = 0; _i1067 < _list1065.size; ++_i1067) + org.apache.thrift.protocol.TList _list1073 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1073.size); + String _elem1074; + for (int _i1075 = 0; _i1075 < _list1073.size; ++_i1075) { - _elem1066 = iprot.readString(); - struct.group_names.add(_elem1066); + _elem1074 = iprot.readString(); + struct.group_names.add(_elem1074); } } struct.setGroup_namesIsSet(true); @@ -142840,13 +142981,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, set_ugi_result stru case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1068 = iprot.readListBegin(); - struct.success = new ArrayList(_list1068.size); - String _elem1069; - for (int _i1070 = 0; _i1070 < _list1068.size; ++_i1070) + org.apache.thrift.protocol.TList _list1076 = iprot.readListBegin(); + struct.success = new ArrayList(_list1076.size); + String _elem1077; + for (int _i1078 = 0; _i1078 < _list1076.size; ++_i1078) { - _elem1069 = iprot.readString(); - struct.success.add(_elem1069); + _elem1077 = iprot.readString(); + struct.success.add(_elem1077); } iprot.readListEnd(); } @@ -142881,9 +143022,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, set_ugi_result str oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1071 : struct.success) + for (String _iter1079 : struct.success) { - oprot.writeString(_iter1071); + oprot.writeString(_iter1079); } oprot.writeListEnd(); } @@ -142922,9 +143063,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1072 : struct.success) + for (String _iter1080 : struct.success) { - oprot.writeString(_iter1072); + oprot.writeString(_iter1080); } } } @@ -142939,13 +143080,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_result struc BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1073 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1073.size); - String _elem1074; - for (int _i1075 = 0; _i1075 < _list1073.size; ++_i1075) + org.apache.thrift.protocol.TList _list1081 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1081.size); + String _elem1082; + for (int _i1083 = 0; _i1083 < _list1081.size; ++_i1083) { - _elem1074 = iprot.readString(); - struct.success.add(_elem1074); + _elem1082 = iprot.readString(); + struct.success.add(_elem1082); } } struct.setSuccessIsSet(true); @@ -148236,13 +148377,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_token_ident case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1076 = iprot.readListBegin(); - struct.success = new ArrayList(_list1076.size); - String _elem1077; - for (int _i1078 = 0; _i1078 < _list1076.size; ++_i1078) + org.apache.thrift.protocol.TList _list1084 = iprot.readListBegin(); + struct.success = new ArrayList(_list1084.size); + String _elem1085; + for (int _i1086 = 0; _i1086 < _list1084.size; ++_i1086) { - _elem1077 = iprot.readString(); - struct.success.add(_elem1077); + _elem1085 = iprot.readString(); + struct.success.add(_elem1085); } iprot.readListEnd(); } @@ -148268,9 +148409,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_token_iden oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1079 : struct.success) + for (String _iter1087 : struct.success) { - oprot.writeString(_iter1079); + oprot.writeString(_iter1087); } oprot.writeListEnd(); } @@ -148301,9 +148442,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_token_ident if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1080 : struct.success) + for (String _iter1088 : struct.success) { - oprot.writeString(_iter1080); + oprot.writeString(_iter1088); } } } @@ -148315,13 +148456,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_token_identi BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1081 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1081.size); - String _elem1082; - for (int _i1083 = 0; _i1083 < _list1081.size; ++_i1083) + org.apache.thrift.protocol.TList _list1089 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1089.size); + String _elem1090; + for (int _i1091 = 0; _i1091 < _list1089.size; ++_i1091) { - _elem1082 = iprot.readString(); - struct.success.add(_elem1082); + _elem1090 = iprot.readString(); + struct.success.add(_elem1090); } } struct.setSuccessIsSet(true); @@ -150149,88 +150290,747 @@ public String getFieldName() { return _fieldName; } } - - // isset id assignments - private static final int __KEY_SEQ_ISSET_ID = 0; - private byte __isset_bitfield = 0; + + // isset id assignments + private static final int __KEY_SEQ_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.KEY_SEQ, new org.apache.thrift.meta_data.FieldMetaData("key_seq", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(remove_master_key_args.class, metaDataMap); + } + + public remove_master_key_args() { + } + + public remove_master_key_args( + int key_seq) + { + this(); + this.key_seq = key_seq; + setKey_seqIsSet(true); + } + + /** + * Performs a deep copy on other. + */ + public remove_master_key_args(remove_master_key_args other) { + __isset_bitfield = other.__isset_bitfield; + this.key_seq = other.key_seq; + } + + public remove_master_key_args deepCopy() { + return new remove_master_key_args(this); + } + + @Override + public void clear() { + setKey_seqIsSet(false); + this.key_seq = 0; + } + + public int getKey_seq() { + return this.key_seq; + } + + public void setKey_seq(int key_seq) { + this.key_seq = key_seq; + setKey_seqIsSet(true); + } + + public void unsetKey_seq() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __KEY_SEQ_ISSET_ID); + } + + /** Returns true if field key_seq is set (has been assigned a value) and false otherwise */ + public boolean isSetKey_seq() { + return EncodingUtils.testBit(__isset_bitfield, __KEY_SEQ_ISSET_ID); + } + + public void setKey_seqIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __KEY_SEQ_ISSET_ID, value); + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY_SEQ: + if (value == null) { + unsetKey_seq(); + } else { + setKey_seq((Integer)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY_SEQ: + return getKey_seq(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY_SEQ: + return isSetKey_seq(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof remove_master_key_args) + return this.equals((remove_master_key_args)that); + return false; + } + + public boolean equals(remove_master_key_args that) { + if (that == null) + return false; + + boolean this_present_key_seq = true; + boolean that_present_key_seq = true; + if (this_present_key_seq || that_present_key_seq) { + if (!(this_present_key_seq && that_present_key_seq)) + return false; + if (this.key_seq != that.key_seq) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key_seq = true; + list.add(present_key_seq); + if (present_key_seq) + list.add(key_seq); + + return list.hashCode(); + } + + @Override + public int compareTo(remove_master_key_args other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey_seq()).compareTo(other.isSetKey_seq()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetKey_seq()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.key_seq, other.key_seq); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("remove_master_key_args("); + boolean first = true; + + sb.append("key_seq:"); + sb.append(this.key_seq); + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class remove_master_key_argsStandardSchemeFactory implements SchemeFactory { + public remove_master_key_argsStandardScheme getScheme() { + return new remove_master_key_argsStandardScheme(); + } + } + + private static class remove_master_key_argsStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, remove_master_key_args struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY_SEQ + if (schemeField.type == org.apache.thrift.protocol.TType.I32) { + struct.key_seq = iprot.readI32(); + struct.setKey_seqIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, remove_master_key_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(KEY_SEQ_FIELD_DESC); + oprot.writeI32(struct.key_seq); + oprot.writeFieldEnd(); + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class remove_master_key_argsTupleSchemeFactory implements SchemeFactory { + public remove_master_key_argsTupleScheme getScheme() { + return new remove_master_key_argsTupleScheme(); + } + } + + private static class remove_master_key_argsTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, remove_master_key_args struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetKey_seq()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetKey_seq()) { + oprot.writeI32(struct.key_seq); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, remove_master_key_args struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.key_seq = iprot.readI32(); + struct.setKey_seqIsSet(true); + } + } + } + + } + + public static class remove_master_key_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("remove_master_key_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new remove_master_key_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new remove_master_key_resultTupleSchemeFactory()); + } + + private boolean success; // required + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short)0, "success"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 0: // SUCCESS + return SUCCESS; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __SUCCESS_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(remove_master_key_result.class, metaDataMap); + } + + public remove_master_key_result() { + } + + public remove_master_key_result( + boolean success) + { + this(); + this.success = success; + setSuccessIsSet(true); + } + + /** + * Performs a deep copy on other. + */ + public remove_master_key_result(remove_master_key_result other) { + __isset_bitfield = other.__isset_bitfield; + this.success = other.success; + } + + public remove_master_key_result deepCopy() { + return new remove_master_key_result(this); + } + + @Override + public void clear() { + setSuccessIsSet(false); + this.success = false; + } + + public boolean isSuccess() { + return this.success; + } + + public void setSuccess(boolean success) { + this.success = success; + setSuccessIsSet(true); + } + + public void unsetSuccess() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + } + + /** Returns true if field success is set (has been assigned a value) and false otherwise */ + public boolean isSetSuccess() { + return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + } + + public void setSuccessIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if (value == null) { + unsetSuccess(); + } else { + setSuccess((Boolean)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return isSuccess(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof remove_master_key_result) + return this.equals((remove_master_key_result)that); + return false; + } + + public boolean equals(remove_master_key_result that) { + if (that == null) + return false; + + boolean this_present_success = true; + boolean that_present_success = true; + if (this_present_success || that_present_success) { + if (!(this_present_success && that_present_success)) + return false; + if (this.success != that.success) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true; + list.add(present_success); + if (present_success) + list.add(success); + + return list.hashCode(); + } + + @Override + public int compareTo(remove_master_key_result other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("remove_master_key_result("); + boolean first = true; + + sb.append("success:"); + sb.append(this.success); + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class remove_master_key_resultStandardSchemeFactory implements SchemeFactory { + public remove_master_key_resultStandardScheme getScheme() { + return new remove_master_key_resultStandardScheme(); + } + } + + private static class remove_master_key_resultStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, remove_master_key_result struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, remove_master_key_result struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.isSetSuccess()) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + oprot.writeBool(struct.success); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class remove_master_key_resultTupleSchemeFactory implements SchemeFactory { + public remove_master_key_resultTupleScheme getScheme() { + return new remove_master_key_resultTupleScheme(); + } + } + + private static class remove_master_key_resultTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, remove_master_key_result struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetSuccess()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetSuccess()) { + oprot.writeBool(struct.success); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, remove_master_key_result struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + } + } + + } + + public static class get_master_keys_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_master_keys_args"); + + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new get_master_keys_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_master_keys_argsTupleSchemeFactory()); + } + + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { +; + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.KEY_SEQ, new org.apache.thrift.meta_data.FieldMetaData("key_seq", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(remove_master_key_args.class, metaDataMap); - } - - public remove_master_key_args() { + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_master_keys_args.class, metaDataMap); } - public remove_master_key_args( - int key_seq) - { - this(); - this.key_seq = key_seq; - setKey_seqIsSet(true); + public get_master_keys_args() { } /** * Performs a deep copy on other. */ - public remove_master_key_args(remove_master_key_args other) { - __isset_bitfield = other.__isset_bitfield; - this.key_seq = other.key_seq; + public get_master_keys_args(get_master_keys_args other) { } - public remove_master_key_args deepCopy() { - return new remove_master_key_args(this); + public get_master_keys_args deepCopy() { + return new get_master_keys_args(this); } @Override public void clear() { - setKey_seqIsSet(false); - this.key_seq = 0; - } - - public int getKey_seq() { - return this.key_seq; - } - - public void setKey_seq(int key_seq) { - this.key_seq = key_seq; - setKey_seqIsSet(true); - } - - public void unsetKey_seq() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __KEY_SEQ_ISSET_ID); - } - - /** Returns true if field key_seq is set (has been assigned a value) and false otherwise */ - public boolean isSetKey_seq() { - return EncodingUtils.testBit(__isset_bitfield, __KEY_SEQ_ISSET_ID); - } - - public void setKey_seqIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __KEY_SEQ_ISSET_ID, value); } public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY_SEQ: - if (value == null) { - unsetKey_seq(); - } else { - setKey_seq((Integer)value); - } - break; - } } public Object getFieldValue(_Fields field) { switch (field) { - case KEY_SEQ: - return getKey_seq(); - } throw new IllegalStateException(); } @@ -150242,8 +151042,6 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY_SEQ: - return isSetKey_seq(); } throw new IllegalStateException(); } @@ -150252,24 +151050,15 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof remove_master_key_args) - return this.equals((remove_master_key_args)that); + if (that instanceof get_master_keys_args) + return this.equals((get_master_keys_args)that); return false; } - public boolean equals(remove_master_key_args that) { + public boolean equals(get_master_keys_args that) { if (that == null) return false; - boolean this_present_key_seq = true; - boolean that_present_key_seq = true; - if (this_present_key_seq || that_present_key_seq) { - if (!(this_present_key_seq && that_present_key_seq)) - return false; - if (this.key_seq != that.key_seq) - return false; - } - return true; } @@ -150277,32 +151066,17 @@ public boolean equals(remove_master_key_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key_seq = true; - list.add(present_key_seq); - if (present_key_seq) - list.add(key_seq); - return list.hashCode(); } @Override - public int compareTo(remove_master_key_args other) { + public int compareTo(get_master_keys_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey_seq()).compareTo(other.isSetKey_seq()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetKey_seq()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.key_seq, other.key_seq); - if (lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -150320,12 +151094,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("remove_master_key_args("); + StringBuilder sb = new StringBuilder("get_master_keys_args("); boolean first = true; - sb.append("key_seq:"); - sb.append(this.key_seq); - first = false; sb.append(")"); return sb.toString(); } @@ -150345,23 +151116,21 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class remove_master_key_argsStandardSchemeFactory implements SchemeFactory { - public remove_master_key_argsStandardScheme getScheme() { - return new remove_master_key_argsStandardScheme(); + private static class get_master_keys_argsStandardSchemeFactory implements SchemeFactory { + public get_master_keys_argsStandardScheme getScheme() { + return new get_master_keys_argsStandardScheme(); } } - private static class remove_master_key_argsStandardScheme extends StandardScheme { + private static class get_master_keys_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, remove_master_key_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -150371,14 +151140,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, remove_master_key_a break; } switch (schemeField.id) { - case 1: // KEY_SEQ - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.key_seq = iprot.readI32(); - struct.setKey_seqIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -150388,65 +151149,49 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, remove_master_key_a struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, remove_master_key_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - oprot.writeFieldBegin(KEY_SEQ_FIELD_DESC); - oprot.writeI32(struct.key_seq); - oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class remove_master_key_argsTupleSchemeFactory implements SchemeFactory { - public remove_master_key_argsTupleScheme getScheme() { - return new remove_master_key_argsTupleScheme(); + private static class get_master_keys_argsTupleSchemeFactory implements SchemeFactory { + public get_master_keys_argsTupleScheme getScheme() { + return new get_master_keys_argsTupleScheme(); } } - private static class remove_master_key_argsTupleScheme extends TupleScheme { + private static class get_master_keys_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, remove_master_key_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; - BitSet optionals = new BitSet(); - if (struct.isSetKey_seq()) { - optionals.set(0); - } - oprot.writeBitSet(optionals, 1); - if (struct.isSetKey_seq()) { - oprot.writeI32(struct.key_seq); - } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, remove_master_key_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_master_keys_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.key_seq = iprot.readI32(); - struct.setKey_seqIsSet(true); - } } } } - public static class remove_master_key_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("remove_master_key_result"); + public static class get_master_keys_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_master_keys_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new remove_master_key_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new remove_master_key_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_master_keys_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_master_keys_resultTupleSchemeFactory()); } - private boolean success; // required + private List success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { @@ -150507,66 +151252,81 @@ public String getFieldName() { } // isset id assignments - private static final int __SUCCESS_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(remove_master_key_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_master_keys_result.class, metaDataMap); } - public remove_master_key_result() { + public get_master_keys_result() { } - public remove_master_key_result( - boolean success) + public get_master_keys_result( + List success) { this(); this.success = success; - setSuccessIsSet(true); } /** * Performs a deep copy on other. */ - public remove_master_key_result(remove_master_key_result other) { - __isset_bitfield = other.__isset_bitfield; - this.success = other.success; + public get_master_keys_result(get_master_keys_result other) { + if (other.isSetSuccess()) { + List __this__success = new ArrayList(other.success); + this.success = __this__success; + } } - public remove_master_key_result deepCopy() { - return new remove_master_key_result(this); + public get_master_keys_result deepCopy() { + return new get_master_keys_result(this); } @Override public void clear() { - setSuccessIsSet(false); - this.success = false; + this.success = null; } - public boolean isSuccess() { + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(String elem) { + if (this.success == null) { + this.success = new ArrayList(); + } + this.success.add(elem); + } + + public List getSuccess() { return this.success; } - public void setSuccess(boolean success) { + public void setSuccess(List success) { this.success = success; - setSuccessIsSet(true); } public void unsetSuccess() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + this.success = null; } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return this.success != null; } public void setSuccessIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + if (!value) { + this.success = null; + } } public void setFieldValue(_Fields field, Object value) { @@ -150575,7 +151335,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((Boolean)value); + setSuccess((List)value); } break; @@ -150585,7 +151345,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return isSuccess(); + return getSuccess(); } throw new IllegalStateException(); @@ -150608,21 +151368,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof remove_master_key_result) - return this.equals((remove_master_key_result)that); + if (that instanceof get_master_keys_result) + return this.equals((get_master_keys_result)that); return false; } - public boolean equals(remove_master_key_result that) { + public boolean equals(get_master_keys_result that) { if (that == null) return false; - boolean this_present_success = true; - boolean that_present_success = true; + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; - if (this.success != that.success) + if (!this.success.equals(that.success)) return false; } @@ -150633,7 +151393,7 @@ public boolean equals(remove_master_key_result that) { public int hashCode() { List list = new ArrayList(); - boolean present_success = true; + boolean present_success = true && (isSetSuccess()); list.add(present_success); if (present_success) list.add(success); @@ -150642,7 +151402,7 @@ public int hashCode() { } @Override - public int compareTo(remove_master_key_result other) { + public int compareTo(get_master_keys_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -150676,11 +151436,15 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("remove_master_key_result("); + StringBuilder sb = new StringBuilder("get_master_keys_result("); boolean first = true; sb.append("success:"); - sb.append(this.success); + if (this.success == null) { + sb.append("null"); + } else { + sb.append(this.success); + } first = false; sb.append(")"); return sb.toString(); @@ -150701,23 +151465,21 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class remove_master_key_resultStandardSchemeFactory implements SchemeFactory { - public remove_master_key_resultStandardScheme getScheme() { - return new remove_master_key_resultStandardScheme(); + private static class get_master_keys_resultStandardSchemeFactory implements SchemeFactory { + public get_master_keys_resultStandardScheme getScheme() { + return new get_master_keys_resultStandardScheme(); } } - private static class remove_master_key_resultStandardScheme extends StandardScheme { + private static class get_master_keys_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, remove_master_key_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -150728,8 +151490,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, remove_master_key_r } switch (schemeField.id) { case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1092 = iprot.readListBegin(); + struct.success = new ArrayList(_list1092.size); + String _elem1093; + for (int _i1094 = 0; _i1094 < _list1092.size; ++_i1094) + { + _elem1093 = iprot.readString(); + struct.success.add(_elem1093); + } + iprot.readListEnd(); + } struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -150744,13 +151516,20 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, remove_master_key_r struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, remove_master_key_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.isSetSuccess()) { + if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - oprot.writeBool(struct.success); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); + for (String _iter1095 : struct.success) + { + oprot.writeString(_iter1095); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -150759,16 +151538,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, remove_master_key_ } - private static class remove_master_key_resultTupleSchemeFactory implements SchemeFactory { - public remove_master_key_resultTupleScheme getScheme() { - return new remove_master_key_resultTupleScheme(); + private static class get_master_keys_resultTupleSchemeFactory implements SchemeFactory { + public get_master_keys_resultTupleScheme getScheme() { + return new get_master_keys_resultTupleScheme(); } } - private static class remove_master_key_resultTupleScheme extends TupleScheme { + private static class get_master_keys_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, remove_master_key_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -150776,16 +151555,31 @@ public void write(org.apache.thrift.protocol.TProtocol prot, remove_master_key_r } oprot.writeBitSet(optionals, 1); if (struct.isSetSuccess()) { - oprot.writeBool(struct.success); + { + oprot.writeI32(struct.success.size()); + for (String _iter1096 : struct.success) + { + oprot.writeString(_iter1096); + } + } } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, remove_master_key_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_master_keys_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.success = iprot.readBool(); + { + org.apache.thrift.protocol.TList _list1097 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1097.size); + String _elem1098; + for (int _i1099 = 0; _i1099 < _list1097.size; ++_i1099) + { + _elem1098 = iprot.readString(); + struct.success.add(_elem1098); + } + } struct.setSuccessIsSet(true); } } @@ -150793,14 +151587,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, remove_master_key_re } - public static class get_master_keys_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_master_keys_args"); + public static class get_open_txns_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_open_txns_args"); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_master_keys_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_master_keys_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_open_txns_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_open_txns_argsTupleSchemeFactory()); } @@ -150863,20 +151657,20 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_master_keys_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_open_txns_args.class, metaDataMap); } - public get_master_keys_args() { + public get_open_txns_args() { } /** * Performs a deep copy on other. */ - public get_master_keys_args(get_master_keys_args other) { + public get_open_txns_args(get_open_txns_args other) { } - public get_master_keys_args deepCopy() { - return new get_master_keys_args(this); + public get_open_txns_args deepCopy() { + return new get_open_txns_args(this); } @Override @@ -150909,12 +151703,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_master_keys_args) - return this.equals((get_master_keys_args)that); + if (that instanceof get_open_txns_args) + return this.equals((get_open_txns_args)that); return false; } - public boolean equals(get_master_keys_args that) { + public boolean equals(get_open_txns_args that) { if (that == null) return false; @@ -150929,7 +151723,7 @@ public int hashCode() { } @Override - public int compareTo(get_master_keys_args other) { + public int compareTo(get_open_txns_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -150953,7 +151747,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_master_keys_args("); + StringBuilder sb = new StringBuilder("get_open_txns_args("); boolean first = true; sb.append(")"); @@ -150981,15 +151775,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_master_keys_argsStandardSchemeFactory implements SchemeFactory { - public get_master_keys_argsStandardScheme getScheme() { - return new get_master_keys_argsStandardScheme(); + private static class get_open_txns_argsStandardSchemeFactory implements SchemeFactory { + public get_open_txns_argsStandardScheme getScheme() { + return new get_open_txns_argsStandardScheme(); } } - private static class get_master_keys_argsStandardScheme extends StandardScheme { + private static class get_open_txns_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -151008,7 +151802,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_arg struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -151018,39 +151812,39 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_ar } - private static class get_master_keys_argsTupleSchemeFactory implements SchemeFactory { - public get_master_keys_argsTupleScheme getScheme() { - return new get_master_keys_argsTupleScheme(); + private static class get_open_txns_argsTupleSchemeFactory implements SchemeFactory { + public get_open_txns_argsTupleScheme getScheme() { + return new get_open_txns_argsTupleScheme(); } } - private static class get_master_keys_argsTupleScheme extends TupleScheme { + private static class get_open_txns_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_master_keys_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; } } } - public static class get_master_keys_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_master_keys_result"); + public static class get_open_txns_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_open_txns_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_master_keys_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_master_keys_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_open_txns_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_open_txns_resultTupleSchemeFactory()); } - private List success; // required + private GetOpenTxnsResponse success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { @@ -151115,17 +151909,16 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetOpenTxnsResponse.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_master_keys_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_open_txns_result.class, metaDataMap); } - public get_master_keys_result() { + public get_open_txns_result() { } - public get_master_keys_result( - List success) + public get_open_txns_result( + GetOpenTxnsResponse success) { this(); this.success = success; @@ -151134,15 +151927,14 @@ public get_master_keys_result( /** * Performs a deep copy on other. */ - public get_master_keys_result(get_master_keys_result other) { + public get_open_txns_result(get_open_txns_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(other.success); - this.success = __this__success; + this.success = new GetOpenTxnsResponse(other.success); } } - public get_master_keys_result deepCopy() { - return new get_master_keys_result(this); + public get_open_txns_result deepCopy() { + return new get_open_txns_result(this); } @Override @@ -151150,26 +151942,11 @@ public void clear() { this.success = null; } - public int getSuccessSize() { - return (this.success == null) ? 0 : this.success.size(); - } - - public java.util.Iterator getSuccessIterator() { - return (this.success == null) ? null : this.success.iterator(); - } - - public void addToSuccess(String elem) { - if (this.success == null) { - this.success = new ArrayList(); - } - this.success.add(elem); - } - - public List getSuccess() { + public GetOpenTxnsResponse getSuccess() { return this.success; } - public void setSuccess(List success) { + public void setSuccess(GetOpenTxnsResponse success) { this.success = success; } @@ -151194,7 +151971,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((List)value); + setSuccess((GetOpenTxnsResponse)value); } break; @@ -151227,12 +152004,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_master_keys_result) - return this.equals((get_master_keys_result)that); + if (that instanceof get_open_txns_result) + return this.equals((get_open_txns_result)that); return false; } - public boolean equals(get_master_keys_result that) { + public boolean equals(get_open_txns_result that) { if (that == null) return false; @@ -151261,7 +152038,7 @@ public int hashCode() { } @Override - public int compareTo(get_master_keys_result other) { + public int compareTo(get_open_txns_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -151295,7 +152072,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_master_keys_result("); + StringBuilder sb = new StringBuilder("get_open_txns_result("); boolean first = true; sb.append("success:"); @@ -151312,6 +152089,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if (success != null) { + success.validate(); + } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -151330,15 +152110,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_master_keys_resultStandardSchemeFactory implements SchemeFactory { - public get_master_keys_resultStandardScheme getScheme() { - return new get_master_keys_resultStandardScheme(); + private static class get_open_txns_resultStandardSchemeFactory implements SchemeFactory { + public get_open_txns_resultStandardScheme getScheme() { + return new get_open_txns_resultStandardScheme(); } } - private static class get_master_keys_resultStandardScheme extends StandardScheme { + private static class get_open_txns_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -151349,18 +152129,9 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_res } switch (schemeField.id) { case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1084 = iprot.readListBegin(); - struct.success = new ArrayList(_list1084.size); - String _elem1085; - for (int _i1086 = 0; _i1086 < _list1084.size; ++_i1086) - { - _elem1085 = iprot.readString(); - struct.success.add(_elem1085); - } - iprot.readListEnd(); - } + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new GetOpenTxnsResponse(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -151375,20 +152146,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_res struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1087 : struct.success) - { - oprot.writeString(_iter1087); - } - oprot.writeListEnd(); - } + struct.success.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -151397,16 +152161,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_re } - private static class get_master_keys_resultTupleSchemeFactory implements SchemeFactory { - public get_master_keys_resultTupleScheme getScheme() { - return new get_master_keys_resultTupleScheme(); + private static class get_open_txns_resultTupleSchemeFactory implements SchemeFactory { + public get_open_txns_resultTupleScheme getScheme() { + return new get_open_txns_resultTupleScheme(); } } - private static class get_master_keys_resultTupleScheme extends TupleScheme { + private static class get_open_txns_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -151414,31 +152178,17 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_res } oprot.writeBitSet(optionals, 1); if (struct.isSetSuccess()) { - { - oprot.writeI32(struct.success.size()); - for (String _iter1088 : struct.success) - { - oprot.writeString(_iter1088); - } - } + struct.success.write(oprot); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_master_keys_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list1089 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1089.size); - String _elem1090; - for (int _i1091 = 0; _i1091 < _list1089.size; ++_i1091) - { - _elem1090 = iprot.readString(); - struct.success.add(_elem1090); - } - } + struct.success = new GetOpenTxnsResponse(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } } @@ -151446,14 +152196,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_master_keys_resu } - public static class get_open_txns_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_open_txns_args"); + public static class get_open_txns_info_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_open_txns_info_args"); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_open_txns_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_open_txns_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_open_txns_info_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_open_txns_info_argsTupleSchemeFactory()); } @@ -151516,20 +152266,20 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_open_txns_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_open_txns_info_args.class, metaDataMap); } - public get_open_txns_args() { + public get_open_txns_info_args() { } /** * Performs a deep copy on other. */ - public get_open_txns_args(get_open_txns_args other) { + public get_open_txns_info_args(get_open_txns_info_args other) { } - public get_open_txns_args deepCopy() { - return new get_open_txns_args(this); + public get_open_txns_info_args deepCopy() { + return new get_open_txns_info_args(this); } @Override @@ -151562,12 +152312,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_open_txns_args) - return this.equals((get_open_txns_args)that); + if (that instanceof get_open_txns_info_args) + return this.equals((get_open_txns_info_args)that); return false; } - public boolean equals(get_open_txns_args that) { + public boolean equals(get_open_txns_info_args that) { if (that == null) return false; @@ -151582,7 +152332,7 @@ public int hashCode() { } @Override - public int compareTo(get_open_txns_args other) { + public int compareTo(get_open_txns_info_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -151606,7 +152356,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_open_txns_args("); + StringBuilder sb = new StringBuilder("get_open_txns_info_args("); boolean first = true; sb.append(")"); @@ -151634,15 +152384,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_open_txns_argsStandardSchemeFactory implements SchemeFactory { - public get_open_txns_argsStandardScheme getScheme() { - return new get_open_txns_argsStandardScheme(); + private static class get_open_txns_info_argsStandardSchemeFactory implements SchemeFactory { + public get_open_txns_info_argsStandardScheme getScheme() { + return new get_open_txns_info_argsStandardScheme(); } } - private static class get_open_txns_argsStandardScheme extends StandardScheme { + private static class get_open_txns_info_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_info_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -151661,7 +152411,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_args struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_info_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -151671,39 +152421,39 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_args } - private static class get_open_txns_argsTupleSchemeFactory implements SchemeFactory { - public get_open_txns_argsTupleScheme getScheme() { - return new get_open_txns_argsTupleScheme(); + private static class get_open_txns_info_argsTupleSchemeFactory implements SchemeFactory { + public get_open_txns_info_argsTupleScheme getScheme() { + return new get_open_txns_info_argsTupleScheme(); } } - private static class get_open_txns_argsTupleScheme extends TupleScheme { + private static class get_open_txns_info_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; } } } - public static class get_open_txns_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_open_txns_result"); + public static class get_open_txns_info_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_open_txns_info_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_open_txns_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_open_txns_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_open_txns_info_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_open_txns_info_resultTupleSchemeFactory()); } - private GetOpenTxnsResponse success; // required + private GetOpenTxnsInfoResponse success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { @@ -151768,16 +152518,16 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetOpenTxnsResponse.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetOpenTxnsInfoResponse.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_open_txns_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_open_txns_info_result.class, metaDataMap); } - public get_open_txns_result() { + public get_open_txns_info_result() { } - public get_open_txns_result( - GetOpenTxnsResponse success) + public get_open_txns_info_result( + GetOpenTxnsInfoResponse success) { this(); this.success = success; @@ -151786,14 +152536,14 @@ public get_open_txns_result( /** * Performs a deep copy on other. */ - public get_open_txns_result(get_open_txns_result other) { + public get_open_txns_info_result(get_open_txns_info_result other) { if (other.isSetSuccess()) { - this.success = new GetOpenTxnsResponse(other.success); + this.success = new GetOpenTxnsInfoResponse(other.success); } } - public get_open_txns_result deepCopy() { - return new get_open_txns_result(this); + public get_open_txns_info_result deepCopy() { + return new get_open_txns_info_result(this); } @Override @@ -151801,11 +152551,11 @@ public void clear() { this.success = null; } - public GetOpenTxnsResponse getSuccess() { + public GetOpenTxnsInfoResponse getSuccess() { return this.success; } - public void setSuccess(GetOpenTxnsResponse success) { + public void setSuccess(GetOpenTxnsInfoResponse success) { this.success = success; } @@ -151830,7 +152580,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((GetOpenTxnsResponse)value); + setSuccess((GetOpenTxnsInfoResponse)value); } break; @@ -151863,12 +152613,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_open_txns_result) - return this.equals((get_open_txns_result)that); + if (that instanceof get_open_txns_info_result) + return this.equals((get_open_txns_info_result)that); return false; } - public boolean equals(get_open_txns_result that) { + public boolean equals(get_open_txns_info_result that) { if (that == null) return false; @@ -151897,7 +152647,7 @@ public int hashCode() { } @Override - public int compareTo(get_open_txns_result other) { + public int compareTo(get_open_txns_info_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -151931,7 +152681,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_open_txns_result("); + StringBuilder sb = new StringBuilder("get_open_txns_info_result("); boolean first = true; sb.append("success:"); @@ -151969,15 +152719,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_open_txns_resultStandardSchemeFactory implements SchemeFactory { - public get_open_txns_resultStandardScheme getScheme() { - return new get_open_txns_resultStandardScheme(); + private static class get_open_txns_info_resultStandardSchemeFactory implements SchemeFactory { + public get_open_txns_info_resultStandardScheme getScheme() { + return new get_open_txns_info_resultStandardScheme(); } } - private static class get_open_txns_resultStandardScheme extends StandardScheme { + private static class get_open_txns_info_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_info_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -151989,7 +152739,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_resul switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new GetOpenTxnsResponse(); + struct.success = new GetOpenTxnsInfoResponse(); struct.success.read(iprot); struct.setSuccessIsSet(true); } else { @@ -152005,7 +152755,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_resul struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_info_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -152020,16 +152770,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_resu } - private static class get_open_txns_resultTupleSchemeFactory implements SchemeFactory { - public get_open_txns_resultTupleScheme getScheme() { - return new get_open_txns_resultTupleScheme(); + private static class get_open_txns_info_resultTupleSchemeFactory implements SchemeFactory { + public get_open_txns_info_resultTupleScheme getScheme() { + return new get_open_txns_info_resultTupleScheme(); } } - private static class get_open_txns_resultTupleScheme extends TupleScheme { + private static class get_open_txns_info_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -152042,11 +152792,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_resul } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.success = new GetOpenTxnsResponse(); + struct.success = new GetOpenTxnsInfoResponse(); struct.success.read(iprot); struct.setSuccessIsSet(true); } @@ -152055,20 +152805,22 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_result } - public static class get_open_txns_info_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_open_txns_info_args"); + public static class open_txns_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("open_txns_args"); + private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_open_txns_info_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_open_txns_info_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new open_txns_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new open_txns_argsTupleSchemeFactory()); } + private OpenTxnRequest rqst; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { -; + RQST((short)1, "rqst"); private static final Map byName = new HashMap(); @@ -152083,6 +152835,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_result */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { + case 1: // RQST + return RQST; default: return null; } @@ -152121,37 +152875,86 @@ public String getFieldName() { return _fieldName; } } + + // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.RQST, new org.apache.thrift.meta_data.FieldMetaData("rqst", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, OpenTxnRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_open_txns_info_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(open_txns_args.class, metaDataMap); } - public get_open_txns_info_args() { + public open_txns_args() { + } + + public open_txns_args( + OpenTxnRequest rqst) + { + this(); + this.rqst = rqst; } /** * Performs a deep copy on other. */ - public get_open_txns_info_args(get_open_txns_info_args other) { + public open_txns_args(open_txns_args other) { + if (other.isSetRqst()) { + this.rqst = new OpenTxnRequest(other.rqst); + } } - public get_open_txns_info_args deepCopy() { - return new get_open_txns_info_args(this); + public open_txns_args deepCopy() { + return new open_txns_args(this); } @Override public void clear() { + this.rqst = null; + } + + public OpenTxnRequest getRqst() { + return this.rqst; + } + + public void setRqst(OpenTxnRequest rqst) { + this.rqst = rqst; + } + + public void unsetRqst() { + this.rqst = null; + } + + /** Returns true if field rqst is set (has been assigned a value) and false otherwise */ + public boolean isSetRqst() { + return this.rqst != null; + } + + public void setRqstIsSet(boolean value) { + if (!value) { + this.rqst = null; + } } public void setFieldValue(_Fields field, Object value) { switch (field) { + case RQST: + if (value == null) { + unsetRqst(); + } else { + setRqst((OpenTxnRequest)value); + } + break; + } } public Object getFieldValue(_Fields field) { switch (field) { + case RQST: + return getRqst(); + } throw new IllegalStateException(); } @@ -152163,6 +152966,8 @@ public boolean isSet(_Fields field) { } switch (field) { + case RQST: + return isSetRqst(); } throw new IllegalStateException(); } @@ -152171,15 +152976,24 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_open_txns_info_args) - return this.equals((get_open_txns_info_args)that); + if (that instanceof open_txns_args) + return this.equals((open_txns_args)that); return false; } - public boolean equals(get_open_txns_info_args that) { + public boolean equals(open_txns_args that) { if (that == null) return false; + boolean this_present_rqst = true && this.isSetRqst(); + boolean that_present_rqst = true && that.isSetRqst(); + if (this_present_rqst || that_present_rqst) { + if (!(this_present_rqst && that_present_rqst)) + return false; + if (!this.rqst.equals(that.rqst)) + return false; + } + return true; } @@ -152187,17 +153001,32 @@ public boolean equals(get_open_txns_info_args that) { public int hashCode() { List list = new ArrayList(); + boolean present_rqst = true && (isSetRqst()); + list.add(present_rqst); + if (present_rqst) + list.add(rqst); + return list.hashCode(); } @Override - public int compareTo(get_open_txns_info_args other) { + public int compareTo(open_txns_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetRqst()).compareTo(other.isSetRqst()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetRqst()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, other.rqst); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -152215,9 +153044,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_open_txns_info_args("); + StringBuilder sb = new StringBuilder("open_txns_args("); boolean first = true; + sb.append("rqst:"); + if (this.rqst == null) { + sb.append("null"); + } else { + sb.append(this.rqst); + } + first = false; sb.append(")"); return sb.toString(); } @@ -152225,6 +153061,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if (rqst != null) { + rqst.validate(); + } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -152243,15 +153082,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_open_txns_info_argsStandardSchemeFactory implements SchemeFactory { - public get_open_txns_info_argsStandardScheme getScheme() { - return new get_open_txns_info_argsStandardScheme(); + private static class open_txns_argsStandardSchemeFactory implements SchemeFactory { + public open_txns_argsStandardScheme getScheme() { + return new open_txns_argsStandardScheme(); } } - private static class get_open_txns_info_argsStandardScheme extends StandardScheme { + private static class open_txns_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_info_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, open_txns_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -152261,6 +153100,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_info_ break; } switch (schemeField.id) { + case 1: // RQST + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.rqst = new OpenTxnRequest(); + struct.rqst.read(iprot); + struct.setRqstIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -152270,49 +153118,68 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_info_ struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_info_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, open_txns_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if (struct.rqst != null) { + oprot.writeFieldBegin(RQST_FIELD_DESC); + struct.rqst.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class get_open_txns_info_argsTupleSchemeFactory implements SchemeFactory { - public get_open_txns_info_argsTupleScheme getScheme() { - return new get_open_txns_info_argsTupleScheme(); + private static class open_txns_argsTupleSchemeFactory implements SchemeFactory { + public open_txns_argsTupleScheme getScheme() { + return new open_txns_argsTupleScheme(); } } - private static class get_open_txns_info_argsTupleScheme extends TupleScheme { + private static class open_txns_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, open_txns_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetRqst()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetRqst()) { + struct.rqst.write(oprot); + } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, open_txns_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.rqst = new OpenTxnRequest(); + struct.rqst.read(iprot); + struct.setRqstIsSet(true); + } } } } - public static class get_open_txns_info_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_open_txns_info_result"); + public static class open_txns_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("open_txns_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_open_txns_info_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_open_txns_info_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new open_txns_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new open_txns_resultTupleSchemeFactory()); } - private GetOpenTxnsInfoResponse success; // required + private OpenTxnsResponse success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { @@ -152377,16 +153244,16 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetOpenTxnsInfoResponse.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, OpenTxnsResponse.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_open_txns_info_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(open_txns_result.class, metaDataMap); } - public get_open_txns_info_result() { + public open_txns_result() { } - public get_open_txns_info_result( - GetOpenTxnsInfoResponse success) + public open_txns_result( + OpenTxnsResponse success) { this(); this.success = success; @@ -152395,14 +153262,14 @@ public get_open_txns_info_result( /** * Performs a deep copy on other. */ - public get_open_txns_info_result(get_open_txns_info_result other) { + public open_txns_result(open_txns_result other) { if (other.isSetSuccess()) { - this.success = new GetOpenTxnsInfoResponse(other.success); + this.success = new OpenTxnsResponse(other.success); } } - public get_open_txns_info_result deepCopy() { - return new get_open_txns_info_result(this); + public open_txns_result deepCopy() { + return new open_txns_result(this); } @Override @@ -152410,11 +153277,11 @@ public void clear() { this.success = null; } - public GetOpenTxnsInfoResponse getSuccess() { + public OpenTxnsResponse getSuccess() { return this.success; } - public void setSuccess(GetOpenTxnsInfoResponse success) { + public void setSuccess(OpenTxnsResponse success) { this.success = success; } @@ -152439,7 +153306,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((GetOpenTxnsInfoResponse)value); + setSuccess((OpenTxnsResponse)value); } break; @@ -152472,12 +153339,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_open_txns_info_result) - return this.equals((get_open_txns_info_result)that); + if (that instanceof open_txns_result) + return this.equals((open_txns_result)that); return false; } - public boolean equals(get_open_txns_info_result that) { + public boolean equals(open_txns_result that) { if (that == null) return false; @@ -152506,7 +153373,7 @@ public int hashCode() { } @Override - public int compareTo(get_open_txns_info_result other) { + public int compareTo(open_txns_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -152540,7 +153407,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_open_txns_info_result("); + StringBuilder sb = new StringBuilder("open_txns_result("); boolean first = true; sb.append("success:"); @@ -152578,15 +153445,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_open_txns_info_resultStandardSchemeFactory implements SchemeFactory { - public get_open_txns_info_resultStandardScheme getScheme() { - return new get_open_txns_info_resultStandardScheme(); + private static class open_txns_resultStandardSchemeFactory implements SchemeFactory { + public open_txns_resultStandardScheme getScheme() { + return new open_txns_resultStandardScheme(); } } - private static class get_open_txns_info_resultStandardScheme extends StandardScheme { + private static class open_txns_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_info_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, open_txns_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -152598,7 +153465,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_info_ switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new GetOpenTxnsInfoResponse(); + struct.success = new OpenTxnsResponse(); struct.success.read(iprot); struct.setSuccessIsSet(true); } else { @@ -152614,7 +153481,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_info_ struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_info_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, open_txns_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -152629,16 +153496,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_info } - private static class get_open_txns_info_resultTupleSchemeFactory implements SchemeFactory { - public get_open_txns_info_resultTupleScheme getScheme() { - return new get_open_txns_info_resultTupleScheme(); + private static class open_txns_resultTupleSchemeFactory implements SchemeFactory { + public open_txns_resultTupleScheme getScheme() { + return new open_txns_resultTupleScheme(); } } - private static class get_open_txns_info_resultTupleScheme extends TupleScheme { + private static class open_txns_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, open_txns_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -152651,11 +153518,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_ } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, open_txns_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.success = new GetOpenTxnsInfoResponse(); + struct.success = new OpenTxnsResponse(); struct.success.read(iprot); struct.setSuccessIsSet(true); } @@ -152664,18 +153531,18 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_r } - public static class open_txns_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("open_txns_args"); + public static class abort_txn_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("abort_txn_args"); private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new open_txns_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new open_txns_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new abort_txn_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new abort_txn_argsTupleSchemeFactory()); } - private OpenTxnRequest rqst; // required + private AbortTxnRequest rqst; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { @@ -152740,16 +153607,16 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.RQST, new org.apache.thrift.meta_data.FieldMetaData("rqst", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, OpenTxnRequest.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AbortTxnRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(open_txns_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(abort_txn_args.class, metaDataMap); } - public open_txns_args() { + public abort_txn_args() { } - public open_txns_args( - OpenTxnRequest rqst) + public abort_txn_args( + AbortTxnRequest rqst) { this(); this.rqst = rqst; @@ -152758,14 +153625,14 @@ public open_txns_args( /** * Performs a deep copy on other. */ - public open_txns_args(open_txns_args other) { + public abort_txn_args(abort_txn_args other) { if (other.isSetRqst()) { - this.rqst = new OpenTxnRequest(other.rqst); + this.rqst = new AbortTxnRequest(other.rqst); } } - public open_txns_args deepCopy() { - return new open_txns_args(this); + public abort_txn_args deepCopy() { + return new abort_txn_args(this); } @Override @@ -152773,11 +153640,11 @@ public void clear() { this.rqst = null; } - public OpenTxnRequest getRqst() { + public AbortTxnRequest getRqst() { return this.rqst; } - public void setRqst(OpenTxnRequest rqst) { + public void setRqst(AbortTxnRequest rqst) { this.rqst = rqst; } @@ -152802,7 +153669,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRqst(); } else { - setRqst((OpenTxnRequest)value); + setRqst((AbortTxnRequest)value); } break; @@ -152835,12 +153702,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof open_txns_args) - return this.equals((open_txns_args)that); + if (that instanceof abort_txn_args) + return this.equals((abort_txn_args)that); return false; } - public boolean equals(open_txns_args that) { + public boolean equals(abort_txn_args that) { if (that == null) return false; @@ -152869,7 +153736,7 @@ public int hashCode() { } @Override - public int compareTo(open_txns_args other) { + public int compareTo(abort_txn_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -152903,7 +153770,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("open_txns_args("); + StringBuilder sb = new StringBuilder("abort_txn_args("); boolean first = true; sb.append("rqst:"); @@ -152941,15 +153808,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class open_txns_argsStandardSchemeFactory implements SchemeFactory { - public open_txns_argsStandardScheme getScheme() { - return new open_txns_argsStandardScheme(); + private static class abort_txn_argsStandardSchemeFactory implements SchemeFactory { + public abort_txn_argsStandardScheme getScheme() { + return new abort_txn_argsStandardScheme(); } } - private static class open_txns_argsStandardScheme extends StandardScheme { + private static class abort_txn_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, open_txns_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txn_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -152961,7 +153828,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, open_txns_args stru switch (schemeField.id) { case 1: // RQST if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.rqst = new OpenTxnRequest(); + struct.rqst = new AbortTxnRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } else { @@ -152977,7 +153844,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, open_txns_args stru struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, open_txns_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txn_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -152992,16 +153859,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, open_txns_args str } - private static class open_txns_argsTupleSchemeFactory implements SchemeFactory { - public open_txns_argsTupleScheme getScheme() { - return new open_txns_argsTupleScheme(); + private static class abort_txn_argsTupleSchemeFactory implements SchemeFactory { + public abort_txn_argsTupleScheme getScheme() { + return new abort_txn_argsTupleScheme(); } } - private static class open_txns_argsTupleScheme extends TupleScheme { + private static class abort_txn_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, open_txns_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, abort_txn_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetRqst()) { @@ -153014,11 +153881,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, open_txns_args stru } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, open_txns_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, abort_txn_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.rqst = new OpenTxnRequest(); + struct.rqst = new AbortTxnRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } @@ -153027,22 +153894,22 @@ public void read(org.apache.thrift.protocol.TProtocol prot, open_txns_args struc } - public static class open_txns_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("open_txns_result"); + public static class abort_txn_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("abort_txn_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); + private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new open_txns_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new open_txns_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new abort_txn_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new abort_txn_resultTupleSchemeFactory()); } - private OpenTxnsResponse success; // required + private NoSuchTxnException o1; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - SUCCESS((short)0, "success"); + O1((short)1, "o1"); private static final Map byName = new HashMap(); @@ -153057,8 +153924,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, open_txns_args struc */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 0: // SUCCESS - return SUCCESS; + case 1: // O1 + return O1; default: return null; } @@ -153102,70 +153969,70 @@ public String getFieldName() { public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, OpenTxnsResponse.class))); + tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(open_txns_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(abort_txn_result.class, metaDataMap); } - public open_txns_result() { + public abort_txn_result() { } - public open_txns_result( - OpenTxnsResponse success) + public abort_txn_result( + NoSuchTxnException o1) { this(); - this.success = success; + this.o1 = o1; } /** * Performs a deep copy on other. */ - public open_txns_result(open_txns_result other) { - if (other.isSetSuccess()) { - this.success = new OpenTxnsResponse(other.success); + public abort_txn_result(abort_txn_result other) { + if (other.isSetO1()) { + this.o1 = new NoSuchTxnException(other.o1); } } - public open_txns_result deepCopy() { - return new open_txns_result(this); + public abort_txn_result deepCopy() { + return new abort_txn_result(this); } @Override public void clear() { - this.success = null; + this.o1 = null; } - public OpenTxnsResponse getSuccess() { - return this.success; + public NoSuchTxnException getO1() { + return this.o1; } - public void setSuccess(OpenTxnsResponse success) { - this.success = success; + public void setO1(NoSuchTxnException o1) { + this.o1 = o1; } - public void unsetSuccess() { - this.success = null; + public void unsetO1() { + this.o1 = null; } - /** Returns true if field success is set (has been assigned a value) and false otherwise */ - public boolean isSetSuccess() { - return this.success != null; + /** Returns true if field o1 is set (has been assigned a value) and false otherwise */ + public boolean isSetO1() { + return this.o1 != null; } - public void setSuccessIsSet(boolean value) { + public void setO1IsSet(boolean value) { if (!value) { - this.success = null; + this.o1 = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { - case SUCCESS: + case O1: if (value == null) { - unsetSuccess(); + unsetO1(); } else { - setSuccess((OpenTxnsResponse)value); + setO1((NoSuchTxnException)value); } break; @@ -153174,8 +154041,8 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case SUCCESS: - return getSuccess(); + case O1: + return getO1(); } throw new IllegalStateException(); @@ -153188,8 +154055,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case SUCCESS: - return isSetSuccess(); + case O1: + return isSetO1(); } throw new IllegalStateException(); } @@ -153198,21 +154065,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof open_txns_result) - return this.equals((open_txns_result)that); + if (that instanceof abort_txn_result) + return this.equals((abort_txn_result)that); return false; } - public boolean equals(open_txns_result that) { + public boolean equals(abort_txn_result that) { if (that == null) return false; - boolean this_present_success = true && this.isSetSuccess(); - boolean that_present_success = true && that.isSetSuccess(); - if (this_present_success || that_present_success) { - if (!(this_present_success && that_present_success)) + boolean this_present_o1 = true && this.isSetO1(); + boolean that_present_o1 = true && that.isSetO1(); + if (this_present_o1 || that_present_o1) { + if (!(this_present_o1 && that_present_o1)) return false; - if (!this.success.equals(that.success)) + if (!this.o1.equals(that.o1)) return false; } @@ -153223,28 +154090,28 @@ public boolean equals(open_txns_result that) { public int hashCode() { List list = new ArrayList(); - boolean present_success = true && (isSetSuccess()); - list.add(present_success); - if (present_success) - list.add(success); + boolean present_o1 = true && (isSetO1()); + list.add(present_o1); + if (present_o1) + list.add(o1); return list.hashCode(); } @Override - public int compareTo(open_txns_result other) { + public int compareTo(abort_txn_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } - if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + if (isSetO1()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -153266,14 +154133,14 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("open_txns_result("); + StringBuilder sb = new StringBuilder("abort_txn_result("); boolean first = true; - sb.append("success:"); - if (this.success == null) { + sb.append("o1:"); + if (this.o1 == null) { sb.append("null"); } else { - sb.append(this.success); + sb.append(this.o1); } first = false; sb.append(")"); @@ -153283,9 +154150,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if (success != null) { - success.validate(); - } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -153304,15 +154168,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class open_txns_resultStandardSchemeFactory implements SchemeFactory { - public open_txns_resultStandardScheme getScheme() { - return new open_txns_resultStandardScheme(); + private static class abort_txn_resultStandardSchemeFactory implements SchemeFactory { + public abort_txn_resultStandardScheme getScheme() { + return new abort_txn_resultStandardScheme(); } } - private static class open_txns_resultStandardScheme extends StandardScheme { + private static class abort_txn_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, open_txns_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txn_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -153322,11 +154186,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, open_txns_result st break; } switch (schemeField.id) { - case 0: // SUCCESS + case 1: // O1 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new OpenTxnsResponse(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); + struct.o1 = new NoSuchTxnException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -153340,13 +154204,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, open_txns_result st struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, open_txns_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txn_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.success != null) { - oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - struct.success.write(oprot); + if (struct.o1 != null) { + oprot.writeFieldBegin(O1_FIELD_DESC); + struct.o1.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -153355,53 +154219,53 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, open_txns_result s } - private static class open_txns_resultTupleSchemeFactory implements SchemeFactory { - public open_txns_resultTupleScheme getScheme() { - return new open_txns_resultTupleScheme(); + private static class abort_txn_resultTupleSchemeFactory implements SchemeFactory { + public abort_txn_resultTupleScheme getScheme() { + return new abort_txn_resultTupleScheme(); } } - private static class open_txns_resultTupleScheme extends TupleScheme { + private static class abort_txn_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, open_txns_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, abort_txn_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetSuccess()) { + if (struct.isSetO1()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); - if (struct.isSetSuccess()) { - struct.success.write(oprot); + if (struct.isSetO1()) { + struct.o1.write(oprot); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, open_txns_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, abort_txn_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.success = new OpenTxnsResponse(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); + struct.o1 = new NoSuchTxnException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); } } } } - public static class abort_txn_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("abort_txn_args"); + public static class abort_txns_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("abort_txns_args"); private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new abort_txn_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new abort_txn_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new abort_txns_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new abort_txns_argsTupleSchemeFactory()); } - private AbortTxnRequest rqst; // required + private AbortTxnsRequest rqst; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { @@ -153466,16 +154330,16 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.RQST, new org.apache.thrift.meta_data.FieldMetaData("rqst", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AbortTxnRequest.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AbortTxnsRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(abort_txn_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(abort_txns_args.class, metaDataMap); } - public abort_txn_args() { + public abort_txns_args() { } - public abort_txn_args( - AbortTxnRequest rqst) + public abort_txns_args( + AbortTxnsRequest rqst) { this(); this.rqst = rqst; @@ -153484,14 +154348,14 @@ public abort_txn_args( /** * Performs a deep copy on other. */ - public abort_txn_args(abort_txn_args other) { + public abort_txns_args(abort_txns_args other) { if (other.isSetRqst()) { - this.rqst = new AbortTxnRequest(other.rqst); + this.rqst = new AbortTxnsRequest(other.rqst); } } - public abort_txn_args deepCopy() { - return new abort_txn_args(this); + public abort_txns_args deepCopy() { + return new abort_txns_args(this); } @Override @@ -153499,11 +154363,11 @@ public void clear() { this.rqst = null; } - public AbortTxnRequest getRqst() { + public AbortTxnsRequest getRqst() { return this.rqst; } - public void setRqst(AbortTxnRequest rqst) { + public void setRqst(AbortTxnsRequest rqst) { this.rqst = rqst; } @@ -153528,7 +154392,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRqst(); } else { - setRqst((AbortTxnRequest)value); + setRqst((AbortTxnsRequest)value); } break; @@ -153561,12 +154425,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof abort_txn_args) - return this.equals((abort_txn_args)that); + if (that instanceof abort_txns_args) + return this.equals((abort_txns_args)that); return false; } - public boolean equals(abort_txn_args that) { + public boolean equals(abort_txns_args that) { if (that == null) return false; @@ -153595,7 +154459,7 @@ public int hashCode() { } @Override - public int compareTo(abort_txn_args other) { + public int compareTo(abort_txns_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -153629,7 +154493,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("abort_txn_args("); + StringBuilder sb = new StringBuilder("abort_txns_args("); boolean first = true; sb.append("rqst:"); @@ -153667,15 +154531,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class abort_txn_argsStandardSchemeFactory implements SchemeFactory { - public abort_txn_argsStandardScheme getScheme() { - return new abort_txn_argsStandardScheme(); + private static class abort_txns_argsStandardSchemeFactory implements SchemeFactory { + public abort_txns_argsStandardScheme getScheme() { + return new abort_txns_argsStandardScheme(); } } - private static class abort_txn_argsStandardScheme extends StandardScheme { + private static class abort_txns_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txn_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txns_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -153687,7 +154551,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txn_args stru switch (schemeField.id) { case 1: // RQST if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.rqst = new AbortTxnRequest(); + struct.rqst = new AbortTxnsRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } else { @@ -153703,7 +154567,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txn_args stru struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txn_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txns_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -153718,16 +154582,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txn_args str } - private static class abort_txn_argsTupleSchemeFactory implements SchemeFactory { - public abort_txn_argsTupleScheme getScheme() { - return new abort_txn_argsTupleScheme(); + private static class abort_txns_argsTupleSchemeFactory implements SchemeFactory { + public abort_txns_argsTupleScheme getScheme() { + return new abort_txns_argsTupleScheme(); } } - private static class abort_txn_argsTupleScheme extends TupleScheme { + private static class abort_txns_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, abort_txn_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, abort_txns_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetRqst()) { @@ -153740,11 +154604,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, abort_txn_args stru } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, abort_txn_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, abort_txns_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.rqst = new AbortTxnRequest(); + struct.rqst = new AbortTxnsRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } @@ -153753,15 +154617,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, abort_txn_args struc } - public static class abort_txn_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("abort_txn_result"); + public static class abort_txns_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("abort_txns_result"); private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new abort_txn_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new abort_txn_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new abort_txns_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new abort_txns_resultTupleSchemeFactory()); } private NoSuchTxnException o1; // required @@ -153831,13 +154695,13 @@ public String getFieldName() { tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(abort_txn_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(abort_txns_result.class, metaDataMap); } - public abort_txn_result() { + public abort_txns_result() { } - public abort_txn_result( + public abort_txns_result( NoSuchTxnException o1) { this(); @@ -153847,14 +154711,14 @@ public abort_txn_result( /** * Performs a deep copy on other. */ - public abort_txn_result(abort_txn_result other) { + public abort_txns_result(abort_txns_result other) { if (other.isSetO1()) { this.o1 = new NoSuchTxnException(other.o1); } } - public abort_txn_result deepCopy() { - return new abort_txn_result(this); + public abort_txns_result deepCopy() { + return new abort_txns_result(this); } @Override @@ -153924,12 +154788,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof abort_txn_result) - return this.equals((abort_txn_result)that); + if (that instanceof abort_txns_result) + return this.equals((abort_txns_result)that); return false; } - public boolean equals(abort_txn_result that) { + public boolean equals(abort_txns_result that) { if (that == null) return false; @@ -153958,7 +154822,7 @@ public int hashCode() { } @Override - public int compareTo(abort_txn_result other) { + public int compareTo(abort_txns_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -153992,7 +154856,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("abort_txn_result("); + StringBuilder sb = new StringBuilder("abort_txns_result("); boolean first = true; sb.append("o1:"); @@ -154027,15 +154891,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class abort_txn_resultStandardSchemeFactory implements SchemeFactory { - public abort_txn_resultStandardScheme getScheme() { - return new abort_txn_resultStandardScheme(); + private static class abort_txns_resultStandardSchemeFactory implements SchemeFactory { + public abort_txns_resultStandardScheme getScheme() { + return new abort_txns_resultStandardScheme(); } } - private static class abort_txn_resultStandardScheme extends StandardScheme { + private static class abort_txns_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txn_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txns_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -154063,7 +154927,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txn_result st struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txn_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txns_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -154078,16 +154942,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txn_result s } - private static class abort_txn_resultTupleSchemeFactory implements SchemeFactory { - public abort_txn_resultTupleScheme getScheme() { - return new abort_txn_resultTupleScheme(); + private static class abort_txns_resultTupleSchemeFactory implements SchemeFactory { + public abort_txns_resultTupleScheme getScheme() { + return new abort_txns_resultTupleScheme(); } } - private static class abort_txn_resultTupleScheme extends TupleScheme { + private static class abort_txns_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, abort_txn_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, abort_txns_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetO1()) { @@ -154100,7 +154964,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, abort_txn_result st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, abort_txn_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, abort_txns_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { diff --git metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php index 05a0749..521f1e7 100644 --- metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -1016,6 +1016,11 @@ interface ThriftHiveMetastoreIf extends \FacebookServiceIf { */ public function abort_txn(\metastore\AbortTxnRequest $rqst); /** + * @param \metastore\AbortTxnsRequest $rqst + * @throws \metastore\NoSuchTxnException + */ + public function abort_txns(\metastore\AbortTxnsRequest $rqst); + /** * @param \metastore\CommitTxnRequest $rqst * @throws \metastore\NoSuchTxnException * @throws \metastore\TxnAbortedException @@ -8219,6 +8224,57 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas return; } + public function abort_txns(\metastore\AbortTxnsRequest $rqst) + { + $this->send_abort_txns($rqst); + $this->recv_abort_txns(); + } + + public function send_abort_txns(\metastore\AbortTxnsRequest $rqst) + { + $args = new \metastore\ThriftHiveMetastore_abort_txns_args(); + $args->rqst = $rqst; + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); + if ($bin_accel) + { + thrift_protocol_write_binary($this->output_, 'abort_txns', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); + } + else + { + $this->output_->writeMessageBegin('abort_txns', TMessageType::CALL, $this->seqid_); + $args->write($this->output_); + $this->output_->writeMessageEnd(); + $this->output_->getTransport()->flush(); + } + } + + public function recv_abort_txns() + { + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); + if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_abort_txns_result', $this->input_->isStrictRead()); + else + { + $rseqid = 0; + $fname = null; + $mtype = 0; + + $this->input_->readMessageBegin($fname, $mtype, $rseqid); + if ($mtype == TMessageType::EXCEPTION) { + $x = new TApplicationException(); + $x->read($this->input_); + $this->input_->readMessageEnd(); + throw $x; + } + $result = new \metastore\ThriftHiveMetastore_abort_txns_result(); + $result->read($this->input_); + $this->input_->readMessageEnd(); + } + if ($result->o1 !== null) { + throw $result->o1; + } + return; + } + public function commit_txn(\metastore\CommitTxnRequest $rqst) { $this->send_commit_txn($rqst); @@ -10412,14 +10468,14 @@ class ThriftHiveMetastore_get_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size525 = 0; - $_etype528 = 0; - $xfer += $input->readListBegin($_etype528, $_size525); - for ($_i529 = 0; $_i529 < $_size525; ++$_i529) + $_size532 = 0; + $_etype535 = 0; + $xfer += $input->readListBegin($_etype535, $_size532); + for ($_i536 = 0; $_i536 < $_size532; ++$_i536) { - $elem530 = null; - $xfer += $input->readString($elem530); - $this->success []= $elem530; + $elem537 = null; + $xfer += $input->readString($elem537); + $this->success []= $elem537; } $xfer += $input->readListEnd(); } else { @@ -10455,9 +10511,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter531) + foreach ($this->success as $iter538) { - $xfer += $output->writeString($iter531); + $xfer += $output->writeString($iter538); } } $output->writeListEnd(); @@ -10588,14 +10644,14 @@ class ThriftHiveMetastore_get_all_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size532 = 0; - $_etype535 = 0; - $xfer += $input->readListBegin($_etype535, $_size532); - for ($_i536 = 0; $_i536 < $_size532; ++$_i536) + $_size539 = 0; + $_etype542 = 0; + $xfer += $input->readListBegin($_etype542, $_size539); + for ($_i543 = 0; $_i543 < $_size539; ++$_i543) { - $elem537 = null; - $xfer += $input->readString($elem537); - $this->success []= $elem537; + $elem544 = null; + $xfer += $input->readString($elem544); + $this->success []= $elem544; } $xfer += $input->readListEnd(); } else { @@ -10631,9 +10687,9 @@ class ThriftHiveMetastore_get_all_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter538) + foreach ($this->success as $iter545) { - $xfer += $output->writeString($iter538); + $xfer += $output->writeString($iter545); } } $output->writeListEnd(); @@ -11634,18 +11690,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size539 = 0; - $_ktype540 = 0; - $_vtype541 = 0; - $xfer += $input->readMapBegin($_ktype540, $_vtype541, $_size539); - for ($_i543 = 0; $_i543 < $_size539; ++$_i543) + $_size546 = 0; + $_ktype547 = 0; + $_vtype548 = 0; + $xfer += $input->readMapBegin($_ktype547, $_vtype548, $_size546); + for ($_i550 = 0; $_i550 < $_size546; ++$_i550) { - $key544 = ''; - $val545 = new \metastore\Type(); - $xfer += $input->readString($key544); - $val545 = new \metastore\Type(); - $xfer += $val545->read($input); - $this->success[$key544] = $val545; + $key551 = ''; + $val552 = new \metastore\Type(); + $xfer += $input->readString($key551); + $val552 = new \metastore\Type(); + $xfer += $val552->read($input); + $this->success[$key551] = $val552; } $xfer += $input->readMapEnd(); } else { @@ -11681,10 +11737,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter546 => $viter547) + foreach ($this->success as $kiter553 => $viter554) { - $xfer += $output->writeString($kiter546); - $xfer += $viter547->write($output); + $xfer += $output->writeString($kiter553); + $xfer += $viter554->write($output); } } $output->writeMapEnd(); @@ -11888,15 +11944,15 @@ class ThriftHiveMetastore_get_fields_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size548 = 0; - $_etype551 = 0; - $xfer += $input->readListBegin($_etype551, $_size548); - for ($_i552 = 0; $_i552 < $_size548; ++$_i552) + $_size555 = 0; + $_etype558 = 0; + $xfer += $input->readListBegin($_etype558, $_size555); + for ($_i559 = 0; $_i559 < $_size555; ++$_i559) { - $elem553 = null; - $elem553 = new \metastore\FieldSchema(); - $xfer += $elem553->read($input); - $this->success []= $elem553; + $elem560 = null; + $elem560 = new \metastore\FieldSchema(); + $xfer += $elem560->read($input); + $this->success []= $elem560; } $xfer += $input->readListEnd(); } else { @@ -11948,9 +12004,9 @@ class ThriftHiveMetastore_get_fields_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter554) + foreach ($this->success as $iter561) { - $xfer += $iter554->write($output); + $xfer += $iter561->write($output); } } $output->writeListEnd(); @@ -12192,15 +12248,15 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size555 = 0; - $_etype558 = 0; - $xfer += $input->readListBegin($_etype558, $_size555); - for ($_i559 = 0; $_i559 < $_size555; ++$_i559) + $_size562 = 0; + $_etype565 = 0; + $xfer += $input->readListBegin($_etype565, $_size562); + for ($_i566 = 0; $_i566 < $_size562; ++$_i566) { - $elem560 = null; - $elem560 = new \metastore\FieldSchema(); - $xfer += $elem560->read($input); - $this->success []= $elem560; + $elem567 = null; + $elem567 = new \metastore\FieldSchema(); + $xfer += $elem567->read($input); + $this->success []= $elem567; } $xfer += $input->readListEnd(); } else { @@ -12252,9 +12308,9 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter561) + foreach ($this->success as $iter568) { - $xfer += $iter561->write($output); + $xfer += $iter568->write($output); } } $output->writeListEnd(); @@ -12468,15 +12524,15 @@ class ThriftHiveMetastore_get_schema_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size562 = 0; - $_etype565 = 0; - $xfer += $input->readListBegin($_etype565, $_size562); - for ($_i566 = 0; $_i566 < $_size562; ++$_i566) + $_size569 = 0; + $_etype572 = 0; + $xfer += $input->readListBegin($_etype572, $_size569); + for ($_i573 = 0; $_i573 < $_size569; ++$_i573) { - $elem567 = null; - $elem567 = new \metastore\FieldSchema(); - $xfer += $elem567->read($input); - $this->success []= $elem567; + $elem574 = null; + $elem574 = new \metastore\FieldSchema(); + $xfer += $elem574->read($input); + $this->success []= $elem574; } $xfer += $input->readListEnd(); } else { @@ -12528,9 +12584,9 @@ class ThriftHiveMetastore_get_schema_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter568) + foreach ($this->success as $iter575) { - $xfer += $iter568->write($output); + $xfer += $iter575->write($output); } } $output->writeListEnd(); @@ -12772,15 +12828,15 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size569 = 0; - $_etype572 = 0; - $xfer += $input->readListBegin($_etype572, $_size569); - for ($_i573 = 0; $_i573 < $_size569; ++$_i573) + $_size576 = 0; + $_etype579 = 0; + $xfer += $input->readListBegin($_etype579, $_size576); + for ($_i580 = 0; $_i580 < $_size576; ++$_i580) { - $elem574 = null; - $elem574 = new \metastore\FieldSchema(); - $xfer += $elem574->read($input); - $this->success []= $elem574; + $elem581 = null; + $elem581 = new \metastore\FieldSchema(); + $xfer += $elem581->read($input); + $this->success []= $elem581; } $xfer += $input->readListEnd(); } else { @@ -12832,9 +12888,9 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter575) + foreach ($this->success as $iter582) { - $xfer += $iter575->write($output); + $xfer += $iter582->write($output); } } $output->writeListEnd(); @@ -13989,14 +14045,14 @@ class ThriftHiveMetastore_get_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size576 = 0; - $_etype579 = 0; - $xfer += $input->readListBegin($_etype579, $_size576); - for ($_i580 = 0; $_i580 < $_size576; ++$_i580) + $_size583 = 0; + $_etype586 = 0; + $xfer += $input->readListBegin($_etype586, $_size583); + for ($_i587 = 0; $_i587 < $_size583; ++$_i587) { - $elem581 = null; - $xfer += $input->readString($elem581); - $this->success []= $elem581; + $elem588 = null; + $xfer += $input->readString($elem588); + $this->success []= $elem588; } $xfer += $input->readListEnd(); } else { @@ -14032,9 +14088,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter582) + foreach ($this->success as $iter589) { - $xfer += $output->writeString($iter582); + $xfer += $output->writeString($iter589); } } $output->writeListEnd(); @@ -14139,14 +14195,14 @@ class ThriftHiveMetastore_get_table_meta_args { case 3: if ($ftype == TType::LST) { $this->tbl_types = array(); - $_size583 = 0; - $_etype586 = 0; - $xfer += $input->readListBegin($_etype586, $_size583); - for ($_i587 = 0; $_i587 < $_size583; ++$_i587) + $_size590 = 0; + $_etype593 = 0; + $xfer += $input->readListBegin($_etype593, $_size590); + for ($_i594 = 0; $_i594 < $_size590; ++$_i594) { - $elem588 = null; - $xfer += $input->readString($elem588); - $this->tbl_types []= $elem588; + $elem595 = null; + $xfer += $input->readString($elem595); + $this->tbl_types []= $elem595; } $xfer += $input->readListEnd(); } else { @@ -14184,9 +14240,9 @@ class ThriftHiveMetastore_get_table_meta_args { { $output->writeListBegin(TType::STRING, count($this->tbl_types)); { - foreach ($this->tbl_types as $iter589) + foreach ($this->tbl_types as $iter596) { - $xfer += $output->writeString($iter589); + $xfer += $output->writeString($iter596); } } $output->writeListEnd(); @@ -14263,15 +14319,15 @@ class ThriftHiveMetastore_get_table_meta_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size590 = 0; - $_etype593 = 0; - $xfer += $input->readListBegin($_etype593, $_size590); - for ($_i594 = 0; $_i594 < $_size590; ++$_i594) + $_size597 = 0; + $_etype600 = 0; + $xfer += $input->readListBegin($_etype600, $_size597); + for ($_i601 = 0; $_i601 < $_size597; ++$_i601) { - $elem595 = null; - $elem595 = new \metastore\TableMeta(); - $xfer += $elem595->read($input); - $this->success []= $elem595; + $elem602 = null; + $elem602 = new \metastore\TableMeta(); + $xfer += $elem602->read($input); + $this->success []= $elem602; } $xfer += $input->readListEnd(); } else { @@ -14307,9 +14363,9 @@ class ThriftHiveMetastore_get_table_meta_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter596) + foreach ($this->success as $iter603) { - $xfer += $iter596->write($output); + $xfer += $iter603->write($output); } } $output->writeListEnd(); @@ -14465,14 +14521,14 @@ class ThriftHiveMetastore_get_all_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size597 = 0; - $_etype600 = 0; - $xfer += $input->readListBegin($_etype600, $_size597); - for ($_i601 = 0; $_i601 < $_size597; ++$_i601) + $_size604 = 0; + $_etype607 = 0; + $xfer += $input->readListBegin($_etype607, $_size604); + for ($_i608 = 0; $_i608 < $_size604; ++$_i608) { - $elem602 = null; - $xfer += $input->readString($elem602); - $this->success []= $elem602; + $elem609 = null; + $xfer += $input->readString($elem609); + $this->success []= $elem609; } $xfer += $input->readListEnd(); } else { @@ -14508,9 +14564,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter603) + foreach ($this->success as $iter610) { - $xfer += $output->writeString($iter603); + $xfer += $output->writeString($iter610); } } $output->writeListEnd(); @@ -14825,14 +14881,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size604 = 0; - $_etype607 = 0; - $xfer += $input->readListBegin($_etype607, $_size604); - for ($_i608 = 0; $_i608 < $_size604; ++$_i608) + $_size611 = 0; + $_etype614 = 0; + $xfer += $input->readListBegin($_etype614, $_size611); + for ($_i615 = 0; $_i615 < $_size611; ++$_i615) { - $elem609 = null; - $xfer += $input->readString($elem609); - $this->tbl_names []= $elem609; + $elem616 = null; + $xfer += $input->readString($elem616); + $this->tbl_names []= $elem616; } $xfer += $input->readListEnd(); } else { @@ -14865,9 +14921,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter610) + foreach ($this->tbl_names as $iter617) { - $xfer += $output->writeString($iter610); + $xfer += $output->writeString($iter617); } } $output->writeListEnd(); @@ -14968,15 +15024,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size611 = 0; - $_etype614 = 0; - $xfer += $input->readListBegin($_etype614, $_size611); - for ($_i615 = 0; $_i615 < $_size611; ++$_i615) + $_size618 = 0; + $_etype621 = 0; + $xfer += $input->readListBegin($_etype621, $_size618); + for ($_i622 = 0; $_i622 < $_size618; ++$_i622) { - $elem616 = null; - $elem616 = new \metastore\Table(); - $xfer += $elem616->read($input); - $this->success []= $elem616; + $elem623 = null; + $elem623 = new \metastore\Table(); + $xfer += $elem623->read($input); + $this->success []= $elem623; } $xfer += $input->readListEnd(); } else { @@ -15028,9 +15084,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter617) + foreach ($this->success as $iter624) { - $xfer += $iter617->write($output); + $xfer += $iter624->write($output); } } $output->writeListEnd(); @@ -15266,14 +15322,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size618 = 0; - $_etype621 = 0; - $xfer += $input->readListBegin($_etype621, $_size618); - for ($_i622 = 0; $_i622 < $_size618; ++$_i622) + $_size625 = 0; + $_etype628 = 0; + $xfer += $input->readListBegin($_etype628, $_size625); + for ($_i629 = 0; $_i629 < $_size625; ++$_i629) { - $elem623 = null; - $xfer += $input->readString($elem623); - $this->success []= $elem623; + $elem630 = null; + $xfer += $input->readString($elem630); + $this->success []= $elem630; } $xfer += $input->readListEnd(); } else { @@ -15325,9 +15381,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter624) + foreach ($this->success as $iter631) { - $xfer += $output->writeString($iter624); + $xfer += $output->writeString($iter631); } } $output->writeListEnd(); @@ -16640,15 +16696,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size625 = 0; - $_etype628 = 0; - $xfer += $input->readListBegin($_etype628, $_size625); - for ($_i629 = 0; $_i629 < $_size625; ++$_i629) + $_size632 = 0; + $_etype635 = 0; + $xfer += $input->readListBegin($_etype635, $_size632); + for ($_i636 = 0; $_i636 < $_size632; ++$_i636) { - $elem630 = null; - $elem630 = new \metastore\Partition(); - $xfer += $elem630->read($input); - $this->new_parts []= $elem630; + $elem637 = null; + $elem637 = new \metastore\Partition(); + $xfer += $elem637->read($input); + $this->new_parts []= $elem637; } $xfer += $input->readListEnd(); } else { @@ -16676,9 +16732,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter631) + foreach ($this->new_parts as $iter638) { - $xfer += $iter631->write($output); + $xfer += $iter638->write($output); } } $output->writeListEnd(); @@ -16893,15 +16949,15 @@ class ThriftHiveMetastore_add_partitions_pspec_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size632 = 0; - $_etype635 = 0; - $xfer += $input->readListBegin($_etype635, $_size632); - for ($_i636 = 0; $_i636 < $_size632; ++$_i636) + $_size639 = 0; + $_etype642 = 0; + $xfer += $input->readListBegin($_etype642, $_size639); + for ($_i643 = 0; $_i643 < $_size639; ++$_i643) { - $elem637 = null; - $elem637 = new \metastore\PartitionSpec(); - $xfer += $elem637->read($input); - $this->new_parts []= $elem637; + $elem644 = null; + $elem644 = new \metastore\PartitionSpec(); + $xfer += $elem644->read($input); + $this->new_parts []= $elem644; } $xfer += $input->readListEnd(); } else { @@ -16929,9 +16985,9 @@ class ThriftHiveMetastore_add_partitions_pspec_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter638) + foreach ($this->new_parts as $iter645) { - $xfer += $iter638->write($output); + $xfer += $iter645->write($output); } } $output->writeListEnd(); @@ -17181,14 +17237,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size639 = 0; - $_etype642 = 0; - $xfer += $input->readListBegin($_etype642, $_size639); - for ($_i643 = 0; $_i643 < $_size639; ++$_i643) + $_size646 = 0; + $_etype649 = 0; + $xfer += $input->readListBegin($_etype649, $_size646); + for ($_i650 = 0; $_i650 < $_size646; ++$_i650) { - $elem644 = null; - $xfer += $input->readString($elem644); - $this->part_vals []= $elem644; + $elem651 = null; + $xfer += $input->readString($elem651); + $this->part_vals []= $elem651; } $xfer += $input->readListEnd(); } else { @@ -17226,9 +17282,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter645) + foreach ($this->part_vals as $iter652) { - $xfer += $output->writeString($iter645); + $xfer += $output->writeString($iter652); } } $output->writeListEnd(); @@ -17730,14 +17786,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size646 = 0; - $_etype649 = 0; - $xfer += $input->readListBegin($_etype649, $_size646); - for ($_i650 = 0; $_i650 < $_size646; ++$_i650) + $_size653 = 0; + $_etype656 = 0; + $xfer += $input->readListBegin($_etype656, $_size653); + for ($_i657 = 0; $_i657 < $_size653; ++$_i657) { - $elem651 = null; - $xfer += $input->readString($elem651); - $this->part_vals []= $elem651; + $elem658 = null; + $xfer += $input->readString($elem658); + $this->part_vals []= $elem658; } $xfer += $input->readListEnd(); } else { @@ -17783,9 +17839,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter652) + foreach ($this->part_vals as $iter659) { - $xfer += $output->writeString($iter652); + $xfer += $output->writeString($iter659); } } $output->writeListEnd(); @@ -18639,14 +18695,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size653 = 0; - $_etype656 = 0; - $xfer += $input->readListBegin($_etype656, $_size653); - for ($_i657 = 0; $_i657 < $_size653; ++$_i657) + $_size660 = 0; + $_etype663 = 0; + $xfer += $input->readListBegin($_etype663, $_size660); + for ($_i664 = 0; $_i664 < $_size660; ++$_i664) { - $elem658 = null; - $xfer += $input->readString($elem658); - $this->part_vals []= $elem658; + $elem665 = null; + $xfer += $input->readString($elem665); + $this->part_vals []= $elem665; } $xfer += $input->readListEnd(); } else { @@ -18691,9 +18747,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter659) + foreach ($this->part_vals as $iter666) { - $xfer += $output->writeString($iter659); + $xfer += $output->writeString($iter666); } } $output->writeListEnd(); @@ -18946,14 +19002,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size660 = 0; - $_etype663 = 0; - $xfer += $input->readListBegin($_etype663, $_size660); - for ($_i664 = 0; $_i664 < $_size660; ++$_i664) + $_size667 = 0; + $_etype670 = 0; + $xfer += $input->readListBegin($_etype670, $_size667); + for ($_i671 = 0; $_i671 < $_size667; ++$_i671) { - $elem665 = null; - $xfer += $input->readString($elem665); - $this->part_vals []= $elem665; + $elem672 = null; + $xfer += $input->readString($elem672); + $this->part_vals []= $elem672; } $xfer += $input->readListEnd(); } else { @@ -19006,9 +19062,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter666) + foreach ($this->part_vals as $iter673) { - $xfer += $output->writeString($iter666); + $xfer += $output->writeString($iter673); } } $output->writeListEnd(); @@ -20022,14 +20078,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size667 = 0; - $_etype670 = 0; - $xfer += $input->readListBegin($_etype670, $_size667); - for ($_i671 = 0; $_i671 < $_size667; ++$_i671) + $_size674 = 0; + $_etype677 = 0; + $xfer += $input->readListBegin($_etype677, $_size674); + for ($_i678 = 0; $_i678 < $_size674; ++$_i678) { - $elem672 = null; - $xfer += $input->readString($elem672); - $this->part_vals []= $elem672; + $elem679 = null; + $xfer += $input->readString($elem679); + $this->part_vals []= $elem679; } $xfer += $input->readListEnd(); } else { @@ -20067,9 +20123,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter673) + foreach ($this->part_vals as $iter680) { - $xfer += $output->writeString($iter673); + $xfer += $output->writeString($iter680); } } $output->writeListEnd(); @@ -20311,17 +20367,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size674 = 0; - $_ktype675 = 0; - $_vtype676 = 0; - $xfer += $input->readMapBegin($_ktype675, $_vtype676, $_size674); - for ($_i678 = 0; $_i678 < $_size674; ++$_i678) + $_size681 = 0; + $_ktype682 = 0; + $_vtype683 = 0; + $xfer += $input->readMapBegin($_ktype682, $_vtype683, $_size681); + for ($_i685 = 0; $_i685 < $_size681; ++$_i685) { - $key679 = ''; - $val680 = ''; - $xfer += $input->readString($key679); - $xfer += $input->readString($val680); - $this->partitionSpecs[$key679] = $val680; + $key686 = ''; + $val687 = ''; + $xfer += $input->readString($key686); + $xfer += $input->readString($val687); + $this->partitionSpecs[$key686] = $val687; } $xfer += $input->readMapEnd(); } else { @@ -20377,10 +20433,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter681 => $viter682) + foreach ($this->partitionSpecs as $kiter688 => $viter689) { - $xfer += $output->writeString($kiter681); - $xfer += $output->writeString($viter682); + $xfer += $output->writeString($kiter688); + $xfer += $output->writeString($viter689); } } $output->writeMapEnd(); @@ -20692,17 +20748,17 @@ class ThriftHiveMetastore_exchange_partitions_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size683 = 0; - $_ktype684 = 0; - $_vtype685 = 0; - $xfer += $input->readMapBegin($_ktype684, $_vtype685, $_size683); - for ($_i687 = 0; $_i687 < $_size683; ++$_i687) + $_size690 = 0; + $_ktype691 = 0; + $_vtype692 = 0; + $xfer += $input->readMapBegin($_ktype691, $_vtype692, $_size690); + for ($_i694 = 0; $_i694 < $_size690; ++$_i694) { - $key688 = ''; - $val689 = ''; - $xfer += $input->readString($key688); - $xfer += $input->readString($val689); - $this->partitionSpecs[$key688] = $val689; + $key695 = ''; + $val696 = ''; + $xfer += $input->readString($key695); + $xfer += $input->readString($val696); + $this->partitionSpecs[$key695] = $val696; } $xfer += $input->readMapEnd(); } else { @@ -20758,10 +20814,10 @@ class ThriftHiveMetastore_exchange_partitions_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter690 => $viter691) + foreach ($this->partitionSpecs as $kiter697 => $viter698) { - $xfer += $output->writeString($kiter690); - $xfer += $output->writeString($viter691); + $xfer += $output->writeString($kiter697); + $xfer += $output->writeString($viter698); } } $output->writeMapEnd(); @@ -20894,15 +20950,15 @@ class ThriftHiveMetastore_exchange_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size692 = 0; - $_etype695 = 0; - $xfer += $input->readListBegin($_etype695, $_size692); - for ($_i696 = 0; $_i696 < $_size692; ++$_i696) + $_size699 = 0; + $_etype702 = 0; + $xfer += $input->readListBegin($_etype702, $_size699); + for ($_i703 = 0; $_i703 < $_size699; ++$_i703) { - $elem697 = null; - $elem697 = new \metastore\Partition(); - $xfer += $elem697->read($input); - $this->success []= $elem697; + $elem704 = null; + $elem704 = new \metastore\Partition(); + $xfer += $elem704->read($input); + $this->success []= $elem704; } $xfer += $input->readListEnd(); } else { @@ -20962,9 +21018,9 @@ class ThriftHiveMetastore_exchange_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter698) + foreach ($this->success as $iter705) { - $xfer += $iter698->write($output); + $xfer += $iter705->write($output); } } $output->writeListEnd(); @@ -21110,14 +21166,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size699 = 0; - $_etype702 = 0; - $xfer += $input->readListBegin($_etype702, $_size699); - for ($_i703 = 0; $_i703 < $_size699; ++$_i703) + $_size706 = 0; + $_etype709 = 0; + $xfer += $input->readListBegin($_etype709, $_size706); + for ($_i710 = 0; $_i710 < $_size706; ++$_i710) { - $elem704 = null; - $xfer += $input->readString($elem704); - $this->part_vals []= $elem704; + $elem711 = null; + $xfer += $input->readString($elem711); + $this->part_vals []= $elem711; } $xfer += $input->readListEnd(); } else { @@ -21134,14 +21190,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size705 = 0; - $_etype708 = 0; - $xfer += $input->readListBegin($_etype708, $_size705); - for ($_i709 = 0; $_i709 < $_size705; ++$_i709) + $_size712 = 0; + $_etype715 = 0; + $xfer += $input->readListBegin($_etype715, $_size712); + for ($_i716 = 0; $_i716 < $_size712; ++$_i716) { - $elem710 = null; - $xfer += $input->readString($elem710); - $this->group_names []= $elem710; + $elem717 = null; + $xfer += $input->readString($elem717); + $this->group_names []= $elem717; } $xfer += $input->readListEnd(); } else { @@ -21179,9 +21235,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter711) + foreach ($this->part_vals as $iter718) { - $xfer += $output->writeString($iter711); + $xfer += $output->writeString($iter718); } } $output->writeListEnd(); @@ -21201,9 +21257,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter712) + foreach ($this->group_names as $iter719) { - $xfer += $output->writeString($iter712); + $xfer += $output->writeString($iter719); } } $output->writeListEnd(); @@ -21794,15 +21850,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size713 = 0; - $_etype716 = 0; - $xfer += $input->readListBegin($_etype716, $_size713); - for ($_i717 = 0; $_i717 < $_size713; ++$_i717) + $_size720 = 0; + $_etype723 = 0; + $xfer += $input->readListBegin($_etype723, $_size720); + for ($_i724 = 0; $_i724 < $_size720; ++$_i724) { - $elem718 = null; - $elem718 = new \metastore\Partition(); - $xfer += $elem718->read($input); - $this->success []= $elem718; + $elem725 = null; + $elem725 = new \metastore\Partition(); + $xfer += $elem725->read($input); + $this->success []= $elem725; } $xfer += $input->readListEnd(); } else { @@ -21846,9 +21902,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter719) + foreach ($this->success as $iter726) { - $xfer += $iter719->write($output); + $xfer += $iter726->write($output); } } $output->writeListEnd(); @@ -21994,14 +22050,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size720 = 0; - $_etype723 = 0; - $xfer += $input->readListBegin($_etype723, $_size720); - for ($_i724 = 0; $_i724 < $_size720; ++$_i724) + $_size727 = 0; + $_etype730 = 0; + $xfer += $input->readListBegin($_etype730, $_size727); + for ($_i731 = 0; $_i731 < $_size727; ++$_i731) { - $elem725 = null; - $xfer += $input->readString($elem725); - $this->group_names []= $elem725; + $elem732 = null; + $xfer += $input->readString($elem732); + $this->group_names []= $elem732; } $xfer += $input->readListEnd(); } else { @@ -22049,9 +22105,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter726) + foreach ($this->group_names as $iter733) { - $xfer += $output->writeString($iter726); + $xfer += $output->writeString($iter733); } } $output->writeListEnd(); @@ -22140,15 +22196,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size727 = 0; - $_etype730 = 0; - $xfer += $input->readListBegin($_etype730, $_size727); - for ($_i731 = 0; $_i731 < $_size727; ++$_i731) + $_size734 = 0; + $_etype737 = 0; + $xfer += $input->readListBegin($_etype737, $_size734); + for ($_i738 = 0; $_i738 < $_size734; ++$_i738) { - $elem732 = null; - $elem732 = new \metastore\Partition(); - $xfer += $elem732->read($input); - $this->success []= $elem732; + $elem739 = null; + $elem739 = new \metastore\Partition(); + $xfer += $elem739->read($input); + $this->success []= $elem739; } $xfer += $input->readListEnd(); } else { @@ -22192,9 +22248,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter733) + foreach ($this->success as $iter740) { - $xfer += $iter733->write($output); + $xfer += $iter740->write($output); } } $output->writeListEnd(); @@ -22414,15 +22470,15 @@ class ThriftHiveMetastore_get_partitions_pspec_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size734 = 0; - $_etype737 = 0; - $xfer += $input->readListBegin($_etype737, $_size734); - for ($_i738 = 0; $_i738 < $_size734; ++$_i738) + $_size741 = 0; + $_etype744 = 0; + $xfer += $input->readListBegin($_etype744, $_size741); + for ($_i745 = 0; $_i745 < $_size741; ++$_i745) { - $elem739 = null; - $elem739 = new \metastore\PartitionSpec(); - $xfer += $elem739->read($input); - $this->success []= $elem739; + $elem746 = null; + $elem746 = new \metastore\PartitionSpec(); + $xfer += $elem746->read($input); + $this->success []= $elem746; } $xfer += $input->readListEnd(); } else { @@ -22466,9 +22522,9 @@ class ThriftHiveMetastore_get_partitions_pspec_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter740) + foreach ($this->success as $iter747) { - $xfer += $iter740->write($output); + $xfer += $iter747->write($output); } } $output->writeListEnd(); @@ -22675,14 +22731,14 @@ class ThriftHiveMetastore_get_partition_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size741 = 0; - $_etype744 = 0; - $xfer += $input->readListBegin($_etype744, $_size741); - for ($_i745 = 0; $_i745 < $_size741; ++$_i745) + $_size748 = 0; + $_etype751 = 0; + $xfer += $input->readListBegin($_etype751, $_size748); + for ($_i752 = 0; $_i752 < $_size748; ++$_i752) { - $elem746 = null; - $xfer += $input->readString($elem746); - $this->success []= $elem746; + $elem753 = null; + $xfer += $input->readString($elem753); + $this->success []= $elem753; } $xfer += $input->readListEnd(); } else { @@ -22718,9 +22774,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter747) + foreach ($this->success as $iter754) { - $xfer += $output->writeString($iter747); + $xfer += $output->writeString($iter754); } } $output->writeListEnd(); @@ -22836,14 +22892,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size748 = 0; - $_etype751 = 0; - $xfer += $input->readListBegin($_etype751, $_size748); - for ($_i752 = 0; $_i752 < $_size748; ++$_i752) + $_size755 = 0; + $_etype758 = 0; + $xfer += $input->readListBegin($_etype758, $_size755); + for ($_i759 = 0; $_i759 < $_size755; ++$_i759) { - $elem753 = null; - $xfer += $input->readString($elem753); - $this->part_vals []= $elem753; + $elem760 = null; + $xfer += $input->readString($elem760); + $this->part_vals []= $elem760; } $xfer += $input->readListEnd(); } else { @@ -22888,9 +22944,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter754) + foreach ($this->part_vals as $iter761) { - $xfer += $output->writeString($iter754); + $xfer += $output->writeString($iter761); } } $output->writeListEnd(); @@ -22984,15 +23040,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size755 = 0; - $_etype758 = 0; - $xfer += $input->readListBegin($_etype758, $_size755); - for ($_i759 = 0; $_i759 < $_size755; ++$_i759) + $_size762 = 0; + $_etype765 = 0; + $xfer += $input->readListBegin($_etype765, $_size762); + for ($_i766 = 0; $_i766 < $_size762; ++$_i766) { - $elem760 = null; - $elem760 = new \metastore\Partition(); - $xfer += $elem760->read($input); - $this->success []= $elem760; + $elem767 = null; + $elem767 = new \metastore\Partition(); + $xfer += $elem767->read($input); + $this->success []= $elem767; } $xfer += $input->readListEnd(); } else { @@ -23036,9 +23092,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter761) + foreach ($this->success as $iter768) { - $xfer += $iter761->write($output); + $xfer += $iter768->write($output); } } $output->writeListEnd(); @@ -23185,14 +23241,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size762 = 0; - $_etype765 = 0; - $xfer += $input->readListBegin($_etype765, $_size762); - for ($_i766 = 0; $_i766 < $_size762; ++$_i766) + $_size769 = 0; + $_etype772 = 0; + $xfer += $input->readListBegin($_etype772, $_size769); + for ($_i773 = 0; $_i773 < $_size769; ++$_i773) { - $elem767 = null; - $xfer += $input->readString($elem767); - $this->part_vals []= $elem767; + $elem774 = null; + $xfer += $input->readString($elem774); + $this->part_vals []= $elem774; } $xfer += $input->readListEnd(); } else { @@ -23216,14 +23272,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size768 = 0; - $_etype771 = 0; - $xfer += $input->readListBegin($_etype771, $_size768); - for ($_i772 = 0; $_i772 < $_size768; ++$_i772) + $_size775 = 0; + $_etype778 = 0; + $xfer += $input->readListBegin($_etype778, $_size775); + for ($_i779 = 0; $_i779 < $_size775; ++$_i779) { - $elem773 = null; - $xfer += $input->readString($elem773); - $this->group_names []= $elem773; + $elem780 = null; + $xfer += $input->readString($elem780); + $this->group_names []= $elem780; } $xfer += $input->readListEnd(); } else { @@ -23261,9 +23317,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter774) + foreach ($this->part_vals as $iter781) { - $xfer += $output->writeString($iter774); + $xfer += $output->writeString($iter781); } } $output->writeListEnd(); @@ -23288,9 +23344,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter775) + foreach ($this->group_names as $iter782) { - $xfer += $output->writeString($iter775); + $xfer += $output->writeString($iter782); } } $output->writeListEnd(); @@ -23379,15 +23435,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size776 = 0; - $_etype779 = 0; - $xfer += $input->readListBegin($_etype779, $_size776); - for ($_i780 = 0; $_i780 < $_size776; ++$_i780) + $_size783 = 0; + $_etype786 = 0; + $xfer += $input->readListBegin($_etype786, $_size783); + for ($_i787 = 0; $_i787 < $_size783; ++$_i787) { - $elem781 = null; - $elem781 = new \metastore\Partition(); - $xfer += $elem781->read($input); - $this->success []= $elem781; + $elem788 = null; + $elem788 = new \metastore\Partition(); + $xfer += $elem788->read($input); + $this->success []= $elem788; } $xfer += $input->readListEnd(); } else { @@ -23431,9 +23487,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter782) + foreach ($this->success as $iter789) { - $xfer += $iter782->write($output); + $xfer += $iter789->write($output); } } $output->writeListEnd(); @@ -23554,14 +23610,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size783 = 0; - $_etype786 = 0; - $xfer += $input->readListBegin($_etype786, $_size783); - for ($_i787 = 0; $_i787 < $_size783; ++$_i787) + $_size790 = 0; + $_etype793 = 0; + $xfer += $input->readListBegin($_etype793, $_size790); + for ($_i794 = 0; $_i794 < $_size790; ++$_i794) { - $elem788 = null; - $xfer += $input->readString($elem788); - $this->part_vals []= $elem788; + $elem795 = null; + $xfer += $input->readString($elem795); + $this->part_vals []= $elem795; } $xfer += $input->readListEnd(); } else { @@ -23606,9 +23662,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter789) + foreach ($this->part_vals as $iter796) { - $xfer += $output->writeString($iter789); + $xfer += $output->writeString($iter796); } } $output->writeListEnd(); @@ -23701,14 +23757,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size790 = 0; - $_etype793 = 0; - $xfer += $input->readListBegin($_etype793, $_size790); - for ($_i794 = 0; $_i794 < $_size790; ++$_i794) + $_size797 = 0; + $_etype800 = 0; + $xfer += $input->readListBegin($_etype800, $_size797); + for ($_i801 = 0; $_i801 < $_size797; ++$_i801) { - $elem795 = null; - $xfer += $input->readString($elem795); - $this->success []= $elem795; + $elem802 = null; + $xfer += $input->readString($elem802); + $this->success []= $elem802; } $xfer += $input->readListEnd(); } else { @@ -23752,9 +23808,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter796) + foreach ($this->success as $iter803) { - $xfer += $output->writeString($iter796); + $xfer += $output->writeString($iter803); } } $output->writeListEnd(); @@ -23997,15 +24053,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size797 = 0; - $_etype800 = 0; - $xfer += $input->readListBegin($_etype800, $_size797); - for ($_i801 = 0; $_i801 < $_size797; ++$_i801) + $_size804 = 0; + $_etype807 = 0; + $xfer += $input->readListBegin($_etype807, $_size804); + for ($_i808 = 0; $_i808 < $_size804; ++$_i808) { - $elem802 = null; - $elem802 = new \metastore\Partition(); - $xfer += $elem802->read($input); - $this->success []= $elem802; + $elem809 = null; + $elem809 = new \metastore\Partition(); + $xfer += $elem809->read($input); + $this->success []= $elem809; } $xfer += $input->readListEnd(); } else { @@ -24049,9 +24105,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter803) + foreach ($this->success as $iter810) { - $xfer += $iter803->write($output); + $xfer += $iter810->write($output); } } $output->writeListEnd(); @@ -24294,15 +24350,15 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size804 = 0; - $_etype807 = 0; - $xfer += $input->readListBegin($_etype807, $_size804); - for ($_i808 = 0; $_i808 < $_size804; ++$_i808) + $_size811 = 0; + $_etype814 = 0; + $xfer += $input->readListBegin($_etype814, $_size811); + for ($_i815 = 0; $_i815 < $_size811; ++$_i815) { - $elem809 = null; - $elem809 = new \metastore\PartitionSpec(); - $xfer += $elem809->read($input); - $this->success []= $elem809; + $elem816 = null; + $elem816 = new \metastore\PartitionSpec(); + $xfer += $elem816->read($input); + $this->success []= $elem816; } $xfer += $input->readListEnd(); } else { @@ -24346,9 +24402,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter810) + foreach ($this->success as $iter817) { - $xfer += $iter810->write($output); + $xfer += $iter817->write($output); } } $output->writeListEnd(); @@ -24914,14 +24970,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size811 = 0; - $_etype814 = 0; - $xfer += $input->readListBegin($_etype814, $_size811); - for ($_i815 = 0; $_i815 < $_size811; ++$_i815) + $_size818 = 0; + $_etype821 = 0; + $xfer += $input->readListBegin($_etype821, $_size818); + for ($_i822 = 0; $_i822 < $_size818; ++$_i822) { - $elem816 = null; - $xfer += $input->readString($elem816); - $this->names []= $elem816; + $elem823 = null; + $xfer += $input->readString($elem823); + $this->names []= $elem823; } $xfer += $input->readListEnd(); } else { @@ -24959,9 +25015,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter817) + foreach ($this->names as $iter824) { - $xfer += $output->writeString($iter817); + $xfer += $output->writeString($iter824); } } $output->writeListEnd(); @@ -25050,15 +25106,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size818 = 0; - $_etype821 = 0; - $xfer += $input->readListBegin($_etype821, $_size818); - for ($_i822 = 0; $_i822 < $_size818; ++$_i822) + $_size825 = 0; + $_etype828 = 0; + $xfer += $input->readListBegin($_etype828, $_size825); + for ($_i829 = 0; $_i829 < $_size825; ++$_i829) { - $elem823 = null; - $elem823 = new \metastore\Partition(); - $xfer += $elem823->read($input); - $this->success []= $elem823; + $elem830 = null; + $elem830 = new \metastore\Partition(); + $xfer += $elem830->read($input); + $this->success []= $elem830; } $xfer += $input->readListEnd(); } else { @@ -25102,9 +25158,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter824) + foreach ($this->success as $iter831) { - $xfer += $iter824->write($output); + $xfer += $iter831->write($output); } } $output->writeListEnd(); @@ -25443,15 +25499,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size825 = 0; - $_etype828 = 0; - $xfer += $input->readListBegin($_etype828, $_size825); - for ($_i829 = 0; $_i829 < $_size825; ++$_i829) + $_size832 = 0; + $_etype835 = 0; + $xfer += $input->readListBegin($_etype835, $_size832); + for ($_i836 = 0; $_i836 < $_size832; ++$_i836) { - $elem830 = null; - $elem830 = new \metastore\Partition(); - $xfer += $elem830->read($input); - $this->new_parts []= $elem830; + $elem837 = null; + $elem837 = new \metastore\Partition(); + $xfer += $elem837->read($input); + $this->new_parts []= $elem837; } $xfer += $input->readListEnd(); } else { @@ -25489,9 +25545,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter831) + foreach ($this->new_parts as $iter838) { - $xfer += $iter831->write($output); + $xfer += $iter838->write($output); } } $output->writeListEnd(); @@ -25706,15 +25762,15 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size832 = 0; - $_etype835 = 0; - $xfer += $input->readListBegin($_etype835, $_size832); - for ($_i836 = 0; $_i836 < $_size832; ++$_i836) + $_size839 = 0; + $_etype842 = 0; + $xfer += $input->readListBegin($_etype842, $_size839); + for ($_i843 = 0; $_i843 < $_size839; ++$_i843) { - $elem837 = null; - $elem837 = new \metastore\Partition(); - $xfer += $elem837->read($input); - $this->new_parts []= $elem837; + $elem844 = null; + $elem844 = new \metastore\Partition(); + $xfer += $elem844->read($input); + $this->new_parts []= $elem844; } $xfer += $input->readListEnd(); } else { @@ -25760,9 +25816,9 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter838) + foreach ($this->new_parts as $iter845) { - $xfer += $iter838->write($output); + $xfer += $iter845->write($output); } } $output->writeListEnd(); @@ -26240,14 +26296,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size839 = 0; - $_etype842 = 0; - $xfer += $input->readListBegin($_etype842, $_size839); - for ($_i843 = 0; $_i843 < $_size839; ++$_i843) + $_size846 = 0; + $_etype849 = 0; + $xfer += $input->readListBegin($_etype849, $_size846); + for ($_i850 = 0; $_i850 < $_size846; ++$_i850) { - $elem844 = null; - $xfer += $input->readString($elem844); - $this->part_vals []= $elem844; + $elem851 = null; + $xfer += $input->readString($elem851); + $this->part_vals []= $elem851; } $xfer += $input->readListEnd(); } else { @@ -26293,9 +26349,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter845) + foreach ($this->part_vals as $iter852) { - $xfer += $output->writeString($iter845); + $xfer += $output->writeString($iter852); } } $output->writeListEnd(); @@ -26480,14 +26536,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size846 = 0; - $_etype849 = 0; - $xfer += $input->readListBegin($_etype849, $_size846); - for ($_i850 = 0; $_i850 < $_size846; ++$_i850) + $_size853 = 0; + $_etype856 = 0; + $xfer += $input->readListBegin($_etype856, $_size853); + for ($_i857 = 0; $_i857 < $_size853; ++$_i857) { - $elem851 = null; - $xfer += $input->readString($elem851); - $this->part_vals []= $elem851; + $elem858 = null; + $xfer += $input->readString($elem858); + $this->part_vals []= $elem858; } $xfer += $input->readListEnd(); } else { @@ -26522,9 +26578,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter852) + foreach ($this->part_vals as $iter859) { - $xfer += $output->writeString($iter852); + $xfer += $output->writeString($iter859); } } $output->writeListEnd(); @@ -26978,14 +27034,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size853 = 0; - $_etype856 = 0; - $xfer += $input->readListBegin($_etype856, $_size853); - for ($_i857 = 0; $_i857 < $_size853; ++$_i857) + $_size860 = 0; + $_etype863 = 0; + $xfer += $input->readListBegin($_etype863, $_size860); + for ($_i864 = 0; $_i864 < $_size860; ++$_i864) { - $elem858 = null; - $xfer += $input->readString($elem858); - $this->success []= $elem858; + $elem865 = null; + $xfer += $input->readString($elem865); + $this->success []= $elem865; } $xfer += $input->readListEnd(); } else { @@ -27021,9 +27077,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter859) + foreach ($this->success as $iter866) { - $xfer += $output->writeString($iter859); + $xfer += $output->writeString($iter866); } } $output->writeListEnd(); @@ -27183,17 +27239,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size860 = 0; - $_ktype861 = 0; - $_vtype862 = 0; - $xfer += $input->readMapBegin($_ktype861, $_vtype862, $_size860); - for ($_i864 = 0; $_i864 < $_size860; ++$_i864) + $_size867 = 0; + $_ktype868 = 0; + $_vtype869 = 0; + $xfer += $input->readMapBegin($_ktype868, $_vtype869, $_size867); + for ($_i871 = 0; $_i871 < $_size867; ++$_i871) { - $key865 = ''; - $val866 = ''; - $xfer += $input->readString($key865); - $xfer += $input->readString($val866); - $this->success[$key865] = $val866; + $key872 = ''; + $val873 = ''; + $xfer += $input->readString($key872); + $xfer += $input->readString($val873); + $this->success[$key872] = $val873; } $xfer += $input->readMapEnd(); } else { @@ -27229,10 +27285,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter867 => $viter868) + foreach ($this->success as $kiter874 => $viter875) { - $xfer += $output->writeString($kiter867); - $xfer += $output->writeString($viter868); + $xfer += $output->writeString($kiter874); + $xfer += $output->writeString($viter875); } } $output->writeMapEnd(); @@ -27352,17 +27408,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size869 = 0; - $_ktype870 = 0; - $_vtype871 = 0; - $xfer += $input->readMapBegin($_ktype870, $_vtype871, $_size869); - for ($_i873 = 0; $_i873 < $_size869; ++$_i873) + $_size876 = 0; + $_ktype877 = 0; + $_vtype878 = 0; + $xfer += $input->readMapBegin($_ktype877, $_vtype878, $_size876); + for ($_i880 = 0; $_i880 < $_size876; ++$_i880) { - $key874 = ''; - $val875 = ''; - $xfer += $input->readString($key874); - $xfer += $input->readString($val875); - $this->part_vals[$key874] = $val875; + $key881 = ''; + $val882 = ''; + $xfer += $input->readString($key881); + $xfer += $input->readString($val882); + $this->part_vals[$key881] = $val882; } $xfer += $input->readMapEnd(); } else { @@ -27407,10 +27463,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter876 => $viter877) + foreach ($this->part_vals as $kiter883 => $viter884) { - $xfer += $output->writeString($kiter876); - $xfer += $output->writeString($viter877); + $xfer += $output->writeString($kiter883); + $xfer += $output->writeString($viter884); } } $output->writeMapEnd(); @@ -27732,17 +27788,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size878 = 0; - $_ktype879 = 0; - $_vtype880 = 0; - $xfer += $input->readMapBegin($_ktype879, $_vtype880, $_size878); - for ($_i882 = 0; $_i882 < $_size878; ++$_i882) + $_size885 = 0; + $_ktype886 = 0; + $_vtype887 = 0; + $xfer += $input->readMapBegin($_ktype886, $_vtype887, $_size885); + for ($_i889 = 0; $_i889 < $_size885; ++$_i889) { - $key883 = ''; - $val884 = ''; - $xfer += $input->readString($key883); - $xfer += $input->readString($val884); - $this->part_vals[$key883] = $val884; + $key890 = ''; + $val891 = ''; + $xfer += $input->readString($key890); + $xfer += $input->readString($val891); + $this->part_vals[$key890] = $val891; } $xfer += $input->readMapEnd(); } else { @@ -27787,10 +27843,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter885 => $viter886) + foreach ($this->part_vals as $kiter892 => $viter893) { - $xfer += $output->writeString($kiter885); - $xfer += $output->writeString($viter886); + $xfer += $output->writeString($kiter892); + $xfer += $output->writeString($viter893); } } $output->writeMapEnd(); @@ -29264,15 +29320,15 @@ class ThriftHiveMetastore_get_indexes_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size887 = 0; - $_etype890 = 0; - $xfer += $input->readListBegin($_etype890, $_size887); - for ($_i891 = 0; $_i891 < $_size887; ++$_i891) + $_size894 = 0; + $_etype897 = 0; + $xfer += $input->readListBegin($_etype897, $_size894); + for ($_i898 = 0; $_i898 < $_size894; ++$_i898) { - $elem892 = null; - $elem892 = new \metastore\Index(); - $xfer += $elem892->read($input); - $this->success []= $elem892; + $elem899 = null; + $elem899 = new \metastore\Index(); + $xfer += $elem899->read($input); + $this->success []= $elem899; } $xfer += $input->readListEnd(); } else { @@ -29316,9 +29372,9 @@ class ThriftHiveMetastore_get_indexes_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter893) + foreach ($this->success as $iter900) { - $xfer += $iter893->write($output); + $xfer += $iter900->write($output); } } $output->writeListEnd(); @@ -29525,14 +29581,14 @@ class ThriftHiveMetastore_get_index_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size894 = 0; - $_etype897 = 0; - $xfer += $input->readListBegin($_etype897, $_size894); - for ($_i898 = 0; $_i898 < $_size894; ++$_i898) + $_size901 = 0; + $_etype904 = 0; + $xfer += $input->readListBegin($_etype904, $_size901); + for ($_i905 = 0; $_i905 < $_size901; ++$_i905) { - $elem899 = null; - $xfer += $input->readString($elem899); - $this->success []= $elem899; + $elem906 = null; + $xfer += $input->readString($elem906); + $this->success []= $elem906; } $xfer += $input->readListEnd(); } else { @@ -29568,9 +29624,9 @@ class ThriftHiveMetastore_get_index_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter900) + foreach ($this->success as $iter907) { - $xfer += $output->writeString($iter900); + $xfer += $output->writeString($iter907); } } $output->writeListEnd(); @@ -33044,14 +33100,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size901 = 0; - $_etype904 = 0; - $xfer += $input->readListBegin($_etype904, $_size901); - for ($_i905 = 0; $_i905 < $_size901; ++$_i905) + $_size908 = 0; + $_etype911 = 0; + $xfer += $input->readListBegin($_etype911, $_size908); + for ($_i912 = 0; $_i912 < $_size908; ++$_i912) { - $elem906 = null; - $xfer += $input->readString($elem906); - $this->success []= $elem906; + $elem913 = null; + $xfer += $input->readString($elem913); + $this->success []= $elem913; } $xfer += $input->readListEnd(); } else { @@ -33087,9 +33143,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter907) + foreach ($this->success as $iter914) { - $xfer += $output->writeString($iter907); + $xfer += $output->writeString($iter914); } } $output->writeListEnd(); @@ -33958,14 +34014,14 @@ class ThriftHiveMetastore_get_role_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size908 = 0; - $_etype911 = 0; - $xfer += $input->readListBegin($_etype911, $_size908); - for ($_i912 = 0; $_i912 < $_size908; ++$_i912) + $_size915 = 0; + $_etype918 = 0; + $xfer += $input->readListBegin($_etype918, $_size915); + for ($_i919 = 0; $_i919 < $_size915; ++$_i919) { - $elem913 = null; - $xfer += $input->readString($elem913); - $this->success []= $elem913; + $elem920 = null; + $xfer += $input->readString($elem920); + $this->success []= $elem920; } $xfer += $input->readListEnd(); } else { @@ -34001,9 +34057,9 @@ class ThriftHiveMetastore_get_role_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter914) + foreach ($this->success as $iter921) { - $xfer += $output->writeString($iter914); + $xfer += $output->writeString($iter921); } } $output->writeListEnd(); @@ -34694,15 +34750,15 @@ class ThriftHiveMetastore_list_roles_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size915 = 0; - $_etype918 = 0; - $xfer += $input->readListBegin($_etype918, $_size915); - for ($_i919 = 0; $_i919 < $_size915; ++$_i919) + $_size922 = 0; + $_etype925 = 0; + $xfer += $input->readListBegin($_etype925, $_size922); + for ($_i926 = 0; $_i926 < $_size922; ++$_i926) { - $elem920 = null; - $elem920 = new \metastore\Role(); - $xfer += $elem920->read($input); - $this->success []= $elem920; + $elem927 = null; + $elem927 = new \metastore\Role(); + $xfer += $elem927->read($input); + $this->success []= $elem927; } $xfer += $input->readListEnd(); } else { @@ -34738,9 +34794,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter921) + foreach ($this->success as $iter928) { - $xfer += $iter921->write($output); + $xfer += $iter928->write($output); } } $output->writeListEnd(); @@ -35402,14 +35458,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size922 = 0; - $_etype925 = 0; - $xfer += $input->readListBegin($_etype925, $_size922); - for ($_i926 = 0; $_i926 < $_size922; ++$_i926) + $_size929 = 0; + $_etype932 = 0; + $xfer += $input->readListBegin($_etype932, $_size929); + for ($_i933 = 0; $_i933 < $_size929; ++$_i933) { - $elem927 = null; - $xfer += $input->readString($elem927); - $this->group_names []= $elem927; + $elem934 = null; + $xfer += $input->readString($elem934); + $this->group_names []= $elem934; } $xfer += $input->readListEnd(); } else { @@ -35450,9 +35506,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter928) + foreach ($this->group_names as $iter935) { - $xfer += $output->writeString($iter928); + $xfer += $output->writeString($iter935); } } $output->writeListEnd(); @@ -35760,15 +35816,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size929 = 0; - $_etype932 = 0; - $xfer += $input->readListBegin($_etype932, $_size929); - for ($_i933 = 0; $_i933 < $_size929; ++$_i933) + $_size936 = 0; + $_etype939 = 0; + $xfer += $input->readListBegin($_etype939, $_size936); + for ($_i940 = 0; $_i940 < $_size936; ++$_i940) { - $elem934 = null; - $elem934 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem934->read($input); - $this->success []= $elem934; + $elem941 = null; + $elem941 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem941->read($input); + $this->success []= $elem941; } $xfer += $input->readListEnd(); } else { @@ -35804,9 +35860,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter935) + foreach ($this->success as $iter942) { - $xfer += $iter935->write($output); + $xfer += $iter942->write($output); } } $output->writeListEnd(); @@ -36438,14 +36494,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size936 = 0; - $_etype939 = 0; - $xfer += $input->readListBegin($_etype939, $_size936); - for ($_i940 = 0; $_i940 < $_size936; ++$_i940) + $_size943 = 0; + $_etype946 = 0; + $xfer += $input->readListBegin($_etype946, $_size943); + for ($_i947 = 0; $_i947 < $_size943; ++$_i947) { - $elem941 = null; - $xfer += $input->readString($elem941); - $this->group_names []= $elem941; + $elem948 = null; + $xfer += $input->readString($elem948); + $this->group_names []= $elem948; } $xfer += $input->readListEnd(); } else { @@ -36478,9 +36534,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter942) + foreach ($this->group_names as $iter949) { - $xfer += $output->writeString($iter942); + $xfer += $output->writeString($iter949); } } $output->writeListEnd(); @@ -36556,14 +36612,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size943 = 0; - $_etype946 = 0; - $xfer += $input->readListBegin($_etype946, $_size943); - for ($_i947 = 0; $_i947 < $_size943; ++$_i947) + $_size950 = 0; + $_etype953 = 0; + $xfer += $input->readListBegin($_etype953, $_size950); + for ($_i954 = 0; $_i954 < $_size950; ++$_i954) { - $elem948 = null; - $xfer += $input->readString($elem948); - $this->success []= $elem948; + $elem955 = null; + $xfer += $input->readString($elem955); + $this->success []= $elem955; } $xfer += $input->readListEnd(); } else { @@ -36599,9 +36655,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter949) + foreach ($this->success as $iter956) { - $xfer += $output->writeString($iter949); + $xfer += $output->writeString($iter956); } } $output->writeListEnd(); @@ -37718,14 +37774,14 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size950 = 0; - $_etype953 = 0; - $xfer += $input->readListBegin($_etype953, $_size950); - for ($_i954 = 0; $_i954 < $_size950; ++$_i954) + $_size957 = 0; + $_etype960 = 0; + $xfer += $input->readListBegin($_etype960, $_size957); + for ($_i961 = 0; $_i961 < $_size957; ++$_i961) { - $elem955 = null; - $xfer += $input->readString($elem955); - $this->success []= $elem955; + $elem962 = null; + $xfer += $input->readString($elem962); + $this->success []= $elem962; } $xfer += $input->readListEnd(); } else { @@ -37753,9 +37809,9 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter956) + foreach ($this->success as $iter963) { - $xfer += $output->writeString($iter956); + $xfer += $output->writeString($iter963); } } $output->writeListEnd(); @@ -38394,14 +38450,14 @@ class ThriftHiveMetastore_get_master_keys_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size957 = 0; - $_etype960 = 0; - $xfer += $input->readListBegin($_etype960, $_size957); - for ($_i961 = 0; $_i961 < $_size957; ++$_i961) + $_size964 = 0; + $_etype967 = 0; + $xfer += $input->readListBegin($_etype967, $_size964); + for ($_i968 = 0; $_i968 < $_size964; ++$_i968) { - $elem962 = null; - $xfer += $input->readString($elem962); - $this->success []= $elem962; + $elem969 = null; + $xfer += $input->readString($elem969); + $this->success []= $elem969; } $xfer += $input->readListEnd(); } else { @@ -38429,9 +38485,9 @@ class ThriftHiveMetastore_get_master_keys_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter963) + foreach ($this->success as $iter970) { - $xfer += $output->writeString($iter963); + $xfer += $output->writeString($iter970); } } $output->writeListEnd(); @@ -39022,6 +39078,163 @@ class ThriftHiveMetastore_abort_txn_result { } +class ThriftHiveMetastore_abort_txns_args { + static $_TSPEC; + + /** + * @var \metastore\AbortTxnsRequest + */ + public $rqst = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'rqst', + 'type' => TType::STRUCT, + 'class' => '\metastore\AbortTxnsRequest', + ), + ); + } + if (is_array($vals)) { + if (isset($vals['rqst'])) { + $this->rqst = $vals['rqst']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_abort_txns_args'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 1: + if ($ftype == TType::STRUCT) { + $this->rqst = new \metastore\AbortTxnsRequest(); + $xfer += $this->rqst->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('ThriftHiveMetastore_abort_txns_args'); + if ($this->rqst !== null) { + if (!is_object($this->rqst)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('rqst', TType::STRUCT, 1); + $xfer += $this->rqst->write($output); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class ThriftHiveMetastore_abort_txns_result { + static $_TSPEC; + + /** + * @var \metastore\NoSuchTxnException + */ + public $o1 = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'o1', + 'type' => TType::STRUCT, + 'class' => '\metastore\NoSuchTxnException', + ), + ); + } + if (is_array($vals)) { + if (isset($vals['o1'])) { + $this->o1 = $vals['o1']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_abort_txns_result'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 1: + if ($ftype == TType::STRUCT) { + $this->o1 = new \metastore\NoSuchTxnException(); + $xfer += $this->o1->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('ThriftHiveMetastore_abort_txns_result'); + if ($this->o1 !== null) { + $xfer += $output->writeFieldBegin('o1', TType::STRUCT, 1); + $xfer += $this->o1->write($output); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class ThriftHiveMetastore_commit_txn_args { static $_TSPEC; diff --git metastore/src/gen/thrift/gen-php/metastore/Types.php metastore/src/gen/thrift/gen-php/metastore/Types.php index 488a920..5175c2c 100644 --- metastore/src/gen/thrift/gen-php/metastore/Types.php +++ metastore/src/gen/thrift/gen-php/metastore/Types.php @@ -11018,6 +11018,107 @@ class AbortTxnRequest { } +class AbortTxnsRequest { + static $_TSPEC; + + /** + * @var int[] + */ + public $txn_ids = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'txn_ids', + 'type' => TType::LST, + 'etype' => TType::I64, + 'elem' => array( + 'type' => TType::I64, + ), + ), + ); + } + if (is_array($vals)) { + if (isset($vals['txn_ids'])) { + $this->txn_ids = $vals['txn_ids']; + } + } + } + + public function getName() { + return 'AbortTxnsRequest'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 1: + if ($ftype == TType::LST) { + $this->txn_ids = array(); + $_size400 = 0; + $_etype403 = 0; + $xfer += $input->readListBegin($_etype403, $_size400); + for ($_i404 = 0; $_i404 < $_size400; ++$_i404) + { + $elem405 = null; + $xfer += $input->readI64($elem405); + $this->txn_ids []= $elem405; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('AbortTxnsRequest'); + if ($this->txn_ids !== null) { + if (!is_array($this->txn_ids)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('txn_ids', TType::LST, 1); + { + $output->writeListBegin(TType::I64, count($this->txn_ids)); + { + foreach ($this->txn_ids as $iter406) + { + $xfer += $output->writeI64($iter406); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class CommitTxnRequest { static $_TSPEC; @@ -11355,15 +11456,15 @@ class LockRequest { case 1: if ($ftype == TType::LST) { $this->component = array(); - $_size400 = 0; - $_etype403 = 0; - $xfer += $input->readListBegin($_etype403, $_size400); - for ($_i404 = 0; $_i404 < $_size400; ++$_i404) + $_size407 = 0; + $_etype410 = 0; + $xfer += $input->readListBegin($_etype410, $_size407); + for ($_i411 = 0; $_i411 < $_size407; ++$_i411) { - $elem405 = null; - $elem405 = new \metastore\LockComponent(); - $xfer += $elem405->read($input); - $this->component []= $elem405; + $elem412 = null; + $elem412 = new \metastore\LockComponent(); + $xfer += $elem412->read($input); + $this->component []= $elem412; } $xfer += $input->readListEnd(); } else { @@ -11419,9 +11520,9 @@ class LockRequest { { $output->writeListBegin(TType::STRUCT, count($this->component)); { - foreach ($this->component as $iter406) + foreach ($this->component as $iter413) { - $xfer += $iter406->write($output); + $xfer += $iter413->write($output); } } $output->writeListEnd(); @@ -12364,15 +12465,15 @@ class ShowLocksResponse { case 1: if ($ftype == TType::LST) { $this->locks = array(); - $_size407 = 0; - $_etype410 = 0; - $xfer += $input->readListBegin($_etype410, $_size407); - for ($_i411 = 0; $_i411 < $_size407; ++$_i411) + $_size414 = 0; + $_etype417 = 0; + $xfer += $input->readListBegin($_etype417, $_size414); + for ($_i418 = 0; $_i418 < $_size414; ++$_i418) { - $elem412 = null; - $elem412 = new \metastore\ShowLocksResponseElement(); - $xfer += $elem412->read($input); - $this->locks []= $elem412; + $elem419 = null; + $elem419 = new \metastore\ShowLocksResponseElement(); + $xfer += $elem419->read($input); + $this->locks []= $elem419; } $xfer += $input->readListEnd(); } else { @@ -12400,9 +12501,9 @@ class ShowLocksResponse { { $output->writeListBegin(TType::STRUCT, count($this->locks)); { - foreach ($this->locks as $iter413) + foreach ($this->locks as $iter420) { - $xfer += $iter413->write($output); + $xfer += $iter420->write($output); } } $output->writeListEnd(); @@ -12677,17 +12778,17 @@ class HeartbeatTxnRangeResponse { case 1: if ($ftype == TType::SET) { $this->aborted = array(); - $_size414 = 0; - $_etype417 = 0; - $xfer += $input->readSetBegin($_etype417, $_size414); - for ($_i418 = 0; $_i418 < $_size414; ++$_i418) + $_size421 = 0; + $_etype424 = 0; + $xfer += $input->readSetBegin($_etype424, $_size421); + for ($_i425 = 0; $_i425 < $_size421; ++$_i425) { - $elem419 = null; - $xfer += $input->readI64($elem419); - if (is_scalar($elem419)) { - $this->aborted[$elem419] = true; + $elem426 = null; + $xfer += $input->readI64($elem426); + if (is_scalar($elem426)) { + $this->aborted[$elem426] = true; } else { - $this->aborted []= $elem419; + $this->aborted []= $elem426; } } $xfer += $input->readSetEnd(); @@ -12698,17 +12799,17 @@ class HeartbeatTxnRangeResponse { case 2: if ($ftype == TType::SET) { $this->nosuch = array(); - $_size420 = 0; - $_etype423 = 0; - $xfer += $input->readSetBegin($_etype423, $_size420); - for ($_i424 = 0; $_i424 < $_size420; ++$_i424) + $_size427 = 0; + $_etype430 = 0; + $xfer += $input->readSetBegin($_etype430, $_size427); + for ($_i431 = 0; $_i431 < $_size427; ++$_i431) { - $elem425 = null; - $xfer += $input->readI64($elem425); - if (is_scalar($elem425)) { - $this->nosuch[$elem425] = true; + $elem432 = null; + $xfer += $input->readI64($elem432); + if (is_scalar($elem432)) { + $this->nosuch[$elem432] = true; } else { - $this->nosuch []= $elem425; + $this->nosuch []= $elem432; } } $xfer += $input->readSetEnd(); @@ -12737,12 +12838,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->aborted)); { - foreach ($this->aborted as $iter426 => $iter427) + foreach ($this->aborted as $iter433 => $iter434) { - if (is_scalar($iter427)) { - $xfer += $output->writeI64($iter426); + if (is_scalar($iter434)) { + $xfer += $output->writeI64($iter433); } else { - $xfer += $output->writeI64($iter427); + $xfer += $output->writeI64($iter434); } } } @@ -12758,12 +12859,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->nosuch)); { - foreach ($this->nosuch as $iter428 => $iter429) + foreach ($this->nosuch as $iter435 => $iter436) { - if (is_scalar($iter429)) { - $xfer += $output->writeI64($iter428); + if (is_scalar($iter436)) { + $xfer += $output->writeI64($iter435); } else { - $xfer += $output->writeI64($iter429); + $xfer += $output->writeI64($iter436); } } } @@ -13374,15 +13475,15 @@ class ShowCompactResponse { case 1: if ($ftype == TType::LST) { $this->compacts = array(); - $_size430 = 0; - $_etype433 = 0; - $xfer += $input->readListBegin($_etype433, $_size430); - for ($_i434 = 0; $_i434 < $_size430; ++$_i434) + $_size437 = 0; + $_etype440 = 0; + $xfer += $input->readListBegin($_etype440, $_size437); + for ($_i441 = 0; $_i441 < $_size437; ++$_i441) { - $elem435 = null; - $elem435 = new \metastore\ShowCompactResponseElement(); - $xfer += $elem435->read($input); - $this->compacts []= $elem435; + $elem442 = null; + $elem442 = new \metastore\ShowCompactResponseElement(); + $xfer += $elem442->read($input); + $this->compacts []= $elem442; } $xfer += $input->readListEnd(); } else { @@ -13410,9 +13511,9 @@ class ShowCompactResponse { { $output->writeListBegin(TType::STRUCT, count($this->compacts)); { - foreach ($this->compacts as $iter436) + foreach ($this->compacts as $iter443) { - $xfer += $iter436->write($output); + $xfer += $iter443->write($output); } } $output->writeListEnd(); @@ -13530,14 +13631,14 @@ class AddDynamicPartitions { case 4: if ($ftype == TType::LST) { $this->partitionnames = array(); - $_size437 = 0; - $_etype440 = 0; - $xfer += $input->readListBegin($_etype440, $_size437); - for ($_i441 = 0; $_i441 < $_size437; ++$_i441) + $_size444 = 0; + $_etype447 = 0; + $xfer += $input->readListBegin($_etype447, $_size444); + for ($_i448 = 0; $_i448 < $_size444; ++$_i448) { - $elem442 = null; - $xfer += $input->readString($elem442); - $this->partitionnames []= $elem442; + $elem449 = null; + $xfer += $input->readString($elem449); + $this->partitionnames []= $elem449; } $xfer += $input->readListEnd(); } else { @@ -13580,9 +13681,9 @@ class AddDynamicPartitions { { $output->writeListBegin(TType::STRING, count($this->partitionnames)); { - foreach ($this->partitionnames as $iter443) + foreach ($this->partitionnames as $iter450) { - $xfer += $output->writeString($iter443); + $xfer += $output->writeString($iter450); } } $output->writeListEnd(); @@ -13935,15 +14036,15 @@ class NotificationEventResponse { case 1: if ($ftype == TType::LST) { $this->events = array(); - $_size444 = 0; - $_etype447 = 0; - $xfer += $input->readListBegin($_etype447, $_size444); - for ($_i448 = 0; $_i448 < $_size444; ++$_i448) + $_size451 = 0; + $_etype454 = 0; + $xfer += $input->readListBegin($_etype454, $_size451); + for ($_i455 = 0; $_i455 < $_size451; ++$_i455) { - $elem449 = null; - $elem449 = new \metastore\NotificationEvent(); - $xfer += $elem449->read($input); - $this->events []= $elem449; + $elem456 = null; + $elem456 = new \metastore\NotificationEvent(); + $xfer += $elem456->read($input); + $this->events []= $elem456; } $xfer += $input->readListEnd(); } else { @@ -13971,9 +14072,9 @@ class NotificationEventResponse { { $output->writeListBegin(TType::STRUCT, count($this->events)); { - foreach ($this->events as $iter450) + foreach ($this->events as $iter457) { - $xfer += $iter450->write($output); + $xfer += $iter457->write($output); } } $output->writeListEnd(); @@ -14112,14 +14213,14 @@ class InsertEventRequestData { case 1: if ($ftype == TType::LST) { $this->filesAdded = array(); - $_size451 = 0; - $_etype454 = 0; - $xfer += $input->readListBegin($_etype454, $_size451); - for ($_i455 = 0; $_i455 < $_size451; ++$_i455) + $_size458 = 0; + $_etype461 = 0; + $xfer += $input->readListBegin($_etype461, $_size458); + for ($_i462 = 0; $_i462 < $_size458; ++$_i462) { - $elem456 = null; - $xfer += $input->readString($elem456); - $this->filesAdded []= $elem456; + $elem463 = null; + $xfer += $input->readString($elem463); + $this->filesAdded []= $elem463; } $xfer += $input->readListEnd(); } else { @@ -14147,9 +14248,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAdded)); { - foreach ($this->filesAdded as $iter457) + foreach ($this->filesAdded as $iter464) { - $xfer += $output->writeString($iter457); + $xfer += $output->writeString($iter464); } } $output->writeListEnd(); @@ -14367,14 +14468,14 @@ class FireEventRequest { case 5: if ($ftype == TType::LST) { $this->partitionVals = array(); - $_size458 = 0; - $_etype461 = 0; - $xfer += $input->readListBegin($_etype461, $_size458); - for ($_i462 = 0; $_i462 < $_size458; ++$_i462) + $_size465 = 0; + $_etype468 = 0; + $xfer += $input->readListBegin($_etype468, $_size465); + for ($_i469 = 0; $_i469 < $_size465; ++$_i469) { - $elem463 = null; - $xfer += $input->readString($elem463); - $this->partitionVals []= $elem463; + $elem470 = null; + $xfer += $input->readString($elem470); + $this->partitionVals []= $elem470; } $xfer += $input->readListEnd(); } else { @@ -14425,9 +14526,9 @@ class FireEventRequest { { $output->writeListBegin(TType::STRING, count($this->partitionVals)); { - foreach ($this->partitionVals as $iter464) + foreach ($this->partitionVals as $iter471) { - $xfer += $output->writeString($iter464); + $xfer += $output->writeString($iter471); } } $output->writeListEnd(); @@ -14805,18 +14906,18 @@ class GetFileMetadataByExprResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size465 = 0; - $_ktype466 = 0; - $_vtype467 = 0; - $xfer += $input->readMapBegin($_ktype466, $_vtype467, $_size465); - for ($_i469 = 0; $_i469 < $_size465; ++$_i469) + $_size472 = 0; + $_ktype473 = 0; + $_vtype474 = 0; + $xfer += $input->readMapBegin($_ktype473, $_vtype474, $_size472); + for ($_i476 = 0; $_i476 < $_size472; ++$_i476) { - $key470 = 0; - $val471 = new \metastore\MetadataPpdResult(); - $xfer += $input->readI64($key470); - $val471 = new \metastore\MetadataPpdResult(); - $xfer += $val471->read($input); - $this->metadata[$key470] = $val471; + $key477 = 0; + $val478 = new \metastore\MetadataPpdResult(); + $xfer += $input->readI64($key477); + $val478 = new \metastore\MetadataPpdResult(); + $xfer += $val478->read($input); + $this->metadata[$key477] = $val478; } $xfer += $input->readMapEnd(); } else { @@ -14851,10 +14952,10 @@ class GetFileMetadataByExprResult { { $output->writeMapBegin(TType::I64, TType::STRUCT, count($this->metadata)); { - foreach ($this->metadata as $kiter472 => $viter473) + foreach ($this->metadata as $kiter479 => $viter480) { - $xfer += $output->writeI64($kiter472); - $xfer += $viter473->write($output); + $xfer += $output->writeI64($kiter479); + $xfer += $viter480->write($output); } } $output->writeMapEnd(); @@ -14956,14 +15057,14 @@ class GetFileMetadataByExprRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size474 = 0; - $_etype477 = 0; - $xfer += $input->readListBegin($_etype477, $_size474); - for ($_i478 = 0; $_i478 < $_size474; ++$_i478) + $_size481 = 0; + $_etype484 = 0; + $xfer += $input->readListBegin($_etype484, $_size481); + for ($_i485 = 0; $_i485 < $_size481; ++$_i485) { - $elem479 = null; - $xfer += $input->readI64($elem479); - $this->fileIds []= $elem479; + $elem486 = null; + $xfer += $input->readI64($elem486); + $this->fileIds []= $elem486; } $xfer += $input->readListEnd(); } else { @@ -15012,9 +15113,9 @@ class GetFileMetadataByExprRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter480) + foreach ($this->fileIds as $iter487) { - $xfer += $output->writeI64($iter480); + $xfer += $output->writeI64($iter487); } } $output->writeListEnd(); @@ -15108,17 +15209,17 @@ class GetFileMetadataResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size481 = 0; - $_ktype482 = 0; - $_vtype483 = 0; - $xfer += $input->readMapBegin($_ktype482, $_vtype483, $_size481); - for ($_i485 = 0; $_i485 < $_size481; ++$_i485) + $_size488 = 0; + $_ktype489 = 0; + $_vtype490 = 0; + $xfer += $input->readMapBegin($_ktype489, $_vtype490, $_size488); + for ($_i492 = 0; $_i492 < $_size488; ++$_i492) { - $key486 = 0; - $val487 = ''; - $xfer += $input->readI64($key486); - $xfer += $input->readString($val487); - $this->metadata[$key486] = $val487; + $key493 = 0; + $val494 = ''; + $xfer += $input->readI64($key493); + $xfer += $input->readString($val494); + $this->metadata[$key493] = $val494; } $xfer += $input->readMapEnd(); } else { @@ -15153,10 +15254,10 @@ class GetFileMetadataResult { { $output->writeMapBegin(TType::I64, TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $kiter488 => $viter489) + foreach ($this->metadata as $kiter495 => $viter496) { - $xfer += $output->writeI64($kiter488); - $xfer += $output->writeString($viter489); + $xfer += $output->writeI64($kiter495); + $xfer += $output->writeString($viter496); } } $output->writeMapEnd(); @@ -15225,14 +15326,14 @@ class GetFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size490 = 0; - $_etype493 = 0; - $xfer += $input->readListBegin($_etype493, $_size490); - for ($_i494 = 0; $_i494 < $_size490; ++$_i494) + $_size497 = 0; + $_etype500 = 0; + $xfer += $input->readListBegin($_etype500, $_size497); + for ($_i501 = 0; $_i501 < $_size497; ++$_i501) { - $elem495 = null; - $xfer += $input->readI64($elem495); - $this->fileIds []= $elem495; + $elem502 = null; + $xfer += $input->readI64($elem502); + $this->fileIds []= $elem502; } $xfer += $input->readListEnd(); } else { @@ -15260,9 +15361,9 @@ class GetFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter496) + foreach ($this->fileIds as $iter503) { - $xfer += $output->writeI64($iter496); + $xfer += $output->writeI64($iter503); } } $output->writeListEnd(); @@ -15402,14 +15503,14 @@ class PutFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size497 = 0; - $_etype500 = 0; - $xfer += $input->readListBegin($_etype500, $_size497); - for ($_i501 = 0; $_i501 < $_size497; ++$_i501) + $_size504 = 0; + $_etype507 = 0; + $xfer += $input->readListBegin($_etype507, $_size504); + for ($_i508 = 0; $_i508 < $_size504; ++$_i508) { - $elem502 = null; - $xfer += $input->readI64($elem502); - $this->fileIds []= $elem502; + $elem509 = null; + $xfer += $input->readI64($elem509); + $this->fileIds []= $elem509; } $xfer += $input->readListEnd(); } else { @@ -15419,14 +15520,14 @@ class PutFileMetadataRequest { case 2: if ($ftype == TType::LST) { $this->metadata = array(); - $_size503 = 0; - $_etype506 = 0; - $xfer += $input->readListBegin($_etype506, $_size503); - for ($_i507 = 0; $_i507 < $_size503; ++$_i507) + $_size510 = 0; + $_etype513 = 0; + $xfer += $input->readListBegin($_etype513, $_size510); + for ($_i514 = 0; $_i514 < $_size510; ++$_i514) { - $elem508 = null; - $xfer += $input->readString($elem508); - $this->metadata []= $elem508; + $elem515 = null; + $xfer += $input->readString($elem515); + $this->metadata []= $elem515; } $xfer += $input->readListEnd(); } else { @@ -15461,9 +15562,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter509) + foreach ($this->fileIds as $iter516) { - $xfer += $output->writeI64($iter509); + $xfer += $output->writeI64($iter516); } } $output->writeListEnd(); @@ -15478,9 +15579,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $iter510) + foreach ($this->metadata as $iter517) { - $xfer += $output->writeString($iter510); + $xfer += $output->writeString($iter517); } } $output->writeListEnd(); @@ -15599,14 +15700,14 @@ class ClearFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size511 = 0; - $_etype514 = 0; - $xfer += $input->readListBegin($_etype514, $_size511); - for ($_i515 = 0; $_i515 < $_size511; ++$_i515) + $_size518 = 0; + $_etype521 = 0; + $xfer += $input->readListBegin($_etype521, $_size518); + for ($_i522 = 0; $_i522 < $_size518; ++$_i522) { - $elem516 = null; - $xfer += $input->readI64($elem516); - $this->fileIds []= $elem516; + $elem523 = null; + $xfer += $input->readI64($elem523); + $this->fileIds []= $elem523; } $xfer += $input->readListEnd(); } else { @@ -15634,9 +15735,9 @@ class ClearFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter517) + foreach ($this->fileIds as $iter524) { - $xfer += $output->writeI64($iter517); + $xfer += $output->writeI64($iter524); } } $output->writeListEnd(); @@ -15920,15 +16021,15 @@ class GetAllFunctionsResponse { case 1: if ($ftype == TType::LST) { $this->functions = array(); - $_size518 = 0; - $_etype521 = 0; - $xfer += $input->readListBegin($_etype521, $_size518); - for ($_i522 = 0; $_i522 < $_size518; ++$_i522) + $_size525 = 0; + $_etype528 = 0; + $xfer += $input->readListBegin($_etype528, $_size525); + for ($_i529 = 0; $_i529 < $_size525; ++$_i529) { - $elem523 = null; - $elem523 = new \metastore\Function(); - $xfer += $elem523->read($input); - $this->functions []= $elem523; + $elem530 = null; + $elem530 = new \metastore\Function(); + $xfer += $elem530->read($input); + $this->functions []= $elem530; } $xfer += $input->readListEnd(); } else { @@ -15956,9 +16057,9 @@ class GetAllFunctionsResponse { { $output->writeListBegin(TType::STRUCT, count($this->functions)); { - foreach ($this->functions as $iter524) + foreach ($this->functions as $iter531) { - $xfer += $iter524->write($output); + $xfer += $iter531->write($output); } } $output->writeListEnd(); diff --git metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote index 516b926..8b8e9f6 100755 --- metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote +++ metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote @@ -147,6 +147,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print(' GetOpenTxnsInfoResponse get_open_txns_info()') print(' OpenTxnsResponse open_txns(OpenTxnRequest rqst)') print(' void abort_txn(AbortTxnRequest rqst)') + print(' void abort_txns(AbortTxnsRequest rqst)') print(' void commit_txn(CommitTxnRequest rqst)') print(' LockResponse lock(LockRequest rqst)') print(' LockResponse check_lock(CheckLockRequest rqst)') @@ -974,6 +975,12 @@ elif cmd == 'abort_txn': sys.exit(1) pp.pprint(client.abort_txn(eval(args[0]),)) +elif cmd == 'abort_txns': + if len(args) != 1: + print('abort_txns requires 1 args') + sys.exit(1) + pp.pprint(client.abort_txns(eval(args[0]),)) + elif cmd == 'commit_txn': if len(args) != 1: print('commit_txn requires 1 args') diff --git metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py index ac8d8a4..0ae5f54 100644 --- metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -1024,6 +1024,13 @@ def abort_txn(self, rqst): """ pass + def abort_txns(self, rqst): + """ + Parameters: + - rqst + """ + pass + def commit_txn(self, rqst): """ Parameters: @@ -5716,6 +5723,37 @@ def recv_abort_txn(self): raise result.o1 return + def abort_txns(self, rqst): + """ + Parameters: + - rqst + """ + self.send_abort_txns(rqst) + self.recv_abort_txns() + + def send_abort_txns(self, rqst): + self._oprot.writeMessageBegin('abort_txns', TMessageType.CALL, self._seqid) + args = abort_txns_args() + args.rqst = rqst + args.write(self._oprot) + self._oprot.writeMessageEnd() + self._oprot.trans.flush() + + def recv_abort_txns(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() + if mtype == TMessageType.EXCEPTION: + x = TApplicationException() + x.read(iprot) + iprot.readMessageEnd() + raise x + result = abort_txns_result() + result.read(iprot) + iprot.readMessageEnd() + if result.o1 is not None: + raise result.o1 + return + def commit_txn(self, rqst): """ Parameters: @@ -6469,6 +6507,7 @@ def __init__(self, handler): self._processMap["get_open_txns_info"] = Processor.process_get_open_txns_info self._processMap["open_txns"] = Processor.process_open_txns self._processMap["abort_txn"] = Processor.process_abort_txn + self._processMap["abort_txns"] = Processor.process_abort_txns self._processMap["commit_txn"] = Processor.process_commit_txn self._processMap["lock"] = Processor.process_lock self._processMap["check_lock"] = Processor.process_check_lock @@ -9571,6 +9610,28 @@ def process_abort_txn(self, seqid, iprot, oprot): oprot.writeMessageEnd() oprot.trans.flush() + def process_abort_txns(self, seqid, iprot, oprot): + args = abort_txns_args() + args.read(iprot) + iprot.readMessageEnd() + result = abort_txns_result() + try: + self._handler.abort_txns(args.rqst) + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchTxnException as o1: + msg_type = TMessageType.REPLY + result.o1 = o1 + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("abort_txns", msg_type, seqid) + result.write(oprot) + oprot.writeMessageEnd() + oprot.trans.flush() + def process_commit_txn(self, seqid, iprot, oprot): args = commit_txn_args() args.read(iprot) @@ -10879,10 +10940,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype525, _size522) = iprot.readListBegin() - for _i526 in xrange(_size522): - _elem527 = iprot.readString() - self.success.append(_elem527) + (_etype532, _size529) = iprot.readListBegin() + for _i533 in xrange(_size529): + _elem534 = iprot.readString() + self.success.append(_elem534) iprot.readListEnd() else: iprot.skip(ftype) @@ -10905,8 +10966,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter528 in self.success: - oprot.writeString(iter528) + for iter535 in self.success: + oprot.writeString(iter535) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -11011,10 +11072,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype532, _size529) = iprot.readListBegin() - for _i533 in xrange(_size529): - _elem534 = iprot.readString() - self.success.append(_elem534) + (_etype539, _size536) = iprot.readListBegin() + for _i540 in xrange(_size536): + _elem541 = iprot.readString() + self.success.append(_elem541) iprot.readListEnd() else: iprot.skip(ftype) @@ -11037,8 +11098,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter535 in self.success: - oprot.writeString(iter535) + for iter542 in self.success: + oprot.writeString(iter542) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -11808,12 +11869,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype537, _vtype538, _size536 ) = iprot.readMapBegin() - for _i540 in xrange(_size536): - _key541 = iprot.readString() - _val542 = Type() - _val542.read(iprot) - self.success[_key541] = _val542 + (_ktype544, _vtype545, _size543 ) = iprot.readMapBegin() + for _i547 in xrange(_size543): + _key548 = iprot.readString() + _val549 = Type() + _val549.read(iprot) + self.success[_key548] = _val549 iprot.readMapEnd() else: iprot.skip(ftype) @@ -11836,9 +11897,9 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.MAP, 0) oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success)) - for kiter543,viter544 in self.success.items(): - oprot.writeString(kiter543) - viter544.write(oprot) + for kiter550,viter551 in self.success.items(): + oprot.writeString(kiter550) + viter551.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -11981,11 +12042,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype548, _size545) = iprot.readListBegin() - for _i549 in xrange(_size545): - _elem550 = FieldSchema() - _elem550.read(iprot) - self.success.append(_elem550) + (_etype555, _size552) = iprot.readListBegin() + for _i556 in xrange(_size552): + _elem557 = FieldSchema() + _elem557.read(iprot) + self.success.append(_elem557) iprot.readListEnd() else: iprot.skip(ftype) @@ -12020,8 +12081,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter551 in self.success: - iter551.write(oprot) + for iter558 in self.success: + iter558.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -12188,11 +12249,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype555, _size552) = iprot.readListBegin() - for _i556 in xrange(_size552): - _elem557 = FieldSchema() - _elem557.read(iprot) - self.success.append(_elem557) + (_etype562, _size559) = iprot.readListBegin() + for _i563 in xrange(_size559): + _elem564 = FieldSchema() + _elem564.read(iprot) + self.success.append(_elem564) iprot.readListEnd() else: iprot.skip(ftype) @@ -12227,8 +12288,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter558 in self.success: - iter558.write(oprot) + for iter565 in self.success: + iter565.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -12381,11 +12442,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype562, _size559) = iprot.readListBegin() - for _i563 in xrange(_size559): - _elem564 = FieldSchema() - _elem564.read(iprot) - self.success.append(_elem564) + (_etype569, _size566) = iprot.readListBegin() + for _i570 in xrange(_size566): + _elem571 = FieldSchema() + _elem571.read(iprot) + self.success.append(_elem571) iprot.readListEnd() else: iprot.skip(ftype) @@ -12420,8 +12481,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter565 in self.success: - iter565.write(oprot) + for iter572 in self.success: + iter572.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -12588,11 +12649,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype569, _size566) = iprot.readListBegin() - for _i570 in xrange(_size566): - _elem571 = FieldSchema() - _elem571.read(iprot) - self.success.append(_elem571) + (_etype576, _size573) = iprot.readListBegin() + for _i577 in xrange(_size573): + _elem578 = FieldSchema() + _elem578.read(iprot) + self.success.append(_elem578) iprot.readListEnd() else: iprot.skip(ftype) @@ -12627,8 +12688,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter572 in self.success: - iter572.write(oprot) + for iter579 in self.success: + iter579.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -13493,10 +13554,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype576, _size573) = iprot.readListBegin() - for _i577 in xrange(_size573): - _elem578 = iprot.readString() - self.success.append(_elem578) + (_etype583, _size580) = iprot.readListBegin() + for _i584 in xrange(_size580): + _elem585 = iprot.readString() + self.success.append(_elem585) iprot.readListEnd() else: iprot.skip(ftype) @@ -13519,8 +13580,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter579 in self.success: - oprot.writeString(iter579) + for iter586 in self.success: + oprot.writeString(iter586) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -13593,10 +13654,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.tbl_types = [] - (_etype583, _size580) = iprot.readListBegin() - for _i584 in xrange(_size580): - _elem585 = iprot.readString() - self.tbl_types.append(_elem585) + (_etype590, _size587) = iprot.readListBegin() + for _i591 in xrange(_size587): + _elem592 = iprot.readString() + self.tbl_types.append(_elem592) iprot.readListEnd() else: iprot.skip(ftype) @@ -13621,8 +13682,8 @@ def write(self, oprot): if self.tbl_types is not None: oprot.writeFieldBegin('tbl_types', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.tbl_types)) - for iter586 in self.tbl_types: - oprot.writeString(iter586) + for iter593 in self.tbl_types: + oprot.writeString(iter593) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13678,11 +13739,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype590, _size587) = iprot.readListBegin() - for _i591 in xrange(_size587): - _elem592 = TableMeta() - _elem592.read(iprot) - self.success.append(_elem592) + (_etype597, _size594) = iprot.readListBegin() + for _i598 in xrange(_size594): + _elem599 = TableMeta() + _elem599.read(iprot) + self.success.append(_elem599) iprot.readListEnd() else: iprot.skip(ftype) @@ -13705,8 +13766,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter593 in self.success: - iter593.write(oprot) + for iter600 in self.success: + iter600.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -13830,10 +13891,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype597, _size594) = iprot.readListBegin() - for _i598 in xrange(_size594): - _elem599 = iprot.readString() - self.success.append(_elem599) + (_etype604, _size601) = iprot.readListBegin() + for _i605 in xrange(_size601): + _elem606 = iprot.readString() + self.success.append(_elem606) iprot.readListEnd() else: iprot.skip(ftype) @@ -13856,8 +13917,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter600 in self.success: - oprot.writeString(iter600) + for iter607 in self.success: + oprot.writeString(iter607) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14093,10 +14154,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype604, _size601) = iprot.readListBegin() - for _i605 in xrange(_size601): - _elem606 = iprot.readString() - self.tbl_names.append(_elem606) + (_etype611, _size608) = iprot.readListBegin() + for _i612 in xrange(_size608): + _elem613 = iprot.readString() + self.tbl_names.append(_elem613) iprot.readListEnd() else: iprot.skip(ftype) @@ -14117,8 +14178,8 @@ def write(self, oprot): if self.tbl_names is not None: oprot.writeFieldBegin('tbl_names', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.tbl_names)) - for iter607 in self.tbl_names: - oprot.writeString(iter607) + for iter614 in self.tbl_names: + oprot.writeString(iter614) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14179,11 +14240,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype611, _size608) = iprot.readListBegin() - for _i612 in xrange(_size608): - _elem613 = Table() - _elem613.read(iprot) - self.success.append(_elem613) + (_etype618, _size615) = iprot.readListBegin() + for _i619 in xrange(_size615): + _elem620 = Table() + _elem620.read(iprot) + self.success.append(_elem620) iprot.readListEnd() else: iprot.skip(ftype) @@ -14218,8 +14279,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter614 in self.success: - iter614.write(oprot) + for iter621 in self.success: + iter621.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14385,10 +14446,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype618, _size615) = iprot.readListBegin() - for _i619 in xrange(_size615): - _elem620 = iprot.readString() - self.success.append(_elem620) + (_etype625, _size622) = iprot.readListBegin() + for _i626 in xrange(_size622): + _elem627 = iprot.readString() + self.success.append(_elem627) iprot.readListEnd() else: iprot.skip(ftype) @@ -14423,8 +14484,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter621 in self.success: - oprot.writeString(iter621) + for iter628 in self.success: + oprot.writeString(iter628) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15394,11 +15455,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype625, _size622) = iprot.readListBegin() - for _i626 in xrange(_size622): - _elem627 = Partition() - _elem627.read(iprot) - self.new_parts.append(_elem627) + (_etype632, _size629) = iprot.readListBegin() + for _i633 in xrange(_size629): + _elem634 = Partition() + _elem634.read(iprot) + self.new_parts.append(_elem634) iprot.readListEnd() else: iprot.skip(ftype) @@ -15415,8 +15476,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter628 in self.new_parts: - iter628.write(oprot) + for iter635 in self.new_parts: + iter635.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15574,11 +15635,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype632, _size629) = iprot.readListBegin() - for _i633 in xrange(_size629): - _elem634 = PartitionSpec() - _elem634.read(iprot) - self.new_parts.append(_elem634) + (_etype639, _size636) = iprot.readListBegin() + for _i640 in xrange(_size636): + _elem641 = PartitionSpec() + _elem641.read(iprot) + self.new_parts.append(_elem641) iprot.readListEnd() else: iprot.skip(ftype) @@ -15595,8 +15656,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter635 in self.new_parts: - iter635.write(oprot) + for iter642 in self.new_parts: + iter642.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15770,10 +15831,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype639, _size636) = iprot.readListBegin() - for _i640 in xrange(_size636): - _elem641 = iprot.readString() - self.part_vals.append(_elem641) + (_etype646, _size643) = iprot.readListBegin() + for _i647 in xrange(_size643): + _elem648 = iprot.readString() + self.part_vals.append(_elem648) iprot.readListEnd() else: iprot.skip(ftype) @@ -15798,8 +15859,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter642 in self.part_vals: - oprot.writeString(iter642) + for iter649 in self.part_vals: + oprot.writeString(iter649) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16152,10 +16213,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype646, _size643) = iprot.readListBegin() - for _i647 in xrange(_size643): - _elem648 = iprot.readString() - self.part_vals.append(_elem648) + (_etype653, _size650) = iprot.readListBegin() + for _i654 in xrange(_size650): + _elem655 = iprot.readString() + self.part_vals.append(_elem655) iprot.readListEnd() else: iprot.skip(ftype) @@ -16186,8 +16247,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter649 in self.part_vals: - oprot.writeString(iter649) + for iter656 in self.part_vals: + oprot.writeString(iter656) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -16782,10 +16843,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype653, _size650) = iprot.readListBegin() - for _i654 in xrange(_size650): - _elem655 = iprot.readString() - self.part_vals.append(_elem655) + (_etype660, _size657) = iprot.readListBegin() + for _i661 in xrange(_size657): + _elem662 = iprot.readString() + self.part_vals.append(_elem662) iprot.readListEnd() else: iprot.skip(ftype) @@ -16815,8 +16876,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter656 in self.part_vals: - oprot.writeString(iter656) + for iter663 in self.part_vals: + oprot.writeString(iter663) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -16989,10 +17050,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype660, _size657) = iprot.readListBegin() - for _i661 in xrange(_size657): - _elem662 = iprot.readString() - self.part_vals.append(_elem662) + (_etype667, _size664) = iprot.readListBegin() + for _i668 in xrange(_size664): + _elem669 = iprot.readString() + self.part_vals.append(_elem669) iprot.readListEnd() else: iprot.skip(ftype) @@ -17028,8 +17089,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter663 in self.part_vals: - oprot.writeString(iter663) + for iter670 in self.part_vals: + oprot.writeString(iter670) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -17766,10 +17827,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype667, _size664) = iprot.readListBegin() - for _i668 in xrange(_size664): - _elem669 = iprot.readString() - self.part_vals.append(_elem669) + (_etype674, _size671) = iprot.readListBegin() + for _i675 in xrange(_size671): + _elem676 = iprot.readString() + self.part_vals.append(_elem676) iprot.readListEnd() else: iprot.skip(ftype) @@ -17794,8 +17855,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter670 in self.part_vals: - oprot.writeString(iter670) + for iter677 in self.part_vals: + oprot.writeString(iter677) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17954,11 +18015,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype672, _vtype673, _size671 ) = iprot.readMapBegin() - for _i675 in xrange(_size671): - _key676 = iprot.readString() - _val677 = iprot.readString() - self.partitionSpecs[_key676] = _val677 + (_ktype679, _vtype680, _size678 ) = iprot.readMapBegin() + for _i682 in xrange(_size678): + _key683 = iprot.readString() + _val684 = iprot.readString() + self.partitionSpecs[_key683] = _val684 iprot.readMapEnd() else: iprot.skip(ftype) @@ -17995,9 +18056,9 @@ def write(self, oprot): if self.partitionSpecs is not None: oprot.writeFieldBegin('partitionSpecs', TType.MAP, 1) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.partitionSpecs)) - for kiter678,viter679 in self.partitionSpecs.items(): - oprot.writeString(kiter678) - oprot.writeString(viter679) + for kiter685,viter686 in self.partitionSpecs.items(): + oprot.writeString(kiter685) + oprot.writeString(viter686) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -18202,11 +18263,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype681, _vtype682, _size680 ) = iprot.readMapBegin() - for _i684 in xrange(_size680): - _key685 = iprot.readString() - _val686 = iprot.readString() - self.partitionSpecs[_key685] = _val686 + (_ktype688, _vtype689, _size687 ) = iprot.readMapBegin() + for _i691 in xrange(_size687): + _key692 = iprot.readString() + _val693 = iprot.readString() + self.partitionSpecs[_key692] = _val693 iprot.readMapEnd() else: iprot.skip(ftype) @@ -18243,9 +18304,9 @@ def write(self, oprot): if self.partitionSpecs is not None: oprot.writeFieldBegin('partitionSpecs', TType.MAP, 1) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.partitionSpecs)) - for kiter687,viter688 in self.partitionSpecs.items(): - oprot.writeString(kiter687) - oprot.writeString(viter688) + for kiter694,viter695 in self.partitionSpecs.items(): + oprot.writeString(kiter694) + oprot.writeString(viter695) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -18328,11 +18389,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype692, _size689) = iprot.readListBegin() - for _i693 in xrange(_size689): - _elem694 = Partition() - _elem694.read(iprot) - self.success.append(_elem694) + (_etype699, _size696) = iprot.readListBegin() + for _i700 in xrange(_size696): + _elem701 = Partition() + _elem701.read(iprot) + self.success.append(_elem701) iprot.readListEnd() else: iprot.skip(ftype) @@ -18373,8 +18434,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter695 in self.success: - iter695.write(oprot) + for iter702 in self.success: + iter702.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18468,10 +18529,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype699, _size696) = iprot.readListBegin() - for _i700 in xrange(_size696): - _elem701 = iprot.readString() - self.part_vals.append(_elem701) + (_etype706, _size703) = iprot.readListBegin() + for _i707 in xrange(_size703): + _elem708 = iprot.readString() + self.part_vals.append(_elem708) iprot.readListEnd() else: iprot.skip(ftype) @@ -18483,10 +18544,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype705, _size702) = iprot.readListBegin() - for _i706 in xrange(_size702): - _elem707 = iprot.readString() - self.group_names.append(_elem707) + (_etype712, _size709) = iprot.readListBegin() + for _i713 in xrange(_size709): + _elem714 = iprot.readString() + self.group_names.append(_elem714) iprot.readListEnd() else: iprot.skip(ftype) @@ -18511,8 +18572,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter708 in self.part_vals: - oprot.writeString(iter708) + for iter715 in self.part_vals: + oprot.writeString(iter715) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -18522,8 +18583,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter709 in self.group_names: - oprot.writeString(iter709) + for iter716 in self.group_names: + oprot.writeString(iter716) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18952,11 +19013,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype713, _size710) = iprot.readListBegin() - for _i714 in xrange(_size710): - _elem715 = Partition() - _elem715.read(iprot) - self.success.append(_elem715) + (_etype720, _size717) = iprot.readListBegin() + for _i721 in xrange(_size717): + _elem722 = Partition() + _elem722.read(iprot) + self.success.append(_elem722) iprot.readListEnd() else: iprot.skip(ftype) @@ -18985,8 +19046,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter716 in self.success: - iter716.write(oprot) + for iter723 in self.success: + iter723.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19080,10 +19141,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype720, _size717) = iprot.readListBegin() - for _i721 in xrange(_size717): - _elem722 = iprot.readString() - self.group_names.append(_elem722) + (_etype727, _size724) = iprot.readListBegin() + for _i728 in xrange(_size724): + _elem729 = iprot.readString() + self.group_names.append(_elem729) iprot.readListEnd() else: iprot.skip(ftype) @@ -19116,8 +19177,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter723 in self.group_names: - oprot.writeString(iter723) + for iter730 in self.group_names: + oprot.writeString(iter730) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19178,11 +19239,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype727, _size724) = iprot.readListBegin() - for _i728 in xrange(_size724): - _elem729 = Partition() - _elem729.read(iprot) - self.success.append(_elem729) + (_etype734, _size731) = iprot.readListBegin() + for _i735 in xrange(_size731): + _elem736 = Partition() + _elem736.read(iprot) + self.success.append(_elem736) iprot.readListEnd() else: iprot.skip(ftype) @@ -19211,8 +19272,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter730 in self.success: - iter730.write(oprot) + for iter737 in self.success: + iter737.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19370,11 +19431,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype734, _size731) = iprot.readListBegin() - for _i735 in xrange(_size731): - _elem736 = PartitionSpec() - _elem736.read(iprot) - self.success.append(_elem736) + (_etype741, _size738) = iprot.readListBegin() + for _i742 in xrange(_size738): + _elem743 = PartitionSpec() + _elem743.read(iprot) + self.success.append(_elem743) iprot.readListEnd() else: iprot.skip(ftype) @@ -19403,8 +19464,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter737 in self.success: - iter737.write(oprot) + for iter744 in self.success: + iter744.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19559,10 +19620,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype741, _size738) = iprot.readListBegin() - for _i742 in xrange(_size738): - _elem743 = iprot.readString() - self.success.append(_elem743) + (_etype748, _size745) = iprot.readListBegin() + for _i749 in xrange(_size745): + _elem750 = iprot.readString() + self.success.append(_elem750) iprot.readListEnd() else: iprot.skip(ftype) @@ -19585,8 +19646,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter744 in self.success: - oprot.writeString(iter744) + for iter751 in self.success: + oprot.writeString(iter751) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -19662,10 +19723,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype748, _size745) = iprot.readListBegin() - for _i749 in xrange(_size745): - _elem750 = iprot.readString() - self.part_vals.append(_elem750) + (_etype755, _size752) = iprot.readListBegin() + for _i756 in xrange(_size752): + _elem757 = iprot.readString() + self.part_vals.append(_elem757) iprot.readListEnd() else: iprot.skip(ftype) @@ -19695,8 +19756,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter751 in self.part_vals: - oprot.writeString(iter751) + for iter758 in self.part_vals: + oprot.writeString(iter758) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -19760,11 +19821,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype755, _size752) = iprot.readListBegin() - for _i756 in xrange(_size752): - _elem757 = Partition() - _elem757.read(iprot) - self.success.append(_elem757) + (_etype762, _size759) = iprot.readListBegin() + for _i763 in xrange(_size759): + _elem764 = Partition() + _elem764.read(iprot) + self.success.append(_elem764) iprot.readListEnd() else: iprot.skip(ftype) @@ -19793,8 +19854,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter758 in self.success: - iter758.write(oprot) + for iter765 in self.success: + iter765.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19881,10 +19942,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype762, _size759) = iprot.readListBegin() - for _i763 in xrange(_size759): - _elem764 = iprot.readString() - self.part_vals.append(_elem764) + (_etype769, _size766) = iprot.readListBegin() + for _i770 in xrange(_size766): + _elem771 = iprot.readString() + self.part_vals.append(_elem771) iprot.readListEnd() else: iprot.skip(ftype) @@ -19901,10 +19962,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype768, _size765) = iprot.readListBegin() - for _i769 in xrange(_size765): - _elem770 = iprot.readString() - self.group_names.append(_elem770) + (_etype775, _size772) = iprot.readListBegin() + for _i776 in xrange(_size772): + _elem777 = iprot.readString() + self.group_names.append(_elem777) iprot.readListEnd() else: iprot.skip(ftype) @@ -19929,8 +19990,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter771 in self.part_vals: - oprot.writeString(iter771) + for iter778 in self.part_vals: + oprot.writeString(iter778) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -19944,8 +20005,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 6) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter772 in self.group_names: - oprot.writeString(iter772) + for iter779 in self.group_names: + oprot.writeString(iter779) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20007,11 +20068,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype776, _size773) = iprot.readListBegin() - for _i777 in xrange(_size773): - _elem778 = Partition() - _elem778.read(iprot) - self.success.append(_elem778) + (_etype783, _size780) = iprot.readListBegin() + for _i784 in xrange(_size780): + _elem785 = Partition() + _elem785.read(iprot) + self.success.append(_elem785) iprot.readListEnd() else: iprot.skip(ftype) @@ -20040,8 +20101,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter779 in self.success: - iter779.write(oprot) + for iter786 in self.success: + iter786.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20122,10 +20183,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype783, _size780) = iprot.readListBegin() - for _i784 in xrange(_size780): - _elem785 = iprot.readString() - self.part_vals.append(_elem785) + (_etype790, _size787) = iprot.readListBegin() + for _i791 in xrange(_size787): + _elem792 = iprot.readString() + self.part_vals.append(_elem792) iprot.readListEnd() else: iprot.skip(ftype) @@ -20155,8 +20216,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter786 in self.part_vals: - oprot.writeString(iter786) + for iter793 in self.part_vals: + oprot.writeString(iter793) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -20220,10 +20281,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype790, _size787) = iprot.readListBegin() - for _i791 in xrange(_size787): - _elem792 = iprot.readString() - self.success.append(_elem792) + (_etype797, _size794) = iprot.readListBegin() + for _i798 in xrange(_size794): + _elem799 = iprot.readString() + self.success.append(_elem799) iprot.readListEnd() else: iprot.skip(ftype) @@ -20252,8 +20313,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter793 in self.success: - oprot.writeString(iter793) + for iter800 in self.success: + oprot.writeString(iter800) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20424,11 +20485,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype797, _size794) = iprot.readListBegin() - for _i798 in xrange(_size794): - _elem799 = Partition() - _elem799.read(iprot) - self.success.append(_elem799) + (_etype804, _size801) = iprot.readListBegin() + for _i805 in xrange(_size801): + _elem806 = Partition() + _elem806.read(iprot) + self.success.append(_elem806) iprot.readListEnd() else: iprot.skip(ftype) @@ -20457,8 +20518,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter800 in self.success: - iter800.write(oprot) + for iter807 in self.success: + iter807.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20629,11 +20690,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype804, _size801) = iprot.readListBegin() - for _i805 in xrange(_size801): - _elem806 = PartitionSpec() - _elem806.read(iprot) - self.success.append(_elem806) + (_etype811, _size808) = iprot.readListBegin() + for _i812 in xrange(_size808): + _elem813 = PartitionSpec() + _elem813.read(iprot) + self.success.append(_elem813) iprot.readListEnd() else: iprot.skip(ftype) @@ -20662,8 +20723,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter807 in self.success: - iter807.write(oprot) + for iter814 in self.success: + iter814.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21083,10 +21144,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype811, _size808) = iprot.readListBegin() - for _i812 in xrange(_size808): - _elem813 = iprot.readString() - self.names.append(_elem813) + (_etype818, _size815) = iprot.readListBegin() + for _i819 in xrange(_size815): + _elem820 = iprot.readString() + self.names.append(_elem820) iprot.readListEnd() else: iprot.skip(ftype) @@ -21111,8 +21172,8 @@ def write(self, oprot): if self.names is not None: oprot.writeFieldBegin('names', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.names)) - for iter814 in self.names: - oprot.writeString(iter814) + for iter821 in self.names: + oprot.writeString(iter821) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21171,11 +21232,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype818, _size815) = iprot.readListBegin() - for _i819 in xrange(_size815): - _elem820 = Partition() - _elem820.read(iprot) - self.success.append(_elem820) + (_etype825, _size822) = iprot.readListBegin() + for _i826 in xrange(_size822): + _elem827 = Partition() + _elem827.read(iprot) + self.success.append(_elem827) iprot.readListEnd() else: iprot.skip(ftype) @@ -21204,8 +21265,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter821 in self.success: - iter821.write(oprot) + for iter828 in self.success: + iter828.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21455,11 +21516,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype825, _size822) = iprot.readListBegin() - for _i826 in xrange(_size822): - _elem827 = Partition() - _elem827.read(iprot) - self.new_parts.append(_elem827) + (_etype832, _size829) = iprot.readListBegin() + for _i833 in xrange(_size829): + _elem834 = Partition() + _elem834.read(iprot) + self.new_parts.append(_elem834) iprot.readListEnd() else: iprot.skip(ftype) @@ -21484,8 +21545,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter828 in self.new_parts: - iter828.write(oprot) + for iter835 in self.new_parts: + iter835.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21638,11 +21699,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype832, _size829) = iprot.readListBegin() - for _i833 in xrange(_size829): - _elem834 = Partition() - _elem834.read(iprot) - self.new_parts.append(_elem834) + (_etype839, _size836) = iprot.readListBegin() + for _i840 in xrange(_size836): + _elem841 = Partition() + _elem841.read(iprot) + self.new_parts.append(_elem841) iprot.readListEnd() else: iprot.skip(ftype) @@ -21673,8 +21734,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter835 in self.new_parts: - iter835.write(oprot) + for iter842 in self.new_parts: + iter842.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -22018,10 +22079,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype839, _size836) = iprot.readListBegin() - for _i840 in xrange(_size836): - _elem841 = iprot.readString() - self.part_vals.append(_elem841) + (_etype846, _size843) = iprot.readListBegin() + for _i847 in xrange(_size843): + _elem848 = iprot.readString() + self.part_vals.append(_elem848) iprot.readListEnd() else: iprot.skip(ftype) @@ -22052,8 +22113,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter842 in self.part_vals: - oprot.writeString(iter842) + for iter849 in self.part_vals: + oprot.writeString(iter849) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -22195,10 +22256,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype846, _size843) = iprot.readListBegin() - for _i847 in xrange(_size843): - _elem848 = iprot.readString() - self.part_vals.append(_elem848) + (_etype853, _size850) = iprot.readListBegin() + for _i854 in xrange(_size850): + _elem855 = iprot.readString() + self.part_vals.append(_elem855) iprot.readListEnd() else: iprot.skip(ftype) @@ -22220,8 +22281,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter849 in self.part_vals: - oprot.writeString(iter849) + for iter856 in self.part_vals: + oprot.writeString(iter856) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -22579,10 +22640,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype853, _size850) = iprot.readListBegin() - for _i854 in xrange(_size850): - _elem855 = iprot.readString() - self.success.append(_elem855) + (_etype860, _size857) = iprot.readListBegin() + for _i861 in xrange(_size857): + _elem862 = iprot.readString() + self.success.append(_elem862) iprot.readListEnd() else: iprot.skip(ftype) @@ -22605,8 +22666,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter856 in self.success: - oprot.writeString(iter856) + for iter863 in self.success: + oprot.writeString(iter863) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22730,11 +22791,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype858, _vtype859, _size857 ) = iprot.readMapBegin() - for _i861 in xrange(_size857): - _key862 = iprot.readString() - _val863 = iprot.readString() - self.success[_key862] = _val863 + (_ktype865, _vtype866, _size864 ) = iprot.readMapBegin() + for _i868 in xrange(_size864): + _key869 = iprot.readString() + _val870 = iprot.readString() + self.success[_key869] = _val870 iprot.readMapEnd() else: iprot.skip(ftype) @@ -22757,9 +22818,9 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.MAP, 0) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.success)) - for kiter864,viter865 in self.success.items(): - oprot.writeString(kiter864) - oprot.writeString(viter865) + for kiter871,viter872 in self.success.items(): + oprot.writeString(kiter871) + oprot.writeString(viter872) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22835,11 +22896,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype867, _vtype868, _size866 ) = iprot.readMapBegin() - for _i870 in xrange(_size866): - _key871 = iprot.readString() - _val872 = iprot.readString() - self.part_vals[_key871] = _val872 + (_ktype874, _vtype875, _size873 ) = iprot.readMapBegin() + for _i877 in xrange(_size873): + _key878 = iprot.readString() + _val879 = iprot.readString() + self.part_vals[_key878] = _val879 iprot.readMapEnd() else: iprot.skip(ftype) @@ -22869,9 +22930,9 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.MAP, 3) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.part_vals)) - for kiter873,viter874 in self.part_vals.items(): - oprot.writeString(kiter873) - oprot.writeString(viter874) + for kiter880,viter881 in self.part_vals.items(): + oprot.writeString(kiter880) + oprot.writeString(viter881) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -23085,11 +23146,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype876, _vtype877, _size875 ) = iprot.readMapBegin() - for _i879 in xrange(_size875): - _key880 = iprot.readString() - _val881 = iprot.readString() - self.part_vals[_key880] = _val881 + (_ktype883, _vtype884, _size882 ) = iprot.readMapBegin() + for _i886 in xrange(_size882): + _key887 = iprot.readString() + _val888 = iprot.readString() + self.part_vals[_key887] = _val888 iprot.readMapEnd() else: iprot.skip(ftype) @@ -23119,9 +23180,9 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.MAP, 3) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.part_vals)) - for kiter882,viter883 in self.part_vals.items(): - oprot.writeString(kiter882) - oprot.writeString(viter883) + for kiter889,viter890 in self.part_vals.items(): + oprot.writeString(kiter889) + oprot.writeString(viter890) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -24176,11 +24237,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype887, _size884) = iprot.readListBegin() - for _i888 in xrange(_size884): - _elem889 = Index() - _elem889.read(iprot) - self.success.append(_elem889) + (_etype894, _size891) = iprot.readListBegin() + for _i895 in xrange(_size891): + _elem896 = Index() + _elem896.read(iprot) + self.success.append(_elem896) iprot.readListEnd() else: iprot.skip(ftype) @@ -24209,8 +24270,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter890 in self.success: - iter890.write(oprot) + for iter897 in self.success: + iter897.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24365,10 +24426,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype894, _size891) = iprot.readListBegin() - for _i895 in xrange(_size891): - _elem896 = iprot.readString() - self.success.append(_elem896) + (_etype901, _size898) = iprot.readListBegin() + for _i902 in xrange(_size898): + _elem903 = iprot.readString() + self.success.append(_elem903) iprot.readListEnd() else: iprot.skip(ftype) @@ -24391,8 +24452,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter897 in self.success: - oprot.writeString(iter897) + for iter904 in self.success: + oprot.writeString(iter904) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -26940,10 +27001,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype901, _size898) = iprot.readListBegin() - for _i902 in xrange(_size898): - _elem903 = iprot.readString() - self.success.append(_elem903) + (_etype908, _size905) = iprot.readListBegin() + for _i909 in xrange(_size905): + _elem910 = iprot.readString() + self.success.append(_elem910) iprot.readListEnd() else: iprot.skip(ftype) @@ -26966,8 +27027,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter904 in self.success: - oprot.writeString(iter904) + for iter911 in self.success: + oprot.writeString(iter911) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27655,10 +27716,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype908, _size905) = iprot.readListBegin() - for _i909 in xrange(_size905): - _elem910 = iprot.readString() - self.success.append(_elem910) + (_etype915, _size912) = iprot.readListBegin() + for _i916 in xrange(_size912): + _elem917 = iprot.readString() + self.success.append(_elem917) iprot.readListEnd() else: iprot.skip(ftype) @@ -27681,8 +27742,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter911 in self.success: - oprot.writeString(iter911) + for iter918 in self.success: + oprot.writeString(iter918) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28196,11 +28257,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype915, _size912) = iprot.readListBegin() - for _i916 in xrange(_size912): - _elem917 = Role() - _elem917.read(iprot) - self.success.append(_elem917) + (_etype922, _size919) = iprot.readListBegin() + for _i923 in xrange(_size919): + _elem924 = Role() + _elem924.read(iprot) + self.success.append(_elem924) iprot.readListEnd() else: iprot.skip(ftype) @@ -28223,8 +28284,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter918 in self.success: - iter918.write(oprot) + for iter925 in self.success: + iter925.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28733,10 +28794,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype922, _size919) = iprot.readListBegin() - for _i923 in xrange(_size919): - _elem924 = iprot.readString() - self.group_names.append(_elem924) + (_etype929, _size926) = iprot.readListBegin() + for _i930 in xrange(_size926): + _elem931 = iprot.readString() + self.group_names.append(_elem931) iprot.readListEnd() else: iprot.skip(ftype) @@ -28761,8 +28822,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter925 in self.group_names: - oprot.writeString(iter925) + for iter932 in self.group_names: + oprot.writeString(iter932) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -28989,11 +29050,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype929, _size926) = iprot.readListBegin() - for _i930 in xrange(_size926): - _elem931 = HiveObjectPrivilege() - _elem931.read(iprot) - self.success.append(_elem931) + (_etype936, _size933) = iprot.readListBegin() + for _i937 in xrange(_size933): + _elem938 = HiveObjectPrivilege() + _elem938.read(iprot) + self.success.append(_elem938) iprot.readListEnd() else: iprot.skip(ftype) @@ -29016,8 +29077,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter932 in self.success: - iter932.write(oprot) + for iter939 in self.success: + iter939.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29515,10 +29576,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype936, _size933) = iprot.readListBegin() - for _i937 in xrange(_size933): - _elem938 = iprot.readString() - self.group_names.append(_elem938) + (_etype943, _size940) = iprot.readListBegin() + for _i944 in xrange(_size940): + _elem945 = iprot.readString() + self.group_names.append(_elem945) iprot.readListEnd() else: iprot.skip(ftype) @@ -29539,8 +29600,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter939 in self.group_names: - oprot.writeString(iter939) + for iter946 in self.group_names: + oprot.writeString(iter946) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -29595,10 +29656,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype943, _size940) = iprot.readListBegin() - for _i944 in xrange(_size940): - _elem945 = iprot.readString() - self.success.append(_elem945) + (_etype950, _size947) = iprot.readListBegin() + for _i951 in xrange(_size947): + _elem952 = iprot.readString() + self.success.append(_elem952) iprot.readListEnd() else: iprot.skip(ftype) @@ -29621,8 +29682,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter946 in self.success: - oprot.writeString(iter946) + for iter953 in self.success: + oprot.writeString(iter953) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30554,10 +30615,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype950, _size947) = iprot.readListBegin() - for _i951 in xrange(_size947): - _elem952 = iprot.readString() - self.success.append(_elem952) + (_etype957, _size954) = iprot.readListBegin() + for _i958 in xrange(_size954): + _elem959 = iprot.readString() + self.success.append(_elem959) iprot.readListEnd() else: iprot.skip(ftype) @@ -30574,8 +30635,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter953 in self.success: - oprot.writeString(iter953) + for iter960 in self.success: + oprot.writeString(iter960) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -31102,10 +31163,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype957, _size954) = iprot.readListBegin() - for _i958 in xrange(_size954): - _elem959 = iprot.readString() - self.success.append(_elem959) + (_etype964, _size961) = iprot.readListBegin() + for _i965 in xrange(_size961): + _elem966 = iprot.readString() + self.success.append(_elem966) iprot.readListEnd() else: iprot.skip(ftype) @@ -31122,8 +31183,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter960 in self.success: - oprot.writeString(iter960) + for iter967 in self.success: + oprot.writeString(iter967) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -31634,6 +31695,138 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class abort_txns_args: + """ + Attributes: + - rqst + """ + + thrift_spec = ( + None, # 0 + (1, TType.STRUCT, 'rqst', (AbortTxnsRequest, AbortTxnsRequest.thrift_spec), None, ), # 1 + ) + + def __init__(self, rqst=None,): + self.rqst = rqst + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + if fid == 1: + if ftype == TType.STRUCT: + self.rqst = AbortTxnsRequest() + self.rqst.read(iprot) + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('abort_txns_args') + if self.rqst is not None: + oprot.writeFieldBegin('rqst', TType.STRUCT, 1) + self.rqst.write(oprot) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.rqst) + return value + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + +class abort_txns_result: + """ + Attributes: + - o1 + """ + + thrift_spec = ( + None, # 0 + (1, TType.STRUCT, 'o1', (NoSuchTxnException, NoSuchTxnException.thrift_spec), None, ), # 1 + ) + + def __init__(self, o1=None,): + self.o1 = o1 + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + if fid == 1: + if ftype == TType.STRUCT: + self.o1 = NoSuchTxnException() + self.o1.read(iprot) + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('abort_txns_result') + if self.o1 is not None: + oprot.writeFieldBegin('o1', TType.STRUCT, 1) + self.o1.write(oprot) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + return value + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + class commit_txn_args: """ Attributes: diff --git metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py index 10eaf4a..5f38d61 100644 --- metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py +++ metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py @@ -7585,6 +7585,81 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class AbortTxnsRequest: + """ + Attributes: + - txn_ids + """ + + thrift_spec = ( + None, # 0 + (1, TType.LIST, 'txn_ids', (TType.I64,None), None, ), # 1 + ) + + def __init__(self, txn_ids=None,): + self.txn_ids = txn_ids + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + if fid == 1: + if ftype == TType.LIST: + self.txn_ids = [] + (_etype402, _size399) = iprot.readListBegin() + for _i403 in xrange(_size399): + _elem404 = iprot.readI64() + self.txn_ids.append(_elem404) + iprot.readListEnd() + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('AbortTxnsRequest') + if self.txn_ids is not None: + oprot.writeFieldBegin('txn_ids', TType.LIST, 1) + oprot.writeListBegin(TType.I64, len(self.txn_ids)) + for iter405 in self.txn_ids: + oprot.writeI64(iter405) + oprot.writeListEnd() + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + if self.txn_ids is None: + raise TProtocol.TProtocolException(message='Required field txn_ids is unset!') + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.txn_ids) + return value + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + class CommitTxnRequest: """ Attributes: @@ -7813,11 +7888,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.component = [] - (_etype402, _size399) = iprot.readListBegin() - for _i403 in xrange(_size399): - _elem404 = LockComponent() - _elem404.read(iprot) - self.component.append(_elem404) + (_etype409, _size406) = iprot.readListBegin() + for _i410 in xrange(_size406): + _elem411 = LockComponent() + _elem411.read(iprot) + self.component.append(_elem411) iprot.readListEnd() else: iprot.skip(ftype) @@ -7854,8 +7929,8 @@ def write(self, oprot): if self.component is not None: oprot.writeFieldBegin('component', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.component)) - for iter405 in self.component: - iter405.write(oprot) + for iter412 in self.component: + iter412.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.txnid is not None: @@ -8553,11 +8628,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.locks = [] - (_etype409, _size406) = iprot.readListBegin() - for _i410 in xrange(_size406): - _elem411 = ShowLocksResponseElement() - _elem411.read(iprot) - self.locks.append(_elem411) + (_etype416, _size413) = iprot.readListBegin() + for _i417 in xrange(_size413): + _elem418 = ShowLocksResponseElement() + _elem418.read(iprot) + self.locks.append(_elem418) iprot.readListEnd() else: iprot.skip(ftype) @@ -8574,8 +8649,8 @@ def write(self, oprot): if self.locks is not None: oprot.writeFieldBegin('locks', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.locks)) - for iter412 in self.locks: - iter412.write(oprot) + for iter419 in self.locks: + iter419.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -8790,20 +8865,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.aborted = set() - (_etype416, _size413) = iprot.readSetBegin() - for _i417 in xrange(_size413): - _elem418 = iprot.readI64() - self.aborted.add(_elem418) + (_etype423, _size420) = iprot.readSetBegin() + for _i424 in xrange(_size420): + _elem425 = iprot.readI64() + self.aborted.add(_elem425) iprot.readSetEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.SET: self.nosuch = set() - (_etype422, _size419) = iprot.readSetBegin() - for _i423 in xrange(_size419): - _elem424 = iprot.readI64() - self.nosuch.add(_elem424) + (_etype429, _size426) = iprot.readSetBegin() + for _i430 in xrange(_size426): + _elem431 = iprot.readI64() + self.nosuch.add(_elem431) iprot.readSetEnd() else: iprot.skip(ftype) @@ -8820,15 +8895,15 @@ def write(self, oprot): if self.aborted is not None: oprot.writeFieldBegin('aborted', TType.SET, 1) oprot.writeSetBegin(TType.I64, len(self.aborted)) - for iter425 in self.aborted: - oprot.writeI64(iter425) + for iter432 in self.aborted: + oprot.writeI64(iter432) oprot.writeSetEnd() oprot.writeFieldEnd() if self.nosuch is not None: oprot.writeFieldBegin('nosuch', TType.SET, 2) oprot.writeSetBegin(TType.I64, len(self.nosuch)) - for iter426 in self.nosuch: - oprot.writeI64(iter426) + for iter433 in self.nosuch: + oprot.writeI64(iter433) oprot.writeSetEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -9270,11 +9345,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.compacts = [] - (_etype430, _size427) = iprot.readListBegin() - for _i431 in xrange(_size427): - _elem432 = ShowCompactResponseElement() - _elem432.read(iprot) - self.compacts.append(_elem432) + (_etype437, _size434) = iprot.readListBegin() + for _i438 in xrange(_size434): + _elem439 = ShowCompactResponseElement() + _elem439.read(iprot) + self.compacts.append(_elem439) iprot.readListEnd() else: iprot.skip(ftype) @@ -9291,8 +9366,8 @@ def write(self, oprot): if self.compacts is not None: oprot.writeFieldBegin('compacts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.compacts)) - for iter433 in self.compacts: - iter433.write(oprot) + for iter440 in self.compacts: + iter440.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -9370,10 +9445,10 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.partitionnames = [] - (_etype437, _size434) = iprot.readListBegin() - for _i438 in xrange(_size434): - _elem439 = iprot.readString() - self.partitionnames.append(_elem439) + (_etype444, _size441) = iprot.readListBegin() + for _i445 in xrange(_size441): + _elem446 = iprot.readString() + self.partitionnames.append(_elem446) iprot.readListEnd() else: iprot.skip(ftype) @@ -9402,8 +9477,8 @@ def write(self, oprot): if self.partitionnames is not None: oprot.writeFieldBegin('partitionnames', TType.LIST, 4) oprot.writeListBegin(TType.STRING, len(self.partitionnames)) - for iter440 in self.partitionnames: - oprot.writeString(iter440) + for iter447 in self.partitionnames: + oprot.writeString(iter447) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -9684,11 +9759,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.events = [] - (_etype444, _size441) = iprot.readListBegin() - for _i445 in xrange(_size441): - _elem446 = NotificationEvent() - _elem446.read(iprot) - self.events.append(_elem446) + (_etype451, _size448) = iprot.readListBegin() + for _i452 in xrange(_size448): + _elem453 = NotificationEvent() + _elem453.read(iprot) + self.events.append(_elem453) iprot.readListEnd() else: iprot.skip(ftype) @@ -9705,8 +9780,8 @@ def write(self, oprot): if self.events is not None: oprot.writeFieldBegin('events', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.events)) - for iter447 in self.events: - iter447.write(oprot) + for iter454 in self.events: + iter454.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -9827,10 +9902,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.filesAdded = [] - (_etype451, _size448) = iprot.readListBegin() - for _i452 in xrange(_size448): - _elem453 = iprot.readString() - self.filesAdded.append(_elem453) + (_etype458, _size455) = iprot.readListBegin() + for _i459 in xrange(_size455): + _elem460 = iprot.readString() + self.filesAdded.append(_elem460) iprot.readListEnd() else: iprot.skip(ftype) @@ -9847,8 +9922,8 @@ def write(self, oprot): if self.filesAdded is not None: oprot.writeFieldBegin('filesAdded', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.filesAdded)) - for iter454 in self.filesAdded: - oprot.writeString(iter454) + for iter461 in self.filesAdded: + oprot.writeString(iter461) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10001,10 +10076,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionVals = [] - (_etype458, _size455) = iprot.readListBegin() - for _i459 in xrange(_size455): - _elem460 = iprot.readString() - self.partitionVals.append(_elem460) + (_etype465, _size462) = iprot.readListBegin() + for _i466 in xrange(_size462): + _elem467 = iprot.readString() + self.partitionVals.append(_elem467) iprot.readListEnd() else: iprot.skip(ftype) @@ -10037,8 +10112,8 @@ def write(self, oprot): if self.partitionVals is not None: oprot.writeFieldBegin('partitionVals', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.partitionVals)) - for iter461 in self.partitionVals: - oprot.writeString(iter461) + for iter468 in self.partitionVals: + oprot.writeString(iter468) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10359,12 +10434,12 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype463, _vtype464, _size462 ) = iprot.readMapBegin() - for _i466 in xrange(_size462): - _key467 = iprot.readI64() - _val468 = MetadataPpdResult() - _val468.read(iprot) - self.metadata[_key467] = _val468 + (_ktype470, _vtype471, _size469 ) = iprot.readMapBegin() + for _i473 in xrange(_size469): + _key474 = iprot.readI64() + _val475 = MetadataPpdResult() + _val475.read(iprot) + self.metadata[_key474] = _val475 iprot.readMapEnd() else: iprot.skip(ftype) @@ -10386,9 +10461,9 @@ def write(self, oprot): if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.MAP, 1) oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.metadata)) - for kiter469,viter470 in self.metadata.items(): - oprot.writeI64(kiter469) - viter470.write(oprot) + for kiter476,viter477 in self.metadata.items(): + oprot.writeI64(kiter476) + viter477.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -10458,10 +10533,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype474, _size471) = iprot.readListBegin() - for _i475 in xrange(_size471): - _elem476 = iprot.readI64() - self.fileIds.append(_elem476) + (_etype481, _size478) = iprot.readListBegin() + for _i482 in xrange(_size478): + _elem483 = iprot.readI64() + self.fileIds.append(_elem483) iprot.readListEnd() else: iprot.skip(ftype) @@ -10493,8 +10568,8 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter477 in self.fileIds: - oprot.writeI64(iter477) + for iter484 in self.fileIds: + oprot.writeI64(iter484) oprot.writeListEnd() oprot.writeFieldEnd() if self.expr is not None: @@ -10568,11 +10643,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype479, _vtype480, _size478 ) = iprot.readMapBegin() - for _i482 in xrange(_size478): - _key483 = iprot.readI64() - _val484 = iprot.readString() - self.metadata[_key483] = _val484 + (_ktype486, _vtype487, _size485 ) = iprot.readMapBegin() + for _i489 in xrange(_size485): + _key490 = iprot.readI64() + _val491 = iprot.readString() + self.metadata[_key490] = _val491 iprot.readMapEnd() else: iprot.skip(ftype) @@ -10594,9 +10669,9 @@ def write(self, oprot): if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.MAP, 1) oprot.writeMapBegin(TType.I64, TType.STRING, len(self.metadata)) - for kiter485,viter486 in self.metadata.items(): - oprot.writeI64(kiter485) - oprot.writeString(viter486) + for kiter492,viter493 in self.metadata.items(): + oprot.writeI64(kiter492) + oprot.writeString(viter493) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -10657,10 +10732,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype490, _size487) = iprot.readListBegin() - for _i491 in xrange(_size487): - _elem492 = iprot.readI64() - self.fileIds.append(_elem492) + (_etype497, _size494) = iprot.readListBegin() + for _i498 in xrange(_size494): + _elem499 = iprot.readI64() + self.fileIds.append(_elem499) iprot.readListEnd() else: iprot.skip(ftype) @@ -10677,8 +10752,8 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter493 in self.fileIds: - oprot.writeI64(iter493) + for iter500 in self.fileIds: + oprot.writeI64(iter500) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10784,20 +10859,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype497, _size494) = iprot.readListBegin() - for _i498 in xrange(_size494): - _elem499 = iprot.readI64() - self.fileIds.append(_elem499) + (_etype504, _size501) = iprot.readListBegin() + for _i505 in xrange(_size501): + _elem506 = iprot.readI64() + self.fileIds.append(_elem506) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.metadata = [] - (_etype503, _size500) = iprot.readListBegin() - for _i504 in xrange(_size500): - _elem505 = iprot.readString() - self.metadata.append(_elem505) + (_etype510, _size507) = iprot.readListBegin() + for _i511 in xrange(_size507): + _elem512 = iprot.readString() + self.metadata.append(_elem512) iprot.readListEnd() else: iprot.skip(ftype) @@ -10819,15 +10894,15 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter506 in self.fileIds: - oprot.writeI64(iter506) + for iter513 in self.fileIds: + oprot.writeI64(iter513) oprot.writeListEnd() oprot.writeFieldEnd() if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.metadata)) - for iter507 in self.metadata: - oprot.writeString(iter507) + for iter514 in self.metadata: + oprot.writeString(iter514) oprot.writeListEnd() oprot.writeFieldEnd() if self.type is not None: @@ -10935,10 +11010,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype511, _size508) = iprot.readListBegin() - for _i512 in xrange(_size508): - _elem513 = iprot.readI64() - self.fileIds.append(_elem513) + (_etype518, _size515) = iprot.readListBegin() + for _i519 in xrange(_size515): + _elem520 = iprot.readI64() + self.fileIds.append(_elem520) iprot.readListEnd() else: iprot.skip(ftype) @@ -10955,8 +11030,8 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter514 in self.fileIds: - oprot.writeI64(iter514) + for iter521 in self.fileIds: + oprot.writeI64(iter521) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11185,11 +11260,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.functions = [] - (_etype518, _size515) = iprot.readListBegin() - for _i519 in xrange(_size515): - _elem520 = Function() - _elem520.read(iprot) - self.functions.append(_elem520) + (_etype525, _size522) = iprot.readListBegin() + for _i526 in xrange(_size522): + _elem527 = Function() + _elem527.read(iprot) + self.functions.append(_elem527) iprot.readListEnd() else: iprot.skip(ftype) @@ -11206,8 +11281,8 @@ def write(self, oprot): if self.functions is not None: oprot.writeFieldBegin('functions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.functions)) - for iter521 in self.functions: - iter521.write(oprot) + for iter528 in self.functions: + iter528.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() diff --git metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb index 1cf40ae..5d9b901 100644 --- metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb +++ metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb @@ -1700,6 +1700,23 @@ class AbortTxnRequest ::Thrift::Struct.generate_accessors self end +class AbortTxnsRequest + include ::Thrift::Struct, ::Thrift::Struct_Union + TXN_IDS = 1 + + FIELDS = { + TXN_IDS => {:type => ::Thrift::Types::LIST, :name => 'txn_ids', :element => {:type => ::Thrift::Types::I64}} + } + + def struct_fields; FIELDS; end + + def validate + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field txn_ids is unset!') unless @txn_ids + end + + ::Thrift::Struct.generate_accessors self +end + class CommitTxnRequest include ::Thrift::Struct, ::Thrift::Struct_Union TXNID = 1 diff --git metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb index e782bb5..1995d32 100644 --- metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb +++ metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb @@ -2076,6 +2076,21 @@ module ThriftHiveMetastore return end + def abort_txns(rqst) + send_abort_txns(rqst) + recv_abort_txns() + end + + def send_abort_txns(rqst) + send_message('abort_txns', Abort_txns_args, :rqst => rqst) + end + + def recv_abort_txns() + result = receive_message(Abort_txns_result) + raise result.o1 unless result.o1.nil? + return + end + def commit_txn(rqst) send_commit_txn(rqst) recv_commit_txn() @@ -3964,6 +3979,17 @@ module ThriftHiveMetastore write_result(result, oprot, 'abort_txn', seqid) end + def process_abort_txns(seqid, iprot, oprot) + args = read_args(iprot, Abort_txns_args) + result = Abort_txns_result.new() + begin + @handler.abort_txns(args.rqst) + rescue ::NoSuchTxnException => o1 + result.o1 = o1 + end + write_result(result, oprot, 'abort_txns', seqid) + end + def process_commit_txn(seqid, iprot, oprot) args = read_args(iprot, Commit_txn_args) result = Commit_txn_result.new() @@ -8872,6 +8898,38 @@ module ThriftHiveMetastore ::Thrift::Struct.generate_accessors self end + class Abort_txns_args + include ::Thrift::Struct, ::Thrift::Struct_Union + RQST = 1 + + FIELDS = { + RQST => {:type => ::Thrift::Types::STRUCT, :name => 'rqst', :class => ::AbortTxnsRequest} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + + class Abort_txns_result + include ::Thrift::Struct, ::Thrift::Struct_Union + O1 = 1 + + FIELDS = { + O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::NoSuchTxnException} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + class Commit_txn_args include ::Thrift::Struct, ::Thrift::Struct_Union RQST = 1 diff --git metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java index c9fadad..b780476 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java @@ -5736,6 +5736,11 @@ public void abort_txn(AbortTxnRequest rqst) throws NoSuchTxnException, TExceptio } @Override + public void abort_txns(AbortTxnsRequest rqst) throws NoSuchTxnException, TException { + getTxnHandler().abortTxns(rqst); + } + + @Override public void commit_txn(CommitTxnRequest rqst) throws NoSuchTxnException, TxnAbortedException, TException { getTxnHandler().commitTxn(rqst); diff --git metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java index 64a26ac..a57f90b 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java @@ -27,6 +27,7 @@ import org.apache.hadoop.hive.conf.HiveConf.ConfVars; import org.apache.hadoop.hive.conf.HiveConfUtil; import org.apache.hadoop.hive.metastore.api.AbortTxnRequest; +import org.apache.hadoop.hive.metastore.api.AbortTxnsRequest; import org.apache.hadoop.hive.metastore.api.AddDynamicPartitions; import org.apache.hadoop.hive.metastore.api.AddPartitionsRequest; import org.apache.hadoop.hive.metastore.api.AddPartitionsResult; @@ -2028,6 +2029,11 @@ public GetOpenTxnsInfoResponse showTxns() throws TException { } @Override + public void abortTxns(List txnids) throws NoSuchTxnException, TException { + client.abort_txns(new AbortTxnsRequest(txnids)); + } + + @Override public LockResponse lock(LockRequest request) throws NoSuchTxnException, TxnAbortedException, TException { return client.lock(request); diff --git metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java index 39cf927..526a70b 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java @@ -1291,6 +1291,12 @@ void commitTxn(long txnid) GetOpenTxnsInfoResponse showTxns() throws TException; /** + * Abort a list of transactions. This is for use by "ABORT TRANSACTIONS" in the grammar. + * @throws TException + */ + void abortTxns(List txnids) throws TException; + + /** * Request a set of locks. All locks needed for a particular query, DML, * or DDL operation should be batched together and requested in one lock * call. This avoids deadlocks. It also avoids blocking other users who diff --git metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java index be3c6de..dbccabd 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java @@ -448,6 +448,37 @@ public void abortTxn(AbortTxnRequest rqst) throws NoSuchTxnException, MetaExcept } } + public void abortTxns(AbortTxnsRequest rqst) throws NoSuchTxnException, MetaException { + List txnids = rqst.getTxn_ids(); + try { + Connection dbConn = null; + try { + lockInternal(); + dbConn = getDbConn(Connection.TRANSACTION_READ_COMMITTED); + if (abortTxns(dbConn, txnids) != txnids.size()) { + LOG.debug("Going to rollback"); + dbConn.rollback(); + throw new NoSuchTxnException("Abort Transactions request failed. Possible reasons: " + + "Certain specified transactions don't exist or have already been aborted. " + + JavaUtils.txnIdsToString(txnids)); + } + LOG.debug("Going to commit"); + dbConn.commit(); + } catch (SQLException e) { + LOG.debug("Going to rollback"); + rollbackDBConn(dbConn); + checkRetryable(dbConn, e, "abortTxns(" + rqst + ")"); + throw new MetaException("Unable to update transaction database " + + StringUtils.stringifyException(e)); + } finally { + closeDbConn(dbConn); + unlockInternal(); + } + } catch (RetryException e) { + abortTxns(rqst); + } + } + public void commitTxn(CommitTxnRequest rqst) throws NoSuchTxnException, TxnAbortedException, MetaException { long txnid = rqst.getTxnid(); diff --git metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java index 927e9bc..0a2f8ab 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java @@ -93,6 +93,14 @@ public void abortTxn(AbortTxnRequest rqst) throws NoSuchTxnException, MetaException; /** + * Abort (rollback) a list of transactions in one request. + * @param rqst info on transactions to abort + * @throws NoSuchTxnException + * @throws MetaException + */ + public void abortTxns(AbortTxnsRequest rqst) throws NoSuchTxnException, MetaException; + + /** * Commit a transaction * @param rqst info on transaction to commit * @throws NoSuchTxnException diff --git ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java index b26f09d..118afe5 100644 --- ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java +++ ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java @@ -127,6 +127,7 @@ import org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer; import org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer; import org.apache.hadoop.hive.ql.parse.ReplicationSpec; +import org.apache.hadoop.hive.ql.plan.AbortTxnsDesc; import org.apache.hadoop.hive.ql.plan.AddPartitionDesc; import org.apache.hadoop.hive.ql.plan.AlterDatabaseDesc; import org.apache.hadoop.hive.ql.plan.AlterIndexDesc; @@ -441,7 +442,12 @@ public int execute(DriverContext driverContext) { return showTxns(db, txnsDesc); } - LockTableDesc lockTbl = work.getLockTblDesc(); + AbortTxnsDesc abortTxnsDesc = work.getAbortTxnsDesc(); + if (abortTxnsDesc != null) { + return abortTxns(db, abortTxnsDesc); + } + + LockTableDesc lockTbl = work.getLockTblDesc(); if (lockTbl != null) { return lockTable(db, lockTbl); } @@ -2714,6 +2720,11 @@ private int showTxns(Hive db, ShowTxnsDesc desc) throws HiveException { return 0; } + private int abortTxns(Hive db, AbortTxnsDesc desc) throws HiveException { + db.abortTransactions(desc.getTxnids()); + return 0; + } + /** * Lock the table/partition specified * @param db diff --git ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java index 4c9acce..40bb281 100644 --- ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java +++ ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java @@ -3427,6 +3427,15 @@ public GetOpenTxnsInfoResponse showTransactions() throws HiveException { } } + public void abortTransactions(List txnids) throws HiveException { + try { + getMSC().abortTxns(txnids); + } catch (Exception e) { + LOG.error(StringUtils.stringifyException(e)); + throw new HiveException(e); + } + } + public void createFunction(Function func) throws HiveException { try { getMSC().createFunction(func); diff --git ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java index 46d2342..74d2001 100644 --- ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java +++ ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java @@ -22,64 +22,12 @@ import org.antlr.runtime.tree.CommonTree; import org.antlr.runtime.tree.Tree; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.apache.hadoop.fs.FileSystem; -import org.apache.hadoop.fs.Path; -import org.apache.hadoop.hive.common.FileUtils; -import org.apache.hadoop.hive.common.JavaUtils; -import org.apache.hadoop.hive.common.StatsSetupConst; -import org.apache.hadoop.hive.conf.HiveConf; -import org.apache.hadoop.hive.conf.HiveConf.ConfVars; -import org.apache.hadoop.hive.metastore.MetaStoreUtils; -import org.apache.hadoop.hive.metastore.TableType; -import org.apache.hadoop.hive.metastore.Warehouse; -import org.apache.hadoop.hive.metastore.api.Database; -import org.apache.hadoop.hive.metastore.api.EnvironmentContext; -import org.apache.hadoop.hive.metastore.api.FieldSchema; -import org.apache.hadoop.hive.metastore.api.Index; -import org.apache.hadoop.hive.metastore.api.MetaException; -import org.apache.hadoop.hive.metastore.api.NoSuchObjectException; -import org.apache.hadoop.hive.metastore.api.Order; -import org.apache.hadoop.hive.metastore.api.SkewedInfo; -import org.apache.hadoop.hive.ql.Driver; -import org.apache.hadoop.hive.ql.ErrorMsg; -import org.apache.hadoop.hive.ql.exec.ArchiveUtils; -import org.apache.hadoop.hive.ql.exec.ColumnStatsUpdateTask; -import org.apache.hadoop.hive.ql.exec.FetchTask; -import org.apache.hadoop.hive.ql.exec.FunctionRegistry; -import org.apache.hadoop.hive.ql.exec.Task; -import org.apache.hadoop.hive.ql.exec.TaskFactory; -import org.apache.hadoop.hive.ql.exec.Utilities; -import org.apache.hadoop.hive.ql.hooks.ReadEntity; -import org.apache.hadoop.hive.ql.hooks.WriteEntity; -import org.apache.hadoop.hive.ql.hooks.WriteEntity.WriteType; -import org.apache.hadoop.hive.ql.index.HiveIndex; -import org.apache.hadoop.hive.ql.index.HiveIndex.IndexType; -import org.apache.hadoop.hive.ql.index.HiveIndexHandler; -import org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat; -import org.apache.hadoop.hive.ql.io.RCFileInputFormat; -import org.apache.hadoop.hive.ql.io.orc.OrcInputFormat; -import org.apache.hadoop.hive.ql.lib.Node; -import org.apache.hadoop.hive.ql.lockmgr.HiveTxnManager; -import org.apache.hadoop.hive.ql.lockmgr.LockException; -import org.apache.hadoop.hive.ql.lockmgr.TxnManagerFactory; -import org.apache.hadoop.hive.ql.metadata.Hive; -import org.apache.hadoop.hive.ql.metadata.HiveException; -import org.apache.hadoop.hive.ql.metadata.HiveUtils; -import org.apache.hadoop.hive.ql.metadata.InvalidTableException; -import org.apache.hadoop.hive.ql.metadata.Partition; -import org.apache.hadoop.hive.ql.metadata.Table; -import org.apache.hadoop.hive.ql.parse.authorization.AuthorizationParseUtils; -import org.apache.hadoop.hive.ql.parse.authorization.HiveAuthorizationTaskFactory; -import org.apache.hadoop.hive.ql.parse.authorization.HiveAuthorizationTaskFactoryImpl; +import org.apache.hadoop.hive.ql.plan.AbortTxnsDesc; import org.apache.hadoop.hive.ql.plan.AddPartitionDesc; import org.apache.hadoop.hive.ql.plan.AlterDatabaseDesc; import org.apache.hadoop.hive.ql.plan.AlterIndexDesc; -import org.apache.hadoop.hive.ql.plan.AlterIndexDesc.AlterIndexTypes; import org.apache.hadoop.hive.ql.plan.AlterTableAlterPartDesc; import org.apache.hadoop.hive.ql.plan.AlterTableDesc; -import org.apache.hadoop.hive.ql.plan.AlterTableDesc.AlterTableTypes; import org.apache.hadoop.hive.ql.plan.AlterTableExchangePartition; import org.apache.hadoop.hive.ql.plan.AlterTableSimpleDesc; import org.apache.hadoop.hive.ql.plan.CacheMetadataDesc; @@ -87,7 +35,6 @@ import org.apache.hadoop.hive.ql.plan.ColumnStatsUpdateWork; import org.apache.hadoop.hive.ql.plan.CreateDatabaseDesc; import org.apache.hadoop.hive.ql.plan.CreateIndexDesc; -import org.apache.hadoop.hive.ql.plan.DDLDesc; import org.apache.hadoop.hive.ql.plan.DDLWork; import org.apache.hadoop.hive.ql.plan.DescDatabaseDesc; import org.apache.hadoop.hive.ql.plan.DescFunctionDesc; @@ -132,6 +79,59 @@ import org.apache.hadoop.hive.ql.plan.TruncateTableDesc; import org.apache.hadoop.hive.ql.plan.UnlockDatabaseDesc; import org.apache.hadoop.hive.ql.plan.UnlockTableDesc; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.apache.hadoop.fs.FileSystem; +import org.apache.hadoop.fs.Path; +import org.apache.hadoop.hive.common.FileUtils; +import org.apache.hadoop.hive.common.JavaUtils; +import org.apache.hadoop.hive.common.StatsSetupConst; +import org.apache.hadoop.hive.conf.HiveConf; +import org.apache.hadoop.hive.conf.HiveConf.ConfVars; +import org.apache.hadoop.hive.metastore.MetaStoreUtils; +import org.apache.hadoop.hive.metastore.TableType; +import org.apache.hadoop.hive.metastore.Warehouse; +import org.apache.hadoop.hive.metastore.api.Database; +import org.apache.hadoop.hive.metastore.api.EnvironmentContext; +import org.apache.hadoop.hive.metastore.api.FieldSchema; +import org.apache.hadoop.hive.metastore.api.Index; +import org.apache.hadoop.hive.metastore.api.MetaException; +import org.apache.hadoop.hive.metastore.api.NoSuchObjectException; +import org.apache.hadoop.hive.metastore.api.Order; +import org.apache.hadoop.hive.metastore.api.SkewedInfo; +import org.apache.hadoop.hive.ql.Driver; +import org.apache.hadoop.hive.ql.ErrorMsg; +import org.apache.hadoop.hive.ql.exec.ArchiveUtils; +import org.apache.hadoop.hive.ql.exec.ColumnStatsUpdateTask; +import org.apache.hadoop.hive.ql.exec.FetchTask; +import org.apache.hadoop.hive.ql.exec.FunctionRegistry; +import org.apache.hadoop.hive.ql.exec.Task; +import org.apache.hadoop.hive.ql.exec.TaskFactory; +import org.apache.hadoop.hive.ql.exec.Utilities; +import org.apache.hadoop.hive.ql.hooks.ReadEntity; +import org.apache.hadoop.hive.ql.hooks.WriteEntity; +import org.apache.hadoop.hive.ql.hooks.WriteEntity.WriteType; +import org.apache.hadoop.hive.ql.index.HiveIndex; +import org.apache.hadoop.hive.ql.index.HiveIndex.IndexType; +import org.apache.hadoop.hive.ql.index.HiveIndexHandler; +import org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat; +import org.apache.hadoop.hive.ql.io.RCFileInputFormat; +import org.apache.hadoop.hive.ql.io.orc.OrcInputFormat; +import org.apache.hadoop.hive.ql.lib.Node; +import org.apache.hadoop.hive.ql.lockmgr.HiveTxnManager; +import org.apache.hadoop.hive.ql.lockmgr.LockException; +import org.apache.hadoop.hive.ql.lockmgr.TxnManagerFactory; +import org.apache.hadoop.hive.ql.metadata.Hive; +import org.apache.hadoop.hive.ql.metadata.HiveException; +import org.apache.hadoop.hive.ql.metadata.HiveUtils; +import org.apache.hadoop.hive.ql.metadata.InvalidTableException; +import org.apache.hadoop.hive.ql.metadata.Partition; +import org.apache.hadoop.hive.ql.metadata.Table; +import org.apache.hadoop.hive.ql.parse.authorization.AuthorizationParseUtils; +import org.apache.hadoop.hive.ql.parse.authorization.HiveAuthorizationTaskFactory; +import org.apache.hadoop.hive.ql.parse.authorization.HiveAuthorizationTaskFactoryImpl; +import org.apache.hadoop.hive.ql.plan.AlterIndexDesc.AlterIndexTypes; +import org.apache.hadoop.hive.ql.plan.AlterTableDesc.AlterTableTypes; import org.apache.hadoop.hive.ql.session.SessionState; import org.apache.hadoop.hive.serde.serdeConstants; import org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe; @@ -379,6 +379,9 @@ public void analyzeInternal(ASTNode input) throws SemanticException { ctx.setResFile(ctx.getLocalTmpPath()); analyzeShowTxns(ast); break; + case HiveParser.TOK_ABORT_TRANSACTIONS: + analyzeAbortTxns(ast); + break; case HiveParser.TOK_SHOWCONF: ctx.setResFile(ctx.getLocalTmpPath()); analyzeShowConf(ast); @@ -2411,6 +2414,21 @@ private void analyzeShowTxns(ASTNode ast) throws SemanticException { setFetchTask(createFetchTask(desc.getSchema())); } + /** + * Add a task to execute "ABORT TRANSACTIONS" + * @param ast The parsed command tree + * @throws SemanticException Parsing failed + */ + private void analyzeAbortTxns(ASTNode ast) throws SemanticException { + List txnids = new ArrayList(); + int numChildren = ast.getChildCount(); + for (int i = 0; i < numChildren; i++) { + txnids.add(Long.parseLong(ast.getChild(i).getText())); + } + AbortTxnsDesc desc = new AbortTxnsDesc(txnids); + rootTasks.add(TaskFactory.get(new DDLWork(getInputs(), getOutputs(), desc), conf)); + } + /** * Add the task according to the parsed command tree. This is used for the CLI * command "UNLOCK TABLE ..;". diff --git ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g index dd997f0..590bbf6 100644 --- ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g +++ ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g @@ -318,6 +318,7 @@ KW_LEVEL: 'LEVEL'; KW_SNAPSHOT: 'SNAPSHOT'; KW_AUTOCOMMIT: 'AUTOCOMMIT'; KW_CACHE: 'CACHE'; +KW_ABORT: 'ABORT'; // Operators // NOTE: if you add a new function/operator, add it to sysFuncNames so that describe function _FUNC_ will work. diff --git ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g index 50c53db..7a1be58 100644 --- ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g +++ ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g @@ -368,6 +368,7 @@ TOK_COMMIT; TOK_ROLLBACK; TOK_SET_AUTOCOMMIT; TOK_CACHE_METADATA; +TOK_ABORT_TRANSACTIONS; } @@ -515,7 +516,8 @@ import org.apache.hadoop.hive.conf.HiveConf; xlateMap.put("KW_UPDATE", "UPDATE"); xlateMap.put("KW_VALUES", "VALUES"); xlateMap.put("KW_PURGE", "PURGE"); - + xlateMap.put("KW_ABORT", "ABORT"); + xlateMap.put("KW_TRANSACTIONS", "TRANSACTIONS"); // Operators xlateMap.put("DOT", "."); @@ -787,6 +789,7 @@ ddlStatement | revokeRole | setRole | showCurrentRole + | abortTransactionStatement ; ifExists @@ -2506,3 +2509,10 @@ setAutoCommitStatement /* END user defined transaction boundaries */ + +abortTransactionStatement +@init { pushMsg("abort transactions statement", state); } +@after { popMsg(state); } + : + KW_ABORT KW_TRANSACTIONS ( Number )+ -> ^(TOK_ABORT_TRANSACTIONS ( Number )+) + ; diff --git ql/src/java/org/apache/hadoop/hive/ql/parse/IdentifiersParser.g ql/src/java/org/apache/hadoop/hive/ql/parse/IdentifiersParser.g index a192fa7..c37939e 100644 --- ql/src/java/org/apache/hadoop/hive/ql/parse/IdentifiersParser.g +++ ql/src/java/org/apache/hadoop/hive/ql/parse/IdentifiersParser.g @@ -645,7 +645,7 @@ principalIdentifier //http://www.postgresql.org/docs/9.5/static/sql-keywords-appendix.html nonReserved : - KW_ADD | KW_ADMIN | KW_AFTER | KW_ANALYZE | KW_ARCHIVE | KW_ASC | KW_BEFORE | KW_BUCKET | KW_BUCKETS + KW_ABORT | KW_ADD | KW_ADMIN | KW_AFTER | KW_ANALYZE | KW_ARCHIVE | KW_ASC | KW_BEFORE | KW_BUCKET | KW_BUCKETS | KW_CASCADE | KW_CHANGE | KW_CLUSTER | KW_CLUSTERED | KW_CLUSTERSTATUS | KW_COLLECTION | KW_COLUMNS | KW_COMMENT | KW_COMPACT | KW_COMPACTIONS | KW_COMPUTE | KW_CONCATENATE | KW_CONTINUE | KW_DATA | KW_DAY | KW_DATABASES | KW_DATETIME | KW_DBPROPERTIES | KW_DEFERRED | KW_DEFINED | KW_DELIMITED | KW_DEPENDENCY diff --git ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java index 07ca409..8bab524 100644 --- ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java +++ ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java @@ -115,6 +115,7 @@ commandType.put(HiveParser.TOK_ALTERTABLE_PARTCOLTYPE, HiveOperation.ALTERTABLE_PARTCOLTYPE); commandType.put(HiveParser.TOK_SHOW_COMPACTIONS, HiveOperation.SHOW_COMPACTIONS); commandType.put(HiveParser.TOK_SHOW_TRANSACTIONS, HiveOperation.SHOW_TRANSACTIONS); + commandType.put(HiveParser.TOK_ABORT_TRANSACTIONS, HiveOperation.ABORT_TRANSACTIONS); commandType.put(HiveParser.TOK_START_TRANSACTION, HiveOperation.START_TRANSACTION); commandType.put(HiveParser.TOK_COMMIT, HiveOperation.COMMIT); commandType.put(HiveParser.TOK_ROLLBACK, HiveOperation.ROLLBACK); @@ -242,6 +243,7 @@ public static BaseSemanticAnalyzer get(HiveConf conf, ASTNode tree) case HiveParser.TOK_SHOWDBLOCKS: case HiveParser.TOK_SHOW_COMPACTIONS: case HiveParser.TOK_SHOW_TRANSACTIONS: + case HiveParser.TOK_ABORT_TRANSACTIONS: case HiveParser.TOK_SHOWCONF: case HiveParser.TOK_CREATEINDEX: case HiveParser.TOK_DROPINDEX: diff --git ql/src/java/org/apache/hadoop/hive/ql/plan/AbortTxnsDesc.java ql/src/java/org/apache/hadoop/hive/ql/plan/AbortTxnsDesc.java new file mode 100644 index 0000000..fb084fd --- /dev/null +++ ql/src/java/org/apache/hadoop/hive/ql/plan/AbortTxnsDesc.java @@ -0,0 +1,41 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.hadoop.hive.ql.plan; + +import java.io.Serializable; +import java.util.List; + +/** + * Descriptor for showing compactions. + */ +public class AbortTxnsDesc extends DDLDesc implements Serializable { + + private static final long serialVersionUID = 1L; + private final List txnids; + + /** + * No arg constructor for serialization. + */ + public AbortTxnsDesc(List txnids) { + this.txnids = txnids; + } + + public List getTxnids() { + return txnids; + } +} diff --git ql/src/java/org/apache/hadoop/hive/ql/plan/DDLWork.java ql/src/java/org/apache/hadoop/hive/ql/plan/DDLWork.java index 7bb818c..8b54609 100644 --- ql/src/java/org/apache/hadoop/hive/ql/plan/DDLWork.java +++ ql/src/java/org/apache/hadoop/hive/ql/plan/DDLWork.java @@ -55,6 +55,7 @@ private ShowLocksDesc showLocksDesc; private ShowCompactionsDesc showCompactionsDesc; private ShowTxnsDesc showTxnsDesc; + private AbortTxnsDesc abortTxnsDesc; private DescFunctionDesc descFunctionDesc; private ShowPartitionsDesc showPartsDesc; private ShowCreateDatabaseDesc showCreateDbDesc; @@ -348,6 +349,12 @@ public DDLWork(HashSet inputs, HashSet outputs, this.showTxnsDesc = showTxnsDesc; } + public DDLWork(HashSet inputs, HashSet outputs, + AbortTxnsDesc abortTxnsDesc) { + this(inputs, outputs); + this.abortTxnsDesc = abortTxnsDesc; + } + /** * @param descFuncDesc */ @@ -762,6 +769,11 @@ public ShowTxnsDesc getShowTxnsDesc() { return showTxnsDesc; } + @Explain(displayName = "Abort Transactions Operator", explainLevels = { Level.USER, Level.DEFAULT, Level.EXTENDED }) + public AbortTxnsDesc getAbortTxnsDesc() { + return abortTxnsDesc; + } + /** * @return the lockTblDesc */ @@ -810,6 +822,10 @@ public void setShowTxnsDesc(ShowTxnsDesc showTxnsDesc) { this.showTxnsDesc = showTxnsDesc; } + public void setAbortTxnsDesc(AbortTxnsDesc abortTxnsDesc) { + this.abortTxnsDesc = abortTxnsDesc; + } + /** * @param lockTblDesc * the lockTblDesc to set diff --git ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java index 188cd6f..503045b 100644 --- ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java +++ ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java @@ -123,8 +123,8 @@ START_TRANSACTION("START TRANSACTION", null, null, false, false), COMMIT("COMMIT", null, null, true, true), ROLLBACK("ROLLBACK", null, null, true, true), - SET_AUTOCOMMIT("SET AUTOCOMMIT", null, null, true, false); - ; + SET_AUTOCOMMIT("SET AUTOCOMMIT", null, null, true, false), + ABORT_TRANSACTIONS("ABORT TRANSACTIONS", null, null, false, false); private String operationName; diff --git ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HiveOperationType.java ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HiveOperationType.java index c05ec3c..b5dd100 100644 --- ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HiveOperationType.java +++ ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HiveOperationType.java @@ -121,6 +121,7 @@ ALTERTABLE_COMPACT, SHOW_COMPACTIONS, SHOW_TRANSACTIONS, + ABORT_TRANSACTIONS, // ==== Hive command operation types starts here ==== // SET, RESET, diff --git ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/Operation2Privilege.java ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/Operation2Privilege.java index 4ad874e..2cfe52f 100644 --- ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/Operation2Privilege.java +++ ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/Operation2Privilege.java @@ -424,7 +424,8 @@ public HivePrivilegeObjectType getObjectType() { (null, null)); op2Priv.put(HiveOperationType.ALTERTABLE_EXCHANGEPARTITION, PrivRequirement.newIOPrivRequirement(null, null)); - + op2Priv.put(HiveOperationType.ABORT_TRANSACTIONS, PrivRequirement.newIOPrivRequirement + (null, null)); } /** diff --git ql/src/test/queries/clientnegative/dbtxnmgr_abort.q ql/src/test/queries/clientnegative/dbtxnmgr_abort.q new file mode 100644 index 0000000..5b21725 --- /dev/null +++ ql/src/test/queries/clientnegative/dbtxnmgr_abort.q @@ -0,0 +1,4 @@ +set hive.support.concurrency=true; +set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager; + +abort transactions 1234 5678; diff --git ql/src/test/results/clientnegative/dbtxnmgr_abort.q.out ql/src/test/results/clientnegative/dbtxnmgr_abort.q.out new file mode 100644 index 0000000..fd33326 --- /dev/null +++ ql/src/test/results/clientnegative/dbtxnmgr_abort.q.out @@ -0,0 +1,3 @@ +PREHOOK: query: abort transactions 1234 5678 +PREHOOK: type: ABORT TRANSACTIONS +FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. NoSuchTxnException(message:Abort Transactions request failed. Possible reasons: Certain specified transactions don't exist or have already been aborted. Transactions requested to be aborted: [1234, 5678]) diff --git service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote index 9a2322f..7d031cb 100755 --- service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote +++ service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote @@ -156,6 +156,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print(' GetOpenTxnsInfoResponse get_open_txns_info()') print(' OpenTxnsResponse open_txns(OpenTxnRequest rqst)') print(' void abort_txn(AbortTxnRequest rqst)') + print(' void abort_txns(AbortTxnsRequest rqst)') print(' void commit_txn(CommitTxnRequest rqst)') print(' LockResponse lock(LockRequest rqst)') print(' LockResponse check_lock(CheckLockRequest rqst)') @@ -1037,6 +1038,12 @@ elif cmd == 'abort_txn': sys.exit(1) pp.pprint(client.abort_txn(eval(args[0]),)) +elif cmd == 'abort_txns': + if len(args) != 1: + print('abort_txns requires 1 args') + sys.exit(1) + pp.pprint(client.abort_txns(eval(args[0]),)) + elif cmd == 'commit_txn': if len(args) != 1: print('commit_txn requires 1 args')