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 7558046..44dc824 100755 --- metastore/if/hive_metastore.thrift +++ metastore/if/hive_metastore.thrift @@ -634,6 +634,10 @@ struct AbortTxnRequest { 1: required i64 txnid, } +struct AbortTxnsRequest { + 1: required list txn_ids, +} + struct CommitTxnRequest { 1: required i64 txnid, } @@ -1382,6 +1386,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 29d9ec4..0440df7 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 _size747; - ::apache::thrift::protocol::TType _etype750; - xfer += iprot->readListBegin(_etype750, _size747); - this->success.resize(_size747); - uint32_t _i751; - for (_i751 = 0; _i751 < _size747; ++_i751) + uint32_t _size755; + ::apache::thrift::protocol::TType _etype758; + xfer += iprot->readListBegin(_etype758, _size755); + this->success.resize(_size755); + uint32_t _i759; + for (_i759 = 0; _i759 < _size755; ++_i759) { - xfer += iprot->readString(this->success[_i751]); + xfer += iprot->readString(this->success[_i759]); } 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 _iter752; - for (_iter752 = this->success.begin(); _iter752 != this->success.end(); ++_iter752) + std::vector ::const_iterator _iter760; + for (_iter760 = this->success.begin(); _iter760 != this->success.end(); ++_iter760) { - xfer += oprot->writeString((*_iter752)); + xfer += oprot->writeString((*_iter760)); } 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 _size753; - ::apache::thrift::protocol::TType _etype756; - xfer += iprot->readListBegin(_etype756, _size753); - (*(this->success)).resize(_size753); - uint32_t _i757; - for (_i757 = 0; _i757 < _size753; ++_i757) + uint32_t _size761; + ::apache::thrift::protocol::TType _etype764; + xfer += iprot->readListBegin(_etype764, _size761); + (*(this->success)).resize(_size761); + uint32_t _i765; + for (_i765 = 0; _i765 < _size761; ++_i765) { - xfer += iprot->readString((*(this->success))[_i757]); + xfer += iprot->readString((*(this->success))[_i765]); } 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 _size758; - ::apache::thrift::protocol::TType _etype761; - xfer += iprot->readListBegin(_etype761, _size758); - this->success.resize(_size758); - uint32_t _i762; - for (_i762 = 0; _i762 < _size758; ++_i762) + uint32_t _size766; + ::apache::thrift::protocol::TType _etype769; + xfer += iprot->readListBegin(_etype769, _size766); + this->success.resize(_size766); + uint32_t _i770; + for (_i770 = 0; _i770 < _size766; ++_i770) { - xfer += iprot->readString(this->success[_i762]); + xfer += iprot->readString(this->success[_i770]); } 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 _iter763; - for (_iter763 = this->success.begin(); _iter763 != this->success.end(); ++_iter763) + std::vector ::const_iterator _iter771; + for (_iter771 = this->success.begin(); _iter771 != this->success.end(); ++_iter771) { - xfer += oprot->writeString((*_iter763)); + xfer += oprot->writeString((*_iter771)); } 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 _size764; - ::apache::thrift::protocol::TType _etype767; - xfer += iprot->readListBegin(_etype767, _size764); - (*(this->success)).resize(_size764); - uint32_t _i768; - for (_i768 = 0; _i768 < _size764; ++_i768) + uint32_t _size772; + ::apache::thrift::protocol::TType _etype775; + xfer += iprot->readListBegin(_etype775, _size772); + (*(this->success)).resize(_size772); + uint32_t _i776; + for (_i776 = 0; _i776 < _size772; ++_i776) { - xfer += iprot->readString((*(this->success))[_i768]); + xfer += iprot->readString((*(this->success))[_i776]); } 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 _size769; - ::apache::thrift::protocol::TType _ktype770; - ::apache::thrift::protocol::TType _vtype771; - xfer += iprot->readMapBegin(_ktype770, _vtype771, _size769); - uint32_t _i773; - for (_i773 = 0; _i773 < _size769; ++_i773) + uint32_t _size777; + ::apache::thrift::protocol::TType _ktype778; + ::apache::thrift::protocol::TType _vtype779; + xfer += iprot->readMapBegin(_ktype778, _vtype779, _size777); + uint32_t _i781; + for (_i781 = 0; _i781 < _size777; ++_i781) { - std::string _key774; - xfer += iprot->readString(_key774); - Type& _val775 = this->success[_key774]; - xfer += _val775.read(iprot); + std::string _key782; + xfer += iprot->readString(_key782); + Type& _val783 = this->success[_key782]; + xfer += _val783.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 _iter776; - for (_iter776 = this->success.begin(); _iter776 != this->success.end(); ++_iter776) + std::map ::const_iterator _iter784; + for (_iter784 = this->success.begin(); _iter784 != this->success.end(); ++_iter784) { - xfer += oprot->writeString(_iter776->first); - xfer += _iter776->second.write(oprot); + xfer += oprot->writeString(_iter784->first); + xfer += _iter784->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 _size777; - ::apache::thrift::protocol::TType _ktype778; - ::apache::thrift::protocol::TType _vtype779; - xfer += iprot->readMapBegin(_ktype778, _vtype779, _size777); - uint32_t _i781; - for (_i781 = 0; _i781 < _size777; ++_i781) + uint32_t _size785; + ::apache::thrift::protocol::TType _ktype786; + ::apache::thrift::protocol::TType _vtype787; + xfer += iprot->readMapBegin(_ktype786, _vtype787, _size785); + uint32_t _i789; + for (_i789 = 0; _i789 < _size785; ++_i789) { - std::string _key782; - xfer += iprot->readString(_key782); - Type& _val783 = (*(this->success))[_key782]; - xfer += _val783.read(iprot); + std::string _key790; + xfer += iprot->readString(_key790); + Type& _val791 = (*(this->success))[_key790]; + xfer += _val791.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 _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(); } @@ -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 _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(); } @@ -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 _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(); } @@ -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 _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(); } @@ -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 _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(); } @@ -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 _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(); } @@ -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 _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 += this->success[_i810].read(iprot); + xfer += this->success[_i818].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 _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 += (*_iter811).write(oprot); + xfer += (*_iter819).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 _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 += (*(this->success))[_i816].read(iprot); + xfer += (*(this->success))[_i824].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 _size817; - ::apache::thrift::protocol::TType _etype820; - xfer += iprot->readListBegin(_etype820, _size817); - this->success.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->success.resize(_size825); + uint32_t _i829; + for (_i829 = 0; _i829 < _size825; ++_i829) { - xfer += this->success[_i821].read(iprot); + xfer += this->success[_i829].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 _iter822; - for (_iter822 = this->success.begin(); _iter822 != this->success.end(); ++_iter822) + std::vector ::const_iterator _iter830; + for (_iter830 = this->success.begin(); _iter830 != this->success.end(); ++_iter830) { - xfer += (*_iter822).write(oprot); + xfer += (*_iter830).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 _size823; - ::apache::thrift::protocol::TType _etype826; - xfer += iprot->readListBegin(_etype826, _size823); - (*(this->success)).resize(_size823); - uint32_t _i827; - for (_i827 = 0; _i827 < _size823; ++_i827) + uint32_t _size831; + ::apache::thrift::protocol::TType _etype834; + xfer += iprot->readListBegin(_etype834, _size831); + (*(this->success)).resize(_size831); + uint32_t _i835; + for (_i835 = 0; _i835 < _size831; ++_i835) { - xfer += (*(this->success))[_i827].read(iprot); + xfer += (*(this->success))[_i835].read(iprot); } xfer += iprot->readListEnd(); } @@ -4518,14 +4518,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->primaryKeys.clear(); - uint32_t _size828; - ::apache::thrift::protocol::TType _etype831; - xfer += iprot->readListBegin(_etype831, _size828); - this->primaryKeys.resize(_size828); - uint32_t _i832; - for (_i832 = 0; _i832 < _size828; ++_i832) + uint32_t _size836; + ::apache::thrift::protocol::TType _etype839; + xfer += iprot->readListBegin(_etype839, _size836); + this->primaryKeys.resize(_size836); + uint32_t _i840; + for (_i840 = 0; _i840 < _size836; ++_i840) { - xfer += this->primaryKeys[_i832].read(iprot); + xfer += this->primaryKeys[_i840].read(iprot); } xfer += iprot->readListEnd(); } @@ -4538,14 +4538,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->foreignKeys.clear(); - uint32_t _size833; - ::apache::thrift::protocol::TType _etype836; - xfer += iprot->readListBegin(_etype836, _size833); - this->foreignKeys.resize(_size833); - uint32_t _i837; - for (_i837 = 0; _i837 < _size833; ++_i837) + uint32_t _size841; + ::apache::thrift::protocol::TType _etype844; + xfer += iprot->readListBegin(_etype844, _size841); + this->foreignKeys.resize(_size841); + uint32_t _i845; + for (_i845 = 0; _i845 < _size841; ++_i845) { - xfer += this->foreignKeys[_i837].read(iprot); + xfer += this->foreignKeys[_i845].read(iprot); } xfer += iprot->readListEnd(); } @@ -4578,10 +4578,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("primaryKeys", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->primaryKeys.size())); - std::vector ::const_iterator _iter838; - for (_iter838 = this->primaryKeys.begin(); _iter838 != this->primaryKeys.end(); ++_iter838) + std::vector ::const_iterator _iter846; + for (_iter846 = this->primaryKeys.begin(); _iter846 != this->primaryKeys.end(); ++_iter846) { - xfer += (*_iter838).write(oprot); + xfer += (*_iter846).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4590,10 +4590,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("foreignKeys", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->foreignKeys.size())); - std::vector ::const_iterator _iter839; - for (_iter839 = this->foreignKeys.begin(); _iter839 != this->foreignKeys.end(); ++_iter839) + std::vector ::const_iterator _iter847; + for (_iter847 = this->foreignKeys.begin(); _iter847 != this->foreignKeys.end(); ++_iter847) { - xfer += (*_iter839).write(oprot); + xfer += (*_iter847).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4621,10 +4621,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("primaryKeys", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->primaryKeys)).size())); - std::vector ::const_iterator _iter840; - for (_iter840 = (*(this->primaryKeys)).begin(); _iter840 != (*(this->primaryKeys)).end(); ++_iter840) + std::vector ::const_iterator _iter848; + for (_iter848 = (*(this->primaryKeys)).begin(); _iter848 != (*(this->primaryKeys)).end(); ++_iter848) { - xfer += (*_iter840).write(oprot); + xfer += (*_iter848).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4633,10 +4633,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("foreignKeys", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->foreignKeys)).size())); - std::vector ::const_iterator _iter841; - for (_iter841 = (*(this->foreignKeys)).begin(); _iter841 != (*(this->foreignKeys)).end(); ++_iter841) + std::vector ::const_iterator _iter849; + for (_iter849 = (*(this->foreignKeys)).begin(); _iter849 != (*(this->foreignKeys)).end(); ++_iter849) { - xfer += (*_iter841).write(oprot); + xfer += (*_iter849).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5641,14 +5641,14 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size842; - ::apache::thrift::protocol::TType _etype845; - xfer += iprot->readListBegin(_etype845, _size842); - this->success.resize(_size842); - uint32_t _i846; - for (_i846 = 0; _i846 < _size842; ++_i846) + uint32_t _size850; + ::apache::thrift::protocol::TType _etype853; + xfer += iprot->readListBegin(_etype853, _size850); + this->success.resize(_size850); + uint32_t _i854; + for (_i854 = 0; _i854 < _size850; ++_i854) { - xfer += iprot->readString(this->success[_i846]); + xfer += iprot->readString(this->success[_i854]); } xfer += iprot->readListEnd(); } @@ -5687,10 +5687,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 _iter847; - for (_iter847 = this->success.begin(); _iter847 != this->success.end(); ++_iter847) + std::vector ::const_iterator _iter855; + for (_iter855 = this->success.begin(); _iter855 != this->success.end(); ++_iter855) { - xfer += oprot->writeString((*_iter847)); + xfer += oprot->writeString((*_iter855)); } xfer += oprot->writeListEnd(); } @@ -5735,14 +5735,14 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size848; - ::apache::thrift::protocol::TType _etype851; - xfer += iprot->readListBegin(_etype851, _size848); - (*(this->success)).resize(_size848); - uint32_t _i852; - for (_i852 = 0; _i852 < _size848; ++_i852) + uint32_t _size856; + ::apache::thrift::protocol::TType _etype859; + xfer += iprot->readListBegin(_etype859, _size856); + (*(this->success)).resize(_size856); + uint32_t _i860; + for (_i860 = 0; _i860 < _size856; ++_i860) { - xfer += iprot->readString((*(this->success))[_i852]); + xfer += iprot->readString((*(this->success))[_i860]); } xfer += iprot->readListEnd(); } @@ -5817,14 +5817,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 _size853; - ::apache::thrift::protocol::TType _etype856; - xfer += iprot->readListBegin(_etype856, _size853); - this->tbl_types.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->tbl_types.resize(_size861); + uint32_t _i865; + for (_i865 = 0; _i865 < _size861; ++_i865) { - xfer += iprot->readString(this->tbl_types[_i857]); + xfer += iprot->readString(this->tbl_types[_i865]); } xfer += iprot->readListEnd(); } @@ -5861,10 +5861,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 _iter858; - for (_iter858 = this->tbl_types.begin(); _iter858 != this->tbl_types.end(); ++_iter858) + std::vector ::const_iterator _iter866; + for (_iter866 = this->tbl_types.begin(); _iter866 != this->tbl_types.end(); ++_iter866) { - xfer += oprot->writeString((*_iter858)); + xfer += oprot->writeString((*_iter866)); } xfer += oprot->writeListEnd(); } @@ -5896,10 +5896,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 _iter859; - for (_iter859 = (*(this->tbl_types)).begin(); _iter859 != (*(this->tbl_types)).end(); ++_iter859) + std::vector ::const_iterator _iter867; + for (_iter867 = (*(this->tbl_types)).begin(); _iter867 != (*(this->tbl_types)).end(); ++_iter867) { - xfer += oprot->writeString((*_iter859)); + xfer += oprot->writeString((*_iter867)); } xfer += oprot->writeListEnd(); } @@ -5940,14 +5940,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size860; - ::apache::thrift::protocol::TType _etype863; - xfer += iprot->readListBegin(_etype863, _size860); - this->success.resize(_size860); - uint32_t _i864; - for (_i864 = 0; _i864 < _size860; ++_i864) + uint32_t _size868; + ::apache::thrift::protocol::TType _etype871; + xfer += iprot->readListBegin(_etype871, _size868); + this->success.resize(_size868); + uint32_t _i872; + for (_i872 = 0; _i872 < _size868; ++_i872) { - xfer += this->success[_i864].read(iprot); + xfer += this->success[_i872].read(iprot); } xfer += iprot->readListEnd(); } @@ -5986,10 +5986,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 _iter865; - for (_iter865 = this->success.begin(); _iter865 != this->success.end(); ++_iter865) + std::vector ::const_iterator _iter873; + for (_iter873 = this->success.begin(); _iter873 != this->success.end(); ++_iter873) { - xfer += (*_iter865).write(oprot); + xfer += (*_iter873).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6034,14 +6034,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size866; - ::apache::thrift::protocol::TType _etype869; - xfer += iprot->readListBegin(_etype869, _size866); - (*(this->success)).resize(_size866); - uint32_t _i870; - for (_i870 = 0; _i870 < _size866; ++_i870) + uint32_t _size874; + ::apache::thrift::protocol::TType _etype877; + xfer += iprot->readListBegin(_etype877, _size874); + (*(this->success)).resize(_size874); + uint32_t _i878; + for (_i878 = 0; _i878 < _size874; ++_i878) { - xfer += (*(this->success))[_i870].read(iprot); + xfer += (*(this->success))[_i878].read(iprot); } xfer += iprot->readListEnd(); } @@ -6179,14 +6179,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size871; - ::apache::thrift::protocol::TType _etype874; - xfer += iprot->readListBegin(_etype874, _size871); - this->success.resize(_size871); - uint32_t _i875; - for (_i875 = 0; _i875 < _size871; ++_i875) + uint32_t _size879; + ::apache::thrift::protocol::TType _etype882; + xfer += iprot->readListBegin(_etype882, _size879); + this->success.resize(_size879); + uint32_t _i883; + for (_i883 = 0; _i883 < _size879; ++_i883) { - xfer += iprot->readString(this->success[_i875]); + xfer += iprot->readString(this->success[_i883]); } xfer += iprot->readListEnd(); } @@ -6225,10 +6225,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 _iter876; - for (_iter876 = this->success.begin(); _iter876 != this->success.end(); ++_iter876) + std::vector ::const_iterator _iter884; + for (_iter884 = this->success.begin(); _iter884 != this->success.end(); ++_iter884) { - xfer += oprot->writeString((*_iter876)); + xfer += oprot->writeString((*_iter884)); } xfer += oprot->writeListEnd(); } @@ -6273,14 +6273,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size877; - ::apache::thrift::protocol::TType _etype880; - xfer += iprot->readListBegin(_etype880, _size877); - (*(this->success)).resize(_size877); - uint32_t _i881; - for (_i881 = 0; _i881 < _size877; ++_i881) + uint32_t _size885; + ::apache::thrift::protocol::TType _etype888; + xfer += iprot->readListBegin(_etype888, _size885); + (*(this->success)).resize(_size885); + uint32_t _i889; + for (_i889 = 0; _i889 < _size885; ++_i889) { - xfer += iprot->readString((*(this->success))[_i881]); + xfer += iprot->readString((*(this->success))[_i889]); } xfer += iprot->readListEnd(); } @@ -6590,14 +6590,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 _size882; - ::apache::thrift::protocol::TType _etype885; - xfer += iprot->readListBegin(_etype885, _size882); - this->tbl_names.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->tbl_names.resize(_size890); + uint32_t _i894; + for (_i894 = 0; _i894 < _size890; ++_i894) { - xfer += iprot->readString(this->tbl_names[_i886]); + xfer += iprot->readString(this->tbl_names[_i894]); } xfer += iprot->readListEnd(); } @@ -6630,10 +6630,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 _iter887; - for (_iter887 = this->tbl_names.begin(); _iter887 != this->tbl_names.end(); ++_iter887) + std::vector ::const_iterator _iter895; + for (_iter895 = this->tbl_names.begin(); _iter895 != this->tbl_names.end(); ++_iter895) { - xfer += oprot->writeString((*_iter887)); + xfer += oprot->writeString((*_iter895)); } xfer += oprot->writeListEnd(); } @@ -6661,10 +6661,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 _iter888; - for (_iter888 = (*(this->tbl_names)).begin(); _iter888 != (*(this->tbl_names)).end(); ++_iter888) + std::vector ::const_iterator _iter896; + for (_iter896 = (*(this->tbl_names)).begin(); _iter896 != (*(this->tbl_names)).end(); ++_iter896) { - xfer += oprot->writeString((*_iter888)); + xfer += oprot->writeString((*_iter896)); } xfer += oprot->writeListEnd(); } @@ -6705,14 +6705,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 _size889; - ::apache::thrift::protocol::TType _etype892; - xfer += iprot->readListBegin(_etype892, _size889); - this->success.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->success.resize(_size897); + uint32_t _i901; + for (_i901 = 0; _i901 < _size897; ++_i901) { - xfer += this->success[_i893].read(iprot); + xfer += this->success[_i901].read(iprot); } xfer += iprot->readListEnd(); } @@ -6767,10 +6767,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 _iter894; - for (_iter894 = this->success.begin(); _iter894 != this->success.end(); ++_iter894) + std::vector
::const_iterator _iter902; + for (_iter902 = this->success.begin(); _iter902 != this->success.end(); ++_iter902) { - xfer += (*_iter894).write(oprot); + xfer += (*_iter902).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6823,14 +6823,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 _size895; - ::apache::thrift::protocol::TType _etype898; - xfer += iprot->readListBegin(_etype898, _size895); - (*(this->success)).resize(_size895); - uint32_t _i899; - for (_i899 = 0; _i899 < _size895; ++_i899) + uint32_t _size903; + ::apache::thrift::protocol::TType _etype906; + xfer += iprot->readListBegin(_etype906, _size903); + (*(this->success)).resize(_size903); + uint32_t _i907; + for (_i907 = 0; _i907 < _size903; ++_i907) { - xfer += (*(this->success))[_i899].read(iprot); + xfer += (*(this->success))[_i907].read(iprot); } xfer += iprot->readListEnd(); } @@ -7016,14 +7016,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 _size900; - ::apache::thrift::protocol::TType _etype903; - xfer += iprot->readListBegin(_etype903, _size900); - this->success.resize(_size900); - uint32_t _i904; - for (_i904 = 0; _i904 < _size900; ++_i904) + uint32_t _size908; + ::apache::thrift::protocol::TType _etype911; + xfer += iprot->readListBegin(_etype911, _size908); + this->success.resize(_size908); + uint32_t _i912; + for (_i912 = 0; _i912 < _size908; ++_i912) { - xfer += iprot->readString(this->success[_i904]); + xfer += iprot->readString(this->success[_i912]); } xfer += iprot->readListEnd(); } @@ -7078,10 +7078,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 _iter905; - for (_iter905 = this->success.begin(); _iter905 != this->success.end(); ++_iter905) + std::vector ::const_iterator _iter913; + for (_iter913 = this->success.begin(); _iter913 != this->success.end(); ++_iter913) { - xfer += oprot->writeString((*_iter905)); + xfer += oprot->writeString((*_iter913)); } xfer += oprot->writeListEnd(); } @@ -7134,14 +7134,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 _size906; - ::apache::thrift::protocol::TType _etype909; - xfer += iprot->readListBegin(_etype909, _size906); - (*(this->success)).resize(_size906); - uint32_t _i910; - for (_i910 = 0; _i910 < _size906; ++_i910) + uint32_t _size914; + ::apache::thrift::protocol::TType _etype917; + xfer += iprot->readListBegin(_etype917, _size914); + (*(this->success)).resize(_size914); + uint32_t _i918; + for (_i918 = 0; _i918 < _size914; ++_i918) { - xfer += iprot->readString((*(this->success))[_i910]); + xfer += iprot->readString((*(this->success))[_i918]); } xfer += iprot->readListEnd(); } @@ -8475,14 +8475,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size911; - ::apache::thrift::protocol::TType _etype914; - xfer += iprot->readListBegin(_etype914, _size911); - this->new_parts.resize(_size911); - uint32_t _i915; - for (_i915 = 0; _i915 < _size911; ++_i915) + uint32_t _size919; + ::apache::thrift::protocol::TType _etype922; + xfer += iprot->readListBegin(_etype922, _size919); + this->new_parts.resize(_size919); + uint32_t _i923; + for (_i923 = 0; _i923 < _size919; ++_i923) { - xfer += this->new_parts[_i915].read(iprot); + xfer += this->new_parts[_i923].read(iprot); } xfer += iprot->readListEnd(); } @@ -8511,10 +8511,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 _iter916; - for (_iter916 = this->new_parts.begin(); _iter916 != this->new_parts.end(); ++_iter916) + std::vector ::const_iterator _iter924; + for (_iter924 = this->new_parts.begin(); _iter924 != this->new_parts.end(); ++_iter924) { - xfer += (*_iter916).write(oprot); + xfer += (*_iter924).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8538,10 +8538,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 _iter917; - for (_iter917 = (*(this->new_parts)).begin(); _iter917 != (*(this->new_parts)).end(); ++_iter917) + std::vector ::const_iterator _iter925; + for (_iter925 = (*(this->new_parts)).begin(); _iter925 != (*(this->new_parts)).end(); ++_iter925) { - xfer += (*_iter917).write(oprot); + xfer += (*_iter925).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8750,14 +8750,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 _size918; - ::apache::thrift::protocol::TType _etype921; - xfer += iprot->readListBegin(_etype921, _size918); - this->new_parts.resize(_size918); - uint32_t _i922; - for (_i922 = 0; _i922 < _size918; ++_i922) + uint32_t _size926; + ::apache::thrift::protocol::TType _etype929; + xfer += iprot->readListBegin(_etype929, _size926); + this->new_parts.resize(_size926); + uint32_t _i930; + for (_i930 = 0; _i930 < _size926; ++_i930) { - xfer += this->new_parts[_i922].read(iprot); + xfer += this->new_parts[_i930].read(iprot); } xfer += iprot->readListEnd(); } @@ -8786,10 +8786,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 _iter923; - for (_iter923 = this->new_parts.begin(); _iter923 != this->new_parts.end(); ++_iter923) + std::vector ::const_iterator _iter931; + for (_iter931 = this->new_parts.begin(); _iter931 != this->new_parts.end(); ++_iter931) { - xfer += (*_iter923).write(oprot); + xfer += (*_iter931).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8813,10 +8813,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 _iter924; - for (_iter924 = (*(this->new_parts)).begin(); _iter924 != (*(this->new_parts)).end(); ++_iter924) + std::vector ::const_iterator _iter932; + for (_iter932 = (*(this->new_parts)).begin(); _iter932 != (*(this->new_parts)).end(); ++_iter932) { - xfer += (*_iter924).write(oprot); + xfer += (*_iter932).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9041,14 +9041,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - 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) + uint32_t _size933; + ::apache::thrift::protocol::TType _etype936; + xfer += iprot->readListBegin(_etype936, _size933); + this->part_vals.resize(_size933); + uint32_t _i937; + for (_i937 = 0; _i937 < _size933; ++_i937) { - xfer += iprot->readString(this->part_vals[_i929]); + xfer += iprot->readString(this->part_vals[_i937]); } xfer += iprot->readListEnd(); } @@ -9085,10 +9085,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 _iter930; - for (_iter930 = this->part_vals.begin(); _iter930 != this->part_vals.end(); ++_iter930) + std::vector ::const_iterator _iter938; + for (_iter938 = this->part_vals.begin(); _iter938 != this->part_vals.end(); ++_iter938) { - xfer += oprot->writeString((*_iter930)); + xfer += oprot->writeString((*_iter938)); } xfer += oprot->writeListEnd(); } @@ -9120,10 +9120,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 _iter931; - for (_iter931 = (*(this->part_vals)).begin(); _iter931 != (*(this->part_vals)).end(); ++_iter931) + std::vector ::const_iterator _iter939; + for (_iter939 = (*(this->part_vals)).begin(); _iter939 != (*(this->part_vals)).end(); ++_iter939) { - xfer += oprot->writeString((*_iter931)); + xfer += oprot->writeString((*_iter939)); } xfer += oprot->writeListEnd(); } @@ -9595,14 +9595,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size932; - ::apache::thrift::protocol::TType _etype935; - xfer += iprot->readListBegin(_etype935, _size932); - this->part_vals.resize(_size932); - uint32_t _i936; - for (_i936 = 0; _i936 < _size932; ++_i936) + uint32_t _size940; + ::apache::thrift::protocol::TType _etype943; + xfer += iprot->readListBegin(_etype943, _size940); + this->part_vals.resize(_size940); + uint32_t _i944; + for (_i944 = 0; _i944 < _size940; ++_i944) { - xfer += iprot->readString(this->part_vals[_i936]); + xfer += iprot->readString(this->part_vals[_i944]); } xfer += iprot->readListEnd(); } @@ -9647,10 +9647,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 _iter937; - for (_iter937 = this->part_vals.begin(); _iter937 != this->part_vals.end(); ++_iter937) + std::vector ::const_iterator _iter945; + for (_iter945 = this->part_vals.begin(); _iter945 != this->part_vals.end(); ++_iter945) { - xfer += oprot->writeString((*_iter937)); + xfer += oprot->writeString((*_iter945)); } xfer += oprot->writeListEnd(); } @@ -9686,10 +9686,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 _iter938; - for (_iter938 = (*(this->part_vals)).begin(); _iter938 != (*(this->part_vals)).end(); ++_iter938) + std::vector ::const_iterator _iter946; + for (_iter946 = (*(this->part_vals)).begin(); _iter946 != (*(this->part_vals)).end(); ++_iter946) { - xfer += oprot->writeString((*_iter938)); + xfer += oprot->writeString((*_iter946)); } xfer += oprot->writeListEnd(); } @@ -10492,14 +10492,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size939; - ::apache::thrift::protocol::TType _etype942; - xfer += iprot->readListBegin(_etype942, _size939); - this->part_vals.resize(_size939); - uint32_t _i943; - for (_i943 = 0; _i943 < _size939; ++_i943) + uint32_t _size947; + ::apache::thrift::protocol::TType _etype950; + xfer += iprot->readListBegin(_etype950, _size947); + this->part_vals.resize(_size947); + uint32_t _i951; + for (_i951 = 0; _i951 < _size947; ++_i951) { - xfer += iprot->readString(this->part_vals[_i943]); + xfer += iprot->readString(this->part_vals[_i951]); } xfer += iprot->readListEnd(); } @@ -10544,10 +10544,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 _iter944; - for (_iter944 = this->part_vals.begin(); _iter944 != this->part_vals.end(); ++_iter944) + std::vector ::const_iterator _iter952; + for (_iter952 = this->part_vals.begin(); _iter952 != this->part_vals.end(); ++_iter952) { - xfer += oprot->writeString((*_iter944)); + xfer += oprot->writeString((*_iter952)); } xfer += oprot->writeListEnd(); } @@ -10583,10 +10583,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 _iter945; - for (_iter945 = (*(this->part_vals)).begin(); _iter945 != (*(this->part_vals)).end(); ++_iter945) + std::vector ::const_iterator _iter953; + for (_iter953 = (*(this->part_vals)).begin(); _iter953 != (*(this->part_vals)).end(); ++_iter953) { - xfer += oprot->writeString((*_iter945)); + xfer += oprot->writeString((*_iter953)); } xfer += oprot->writeListEnd(); } @@ -10795,14 +10795,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size946; - ::apache::thrift::protocol::TType _etype949; - xfer += iprot->readListBegin(_etype949, _size946); - this->part_vals.resize(_size946); - uint32_t _i950; - for (_i950 = 0; _i950 < _size946; ++_i950) + uint32_t _size954; + ::apache::thrift::protocol::TType _etype957; + xfer += iprot->readListBegin(_etype957, _size954); + this->part_vals.resize(_size954); + uint32_t _i958; + for (_i958 = 0; _i958 < _size954; ++_i958) { - xfer += iprot->readString(this->part_vals[_i950]); + xfer += iprot->readString(this->part_vals[_i958]); } xfer += iprot->readListEnd(); } @@ -10855,10 +10855,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 _iter951; - for (_iter951 = this->part_vals.begin(); _iter951 != this->part_vals.end(); ++_iter951) + std::vector ::const_iterator _iter959; + for (_iter959 = this->part_vals.begin(); _iter959 != this->part_vals.end(); ++_iter959) { - xfer += oprot->writeString((*_iter951)); + xfer += oprot->writeString((*_iter959)); } xfer += oprot->writeListEnd(); } @@ -10898,10 +10898,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 _iter952; - for (_iter952 = (*(this->part_vals)).begin(); _iter952 != (*(this->part_vals)).end(); ++_iter952) + std::vector ::const_iterator _iter960; + for (_iter960 = (*(this->part_vals)).begin(); _iter960 != (*(this->part_vals)).end(); ++_iter960) { - xfer += oprot->writeString((*_iter952)); + xfer += oprot->writeString((*_iter960)); } xfer += oprot->writeListEnd(); } @@ -11907,14 +11907,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol 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(); } @@ -11951,10 +11951,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 _iter958; - for (_iter958 = this->part_vals.begin(); _iter958 != this->part_vals.end(); ++_iter958) + std::vector ::const_iterator _iter966; + for (_iter966 = this->part_vals.begin(); _iter966 != this->part_vals.end(); ++_iter966) { - xfer += oprot->writeString((*_iter958)); + xfer += oprot->writeString((*_iter966)); } xfer += oprot->writeListEnd(); } @@ -11986,10 +11986,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 _iter959; - for (_iter959 = (*(this->part_vals)).begin(); _iter959 != (*(this->part_vals)).end(); ++_iter959) + std::vector ::const_iterator _iter967; + for (_iter967 = (*(this->part_vals)).begin(); _iter967 != (*(this->part_vals)).end(); ++_iter967) { - xfer += oprot->writeString((*_iter959)); + xfer += oprot->writeString((*_iter967)); } xfer += oprot->writeListEnd(); } @@ -12178,17 +12178,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size960; - ::apache::thrift::protocol::TType _ktype961; - ::apache::thrift::protocol::TType _vtype962; - xfer += iprot->readMapBegin(_ktype961, _vtype962, _size960); - uint32_t _i964; - for (_i964 = 0; _i964 < _size960; ++_i964) + uint32_t _size968; + ::apache::thrift::protocol::TType _ktype969; + ::apache::thrift::protocol::TType _vtype970; + xfer += iprot->readMapBegin(_ktype969, _vtype970, _size968); + uint32_t _i972; + for (_i972 = 0; _i972 < _size968; ++_i972) { - std::string _key965; - xfer += iprot->readString(_key965); - std::string& _val966 = this->partitionSpecs[_key965]; - xfer += iprot->readString(_val966); + std::string _key973; + xfer += iprot->readString(_key973); + std::string& _val974 = this->partitionSpecs[_key973]; + xfer += iprot->readString(_val974); } xfer += iprot->readMapEnd(); } @@ -12249,11 +12249,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 _iter967; - for (_iter967 = this->partitionSpecs.begin(); _iter967 != this->partitionSpecs.end(); ++_iter967) + std::map ::const_iterator _iter975; + for (_iter975 = this->partitionSpecs.begin(); _iter975 != this->partitionSpecs.end(); ++_iter975) { - xfer += oprot->writeString(_iter967->first); - xfer += oprot->writeString(_iter967->second); + xfer += oprot->writeString(_iter975->first); + xfer += oprot->writeString(_iter975->second); } xfer += oprot->writeMapEnd(); } @@ -12293,11 +12293,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 _iter968; - for (_iter968 = (*(this->partitionSpecs)).begin(); _iter968 != (*(this->partitionSpecs)).end(); ++_iter968) + std::map ::const_iterator _iter976; + for (_iter976 = (*(this->partitionSpecs)).begin(); _iter976 != (*(this->partitionSpecs)).end(); ++_iter976) { - xfer += oprot->writeString(_iter968->first); - xfer += oprot->writeString(_iter968->second); + xfer += oprot->writeString(_iter976->first); + xfer += oprot->writeString(_iter976->second); } xfer += oprot->writeMapEnd(); } @@ -12542,17 +12542,17 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size969; - ::apache::thrift::protocol::TType _ktype970; - ::apache::thrift::protocol::TType _vtype971; - xfer += iprot->readMapBegin(_ktype970, _vtype971, _size969); - uint32_t _i973; - for (_i973 = 0; _i973 < _size969; ++_i973) + uint32_t _size977; + ::apache::thrift::protocol::TType _ktype978; + ::apache::thrift::protocol::TType _vtype979; + xfer += iprot->readMapBegin(_ktype978, _vtype979, _size977); + uint32_t _i981; + for (_i981 = 0; _i981 < _size977; ++_i981) { - std::string _key974; - xfer += iprot->readString(_key974); - std::string& _val975 = this->partitionSpecs[_key974]; - xfer += iprot->readString(_val975); + std::string _key982; + xfer += iprot->readString(_key982); + std::string& _val983 = this->partitionSpecs[_key982]; + xfer += iprot->readString(_val983); } xfer += iprot->readMapEnd(); } @@ -12613,11 +12613,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 _iter976; - for (_iter976 = this->partitionSpecs.begin(); _iter976 != this->partitionSpecs.end(); ++_iter976) + std::map ::const_iterator _iter984; + for (_iter984 = this->partitionSpecs.begin(); _iter984 != this->partitionSpecs.end(); ++_iter984) { - xfer += oprot->writeString(_iter976->first); - xfer += oprot->writeString(_iter976->second); + xfer += oprot->writeString(_iter984->first); + xfer += oprot->writeString(_iter984->second); } xfer += oprot->writeMapEnd(); } @@ -12657,11 +12657,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 _iter977; - for (_iter977 = (*(this->partitionSpecs)).begin(); _iter977 != (*(this->partitionSpecs)).end(); ++_iter977) + std::map ::const_iterator _iter985; + for (_iter985 = (*(this->partitionSpecs)).begin(); _iter985 != (*(this->partitionSpecs)).end(); ++_iter985) { - xfer += oprot->writeString(_iter977->first); - xfer += oprot->writeString(_iter977->second); + xfer += oprot->writeString(_iter985->first); + xfer += oprot->writeString(_iter985->second); } xfer += oprot->writeMapEnd(); } @@ -12718,14 +12718,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size978; - ::apache::thrift::protocol::TType _etype981; - xfer += iprot->readListBegin(_etype981, _size978); - this->success.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->success.resize(_size986); + uint32_t _i990; + for (_i990 = 0; _i990 < _size986; ++_i990) { - xfer += this->success[_i982].read(iprot); + xfer += this->success[_i990].read(iprot); } xfer += iprot->readListEnd(); } @@ -12788,10 +12788,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 _iter983; - for (_iter983 = this->success.begin(); _iter983 != this->success.end(); ++_iter983) + std::vector ::const_iterator _iter991; + for (_iter991 = this->success.begin(); _iter991 != this->success.end(); ++_iter991) { - xfer += (*_iter983).write(oprot); + xfer += (*_iter991).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12848,14 +12848,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size984; - ::apache::thrift::protocol::TType _etype987; - xfer += iprot->readListBegin(_etype987, _size984); - (*(this->success)).resize(_size984); - uint32_t _i988; - for (_i988 = 0; _i988 < _size984; ++_i988) + uint32_t _size992; + ::apache::thrift::protocol::TType _etype995; + xfer += iprot->readListBegin(_etype995, _size992); + (*(this->success)).resize(_size992); + uint32_t _i996; + for (_i996 = 0; _i996 < _size992; ++_i996) { - xfer += (*(this->success))[_i988].read(iprot); + xfer += (*(this->success))[_i996].read(iprot); } xfer += iprot->readListEnd(); } @@ -12954,14 +12954,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 _size989; - ::apache::thrift::protocol::TType _etype992; - xfer += iprot->readListBegin(_etype992, _size989); - this->part_vals.resize(_size989); - uint32_t _i993; - for (_i993 = 0; _i993 < _size989; ++_i993) + uint32_t _size997; + ::apache::thrift::protocol::TType _etype1000; + xfer += iprot->readListBegin(_etype1000, _size997); + this->part_vals.resize(_size997); + uint32_t _i1001; + for (_i1001 = 0; _i1001 < _size997; ++_i1001) { - xfer += iprot->readString(this->part_vals[_i993]); + xfer += iprot->readString(this->part_vals[_i1001]); } xfer += iprot->readListEnd(); } @@ -12982,14 +12982,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 _size994; - ::apache::thrift::protocol::TType _etype997; - xfer += iprot->readListBegin(_etype997, _size994); - this->group_names.resize(_size994); - uint32_t _i998; - for (_i998 = 0; _i998 < _size994; ++_i998) + uint32_t _size1002; + ::apache::thrift::protocol::TType _etype1005; + xfer += iprot->readListBegin(_etype1005, _size1002); + this->group_names.resize(_size1002); + uint32_t _i1006; + for (_i1006 = 0; _i1006 < _size1002; ++_i1006) { - xfer += iprot->readString(this->group_names[_i998]); + xfer += iprot->readString(this->group_names[_i1006]); } xfer += iprot->readListEnd(); } @@ -13026,10 +13026,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 _iter999; - for (_iter999 = this->part_vals.begin(); _iter999 != this->part_vals.end(); ++_iter999) + std::vector ::const_iterator _iter1007; + for (_iter1007 = this->part_vals.begin(); _iter1007 != this->part_vals.end(); ++_iter1007) { - xfer += oprot->writeString((*_iter999)); + xfer += oprot->writeString((*_iter1007)); } xfer += oprot->writeListEnd(); } @@ -13042,10 +13042,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 _iter1000; - for (_iter1000 = this->group_names.begin(); _iter1000 != this->group_names.end(); ++_iter1000) + std::vector ::const_iterator _iter1008; + for (_iter1008 = this->group_names.begin(); _iter1008 != this->group_names.end(); ++_iter1008) { - xfer += oprot->writeString((*_iter1000)); + xfer += oprot->writeString((*_iter1008)); } xfer += oprot->writeListEnd(); } @@ -13077,10 +13077,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 _iter1001; - for (_iter1001 = (*(this->part_vals)).begin(); _iter1001 != (*(this->part_vals)).end(); ++_iter1001) + std::vector ::const_iterator _iter1009; + for (_iter1009 = (*(this->part_vals)).begin(); _iter1009 != (*(this->part_vals)).end(); ++_iter1009) { - xfer += oprot->writeString((*_iter1001)); + xfer += oprot->writeString((*_iter1009)); } xfer += oprot->writeListEnd(); } @@ -13093,10 +13093,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 _iter1002; - for (_iter1002 = (*(this->group_names)).begin(); _iter1002 != (*(this->group_names)).end(); ++_iter1002) + std::vector ::const_iterator _iter1010; + for (_iter1010 = (*(this->group_names)).begin(); _iter1010 != (*(this->group_names)).end(); ++_iter1010) { - xfer += oprot->writeString((*_iter1002)); + xfer += oprot->writeString((*_iter1010)); } xfer += oprot->writeListEnd(); } @@ -13655,14 +13655,14 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1003; - ::apache::thrift::protocol::TType _etype1006; - xfer += iprot->readListBegin(_etype1006, _size1003); - this->success.resize(_size1003); - uint32_t _i1007; - for (_i1007 = 0; _i1007 < _size1003; ++_i1007) + uint32_t _size1011; + ::apache::thrift::protocol::TType _etype1014; + xfer += iprot->readListBegin(_etype1014, _size1011); + this->success.resize(_size1011); + uint32_t _i1015; + for (_i1015 = 0; _i1015 < _size1011; ++_i1015) { - xfer += this->success[_i1007].read(iprot); + xfer += this->success[_i1015].read(iprot); } xfer += iprot->readListEnd(); } @@ -13709,10 +13709,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 _iter1008; - for (_iter1008 = this->success.begin(); _iter1008 != this->success.end(); ++_iter1008) + std::vector ::const_iterator _iter1016; + for (_iter1016 = this->success.begin(); _iter1016 != this->success.end(); ++_iter1016) { - xfer += (*_iter1008).write(oprot); + xfer += (*_iter1016).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13761,14 +13761,14 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1009; - ::apache::thrift::protocol::TType _etype1012; - xfer += iprot->readListBegin(_etype1012, _size1009); - (*(this->success)).resize(_size1009); - uint32_t _i1013; - for (_i1013 = 0; _i1013 < _size1009; ++_i1013) + uint32_t _size1017; + ::apache::thrift::protocol::TType _etype1020; + xfer += iprot->readListBegin(_etype1020, _size1017); + (*(this->success)).resize(_size1017); + uint32_t _i1021; + for (_i1021 = 0; _i1021 < _size1017; ++_i1021) { - xfer += (*(this->success))[_i1013].read(iprot); + xfer += (*(this->success))[_i1021].read(iprot); } xfer += iprot->readListEnd(); } @@ -13867,14 +13867,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 _size1014; - ::apache::thrift::protocol::TType _etype1017; - xfer += iprot->readListBegin(_etype1017, _size1014); - this->group_names.resize(_size1014); - uint32_t _i1018; - for (_i1018 = 0; _i1018 < _size1014; ++_i1018) + uint32_t _size1022; + ::apache::thrift::protocol::TType _etype1025; + xfer += iprot->readListBegin(_etype1025, _size1022); + this->group_names.resize(_size1022); + uint32_t _i1026; + for (_i1026 = 0; _i1026 < _size1022; ++_i1026) { - xfer += iprot->readString(this->group_names[_i1018]); + xfer += iprot->readString(this->group_names[_i1026]); } xfer += iprot->readListEnd(); } @@ -13919,10 +13919,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 _iter1019; - for (_iter1019 = this->group_names.begin(); _iter1019 != this->group_names.end(); ++_iter1019) + std::vector ::const_iterator _iter1027; + for (_iter1027 = this->group_names.begin(); _iter1027 != this->group_names.end(); ++_iter1027) { - xfer += oprot->writeString((*_iter1019)); + xfer += oprot->writeString((*_iter1027)); } xfer += oprot->writeListEnd(); } @@ -13962,10 +13962,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 _iter1020; - for (_iter1020 = (*(this->group_names)).begin(); _iter1020 != (*(this->group_names)).end(); ++_iter1020) + std::vector ::const_iterator _iter1028; + for (_iter1028 = (*(this->group_names)).begin(); _iter1028 != (*(this->group_names)).end(); ++_iter1028) { - xfer += oprot->writeString((*_iter1020)); + xfer += oprot->writeString((*_iter1028)); } xfer += oprot->writeListEnd(); } @@ -14006,14 +14006,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - 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) + uint32_t _size1029; + ::apache::thrift::protocol::TType _etype1032; + xfer += iprot->readListBegin(_etype1032, _size1029); + this->success.resize(_size1029); + uint32_t _i1033; + for (_i1033 = 0; _i1033 < _size1029; ++_i1033) { - xfer += this->success[_i1025].read(iprot); + xfer += this->success[_i1033].read(iprot); } xfer += iprot->readListEnd(); } @@ -14060,10 +14060,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 _iter1026; - for (_iter1026 = this->success.begin(); _iter1026 != this->success.end(); ++_iter1026) + std::vector ::const_iterator _iter1034; + for (_iter1034 = this->success.begin(); _iter1034 != this->success.end(); ++_iter1034) { - xfer += (*_iter1026).write(oprot); + xfer += (*_iter1034).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14112,14 +14112,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1027; - ::apache::thrift::protocol::TType _etype1030; - xfer += iprot->readListBegin(_etype1030, _size1027); - (*(this->success)).resize(_size1027); - uint32_t _i1031; - for (_i1031 = 0; _i1031 < _size1027; ++_i1031) + uint32_t _size1035; + ::apache::thrift::protocol::TType _etype1038; + xfer += iprot->readListBegin(_etype1038, _size1035); + (*(this->success)).resize(_size1035); + uint32_t _i1039; + for (_i1039 = 0; _i1039 < _size1035; ++_i1039) { - xfer += (*(this->success))[_i1031].read(iprot); + xfer += (*(this->success))[_i1039].read(iprot); } xfer += iprot->readListEnd(); } @@ -14297,14 +14297,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1032; - ::apache::thrift::protocol::TType _etype1035; - xfer += iprot->readListBegin(_etype1035, _size1032); - this->success.resize(_size1032); - uint32_t _i1036; - for (_i1036 = 0; _i1036 < _size1032; ++_i1036) + uint32_t _size1040; + ::apache::thrift::protocol::TType _etype1043; + xfer += iprot->readListBegin(_etype1043, _size1040); + this->success.resize(_size1040); + uint32_t _i1044; + for (_i1044 = 0; _i1044 < _size1040; ++_i1044) { - xfer += this->success[_i1036].read(iprot); + xfer += this->success[_i1044].read(iprot); } xfer += iprot->readListEnd(); } @@ -14351,10 +14351,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 _iter1037; - for (_iter1037 = this->success.begin(); _iter1037 != this->success.end(); ++_iter1037) + std::vector ::const_iterator _iter1045; + for (_iter1045 = this->success.begin(); _iter1045 != this->success.end(); ++_iter1045) { - xfer += (*_iter1037).write(oprot); + xfer += (*_iter1045).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14403,14 +14403,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_presult::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1038; - ::apache::thrift::protocol::TType _etype1041; - xfer += iprot->readListBegin(_etype1041, _size1038); - (*(this->success)).resize(_size1038); - uint32_t _i1042; - for (_i1042 = 0; _i1042 < _size1038; ++_i1042) + uint32_t _size1046; + ::apache::thrift::protocol::TType _etype1049; + xfer += iprot->readListBegin(_etype1049, _size1046); + (*(this->success)).resize(_size1046); + uint32_t _i1050; + for (_i1050 = 0; _i1050 < _size1046; ++_i1050) { - xfer += (*(this->success))[_i1042].read(iprot); + xfer += (*(this->success))[_i1050].read(iprot); } xfer += iprot->readListEnd(); } @@ -14588,14 +14588,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1043; - ::apache::thrift::protocol::TType _etype1046; - xfer += iprot->readListBegin(_etype1046, _size1043); - this->success.resize(_size1043); - uint32_t _i1047; - for (_i1047 = 0; _i1047 < _size1043; ++_i1047) + uint32_t _size1051; + ::apache::thrift::protocol::TType _etype1054; + xfer += iprot->readListBegin(_etype1054, _size1051); + this->success.resize(_size1051); + uint32_t _i1055; + for (_i1055 = 0; _i1055 < _size1051; ++_i1055) { - xfer += iprot->readString(this->success[_i1047]); + xfer += iprot->readString(this->success[_i1055]); } xfer += iprot->readListEnd(); } @@ -14634,10 +14634,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 _iter1048; - for (_iter1048 = this->success.begin(); _iter1048 != this->success.end(); ++_iter1048) + std::vector ::const_iterator _iter1056; + for (_iter1056 = this->success.begin(); _iter1056 != this->success.end(); ++_iter1056) { - xfer += oprot->writeString((*_iter1048)); + xfer += oprot->writeString((*_iter1056)); } xfer += oprot->writeListEnd(); } @@ -14682,14 +14682,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1049; - ::apache::thrift::protocol::TType _etype1052; - xfer += iprot->readListBegin(_etype1052, _size1049); - (*(this->success)).resize(_size1049); - uint32_t _i1053; - for (_i1053 = 0; _i1053 < _size1049; ++_i1053) + uint32_t _size1057; + ::apache::thrift::protocol::TType _etype1060; + xfer += iprot->readListBegin(_etype1060, _size1057); + (*(this->success)).resize(_size1057); + uint32_t _i1061; + for (_i1061 = 0; _i1061 < _size1057; ++_i1061) { - xfer += iprot->readString((*(this->success))[_i1053]); + xfer += iprot->readString((*(this->success))[_i1061]); } xfer += iprot->readListEnd(); } @@ -14764,14 +14764,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 _size1054; - ::apache::thrift::protocol::TType _etype1057; - xfer += iprot->readListBegin(_etype1057, _size1054); - this->part_vals.resize(_size1054); - uint32_t _i1058; - for (_i1058 = 0; _i1058 < _size1054; ++_i1058) + uint32_t _size1062; + ::apache::thrift::protocol::TType _etype1065; + xfer += iprot->readListBegin(_etype1065, _size1062); + this->part_vals.resize(_size1062); + uint32_t _i1066; + for (_i1066 = 0; _i1066 < _size1062; ++_i1066) { - xfer += iprot->readString(this->part_vals[_i1058]); + xfer += iprot->readString(this->part_vals[_i1066]); } xfer += iprot->readListEnd(); } @@ -14816,10 +14816,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 _iter1059; - for (_iter1059 = this->part_vals.begin(); _iter1059 != this->part_vals.end(); ++_iter1059) + std::vector ::const_iterator _iter1067; + for (_iter1067 = this->part_vals.begin(); _iter1067 != this->part_vals.end(); ++_iter1067) { - xfer += oprot->writeString((*_iter1059)); + xfer += oprot->writeString((*_iter1067)); } xfer += oprot->writeListEnd(); } @@ -14855,10 +14855,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 _iter1060; - for (_iter1060 = (*(this->part_vals)).begin(); _iter1060 != (*(this->part_vals)).end(); ++_iter1060) + std::vector ::const_iterator _iter1068; + for (_iter1068 = (*(this->part_vals)).begin(); _iter1068 != (*(this->part_vals)).end(); ++_iter1068) { - xfer += oprot->writeString((*_iter1060)); + xfer += oprot->writeString((*_iter1068)); } xfer += oprot->writeListEnd(); } @@ -14903,14 +14903,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1061; - ::apache::thrift::protocol::TType _etype1064; - xfer += iprot->readListBegin(_etype1064, _size1061); - this->success.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->success.resize(_size1069); + uint32_t _i1073; + for (_i1073 = 0; _i1073 < _size1069; ++_i1073) { - xfer += this->success[_i1065].read(iprot); + xfer += this->success[_i1073].read(iprot); } xfer += iprot->readListEnd(); } @@ -14957,10 +14957,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 _iter1066; - for (_iter1066 = this->success.begin(); _iter1066 != this->success.end(); ++_iter1066) + std::vector ::const_iterator _iter1074; + for (_iter1074 = this->success.begin(); _iter1074 != this->success.end(); ++_iter1074) { - xfer += (*_iter1066).write(oprot); + xfer += (*_iter1074).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15009,14 +15009,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1067; - ::apache::thrift::protocol::TType _etype1070; - xfer += iprot->readListBegin(_etype1070, _size1067); - (*(this->success)).resize(_size1067); - uint32_t _i1071; - for (_i1071 = 0; _i1071 < _size1067; ++_i1071) + uint32_t _size1075; + ::apache::thrift::protocol::TType _etype1078; + xfer += iprot->readListBegin(_etype1078, _size1075); + (*(this->success)).resize(_size1075); + uint32_t _i1079; + for (_i1079 = 0; _i1079 < _size1075; ++_i1079) { - xfer += (*(this->success))[_i1071].read(iprot); + xfer += (*(this->success))[_i1079].read(iprot); } xfer += iprot->readListEnd(); } @@ -15099,14 +15099,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 _size1072; - ::apache::thrift::protocol::TType _etype1075; - xfer += iprot->readListBegin(_etype1075, _size1072); - this->part_vals.resize(_size1072); - uint32_t _i1076; - for (_i1076 = 0; _i1076 < _size1072; ++_i1076) + uint32_t _size1080; + ::apache::thrift::protocol::TType _etype1083; + xfer += iprot->readListBegin(_etype1083, _size1080); + this->part_vals.resize(_size1080); + uint32_t _i1084; + for (_i1084 = 0; _i1084 < _size1080; ++_i1084) { - xfer += iprot->readString(this->part_vals[_i1076]); + xfer += iprot->readString(this->part_vals[_i1084]); } xfer += iprot->readListEnd(); } @@ -15135,14 +15135,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 _size1077; - ::apache::thrift::protocol::TType _etype1080; - xfer += iprot->readListBegin(_etype1080, _size1077); - this->group_names.resize(_size1077); - uint32_t _i1081; - for (_i1081 = 0; _i1081 < _size1077; ++_i1081) + uint32_t _size1085; + ::apache::thrift::protocol::TType _etype1088; + xfer += iprot->readListBegin(_etype1088, _size1085); + this->group_names.resize(_size1085); + uint32_t _i1089; + for (_i1089 = 0; _i1089 < _size1085; ++_i1089) { - xfer += iprot->readString(this->group_names[_i1081]); + xfer += iprot->readString(this->group_names[_i1089]); } xfer += iprot->readListEnd(); } @@ -15179,10 +15179,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 _iter1082; - for (_iter1082 = this->part_vals.begin(); _iter1082 != this->part_vals.end(); ++_iter1082) + std::vector ::const_iterator _iter1090; + for (_iter1090 = this->part_vals.begin(); _iter1090 != this->part_vals.end(); ++_iter1090) { - xfer += oprot->writeString((*_iter1082)); + xfer += oprot->writeString((*_iter1090)); } xfer += oprot->writeListEnd(); } @@ -15199,10 +15199,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 _iter1083; - for (_iter1083 = this->group_names.begin(); _iter1083 != this->group_names.end(); ++_iter1083) + std::vector ::const_iterator _iter1091; + for (_iter1091 = this->group_names.begin(); _iter1091 != this->group_names.end(); ++_iter1091) { - xfer += oprot->writeString((*_iter1083)); + xfer += oprot->writeString((*_iter1091)); } xfer += oprot->writeListEnd(); } @@ -15234,10 +15234,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 _iter1084; - for (_iter1084 = (*(this->part_vals)).begin(); _iter1084 != (*(this->part_vals)).end(); ++_iter1084) + std::vector ::const_iterator _iter1092; + for (_iter1092 = (*(this->part_vals)).begin(); _iter1092 != (*(this->part_vals)).end(); ++_iter1092) { - xfer += oprot->writeString((*_iter1084)); + xfer += oprot->writeString((*_iter1092)); } xfer += oprot->writeListEnd(); } @@ -15254,10 +15254,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 _iter1085; - for (_iter1085 = (*(this->group_names)).begin(); _iter1085 != (*(this->group_names)).end(); ++_iter1085) + std::vector ::const_iterator _iter1093; + for (_iter1093 = (*(this->group_names)).begin(); _iter1093 != (*(this->group_names)).end(); ++_iter1093) { - xfer += oprot->writeString((*_iter1085)); + xfer += oprot->writeString((*_iter1093)); } xfer += oprot->writeListEnd(); } @@ -15298,14 +15298,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1086; - ::apache::thrift::protocol::TType _etype1089; - xfer += iprot->readListBegin(_etype1089, _size1086); - this->success.resize(_size1086); - uint32_t _i1090; - for (_i1090 = 0; _i1090 < _size1086; ++_i1090) + uint32_t _size1094; + ::apache::thrift::protocol::TType _etype1097; + xfer += iprot->readListBegin(_etype1097, _size1094); + this->success.resize(_size1094); + uint32_t _i1098; + for (_i1098 = 0; _i1098 < _size1094; ++_i1098) { - xfer += this->success[_i1090].read(iprot); + xfer += this->success[_i1098].read(iprot); } xfer += iprot->readListEnd(); } @@ -15352,10 +15352,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 _iter1091; - for (_iter1091 = this->success.begin(); _iter1091 != this->success.end(); ++_iter1091) + std::vector ::const_iterator _iter1099; + for (_iter1099 = this->success.begin(); _iter1099 != this->success.end(); ++_iter1099) { - xfer += (*_iter1091).write(oprot); + xfer += (*_iter1099).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15404,14 +15404,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1092; - ::apache::thrift::protocol::TType _etype1095; - xfer += iprot->readListBegin(_etype1095, _size1092); - (*(this->success)).resize(_size1092); - uint32_t _i1096; - for (_i1096 = 0; _i1096 < _size1092; ++_i1096) + uint32_t _size1100; + ::apache::thrift::protocol::TType _etype1103; + xfer += iprot->readListBegin(_etype1103, _size1100); + (*(this->success)).resize(_size1100); + uint32_t _i1104; + for (_i1104 = 0; _i1104 < _size1100; ++_i1104) { - xfer += (*(this->success))[_i1096].read(iprot); + xfer += (*(this->success))[_i1104].read(iprot); } xfer += iprot->readListEnd(); } @@ -15494,14 +15494,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 _size1097; - ::apache::thrift::protocol::TType _etype1100; - xfer += iprot->readListBegin(_etype1100, _size1097); - this->part_vals.resize(_size1097); - uint32_t _i1101; - for (_i1101 = 0; _i1101 < _size1097; ++_i1101) + uint32_t _size1105; + ::apache::thrift::protocol::TType _etype1108; + xfer += iprot->readListBegin(_etype1108, _size1105); + this->part_vals.resize(_size1105); + uint32_t _i1109; + for (_i1109 = 0; _i1109 < _size1105; ++_i1109) { - xfer += iprot->readString(this->part_vals[_i1101]); + xfer += iprot->readString(this->part_vals[_i1109]); } xfer += iprot->readListEnd(); } @@ -15546,10 +15546,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 _iter1102; - for (_iter1102 = this->part_vals.begin(); _iter1102 != this->part_vals.end(); ++_iter1102) + std::vector ::const_iterator _iter1110; + for (_iter1110 = this->part_vals.begin(); _iter1110 != this->part_vals.end(); ++_iter1110) { - xfer += oprot->writeString((*_iter1102)); + xfer += oprot->writeString((*_iter1110)); } xfer += oprot->writeListEnd(); } @@ -15585,10 +15585,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 _iter1103; - for (_iter1103 = (*(this->part_vals)).begin(); _iter1103 != (*(this->part_vals)).end(); ++_iter1103) + std::vector ::const_iterator _iter1111; + for (_iter1111 = (*(this->part_vals)).begin(); _iter1111 != (*(this->part_vals)).end(); ++_iter1111) { - xfer += oprot->writeString((*_iter1103)); + xfer += oprot->writeString((*_iter1111)); } xfer += oprot->writeListEnd(); } @@ -15633,14 +15633,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - 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) + uint32_t _size1112; + ::apache::thrift::protocol::TType _etype1115; + xfer += iprot->readListBegin(_etype1115, _size1112); + this->success.resize(_size1112); + uint32_t _i1116; + for (_i1116 = 0; _i1116 < _size1112; ++_i1116) { - xfer += iprot->readString(this->success[_i1108]); + xfer += iprot->readString(this->success[_i1116]); } xfer += iprot->readListEnd(); } @@ -15687,10 +15687,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 _iter1109; - for (_iter1109 = this->success.begin(); _iter1109 != this->success.end(); ++_iter1109) + std::vector ::const_iterator _iter1117; + for (_iter1117 = this->success.begin(); _iter1117 != this->success.end(); ++_iter1117) { - xfer += oprot->writeString((*_iter1109)); + xfer += oprot->writeString((*_iter1117)); } xfer += oprot->writeListEnd(); } @@ -15739,14 +15739,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1110; - ::apache::thrift::protocol::TType _etype1113; - xfer += iprot->readListBegin(_etype1113, _size1110); - (*(this->success)).resize(_size1110); - uint32_t _i1114; - for (_i1114 = 0; _i1114 < _size1110; ++_i1114) + uint32_t _size1118; + ::apache::thrift::protocol::TType _etype1121; + xfer += iprot->readListBegin(_etype1121, _size1118); + (*(this->success)).resize(_size1118); + uint32_t _i1122; + for (_i1122 = 0; _i1122 < _size1118; ++_i1122) { - xfer += iprot->readString((*(this->success))[_i1114]); + xfer += iprot->readString((*(this->success))[_i1122]); } xfer += iprot->readListEnd(); } @@ -15940,14 +15940,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1115; - ::apache::thrift::protocol::TType _etype1118; - xfer += iprot->readListBegin(_etype1118, _size1115); - this->success.resize(_size1115); - uint32_t _i1119; - for (_i1119 = 0; _i1119 < _size1115; ++_i1119) + uint32_t _size1123; + ::apache::thrift::protocol::TType _etype1126; + xfer += iprot->readListBegin(_etype1126, _size1123); + this->success.resize(_size1123); + uint32_t _i1127; + for (_i1127 = 0; _i1127 < _size1123; ++_i1127) { - xfer += this->success[_i1119].read(iprot); + xfer += this->success[_i1127].read(iprot); } xfer += iprot->readListEnd(); } @@ -15994,10 +15994,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 _iter1120; - for (_iter1120 = this->success.begin(); _iter1120 != this->success.end(); ++_iter1120) + std::vector ::const_iterator _iter1128; + for (_iter1128 = this->success.begin(); _iter1128 != this->success.end(); ++_iter1128) { - xfer += (*_iter1120).write(oprot); + xfer += (*_iter1128).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16046,14 +16046,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1121; - ::apache::thrift::protocol::TType _etype1124; - xfer += iprot->readListBegin(_etype1124, _size1121); - (*(this->success)).resize(_size1121); - uint32_t _i1125; - for (_i1125 = 0; _i1125 < _size1121; ++_i1125) + uint32_t _size1129; + ::apache::thrift::protocol::TType _etype1132; + xfer += iprot->readListBegin(_etype1132, _size1129); + (*(this->success)).resize(_size1129); + uint32_t _i1133; + for (_i1133 = 0; _i1133 < _size1129; ++_i1133) { - xfer += (*(this->success))[_i1125].read(iprot); + xfer += (*(this->success))[_i1133].read(iprot); } xfer += iprot->readListEnd(); } @@ -16247,14 +16247,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 _size1126; - ::apache::thrift::protocol::TType _etype1129; - xfer += iprot->readListBegin(_etype1129, _size1126); - this->success.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->success.resize(_size1134); + uint32_t _i1138; + for (_i1138 = 0; _i1138 < _size1134; ++_i1138) { - xfer += this->success[_i1130].read(iprot); + xfer += this->success[_i1138].read(iprot); } xfer += iprot->readListEnd(); } @@ -16301,10 +16301,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 _iter1131; - for (_iter1131 = this->success.begin(); _iter1131 != this->success.end(); ++_iter1131) + std::vector ::const_iterator _iter1139; + for (_iter1139 = this->success.begin(); _iter1139 != this->success.end(); ++_iter1139) { - xfer += (*_iter1131).write(oprot); + xfer += (*_iter1139).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16353,14 +16353,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 _size1132; - ::apache::thrift::protocol::TType _etype1135; - xfer += iprot->readListBegin(_etype1135, _size1132); - (*(this->success)).resize(_size1132); - uint32_t _i1136; - for (_i1136 = 0; _i1136 < _size1132; ++_i1136) + uint32_t _size1140; + ::apache::thrift::protocol::TType _etype1143; + xfer += iprot->readListBegin(_etype1143, _size1140); + (*(this->success)).resize(_size1140); + uint32_t _i1144; + for (_i1144 = 0; _i1144 < _size1140; ++_i1144) { - xfer += (*(this->success))[_i1136].read(iprot); + xfer += (*(this->success))[_i1144].read(iprot); } xfer += iprot->readListEnd(); } @@ -16929,14 +16929,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size1137; - ::apache::thrift::protocol::TType _etype1140; - xfer += iprot->readListBegin(_etype1140, _size1137); - this->names.resize(_size1137); - uint32_t _i1141; - for (_i1141 = 0; _i1141 < _size1137; ++_i1141) + uint32_t _size1145; + ::apache::thrift::protocol::TType _etype1148; + xfer += iprot->readListBegin(_etype1148, _size1145); + this->names.resize(_size1145); + uint32_t _i1149; + for (_i1149 = 0; _i1149 < _size1145; ++_i1149) { - xfer += iprot->readString(this->names[_i1141]); + xfer += iprot->readString(this->names[_i1149]); } xfer += iprot->readListEnd(); } @@ -16973,10 +16973,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 _iter1142; - for (_iter1142 = this->names.begin(); _iter1142 != this->names.end(); ++_iter1142) + std::vector ::const_iterator _iter1150; + for (_iter1150 = this->names.begin(); _iter1150 != this->names.end(); ++_iter1150) { - xfer += oprot->writeString((*_iter1142)); + xfer += oprot->writeString((*_iter1150)); } xfer += oprot->writeListEnd(); } @@ -17008,10 +17008,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 _iter1143; - for (_iter1143 = (*(this->names)).begin(); _iter1143 != (*(this->names)).end(); ++_iter1143) + std::vector ::const_iterator _iter1151; + for (_iter1151 = (*(this->names)).begin(); _iter1151 != (*(this->names)).end(); ++_iter1151) { - xfer += oprot->writeString((*_iter1143)); + xfer += oprot->writeString((*_iter1151)); } xfer += oprot->writeListEnd(); } @@ -17052,14 +17052,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1144; - ::apache::thrift::protocol::TType _etype1147; - xfer += iprot->readListBegin(_etype1147, _size1144); - this->success.resize(_size1144); - uint32_t _i1148; - for (_i1148 = 0; _i1148 < _size1144; ++_i1148) + uint32_t _size1152; + ::apache::thrift::protocol::TType _etype1155; + xfer += iprot->readListBegin(_etype1155, _size1152); + this->success.resize(_size1152); + uint32_t _i1156; + for (_i1156 = 0; _i1156 < _size1152; ++_i1156) { - xfer += this->success[_i1148].read(iprot); + xfer += this->success[_i1156].read(iprot); } xfer += iprot->readListEnd(); } @@ -17106,10 +17106,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 _iter1149; - for (_iter1149 = this->success.begin(); _iter1149 != this->success.end(); ++_iter1149) + std::vector ::const_iterator _iter1157; + for (_iter1157 = this->success.begin(); _iter1157 != this->success.end(); ++_iter1157) { - xfer += (*_iter1149).write(oprot); + xfer += (*_iter1157).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17158,14 +17158,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1150; - ::apache::thrift::protocol::TType _etype1153; - xfer += iprot->readListBegin(_etype1153, _size1150); - (*(this->success)).resize(_size1150); - uint32_t _i1154; - for (_i1154 = 0; _i1154 < _size1150; ++_i1154) + uint32_t _size1158; + ::apache::thrift::protocol::TType _etype1161; + xfer += iprot->readListBegin(_etype1161, _size1158); + (*(this->success)).resize(_size1158); + uint32_t _i1162; + for (_i1162 = 0; _i1162 < _size1158; ++_i1162) { - xfer += (*(this->success))[_i1154].read(iprot); + xfer += (*(this->success))[_i1162].read(iprot); } xfer += iprot->readListEnd(); } @@ -17487,14 +17487,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1155; - ::apache::thrift::protocol::TType _etype1158; - xfer += iprot->readListBegin(_etype1158, _size1155); - this->new_parts.resize(_size1155); - uint32_t _i1159; - for (_i1159 = 0; _i1159 < _size1155; ++_i1159) + uint32_t _size1163; + ::apache::thrift::protocol::TType _etype1166; + xfer += iprot->readListBegin(_etype1166, _size1163); + this->new_parts.resize(_size1163); + uint32_t _i1167; + for (_i1167 = 0; _i1167 < _size1163; ++_i1167) { - xfer += this->new_parts[_i1159].read(iprot); + xfer += this->new_parts[_i1167].read(iprot); } xfer += iprot->readListEnd(); } @@ -17531,10 +17531,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 _iter1160; - for (_iter1160 = this->new_parts.begin(); _iter1160 != this->new_parts.end(); ++_iter1160) + std::vector ::const_iterator _iter1168; + for (_iter1168 = this->new_parts.begin(); _iter1168 != this->new_parts.end(); ++_iter1168) { - xfer += (*_iter1160).write(oprot); + xfer += (*_iter1168).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17566,10 +17566,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 _iter1161; - for (_iter1161 = (*(this->new_parts)).begin(); _iter1161 != (*(this->new_parts)).end(); ++_iter1161) + std::vector ::const_iterator _iter1169; + for (_iter1169 = (*(this->new_parts)).begin(); _iter1169 != (*(this->new_parts)).end(); ++_iter1169) { - xfer += (*_iter1161).write(oprot); + xfer += (*_iter1169).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17754,14 +17754,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1162; - ::apache::thrift::protocol::TType _etype1165; - xfer += iprot->readListBegin(_etype1165, _size1162); - this->new_parts.resize(_size1162); - uint32_t _i1166; - for (_i1166 = 0; _i1166 < _size1162; ++_i1166) + uint32_t _size1170; + ::apache::thrift::protocol::TType _etype1173; + xfer += iprot->readListBegin(_etype1173, _size1170); + this->new_parts.resize(_size1170); + uint32_t _i1174; + for (_i1174 = 0; _i1174 < _size1170; ++_i1174) { - xfer += this->new_parts[_i1166].read(iprot); + xfer += this->new_parts[_i1174].read(iprot); } xfer += iprot->readListEnd(); } @@ -17806,10 +17806,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 _iter1167; - for (_iter1167 = this->new_parts.begin(); _iter1167 != this->new_parts.end(); ++_iter1167) + std::vector ::const_iterator _iter1175; + for (_iter1175 = this->new_parts.begin(); _iter1175 != this->new_parts.end(); ++_iter1175) { - xfer += (*_iter1167).write(oprot); + xfer += (*_iter1175).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17845,10 +17845,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 _iter1168; - for (_iter1168 = (*(this->new_parts)).begin(); _iter1168 != (*(this->new_parts)).end(); ++_iter1168) + std::vector ::const_iterator _iter1176; + for (_iter1176 = (*(this->new_parts)).begin(); _iter1176 != (*(this->new_parts)).end(); ++_iter1176) { - xfer += (*_iter1168).write(oprot); + xfer += (*_iter1176).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18292,14 +18292,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1169; - ::apache::thrift::protocol::TType _etype1172; - xfer += iprot->readListBegin(_etype1172, _size1169); - this->part_vals.resize(_size1169); - uint32_t _i1173; - for (_i1173 = 0; _i1173 < _size1169; ++_i1173) + uint32_t _size1177; + ::apache::thrift::protocol::TType _etype1180; + xfer += iprot->readListBegin(_etype1180, _size1177); + this->part_vals.resize(_size1177); + uint32_t _i1181; + for (_i1181 = 0; _i1181 < _size1177; ++_i1181) { - xfer += iprot->readString(this->part_vals[_i1173]); + xfer += iprot->readString(this->part_vals[_i1181]); } xfer += iprot->readListEnd(); } @@ -18344,10 +18344,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 _iter1174; - for (_iter1174 = this->part_vals.begin(); _iter1174 != this->part_vals.end(); ++_iter1174) + std::vector ::const_iterator _iter1182; + for (_iter1182 = this->part_vals.begin(); _iter1182 != this->part_vals.end(); ++_iter1182) { - xfer += oprot->writeString((*_iter1174)); + xfer += oprot->writeString((*_iter1182)); } xfer += oprot->writeListEnd(); } @@ -18383,10 +18383,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 _iter1175; - for (_iter1175 = (*(this->part_vals)).begin(); _iter1175 != (*(this->part_vals)).end(); ++_iter1175) + std::vector ::const_iterator _iter1183; + for (_iter1183 = (*(this->part_vals)).begin(); _iter1183 != (*(this->part_vals)).end(); ++_iter1183) { - xfer += oprot->writeString((*_iter1175)); + xfer += oprot->writeString((*_iter1183)); } xfer += oprot->writeListEnd(); } @@ -18559,14 +18559,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 _size1176; - ::apache::thrift::protocol::TType _etype1179; - xfer += iprot->readListBegin(_etype1179, _size1176); - this->part_vals.resize(_size1176); - uint32_t _i1180; - for (_i1180 = 0; _i1180 < _size1176; ++_i1180) + uint32_t _size1184; + ::apache::thrift::protocol::TType _etype1187; + xfer += iprot->readListBegin(_etype1187, _size1184); + this->part_vals.resize(_size1184); + uint32_t _i1188; + for (_i1188 = 0; _i1188 < _size1184; ++_i1188) { - xfer += iprot->readString(this->part_vals[_i1180]); + xfer += iprot->readString(this->part_vals[_i1188]); } xfer += iprot->readListEnd(); } @@ -18603,10 +18603,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 _iter1181; - for (_iter1181 = this->part_vals.begin(); _iter1181 != this->part_vals.end(); ++_iter1181) + std::vector ::const_iterator _iter1189; + for (_iter1189 = this->part_vals.begin(); _iter1189 != this->part_vals.end(); ++_iter1189) { - xfer += oprot->writeString((*_iter1181)); + xfer += oprot->writeString((*_iter1189)); } xfer += oprot->writeListEnd(); } @@ -18634,10 +18634,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 _iter1182; - for (_iter1182 = (*(this->part_vals)).begin(); _iter1182 != (*(this->part_vals)).end(); ++_iter1182) + std::vector ::const_iterator _iter1190; + for (_iter1190 = (*(this->part_vals)).begin(); _iter1190 != (*(this->part_vals)).end(); ++_iter1190) { - xfer += oprot->writeString((*_iter1182)); + xfer += oprot->writeString((*_iter1190)); } xfer += oprot->writeListEnd(); } @@ -19112,14 +19112,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1183; - ::apache::thrift::protocol::TType _etype1186; - xfer += iprot->readListBegin(_etype1186, _size1183); - this->success.resize(_size1183); - uint32_t _i1187; - for (_i1187 = 0; _i1187 < _size1183; ++_i1187) + uint32_t _size1191; + ::apache::thrift::protocol::TType _etype1194; + xfer += iprot->readListBegin(_etype1194, _size1191); + this->success.resize(_size1191); + uint32_t _i1195; + for (_i1195 = 0; _i1195 < _size1191; ++_i1195) { - xfer += iprot->readString(this->success[_i1187]); + xfer += iprot->readString(this->success[_i1195]); } xfer += iprot->readListEnd(); } @@ -19158,10 +19158,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 _iter1188; - for (_iter1188 = this->success.begin(); _iter1188 != this->success.end(); ++_iter1188) + std::vector ::const_iterator _iter1196; + for (_iter1196 = this->success.begin(); _iter1196 != this->success.end(); ++_iter1196) { - xfer += oprot->writeString((*_iter1188)); + xfer += oprot->writeString((*_iter1196)); } xfer += oprot->writeListEnd(); } @@ -19206,14 +19206,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1189; - ::apache::thrift::protocol::TType _etype1192; - xfer += iprot->readListBegin(_etype1192, _size1189); - (*(this->success)).resize(_size1189); - uint32_t _i1193; - for (_i1193 = 0; _i1193 < _size1189; ++_i1193) + uint32_t _size1197; + ::apache::thrift::protocol::TType _etype1200; + xfer += iprot->readListBegin(_etype1200, _size1197); + (*(this->success)).resize(_size1197); + uint32_t _i1201; + for (_i1201 = 0; _i1201 < _size1197; ++_i1201) { - xfer += iprot->readString((*(this->success))[_i1193]); + xfer += iprot->readString((*(this->success))[_i1201]); } xfer += iprot->readListEnd(); } @@ -19351,17 +19351,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1194; - ::apache::thrift::protocol::TType _ktype1195; - ::apache::thrift::protocol::TType _vtype1196; - xfer += iprot->readMapBegin(_ktype1195, _vtype1196, _size1194); - uint32_t _i1198; - for (_i1198 = 0; _i1198 < _size1194; ++_i1198) + uint32_t _size1202; + ::apache::thrift::protocol::TType _ktype1203; + ::apache::thrift::protocol::TType _vtype1204; + xfer += iprot->readMapBegin(_ktype1203, _vtype1204, _size1202); + uint32_t _i1206; + for (_i1206 = 0; _i1206 < _size1202; ++_i1206) { - std::string _key1199; - xfer += iprot->readString(_key1199); - std::string& _val1200 = this->success[_key1199]; - xfer += iprot->readString(_val1200); + std::string _key1207; + xfer += iprot->readString(_key1207); + std::string& _val1208 = this->success[_key1207]; + xfer += iprot->readString(_val1208); } xfer += iprot->readMapEnd(); } @@ -19400,11 +19400,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 _iter1201; - for (_iter1201 = this->success.begin(); _iter1201 != this->success.end(); ++_iter1201) + std::map ::const_iterator _iter1209; + for (_iter1209 = this->success.begin(); _iter1209 != this->success.end(); ++_iter1209) { - xfer += oprot->writeString(_iter1201->first); - xfer += oprot->writeString(_iter1201->second); + xfer += oprot->writeString(_iter1209->first); + xfer += oprot->writeString(_iter1209->second); } xfer += oprot->writeMapEnd(); } @@ -19449,17 +19449,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1202; - ::apache::thrift::protocol::TType _ktype1203; - ::apache::thrift::protocol::TType _vtype1204; - xfer += iprot->readMapBegin(_ktype1203, _vtype1204, _size1202); - uint32_t _i1206; - for (_i1206 = 0; _i1206 < _size1202; ++_i1206) + uint32_t _size1210; + ::apache::thrift::protocol::TType _ktype1211; + ::apache::thrift::protocol::TType _vtype1212; + xfer += iprot->readMapBegin(_ktype1211, _vtype1212, _size1210); + uint32_t _i1214; + for (_i1214 = 0; _i1214 < _size1210; ++_i1214) { - std::string _key1207; - xfer += iprot->readString(_key1207); - std::string& _val1208 = (*(this->success))[_key1207]; - xfer += iprot->readString(_val1208); + std::string _key1215; + xfer += iprot->readString(_key1215); + std::string& _val1216 = (*(this->success))[_key1215]; + xfer += iprot->readString(_val1216); } xfer += iprot->readMapEnd(); } @@ -19534,17 +19534,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1209; - ::apache::thrift::protocol::TType _ktype1210; - ::apache::thrift::protocol::TType _vtype1211; - xfer += iprot->readMapBegin(_ktype1210, _vtype1211, _size1209); - uint32_t _i1213; - for (_i1213 = 0; _i1213 < _size1209; ++_i1213) + uint32_t _size1217; + ::apache::thrift::protocol::TType _ktype1218; + ::apache::thrift::protocol::TType _vtype1219; + xfer += iprot->readMapBegin(_ktype1218, _vtype1219, _size1217); + uint32_t _i1221; + for (_i1221 = 0; _i1221 < _size1217; ++_i1221) { - std::string _key1214; - xfer += iprot->readString(_key1214); - std::string& _val1215 = this->part_vals[_key1214]; - xfer += iprot->readString(_val1215); + std::string _key1222; + xfer += iprot->readString(_key1222); + std::string& _val1223 = this->part_vals[_key1222]; + xfer += iprot->readString(_val1223); } xfer += iprot->readMapEnd(); } @@ -19555,9 +19555,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1216; - xfer += iprot->readI32(ecast1216); - this->eventType = (PartitionEventType::type)ecast1216; + int32_t ecast1224; + xfer += iprot->readI32(ecast1224); + this->eventType = (PartitionEventType::type)ecast1224; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -19591,11 +19591,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 _iter1217; - for (_iter1217 = this->part_vals.begin(); _iter1217 != this->part_vals.end(); ++_iter1217) + std::map ::const_iterator _iter1225; + for (_iter1225 = this->part_vals.begin(); _iter1225 != this->part_vals.end(); ++_iter1225) { - xfer += oprot->writeString(_iter1217->first); - xfer += oprot->writeString(_iter1217->second); + xfer += oprot->writeString(_iter1225->first); + xfer += oprot->writeString(_iter1225->second); } xfer += oprot->writeMapEnd(); } @@ -19631,11 +19631,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 _iter1218; - for (_iter1218 = (*(this->part_vals)).begin(); _iter1218 != (*(this->part_vals)).end(); ++_iter1218) + std::map ::const_iterator _iter1226; + for (_iter1226 = (*(this->part_vals)).begin(); _iter1226 != (*(this->part_vals)).end(); ++_iter1226) { - xfer += oprot->writeString(_iter1218->first); - xfer += oprot->writeString(_iter1218->second); + xfer += oprot->writeString(_iter1226->first); + xfer += oprot->writeString(_iter1226->second); } xfer += oprot->writeMapEnd(); } @@ -19904,17 +19904,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1219; - ::apache::thrift::protocol::TType _ktype1220; - ::apache::thrift::protocol::TType _vtype1221; - xfer += iprot->readMapBegin(_ktype1220, _vtype1221, _size1219); - uint32_t _i1223; - for (_i1223 = 0; _i1223 < _size1219; ++_i1223) + uint32_t _size1227; + ::apache::thrift::protocol::TType _ktype1228; + ::apache::thrift::protocol::TType _vtype1229; + xfer += iprot->readMapBegin(_ktype1228, _vtype1229, _size1227); + uint32_t _i1231; + for (_i1231 = 0; _i1231 < _size1227; ++_i1231) { - std::string _key1224; - xfer += iprot->readString(_key1224); - std::string& _val1225 = this->part_vals[_key1224]; - xfer += iprot->readString(_val1225); + std::string _key1232; + xfer += iprot->readString(_key1232); + std::string& _val1233 = this->part_vals[_key1232]; + xfer += iprot->readString(_val1233); } xfer += iprot->readMapEnd(); } @@ -19925,9 +19925,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1226; - xfer += iprot->readI32(ecast1226); - this->eventType = (PartitionEventType::type)ecast1226; + int32_t ecast1234; + xfer += iprot->readI32(ecast1234); + this->eventType = (PartitionEventType::type)ecast1234; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -19961,11 +19961,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 _iter1227; - for (_iter1227 = this->part_vals.begin(); _iter1227 != this->part_vals.end(); ++_iter1227) + std::map ::const_iterator _iter1235; + for (_iter1235 = this->part_vals.begin(); _iter1235 != this->part_vals.end(); ++_iter1235) { - xfer += oprot->writeString(_iter1227->first); - xfer += oprot->writeString(_iter1227->second); + xfer += oprot->writeString(_iter1235->first); + xfer += oprot->writeString(_iter1235->second); } xfer += oprot->writeMapEnd(); } @@ -20001,11 +20001,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 _iter1228; - for (_iter1228 = (*(this->part_vals)).begin(); _iter1228 != (*(this->part_vals)).end(); ++_iter1228) + std::map ::const_iterator _iter1236; + for (_iter1236 = (*(this->part_vals)).begin(); _iter1236 != (*(this->part_vals)).end(); ++_iter1236) { - xfer += oprot->writeString(_iter1228->first); - xfer += oprot->writeString(_iter1228->second); + xfer += oprot->writeString(_iter1236->first); + xfer += oprot->writeString(_iter1236->second); } xfer += oprot->writeMapEnd(); } @@ -21441,14 +21441,14 @@ uint32_t ThriftHiveMetastore_get_indexes_result::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - 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) + uint32_t _size1237; + ::apache::thrift::protocol::TType _etype1240; + xfer += iprot->readListBegin(_etype1240, _size1237); + this->success.resize(_size1237); + uint32_t _i1241; + for (_i1241 = 0; _i1241 < _size1237; ++_i1241) { - xfer += this->success[_i1233].read(iprot); + xfer += this->success[_i1241].read(iprot); } xfer += iprot->readListEnd(); } @@ -21495,10 +21495,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 _iter1234; - for (_iter1234 = this->success.begin(); _iter1234 != this->success.end(); ++_iter1234) + std::vector ::const_iterator _iter1242; + for (_iter1242 = this->success.begin(); _iter1242 != this->success.end(); ++_iter1242) { - xfer += (*_iter1234).write(oprot); + xfer += (*_iter1242).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21547,14 +21547,14 @@ uint32_t ThriftHiveMetastore_get_indexes_presult::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1235; - ::apache::thrift::protocol::TType _etype1238; - xfer += iprot->readListBegin(_etype1238, _size1235); - (*(this->success)).resize(_size1235); - uint32_t _i1239; - for (_i1239 = 0; _i1239 < _size1235; ++_i1239) + uint32_t _size1243; + ::apache::thrift::protocol::TType _etype1246; + xfer += iprot->readListBegin(_etype1246, _size1243); + (*(this->success)).resize(_size1243); + uint32_t _i1247; + for (_i1247 = 0; _i1247 < _size1243; ++_i1247) { - xfer += (*(this->success))[_i1239].read(iprot); + xfer += (*(this->success))[_i1247].read(iprot); } xfer += iprot->readListEnd(); } @@ -21732,14 +21732,14 @@ uint32_t ThriftHiveMetastore_get_index_names_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - 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) + uint32_t _size1248; + ::apache::thrift::protocol::TType _etype1251; + xfer += iprot->readListBegin(_etype1251, _size1248); + this->success.resize(_size1248); + uint32_t _i1252; + for (_i1252 = 0; _i1252 < _size1248; ++_i1252) { - xfer += iprot->readString(this->success[_i1244]); + xfer += iprot->readString(this->success[_i1252]); } xfer += iprot->readListEnd(); } @@ -21778,10 +21778,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 _iter1245; - for (_iter1245 = this->success.begin(); _iter1245 != this->success.end(); ++_iter1245) + std::vector ::const_iterator _iter1253; + for (_iter1253 = this->success.begin(); _iter1253 != this->success.end(); ++_iter1253) { - xfer += oprot->writeString((*_iter1245)); + xfer += oprot->writeString((*_iter1253)); } xfer += oprot->writeListEnd(); } @@ -21826,14 +21826,14 @@ uint32_t ThriftHiveMetastore_get_index_names_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1246; - ::apache::thrift::protocol::TType _etype1249; - xfer += iprot->readListBegin(_etype1249, _size1246); - (*(this->success)).resize(_size1246); - uint32_t _i1250; - for (_i1250 = 0; _i1250 < _size1246; ++_i1250) + uint32_t _size1254; + ::apache::thrift::protocol::TType _etype1257; + xfer += iprot->readListBegin(_etype1257, _size1254); + (*(this->success)).resize(_size1254); + uint32_t _i1258; + for (_i1258 = 0; _i1258 < _size1254; ++_i1258) { - xfer += iprot->readString((*(this->success))[_i1250]); + xfer += iprot->readString((*(this->success))[_i1258]); } xfer += iprot->readListEnd(); } @@ -25860,14 +25860,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1251; - ::apache::thrift::protocol::TType _etype1254; - xfer += iprot->readListBegin(_etype1254, _size1251); - this->success.resize(_size1251); - uint32_t _i1255; - for (_i1255 = 0; _i1255 < _size1251; ++_i1255) + uint32_t _size1259; + ::apache::thrift::protocol::TType _etype1262; + xfer += iprot->readListBegin(_etype1262, _size1259); + this->success.resize(_size1259); + uint32_t _i1263; + for (_i1263 = 0; _i1263 < _size1259; ++_i1263) { - xfer += iprot->readString(this->success[_i1255]); + xfer += iprot->readString(this->success[_i1263]); } xfer += iprot->readListEnd(); } @@ -25906,10 +25906,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 _iter1256; - for (_iter1256 = this->success.begin(); _iter1256 != this->success.end(); ++_iter1256) + std::vector ::const_iterator _iter1264; + for (_iter1264 = this->success.begin(); _iter1264 != this->success.end(); ++_iter1264) { - xfer += oprot->writeString((*_iter1256)); + xfer += oprot->writeString((*_iter1264)); } xfer += oprot->writeListEnd(); } @@ -25954,14 +25954,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1257; - ::apache::thrift::protocol::TType _etype1260; - xfer += iprot->readListBegin(_etype1260, _size1257); - (*(this->success)).resize(_size1257); - uint32_t _i1261; - for (_i1261 = 0; _i1261 < _size1257; ++_i1261) + uint32_t _size1265; + ::apache::thrift::protocol::TType _etype1268; + xfer += iprot->readListBegin(_etype1268, _size1265); + (*(this->success)).resize(_size1265); + uint32_t _i1269; + for (_i1269 = 0; _i1269 < _size1265; ++_i1269) { - xfer += iprot->readString((*(this->success))[_i1261]); + xfer += iprot->readString((*(this->success))[_i1269]); } xfer += iprot->readListEnd(); } @@ -26921,14 +26921,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1262; - ::apache::thrift::protocol::TType _etype1265; - xfer += iprot->readListBegin(_etype1265, _size1262); - this->success.resize(_size1262); - uint32_t _i1266; - for (_i1266 = 0; _i1266 < _size1262; ++_i1266) + uint32_t _size1270; + ::apache::thrift::protocol::TType _etype1273; + xfer += iprot->readListBegin(_etype1273, _size1270); + this->success.resize(_size1270); + uint32_t _i1274; + for (_i1274 = 0; _i1274 < _size1270; ++_i1274) { - xfer += iprot->readString(this->success[_i1266]); + xfer += iprot->readString(this->success[_i1274]); } xfer += iprot->readListEnd(); } @@ -26967,10 +26967,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 _iter1267; - for (_iter1267 = this->success.begin(); _iter1267 != this->success.end(); ++_iter1267) + std::vector ::const_iterator _iter1275; + for (_iter1275 = this->success.begin(); _iter1275 != this->success.end(); ++_iter1275) { - xfer += oprot->writeString((*_iter1267)); + xfer += oprot->writeString((*_iter1275)); } xfer += oprot->writeListEnd(); } @@ -27015,14 +27015,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1276; + ::apache::thrift::protocol::TType _etype1279; + xfer += iprot->readListBegin(_etype1279, _size1276); + (*(this->success)).resize(_size1276); + uint32_t _i1280; + for (_i1280 = 0; _i1280 < _size1276; ++_i1280) { - xfer += iprot->readString((*(this->success))[_i1272]); + xfer += iprot->readString((*(this->success))[_i1280]); } xfer += iprot->readListEnd(); } @@ -27095,9 +27095,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1273; - xfer += iprot->readI32(ecast1273); - this->principal_type = (PrincipalType::type)ecast1273; + int32_t ecast1281; + xfer += iprot->readI32(ecast1281); + this->principal_type = (PrincipalType::type)ecast1281; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -27113,9 +27113,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1274; - xfer += iprot->readI32(ecast1274); - this->grantorType = (PrincipalType::type)ecast1274; + int32_t ecast1282; + xfer += iprot->readI32(ecast1282); + this->grantorType = (PrincipalType::type)ecast1282; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -27386,9 +27386,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1275; - xfer += iprot->readI32(ecast1275); - this->principal_type = (PrincipalType::type)ecast1275; + int32_t ecast1283; + xfer += iprot->readI32(ecast1283); + this->principal_type = (PrincipalType::type)ecast1283; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -27619,9 +27619,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1276; - xfer += iprot->readI32(ecast1276); - this->principal_type = (PrincipalType::type)ecast1276; + int32_t ecast1284; + xfer += iprot->readI32(ecast1284); + this->principal_type = (PrincipalType::type)ecast1284; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -27710,14 +27710,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1277; - ::apache::thrift::protocol::TType _etype1280; - xfer += iprot->readListBegin(_etype1280, _size1277); - this->success.resize(_size1277); - uint32_t _i1281; - for (_i1281 = 0; _i1281 < _size1277; ++_i1281) + uint32_t _size1285; + ::apache::thrift::protocol::TType _etype1288; + xfer += iprot->readListBegin(_etype1288, _size1285); + this->success.resize(_size1285); + uint32_t _i1289; + for (_i1289 = 0; _i1289 < _size1285; ++_i1289) { - xfer += this->success[_i1281].read(iprot); + xfer += this->success[_i1289].read(iprot); } xfer += iprot->readListEnd(); } @@ -27756,10 +27756,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 _iter1282; - for (_iter1282 = this->success.begin(); _iter1282 != this->success.end(); ++_iter1282) + std::vector ::const_iterator _iter1290; + for (_iter1290 = this->success.begin(); _iter1290 != this->success.end(); ++_iter1290) { - xfer += (*_iter1282).write(oprot); + xfer += (*_iter1290).write(oprot); } xfer += oprot->writeListEnd(); } @@ -27804,14 +27804,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1283; - ::apache::thrift::protocol::TType _etype1286; - xfer += iprot->readListBegin(_etype1286, _size1283); - (*(this->success)).resize(_size1283); - uint32_t _i1287; - for (_i1287 = 0; _i1287 < _size1283; ++_i1287) + uint32_t _size1291; + ::apache::thrift::protocol::TType _etype1294; + xfer += iprot->readListBegin(_etype1294, _size1291); + (*(this->success)).resize(_size1291); + uint32_t _i1295; + for (_i1295 = 0; _i1295 < _size1291; ++_i1295) { - xfer += (*(this->success))[_i1287].read(iprot); + xfer += (*(this->success))[_i1295].read(iprot); } xfer += iprot->readListEnd(); } @@ -28507,14 +28507,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 _size1288; - ::apache::thrift::protocol::TType _etype1291; - xfer += iprot->readListBegin(_etype1291, _size1288); - this->group_names.resize(_size1288); - uint32_t _i1292; - for (_i1292 = 0; _i1292 < _size1288; ++_i1292) + uint32_t _size1296; + ::apache::thrift::protocol::TType _etype1299; + xfer += iprot->readListBegin(_etype1299, _size1296); + this->group_names.resize(_size1296); + uint32_t _i1300; + for (_i1300 = 0; _i1300 < _size1296; ++_i1300) { - xfer += iprot->readString(this->group_names[_i1292]); + xfer += iprot->readString(this->group_names[_i1300]); } xfer += iprot->readListEnd(); } @@ -28551,10 +28551,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 _iter1293; - for (_iter1293 = this->group_names.begin(); _iter1293 != this->group_names.end(); ++_iter1293) + std::vector ::const_iterator _iter1301; + for (_iter1301 = this->group_names.begin(); _iter1301 != this->group_names.end(); ++_iter1301) { - xfer += oprot->writeString((*_iter1293)); + xfer += oprot->writeString((*_iter1301)); } xfer += oprot->writeListEnd(); } @@ -28586,10 +28586,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 _iter1294; - for (_iter1294 = (*(this->group_names)).begin(); _iter1294 != (*(this->group_names)).end(); ++_iter1294) + std::vector ::const_iterator _iter1302; + for (_iter1302 = (*(this->group_names)).begin(); _iter1302 != (*(this->group_names)).end(); ++_iter1302) { - xfer += oprot->writeString((*_iter1294)); + xfer += oprot->writeString((*_iter1302)); } xfer += oprot->writeListEnd(); } @@ -28764,9 +28764,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1295; - xfer += iprot->readI32(ecast1295); - this->principal_type = (PrincipalType::type)ecast1295; + int32_t ecast1303; + xfer += iprot->readI32(ecast1303); + this->principal_type = (PrincipalType::type)ecast1303; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -28871,14 +28871,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1296; - ::apache::thrift::protocol::TType _etype1299; - xfer += iprot->readListBegin(_etype1299, _size1296); - this->success.resize(_size1296); - uint32_t _i1300; - for (_i1300 = 0; _i1300 < _size1296; ++_i1300) + uint32_t _size1304; + ::apache::thrift::protocol::TType _etype1307; + xfer += iprot->readListBegin(_etype1307, _size1304); + this->success.resize(_size1304); + uint32_t _i1308; + for (_i1308 = 0; _i1308 < _size1304; ++_i1308) { - xfer += this->success[_i1300].read(iprot); + xfer += this->success[_i1308].read(iprot); } xfer += iprot->readListEnd(); } @@ -28917,10 +28917,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 _iter1301; - for (_iter1301 = this->success.begin(); _iter1301 != this->success.end(); ++_iter1301) + std::vector ::const_iterator _iter1309; + for (_iter1309 = this->success.begin(); _iter1309 != this->success.end(); ++_iter1309) { - xfer += (*_iter1301).write(oprot); + xfer += (*_iter1309).write(oprot); } xfer += oprot->writeListEnd(); } @@ -28965,14 +28965,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1302; - ::apache::thrift::protocol::TType _etype1305; - xfer += iprot->readListBegin(_etype1305, _size1302); - (*(this->success)).resize(_size1302); - uint32_t _i1306; - for (_i1306 = 0; _i1306 < _size1302; ++_i1306) + uint32_t _size1310; + ::apache::thrift::protocol::TType _etype1313; + xfer += iprot->readListBegin(_etype1313, _size1310); + (*(this->success)).resize(_size1310); + uint32_t _i1314; + for (_i1314 = 0; _i1314 < _size1310; ++_i1314) { - xfer += (*(this->success))[_i1306].read(iprot); + xfer += (*(this->success))[_i1314].read(iprot); } xfer += iprot->readListEnd(); } @@ -29660,14 +29660,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 _size1307; - ::apache::thrift::protocol::TType _etype1310; - xfer += iprot->readListBegin(_etype1310, _size1307); - this->group_names.resize(_size1307); - uint32_t _i1311; - for (_i1311 = 0; _i1311 < _size1307; ++_i1311) + uint32_t _size1315; + ::apache::thrift::protocol::TType _etype1318; + xfer += iprot->readListBegin(_etype1318, _size1315); + this->group_names.resize(_size1315); + uint32_t _i1319; + for (_i1319 = 0; _i1319 < _size1315; ++_i1319) { - xfer += iprot->readString(this->group_names[_i1311]); + xfer += iprot->readString(this->group_names[_i1319]); } xfer += iprot->readListEnd(); } @@ -29700,10 +29700,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 _iter1312; - for (_iter1312 = this->group_names.begin(); _iter1312 != this->group_names.end(); ++_iter1312) + std::vector ::const_iterator _iter1320; + for (_iter1320 = this->group_names.begin(); _iter1320 != this->group_names.end(); ++_iter1320) { - xfer += oprot->writeString((*_iter1312)); + xfer += oprot->writeString((*_iter1320)); } xfer += oprot->writeListEnd(); } @@ -29731,10 +29731,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 _iter1313; - for (_iter1313 = (*(this->group_names)).begin(); _iter1313 != (*(this->group_names)).end(); ++_iter1313) + std::vector ::const_iterator _iter1321; + for (_iter1321 = (*(this->group_names)).begin(); _iter1321 != (*(this->group_names)).end(); ++_iter1321) { - xfer += oprot->writeString((*_iter1313)); + xfer += oprot->writeString((*_iter1321)); } xfer += oprot->writeListEnd(); } @@ -29775,14 +29775,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - 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) + uint32_t _size1322; + ::apache::thrift::protocol::TType _etype1325; + xfer += iprot->readListBegin(_etype1325, _size1322); + this->success.resize(_size1322); + uint32_t _i1326; + for (_i1326 = 0; _i1326 < _size1322; ++_i1326) { - xfer += iprot->readString(this->success[_i1318]); + xfer += iprot->readString(this->success[_i1326]); } xfer += iprot->readListEnd(); } @@ -29821,10 +29821,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 _iter1319; - for (_iter1319 = this->success.begin(); _iter1319 != this->success.end(); ++_iter1319) + std::vector ::const_iterator _iter1327; + for (_iter1327 = this->success.begin(); _iter1327 != this->success.end(); ++_iter1327) { - xfer += oprot->writeString((*_iter1319)); + xfer += oprot->writeString((*_iter1327)); } xfer += oprot->writeListEnd(); } @@ -29869,14 +29869,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1320; - ::apache::thrift::protocol::TType _etype1323; - xfer += iprot->readListBegin(_etype1323, _size1320); - (*(this->success)).resize(_size1320); - uint32_t _i1324; - for (_i1324 = 0; _i1324 < _size1320; ++_i1324) + uint32_t _size1328; + ::apache::thrift::protocol::TType _etype1331; + xfer += iprot->readListBegin(_etype1331, _size1328); + (*(this->success)).resize(_size1328); + uint32_t _i1332; + for (_i1332 = 0; _i1332 < _size1328; ++_i1332) { - xfer += iprot->readString((*(this->success))[_i1324]); + xfer += iprot->readString((*(this->success))[_i1332]); } xfer += iprot->readListEnd(); } @@ -31187,14 +31187,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1325; - ::apache::thrift::protocol::TType _etype1328; - xfer += iprot->readListBegin(_etype1328, _size1325); - this->success.resize(_size1325); - uint32_t _i1329; - for (_i1329 = 0; _i1329 < _size1325; ++_i1329) + uint32_t _size1333; + ::apache::thrift::protocol::TType _etype1336; + xfer += iprot->readListBegin(_etype1336, _size1333); + this->success.resize(_size1333); + uint32_t _i1337; + for (_i1337 = 0; _i1337 < _size1333; ++_i1337) { - xfer += iprot->readString(this->success[_i1329]); + xfer += iprot->readString(this->success[_i1337]); } xfer += iprot->readListEnd(); } @@ -31225,10 +31225,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 _iter1330; - for (_iter1330 = this->success.begin(); _iter1330 != this->success.end(); ++_iter1330) + std::vector ::const_iterator _iter1338; + for (_iter1338 = this->success.begin(); _iter1338 != this->success.end(); ++_iter1338) { - xfer += oprot->writeString((*_iter1330)); + xfer += oprot->writeString((*_iter1338)); } xfer += oprot->writeListEnd(); } @@ -31269,14 +31269,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1331; - ::apache::thrift::protocol::TType _etype1334; - xfer += iprot->readListBegin(_etype1334, _size1331); - (*(this->success)).resize(_size1331); - uint32_t _i1335; - for (_i1335 = 0; _i1335 < _size1331; ++_i1335) + uint32_t _size1339; + ::apache::thrift::protocol::TType _etype1342; + xfer += iprot->readListBegin(_etype1342, _size1339); + (*(this->success)).resize(_size1339); + uint32_t _i1343; + for (_i1343 = 0; _i1343 < _size1339; ++_i1343) { - xfer += iprot->readString((*(this->success))[_i1335]); + xfer += iprot->readString((*(this->success))[_i1343]); } xfer += iprot->readListEnd(); } @@ -32002,14 +32002,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1336; - ::apache::thrift::protocol::TType _etype1339; - xfer += iprot->readListBegin(_etype1339, _size1336); - this->success.resize(_size1336); - uint32_t _i1340; - for (_i1340 = 0; _i1340 < _size1336; ++_i1340) + uint32_t _size1344; + ::apache::thrift::protocol::TType _etype1347; + xfer += iprot->readListBegin(_etype1347, _size1344); + this->success.resize(_size1344); + uint32_t _i1348; + for (_i1348 = 0; _i1348 < _size1344; ++_i1348) { - xfer += iprot->readString(this->success[_i1340]); + xfer += iprot->readString(this->success[_i1348]); } xfer += iprot->readListEnd(); } @@ -32040,10 +32040,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 _iter1341; - for (_iter1341 = this->success.begin(); _iter1341 != this->success.end(); ++_iter1341) + std::vector ::const_iterator _iter1349; + for (_iter1349 = this->success.begin(); _iter1349 != this->success.end(); ++_iter1349) { - xfer += oprot->writeString((*_iter1341)); + xfer += oprot->writeString((*_iter1349)); } xfer += oprot->writeListEnd(); } @@ -32084,14 +32084,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1342; - ::apache::thrift::protocol::TType _etype1345; - xfer += iprot->readListBegin(_etype1345, _size1342); - (*(this->success)).resize(_size1342); - uint32_t _i1346; - for (_i1346 = 0; _i1346 < _size1342; ++_i1346) + uint32_t _size1350; + ::apache::thrift::protocol::TType _etype1353; + xfer += iprot->readListBegin(_etype1353, _size1350); + (*(this->success)).resize(_size1350); + uint32_t _i1354; + for (_i1354 = 0; _i1354 < _size1350; ++_i1354) { - xfer += iprot->readString((*(this->success))[_i1346]); + xfer += iprot->readString((*(this->success))[_i1354]); } xfer += iprot->readListEnd(); } @@ -32819,6 +32819,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() { } @@ -44625,6 +44812,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); @@ -53338,6 +53581,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; @@ -66094,6 +66393,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 f731941..6639d1c 100644 --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h @@ -149,6 +149,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; @@ -606,6 +607,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; } @@ -16795,6 +16799,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; @@ -19183,6 +19291,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(); @@ -19377,6 +19488,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); @@ -19527,6 +19639,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; @@ -20795,6 +20908,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; @@ -21376,6 +21498,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 1fd8d36..fa88862 100644 --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp @@ -657,6 +657,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 82d8686..f0cd007 100644 --- metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp +++ metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp @@ -12132,6 +12132,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 _size522; + ::apache::thrift::protocol::TType _etype525; + xfer += iprot->readListBegin(_etype525, _size522); + this->txn_ids.resize(_size522); + uint32_t _i526; + for (_i526 = 0; _i526 < _size522; ++_i526) + { + xfer += iprot->readI64(this->txn_ids[_i526]); + } + 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 _iter527; + for (_iter527 = this->txn_ids.begin(); _iter527 != this->txn_ids.end(); ++_iter527) + { + xfer += oprot->writeI64((*_iter527)); + } + 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& other528) { + txn_ids = other528.txn_ids; +} +AbortTxnsRequest& AbortTxnsRequest::operator=(const AbortTxnsRequest& other529) { + txn_ids = other529.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() { } @@ -12203,11 +12309,11 @@ void swap(CommitTxnRequest &a, CommitTxnRequest &b) { swap(a.txnid, b.txnid); } -CommitTxnRequest::CommitTxnRequest(const CommitTxnRequest& other522) { - txnid = other522.txnid; +CommitTxnRequest::CommitTxnRequest(const CommitTxnRequest& other530) { + txnid = other530.txnid; } -CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other523) { - txnid = other523.txnid; +CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other531) { + txnid = other531.txnid; return *this; } void CommitTxnRequest::printTo(std::ostream& out) const { @@ -12270,9 +12376,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast524; - xfer += iprot->readI32(ecast524); - this->type = (LockType::type)ecast524; + int32_t ecast532; + xfer += iprot->readI32(ecast532); + this->type = (LockType::type)ecast532; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -12280,9 +12386,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast525; - xfer += iprot->readI32(ecast525); - this->level = (LockLevel::type)ecast525; + int32_t ecast533; + xfer += iprot->readI32(ecast533); + this->level = (LockLevel::type)ecast533; isset_level = true; } else { xfer += iprot->skip(ftype); @@ -12372,21 +12478,21 @@ void swap(LockComponent &a, LockComponent &b) { swap(a.__isset, b.__isset); } -LockComponent::LockComponent(const LockComponent& other526) { - type = other526.type; - level = other526.level; - dbname = other526.dbname; - tablename = other526.tablename; - partitionname = other526.partitionname; - __isset = other526.__isset; -} -LockComponent& LockComponent::operator=(const LockComponent& other527) { - type = other527.type; - level = other527.level; - dbname = other527.dbname; - tablename = other527.tablename; - partitionname = other527.partitionname; - __isset = other527.__isset; +LockComponent::LockComponent(const LockComponent& other534) { + type = other534.type; + level = other534.level; + dbname = other534.dbname; + tablename = other534.tablename; + partitionname = other534.partitionname; + __isset = other534.__isset; +} +LockComponent& LockComponent::operator=(const LockComponent& other535) { + type = other535.type; + level = other535.level; + dbname = other535.dbname; + tablename = other535.tablename; + partitionname = other535.partitionname; + __isset = other535.__isset; return *this; } void LockComponent::printTo(std::ostream& out) const { @@ -12455,14 +12561,14 @@ uint32_t LockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->component.clear(); - uint32_t _size528; - ::apache::thrift::protocol::TType _etype531; - xfer += iprot->readListBegin(_etype531, _size528); - this->component.resize(_size528); - uint32_t _i532; - for (_i532 = 0; _i532 < _size528; ++_i532) + uint32_t _size536; + ::apache::thrift::protocol::TType _etype539; + xfer += iprot->readListBegin(_etype539, _size536); + this->component.resize(_size536); + uint32_t _i540; + for (_i540 = 0; _i540 < _size536; ++_i540) { - xfer += this->component[_i532].read(iprot); + xfer += this->component[_i540].read(iprot); } xfer += iprot->readListEnd(); } @@ -12529,10 +12635,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 _iter533; - for (_iter533 = this->component.begin(); _iter533 != this->component.end(); ++_iter533) + std::vector ::const_iterator _iter541; + for (_iter541 = this->component.begin(); _iter541 != this->component.end(); ++_iter541) { - xfer += (*_iter533).write(oprot); + xfer += (*_iter541).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12571,21 +12677,21 @@ void swap(LockRequest &a, LockRequest &b) { swap(a.__isset, b.__isset); } -LockRequest::LockRequest(const LockRequest& other534) { - component = other534.component; - txnid = other534.txnid; - user = other534.user; - hostname = other534.hostname; - agentInfo = other534.agentInfo; - __isset = other534.__isset; -} -LockRequest& LockRequest::operator=(const LockRequest& other535) { - component = other535.component; - txnid = other535.txnid; - user = other535.user; - hostname = other535.hostname; - agentInfo = other535.agentInfo; - __isset = other535.__isset; +LockRequest::LockRequest(const LockRequest& other542) { + component = other542.component; + txnid = other542.txnid; + user = other542.user; + hostname = other542.hostname; + agentInfo = other542.agentInfo; + __isset = other542.__isset; +} +LockRequest& LockRequest::operator=(const LockRequest& other543) { + component = other543.component; + txnid = other543.txnid; + user = other543.user; + hostname = other543.hostname; + agentInfo = other543.agentInfo; + __isset = other543.__isset; return *this; } void LockRequest::printTo(std::ostream& out) const { @@ -12645,9 +12751,9 @@ uint32_t LockResponse::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast536; - xfer += iprot->readI32(ecast536); - this->state = (LockState::type)ecast536; + int32_t ecast544; + xfer += iprot->readI32(ecast544); + this->state = (LockState::type)ecast544; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -12693,13 +12799,13 @@ void swap(LockResponse &a, LockResponse &b) { swap(a.state, b.state); } -LockResponse::LockResponse(const LockResponse& other537) { - lockid = other537.lockid; - state = other537.state; +LockResponse::LockResponse(const LockResponse& other545) { + lockid = other545.lockid; + state = other545.state; } -LockResponse& LockResponse::operator=(const LockResponse& other538) { - lockid = other538.lockid; - state = other538.state; +LockResponse& LockResponse::operator=(const LockResponse& other546) { + lockid = other546.lockid; + state = other546.state; return *this; } void LockResponse::printTo(std::ostream& out) const { @@ -12821,17 +12927,17 @@ void swap(CheckLockRequest &a, CheckLockRequest &b) { swap(a.__isset, b.__isset); } -CheckLockRequest::CheckLockRequest(const CheckLockRequest& other539) { - lockid = other539.lockid; - txnid = other539.txnid; - elapsed_ms = other539.elapsed_ms; - __isset = other539.__isset; +CheckLockRequest::CheckLockRequest(const CheckLockRequest& other547) { + lockid = other547.lockid; + txnid = other547.txnid; + elapsed_ms = other547.elapsed_ms; + __isset = other547.__isset; } -CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other540) { - lockid = other540.lockid; - txnid = other540.txnid; - elapsed_ms = other540.elapsed_ms; - __isset = other540.__isset; +CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other548) { + lockid = other548.lockid; + txnid = other548.txnid; + elapsed_ms = other548.elapsed_ms; + __isset = other548.__isset; return *this; } void CheckLockRequest::printTo(std::ostream& out) const { @@ -12915,11 +13021,11 @@ void swap(UnlockRequest &a, UnlockRequest &b) { swap(a.lockid, b.lockid); } -UnlockRequest::UnlockRequest(const UnlockRequest& other541) { - lockid = other541.lockid; +UnlockRequest::UnlockRequest(const UnlockRequest& other549) { + lockid = other549.lockid; } -UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other542) { - lockid = other542.lockid; +UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other550) { + lockid = other550.lockid; return *this; } void UnlockRequest::printTo(std::ostream& out) const { @@ -13058,19 +13164,19 @@ void swap(ShowLocksRequest &a, ShowLocksRequest &b) { swap(a.__isset, b.__isset); } -ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other543) { - dbname = other543.dbname; - tablename = other543.tablename; - partname = other543.partname; - isExtended = other543.isExtended; - __isset = other543.__isset; +ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other551) { + dbname = other551.dbname; + tablename = other551.tablename; + partname = other551.partname; + isExtended = other551.isExtended; + __isset = other551.__isset; } -ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other544) { - dbname = other544.dbname; - tablename = other544.tablename; - partname = other544.partname; - isExtended = other544.isExtended; - __isset = other544.__isset; +ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other552) { + dbname = other552.dbname; + tablename = other552.tablename; + partname = other552.partname; + isExtended = other552.isExtended; + __isset = other552.__isset; return *this; } void ShowLocksRequest::printTo(std::ostream& out) const { @@ -13223,9 +13329,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast545; - xfer += iprot->readI32(ecast545); - this->state = (LockState::type)ecast545; + int32_t ecast553; + xfer += iprot->readI32(ecast553); + this->state = (LockState::type)ecast553; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -13233,9 +13339,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast546; - xfer += iprot->readI32(ecast546); - this->type = (LockType::type)ecast546; + int32_t ecast554; + xfer += iprot->readI32(ecast554); + this->type = (LockType::type)ecast554; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -13451,43 +13557,43 @@ void swap(ShowLocksResponseElement &a, ShowLocksResponseElement &b) { swap(a.__isset, b.__isset); } -ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other547) { - lockid = other547.lockid; - dbname = other547.dbname; - tablename = other547.tablename; - partname = other547.partname; - state = other547.state; - type = other547.type; - txnid = other547.txnid; - lastheartbeat = other547.lastheartbeat; - acquiredat = other547.acquiredat; - user = other547.user; - hostname = other547.hostname; - heartbeatCount = other547.heartbeatCount; - agentInfo = other547.agentInfo; - blockedByExtId = other547.blockedByExtId; - blockedByIntId = other547.blockedByIntId; - lockIdInternal = other547.lockIdInternal; - __isset = other547.__isset; +ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other555) { + lockid = other555.lockid; + dbname = other555.dbname; + tablename = other555.tablename; + partname = other555.partname; + state = other555.state; + type = other555.type; + txnid = other555.txnid; + lastheartbeat = other555.lastheartbeat; + acquiredat = other555.acquiredat; + user = other555.user; + hostname = other555.hostname; + heartbeatCount = other555.heartbeatCount; + agentInfo = other555.agentInfo; + blockedByExtId = other555.blockedByExtId; + blockedByIntId = other555.blockedByIntId; + lockIdInternal = other555.lockIdInternal; + __isset = other555.__isset; } -ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other548) { - lockid = other548.lockid; - dbname = other548.dbname; - tablename = other548.tablename; - partname = other548.partname; - state = other548.state; - type = other548.type; - txnid = other548.txnid; - lastheartbeat = other548.lastheartbeat; - acquiredat = other548.acquiredat; - user = other548.user; - hostname = other548.hostname; - heartbeatCount = other548.heartbeatCount; - agentInfo = other548.agentInfo; - blockedByExtId = other548.blockedByExtId; - blockedByIntId = other548.blockedByIntId; - lockIdInternal = other548.lockIdInternal; - __isset = other548.__isset; +ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other556) { + lockid = other556.lockid; + dbname = other556.dbname; + tablename = other556.tablename; + partname = other556.partname; + state = other556.state; + type = other556.type; + txnid = other556.txnid; + lastheartbeat = other556.lastheartbeat; + acquiredat = other556.acquiredat; + user = other556.user; + hostname = other556.hostname; + heartbeatCount = other556.heartbeatCount; + agentInfo = other556.agentInfo; + blockedByExtId = other556.blockedByExtId; + blockedByIntId = other556.blockedByIntId; + lockIdInternal = other556.lockIdInternal; + __isset = other556.__isset; return *this; } void ShowLocksResponseElement::printTo(std::ostream& out) const { @@ -13546,14 +13652,14 @@ uint32_t ShowLocksResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->locks.clear(); - uint32_t _size549; - ::apache::thrift::protocol::TType _etype552; - xfer += iprot->readListBegin(_etype552, _size549); - this->locks.resize(_size549); - uint32_t _i553; - for (_i553 = 0; _i553 < _size549; ++_i553) + uint32_t _size557; + ::apache::thrift::protocol::TType _etype560; + xfer += iprot->readListBegin(_etype560, _size557); + this->locks.resize(_size557); + uint32_t _i561; + for (_i561 = 0; _i561 < _size557; ++_i561) { - xfer += this->locks[_i553].read(iprot); + xfer += this->locks[_i561].read(iprot); } xfer += iprot->readListEnd(); } @@ -13582,10 +13688,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 _iter554; - for (_iter554 = this->locks.begin(); _iter554 != this->locks.end(); ++_iter554) + std::vector ::const_iterator _iter562; + for (_iter562 = this->locks.begin(); _iter562 != this->locks.end(); ++_iter562) { - xfer += (*_iter554).write(oprot); + xfer += (*_iter562).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13602,13 +13708,13 @@ void swap(ShowLocksResponse &a, ShowLocksResponse &b) { swap(a.__isset, b.__isset); } -ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other555) { - locks = other555.locks; - __isset = other555.__isset; +ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other563) { + locks = other563.locks; + __isset = other563.__isset; } -ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other556) { - locks = other556.locks; - __isset = other556.__isset; +ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other564) { + locks = other564.locks; + __isset = other564.__isset; return *this; } void ShowLocksResponse::printTo(std::ostream& out) const { @@ -13709,15 +13815,15 @@ void swap(HeartbeatRequest &a, HeartbeatRequest &b) { swap(a.__isset, b.__isset); } -HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other557) { - lockid = other557.lockid; - txnid = other557.txnid; - __isset = other557.__isset; +HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other565) { + lockid = other565.lockid; + txnid = other565.txnid; + __isset = other565.__isset; } -HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other558) { - lockid = other558.lockid; - txnid = other558.txnid; - __isset = other558.__isset; +HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other566) { + lockid = other566.lockid; + txnid = other566.txnid; + __isset = other566.__isset; return *this; } void HeartbeatRequest::printTo(std::ostream& out) const { @@ -13820,13 +13926,13 @@ void swap(HeartbeatTxnRangeRequest &a, HeartbeatTxnRangeRequest &b) { swap(a.max, b.max); } -HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other559) { - min = other559.min; - max = other559.max; +HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other567) { + min = other567.min; + max = other567.max; } -HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other560) { - min = other560.min; - max = other560.max; +HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other568) { + min = other568.min; + max = other568.max; return *this; } void HeartbeatTxnRangeRequest::printTo(std::ostream& out) const { @@ -13877,15 +13983,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->aborted.clear(); - uint32_t _size561; - ::apache::thrift::protocol::TType _etype564; - xfer += iprot->readSetBegin(_etype564, _size561); - uint32_t _i565; - for (_i565 = 0; _i565 < _size561; ++_i565) + uint32_t _size569; + ::apache::thrift::protocol::TType _etype572; + xfer += iprot->readSetBegin(_etype572, _size569); + uint32_t _i573; + for (_i573 = 0; _i573 < _size569; ++_i573) { - int64_t _elem566; - xfer += iprot->readI64(_elem566); - this->aborted.insert(_elem566); + int64_t _elem574; + xfer += iprot->readI64(_elem574); + this->aborted.insert(_elem574); } xfer += iprot->readSetEnd(); } @@ -13898,15 +14004,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->nosuch.clear(); - uint32_t _size567; - ::apache::thrift::protocol::TType _etype570; - xfer += iprot->readSetBegin(_etype570, _size567); - uint32_t _i571; - for (_i571 = 0; _i571 < _size567; ++_i571) + uint32_t _size575; + ::apache::thrift::protocol::TType _etype578; + xfer += iprot->readSetBegin(_etype578, _size575); + uint32_t _i579; + for (_i579 = 0; _i579 < _size575; ++_i579) { - int64_t _elem572; - xfer += iprot->readI64(_elem572); - this->nosuch.insert(_elem572); + int64_t _elem580; + xfer += iprot->readI64(_elem580); + this->nosuch.insert(_elem580); } xfer += iprot->readSetEnd(); } @@ -13939,10 +14045,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 _iter573; - for (_iter573 = this->aborted.begin(); _iter573 != this->aborted.end(); ++_iter573) + std::set ::const_iterator _iter581; + for (_iter581 = this->aborted.begin(); _iter581 != this->aborted.end(); ++_iter581) { - xfer += oprot->writeI64((*_iter573)); + xfer += oprot->writeI64((*_iter581)); } xfer += oprot->writeSetEnd(); } @@ -13951,10 +14057,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 _iter574; - for (_iter574 = this->nosuch.begin(); _iter574 != this->nosuch.end(); ++_iter574) + std::set ::const_iterator _iter582; + for (_iter582 = this->nosuch.begin(); _iter582 != this->nosuch.end(); ++_iter582) { - xfer += oprot->writeI64((*_iter574)); + xfer += oprot->writeI64((*_iter582)); } xfer += oprot->writeSetEnd(); } @@ -13971,13 +14077,13 @@ void swap(HeartbeatTxnRangeResponse &a, HeartbeatTxnRangeResponse &b) { swap(a.nosuch, b.nosuch); } -HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other575) { - aborted = other575.aborted; - nosuch = other575.nosuch; +HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other583) { + aborted = other583.aborted; + nosuch = other583.nosuch; } -HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other576) { - aborted = other576.aborted; - nosuch = other576.nosuch; +HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other584) { + aborted = other584.aborted; + nosuch = other584.nosuch; return *this; } void HeartbeatTxnRangeResponse::printTo(std::ostream& out) const { @@ -14065,9 +14171,9 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast577; - xfer += iprot->readI32(ecast577); - this->type = (CompactionType::type)ecast577; + int32_t ecast585; + xfer += iprot->readI32(ecast585); + this->type = (CompactionType::type)ecast585; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -14141,21 +14247,21 @@ void swap(CompactionRequest &a, CompactionRequest &b) { swap(a.__isset, b.__isset); } -CompactionRequest::CompactionRequest(const CompactionRequest& other578) { - dbname = other578.dbname; - tablename = other578.tablename; - partitionname = other578.partitionname; - type = other578.type; - runas = other578.runas; - __isset = other578.__isset; -} -CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other579) { - dbname = other579.dbname; - tablename = other579.tablename; - partitionname = other579.partitionname; - type = other579.type; - runas = other579.runas; - __isset = other579.__isset; +CompactionRequest::CompactionRequest(const CompactionRequest& other586) { + dbname = other586.dbname; + tablename = other586.tablename; + partitionname = other586.partitionname; + type = other586.type; + runas = other586.runas; + __isset = other586.__isset; +} +CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other587) { + dbname = other587.dbname; + tablename = other587.tablename; + partitionname = other587.partitionname; + type = other587.type; + runas = other587.runas; + __isset = other587.__isset; return *this; } void CompactionRequest::printTo(std::ostream& out) const { @@ -14218,11 +14324,11 @@ void swap(ShowCompactRequest &a, ShowCompactRequest &b) { (void) b; } -ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other580) { - (void) other580; +ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other588) { + (void) other588; } -ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other581) { - (void) other581; +ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other589) { + (void) other589; return *this; } void ShowCompactRequest::printTo(std::ostream& out) const { @@ -14343,9 +14449,9 @@ uint32_t ShowCompactResponseElement::read(::apache::thrift::protocol::TProtocol* break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast582; - xfer += iprot->readI32(ecast582); - this->type = (CompactionType::type)ecast582; + int32_t ecast590; + xfer += iprot->readI32(ecast590); + this->type = (CompactionType::type)ecast590; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -14518,35 +14624,35 @@ void swap(ShowCompactResponseElement &a, ShowCompactResponseElement &b) { swap(a.__isset, b.__isset); } -ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other583) { - dbname = other583.dbname; - tablename = other583.tablename; - partitionname = other583.partitionname; - type = other583.type; - state = other583.state; - workerid = other583.workerid; - start = other583.start; - runAs = other583.runAs; - hightestTxnId = other583.hightestTxnId; - metaInfo = other583.metaInfo; - endTime = other583.endTime; - hadoopJobId = other583.hadoopJobId; - __isset = other583.__isset; -} -ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other584) { - dbname = other584.dbname; - tablename = other584.tablename; - partitionname = other584.partitionname; - type = other584.type; - state = other584.state; - workerid = other584.workerid; - start = other584.start; - runAs = other584.runAs; - hightestTxnId = other584.hightestTxnId; - metaInfo = other584.metaInfo; - endTime = other584.endTime; - hadoopJobId = other584.hadoopJobId; - __isset = other584.__isset; +ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other591) { + dbname = other591.dbname; + tablename = other591.tablename; + partitionname = other591.partitionname; + type = other591.type; + state = other591.state; + workerid = other591.workerid; + start = other591.start; + runAs = other591.runAs; + hightestTxnId = other591.hightestTxnId; + metaInfo = other591.metaInfo; + endTime = other591.endTime; + hadoopJobId = other591.hadoopJobId; + __isset = other591.__isset; +} +ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other592) { + dbname = other592.dbname; + tablename = other592.tablename; + partitionname = other592.partitionname; + type = other592.type; + state = other592.state; + workerid = other592.workerid; + start = other592.start; + runAs = other592.runAs; + hightestTxnId = other592.hightestTxnId; + metaInfo = other592.metaInfo; + endTime = other592.endTime; + hadoopJobId = other592.hadoopJobId; + __isset = other592.__isset; return *this; } void ShowCompactResponseElement::printTo(std::ostream& out) const { @@ -14602,14 +14708,14 @@ uint32_t ShowCompactResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->compacts.clear(); - uint32_t _size585; - ::apache::thrift::protocol::TType _etype588; - xfer += iprot->readListBegin(_etype588, _size585); - this->compacts.resize(_size585); - uint32_t _i589; - for (_i589 = 0; _i589 < _size585; ++_i589) + uint32_t _size593; + ::apache::thrift::protocol::TType _etype596; + xfer += iprot->readListBegin(_etype596, _size593); + this->compacts.resize(_size593); + uint32_t _i597; + for (_i597 = 0; _i597 < _size593; ++_i597) { - xfer += this->compacts[_i589].read(iprot); + xfer += this->compacts[_i597].read(iprot); } xfer += iprot->readListEnd(); } @@ -14640,10 +14746,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 _iter590; - for (_iter590 = this->compacts.begin(); _iter590 != this->compacts.end(); ++_iter590) + std::vector ::const_iterator _iter598; + for (_iter598 = this->compacts.begin(); _iter598 != this->compacts.end(); ++_iter598) { - xfer += (*_iter590).write(oprot); + xfer += (*_iter598).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14659,11 +14765,11 @@ void swap(ShowCompactResponse &a, ShowCompactResponse &b) { swap(a.compacts, b.compacts); } -ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other591) { - compacts = other591.compacts; +ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other599) { + compacts = other599.compacts; } -ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other592) { - compacts = other592.compacts; +ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other600) { + compacts = other600.compacts; return *this; } void ShowCompactResponse::printTo(std::ostream& out) const { @@ -14747,14 +14853,14 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionnames.clear(); - uint32_t _size593; - ::apache::thrift::protocol::TType _etype596; - xfer += iprot->readListBegin(_etype596, _size593); - this->partitionnames.resize(_size593); - uint32_t _i597; - for (_i597 = 0; _i597 < _size593; ++_i597) + uint32_t _size601; + ::apache::thrift::protocol::TType _etype604; + xfer += iprot->readListBegin(_etype604, _size601); + this->partitionnames.resize(_size601); + uint32_t _i605; + for (_i605 = 0; _i605 < _size601; ++_i605) { - xfer += iprot->readString(this->partitionnames[_i597]); + xfer += iprot->readString(this->partitionnames[_i605]); } xfer += iprot->readListEnd(); } @@ -14803,10 +14909,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 _iter598; - for (_iter598 = this->partitionnames.begin(); _iter598 != this->partitionnames.end(); ++_iter598) + std::vector ::const_iterator _iter606; + for (_iter606 = this->partitionnames.begin(); _iter606 != this->partitionnames.end(); ++_iter606) { - xfer += oprot->writeString((*_iter598)); + xfer += oprot->writeString((*_iter606)); } xfer += oprot->writeListEnd(); } @@ -14825,17 +14931,17 @@ void swap(AddDynamicPartitions &a, AddDynamicPartitions &b) { swap(a.partitionnames, b.partitionnames); } -AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other599) { - txnid = other599.txnid; - dbname = other599.dbname; - tablename = other599.tablename; - partitionnames = other599.partitionnames; +AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other607) { + txnid = other607.txnid; + dbname = other607.dbname; + tablename = other607.tablename; + partitionnames = other607.partitionnames; } -AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other600) { - txnid = other600.txnid; - dbname = other600.dbname; - tablename = other600.tablename; - partitionnames = other600.partitionnames; +AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other608) { + txnid = other608.txnid; + dbname = other608.dbname; + tablename = other608.tablename; + partitionnames = other608.partitionnames; return *this; } void AddDynamicPartitions::printTo(std::ostream& out) const { @@ -14940,15 +15046,15 @@ void swap(NotificationEventRequest &a, NotificationEventRequest &b) { swap(a.__isset, b.__isset); } -NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other601) { - lastEvent = other601.lastEvent; - maxEvents = other601.maxEvents; - __isset = other601.__isset; +NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other609) { + lastEvent = other609.lastEvent; + maxEvents = other609.maxEvents; + __isset = other609.__isset; } -NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other602) { - lastEvent = other602.lastEvent; - maxEvents = other602.maxEvents; - __isset = other602.__isset; +NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other610) { + lastEvent = other610.lastEvent; + maxEvents = other610.maxEvents; + __isset = other610.__isset; return *this; } void NotificationEventRequest::printTo(std::ostream& out) const { @@ -15130,23 +15236,23 @@ void swap(NotificationEvent &a, NotificationEvent &b) { swap(a.__isset, b.__isset); } -NotificationEvent::NotificationEvent(const NotificationEvent& other603) { - eventId = other603.eventId; - eventTime = other603.eventTime; - eventType = other603.eventType; - dbName = other603.dbName; - tableName = other603.tableName; - message = other603.message; - __isset = other603.__isset; -} -NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other604) { - eventId = other604.eventId; - eventTime = other604.eventTime; - eventType = other604.eventType; - dbName = other604.dbName; - tableName = other604.tableName; - message = other604.message; - __isset = other604.__isset; +NotificationEvent::NotificationEvent(const NotificationEvent& other611) { + eventId = other611.eventId; + eventTime = other611.eventTime; + eventType = other611.eventType; + dbName = other611.dbName; + tableName = other611.tableName; + message = other611.message; + __isset = other611.__isset; +} +NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other612) { + eventId = other612.eventId; + eventTime = other612.eventTime; + eventType = other612.eventType; + dbName = other612.dbName; + tableName = other612.tableName; + message = other612.message; + __isset = other612.__isset; return *this; } void NotificationEvent::printTo(std::ostream& out) const { @@ -15196,14 +15302,14 @@ uint32_t NotificationEventResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->events.clear(); - uint32_t _size605; - ::apache::thrift::protocol::TType _etype608; - xfer += iprot->readListBegin(_etype608, _size605); - this->events.resize(_size605); - uint32_t _i609; - for (_i609 = 0; _i609 < _size605; ++_i609) + uint32_t _size613; + ::apache::thrift::protocol::TType _etype616; + xfer += iprot->readListBegin(_etype616, _size613); + this->events.resize(_size613); + uint32_t _i617; + for (_i617 = 0; _i617 < _size613; ++_i617) { - xfer += this->events[_i609].read(iprot); + xfer += this->events[_i617].read(iprot); } xfer += iprot->readListEnd(); } @@ -15234,10 +15340,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 _iter610; - for (_iter610 = this->events.begin(); _iter610 != this->events.end(); ++_iter610) + std::vector ::const_iterator _iter618; + for (_iter618 = this->events.begin(); _iter618 != this->events.end(); ++_iter618) { - xfer += (*_iter610).write(oprot); + xfer += (*_iter618).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15253,11 +15359,11 @@ void swap(NotificationEventResponse &a, NotificationEventResponse &b) { swap(a.events, b.events); } -NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other611) { - events = other611.events; +NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other619) { + events = other619.events; } -NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other612) { - events = other612.events; +NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other620) { + events = other620.events; return *this; } void NotificationEventResponse::printTo(std::ostream& out) const { @@ -15339,11 +15445,11 @@ void swap(CurrentNotificationEventId &a, CurrentNotificationEventId &b) { swap(a.eventId, b.eventId); } -CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other613) { - eventId = other613.eventId; +CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other621) { + eventId = other621.eventId; } -CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other614) { - eventId = other614.eventId; +CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other622) { + eventId = other622.eventId; return *this; } void CurrentNotificationEventId::printTo(std::ostream& out) const { @@ -15388,14 +15494,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAdded.clear(); - uint32_t _size615; - ::apache::thrift::protocol::TType _etype618; - xfer += iprot->readListBegin(_etype618, _size615); - this->filesAdded.resize(_size615); - uint32_t _i619; - for (_i619 = 0; _i619 < _size615; ++_i619) + uint32_t _size623; + ::apache::thrift::protocol::TType _etype626; + xfer += iprot->readListBegin(_etype626, _size623); + this->filesAdded.resize(_size623); + uint32_t _i627; + for (_i627 = 0; _i627 < _size623; ++_i627) { - xfer += iprot->readString(this->filesAdded[_i619]); + xfer += iprot->readString(this->filesAdded[_i627]); } xfer += iprot->readListEnd(); } @@ -15426,10 +15532,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 _iter620; - for (_iter620 = this->filesAdded.begin(); _iter620 != this->filesAdded.end(); ++_iter620) + std::vector ::const_iterator _iter628; + for (_iter628 = this->filesAdded.begin(); _iter628 != this->filesAdded.end(); ++_iter628) { - xfer += oprot->writeString((*_iter620)); + xfer += oprot->writeString((*_iter628)); } xfer += oprot->writeListEnd(); } @@ -15445,11 +15551,11 @@ void swap(InsertEventRequestData &a, InsertEventRequestData &b) { swap(a.filesAdded, b.filesAdded); } -InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other621) { - filesAdded = other621.filesAdded; +InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other629) { + filesAdded = other629.filesAdded; } -InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other622) { - filesAdded = other622.filesAdded; +InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other630) { + filesAdded = other630.filesAdded; return *this; } void InsertEventRequestData::printTo(std::ostream& out) const { @@ -15529,13 +15635,13 @@ void swap(FireEventRequestData &a, FireEventRequestData &b) { swap(a.__isset, b.__isset); } -FireEventRequestData::FireEventRequestData(const FireEventRequestData& other623) { - insertData = other623.insertData; - __isset = other623.__isset; +FireEventRequestData::FireEventRequestData(const FireEventRequestData& other631) { + insertData = other631.insertData; + __isset = other631.__isset; } -FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other624) { - insertData = other624.insertData; - __isset = other624.__isset; +FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other632) { + insertData = other632.insertData; + __isset = other632.__isset; return *this; } void FireEventRequestData::printTo(std::ostream& out) const { @@ -15632,14 +15738,14 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionVals.clear(); - uint32_t _size625; - ::apache::thrift::protocol::TType _etype628; - xfer += iprot->readListBegin(_etype628, _size625); - this->partitionVals.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->partitionVals.resize(_size633); + uint32_t _i637; + for (_i637 = 0; _i637 < _size633; ++_i637) { - xfer += iprot->readString(this->partitionVals[_i629]); + xfer += iprot->readString(this->partitionVals[_i637]); } xfer += iprot->readListEnd(); } @@ -15691,10 +15797,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 _iter630; - for (_iter630 = this->partitionVals.begin(); _iter630 != this->partitionVals.end(); ++_iter630) + std::vector ::const_iterator _iter638; + for (_iter638 = this->partitionVals.begin(); _iter638 != this->partitionVals.end(); ++_iter638) { - xfer += oprot->writeString((*_iter630)); + xfer += oprot->writeString((*_iter638)); } xfer += oprot->writeListEnd(); } @@ -15715,21 +15821,21 @@ void swap(FireEventRequest &a, FireEventRequest &b) { swap(a.__isset, b.__isset); } -FireEventRequest::FireEventRequest(const FireEventRequest& other631) { - successful = other631.successful; - data = other631.data; - dbName = other631.dbName; - tableName = other631.tableName; - partitionVals = other631.partitionVals; - __isset = other631.__isset; -} -FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other632) { - successful = other632.successful; - data = other632.data; - dbName = other632.dbName; - tableName = other632.tableName; - partitionVals = other632.partitionVals; - __isset = other632.__isset; +FireEventRequest::FireEventRequest(const FireEventRequest& other639) { + successful = other639.successful; + data = other639.data; + dbName = other639.dbName; + tableName = other639.tableName; + partitionVals = other639.partitionVals; + __isset = other639.__isset; +} +FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other640) { + successful = other640.successful; + data = other640.data; + dbName = other640.dbName; + tableName = other640.tableName; + partitionVals = other640.partitionVals; + __isset = other640.__isset; return *this; } void FireEventRequest::printTo(std::ostream& out) const { @@ -15792,11 +15898,11 @@ void swap(FireEventResponse &a, FireEventResponse &b) { (void) b; } -FireEventResponse::FireEventResponse(const FireEventResponse& other633) { - (void) other633; +FireEventResponse::FireEventResponse(const FireEventResponse& other641) { + (void) other641; } -FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other634) { - (void) other634; +FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other642) { + (void) other642; return *this; } void FireEventResponse::printTo(std::ostream& out) const { @@ -15896,15 +16002,15 @@ void swap(MetadataPpdResult &a, MetadataPpdResult &b) { swap(a.__isset, b.__isset); } -MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other635) { - metadata = other635.metadata; - includeBitset = other635.includeBitset; - __isset = other635.__isset; +MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other643) { + metadata = other643.metadata; + includeBitset = other643.includeBitset; + __isset = other643.__isset; } -MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other636) { - metadata = other636.metadata; - includeBitset = other636.includeBitset; - __isset = other636.__isset; +MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other644) { + metadata = other644.metadata; + includeBitset = other644.includeBitset; + __isset = other644.__isset; return *this; } void MetadataPpdResult::printTo(std::ostream& out) const { @@ -15955,17 +16061,17 @@ uint32_t GetFileMetadataByExprResult::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size637; - ::apache::thrift::protocol::TType _ktype638; - ::apache::thrift::protocol::TType _vtype639; - xfer += iprot->readMapBegin(_ktype638, _vtype639, _size637); - uint32_t _i641; - for (_i641 = 0; _i641 < _size637; ++_i641) + uint32_t _size645; + ::apache::thrift::protocol::TType _ktype646; + ::apache::thrift::protocol::TType _vtype647; + xfer += iprot->readMapBegin(_ktype646, _vtype647, _size645); + uint32_t _i649; + for (_i649 = 0; _i649 < _size645; ++_i649) { - int64_t _key642; - xfer += iprot->readI64(_key642); - MetadataPpdResult& _val643 = this->metadata[_key642]; - xfer += _val643.read(iprot); + int64_t _key650; + xfer += iprot->readI64(_key650); + MetadataPpdResult& _val651 = this->metadata[_key650]; + xfer += _val651.read(iprot); } xfer += iprot->readMapEnd(); } @@ -16006,11 +16112,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 _iter644; - for (_iter644 = this->metadata.begin(); _iter644 != this->metadata.end(); ++_iter644) + std::map ::const_iterator _iter652; + for (_iter652 = this->metadata.begin(); _iter652 != this->metadata.end(); ++_iter652) { - xfer += oprot->writeI64(_iter644->first); - xfer += _iter644->second.write(oprot); + xfer += oprot->writeI64(_iter652->first); + xfer += _iter652->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -16031,13 +16137,13 @@ void swap(GetFileMetadataByExprResult &a, GetFileMetadataByExprResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other645) { - metadata = other645.metadata; - isSupported = other645.isSupported; +GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other653) { + metadata = other653.metadata; + isSupported = other653.isSupported; } -GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other646) { - metadata = other646.metadata; - isSupported = other646.isSupported; +GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other654) { + metadata = other654.metadata; + isSupported = other654.isSupported; return *this; } void GetFileMetadataByExprResult::printTo(std::ostream& out) const { @@ -16098,14 +16204,14 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size647; - ::apache::thrift::protocol::TType _etype650; - xfer += iprot->readListBegin(_etype650, _size647); - this->fileIds.resize(_size647); - uint32_t _i651; - for (_i651 = 0; _i651 < _size647; ++_i651) + uint32_t _size655; + ::apache::thrift::protocol::TType _etype658; + xfer += iprot->readListBegin(_etype658, _size655); + this->fileIds.resize(_size655); + uint32_t _i659; + for (_i659 = 0; _i659 < _size655; ++_i659) { - xfer += iprot->readI64(this->fileIds[_i651]); + xfer += iprot->readI64(this->fileIds[_i659]); } xfer += iprot->readListEnd(); } @@ -16132,9 +16238,9 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast652; - xfer += iprot->readI32(ecast652); - this->type = (FileMetadataExprType::type)ecast652; + int32_t ecast660; + xfer += iprot->readI32(ecast660); + this->type = (FileMetadataExprType::type)ecast660; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -16164,10 +16270,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 _iter653; - for (_iter653 = this->fileIds.begin(); _iter653 != this->fileIds.end(); ++_iter653) + std::vector ::const_iterator _iter661; + for (_iter661 = this->fileIds.begin(); _iter661 != this->fileIds.end(); ++_iter661) { - xfer += oprot->writeI64((*_iter653)); + xfer += oprot->writeI64((*_iter661)); } xfer += oprot->writeListEnd(); } @@ -16201,19 +16307,19 @@ void swap(GetFileMetadataByExprRequest &a, GetFileMetadataByExprRequest &b) { swap(a.__isset, b.__isset); } -GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other654) { - fileIds = other654.fileIds; - expr = other654.expr; - doGetFooters = other654.doGetFooters; - type = other654.type; - __isset = other654.__isset; +GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other662) { + fileIds = other662.fileIds; + expr = other662.expr; + doGetFooters = other662.doGetFooters; + type = other662.type; + __isset = other662.__isset; } -GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other655) { - fileIds = other655.fileIds; - expr = other655.expr; - doGetFooters = other655.doGetFooters; - type = other655.type; - __isset = other655.__isset; +GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other663) { + fileIds = other663.fileIds; + expr = other663.expr; + doGetFooters = other663.doGetFooters; + type = other663.type; + __isset = other663.__isset; return *this; } void GetFileMetadataByExprRequest::printTo(std::ostream& out) const { @@ -16266,17 +16372,17 @@ uint32_t GetFileMetadataResult::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size656; - ::apache::thrift::protocol::TType _ktype657; - ::apache::thrift::protocol::TType _vtype658; - xfer += iprot->readMapBegin(_ktype657, _vtype658, _size656); - uint32_t _i660; - for (_i660 = 0; _i660 < _size656; ++_i660) + uint32_t _size664; + ::apache::thrift::protocol::TType _ktype665; + ::apache::thrift::protocol::TType _vtype666; + xfer += iprot->readMapBegin(_ktype665, _vtype666, _size664); + uint32_t _i668; + for (_i668 = 0; _i668 < _size664; ++_i668) { - int64_t _key661; - xfer += iprot->readI64(_key661); - std::string& _val662 = this->metadata[_key661]; - xfer += iprot->readBinary(_val662); + int64_t _key669; + xfer += iprot->readI64(_key669); + std::string& _val670 = this->metadata[_key669]; + xfer += iprot->readBinary(_val670); } xfer += iprot->readMapEnd(); } @@ -16317,11 +16423,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 _iter663; - for (_iter663 = this->metadata.begin(); _iter663 != this->metadata.end(); ++_iter663) + std::map ::const_iterator _iter671; + for (_iter671 = this->metadata.begin(); _iter671 != this->metadata.end(); ++_iter671) { - xfer += oprot->writeI64(_iter663->first); - xfer += oprot->writeBinary(_iter663->second); + xfer += oprot->writeI64(_iter671->first); + xfer += oprot->writeBinary(_iter671->second); } xfer += oprot->writeMapEnd(); } @@ -16342,13 +16448,13 @@ void swap(GetFileMetadataResult &a, GetFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other664) { - metadata = other664.metadata; - isSupported = other664.isSupported; +GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other672) { + metadata = other672.metadata; + isSupported = other672.isSupported; } -GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other665) { - metadata = other665.metadata; - isSupported = other665.isSupported; +GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other673) { + metadata = other673.metadata; + isSupported = other673.isSupported; return *this; } void GetFileMetadataResult::printTo(std::ostream& out) const { @@ -16394,14 +16500,14 @@ uint32_t GetFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size666; - ::apache::thrift::protocol::TType _etype669; - xfer += iprot->readListBegin(_etype669, _size666); - this->fileIds.resize(_size666); - uint32_t _i670; - for (_i670 = 0; _i670 < _size666; ++_i670) + uint32_t _size674; + ::apache::thrift::protocol::TType _etype677; + xfer += iprot->readListBegin(_etype677, _size674); + this->fileIds.resize(_size674); + uint32_t _i678; + for (_i678 = 0; _i678 < _size674; ++_i678) { - xfer += iprot->readI64(this->fileIds[_i670]); + xfer += iprot->readI64(this->fileIds[_i678]); } xfer += iprot->readListEnd(); } @@ -16432,10 +16538,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 _iter671; - for (_iter671 = this->fileIds.begin(); _iter671 != this->fileIds.end(); ++_iter671) + std::vector ::const_iterator _iter679; + for (_iter679 = this->fileIds.begin(); _iter679 != this->fileIds.end(); ++_iter679) { - xfer += oprot->writeI64((*_iter671)); + xfer += oprot->writeI64((*_iter679)); } xfer += oprot->writeListEnd(); } @@ -16451,11 +16557,11 @@ void swap(GetFileMetadataRequest &a, GetFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other672) { - fileIds = other672.fileIds; +GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other680) { + fileIds = other680.fileIds; } -GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other673) { - fileIds = other673.fileIds; +GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other681) { + fileIds = other681.fileIds; return *this; } void GetFileMetadataRequest::printTo(std::ostream& out) const { @@ -16514,11 +16620,11 @@ void swap(PutFileMetadataResult &a, PutFileMetadataResult &b) { (void) b; } -PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other674) { - (void) other674; +PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other682) { + (void) other682; } -PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other675) { - (void) other675; +PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other683) { + (void) other683; return *this; } void PutFileMetadataResult::printTo(std::ostream& out) const { @@ -16572,14 +16678,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size676; - ::apache::thrift::protocol::TType _etype679; - xfer += iprot->readListBegin(_etype679, _size676); - this->fileIds.resize(_size676); - uint32_t _i680; - for (_i680 = 0; _i680 < _size676; ++_i680) + uint32_t _size684; + ::apache::thrift::protocol::TType _etype687; + xfer += iprot->readListBegin(_etype687, _size684); + this->fileIds.resize(_size684); + uint32_t _i688; + for (_i688 = 0; _i688 < _size684; ++_i688) { - xfer += iprot->readI64(this->fileIds[_i680]); + xfer += iprot->readI64(this->fileIds[_i688]); } xfer += iprot->readListEnd(); } @@ -16592,14 +16698,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->metadata.clear(); - uint32_t _size681; - ::apache::thrift::protocol::TType _etype684; - xfer += iprot->readListBegin(_etype684, _size681); - this->metadata.resize(_size681); - uint32_t _i685; - for (_i685 = 0; _i685 < _size681; ++_i685) + uint32_t _size689; + ::apache::thrift::protocol::TType _etype692; + xfer += iprot->readListBegin(_etype692, _size689); + this->metadata.resize(_size689); + uint32_t _i693; + for (_i693 = 0; _i693 < _size689; ++_i693) { - xfer += iprot->readBinary(this->metadata[_i685]); + xfer += iprot->readBinary(this->metadata[_i693]); } xfer += iprot->readListEnd(); } @@ -16610,9 +16716,9 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast686; - xfer += iprot->readI32(ecast686); - this->type = (FileMetadataExprType::type)ecast686; + int32_t ecast694; + xfer += iprot->readI32(ecast694); + this->type = (FileMetadataExprType::type)ecast694; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -16642,10 +16748,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 _iter687; - for (_iter687 = this->fileIds.begin(); _iter687 != this->fileIds.end(); ++_iter687) + std::vector ::const_iterator _iter695; + for (_iter695 = this->fileIds.begin(); _iter695 != this->fileIds.end(); ++_iter695) { - xfer += oprot->writeI64((*_iter687)); + xfer += oprot->writeI64((*_iter695)); } xfer += oprot->writeListEnd(); } @@ -16654,10 +16760,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 _iter688; - for (_iter688 = this->metadata.begin(); _iter688 != this->metadata.end(); ++_iter688) + std::vector ::const_iterator _iter696; + for (_iter696 = this->metadata.begin(); _iter696 != this->metadata.end(); ++_iter696) { - xfer += oprot->writeBinary((*_iter688)); + xfer += oprot->writeBinary((*_iter696)); } xfer += oprot->writeListEnd(); } @@ -16681,17 +16787,17 @@ void swap(PutFileMetadataRequest &a, PutFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other689) { - fileIds = other689.fileIds; - metadata = other689.metadata; - type = other689.type; - __isset = other689.__isset; +PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other697) { + fileIds = other697.fileIds; + metadata = other697.metadata; + type = other697.type; + __isset = other697.__isset; } -PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other690) { - fileIds = other690.fileIds; - metadata = other690.metadata; - type = other690.type; - __isset = other690.__isset; +PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other698) { + fileIds = other698.fileIds; + metadata = other698.metadata; + type = other698.type; + __isset = other698.__isset; return *this; } void PutFileMetadataRequest::printTo(std::ostream& out) const { @@ -16752,11 +16858,11 @@ void swap(ClearFileMetadataResult &a, ClearFileMetadataResult &b) { (void) b; } -ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other691) { - (void) other691; +ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other699) { + (void) other699; } -ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other692) { - (void) other692; +ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other700) { + (void) other700; return *this; } void ClearFileMetadataResult::printTo(std::ostream& out) const { @@ -16800,14 +16906,14 @@ uint32_t ClearFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size693; - ::apache::thrift::protocol::TType _etype696; - xfer += iprot->readListBegin(_etype696, _size693); - this->fileIds.resize(_size693); - uint32_t _i697; - for (_i697 = 0; _i697 < _size693; ++_i697) + uint32_t _size701; + ::apache::thrift::protocol::TType _etype704; + xfer += iprot->readListBegin(_etype704, _size701); + this->fileIds.resize(_size701); + uint32_t _i705; + for (_i705 = 0; _i705 < _size701; ++_i705) { - xfer += iprot->readI64(this->fileIds[_i697]); + xfer += iprot->readI64(this->fileIds[_i705]); } xfer += iprot->readListEnd(); } @@ -16838,10 +16944,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 _iter698; - for (_iter698 = this->fileIds.begin(); _iter698 != this->fileIds.end(); ++_iter698) + std::vector ::const_iterator _iter706; + for (_iter706 = this->fileIds.begin(); _iter706 != this->fileIds.end(); ++_iter706) { - xfer += oprot->writeI64((*_iter698)); + xfer += oprot->writeI64((*_iter706)); } xfer += oprot->writeListEnd(); } @@ -16857,11 +16963,11 @@ void swap(ClearFileMetadataRequest &a, ClearFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other699) { - fileIds = other699.fileIds; +ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other707) { + fileIds = other707.fileIds; } -ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other700) { - fileIds = other700.fileIds; +ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other708) { + fileIds = other708.fileIds; return *this; } void ClearFileMetadataRequest::printTo(std::ostream& out) const { @@ -16943,11 +17049,11 @@ void swap(CacheFileMetadataResult &a, CacheFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other701) { - isSupported = other701.isSupported; +CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other709) { + isSupported = other709.isSupported; } -CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other702) { - isSupported = other702.isSupported; +CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other710) { + isSupported = other710.isSupported; return *this; } void CacheFileMetadataResult::printTo(std::ostream& out) const { @@ -17088,19 +17194,19 @@ void swap(CacheFileMetadataRequest &a, CacheFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other703) { - dbName = other703.dbName; - tblName = other703.tblName; - partName = other703.partName; - isAllParts = other703.isAllParts; - __isset = other703.__isset; +CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other711) { + dbName = other711.dbName; + tblName = other711.tblName; + partName = other711.partName; + isAllParts = other711.isAllParts; + __isset = other711.__isset; } -CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other704) { - dbName = other704.dbName; - tblName = other704.tblName; - partName = other704.partName; - isAllParts = other704.isAllParts; - __isset = other704.__isset; +CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other712) { + dbName = other712.dbName; + tblName = other712.tblName; + partName = other712.partName; + isAllParts = other712.isAllParts; + __isset = other712.__isset; return *this; } void CacheFileMetadataRequest::printTo(std::ostream& out) const { @@ -17148,14 +17254,14 @@ uint32_t GetAllFunctionsResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->functions.clear(); - uint32_t _size705; - ::apache::thrift::protocol::TType _etype708; - xfer += iprot->readListBegin(_etype708, _size705); - this->functions.resize(_size705); - uint32_t _i709; - for (_i709 = 0; _i709 < _size705; ++_i709) + uint32_t _size713; + ::apache::thrift::protocol::TType _etype716; + xfer += iprot->readListBegin(_etype716, _size713); + this->functions.resize(_size713); + uint32_t _i717; + for (_i717 = 0; _i717 < _size713; ++_i717) { - xfer += this->functions[_i709].read(iprot); + xfer += this->functions[_i717].read(iprot); } xfer += iprot->readListEnd(); } @@ -17185,10 +17291,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 _iter710; - for (_iter710 = this->functions.begin(); _iter710 != this->functions.end(); ++_iter710) + std::vector ::const_iterator _iter718; + for (_iter718 = this->functions.begin(); _iter718 != this->functions.end(); ++_iter718) { - xfer += (*_iter710).write(oprot); + xfer += (*_iter718).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17205,13 +17311,13 @@ void swap(GetAllFunctionsResponse &a, GetAllFunctionsResponse &b) { swap(a.__isset, b.__isset); } -GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other711) { - functions = other711.functions; - __isset = other711.__isset; +GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other719) { + functions = other719.functions; + __isset = other719.__isset; } -GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other712) { - functions = other712.functions; - __isset = other712.__isset; +GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other720) { + functions = other720.functions; + __isset = other720.__isset; return *this; } void GetAllFunctionsResponse::printTo(std::ostream& out) const { @@ -17353,19 +17459,19 @@ void swap(TableMeta &a, TableMeta &b) { swap(a.__isset, b.__isset); } -TableMeta::TableMeta(const TableMeta& other713) { - dbName = other713.dbName; - tableName = other713.tableName; - tableType = other713.tableType; - comments = other713.comments; - __isset = other713.__isset; +TableMeta::TableMeta(const TableMeta& other721) { + dbName = other721.dbName; + tableName = other721.tableName; + tableType = other721.tableType; + comments = other721.comments; + __isset = other721.__isset; } -TableMeta& TableMeta::operator=(const TableMeta& other714) { - dbName = other714.dbName; - tableName = other714.tableName; - tableType = other714.tableType; - comments = other714.comments; - __isset = other714.__isset; +TableMeta& TableMeta::operator=(const TableMeta& other722) { + dbName = other722.dbName; + tableName = other722.tableName; + tableType = other722.tableType; + comments = other722.comments; + __isset = other722.__isset; return *this; } void TableMeta::printTo(std::ostream& out) const { @@ -17448,13 +17554,13 @@ void swap(MetaException &a, MetaException &b) { swap(a.__isset, b.__isset); } -MetaException::MetaException(const MetaException& other715) : TException() { - message = other715.message; - __isset = other715.__isset; +MetaException::MetaException(const MetaException& other723) : TException() { + message = other723.message; + __isset = other723.__isset; } -MetaException& MetaException::operator=(const MetaException& other716) { - message = other716.message; - __isset = other716.__isset; +MetaException& MetaException::operator=(const MetaException& other724) { + message = other724.message; + __isset = other724.__isset; return *this; } void MetaException::printTo(std::ostream& out) const { @@ -17545,13 +17651,13 @@ void swap(UnknownTableException &a, UnknownTableException &b) { swap(a.__isset, b.__isset); } -UnknownTableException::UnknownTableException(const UnknownTableException& other717) : TException() { - message = other717.message; - __isset = other717.__isset; +UnknownTableException::UnknownTableException(const UnknownTableException& other725) : TException() { + message = other725.message; + __isset = other725.__isset; } -UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other718) { - message = other718.message; - __isset = other718.__isset; +UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other726) { + message = other726.message; + __isset = other726.__isset; return *this; } void UnknownTableException::printTo(std::ostream& out) const { @@ -17642,13 +17748,13 @@ void swap(UnknownDBException &a, UnknownDBException &b) { swap(a.__isset, b.__isset); } -UnknownDBException::UnknownDBException(const UnknownDBException& other719) : TException() { - message = other719.message; - __isset = other719.__isset; +UnknownDBException::UnknownDBException(const UnknownDBException& other727) : TException() { + message = other727.message; + __isset = other727.__isset; } -UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other720) { - message = other720.message; - __isset = other720.__isset; +UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other728) { + message = other728.message; + __isset = other728.__isset; return *this; } void UnknownDBException::printTo(std::ostream& out) const { @@ -17739,13 +17845,13 @@ void swap(AlreadyExistsException &a, AlreadyExistsException &b) { swap(a.__isset, b.__isset); } -AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other721) : TException() { - message = other721.message; - __isset = other721.__isset; +AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other729) : TException() { + message = other729.message; + __isset = other729.__isset; } -AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other722) { - message = other722.message; - __isset = other722.__isset; +AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other730) { + message = other730.message; + __isset = other730.__isset; return *this; } void AlreadyExistsException::printTo(std::ostream& out) const { @@ -17836,13 +17942,13 @@ void swap(InvalidPartitionException &a, InvalidPartitionException &b) { swap(a.__isset, b.__isset); } -InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other723) : TException() { - message = other723.message; - __isset = other723.__isset; +InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other731) : TException() { + message = other731.message; + __isset = other731.__isset; } -InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other724) { - message = other724.message; - __isset = other724.__isset; +InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other732) { + message = other732.message; + __isset = other732.__isset; return *this; } void InvalidPartitionException::printTo(std::ostream& out) const { @@ -17933,13 +18039,13 @@ void swap(UnknownPartitionException &a, UnknownPartitionException &b) { swap(a.__isset, b.__isset); } -UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other725) : TException() { - message = other725.message; - __isset = other725.__isset; +UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other733) : TException() { + message = other733.message; + __isset = other733.__isset; } -UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other726) { - message = other726.message; - __isset = other726.__isset; +UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other734) { + message = other734.message; + __isset = other734.__isset; return *this; } void UnknownPartitionException::printTo(std::ostream& out) const { @@ -18030,13 +18136,13 @@ void swap(InvalidObjectException &a, InvalidObjectException &b) { swap(a.__isset, b.__isset); } -InvalidObjectException::InvalidObjectException(const InvalidObjectException& other727) : TException() { - message = other727.message; - __isset = other727.__isset; +InvalidObjectException::InvalidObjectException(const InvalidObjectException& other735) : TException() { + message = other735.message; + __isset = other735.__isset; } -InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other728) { - message = other728.message; - __isset = other728.__isset; +InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other736) { + message = other736.message; + __isset = other736.__isset; return *this; } void InvalidObjectException::printTo(std::ostream& out) const { @@ -18127,13 +18233,13 @@ void swap(NoSuchObjectException &a, NoSuchObjectException &b) { swap(a.__isset, b.__isset); } -NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other729) : TException() { - message = other729.message; - __isset = other729.__isset; +NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other737) : TException() { + message = other737.message; + __isset = other737.__isset; } -NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other730) { - message = other730.message; - __isset = other730.__isset; +NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other738) { + message = other738.message; + __isset = other738.__isset; return *this; } void NoSuchObjectException::printTo(std::ostream& out) const { @@ -18224,13 +18330,13 @@ void swap(IndexAlreadyExistsException &a, IndexAlreadyExistsException &b) { swap(a.__isset, b.__isset); } -IndexAlreadyExistsException::IndexAlreadyExistsException(const IndexAlreadyExistsException& other731) : TException() { - message = other731.message; - __isset = other731.__isset; +IndexAlreadyExistsException::IndexAlreadyExistsException(const IndexAlreadyExistsException& other739) : TException() { + message = other739.message; + __isset = other739.__isset; } -IndexAlreadyExistsException& IndexAlreadyExistsException::operator=(const IndexAlreadyExistsException& other732) { - message = other732.message; - __isset = other732.__isset; +IndexAlreadyExistsException& IndexAlreadyExistsException::operator=(const IndexAlreadyExistsException& other740) { + message = other740.message; + __isset = other740.__isset; return *this; } void IndexAlreadyExistsException::printTo(std::ostream& out) const { @@ -18321,13 +18427,13 @@ void swap(InvalidOperationException &a, InvalidOperationException &b) { swap(a.__isset, b.__isset); } -InvalidOperationException::InvalidOperationException(const InvalidOperationException& other733) : TException() { - message = other733.message; - __isset = other733.__isset; +InvalidOperationException::InvalidOperationException(const InvalidOperationException& other741) : TException() { + message = other741.message; + __isset = other741.__isset; } -InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other734) { - message = other734.message; - __isset = other734.__isset; +InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other742) { + message = other742.message; + __isset = other742.__isset; return *this; } void InvalidOperationException::printTo(std::ostream& out) const { @@ -18418,13 +18524,13 @@ void swap(ConfigValSecurityException &a, ConfigValSecurityException &b) { swap(a.__isset, b.__isset); } -ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other735) : TException() { - message = other735.message; - __isset = other735.__isset; +ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other743) : TException() { + message = other743.message; + __isset = other743.__isset; } -ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other736) { - message = other736.message; - __isset = other736.__isset; +ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other744) { + message = other744.message; + __isset = other744.__isset; return *this; } void ConfigValSecurityException::printTo(std::ostream& out) const { @@ -18515,13 +18621,13 @@ void swap(InvalidInputException &a, InvalidInputException &b) { swap(a.__isset, b.__isset); } -InvalidInputException::InvalidInputException(const InvalidInputException& other737) : TException() { - message = other737.message; - __isset = other737.__isset; +InvalidInputException::InvalidInputException(const InvalidInputException& other745) : TException() { + message = other745.message; + __isset = other745.__isset; } -InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other738) { - message = other738.message; - __isset = other738.__isset; +InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other746) { + message = other746.message; + __isset = other746.__isset; return *this; } void InvalidInputException::printTo(std::ostream& out) const { @@ -18612,13 +18718,13 @@ void swap(NoSuchTxnException &a, NoSuchTxnException &b) { swap(a.__isset, b.__isset); } -NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other739) : TException() { - message = other739.message; - __isset = other739.__isset; +NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other747) : TException() { + message = other747.message; + __isset = other747.__isset; } -NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other740) { - message = other740.message; - __isset = other740.__isset; +NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other748) { + message = other748.message; + __isset = other748.__isset; return *this; } void NoSuchTxnException::printTo(std::ostream& out) const { @@ -18709,13 +18815,13 @@ void swap(TxnAbortedException &a, TxnAbortedException &b) { swap(a.__isset, b.__isset); } -TxnAbortedException::TxnAbortedException(const TxnAbortedException& other741) : TException() { - message = other741.message; - __isset = other741.__isset; +TxnAbortedException::TxnAbortedException(const TxnAbortedException& other749) : TException() { + message = other749.message; + __isset = other749.__isset; } -TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other742) { - message = other742.message; - __isset = other742.__isset; +TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other750) { + message = other750.message; + __isset = other750.__isset; return *this; } void TxnAbortedException::printTo(std::ostream& out) const { @@ -18806,13 +18912,13 @@ void swap(TxnOpenException &a, TxnOpenException &b) { swap(a.__isset, b.__isset); } -TxnOpenException::TxnOpenException(const TxnOpenException& other743) : TException() { - message = other743.message; - __isset = other743.__isset; +TxnOpenException::TxnOpenException(const TxnOpenException& other751) : TException() { + message = other751.message; + __isset = other751.__isset; } -TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other744) { - message = other744.message; - __isset = other744.__isset; +TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other752) { + message = other752.message; + __isset = other752.__isset; return *this; } void TxnOpenException::printTo(std::ostream& out) const { @@ -18903,13 +19009,13 @@ void swap(NoSuchLockException &a, NoSuchLockException &b) { swap(a.__isset, b.__isset); } -NoSuchLockException::NoSuchLockException(const NoSuchLockException& other745) : TException() { - message = other745.message; - __isset = other745.__isset; +NoSuchLockException::NoSuchLockException(const NoSuchLockException& other753) : TException() { + message = other753.message; + __isset = other753.__isset; } -NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other746) { - message = other746.message; - __isset = other746.__isset; +NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other754) { + message = other754.message; + __isset = other754.__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 56060f4..d32cdeb 100644 --- metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h +++ metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h @@ -293,6 +293,8 @@ class OpenTxnsResponse; class AbortTxnRequest; +class AbortTxnsRequest; + class CommitTxnRequest; class LockComponent; @@ -4949,6 +4951,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..c434737 --- /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 _list468 = iprot.readListBegin(); + struct.txn_ids = new ArrayList(_list468.size); + long _elem469; + for (int _i470 = 0; _i470 < _list468.size; ++_i470) + { + _elem469 = iprot.readI64(); + struct.txn_ids.add(_elem469); + } + 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 _iter471 : struct.txn_ids) + { + oprot.writeI64(_iter471); + } + 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 _iter472 : struct.txn_ids) + { + oprot.writeI64(_iter472); + } + } + } + + @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 _list473 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txn_ids = new ArrayList(_list473.size); + long _elem474; + for (int _i475 = 0; _i475 < _list473.size; ++_i475) + { + _elem474 = iprot.readI64(); + struct.txn_ids.add(_elem474); + } + } + 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 19bdf10..116e04f 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 _list508 = iprot.readListBegin(); - struct.partitionnames = new ArrayList(_list508.size); - String _elem509; - for (int _i510 = 0; _i510 < _list508.size; ++_i510) + org.apache.thrift.protocol.TList _list516 = iprot.readListBegin(); + struct.partitionnames = new ArrayList(_list516.size); + String _elem517; + for (int _i518 = 0; _i518 < _list516.size; ++_i518) { - _elem509 = iprot.readString(); - struct.partitionnames.add(_elem509); + _elem517 = iprot.readString(); + struct.partitionnames.add(_elem517); } 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 _iter511 : struct.partitionnames) + for (String _iter519 : struct.partitionnames) { - oprot.writeString(_iter511); + oprot.writeString(_iter519); } 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 _iter512 : struct.partitionnames) + for (String _iter520 : struct.partitionnames) { - oprot.writeString(_iter512); + oprot.writeString(_iter520); } } } @@ -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 _list513 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionnames = 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.partitionnames = new ArrayList(_list521.size); + String _elem522; + for (int _i523 = 0; _i523 < _list521.size; ++_i523) { - _elem514 = iprot.readString(); - struct.partitionnames.add(_elem514); + _elem522 = iprot.readString(); + struct.partitionnames.add(_elem522); } } 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 cfec32e..a60ab7e 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 _list592 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list592.size); - long _elem593; - for (int _i594 = 0; _i594 < _list592.size; ++_i594) + org.apache.thrift.protocol.TList _list600 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list600.size); + long _elem601; + for (int _i602 = 0; _i602 < _list600.size; ++_i602) { - _elem593 = iprot.readI64(); - struct.fileIds.add(_elem593); + _elem601 = iprot.readI64(); + struct.fileIds.add(_elem601); } 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 _iter595 : struct.fileIds) + for (long _iter603 : struct.fileIds) { - oprot.writeI64(_iter595); + oprot.writeI64(_iter603); } 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 _iter596 : struct.fileIds) + for (long _iter604 : struct.fileIds) { - oprot.writeI64(_iter596); + oprot.writeI64(_iter604); } } } @@ -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 _list597 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list597.size); - long _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.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list605.size); + long _elem606; + for (int _i607 = 0; _i607 < _list605.size; ++_i607) { - _elem598 = iprot.readI64(); - struct.fileIds.add(_elem598); + _elem606 = iprot.readI64(); + struct.fileIds.add(_elem606); } } 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 44308cc..ffdfa9b 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 _list532 = iprot.readListBegin(); - struct.partitionVals = new ArrayList(_list532.size); - String _elem533; - for (int _i534 = 0; _i534 < _list532.size; ++_i534) + org.apache.thrift.protocol.TList _list540 = iprot.readListBegin(); + struct.partitionVals = new ArrayList(_list540.size); + String _elem541; + for (int _i542 = 0; _i542 < _list540.size; ++_i542) { - _elem533 = iprot.readString(); - struct.partitionVals.add(_elem533); + _elem541 = iprot.readString(); + struct.partitionVals.add(_elem541); } 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 _iter535 : struct.partitionVals) + for (String _iter543 : struct.partitionVals) { - oprot.writeString(_iter535); + oprot.writeString(_iter543); } 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 _iter536 : struct.partitionVals) + for (String _iter544 : struct.partitionVals) { - oprot.writeString(_iter536); + oprot.writeString(_iter544); } } } @@ -843,13 +843,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FireEventRequest str } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list537 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionVals = new ArrayList(_list537.size); - String _elem538; - for (int _i539 = 0; _i539 < _list537.size; ++_i539) + org.apache.thrift.protocol.TList _list545 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionVals = new ArrayList(_list545.size); + String _elem546; + for (int _i547 = 0; _i547 < _list545.size; ++_i547) { - _elem538 = iprot.readString(); - struct.partitionVals.add(_elem538); + _elem546 = iprot.readString(); + struct.partitionVals.add(_elem546); } } 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 2c297ef..a074515 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 _list600 = iprot.readListBegin(); - struct.functions = new ArrayList(_list600.size); - Function _elem601; - for (int _i602 = 0; _i602 < _list600.size; ++_i602) + org.apache.thrift.protocol.TList _list608 = iprot.readListBegin(); + struct.functions = new ArrayList(_list608.size); + Function _elem609; + for (int _i610 = 0; _i610 < _list608.size; ++_i610) { - _elem601 = new Function(); - _elem601.read(iprot); - struct.functions.add(_elem601); + _elem609 = new Function(); + _elem609.read(iprot); + struct.functions.add(_elem609); } 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 _iter603 : struct.functions) + for (Function _iter611 : struct.functions) { - _iter603.write(oprot); + _iter611.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 _iter604 : struct.functions) + for (Function _iter612 : struct.functions) { - _iter604.write(oprot); + _iter612.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 _list605 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.functions = new ArrayList(_list605.size); - Function _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.STRUCT, iprot.readI32()); + struct.functions = new ArrayList(_list613.size); + Function _elem614; + for (int _i615 = 0; _i615 < _list613.size; ++_i615) { - _elem606 = new Function(); - _elem606.read(iprot); - struct.functions.add(_elem606); + _elem614 = new Function(); + _elem614.read(iprot); + struct.functions.add(_elem614); } } 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 af3e4e3..6df53bb 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 _list550 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list550.size); - long _elem551; - for (int _i552 = 0; _i552 < _list550.size; ++_i552) + org.apache.thrift.protocol.TList _list558 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list558.size); + long _elem559; + for (int _i560 = 0; _i560 < _list558.size; ++_i560) { - _elem551 = iprot.readI64(); - struct.fileIds.add(_elem551); + _elem559 = iprot.readI64(); + struct.fileIds.add(_elem559); } 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 _iter553 : struct.fileIds) + for (long _iter561 : struct.fileIds) { - oprot.writeI64(_iter553); + oprot.writeI64(_iter561); } 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 _iter554 : struct.fileIds) + for (long _iter562 : struct.fileIds) { - oprot.writeI64(_iter554); + oprot.writeI64(_iter562); } } 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 _list555 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list555.size); - long _elem556; - for (int _i557 = 0; _i557 < _list555.size; ++_i557) + org.apache.thrift.protocol.TList _list563 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list563.size); + long _elem564; + for (int _i565 = 0; _i565 < _list563.size; ++_i565) { - _elem556 = iprot.readI64(); - struct.fileIds.add(_elem556); + _elem564 = iprot.readI64(); + struct.fileIds.add(_elem564); } } 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 1405203..c84e86b 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 _map540 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map540.size); - long _key541; - MetadataPpdResult _val542; - for (int _i543 = 0; _i543 < _map540.size; ++_i543) + org.apache.thrift.protocol.TMap _map548 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map548.size); + long _key549; + MetadataPpdResult _val550; + for (int _i551 = 0; _i551 < _map548.size; ++_i551) { - _key541 = iprot.readI64(); - _val542 = new MetadataPpdResult(); - _val542.read(iprot); - struct.metadata.put(_key541, _val542); + _key549 = iprot.readI64(); + _val550 = new MetadataPpdResult(); + _val550.read(iprot); + struct.metadata.put(_key549, _val550); } 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 _iter544 : struct.metadata.entrySet()) + for (Map.Entry _iter552 : struct.metadata.entrySet()) { - oprot.writeI64(_iter544.getKey()); - _iter544.getValue().write(oprot); + oprot.writeI64(_iter552.getKey()); + _iter552.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 _iter545 : struct.metadata.entrySet()) + for (Map.Entry _iter553 : struct.metadata.entrySet()) { - oprot.writeI64(_iter545.getKey()); - _iter545.getValue().write(oprot); + oprot.writeI64(_iter553.getKey()); + _iter553.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 _map546 = 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*_map546.size); - long _key547; - MetadataPpdResult _val548; - for (int _i549 = 0; _i549 < _map546.size; ++_i549) + org.apache.thrift.protocol.TMap _map554 = 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*_map554.size); + long _key555; + MetadataPpdResult _val556; + for (int _i557 = 0; _i557 < _map554.size; ++_i557) { - _key547 = iprot.readI64(); - _val548 = new MetadataPpdResult(); - _val548.read(iprot); - struct.metadata.put(_key547, _val548); + _key555 = iprot.readI64(); + _val556 = new MetadataPpdResult(); + _val556.read(iprot); + struct.metadata.put(_key555, _val556); } } 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 ae867d0..c48f92f 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 _list568 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list568.size); - long _elem569; - for (int _i570 = 0; _i570 < _list568.size; ++_i570) + org.apache.thrift.protocol.TList _list576 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list576.size); + long _elem577; + for (int _i578 = 0; _i578 < _list576.size; ++_i578) { - _elem569 = iprot.readI64(); - struct.fileIds.add(_elem569); + _elem577 = iprot.readI64(); + struct.fileIds.add(_elem577); } 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 _iter571 : struct.fileIds) + for (long _iter579 : struct.fileIds) { - oprot.writeI64(_iter571); + oprot.writeI64(_iter579); } 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 _iter572 : struct.fileIds) + for (long _iter580 : struct.fileIds) { - oprot.writeI64(_iter572); + oprot.writeI64(_iter580); } } } @@ -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 _list573 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list573.size); - long _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.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list581.size); + long _elem582; + for (int _i583 = 0; _i583 < _list581.size; ++_i583) { - _elem574 = iprot.readI64(); - struct.fileIds.add(_elem574); + _elem582 = iprot.readI64(); + struct.fileIds.add(_elem582); } } 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 21c9eea..a722b93 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 _map558 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map558.size); - long _key559; - ByteBuffer _val560; - for (int _i561 = 0; _i561 < _map558.size; ++_i561) + org.apache.thrift.protocol.TMap _map566 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map566.size); + long _key567; + ByteBuffer _val568; + for (int _i569 = 0; _i569 < _map566.size; ++_i569) { - _key559 = iprot.readI64(); - _val560 = iprot.readBinary(); - struct.metadata.put(_key559, _val560); + _key567 = iprot.readI64(); + _val568 = iprot.readBinary(); + struct.metadata.put(_key567, _val568); } 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 _iter562 : struct.metadata.entrySet()) + for (Map.Entry _iter570 : struct.metadata.entrySet()) { - oprot.writeI64(_iter562.getKey()); - oprot.writeBinary(_iter562.getValue()); + oprot.writeI64(_iter570.getKey()); + oprot.writeBinary(_iter570.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 _iter563 : struct.metadata.entrySet()) + for (Map.Entry _iter571 : struct.metadata.entrySet()) { - oprot.writeI64(_iter563.getKey()); - oprot.writeBinary(_iter563.getValue()); + oprot.writeI64(_iter571.getKey()); + oprot.writeBinary(_iter571.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 _map564 = 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*_map564.size); - long _key565; - ByteBuffer _val566; - for (int _i567 = 0; _i567 < _map564.size; ++_i567) + org.apache.thrift.protocol.TMap _map572 = 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*_map572.size); + long _key573; + ByteBuffer _val574; + for (int _i575 = 0; _i575 < _map572.size; ++_i575) { - _key565 = iprot.readI64(); - _val566 = iprot.readBinary(); - struct.metadata.put(_key565, _val566); + _key573 = iprot.readI64(); + _val574 = iprot.readBinary(); + struct.metadata.put(_key573, _val574); } } 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 5b399ae..b472a4a 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 _set484 = iprot.readSetBegin(); - struct.aborted = new HashSet(2*_set484.size); - long _elem485; - for (int _i486 = 0; _i486 < _set484.size; ++_i486) + org.apache.thrift.protocol.TSet _set492 = iprot.readSetBegin(); + struct.aborted = new HashSet(2*_set492.size); + long _elem493; + for (int _i494 = 0; _i494 < _set492.size; ++_i494) { - _elem485 = iprot.readI64(); - struct.aborted.add(_elem485); + _elem493 = iprot.readI64(); + struct.aborted.add(_elem493); } 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 _set487 = iprot.readSetBegin(); - struct.nosuch = new HashSet(2*_set487.size); - long _elem488; - for (int _i489 = 0; _i489 < _set487.size; ++_i489) + org.apache.thrift.protocol.TSet _set495 = iprot.readSetBegin(); + struct.nosuch = new HashSet(2*_set495.size); + long _elem496; + for (int _i497 = 0; _i497 < _set495.size; ++_i497) { - _elem488 = iprot.readI64(); - struct.nosuch.add(_elem488); + _elem496 = iprot.readI64(); + struct.nosuch.add(_elem496); } 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 _iter490 : struct.aborted) + for (long _iter498 : struct.aborted) { - oprot.writeI64(_iter490); + oprot.writeI64(_iter498); } 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 _iter491 : struct.nosuch) + for (long _iter499 : struct.nosuch) { - oprot.writeI64(_iter491); + oprot.writeI64(_iter499); } 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 _iter492 : struct.aborted) + for (long _iter500 : struct.aborted) { - oprot.writeI64(_iter492); + oprot.writeI64(_iter500); } } { oprot.writeI32(struct.nosuch.size()); - for (long _iter493 : struct.nosuch) + for (long _iter501 : struct.nosuch) { - oprot.writeI64(_iter493); + oprot.writeI64(_iter501); } } } @@ -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 _set494 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.aborted = new HashSet(2*_set494.size); - long _elem495; - for (int _i496 = 0; _i496 < _set494.size; ++_i496) + org.apache.thrift.protocol.TSet _set502 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.aborted = new HashSet(2*_set502.size); + long _elem503; + for (int _i504 = 0; _i504 < _set502.size; ++_i504) { - _elem495 = iprot.readI64(); - struct.aborted.add(_elem495); + _elem503 = iprot.readI64(); + struct.aborted.add(_elem503); } } struct.setAbortedIsSet(true); { - org.apache.thrift.protocol.TSet _set497 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.nosuch = new HashSet(2*_set497.size); - long _elem498; - for (int _i499 = 0; _i499 < _set497.size; ++_i499) + org.apache.thrift.protocol.TSet _set505 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.nosuch = new HashSet(2*_set505.size); + long _elem506; + for (int _i507 = 0; _i507 < _set505.size; ++_i507) { - _elem498 = iprot.readI64(); - struct.nosuch.add(_elem498); + _elem506 = iprot.readI64(); + struct.nosuch.add(_elem506); } } 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 7511336..88cec2e 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 _list524 = iprot.readListBegin(); - struct.filesAdded = new ArrayList(_list524.size); - String _elem525; - for (int _i526 = 0; _i526 < _list524.size; ++_i526) + org.apache.thrift.protocol.TList _list532 = iprot.readListBegin(); + struct.filesAdded = new ArrayList(_list532.size); + String _elem533; + for (int _i534 = 0; _i534 < _list532.size; ++_i534) { - _elem525 = iprot.readString(); - struct.filesAdded.add(_elem525); + _elem533 = iprot.readString(); + struct.filesAdded.add(_elem533); } 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 _iter527 : struct.filesAdded) + for (String _iter535 : struct.filesAdded) { - oprot.writeString(_iter527); + oprot.writeString(_iter535); } 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 _iter528 : struct.filesAdded) + for (String _iter536 : struct.filesAdded) { - oprot.writeString(_iter528); + oprot.writeString(_iter536); } } } @@ -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 _list529 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAdded = new ArrayList(_list529.size); - String _elem530; - for (int _i531 = 0; _i531 < _list529.size; ++_i531) + org.apache.thrift.protocol.TList _list537 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAdded = new ArrayList(_list537.size); + String _elem538; + for (int _i539 = 0; _i539 < _list537.size; ++_i539) { - _elem530 = iprot.readString(); - struct.filesAdded.add(_elem530); + _elem538 = iprot.readString(); + struct.filesAdded.add(_elem538); } } 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 bd10329..aa9bc64 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 _list468 = iprot.readListBegin(); - struct.component = new ArrayList(_list468.size); - LockComponent _elem469; - for (int _i470 = 0; _i470 < _list468.size; ++_i470) + org.apache.thrift.protocol.TList _list476 = iprot.readListBegin(); + struct.component = new ArrayList(_list476.size); + LockComponent _elem477; + for (int _i478 = 0; _i478 < _list476.size; ++_i478) { - _elem469 = new LockComponent(); - _elem469.read(iprot); - struct.component.add(_elem469); + _elem477 = new LockComponent(); + _elem477.read(iprot); + struct.component.add(_elem477); } 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 _iter471 : struct.component) + for (LockComponent _iter479 : struct.component) { - _iter471.write(oprot); + _iter479.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 _iter472 : struct.component) + for (LockComponent _iter480 : struct.component) { - _iter472.write(oprot); + _iter480.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 _list473 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.component = new ArrayList(_list473.size); - LockComponent _elem474; - for (int _i475 = 0; _i475 < _list473.size; ++_i475) + org.apache.thrift.protocol.TList _list481 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.component = new ArrayList(_list481.size); + LockComponent _elem482; + for (int _i483 = 0; _i483 < _list481.size; ++_i483) { - _elem474 = new LockComponent(); - _elem474.read(iprot); - struct.component.add(_elem474); + _elem482 = new LockComponent(); + _elem482.read(iprot); + struct.component.add(_elem482); } } 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 8010cf5..6f9ebb7 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 _list516 = iprot.readListBegin(); - struct.events = new ArrayList(_list516.size); - NotificationEvent _elem517; - for (int _i518 = 0; _i518 < _list516.size; ++_i518) + org.apache.thrift.protocol.TList _list524 = iprot.readListBegin(); + struct.events = new ArrayList(_list524.size); + NotificationEvent _elem525; + for (int _i526 = 0; _i526 < _list524.size; ++_i526) { - _elem517 = new NotificationEvent(); - _elem517.read(iprot); - struct.events.add(_elem517); + _elem525 = new NotificationEvent(); + _elem525.read(iprot); + struct.events.add(_elem525); } 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 _iter519 : struct.events) + for (NotificationEvent _iter527 : struct.events) { - _iter519.write(oprot); + _iter527.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 _iter520 : struct.events) + for (NotificationEvent _iter528 : struct.events) { - _iter520.write(oprot); + _iter528.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 _list521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.events = new ArrayList(_list521.size); - NotificationEvent _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.STRUCT, iprot.readI32()); + struct.events = new ArrayList(_list529.size); + NotificationEvent _elem530; + for (int _i531 = 0; _i531 < _list529.size; ++_i531) { - _elem522 = new NotificationEvent(); - _elem522.read(iprot); - struct.events.add(_elem522); + _elem530 = new NotificationEvent(); + _elem530.read(iprot); + struct.events.add(_elem530); } } 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 0905181..6c11240 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 _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(); } @@ -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 _list579 = iprot.readListBegin(); - struct.metadata = new ArrayList(_list579.size); - ByteBuffer _elem580; - for (int _i581 = 0; _i581 < _list579.size; ++_i581) + org.apache.thrift.protocol.TList _list587 = iprot.readListBegin(); + struct.metadata = new ArrayList(_list587.size); + ByteBuffer _elem588; + for (int _i589 = 0; _i589 < _list587.size; ++_i589) { - _elem580 = iprot.readBinary(); - struct.metadata.add(_elem580); + _elem588 = iprot.readBinary(); + struct.metadata.add(_elem588); } 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 _iter582 : struct.fileIds) + for (long _iter590 : struct.fileIds) { - oprot.writeI64(_iter582); + oprot.writeI64(_iter590); } 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 _iter583 : struct.metadata) + for (ByteBuffer _iter591 : struct.metadata) { - oprot.writeBinary(_iter583); + oprot.writeBinary(_iter591); } 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 _iter584 : struct.fileIds) + for (long _iter592 : struct.fileIds) { - oprot.writeI64(_iter584); + oprot.writeI64(_iter592); } } { oprot.writeI32(struct.metadata.size()); - for (ByteBuffer _iter585 : struct.metadata) + for (ByteBuffer _iter593 : struct.metadata) { - oprot.writeBinary(_iter585); + oprot.writeBinary(_iter593); } } 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 _list586 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list586.size); - long _elem587; - for (int _i588 = 0; _i588 < _list586.size; ++_i588) + org.apache.thrift.protocol.TList _list594 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list594.size); + long _elem595; + for (int _i596 = 0; _i596 < _list594.size; ++_i596) { - _elem587 = iprot.readI64(); - struct.fileIds.add(_elem587); + _elem595 = iprot.readI64(); + struct.fileIds.add(_elem595); } } struct.setFileIdsIsSet(true); { - org.apache.thrift.protocol.TList _list589 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.metadata = new ArrayList(_list589.size); - ByteBuffer _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.STRING, iprot.readI32()); + struct.metadata = new ArrayList(_list597.size); + ByteBuffer _elem598; + for (int _i599 = 0; _i599 < _list597.size; ++_i599) { - _elem590 = iprot.readBinary(); - struct.metadata.add(_elem590); + _elem598 = iprot.readBinary(); + struct.metadata.add(_elem598); } } 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 4df2199..dabfca9 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 _list500 = iprot.readListBegin(); - struct.compacts = new ArrayList(_list500.size); - ShowCompactResponseElement _elem501; - for (int _i502 = 0; _i502 < _list500.size; ++_i502) + org.apache.thrift.protocol.TList _list508 = iprot.readListBegin(); + struct.compacts = new ArrayList(_list508.size); + ShowCompactResponseElement _elem509; + for (int _i510 = 0; _i510 < _list508.size; ++_i510) { - _elem501 = new ShowCompactResponseElement(); - _elem501.read(iprot); - struct.compacts.add(_elem501); + _elem509 = new ShowCompactResponseElement(); + _elem509.read(iprot); + struct.compacts.add(_elem509); } 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 _iter503 : struct.compacts) + for (ShowCompactResponseElement _iter511 : struct.compacts) { - _iter503.write(oprot); + _iter511.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 _iter504 : struct.compacts) + for (ShowCompactResponseElement _iter512 : struct.compacts) { - _iter504.write(oprot); + _iter512.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 _list505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.compacts = new ArrayList(_list505.size); - ShowCompactResponseElement _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.compacts = new ArrayList(_list513.size); + ShowCompactResponseElement _elem514; + for (int _i515 = 0; _i515 < _list513.size; ++_i515) { - _elem506 = new ShowCompactResponseElement(); - _elem506.read(iprot); - struct.compacts.add(_elem506); + _elem514 = new ShowCompactResponseElement(); + _elem514.read(iprot); + struct.compacts.add(_elem514); } } 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 11944db..0564931 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 _list476 = iprot.readListBegin(); - struct.locks = new ArrayList(_list476.size); - ShowLocksResponseElement _elem477; - for (int _i478 = 0; _i478 < _list476.size; ++_i478) + org.apache.thrift.protocol.TList _list484 = iprot.readListBegin(); + struct.locks = new ArrayList(_list484.size); + ShowLocksResponseElement _elem485; + for (int _i486 = 0; _i486 < _list484.size; ++_i486) { - _elem477 = new ShowLocksResponseElement(); - _elem477.read(iprot); - struct.locks.add(_elem477); + _elem485 = new ShowLocksResponseElement(); + _elem485.read(iprot); + struct.locks.add(_elem485); } 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 _iter479 : struct.locks) + for (ShowLocksResponseElement _iter487 : struct.locks) { - _iter479.write(oprot); + _iter487.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 _iter480 : struct.locks) + for (ShowLocksResponseElement _iter488 : struct.locks) { - _iter480.write(oprot); + _iter488.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 _list481 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.locks = new ArrayList(_list481.size); - ShowLocksResponseElement _elem482; - for (int _i483 = 0; _i483 < _list481.size; ++_i483) + org.apache.thrift.protocol.TList _list489 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.locks = new ArrayList(_list489.size); + ShowLocksResponseElement _elem490; + for (int _i491 = 0; _i491 < _list489.size; ++_i491) { - _elem482 = new ShowLocksResponseElement(); - _elem482.read(iprot); - struct.locks.add(_elem482); + _elem490 = new ShowLocksResponseElement(); + _elem490.read(iprot); + struct.locks.add(_elem490); } } 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 f4700a1..ee40698 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 @@ -296,6 +296,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; @@ -592,6 +594,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; @@ -4417,6 +4421,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); @@ -9447,6 +9474,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); @@ -10189,6 +10248,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"); @@ -14081,6 +14165,7 @@ protected AsyncProcessor(I iface, Map extends org.apache.thrift.AsyncProcessFunction { + public abort_txns() { + super("abort_txns"); + } + + 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) { + abort_txns_result result = new abort_txns_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; + abort_txns_result result = new abort_txns_result(); + if (e instanceof NoSuchTxnException) { + result.o1 = (NoSuchTxnException) e; + result.setO1IsSet(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, abort_txns_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.abort_txns(args.rqst,resultHandler); + } + } + public static class commit_txn extends org.apache.thrift.AsyncProcessFunction { public commit_txn() { super("commit_txn"); @@ -28399,13 +28540,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 _list608 = iprot.readListBegin(); - struct.success = new ArrayList(_list608.size); - String _elem609; - for (int _i610 = 0; _i610 < _list608.size; ++_i610) + org.apache.thrift.protocol.TList _list616 = iprot.readListBegin(); + struct.success = new ArrayList(_list616.size); + String _elem617; + for (int _i618 = 0; _i618 < _list616.size; ++_i618) { - _elem609 = iprot.readString(); - struct.success.add(_elem609); + _elem617 = iprot.readString(); + struct.success.add(_elem617); } iprot.readListEnd(); } @@ -28440,9 +28581,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 _iter611 : struct.success) + for (String _iter619 : struct.success) { - oprot.writeString(_iter611); + oprot.writeString(_iter619); } oprot.writeListEnd(); } @@ -28481,9 +28622,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter612 : struct.success) + for (String _iter620 : struct.success) { - oprot.writeString(_iter612); + oprot.writeString(_iter620); } } } @@ -28498,13 +28639,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 _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) + org.apache.thrift.protocol.TList _list621 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list621.size); + String _elem622; + for (int _i623 = 0; _i623 < _list621.size; ++_i623) { - _elem614 = iprot.readString(); - struct.success.add(_elem614); + _elem622 = iprot.readString(); + struct.success.add(_elem622); } } struct.setSuccessIsSet(true); @@ -29158,13 +29299,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 _list616 = iprot.readListBegin(); - struct.success = new ArrayList(_list616.size); - String _elem617; - for (int _i618 = 0; _i618 < _list616.size; ++_i618) + org.apache.thrift.protocol.TList _list624 = iprot.readListBegin(); + struct.success = new ArrayList(_list624.size); + String _elem625; + for (int _i626 = 0; _i626 < _list624.size; ++_i626) { - _elem617 = iprot.readString(); - struct.success.add(_elem617); + _elem625 = iprot.readString(); + struct.success.add(_elem625); } iprot.readListEnd(); } @@ -29199,9 +29340,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 _iter619 : struct.success) + for (String _iter627 : struct.success) { - oprot.writeString(_iter619); + oprot.writeString(_iter627); } oprot.writeListEnd(); } @@ -29240,9 +29381,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter620 : struct.success) + for (String _iter628 : struct.success) { - oprot.writeString(_iter620); + oprot.writeString(_iter628); } } } @@ -29257,13 +29398,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 _list621 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list621.size); - String _elem622; - for (int _i623 = 0; _i623 < _list621.size; ++_i623) + org.apache.thrift.protocol.TList _list629 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list629.size); + String _elem630; + for (int _i631 = 0; _i631 < _list629.size; ++_i631) { - _elem622 = iprot.readString(); - struct.success.add(_elem622); + _elem630 = iprot.readString(); + struct.success.add(_elem630); } } struct.setSuccessIsSet(true); @@ -33870,16 +34011,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 _map624 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map624.size); - String _key625; - Type _val626; - for (int _i627 = 0; _i627 < _map624.size; ++_i627) + org.apache.thrift.protocol.TMap _map632 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map632.size); + String _key633; + Type _val634; + for (int _i635 = 0; _i635 < _map632.size; ++_i635) { - _key625 = iprot.readString(); - _val626 = new Type(); - _val626.read(iprot); - struct.success.put(_key625, _val626); + _key633 = iprot.readString(); + _val634 = new Type(); + _val634.read(iprot); + struct.success.put(_key633, _val634); } iprot.readMapEnd(); } @@ -33914,10 +34055,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 _iter628 : struct.success.entrySet()) + for (Map.Entry _iter636 : struct.success.entrySet()) { - oprot.writeString(_iter628.getKey()); - _iter628.getValue().write(oprot); + oprot.writeString(_iter636.getKey()); + _iter636.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -33956,10 +34097,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 _iter629 : struct.success.entrySet()) + for (Map.Entry _iter637 : struct.success.entrySet()) { - oprot.writeString(_iter629.getKey()); - _iter629.getValue().write(oprot); + oprot.writeString(_iter637.getKey()); + _iter637.getValue().write(oprot); } } } @@ -33974,16 +34115,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 _map630 = 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*_map630.size); - String _key631; - Type _val632; - for (int _i633 = 0; _i633 < _map630.size; ++_i633) + org.apache.thrift.protocol.TMap _map638 = 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*_map638.size); + String _key639; + Type _val640; + for (int _i641 = 0; _i641 < _map638.size; ++_i641) { - _key631 = iprot.readString(); - _val632 = new Type(); - _val632.read(iprot); - struct.success.put(_key631, _val632); + _key639 = iprot.readString(); + _val640 = new Type(); + _val640.read(iprot); + struct.success.put(_key639, _val640); } } struct.setSuccessIsSet(true); @@ -35018,14 +35159,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 _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(); } @@ -35078,9 +35219,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 _iter637 : struct.success) + for (FieldSchema _iter645 : struct.success) { - _iter637.write(oprot); + _iter645.write(oprot); } oprot.writeListEnd(); } @@ -35135,9 +35276,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_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); } } } @@ -35158,14 +35299,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 _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); @@ -36319,14 +36460,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 _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(); } @@ -36379,9 +36520,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 _iter645 : struct.success) + for (FieldSchema _iter653 : struct.success) { - _iter645.write(oprot); + _iter653.write(oprot); } oprot.writeListEnd(); } @@ -36436,9 +36577,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_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); } } } @@ -36459,14 +36600,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 _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); @@ -37511,14 +37652,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 _list650 = iprot.readListBegin(); - struct.success = new ArrayList(_list650.size); - FieldSchema _elem651; - for (int _i652 = 0; _i652 < _list650.size; ++_i652) + org.apache.thrift.protocol.TList _list658 = iprot.readListBegin(); + struct.success = new ArrayList(_list658.size); + FieldSchema _elem659; + for (int _i660 = 0; _i660 < _list658.size; ++_i660) { - _elem651 = new FieldSchema(); - _elem651.read(iprot); - struct.success.add(_elem651); + _elem659 = new FieldSchema(); + _elem659.read(iprot); + struct.success.add(_elem659); } iprot.readListEnd(); } @@ -37571,9 +37712,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 _iter653 : struct.success) + for (FieldSchema _iter661 : struct.success) { - _iter653.write(oprot); + _iter661.write(oprot); } oprot.writeListEnd(); } @@ -37628,9 +37769,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter654 : struct.success) + for (FieldSchema _iter662 : struct.success) { - _iter654.write(oprot); + _iter662.write(oprot); } } } @@ -37651,14 +37792,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 _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) + org.apache.thrift.protocol.TList _list663 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list663.size); + FieldSchema _elem664; + for (int _i665 = 0; _i665 < _list663.size; ++_i665) { - _elem656 = new FieldSchema(); - _elem656.read(iprot); - struct.success.add(_elem656); + _elem664 = new FieldSchema(); + _elem664.read(iprot); + struct.success.add(_elem664); } } struct.setSuccessIsSet(true); @@ -38812,14 +38953,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 _list658 = iprot.readListBegin(); - struct.success = new ArrayList(_list658.size); - FieldSchema _elem659; - for (int _i660 = 0; _i660 < _list658.size; ++_i660) + org.apache.thrift.protocol.TList _list666 = iprot.readListBegin(); + struct.success = new ArrayList(_list666.size); + FieldSchema _elem667; + for (int _i668 = 0; _i668 < _list666.size; ++_i668) { - _elem659 = new FieldSchema(); - _elem659.read(iprot); - struct.success.add(_elem659); + _elem667 = new FieldSchema(); + _elem667.read(iprot); + struct.success.add(_elem667); } iprot.readListEnd(); } @@ -38872,9 +39013,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 _iter661 : struct.success) + for (FieldSchema _iter669 : struct.success) { - _iter661.write(oprot); + _iter669.write(oprot); } oprot.writeListEnd(); } @@ -38929,9 +39070,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter662 : struct.success) + for (FieldSchema _iter670 : struct.success) { - _iter662.write(oprot); + _iter670.write(oprot); } } } @@ -38952,14 +39093,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 _list663 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list663.size); - FieldSchema _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.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list671.size); + FieldSchema _elem672; + for (int _i673 = 0; _i673 < _list671.size; ++_i673) { - _elem664 = new FieldSchema(); - _elem664.read(iprot); - struct.success.add(_elem664); + _elem672 = new FieldSchema(); + _elem672.read(iprot); + struct.success.add(_elem672); } } struct.setSuccessIsSet(true); @@ -41684,14 +41825,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 2: // PRIMARY_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list666 = iprot.readListBegin(); - struct.primaryKeys = new ArrayList(_list666.size); - SQLPrimaryKey _elem667; - for (int _i668 = 0; _i668 < _list666.size; ++_i668) + org.apache.thrift.protocol.TList _list674 = iprot.readListBegin(); + struct.primaryKeys = new ArrayList(_list674.size); + SQLPrimaryKey _elem675; + for (int _i676 = 0; _i676 < _list674.size; ++_i676) { - _elem667 = new SQLPrimaryKey(); - _elem667.read(iprot); - struct.primaryKeys.add(_elem667); + _elem675 = new SQLPrimaryKey(); + _elem675.read(iprot); + struct.primaryKeys.add(_elem675); } iprot.readListEnd(); } @@ -41703,14 +41844,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 3: // FOREIGN_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list669 = iprot.readListBegin(); - struct.foreignKeys = new ArrayList(_list669.size); - SQLForeignKey _elem670; - for (int _i671 = 0; _i671 < _list669.size; ++_i671) + org.apache.thrift.protocol.TList _list677 = iprot.readListBegin(); + struct.foreignKeys = new ArrayList(_list677.size); + SQLForeignKey _elem678; + for (int _i679 = 0; _i679 < _list677.size; ++_i679) { - _elem670 = new SQLForeignKey(); - _elem670.read(iprot); - struct.foreignKeys.add(_elem670); + _elem678 = new SQLForeignKey(); + _elem678.read(iprot); + struct.foreignKeys.add(_elem678); } iprot.readListEnd(); } @@ -41741,9 +41882,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(PRIMARY_KEYS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.primaryKeys.size())); - for (SQLPrimaryKey _iter672 : struct.primaryKeys) + for (SQLPrimaryKey _iter680 : struct.primaryKeys) { - _iter672.write(oprot); + _iter680.write(oprot); } oprot.writeListEnd(); } @@ -41753,9 +41894,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(FOREIGN_KEYS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.foreignKeys.size())); - for (SQLForeignKey _iter673 : struct.foreignKeys) + for (SQLForeignKey _iter681 : struct.foreignKeys) { - _iter673.write(oprot); + _iter681.write(oprot); } oprot.writeListEnd(); } @@ -41795,18 +41936,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, create_table_with_c if (struct.isSetPrimaryKeys()) { { oprot.writeI32(struct.primaryKeys.size()); - for (SQLPrimaryKey _iter674 : struct.primaryKeys) + for (SQLPrimaryKey _iter682 : struct.primaryKeys) { - _iter674.write(oprot); + _iter682.write(oprot); } } } if (struct.isSetForeignKeys()) { { oprot.writeI32(struct.foreignKeys.size()); - for (SQLForeignKey _iter675 : struct.foreignKeys) + for (SQLForeignKey _iter683 : struct.foreignKeys) { - _iter675.write(oprot); + _iter683.write(oprot); } } } @@ -41823,28 +41964,28 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_table_with_co } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list676 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.primaryKeys = new ArrayList(_list676.size); - SQLPrimaryKey _elem677; - for (int _i678 = 0; _i678 < _list676.size; ++_i678) + org.apache.thrift.protocol.TList _list684 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.primaryKeys = new ArrayList(_list684.size); + SQLPrimaryKey _elem685; + for (int _i686 = 0; _i686 < _list684.size; ++_i686) { - _elem677 = new SQLPrimaryKey(); - _elem677.read(iprot); - struct.primaryKeys.add(_elem677); + _elem685 = new SQLPrimaryKey(); + _elem685.read(iprot); + struct.primaryKeys.add(_elem685); } } struct.setPrimaryKeysIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list679 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.foreignKeys = new ArrayList(_list679.size); - SQLForeignKey _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.STRUCT, iprot.readI32()); + struct.foreignKeys = new ArrayList(_list687.size); + SQLForeignKey _elem688; + for (int _i689 = 0; _i689 < _list687.size; ++_i689) { - _elem680 = new SQLForeignKey(); - _elem680.read(iprot); - struct.foreignKeys.add(_elem680); + _elem688 = new SQLForeignKey(); + _elem688.read(iprot); + struct.foreignKeys.add(_elem688); } } struct.setForeignKeysIsSet(true); @@ -46385,13 +46526,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 _list682 = iprot.readListBegin(); - struct.success = new ArrayList(_list682.size); - String _elem683; - for (int _i684 = 0; _i684 < _list682.size; ++_i684) + org.apache.thrift.protocol.TList _list690 = iprot.readListBegin(); + struct.success = new ArrayList(_list690.size); + String _elem691; + for (int _i692 = 0; _i692 < _list690.size; ++_i692) { - _elem683 = iprot.readString(); - struct.success.add(_elem683); + _elem691 = iprot.readString(); + struct.success.add(_elem691); } iprot.readListEnd(); } @@ -46426,9 +46567,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 _iter685 : struct.success) + for (String _iter693 : struct.success) { - oprot.writeString(_iter685); + oprot.writeString(_iter693); } oprot.writeListEnd(); } @@ -46467,9 +46608,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter686 : struct.success) + for (String _iter694 : struct.success) { - oprot.writeString(_iter686); + oprot.writeString(_iter694); } } } @@ -46484,13 +46625,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 _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) + org.apache.thrift.protocol.TList _list695 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list695.size); + String _elem696; + for (int _i697 = 0; _i697 < _list695.size; ++_i697) { - _elem688 = iprot.readString(); - struct.success.add(_elem688); + _elem696 = iprot.readString(); + struct.success.add(_elem696); } } struct.setSuccessIsSet(true); @@ -46995,13 +47136,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 _list690 = iprot.readListBegin(); - struct.tbl_types = new ArrayList(_list690.size); - String _elem691; - for (int _i692 = 0; _i692 < _list690.size; ++_i692) + org.apache.thrift.protocol.TList _list698 = iprot.readListBegin(); + struct.tbl_types = new ArrayList(_list698.size); + String _elem699; + for (int _i700 = 0; _i700 < _list698.size; ++_i700) { - _elem691 = iprot.readString(); - struct.tbl_types.add(_elem691); + _elem699 = iprot.readString(); + struct.tbl_types.add(_elem699); } iprot.readListEnd(); } @@ -47037,9 +47178,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 _iter693 : struct.tbl_types) + for (String _iter701 : struct.tbl_types) { - oprot.writeString(_iter693); + oprot.writeString(_iter701); } oprot.writeListEnd(); } @@ -47082,9 +47223,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 _iter694 : struct.tbl_types) + for (String _iter702 : struct.tbl_types) { - oprot.writeString(_iter694); + oprot.writeString(_iter702); } } } @@ -47104,13 +47245,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list695 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_types = new ArrayList(_list695.size); - String _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.STRING, iprot.readI32()); + struct.tbl_types = new ArrayList(_list703.size); + String _elem704; + for (int _i705 = 0; _i705 < _list703.size; ++_i705) { - _elem696 = iprot.readString(); - struct.tbl_types.add(_elem696); + _elem704 = iprot.readString(); + struct.tbl_types.add(_elem704); } } struct.setTbl_typesIsSet(true); @@ -47516,14 +47657,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 _list698 = iprot.readListBegin(); - struct.success = new ArrayList(_list698.size); - TableMeta _elem699; - for (int _i700 = 0; _i700 < _list698.size; ++_i700) + org.apache.thrift.protocol.TList _list706 = iprot.readListBegin(); + struct.success = new ArrayList(_list706.size); + TableMeta _elem707; + for (int _i708 = 0; _i708 < _list706.size; ++_i708) { - _elem699 = new TableMeta(); - _elem699.read(iprot); - struct.success.add(_elem699); + _elem707 = new TableMeta(); + _elem707.read(iprot); + struct.success.add(_elem707); } iprot.readListEnd(); } @@ -47558,9 +47699,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 _iter701 : struct.success) + for (TableMeta _iter709 : struct.success) { - _iter701.write(oprot); + _iter709.write(oprot); } oprot.writeListEnd(); } @@ -47599,9 +47740,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (TableMeta _iter702 : struct.success) + for (TableMeta _iter710 : struct.success) { - _iter702.write(oprot); + _iter710.write(oprot); } } } @@ -47616,14 +47757,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 _list703 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list703.size); - TableMeta _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.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list711.size); + TableMeta _elem712; + for (int _i713 = 0; _i713 < _list711.size; ++_i713) { - _elem704 = new TableMeta(); - _elem704.read(iprot); - struct.success.add(_elem704); + _elem712 = new TableMeta(); + _elem712.read(iprot); + struct.success.add(_elem712); } } struct.setSuccessIsSet(true); @@ -48389,13 +48530,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 _list706 = iprot.readListBegin(); - struct.success = new ArrayList(_list706.size); - String _elem707; - for (int _i708 = 0; _i708 < _list706.size; ++_i708) + org.apache.thrift.protocol.TList _list714 = iprot.readListBegin(); + struct.success = new ArrayList(_list714.size); + String _elem715; + for (int _i716 = 0; _i716 < _list714.size; ++_i716) { - _elem707 = iprot.readString(); - struct.success.add(_elem707); + _elem715 = iprot.readString(); + struct.success.add(_elem715); } iprot.readListEnd(); } @@ -48430,9 +48571,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 _iter709 : struct.success) + for (String _iter717 : struct.success) { - oprot.writeString(_iter709); + oprot.writeString(_iter717); } oprot.writeListEnd(); } @@ -48471,9 +48612,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter710 : struct.success) + for (String _iter718 : struct.success) { - oprot.writeString(_iter710); + oprot.writeString(_iter718); } } } @@ -48488,13 +48629,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 _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) + org.apache.thrift.protocol.TList _list719 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list719.size); + String _elem720; + for (int _i721 = 0; _i721 < _list719.size; ++_i721) { - _elem712 = iprot.readString(); - struct.success.add(_elem712); + _elem720 = iprot.readString(); + struct.success.add(_elem720); } } struct.setSuccessIsSet(true); @@ -49947,13 +50088,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 _list714 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list714.size); - String _elem715; - for (int _i716 = 0; _i716 < _list714.size; ++_i716) + org.apache.thrift.protocol.TList _list722 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list722.size); + String _elem723; + for (int _i724 = 0; _i724 < _list722.size; ++_i724) { - _elem715 = iprot.readString(); - struct.tbl_names.add(_elem715); + _elem723 = iprot.readString(); + struct.tbl_names.add(_elem723); } iprot.readListEnd(); } @@ -49984,9 +50125,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 _iter717 : struct.tbl_names) + for (String _iter725 : struct.tbl_names) { - oprot.writeString(_iter717); + oprot.writeString(_iter725); } oprot.writeListEnd(); } @@ -50023,9 +50164,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 _iter718 : struct.tbl_names) + for (String _iter726 : struct.tbl_names) { - oprot.writeString(_iter718); + oprot.writeString(_iter726); } } } @@ -50041,13 +50182,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list719 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list719.size); - String _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.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list727.size); + String _elem728; + for (int _i729 = 0; _i729 < _list727.size; ++_i729) { - _elem720 = iprot.readString(); - struct.tbl_names.add(_elem720); + _elem728 = iprot.readString(); + struct.tbl_names.add(_elem728); } } struct.setTbl_namesIsSet(true); @@ -50615,14 +50756,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 _list722 = iprot.readListBegin(); - struct.success = new ArrayList
(_list722.size); - Table _elem723; - for (int _i724 = 0; _i724 < _list722.size; ++_i724) + org.apache.thrift.protocol.TList _list730 = iprot.readListBegin(); + struct.success = new ArrayList
(_list730.size); + Table _elem731; + for (int _i732 = 0; _i732 < _list730.size; ++_i732) { - _elem723 = new Table(); - _elem723.read(iprot); - struct.success.add(_elem723); + _elem731 = new Table(); + _elem731.read(iprot); + struct.success.add(_elem731); } iprot.readListEnd(); } @@ -50675,9 +50816,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 _iter725 : struct.success) + for (Table _iter733 : struct.success) { - _iter725.write(oprot); + _iter733.write(oprot); } oprot.writeListEnd(); } @@ -50732,9 +50873,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter726 : struct.success) + for (Table _iter734 : struct.success) { - _iter726.write(oprot); + _iter734.write(oprot); } } } @@ -50755,14 +50896,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 _list727 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list727.size); - Table _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.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list735.size); + Table _elem736; + for (int _i737 = 0; _i737 < _list735.size; ++_i737) { - _elem728 = new Table(); - _elem728.read(iprot); - struct.success.add(_elem728); + _elem736 = new Table(); + _elem736.read(iprot); + struct.success.add(_elem736); } } struct.setSuccessIsSet(true); @@ -51908,13 +52049,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 _list730 = iprot.readListBegin(); - struct.success = new ArrayList(_list730.size); - String _elem731; - for (int _i732 = 0; _i732 < _list730.size; ++_i732) + org.apache.thrift.protocol.TList _list738 = iprot.readListBegin(); + struct.success = new ArrayList(_list738.size); + String _elem739; + for (int _i740 = 0; _i740 < _list738.size; ++_i740) { - _elem731 = iprot.readString(); - struct.success.add(_elem731); + _elem739 = iprot.readString(); + struct.success.add(_elem739); } iprot.readListEnd(); } @@ -51967,9 +52108,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 _iter733 : struct.success) + for (String _iter741 : struct.success) { - oprot.writeString(_iter733); + oprot.writeString(_iter741); } oprot.writeListEnd(); } @@ -52024,9 +52165,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter734 : struct.success) + for (String _iter742 : struct.success) { - oprot.writeString(_iter734); + oprot.writeString(_iter742); } } } @@ -52047,13 +52188,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 _list735 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = 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.success = new ArrayList(_list743.size); + String _elem744; + for (int _i745 = 0; _i745 < _list743.size; ++_i745) { - _elem736 = iprot.readString(); - struct.success.add(_elem736); + _elem744 = iprot.readString(); + struct.success.add(_elem744); } } struct.setSuccessIsSet(true); @@ -57912,14 +58053,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 _list738 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list738.size); - Partition _elem739; - for (int _i740 = 0; _i740 < _list738.size; ++_i740) + org.apache.thrift.protocol.TList _list746 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list746.size); + Partition _elem747; + for (int _i748 = 0; _i748 < _list746.size; ++_i748) { - _elem739 = new Partition(); - _elem739.read(iprot); - struct.new_parts.add(_elem739); + _elem747 = new Partition(); + _elem747.read(iprot); + struct.new_parts.add(_elem747); } iprot.readListEnd(); } @@ -57945,9 +58086,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 _iter741 : struct.new_parts) + for (Partition _iter749 : struct.new_parts) { - _iter741.write(oprot); + _iter749.write(oprot); } oprot.writeListEnd(); } @@ -57978,9 +58119,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 _iter742 : struct.new_parts) + for (Partition _iter750 : struct.new_parts) { - _iter742.write(oprot); + _iter750.write(oprot); } } } @@ -57992,14 +58133,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 _list743 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list743.size); - Partition _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.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list751.size); + Partition _elem752; + for (int _i753 = 0; _i753 < _list751.size; ++_i753) { - _elem744 = new Partition(); - _elem744.read(iprot); - struct.new_parts.add(_elem744); + _elem752 = new Partition(); + _elem752.read(iprot); + struct.new_parts.add(_elem752); } } struct.setNew_partsIsSet(true); @@ -59000,14 +59141,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 _list746 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list746.size); - PartitionSpec _elem747; - for (int _i748 = 0; _i748 < _list746.size; ++_i748) + org.apache.thrift.protocol.TList _list754 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list754.size); + PartitionSpec _elem755; + for (int _i756 = 0; _i756 < _list754.size; ++_i756) { - _elem747 = new PartitionSpec(); - _elem747.read(iprot); - struct.new_parts.add(_elem747); + _elem755 = new PartitionSpec(); + _elem755.read(iprot); + struct.new_parts.add(_elem755); } iprot.readListEnd(); } @@ -59033,9 +59174,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 _iter749 : struct.new_parts) + for (PartitionSpec _iter757 : struct.new_parts) { - _iter749.write(oprot); + _iter757.write(oprot); } oprot.writeListEnd(); } @@ -59066,9 +59207,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 _iter750 : struct.new_parts) + for (PartitionSpec _iter758 : struct.new_parts) { - _iter750.write(oprot); + _iter758.write(oprot); } } } @@ -59080,14 +59221,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 _list751 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list751.size); - PartitionSpec _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.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list759.size); + PartitionSpec _elem760; + for (int _i761 = 0; _i761 < _list759.size; ++_i761) { - _elem752 = new PartitionSpec(); - _elem752.read(iprot); - struct.new_parts.add(_elem752); + _elem760 = new PartitionSpec(); + _elem760.read(iprot); + struct.new_parts.add(_elem760); } } struct.setNew_partsIsSet(true); @@ -60263,13 +60404,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 _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(); } @@ -60305,9 +60446,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 _iter757 : struct.part_vals) + for (String _iter765 : struct.part_vals) { - oprot.writeString(_iter757); + oprot.writeString(_iter765); } oprot.writeListEnd(); } @@ -60350,9 +60491,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 _iter758 : struct.part_vals) + for (String _iter766 : struct.part_vals) { - oprot.writeString(_iter758); + oprot.writeString(_iter766); } } } @@ -60372,13 +60513,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } 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); @@ -62687,13 +62828,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 _list762 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list762.size); - String _elem763; - for (int _i764 = 0; _i764 < _list762.size; ++_i764) + org.apache.thrift.protocol.TList _list770 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list770.size); + String _elem771; + for (int _i772 = 0; _i772 < _list770.size; ++_i772) { - _elem763 = iprot.readString(); - struct.part_vals.add(_elem763); + _elem771 = iprot.readString(); + struct.part_vals.add(_elem771); } iprot.readListEnd(); } @@ -62738,9 +62879,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 _iter765 : struct.part_vals) + for (String _iter773 : struct.part_vals) { - oprot.writeString(_iter765); + oprot.writeString(_iter773); } oprot.writeListEnd(); } @@ -62791,9 +62932,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 _iter766 : struct.part_vals) + for (String _iter774 : struct.part_vals) { - oprot.writeString(_iter766); + oprot.writeString(_iter774); } } } @@ -62816,13 +62957,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } if (incoming.get(2)) { { - 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) + org.apache.thrift.protocol.TList _list775 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list775.size); + String _elem776; + for (int _i777 = 0; _i777 < _list775.size; ++_i777) { - _elem768 = iprot.readString(); - struct.part_vals.add(_elem768); + _elem776 = iprot.readString(); + struct.part_vals.add(_elem776); } } struct.setPart_valsIsSet(true); @@ -66692,13 +66833,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 _list770 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list770.size); - String _elem771; - for (int _i772 = 0; _i772 < _list770.size; ++_i772) + org.apache.thrift.protocol.TList _list778 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list778.size); + String _elem779; + for (int _i780 = 0; _i780 < _list778.size; ++_i780) { - _elem771 = iprot.readString(); - struct.part_vals.add(_elem771); + _elem779 = iprot.readString(); + struct.part_vals.add(_elem779); } iprot.readListEnd(); } @@ -66742,9 +66883,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 _iter773 : struct.part_vals) + for (String _iter781 : struct.part_vals) { - oprot.writeString(_iter773); + oprot.writeString(_iter781); } oprot.writeListEnd(); } @@ -66793,9 +66934,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 _iter774 : struct.part_vals) + for (String _iter782 : struct.part_vals) { - oprot.writeString(_iter774); + oprot.writeString(_iter782); } } } @@ -66818,13 +66959,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list775 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list775.size); - String _elem776; - for (int _i777 = 0; _i777 < _list775.size; ++_i777) + org.apache.thrift.protocol.TList _list783 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list783.size); + String _elem784; + for (int _i785 = 0; _i785 < _list783.size; ++_i785) { - _elem776 = iprot.readString(); - struct.part_vals.add(_elem776); + _elem784 = iprot.readString(); + struct.part_vals.add(_elem784); } } struct.setPart_valsIsSet(true); @@ -68063,13 +68204,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 _list778 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list778.size); - String _elem779; - for (int _i780 = 0; _i780 < _list778.size; ++_i780) + org.apache.thrift.protocol.TList _list786 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list786.size); + String _elem787; + for (int _i788 = 0; _i788 < _list786.size; ++_i788) { - _elem779 = iprot.readString(); - struct.part_vals.add(_elem779); + _elem787 = iprot.readString(); + struct.part_vals.add(_elem787); } iprot.readListEnd(); } @@ -68122,9 +68263,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 _iter781 : struct.part_vals) + for (String _iter789 : struct.part_vals) { - oprot.writeString(_iter781); + oprot.writeString(_iter789); } oprot.writeListEnd(); } @@ -68181,9 +68322,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 _iter782 : struct.part_vals) + for (String _iter790 : struct.part_vals) { - oprot.writeString(_iter782); + oprot.writeString(_iter790); } } } @@ -68209,13 +68350,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list783 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list783.size); - String _elem784; - for (int _i785 = 0; _i785 < _list783.size; ++_i785) + org.apache.thrift.protocol.TList _list791 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list791.size); + String _elem792; + for (int _i793 = 0; _i793 < _list791.size; ++_i793) { - _elem784 = iprot.readString(); - struct.part_vals.add(_elem784); + _elem792 = iprot.readString(); + struct.part_vals.add(_elem792); } } struct.setPart_valsIsSet(true); @@ -72817,13 +72958,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 _list786 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list786.size); - String _elem787; - for (int _i788 = 0; _i788 < _list786.size; ++_i788) + org.apache.thrift.protocol.TList _list794 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list794.size); + String _elem795; + for (int _i796 = 0; _i796 < _list794.size; ++_i796) { - _elem787 = iprot.readString(); - struct.part_vals.add(_elem787); + _elem795 = iprot.readString(); + struct.part_vals.add(_elem795); } iprot.readListEnd(); } @@ -72859,9 +73000,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 _iter789 : struct.part_vals) + for (String _iter797 : struct.part_vals) { - oprot.writeString(_iter789); + oprot.writeString(_iter797); } oprot.writeListEnd(); } @@ -72904,9 +73045,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 _iter790 : struct.part_vals) + for (String _iter798 : struct.part_vals) { - oprot.writeString(_iter790); + oprot.writeString(_iter798); } } } @@ -72926,13 +73067,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list791 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list791.size); - String _elem792; - for (int _i793 = 0; _i793 < _list791.size; ++_i793) + org.apache.thrift.protocol.TList _list799 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list799.size); + String _elem800; + for (int _i801 = 0; _i801 < _list799.size; ++_i801) { - _elem792 = iprot.readString(); - struct.part_vals.add(_elem792); + _elem800 = iprot.readString(); + struct.part_vals.add(_elem800); } } struct.setPart_valsIsSet(true); @@ -74150,15 +74291,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 _map794 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map794.size); - String _key795; - String _val796; - for (int _i797 = 0; _i797 < _map794.size; ++_i797) + org.apache.thrift.protocol.TMap _map802 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map802.size); + String _key803; + String _val804; + for (int _i805 = 0; _i805 < _map802.size; ++_i805) { - _key795 = iprot.readString(); - _val796 = iprot.readString(); - struct.partitionSpecs.put(_key795, _val796); + _key803 = iprot.readString(); + _val804 = iprot.readString(); + struct.partitionSpecs.put(_key803, _val804); } iprot.readMapEnd(); } @@ -74216,10 +74357,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 _iter798 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter806 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter798.getKey()); - oprot.writeString(_iter798.getValue()); + oprot.writeString(_iter806.getKey()); + oprot.writeString(_iter806.getValue()); } oprot.writeMapEnd(); } @@ -74282,10 +74423,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter799 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter807 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter799.getKey()); - oprot.writeString(_iter799.getValue()); + oprot.writeString(_iter807.getKey()); + oprot.writeString(_iter807.getValue()); } } } @@ -74309,15 +74450,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 _map800 = 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*_map800.size); - String _key801; - String _val802; - for (int _i803 = 0; _i803 < _map800.size; ++_i803) + org.apache.thrift.protocol.TMap _map808 = 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*_map808.size); + String _key809; + String _val810; + for (int _i811 = 0; _i811 < _map808.size; ++_i811) { - _key801 = iprot.readString(); - _val802 = iprot.readString(); - struct.partitionSpecs.put(_key801, _val802); + _key809 = iprot.readString(); + _val810 = iprot.readString(); + struct.partitionSpecs.put(_key809, _val810); } } struct.setPartitionSpecsIsSet(true); @@ -75763,15 +75904,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 _map804 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map804.size); - String _key805; - String _val806; - for (int _i807 = 0; _i807 < _map804.size; ++_i807) + org.apache.thrift.protocol.TMap _map812 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map812.size); + String _key813; + String _val814; + for (int _i815 = 0; _i815 < _map812.size; ++_i815) { - _key805 = iprot.readString(); - _val806 = iprot.readString(); - struct.partitionSpecs.put(_key805, _val806); + _key813 = iprot.readString(); + _val814 = iprot.readString(); + struct.partitionSpecs.put(_key813, _val814); } iprot.readMapEnd(); } @@ -75829,10 +75970,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 _iter808 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter816 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter808.getKey()); - oprot.writeString(_iter808.getValue()); + oprot.writeString(_iter816.getKey()); + oprot.writeString(_iter816.getValue()); } oprot.writeMapEnd(); } @@ -75895,10 +76036,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter809 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter817 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter809.getKey()); - oprot.writeString(_iter809.getValue()); + oprot.writeString(_iter817.getKey()); + oprot.writeString(_iter817.getValue()); } } } @@ -75922,15 +76063,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 _map810 = 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*_map810.size); - String _key811; - String _val812; - for (int _i813 = 0; _i813 < _map810.size; ++_i813) + org.apache.thrift.protocol.TMap _map818 = 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*_map818.size); + String _key819; + String _val820; + for (int _i821 = 0; _i821 < _map818.size; ++_i821) { - _key811 = iprot.readString(); - _val812 = iprot.readString(); - struct.partitionSpecs.put(_key811, _val812); + _key819 = iprot.readString(); + _val820 = iprot.readString(); + struct.partitionSpecs.put(_key819, _val820); } } struct.setPartitionSpecsIsSet(true); @@ -76595,14 +76736,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 _list814 = iprot.readListBegin(); - struct.success = new ArrayList(_list814.size); - Partition _elem815; - for (int _i816 = 0; _i816 < _list814.size; ++_i816) + org.apache.thrift.protocol.TList _list822 = iprot.readListBegin(); + struct.success = new ArrayList(_list822.size); + Partition _elem823; + for (int _i824 = 0; _i824 < _list822.size; ++_i824) { - _elem815 = new Partition(); - _elem815.read(iprot); - struct.success.add(_elem815); + _elem823 = new Partition(); + _elem823.read(iprot); + struct.success.add(_elem823); } iprot.readListEnd(); } @@ -76664,9 +76805,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 _iter817 : struct.success) + for (Partition _iter825 : struct.success) { - _iter817.write(oprot); + _iter825.write(oprot); } oprot.writeListEnd(); } @@ -76729,9 +76870,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter818 : struct.success) + for (Partition _iter826 : struct.success) { - _iter818.write(oprot); + _iter826.write(oprot); } } } @@ -76755,14 +76896,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 _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) + 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) { - _elem820 = new Partition(); - _elem820.read(iprot); - struct.success.add(_elem820); + _elem828 = new Partition(); + _elem828.read(iprot); + struct.success.add(_elem828); } } struct.setSuccessIsSet(true); @@ -77461,13 +77602,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 _list822 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list822.size); - String _elem823; - for (int _i824 = 0; _i824 < _list822.size; ++_i824) + org.apache.thrift.protocol.TList _list830 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list830.size); + String _elem831; + for (int _i832 = 0; _i832 < _list830.size; ++_i832) { - _elem823 = iprot.readString(); - struct.part_vals.add(_elem823); + _elem831 = iprot.readString(); + struct.part_vals.add(_elem831); } iprot.readListEnd(); } @@ -77487,13 +77628,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 _list825 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list825.size); - String _elem826; - for (int _i827 = 0; _i827 < _list825.size; ++_i827) + org.apache.thrift.protocol.TList _list833 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list833.size); + String _elem834; + for (int _i835 = 0; _i835 < _list833.size; ++_i835) { - _elem826 = iprot.readString(); - struct.group_names.add(_elem826); + _elem834 = iprot.readString(); + struct.group_names.add(_elem834); } iprot.readListEnd(); } @@ -77529,9 +77670,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 _iter828 : struct.part_vals) + for (String _iter836 : struct.part_vals) { - oprot.writeString(_iter828); + oprot.writeString(_iter836); } oprot.writeListEnd(); } @@ -77546,9 +77687,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 _iter829 : struct.group_names) + for (String _iter837 : struct.group_names) { - oprot.writeString(_iter829); + oprot.writeString(_iter837); } oprot.writeListEnd(); } @@ -77597,9 +77738,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 _iter830 : struct.part_vals) + for (String _iter838 : struct.part_vals) { - oprot.writeString(_iter830); + oprot.writeString(_iter838); } } } @@ -77609,9 +77750,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 _iter831 : struct.group_names) + for (String _iter839 : struct.group_names) { - oprot.writeString(_iter831); + oprot.writeString(_iter839); } } } @@ -77631,13 +77772,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list832 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list832.size); - String _elem833; - for (int _i834 = 0; _i834 < _list832.size; ++_i834) + org.apache.thrift.protocol.TList _list840 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list840.size); + String _elem841; + for (int _i842 = 0; _i842 < _list840.size; ++_i842) { - _elem833 = iprot.readString(); - struct.part_vals.add(_elem833); + _elem841 = iprot.readString(); + struct.part_vals.add(_elem841); } } struct.setPart_valsIsSet(true); @@ -77648,13 +77789,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list835 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list835.size); - String _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.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list843.size); + String _elem844; + for (int _i845 = 0; _i845 < _list843.size; ++_i845) { - _elem836 = iprot.readString(); - struct.group_names.add(_elem836); + _elem844 = iprot.readString(); + struct.group_names.add(_elem844); } } struct.setGroup_namesIsSet(true); @@ -80423,14 +80564,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 _list838 = iprot.readListBegin(); - struct.success = new ArrayList(_list838.size); - Partition _elem839; - for (int _i840 = 0; _i840 < _list838.size; ++_i840) + org.apache.thrift.protocol.TList _list846 = iprot.readListBegin(); + struct.success = new ArrayList(_list846.size); + Partition _elem847; + for (int _i848 = 0; _i848 < _list846.size; ++_i848) { - _elem839 = new Partition(); - _elem839.read(iprot); - struct.success.add(_elem839); + _elem847 = new Partition(); + _elem847.read(iprot); + struct.success.add(_elem847); } iprot.readListEnd(); } @@ -80474,9 +80615,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 _iter841 : struct.success) + for (Partition _iter849 : struct.success) { - _iter841.write(oprot); + _iter849.write(oprot); } oprot.writeListEnd(); } @@ -80523,9 +80664,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter842 : struct.success) + for (Partition _iter850 : struct.success) { - _iter842.write(oprot); + _iter850.write(oprot); } } } @@ -80543,14 +80684,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 _list843 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list843.size); - Partition _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.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list851.size); + Partition _elem852; + for (int _i853 = 0; _i853 < _list851.size; ++_i853) { - _elem844 = new Partition(); - _elem844.read(iprot); - struct.success.add(_elem844); + _elem852 = new Partition(); + _elem852.read(iprot); + struct.success.add(_elem852); } } struct.setSuccessIsSet(true); @@ -81240,13 +81381,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 _list846 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list846.size); - String _elem847; - for (int _i848 = 0; _i848 < _list846.size; ++_i848) + org.apache.thrift.protocol.TList _list854 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list854.size); + String _elem855; + for (int _i856 = 0; _i856 < _list854.size; ++_i856) { - _elem847 = iprot.readString(); - struct.group_names.add(_elem847); + _elem855 = iprot.readString(); + struct.group_names.add(_elem855); } iprot.readListEnd(); } @@ -81290,9 +81431,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 _iter849 : struct.group_names) + for (String _iter857 : struct.group_names) { - oprot.writeString(_iter849); + oprot.writeString(_iter857); } oprot.writeListEnd(); } @@ -81347,9 +81488,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 _iter850 : struct.group_names) + for (String _iter858 : struct.group_names) { - oprot.writeString(_iter850); + oprot.writeString(_iter858); } } } @@ -81377,13 +81518,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list851 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = 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.group_names = new ArrayList(_list859.size); + String _elem860; + for (int _i861 = 0; _i861 < _list859.size; ++_i861) { - _elem852 = iprot.readString(); - struct.group_names.add(_elem852); + _elem860 = iprot.readString(); + struct.group_names.add(_elem860); } } struct.setGroup_namesIsSet(true); @@ -81870,14 +82011,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 _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(); } @@ -81921,9 +82062,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 _iter857 : struct.success) + for (Partition _iter865 : struct.success) { - _iter857.write(oprot); + _iter865.write(oprot); } oprot.writeListEnd(); } @@ -81970,9 +82111,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter858 : struct.success) + for (Partition _iter866 : struct.success) { - _iter858.write(oprot); + _iter866.write(oprot); } } } @@ -81990,14 +82131,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 _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); @@ -83060,14 +83201,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 _list862 = iprot.readListBegin(); - struct.success = new ArrayList(_list862.size); - PartitionSpec _elem863; - for (int _i864 = 0; _i864 < _list862.size; ++_i864) + org.apache.thrift.protocol.TList _list870 = iprot.readListBegin(); + struct.success = new ArrayList(_list870.size); + PartitionSpec _elem871; + for (int _i872 = 0; _i872 < _list870.size; ++_i872) { - _elem863 = new PartitionSpec(); - _elem863.read(iprot); - struct.success.add(_elem863); + _elem871 = new PartitionSpec(); + _elem871.read(iprot); + struct.success.add(_elem871); } iprot.readListEnd(); } @@ -83111,9 +83252,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 _iter865 : struct.success) + for (PartitionSpec _iter873 : struct.success) { - _iter865.write(oprot); + _iter873.write(oprot); } oprot.writeListEnd(); } @@ -83160,9 +83301,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter866 : struct.success) + for (PartitionSpec _iter874 : struct.success) { - _iter866.write(oprot); + _iter874.write(oprot); } } } @@ -83180,14 +83321,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 _list867 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list867.size); - PartitionSpec _elem868; - for (int _i869 = 0; _i869 < _list867.size; ++_i869) + org.apache.thrift.protocol.TList _list875 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list875.size); + PartitionSpec _elem876; + for (int _i877 = 0; _i877 < _list875.size; ++_i877) { - _elem868 = new PartitionSpec(); - _elem868.read(iprot); - struct.success.add(_elem868); + _elem876 = new PartitionSpec(); + _elem876.read(iprot); + struct.success.add(_elem876); } } struct.setSuccessIsSet(true); @@ -84166,13 +84307,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 _list870 = iprot.readListBegin(); - struct.success = new ArrayList(_list870.size); - String _elem871; - for (int _i872 = 0; _i872 < _list870.size; ++_i872) + org.apache.thrift.protocol.TList _list878 = iprot.readListBegin(); + struct.success = new ArrayList(_list878.size); + String _elem879; + for (int _i880 = 0; _i880 < _list878.size; ++_i880) { - _elem871 = iprot.readString(); - struct.success.add(_elem871); + _elem879 = iprot.readString(); + struct.success.add(_elem879); } iprot.readListEnd(); } @@ -84207,9 +84348,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 _iter873 : struct.success) + for (String _iter881 : struct.success) { - oprot.writeString(_iter873); + oprot.writeString(_iter881); } oprot.writeListEnd(); } @@ -84248,9 +84389,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter874 : struct.success) + for (String _iter882 : struct.success) { - oprot.writeString(_iter874); + oprot.writeString(_iter882); } } } @@ -84265,13 +84406,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 _list875 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = 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.success = new ArrayList(_list883.size); + String _elem884; + for (int _i885 = 0; _i885 < _list883.size; ++_i885) { - _elem876 = iprot.readString(); - struct.success.add(_elem876); + _elem884 = iprot.readString(); + struct.success.add(_elem884); } } struct.setSuccessIsSet(true); @@ -84859,13 +85000,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 _list878 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list878.size); - String _elem879; - for (int _i880 = 0; _i880 < _list878.size; ++_i880) + 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) { - _elem879 = iprot.readString(); - struct.part_vals.add(_elem879); + _elem887 = iprot.readString(); + struct.part_vals.add(_elem887); } iprot.readListEnd(); } @@ -84909,9 +85050,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 _iter881 : struct.part_vals) + for (String _iter889 : struct.part_vals) { - oprot.writeString(_iter881); + oprot.writeString(_iter889); } oprot.writeListEnd(); } @@ -84960,9 +85101,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 _iter882 : struct.part_vals) + for (String _iter890 : struct.part_vals) { - oprot.writeString(_iter882); + oprot.writeString(_iter890); } } } @@ -84985,13 +85126,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list883 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list883.size); - String _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.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list891.size); + String _elem892; + for (int _i893 = 0; _i893 < _list891.size; ++_i893) { - _elem884 = iprot.readString(); - struct.part_vals.add(_elem884); + _elem892 = iprot.readString(); + struct.part_vals.add(_elem892); } } struct.setPart_valsIsSet(true); @@ -85482,14 +85623,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 _list886 = iprot.readListBegin(); - struct.success = new ArrayList(_list886.size); - Partition _elem887; - for (int _i888 = 0; _i888 < _list886.size; ++_i888) + org.apache.thrift.protocol.TList _list894 = iprot.readListBegin(); + struct.success = new ArrayList(_list894.size); + Partition _elem895; + for (int _i896 = 0; _i896 < _list894.size; ++_i896) { - _elem887 = new Partition(); - _elem887.read(iprot); - struct.success.add(_elem887); + _elem895 = new Partition(); + _elem895.read(iprot); + struct.success.add(_elem895); } iprot.readListEnd(); } @@ -85533,9 +85674,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 _iter889 : struct.success) + for (Partition _iter897 : struct.success) { - _iter889.write(oprot); + _iter897.write(oprot); } oprot.writeListEnd(); } @@ -85582,9 +85723,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter890 : struct.success) + for (Partition _iter898 : struct.success) { - _iter890.write(oprot); + _iter898.write(oprot); } } } @@ -85602,14 +85743,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 _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) + org.apache.thrift.protocol.TList _list899 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list899.size); + Partition _elem900; + for (int _i901 = 0; _i901 < _list899.size; ++_i901) { - _elem892 = new Partition(); - _elem892.read(iprot); - struct.success.add(_elem892); + _elem900 = new Partition(); + _elem900.read(iprot); + struct.success.add(_elem900); } } struct.setSuccessIsSet(true); @@ -86381,13 +86522,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 _list894 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list894.size); - String _elem895; - for (int _i896 = 0; _i896 < _list894.size; ++_i896) + org.apache.thrift.protocol.TList _list902 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list902.size); + String _elem903; + for (int _i904 = 0; _i904 < _list902.size; ++_i904) { - _elem895 = iprot.readString(); - struct.part_vals.add(_elem895); + _elem903 = iprot.readString(); + struct.part_vals.add(_elem903); } iprot.readListEnd(); } @@ -86415,13 +86556,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 _list897 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list897.size); - String _elem898; - for (int _i899 = 0; _i899 < _list897.size; ++_i899) + org.apache.thrift.protocol.TList _list905 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list905.size); + String _elem906; + for (int _i907 = 0; _i907 < _list905.size; ++_i907) { - _elem898 = iprot.readString(); - struct.group_names.add(_elem898); + _elem906 = iprot.readString(); + struct.group_names.add(_elem906); } iprot.readListEnd(); } @@ -86457,9 +86598,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 _iter900 : struct.part_vals) + for (String _iter908 : struct.part_vals) { - oprot.writeString(_iter900); + oprot.writeString(_iter908); } oprot.writeListEnd(); } @@ -86477,9 +86618,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 _iter901 : struct.group_names) + for (String _iter909 : struct.group_names) { - oprot.writeString(_iter901); + oprot.writeString(_iter909); } oprot.writeListEnd(); } @@ -86531,9 +86672,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 _iter902 : struct.part_vals) + for (String _iter910 : struct.part_vals) { - oprot.writeString(_iter902); + oprot.writeString(_iter910); } } } @@ -86546,9 +86687,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 _iter903 : struct.group_names) + for (String _iter911 : struct.group_names) { - oprot.writeString(_iter903); + oprot.writeString(_iter911); } } } @@ -86568,13 +86709,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list904 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list904.size); - String _elem905; - for (int _i906 = 0; _i906 < _list904.size; ++_i906) + org.apache.thrift.protocol.TList _list912 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list912.size); + String _elem913; + for (int _i914 = 0; _i914 < _list912.size; ++_i914) { - _elem905 = iprot.readString(); - struct.part_vals.add(_elem905); + _elem913 = iprot.readString(); + struct.part_vals.add(_elem913); } } struct.setPart_valsIsSet(true); @@ -86589,13 +86730,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list907 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list907.size); - String _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.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list915.size); + String _elem916; + for (int _i917 = 0; _i917 < _list915.size; ++_i917) { - _elem908 = iprot.readString(); - struct.group_names.add(_elem908); + _elem916 = iprot.readString(); + struct.group_names.add(_elem916); } } struct.setGroup_namesIsSet(true); @@ -87082,14 +87223,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 _list910 = iprot.readListBegin(); - struct.success = new ArrayList(_list910.size); - Partition _elem911; - for (int _i912 = 0; _i912 < _list910.size; ++_i912) + org.apache.thrift.protocol.TList _list918 = iprot.readListBegin(); + struct.success = new ArrayList(_list918.size); + Partition _elem919; + for (int _i920 = 0; _i920 < _list918.size; ++_i920) { - _elem911 = new Partition(); - _elem911.read(iprot); - struct.success.add(_elem911); + _elem919 = new Partition(); + _elem919.read(iprot); + struct.success.add(_elem919); } iprot.readListEnd(); } @@ -87133,9 +87274,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 _iter913 : struct.success) + for (Partition _iter921 : struct.success) { - _iter913.write(oprot); + _iter921.write(oprot); } oprot.writeListEnd(); } @@ -87182,9 +87323,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter914 : struct.success) + for (Partition _iter922 : struct.success) { - _iter914.write(oprot); + _iter922.write(oprot); } } } @@ -87202,14 +87343,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 _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) + 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); + Partition _elem924; + for (int _i925 = 0; _i925 < _list923.size; ++_i925) { - _elem916 = new Partition(); - _elem916.read(iprot); - struct.success.add(_elem916); + _elem924 = new Partition(); + _elem924.read(iprot); + struct.success.add(_elem924); } } struct.setSuccessIsSet(true); @@ -87802,13 +87943,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 _list918 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list918.size); - String _elem919; - for (int _i920 = 0; _i920 < _list918.size; ++_i920) + org.apache.thrift.protocol.TList _list926 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list926.size); + String _elem927; + for (int _i928 = 0; _i928 < _list926.size; ++_i928) { - _elem919 = iprot.readString(); - struct.part_vals.add(_elem919); + _elem927 = iprot.readString(); + struct.part_vals.add(_elem927); } iprot.readListEnd(); } @@ -87852,9 +87993,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 _iter921 : struct.part_vals) + for (String _iter929 : struct.part_vals) { - oprot.writeString(_iter921); + oprot.writeString(_iter929); } oprot.writeListEnd(); } @@ -87903,9 +88044,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 _iter922 : struct.part_vals) + for (String _iter930 : struct.part_vals) { - oprot.writeString(_iter922); + oprot.writeString(_iter930); } } } @@ -87928,13 +88069,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } 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.part_vals = 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.part_vals = new ArrayList(_list931.size); + String _elem932; + for (int _i933 = 0; _i933 < _list931.size; ++_i933) { - _elem924 = iprot.readString(); - struct.part_vals.add(_elem924); + _elem932 = iprot.readString(); + struct.part_vals.add(_elem932); } } struct.setPart_valsIsSet(true); @@ -88422,13 +88563,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 _list926 = iprot.readListBegin(); - struct.success = new ArrayList(_list926.size); - String _elem927; - for (int _i928 = 0; _i928 < _list926.size; ++_i928) + org.apache.thrift.protocol.TList _list934 = iprot.readListBegin(); + struct.success = new ArrayList(_list934.size); + String _elem935; + for (int _i936 = 0; _i936 < _list934.size; ++_i936) { - _elem927 = iprot.readString(); - struct.success.add(_elem927); + _elem935 = iprot.readString(); + struct.success.add(_elem935); } iprot.readListEnd(); } @@ -88472,9 +88613,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 _iter929 : struct.success) + for (String _iter937 : struct.success) { - oprot.writeString(_iter929); + oprot.writeString(_iter937); } oprot.writeListEnd(); } @@ -88521,9 +88662,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter930 : struct.success) + for (String _iter938 : struct.success) { - oprot.writeString(_iter930); + oprot.writeString(_iter938); } } } @@ -88541,13 +88682,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 _list931 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list931.size); - String _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.STRING, iprot.readI32()); + struct.success = new ArrayList(_list939.size); + String _elem940; + for (int _i941 = 0; _i941 < _list939.size; ++_i941) { - _elem932 = iprot.readString(); - struct.success.add(_elem932); + _elem940 = iprot.readString(); + struct.success.add(_elem940); } } struct.setSuccessIsSet(true); @@ -89714,14 +89855,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 _list934 = iprot.readListBegin(); - struct.success = new ArrayList(_list934.size); - Partition _elem935; - for (int _i936 = 0; _i936 < _list934.size; ++_i936) + org.apache.thrift.protocol.TList _list942 = iprot.readListBegin(); + struct.success = new ArrayList(_list942.size); + Partition _elem943; + for (int _i944 = 0; _i944 < _list942.size; ++_i944) { - _elem935 = new Partition(); - _elem935.read(iprot); - struct.success.add(_elem935); + _elem943 = new Partition(); + _elem943.read(iprot); + struct.success.add(_elem943); } iprot.readListEnd(); } @@ -89765,9 +89906,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 _iter937 : struct.success) + for (Partition _iter945 : struct.success) { - _iter937.write(oprot); + _iter945.write(oprot); } oprot.writeListEnd(); } @@ -89814,9 +89955,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter938 : struct.success) + for (Partition _iter946 : struct.success) { - _iter938.write(oprot); + _iter946.write(oprot); } } } @@ -89834,14 +89975,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 _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) + org.apache.thrift.protocol.TList _list947 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list947.size); + Partition _elem948; + for (int _i949 = 0; _i949 < _list947.size; ++_i949) { - _elem940 = new Partition(); - _elem940.read(iprot); - struct.success.add(_elem940); + _elem948 = new Partition(); + _elem948.read(iprot); + struct.success.add(_elem948); } } struct.setSuccessIsSet(true); @@ -91008,14 +91149,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 _list942 = iprot.readListBegin(); - struct.success = new ArrayList(_list942.size); - PartitionSpec _elem943; - for (int _i944 = 0; _i944 < _list942.size; ++_i944) + org.apache.thrift.protocol.TList _list950 = iprot.readListBegin(); + struct.success = new ArrayList(_list950.size); + PartitionSpec _elem951; + for (int _i952 = 0; _i952 < _list950.size; ++_i952) { - _elem943 = new PartitionSpec(); - _elem943.read(iprot); - struct.success.add(_elem943); + _elem951 = new PartitionSpec(); + _elem951.read(iprot); + struct.success.add(_elem951); } iprot.readListEnd(); } @@ -91059,9 +91200,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 _iter945 : struct.success) + for (PartitionSpec _iter953 : struct.success) { - _iter945.write(oprot); + _iter953.write(oprot); } oprot.writeListEnd(); } @@ -91108,9 +91249,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 _iter946 : struct.success) + for (PartitionSpec _iter954 : struct.success) { - _iter946.write(oprot); + _iter954.write(oprot); } } } @@ -91128,14 +91269,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 _list947 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list947.size); - PartitionSpec _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.success = new ArrayList(_list955.size); + PartitionSpec _elem956; + for (int _i957 = 0; _i957 < _list955.size; ++_i957) { - _elem948 = new PartitionSpec(); - _elem948.read(iprot); - struct.success.add(_elem948); + _elem956 = new PartitionSpec(); + _elem956.read(iprot); + struct.success.add(_elem956); } } struct.setSuccessIsSet(true); @@ -93719,13 +93860,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 _list950 = iprot.readListBegin(); - struct.names = new ArrayList(_list950.size); - String _elem951; - for (int _i952 = 0; _i952 < _list950.size; ++_i952) + org.apache.thrift.protocol.TList _list958 = iprot.readListBegin(); + struct.names = new ArrayList(_list958.size); + String _elem959; + for (int _i960 = 0; _i960 < _list958.size; ++_i960) { - _elem951 = iprot.readString(); - struct.names.add(_elem951); + _elem959 = iprot.readString(); + struct.names.add(_elem959); } iprot.readListEnd(); } @@ -93761,9 +93902,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 _iter953 : struct.names) + for (String _iter961 : struct.names) { - oprot.writeString(_iter953); + oprot.writeString(_iter961); } oprot.writeListEnd(); } @@ -93806,9 +93947,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter954 : struct.names) + for (String _iter962 : struct.names) { - oprot.writeString(_iter954); + oprot.writeString(_iter962); } } } @@ -93828,13 +93969,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } 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.names = 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.names = new ArrayList(_list963.size); + String _elem964; + for (int _i965 = 0; _i965 < _list963.size; ++_i965) { - _elem956 = iprot.readString(); - struct.names.add(_elem956); + _elem964 = iprot.readString(); + struct.names.add(_elem964); } } struct.setNamesIsSet(true); @@ -94321,14 +94462,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 _list958 = iprot.readListBegin(); - struct.success = new ArrayList(_list958.size); - Partition _elem959; - for (int _i960 = 0; _i960 < _list958.size; ++_i960) + org.apache.thrift.protocol.TList _list966 = iprot.readListBegin(); + struct.success = new ArrayList(_list966.size); + Partition _elem967; + for (int _i968 = 0; _i968 < _list966.size; ++_i968) { - _elem959 = new Partition(); - _elem959.read(iprot); - struct.success.add(_elem959); + _elem967 = new Partition(); + _elem967.read(iprot); + struct.success.add(_elem967); } iprot.readListEnd(); } @@ -94372,9 +94513,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 _iter961 : struct.success) + for (Partition _iter969 : struct.success) { - _iter961.write(oprot); + _iter969.write(oprot); } oprot.writeListEnd(); } @@ -94421,9 +94562,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter962 : struct.success) + for (Partition _iter970 : struct.success) { - _iter962.write(oprot); + _iter970.write(oprot); } } } @@ -94441,14 +94582,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 _list963 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list963.size); - Partition _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.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list971.size); + Partition _elem972; + for (int _i973 = 0; _i973 < _list971.size; ++_i973) { - _elem964 = new Partition(); - _elem964.read(iprot); - struct.success.add(_elem964); + _elem972 = new Partition(); + _elem972.read(iprot); + struct.success.add(_elem972); } } struct.setSuccessIsSet(true); @@ -95998,14 +96139,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 _list966 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list966.size); - Partition _elem967; - for (int _i968 = 0; _i968 < _list966.size; ++_i968) + org.apache.thrift.protocol.TList _list974 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list974.size); + Partition _elem975; + for (int _i976 = 0; _i976 < _list974.size; ++_i976) { - _elem967 = new Partition(); - _elem967.read(iprot); - struct.new_parts.add(_elem967); + _elem975 = new Partition(); + _elem975.read(iprot); + struct.new_parts.add(_elem975); } iprot.readListEnd(); } @@ -96041,9 +96182,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 _iter969 : struct.new_parts) + for (Partition _iter977 : struct.new_parts) { - _iter969.write(oprot); + _iter977.write(oprot); } oprot.writeListEnd(); } @@ -96086,9 +96227,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 _iter970 : struct.new_parts) + for (Partition _iter978 : struct.new_parts) { - _iter970.write(oprot); + _iter978.write(oprot); } } } @@ -96108,14 +96249,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list971 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list971.size); - Partition _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.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list979.size); + Partition _elem980; + for (int _i981 = 0; _i981 < _list979.size; ++_i981) { - _elem972 = new Partition(); - _elem972.read(iprot); - struct.new_parts.add(_elem972); + _elem980 = new Partition(); + _elem980.read(iprot); + struct.new_parts.add(_elem980); } } struct.setNew_partsIsSet(true); @@ -97168,14 +97309,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 _list974 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list974.size); - Partition _elem975; - for (int _i976 = 0; _i976 < _list974.size; ++_i976) + org.apache.thrift.protocol.TList _list982 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list982.size); + Partition _elem983; + for (int _i984 = 0; _i984 < _list982.size; ++_i984) { - _elem975 = new Partition(); - _elem975.read(iprot); - struct.new_parts.add(_elem975); + _elem983 = new Partition(); + _elem983.read(iprot); + struct.new_parts.add(_elem983); } iprot.readListEnd(); } @@ -97220,9 +97361,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 _iter977 : struct.new_parts) + for (Partition _iter985 : struct.new_parts) { - _iter977.write(oprot); + _iter985.write(oprot); } oprot.writeListEnd(); } @@ -97273,9 +97414,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 _iter978 : struct.new_parts) + for (Partition _iter986 : struct.new_parts) { - _iter978.write(oprot); + _iter986.write(oprot); } } } @@ -97298,14 +97439,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list979 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list979.size); - Partition _elem980; - for (int _i981 = 0; _i981 < _list979.size; ++_i981) + org.apache.thrift.protocol.TList _list987 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list987.size); + Partition _elem988; + for (int _i989 = 0; _i989 < _list987.size; ++_i989) { - _elem980 = new Partition(); - _elem980.read(iprot); - struct.new_parts.add(_elem980); + _elem988 = new Partition(); + _elem988.read(iprot); + struct.new_parts.add(_elem988); } } struct.setNew_partsIsSet(true); @@ -99506,13 +99647,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 _list982 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list982.size); - String _elem983; - for (int _i984 = 0; _i984 < _list982.size; ++_i984) + org.apache.thrift.protocol.TList _list990 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list990.size); + String _elem991; + for (int _i992 = 0; _i992 < _list990.size; ++_i992) { - _elem983 = iprot.readString(); - struct.part_vals.add(_elem983); + _elem991 = iprot.readString(); + struct.part_vals.add(_elem991); } iprot.readListEnd(); } @@ -99557,9 +99698,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 _iter985 : struct.part_vals) + for (String _iter993 : struct.part_vals) { - oprot.writeString(_iter985); + oprot.writeString(_iter993); } oprot.writeListEnd(); } @@ -99610,9 +99751,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 _iter986 : struct.part_vals) + for (String _iter994 : struct.part_vals) { - oprot.writeString(_iter986); + oprot.writeString(_iter994); } } } @@ -99635,13 +99776,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list987 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list987.size); - String _elem988; - for (int _i989 = 0; _i989 < _list987.size; ++_i989) + org.apache.thrift.protocol.TList _list995 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list995.size); + String _elem996; + for (int _i997 = 0; _i997 < _list995.size; ++_i997) { - _elem988 = iprot.readString(); - struct.part_vals.add(_elem988); + _elem996 = iprot.readString(); + struct.part_vals.add(_elem996); } } struct.setPart_valsIsSet(true); @@ -100515,13 +100656,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 _list990 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list990.size); - String _elem991; - for (int _i992 = 0; _i992 < _list990.size; ++_i992) + org.apache.thrift.protocol.TList _list998 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list998.size); + String _elem999; + for (int _i1000 = 0; _i1000 < _list998.size; ++_i1000) { - _elem991 = iprot.readString(); - struct.part_vals.add(_elem991); + _elem999 = iprot.readString(); + struct.part_vals.add(_elem999); } iprot.readListEnd(); } @@ -100555,9 +100696,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 _iter993 : struct.part_vals) + for (String _iter1001 : struct.part_vals) { - oprot.writeString(_iter993); + oprot.writeString(_iter1001); } oprot.writeListEnd(); } @@ -100594,9 +100735,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 _iter994 : struct.part_vals) + for (String _iter1002 : struct.part_vals) { - oprot.writeString(_iter994); + oprot.writeString(_iter1002); } } } @@ -100611,13 +100752,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 _list995 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list995.size); - String _elem996; - for (int _i997 = 0; _i997 < _list995.size; ++_i997) + org.apache.thrift.protocol.TList _list1003 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1003.size); + String _elem1004; + for (int _i1005 = 0; _i1005 < _list1003.size; ++_i1005) { - _elem996 = iprot.readString(); - struct.part_vals.add(_elem996); + _elem1004 = iprot.readString(); + struct.part_vals.add(_elem1004); } } struct.setPart_valsIsSet(true); @@ -102772,13 +102913,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 _list998 = iprot.readListBegin(); - struct.success = new ArrayList(_list998.size); - String _elem999; - for (int _i1000 = 0; _i1000 < _list998.size; ++_i1000) + org.apache.thrift.protocol.TList _list1006 = iprot.readListBegin(); + struct.success = new ArrayList(_list1006.size); + String _elem1007; + for (int _i1008 = 0; _i1008 < _list1006.size; ++_i1008) { - _elem999 = iprot.readString(); - struct.success.add(_elem999); + _elem1007 = iprot.readString(); + struct.success.add(_elem1007); } iprot.readListEnd(); } @@ -102813,9 +102954,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 _iter1001 : struct.success) + for (String _iter1009 : struct.success) { - oprot.writeString(_iter1001); + oprot.writeString(_iter1009); } oprot.writeListEnd(); } @@ -102854,9 +102995,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1002 : struct.success) + for (String _iter1010 : struct.success) { - oprot.writeString(_iter1002); + oprot.writeString(_iter1010); } } } @@ -102871,13 +103012,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 _list1003 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1003.size); - String _elem1004; - for (int _i1005 = 0; _i1005 < _list1003.size; ++_i1005) + org.apache.thrift.protocol.TList _list1011 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1011.size); + String _elem1012; + for (int _i1013 = 0; _i1013 < _list1011.size; ++_i1013) { - _elem1004 = iprot.readString(); - struct.success.add(_elem1004); + _elem1012 = iprot.readString(); + struct.success.add(_elem1012); } } struct.setSuccessIsSet(true); @@ -103640,15 +103781,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 _map1006 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1006.size); - String _key1007; - String _val1008; - for (int _i1009 = 0; _i1009 < _map1006.size; ++_i1009) + org.apache.thrift.protocol.TMap _map1014 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1014.size); + String _key1015; + String _val1016; + for (int _i1017 = 0; _i1017 < _map1014.size; ++_i1017) { - _key1007 = iprot.readString(); - _val1008 = iprot.readString(); - struct.success.put(_key1007, _val1008); + _key1015 = iprot.readString(); + _val1016 = iprot.readString(); + struct.success.put(_key1015, _val1016); } iprot.readMapEnd(); } @@ -103683,10 +103824,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 _iter1010 : struct.success.entrySet()) + for (Map.Entry _iter1018 : struct.success.entrySet()) { - oprot.writeString(_iter1010.getKey()); - oprot.writeString(_iter1010.getValue()); + oprot.writeString(_iter1018.getKey()); + oprot.writeString(_iter1018.getValue()); } oprot.writeMapEnd(); } @@ -103725,10 +103866,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 _iter1011 : struct.success.entrySet()) + for (Map.Entry _iter1019 : struct.success.entrySet()) { - oprot.writeString(_iter1011.getKey()); - oprot.writeString(_iter1011.getValue()); + oprot.writeString(_iter1019.getKey()); + oprot.writeString(_iter1019.getValue()); } } } @@ -103743,15 +103884,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 _map1012 = 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*_map1012.size); - String _key1013; - String _val1014; - for (int _i1015 = 0; _i1015 < _map1012.size; ++_i1015) + org.apache.thrift.protocol.TMap _map1020 = 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*_map1020.size); + String _key1021; + String _val1022; + for (int _i1023 = 0; _i1023 < _map1020.size; ++_i1023) { - _key1013 = iprot.readString(); - _val1014 = iprot.readString(); - struct.success.put(_key1013, _val1014); + _key1021 = iprot.readString(); + _val1022 = iprot.readString(); + struct.success.put(_key1021, _val1022); } } struct.setSuccessIsSet(true); @@ -104346,15 +104487,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 _map1016 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1016.size); - String _key1017; - String _val1018; - for (int _i1019 = 0; _i1019 < _map1016.size; ++_i1019) + org.apache.thrift.protocol.TMap _map1024 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1024.size); + String _key1025; + String _val1026; + for (int _i1027 = 0; _i1027 < _map1024.size; ++_i1027) { - _key1017 = iprot.readString(); - _val1018 = iprot.readString(); - struct.part_vals.put(_key1017, _val1018); + _key1025 = iprot.readString(); + _val1026 = iprot.readString(); + struct.part_vals.put(_key1025, _val1026); } iprot.readMapEnd(); } @@ -104398,10 +104539,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 _iter1020 : struct.part_vals.entrySet()) + for (Map.Entry _iter1028 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1020.getKey()); - oprot.writeString(_iter1020.getValue()); + oprot.writeString(_iter1028.getKey()); + oprot.writeString(_iter1028.getValue()); } oprot.writeMapEnd(); } @@ -104452,10 +104593,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1021 : struct.part_vals.entrySet()) + for (Map.Entry _iter1029 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1021.getKey()); - oprot.writeString(_iter1021.getValue()); + oprot.writeString(_iter1029.getKey()); + oprot.writeString(_iter1029.getValue()); } } } @@ -104478,15 +104619,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1022 = 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*_map1022.size); - String _key1023; - String _val1024; - for (int _i1025 = 0; _i1025 < _map1022.size; ++_i1025) + org.apache.thrift.protocol.TMap _map1030 = 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*_map1030.size); + String _key1031; + String _val1032; + for (int _i1033 = 0; _i1033 < _map1030.size; ++_i1033) { - _key1023 = iprot.readString(); - _val1024 = iprot.readString(); - struct.part_vals.put(_key1023, _val1024); + _key1031 = iprot.readString(); + _val1032 = iprot.readString(); + struct.part_vals.put(_key1031, _val1032); } } struct.setPart_valsIsSet(true); @@ -105970,15 +106111,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 _map1026 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1026.size); - String _key1027; - String _val1028; - for (int _i1029 = 0; _i1029 < _map1026.size; ++_i1029) + org.apache.thrift.protocol.TMap _map1034 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1034.size); + String _key1035; + String _val1036; + for (int _i1037 = 0; _i1037 < _map1034.size; ++_i1037) { - _key1027 = iprot.readString(); - _val1028 = iprot.readString(); - struct.part_vals.put(_key1027, _val1028); + _key1035 = iprot.readString(); + _val1036 = iprot.readString(); + struct.part_vals.put(_key1035, _val1036); } iprot.readMapEnd(); } @@ -106022,10 +106163,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 _iter1030 : struct.part_vals.entrySet()) + for (Map.Entry _iter1038 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1030.getKey()); - oprot.writeString(_iter1030.getValue()); + oprot.writeString(_iter1038.getKey()); + oprot.writeString(_iter1038.getValue()); } oprot.writeMapEnd(); } @@ -106076,10 +106217,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1031 : struct.part_vals.entrySet()) + for (Map.Entry _iter1039 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1031.getKey()); - oprot.writeString(_iter1031.getValue()); + oprot.writeString(_iter1039.getKey()); + oprot.writeString(_iter1039.getValue()); } } } @@ -106102,15 +106243,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1032 = 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*_map1032.size); - String _key1033; - String _val1034; - for (int _i1035 = 0; _i1035 < _map1032.size; ++_i1035) + org.apache.thrift.protocol.TMap _map1040 = 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*_map1040.size); + String _key1041; + String _val1042; + for (int _i1043 = 0; _i1043 < _map1040.size; ++_i1043) { - _key1033 = iprot.readString(); - _val1034 = iprot.readString(); - struct.part_vals.put(_key1033, _val1034); + _key1041 = iprot.readString(); + _val1042 = iprot.readString(); + struct.part_vals.put(_key1041, _val1042); } } struct.setPart_valsIsSet(true); @@ -112834,14 +112975,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 _list1036 = iprot.readListBegin(); - struct.success = new ArrayList(_list1036.size); - Index _elem1037; - for (int _i1038 = 0; _i1038 < _list1036.size; ++_i1038) + org.apache.thrift.protocol.TList _list1044 = iprot.readListBegin(); + struct.success = new ArrayList(_list1044.size); + Index _elem1045; + for (int _i1046 = 0; _i1046 < _list1044.size; ++_i1046) { - _elem1037 = new Index(); - _elem1037.read(iprot); - struct.success.add(_elem1037); + _elem1045 = new Index(); + _elem1045.read(iprot); + struct.success.add(_elem1045); } iprot.readListEnd(); } @@ -112885,9 +113026,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 _iter1039 : struct.success) + for (Index _iter1047 : struct.success) { - _iter1039.write(oprot); + _iter1047.write(oprot); } oprot.writeListEnd(); } @@ -112934,9 +113075,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_indexes_result if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Index _iter1040 : struct.success) + for (Index _iter1048 : struct.success) { - _iter1040.write(oprot); + _iter1048.write(oprot); } } } @@ -112954,14 +113095,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 _list1041 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1041.size); - Index _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); + Index _elem1050; + for (int _i1051 = 0; _i1051 < _list1049.size; ++_i1051) { - _elem1042 = new Index(); - _elem1042.read(iprot); - struct.success.add(_elem1042); + _elem1050 = new Index(); + _elem1050.read(iprot); + struct.success.add(_elem1050); } } struct.setSuccessIsSet(true); @@ -113940,13 +114081,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 _list1044 = iprot.readListBegin(); - struct.success = new ArrayList(_list1044.size); - String _elem1045; - for (int _i1046 = 0; _i1046 < _list1044.size; ++_i1046) + org.apache.thrift.protocol.TList _list1052 = iprot.readListBegin(); + struct.success = new ArrayList(_list1052.size); + String _elem1053; + for (int _i1054 = 0; _i1054 < _list1052.size; ++_i1054) { - _elem1045 = iprot.readString(); - struct.success.add(_elem1045); + _elem1053 = iprot.readString(); + struct.success.add(_elem1053); } iprot.readListEnd(); } @@ -113981,9 +114122,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 _iter1047 : struct.success) + for (String _iter1055 : struct.success) { - oprot.writeString(_iter1047); + oprot.writeString(_iter1055); } oprot.writeListEnd(); } @@ -114022,9 +114163,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_index_names_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1048 : struct.success) + for (String _iter1056 : struct.success) { - oprot.writeString(_iter1048); + oprot.writeString(_iter1056); } } } @@ -114039,13 +114180,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 _list1049 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = 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.success = new ArrayList(_list1057.size); + String _elem1058; + for (int _i1059 = 0; _i1059 < _list1057.size; ++_i1059) { - _elem1050 = iprot.readString(); - struct.success.add(_elem1050); + _elem1058 = iprot.readString(); + struct.success.add(_elem1058); } } struct.setSuccessIsSet(true); @@ -131656,13 +131797,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 _list1052 = iprot.readListBegin(); - struct.success = new ArrayList(_list1052.size); - String _elem1053; - for (int _i1054 = 0; _i1054 < _list1052.size; ++_i1054) + org.apache.thrift.protocol.TList _list1060 = iprot.readListBegin(); + struct.success = new ArrayList(_list1060.size); + String _elem1061; + for (int _i1062 = 0; _i1062 < _list1060.size; ++_i1062) { - _elem1053 = iprot.readString(); - struct.success.add(_elem1053); + _elem1061 = iprot.readString(); + struct.success.add(_elem1061); } iprot.readListEnd(); } @@ -131697,9 +131838,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 _iter1055 : struct.success) + for (String _iter1063 : struct.success) { - oprot.writeString(_iter1055); + oprot.writeString(_iter1063); } oprot.writeListEnd(); } @@ -131738,9 +131879,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1056 : struct.success) + for (String _iter1064 : struct.success) { - oprot.writeString(_iter1056); + oprot.writeString(_iter1064); } } } @@ -131755,13 +131896,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 _list1057 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1057.size); - String _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.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1065.size); + String _elem1066; + for (int _i1067 = 0; _i1067 < _list1065.size; ++_i1067) { - _elem1058 = iprot.readString(); - struct.success.add(_elem1058); + _elem1066 = iprot.readString(); + struct.success.add(_elem1066); } } struct.setSuccessIsSet(true); @@ -135816,13 +135957,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 _list1060 = iprot.readListBegin(); - struct.success = new ArrayList(_list1060.size); - String _elem1061; - for (int _i1062 = 0; _i1062 < _list1060.size; ++_i1062) + org.apache.thrift.protocol.TList _list1068 = iprot.readListBegin(); + struct.success = new ArrayList(_list1068.size); + String _elem1069; + for (int _i1070 = 0; _i1070 < _list1068.size; ++_i1070) { - _elem1061 = iprot.readString(); - struct.success.add(_elem1061); + _elem1069 = iprot.readString(); + struct.success.add(_elem1069); } iprot.readListEnd(); } @@ -135857,9 +135998,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 _iter1063 : struct.success) + for (String _iter1071 : struct.success) { - oprot.writeString(_iter1063); + oprot.writeString(_iter1071); } oprot.writeListEnd(); } @@ -135898,9 +136039,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1064 : struct.success) + for (String _iter1072 : struct.success) { - oprot.writeString(_iter1064); + oprot.writeString(_iter1072); } } } @@ -135915,13 +136056,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 _list1065 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = 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.success = new ArrayList(_list1073.size); + String _elem1074; + for (int _i1075 = 0; _i1075 < _list1073.size; ++_i1075) { - _elem1066 = iprot.readString(); - struct.success.add(_elem1066); + _elem1074 = iprot.readString(); + struct.success.add(_elem1074); } } struct.setSuccessIsSet(true); @@ -139212,14 +139353,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 _list1068 = iprot.readListBegin(); - struct.success = new ArrayList(_list1068.size); - Role _elem1069; - for (int _i1070 = 0; _i1070 < _list1068.size; ++_i1070) + org.apache.thrift.protocol.TList _list1076 = iprot.readListBegin(); + struct.success = new ArrayList(_list1076.size); + Role _elem1077; + for (int _i1078 = 0; _i1078 < _list1076.size; ++_i1078) { - _elem1069 = new Role(); - _elem1069.read(iprot); - struct.success.add(_elem1069); + _elem1077 = new Role(); + _elem1077.read(iprot); + struct.success.add(_elem1077); } iprot.readListEnd(); } @@ -139254,9 +139395,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 _iter1071 : struct.success) + for (Role _iter1079 : struct.success) { - _iter1071.write(oprot); + _iter1079.write(oprot); } oprot.writeListEnd(); } @@ -139295,9 +139436,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter1072 : struct.success) + for (Role _iter1080 : struct.success) { - _iter1072.write(oprot); + _iter1080.write(oprot); } } } @@ -139312,14 +139453,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 _list1073 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1073.size); - Role _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.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1081.size); + Role _elem1082; + for (int _i1083 = 0; _i1083 < _list1081.size; ++_i1083) { - _elem1074 = new Role(); - _elem1074.read(iprot); - struct.success.add(_elem1074); + _elem1082 = new Role(); + _elem1082.read(iprot); + struct.success.add(_elem1082); } } struct.setSuccessIsSet(true); @@ -142324,13 +142465,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 _list1076 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1076.size); - String _elem1077; - for (int _i1078 = 0; _i1078 < _list1076.size; ++_i1078) + org.apache.thrift.protocol.TList _list1084 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1084.size); + String _elem1085; + for (int _i1086 = 0; _i1086 < _list1084.size; ++_i1086) { - _elem1077 = iprot.readString(); - struct.group_names.add(_elem1077); + _elem1085 = iprot.readString(); + struct.group_names.add(_elem1085); } iprot.readListEnd(); } @@ -142366,9 +142507,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 _iter1079 : struct.group_names) + for (String _iter1087 : struct.group_names) { - oprot.writeString(_iter1079); + oprot.writeString(_iter1087); } oprot.writeListEnd(); } @@ -142411,9 +142552,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 _iter1080 : struct.group_names) + for (String _iter1088 : struct.group_names) { - oprot.writeString(_iter1080); + oprot.writeString(_iter1088); } } } @@ -142434,13 +142575,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1081 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = 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.group_names = new ArrayList(_list1089.size); + String _elem1090; + for (int _i1091 = 0; _i1091 < _list1089.size; ++_i1091) { - _elem1082 = iprot.readString(); - struct.group_names.add(_elem1082); + _elem1090 = iprot.readString(); + struct.group_names.add(_elem1090); } } struct.setGroup_namesIsSet(true); @@ -143898,14 +144039,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 _list1084 = iprot.readListBegin(); - struct.success = new ArrayList(_list1084.size); - HiveObjectPrivilege _elem1085; - for (int _i1086 = 0; _i1086 < _list1084.size; ++_i1086) + org.apache.thrift.protocol.TList _list1092 = iprot.readListBegin(); + struct.success = new ArrayList(_list1092.size); + HiveObjectPrivilege _elem1093; + for (int _i1094 = 0; _i1094 < _list1092.size; ++_i1094) { - _elem1085 = new HiveObjectPrivilege(); - _elem1085.read(iprot); - struct.success.add(_elem1085); + _elem1093 = new HiveObjectPrivilege(); + _elem1093.read(iprot); + struct.success.add(_elem1093); } iprot.readListEnd(); } @@ -143940,9 +144081,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 _iter1087 : struct.success) + for (HiveObjectPrivilege _iter1095 : struct.success) { - _iter1087.write(oprot); + _iter1095.write(oprot); } oprot.writeListEnd(); } @@ -143981,9 +144122,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter1088 : struct.success) + for (HiveObjectPrivilege _iter1096 : struct.success) { - _iter1088.write(oprot); + _iter1096.write(oprot); } } } @@ -143998,14 +144139,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 _list1089 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1089.size); - HiveObjectPrivilege _elem1090; - for (int _i1091 = 0; _i1091 < _list1089.size; ++_i1091) + org.apache.thrift.protocol.TList _list1097 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1097.size); + HiveObjectPrivilege _elem1098; + for (int _i1099 = 0; _i1099 < _list1097.size; ++_i1099) { - _elem1090 = new HiveObjectPrivilege(); - _elem1090.read(iprot); - struct.success.add(_elem1090); + _elem1098 = new HiveObjectPrivilege(); + _elem1098.read(iprot); + struct.success.add(_elem1098); } } struct.setSuccessIsSet(true); @@ -146907,13 +147048,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 _list1092 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1092.size); - String _elem1093; - for (int _i1094 = 0; _i1094 < _list1092.size; ++_i1094) + org.apache.thrift.protocol.TList _list1100 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1100.size); + String _elem1101; + for (int _i1102 = 0; _i1102 < _list1100.size; ++_i1102) { - _elem1093 = iprot.readString(); - struct.group_names.add(_elem1093); + _elem1101 = iprot.readString(); + struct.group_names.add(_elem1101); } iprot.readListEnd(); } @@ -146944,9 +147085,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 _iter1095 : struct.group_names) + for (String _iter1103 : struct.group_names) { - oprot.writeString(_iter1095); + oprot.writeString(_iter1103); } oprot.writeListEnd(); } @@ -146983,9 +147124,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 _iter1096 : struct.group_names) + for (String _iter1104 : struct.group_names) { - oprot.writeString(_iter1096); + oprot.writeString(_iter1104); } } } @@ -147001,13 +147142,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1097 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1097.size); - String _elem1098; - for (int _i1099 = 0; _i1099 < _list1097.size; ++_i1099) + org.apache.thrift.protocol.TList _list1105 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1105.size); + String _elem1106; + for (int _i1107 = 0; _i1107 < _list1105.size; ++_i1107) { - _elem1098 = iprot.readString(); - struct.group_names.add(_elem1098); + _elem1106 = iprot.readString(); + struct.group_names.add(_elem1106); } } struct.setGroup_namesIsSet(true); @@ -147410,13 +147551,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 _list1100 = iprot.readListBegin(); - struct.success = new ArrayList(_list1100.size); - String _elem1101; - for (int _i1102 = 0; _i1102 < _list1100.size; ++_i1102) + org.apache.thrift.protocol.TList _list1108 = iprot.readListBegin(); + struct.success = new ArrayList(_list1108.size); + String _elem1109; + for (int _i1110 = 0; _i1110 < _list1108.size; ++_i1110) { - _elem1101 = iprot.readString(); - struct.success.add(_elem1101); + _elem1109 = iprot.readString(); + struct.success.add(_elem1109); } iprot.readListEnd(); } @@ -147451,9 +147592,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 _iter1103 : struct.success) + for (String _iter1111 : struct.success) { - oprot.writeString(_iter1103); + oprot.writeString(_iter1111); } oprot.writeListEnd(); } @@ -147492,9 +147633,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1104 : struct.success) + for (String _iter1112 : struct.success) { - oprot.writeString(_iter1104); + oprot.writeString(_iter1112); } } } @@ -147509,13 +147650,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 _list1105 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1105.size); - String _elem1106; - for (int _i1107 = 0; _i1107 < _list1105.size; ++_i1107) + org.apache.thrift.protocol.TList _list1113 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1113.size); + String _elem1114; + for (int _i1115 = 0; _i1115 < _list1113.size; ++_i1115) { - _elem1106 = iprot.readString(); - struct.success.add(_elem1106); + _elem1114 = iprot.readString(); + struct.success.add(_elem1114); } } struct.setSuccessIsSet(true); @@ -152806,13 +152947,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 _list1108 = iprot.readListBegin(); - struct.success = new ArrayList(_list1108.size); - String _elem1109; - for (int _i1110 = 0; _i1110 < _list1108.size; ++_i1110) + org.apache.thrift.protocol.TList _list1116 = iprot.readListBegin(); + struct.success = new ArrayList(_list1116.size); + String _elem1117; + for (int _i1118 = 0; _i1118 < _list1116.size; ++_i1118) { - _elem1109 = iprot.readString(); - struct.success.add(_elem1109); + _elem1117 = iprot.readString(); + struct.success.add(_elem1117); } iprot.readListEnd(); } @@ -152838,9 +152979,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 _iter1111 : struct.success) + for (String _iter1119 : struct.success) { - oprot.writeString(_iter1111); + oprot.writeString(_iter1119); } oprot.writeListEnd(); } @@ -152871,9 +153012,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_token_ident if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1112 : struct.success) + for (String _iter1120 : struct.success) { - oprot.writeString(_iter1112); + oprot.writeString(_iter1120); } } } @@ -152885,13 +153026,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 _list1113 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1113.size); - String _elem1114; - for (int _i1115 = 0; _i1115 < _list1113.size; ++_i1115) + org.apache.thrift.protocol.TList _list1121 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1121.size); + String _elem1122; + for (int _i1123 = 0; _i1123 < _list1121.size; ++_i1123) { - _elem1114 = iprot.readString(); - struct.success.add(_elem1114); + _elem1122 = iprot.readString(); + struct.success.add(_elem1122); } } struct.setSuccessIsSet(true); @@ -154719,88 +154860,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(); } @@ -154812,8 +155612,6 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY_SEQ: - return isSetKey_seq(); } throw new IllegalStateException(); } @@ -154822,24 +155620,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; } @@ -154847,32 +155636,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; } @@ -154890,12 +155664,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(); } @@ -154915,23 +155686,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) @@ -154941,14 +155710,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); } @@ -154958,65 +155719,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 { @@ -155077,66 +155822,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) { @@ -155145,7 +155905,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((Boolean)value); + setSuccess((List)value); } break; @@ -155155,7 +155915,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return isSuccess(); + return getSuccess(); } throw new IllegalStateException(); @@ -155178,21 +155938,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; } @@ -155203,7 +155963,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); @@ -155212,7 +155972,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()); } @@ -155246,11 +156006,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(); @@ -155271,23 +156035,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) @@ -155298,8 +156060,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 _list1124 = iprot.readListBegin(); + struct.success = new ArrayList(_list1124.size); + String _elem1125; + for (int _i1126 = 0; _i1126 < _list1124.size; ++_i1126) + { + _elem1125 = iprot.readString(); + struct.success.add(_elem1125); + } + iprot.readListEnd(); + } struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -155314,13 +156086,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 _iter1127 : struct.success) + { + oprot.writeString(_iter1127); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -155329,16 +156108,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()) { @@ -155346,16 +156125,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 _iter1128 : struct.success) + { + oprot.writeString(_iter1128); + } + } } } @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 _list1129 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1129.size); + String _elem1130; + for (int _i1131 = 0; _i1131 < _list1129.size; ++_i1131) + { + _elem1130 = iprot.readString(); + struct.success.add(_elem1130); + } + } struct.setSuccessIsSet(true); } } @@ -155363,14 +156157,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()); } @@ -155433,20 +156227,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 @@ -155479,12 +156273,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; @@ -155499,7 +156293,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()); } @@ -155523,7 +156317,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(")"); @@ -155551,15 +156345,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) @@ -155578,7 +156372,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); @@ -155588,39 +156382,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 { @@ -155685,17 +156479,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; @@ -155704,15 +156497,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 @@ -155720,26 +156512,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; } @@ -155764,7 +156541,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((List)value); + setSuccess((GetOpenTxnsResponse)value); } break; @@ -155797,12 +156574,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; @@ -155831,7 +156608,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()); } @@ -155865,7 +156642,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:"); @@ -155882,6 +156659,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 { @@ -155900,15 +156680,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) @@ -155919,18 +156699,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 _list1116 = iprot.readListBegin(); - struct.success = new ArrayList(_list1116.size); - String _elem1117; - for (int _i1118 = 0; _i1118 < _list1116.size; ++_i1118) - { - _elem1117 = iprot.readString(); - struct.success.add(_elem1117); - } - 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); @@ -155945,20 +156716,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 _iter1119 : struct.success) - { - oprot.writeString(_iter1119); - } - oprot.writeListEnd(); - } + struct.success.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -155967,16 +156731,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()) { @@ -155984,31 +156748,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 _iter1120 : struct.success) - { - oprot.writeString(_iter1120); - } - } + 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 _list1121 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1121.size); - String _elem1122; - for (int _i1123 = 0; _i1123 < _list1121.size; ++_i1123) - { - _elem1122 = iprot.readString(); - struct.success.add(_elem1122); - } - } + struct.success = new GetOpenTxnsResponse(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } } @@ -156016,14 +156766,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()); } @@ -156086,20 +156836,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 @@ -156132,12 +156882,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; @@ -156152,7 +156902,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()); } @@ -156176,7 +156926,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(")"); @@ -156204,15 +156954,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) @@ -156231,7 +156981,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); @@ -156241,39 +156991,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 { @@ -156338,16 +157088,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; @@ -156356,14 +157106,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 @@ -156371,11 +157121,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; } @@ -156400,7 +157150,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((GetOpenTxnsResponse)value); + setSuccess((GetOpenTxnsInfoResponse)value); } break; @@ -156433,12 +157183,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; @@ -156467,7 +157217,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()); } @@ -156501,7 +157251,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:"); @@ -156539,15 +157289,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) @@ -156559,7 +157309,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 { @@ -156575,7 +157325,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); @@ -156590,16 +157340,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()) { @@ -156612,11 +157362,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); } @@ -156625,20 +157375,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(); @@ -156653,6 +157405,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; } @@ -156691,37 +157445,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(); } @@ -156733,6 +157536,8 @@ public boolean isSet(_Fields field) { } switch (field) { + case RQST: + return isSetRqst(); } throw new IllegalStateException(); } @@ -156741,15 +157546,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; } @@ -156757,17 +157571,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; } @@ -156785,9 +157614,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(); } @@ -156795,6 +157631,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 { @@ -156813,15 +157652,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) @@ -156831,6 +157670,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); } @@ -156840,49 +157688,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 { @@ -156947,16 +157814,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; @@ -156965,14 +157832,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 @@ -156980,11 +157847,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; } @@ -157009,7 +157876,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((GetOpenTxnsInfoResponse)value); + setSuccess((OpenTxnsResponse)value); } break; @@ -157042,12 +157909,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; @@ -157076,7 +157943,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()); } @@ -157110,7 +157977,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:"); @@ -157148,15 +158015,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) @@ -157168,7 +158035,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 { @@ -157184,7 +158051,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); @@ -157199,16 +158066,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()) { @@ -157221,11 +158088,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); } @@ -157234,18 +158101,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 { @@ -157310,16 +158177,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; @@ -157328,14 +158195,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 @@ -157343,11 +158210,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; } @@ -157372,7 +158239,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRqst(); } else { - setRqst((OpenTxnRequest)value); + setRqst((AbortTxnRequest)value); } break; @@ -157405,12 +158272,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; @@ -157439,7 +158306,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()); } @@ -157473,7 +158340,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:"); @@ -157511,15 +158378,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) @@ -157531,7 +158398,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 { @@ -157547,7 +158414,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); @@ -157562,16 +158429,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()) { @@ -157584,11 +158451,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); } @@ -157597,22 +158464,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(); @@ -157627,8 +158494,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; } @@ -157672,70 +158539,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; @@ -157744,8 +158611,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(); @@ -157758,8 +158625,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case SUCCESS: - return isSetSuccess(); + case O1: + return isSetO1(); } throw new IllegalStateException(); } @@ -157768,21 +158635,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; } @@ -157793,28 +158660,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; } @@ -157836,14 +158703,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(")"); @@ -157853,9 +158720,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 { @@ -157874,15 +158738,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) @@ -157892,11 +158756,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); } @@ -157910,13 +158774,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(); @@ -157925,53 +158789,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 { @@ -158036,16 +158900,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; @@ -158054,14 +158918,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 @@ -158069,11 +158933,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; } @@ -158098,7 +158962,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRqst(); } else { - setRqst((AbortTxnRequest)value); + setRqst((AbortTxnsRequest)value); } break; @@ -158131,12 +158995,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; @@ -158165,7 +159029,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()); } @@ -158199,7 +159063,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:"); @@ -158237,15 +159101,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) @@ -158257,7 +159121,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 { @@ -158273,7 +159137,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); @@ -158288,16 +159152,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()) { @@ -158310,11 +159174,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); } @@ -158323,15 +159187,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 @@ -158401,13 +159265,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(); @@ -158417,14 +159281,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 @@ -158494,12 +159358,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; @@ -158528,7 +159392,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()); } @@ -158562,7 +159426,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:"); @@ -158597,15 +159461,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) @@ -158633,7 +159497,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); @@ -158648,16 +159512,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()) { @@ -158670,7 +159534,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 2172cb7..034f5fa 100644 --- metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -1046,6 +1046,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 @@ -8474,6 +8479,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); @@ -10616,14 +10672,14 @@ class ThriftHiveMetastore_get_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size539 = 0; - $_etype542 = 0; - $xfer += $input->readListBegin($_etype542, $_size539); - for ($_i543 = 0; $_i543 < $_size539; ++$_i543) + $_size546 = 0; + $_etype549 = 0; + $xfer += $input->readListBegin($_etype549, $_size546); + for ($_i550 = 0; $_i550 < $_size546; ++$_i550) { - $elem544 = null; - $xfer += $input->readString($elem544); - $this->success []= $elem544; + $elem551 = null; + $xfer += $input->readString($elem551); + $this->success []= $elem551; } $xfer += $input->readListEnd(); } else { @@ -10659,9 +10715,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter545) + foreach ($this->success as $iter552) { - $xfer += $output->writeString($iter545); + $xfer += $output->writeString($iter552); } } $output->writeListEnd(); @@ -10792,14 +10848,14 @@ class ThriftHiveMetastore_get_all_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size546 = 0; - $_etype549 = 0; - $xfer += $input->readListBegin($_etype549, $_size546); - for ($_i550 = 0; $_i550 < $_size546; ++$_i550) + $_size553 = 0; + $_etype556 = 0; + $xfer += $input->readListBegin($_etype556, $_size553); + for ($_i557 = 0; $_i557 < $_size553; ++$_i557) { - $elem551 = null; - $xfer += $input->readString($elem551); - $this->success []= $elem551; + $elem558 = null; + $xfer += $input->readString($elem558); + $this->success []= $elem558; } $xfer += $input->readListEnd(); } else { @@ -10835,9 +10891,9 @@ class ThriftHiveMetastore_get_all_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter552) + foreach ($this->success as $iter559) { - $xfer += $output->writeString($iter552); + $xfer += $output->writeString($iter559); } } $output->writeListEnd(); @@ -11838,18 +11894,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size553 = 0; - $_ktype554 = 0; - $_vtype555 = 0; - $xfer += $input->readMapBegin($_ktype554, $_vtype555, $_size553); - for ($_i557 = 0; $_i557 < $_size553; ++$_i557) + $_size560 = 0; + $_ktype561 = 0; + $_vtype562 = 0; + $xfer += $input->readMapBegin($_ktype561, $_vtype562, $_size560); + for ($_i564 = 0; $_i564 < $_size560; ++$_i564) { - $key558 = ''; - $val559 = new \metastore\Type(); - $xfer += $input->readString($key558); - $val559 = new \metastore\Type(); - $xfer += $val559->read($input); - $this->success[$key558] = $val559; + $key565 = ''; + $val566 = new \metastore\Type(); + $xfer += $input->readString($key565); + $val566 = new \metastore\Type(); + $xfer += $val566->read($input); + $this->success[$key565] = $val566; } $xfer += $input->readMapEnd(); } else { @@ -11885,10 +11941,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter560 => $viter561) + foreach ($this->success as $kiter567 => $viter568) { - $xfer += $output->writeString($kiter560); - $xfer += $viter561->write($output); + $xfer += $output->writeString($kiter567); + $xfer += $viter568->write($output); } } $output->writeMapEnd(); @@ -12092,15 +12148,15 @@ class ThriftHiveMetastore_get_fields_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 { @@ -12152,9 +12208,9 @@ class ThriftHiveMetastore_get_fields_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(); @@ -12396,15 +12452,15 @@ class ThriftHiveMetastore_get_fields_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 { @@ -12456,9 +12512,9 @@ class ThriftHiveMetastore_get_fields_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(); @@ -12672,15 +12728,15 @@ class ThriftHiveMetastore_get_schema_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; - $elem581 = new \metastore\FieldSchema(); - $xfer += $elem581->read($input); - $this->success []= $elem581; + $elem588 = null; + $elem588 = new \metastore\FieldSchema(); + $xfer += $elem588->read($input); + $this->success []= $elem588; } $xfer += $input->readListEnd(); } else { @@ -12732,9 +12788,9 @@ class ThriftHiveMetastore_get_schema_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter582) + foreach ($this->success as $iter589) { - $xfer += $iter582->write($output); + $xfer += $iter589->write($output); } } $output->writeListEnd(); @@ -12976,15 +13032,15 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $elem588 = new \metastore\FieldSchema(); - $xfer += $elem588->read($input); - $this->success []= $elem588; + $elem595 = null; + $elem595 = new \metastore\FieldSchema(); + $xfer += $elem595->read($input); + $this->success []= $elem595; } $xfer += $input->readListEnd(); } else { @@ -13036,9 +13092,9 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter589) + foreach ($this->success as $iter596) { - $xfer += $iter589->write($output); + $xfer += $iter596->write($output); } } $output->writeListEnd(); @@ -13646,15 +13702,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 2: if ($ftype == TType::LST) { $this->primaryKeys = 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\SQLPrimaryKey(); - $xfer += $elem595->read($input); - $this->primaryKeys []= $elem595; + $elem602 = null; + $elem602 = new \metastore\SQLPrimaryKey(); + $xfer += $elem602->read($input); + $this->primaryKeys []= $elem602; } $xfer += $input->readListEnd(); } else { @@ -13664,15 +13720,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 3: if ($ftype == TType::LST) { $this->foreignKeys = array(); - $_size596 = 0; - $_etype599 = 0; - $xfer += $input->readListBegin($_etype599, $_size596); - for ($_i600 = 0; $_i600 < $_size596; ++$_i600) + $_size603 = 0; + $_etype606 = 0; + $xfer += $input->readListBegin($_etype606, $_size603); + for ($_i607 = 0; $_i607 < $_size603; ++$_i607) { - $elem601 = null; - $elem601 = new \metastore\SQLForeignKey(); - $xfer += $elem601->read($input); - $this->foreignKeys []= $elem601; + $elem608 = null; + $elem608 = new \metastore\SQLForeignKey(); + $xfer += $elem608->read($input); + $this->foreignKeys []= $elem608; } $xfer += $input->readListEnd(); } else { @@ -13708,9 +13764,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->primaryKeys)); { - foreach ($this->primaryKeys as $iter602) + foreach ($this->primaryKeys as $iter609) { - $xfer += $iter602->write($output); + $xfer += $iter609->write($output); } } $output->writeListEnd(); @@ -13725,9 +13781,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->foreignKeys)); { - foreach ($this->foreignKeys as $iter603) + foreach ($this->foreignKeys as $iter610) { - $xfer += $iter603->write($output); + $xfer += $iter610->write($output); } } $output->writeListEnd(); @@ -14709,14 +14765,14 @@ class ThriftHiveMetastore_get_tables_result { case 0: if ($ftype == TType::LST) { $this->success = 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->success []= $elem609; + $elem616 = null; + $xfer += $input->readString($elem616); + $this->success []= $elem616; } $xfer += $input->readListEnd(); } else { @@ -14752,9 +14808,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter610) + foreach ($this->success as $iter617) { - $xfer += $output->writeString($iter610); + $xfer += $output->writeString($iter617); } } $output->writeListEnd(); @@ -14859,14 +14915,14 @@ class ThriftHiveMetastore_get_table_meta_args { case 3: if ($ftype == TType::LST) { $this->tbl_types = 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; - $xfer += $input->readString($elem616); - $this->tbl_types []= $elem616; + $elem623 = null; + $xfer += $input->readString($elem623); + $this->tbl_types []= $elem623; } $xfer += $input->readListEnd(); } else { @@ -14904,9 +14960,9 @@ class ThriftHiveMetastore_get_table_meta_args { { $output->writeListBegin(TType::STRING, count($this->tbl_types)); { - foreach ($this->tbl_types as $iter617) + foreach ($this->tbl_types as $iter624) { - $xfer += $output->writeString($iter617); + $xfer += $output->writeString($iter624); } } $output->writeListEnd(); @@ -14983,15 +15039,15 @@ class ThriftHiveMetastore_get_table_meta_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; - $elem623 = new \metastore\TableMeta(); - $xfer += $elem623->read($input); - $this->success []= $elem623; + $elem630 = null; + $elem630 = new \metastore\TableMeta(); + $xfer += $elem630->read($input); + $this->success []= $elem630; } $xfer += $input->readListEnd(); } else { @@ -15027,9 +15083,9 @@ class ThriftHiveMetastore_get_table_meta_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter624) + foreach ($this->success as $iter631) { - $xfer += $iter624->write($output); + $xfer += $iter631->write($output); } } $output->writeListEnd(); @@ -15185,14 +15241,14 @@ class ThriftHiveMetastore_get_all_tables_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $xfer += $input->readString($elem630); - $this->success []= $elem630; + $elem637 = null; + $xfer += $input->readString($elem637); + $this->success []= $elem637; } $xfer += $input->readListEnd(); } else { @@ -15228,9 +15284,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter631) + foreach ($this->success as $iter638) { - $xfer += $output->writeString($iter631); + $xfer += $output->writeString($iter638); } } $output->writeListEnd(); @@ -15545,14 +15601,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = 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; - $xfer += $input->readString($elem637); - $this->tbl_names []= $elem637; + $elem644 = null; + $xfer += $input->readString($elem644); + $this->tbl_names []= $elem644; } $xfer += $input->readListEnd(); } else { @@ -15585,9 +15641,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter638) + foreach ($this->tbl_names as $iter645) { - $xfer += $output->writeString($iter638); + $xfer += $output->writeString($iter645); } } $output->writeListEnd(); @@ -15688,15 +15744,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $elem644 = new \metastore\Table(); - $xfer += $elem644->read($input); - $this->success []= $elem644; + $elem651 = null; + $elem651 = new \metastore\Table(); + $xfer += $elem651->read($input); + $this->success []= $elem651; } $xfer += $input->readListEnd(); } else { @@ -15748,9 +15804,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter645) + foreach ($this->success as $iter652) { - $xfer += $iter645->write($output); + $xfer += $iter652->write($output); } } $output->writeListEnd(); @@ -15986,14 +16042,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = 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->success []= $elem651; + $elem658 = null; + $xfer += $input->readString($elem658); + $this->success []= $elem658; } $xfer += $input->readListEnd(); } else { @@ -16045,9 +16101,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter652) + foreach ($this->success as $iter659) { - $xfer += $output->writeString($iter652); + $xfer += $output->writeString($iter659); } } $output->writeListEnd(); @@ -17360,15 +17416,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = 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; - $elem658 = new \metastore\Partition(); - $xfer += $elem658->read($input); - $this->new_parts []= $elem658; + $elem665 = null; + $elem665 = new \metastore\Partition(); + $xfer += $elem665->read($input); + $this->new_parts []= $elem665; } $xfer += $input->readListEnd(); } else { @@ -17396,9 +17452,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter659) + foreach ($this->new_parts as $iter666) { - $xfer += $iter659->write($output); + $xfer += $iter666->write($output); } } $output->writeListEnd(); @@ -17613,15 +17669,15 @@ class ThriftHiveMetastore_add_partitions_pspec_args { case 1: if ($ftype == TType::LST) { $this->new_parts = 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; - $elem665 = new \metastore\PartitionSpec(); - $xfer += $elem665->read($input); - $this->new_parts []= $elem665; + $elem672 = null; + $elem672 = new \metastore\PartitionSpec(); + $xfer += $elem672->read($input); + $this->new_parts []= $elem672; } $xfer += $input->readListEnd(); } else { @@ -17649,9 +17705,9 @@ class ThriftHiveMetastore_add_partitions_pspec_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter666) + foreach ($this->new_parts as $iter673) { - $xfer += $iter666->write($output); + $xfer += $iter673->write($output); } } $output->writeListEnd(); @@ -17901,14 +17957,14 @@ class ThriftHiveMetastore_append_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 { @@ -17946,9 +18002,9 @@ class ThriftHiveMetastore_append_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(); @@ -18450,14 +18506,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size674 = 0; - $_etype677 = 0; - $xfer += $input->readListBegin($_etype677, $_size674); - for ($_i678 = 0; $_i678 < $_size674; ++$_i678) + $_size681 = 0; + $_etype684 = 0; + $xfer += $input->readListBegin($_etype684, $_size681); + for ($_i685 = 0; $_i685 < $_size681; ++$_i685) { - $elem679 = null; - $xfer += $input->readString($elem679); - $this->part_vals []= $elem679; + $elem686 = null; + $xfer += $input->readString($elem686); + $this->part_vals []= $elem686; } $xfer += $input->readListEnd(); } else { @@ -18503,9 +18559,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter680) + foreach ($this->part_vals as $iter687) { - $xfer += $output->writeString($iter680); + $xfer += $output->writeString($iter687); } } $output->writeListEnd(); @@ -19359,14 +19415,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size681 = 0; - $_etype684 = 0; - $xfer += $input->readListBegin($_etype684, $_size681); - for ($_i685 = 0; $_i685 < $_size681; ++$_i685) + $_size688 = 0; + $_etype691 = 0; + $xfer += $input->readListBegin($_etype691, $_size688); + for ($_i692 = 0; $_i692 < $_size688; ++$_i692) { - $elem686 = null; - $xfer += $input->readString($elem686); - $this->part_vals []= $elem686; + $elem693 = null; + $xfer += $input->readString($elem693); + $this->part_vals []= $elem693; } $xfer += $input->readListEnd(); } else { @@ -19411,9 +19467,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter687) + foreach ($this->part_vals as $iter694) { - $xfer += $output->writeString($iter687); + $xfer += $output->writeString($iter694); } } $output->writeListEnd(); @@ -19666,14 +19722,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size688 = 0; - $_etype691 = 0; - $xfer += $input->readListBegin($_etype691, $_size688); - for ($_i692 = 0; $_i692 < $_size688; ++$_i692) + $_size695 = 0; + $_etype698 = 0; + $xfer += $input->readListBegin($_etype698, $_size695); + for ($_i699 = 0; $_i699 < $_size695; ++$_i699) { - $elem693 = null; - $xfer += $input->readString($elem693); - $this->part_vals []= $elem693; + $elem700 = null; + $xfer += $input->readString($elem700); + $this->part_vals []= $elem700; } $xfer += $input->readListEnd(); } else { @@ -19726,9 +19782,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter694) + foreach ($this->part_vals as $iter701) { - $xfer += $output->writeString($iter694); + $xfer += $output->writeString($iter701); } } $output->writeListEnd(); @@ -20742,14 +20798,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size695 = 0; - $_etype698 = 0; - $xfer += $input->readListBegin($_etype698, $_size695); - for ($_i699 = 0; $_i699 < $_size695; ++$_i699) + $_size702 = 0; + $_etype705 = 0; + $xfer += $input->readListBegin($_etype705, $_size702); + for ($_i706 = 0; $_i706 < $_size702; ++$_i706) { - $elem700 = null; - $xfer += $input->readString($elem700); - $this->part_vals []= $elem700; + $elem707 = null; + $xfer += $input->readString($elem707); + $this->part_vals []= $elem707; } $xfer += $input->readListEnd(); } else { @@ -20787,9 +20843,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter701) + foreach ($this->part_vals as $iter708) { - $xfer += $output->writeString($iter701); + $xfer += $output->writeString($iter708); } } $output->writeListEnd(); @@ -21031,17 +21087,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size702 = 0; - $_ktype703 = 0; - $_vtype704 = 0; - $xfer += $input->readMapBegin($_ktype703, $_vtype704, $_size702); - for ($_i706 = 0; $_i706 < $_size702; ++$_i706) + $_size709 = 0; + $_ktype710 = 0; + $_vtype711 = 0; + $xfer += $input->readMapBegin($_ktype710, $_vtype711, $_size709); + for ($_i713 = 0; $_i713 < $_size709; ++$_i713) { - $key707 = ''; - $val708 = ''; - $xfer += $input->readString($key707); - $xfer += $input->readString($val708); - $this->partitionSpecs[$key707] = $val708; + $key714 = ''; + $val715 = ''; + $xfer += $input->readString($key714); + $xfer += $input->readString($val715); + $this->partitionSpecs[$key714] = $val715; } $xfer += $input->readMapEnd(); } else { @@ -21097,10 +21153,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter709 => $viter710) + foreach ($this->partitionSpecs as $kiter716 => $viter717) { - $xfer += $output->writeString($kiter709); - $xfer += $output->writeString($viter710); + $xfer += $output->writeString($kiter716); + $xfer += $output->writeString($viter717); } } $output->writeMapEnd(); @@ -21412,17 +21468,17 @@ class ThriftHiveMetastore_exchange_partitions_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size711 = 0; - $_ktype712 = 0; - $_vtype713 = 0; - $xfer += $input->readMapBegin($_ktype712, $_vtype713, $_size711); - for ($_i715 = 0; $_i715 < $_size711; ++$_i715) + $_size718 = 0; + $_ktype719 = 0; + $_vtype720 = 0; + $xfer += $input->readMapBegin($_ktype719, $_vtype720, $_size718); + for ($_i722 = 0; $_i722 < $_size718; ++$_i722) { - $key716 = ''; - $val717 = ''; - $xfer += $input->readString($key716); - $xfer += $input->readString($val717); - $this->partitionSpecs[$key716] = $val717; + $key723 = ''; + $val724 = ''; + $xfer += $input->readString($key723); + $xfer += $input->readString($val724); + $this->partitionSpecs[$key723] = $val724; } $xfer += $input->readMapEnd(); } else { @@ -21478,10 +21534,10 @@ class ThriftHiveMetastore_exchange_partitions_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter718 => $viter719) + foreach ($this->partitionSpecs as $kiter725 => $viter726) { - $xfer += $output->writeString($kiter718); - $xfer += $output->writeString($viter719); + $xfer += $output->writeString($kiter725); + $xfer += $output->writeString($viter726); } } $output->writeMapEnd(); @@ -21614,15 +21670,15 @@ class ThriftHiveMetastore_exchange_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $elem725 = new \metastore\Partition(); - $xfer += $elem725->read($input); - $this->success []= $elem725; + $elem732 = null; + $elem732 = new \metastore\Partition(); + $xfer += $elem732->read($input); + $this->success []= $elem732; } $xfer += $input->readListEnd(); } else { @@ -21682,9 +21738,9 @@ class ThriftHiveMetastore_exchange_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter726) + foreach ($this->success as $iter733) { - $xfer += $iter726->write($output); + $xfer += $iter733->write($output); } } $output->writeListEnd(); @@ -21830,14 +21886,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = 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; - $xfer += $input->readString($elem732); - $this->part_vals []= $elem732; + $elem739 = null; + $xfer += $input->readString($elem739); + $this->part_vals []= $elem739; } $xfer += $input->readListEnd(); } else { @@ -21854,14 +21910,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size733 = 0; - $_etype736 = 0; - $xfer += $input->readListBegin($_etype736, $_size733); - for ($_i737 = 0; $_i737 < $_size733; ++$_i737) + $_size740 = 0; + $_etype743 = 0; + $xfer += $input->readListBegin($_etype743, $_size740); + for ($_i744 = 0; $_i744 < $_size740; ++$_i744) { - $elem738 = null; - $xfer += $input->readString($elem738); - $this->group_names []= $elem738; + $elem745 = null; + $xfer += $input->readString($elem745); + $this->group_names []= $elem745; } $xfer += $input->readListEnd(); } else { @@ -21899,9 +21955,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter739) + foreach ($this->part_vals as $iter746) { - $xfer += $output->writeString($iter739); + $xfer += $output->writeString($iter746); } } $output->writeListEnd(); @@ -21921,9 +21977,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter740) + foreach ($this->group_names as $iter747) { - $xfer += $output->writeString($iter740); + $xfer += $output->writeString($iter747); } } $output->writeListEnd(); @@ -22514,15 +22570,15 @@ class ThriftHiveMetastore_get_partitions_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; - $elem746 = new \metastore\Partition(); - $xfer += $elem746->read($input); - $this->success []= $elem746; + $elem753 = null; + $elem753 = new \metastore\Partition(); + $xfer += $elem753->read($input); + $this->success []= $elem753; } $xfer += $input->readListEnd(); } else { @@ -22566,9 +22622,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter747) + foreach ($this->success as $iter754) { - $xfer += $iter747->write($output); + $xfer += $iter754->write($output); } } $output->writeListEnd(); @@ -22714,14 +22770,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = 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->group_names []= $elem753; + $elem760 = null; + $xfer += $input->readString($elem760); + $this->group_names []= $elem760; } $xfer += $input->readListEnd(); } else { @@ -22769,9 +22825,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter754) + foreach ($this->group_names as $iter761) { - $xfer += $output->writeString($iter754); + $xfer += $output->writeString($iter761); } } $output->writeListEnd(); @@ -22860,15 +22916,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_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 { @@ -22912,9 +22968,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_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(); @@ -23134,15 +23190,15 @@ class ThriftHiveMetastore_get_partitions_pspec_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $elem767 = new \metastore\PartitionSpec(); - $xfer += $elem767->read($input); - $this->success []= $elem767; + $elem774 = null; + $elem774 = new \metastore\PartitionSpec(); + $xfer += $elem774->read($input); + $this->success []= $elem774; } $xfer += $input->readListEnd(); } else { @@ -23186,9 +23242,9 @@ class ThriftHiveMetastore_get_partitions_pspec_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter768) + foreach ($this->success as $iter775) { - $xfer += $iter768->write($output); + $xfer += $iter775->write($output); } } $output->writeListEnd(); @@ -23395,14 +23451,14 @@ class ThriftHiveMetastore_get_partition_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size769 = 0; - $_etype772 = 0; - $xfer += $input->readListBegin($_etype772, $_size769); - for ($_i773 = 0; $_i773 < $_size769; ++$_i773) + $_size776 = 0; + $_etype779 = 0; + $xfer += $input->readListBegin($_etype779, $_size776); + for ($_i780 = 0; $_i780 < $_size776; ++$_i780) { - $elem774 = null; - $xfer += $input->readString($elem774); - $this->success []= $elem774; + $elem781 = null; + $xfer += $input->readString($elem781); + $this->success []= $elem781; } $xfer += $input->readListEnd(); } else { @@ -23438,9 +23494,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter775) + foreach ($this->success as $iter782) { - $xfer += $output->writeString($iter775); + $xfer += $output->writeString($iter782); } } $output->writeListEnd(); @@ -23556,14 +23612,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = 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; - $xfer += $input->readString($elem781); - $this->part_vals []= $elem781; + $elem788 = null; + $xfer += $input->readString($elem788); + $this->part_vals []= $elem788; } $xfer += $input->readListEnd(); } else { @@ -23608,9 +23664,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter782) + foreach ($this->part_vals as $iter789) { - $xfer += $output->writeString($iter782); + $xfer += $output->writeString($iter789); } } $output->writeListEnd(); @@ -23704,15 +23760,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $elem788 = new \metastore\Partition(); - $xfer += $elem788->read($input); - $this->success []= $elem788; + $elem795 = null; + $elem795 = new \metastore\Partition(); + $xfer += $elem795->read($input); + $this->success []= $elem795; } $xfer += $input->readListEnd(); } else { @@ -23756,9 +23812,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter789) + foreach ($this->success as $iter796) { - $xfer += $iter789->write($output); + $xfer += $iter796->write($output); } } $output->writeListEnd(); @@ -23905,14 +23961,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = 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->part_vals []= $elem795; + $elem802 = null; + $xfer += $input->readString($elem802); + $this->part_vals []= $elem802; } $xfer += $input->readListEnd(); } else { @@ -23936,14 +23992,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size796 = 0; - $_etype799 = 0; - $xfer += $input->readListBegin($_etype799, $_size796); - for ($_i800 = 0; $_i800 < $_size796; ++$_i800) + $_size803 = 0; + $_etype806 = 0; + $xfer += $input->readListBegin($_etype806, $_size803); + for ($_i807 = 0; $_i807 < $_size803; ++$_i807) { - $elem801 = null; - $xfer += $input->readString($elem801); - $this->group_names []= $elem801; + $elem808 = null; + $xfer += $input->readString($elem808); + $this->group_names []= $elem808; } $xfer += $input->readListEnd(); } else { @@ -23981,9 +24037,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter802) + foreach ($this->part_vals as $iter809) { - $xfer += $output->writeString($iter802); + $xfer += $output->writeString($iter809); } } $output->writeListEnd(); @@ -24008,9 +24064,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter803) + foreach ($this->group_names as $iter810) { - $xfer += $output->writeString($iter803); + $xfer += $output->writeString($iter810); } } $output->writeListEnd(); @@ -24099,15 +24155,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_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\Partition(); - $xfer += $elem809->read($input); - $this->success []= $elem809; + $elem816 = null; + $elem816 = new \metastore\Partition(); + $xfer += $elem816->read($input); + $this->success []= $elem816; } $xfer += $input->readListEnd(); } else { @@ -24151,9 +24207,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_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(); @@ -24274,14 +24330,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = 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->part_vals []= $elem816; + $elem823 = null; + $xfer += $input->readString($elem823); + $this->part_vals []= $elem823; } $xfer += $input->readListEnd(); } else { @@ -24326,9 +24382,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter817) + foreach ($this->part_vals as $iter824) { - $xfer += $output->writeString($iter817); + $xfer += $output->writeString($iter824); } } $output->writeListEnd(); @@ -24421,14 +24477,14 @@ class ThriftHiveMetastore_get_partition_names_ps_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; - $xfer += $input->readString($elem823); - $this->success []= $elem823; + $elem830 = null; + $xfer += $input->readString($elem830); + $this->success []= $elem830; } $xfer += $input->readListEnd(); } else { @@ -24472,9 +24528,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter824) + foreach ($this->success as $iter831) { - $xfer += $output->writeString($iter824); + $xfer += $output->writeString($iter831); } } $output->writeListEnd(); @@ -24717,15 +24773,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = 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->success []= $elem830; + $elem837 = null; + $elem837 = new \metastore\Partition(); + $xfer += $elem837->read($input); + $this->success []= $elem837; } $xfer += $input->readListEnd(); } else { @@ -24769,9 +24825,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter831) + foreach ($this->success as $iter838) { - $xfer += $iter831->write($output); + $xfer += $iter838->write($output); } } $output->writeListEnd(); @@ -25014,15 +25070,15 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = 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\PartitionSpec(); - $xfer += $elem837->read($input); - $this->success []= $elem837; + $elem844 = null; + $elem844 = new \metastore\PartitionSpec(); + $xfer += $elem844->read($input); + $this->success []= $elem844; } $xfer += $input->readListEnd(); } else { @@ -25066,9 +25122,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter838) + foreach ($this->success as $iter845) { - $xfer += $iter838->write($output); + $xfer += $iter845->write($output); } } $output->writeListEnd(); @@ -25634,14 +25690,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = 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->names []= $elem844; + $elem851 = null; + $xfer += $input->readString($elem851); + $this->names []= $elem851; } $xfer += $input->readListEnd(); } else { @@ -25679,9 +25735,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter845) + foreach ($this->names as $iter852) { - $xfer += $output->writeString($iter845); + $xfer += $output->writeString($iter852); } } $output->writeListEnd(); @@ -25770,15 +25826,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $elem851 = new \metastore\Partition(); - $xfer += $elem851->read($input); - $this->success []= $elem851; + $elem858 = null; + $elem858 = new \metastore\Partition(); + $xfer += $elem858->read($input); + $this->success []= $elem858; } $xfer += $input->readListEnd(); } else { @@ -25822,9 +25878,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter852) + foreach ($this->success as $iter859) { - $xfer += $iter852->write($output); + $xfer += $iter859->write($output); } } $output->writeListEnd(); @@ -26163,15 +26219,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = 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; - $elem858 = new \metastore\Partition(); - $xfer += $elem858->read($input); - $this->new_parts []= $elem858; + $elem865 = null; + $elem865 = new \metastore\Partition(); + $xfer += $elem865->read($input); + $this->new_parts []= $elem865; } $xfer += $input->readListEnd(); } else { @@ -26209,9 +26265,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter859) + foreach ($this->new_parts as $iter866) { - $xfer += $iter859->write($output); + $xfer += $iter866->write($output); } } $output->writeListEnd(); @@ -26426,15 +26482,15 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size860 = 0; - $_etype863 = 0; - $xfer += $input->readListBegin($_etype863, $_size860); - for ($_i864 = 0; $_i864 < $_size860; ++$_i864) + $_size867 = 0; + $_etype870 = 0; + $xfer += $input->readListBegin($_etype870, $_size867); + for ($_i871 = 0; $_i871 < $_size867; ++$_i871) { - $elem865 = null; - $elem865 = new \metastore\Partition(); - $xfer += $elem865->read($input); - $this->new_parts []= $elem865; + $elem872 = null; + $elem872 = new \metastore\Partition(); + $xfer += $elem872->read($input); + $this->new_parts []= $elem872; } $xfer += $input->readListEnd(); } else { @@ -26480,9 +26536,9 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter866) + foreach ($this->new_parts as $iter873) { - $xfer += $iter866->write($output); + $xfer += $iter873->write($output); } } $output->writeListEnd(); @@ -26960,14 +27016,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size867 = 0; - $_etype870 = 0; - $xfer += $input->readListBegin($_etype870, $_size867); - for ($_i871 = 0; $_i871 < $_size867; ++$_i871) + $_size874 = 0; + $_etype877 = 0; + $xfer += $input->readListBegin($_etype877, $_size874); + for ($_i878 = 0; $_i878 < $_size874; ++$_i878) { - $elem872 = null; - $xfer += $input->readString($elem872); - $this->part_vals []= $elem872; + $elem879 = null; + $xfer += $input->readString($elem879); + $this->part_vals []= $elem879; } $xfer += $input->readListEnd(); } else { @@ -27013,9 +27069,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter873) + foreach ($this->part_vals as $iter880) { - $xfer += $output->writeString($iter873); + $xfer += $output->writeString($iter880); } } $output->writeListEnd(); @@ -27200,14 +27256,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size874 = 0; - $_etype877 = 0; - $xfer += $input->readListBegin($_etype877, $_size874); - for ($_i878 = 0; $_i878 < $_size874; ++$_i878) + $_size881 = 0; + $_etype884 = 0; + $xfer += $input->readListBegin($_etype884, $_size881); + for ($_i885 = 0; $_i885 < $_size881; ++$_i885) { - $elem879 = null; - $xfer += $input->readString($elem879); - $this->part_vals []= $elem879; + $elem886 = null; + $xfer += $input->readString($elem886); + $this->part_vals []= $elem886; } $xfer += $input->readListEnd(); } else { @@ -27242,9 +27298,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter880) + foreach ($this->part_vals as $iter887) { - $xfer += $output->writeString($iter880); + $xfer += $output->writeString($iter887); } } $output->writeListEnd(); @@ -27698,14 +27754,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size881 = 0; - $_etype884 = 0; - $xfer += $input->readListBegin($_etype884, $_size881); - for ($_i885 = 0; $_i885 < $_size881; ++$_i885) + $_size888 = 0; + $_etype891 = 0; + $xfer += $input->readListBegin($_etype891, $_size888); + for ($_i892 = 0; $_i892 < $_size888; ++$_i892) { - $elem886 = null; - $xfer += $input->readString($elem886); - $this->success []= $elem886; + $elem893 = null; + $xfer += $input->readString($elem893); + $this->success []= $elem893; } $xfer += $input->readListEnd(); } else { @@ -27741,9 +27797,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter887) + foreach ($this->success as $iter894) { - $xfer += $output->writeString($iter887); + $xfer += $output->writeString($iter894); } } $output->writeListEnd(); @@ -27903,17 +27959,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size888 = 0; - $_ktype889 = 0; - $_vtype890 = 0; - $xfer += $input->readMapBegin($_ktype889, $_vtype890, $_size888); - for ($_i892 = 0; $_i892 < $_size888; ++$_i892) + $_size895 = 0; + $_ktype896 = 0; + $_vtype897 = 0; + $xfer += $input->readMapBegin($_ktype896, $_vtype897, $_size895); + for ($_i899 = 0; $_i899 < $_size895; ++$_i899) { - $key893 = ''; - $val894 = ''; - $xfer += $input->readString($key893); - $xfer += $input->readString($val894); - $this->success[$key893] = $val894; + $key900 = ''; + $val901 = ''; + $xfer += $input->readString($key900); + $xfer += $input->readString($val901); + $this->success[$key900] = $val901; } $xfer += $input->readMapEnd(); } else { @@ -27949,10 +28005,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter895 => $viter896) + foreach ($this->success as $kiter902 => $viter903) { - $xfer += $output->writeString($kiter895); - $xfer += $output->writeString($viter896); + $xfer += $output->writeString($kiter902); + $xfer += $output->writeString($viter903); } } $output->writeMapEnd(); @@ -28072,17 +28128,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size897 = 0; - $_ktype898 = 0; - $_vtype899 = 0; - $xfer += $input->readMapBegin($_ktype898, $_vtype899, $_size897); - for ($_i901 = 0; $_i901 < $_size897; ++$_i901) + $_size904 = 0; + $_ktype905 = 0; + $_vtype906 = 0; + $xfer += $input->readMapBegin($_ktype905, $_vtype906, $_size904); + for ($_i908 = 0; $_i908 < $_size904; ++$_i908) { - $key902 = ''; - $val903 = ''; - $xfer += $input->readString($key902); - $xfer += $input->readString($val903); - $this->part_vals[$key902] = $val903; + $key909 = ''; + $val910 = ''; + $xfer += $input->readString($key909); + $xfer += $input->readString($val910); + $this->part_vals[$key909] = $val910; } $xfer += $input->readMapEnd(); } else { @@ -28127,10 +28183,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter904 => $viter905) + foreach ($this->part_vals as $kiter911 => $viter912) { - $xfer += $output->writeString($kiter904); - $xfer += $output->writeString($viter905); + $xfer += $output->writeString($kiter911); + $xfer += $output->writeString($viter912); } } $output->writeMapEnd(); @@ -28452,17 +28508,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size906 = 0; - $_ktype907 = 0; - $_vtype908 = 0; - $xfer += $input->readMapBegin($_ktype907, $_vtype908, $_size906); - for ($_i910 = 0; $_i910 < $_size906; ++$_i910) + $_size913 = 0; + $_ktype914 = 0; + $_vtype915 = 0; + $xfer += $input->readMapBegin($_ktype914, $_vtype915, $_size913); + for ($_i917 = 0; $_i917 < $_size913; ++$_i917) { - $key911 = ''; - $val912 = ''; - $xfer += $input->readString($key911); - $xfer += $input->readString($val912); - $this->part_vals[$key911] = $val912; + $key918 = ''; + $val919 = ''; + $xfer += $input->readString($key918); + $xfer += $input->readString($val919); + $this->part_vals[$key918] = $val919; } $xfer += $input->readMapEnd(); } else { @@ -28507,10 +28563,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter913 => $viter914) + foreach ($this->part_vals as $kiter920 => $viter921) { - $xfer += $output->writeString($kiter913); - $xfer += $output->writeString($viter914); + $xfer += $output->writeString($kiter920); + $xfer += $output->writeString($viter921); } } $output->writeMapEnd(); @@ -29984,15 +30040,15 @@ class ThriftHiveMetastore_get_indexes_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\Index(); - $xfer += $elem920->read($input); - $this->success []= $elem920; + $elem927 = null; + $elem927 = new \metastore\Index(); + $xfer += $elem927->read($input); + $this->success []= $elem927; } $xfer += $input->readListEnd(); } else { @@ -30036,9 +30092,9 @@ class ThriftHiveMetastore_get_indexes_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(); @@ -30245,14 +30301,14 @@ class ThriftHiveMetastore_get_index_names_result { case 0: if ($ftype == TType::LST) { $this->success = 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->success []= $elem927; + $elem934 = null; + $xfer += $input->readString($elem934); + $this->success []= $elem934; } $xfer += $input->readListEnd(); } else { @@ -30288,9 +30344,9 @@ class ThriftHiveMetastore_get_index_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter928) + foreach ($this->success as $iter935) { - $xfer += $output->writeString($iter928); + $xfer += $output->writeString($iter935); } } $output->writeListEnd(); @@ -34184,14 +34240,14 @@ class ThriftHiveMetastore_get_functions_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; - $xfer += $input->readString($elem934); - $this->success []= $elem934; + $elem941 = null; + $xfer += $input->readString($elem941); + $this->success []= $elem941; } $xfer += $input->readListEnd(); } else { @@ -34227,9 +34283,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter935) + foreach ($this->success as $iter942) { - $xfer += $output->writeString($iter935); + $xfer += $output->writeString($iter942); } } $output->writeListEnd(); @@ -35098,14 +35154,14 @@ class ThriftHiveMetastore_get_role_names_result { case 0: if ($ftype == TType::LST) { $this->success = 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->success []= $elem941; + $elem948 = null; + $xfer += $input->readString($elem948); + $this->success []= $elem948; } $xfer += $input->readListEnd(); } else { @@ -35141,9 +35197,9 @@ class ThriftHiveMetastore_get_role_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter942) + foreach ($this->success as $iter949) { - $xfer += $output->writeString($iter942); + $xfer += $output->writeString($iter949); } } $output->writeListEnd(); @@ -35834,15 +35890,15 @@ class ThriftHiveMetastore_list_roles_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; - $elem948 = new \metastore\Role(); - $xfer += $elem948->read($input); - $this->success []= $elem948; + $elem955 = null; + $elem955 = new \metastore\Role(); + $xfer += $elem955->read($input); + $this->success []= $elem955; } $xfer += $input->readListEnd(); } else { @@ -35878,9 +35934,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter949) + foreach ($this->success as $iter956) { - $xfer += $iter949->write($output); + $xfer += $iter956->write($output); } } $output->writeListEnd(); @@ -36542,14 +36598,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = 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->group_names []= $elem955; + $elem962 = null; + $xfer += $input->readString($elem962); + $this->group_names []= $elem962; } $xfer += $input->readListEnd(); } else { @@ -36590,9 +36646,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter956) + foreach ($this->group_names as $iter963) { - $xfer += $output->writeString($iter956); + $xfer += $output->writeString($iter963); } } $output->writeListEnd(); @@ -36900,15 +36956,15 @@ class ThriftHiveMetastore_list_privileges_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; - $elem962 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem962->read($input); - $this->success []= $elem962; + $elem969 = null; + $elem969 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem969->read($input); + $this->success []= $elem969; } $xfer += $input->readListEnd(); } else { @@ -36944,9 +37000,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter963) + foreach ($this->success as $iter970) { - $xfer += $iter963->write($output); + $xfer += $iter970->write($output); } } $output->writeListEnd(); @@ -37578,14 +37634,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size964 = 0; - $_etype967 = 0; - $xfer += $input->readListBegin($_etype967, $_size964); - for ($_i968 = 0; $_i968 < $_size964; ++$_i968) + $_size971 = 0; + $_etype974 = 0; + $xfer += $input->readListBegin($_etype974, $_size971); + for ($_i975 = 0; $_i975 < $_size971; ++$_i975) { - $elem969 = null; - $xfer += $input->readString($elem969); - $this->group_names []= $elem969; + $elem976 = null; + $xfer += $input->readString($elem976); + $this->group_names []= $elem976; } $xfer += $input->readListEnd(); } else { @@ -37618,9 +37674,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter970) + foreach ($this->group_names as $iter977) { - $xfer += $output->writeString($iter970); + $xfer += $output->writeString($iter977); } } $output->writeListEnd(); @@ -37696,14 +37752,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size971 = 0; - $_etype974 = 0; - $xfer += $input->readListBegin($_etype974, $_size971); - for ($_i975 = 0; $_i975 < $_size971; ++$_i975) + $_size978 = 0; + $_etype981 = 0; + $xfer += $input->readListBegin($_etype981, $_size978); + for ($_i982 = 0; $_i982 < $_size978; ++$_i982) { - $elem976 = null; - $xfer += $input->readString($elem976); - $this->success []= $elem976; + $elem983 = null; + $xfer += $input->readString($elem983); + $this->success []= $elem983; } $xfer += $input->readListEnd(); } else { @@ -37739,9 +37795,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter977) + foreach ($this->success as $iter984) { - $xfer += $output->writeString($iter977); + $xfer += $output->writeString($iter984); } } $output->writeListEnd(); @@ -38858,14 +38914,14 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size978 = 0; - $_etype981 = 0; - $xfer += $input->readListBegin($_etype981, $_size978); - for ($_i982 = 0; $_i982 < $_size978; ++$_i982) + $_size985 = 0; + $_etype988 = 0; + $xfer += $input->readListBegin($_etype988, $_size985); + for ($_i989 = 0; $_i989 < $_size985; ++$_i989) { - $elem983 = null; - $xfer += $input->readString($elem983); - $this->success []= $elem983; + $elem990 = null; + $xfer += $input->readString($elem990); + $this->success []= $elem990; } $xfer += $input->readListEnd(); } else { @@ -38893,9 +38949,9 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter984) + foreach ($this->success as $iter991) { - $xfer += $output->writeString($iter984); + $xfer += $output->writeString($iter991); } } $output->writeListEnd(); @@ -39534,14 +39590,14 @@ class ThriftHiveMetastore_get_master_keys_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size985 = 0; - $_etype988 = 0; - $xfer += $input->readListBegin($_etype988, $_size985); - for ($_i989 = 0; $_i989 < $_size985; ++$_i989) + $_size992 = 0; + $_etype995 = 0; + $xfer += $input->readListBegin($_etype995, $_size992); + for ($_i996 = 0; $_i996 < $_size992; ++$_i996) { - $elem990 = null; - $xfer += $input->readString($elem990); - $this->success []= $elem990; + $elem997 = null; + $xfer += $input->readString($elem997); + $this->success []= $elem997; } $xfer += $input->readListEnd(); } else { @@ -39569,9 +39625,9 @@ class ThriftHiveMetastore_get_master_keys_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter991) + foreach ($this->success as $iter998) { - $xfer += $output->writeString($iter991); + $xfer += $output->writeString($iter998); } } $output->writeListEnd(); @@ -40162,6 +40218,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 f985954..c9e44f9 100644 --- metastore/src/gen/thrift/gen-php/metastore/Types.php +++ metastore/src/gen/thrift/gen-php/metastore/Types.php @@ -12197,6 +12197,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(); + $_size414 = 0; + $_etype417 = 0; + $xfer += $input->readListBegin($_etype417, $_size414); + for ($_i418 = 0; $_i418 < $_size414; ++$_i418) + { + $elem419 = null; + $xfer += $input->readI64($elem419); + $this->txn_ids []= $elem419; + } + $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 $iter420) + { + $xfer += $output->writeI64($iter420); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class CommitTxnRequest { static $_TSPEC; @@ -12534,15 +12635,15 @@ class LockRequest { case 1: if ($ftype == TType::LST) { $this->component = array(); - $_size414 = 0; - $_etype417 = 0; - $xfer += $input->readListBegin($_etype417, $_size414); - for ($_i418 = 0; $_i418 < $_size414; ++$_i418) + $_size421 = 0; + $_etype424 = 0; + $xfer += $input->readListBegin($_etype424, $_size421); + for ($_i425 = 0; $_i425 < $_size421; ++$_i425) { - $elem419 = null; - $elem419 = new \metastore\LockComponent(); - $xfer += $elem419->read($input); - $this->component []= $elem419; + $elem426 = null; + $elem426 = new \metastore\LockComponent(); + $xfer += $elem426->read($input); + $this->component []= $elem426; } $xfer += $input->readListEnd(); } else { @@ -12598,9 +12699,9 @@ class LockRequest { { $output->writeListBegin(TType::STRUCT, count($this->component)); { - foreach ($this->component as $iter420) + foreach ($this->component as $iter427) { - $xfer += $iter420->write($output); + $xfer += $iter427->write($output); } } $output->writeListEnd(); @@ -13543,15 +13644,15 @@ class ShowLocksResponse { case 1: if ($ftype == TType::LST) { $this->locks = array(); - $_size421 = 0; - $_etype424 = 0; - $xfer += $input->readListBegin($_etype424, $_size421); - for ($_i425 = 0; $_i425 < $_size421; ++$_i425) + $_size428 = 0; + $_etype431 = 0; + $xfer += $input->readListBegin($_etype431, $_size428); + for ($_i432 = 0; $_i432 < $_size428; ++$_i432) { - $elem426 = null; - $elem426 = new \metastore\ShowLocksResponseElement(); - $xfer += $elem426->read($input); - $this->locks []= $elem426; + $elem433 = null; + $elem433 = new \metastore\ShowLocksResponseElement(); + $xfer += $elem433->read($input); + $this->locks []= $elem433; } $xfer += $input->readListEnd(); } else { @@ -13579,9 +13680,9 @@ class ShowLocksResponse { { $output->writeListBegin(TType::STRUCT, count($this->locks)); { - foreach ($this->locks as $iter427) + foreach ($this->locks as $iter434) { - $xfer += $iter427->write($output); + $xfer += $iter434->write($output); } } $output->writeListEnd(); @@ -13856,17 +13957,17 @@ class HeartbeatTxnRangeResponse { case 1: if ($ftype == TType::SET) { $this->aborted = array(); - $_size428 = 0; - $_etype431 = 0; - $xfer += $input->readSetBegin($_etype431, $_size428); - for ($_i432 = 0; $_i432 < $_size428; ++$_i432) + $_size435 = 0; + $_etype438 = 0; + $xfer += $input->readSetBegin($_etype438, $_size435); + for ($_i439 = 0; $_i439 < $_size435; ++$_i439) { - $elem433 = null; - $xfer += $input->readI64($elem433); - if (is_scalar($elem433)) { - $this->aborted[$elem433] = true; + $elem440 = null; + $xfer += $input->readI64($elem440); + if (is_scalar($elem440)) { + $this->aborted[$elem440] = true; } else { - $this->aborted []= $elem433; + $this->aborted []= $elem440; } } $xfer += $input->readSetEnd(); @@ -13877,17 +13978,17 @@ class HeartbeatTxnRangeResponse { case 2: if ($ftype == TType::SET) { $this->nosuch = array(); - $_size434 = 0; - $_etype437 = 0; - $xfer += $input->readSetBegin($_etype437, $_size434); - for ($_i438 = 0; $_i438 < $_size434; ++$_i438) + $_size441 = 0; + $_etype444 = 0; + $xfer += $input->readSetBegin($_etype444, $_size441); + for ($_i445 = 0; $_i445 < $_size441; ++$_i445) { - $elem439 = null; - $xfer += $input->readI64($elem439); - if (is_scalar($elem439)) { - $this->nosuch[$elem439] = true; + $elem446 = null; + $xfer += $input->readI64($elem446); + if (is_scalar($elem446)) { + $this->nosuch[$elem446] = true; } else { - $this->nosuch []= $elem439; + $this->nosuch []= $elem446; } } $xfer += $input->readSetEnd(); @@ -13916,12 +14017,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->aborted)); { - foreach ($this->aborted as $iter440 => $iter441) + foreach ($this->aborted as $iter447 => $iter448) { - if (is_scalar($iter441)) { - $xfer += $output->writeI64($iter440); + if (is_scalar($iter448)) { + $xfer += $output->writeI64($iter447); } else { - $xfer += $output->writeI64($iter441); + $xfer += $output->writeI64($iter448); } } } @@ -13937,12 +14038,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->nosuch)); { - foreach ($this->nosuch as $iter442 => $iter443) + foreach ($this->nosuch as $iter449 => $iter450) { - if (is_scalar($iter443)) { - $xfer += $output->writeI64($iter442); + if (is_scalar($iter450)) { + $xfer += $output->writeI64($iter449); } else { - $xfer += $output->writeI64($iter443); + $xfer += $output->writeI64($iter450); } } } @@ -14553,15 +14654,15 @@ class ShowCompactResponse { case 1: if ($ftype == TType::LST) { $this->compacts = 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\ShowCompactResponseElement(); - $xfer += $elem449->read($input); - $this->compacts []= $elem449; + $elem456 = null; + $elem456 = new \metastore\ShowCompactResponseElement(); + $xfer += $elem456->read($input); + $this->compacts []= $elem456; } $xfer += $input->readListEnd(); } else { @@ -14589,9 +14690,9 @@ class ShowCompactResponse { { $output->writeListBegin(TType::STRUCT, count($this->compacts)); { - foreach ($this->compacts as $iter450) + foreach ($this->compacts as $iter457) { - $xfer += $iter450->write($output); + $xfer += $iter457->write($output); } } $output->writeListEnd(); @@ -14709,14 +14810,14 @@ class AddDynamicPartitions { case 4: if ($ftype == TType::LST) { $this->partitionnames = 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->partitionnames []= $elem456; + $elem463 = null; + $xfer += $input->readString($elem463); + $this->partitionnames []= $elem463; } $xfer += $input->readListEnd(); } else { @@ -14759,9 +14860,9 @@ class AddDynamicPartitions { { $output->writeListBegin(TType::STRING, count($this->partitionnames)); { - foreach ($this->partitionnames as $iter457) + foreach ($this->partitionnames as $iter464) { - $xfer += $output->writeString($iter457); + $xfer += $output->writeString($iter464); } } $output->writeListEnd(); @@ -15114,15 +15215,15 @@ class NotificationEventResponse { case 1: if ($ftype == TType::LST) { $this->events = 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; - $elem463 = new \metastore\NotificationEvent(); - $xfer += $elem463->read($input); - $this->events []= $elem463; + $elem470 = null; + $elem470 = new \metastore\NotificationEvent(); + $xfer += $elem470->read($input); + $this->events []= $elem470; } $xfer += $input->readListEnd(); } else { @@ -15150,9 +15251,9 @@ class NotificationEventResponse { { $output->writeListBegin(TType::STRUCT, count($this->events)); { - foreach ($this->events as $iter464) + foreach ($this->events as $iter471) { - $xfer += $iter464->write($output); + $xfer += $iter471->write($output); } } $output->writeListEnd(); @@ -15291,14 +15392,14 @@ class InsertEventRequestData { case 1: if ($ftype == TType::LST) { $this->filesAdded = array(); - $_size465 = 0; - $_etype468 = 0; - $xfer += $input->readListBegin($_etype468, $_size465); - for ($_i469 = 0; $_i469 < $_size465; ++$_i469) + $_size472 = 0; + $_etype475 = 0; + $xfer += $input->readListBegin($_etype475, $_size472); + for ($_i476 = 0; $_i476 < $_size472; ++$_i476) { - $elem470 = null; - $xfer += $input->readString($elem470); - $this->filesAdded []= $elem470; + $elem477 = null; + $xfer += $input->readString($elem477); + $this->filesAdded []= $elem477; } $xfer += $input->readListEnd(); } else { @@ -15326,9 +15427,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAdded)); { - foreach ($this->filesAdded as $iter471) + foreach ($this->filesAdded as $iter478) { - $xfer += $output->writeString($iter471); + $xfer += $output->writeString($iter478); } } $output->writeListEnd(); @@ -15546,14 +15647,14 @@ class FireEventRequest { case 5: if ($ftype == TType::LST) { $this->partitionVals = array(); - $_size472 = 0; - $_etype475 = 0; - $xfer += $input->readListBegin($_etype475, $_size472); - for ($_i476 = 0; $_i476 < $_size472; ++$_i476) + $_size479 = 0; + $_etype482 = 0; + $xfer += $input->readListBegin($_etype482, $_size479); + for ($_i483 = 0; $_i483 < $_size479; ++$_i483) { - $elem477 = null; - $xfer += $input->readString($elem477); - $this->partitionVals []= $elem477; + $elem484 = null; + $xfer += $input->readString($elem484); + $this->partitionVals []= $elem484; } $xfer += $input->readListEnd(); } else { @@ -15604,9 +15705,9 @@ class FireEventRequest { { $output->writeListBegin(TType::STRING, count($this->partitionVals)); { - foreach ($this->partitionVals as $iter478) + foreach ($this->partitionVals as $iter485) { - $xfer += $output->writeString($iter478); + $xfer += $output->writeString($iter485); } } $output->writeListEnd(); @@ -15834,18 +15935,18 @@ class GetFileMetadataByExprResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size479 = 0; - $_ktype480 = 0; - $_vtype481 = 0; - $xfer += $input->readMapBegin($_ktype480, $_vtype481, $_size479); - for ($_i483 = 0; $_i483 < $_size479; ++$_i483) + $_size486 = 0; + $_ktype487 = 0; + $_vtype488 = 0; + $xfer += $input->readMapBegin($_ktype487, $_vtype488, $_size486); + for ($_i490 = 0; $_i490 < $_size486; ++$_i490) { - $key484 = 0; - $val485 = new \metastore\MetadataPpdResult(); - $xfer += $input->readI64($key484); - $val485 = new \metastore\MetadataPpdResult(); - $xfer += $val485->read($input); - $this->metadata[$key484] = $val485; + $key491 = 0; + $val492 = new \metastore\MetadataPpdResult(); + $xfer += $input->readI64($key491); + $val492 = new \metastore\MetadataPpdResult(); + $xfer += $val492->read($input); + $this->metadata[$key491] = $val492; } $xfer += $input->readMapEnd(); } else { @@ -15880,10 +15981,10 @@ class GetFileMetadataByExprResult { { $output->writeMapBegin(TType::I64, TType::STRUCT, count($this->metadata)); { - foreach ($this->metadata as $kiter486 => $viter487) + foreach ($this->metadata as $kiter493 => $viter494) { - $xfer += $output->writeI64($kiter486); - $xfer += $viter487->write($output); + $xfer += $output->writeI64($kiter493); + $xfer += $viter494->write($output); } } $output->writeMapEnd(); @@ -15985,14 +16086,14 @@ class GetFileMetadataByExprRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size488 = 0; - $_etype491 = 0; - $xfer += $input->readListBegin($_etype491, $_size488); - for ($_i492 = 0; $_i492 < $_size488; ++$_i492) + $_size495 = 0; + $_etype498 = 0; + $xfer += $input->readListBegin($_etype498, $_size495); + for ($_i499 = 0; $_i499 < $_size495; ++$_i499) { - $elem493 = null; - $xfer += $input->readI64($elem493); - $this->fileIds []= $elem493; + $elem500 = null; + $xfer += $input->readI64($elem500); + $this->fileIds []= $elem500; } $xfer += $input->readListEnd(); } else { @@ -16041,9 +16142,9 @@ class GetFileMetadataByExprRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter494) + foreach ($this->fileIds as $iter501) { - $xfer += $output->writeI64($iter494); + $xfer += $output->writeI64($iter501); } } $output->writeListEnd(); @@ -16137,17 +16238,17 @@ class GetFileMetadataResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size495 = 0; - $_ktype496 = 0; - $_vtype497 = 0; - $xfer += $input->readMapBegin($_ktype496, $_vtype497, $_size495); - for ($_i499 = 0; $_i499 < $_size495; ++$_i499) + $_size502 = 0; + $_ktype503 = 0; + $_vtype504 = 0; + $xfer += $input->readMapBegin($_ktype503, $_vtype504, $_size502); + for ($_i506 = 0; $_i506 < $_size502; ++$_i506) { - $key500 = 0; - $val501 = ''; - $xfer += $input->readI64($key500); - $xfer += $input->readString($val501); - $this->metadata[$key500] = $val501; + $key507 = 0; + $val508 = ''; + $xfer += $input->readI64($key507); + $xfer += $input->readString($val508); + $this->metadata[$key507] = $val508; } $xfer += $input->readMapEnd(); } else { @@ -16182,10 +16283,10 @@ class GetFileMetadataResult { { $output->writeMapBegin(TType::I64, TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $kiter502 => $viter503) + foreach ($this->metadata as $kiter509 => $viter510) { - $xfer += $output->writeI64($kiter502); - $xfer += $output->writeString($viter503); + $xfer += $output->writeI64($kiter509); + $xfer += $output->writeString($viter510); } } $output->writeMapEnd(); @@ -16254,14 +16355,14 @@ class GetFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size504 = 0; - $_etype507 = 0; - $xfer += $input->readListBegin($_etype507, $_size504); - for ($_i508 = 0; $_i508 < $_size504; ++$_i508) + $_size511 = 0; + $_etype514 = 0; + $xfer += $input->readListBegin($_etype514, $_size511); + for ($_i515 = 0; $_i515 < $_size511; ++$_i515) { - $elem509 = null; - $xfer += $input->readI64($elem509); - $this->fileIds []= $elem509; + $elem516 = null; + $xfer += $input->readI64($elem516); + $this->fileIds []= $elem516; } $xfer += $input->readListEnd(); } else { @@ -16289,9 +16390,9 @@ class GetFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter510) + foreach ($this->fileIds as $iter517) { - $xfer += $output->writeI64($iter510); + $xfer += $output->writeI64($iter517); } } $output->writeListEnd(); @@ -16431,14 +16532,14 @@ class PutFileMetadataRequest { 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 { @@ -16448,14 +16549,14 @@ class PutFileMetadataRequest { case 2: if ($ftype == TType::LST) { $this->metadata = array(); - $_size517 = 0; - $_etype520 = 0; - $xfer += $input->readListBegin($_etype520, $_size517); - for ($_i521 = 0; $_i521 < $_size517; ++$_i521) + $_size524 = 0; + $_etype527 = 0; + $xfer += $input->readListBegin($_etype527, $_size524); + for ($_i528 = 0; $_i528 < $_size524; ++$_i528) { - $elem522 = null; - $xfer += $input->readString($elem522); - $this->metadata []= $elem522; + $elem529 = null; + $xfer += $input->readString($elem529); + $this->metadata []= $elem529; } $xfer += $input->readListEnd(); } else { @@ -16490,9 +16591,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter523) + foreach ($this->fileIds as $iter530) { - $xfer += $output->writeI64($iter523); + $xfer += $output->writeI64($iter530); } } $output->writeListEnd(); @@ -16507,9 +16608,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $iter524) + foreach ($this->metadata as $iter531) { - $xfer += $output->writeString($iter524); + $xfer += $output->writeString($iter531); } } $output->writeListEnd(); @@ -16628,14 +16729,14 @@ class ClearFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = 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->readI64($elem530); - $this->fileIds []= $elem530; + $elem537 = null; + $xfer += $input->readI64($elem537); + $this->fileIds []= $elem537; } $xfer += $input->readListEnd(); } else { @@ -16663,9 +16764,9 @@ class ClearFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter531) + foreach ($this->fileIds as $iter538) { - $xfer += $output->writeI64($iter531); + $xfer += $output->writeI64($iter538); } } $output->writeListEnd(); @@ -16949,15 +17050,15 @@ class GetAllFunctionsResponse { case 1: if ($ftype == TType::LST) { $this->functions = 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; - $elem537 = new \metastore\Function(); - $xfer += $elem537->read($input); - $this->functions []= $elem537; + $elem544 = null; + $elem544 = new \metastore\Function(); + $xfer += $elem544->read($input); + $this->functions []= $elem544; } $xfer += $input->readListEnd(); } else { @@ -16985,9 +17086,9 @@ class GetAllFunctionsResponse { { $output->writeListBegin(TType::STRUCT, count($this->functions)); { - foreach ($this->functions as $iter538) + foreach ($this->functions as $iter545) { - $xfer += $iter538->write($output); + $xfer += $iter545->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 e124cd0..6dfe353 100755 --- metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote +++ metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote @@ -151,6 +151,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)') @@ -1001,6 +1002,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 4f522c9..8eef585 100644 --- metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -1054,6 +1054,13 @@ def abort_txn(self, rqst): """ pass + def abort_txns(self, rqst): + """ + Parameters: + - rqst + """ + pass + def commit_txn(self, rqst): """ Parameters: @@ -5883,6 +5890,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: @@ -6609,6 +6647,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 @@ -9816,6 +9855,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) @@ -11105,10 +11166,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype539, _size536) = iprot.readListBegin() - for _i540 in xrange(_size536): - _elem541 = iprot.readString() - self.success.append(_elem541) + (_etype546, _size543) = iprot.readListBegin() + for _i547 in xrange(_size543): + _elem548 = iprot.readString() + self.success.append(_elem548) iprot.readListEnd() else: iprot.skip(ftype) @@ -11131,8 +11192,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 iter542 in self.success: - oprot.writeString(iter542) + for iter549 in self.success: + oprot.writeString(iter549) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -11237,10 +11298,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype546, _size543) = iprot.readListBegin() - for _i547 in xrange(_size543): - _elem548 = iprot.readString() - self.success.append(_elem548) + (_etype553, _size550) = iprot.readListBegin() + for _i554 in xrange(_size550): + _elem555 = iprot.readString() + self.success.append(_elem555) iprot.readListEnd() else: iprot.skip(ftype) @@ -11263,8 +11324,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 iter549 in self.success: - oprot.writeString(iter549) + for iter556 in self.success: + oprot.writeString(iter556) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -12034,12 +12095,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype551, _vtype552, _size550 ) = iprot.readMapBegin() - for _i554 in xrange(_size550): - _key555 = iprot.readString() - _val556 = Type() - _val556.read(iprot) - self.success[_key555] = _val556 + (_ktype558, _vtype559, _size557 ) = iprot.readMapBegin() + for _i561 in xrange(_size557): + _key562 = iprot.readString() + _val563 = Type() + _val563.read(iprot) + self.success[_key562] = _val563 iprot.readMapEnd() else: iprot.skip(ftype) @@ -12062,9 +12123,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 kiter557,viter558 in self.success.items(): - oprot.writeString(kiter557) - viter558.write(oprot) + for kiter564,viter565 in self.success.items(): + oprot.writeString(kiter564) + viter565.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -12207,11 +12268,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) @@ -12246,8 +12307,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: @@ -12414,11 +12475,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) @@ -12453,8 +12514,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: @@ -12607,11 +12668,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype576, _size573) = iprot.readListBegin() - for _i577 in xrange(_size573): - _elem578 = FieldSchema() - _elem578.read(iprot) - self.success.append(_elem578) + (_etype583, _size580) = iprot.readListBegin() + for _i584 in xrange(_size580): + _elem585 = FieldSchema() + _elem585.read(iprot) + self.success.append(_elem585) iprot.readListEnd() else: iprot.skip(ftype) @@ -12646,8 +12707,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 iter579 in self.success: - iter579.write(oprot) + for iter586 in self.success: + iter586.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -12814,11 +12875,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype583, _size580) = iprot.readListBegin() - for _i584 in xrange(_size580): - _elem585 = FieldSchema() - _elem585.read(iprot) - self.success.append(_elem585) + (_etype590, _size587) = iprot.readListBegin() + for _i591 in xrange(_size587): + _elem592 = FieldSchema() + _elem592.read(iprot) + self.success.append(_elem592) iprot.readListEnd() else: iprot.skip(ftype) @@ -12853,8 +12914,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 iter586 in self.success: - iter586.write(oprot) + for iter593 in self.success: + iter593.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -13295,22 +13356,22 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.primaryKeys = [] - (_etype590, _size587) = iprot.readListBegin() - for _i591 in xrange(_size587): - _elem592 = SQLPrimaryKey() - _elem592.read(iprot) - self.primaryKeys.append(_elem592) + (_etype597, _size594) = iprot.readListBegin() + for _i598 in xrange(_size594): + _elem599 = SQLPrimaryKey() + _elem599.read(iprot) + self.primaryKeys.append(_elem599) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.foreignKeys = [] - (_etype596, _size593) = iprot.readListBegin() - for _i597 in xrange(_size593): - _elem598 = SQLForeignKey() - _elem598.read(iprot) - self.foreignKeys.append(_elem598) + (_etype603, _size600) = iprot.readListBegin() + for _i604 in xrange(_size600): + _elem605 = SQLForeignKey() + _elem605.read(iprot) + self.foreignKeys.append(_elem605) iprot.readListEnd() else: iprot.skip(ftype) @@ -13331,15 +13392,15 @@ def write(self, oprot): if self.primaryKeys is not None: oprot.writeFieldBegin('primaryKeys', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.primaryKeys)) - for iter599 in self.primaryKeys: - iter599.write(oprot) + for iter606 in self.primaryKeys: + iter606.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.foreignKeys is not None: oprot.writeFieldBegin('foreignKeys', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.foreignKeys)) - for iter600 in self.foreignKeys: - iter600.write(oprot) + for iter607 in self.foreignKeys: + iter607.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14083,10 +14144,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype604, _size601) = iprot.readListBegin() - for _i605 in xrange(_size601): - _elem606 = iprot.readString() - self.success.append(_elem606) + (_etype611, _size608) = iprot.readListBegin() + for _i612 in xrange(_size608): + _elem613 = iprot.readString() + self.success.append(_elem613) iprot.readListEnd() else: iprot.skip(ftype) @@ -14109,8 +14170,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 iter607 in self.success: - oprot.writeString(iter607) + for iter614 in self.success: + oprot.writeString(iter614) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14183,10 +14244,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.tbl_types = [] - (_etype611, _size608) = iprot.readListBegin() - for _i612 in xrange(_size608): - _elem613 = iprot.readString() - self.tbl_types.append(_elem613) + (_etype618, _size615) = iprot.readListBegin() + for _i619 in xrange(_size615): + _elem620 = iprot.readString() + self.tbl_types.append(_elem620) iprot.readListEnd() else: iprot.skip(ftype) @@ -14211,8 +14272,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 iter614 in self.tbl_types: - oprot.writeString(iter614) + for iter621 in self.tbl_types: + oprot.writeString(iter621) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14268,11 +14329,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype618, _size615) = iprot.readListBegin() - for _i619 in xrange(_size615): - _elem620 = TableMeta() - _elem620.read(iprot) - self.success.append(_elem620) + (_etype625, _size622) = iprot.readListBegin() + for _i626 in xrange(_size622): + _elem627 = TableMeta() + _elem627.read(iprot) + self.success.append(_elem627) iprot.readListEnd() else: iprot.skip(ftype) @@ -14295,8 +14356,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 iter621 in self.success: - iter621.write(oprot) + for iter628 in self.success: + iter628.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14420,10 +14481,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype625, _size622) = iprot.readListBegin() - for _i626 in xrange(_size622): - _elem627 = iprot.readString() - self.success.append(_elem627) + (_etype632, _size629) = iprot.readListBegin() + for _i633 in xrange(_size629): + _elem634 = iprot.readString() + self.success.append(_elem634) iprot.readListEnd() else: iprot.skip(ftype) @@ -14446,8 +14507,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 iter628 in self.success: - oprot.writeString(iter628) + for iter635 in self.success: + oprot.writeString(iter635) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14683,10 +14744,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype632, _size629) = iprot.readListBegin() - for _i633 in xrange(_size629): - _elem634 = iprot.readString() - self.tbl_names.append(_elem634) + (_etype639, _size636) = iprot.readListBegin() + for _i640 in xrange(_size636): + _elem641 = iprot.readString() + self.tbl_names.append(_elem641) iprot.readListEnd() else: iprot.skip(ftype) @@ -14707,8 +14768,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 iter635 in self.tbl_names: - oprot.writeString(iter635) + for iter642 in self.tbl_names: + oprot.writeString(iter642) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14769,11 +14830,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype639, _size636) = iprot.readListBegin() - for _i640 in xrange(_size636): - _elem641 = Table() - _elem641.read(iprot) - self.success.append(_elem641) + (_etype646, _size643) = iprot.readListBegin() + for _i647 in xrange(_size643): + _elem648 = Table() + _elem648.read(iprot) + self.success.append(_elem648) iprot.readListEnd() else: iprot.skip(ftype) @@ -14808,8 +14869,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 iter642 in self.success: - iter642.write(oprot) + for iter649 in self.success: + iter649.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14975,10 +15036,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype646, _size643) = iprot.readListBegin() - for _i647 in xrange(_size643): - _elem648 = iprot.readString() - self.success.append(_elem648) + (_etype653, _size650) = iprot.readListBegin() + for _i654 in xrange(_size650): + _elem655 = iprot.readString() + self.success.append(_elem655) iprot.readListEnd() else: iprot.skip(ftype) @@ -15013,8 +15074,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 iter649 in self.success: - oprot.writeString(iter649) + for iter656 in self.success: + oprot.writeString(iter656) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15984,11 +16045,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype653, _size650) = iprot.readListBegin() - for _i654 in xrange(_size650): - _elem655 = Partition() - _elem655.read(iprot) - self.new_parts.append(_elem655) + (_etype660, _size657) = iprot.readListBegin() + for _i661 in xrange(_size657): + _elem662 = Partition() + _elem662.read(iprot) + self.new_parts.append(_elem662) iprot.readListEnd() else: iprot.skip(ftype) @@ -16005,8 +16066,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 iter656 in self.new_parts: - iter656.write(oprot) + for iter663 in self.new_parts: + iter663.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16164,11 +16225,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype660, _size657) = iprot.readListBegin() - for _i661 in xrange(_size657): - _elem662 = PartitionSpec() - _elem662.read(iprot) - self.new_parts.append(_elem662) + (_etype667, _size664) = iprot.readListBegin() + for _i668 in xrange(_size664): + _elem669 = PartitionSpec() + _elem669.read(iprot) + self.new_parts.append(_elem669) iprot.readListEnd() else: iprot.skip(ftype) @@ -16185,8 +16246,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 iter663 in self.new_parts: - iter663.write(oprot) + for iter670 in self.new_parts: + iter670.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16360,10 +16421,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) @@ -16388,8 +16449,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() @@ -16742,10 +16803,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype674, _size671) = iprot.readListBegin() - for _i675 in xrange(_size671): - _elem676 = iprot.readString() - self.part_vals.append(_elem676) + (_etype681, _size678) = iprot.readListBegin() + for _i682 in xrange(_size678): + _elem683 = iprot.readString() + self.part_vals.append(_elem683) iprot.readListEnd() else: iprot.skip(ftype) @@ -16776,8 +16837,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 iter677 in self.part_vals: - oprot.writeString(iter677) + for iter684 in self.part_vals: + oprot.writeString(iter684) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -17372,10 +17433,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype681, _size678) = iprot.readListBegin() - for _i682 in xrange(_size678): - _elem683 = iprot.readString() - self.part_vals.append(_elem683) + (_etype688, _size685) = iprot.readListBegin() + for _i689 in xrange(_size685): + _elem690 = iprot.readString() + self.part_vals.append(_elem690) iprot.readListEnd() else: iprot.skip(ftype) @@ -17405,8 +17466,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 iter684 in self.part_vals: - oprot.writeString(iter684) + for iter691 in self.part_vals: + oprot.writeString(iter691) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -17579,10 +17640,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype688, _size685) = iprot.readListBegin() - for _i689 in xrange(_size685): - _elem690 = iprot.readString() - self.part_vals.append(_elem690) + (_etype695, _size692) = iprot.readListBegin() + for _i696 in xrange(_size692): + _elem697 = iprot.readString() + self.part_vals.append(_elem697) iprot.readListEnd() else: iprot.skip(ftype) @@ -17618,8 +17679,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 iter691 in self.part_vals: - oprot.writeString(iter691) + for iter698 in self.part_vals: + oprot.writeString(iter698) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -18356,10 +18417,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype695, _size692) = iprot.readListBegin() - for _i696 in xrange(_size692): - _elem697 = iprot.readString() - self.part_vals.append(_elem697) + (_etype702, _size699) = iprot.readListBegin() + for _i703 in xrange(_size699): + _elem704 = iprot.readString() + self.part_vals.append(_elem704) iprot.readListEnd() else: iprot.skip(ftype) @@ -18384,8 +18445,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 iter698 in self.part_vals: - oprot.writeString(iter698) + for iter705 in self.part_vals: + oprot.writeString(iter705) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18544,11 +18605,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype700, _vtype701, _size699 ) = iprot.readMapBegin() - for _i703 in xrange(_size699): - _key704 = iprot.readString() - _val705 = iprot.readString() - self.partitionSpecs[_key704] = _val705 + (_ktype707, _vtype708, _size706 ) = iprot.readMapBegin() + for _i710 in xrange(_size706): + _key711 = iprot.readString() + _val712 = iprot.readString() + self.partitionSpecs[_key711] = _val712 iprot.readMapEnd() else: iprot.skip(ftype) @@ -18585,9 +18646,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 kiter706,viter707 in self.partitionSpecs.items(): - oprot.writeString(kiter706) - oprot.writeString(viter707) + for kiter713,viter714 in self.partitionSpecs.items(): + oprot.writeString(kiter713) + oprot.writeString(viter714) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -18792,11 +18853,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype709, _vtype710, _size708 ) = iprot.readMapBegin() - for _i712 in xrange(_size708): - _key713 = iprot.readString() - _val714 = iprot.readString() - self.partitionSpecs[_key713] = _val714 + (_ktype716, _vtype717, _size715 ) = iprot.readMapBegin() + for _i719 in xrange(_size715): + _key720 = iprot.readString() + _val721 = iprot.readString() + self.partitionSpecs[_key720] = _val721 iprot.readMapEnd() else: iprot.skip(ftype) @@ -18833,9 +18894,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 kiter715,viter716 in self.partitionSpecs.items(): - oprot.writeString(kiter715) - oprot.writeString(viter716) + for kiter722,viter723 in self.partitionSpecs.items(): + oprot.writeString(kiter722) + oprot.writeString(viter723) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -18918,11 +18979,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype720, _size717) = iprot.readListBegin() - for _i721 in xrange(_size717): - _elem722 = Partition() - _elem722.read(iprot) - self.success.append(_elem722) + (_etype727, _size724) = iprot.readListBegin() + for _i728 in xrange(_size724): + _elem729 = Partition() + _elem729.read(iprot) + self.success.append(_elem729) iprot.readListEnd() else: iprot.skip(ftype) @@ -18963,8 +19024,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 iter723 in self.success: - iter723.write(oprot) + for iter730 in self.success: + iter730.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19058,10 +19119,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype727, _size724) = iprot.readListBegin() - for _i728 in xrange(_size724): - _elem729 = iprot.readString() - self.part_vals.append(_elem729) + (_etype734, _size731) = iprot.readListBegin() + for _i735 in xrange(_size731): + _elem736 = iprot.readString() + self.part_vals.append(_elem736) iprot.readListEnd() else: iprot.skip(ftype) @@ -19073,10 +19134,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype733, _size730) = iprot.readListBegin() - for _i734 in xrange(_size730): - _elem735 = iprot.readString() - self.group_names.append(_elem735) + (_etype740, _size737) = iprot.readListBegin() + for _i741 in xrange(_size737): + _elem742 = iprot.readString() + self.group_names.append(_elem742) iprot.readListEnd() else: iprot.skip(ftype) @@ -19101,8 +19162,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 iter736 in self.part_vals: - oprot.writeString(iter736) + for iter743 in self.part_vals: + oprot.writeString(iter743) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -19112,8 +19173,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 iter737 in self.group_names: - oprot.writeString(iter737) + for iter744 in self.group_names: + oprot.writeString(iter744) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19542,11 +19603,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype741, _size738) = iprot.readListBegin() - for _i742 in xrange(_size738): - _elem743 = Partition() - _elem743.read(iprot) - self.success.append(_elem743) + (_etype748, _size745) = iprot.readListBegin() + for _i749 in xrange(_size745): + _elem750 = Partition() + _elem750.read(iprot) + self.success.append(_elem750) iprot.readListEnd() else: iprot.skip(ftype) @@ -19575,8 +19636,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 iter744 in self.success: - iter744.write(oprot) + for iter751 in self.success: + iter751.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19670,10 +19731,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype748, _size745) = iprot.readListBegin() - for _i749 in xrange(_size745): - _elem750 = iprot.readString() - self.group_names.append(_elem750) + (_etype755, _size752) = iprot.readListBegin() + for _i756 in xrange(_size752): + _elem757 = iprot.readString() + self.group_names.append(_elem757) iprot.readListEnd() else: iprot.skip(ftype) @@ -19706,8 +19767,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 iter751 in self.group_names: - oprot.writeString(iter751) + for iter758 in self.group_names: + oprot.writeString(iter758) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19768,11 +19829,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) @@ -19801,8 +19862,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: @@ -19960,11 +20021,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype762, _size759) = iprot.readListBegin() - for _i763 in xrange(_size759): - _elem764 = PartitionSpec() - _elem764.read(iprot) - self.success.append(_elem764) + (_etype769, _size766) = iprot.readListBegin() + for _i770 in xrange(_size766): + _elem771 = PartitionSpec() + _elem771.read(iprot) + self.success.append(_elem771) iprot.readListEnd() else: iprot.skip(ftype) @@ -19993,8 +20054,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 iter765 in self.success: - iter765.write(oprot) + for iter772 in self.success: + iter772.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20149,10 +20210,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype769, _size766) = iprot.readListBegin() - for _i770 in xrange(_size766): - _elem771 = iprot.readString() - self.success.append(_elem771) + (_etype776, _size773) = iprot.readListBegin() + for _i777 in xrange(_size773): + _elem778 = iprot.readString() + self.success.append(_elem778) iprot.readListEnd() else: iprot.skip(ftype) @@ -20175,8 +20236,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 iter772 in self.success: - oprot.writeString(iter772) + for iter779 in self.success: + oprot.writeString(iter779) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -20252,10 +20313,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype776, _size773) = iprot.readListBegin() - for _i777 in xrange(_size773): - _elem778 = iprot.readString() - self.part_vals.append(_elem778) + (_etype783, _size780) = iprot.readListBegin() + for _i784 in xrange(_size780): + _elem785 = iprot.readString() + self.part_vals.append(_elem785) iprot.readListEnd() else: iprot.skip(ftype) @@ -20285,8 +20346,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 iter779 in self.part_vals: - oprot.writeString(iter779) + for iter786 in self.part_vals: + oprot.writeString(iter786) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -20350,11 +20411,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype783, _size780) = iprot.readListBegin() - for _i784 in xrange(_size780): - _elem785 = Partition() - _elem785.read(iprot) - self.success.append(_elem785) + (_etype790, _size787) = iprot.readListBegin() + for _i791 in xrange(_size787): + _elem792 = Partition() + _elem792.read(iprot) + self.success.append(_elem792) iprot.readListEnd() else: iprot.skip(ftype) @@ -20383,8 +20444,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 iter786 in self.success: - iter786.write(oprot) + for iter793 in self.success: + iter793.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20471,10 +20532,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype790, _size787) = iprot.readListBegin() - for _i791 in xrange(_size787): - _elem792 = iprot.readString() - self.part_vals.append(_elem792) + (_etype797, _size794) = iprot.readListBegin() + for _i798 in xrange(_size794): + _elem799 = iprot.readString() + self.part_vals.append(_elem799) iprot.readListEnd() else: iprot.skip(ftype) @@ -20491,10 +20552,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype796, _size793) = iprot.readListBegin() - for _i797 in xrange(_size793): - _elem798 = iprot.readString() - self.group_names.append(_elem798) + (_etype803, _size800) = iprot.readListBegin() + for _i804 in xrange(_size800): + _elem805 = iprot.readString() + self.group_names.append(_elem805) iprot.readListEnd() else: iprot.skip(ftype) @@ -20519,8 +20580,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 iter799 in self.part_vals: - oprot.writeString(iter799) + for iter806 in self.part_vals: + oprot.writeString(iter806) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -20534,8 +20595,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 iter800 in self.group_names: - oprot.writeString(iter800) + for iter807 in self.group_names: + oprot.writeString(iter807) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20597,11 +20658,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype804, _size801) = iprot.readListBegin() - for _i805 in xrange(_size801): - _elem806 = Partition() - _elem806.read(iprot) - self.success.append(_elem806) + (_etype811, _size808) = iprot.readListBegin() + for _i812 in xrange(_size808): + _elem813 = Partition() + _elem813.read(iprot) + self.success.append(_elem813) iprot.readListEnd() else: iprot.skip(ftype) @@ -20630,8 +20691,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: @@ -20712,10 +20773,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype811, _size808) = iprot.readListBegin() - for _i812 in xrange(_size808): - _elem813 = iprot.readString() - self.part_vals.append(_elem813) + (_etype818, _size815) = iprot.readListBegin() + for _i819 in xrange(_size815): + _elem820 = iprot.readString() + self.part_vals.append(_elem820) iprot.readListEnd() else: iprot.skip(ftype) @@ -20745,8 +20806,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 iter814 in self.part_vals: - oprot.writeString(iter814) + for iter821 in self.part_vals: + oprot.writeString(iter821) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -20810,10 +20871,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype818, _size815) = iprot.readListBegin() - for _i819 in xrange(_size815): - _elem820 = iprot.readString() - self.success.append(_elem820) + (_etype825, _size822) = iprot.readListBegin() + for _i826 in xrange(_size822): + _elem827 = iprot.readString() + self.success.append(_elem827) iprot.readListEnd() else: iprot.skip(ftype) @@ -20842,8 +20903,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 iter821 in self.success: - oprot.writeString(iter821) + for iter828 in self.success: + oprot.writeString(iter828) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21014,11 +21075,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype825, _size822) = iprot.readListBegin() - for _i826 in xrange(_size822): - _elem827 = Partition() - _elem827.read(iprot) - self.success.append(_elem827) + (_etype832, _size829) = iprot.readListBegin() + for _i833 in xrange(_size829): + _elem834 = Partition() + _elem834.read(iprot) + self.success.append(_elem834) iprot.readListEnd() else: iprot.skip(ftype) @@ -21047,8 +21108,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 iter828 in self.success: - iter828.write(oprot) + for iter835 in self.success: + iter835.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21219,11 +21280,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype832, _size829) = iprot.readListBegin() - for _i833 in xrange(_size829): - _elem834 = PartitionSpec() - _elem834.read(iprot) - self.success.append(_elem834) + (_etype839, _size836) = iprot.readListBegin() + for _i840 in xrange(_size836): + _elem841 = PartitionSpec() + _elem841.read(iprot) + self.success.append(_elem841) iprot.readListEnd() else: iprot.skip(ftype) @@ -21252,8 +21313,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 iter835 in self.success: - iter835.write(oprot) + for iter842 in self.success: + iter842.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21673,10 +21734,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype839, _size836) = iprot.readListBegin() - for _i840 in xrange(_size836): - _elem841 = iprot.readString() - self.names.append(_elem841) + (_etype846, _size843) = iprot.readListBegin() + for _i847 in xrange(_size843): + _elem848 = iprot.readString() + self.names.append(_elem848) iprot.readListEnd() else: iprot.skip(ftype) @@ -21701,8 +21762,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 iter842 in self.names: - oprot.writeString(iter842) + for iter849 in self.names: + oprot.writeString(iter849) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21761,11 +21822,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype846, _size843) = iprot.readListBegin() - for _i847 in xrange(_size843): - _elem848 = Partition() - _elem848.read(iprot) - self.success.append(_elem848) + (_etype853, _size850) = iprot.readListBegin() + for _i854 in xrange(_size850): + _elem855 = Partition() + _elem855.read(iprot) + self.success.append(_elem855) iprot.readListEnd() else: iprot.skip(ftype) @@ -21794,8 +21855,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 iter849 in self.success: - iter849.write(oprot) + for iter856 in self.success: + iter856.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22045,11 +22106,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype853, _size850) = iprot.readListBegin() - for _i854 in xrange(_size850): - _elem855 = Partition() - _elem855.read(iprot) - self.new_parts.append(_elem855) + (_etype860, _size857) = iprot.readListBegin() + for _i861 in xrange(_size857): + _elem862 = Partition() + _elem862.read(iprot) + self.new_parts.append(_elem862) iprot.readListEnd() else: iprot.skip(ftype) @@ -22074,8 +22135,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 iter856 in self.new_parts: - iter856.write(oprot) + for iter863 in self.new_parts: + iter863.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22228,11 +22289,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype860, _size857) = iprot.readListBegin() - for _i861 in xrange(_size857): - _elem862 = Partition() - _elem862.read(iprot) - self.new_parts.append(_elem862) + (_etype867, _size864) = iprot.readListBegin() + for _i868 in xrange(_size864): + _elem869 = Partition() + _elem869.read(iprot) + self.new_parts.append(_elem869) iprot.readListEnd() else: iprot.skip(ftype) @@ -22263,8 +22324,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 iter863 in self.new_parts: - iter863.write(oprot) + for iter870 in self.new_parts: + iter870.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -22608,10 +22669,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype867, _size864) = iprot.readListBegin() - for _i868 in xrange(_size864): - _elem869 = iprot.readString() - self.part_vals.append(_elem869) + (_etype874, _size871) = iprot.readListBegin() + for _i875 in xrange(_size871): + _elem876 = iprot.readString() + self.part_vals.append(_elem876) iprot.readListEnd() else: iprot.skip(ftype) @@ -22642,8 +22703,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 iter870 in self.part_vals: - oprot.writeString(iter870) + for iter877 in self.part_vals: + oprot.writeString(iter877) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -22785,10 +22846,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype874, _size871) = iprot.readListBegin() - for _i875 in xrange(_size871): - _elem876 = iprot.readString() - self.part_vals.append(_elem876) + (_etype881, _size878) = iprot.readListBegin() + for _i882 in xrange(_size878): + _elem883 = iprot.readString() + self.part_vals.append(_elem883) iprot.readListEnd() else: iprot.skip(ftype) @@ -22810,8 +22871,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 iter877 in self.part_vals: - oprot.writeString(iter877) + for iter884 in self.part_vals: + oprot.writeString(iter884) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -23169,10 +23230,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype881, _size878) = iprot.readListBegin() - for _i882 in xrange(_size878): - _elem883 = iprot.readString() - self.success.append(_elem883) + (_etype888, _size885) = iprot.readListBegin() + for _i889 in xrange(_size885): + _elem890 = iprot.readString() + self.success.append(_elem890) iprot.readListEnd() else: iprot.skip(ftype) @@ -23195,8 +23256,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 iter884 in self.success: - oprot.writeString(iter884) + for iter891 in self.success: + oprot.writeString(iter891) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -23320,11 +23381,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype886, _vtype887, _size885 ) = iprot.readMapBegin() - for _i889 in xrange(_size885): - _key890 = iprot.readString() - _val891 = iprot.readString() - self.success[_key890] = _val891 + (_ktype893, _vtype894, _size892 ) = iprot.readMapBegin() + for _i896 in xrange(_size892): + _key897 = iprot.readString() + _val898 = iprot.readString() + self.success[_key897] = _val898 iprot.readMapEnd() else: iprot.skip(ftype) @@ -23347,9 +23408,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 kiter892,viter893 in self.success.items(): - oprot.writeString(kiter892) - oprot.writeString(viter893) + for kiter899,viter900 in self.success.items(): + oprot.writeString(kiter899) + oprot.writeString(viter900) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -23425,11 +23486,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype895, _vtype896, _size894 ) = iprot.readMapBegin() - for _i898 in xrange(_size894): - _key899 = iprot.readString() - _val900 = iprot.readString() - self.part_vals[_key899] = _val900 + (_ktype902, _vtype903, _size901 ) = iprot.readMapBegin() + for _i905 in xrange(_size901): + _key906 = iprot.readString() + _val907 = iprot.readString() + self.part_vals[_key906] = _val907 iprot.readMapEnd() else: iprot.skip(ftype) @@ -23459,9 +23520,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 kiter901,viter902 in self.part_vals.items(): - oprot.writeString(kiter901) - oprot.writeString(viter902) + for kiter908,viter909 in self.part_vals.items(): + oprot.writeString(kiter908) + oprot.writeString(viter909) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -23675,11 +23736,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype904, _vtype905, _size903 ) = iprot.readMapBegin() - for _i907 in xrange(_size903): - _key908 = iprot.readString() - _val909 = iprot.readString() - self.part_vals[_key908] = _val909 + (_ktype911, _vtype912, _size910 ) = iprot.readMapBegin() + for _i914 in xrange(_size910): + _key915 = iprot.readString() + _val916 = iprot.readString() + self.part_vals[_key915] = _val916 iprot.readMapEnd() else: iprot.skip(ftype) @@ -23709,9 +23770,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 kiter910,viter911 in self.part_vals.items(): - oprot.writeString(kiter910) - oprot.writeString(viter911) + for kiter917,viter918 in self.part_vals.items(): + oprot.writeString(kiter917) + oprot.writeString(viter918) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -24766,11 +24827,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype915, _size912) = iprot.readListBegin() - for _i916 in xrange(_size912): - _elem917 = Index() - _elem917.read(iprot) - self.success.append(_elem917) + (_etype922, _size919) = iprot.readListBegin() + for _i923 in xrange(_size919): + _elem924 = Index() + _elem924.read(iprot) + self.success.append(_elem924) iprot.readListEnd() else: iprot.skip(ftype) @@ -24799,8 +24860,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: @@ -24955,10 +25016,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype922, _size919) = iprot.readListBegin() - for _i923 in xrange(_size919): - _elem924 = iprot.readString() - self.success.append(_elem924) + (_etype929, _size926) = iprot.readListBegin() + for _i930 in xrange(_size926): + _elem931 = iprot.readString() + self.success.append(_elem931) iprot.readListEnd() else: iprot.skip(ftype) @@ -24981,8 +25042,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 iter925 in self.success: - oprot.writeString(iter925) + for iter932 in self.success: + oprot.writeString(iter932) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -27848,10 +27909,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype929, _size926) = iprot.readListBegin() - for _i930 in xrange(_size926): - _elem931 = iprot.readString() - self.success.append(_elem931) + (_etype936, _size933) = iprot.readListBegin() + for _i937 in xrange(_size933): + _elem938 = iprot.readString() + self.success.append(_elem938) iprot.readListEnd() else: iprot.skip(ftype) @@ -27874,8 +27935,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 iter932 in self.success: - oprot.writeString(iter932) + for iter939 in self.success: + oprot.writeString(iter939) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28563,10 +28624,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype936, _size933) = iprot.readListBegin() - for _i937 in xrange(_size933): - _elem938 = iprot.readString() - self.success.append(_elem938) + (_etype943, _size940) = iprot.readListBegin() + for _i944 in xrange(_size940): + _elem945 = iprot.readString() + self.success.append(_elem945) iprot.readListEnd() else: iprot.skip(ftype) @@ -28589,8 +28650,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 iter939 in self.success: - oprot.writeString(iter939) + for iter946 in self.success: + oprot.writeString(iter946) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29104,11 +29165,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype943, _size940) = iprot.readListBegin() - for _i944 in xrange(_size940): - _elem945 = Role() - _elem945.read(iprot) - self.success.append(_elem945) + (_etype950, _size947) = iprot.readListBegin() + for _i951 in xrange(_size947): + _elem952 = Role() + _elem952.read(iprot) + self.success.append(_elem952) iprot.readListEnd() else: iprot.skip(ftype) @@ -29131,8 +29192,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 iter946 in self.success: - iter946.write(oprot) + for iter953 in self.success: + iter953.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29641,10 +29702,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype950, _size947) = iprot.readListBegin() - for _i951 in xrange(_size947): - _elem952 = iprot.readString() - self.group_names.append(_elem952) + (_etype957, _size954) = iprot.readListBegin() + for _i958 in xrange(_size954): + _elem959 = iprot.readString() + self.group_names.append(_elem959) iprot.readListEnd() else: iprot.skip(ftype) @@ -29669,8 +29730,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 iter953 in self.group_names: - oprot.writeString(iter953) + for iter960 in self.group_names: + oprot.writeString(iter960) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -29897,11 +29958,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype957, _size954) = iprot.readListBegin() - for _i958 in xrange(_size954): - _elem959 = HiveObjectPrivilege() - _elem959.read(iprot) - self.success.append(_elem959) + (_etype964, _size961) = iprot.readListBegin() + for _i965 in xrange(_size961): + _elem966 = HiveObjectPrivilege() + _elem966.read(iprot) + self.success.append(_elem966) iprot.readListEnd() else: iprot.skip(ftype) @@ -29924,8 +29985,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 iter960 in self.success: - iter960.write(oprot) + for iter967 in self.success: + iter967.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30423,10 +30484,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype964, _size961) = iprot.readListBegin() - for _i965 in xrange(_size961): - _elem966 = iprot.readString() - self.group_names.append(_elem966) + (_etype971, _size968) = iprot.readListBegin() + for _i972 in xrange(_size968): + _elem973 = iprot.readString() + self.group_names.append(_elem973) iprot.readListEnd() else: iprot.skip(ftype) @@ -30447,8 +30508,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 iter967 in self.group_names: - oprot.writeString(iter967) + for iter974 in self.group_names: + oprot.writeString(iter974) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -30503,10 +30564,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype971, _size968) = iprot.readListBegin() - for _i972 in xrange(_size968): - _elem973 = iprot.readString() - self.success.append(_elem973) + (_etype978, _size975) = iprot.readListBegin() + for _i979 in xrange(_size975): + _elem980 = iprot.readString() + self.success.append(_elem980) iprot.readListEnd() else: iprot.skip(ftype) @@ -30529,8 +30590,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 iter974 in self.success: - oprot.writeString(iter974) + for iter981 in self.success: + oprot.writeString(iter981) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -31462,10 +31523,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype978, _size975) = iprot.readListBegin() - for _i979 in xrange(_size975): - _elem980 = iprot.readString() - self.success.append(_elem980) + (_etype985, _size982) = iprot.readListBegin() + for _i986 in xrange(_size982): + _elem987 = iprot.readString() + self.success.append(_elem987) iprot.readListEnd() else: iprot.skip(ftype) @@ -31482,8 +31543,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 iter981 in self.success: - oprot.writeString(iter981) + for iter988 in self.success: + oprot.writeString(iter988) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -32010,10 +32071,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype985, _size982) = iprot.readListBegin() - for _i986 in xrange(_size982): - _elem987 = iprot.readString() - self.success.append(_elem987) + (_etype992, _size989) = iprot.readListBegin() + for _i993 in xrange(_size989): + _elem994 = iprot.readString() + self.success.append(_elem994) iprot.readListEnd() else: iprot.skip(ftype) @@ -32030,8 +32091,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 iter988 in self.success: - oprot.writeString(iter988) + for iter995 in self.success: + oprot.writeString(iter995) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -32542,6 +32603,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 953c97c..0de4f60 100644 --- metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py +++ metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py @@ -8418,6 +8418,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 = [] + (_etype416, _size413) = iprot.readListBegin() + for _i417 in xrange(_size413): + _elem418 = iprot.readI64() + self.txn_ids.append(_elem418) + 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 iter419 in self.txn_ids: + oprot.writeI64(iter419) + 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: @@ -8646,11 +8721,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.component = [] - (_etype416, _size413) = iprot.readListBegin() - for _i417 in xrange(_size413): - _elem418 = LockComponent() - _elem418.read(iprot) - self.component.append(_elem418) + (_etype423, _size420) = iprot.readListBegin() + for _i424 in xrange(_size420): + _elem425 = LockComponent() + _elem425.read(iprot) + self.component.append(_elem425) iprot.readListEnd() else: iprot.skip(ftype) @@ -8687,8 +8762,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 iter419 in self.component: - iter419.write(oprot) + for iter426 in self.component: + iter426.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.txnid is not None: @@ -9386,11 +9461,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.locks = [] - (_etype423, _size420) = iprot.readListBegin() - for _i424 in xrange(_size420): - _elem425 = ShowLocksResponseElement() - _elem425.read(iprot) - self.locks.append(_elem425) + (_etype430, _size427) = iprot.readListBegin() + for _i431 in xrange(_size427): + _elem432 = ShowLocksResponseElement() + _elem432.read(iprot) + self.locks.append(_elem432) iprot.readListEnd() else: iprot.skip(ftype) @@ -9407,8 +9482,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 iter426 in self.locks: - iter426.write(oprot) + for iter433 in self.locks: + iter433.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -9623,20 +9698,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.aborted = set() - (_etype430, _size427) = iprot.readSetBegin() - for _i431 in xrange(_size427): - _elem432 = iprot.readI64() - self.aborted.add(_elem432) + (_etype437, _size434) = iprot.readSetBegin() + for _i438 in xrange(_size434): + _elem439 = iprot.readI64() + self.aborted.add(_elem439) iprot.readSetEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.SET: self.nosuch = set() - (_etype436, _size433) = iprot.readSetBegin() - for _i437 in xrange(_size433): - _elem438 = iprot.readI64() - self.nosuch.add(_elem438) + (_etype443, _size440) = iprot.readSetBegin() + for _i444 in xrange(_size440): + _elem445 = iprot.readI64() + self.nosuch.add(_elem445) iprot.readSetEnd() else: iprot.skip(ftype) @@ -9653,15 +9728,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 iter439 in self.aborted: - oprot.writeI64(iter439) + for iter446 in self.aborted: + oprot.writeI64(iter446) oprot.writeSetEnd() oprot.writeFieldEnd() if self.nosuch is not None: oprot.writeFieldBegin('nosuch', TType.SET, 2) oprot.writeSetBegin(TType.I64, len(self.nosuch)) - for iter440 in self.nosuch: - oprot.writeI64(iter440) + for iter447 in self.nosuch: + oprot.writeI64(iter447) oprot.writeSetEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10103,11 +10178,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.compacts = [] - (_etype444, _size441) = iprot.readListBegin() - for _i445 in xrange(_size441): - _elem446 = ShowCompactResponseElement() - _elem446.read(iprot) - self.compacts.append(_elem446) + (_etype451, _size448) = iprot.readListBegin() + for _i452 in xrange(_size448): + _elem453 = ShowCompactResponseElement() + _elem453.read(iprot) + self.compacts.append(_elem453) iprot.readListEnd() else: iprot.skip(ftype) @@ -10124,8 +10199,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 iter447 in self.compacts: - iter447.write(oprot) + for iter454 in self.compacts: + iter454.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10203,10 +10278,10 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.partitionnames = [] - (_etype451, _size448) = iprot.readListBegin() - for _i452 in xrange(_size448): - _elem453 = iprot.readString() - self.partitionnames.append(_elem453) + (_etype458, _size455) = iprot.readListBegin() + for _i459 in xrange(_size455): + _elem460 = iprot.readString() + self.partitionnames.append(_elem460) iprot.readListEnd() else: iprot.skip(ftype) @@ -10235,8 +10310,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 iter454 in self.partitionnames: - oprot.writeString(iter454) + for iter461 in self.partitionnames: + oprot.writeString(iter461) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10517,11 +10592,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.events = [] - (_etype458, _size455) = iprot.readListBegin() - for _i459 in xrange(_size455): - _elem460 = NotificationEvent() - _elem460.read(iprot) - self.events.append(_elem460) + (_etype465, _size462) = iprot.readListBegin() + for _i466 in xrange(_size462): + _elem467 = NotificationEvent() + _elem467.read(iprot) + self.events.append(_elem467) iprot.readListEnd() else: iprot.skip(ftype) @@ -10538,8 +10613,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 iter461 in self.events: - iter461.write(oprot) + for iter468 in self.events: + iter468.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10660,10 +10735,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.filesAdded = [] - (_etype465, _size462) = iprot.readListBegin() - for _i466 in xrange(_size462): - _elem467 = iprot.readString() - self.filesAdded.append(_elem467) + (_etype472, _size469) = iprot.readListBegin() + for _i473 in xrange(_size469): + _elem474 = iprot.readString() + self.filesAdded.append(_elem474) iprot.readListEnd() else: iprot.skip(ftype) @@ -10680,8 +10755,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 iter468 in self.filesAdded: - oprot.writeString(iter468) + for iter475 in self.filesAdded: + oprot.writeString(iter475) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10834,10 +10909,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionVals = [] - (_etype472, _size469) = iprot.readListBegin() - for _i473 in xrange(_size469): - _elem474 = iprot.readString() - self.partitionVals.append(_elem474) + (_etype479, _size476) = iprot.readListBegin() + for _i480 in xrange(_size476): + _elem481 = iprot.readString() + self.partitionVals.append(_elem481) iprot.readListEnd() else: iprot.skip(ftype) @@ -10870,8 +10945,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 iter475 in self.partitionVals: - oprot.writeString(iter475) + for iter482 in self.partitionVals: + oprot.writeString(iter482) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11058,12 +11133,12 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype477, _vtype478, _size476 ) = iprot.readMapBegin() - for _i480 in xrange(_size476): - _key481 = iprot.readI64() - _val482 = MetadataPpdResult() - _val482.read(iprot) - self.metadata[_key481] = _val482 + (_ktype484, _vtype485, _size483 ) = iprot.readMapBegin() + for _i487 in xrange(_size483): + _key488 = iprot.readI64() + _val489 = MetadataPpdResult() + _val489.read(iprot) + self.metadata[_key488] = _val489 iprot.readMapEnd() else: iprot.skip(ftype) @@ -11085,9 +11160,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 kiter483,viter484 in self.metadata.items(): - oprot.writeI64(kiter483) - viter484.write(oprot) + for kiter490,viter491 in self.metadata.items(): + oprot.writeI64(kiter490) + viter491.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -11157,10 +11232,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype488, _size485) = iprot.readListBegin() - for _i489 in xrange(_size485): - _elem490 = iprot.readI64() - self.fileIds.append(_elem490) + (_etype495, _size492) = iprot.readListBegin() + for _i496 in xrange(_size492): + _elem497 = iprot.readI64() + self.fileIds.append(_elem497) iprot.readListEnd() else: iprot.skip(ftype) @@ -11192,8 +11267,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 iter491 in self.fileIds: - oprot.writeI64(iter491) + for iter498 in self.fileIds: + oprot.writeI64(iter498) oprot.writeListEnd() oprot.writeFieldEnd() if self.expr is not None: @@ -11267,11 +11342,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype493, _vtype494, _size492 ) = iprot.readMapBegin() - for _i496 in xrange(_size492): - _key497 = iprot.readI64() - _val498 = iprot.readString() - self.metadata[_key497] = _val498 + (_ktype500, _vtype501, _size499 ) = iprot.readMapBegin() + for _i503 in xrange(_size499): + _key504 = iprot.readI64() + _val505 = iprot.readString() + self.metadata[_key504] = _val505 iprot.readMapEnd() else: iprot.skip(ftype) @@ -11293,9 +11368,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 kiter499,viter500 in self.metadata.items(): - oprot.writeI64(kiter499) - oprot.writeString(viter500) + for kiter506,viter507 in self.metadata.items(): + oprot.writeI64(kiter506) + oprot.writeString(viter507) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -11356,10 +11431,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype504, _size501) = iprot.readListBegin() - for _i505 in xrange(_size501): - _elem506 = iprot.readI64() - self.fileIds.append(_elem506) + (_etype511, _size508) = iprot.readListBegin() + for _i512 in xrange(_size508): + _elem513 = iprot.readI64() + self.fileIds.append(_elem513) iprot.readListEnd() else: iprot.skip(ftype) @@ -11376,8 +11451,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 iter507 in self.fileIds: - oprot.writeI64(iter507) + for iter514 in self.fileIds: + oprot.writeI64(iter514) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11483,20 +11558,20 @@ 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) elif fid == 2: if ftype == TType.LIST: self.metadata = [] - (_etype517, _size514) = iprot.readListBegin() - for _i518 in xrange(_size514): - _elem519 = iprot.readString() - self.metadata.append(_elem519) + (_etype524, _size521) = iprot.readListBegin() + for _i525 in xrange(_size521): + _elem526 = iprot.readString() + self.metadata.append(_elem526) iprot.readListEnd() else: iprot.skip(ftype) @@ -11518,15 +11593,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 iter520 in self.fileIds: - oprot.writeI64(iter520) + for iter527 in self.fileIds: + oprot.writeI64(iter527) oprot.writeListEnd() oprot.writeFieldEnd() if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.metadata)) - for iter521 in self.metadata: - oprot.writeString(iter521) + for iter528 in self.metadata: + oprot.writeString(iter528) oprot.writeListEnd() oprot.writeFieldEnd() if self.type is not None: @@ -11634,10 +11709,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype525, _size522) = iprot.readListBegin() - for _i526 in xrange(_size522): - _elem527 = iprot.readI64() - self.fileIds.append(_elem527) + (_etype532, _size529) = iprot.readListBegin() + for _i533 in xrange(_size529): + _elem534 = iprot.readI64() + self.fileIds.append(_elem534) iprot.readListEnd() else: iprot.skip(ftype) @@ -11654,8 +11729,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 iter528 in self.fileIds: - oprot.writeI64(iter528) + for iter535 in self.fileIds: + oprot.writeI64(iter535) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11884,11 +11959,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.functions = [] - (_etype532, _size529) = iprot.readListBegin() - for _i533 in xrange(_size529): - _elem534 = Function() - _elem534.read(iprot) - self.functions.append(_elem534) + (_etype539, _size536) = iprot.readListBegin() + for _i540 in xrange(_size536): + _elem541 = Function() + _elem541.read(iprot) + self.functions.append(_elem541) iprot.readListEnd() else: iprot.skip(ftype) @@ -11905,8 +11980,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 iter535 in self.functions: - iter535.write(oprot) + for iter542 in self.functions: + iter542.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 a5ba4c1..6e6439b 100644 --- metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb +++ metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb @@ -1875,6 +1875,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 97bb657..722f0f0 100644 --- metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb +++ metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb @@ -2144,6 +2144,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() @@ -4073,6 +4088,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() @@ -9122,6 +9148,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 5310e2f..8d4e8f3 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java @@ -5799,6 +5799,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 5f2855f..3a63551 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; @@ -2074,6 +2075,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 de6751f..68972fb 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java @@ -1285,6 +1285,12 @@ void commitTxn(long txnid) throws NoSuchTxnException, TxnAbortedException, TException; /** + * Abort a list of transactions. This is for use by "ABORT TRANSACTIONS" in the grammar. + * @throws TException + */ + void abortTxns(List txnids) throws TException; + + /** * Show the list of currently open transactions. This is for use by "show transactions" in the * grammar, not for applications that want to find a list of current transactions to work with. * Those wishing the latter should call {@link #getValidTxns()}. 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 06cd4aa..ff5dfbe 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java @@ -466,7 +466,7 @@ public void abortTxn(AbortTxnRequest rqst) throws NoSuchTxnException, MetaExcept try { lockInternal(); dbConn = getDbConn(Connection.TRANSACTION_READ_COMMITTED); - if (abortTxns(dbConn, Collections.singletonList(txnid)) != 1) { + if (abortTxns(dbConn, Collections.singletonList(txnid), true) != 1) { LOG.debug("Going to rollback"); dbConn.rollback(); throw new NoSuchTxnException("No such transaction " + JavaUtils.txnIdToString(txnid)); @@ -489,6 +489,35 @@ 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 { + dbConn = getDbConn(Connection.TRANSACTION_READ_COMMITTED); + int numAborted = abortTxns(dbConn, txnids, false); + if (numAborted != txnids.size()) { + LOG.warn("Abort Transactions command only abort " + numAborted + " out of " + + txnids.size() + " transactions. It's possible that the other " + + (txnids.size() - numAborted) + + " transactions have been aborted or committed, or the transaction ids are invalid."); + } + 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); + } + } catch (RetryException e) { + abortTxns(rqst); + } + } + /** * Concurrency/isolation notes: * This is mutexed with {@link #openTxns(OpenTxnRequest)} and other {@link #commitTxn(CommitTxnRequest)} @@ -607,7 +636,7 @@ public void commitTxn(CommitTxnRequest rqst) dbConn.rollback(undoWriteSetForCurrentTxn); LOG.info(msg); //todo: should make abortTxns() write something into TXNS.TXN_META_INFO about this - if(abortTxns(dbConn, Collections.singletonList(txnid)) != 1) { + if(abortTxns(dbConn, Collections.singletonList(txnid), true) != 1) { throw new IllegalStateException(msg + " FAILED!"); } dbConn.commit(); @@ -2040,8 +2069,8 @@ private void checkQFileTestHack() { } } - private int abortTxns(Connection dbConn, List txnids) throws SQLException { - return abortTxns(dbConn, txnids, -1); + private int abortTxns(Connection dbConn, List txnids, boolean isStrict) throws SQLException { + return abortTxns(dbConn, txnids, -1, isStrict); } /** * TODO: expose this as an operation to client. Useful for streaming API to abort all remaining @@ -2053,10 +2082,15 @@ private int abortTxns(Connection dbConn, List txnids) throws SQLException * @param txnids list of transactions to abort * @param max_heartbeat value used by {@link #performTimeOuts()} to ensure this doesn't Abort txn which were * hearbetated after #performTimeOuts() select and this operation. + * @param isStrict true for strict mode, false for best-effort mode. + * In strict mode, if all txns are not successfully aborted, then the count of + * updated ones will be returned and the caller will roll back. + * In best-effort mode, we will ignore that fact and continue deleting the locks. * @return Number of aborted transactions * @throws SQLException */ - private int abortTxns(Connection dbConn, List txnids, long max_heartbeat) throws SQLException { + private int abortTxns(Connection dbConn, List txnids, long max_heartbeat, boolean isStrict) + throws SQLException { Statement stmt = null; int updateCnt = 0; if (txnids.isEmpty()) { @@ -2083,16 +2117,17 @@ private int abortTxns(Connection dbConn, List txnids, long max_heartbeat) for (String query : queries) { LOG.debug("Going to execute update <" + query + ">"); - updateCnt = stmt.executeUpdate(query); - if (updateCnt < txnids.size()) { - /** - * have to bail in this case since we don't know which transactions were not Aborted and - * thus don't know which locks to delete - * This may happen due to a race between {@link #heartbeat(HeartbeatRequest)} operation and - * {@link #performTimeOuts()} - */ - return updateCnt; - } + updateCnt += stmt.executeUpdate(query); + } + + if (updateCnt < txnids.size() && isStrict) { + /** + * have to bail in this case since we don't know which transactions were not Aborted and + * thus don't know which locks to delete + * This may happen due to a race between {@link #heartbeat(HeartbeatRequest)} operation and + * {@link #performTimeOuts()} + */ + return updateCnt; } queries.clear(); @@ -2216,7 +2251,7 @@ private LockResponse checkLock(Connection dbConn, long extLockId) " since a concurrent committed transaction [" + JavaUtils.txnIdToString(rs.getLong(4)) + "," + rs.getLong(5) + "] has already updated resouce '" + resourceName + "'"; LOG.info(msg); - if(abortTxns(dbConn, Collections.singletonList(writeSet.get(0).txnId)) != 1) { + if(abortTxns(dbConn, Collections.singletonList(writeSet.get(0).txnId), true) != 1) { throw new IllegalStateException(msg + " FAILED!"); } dbConn.commit(); @@ -2736,7 +2771,7 @@ public void performTimeOuts() { close(rs, stmt, null); int numTxnsAborted = 0; for(List batchToAbort : timedOutTxns) { - if(abortTxns(dbConn, batchToAbort, now - timeout) == batchToAbort.size()) { + if(abortTxns(dbConn, batchToAbort, now - timeout, true) == batchToAbort.size()) { dbConn.commit(); numTxnsAborted += batchToAbort.size(); //todo: add TXNS.COMMENT filed and set it to 'aborted by system due to timeout' 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 f9cac18..12be862 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 c4d3bfb..dc2b7ff 100644 --- ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java +++ ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java @@ -132,6 +132,7 @@ import org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer; import org.apache.hadoop.hive.ql.parse.ReplicationSpec; import org.apache.hadoop.hive.ql.parse.SemanticException; +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; @@ -452,7 +453,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); } @@ -2726,6 +2732,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 6cacc59..dd14124 100644 --- ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java +++ ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java @@ -3453,6 +3453,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 87a4b7b..0a892e8 100644 --- ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java +++ ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java @@ -73,6 +73,7 @@ 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.AddPartitionDesc.OnePartitionDesc; import org.apache.hadoop.hive.ql.plan.AlterDatabaseDesc; @@ -381,6 +382,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); @@ -2422,6 +2426,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 f6d380a..67d8b86 100644 --- ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g +++ ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g @@ -327,6 +327,7 @@ KW_NOVALIDATE: 'NOVALIDATE'; KW_RELY: 'RELY'; KW_NORELY: 'NORELY'; KW_KEY: 'KEY'; +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 2c66396..685ab6a 100644 --- ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g +++ ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g @@ -375,6 +375,7 @@ TOK_COMMIT; TOK_ROLLBACK; TOK_SET_AUTOCOMMIT; TOK_CACHE_METADATA; +TOK_ABORT_TRANSACTIONS; } @@ -533,6 +534,8 @@ import org.apache.hadoop.hive.conf.HiveConf; xlateMap.put("KW_NOVALIDATE", "NOVALIDATE"); xlateMap.put("KW_RELY", "RELY"); xlateMap.put("KW_NORELY", "NORELY"); + xlateMap.put("KW_ABORT", "ABORT"); + xlateMap.put("KW_TRANSACTIONS", "TRANSACTIONS"); // Operators xlateMap.put("DOT", "."); @@ -804,6 +807,7 @@ ddlStatement | revokeRole | setRole | showCurrentRole + | abortTransactionStatement ; ifExists @@ -2601,3 +2605,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 99c886b..a1909a7 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 7b83381..23a7f6e 100644 --- ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java +++ ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java @@ -118,6 +118,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); @@ -247,6 +248,7 @@ public static BaseSemanticAnalyzer get(QueryState queryState, 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..d82b134 --- /dev/null +++ ql/src/java/org/apache/hadoop/hive/ql/plan/AbortTxnsDesc.java @@ -0,0 +1,36 @@ +/** + * 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 aborting transactions. + */ +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; + } +} \ No newline at end of file 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 e651016..c6044b9 100644 --- ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java +++ ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java @@ -125,8 +125,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..dc80c53 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/clientpositive/dbtxnmgr_abort.q ql/src/test/queries/clientpositive/dbtxnmgr_abort.q new file mode 100644 index 0000000..d923995 --- /dev/null +++ ql/src/test/queries/clientpositive/dbtxnmgr_abort.q @@ -0,0 +1,6 @@ +set hive.support.concurrency=true; +set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager; + +abort transactions 1234 5678; + +abort transactions 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010; diff --git ql/src/test/results/clientpositive/dbtxnmgr_abort.q.out ql/src/test/results/clientpositive/dbtxnmgr_abort.q.out new file mode 100644 index 0000000..b1c808a --- /dev/null +++ ql/src/test/results/clientpositive/dbtxnmgr_abort.q.out @@ -0,0 +1,8 @@ +PREHOOK: query: abort transactions 1234 5678 +PREHOOK: type: ABORT TRANSACTIONS +POSTHOOK: query: abort transactions 1234 5678 +POSTHOOK: type: ABORT TRANSACTIONS +PREHOOK: query: abort transactions 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 +PREHOOK: type: ABORT TRANSACTIONS +POSTHOOK: query: abort transactions 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 +POSTHOOK: type: ABORT TRANSACTIONS