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 acebf7a..92989d2 100755 --- metastore/if/hive_metastore.thrift +++ metastore/if/hive_metastore.thrift @@ -629,6 +629,10 @@ struct AbortTxnRequest { 1: required i64 txnid, } +struct AbortTxnsRequest { + 1: required list txn_ids, +} + struct CommitTxnRequest { 1: required i64 txnid, } @@ -1384,6 +1388,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 690c895..7c7fb7a 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 _size749; - ::apache::thrift::protocol::TType _etype752; - xfer += iprot->readListBegin(_etype752, _size749); - this->success.resize(_size749); - uint32_t _i753; - for (_i753 = 0; _i753 < _size749; ++_i753) + uint32_t _size757; + ::apache::thrift::protocol::TType _etype760; + xfer += iprot->readListBegin(_etype760, _size757); + this->success.resize(_size757); + uint32_t _i761; + for (_i761 = 0; _i761 < _size757; ++_i761) { - xfer += iprot->readString(this->success[_i753]); + xfer += iprot->readString(this->success[_i761]); } 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 _iter754; - for (_iter754 = this->success.begin(); _iter754 != this->success.end(); ++_iter754) + std::vector ::const_iterator _iter762; + for (_iter762 = this->success.begin(); _iter762 != this->success.end(); ++_iter762) { - xfer += oprot->writeString((*_iter754)); + xfer += oprot->writeString((*_iter762)); } 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 _size755; - ::apache::thrift::protocol::TType _etype758; - xfer += iprot->readListBegin(_etype758, _size755); - (*(this->success)).resize(_size755); - uint32_t _i759; - for (_i759 = 0; _i759 < _size755; ++_i759) + uint32_t _size763; + ::apache::thrift::protocol::TType _etype766; + xfer += iprot->readListBegin(_etype766, _size763); + (*(this->success)).resize(_size763); + uint32_t _i767; + for (_i767 = 0; _i767 < _size763; ++_i767) { - xfer += iprot->readString((*(this->success))[_i759]); + xfer += iprot->readString((*(this->success))[_i767]); } 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 _size760; - ::apache::thrift::protocol::TType _etype763; - xfer += iprot->readListBegin(_etype763, _size760); - this->success.resize(_size760); - uint32_t _i764; - for (_i764 = 0; _i764 < _size760; ++_i764) + uint32_t _size768; + ::apache::thrift::protocol::TType _etype771; + xfer += iprot->readListBegin(_etype771, _size768); + this->success.resize(_size768); + uint32_t _i772; + for (_i772 = 0; _i772 < _size768; ++_i772) { - xfer += iprot->readString(this->success[_i764]); + xfer += iprot->readString(this->success[_i772]); } 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 _iter765; - for (_iter765 = this->success.begin(); _iter765 != this->success.end(); ++_iter765) + std::vector ::const_iterator _iter773; + for (_iter773 = this->success.begin(); _iter773 != this->success.end(); ++_iter773) { - xfer += oprot->writeString((*_iter765)); + xfer += oprot->writeString((*_iter773)); } 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 _size766; - ::apache::thrift::protocol::TType _etype769; - xfer += iprot->readListBegin(_etype769, _size766); - (*(this->success)).resize(_size766); - uint32_t _i770; - for (_i770 = 0; _i770 < _size766; ++_i770) + uint32_t _size774; + ::apache::thrift::protocol::TType _etype777; + xfer += iprot->readListBegin(_etype777, _size774); + (*(this->success)).resize(_size774); + uint32_t _i778; + for (_i778 = 0; _i778 < _size774; ++_i778) { - xfer += iprot->readString((*(this->success))[_i770]); + xfer += iprot->readString((*(this->success))[_i778]); } 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 _size771; - ::apache::thrift::protocol::TType _ktype772; - ::apache::thrift::protocol::TType _vtype773; - xfer += iprot->readMapBegin(_ktype772, _vtype773, _size771); - uint32_t _i775; - for (_i775 = 0; _i775 < _size771; ++_i775) + uint32_t _size779; + ::apache::thrift::protocol::TType _ktype780; + ::apache::thrift::protocol::TType _vtype781; + xfer += iprot->readMapBegin(_ktype780, _vtype781, _size779); + uint32_t _i783; + for (_i783 = 0; _i783 < _size779; ++_i783) { - std::string _key776; - xfer += iprot->readString(_key776); - Type& _val777 = this->success[_key776]; - xfer += _val777.read(iprot); + std::string _key784; + xfer += iprot->readString(_key784); + Type& _val785 = this->success[_key784]; + xfer += _val785.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 _iter778; - for (_iter778 = this->success.begin(); _iter778 != this->success.end(); ++_iter778) + std::map ::const_iterator _iter786; + for (_iter786 = this->success.begin(); _iter786 != this->success.end(); ++_iter786) { - xfer += oprot->writeString(_iter778->first); - xfer += _iter778->second.write(oprot); + xfer += oprot->writeString(_iter786->first); + xfer += _iter786->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 _size779; - ::apache::thrift::protocol::TType _ktype780; - ::apache::thrift::protocol::TType _vtype781; - xfer += iprot->readMapBegin(_ktype780, _vtype781, _size779); - uint32_t _i783; - for (_i783 = 0; _i783 < _size779; ++_i783) + uint32_t _size787; + ::apache::thrift::protocol::TType _ktype788; + ::apache::thrift::protocol::TType _vtype789; + xfer += iprot->readMapBegin(_ktype788, _vtype789, _size787); + uint32_t _i791; + for (_i791 = 0; _i791 < _size787; ++_i791) { - std::string _key784; - xfer += iprot->readString(_key784); - Type& _val785 = (*(this->success))[_key784]; - xfer += _val785.read(iprot); + std::string _key792; + xfer += iprot->readString(_key792); + Type& _val793 = (*(this->success))[_key792]; + xfer += _val793.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 _size786; - ::apache::thrift::protocol::TType _etype789; - xfer += iprot->readListBegin(_etype789, _size786); - this->success.resize(_size786); - uint32_t _i790; - for (_i790 = 0; _i790 < _size786; ++_i790) + uint32_t _size794; + ::apache::thrift::protocol::TType _etype797; + xfer += iprot->readListBegin(_etype797, _size794); + this->success.resize(_size794); + uint32_t _i798; + for (_i798 = 0; _i798 < _size794; ++_i798) { - xfer += this->success[_i790].read(iprot); + xfer += this->success[_i798].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 _iter791; - for (_iter791 = this->success.begin(); _iter791 != this->success.end(); ++_iter791) + std::vector ::const_iterator _iter799; + for (_iter799 = this->success.begin(); _iter799 != this->success.end(); ++_iter799) { - xfer += (*_iter791).write(oprot); + xfer += (*_iter799).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 _size792; - ::apache::thrift::protocol::TType _etype795; - xfer += iprot->readListBegin(_etype795, _size792); - (*(this->success)).resize(_size792); - uint32_t _i796; - for (_i796 = 0; _i796 < _size792; ++_i796) + uint32_t _size800; + ::apache::thrift::protocol::TType _etype803; + xfer += iprot->readListBegin(_etype803, _size800); + (*(this->success)).resize(_size800); + uint32_t _i804; + for (_i804 = 0; _i804 < _size800; ++_i804) { - xfer += (*(this->success))[_i796].read(iprot); + xfer += (*(this->success))[_i804].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 _size797; - ::apache::thrift::protocol::TType _etype800; - xfer += iprot->readListBegin(_etype800, _size797); - this->success.resize(_size797); - uint32_t _i801; - for (_i801 = 0; _i801 < _size797; ++_i801) + uint32_t _size805; + ::apache::thrift::protocol::TType _etype808; + xfer += iprot->readListBegin(_etype808, _size805); + this->success.resize(_size805); + uint32_t _i809; + for (_i809 = 0; _i809 < _size805; ++_i809) { - xfer += this->success[_i801].read(iprot); + xfer += this->success[_i809].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 _iter802; - for (_iter802 = this->success.begin(); _iter802 != this->success.end(); ++_iter802) + std::vector ::const_iterator _iter810; + for (_iter810 = this->success.begin(); _iter810 != this->success.end(); ++_iter810) { - xfer += (*_iter802).write(oprot); + xfer += (*_iter810).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 _size803; - ::apache::thrift::protocol::TType _etype806; - xfer += iprot->readListBegin(_etype806, _size803); - (*(this->success)).resize(_size803); - uint32_t _i807; - for (_i807 = 0; _i807 < _size803; ++_i807) + uint32_t _size811; + ::apache::thrift::protocol::TType _etype814; + xfer += iprot->readListBegin(_etype814, _size811); + (*(this->success)).resize(_size811); + uint32_t _i815; + for (_i815 = 0; _i815 < _size811; ++_i815) { - xfer += (*(this->success))[_i807].read(iprot); + xfer += (*(this->success))[_i815].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 _size808; - ::apache::thrift::protocol::TType _etype811; - xfer += iprot->readListBegin(_etype811, _size808); - this->success.resize(_size808); - uint32_t _i812; - for (_i812 = 0; _i812 < _size808; ++_i812) + uint32_t _size816; + ::apache::thrift::protocol::TType _etype819; + xfer += iprot->readListBegin(_etype819, _size816); + this->success.resize(_size816); + uint32_t _i820; + for (_i820 = 0; _i820 < _size816; ++_i820) { - xfer += this->success[_i812].read(iprot); + xfer += this->success[_i820].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 _iter813; - for (_iter813 = this->success.begin(); _iter813 != this->success.end(); ++_iter813) + std::vector ::const_iterator _iter821; + for (_iter821 = this->success.begin(); _iter821 != this->success.end(); ++_iter821) { - xfer += (*_iter813).write(oprot); + xfer += (*_iter821).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 _size814; - ::apache::thrift::protocol::TType _etype817; - xfer += iprot->readListBegin(_etype817, _size814); - (*(this->success)).resize(_size814); - uint32_t _i818; - for (_i818 = 0; _i818 < _size814; ++_i818) + uint32_t _size822; + ::apache::thrift::protocol::TType _etype825; + xfer += iprot->readListBegin(_etype825, _size822); + (*(this->success)).resize(_size822); + uint32_t _i826; + for (_i826 = 0; _i826 < _size822; ++_i826) { - xfer += (*(this->success))[_i818].read(iprot); + xfer += (*(this->success))[_i826].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 _size819; - ::apache::thrift::protocol::TType _etype822; - xfer += iprot->readListBegin(_etype822, _size819); - this->success.resize(_size819); - uint32_t _i823; - for (_i823 = 0; _i823 < _size819; ++_i823) + uint32_t _size827; + ::apache::thrift::protocol::TType _etype830; + xfer += iprot->readListBegin(_etype830, _size827); + this->success.resize(_size827); + uint32_t _i831; + for (_i831 = 0; _i831 < _size827; ++_i831) { - xfer += this->success[_i823].read(iprot); + xfer += this->success[_i831].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 _iter824; - for (_iter824 = this->success.begin(); _iter824 != this->success.end(); ++_iter824) + std::vector ::const_iterator _iter832; + for (_iter832 = this->success.begin(); _iter832 != this->success.end(); ++_iter832) { - xfer += (*_iter824).write(oprot); + xfer += (*_iter832).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 _size825; - ::apache::thrift::protocol::TType _etype828; - xfer += iprot->readListBegin(_etype828, _size825); - (*(this->success)).resize(_size825); - uint32_t _i829; - for (_i829 = 0; _i829 < _size825; ++_i829) + uint32_t _size833; + ::apache::thrift::protocol::TType _etype836; + xfer += iprot->readListBegin(_etype836, _size833); + (*(this->success)).resize(_size833); + uint32_t _i837; + for (_i837 = 0; _i837 < _size833; ++_i837) { - xfer += (*(this->success))[_i829].read(iprot); + xfer += (*(this->success))[_i837].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 _size830; - ::apache::thrift::protocol::TType _etype833; - xfer += iprot->readListBegin(_etype833, _size830); - this->primaryKeys.resize(_size830); - uint32_t _i834; - for (_i834 = 0; _i834 < _size830; ++_i834) + uint32_t _size838; + ::apache::thrift::protocol::TType _etype841; + xfer += iprot->readListBegin(_etype841, _size838); + this->primaryKeys.resize(_size838); + uint32_t _i842; + for (_i842 = 0; _i842 < _size838; ++_i842) { - xfer += this->primaryKeys[_i834].read(iprot); + xfer += this->primaryKeys[_i842].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 _size835; - ::apache::thrift::protocol::TType _etype838; - xfer += iprot->readListBegin(_etype838, _size835); - this->foreignKeys.resize(_size835); - uint32_t _i839; - for (_i839 = 0; _i839 < _size835; ++_i839) + uint32_t _size843; + ::apache::thrift::protocol::TType _etype846; + xfer += iprot->readListBegin(_etype846, _size843); + this->foreignKeys.resize(_size843); + uint32_t _i847; + for (_i847 = 0; _i847 < _size843; ++_i847) { - xfer += this->foreignKeys[_i839].read(iprot); + xfer += this->foreignKeys[_i847].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 _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(); } @@ -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 _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(); } @@ -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 _iter842; - for (_iter842 = (*(this->primaryKeys)).begin(); _iter842 != (*(this->primaryKeys)).end(); ++_iter842) + std::vector ::const_iterator _iter850; + for (_iter850 = (*(this->primaryKeys)).begin(); _iter850 != (*(this->primaryKeys)).end(); ++_iter850) { - xfer += (*_iter842).write(oprot); + xfer += (*_iter850).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 _iter843; - for (_iter843 = (*(this->foreignKeys)).begin(); _iter843 != (*(this->foreignKeys)).end(); ++_iter843) + std::vector ::const_iterator _iter851; + for (_iter851 = (*(this->foreignKeys)).begin(); _iter851 != (*(this->foreignKeys)).end(); ++_iter851) { - xfer += (*_iter843).write(oprot); + xfer += (*_iter851).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5434,14 +5434,14 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size844; - ::apache::thrift::protocol::TType _etype847; - xfer += iprot->readListBegin(_etype847, _size844); - this->success.resize(_size844); - uint32_t _i848; - for (_i848 = 0; _i848 < _size844; ++_i848) + uint32_t _size852; + ::apache::thrift::protocol::TType _etype855; + xfer += iprot->readListBegin(_etype855, _size852); + this->success.resize(_size852); + uint32_t _i856; + for (_i856 = 0; _i856 < _size852; ++_i856) { - xfer += iprot->readString(this->success[_i848]); + xfer += iprot->readString(this->success[_i856]); } xfer += iprot->readListEnd(); } @@ -5480,10 +5480,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 _iter849; - for (_iter849 = this->success.begin(); _iter849 != this->success.end(); ++_iter849) + std::vector ::const_iterator _iter857; + for (_iter857 = this->success.begin(); _iter857 != this->success.end(); ++_iter857) { - xfer += oprot->writeString((*_iter849)); + xfer += oprot->writeString((*_iter857)); } xfer += oprot->writeListEnd(); } @@ -5528,14 +5528,14 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size858; + ::apache::thrift::protocol::TType _etype861; + xfer += iprot->readListBegin(_etype861, _size858); + (*(this->success)).resize(_size858); + uint32_t _i862; + for (_i862 = 0; _i862 < _size858; ++_i862) { - xfer += iprot->readString((*(this->success))[_i854]); + xfer += iprot->readString((*(this->success))[_i862]); } xfer += iprot->readListEnd(); } @@ -5610,14 +5610,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 _size855; - ::apache::thrift::protocol::TType _etype858; - xfer += iprot->readListBegin(_etype858, _size855); - this->tbl_types.resize(_size855); - uint32_t _i859; - for (_i859 = 0; _i859 < _size855; ++_i859) + uint32_t _size863; + ::apache::thrift::protocol::TType _etype866; + xfer += iprot->readListBegin(_etype866, _size863); + this->tbl_types.resize(_size863); + uint32_t _i867; + for (_i867 = 0; _i867 < _size863; ++_i867) { - xfer += iprot->readString(this->tbl_types[_i859]); + xfer += iprot->readString(this->tbl_types[_i867]); } xfer += iprot->readListEnd(); } @@ -5654,10 +5654,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 _iter860; - for (_iter860 = this->tbl_types.begin(); _iter860 != this->tbl_types.end(); ++_iter860) + std::vector ::const_iterator _iter868; + for (_iter868 = this->tbl_types.begin(); _iter868 != this->tbl_types.end(); ++_iter868) { - xfer += oprot->writeString((*_iter860)); + xfer += oprot->writeString((*_iter868)); } xfer += oprot->writeListEnd(); } @@ -5689,10 +5689,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 _iter861; - for (_iter861 = (*(this->tbl_types)).begin(); _iter861 != (*(this->tbl_types)).end(); ++_iter861) + std::vector ::const_iterator _iter869; + for (_iter869 = (*(this->tbl_types)).begin(); _iter869 != (*(this->tbl_types)).end(); ++_iter869) { - xfer += oprot->writeString((*_iter861)); + xfer += oprot->writeString((*_iter869)); } xfer += oprot->writeListEnd(); } @@ -5733,14 +5733,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size862; - ::apache::thrift::protocol::TType _etype865; - xfer += iprot->readListBegin(_etype865, _size862); - this->success.resize(_size862); - uint32_t _i866; - for (_i866 = 0; _i866 < _size862; ++_i866) + uint32_t _size870; + ::apache::thrift::protocol::TType _etype873; + xfer += iprot->readListBegin(_etype873, _size870); + this->success.resize(_size870); + uint32_t _i874; + for (_i874 = 0; _i874 < _size870; ++_i874) { - xfer += this->success[_i866].read(iprot); + xfer += this->success[_i874].read(iprot); } xfer += iprot->readListEnd(); } @@ -5779,10 +5779,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 _iter867; - for (_iter867 = this->success.begin(); _iter867 != this->success.end(); ++_iter867) + std::vector ::const_iterator _iter875; + for (_iter875 = this->success.begin(); _iter875 != this->success.end(); ++_iter875) { - xfer += (*_iter867).write(oprot); + xfer += (*_iter875).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5827,14 +5827,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size876; + ::apache::thrift::protocol::TType _etype879; + xfer += iprot->readListBegin(_etype879, _size876); + (*(this->success)).resize(_size876); + uint32_t _i880; + for (_i880 = 0; _i880 < _size876; ++_i880) { - xfer += (*(this->success))[_i872].read(iprot); + xfer += (*(this->success))[_i880].read(iprot); } xfer += iprot->readListEnd(); } @@ -5972,14 +5972,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size873; - ::apache::thrift::protocol::TType _etype876; - xfer += iprot->readListBegin(_etype876, _size873); - this->success.resize(_size873); - uint32_t _i877; - for (_i877 = 0; _i877 < _size873; ++_i877) + uint32_t _size881; + ::apache::thrift::protocol::TType _etype884; + xfer += iprot->readListBegin(_etype884, _size881); + this->success.resize(_size881); + uint32_t _i885; + for (_i885 = 0; _i885 < _size881; ++_i885) { - xfer += iprot->readString(this->success[_i877]); + xfer += iprot->readString(this->success[_i885]); } xfer += iprot->readListEnd(); } @@ -6018,10 +6018,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 _iter878; - for (_iter878 = this->success.begin(); _iter878 != this->success.end(); ++_iter878) + std::vector ::const_iterator _iter886; + for (_iter886 = this->success.begin(); _iter886 != this->success.end(); ++_iter886) { - xfer += oprot->writeString((*_iter878)); + xfer += oprot->writeString((*_iter886)); } xfer += oprot->writeListEnd(); } @@ -6066,14 +6066,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size887; + ::apache::thrift::protocol::TType _etype890; + xfer += iprot->readListBegin(_etype890, _size887); + (*(this->success)).resize(_size887); + uint32_t _i891; + for (_i891 = 0; _i891 < _size887; ++_i891) { - xfer += iprot->readString((*(this->success))[_i883]); + xfer += iprot->readString((*(this->success))[_i891]); } xfer += iprot->readListEnd(); } @@ -6383,14 +6383,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 _size884; - ::apache::thrift::protocol::TType _etype887; - xfer += iprot->readListBegin(_etype887, _size884); - this->tbl_names.resize(_size884); - uint32_t _i888; - for (_i888 = 0; _i888 < _size884; ++_i888) + uint32_t _size892; + ::apache::thrift::protocol::TType _etype895; + xfer += iprot->readListBegin(_etype895, _size892); + this->tbl_names.resize(_size892); + uint32_t _i896; + for (_i896 = 0; _i896 < _size892; ++_i896) { - xfer += iprot->readString(this->tbl_names[_i888]); + xfer += iprot->readString(this->tbl_names[_i896]); } xfer += iprot->readListEnd(); } @@ -6423,10 +6423,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 _iter889; - for (_iter889 = this->tbl_names.begin(); _iter889 != this->tbl_names.end(); ++_iter889) + std::vector ::const_iterator _iter897; + for (_iter897 = this->tbl_names.begin(); _iter897 != this->tbl_names.end(); ++_iter897) { - xfer += oprot->writeString((*_iter889)); + xfer += oprot->writeString((*_iter897)); } xfer += oprot->writeListEnd(); } @@ -6454,10 +6454,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 _iter890; - for (_iter890 = (*(this->tbl_names)).begin(); _iter890 != (*(this->tbl_names)).end(); ++_iter890) + std::vector ::const_iterator _iter898; + for (_iter898 = (*(this->tbl_names)).begin(); _iter898 != (*(this->tbl_names)).end(); ++_iter898) { - xfer += oprot->writeString((*_iter890)); + xfer += oprot->writeString((*_iter898)); } xfer += oprot->writeListEnd(); } @@ -6498,14 +6498,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 _size891; - ::apache::thrift::protocol::TType _etype894; - xfer += iprot->readListBegin(_etype894, _size891); - this->success.resize(_size891); - uint32_t _i895; - for (_i895 = 0; _i895 < _size891; ++_i895) + uint32_t _size899; + ::apache::thrift::protocol::TType _etype902; + xfer += iprot->readListBegin(_etype902, _size899); + this->success.resize(_size899); + uint32_t _i903; + for (_i903 = 0; _i903 < _size899; ++_i903) { - xfer += this->success[_i895].read(iprot); + xfer += this->success[_i903].read(iprot); } xfer += iprot->readListEnd(); } @@ -6560,10 +6560,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 _iter896; - for (_iter896 = this->success.begin(); _iter896 != this->success.end(); ++_iter896) + std::vector
::const_iterator _iter904; + for (_iter904 = this->success.begin(); _iter904 != this->success.end(); ++_iter904) { - xfer += (*_iter896).write(oprot); + xfer += (*_iter904).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6616,14 +6616,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 _size897; - ::apache::thrift::protocol::TType _etype900; - xfer += iprot->readListBegin(_etype900, _size897); - (*(this->success)).resize(_size897); - uint32_t _i901; - for (_i901 = 0; _i901 < _size897; ++_i901) + uint32_t _size905; + ::apache::thrift::protocol::TType _etype908; + xfer += iprot->readListBegin(_etype908, _size905); + (*(this->success)).resize(_size905); + uint32_t _i909; + for (_i909 = 0; _i909 < _size905; ++_i909) { - xfer += (*(this->success))[_i901].read(iprot); + xfer += (*(this->success))[_i909].read(iprot); } xfer += iprot->readListEnd(); } @@ -6809,14 +6809,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 _size902; - ::apache::thrift::protocol::TType _etype905; - xfer += iprot->readListBegin(_etype905, _size902); - this->success.resize(_size902); - uint32_t _i906; - for (_i906 = 0; _i906 < _size902; ++_i906) + uint32_t _size910; + ::apache::thrift::protocol::TType _etype913; + xfer += iprot->readListBegin(_etype913, _size910); + this->success.resize(_size910); + uint32_t _i914; + for (_i914 = 0; _i914 < _size910; ++_i914) { - xfer += iprot->readString(this->success[_i906]); + xfer += iprot->readString(this->success[_i914]); } xfer += iprot->readListEnd(); } @@ -6871,10 +6871,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 _iter907; - for (_iter907 = this->success.begin(); _iter907 != this->success.end(); ++_iter907) + std::vector ::const_iterator _iter915; + for (_iter915 = this->success.begin(); _iter915 != this->success.end(); ++_iter915) { - xfer += oprot->writeString((*_iter907)); + xfer += oprot->writeString((*_iter915)); } xfer += oprot->writeListEnd(); } @@ -6927,14 +6927,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 _size908; - ::apache::thrift::protocol::TType _etype911; - xfer += iprot->readListBegin(_etype911, _size908); - (*(this->success)).resize(_size908); - uint32_t _i912; - for (_i912 = 0; _i912 < _size908; ++_i912) + uint32_t _size916; + ::apache::thrift::protocol::TType _etype919; + xfer += iprot->readListBegin(_etype919, _size916); + (*(this->success)).resize(_size916); + uint32_t _i920; + for (_i920 = 0; _i920 < _size916; ++_i920) { - xfer += iprot->readString((*(this->success))[_i912]); + xfer += iprot->readString((*(this->success))[_i920]); } xfer += iprot->readListEnd(); } @@ -8268,14 +8268,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size913; - ::apache::thrift::protocol::TType _etype916; - xfer += iprot->readListBegin(_etype916, _size913); - this->new_parts.resize(_size913); - uint32_t _i917; - for (_i917 = 0; _i917 < _size913; ++_i917) + uint32_t _size921; + ::apache::thrift::protocol::TType _etype924; + xfer += iprot->readListBegin(_etype924, _size921); + this->new_parts.resize(_size921); + uint32_t _i925; + for (_i925 = 0; _i925 < _size921; ++_i925) { - xfer += this->new_parts[_i917].read(iprot); + xfer += this->new_parts[_i925].read(iprot); } xfer += iprot->readListEnd(); } @@ -8304,10 +8304,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 _iter918; - for (_iter918 = this->new_parts.begin(); _iter918 != this->new_parts.end(); ++_iter918) + std::vector ::const_iterator _iter926; + for (_iter926 = this->new_parts.begin(); _iter926 != this->new_parts.end(); ++_iter926) { - xfer += (*_iter918).write(oprot); + xfer += (*_iter926).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8331,10 +8331,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 _iter919; - for (_iter919 = (*(this->new_parts)).begin(); _iter919 != (*(this->new_parts)).end(); ++_iter919) + std::vector ::const_iterator _iter927; + for (_iter927 = (*(this->new_parts)).begin(); _iter927 != (*(this->new_parts)).end(); ++_iter927) { - xfer += (*_iter919).write(oprot); + xfer += (*_iter927).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8543,14 +8543,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 _size920; - ::apache::thrift::protocol::TType _etype923; - xfer += iprot->readListBegin(_etype923, _size920); - this->new_parts.resize(_size920); - uint32_t _i924; - for (_i924 = 0; _i924 < _size920; ++_i924) + uint32_t _size928; + ::apache::thrift::protocol::TType _etype931; + xfer += iprot->readListBegin(_etype931, _size928); + this->new_parts.resize(_size928); + uint32_t _i932; + for (_i932 = 0; _i932 < _size928; ++_i932) { - xfer += this->new_parts[_i924].read(iprot); + xfer += this->new_parts[_i932].read(iprot); } xfer += iprot->readListEnd(); } @@ -8579,10 +8579,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 _iter925; - for (_iter925 = this->new_parts.begin(); _iter925 != this->new_parts.end(); ++_iter925) + std::vector ::const_iterator _iter933; + for (_iter933 = this->new_parts.begin(); _iter933 != this->new_parts.end(); ++_iter933) { - xfer += (*_iter925).write(oprot); + xfer += (*_iter933).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8606,10 +8606,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 _iter926; - for (_iter926 = (*(this->new_parts)).begin(); _iter926 != (*(this->new_parts)).end(); ++_iter926) + std::vector ::const_iterator _iter934; + for (_iter934 = (*(this->new_parts)).begin(); _iter934 != (*(this->new_parts)).end(); ++_iter934) { - xfer += (*_iter926).write(oprot); + xfer += (*_iter934).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8834,14 +8834,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size927; - ::apache::thrift::protocol::TType _etype930; - xfer += iprot->readListBegin(_etype930, _size927); - this->part_vals.resize(_size927); - uint32_t _i931; - for (_i931 = 0; _i931 < _size927; ++_i931) + uint32_t _size935; + ::apache::thrift::protocol::TType _etype938; + xfer += iprot->readListBegin(_etype938, _size935); + this->part_vals.resize(_size935); + uint32_t _i939; + for (_i939 = 0; _i939 < _size935; ++_i939) { - xfer += iprot->readString(this->part_vals[_i931]); + xfer += iprot->readString(this->part_vals[_i939]); } xfer += iprot->readListEnd(); } @@ -8878,10 +8878,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 _iter932; - for (_iter932 = this->part_vals.begin(); _iter932 != this->part_vals.end(); ++_iter932) + std::vector ::const_iterator _iter940; + for (_iter940 = this->part_vals.begin(); _iter940 != this->part_vals.end(); ++_iter940) { - xfer += oprot->writeString((*_iter932)); + xfer += oprot->writeString((*_iter940)); } xfer += oprot->writeListEnd(); } @@ -8913,10 +8913,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 _iter933; - for (_iter933 = (*(this->part_vals)).begin(); _iter933 != (*(this->part_vals)).end(); ++_iter933) + std::vector ::const_iterator _iter941; + for (_iter941 = (*(this->part_vals)).begin(); _iter941 != (*(this->part_vals)).end(); ++_iter941) { - xfer += oprot->writeString((*_iter933)); + xfer += oprot->writeString((*_iter941)); } xfer += oprot->writeListEnd(); } @@ -9388,14 +9388,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size934; - ::apache::thrift::protocol::TType _etype937; - xfer += iprot->readListBegin(_etype937, _size934); - this->part_vals.resize(_size934); - uint32_t _i938; - for (_i938 = 0; _i938 < _size934; ++_i938) + uint32_t _size942; + ::apache::thrift::protocol::TType _etype945; + xfer += iprot->readListBegin(_etype945, _size942); + this->part_vals.resize(_size942); + uint32_t _i946; + for (_i946 = 0; _i946 < _size942; ++_i946) { - xfer += iprot->readString(this->part_vals[_i938]); + xfer += iprot->readString(this->part_vals[_i946]); } xfer += iprot->readListEnd(); } @@ -9440,10 +9440,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 _iter939; - for (_iter939 = this->part_vals.begin(); _iter939 != this->part_vals.end(); ++_iter939) + std::vector ::const_iterator _iter947; + for (_iter947 = this->part_vals.begin(); _iter947 != this->part_vals.end(); ++_iter947) { - xfer += oprot->writeString((*_iter939)); + xfer += oprot->writeString((*_iter947)); } xfer += oprot->writeListEnd(); } @@ -9479,10 +9479,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 _iter940; - for (_iter940 = (*(this->part_vals)).begin(); _iter940 != (*(this->part_vals)).end(); ++_iter940) + std::vector ::const_iterator _iter948; + for (_iter948 = (*(this->part_vals)).begin(); _iter948 != (*(this->part_vals)).end(); ++_iter948) { - xfer += oprot->writeString((*_iter940)); + xfer += oprot->writeString((*_iter948)); } xfer += oprot->writeListEnd(); } @@ -10285,14 +10285,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size941; - ::apache::thrift::protocol::TType _etype944; - xfer += iprot->readListBegin(_etype944, _size941); - this->part_vals.resize(_size941); - uint32_t _i945; - for (_i945 = 0; _i945 < _size941; ++_i945) + uint32_t _size949; + ::apache::thrift::protocol::TType _etype952; + xfer += iprot->readListBegin(_etype952, _size949); + this->part_vals.resize(_size949); + uint32_t _i953; + for (_i953 = 0; _i953 < _size949; ++_i953) { - xfer += iprot->readString(this->part_vals[_i945]); + xfer += iprot->readString(this->part_vals[_i953]); } xfer += iprot->readListEnd(); } @@ -10337,10 +10337,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 _iter946; - for (_iter946 = this->part_vals.begin(); _iter946 != this->part_vals.end(); ++_iter946) + std::vector ::const_iterator _iter954; + for (_iter954 = this->part_vals.begin(); _iter954 != this->part_vals.end(); ++_iter954) { - xfer += oprot->writeString((*_iter946)); + xfer += oprot->writeString((*_iter954)); } xfer += oprot->writeListEnd(); } @@ -10376,10 +10376,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 _iter947; - for (_iter947 = (*(this->part_vals)).begin(); _iter947 != (*(this->part_vals)).end(); ++_iter947) + std::vector ::const_iterator _iter955; + for (_iter955 = (*(this->part_vals)).begin(); _iter955 != (*(this->part_vals)).end(); ++_iter955) { - xfer += oprot->writeString((*_iter947)); + xfer += oprot->writeString((*_iter955)); } xfer += oprot->writeListEnd(); } @@ -10588,14 +10588,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size948; - ::apache::thrift::protocol::TType _etype951; - xfer += iprot->readListBegin(_etype951, _size948); - this->part_vals.resize(_size948); - uint32_t _i952; - for (_i952 = 0; _i952 < _size948; ++_i952) + uint32_t _size956; + ::apache::thrift::protocol::TType _etype959; + xfer += iprot->readListBegin(_etype959, _size956); + this->part_vals.resize(_size956); + uint32_t _i960; + for (_i960 = 0; _i960 < _size956; ++_i960) { - xfer += iprot->readString(this->part_vals[_i952]); + xfer += iprot->readString(this->part_vals[_i960]); } xfer += iprot->readListEnd(); } @@ -10648,10 +10648,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 _iter953; - for (_iter953 = this->part_vals.begin(); _iter953 != this->part_vals.end(); ++_iter953) + std::vector ::const_iterator _iter961; + for (_iter961 = this->part_vals.begin(); _iter961 != this->part_vals.end(); ++_iter961) { - xfer += oprot->writeString((*_iter953)); + xfer += oprot->writeString((*_iter961)); } xfer += oprot->writeListEnd(); } @@ -10691,10 +10691,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 _iter954; - for (_iter954 = (*(this->part_vals)).begin(); _iter954 != (*(this->part_vals)).end(); ++_iter954) + std::vector ::const_iterator _iter962; + for (_iter962 = (*(this->part_vals)).begin(); _iter962 != (*(this->part_vals)).end(); ++_iter962) { - xfer += oprot->writeString((*_iter954)); + xfer += oprot->writeString((*_iter962)); } xfer += oprot->writeListEnd(); } @@ -11700,14 +11700,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size955; - ::apache::thrift::protocol::TType _etype958; - xfer += iprot->readListBegin(_etype958, _size955); - this->part_vals.resize(_size955); - uint32_t _i959; - for (_i959 = 0; _i959 < _size955; ++_i959) + uint32_t _size963; + ::apache::thrift::protocol::TType _etype966; + xfer += iprot->readListBegin(_etype966, _size963); + this->part_vals.resize(_size963); + uint32_t _i967; + for (_i967 = 0; _i967 < _size963; ++_i967) { - xfer += iprot->readString(this->part_vals[_i959]); + xfer += iprot->readString(this->part_vals[_i967]); } xfer += iprot->readListEnd(); } @@ -11744,10 +11744,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 _iter960; - for (_iter960 = this->part_vals.begin(); _iter960 != this->part_vals.end(); ++_iter960) + std::vector ::const_iterator _iter968; + for (_iter968 = this->part_vals.begin(); _iter968 != this->part_vals.end(); ++_iter968) { - xfer += oprot->writeString((*_iter960)); + xfer += oprot->writeString((*_iter968)); } xfer += oprot->writeListEnd(); } @@ -11779,10 +11779,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 _iter961; - for (_iter961 = (*(this->part_vals)).begin(); _iter961 != (*(this->part_vals)).end(); ++_iter961) + std::vector ::const_iterator _iter969; + for (_iter969 = (*(this->part_vals)).begin(); _iter969 != (*(this->part_vals)).end(); ++_iter969) { - xfer += oprot->writeString((*_iter961)); + xfer += oprot->writeString((*_iter969)); } xfer += oprot->writeListEnd(); } @@ -11971,17 +11971,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size962; - ::apache::thrift::protocol::TType _ktype963; - ::apache::thrift::protocol::TType _vtype964; - xfer += iprot->readMapBegin(_ktype963, _vtype964, _size962); - uint32_t _i966; - for (_i966 = 0; _i966 < _size962; ++_i966) + uint32_t _size970; + ::apache::thrift::protocol::TType _ktype971; + ::apache::thrift::protocol::TType _vtype972; + xfer += iprot->readMapBegin(_ktype971, _vtype972, _size970); + uint32_t _i974; + for (_i974 = 0; _i974 < _size970; ++_i974) { - std::string _key967; - xfer += iprot->readString(_key967); - std::string& _val968 = this->partitionSpecs[_key967]; - xfer += iprot->readString(_val968); + std::string _key975; + xfer += iprot->readString(_key975); + std::string& _val976 = this->partitionSpecs[_key975]; + xfer += iprot->readString(_val976); } xfer += iprot->readMapEnd(); } @@ -12042,11 +12042,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 _iter969; - for (_iter969 = this->partitionSpecs.begin(); _iter969 != this->partitionSpecs.end(); ++_iter969) + std::map ::const_iterator _iter977; + for (_iter977 = this->partitionSpecs.begin(); _iter977 != this->partitionSpecs.end(); ++_iter977) { - xfer += oprot->writeString(_iter969->first); - xfer += oprot->writeString(_iter969->second); + xfer += oprot->writeString(_iter977->first); + xfer += oprot->writeString(_iter977->second); } xfer += oprot->writeMapEnd(); } @@ -12086,11 +12086,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 _iter970; - for (_iter970 = (*(this->partitionSpecs)).begin(); _iter970 != (*(this->partitionSpecs)).end(); ++_iter970) + std::map ::const_iterator _iter978; + for (_iter978 = (*(this->partitionSpecs)).begin(); _iter978 != (*(this->partitionSpecs)).end(); ++_iter978) { - xfer += oprot->writeString(_iter970->first); - xfer += oprot->writeString(_iter970->second); + xfer += oprot->writeString(_iter978->first); + xfer += oprot->writeString(_iter978->second); } xfer += oprot->writeMapEnd(); } @@ -12335,17 +12335,17 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size971; - ::apache::thrift::protocol::TType _ktype972; - ::apache::thrift::protocol::TType _vtype973; - xfer += iprot->readMapBegin(_ktype972, _vtype973, _size971); - uint32_t _i975; - for (_i975 = 0; _i975 < _size971; ++_i975) + uint32_t _size979; + ::apache::thrift::protocol::TType _ktype980; + ::apache::thrift::protocol::TType _vtype981; + xfer += iprot->readMapBegin(_ktype980, _vtype981, _size979); + uint32_t _i983; + for (_i983 = 0; _i983 < _size979; ++_i983) { - std::string _key976; - xfer += iprot->readString(_key976); - std::string& _val977 = this->partitionSpecs[_key976]; - xfer += iprot->readString(_val977); + std::string _key984; + xfer += iprot->readString(_key984); + std::string& _val985 = this->partitionSpecs[_key984]; + xfer += iprot->readString(_val985); } xfer += iprot->readMapEnd(); } @@ -12406,11 +12406,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 _iter978; - for (_iter978 = this->partitionSpecs.begin(); _iter978 != this->partitionSpecs.end(); ++_iter978) + std::map ::const_iterator _iter986; + for (_iter986 = this->partitionSpecs.begin(); _iter986 != this->partitionSpecs.end(); ++_iter986) { - xfer += oprot->writeString(_iter978->first); - xfer += oprot->writeString(_iter978->second); + xfer += oprot->writeString(_iter986->first); + xfer += oprot->writeString(_iter986->second); } xfer += oprot->writeMapEnd(); } @@ -12450,11 +12450,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 _iter979; - for (_iter979 = (*(this->partitionSpecs)).begin(); _iter979 != (*(this->partitionSpecs)).end(); ++_iter979) + std::map ::const_iterator _iter987; + for (_iter987 = (*(this->partitionSpecs)).begin(); _iter987 != (*(this->partitionSpecs)).end(); ++_iter987) { - xfer += oprot->writeString(_iter979->first); - xfer += oprot->writeString(_iter979->second); + xfer += oprot->writeString(_iter987->first); + xfer += oprot->writeString(_iter987->second); } xfer += oprot->writeMapEnd(); } @@ -12511,14 +12511,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size980; - ::apache::thrift::protocol::TType _etype983; - xfer += iprot->readListBegin(_etype983, _size980); - this->success.resize(_size980); - uint32_t _i984; - for (_i984 = 0; _i984 < _size980; ++_i984) + uint32_t _size988; + ::apache::thrift::protocol::TType _etype991; + xfer += iprot->readListBegin(_etype991, _size988); + this->success.resize(_size988); + uint32_t _i992; + for (_i992 = 0; _i992 < _size988; ++_i992) { - xfer += this->success[_i984].read(iprot); + xfer += this->success[_i992].read(iprot); } xfer += iprot->readListEnd(); } @@ -12581,10 +12581,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 _iter985; - for (_iter985 = this->success.begin(); _iter985 != this->success.end(); ++_iter985) + std::vector ::const_iterator _iter993; + for (_iter993 = this->success.begin(); _iter993 != this->success.end(); ++_iter993) { - xfer += (*_iter985).write(oprot); + xfer += (*_iter993).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12641,14 +12641,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size994; + ::apache::thrift::protocol::TType _etype997; + xfer += iprot->readListBegin(_etype997, _size994); + (*(this->success)).resize(_size994); + uint32_t _i998; + for (_i998 = 0; _i998 < _size994; ++_i998) { - xfer += (*(this->success))[_i990].read(iprot); + xfer += (*(this->success))[_i998].read(iprot); } xfer += iprot->readListEnd(); } @@ -12747,14 +12747,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 _size991; - ::apache::thrift::protocol::TType _etype994; - xfer += iprot->readListBegin(_etype994, _size991); - this->part_vals.resize(_size991); - uint32_t _i995; - for (_i995 = 0; _i995 < _size991; ++_i995) + uint32_t _size999; + ::apache::thrift::protocol::TType _etype1002; + xfer += iprot->readListBegin(_etype1002, _size999); + this->part_vals.resize(_size999); + uint32_t _i1003; + for (_i1003 = 0; _i1003 < _size999; ++_i1003) { - xfer += iprot->readString(this->part_vals[_i995]); + xfer += iprot->readString(this->part_vals[_i1003]); } xfer += iprot->readListEnd(); } @@ -12775,14 +12775,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 _size996; - ::apache::thrift::protocol::TType _etype999; - xfer += iprot->readListBegin(_etype999, _size996); - this->group_names.resize(_size996); - uint32_t _i1000; - for (_i1000 = 0; _i1000 < _size996; ++_i1000) + uint32_t _size1004; + ::apache::thrift::protocol::TType _etype1007; + xfer += iprot->readListBegin(_etype1007, _size1004); + this->group_names.resize(_size1004); + uint32_t _i1008; + for (_i1008 = 0; _i1008 < _size1004; ++_i1008) { - xfer += iprot->readString(this->group_names[_i1000]); + xfer += iprot->readString(this->group_names[_i1008]); } xfer += iprot->readListEnd(); } @@ -12819,10 +12819,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 _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(); } @@ -12835,10 +12835,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 _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(); } @@ -12870,10 +12870,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 _iter1003; - for (_iter1003 = (*(this->part_vals)).begin(); _iter1003 != (*(this->part_vals)).end(); ++_iter1003) + std::vector ::const_iterator _iter1011; + for (_iter1011 = (*(this->part_vals)).begin(); _iter1011 != (*(this->part_vals)).end(); ++_iter1011) { - xfer += oprot->writeString((*_iter1003)); + xfer += oprot->writeString((*_iter1011)); } xfer += oprot->writeListEnd(); } @@ -12886,10 +12886,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 _iter1004; - for (_iter1004 = (*(this->group_names)).begin(); _iter1004 != (*(this->group_names)).end(); ++_iter1004) + std::vector ::const_iterator _iter1012; + for (_iter1012 = (*(this->group_names)).begin(); _iter1012 != (*(this->group_names)).end(); ++_iter1012) { - xfer += oprot->writeString((*_iter1004)); + xfer += oprot->writeString((*_iter1012)); } xfer += oprot->writeListEnd(); } @@ -13448,14 +13448,14 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1005; - ::apache::thrift::protocol::TType _etype1008; - xfer += iprot->readListBegin(_etype1008, _size1005); - this->success.resize(_size1005); - uint32_t _i1009; - for (_i1009 = 0; _i1009 < _size1005; ++_i1009) + uint32_t _size1013; + ::apache::thrift::protocol::TType _etype1016; + xfer += iprot->readListBegin(_etype1016, _size1013); + this->success.resize(_size1013); + uint32_t _i1017; + for (_i1017 = 0; _i1017 < _size1013; ++_i1017) { - xfer += this->success[_i1009].read(iprot); + xfer += this->success[_i1017].read(iprot); } xfer += iprot->readListEnd(); } @@ -13502,10 +13502,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 _iter1010; - for (_iter1010 = this->success.begin(); _iter1010 != this->success.end(); ++_iter1010) + std::vector ::const_iterator _iter1018; + for (_iter1018 = this->success.begin(); _iter1018 != this->success.end(); ++_iter1018) { - xfer += (*_iter1010).write(oprot); + xfer += (*_iter1018).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13554,14 +13554,14 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1019; + ::apache::thrift::protocol::TType _etype1022; + xfer += iprot->readListBegin(_etype1022, _size1019); + (*(this->success)).resize(_size1019); + uint32_t _i1023; + for (_i1023 = 0; _i1023 < _size1019; ++_i1023) { - xfer += (*(this->success))[_i1015].read(iprot); + xfer += (*(this->success))[_i1023].read(iprot); } xfer += iprot->readListEnd(); } @@ -13660,14 +13660,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 _size1016; - ::apache::thrift::protocol::TType _etype1019; - xfer += iprot->readListBegin(_etype1019, _size1016); - this->group_names.resize(_size1016); - uint32_t _i1020; - for (_i1020 = 0; _i1020 < _size1016; ++_i1020) + uint32_t _size1024; + ::apache::thrift::protocol::TType _etype1027; + xfer += iprot->readListBegin(_etype1027, _size1024); + this->group_names.resize(_size1024); + uint32_t _i1028; + for (_i1028 = 0; _i1028 < _size1024; ++_i1028) { - xfer += iprot->readString(this->group_names[_i1020]); + xfer += iprot->readString(this->group_names[_i1028]); } xfer += iprot->readListEnd(); } @@ -13712,10 +13712,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 _iter1021; - for (_iter1021 = this->group_names.begin(); _iter1021 != this->group_names.end(); ++_iter1021) + std::vector ::const_iterator _iter1029; + for (_iter1029 = this->group_names.begin(); _iter1029 != this->group_names.end(); ++_iter1029) { - xfer += oprot->writeString((*_iter1021)); + xfer += oprot->writeString((*_iter1029)); } xfer += oprot->writeListEnd(); } @@ -13755,10 +13755,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 _iter1022; - for (_iter1022 = (*(this->group_names)).begin(); _iter1022 != (*(this->group_names)).end(); ++_iter1022) + std::vector ::const_iterator _iter1030; + for (_iter1030 = (*(this->group_names)).begin(); _iter1030 != (*(this->group_names)).end(); ++_iter1030) { - xfer += oprot->writeString((*_iter1022)); + xfer += oprot->writeString((*_iter1030)); } xfer += oprot->writeListEnd(); } @@ -13799,14 +13799,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1023; - ::apache::thrift::protocol::TType _etype1026; - xfer += iprot->readListBegin(_etype1026, _size1023); - this->success.resize(_size1023); - uint32_t _i1027; - for (_i1027 = 0; _i1027 < _size1023; ++_i1027) + uint32_t _size1031; + ::apache::thrift::protocol::TType _etype1034; + xfer += iprot->readListBegin(_etype1034, _size1031); + this->success.resize(_size1031); + uint32_t _i1035; + for (_i1035 = 0; _i1035 < _size1031; ++_i1035) { - xfer += this->success[_i1027].read(iprot); + xfer += this->success[_i1035].read(iprot); } xfer += iprot->readListEnd(); } @@ -13853,10 +13853,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 _iter1028; - for (_iter1028 = this->success.begin(); _iter1028 != this->success.end(); ++_iter1028) + std::vector ::const_iterator _iter1036; + for (_iter1036 = this->success.begin(); _iter1036 != this->success.end(); ++_iter1036) { - xfer += (*_iter1028).write(oprot); + xfer += (*_iter1036).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13905,14 +13905,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1037; + ::apache::thrift::protocol::TType _etype1040; + xfer += iprot->readListBegin(_etype1040, _size1037); + (*(this->success)).resize(_size1037); + uint32_t _i1041; + for (_i1041 = 0; _i1041 < _size1037; ++_i1041) { - xfer += (*(this->success))[_i1033].read(iprot); + xfer += (*(this->success))[_i1041].read(iprot); } xfer += iprot->readListEnd(); } @@ -14090,14 +14090,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1034; - ::apache::thrift::protocol::TType _etype1037; - xfer += iprot->readListBegin(_etype1037, _size1034); - this->success.resize(_size1034); - uint32_t _i1038; - for (_i1038 = 0; _i1038 < _size1034; ++_i1038) + uint32_t _size1042; + ::apache::thrift::protocol::TType _etype1045; + xfer += iprot->readListBegin(_etype1045, _size1042); + this->success.resize(_size1042); + uint32_t _i1046; + for (_i1046 = 0; _i1046 < _size1042; ++_i1046) { - xfer += this->success[_i1038].read(iprot); + xfer += this->success[_i1046].read(iprot); } xfer += iprot->readListEnd(); } @@ -14144,10 +14144,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 _iter1039; - for (_iter1039 = this->success.begin(); _iter1039 != this->success.end(); ++_iter1039) + std::vector ::const_iterator _iter1047; + for (_iter1047 = this->success.begin(); _iter1047 != this->success.end(); ++_iter1047) { - xfer += (*_iter1039).write(oprot); + xfer += (*_iter1047).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14196,14 +14196,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_presult::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1048; + ::apache::thrift::protocol::TType _etype1051; + xfer += iprot->readListBegin(_etype1051, _size1048); + (*(this->success)).resize(_size1048); + uint32_t _i1052; + for (_i1052 = 0; _i1052 < _size1048; ++_i1052) { - xfer += (*(this->success))[_i1044].read(iprot); + xfer += (*(this->success))[_i1052].read(iprot); } xfer += iprot->readListEnd(); } @@ -14381,14 +14381,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1045; - ::apache::thrift::protocol::TType _etype1048; - xfer += iprot->readListBegin(_etype1048, _size1045); - this->success.resize(_size1045); - uint32_t _i1049; - for (_i1049 = 0; _i1049 < _size1045; ++_i1049) + uint32_t _size1053; + ::apache::thrift::protocol::TType _etype1056; + xfer += iprot->readListBegin(_etype1056, _size1053); + this->success.resize(_size1053); + uint32_t _i1057; + for (_i1057 = 0; _i1057 < _size1053; ++_i1057) { - xfer += iprot->readString(this->success[_i1049]); + xfer += iprot->readString(this->success[_i1057]); } xfer += iprot->readListEnd(); } @@ -14427,10 +14427,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 _iter1050; - for (_iter1050 = this->success.begin(); _iter1050 != this->success.end(); ++_iter1050) + std::vector ::const_iterator _iter1058; + for (_iter1058 = this->success.begin(); _iter1058 != this->success.end(); ++_iter1058) { - xfer += oprot->writeString((*_iter1050)); + xfer += oprot->writeString((*_iter1058)); } xfer += oprot->writeListEnd(); } @@ -14475,14 +14475,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1059; + ::apache::thrift::protocol::TType _etype1062; + xfer += iprot->readListBegin(_etype1062, _size1059); + (*(this->success)).resize(_size1059); + uint32_t _i1063; + for (_i1063 = 0; _i1063 < _size1059; ++_i1063) { - xfer += iprot->readString((*(this->success))[_i1055]); + xfer += iprot->readString((*(this->success))[_i1063]); } xfer += iprot->readListEnd(); } @@ -14557,14 +14557,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 _size1056; - ::apache::thrift::protocol::TType _etype1059; - xfer += iprot->readListBegin(_etype1059, _size1056); - this->part_vals.resize(_size1056); - uint32_t _i1060; - for (_i1060 = 0; _i1060 < _size1056; ++_i1060) + uint32_t _size1064; + ::apache::thrift::protocol::TType _etype1067; + xfer += iprot->readListBegin(_etype1067, _size1064); + this->part_vals.resize(_size1064); + uint32_t _i1068; + for (_i1068 = 0; _i1068 < _size1064; ++_i1068) { - xfer += iprot->readString(this->part_vals[_i1060]); + xfer += iprot->readString(this->part_vals[_i1068]); } xfer += iprot->readListEnd(); } @@ -14609,10 +14609,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 _iter1061; - for (_iter1061 = this->part_vals.begin(); _iter1061 != this->part_vals.end(); ++_iter1061) + std::vector ::const_iterator _iter1069; + for (_iter1069 = this->part_vals.begin(); _iter1069 != this->part_vals.end(); ++_iter1069) { - xfer += oprot->writeString((*_iter1061)); + xfer += oprot->writeString((*_iter1069)); } xfer += oprot->writeListEnd(); } @@ -14648,10 +14648,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 _iter1062; - for (_iter1062 = (*(this->part_vals)).begin(); _iter1062 != (*(this->part_vals)).end(); ++_iter1062) + std::vector ::const_iterator _iter1070; + for (_iter1070 = (*(this->part_vals)).begin(); _iter1070 != (*(this->part_vals)).end(); ++_iter1070) { - xfer += oprot->writeString((*_iter1062)); + xfer += oprot->writeString((*_iter1070)); } xfer += oprot->writeListEnd(); } @@ -14696,14 +14696,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1063; - ::apache::thrift::protocol::TType _etype1066; - xfer += iprot->readListBegin(_etype1066, _size1063); - this->success.resize(_size1063); - uint32_t _i1067; - for (_i1067 = 0; _i1067 < _size1063; ++_i1067) + uint32_t _size1071; + ::apache::thrift::protocol::TType _etype1074; + xfer += iprot->readListBegin(_etype1074, _size1071); + this->success.resize(_size1071); + uint32_t _i1075; + for (_i1075 = 0; _i1075 < _size1071; ++_i1075) { - xfer += this->success[_i1067].read(iprot); + xfer += this->success[_i1075].read(iprot); } xfer += iprot->readListEnd(); } @@ -14750,10 +14750,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 _iter1068; - for (_iter1068 = this->success.begin(); _iter1068 != this->success.end(); ++_iter1068) + std::vector ::const_iterator _iter1076; + for (_iter1076 = this->success.begin(); _iter1076 != this->success.end(); ++_iter1076) { - xfer += (*_iter1068).write(oprot); + xfer += (*_iter1076).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14802,14 +14802,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1077; + ::apache::thrift::protocol::TType _etype1080; + xfer += iprot->readListBegin(_etype1080, _size1077); + (*(this->success)).resize(_size1077); + uint32_t _i1081; + for (_i1081 = 0; _i1081 < _size1077; ++_i1081) { - xfer += (*(this->success))[_i1073].read(iprot); + xfer += (*(this->success))[_i1081].read(iprot); } xfer += iprot->readListEnd(); } @@ -14892,14 +14892,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 _size1074; - ::apache::thrift::protocol::TType _etype1077; - xfer += iprot->readListBegin(_etype1077, _size1074); - this->part_vals.resize(_size1074); - uint32_t _i1078; - for (_i1078 = 0; _i1078 < _size1074; ++_i1078) + uint32_t _size1082; + ::apache::thrift::protocol::TType _etype1085; + xfer += iprot->readListBegin(_etype1085, _size1082); + this->part_vals.resize(_size1082); + uint32_t _i1086; + for (_i1086 = 0; _i1086 < _size1082; ++_i1086) { - xfer += iprot->readString(this->part_vals[_i1078]); + xfer += iprot->readString(this->part_vals[_i1086]); } xfer += iprot->readListEnd(); } @@ -14928,14 +14928,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 _size1079; - ::apache::thrift::protocol::TType _etype1082; - xfer += iprot->readListBegin(_etype1082, _size1079); - this->group_names.resize(_size1079); - uint32_t _i1083; - for (_i1083 = 0; _i1083 < _size1079; ++_i1083) + uint32_t _size1087; + ::apache::thrift::protocol::TType _etype1090; + xfer += iprot->readListBegin(_etype1090, _size1087); + this->group_names.resize(_size1087); + uint32_t _i1091; + for (_i1091 = 0; _i1091 < _size1087; ++_i1091) { - xfer += iprot->readString(this->group_names[_i1083]); + xfer += iprot->readString(this->group_names[_i1091]); } xfer += iprot->readListEnd(); } @@ -14972,10 +14972,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 _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(); } @@ -14992,10 +14992,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 _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(); } @@ -15027,10 +15027,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 _iter1086; - for (_iter1086 = (*(this->part_vals)).begin(); _iter1086 != (*(this->part_vals)).end(); ++_iter1086) + std::vector ::const_iterator _iter1094; + for (_iter1094 = (*(this->part_vals)).begin(); _iter1094 != (*(this->part_vals)).end(); ++_iter1094) { - xfer += oprot->writeString((*_iter1086)); + xfer += oprot->writeString((*_iter1094)); } xfer += oprot->writeListEnd(); } @@ -15047,10 +15047,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 _iter1087; - for (_iter1087 = (*(this->group_names)).begin(); _iter1087 != (*(this->group_names)).end(); ++_iter1087) + std::vector ::const_iterator _iter1095; + for (_iter1095 = (*(this->group_names)).begin(); _iter1095 != (*(this->group_names)).end(); ++_iter1095) { - xfer += oprot->writeString((*_iter1087)); + xfer += oprot->writeString((*_iter1095)); } xfer += oprot->writeListEnd(); } @@ -15091,14 +15091,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1088; - ::apache::thrift::protocol::TType _etype1091; - xfer += iprot->readListBegin(_etype1091, _size1088); - this->success.resize(_size1088); - uint32_t _i1092; - for (_i1092 = 0; _i1092 < _size1088; ++_i1092) + uint32_t _size1096; + ::apache::thrift::protocol::TType _etype1099; + xfer += iprot->readListBegin(_etype1099, _size1096); + this->success.resize(_size1096); + uint32_t _i1100; + for (_i1100 = 0; _i1100 < _size1096; ++_i1100) { - xfer += this->success[_i1092].read(iprot); + xfer += this->success[_i1100].read(iprot); } xfer += iprot->readListEnd(); } @@ -15145,10 +15145,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 _iter1093; - for (_iter1093 = this->success.begin(); _iter1093 != this->success.end(); ++_iter1093) + std::vector ::const_iterator _iter1101; + for (_iter1101 = this->success.begin(); _iter1101 != this->success.end(); ++_iter1101) { - xfer += (*_iter1093).write(oprot); + xfer += (*_iter1101).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15197,14 +15197,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1102; + ::apache::thrift::protocol::TType _etype1105; + xfer += iprot->readListBegin(_etype1105, _size1102); + (*(this->success)).resize(_size1102); + uint32_t _i1106; + for (_i1106 = 0; _i1106 < _size1102; ++_i1106) { - xfer += (*(this->success))[_i1098].read(iprot); + xfer += (*(this->success))[_i1106].read(iprot); } xfer += iprot->readListEnd(); } @@ -15287,14 +15287,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 _size1099; - ::apache::thrift::protocol::TType _etype1102; - xfer += iprot->readListBegin(_etype1102, _size1099); - this->part_vals.resize(_size1099); - uint32_t _i1103; - for (_i1103 = 0; _i1103 < _size1099; ++_i1103) + uint32_t _size1107; + ::apache::thrift::protocol::TType _etype1110; + xfer += iprot->readListBegin(_etype1110, _size1107); + this->part_vals.resize(_size1107); + uint32_t _i1111; + for (_i1111 = 0; _i1111 < _size1107; ++_i1111) { - xfer += iprot->readString(this->part_vals[_i1103]); + xfer += iprot->readString(this->part_vals[_i1111]); } xfer += iprot->readListEnd(); } @@ -15339,10 +15339,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 _iter1104; - for (_iter1104 = this->part_vals.begin(); _iter1104 != this->part_vals.end(); ++_iter1104) + std::vector ::const_iterator _iter1112; + for (_iter1112 = this->part_vals.begin(); _iter1112 != this->part_vals.end(); ++_iter1112) { - xfer += oprot->writeString((*_iter1104)); + xfer += oprot->writeString((*_iter1112)); } xfer += oprot->writeListEnd(); } @@ -15378,10 +15378,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 _iter1105; - for (_iter1105 = (*(this->part_vals)).begin(); _iter1105 != (*(this->part_vals)).end(); ++_iter1105) + std::vector ::const_iterator _iter1113; + for (_iter1113 = (*(this->part_vals)).begin(); _iter1113 != (*(this->part_vals)).end(); ++_iter1113) { - xfer += oprot->writeString((*_iter1105)); + xfer += oprot->writeString((*_iter1113)); } xfer += oprot->writeListEnd(); } @@ -15426,14 +15426,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1106; - ::apache::thrift::protocol::TType _etype1109; - xfer += iprot->readListBegin(_etype1109, _size1106); - this->success.resize(_size1106); - uint32_t _i1110; - for (_i1110 = 0; _i1110 < _size1106; ++_i1110) + uint32_t _size1114; + ::apache::thrift::protocol::TType _etype1117; + xfer += iprot->readListBegin(_etype1117, _size1114); + this->success.resize(_size1114); + uint32_t _i1118; + for (_i1118 = 0; _i1118 < _size1114; ++_i1118) { - xfer += iprot->readString(this->success[_i1110]); + xfer += iprot->readString(this->success[_i1118]); } xfer += iprot->readListEnd(); } @@ -15480,10 +15480,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 _iter1111; - for (_iter1111 = this->success.begin(); _iter1111 != this->success.end(); ++_iter1111) + std::vector ::const_iterator _iter1119; + for (_iter1119 = this->success.begin(); _iter1119 != this->success.end(); ++_iter1119) { - xfer += oprot->writeString((*_iter1111)); + xfer += oprot->writeString((*_iter1119)); } xfer += oprot->writeListEnd(); } @@ -15532,14 +15532,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1120; + ::apache::thrift::protocol::TType _etype1123; + xfer += iprot->readListBegin(_etype1123, _size1120); + (*(this->success)).resize(_size1120); + uint32_t _i1124; + for (_i1124 = 0; _i1124 < _size1120; ++_i1124) { - xfer += iprot->readString((*(this->success))[_i1116]); + xfer += iprot->readString((*(this->success))[_i1124]); } xfer += iprot->readListEnd(); } @@ -15733,14 +15733,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1117; - ::apache::thrift::protocol::TType _etype1120; - xfer += iprot->readListBegin(_etype1120, _size1117); - this->success.resize(_size1117); - uint32_t _i1121; - for (_i1121 = 0; _i1121 < _size1117; ++_i1121) + uint32_t _size1125; + ::apache::thrift::protocol::TType _etype1128; + xfer += iprot->readListBegin(_etype1128, _size1125); + this->success.resize(_size1125); + uint32_t _i1129; + for (_i1129 = 0; _i1129 < _size1125; ++_i1129) { - xfer += this->success[_i1121].read(iprot); + xfer += this->success[_i1129].read(iprot); } xfer += iprot->readListEnd(); } @@ -15787,10 +15787,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 _iter1122; - for (_iter1122 = this->success.begin(); _iter1122 != this->success.end(); ++_iter1122) + std::vector ::const_iterator _iter1130; + for (_iter1130 = this->success.begin(); _iter1130 != this->success.end(); ++_iter1130) { - xfer += (*_iter1122).write(oprot); + xfer += (*_iter1130).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15839,14 +15839,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1131; + ::apache::thrift::protocol::TType _etype1134; + xfer += iprot->readListBegin(_etype1134, _size1131); + (*(this->success)).resize(_size1131); + uint32_t _i1135; + for (_i1135 = 0; _i1135 < _size1131; ++_i1135) { - xfer += (*(this->success))[_i1127].read(iprot); + xfer += (*(this->success))[_i1135].read(iprot); } xfer += iprot->readListEnd(); } @@ -16040,14 +16040,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 _size1128; - ::apache::thrift::protocol::TType _etype1131; - xfer += iprot->readListBegin(_etype1131, _size1128); - this->success.resize(_size1128); - uint32_t _i1132; - for (_i1132 = 0; _i1132 < _size1128; ++_i1132) + uint32_t _size1136; + ::apache::thrift::protocol::TType _etype1139; + xfer += iprot->readListBegin(_etype1139, _size1136); + this->success.resize(_size1136); + uint32_t _i1140; + for (_i1140 = 0; _i1140 < _size1136; ++_i1140) { - xfer += this->success[_i1132].read(iprot); + xfer += this->success[_i1140].read(iprot); } xfer += iprot->readListEnd(); } @@ -16094,10 +16094,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 _iter1133; - for (_iter1133 = this->success.begin(); _iter1133 != this->success.end(); ++_iter1133) + std::vector ::const_iterator _iter1141; + for (_iter1141 = this->success.begin(); _iter1141 != this->success.end(); ++_iter1141) { - xfer += (*_iter1133).write(oprot); + xfer += (*_iter1141).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16146,14 +16146,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 _size1134; - ::apache::thrift::protocol::TType _etype1137; - xfer += iprot->readListBegin(_etype1137, _size1134); - (*(this->success)).resize(_size1134); - uint32_t _i1138; - for (_i1138 = 0; _i1138 < _size1134; ++_i1138) + uint32_t _size1142; + ::apache::thrift::protocol::TType _etype1145; + xfer += iprot->readListBegin(_etype1145, _size1142); + (*(this->success)).resize(_size1142); + uint32_t _i1146; + for (_i1146 = 0; _i1146 < _size1142; ++_i1146) { - xfer += (*(this->success))[_i1138].read(iprot); + xfer += (*(this->success))[_i1146].read(iprot); } xfer += iprot->readListEnd(); } @@ -16722,14 +16722,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size1139; - ::apache::thrift::protocol::TType _etype1142; - xfer += iprot->readListBegin(_etype1142, _size1139); - this->names.resize(_size1139); - uint32_t _i1143; - for (_i1143 = 0; _i1143 < _size1139; ++_i1143) + uint32_t _size1147; + ::apache::thrift::protocol::TType _etype1150; + xfer += iprot->readListBegin(_etype1150, _size1147); + this->names.resize(_size1147); + uint32_t _i1151; + for (_i1151 = 0; _i1151 < _size1147; ++_i1151) { - xfer += iprot->readString(this->names[_i1143]); + xfer += iprot->readString(this->names[_i1151]); } xfer += iprot->readListEnd(); } @@ -16766,10 +16766,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 _iter1144; - for (_iter1144 = this->names.begin(); _iter1144 != this->names.end(); ++_iter1144) + std::vector ::const_iterator _iter1152; + for (_iter1152 = this->names.begin(); _iter1152 != this->names.end(); ++_iter1152) { - xfer += oprot->writeString((*_iter1144)); + xfer += oprot->writeString((*_iter1152)); } xfer += oprot->writeListEnd(); } @@ -16801,10 +16801,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 _iter1145; - for (_iter1145 = (*(this->names)).begin(); _iter1145 != (*(this->names)).end(); ++_iter1145) + std::vector ::const_iterator _iter1153; + for (_iter1153 = (*(this->names)).begin(); _iter1153 != (*(this->names)).end(); ++_iter1153) { - xfer += oprot->writeString((*_iter1145)); + xfer += oprot->writeString((*_iter1153)); } xfer += oprot->writeListEnd(); } @@ -16845,14 +16845,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1146; - ::apache::thrift::protocol::TType _etype1149; - xfer += iprot->readListBegin(_etype1149, _size1146); - this->success.resize(_size1146); - uint32_t _i1150; - for (_i1150 = 0; _i1150 < _size1146; ++_i1150) + uint32_t _size1154; + ::apache::thrift::protocol::TType _etype1157; + xfer += iprot->readListBegin(_etype1157, _size1154); + this->success.resize(_size1154); + uint32_t _i1158; + for (_i1158 = 0; _i1158 < _size1154; ++_i1158) { - xfer += this->success[_i1150].read(iprot); + xfer += this->success[_i1158].read(iprot); } xfer += iprot->readListEnd(); } @@ -16899,10 +16899,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 _iter1151; - for (_iter1151 = this->success.begin(); _iter1151 != this->success.end(); ++_iter1151) + std::vector ::const_iterator _iter1159; + for (_iter1159 = this->success.begin(); _iter1159 != this->success.end(); ++_iter1159) { - xfer += (*_iter1151).write(oprot); + xfer += (*_iter1159).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16951,14 +16951,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1160; + ::apache::thrift::protocol::TType _etype1163; + xfer += iprot->readListBegin(_etype1163, _size1160); + (*(this->success)).resize(_size1160); + uint32_t _i1164; + for (_i1164 = 0; _i1164 < _size1160; ++_i1164) { - xfer += (*(this->success))[_i1156].read(iprot); + xfer += (*(this->success))[_i1164].read(iprot); } xfer += iprot->readListEnd(); } @@ -17280,14 +17280,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1157; - ::apache::thrift::protocol::TType _etype1160; - xfer += iprot->readListBegin(_etype1160, _size1157); - this->new_parts.resize(_size1157); - uint32_t _i1161; - for (_i1161 = 0; _i1161 < _size1157; ++_i1161) + uint32_t _size1165; + ::apache::thrift::protocol::TType _etype1168; + xfer += iprot->readListBegin(_etype1168, _size1165); + this->new_parts.resize(_size1165); + uint32_t _i1169; + for (_i1169 = 0; _i1169 < _size1165; ++_i1169) { - xfer += this->new_parts[_i1161].read(iprot); + xfer += this->new_parts[_i1169].read(iprot); } xfer += iprot->readListEnd(); } @@ -17324,10 +17324,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 _iter1162; - for (_iter1162 = this->new_parts.begin(); _iter1162 != this->new_parts.end(); ++_iter1162) + std::vector ::const_iterator _iter1170; + for (_iter1170 = this->new_parts.begin(); _iter1170 != this->new_parts.end(); ++_iter1170) { - xfer += (*_iter1162).write(oprot); + xfer += (*_iter1170).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17359,10 +17359,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 _iter1163; - for (_iter1163 = (*(this->new_parts)).begin(); _iter1163 != (*(this->new_parts)).end(); ++_iter1163) + std::vector ::const_iterator _iter1171; + for (_iter1171 = (*(this->new_parts)).begin(); _iter1171 != (*(this->new_parts)).end(); ++_iter1171) { - xfer += (*_iter1163).write(oprot); + xfer += (*_iter1171).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17547,14 +17547,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1164; - ::apache::thrift::protocol::TType _etype1167; - xfer += iprot->readListBegin(_etype1167, _size1164); - this->new_parts.resize(_size1164); - uint32_t _i1168; - for (_i1168 = 0; _i1168 < _size1164; ++_i1168) + uint32_t _size1172; + ::apache::thrift::protocol::TType _etype1175; + xfer += iprot->readListBegin(_etype1175, _size1172); + this->new_parts.resize(_size1172); + uint32_t _i1176; + for (_i1176 = 0; _i1176 < _size1172; ++_i1176) { - xfer += this->new_parts[_i1168].read(iprot); + xfer += this->new_parts[_i1176].read(iprot); } xfer += iprot->readListEnd(); } @@ -17599,10 +17599,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 _iter1169; - for (_iter1169 = this->new_parts.begin(); _iter1169 != this->new_parts.end(); ++_iter1169) + std::vector ::const_iterator _iter1177; + for (_iter1177 = this->new_parts.begin(); _iter1177 != this->new_parts.end(); ++_iter1177) { - xfer += (*_iter1169).write(oprot); + xfer += (*_iter1177).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17638,10 +17638,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 _iter1170; - for (_iter1170 = (*(this->new_parts)).begin(); _iter1170 != (*(this->new_parts)).end(); ++_iter1170) + std::vector ::const_iterator _iter1178; + for (_iter1178 = (*(this->new_parts)).begin(); _iter1178 != (*(this->new_parts)).end(); ++_iter1178) { - xfer += (*_iter1170).write(oprot); + xfer += (*_iter1178).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18085,14 +18085,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1171; - ::apache::thrift::protocol::TType _etype1174; - xfer += iprot->readListBegin(_etype1174, _size1171); - this->part_vals.resize(_size1171); - uint32_t _i1175; - for (_i1175 = 0; _i1175 < _size1171; ++_i1175) + uint32_t _size1179; + ::apache::thrift::protocol::TType _etype1182; + xfer += iprot->readListBegin(_etype1182, _size1179); + this->part_vals.resize(_size1179); + uint32_t _i1183; + for (_i1183 = 0; _i1183 < _size1179; ++_i1183) { - xfer += iprot->readString(this->part_vals[_i1175]); + xfer += iprot->readString(this->part_vals[_i1183]); } xfer += iprot->readListEnd(); } @@ -18137,10 +18137,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 _iter1176; - for (_iter1176 = this->part_vals.begin(); _iter1176 != this->part_vals.end(); ++_iter1176) + std::vector ::const_iterator _iter1184; + for (_iter1184 = this->part_vals.begin(); _iter1184 != this->part_vals.end(); ++_iter1184) { - xfer += oprot->writeString((*_iter1176)); + xfer += oprot->writeString((*_iter1184)); } xfer += oprot->writeListEnd(); } @@ -18176,10 +18176,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 _iter1177; - for (_iter1177 = (*(this->part_vals)).begin(); _iter1177 != (*(this->part_vals)).end(); ++_iter1177) + std::vector ::const_iterator _iter1185; + for (_iter1185 = (*(this->part_vals)).begin(); _iter1185 != (*(this->part_vals)).end(); ++_iter1185) { - xfer += oprot->writeString((*_iter1177)); + xfer += oprot->writeString((*_iter1185)); } xfer += oprot->writeListEnd(); } @@ -18352,14 +18352,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 _size1178; - ::apache::thrift::protocol::TType _etype1181; - xfer += iprot->readListBegin(_etype1181, _size1178); - this->part_vals.resize(_size1178); - uint32_t _i1182; - for (_i1182 = 0; _i1182 < _size1178; ++_i1182) + uint32_t _size1186; + ::apache::thrift::protocol::TType _etype1189; + xfer += iprot->readListBegin(_etype1189, _size1186); + this->part_vals.resize(_size1186); + uint32_t _i1190; + for (_i1190 = 0; _i1190 < _size1186; ++_i1190) { - xfer += iprot->readString(this->part_vals[_i1182]); + xfer += iprot->readString(this->part_vals[_i1190]); } xfer += iprot->readListEnd(); } @@ -18396,10 +18396,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 _iter1183; - for (_iter1183 = this->part_vals.begin(); _iter1183 != this->part_vals.end(); ++_iter1183) + std::vector ::const_iterator _iter1191; + for (_iter1191 = this->part_vals.begin(); _iter1191 != this->part_vals.end(); ++_iter1191) { - xfer += oprot->writeString((*_iter1183)); + xfer += oprot->writeString((*_iter1191)); } xfer += oprot->writeListEnd(); } @@ -18427,10 +18427,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 _iter1184; - for (_iter1184 = (*(this->part_vals)).begin(); _iter1184 != (*(this->part_vals)).end(); ++_iter1184) + std::vector ::const_iterator _iter1192; + for (_iter1192 = (*(this->part_vals)).begin(); _iter1192 != (*(this->part_vals)).end(); ++_iter1192) { - xfer += oprot->writeString((*_iter1184)); + xfer += oprot->writeString((*_iter1192)); } xfer += oprot->writeListEnd(); } @@ -18905,14 +18905,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1185; - ::apache::thrift::protocol::TType _etype1188; - xfer += iprot->readListBegin(_etype1188, _size1185); - this->success.resize(_size1185); - uint32_t _i1189; - for (_i1189 = 0; _i1189 < _size1185; ++_i1189) + uint32_t _size1193; + ::apache::thrift::protocol::TType _etype1196; + xfer += iprot->readListBegin(_etype1196, _size1193); + this->success.resize(_size1193); + uint32_t _i1197; + for (_i1197 = 0; _i1197 < _size1193; ++_i1197) { - xfer += iprot->readString(this->success[_i1189]); + xfer += iprot->readString(this->success[_i1197]); } xfer += iprot->readListEnd(); } @@ -18951,10 +18951,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 _iter1190; - for (_iter1190 = this->success.begin(); _iter1190 != this->success.end(); ++_iter1190) + std::vector ::const_iterator _iter1198; + for (_iter1198 = this->success.begin(); _iter1198 != this->success.end(); ++_iter1198) { - xfer += oprot->writeString((*_iter1190)); + xfer += oprot->writeString((*_iter1198)); } xfer += oprot->writeListEnd(); } @@ -18999,14 +18999,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1199; + ::apache::thrift::protocol::TType _etype1202; + xfer += iprot->readListBegin(_etype1202, _size1199); + (*(this->success)).resize(_size1199); + uint32_t _i1203; + for (_i1203 = 0; _i1203 < _size1199; ++_i1203) { - xfer += iprot->readString((*(this->success))[_i1195]); + xfer += iprot->readString((*(this->success))[_i1203]); } xfer += iprot->readListEnd(); } @@ -19144,17 +19144,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1196; - ::apache::thrift::protocol::TType _ktype1197; - ::apache::thrift::protocol::TType _vtype1198; - xfer += iprot->readMapBegin(_ktype1197, _vtype1198, _size1196); - uint32_t _i1200; - for (_i1200 = 0; _i1200 < _size1196; ++_i1200) + uint32_t _size1204; + ::apache::thrift::protocol::TType _ktype1205; + ::apache::thrift::protocol::TType _vtype1206; + xfer += iprot->readMapBegin(_ktype1205, _vtype1206, _size1204); + uint32_t _i1208; + for (_i1208 = 0; _i1208 < _size1204; ++_i1208) { - std::string _key1201; - xfer += iprot->readString(_key1201); - std::string& _val1202 = this->success[_key1201]; - xfer += iprot->readString(_val1202); + std::string _key1209; + xfer += iprot->readString(_key1209); + std::string& _val1210 = this->success[_key1209]; + xfer += iprot->readString(_val1210); } xfer += iprot->readMapEnd(); } @@ -19193,11 +19193,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 _iter1203; - for (_iter1203 = this->success.begin(); _iter1203 != this->success.end(); ++_iter1203) + std::map ::const_iterator _iter1211; + for (_iter1211 = this->success.begin(); _iter1211 != this->success.end(); ++_iter1211) { - xfer += oprot->writeString(_iter1203->first); - xfer += oprot->writeString(_iter1203->second); + xfer += oprot->writeString(_iter1211->first); + xfer += oprot->writeString(_iter1211->second); } xfer += oprot->writeMapEnd(); } @@ -19242,17 +19242,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1204; - ::apache::thrift::protocol::TType _ktype1205; - ::apache::thrift::protocol::TType _vtype1206; - xfer += iprot->readMapBegin(_ktype1205, _vtype1206, _size1204); - uint32_t _i1208; - for (_i1208 = 0; _i1208 < _size1204; ++_i1208) + uint32_t _size1212; + ::apache::thrift::protocol::TType _ktype1213; + ::apache::thrift::protocol::TType _vtype1214; + xfer += iprot->readMapBegin(_ktype1213, _vtype1214, _size1212); + uint32_t _i1216; + for (_i1216 = 0; _i1216 < _size1212; ++_i1216) { - std::string _key1209; - xfer += iprot->readString(_key1209); - std::string& _val1210 = (*(this->success))[_key1209]; - xfer += iprot->readString(_val1210); + std::string _key1217; + xfer += iprot->readString(_key1217); + std::string& _val1218 = (*(this->success))[_key1217]; + xfer += iprot->readString(_val1218); } xfer += iprot->readMapEnd(); } @@ -19327,17 +19327,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1211; - ::apache::thrift::protocol::TType _ktype1212; - ::apache::thrift::protocol::TType _vtype1213; - xfer += iprot->readMapBegin(_ktype1212, _vtype1213, _size1211); - uint32_t _i1215; - for (_i1215 = 0; _i1215 < _size1211; ++_i1215) + 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) { - std::string _key1216; - xfer += iprot->readString(_key1216); - std::string& _val1217 = this->part_vals[_key1216]; - xfer += iprot->readString(_val1217); + std::string _key1224; + xfer += iprot->readString(_key1224); + std::string& _val1225 = this->part_vals[_key1224]; + xfer += iprot->readString(_val1225); } xfer += iprot->readMapEnd(); } @@ -19348,9 +19348,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1218; - xfer += iprot->readI32(ecast1218); - this->eventType = (PartitionEventType::type)ecast1218; + int32_t ecast1226; + xfer += iprot->readI32(ecast1226); + this->eventType = (PartitionEventType::type)ecast1226; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -19384,11 +19384,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 _iter1219; - for (_iter1219 = this->part_vals.begin(); _iter1219 != this->part_vals.end(); ++_iter1219) + std::map ::const_iterator _iter1227; + for (_iter1227 = this->part_vals.begin(); _iter1227 != this->part_vals.end(); ++_iter1227) { - xfer += oprot->writeString(_iter1219->first); - xfer += oprot->writeString(_iter1219->second); + xfer += oprot->writeString(_iter1227->first); + xfer += oprot->writeString(_iter1227->second); } xfer += oprot->writeMapEnd(); } @@ -19424,11 +19424,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 _iter1220; - for (_iter1220 = (*(this->part_vals)).begin(); _iter1220 != (*(this->part_vals)).end(); ++_iter1220) + std::map ::const_iterator _iter1228; + for (_iter1228 = (*(this->part_vals)).begin(); _iter1228 != (*(this->part_vals)).end(); ++_iter1228) { - xfer += oprot->writeString(_iter1220->first); - xfer += oprot->writeString(_iter1220->second); + xfer += oprot->writeString(_iter1228->first); + xfer += oprot->writeString(_iter1228->second); } xfer += oprot->writeMapEnd(); } @@ -19697,17 +19697,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1221; - ::apache::thrift::protocol::TType _ktype1222; - ::apache::thrift::protocol::TType _vtype1223; - xfer += iprot->readMapBegin(_ktype1222, _vtype1223, _size1221); - uint32_t _i1225; - for (_i1225 = 0; _i1225 < _size1221; ++_i1225) + uint32_t _size1229; + ::apache::thrift::protocol::TType _ktype1230; + ::apache::thrift::protocol::TType _vtype1231; + xfer += iprot->readMapBegin(_ktype1230, _vtype1231, _size1229); + uint32_t _i1233; + for (_i1233 = 0; _i1233 < _size1229; ++_i1233) { - std::string _key1226; - xfer += iprot->readString(_key1226); - std::string& _val1227 = this->part_vals[_key1226]; - xfer += iprot->readString(_val1227); + std::string _key1234; + xfer += iprot->readString(_key1234); + std::string& _val1235 = this->part_vals[_key1234]; + xfer += iprot->readString(_val1235); } xfer += iprot->readMapEnd(); } @@ -19718,9 +19718,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1228; - xfer += iprot->readI32(ecast1228); - this->eventType = (PartitionEventType::type)ecast1228; + int32_t ecast1236; + xfer += iprot->readI32(ecast1236); + this->eventType = (PartitionEventType::type)ecast1236; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -19754,11 +19754,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 _iter1229; - for (_iter1229 = this->part_vals.begin(); _iter1229 != this->part_vals.end(); ++_iter1229) + std::map ::const_iterator _iter1237; + for (_iter1237 = this->part_vals.begin(); _iter1237 != this->part_vals.end(); ++_iter1237) { - xfer += oprot->writeString(_iter1229->first); - xfer += oprot->writeString(_iter1229->second); + xfer += oprot->writeString(_iter1237->first); + xfer += oprot->writeString(_iter1237->second); } xfer += oprot->writeMapEnd(); } @@ -19794,11 +19794,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 _iter1230; - for (_iter1230 = (*(this->part_vals)).begin(); _iter1230 != (*(this->part_vals)).end(); ++_iter1230) + std::map ::const_iterator _iter1238; + for (_iter1238 = (*(this->part_vals)).begin(); _iter1238 != (*(this->part_vals)).end(); ++_iter1238) { - xfer += oprot->writeString(_iter1230->first); - xfer += oprot->writeString(_iter1230->second); + xfer += oprot->writeString(_iter1238->first); + xfer += oprot->writeString(_iter1238->second); } xfer += oprot->writeMapEnd(); } @@ -21234,14 +21234,14 @@ uint32_t ThriftHiveMetastore_get_indexes_result::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1231; - ::apache::thrift::protocol::TType _etype1234; - xfer += iprot->readListBegin(_etype1234, _size1231); - this->success.resize(_size1231); - uint32_t _i1235; - for (_i1235 = 0; _i1235 < _size1231; ++_i1235) + uint32_t _size1239; + ::apache::thrift::protocol::TType _etype1242; + xfer += iprot->readListBegin(_etype1242, _size1239); + this->success.resize(_size1239); + uint32_t _i1243; + for (_i1243 = 0; _i1243 < _size1239; ++_i1243) { - xfer += this->success[_i1235].read(iprot); + xfer += this->success[_i1243].read(iprot); } xfer += iprot->readListEnd(); } @@ -21288,10 +21288,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 _iter1236; - for (_iter1236 = this->success.begin(); _iter1236 != this->success.end(); ++_iter1236) + std::vector ::const_iterator _iter1244; + for (_iter1244 = this->success.begin(); _iter1244 != this->success.end(); ++_iter1244) { - xfer += (*_iter1236).write(oprot); + xfer += (*_iter1244).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21340,14 +21340,14 @@ uint32_t ThriftHiveMetastore_get_indexes_presult::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1245; + ::apache::thrift::protocol::TType _etype1248; + xfer += iprot->readListBegin(_etype1248, _size1245); + (*(this->success)).resize(_size1245); + uint32_t _i1249; + for (_i1249 = 0; _i1249 < _size1245; ++_i1249) { - xfer += (*(this->success))[_i1241].read(iprot); + xfer += (*(this->success))[_i1249].read(iprot); } xfer += iprot->readListEnd(); } @@ -21525,14 +21525,14 @@ uint32_t ThriftHiveMetastore_get_index_names_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1242; - ::apache::thrift::protocol::TType _etype1245; - xfer += iprot->readListBegin(_etype1245, _size1242); - this->success.resize(_size1242); - uint32_t _i1246; - for (_i1246 = 0; _i1246 < _size1242; ++_i1246) + uint32_t _size1250; + ::apache::thrift::protocol::TType _etype1253; + xfer += iprot->readListBegin(_etype1253, _size1250); + this->success.resize(_size1250); + uint32_t _i1254; + for (_i1254 = 0; _i1254 < _size1250; ++_i1254) { - xfer += iprot->readString(this->success[_i1246]); + xfer += iprot->readString(this->success[_i1254]); } xfer += iprot->readListEnd(); } @@ -21571,10 +21571,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 _iter1247; - for (_iter1247 = this->success.begin(); _iter1247 != this->success.end(); ++_iter1247) + std::vector ::const_iterator _iter1255; + for (_iter1255 = this->success.begin(); _iter1255 != this->success.end(); ++_iter1255) { - xfer += oprot->writeString((*_iter1247)); + xfer += oprot->writeString((*_iter1255)); } xfer += oprot->writeListEnd(); } @@ -21619,14 +21619,14 @@ uint32_t ThriftHiveMetastore_get_index_names_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1256; + ::apache::thrift::protocol::TType _etype1259; + xfer += iprot->readListBegin(_etype1259, _size1256); + (*(this->success)).resize(_size1256); + uint32_t _i1260; + for (_i1260 = 0; _i1260 < _size1256; ++_i1260) { - xfer += iprot->readString((*(this->success))[_i1252]); + xfer += iprot->readString((*(this->success))[_i1260]); } xfer += iprot->readListEnd(); } @@ -25653,14 +25653,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1253; - ::apache::thrift::protocol::TType _etype1256; - xfer += iprot->readListBegin(_etype1256, _size1253); - this->success.resize(_size1253); - uint32_t _i1257; - for (_i1257 = 0; _i1257 < _size1253; ++_i1257) + uint32_t _size1261; + ::apache::thrift::protocol::TType _etype1264; + xfer += iprot->readListBegin(_etype1264, _size1261); + this->success.resize(_size1261); + uint32_t _i1265; + for (_i1265 = 0; _i1265 < _size1261; ++_i1265) { - xfer += iprot->readString(this->success[_i1257]); + xfer += iprot->readString(this->success[_i1265]); } xfer += iprot->readListEnd(); } @@ -25699,10 +25699,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 _iter1258; - for (_iter1258 = this->success.begin(); _iter1258 != this->success.end(); ++_iter1258) + std::vector ::const_iterator _iter1266; + for (_iter1266 = this->success.begin(); _iter1266 != this->success.end(); ++_iter1266) { - xfer += oprot->writeString((*_iter1258)); + xfer += oprot->writeString((*_iter1266)); } xfer += oprot->writeListEnd(); } @@ -25747,14 +25747,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1267; + ::apache::thrift::protocol::TType _etype1270; + xfer += iprot->readListBegin(_etype1270, _size1267); + (*(this->success)).resize(_size1267); + uint32_t _i1271; + for (_i1271 = 0; _i1271 < _size1267; ++_i1271) { - xfer += iprot->readString((*(this->success))[_i1263]); + xfer += iprot->readString((*(this->success))[_i1271]); } xfer += iprot->readListEnd(); } @@ -26714,14 +26714,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1264; - ::apache::thrift::protocol::TType _etype1267; - xfer += iprot->readListBegin(_etype1267, _size1264); - this->success.resize(_size1264); - uint32_t _i1268; - for (_i1268 = 0; _i1268 < _size1264; ++_i1268) + uint32_t _size1272; + ::apache::thrift::protocol::TType _etype1275; + xfer += iprot->readListBegin(_etype1275, _size1272); + this->success.resize(_size1272); + uint32_t _i1276; + for (_i1276 = 0; _i1276 < _size1272; ++_i1276) { - xfer += iprot->readString(this->success[_i1268]); + xfer += iprot->readString(this->success[_i1276]); } xfer += iprot->readListEnd(); } @@ -26760,10 +26760,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 _iter1269; - for (_iter1269 = this->success.begin(); _iter1269 != this->success.end(); ++_iter1269) + std::vector ::const_iterator _iter1277; + for (_iter1277 = this->success.begin(); _iter1277 != this->success.end(); ++_iter1277) { - xfer += oprot->writeString((*_iter1269)); + xfer += oprot->writeString((*_iter1277)); } xfer += oprot->writeListEnd(); } @@ -26808,14 +26808,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1278; + ::apache::thrift::protocol::TType _etype1281; + xfer += iprot->readListBegin(_etype1281, _size1278); + (*(this->success)).resize(_size1278); + uint32_t _i1282; + for (_i1282 = 0; _i1282 < _size1278; ++_i1282) { - xfer += iprot->readString((*(this->success))[_i1274]); + xfer += iprot->readString((*(this->success))[_i1282]); } xfer += iprot->readListEnd(); } @@ -26888,9 +26888,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T 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); @@ -26906,9 +26906,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1276; - xfer += iprot->readI32(ecast1276); - this->grantorType = (PrincipalType::type)ecast1276; + int32_t ecast1284; + xfer += iprot->readI32(ecast1284); + this->grantorType = (PrincipalType::type)ecast1284; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -27179,9 +27179,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1277; - xfer += iprot->readI32(ecast1277); - this->principal_type = (PrincipalType::type)ecast1277; + int32_t ecast1285; + xfer += iprot->readI32(ecast1285); + this->principal_type = (PrincipalType::type)ecast1285; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -27412,9 +27412,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1278; - xfer += iprot->readI32(ecast1278); - this->principal_type = (PrincipalType::type)ecast1278; + int32_t ecast1286; + xfer += iprot->readI32(ecast1286); + this->principal_type = (PrincipalType::type)ecast1286; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -27503,14 +27503,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1279; - ::apache::thrift::protocol::TType _etype1282; - xfer += iprot->readListBegin(_etype1282, _size1279); - this->success.resize(_size1279); - uint32_t _i1283; - for (_i1283 = 0; _i1283 < _size1279; ++_i1283) + uint32_t _size1287; + ::apache::thrift::protocol::TType _etype1290; + xfer += iprot->readListBegin(_etype1290, _size1287); + this->success.resize(_size1287); + uint32_t _i1291; + for (_i1291 = 0; _i1291 < _size1287; ++_i1291) { - xfer += this->success[_i1283].read(iprot); + xfer += this->success[_i1291].read(iprot); } xfer += iprot->readListEnd(); } @@ -27549,10 +27549,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 _iter1284; - for (_iter1284 = this->success.begin(); _iter1284 != this->success.end(); ++_iter1284) + std::vector ::const_iterator _iter1292; + for (_iter1292 = this->success.begin(); _iter1292 != this->success.end(); ++_iter1292) { - xfer += (*_iter1284).write(oprot); + xfer += (*_iter1292).write(oprot); } xfer += oprot->writeListEnd(); } @@ -27597,14 +27597,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1293; + ::apache::thrift::protocol::TType _etype1296; + xfer += iprot->readListBegin(_etype1296, _size1293); + (*(this->success)).resize(_size1293); + uint32_t _i1297; + for (_i1297 = 0; _i1297 < _size1293; ++_i1297) { - xfer += (*(this->success))[_i1289].read(iprot); + xfer += (*(this->success))[_i1297].read(iprot); } xfer += iprot->readListEnd(); } @@ -28300,14 +28300,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 _size1290; - ::apache::thrift::protocol::TType _etype1293; - xfer += iprot->readListBegin(_etype1293, _size1290); - this->group_names.resize(_size1290); - uint32_t _i1294; - for (_i1294 = 0; _i1294 < _size1290; ++_i1294) + uint32_t _size1298; + ::apache::thrift::protocol::TType _etype1301; + xfer += iprot->readListBegin(_etype1301, _size1298); + this->group_names.resize(_size1298); + uint32_t _i1302; + for (_i1302 = 0; _i1302 < _size1298; ++_i1302) { - xfer += iprot->readString(this->group_names[_i1294]); + xfer += iprot->readString(this->group_names[_i1302]); } xfer += iprot->readListEnd(); } @@ -28344,10 +28344,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 _iter1295; - for (_iter1295 = this->group_names.begin(); _iter1295 != this->group_names.end(); ++_iter1295) + std::vector ::const_iterator _iter1303; + for (_iter1303 = this->group_names.begin(); _iter1303 != this->group_names.end(); ++_iter1303) { - xfer += oprot->writeString((*_iter1295)); + xfer += oprot->writeString((*_iter1303)); } xfer += oprot->writeListEnd(); } @@ -28379,10 +28379,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 _iter1296; - for (_iter1296 = (*(this->group_names)).begin(); _iter1296 != (*(this->group_names)).end(); ++_iter1296) + std::vector ::const_iterator _iter1304; + for (_iter1304 = (*(this->group_names)).begin(); _iter1304 != (*(this->group_names)).end(); ++_iter1304) { - xfer += oprot->writeString((*_iter1296)); + xfer += oprot->writeString((*_iter1304)); } xfer += oprot->writeListEnd(); } @@ -28557,9 +28557,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1297; - xfer += iprot->readI32(ecast1297); - this->principal_type = (PrincipalType::type)ecast1297; + int32_t ecast1305; + xfer += iprot->readI32(ecast1305); + this->principal_type = (PrincipalType::type)ecast1305; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -28664,14 +28664,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1298; - ::apache::thrift::protocol::TType _etype1301; - xfer += iprot->readListBegin(_etype1301, _size1298); - this->success.resize(_size1298); - uint32_t _i1302; - for (_i1302 = 0; _i1302 < _size1298; ++_i1302) + uint32_t _size1306; + ::apache::thrift::protocol::TType _etype1309; + xfer += iprot->readListBegin(_etype1309, _size1306); + this->success.resize(_size1306); + uint32_t _i1310; + for (_i1310 = 0; _i1310 < _size1306; ++_i1310) { - xfer += this->success[_i1302].read(iprot); + xfer += this->success[_i1310].read(iprot); } xfer += iprot->readListEnd(); } @@ -28710,10 +28710,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 _iter1303; - for (_iter1303 = this->success.begin(); _iter1303 != this->success.end(); ++_iter1303) + std::vector ::const_iterator _iter1311; + for (_iter1311 = this->success.begin(); _iter1311 != this->success.end(); ++_iter1311) { - xfer += (*_iter1303).write(oprot); + xfer += (*_iter1311).write(oprot); } xfer += oprot->writeListEnd(); } @@ -28758,14 +28758,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1312; + ::apache::thrift::protocol::TType _etype1315; + xfer += iprot->readListBegin(_etype1315, _size1312); + (*(this->success)).resize(_size1312); + uint32_t _i1316; + for (_i1316 = 0; _i1316 < _size1312; ++_i1316) { - xfer += (*(this->success))[_i1308].read(iprot); + xfer += (*(this->success))[_i1316].read(iprot); } xfer += iprot->readListEnd(); } @@ -29453,14 +29453,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 _size1309; - ::apache::thrift::protocol::TType _etype1312; - xfer += iprot->readListBegin(_etype1312, _size1309); - this->group_names.resize(_size1309); - uint32_t _i1313; - for (_i1313 = 0; _i1313 < _size1309; ++_i1313) + uint32_t _size1317; + ::apache::thrift::protocol::TType _etype1320; + xfer += iprot->readListBegin(_etype1320, _size1317); + this->group_names.resize(_size1317); + uint32_t _i1321; + for (_i1321 = 0; _i1321 < _size1317; ++_i1321) { - xfer += iprot->readString(this->group_names[_i1313]); + xfer += iprot->readString(this->group_names[_i1321]); } xfer += iprot->readListEnd(); } @@ -29493,10 +29493,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 _iter1314; - for (_iter1314 = this->group_names.begin(); _iter1314 != this->group_names.end(); ++_iter1314) + std::vector ::const_iterator _iter1322; + for (_iter1322 = this->group_names.begin(); _iter1322 != this->group_names.end(); ++_iter1322) { - xfer += oprot->writeString((*_iter1314)); + xfer += oprot->writeString((*_iter1322)); } xfer += oprot->writeListEnd(); } @@ -29524,10 +29524,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 _iter1315; - for (_iter1315 = (*(this->group_names)).begin(); _iter1315 != (*(this->group_names)).end(); ++_iter1315) + std::vector ::const_iterator _iter1323; + for (_iter1323 = (*(this->group_names)).begin(); _iter1323 != (*(this->group_names)).end(); ++_iter1323) { - xfer += oprot->writeString((*_iter1315)); + xfer += oprot->writeString((*_iter1323)); } xfer += oprot->writeListEnd(); } @@ -29568,14 +29568,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1316; - ::apache::thrift::protocol::TType _etype1319; - xfer += iprot->readListBegin(_etype1319, _size1316); - this->success.resize(_size1316); - uint32_t _i1320; - for (_i1320 = 0; _i1320 < _size1316; ++_i1320) + uint32_t _size1324; + ::apache::thrift::protocol::TType _etype1327; + xfer += iprot->readListBegin(_etype1327, _size1324); + this->success.resize(_size1324); + uint32_t _i1328; + for (_i1328 = 0; _i1328 < _size1324; ++_i1328) { - xfer += iprot->readString(this->success[_i1320]); + xfer += iprot->readString(this->success[_i1328]); } xfer += iprot->readListEnd(); } @@ -29614,10 +29614,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 _iter1321; - for (_iter1321 = this->success.begin(); _iter1321 != this->success.end(); ++_iter1321) + std::vector ::const_iterator _iter1329; + for (_iter1329 = this->success.begin(); _iter1329 != this->success.end(); ++_iter1329) { - xfer += oprot->writeString((*_iter1321)); + xfer += oprot->writeString((*_iter1329)); } xfer += oprot->writeListEnd(); } @@ -29662,14 +29662,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1330; + ::apache::thrift::protocol::TType _etype1333; + xfer += iprot->readListBegin(_etype1333, _size1330); + (*(this->success)).resize(_size1330); + uint32_t _i1334; + for (_i1334 = 0; _i1334 < _size1330; ++_i1334) { - xfer += iprot->readString((*(this->success))[_i1326]); + xfer += iprot->readString((*(this->success))[_i1334]); } xfer += iprot->readListEnd(); } @@ -30980,14 +30980,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1327; - ::apache::thrift::protocol::TType _etype1330; - xfer += iprot->readListBegin(_etype1330, _size1327); - this->success.resize(_size1327); - uint32_t _i1331; - for (_i1331 = 0; _i1331 < _size1327; ++_i1331) + uint32_t _size1335; + ::apache::thrift::protocol::TType _etype1338; + xfer += iprot->readListBegin(_etype1338, _size1335); + this->success.resize(_size1335); + uint32_t _i1339; + for (_i1339 = 0; _i1339 < _size1335; ++_i1339) { - xfer += iprot->readString(this->success[_i1331]); + xfer += iprot->readString(this->success[_i1339]); } xfer += iprot->readListEnd(); } @@ -31018,10 +31018,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 _iter1332; - for (_iter1332 = this->success.begin(); _iter1332 != this->success.end(); ++_iter1332) + std::vector ::const_iterator _iter1340; + for (_iter1340 = this->success.begin(); _iter1340 != this->success.end(); ++_iter1340) { - xfer += oprot->writeString((*_iter1332)); + xfer += oprot->writeString((*_iter1340)); } xfer += oprot->writeListEnd(); } @@ -31062,14 +31062,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1341; + ::apache::thrift::protocol::TType _etype1344; + xfer += iprot->readListBegin(_etype1344, _size1341); + (*(this->success)).resize(_size1341); + uint32_t _i1345; + for (_i1345 = 0; _i1345 < _size1341; ++_i1345) { - xfer += iprot->readString((*(this->success))[_i1337]); + xfer += iprot->readString((*(this->success))[_i1345]); } xfer += iprot->readListEnd(); } @@ -31795,14 +31795,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1338; - ::apache::thrift::protocol::TType _etype1341; - xfer += iprot->readListBegin(_etype1341, _size1338); - this->success.resize(_size1338); - uint32_t _i1342; - for (_i1342 = 0; _i1342 < _size1338; ++_i1342) + uint32_t _size1346; + ::apache::thrift::protocol::TType _etype1349; + xfer += iprot->readListBegin(_etype1349, _size1346); + this->success.resize(_size1346); + uint32_t _i1350; + for (_i1350 = 0; _i1350 < _size1346; ++_i1350) { - xfer += iprot->readString(this->success[_i1342]); + xfer += iprot->readString(this->success[_i1350]); } xfer += iprot->readListEnd(); } @@ -31833,10 +31833,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 _iter1343; - for (_iter1343 = this->success.begin(); _iter1343 != this->success.end(); ++_iter1343) + std::vector ::const_iterator _iter1351; + for (_iter1351 = this->success.begin(); _iter1351 != this->success.end(); ++_iter1351) { - xfer += oprot->writeString((*_iter1343)); + xfer += oprot->writeString((*_iter1351)); } xfer += oprot->writeListEnd(); } @@ -31877,14 +31877,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1352; + ::apache::thrift::protocol::TType _etype1355; + xfer += iprot->readListBegin(_etype1355, _size1352); + (*(this->success)).resize(_size1352); + uint32_t _i1356; + for (_i1356 = 0; _i1356 < _size1352; ++_i1356) { - xfer += iprot->readString((*(this->success))[_i1348]); + xfer += iprot->readString((*(this->success))[_i1356]); } xfer += iprot->readListEnd(); } @@ -32612,6 +32612,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() { } @@ -44546,6 +44733,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); @@ -53258,6 +53501,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; @@ -65982,6 +66281,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 11d3322..89b80b5 100644 --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h @@ -148,6 +148,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; @@ -603,6 +604,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; } @@ -16683,6 +16687,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; @@ -19172,6 +19280,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(); @@ -19368,6 +19479,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); @@ -19518,6 +19630,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; @@ -20778,6 +20891,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; @@ -21366,6 +21488,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 fa87e34..d64bcc0 100644 --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp @@ -652,6 +652,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 8da883d..508f666 100644 --- metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp +++ metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp @@ -12000,6 +12000,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 _size520; + ::apache::thrift::protocol::TType _etype523; + xfer += iprot->readListBegin(_etype523, _size520); + this->txn_ids.resize(_size520); + uint32_t _i524; + for (_i524 = 0; _i524 < _size520; ++_i524) + { + xfer += iprot->readI64(this->txn_ids[_i524]); + } + 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 _iter525; + for (_iter525 = this->txn_ids.begin(); _iter525 != this->txn_ids.end(); ++_iter525) + { + xfer += oprot->writeI64((*_iter525)); + } + 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& other526) { + txn_ids = other526.txn_ids; +} +AbortTxnsRequest& AbortTxnsRequest::operator=(const AbortTxnsRequest& other527) { + txn_ids = other527.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() { } @@ -12071,11 +12177,11 @@ void swap(CommitTxnRequest &a, CommitTxnRequest &b) { swap(a.txnid, b.txnid); } -CommitTxnRequest::CommitTxnRequest(const CommitTxnRequest& other520) { - txnid = other520.txnid; +CommitTxnRequest::CommitTxnRequest(const CommitTxnRequest& other528) { + txnid = other528.txnid; } -CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other521) { - txnid = other521.txnid; +CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other529) { + txnid = other529.txnid; return *this; } void CommitTxnRequest::printTo(std::ostream& out) const { @@ -12138,9 +12244,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast522; - xfer += iprot->readI32(ecast522); - this->type = (LockType::type)ecast522; + int32_t ecast530; + xfer += iprot->readI32(ecast530); + this->type = (LockType::type)ecast530; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -12148,9 +12254,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast523; - xfer += iprot->readI32(ecast523); - this->level = (LockLevel::type)ecast523; + int32_t ecast531; + xfer += iprot->readI32(ecast531); + this->level = (LockLevel::type)ecast531; isset_level = true; } else { xfer += iprot->skip(ftype); @@ -12240,21 +12346,21 @@ void swap(LockComponent &a, LockComponent &b) { swap(a.__isset, b.__isset); } -LockComponent::LockComponent(const LockComponent& other524) { - type = other524.type; - level = other524.level; - dbname = other524.dbname; - tablename = other524.tablename; - partitionname = other524.partitionname; - __isset = other524.__isset; -} -LockComponent& LockComponent::operator=(const LockComponent& other525) { - type = other525.type; - level = other525.level; - dbname = other525.dbname; - tablename = other525.tablename; - partitionname = other525.partitionname; - __isset = other525.__isset; +LockComponent::LockComponent(const LockComponent& other532) { + type = other532.type; + level = other532.level; + dbname = other532.dbname; + tablename = other532.tablename; + partitionname = other532.partitionname; + __isset = other532.__isset; +} +LockComponent& LockComponent::operator=(const LockComponent& other533) { + type = other533.type; + level = other533.level; + dbname = other533.dbname; + tablename = other533.tablename; + partitionname = other533.partitionname; + __isset = other533.__isset; return *this; } void LockComponent::printTo(std::ostream& out) const { @@ -12323,14 +12429,14 @@ uint32_t LockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->component.clear(); - uint32_t _size526; - ::apache::thrift::protocol::TType _etype529; - xfer += iprot->readListBegin(_etype529, _size526); - this->component.resize(_size526); - uint32_t _i530; - for (_i530 = 0; _i530 < _size526; ++_i530) + uint32_t _size534; + ::apache::thrift::protocol::TType _etype537; + xfer += iprot->readListBegin(_etype537, _size534); + this->component.resize(_size534); + uint32_t _i538; + for (_i538 = 0; _i538 < _size534; ++_i538) { - xfer += this->component[_i530].read(iprot); + xfer += this->component[_i538].read(iprot); } xfer += iprot->readListEnd(); } @@ -12397,10 +12503,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 _iter531; - for (_iter531 = this->component.begin(); _iter531 != this->component.end(); ++_iter531) + std::vector ::const_iterator _iter539; + for (_iter539 = this->component.begin(); _iter539 != this->component.end(); ++_iter539) { - xfer += (*_iter531).write(oprot); + xfer += (*_iter539).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12439,21 +12545,21 @@ void swap(LockRequest &a, LockRequest &b) { swap(a.__isset, b.__isset); } -LockRequest::LockRequest(const LockRequest& other532) { - component = other532.component; - txnid = other532.txnid; - user = other532.user; - hostname = other532.hostname; - agentInfo = other532.agentInfo; - __isset = other532.__isset; -} -LockRequest& LockRequest::operator=(const LockRequest& other533) { - component = other533.component; - txnid = other533.txnid; - user = other533.user; - hostname = other533.hostname; - agentInfo = other533.agentInfo; - __isset = other533.__isset; +LockRequest::LockRequest(const LockRequest& other540) { + component = other540.component; + txnid = other540.txnid; + user = other540.user; + hostname = other540.hostname; + agentInfo = other540.agentInfo; + __isset = other540.__isset; +} +LockRequest& LockRequest::operator=(const LockRequest& other541) { + component = other541.component; + txnid = other541.txnid; + user = other541.user; + hostname = other541.hostname; + agentInfo = other541.agentInfo; + __isset = other541.__isset; return *this; } void LockRequest::printTo(std::ostream& out) const { @@ -12513,9 +12619,9 @@ uint32_t LockResponse::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast534; - xfer += iprot->readI32(ecast534); - this->state = (LockState::type)ecast534; + int32_t ecast542; + xfer += iprot->readI32(ecast542); + this->state = (LockState::type)ecast542; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -12561,13 +12667,13 @@ void swap(LockResponse &a, LockResponse &b) { swap(a.state, b.state); } -LockResponse::LockResponse(const LockResponse& other535) { - lockid = other535.lockid; - state = other535.state; +LockResponse::LockResponse(const LockResponse& other543) { + lockid = other543.lockid; + state = other543.state; } -LockResponse& LockResponse::operator=(const LockResponse& other536) { - lockid = other536.lockid; - state = other536.state; +LockResponse& LockResponse::operator=(const LockResponse& other544) { + lockid = other544.lockid; + state = other544.state; return *this; } void LockResponse::printTo(std::ostream& out) const { @@ -12689,17 +12795,17 @@ void swap(CheckLockRequest &a, CheckLockRequest &b) { swap(a.__isset, b.__isset); } -CheckLockRequest::CheckLockRequest(const CheckLockRequest& other537) { - lockid = other537.lockid; - txnid = other537.txnid; - elapsed_ms = other537.elapsed_ms; - __isset = other537.__isset; +CheckLockRequest::CheckLockRequest(const CheckLockRequest& other545) { + lockid = other545.lockid; + txnid = other545.txnid; + elapsed_ms = other545.elapsed_ms; + __isset = other545.__isset; } -CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other538) { - lockid = other538.lockid; - txnid = other538.txnid; - elapsed_ms = other538.elapsed_ms; - __isset = other538.__isset; +CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other546) { + lockid = other546.lockid; + txnid = other546.txnid; + elapsed_ms = other546.elapsed_ms; + __isset = other546.__isset; return *this; } void CheckLockRequest::printTo(std::ostream& out) const { @@ -12783,11 +12889,11 @@ void swap(UnlockRequest &a, UnlockRequest &b) { swap(a.lockid, b.lockid); } -UnlockRequest::UnlockRequest(const UnlockRequest& other539) { - lockid = other539.lockid; +UnlockRequest::UnlockRequest(const UnlockRequest& other547) { + lockid = other547.lockid; } -UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other540) { - lockid = other540.lockid; +UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other548) { + lockid = other548.lockid; return *this; } void UnlockRequest::printTo(std::ostream& out) const { @@ -12926,19 +13032,19 @@ void swap(ShowLocksRequest &a, ShowLocksRequest &b) { swap(a.__isset, b.__isset); } -ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other541) { - dbname = other541.dbname; - tablename = other541.tablename; - partname = other541.partname; - isExtended = other541.isExtended; - __isset = other541.__isset; +ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other549) { + dbname = other549.dbname; + tablename = other549.tablename; + partname = other549.partname; + isExtended = other549.isExtended; + __isset = other549.__isset; } -ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other542) { - dbname = other542.dbname; - tablename = other542.tablename; - partname = other542.partname; - isExtended = other542.isExtended; - __isset = other542.__isset; +ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other550) { + dbname = other550.dbname; + tablename = other550.tablename; + partname = other550.partname; + isExtended = other550.isExtended; + __isset = other550.__isset; return *this; } void ShowLocksRequest::printTo(std::ostream& out) const { @@ -13091,9 +13197,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast543; - xfer += iprot->readI32(ecast543); - this->state = (LockState::type)ecast543; + int32_t ecast551; + xfer += iprot->readI32(ecast551); + this->state = (LockState::type)ecast551; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -13101,9 +13207,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast544; - xfer += iprot->readI32(ecast544); - this->type = (LockType::type)ecast544; + int32_t ecast552; + xfer += iprot->readI32(ecast552); + this->type = (LockType::type)ecast552; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -13319,43 +13425,43 @@ void swap(ShowLocksResponseElement &a, ShowLocksResponseElement &b) { swap(a.__isset, b.__isset); } -ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other545) { - lockid = other545.lockid; - dbname = other545.dbname; - tablename = other545.tablename; - partname = other545.partname; - state = other545.state; - type = other545.type; - txnid = other545.txnid; - lastheartbeat = other545.lastheartbeat; - acquiredat = other545.acquiredat; - user = other545.user; - hostname = other545.hostname; - heartbeatCount = other545.heartbeatCount; - agentInfo = other545.agentInfo; - blockedByExtId = other545.blockedByExtId; - blockedByIntId = other545.blockedByIntId; - lockIdInternal = other545.lockIdInternal; - __isset = other545.__isset; +ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other553) { + lockid = other553.lockid; + dbname = other553.dbname; + tablename = other553.tablename; + partname = other553.partname; + state = other553.state; + type = other553.type; + txnid = other553.txnid; + lastheartbeat = other553.lastheartbeat; + acquiredat = other553.acquiredat; + user = other553.user; + hostname = other553.hostname; + heartbeatCount = other553.heartbeatCount; + agentInfo = other553.agentInfo; + blockedByExtId = other553.blockedByExtId; + blockedByIntId = other553.blockedByIntId; + lockIdInternal = other553.lockIdInternal; + __isset = other553.__isset; } -ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other546) { - lockid = other546.lockid; - dbname = other546.dbname; - tablename = other546.tablename; - partname = other546.partname; - state = other546.state; - type = other546.type; - txnid = other546.txnid; - lastheartbeat = other546.lastheartbeat; - acquiredat = other546.acquiredat; - user = other546.user; - hostname = other546.hostname; - heartbeatCount = other546.heartbeatCount; - agentInfo = other546.agentInfo; - blockedByExtId = other546.blockedByExtId; - blockedByIntId = other546.blockedByIntId; - lockIdInternal = other546.lockIdInternal; - __isset = other546.__isset; +ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other554) { + lockid = other554.lockid; + dbname = other554.dbname; + tablename = other554.tablename; + partname = other554.partname; + state = other554.state; + type = other554.type; + txnid = other554.txnid; + lastheartbeat = other554.lastheartbeat; + acquiredat = other554.acquiredat; + user = other554.user; + hostname = other554.hostname; + heartbeatCount = other554.heartbeatCount; + agentInfo = other554.agentInfo; + blockedByExtId = other554.blockedByExtId; + blockedByIntId = other554.blockedByIntId; + lockIdInternal = other554.lockIdInternal; + __isset = other554.__isset; return *this; } void ShowLocksResponseElement::printTo(std::ostream& out) const { @@ -13414,14 +13520,14 @@ uint32_t ShowLocksResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->locks.clear(); - uint32_t _size547; - ::apache::thrift::protocol::TType _etype550; - xfer += iprot->readListBegin(_etype550, _size547); - this->locks.resize(_size547); - uint32_t _i551; - for (_i551 = 0; _i551 < _size547; ++_i551) + uint32_t _size555; + ::apache::thrift::protocol::TType _etype558; + xfer += iprot->readListBegin(_etype558, _size555); + this->locks.resize(_size555); + uint32_t _i559; + for (_i559 = 0; _i559 < _size555; ++_i559) { - xfer += this->locks[_i551].read(iprot); + xfer += this->locks[_i559].read(iprot); } xfer += iprot->readListEnd(); } @@ -13450,10 +13556,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 _iter552; - for (_iter552 = this->locks.begin(); _iter552 != this->locks.end(); ++_iter552) + std::vector ::const_iterator _iter560; + for (_iter560 = this->locks.begin(); _iter560 != this->locks.end(); ++_iter560) { - xfer += (*_iter552).write(oprot); + xfer += (*_iter560).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13470,13 +13576,13 @@ void swap(ShowLocksResponse &a, ShowLocksResponse &b) { swap(a.__isset, b.__isset); } -ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other553) { - locks = other553.locks; - __isset = other553.__isset; +ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other561) { + locks = other561.locks; + __isset = other561.__isset; } -ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other554) { - locks = other554.locks; - __isset = other554.__isset; +ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other562) { + locks = other562.locks; + __isset = other562.__isset; return *this; } void ShowLocksResponse::printTo(std::ostream& out) const { @@ -13577,15 +13683,15 @@ void swap(HeartbeatRequest &a, HeartbeatRequest &b) { swap(a.__isset, b.__isset); } -HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other555) { - lockid = other555.lockid; - txnid = other555.txnid; - __isset = other555.__isset; +HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other563) { + lockid = other563.lockid; + txnid = other563.txnid; + __isset = other563.__isset; } -HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other556) { - lockid = other556.lockid; - txnid = other556.txnid; - __isset = other556.__isset; +HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other564) { + lockid = other564.lockid; + txnid = other564.txnid; + __isset = other564.__isset; return *this; } void HeartbeatRequest::printTo(std::ostream& out) const { @@ -13688,13 +13794,13 @@ void swap(HeartbeatTxnRangeRequest &a, HeartbeatTxnRangeRequest &b) { swap(a.max, b.max); } -HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other557) { - min = other557.min; - max = other557.max; +HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other565) { + min = other565.min; + max = other565.max; } -HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other558) { - min = other558.min; - max = other558.max; +HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other566) { + min = other566.min; + max = other566.max; return *this; } void HeartbeatTxnRangeRequest::printTo(std::ostream& out) const { @@ -13745,15 +13851,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->aborted.clear(); - uint32_t _size559; - ::apache::thrift::protocol::TType _etype562; - xfer += iprot->readSetBegin(_etype562, _size559); - uint32_t _i563; - for (_i563 = 0; _i563 < _size559; ++_i563) + uint32_t _size567; + ::apache::thrift::protocol::TType _etype570; + xfer += iprot->readSetBegin(_etype570, _size567); + uint32_t _i571; + for (_i571 = 0; _i571 < _size567; ++_i571) { - int64_t _elem564; - xfer += iprot->readI64(_elem564); - this->aborted.insert(_elem564); + int64_t _elem572; + xfer += iprot->readI64(_elem572); + this->aborted.insert(_elem572); } xfer += iprot->readSetEnd(); } @@ -13766,15 +13872,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->nosuch.clear(); - uint32_t _size565; - ::apache::thrift::protocol::TType _etype568; - xfer += iprot->readSetBegin(_etype568, _size565); - uint32_t _i569; - for (_i569 = 0; _i569 < _size565; ++_i569) + uint32_t _size573; + ::apache::thrift::protocol::TType _etype576; + xfer += iprot->readSetBegin(_etype576, _size573); + uint32_t _i577; + for (_i577 = 0; _i577 < _size573; ++_i577) { - int64_t _elem570; - xfer += iprot->readI64(_elem570); - this->nosuch.insert(_elem570); + int64_t _elem578; + xfer += iprot->readI64(_elem578); + this->nosuch.insert(_elem578); } xfer += iprot->readSetEnd(); } @@ -13807,10 +13913,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 _iter571; - for (_iter571 = this->aborted.begin(); _iter571 != this->aborted.end(); ++_iter571) + std::set ::const_iterator _iter579; + for (_iter579 = this->aborted.begin(); _iter579 != this->aborted.end(); ++_iter579) { - xfer += oprot->writeI64((*_iter571)); + xfer += oprot->writeI64((*_iter579)); } xfer += oprot->writeSetEnd(); } @@ -13819,10 +13925,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 _iter572; - for (_iter572 = this->nosuch.begin(); _iter572 != this->nosuch.end(); ++_iter572) + std::set ::const_iterator _iter580; + for (_iter580 = this->nosuch.begin(); _iter580 != this->nosuch.end(); ++_iter580) { - xfer += oprot->writeI64((*_iter572)); + xfer += oprot->writeI64((*_iter580)); } xfer += oprot->writeSetEnd(); } @@ -13839,13 +13945,13 @@ void swap(HeartbeatTxnRangeResponse &a, HeartbeatTxnRangeResponse &b) { swap(a.nosuch, b.nosuch); } -HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other573) { - aborted = other573.aborted; - nosuch = other573.nosuch; +HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other581) { + aborted = other581.aborted; + nosuch = other581.nosuch; } -HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other574) { - aborted = other574.aborted; - nosuch = other574.nosuch; +HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other582) { + aborted = other582.aborted; + nosuch = other582.nosuch; return *this; } void HeartbeatTxnRangeResponse::printTo(std::ostream& out) const { @@ -13933,9 +14039,9 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast575; - xfer += iprot->readI32(ecast575); - this->type = (CompactionType::type)ecast575; + int32_t ecast583; + xfer += iprot->readI32(ecast583); + this->type = (CompactionType::type)ecast583; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -14009,21 +14115,21 @@ void swap(CompactionRequest &a, CompactionRequest &b) { swap(a.__isset, b.__isset); } -CompactionRequest::CompactionRequest(const CompactionRequest& other576) { - dbname = other576.dbname; - tablename = other576.tablename; - partitionname = other576.partitionname; - type = other576.type; - runas = other576.runas; - __isset = other576.__isset; -} -CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other577) { - dbname = other577.dbname; - tablename = other577.tablename; - partitionname = other577.partitionname; - type = other577.type; - runas = other577.runas; - __isset = other577.__isset; +CompactionRequest::CompactionRequest(const CompactionRequest& other584) { + dbname = other584.dbname; + tablename = other584.tablename; + partitionname = other584.partitionname; + type = other584.type; + runas = other584.runas; + __isset = other584.__isset; +} +CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other585) { + dbname = other585.dbname; + tablename = other585.tablename; + partitionname = other585.partitionname; + type = other585.type; + runas = other585.runas; + __isset = other585.__isset; return *this; } void CompactionRequest::printTo(std::ostream& out) const { @@ -14086,11 +14192,11 @@ void swap(ShowCompactRequest &a, ShowCompactRequest &b) { (void) b; } -ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other578) { - (void) other578; +ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other586) { + (void) other586; } -ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other579) { - (void) other579; +ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other587) { + (void) other587; return *this; } void ShowCompactRequest::printTo(std::ostream& out) const { @@ -14211,9 +14317,9 @@ uint32_t ShowCompactResponseElement::read(::apache::thrift::protocol::TProtocol* break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast580; - xfer += iprot->readI32(ecast580); - this->type = (CompactionType::type)ecast580; + int32_t ecast588; + xfer += iprot->readI32(ecast588); + this->type = (CompactionType::type)ecast588; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -14386,35 +14492,35 @@ void swap(ShowCompactResponseElement &a, ShowCompactResponseElement &b) { swap(a.__isset, b.__isset); } -ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other581) { - dbname = other581.dbname; - tablename = other581.tablename; - partitionname = other581.partitionname; - type = other581.type; - state = other581.state; - workerid = other581.workerid; - start = other581.start; - runAs = other581.runAs; - hightestTxnId = other581.hightestTxnId; - metaInfo = other581.metaInfo; - endTime = other581.endTime; - hadoopJobId = other581.hadoopJobId; - __isset = other581.__isset; -} -ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other582) { - dbname = other582.dbname; - tablename = other582.tablename; - partitionname = other582.partitionname; - type = other582.type; - state = other582.state; - workerid = other582.workerid; - start = other582.start; - runAs = other582.runAs; - hightestTxnId = other582.hightestTxnId; - metaInfo = other582.metaInfo; - endTime = other582.endTime; - hadoopJobId = other582.hadoopJobId; - __isset = other582.__isset; +ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other589) { + dbname = other589.dbname; + tablename = other589.tablename; + partitionname = other589.partitionname; + type = other589.type; + state = other589.state; + workerid = other589.workerid; + start = other589.start; + runAs = other589.runAs; + hightestTxnId = other589.hightestTxnId; + metaInfo = other589.metaInfo; + endTime = other589.endTime; + hadoopJobId = other589.hadoopJobId; + __isset = other589.__isset; +} +ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other590) { + dbname = other590.dbname; + tablename = other590.tablename; + partitionname = other590.partitionname; + type = other590.type; + state = other590.state; + workerid = other590.workerid; + start = other590.start; + runAs = other590.runAs; + hightestTxnId = other590.hightestTxnId; + metaInfo = other590.metaInfo; + endTime = other590.endTime; + hadoopJobId = other590.hadoopJobId; + __isset = other590.__isset; return *this; } void ShowCompactResponseElement::printTo(std::ostream& out) const { @@ -14470,14 +14576,14 @@ uint32_t ShowCompactResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->compacts.clear(); - uint32_t _size583; - ::apache::thrift::protocol::TType _etype586; - xfer += iprot->readListBegin(_etype586, _size583); - this->compacts.resize(_size583); - uint32_t _i587; - for (_i587 = 0; _i587 < _size583; ++_i587) + uint32_t _size591; + ::apache::thrift::protocol::TType _etype594; + xfer += iprot->readListBegin(_etype594, _size591); + this->compacts.resize(_size591); + uint32_t _i595; + for (_i595 = 0; _i595 < _size591; ++_i595) { - xfer += this->compacts[_i587].read(iprot); + xfer += this->compacts[_i595].read(iprot); } xfer += iprot->readListEnd(); } @@ -14508,10 +14614,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 _iter588; - for (_iter588 = this->compacts.begin(); _iter588 != this->compacts.end(); ++_iter588) + std::vector ::const_iterator _iter596; + for (_iter596 = this->compacts.begin(); _iter596 != this->compacts.end(); ++_iter596) { - xfer += (*_iter588).write(oprot); + xfer += (*_iter596).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14527,11 +14633,11 @@ void swap(ShowCompactResponse &a, ShowCompactResponse &b) { swap(a.compacts, b.compacts); } -ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other589) { - compacts = other589.compacts; +ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other597) { + compacts = other597.compacts; } -ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other590) { - compacts = other590.compacts; +ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other598) { + compacts = other598.compacts; return *this; } void ShowCompactResponse::printTo(std::ostream& out) const { @@ -14615,14 +14721,14 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionnames.clear(); - uint32_t _size591; - ::apache::thrift::protocol::TType _etype594; - xfer += iprot->readListBegin(_etype594, _size591); - this->partitionnames.resize(_size591); - uint32_t _i595; - for (_i595 = 0; _i595 < _size591; ++_i595) + uint32_t _size599; + ::apache::thrift::protocol::TType _etype602; + xfer += iprot->readListBegin(_etype602, _size599); + this->partitionnames.resize(_size599); + uint32_t _i603; + for (_i603 = 0; _i603 < _size599; ++_i603) { - xfer += iprot->readString(this->partitionnames[_i595]); + xfer += iprot->readString(this->partitionnames[_i603]); } xfer += iprot->readListEnd(); } @@ -14671,10 +14777,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 _iter596; - for (_iter596 = this->partitionnames.begin(); _iter596 != this->partitionnames.end(); ++_iter596) + std::vector ::const_iterator _iter604; + for (_iter604 = this->partitionnames.begin(); _iter604 != this->partitionnames.end(); ++_iter604) { - xfer += oprot->writeString((*_iter596)); + xfer += oprot->writeString((*_iter604)); } xfer += oprot->writeListEnd(); } @@ -14693,17 +14799,17 @@ void swap(AddDynamicPartitions &a, AddDynamicPartitions &b) { swap(a.partitionnames, b.partitionnames); } -AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other597) { - txnid = other597.txnid; - dbname = other597.dbname; - tablename = other597.tablename; - partitionnames = other597.partitionnames; +AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other605) { + txnid = other605.txnid; + dbname = other605.dbname; + tablename = other605.tablename; + partitionnames = other605.partitionnames; } -AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other598) { - txnid = other598.txnid; - dbname = other598.dbname; - tablename = other598.tablename; - partitionnames = other598.partitionnames; +AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other606) { + txnid = other606.txnid; + dbname = other606.dbname; + tablename = other606.tablename; + partitionnames = other606.partitionnames; return *this; } void AddDynamicPartitions::printTo(std::ostream& out) const { @@ -14808,15 +14914,15 @@ void swap(NotificationEventRequest &a, NotificationEventRequest &b) { swap(a.__isset, b.__isset); } -NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other599) { - lastEvent = other599.lastEvent; - maxEvents = other599.maxEvents; - __isset = other599.__isset; +NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other607) { + lastEvent = other607.lastEvent; + maxEvents = other607.maxEvents; + __isset = other607.__isset; } -NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other600) { - lastEvent = other600.lastEvent; - maxEvents = other600.maxEvents; - __isset = other600.__isset; +NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other608) { + lastEvent = other608.lastEvent; + maxEvents = other608.maxEvents; + __isset = other608.__isset; return *this; } void NotificationEventRequest::printTo(std::ostream& out) const { @@ -14998,23 +15104,23 @@ void swap(NotificationEvent &a, NotificationEvent &b) { swap(a.__isset, b.__isset); } -NotificationEvent::NotificationEvent(const NotificationEvent& other601) { - eventId = other601.eventId; - eventTime = other601.eventTime; - eventType = other601.eventType; - dbName = other601.dbName; - tableName = other601.tableName; - message = other601.message; - __isset = other601.__isset; -} -NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other602) { - eventId = other602.eventId; - eventTime = other602.eventTime; - eventType = other602.eventType; - dbName = other602.dbName; - tableName = other602.tableName; - message = other602.message; - __isset = other602.__isset; +NotificationEvent::NotificationEvent(const NotificationEvent& other609) { + eventId = other609.eventId; + eventTime = other609.eventTime; + eventType = other609.eventType; + dbName = other609.dbName; + tableName = other609.tableName; + message = other609.message; + __isset = other609.__isset; +} +NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other610) { + eventId = other610.eventId; + eventTime = other610.eventTime; + eventType = other610.eventType; + dbName = other610.dbName; + tableName = other610.tableName; + message = other610.message; + __isset = other610.__isset; return *this; } void NotificationEvent::printTo(std::ostream& out) const { @@ -15064,14 +15170,14 @@ uint32_t NotificationEventResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->events.clear(); - uint32_t _size603; - ::apache::thrift::protocol::TType _etype606; - xfer += iprot->readListBegin(_etype606, _size603); - this->events.resize(_size603); - uint32_t _i607; - for (_i607 = 0; _i607 < _size603; ++_i607) + uint32_t _size611; + ::apache::thrift::protocol::TType _etype614; + xfer += iprot->readListBegin(_etype614, _size611); + this->events.resize(_size611); + uint32_t _i615; + for (_i615 = 0; _i615 < _size611; ++_i615) { - xfer += this->events[_i607].read(iprot); + xfer += this->events[_i615].read(iprot); } xfer += iprot->readListEnd(); } @@ -15102,10 +15208,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 _iter608; - for (_iter608 = this->events.begin(); _iter608 != this->events.end(); ++_iter608) + std::vector ::const_iterator _iter616; + for (_iter616 = this->events.begin(); _iter616 != this->events.end(); ++_iter616) { - xfer += (*_iter608).write(oprot); + xfer += (*_iter616).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15121,11 +15227,11 @@ void swap(NotificationEventResponse &a, NotificationEventResponse &b) { swap(a.events, b.events); } -NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other609) { - events = other609.events; +NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other617) { + events = other617.events; } -NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other610) { - events = other610.events; +NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other618) { + events = other618.events; return *this; } void NotificationEventResponse::printTo(std::ostream& out) const { @@ -15207,11 +15313,11 @@ void swap(CurrentNotificationEventId &a, CurrentNotificationEventId &b) { swap(a.eventId, b.eventId); } -CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other611) { - eventId = other611.eventId; +CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other619) { + eventId = other619.eventId; } -CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other612) { - eventId = other612.eventId; +CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other620) { + eventId = other620.eventId; return *this; } void CurrentNotificationEventId::printTo(std::ostream& out) const { @@ -15256,14 +15362,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAdded.clear(); - uint32_t _size613; - ::apache::thrift::protocol::TType _etype616; - xfer += iprot->readListBegin(_etype616, _size613); - this->filesAdded.resize(_size613); - uint32_t _i617; - for (_i617 = 0; _i617 < _size613; ++_i617) + uint32_t _size621; + ::apache::thrift::protocol::TType _etype624; + xfer += iprot->readListBegin(_etype624, _size621); + this->filesAdded.resize(_size621); + uint32_t _i625; + for (_i625 = 0; _i625 < _size621; ++_i625) { - xfer += iprot->readString(this->filesAdded[_i617]); + xfer += iprot->readString(this->filesAdded[_i625]); } xfer += iprot->readListEnd(); } @@ -15294,10 +15400,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 _iter618; - for (_iter618 = this->filesAdded.begin(); _iter618 != this->filesAdded.end(); ++_iter618) + std::vector ::const_iterator _iter626; + for (_iter626 = this->filesAdded.begin(); _iter626 != this->filesAdded.end(); ++_iter626) { - xfer += oprot->writeString((*_iter618)); + xfer += oprot->writeString((*_iter626)); } xfer += oprot->writeListEnd(); } @@ -15313,11 +15419,11 @@ void swap(InsertEventRequestData &a, InsertEventRequestData &b) { swap(a.filesAdded, b.filesAdded); } -InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other619) { - filesAdded = other619.filesAdded; +InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other627) { + filesAdded = other627.filesAdded; } -InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other620) { - filesAdded = other620.filesAdded; +InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other628) { + filesAdded = other628.filesAdded; return *this; } void InsertEventRequestData::printTo(std::ostream& out) const { @@ -15397,13 +15503,13 @@ void swap(FireEventRequestData &a, FireEventRequestData &b) { swap(a.__isset, b.__isset); } -FireEventRequestData::FireEventRequestData(const FireEventRequestData& other621) { - insertData = other621.insertData; - __isset = other621.__isset; +FireEventRequestData::FireEventRequestData(const FireEventRequestData& other629) { + insertData = other629.insertData; + __isset = other629.__isset; } -FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other622) { - insertData = other622.insertData; - __isset = other622.__isset; +FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other630) { + insertData = other630.insertData; + __isset = other630.__isset; return *this; } void FireEventRequestData::printTo(std::ostream& out) const { @@ -15500,14 +15606,14 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionVals.clear(); - uint32_t _size623; - ::apache::thrift::protocol::TType _etype626; - xfer += iprot->readListBegin(_etype626, _size623); - this->partitionVals.resize(_size623); - uint32_t _i627; - for (_i627 = 0; _i627 < _size623; ++_i627) + uint32_t _size631; + ::apache::thrift::protocol::TType _etype634; + xfer += iprot->readListBegin(_etype634, _size631); + this->partitionVals.resize(_size631); + uint32_t _i635; + for (_i635 = 0; _i635 < _size631; ++_i635) { - xfer += iprot->readString(this->partitionVals[_i627]); + xfer += iprot->readString(this->partitionVals[_i635]); } xfer += iprot->readListEnd(); } @@ -15559,10 +15665,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 _iter628; - for (_iter628 = this->partitionVals.begin(); _iter628 != this->partitionVals.end(); ++_iter628) + std::vector ::const_iterator _iter636; + for (_iter636 = this->partitionVals.begin(); _iter636 != this->partitionVals.end(); ++_iter636) { - xfer += oprot->writeString((*_iter628)); + xfer += oprot->writeString((*_iter636)); } xfer += oprot->writeListEnd(); } @@ -15583,21 +15689,21 @@ void swap(FireEventRequest &a, FireEventRequest &b) { swap(a.__isset, b.__isset); } -FireEventRequest::FireEventRequest(const FireEventRequest& other629) { - successful = other629.successful; - data = other629.data; - dbName = other629.dbName; - tableName = other629.tableName; - partitionVals = other629.partitionVals; - __isset = other629.__isset; +FireEventRequest::FireEventRequest(const FireEventRequest& other637) { + successful = other637.successful; + data = other637.data; + dbName = other637.dbName; + tableName = other637.tableName; + partitionVals = other637.partitionVals; + __isset = other637.__isset; } -FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other630) { - successful = other630.successful; - data = other630.data; - dbName = other630.dbName; - tableName = other630.tableName; - partitionVals = other630.partitionVals; - __isset = other630.__isset; +FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other638) { + successful = other638.successful; + data = other638.data; + dbName = other638.dbName; + tableName = other638.tableName; + partitionVals = other638.partitionVals; + __isset = other638.__isset; return *this; } void FireEventRequest::printTo(std::ostream& out) const { @@ -15660,11 +15766,11 @@ void swap(FireEventResponse &a, FireEventResponse &b) { (void) b; } -FireEventResponse::FireEventResponse(const FireEventResponse& other631) { - (void) other631; +FireEventResponse::FireEventResponse(const FireEventResponse& other639) { + (void) other639; } -FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other632) { - (void) other632; +FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other640) { + (void) other640; return *this; } void FireEventResponse::printTo(std::ostream& out) const { @@ -15745,11 +15851,11 @@ void swap(GetChangeVersionRequest &a, GetChangeVersionRequest &b) { swap(a.topic, b.topic); } -GetChangeVersionRequest::GetChangeVersionRequest(const GetChangeVersionRequest& other633) { - topic = other633.topic; +GetChangeVersionRequest::GetChangeVersionRequest(const GetChangeVersionRequest& other641) { + topic = other641.topic; } -GetChangeVersionRequest& GetChangeVersionRequest::operator=(const GetChangeVersionRequest& other634) { - topic = other634.topic; +GetChangeVersionRequest& GetChangeVersionRequest::operator=(const GetChangeVersionRequest& other642) { + topic = other642.topic; return *this; } void GetChangeVersionRequest::printTo(std::ostream& out) const { @@ -15831,11 +15937,11 @@ void swap(GetChangeVersionResult &a, GetChangeVersionResult &b) { swap(a.version, b.version); } -GetChangeVersionResult::GetChangeVersionResult(const GetChangeVersionResult& other635) { - version = other635.version; +GetChangeVersionResult::GetChangeVersionResult(const GetChangeVersionResult& other643) { + version = other643.version; } -GetChangeVersionResult& GetChangeVersionResult::operator=(const GetChangeVersionResult& other636) { - version = other636.version; +GetChangeVersionResult& GetChangeVersionResult::operator=(const GetChangeVersionResult& other644) { + version = other644.version; return *this; } void GetChangeVersionResult::printTo(std::ostream& out) const { @@ -15936,15 +16042,15 @@ void swap(MetadataPpdResult &a, MetadataPpdResult &b) { swap(a.__isset, b.__isset); } -MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other637) { - metadata = other637.metadata; - includeBitset = other637.includeBitset; - __isset = other637.__isset; +MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other645) { + metadata = other645.metadata; + includeBitset = other645.includeBitset; + __isset = other645.__isset; } -MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other638) { - metadata = other638.metadata; - includeBitset = other638.includeBitset; - __isset = other638.__isset; +MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other646) { + metadata = other646.metadata; + includeBitset = other646.includeBitset; + __isset = other646.__isset; return *this; } void MetadataPpdResult::printTo(std::ostream& out) const { @@ -15995,17 +16101,17 @@ uint32_t GetFileMetadataByExprResult::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size639; - ::apache::thrift::protocol::TType _ktype640; - ::apache::thrift::protocol::TType _vtype641; - xfer += iprot->readMapBegin(_ktype640, _vtype641, _size639); - uint32_t _i643; - for (_i643 = 0; _i643 < _size639; ++_i643) + uint32_t _size647; + ::apache::thrift::protocol::TType _ktype648; + ::apache::thrift::protocol::TType _vtype649; + xfer += iprot->readMapBegin(_ktype648, _vtype649, _size647); + uint32_t _i651; + for (_i651 = 0; _i651 < _size647; ++_i651) { - int64_t _key644; - xfer += iprot->readI64(_key644); - MetadataPpdResult& _val645 = this->metadata[_key644]; - xfer += _val645.read(iprot); + int64_t _key652; + xfer += iprot->readI64(_key652); + MetadataPpdResult& _val653 = this->metadata[_key652]; + xfer += _val653.read(iprot); } xfer += iprot->readMapEnd(); } @@ -16046,11 +16152,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 _iter646; - for (_iter646 = this->metadata.begin(); _iter646 != this->metadata.end(); ++_iter646) + std::map ::const_iterator _iter654; + for (_iter654 = this->metadata.begin(); _iter654 != this->metadata.end(); ++_iter654) { - xfer += oprot->writeI64(_iter646->first); - xfer += _iter646->second.write(oprot); + xfer += oprot->writeI64(_iter654->first); + xfer += _iter654->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -16071,13 +16177,13 @@ void swap(GetFileMetadataByExprResult &a, GetFileMetadataByExprResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other647) { - metadata = other647.metadata; - isSupported = other647.isSupported; +GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other655) { + metadata = other655.metadata; + isSupported = other655.isSupported; } -GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other648) { - metadata = other648.metadata; - isSupported = other648.isSupported; +GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other656) { + metadata = other656.metadata; + isSupported = other656.isSupported; return *this; } void GetFileMetadataByExprResult::printTo(std::ostream& out) const { @@ -16138,14 +16244,14 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size649; - ::apache::thrift::protocol::TType _etype652; - xfer += iprot->readListBegin(_etype652, _size649); - this->fileIds.resize(_size649); - uint32_t _i653; - for (_i653 = 0; _i653 < _size649; ++_i653) + uint32_t _size657; + ::apache::thrift::protocol::TType _etype660; + xfer += iprot->readListBegin(_etype660, _size657); + this->fileIds.resize(_size657); + uint32_t _i661; + for (_i661 = 0; _i661 < _size657; ++_i661) { - xfer += iprot->readI64(this->fileIds[_i653]); + xfer += iprot->readI64(this->fileIds[_i661]); } xfer += iprot->readListEnd(); } @@ -16172,9 +16278,9 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast654; - xfer += iprot->readI32(ecast654); - this->type = (FileMetadataExprType::type)ecast654; + int32_t ecast662; + xfer += iprot->readI32(ecast662); + this->type = (FileMetadataExprType::type)ecast662; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -16204,10 +16310,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 _iter655; - for (_iter655 = this->fileIds.begin(); _iter655 != this->fileIds.end(); ++_iter655) + std::vector ::const_iterator _iter663; + for (_iter663 = this->fileIds.begin(); _iter663 != this->fileIds.end(); ++_iter663) { - xfer += oprot->writeI64((*_iter655)); + xfer += oprot->writeI64((*_iter663)); } xfer += oprot->writeListEnd(); } @@ -16241,19 +16347,19 @@ void swap(GetFileMetadataByExprRequest &a, GetFileMetadataByExprRequest &b) { swap(a.__isset, b.__isset); } -GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other656) { - fileIds = other656.fileIds; - expr = other656.expr; - doGetFooters = other656.doGetFooters; - type = other656.type; - __isset = other656.__isset; +GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other664) { + fileIds = other664.fileIds; + expr = other664.expr; + doGetFooters = other664.doGetFooters; + type = other664.type; + __isset = other664.__isset; } -GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other657) { - fileIds = other657.fileIds; - expr = other657.expr; - doGetFooters = other657.doGetFooters; - type = other657.type; - __isset = other657.__isset; +GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other665) { + fileIds = other665.fileIds; + expr = other665.expr; + doGetFooters = other665.doGetFooters; + type = other665.type; + __isset = other665.__isset; return *this; } void GetFileMetadataByExprRequest::printTo(std::ostream& out) const { @@ -16306,17 +16412,17 @@ uint32_t GetFileMetadataResult::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size658; - ::apache::thrift::protocol::TType _ktype659; - ::apache::thrift::protocol::TType _vtype660; - xfer += iprot->readMapBegin(_ktype659, _vtype660, _size658); - uint32_t _i662; - for (_i662 = 0; _i662 < _size658; ++_i662) + uint32_t _size666; + ::apache::thrift::protocol::TType _ktype667; + ::apache::thrift::protocol::TType _vtype668; + xfer += iprot->readMapBegin(_ktype667, _vtype668, _size666); + uint32_t _i670; + for (_i670 = 0; _i670 < _size666; ++_i670) { - int64_t _key663; - xfer += iprot->readI64(_key663); - std::string& _val664 = this->metadata[_key663]; - xfer += iprot->readBinary(_val664); + int64_t _key671; + xfer += iprot->readI64(_key671); + std::string& _val672 = this->metadata[_key671]; + xfer += iprot->readBinary(_val672); } xfer += iprot->readMapEnd(); } @@ -16357,11 +16463,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 _iter665; - for (_iter665 = this->metadata.begin(); _iter665 != this->metadata.end(); ++_iter665) + std::map ::const_iterator _iter673; + for (_iter673 = this->metadata.begin(); _iter673 != this->metadata.end(); ++_iter673) { - xfer += oprot->writeI64(_iter665->first); - xfer += oprot->writeBinary(_iter665->second); + xfer += oprot->writeI64(_iter673->first); + xfer += oprot->writeBinary(_iter673->second); } xfer += oprot->writeMapEnd(); } @@ -16382,13 +16488,13 @@ void swap(GetFileMetadataResult &a, GetFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other666) { - metadata = other666.metadata; - isSupported = other666.isSupported; +GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other674) { + metadata = other674.metadata; + isSupported = other674.isSupported; } -GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other667) { - metadata = other667.metadata; - isSupported = other667.isSupported; +GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other675) { + metadata = other675.metadata; + isSupported = other675.isSupported; return *this; } void GetFileMetadataResult::printTo(std::ostream& out) const { @@ -16434,14 +16540,14 @@ uint32_t GetFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size668; - ::apache::thrift::protocol::TType _etype671; - xfer += iprot->readListBegin(_etype671, _size668); - this->fileIds.resize(_size668); - uint32_t _i672; - for (_i672 = 0; _i672 < _size668; ++_i672) + 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) { - xfer += iprot->readI64(this->fileIds[_i672]); + xfer += iprot->readI64(this->fileIds[_i680]); } xfer += iprot->readListEnd(); } @@ -16472,10 +16578,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 _iter673; - for (_iter673 = this->fileIds.begin(); _iter673 != this->fileIds.end(); ++_iter673) + std::vector ::const_iterator _iter681; + for (_iter681 = this->fileIds.begin(); _iter681 != this->fileIds.end(); ++_iter681) { - xfer += oprot->writeI64((*_iter673)); + xfer += oprot->writeI64((*_iter681)); } xfer += oprot->writeListEnd(); } @@ -16491,11 +16597,11 @@ void swap(GetFileMetadataRequest &a, GetFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other674) { - fileIds = other674.fileIds; +GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other682) { + fileIds = other682.fileIds; } -GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other675) { - fileIds = other675.fileIds; +GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other683) { + fileIds = other683.fileIds; return *this; } void GetFileMetadataRequest::printTo(std::ostream& out) const { @@ -16554,11 +16660,11 @@ void swap(PutFileMetadataResult &a, PutFileMetadataResult &b) { (void) b; } -PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other676) { - (void) other676; +PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other684) { + (void) other684; } -PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other677) { - (void) other677; +PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other685) { + (void) other685; return *this; } void PutFileMetadataResult::printTo(std::ostream& out) const { @@ -16612,14 +16718,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size678; - ::apache::thrift::protocol::TType _etype681; - xfer += iprot->readListBegin(_etype681, _size678); - this->fileIds.resize(_size678); - uint32_t _i682; - for (_i682 = 0; _i682 < _size678; ++_i682) + uint32_t _size686; + ::apache::thrift::protocol::TType _etype689; + xfer += iprot->readListBegin(_etype689, _size686); + this->fileIds.resize(_size686); + uint32_t _i690; + for (_i690 = 0; _i690 < _size686; ++_i690) { - xfer += iprot->readI64(this->fileIds[_i682]); + xfer += iprot->readI64(this->fileIds[_i690]); } xfer += iprot->readListEnd(); } @@ -16632,14 +16738,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->metadata.clear(); - uint32_t _size683; - ::apache::thrift::protocol::TType _etype686; - xfer += iprot->readListBegin(_etype686, _size683); - this->metadata.resize(_size683); - uint32_t _i687; - for (_i687 = 0; _i687 < _size683; ++_i687) + uint32_t _size691; + ::apache::thrift::protocol::TType _etype694; + xfer += iprot->readListBegin(_etype694, _size691); + this->metadata.resize(_size691); + uint32_t _i695; + for (_i695 = 0; _i695 < _size691; ++_i695) { - xfer += iprot->readBinary(this->metadata[_i687]); + xfer += iprot->readBinary(this->metadata[_i695]); } xfer += iprot->readListEnd(); } @@ -16650,9 +16756,9 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast688; - xfer += iprot->readI32(ecast688); - this->type = (FileMetadataExprType::type)ecast688; + int32_t ecast696; + xfer += iprot->readI32(ecast696); + this->type = (FileMetadataExprType::type)ecast696; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -16682,10 +16788,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 _iter689; - for (_iter689 = this->fileIds.begin(); _iter689 != this->fileIds.end(); ++_iter689) + std::vector ::const_iterator _iter697; + for (_iter697 = this->fileIds.begin(); _iter697 != this->fileIds.end(); ++_iter697) { - xfer += oprot->writeI64((*_iter689)); + xfer += oprot->writeI64((*_iter697)); } xfer += oprot->writeListEnd(); } @@ -16694,10 +16800,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 _iter690; - for (_iter690 = this->metadata.begin(); _iter690 != this->metadata.end(); ++_iter690) + std::vector ::const_iterator _iter698; + for (_iter698 = this->metadata.begin(); _iter698 != this->metadata.end(); ++_iter698) { - xfer += oprot->writeBinary((*_iter690)); + xfer += oprot->writeBinary((*_iter698)); } xfer += oprot->writeListEnd(); } @@ -16721,17 +16827,17 @@ void swap(PutFileMetadataRequest &a, PutFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other691) { - fileIds = other691.fileIds; - metadata = other691.metadata; - type = other691.type; - __isset = other691.__isset; +PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other699) { + fileIds = other699.fileIds; + metadata = other699.metadata; + type = other699.type; + __isset = other699.__isset; } -PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other692) { - fileIds = other692.fileIds; - metadata = other692.metadata; - type = other692.type; - __isset = other692.__isset; +PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other700) { + fileIds = other700.fileIds; + metadata = other700.metadata; + type = other700.type; + __isset = other700.__isset; return *this; } void PutFileMetadataRequest::printTo(std::ostream& out) const { @@ -16792,11 +16898,11 @@ void swap(ClearFileMetadataResult &a, ClearFileMetadataResult &b) { (void) b; } -ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other693) { - (void) other693; +ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other701) { + (void) other701; } -ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other694) { - (void) other694; +ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other702) { + (void) other702; return *this; } void ClearFileMetadataResult::printTo(std::ostream& out) const { @@ -16840,14 +16946,14 @@ uint32_t ClearFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size695; - ::apache::thrift::protocol::TType _etype698; - xfer += iprot->readListBegin(_etype698, _size695); - this->fileIds.resize(_size695); - uint32_t _i699; - for (_i699 = 0; _i699 < _size695; ++_i699) + uint32_t _size703; + ::apache::thrift::protocol::TType _etype706; + xfer += iprot->readListBegin(_etype706, _size703); + this->fileIds.resize(_size703); + uint32_t _i707; + for (_i707 = 0; _i707 < _size703; ++_i707) { - xfer += iprot->readI64(this->fileIds[_i699]); + xfer += iprot->readI64(this->fileIds[_i707]); } xfer += iprot->readListEnd(); } @@ -16878,10 +16984,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 _iter700; - for (_iter700 = this->fileIds.begin(); _iter700 != this->fileIds.end(); ++_iter700) + std::vector ::const_iterator _iter708; + for (_iter708 = this->fileIds.begin(); _iter708 != this->fileIds.end(); ++_iter708) { - xfer += oprot->writeI64((*_iter700)); + xfer += oprot->writeI64((*_iter708)); } xfer += oprot->writeListEnd(); } @@ -16897,11 +17003,11 @@ void swap(ClearFileMetadataRequest &a, ClearFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other701) { - fileIds = other701.fileIds; +ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other709) { + fileIds = other709.fileIds; } -ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other702) { - fileIds = other702.fileIds; +ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other710) { + fileIds = other710.fileIds; return *this; } void ClearFileMetadataRequest::printTo(std::ostream& out) const { @@ -16983,11 +17089,11 @@ void swap(CacheFileMetadataResult &a, CacheFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other703) { - isSupported = other703.isSupported; +CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other711) { + isSupported = other711.isSupported; } -CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other704) { - isSupported = other704.isSupported; +CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other712) { + isSupported = other712.isSupported; return *this; } void CacheFileMetadataResult::printTo(std::ostream& out) const { @@ -17128,19 +17234,19 @@ void swap(CacheFileMetadataRequest &a, CacheFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other705) { - dbName = other705.dbName; - tblName = other705.tblName; - partName = other705.partName; - isAllParts = other705.isAllParts; - __isset = other705.__isset; +CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other713) { + dbName = other713.dbName; + tblName = other713.tblName; + partName = other713.partName; + isAllParts = other713.isAllParts; + __isset = other713.__isset; } -CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other706) { - dbName = other706.dbName; - tblName = other706.tblName; - partName = other706.partName; - isAllParts = other706.isAllParts; - __isset = other706.__isset; +CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other714) { + dbName = other714.dbName; + tblName = other714.tblName; + partName = other714.partName; + isAllParts = other714.isAllParts; + __isset = other714.__isset; return *this; } void CacheFileMetadataRequest::printTo(std::ostream& out) const { @@ -17188,14 +17294,14 @@ uint32_t GetAllFunctionsResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->functions.clear(); - uint32_t _size707; - ::apache::thrift::protocol::TType _etype710; - xfer += iprot->readListBegin(_etype710, _size707); - this->functions.resize(_size707); - uint32_t _i711; - for (_i711 = 0; _i711 < _size707; ++_i711) + uint32_t _size715; + ::apache::thrift::protocol::TType _etype718; + xfer += iprot->readListBegin(_etype718, _size715); + this->functions.resize(_size715); + uint32_t _i719; + for (_i719 = 0; _i719 < _size715; ++_i719) { - xfer += this->functions[_i711].read(iprot); + xfer += this->functions[_i719].read(iprot); } xfer += iprot->readListEnd(); } @@ -17225,10 +17331,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 _iter712; - for (_iter712 = this->functions.begin(); _iter712 != this->functions.end(); ++_iter712) + std::vector ::const_iterator _iter720; + for (_iter720 = this->functions.begin(); _iter720 != this->functions.end(); ++_iter720) { - xfer += (*_iter712).write(oprot); + xfer += (*_iter720).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17245,13 +17351,13 @@ void swap(GetAllFunctionsResponse &a, GetAllFunctionsResponse &b) { swap(a.__isset, b.__isset); } -GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other713) { - functions = other713.functions; - __isset = other713.__isset; +GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other721) { + functions = other721.functions; + __isset = other721.__isset; } -GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other714) { - functions = other714.functions; - __isset = other714.__isset; +GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other722) { + functions = other722.functions; + __isset = other722.__isset; return *this; } void GetAllFunctionsResponse::printTo(std::ostream& out) const { @@ -17393,19 +17499,19 @@ void swap(TableMeta &a, TableMeta &b) { swap(a.__isset, b.__isset); } -TableMeta::TableMeta(const TableMeta& other715) { - dbName = other715.dbName; - tableName = other715.tableName; - tableType = other715.tableType; - comments = other715.comments; - __isset = other715.__isset; +TableMeta::TableMeta(const TableMeta& other723) { + dbName = other723.dbName; + tableName = other723.tableName; + tableType = other723.tableType; + comments = other723.comments; + __isset = other723.__isset; } -TableMeta& TableMeta::operator=(const TableMeta& other716) { - dbName = other716.dbName; - tableName = other716.tableName; - tableType = other716.tableType; - comments = other716.comments; - __isset = other716.__isset; +TableMeta& TableMeta::operator=(const TableMeta& other724) { + dbName = other724.dbName; + tableName = other724.tableName; + tableType = other724.tableType; + comments = other724.comments; + __isset = other724.__isset; return *this; } void TableMeta::printTo(std::ostream& out) const { @@ -17488,13 +17594,13 @@ void swap(MetaException &a, MetaException &b) { swap(a.__isset, b.__isset); } -MetaException::MetaException(const MetaException& other717) : TException() { - message = other717.message; - __isset = other717.__isset; +MetaException::MetaException(const MetaException& other725) : TException() { + message = other725.message; + __isset = other725.__isset; } -MetaException& MetaException::operator=(const MetaException& other718) { - message = other718.message; - __isset = other718.__isset; +MetaException& MetaException::operator=(const MetaException& other726) { + message = other726.message; + __isset = other726.__isset; return *this; } void MetaException::printTo(std::ostream& out) const { @@ -17585,13 +17691,13 @@ void swap(UnknownTableException &a, UnknownTableException &b) { swap(a.__isset, b.__isset); } -UnknownTableException::UnknownTableException(const UnknownTableException& other719) : TException() { - message = other719.message; - __isset = other719.__isset; +UnknownTableException::UnknownTableException(const UnknownTableException& other727) : TException() { + message = other727.message; + __isset = other727.__isset; } -UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other720) { - message = other720.message; - __isset = other720.__isset; +UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other728) { + message = other728.message; + __isset = other728.__isset; return *this; } void UnknownTableException::printTo(std::ostream& out) const { @@ -17682,13 +17788,13 @@ void swap(UnknownDBException &a, UnknownDBException &b) { swap(a.__isset, b.__isset); } -UnknownDBException::UnknownDBException(const UnknownDBException& other721) : TException() { - message = other721.message; - __isset = other721.__isset; +UnknownDBException::UnknownDBException(const UnknownDBException& other729) : TException() { + message = other729.message; + __isset = other729.__isset; } -UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other722) { - message = other722.message; - __isset = other722.__isset; +UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other730) { + message = other730.message; + __isset = other730.__isset; return *this; } void UnknownDBException::printTo(std::ostream& out) const { @@ -17779,13 +17885,13 @@ void swap(AlreadyExistsException &a, AlreadyExistsException &b) { swap(a.__isset, b.__isset); } -AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other723) : TException() { - message = other723.message; - __isset = other723.__isset; +AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other731) : TException() { + message = other731.message; + __isset = other731.__isset; } -AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other724) { - message = other724.message; - __isset = other724.__isset; +AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other732) { + message = other732.message; + __isset = other732.__isset; return *this; } void AlreadyExistsException::printTo(std::ostream& out) const { @@ -17876,13 +17982,13 @@ void swap(InvalidPartitionException &a, InvalidPartitionException &b) { swap(a.__isset, b.__isset); } -InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other725) : TException() { - message = other725.message; - __isset = other725.__isset; +InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other733) : TException() { + message = other733.message; + __isset = other733.__isset; } -InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other726) { - message = other726.message; - __isset = other726.__isset; +InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other734) { + message = other734.message; + __isset = other734.__isset; return *this; } void InvalidPartitionException::printTo(std::ostream& out) const { @@ -17973,13 +18079,13 @@ void swap(UnknownPartitionException &a, UnknownPartitionException &b) { swap(a.__isset, b.__isset); } -UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other727) : TException() { - message = other727.message; - __isset = other727.__isset; +UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other735) : TException() { + message = other735.message; + __isset = other735.__isset; } -UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other728) { - message = other728.message; - __isset = other728.__isset; +UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other736) { + message = other736.message; + __isset = other736.__isset; return *this; } void UnknownPartitionException::printTo(std::ostream& out) const { @@ -18070,13 +18176,13 @@ void swap(InvalidObjectException &a, InvalidObjectException &b) { swap(a.__isset, b.__isset); } -InvalidObjectException::InvalidObjectException(const InvalidObjectException& other729) : TException() { - message = other729.message; - __isset = other729.__isset; +InvalidObjectException::InvalidObjectException(const InvalidObjectException& other737) : TException() { + message = other737.message; + __isset = other737.__isset; } -InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other730) { - message = other730.message; - __isset = other730.__isset; +InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other738) { + message = other738.message; + __isset = other738.__isset; return *this; } void InvalidObjectException::printTo(std::ostream& out) const { @@ -18167,13 +18273,13 @@ void swap(NoSuchObjectException &a, NoSuchObjectException &b) { swap(a.__isset, b.__isset); } -NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other731) : TException() { - message = other731.message; - __isset = other731.__isset; +NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other739) : TException() { + message = other739.message; + __isset = other739.__isset; } -NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other732) { - message = other732.message; - __isset = other732.__isset; +NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other740) { + message = other740.message; + __isset = other740.__isset; return *this; } void NoSuchObjectException::printTo(std::ostream& out) const { @@ -18264,13 +18370,13 @@ void swap(IndexAlreadyExistsException &a, IndexAlreadyExistsException &b) { swap(a.__isset, b.__isset); } -IndexAlreadyExistsException::IndexAlreadyExistsException(const IndexAlreadyExistsException& other733) : TException() { - message = other733.message; - __isset = other733.__isset; +IndexAlreadyExistsException::IndexAlreadyExistsException(const IndexAlreadyExistsException& other741) : TException() { + message = other741.message; + __isset = other741.__isset; } -IndexAlreadyExistsException& IndexAlreadyExistsException::operator=(const IndexAlreadyExistsException& other734) { - message = other734.message; - __isset = other734.__isset; +IndexAlreadyExistsException& IndexAlreadyExistsException::operator=(const IndexAlreadyExistsException& other742) { + message = other742.message; + __isset = other742.__isset; return *this; } void IndexAlreadyExistsException::printTo(std::ostream& out) const { @@ -18361,13 +18467,13 @@ void swap(InvalidOperationException &a, InvalidOperationException &b) { swap(a.__isset, b.__isset); } -InvalidOperationException::InvalidOperationException(const InvalidOperationException& other735) : TException() { - message = other735.message; - __isset = other735.__isset; +InvalidOperationException::InvalidOperationException(const InvalidOperationException& other743) : TException() { + message = other743.message; + __isset = other743.__isset; } -InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other736) { - message = other736.message; - __isset = other736.__isset; +InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other744) { + message = other744.message; + __isset = other744.__isset; return *this; } void InvalidOperationException::printTo(std::ostream& out) const { @@ -18458,13 +18564,13 @@ void swap(ConfigValSecurityException &a, ConfigValSecurityException &b) { swap(a.__isset, b.__isset); } -ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other737) : TException() { - message = other737.message; - __isset = other737.__isset; +ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other745) : TException() { + message = other745.message; + __isset = other745.__isset; } -ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other738) { - message = other738.message; - __isset = other738.__isset; +ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other746) { + message = other746.message; + __isset = other746.__isset; return *this; } void ConfigValSecurityException::printTo(std::ostream& out) const { @@ -18555,13 +18661,13 @@ void swap(InvalidInputException &a, InvalidInputException &b) { swap(a.__isset, b.__isset); } -InvalidInputException::InvalidInputException(const InvalidInputException& other739) : TException() { - message = other739.message; - __isset = other739.__isset; +InvalidInputException::InvalidInputException(const InvalidInputException& other747) : TException() { + message = other747.message; + __isset = other747.__isset; } -InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other740) { - message = other740.message; - __isset = other740.__isset; +InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other748) { + message = other748.message; + __isset = other748.__isset; return *this; } void InvalidInputException::printTo(std::ostream& out) const { @@ -18652,13 +18758,13 @@ void swap(NoSuchTxnException &a, NoSuchTxnException &b) { swap(a.__isset, b.__isset); } -NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other741) : TException() { - message = other741.message; - __isset = other741.__isset; +NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other749) : TException() { + message = other749.message; + __isset = other749.__isset; } -NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other742) { - message = other742.message; - __isset = other742.__isset; +NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other750) { + message = other750.message; + __isset = other750.__isset; return *this; } void NoSuchTxnException::printTo(std::ostream& out) const { @@ -18749,13 +18855,13 @@ void swap(TxnAbortedException &a, TxnAbortedException &b) { swap(a.__isset, b.__isset); } -TxnAbortedException::TxnAbortedException(const TxnAbortedException& other743) : TException() { - message = other743.message; - __isset = other743.__isset; +TxnAbortedException::TxnAbortedException(const TxnAbortedException& other751) : TException() { + message = other751.message; + __isset = other751.__isset; } -TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other744) { - message = other744.message; - __isset = other744.__isset; +TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other752) { + message = other752.message; + __isset = other752.__isset; return *this; } void TxnAbortedException::printTo(std::ostream& out) const { @@ -18846,13 +18952,13 @@ void swap(TxnOpenException &a, TxnOpenException &b) { swap(a.__isset, b.__isset); } -TxnOpenException::TxnOpenException(const TxnOpenException& other745) : TException() { - message = other745.message; - __isset = other745.__isset; +TxnOpenException::TxnOpenException(const TxnOpenException& other753) : TException() { + message = other753.message; + __isset = other753.__isset; } -TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other746) { - message = other746.message; - __isset = other746.__isset; +TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other754) { + message = other754.message; + __isset = other754.__isset; return *this; } void TxnOpenException::printTo(std::ostream& out) const { @@ -18943,13 +19049,13 @@ void swap(NoSuchLockException &a, NoSuchLockException &b) { swap(a.__isset, b.__isset); } -NoSuchLockException::NoSuchLockException(const NoSuchLockException& other747) : TException() { - message = other747.message; - __isset = other747.__isset; +NoSuchLockException::NoSuchLockException(const NoSuchLockException& other755) : TException() { + message = other755.message; + __isset = other755.__isset; } -NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other748) { - message = other748.message; - __isset = other748.__isset; +NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other756) { + message = other756.message; + __isset = other756.__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 d392f67..40fee6e 100644 --- metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h +++ metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h @@ -291,6 +291,8 @@ class OpenTxnsResponse; class AbortTxnRequest; +class AbortTxnsRequest; + class CommitTxnRequest; class LockComponent; @@ -4901,6 +4903,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 051c1f2..0e39ecc 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 @@ -294,6 +294,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; @@ -590,6 +592,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; @@ -4391,6 +4395,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); @@ -9412,6 +9439,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); @@ -10185,6 +10244,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"); @@ -14071,6 +14155,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"); @@ -28380,13 +28521,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(); } @@ -28421,9 +28562,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(); } @@ -28462,9 +28603,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); } } } @@ -28479,13 +28620,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); @@ -29139,13 +29280,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(); } @@ -29180,9 +29321,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(); } @@ -29221,9 +29362,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); } } } @@ -29238,13 +29379,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); @@ -33851,16 +33992,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(); } @@ -33895,10 +34036,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(); } @@ -33937,10 +34078,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); } } } @@ -33955,16 +34096,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); @@ -34999,14 +35140,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(); } @@ -35059,9 +35200,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(); } @@ -35116,9 +35257,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); } } } @@ -35139,14 +35280,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); @@ -36300,14 +36441,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(); } @@ -36360,9 +36501,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(); } @@ -36417,9 +36558,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); } } } @@ -36440,14 +36581,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); @@ -37492,14 +37633,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(); } @@ -37552,9 +37693,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(); } @@ -37609,9 +37750,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); } } } @@ -37632,14 +37773,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); @@ -38793,14 +38934,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(); } @@ -38853,9 +38994,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(); } @@ -38910,9 +39051,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); } } } @@ -38933,14 +39074,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); @@ -41665,14 +41806,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(); } @@ -41684,14 +41825,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(); } @@ -41722,9 +41863,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(); } @@ -41734,9 +41875,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(); } @@ -41776,18 +41917,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); } } } @@ -41804,28 +41945,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); @@ -45537,13 +45678,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(); } @@ -45578,9 +45719,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(); } @@ -45619,9 +45760,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); } } } @@ -45636,13 +45777,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); @@ -46147,13 +46288,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(); } @@ -46189,9 +46330,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(); } @@ -46234,9 +46375,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); } } } @@ -46256,13 +46397,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); @@ -46668,14 +46809,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(); } @@ -46710,9 +46851,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(); } @@ -46751,9 +46892,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); } } } @@ -46768,14 +46909,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); @@ -47541,13 +47682,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(); } @@ -47582,9 +47723,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(); } @@ -47623,9 +47764,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); } } } @@ -47640,13 +47781,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); @@ -49099,13 +49240,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(); } @@ -49136,9 +49277,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(); } @@ -49175,9 +49316,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); } } } @@ -49193,13 +49334,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); @@ -49767,14 +49908,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(); } @@ -49827,9 +49968,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(); } @@ -49884,9 +50025,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); } } } @@ -49907,14 +50048,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); @@ -51060,13 +51201,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(); } @@ -51119,9 +51260,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(); } @@ -51176,9 +51317,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); } } } @@ -51199,13 +51340,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); @@ -57064,14 +57205,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(); } @@ -57097,9 +57238,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(); } @@ -57130,9 +57271,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); } } } @@ -57144,14 +57285,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); @@ -58152,14 +58293,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(); } @@ -58185,9 +58326,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(); } @@ -58218,9 +58359,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); } } } @@ -58232,14 +58373,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); @@ -59415,13 +59556,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(); } @@ -59457,9 +59598,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(); } @@ -59502,9 +59643,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); } } } @@ -59524,13 +59665,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); @@ -61839,13 +61980,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(); } @@ -61890,9 +62031,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(); } @@ -61943,9 +62084,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); } } } @@ -61968,13 +62109,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); @@ -65844,13 +65985,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(); } @@ -65894,9 +66035,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(); } @@ -65945,9 +66086,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); } } } @@ -65970,13 +66111,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); @@ -67215,13 +67356,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(); } @@ -67274,9 +67415,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(); } @@ -67333,9 +67474,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); } } } @@ -67361,13 +67502,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); @@ -71969,13 +72110,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(); } @@ -72011,9 +72152,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(); } @@ -72056,9 +72197,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); } } } @@ -72078,13 +72219,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); @@ -73302,15 +73443,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(); } @@ -73368,10 +73509,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(); } @@ -73434,10 +73575,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()); } } } @@ -73461,15 +73602,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); @@ -74915,15 +75056,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(); } @@ -74981,10 +75122,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(); } @@ -75047,10 +75188,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()); } } } @@ -75074,15 +75215,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); @@ -75747,14 +75888,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(); } @@ -75816,9 +75957,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(); } @@ -75881,9 +76022,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); } } } @@ -75907,14 +76048,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); @@ -76613,13 +76754,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(); } @@ -76639,13 +76780,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(); } @@ -76681,9 +76822,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(); } @@ -76698,9 +76839,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(); } @@ -76749,9 +76890,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); } } } @@ -76761,9 +76902,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); } } } @@ -76783,13 +76924,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); @@ -76800,13 +76941,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); @@ -79575,14 +79716,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(); } @@ -79626,9 +79767,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(); } @@ -79675,9 +79816,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); } } } @@ -79695,14 +79836,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); @@ -80392,13 +80533,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(); } @@ -80442,9 +80583,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(); } @@ -80499,9 +80640,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); } } } @@ -80529,13 +80670,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); @@ -81022,14 +81163,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(); } @@ -81073,9 +81214,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(); } @@ -81122,9 +81263,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); } } } @@ -81142,14 +81283,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); @@ -82212,14 +82353,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(); } @@ -82263,9 +82404,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(); } @@ -82312,9 +82453,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); } } } @@ -82332,14 +82473,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); @@ -83318,13 +83459,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(); } @@ -83359,9 +83500,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(); } @@ -83400,9 +83541,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); } } } @@ -83417,13 +83558,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); @@ -84011,13 +84152,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(); } @@ -84061,9 +84202,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(); } @@ -84112,9 +84253,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); } } } @@ -84137,13 +84278,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); @@ -84634,14 +84775,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(); } @@ -84685,9 +84826,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(); } @@ -84734,9 +84875,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); } } } @@ -84754,14 +84895,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); @@ -85533,13 +85674,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(); } @@ -85567,13 +85708,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(); } @@ -85609,9 +85750,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(); } @@ -85629,9 +85770,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(); } @@ -85683,9 +85824,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); } } } @@ -85698,9 +85839,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); } } } @@ -85720,13 +85861,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); @@ -85741,13 +85882,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); @@ -86234,14 +86375,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(); } @@ -86285,9 +86426,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(); } @@ -86334,9 +86475,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); } } } @@ -86354,14 +86495,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); @@ -86954,13 +87095,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(); } @@ -87004,9 +87145,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(); } @@ -87055,9 +87196,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); } } } @@ -87080,13 +87221,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); @@ -87574,13 +87715,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(); } @@ -87624,9 +87765,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(); } @@ -87673,9 +87814,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); } } } @@ -87693,13 +87834,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); @@ -88866,14 +89007,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(); } @@ -88917,9 +89058,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(); } @@ -88966,9 +89107,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); } } } @@ -88986,14 +89127,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); @@ -90160,14 +90301,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(); } @@ -90211,9 +90352,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(); } @@ -90260,9 +90401,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); } } } @@ -90280,14 +90421,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); @@ -92871,13 +93012,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(); } @@ -92913,9 +93054,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(); } @@ -92958,9 +93099,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); } } } @@ -92980,13 +93121,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); @@ -93473,14 +93614,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(); } @@ -93524,9 +93665,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(); } @@ -93573,9 +93714,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); } } } @@ -93593,14 +93734,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); @@ -95150,14 +95291,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(); } @@ -95193,9 +95334,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(); } @@ -95238,9 +95379,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); } } } @@ -95260,14 +95401,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); @@ -96320,14 +96461,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(); } @@ -96372,9 +96513,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(); } @@ -96425,9 +96566,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); } } } @@ -96450,14 +96591,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); @@ -98658,13 +98799,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(); } @@ -98709,9 +98850,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(); } @@ -98762,9 +98903,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); } } } @@ -98787,13 +98928,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); @@ -99667,13 +99808,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(); } @@ -99707,9 +99848,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(); } @@ -99746,9 +99887,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); } } } @@ -99763,13 +99904,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); @@ -101924,13 +102065,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(); } @@ -101965,9 +102106,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(); } @@ -102006,9 +102147,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); } } } @@ -102023,13 +102164,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); @@ -102792,15 +102933,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(); } @@ -102835,10 +102976,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(); } @@ -102877,10 +103018,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()); } } } @@ -102895,15 +103036,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); @@ -103498,15 +103639,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(); } @@ -103550,10 +103691,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(); } @@ -103604,10 +103745,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()); } } } @@ -103630,15 +103771,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); @@ -105122,15 +105263,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(); } @@ -105174,10 +105315,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(); } @@ -105228,10 +105369,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()); } } } @@ -105254,15 +105395,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); @@ -111986,14 +112127,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(); } @@ -112037,9 +112178,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(); } @@ -112086,9 +112227,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); } } } @@ -112106,14 +112247,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); @@ -113092,13 +113233,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(); } @@ -113133,9 +113274,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(); } @@ -113174,9 +113315,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); } } } @@ -113191,13 +113332,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); @@ -130808,13 +130949,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(); } @@ -130849,9 +130990,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(); } @@ -130890,9 +131031,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); } } } @@ -130907,13 +131048,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); @@ -134968,13 +135109,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(); } @@ -135009,9 +135150,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(); } @@ -135050,9 +135191,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); } } } @@ -135067,13 +135208,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); @@ -138364,14 +138505,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(); } @@ -138406,9 +138547,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(); } @@ -138447,9 +138588,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); } } } @@ -138464,14 +138605,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); @@ -141476,13 +141617,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(); } @@ -141518,9 +141659,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(); } @@ -141563,9 +141704,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); } } } @@ -141586,13 +141727,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); @@ -143050,14 +143191,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(); } @@ -143092,9 +143233,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(); } @@ -143133,9 +143274,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); } } } @@ -143150,14 +143291,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); @@ -146059,13 +146200,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(); } @@ -146096,9 +146237,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(); } @@ -146135,9 +146276,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); } } } @@ -146153,13 +146294,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); @@ -146562,13 +146703,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(); } @@ -146603,9 +146744,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(); } @@ -146644,9 +146785,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); } } } @@ -146661,13 +146802,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); @@ -151958,13 +152099,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(); } @@ -151990,9 +152131,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(); } @@ -152023,9 +152164,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); } } } @@ -152037,13 +152178,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); @@ -153871,88 +154012,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(); } @@ -153964,8 +154764,6 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY_SEQ: - return isSetKey_seq(); } throw new IllegalStateException(); } @@ -153974,24 +154772,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; } @@ -153999,32 +154788,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; } @@ -154042,12 +154816,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(); } @@ -154067,23 +154838,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) @@ -154093,14 +154862,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); } @@ -154110,65 +154871,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 { @@ -154229,66 +154974,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) { @@ -154297,7 +155057,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((Boolean)value); + setSuccess((List)value); } break; @@ -154307,7 +155067,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return isSuccess(); + return getSuccess(); } throw new IllegalStateException(); @@ -154330,21 +155090,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; } @@ -154355,7 +155115,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); @@ -154364,7 +155124,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()); } @@ -154398,11 +155158,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(); @@ -154423,23 +155187,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) @@ -154450,8 +155212,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); @@ -154466,13 +155238,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(); @@ -154481,16 +155260,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()) { @@ -154498,16 +155277,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); } } @@ -154515,14 +155309,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()); } @@ -154585,20 +155379,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 @@ -154631,12 +155425,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; @@ -154651,7 +155445,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()); } @@ -154675,7 +155469,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(")"); @@ -154703,15 +155497,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) @@ -154730,7 +155524,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); @@ -154740,39 +155534,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 { @@ -154837,17 +155631,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; @@ -154856,15 +155649,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 @@ -154872,26 +155664,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; } @@ -154916,7 +155693,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((List)value); + setSuccess((GetOpenTxnsResponse)value); } break; @@ -154949,12 +155726,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; @@ -154983,7 +155760,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()); } @@ -155017,7 +155794,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:"); @@ -155034,6 +155811,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 { @@ -155052,15 +155832,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) @@ -155071,18 +155851,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); @@ -155097,20 +155868,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(); @@ -155119,16 +155883,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()) { @@ -155136,31 +155900,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); } } @@ -155168,14 +155918,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()); } @@ -155238,20 +155988,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 @@ -155284,12 +156034,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; @@ -155304,7 +156054,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()); } @@ -155328,7 +156078,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(")"); @@ -155356,15 +156106,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) @@ -155383,7 +156133,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); @@ -155393,39 +156143,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 { @@ -155490,16 +156240,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; @@ -155508,14 +156258,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 @@ -155523,11 +156273,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; } @@ -155552,7 +156302,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((GetOpenTxnsResponse)value); + setSuccess((GetOpenTxnsInfoResponse)value); } break; @@ -155585,12 +156335,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; @@ -155619,7 +156369,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()); } @@ -155653,7 +156403,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:"); @@ -155691,15 +156441,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) @@ -155711,7 +156461,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 { @@ -155727,7 +156477,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); @@ -155742,16 +156492,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()) { @@ -155764,11 +156514,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); } @@ -155777,20 +156527,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(); @@ -155805,6 +156557,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; } @@ -155843,37 +156597,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(); } @@ -155885,6 +156688,8 @@ public boolean isSet(_Fields field) { } switch (field) { + case RQST: + return isSetRqst(); } throw new IllegalStateException(); } @@ -155893,15 +156698,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; } @@ -155909,17 +156723,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; } @@ -155937,9 +156766,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(); } @@ -155947,6 +156783,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 { @@ -155965,15 +156804,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) @@ -155983,6 +156822,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); } @@ -155992,49 +156840,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 { @@ -156099,16 +156966,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; @@ -156117,14 +156984,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 @@ -156132,11 +156999,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; } @@ -156161,7 +157028,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((GetOpenTxnsInfoResponse)value); + setSuccess((OpenTxnsResponse)value); } break; @@ -156194,12 +157061,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; @@ -156228,7 +157095,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()); } @@ -156262,7 +157129,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:"); @@ -156300,15 +157167,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) @@ -156320,7 +157187,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 { @@ -156336,7 +157203,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); @@ -156351,16 +157218,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()) { @@ -156373,11 +157240,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); } @@ -156386,18 +157253,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 { @@ -156462,16 +157329,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; @@ -156480,14 +157347,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 @@ -156495,11 +157362,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; } @@ -156524,7 +157391,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRqst(); } else { - setRqst((OpenTxnRequest)value); + setRqst((AbortTxnRequest)value); } break; @@ -156557,12 +157424,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; @@ -156591,7 +157458,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()); } @@ -156625,7 +157492,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:"); @@ -156663,15 +157530,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) @@ -156683,7 +157550,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 { @@ -156699,7 +157566,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); @@ -156714,16 +157581,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()) { @@ -156736,11 +157603,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); } @@ -156749,22 +157616,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(); @@ -156779,8 +157646,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; } @@ -156824,70 +157691,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; @@ -156896,8 +157763,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(); @@ -156910,8 +157777,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case SUCCESS: - return isSetSuccess(); + case O1: + return isSetO1(); } throw new IllegalStateException(); } @@ -156920,21 +157787,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; } @@ -156945,28 +157812,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; } @@ -156988,14 +157855,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(")"); @@ -157005,9 +157872,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 { @@ -157026,15 +157890,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) @@ -157044,11 +157908,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); } @@ -157062,13 +157926,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(); @@ -157077,53 +157941,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 { @@ -157188,16 +158052,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; @@ -157206,14 +158070,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 @@ -157221,11 +158085,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; } @@ -157250,7 +158114,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRqst(); } else { - setRqst((AbortTxnRequest)value); + setRqst((AbortTxnsRequest)value); } break; @@ -157283,12 +158147,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; @@ -157317,7 +158181,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()); } @@ -157351,7 +158215,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:"); @@ -157389,15 +158253,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) @@ -157409,7 +158273,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 { @@ -157425,7 +158289,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); @@ -157440,16 +158304,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()) { @@ -157462,11 +158326,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); } @@ -157475,15 +158339,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 @@ -157553,13 +158417,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(); @@ -157569,14 +158433,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 @@ -157646,12 +158510,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; @@ -157680,7 +158544,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()); } @@ -157714,7 +158578,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:"); @@ -157749,15 +158613,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) @@ -157785,7 +158649,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); @@ -157800,16 +158664,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()) { @@ -157822,7 +158686,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 4f0c8fd..0cde000 100644 --- metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -1040,6 +1040,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 @@ -8419,6 +8424,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); @@ -10612,14 +10668,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 { @@ -10655,9 +10711,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(); @@ -10788,14 +10844,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 { @@ -10831,9 +10887,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(); @@ -11834,18 +11890,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 { @@ -11881,10 +11937,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(); @@ -12088,15 +12144,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 { @@ -12148,9 +12204,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(); @@ -12392,15 +12448,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 { @@ -12452,9 +12508,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(); @@ -12668,15 +12724,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 { @@ -12728,9 +12784,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(); @@ -12972,15 +13028,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 { @@ -13032,9 +13088,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(); @@ -13642,15 +13698,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 { @@ -13660,15 +13716,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 { @@ -13704,9 +13760,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(); @@ -13721,9 +13777,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(); @@ -14523,14 +14579,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 { @@ -14566,9 +14622,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(); @@ -14673,14 +14729,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 { @@ -14718,9 +14774,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(); @@ -14797,15 +14853,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 { @@ -14841,9 +14897,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(); @@ -14999,14 +15055,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 { @@ -15042,9 +15098,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(); @@ -15359,14 +15415,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 { @@ -15399,9 +15455,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(); @@ -15502,15 +15558,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 { @@ -15562,9 +15618,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(); @@ -15800,14 +15856,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 { @@ -15859,9 +15915,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(); @@ -17174,15 +17230,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 { @@ -17210,9 +17266,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(); @@ -17427,15 +17483,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 { @@ -17463,9 +17519,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(); @@ -17715,14 +17771,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 { @@ -17760,9 +17816,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(); @@ -18264,14 +18320,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 { @@ -18317,9 +18373,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(); @@ -19173,14 +19229,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 { @@ -19225,9 +19281,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(); @@ -19480,14 +19536,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 { @@ -19540,9 +19596,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(); @@ -20556,14 +20612,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 { @@ -20601,9 +20657,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(); @@ -20845,17 +20901,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 { @@ -20911,10 +20967,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(); @@ -21226,17 +21282,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 { @@ -21292,10 +21348,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(); @@ -21428,15 +21484,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 { @@ -21496,9 +21552,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(); @@ -21644,14 +21700,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 { @@ -21668,14 +21724,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 { @@ -21713,9 +21769,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(); @@ -21735,9 +21791,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(); @@ -22328,15 +22384,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 { @@ -22380,9 +22436,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(); @@ -22528,14 +22584,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 { @@ -22583,9 +22639,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(); @@ -22674,15 +22730,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 { @@ -22726,9 +22782,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(); @@ -22948,15 +23004,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 { @@ -23000,9 +23056,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(); @@ -23209,14 +23265,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 { @@ -23252,9 +23308,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(); @@ -23370,14 +23426,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 { @@ -23422,9 +23478,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(); @@ -23518,15 +23574,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 { @@ -23570,9 +23626,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(); @@ -23719,14 +23775,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 { @@ -23750,14 +23806,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 { @@ -23795,9 +23851,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(); @@ -23822,9 +23878,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(); @@ -23913,15 +23969,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 { @@ -23965,9 +24021,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(); @@ -24088,14 +24144,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 { @@ -24140,9 +24196,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(); @@ -24235,14 +24291,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 { @@ -24286,9 +24342,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(); @@ -24531,15 +24587,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 { @@ -24583,9 +24639,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(); @@ -24828,15 +24884,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 { @@ -24880,9 +24936,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(); @@ -25448,14 +25504,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 { @@ -25493,9 +25549,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(); @@ -25584,15 +25640,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 { @@ -25636,9 +25692,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(); @@ -25977,15 +26033,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 { @@ -26023,9 +26079,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(); @@ -26240,15 +26296,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 { @@ -26294,9 +26350,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(); @@ -26774,14 +26830,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 { @@ -26827,9 +26883,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(); @@ -27014,14 +27070,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 { @@ -27056,9 +27112,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(); @@ -27512,14 +27568,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 { @@ -27555,9 +27611,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(); @@ -27717,17 +27773,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 { @@ -27763,10 +27819,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(); @@ -27886,17 +27942,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 { @@ -27941,10 +27997,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(); @@ -28266,17 +28322,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 { @@ -28321,10 +28377,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(); @@ -29798,15 +29854,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 { @@ -29850,9 +29906,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(); @@ -30059,14 +30115,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 { @@ -30102,9 +30158,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(); @@ -33998,14 +34054,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 { @@ -34041,9 +34097,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(); @@ -34912,14 +34968,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 { @@ -34955,9 +35011,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(); @@ -35648,15 +35704,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 { @@ -35692,9 +35748,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(); @@ -36356,14 +36412,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 { @@ -36404,9 +36460,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(); @@ -36714,15 +36770,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 { @@ -36758,9 +36814,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(); @@ -37392,14 +37448,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 { @@ -37432,9 +37488,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(); @@ -37510,14 +37566,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 { @@ -37553,9 +37609,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(); @@ -38672,14 +38728,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 { @@ -38707,9 +38763,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(); @@ -39348,14 +39404,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 { @@ -39383,9 +39439,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(); @@ -39976,6 +40032,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 e2fa963..8ef5138 100644 --- metastore/src/gen/thrift/gen-php/metastore/Types.php +++ metastore/src/gen/thrift/gen-php/metastore/Types.php @@ -12076,6 +12076,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; @@ -12413,15 +12514,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 { @@ -12477,9 +12578,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(); @@ -13422,15 +13523,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 { @@ -13458,9 +13559,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(); @@ -13735,17 +13836,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(); @@ -13756,17 +13857,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(); @@ -13795,12 +13896,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); } } } @@ -13816,12 +13917,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); } } } @@ -14432,15 +14533,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 { @@ -14468,9 +14569,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(); @@ -14588,14 +14689,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 { @@ -14638,9 +14739,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(); @@ -14993,15 +15094,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 { @@ -15029,9 +15130,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(); @@ -15170,14 +15271,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 { @@ -15205,9 +15306,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(); @@ -15425,14 +15526,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 { @@ -15483,9 +15584,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(); @@ -15863,18 +15964,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 { @@ -15909,10 +16010,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(); @@ -16014,14 +16115,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 { @@ -16070,9 +16171,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(); @@ -16166,17 +16267,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 { @@ -16211,10 +16312,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(); @@ -16283,14 +16384,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 { @@ -16318,9 +16419,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(); @@ -16460,14 +16561,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 { @@ -16477,14 +16578,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 { @@ -16519,9 +16620,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(); @@ -16536,9 +16637,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(); @@ -16657,14 +16758,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 { @@ -16692,9 +16793,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(); @@ -16978,15 +17079,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 { @@ -17014,9 +17115,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 3ec46f1..81927b8 100755 --- metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote +++ metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote @@ -150,6 +150,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)') @@ -995,6 +996,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 119a5f1..83980c4 100644 --- metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -1047,6 +1047,13 @@ def abort_txn(self, rqst): """ pass + def abort_txns(self, rqst): + """ + Parameters: + - rqst + """ + pass + def commit_txn(self, rqst): """ Parameters: @@ -5850,6 +5857,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: @@ -6606,6 +6644,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 @@ -9789,6 +9828,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) @@ -11097,10 +11158,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) @@ -11123,8 +11184,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: @@ -11229,10 +11290,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) @@ -11255,8 +11316,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: @@ -12026,12 +12087,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) @@ -12054,9 +12115,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: @@ -12199,11 +12260,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) @@ -12238,8 +12299,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: @@ -12406,11 +12467,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) @@ -12445,8 +12506,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: @@ -12599,11 +12660,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) @@ -12638,8 +12699,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: @@ -12806,11 +12867,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) @@ -12845,8 +12906,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: @@ -13287,22 +13348,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) @@ -13323,15 +13384,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() @@ -13929,10 +13990,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) @@ -13955,8 +14016,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: @@ -14029,10 +14090,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) @@ -14057,8 +14118,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() @@ -14114,11 +14175,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) @@ -14141,8 +14202,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: @@ -14266,10 +14327,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) @@ -14292,8 +14353,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: @@ -14529,10 +14590,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) @@ -14553,8 +14614,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() @@ -14615,11 +14676,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) @@ -14654,8 +14715,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: @@ -14821,10 +14882,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) @@ -14859,8 +14920,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: @@ -15830,11 +15891,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) @@ -15851,8 +15912,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() @@ -16010,11 +16071,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) @@ -16031,8 +16092,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() @@ -16206,10 +16267,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) @@ -16234,8 +16295,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() @@ -16588,10 +16649,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) @@ -16622,8 +16683,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: @@ -17218,10 +17279,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) @@ -17251,8 +17312,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: @@ -17425,10 +17486,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) @@ -17464,8 +17525,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: @@ -18202,10 +18263,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) @@ -18230,8 +18291,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() @@ -18390,11 +18451,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) @@ -18431,9 +18492,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: @@ -18638,11 +18699,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) @@ -18679,9 +18740,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: @@ -18764,11 +18825,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) @@ -18809,8 +18870,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: @@ -18904,10 +18965,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) @@ -18919,10 +18980,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) @@ -18947,8 +19008,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: @@ -18958,8 +19019,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() @@ -19388,11 +19449,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) @@ -19421,8 +19482,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: @@ -19516,10 +19577,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) @@ -19552,8 +19613,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() @@ -19614,11 +19675,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) @@ -19647,8 +19708,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: @@ -19806,11 +19867,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) @@ -19839,8 +19900,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: @@ -19995,10 +20056,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) @@ -20021,8 +20082,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: @@ -20098,10 +20159,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) @@ -20131,8 +20192,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: @@ -20196,11 +20257,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) @@ -20229,8 +20290,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: @@ -20317,10 +20378,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) @@ -20337,10 +20398,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) @@ -20365,8 +20426,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: @@ -20380,8 +20441,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() @@ -20443,11 +20504,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) @@ -20476,8 +20537,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: @@ -20558,10 +20619,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) @@ -20591,8 +20652,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: @@ -20656,10 +20717,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) @@ -20688,8 +20749,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: @@ -20860,11 +20921,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) @@ -20893,8 +20954,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: @@ -21065,11 +21126,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) @@ -21098,8 +21159,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: @@ -21519,10 +21580,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) @@ -21547,8 +21608,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() @@ -21607,11 +21668,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) @@ -21640,8 +21701,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: @@ -21891,11 +21952,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) @@ -21920,8 +21981,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() @@ -22074,11 +22135,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) @@ -22109,8 +22170,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: @@ -22454,10 +22515,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) @@ -22488,8 +22549,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: @@ -22631,10 +22692,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) @@ -22656,8 +22717,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: @@ -23015,10 +23076,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) @@ -23041,8 +23102,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: @@ -23166,11 +23227,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) @@ -23193,9 +23254,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: @@ -23271,11 +23332,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) @@ -23305,9 +23366,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: @@ -23521,11 +23582,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) @@ -23555,9 +23616,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: @@ -24612,11 +24673,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) @@ -24645,8 +24706,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: @@ -24801,10 +24862,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) @@ -24827,8 +24888,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: @@ -27694,10 +27755,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) @@ -27720,8 +27781,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: @@ -28409,10 +28470,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) @@ -28435,8 +28496,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: @@ -28950,11 +29011,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) @@ -28977,8 +29038,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: @@ -29487,10 +29548,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) @@ -29515,8 +29576,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() @@ -29743,11 +29804,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) @@ -29770,8 +29831,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: @@ -30269,10 +30330,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) @@ -30293,8 +30354,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() @@ -30349,10 +30410,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) @@ -30375,8 +30436,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: @@ -31308,10 +31369,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) @@ -31328,8 +31389,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() @@ -31856,10 +31917,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) @@ -31876,8 +31937,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() @@ -32388,6 +32449,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 f008788..c1ae339 100644 --- metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py +++ metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py @@ -8321,6 +8321,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: @@ -8549,11 +8624,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) @@ -8590,8 +8665,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: @@ -9289,11 +9364,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) @@ -9310,8 +9385,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() @@ -9526,20 +9601,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) @@ -9556,15 +9631,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() @@ -10006,11 +10081,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) @@ -10027,8 +10102,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() @@ -10106,10 +10181,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) @@ -10138,8 +10213,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() @@ -10420,11 +10495,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) @@ -10441,8 +10516,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() @@ -10563,10 +10638,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) @@ -10583,8 +10658,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() @@ -10737,10 +10812,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) @@ -10773,8 +10848,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() @@ -11095,12 +11170,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) @@ -11122,9 +11197,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: @@ -11194,10 +11269,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) @@ -11229,8 +11304,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: @@ -11304,11 +11379,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) @@ -11330,9 +11405,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: @@ -11393,10 +11468,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) @@ -11413,8 +11488,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() @@ -11520,20 +11595,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) @@ -11555,15 +11630,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: @@ -11671,10 +11746,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) @@ -11691,8 +11766,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() @@ -11921,11 +11996,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) @@ -11942,8 +12017,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 4a24a19..57b00cb 100644 --- metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb +++ metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb @@ -1852,6 +1852,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 99a764e..b8305fb 100644 --- metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb +++ metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb @@ -2128,6 +2128,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() @@ -4059,6 +4074,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() @@ -9081,6 +9107,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 ed2057a..7eaff3d 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java @@ -5770,6 +5770,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 7d37d07..eafc0f3 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; @@ -2069,6 +2070,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 c900a2d..000d4f0 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java @@ -1286,6 +1286,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 df6591f..ae636cf 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java @@ -426,7 +426,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)); @@ -449,6 +449,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); + } + } + public void commitTxn(CommitTxnRequest rqst) throws NoSuchTxnException, TxnAbortedException, MetaException { long txnid = rqst.getTxnid(); @@ -1824,8 +1853,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 @@ -1837,10 +1866,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()) { @@ -1867,16 +1901,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(); @@ -2440,7 +2475,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 927e9bc..0a2f8ab 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java @@ -93,6 +93,14 @@ public void abortTxn(AbortTxnRequest rqst) throws NoSuchTxnException, MetaException; /** + * Abort (rollback) a list of transactions in one request. + * @param rqst info on transactions to abort + * @throws NoSuchTxnException + * @throws MetaException + */ + public void abortTxns(AbortTxnsRequest rqst) throws NoSuchTxnException, MetaException; + + /** * Commit a transaction * @param rqst info on transaction to commit * @throws NoSuchTxnException diff --git ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java index cbeb361..584dbdc 100644 --- ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java +++ ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java @@ -130,6 +130,7 @@ import org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer; import org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer; import org.apache.hadoop.hive.ql.parse.ReplicationSpec; +import org.apache.hadoop.hive.ql.plan.AbortTxnsDesc; import org.apache.hadoop.hive.ql.plan.AddPartitionDesc; import org.apache.hadoop.hive.ql.plan.AlterDatabaseDesc; import org.apache.hadoop.hive.ql.plan.AlterIndexDesc; @@ -444,7 +445,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); } @@ -2717,6 +2723,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 ab165f1..b07b1a1 100644 --- ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java +++ ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java @@ -3444,6 +3444,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 04e2a41..bd89cf3 100644 --- ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java +++ ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java @@ -74,6 +74,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.AlterDatabaseDesc; import org.apache.hadoop.hive.ql.plan.AlterIndexDesc; @@ -380,6 +381,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); @@ -2412,6 +2416,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 6531b03..2ca77fa 100644 --- ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g +++ ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g @@ -374,6 +374,7 @@ TOK_COMMIT; TOK_ROLLBACK; TOK_SET_AUTOCOMMIT; TOK_CACHE_METADATA; +TOK_ABORT_TRANSACTIONS; } @@ -532,6 +533,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", "."); @@ -803,6 +806,7 @@ ddlStatement | revokeRole | setRole | showCurrentRole + | abortTransactionStatement ; ifExists @@ -2592,3 +2596,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 3f74551..3adc320 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 fb8a33c..8669d8a 100644 --- ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java +++ ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java @@ -117,6 +117,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); @@ -245,6 +246,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 188cd6f..503045b 100644 --- ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java +++ ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java @@ -123,8 +123,8 @@ START_TRANSACTION("START TRANSACTION", null, null, false, false), COMMIT("COMMIT", null, null, true, true), ROLLBACK("ROLLBACK", null, null, true, true), - SET_AUTOCOMMIT("SET AUTOCOMMIT", null, null, true, false); - ; + SET_AUTOCOMMIT("SET AUTOCOMMIT", null, null, true, false), + ABORT_TRANSACTIONS("ABORT TRANSACTIONS", null, null, false, false); private String operationName; diff --git ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HiveOperationType.java ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HiveOperationType.java index c05ec3c..b5dd100 100644 --- ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HiveOperationType.java +++ ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HiveOperationType.java @@ -121,6 +121,7 @@ ALTERTABLE_COMPACT, SHOW_COMPACTIONS, SHOW_TRANSACTIONS, + ABORT_TRANSACTIONS, // ==== Hive command operation types starts here ==== // SET, RESET, diff --git ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/Operation2Privilege.java ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/Operation2Privilege.java index 4ad874e..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 diff --git service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote index 4dfa83d..4a9411c 100755 --- service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote +++ service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote @@ -159,6 +159,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)') @@ -1058,6 +1059,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')