diff --git a/metastore/if/hive_metastore.thrift b/metastore/if/hive_metastore.thrift index 4d92b73..229a5aa 100755 --- a/metastore/if/hive_metastore.thrift +++ b/metastore/if/hive_metastore.thrift @@ -547,6 +547,18 @@ struct PartitionsStatsRequest { 4: required list partNames } +struct AggregatePartitionsStatsRequest { + 1: required string dbName, + 2: required string tblName, + 3: required list colNames, + 4: required binary expr +} + +struct AggregatePartitionsStatsResponse { + 1: required list partitions, + 2: required AggrStats stats +} + // Return type for add_partitions_req struct AddPartitionsResult { 1: optional list partitions, @@ -1292,6 +1304,8 @@ service ThriftHiveMetastore extends fb303.FacebookService (1:NoSuchObjectException o1, 2:MetaException o2) AggrStats get_aggr_stats_for(1:PartitionsStatsRequest request) throws (1:NoSuchObjectException o1, 2:MetaException o2) + AggregatePartitionsStatsResponse get_parts_and_aggr_col_stats(1: AggregatePartitionsStatsRequest request) throws + (1:NoSuchObjectException o1, 2:MetaException o2) bool set_aggr_stats_for(1:SetPartitionsStatsRequest request) throws (1:NoSuchObjectException o1, 2:InvalidObjectException o2, 3:MetaException o3, 4:InvalidInputException o4) diff --git a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index 5a35a50..e8b7669 100644 --- a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp +++ b/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 _size781; - ::apache::thrift::protocol::TType _etype784; - xfer += iprot->readListBegin(_etype784, _size781); - this->success.resize(_size781); - uint32_t _i785; - for (_i785 = 0; _i785 < _size781; ++_i785) + 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) { - xfer += iprot->readString(this->success[_i785]); + xfer += iprot->readString(this->success[_i801]); } 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 _iter786; - for (_iter786 = this->success.begin(); _iter786 != this->success.end(); ++_iter786) + std::vector ::const_iterator _iter802; + for (_iter802 = this->success.begin(); _iter802 != this->success.end(); ++_iter802) { - xfer += oprot->writeString((*_iter786)); + xfer += oprot->writeString((*_iter802)); } 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 _size787; - ::apache::thrift::protocol::TType _etype790; - xfer += iprot->readListBegin(_etype790, _size787); - (*(this->success)).resize(_size787); - uint32_t _i791; - for (_i791 = 0; _i791 < _size787; ++_i791) + uint32_t _size803; + ::apache::thrift::protocol::TType _etype806; + xfer += iprot->readListBegin(_etype806, _size803); + (*(this->success)).resize(_size803); + uint32_t _i807; + for (_i807 = 0; _i807 < _size803; ++_i807) { - xfer += iprot->readString((*(this->success))[_i791]); + xfer += iprot->readString((*(this->success))[_i807]); } 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 _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 _size808; + ::apache::thrift::protocol::TType _etype811; + xfer += iprot->readListBegin(_etype811, _size808); + this->success.resize(_size808); + uint32_t _i812; + for (_i812 = 0; _i812 < _size808; ++_i812) { - xfer += iprot->readString(this->success[_i796]); + xfer += iprot->readString(this->success[_i812]); } 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 _iter797; - for (_iter797 = this->success.begin(); _iter797 != this->success.end(); ++_iter797) + std::vector ::const_iterator _iter813; + for (_iter813 = this->success.begin(); _iter813 != this->success.end(); ++_iter813) { - xfer += oprot->writeString((*_iter797)); + xfer += oprot->writeString((*_iter813)); } 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 _size798; - ::apache::thrift::protocol::TType _etype801; - xfer += iprot->readListBegin(_etype801, _size798); - (*(this->success)).resize(_size798); - uint32_t _i802; - for (_i802 = 0; _i802 < _size798; ++_i802) + uint32_t _size814; + ::apache::thrift::protocol::TType _etype817; + xfer += iprot->readListBegin(_etype817, _size814); + (*(this->success)).resize(_size814); + uint32_t _i818; + for (_i818 = 0; _i818 < _size814; ++_i818) { - xfer += iprot->readString((*(this->success))[_i802]); + xfer += iprot->readString((*(this->success))[_i818]); } 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 _size803; - ::apache::thrift::protocol::TType _ktype804; - ::apache::thrift::protocol::TType _vtype805; - xfer += iprot->readMapBegin(_ktype804, _vtype805, _size803); - uint32_t _i807; - for (_i807 = 0; _i807 < _size803; ++_i807) + uint32_t _size819; + ::apache::thrift::protocol::TType _ktype820; + ::apache::thrift::protocol::TType _vtype821; + xfer += iprot->readMapBegin(_ktype820, _vtype821, _size819); + uint32_t _i823; + for (_i823 = 0; _i823 < _size819; ++_i823) { - std::string _key808; - xfer += iprot->readString(_key808); - Type& _val809 = this->success[_key808]; - xfer += _val809.read(iprot); + std::string _key824; + xfer += iprot->readString(_key824); + Type& _val825 = this->success[_key824]; + xfer += _val825.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 _iter810; - for (_iter810 = this->success.begin(); _iter810 != this->success.end(); ++_iter810) + std::map ::const_iterator _iter826; + for (_iter826 = this->success.begin(); _iter826 != this->success.end(); ++_iter826) { - xfer += oprot->writeString(_iter810->first); - xfer += _iter810->second.write(oprot); + xfer += oprot->writeString(_iter826->first); + xfer += _iter826->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 _size811; - ::apache::thrift::protocol::TType _ktype812; - ::apache::thrift::protocol::TType _vtype813; - xfer += iprot->readMapBegin(_ktype812, _vtype813, _size811); - uint32_t _i815; - for (_i815 = 0; _i815 < _size811; ++_i815) + uint32_t _size827; + ::apache::thrift::protocol::TType _ktype828; + ::apache::thrift::protocol::TType _vtype829; + xfer += iprot->readMapBegin(_ktype828, _vtype829, _size827); + uint32_t _i831; + for (_i831 = 0; _i831 < _size827; ++_i831) { - std::string _key816; - xfer += iprot->readString(_key816); - Type& _val817 = (*(this->success))[_key816]; - xfer += _val817.read(iprot); + std::string _key832; + xfer += iprot->readString(_key832); + Type& _val833 = (*(this->success))[_key832]; + xfer += _val833.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 _size818; - ::apache::thrift::protocol::TType _etype821; - xfer += iprot->readListBegin(_etype821, _size818); - this->success.resize(_size818); - uint32_t _i822; - for (_i822 = 0; _i822 < _size818; ++_i822) + uint32_t _size834; + ::apache::thrift::protocol::TType _etype837; + xfer += iprot->readListBegin(_etype837, _size834); + this->success.resize(_size834); + uint32_t _i838; + for (_i838 = 0; _i838 < _size834; ++_i838) { - xfer += this->success[_i822].read(iprot); + xfer += this->success[_i838].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 _iter823; - for (_iter823 = this->success.begin(); _iter823 != this->success.end(); ++_iter823) + std::vector ::const_iterator _iter839; + for (_iter839 = this->success.begin(); _iter839 != this->success.end(); ++_iter839) { - xfer += (*_iter823).write(oprot); + xfer += (*_iter839).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 _size824; - ::apache::thrift::protocol::TType _etype827; - xfer += iprot->readListBegin(_etype827, _size824); - (*(this->success)).resize(_size824); - uint32_t _i828; - for (_i828 = 0; _i828 < _size824; ++_i828) + uint32_t _size840; + ::apache::thrift::protocol::TType _etype843; + xfer += iprot->readListBegin(_etype843, _size840); + (*(this->success)).resize(_size840); + uint32_t _i844; + for (_i844 = 0; _i844 < _size840; ++_i844) { - xfer += (*(this->success))[_i828].read(iprot); + xfer += (*(this->success))[_i844].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 _size829; - ::apache::thrift::protocol::TType _etype832; - xfer += iprot->readListBegin(_etype832, _size829); - this->success.resize(_size829); - uint32_t _i833; - for (_i833 = 0; _i833 < _size829; ++_i833) + uint32_t _size845; + ::apache::thrift::protocol::TType _etype848; + xfer += iprot->readListBegin(_etype848, _size845); + this->success.resize(_size845); + uint32_t _i849; + for (_i849 = 0; _i849 < _size845; ++_i849) { - xfer += this->success[_i833].read(iprot); + xfer += this->success[_i849].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 _iter834; - for (_iter834 = this->success.begin(); _iter834 != this->success.end(); ++_iter834) + std::vector ::const_iterator _iter850; + for (_iter850 = this->success.begin(); _iter850 != this->success.end(); ++_iter850) { - xfer += (*_iter834).write(oprot); + xfer += (*_iter850).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 _size835; - ::apache::thrift::protocol::TType _etype838; - xfer += iprot->readListBegin(_etype838, _size835); - (*(this->success)).resize(_size835); - uint32_t _i839; - for (_i839 = 0; _i839 < _size835; ++_i839) + uint32_t _size851; + ::apache::thrift::protocol::TType _etype854; + xfer += iprot->readListBegin(_etype854, _size851); + (*(this->success)).resize(_size851); + uint32_t _i855; + for (_i855 = 0; _i855 < _size851; ++_i855) { - xfer += (*(this->success))[_i839].read(iprot); + xfer += (*(this->success))[_i855].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 _size840; - ::apache::thrift::protocol::TType _etype843; - xfer += iprot->readListBegin(_etype843, _size840); - this->success.resize(_size840); - uint32_t _i844; - for (_i844 = 0; _i844 < _size840; ++_i844) + uint32_t _size856; + ::apache::thrift::protocol::TType _etype859; + xfer += iprot->readListBegin(_etype859, _size856); + this->success.resize(_size856); + uint32_t _i860; + for (_i860 = 0; _i860 < _size856; ++_i860) { - xfer += this->success[_i844].read(iprot); + xfer += this->success[_i860].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 _iter845; - for (_iter845 = this->success.begin(); _iter845 != this->success.end(); ++_iter845) + std::vector ::const_iterator _iter861; + for (_iter861 = this->success.begin(); _iter861 != this->success.end(); ++_iter861) { - xfer += (*_iter845).write(oprot); + xfer += (*_iter861).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 _size846; - ::apache::thrift::protocol::TType _etype849; - xfer += iprot->readListBegin(_etype849, _size846); - (*(this->success)).resize(_size846); - uint32_t _i850; - for (_i850 = 0; _i850 < _size846; ++_i850) + 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) { - xfer += (*(this->success))[_i850].read(iprot); + xfer += (*(this->success))[_i866].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 _size851; - ::apache::thrift::protocol::TType _etype854; - xfer += iprot->readListBegin(_etype854, _size851); - this->success.resize(_size851); - uint32_t _i855; - for (_i855 = 0; _i855 < _size851; ++_i855) + uint32_t _size867; + ::apache::thrift::protocol::TType _etype870; + xfer += iprot->readListBegin(_etype870, _size867); + this->success.resize(_size867); + uint32_t _i871; + for (_i871 = 0; _i871 < _size867; ++_i871) { - xfer += this->success[_i855].read(iprot); + xfer += this->success[_i871].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 _iter856; - for (_iter856 = this->success.begin(); _iter856 != this->success.end(); ++_iter856) + std::vector ::const_iterator _iter872; + for (_iter872 = this->success.begin(); _iter872 != this->success.end(); ++_iter872) { - xfer += (*_iter856).write(oprot); + xfer += (*_iter872).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 _size857; - ::apache::thrift::protocol::TType _etype860; - xfer += iprot->readListBegin(_etype860, _size857); - (*(this->success)).resize(_size857); - uint32_t _i861; - for (_i861 = 0; _i861 < _size857; ++_i861) + 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) { - xfer += (*(this->success))[_i861].read(iprot); + xfer += (*(this->success))[_i877].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 _size862; - ::apache::thrift::protocol::TType _etype865; - xfer += iprot->readListBegin(_etype865, _size862); - this->primaryKeys.resize(_size862); - uint32_t _i866; - for (_i866 = 0; _i866 < _size862; ++_i866) + uint32_t _size878; + ::apache::thrift::protocol::TType _etype881; + xfer += iprot->readListBegin(_etype881, _size878); + this->primaryKeys.resize(_size878); + uint32_t _i882; + for (_i882 = 0; _i882 < _size878; ++_i882) { - xfer += this->primaryKeys[_i866].read(iprot); + xfer += this->primaryKeys[_i882].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 _size867; - ::apache::thrift::protocol::TType _etype870; - xfer += iprot->readListBegin(_etype870, _size867); - this->foreignKeys.resize(_size867); - uint32_t _i871; - for (_i871 = 0; _i871 < _size867; ++_i871) + uint32_t _size883; + ::apache::thrift::protocol::TType _etype886; + xfer += iprot->readListBegin(_etype886, _size883); + this->foreignKeys.resize(_size883); + uint32_t _i887; + for (_i887 = 0; _i887 < _size883; ++_i887) { - xfer += this->foreignKeys[_i871].read(iprot); + xfer += this->foreignKeys[_i887].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 _iter872; - for (_iter872 = this->primaryKeys.begin(); _iter872 != this->primaryKeys.end(); ++_iter872) + std::vector ::const_iterator _iter888; + for (_iter888 = this->primaryKeys.begin(); _iter888 != this->primaryKeys.end(); ++_iter888) { - xfer += (*_iter872).write(oprot); + xfer += (*_iter888).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 _iter873; - for (_iter873 = this->foreignKeys.begin(); _iter873 != this->foreignKeys.end(); ++_iter873) + std::vector ::const_iterator _iter889; + for (_iter889 = this->foreignKeys.begin(); _iter889 != this->foreignKeys.end(); ++_iter889) { - xfer += (*_iter873).write(oprot); + xfer += (*_iter889).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 _iter874; - for (_iter874 = (*(this->primaryKeys)).begin(); _iter874 != (*(this->primaryKeys)).end(); ++_iter874) + std::vector ::const_iterator _iter890; + for (_iter890 = (*(this->primaryKeys)).begin(); _iter890 != (*(this->primaryKeys)).end(); ++_iter890) { - xfer += (*_iter874).write(oprot); + xfer += (*_iter890).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 _iter875; - for (_iter875 = (*(this->foreignKeys)).begin(); _iter875 != (*(this->foreignKeys)).end(); ++_iter875) + std::vector ::const_iterator _iter891; + for (_iter891 = (*(this->foreignKeys)).begin(); _iter891 != (*(this->foreignKeys)).end(); ++_iter891) { - xfer += (*_iter875).write(oprot); + xfer += (*_iter891).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6055,14 +6055,14 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - 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) + uint32_t _size892; + ::apache::thrift::protocol::TType _etype895; + xfer += iprot->readListBegin(_etype895, _size892); + this->success.resize(_size892); + uint32_t _i896; + for (_i896 = 0; _i896 < _size892; ++_i896) { - xfer += iprot->readString(this->success[_i880]); + xfer += iprot->readString(this->success[_i896]); } xfer += iprot->readListEnd(); } @@ -6101,10 +6101,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 _iter881; - for (_iter881 = this->success.begin(); _iter881 != this->success.end(); ++_iter881) + std::vector ::const_iterator _iter897; + for (_iter897 = this->success.begin(); _iter897 != this->success.end(); ++_iter897) { - xfer += oprot->writeString((*_iter881)); + xfer += oprot->writeString((*_iter897)); } xfer += oprot->writeListEnd(); } @@ -6149,14 +6149,14 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size882; - ::apache::thrift::protocol::TType _etype885; - xfer += iprot->readListBegin(_etype885, _size882); - (*(this->success)).resize(_size882); - uint32_t _i886; - for (_i886 = 0; _i886 < _size882; ++_i886) + uint32_t _size898; + ::apache::thrift::protocol::TType _etype901; + xfer += iprot->readListBegin(_etype901, _size898); + (*(this->success)).resize(_size898); + uint32_t _i902; + for (_i902 = 0; _i902 < _size898; ++_i902) { - xfer += iprot->readString((*(this->success))[_i886]); + xfer += iprot->readString((*(this->success))[_i902]); } xfer += iprot->readListEnd(); } @@ -6231,14 +6231,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 _size887; - ::apache::thrift::protocol::TType _etype890; - xfer += iprot->readListBegin(_etype890, _size887); - this->tbl_types.resize(_size887); - uint32_t _i891; - for (_i891 = 0; _i891 < _size887; ++_i891) + uint32_t _size903; + ::apache::thrift::protocol::TType _etype906; + xfer += iprot->readListBegin(_etype906, _size903); + this->tbl_types.resize(_size903); + uint32_t _i907; + for (_i907 = 0; _i907 < _size903; ++_i907) { - xfer += iprot->readString(this->tbl_types[_i891]); + xfer += iprot->readString(this->tbl_types[_i907]); } xfer += iprot->readListEnd(); } @@ -6275,10 +6275,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 _iter892; - for (_iter892 = this->tbl_types.begin(); _iter892 != this->tbl_types.end(); ++_iter892) + std::vector ::const_iterator _iter908; + for (_iter908 = this->tbl_types.begin(); _iter908 != this->tbl_types.end(); ++_iter908) { - xfer += oprot->writeString((*_iter892)); + xfer += oprot->writeString((*_iter908)); } xfer += oprot->writeListEnd(); } @@ -6310,10 +6310,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 _iter893; - for (_iter893 = (*(this->tbl_types)).begin(); _iter893 != (*(this->tbl_types)).end(); ++_iter893) + std::vector ::const_iterator _iter909; + for (_iter909 = (*(this->tbl_types)).begin(); _iter909 != (*(this->tbl_types)).end(); ++_iter909) { - xfer += oprot->writeString((*_iter893)); + xfer += oprot->writeString((*_iter909)); } xfer += oprot->writeListEnd(); } @@ -6354,14 +6354,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size894; - ::apache::thrift::protocol::TType _etype897; - xfer += iprot->readListBegin(_etype897, _size894); - this->success.resize(_size894); - uint32_t _i898; - for (_i898 = 0; _i898 < _size894; ++_i898) + 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 += this->success[_i898].read(iprot); + xfer += this->success[_i914].read(iprot); } xfer += iprot->readListEnd(); } @@ -6400,10 +6400,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 _iter899; - for (_iter899 = this->success.begin(); _iter899 != this->success.end(); ++_iter899) + std::vector ::const_iterator _iter915; + for (_iter915 = this->success.begin(); _iter915 != this->success.end(); ++_iter915) { - xfer += (*_iter899).write(oprot); + xfer += (*_iter915).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6448,14 +6448,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size900; - ::apache::thrift::protocol::TType _etype903; - xfer += iprot->readListBegin(_etype903, _size900); - (*(this->success)).resize(_size900); - uint32_t _i904; - for (_i904 = 0; _i904 < _size900; ++_i904) + uint32_t _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 += (*(this->success))[_i904].read(iprot); + xfer += (*(this->success))[_i920].read(iprot); } xfer += iprot->readListEnd(); } @@ -6593,14 +6593,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - 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) + uint32_t _size921; + ::apache::thrift::protocol::TType _etype924; + xfer += iprot->readListBegin(_etype924, _size921); + this->success.resize(_size921); + uint32_t _i925; + for (_i925 = 0; _i925 < _size921; ++_i925) { - xfer += iprot->readString(this->success[_i909]); + xfer += iprot->readString(this->success[_i925]); } xfer += iprot->readListEnd(); } @@ -6639,10 +6639,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 _iter910; - for (_iter910 = this->success.begin(); _iter910 != this->success.end(); ++_iter910) + std::vector ::const_iterator _iter926; + for (_iter926 = this->success.begin(); _iter926 != this->success.end(); ++_iter926) { - xfer += oprot->writeString((*_iter910)); + xfer += oprot->writeString((*_iter926)); } xfer += oprot->writeListEnd(); } @@ -6687,14 +6687,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size911; - ::apache::thrift::protocol::TType _etype914; - xfer += iprot->readListBegin(_etype914, _size911); - (*(this->success)).resize(_size911); - uint32_t _i915; - for (_i915 = 0; _i915 < _size911; ++_i915) + uint32_t _size927; + ::apache::thrift::protocol::TType _etype930; + xfer += iprot->readListBegin(_etype930, _size927); + (*(this->success)).resize(_size927); + uint32_t _i931; + for (_i931 = 0; _i931 < _size927; ++_i931) { - xfer += iprot->readString((*(this->success))[_i915]); + xfer += iprot->readString((*(this->success))[_i931]); } xfer += iprot->readListEnd(); } @@ -7004,14 +7004,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 _size916; - ::apache::thrift::protocol::TType _etype919; - xfer += iprot->readListBegin(_etype919, _size916); - this->tbl_names.resize(_size916); - uint32_t _i920; - for (_i920 = 0; _i920 < _size916; ++_i920) + uint32_t _size932; + ::apache::thrift::protocol::TType _etype935; + xfer += iprot->readListBegin(_etype935, _size932); + this->tbl_names.resize(_size932); + uint32_t _i936; + for (_i936 = 0; _i936 < _size932; ++_i936) { - xfer += iprot->readString(this->tbl_names[_i920]); + xfer += iprot->readString(this->tbl_names[_i936]); } xfer += iprot->readListEnd(); } @@ -7044,10 +7044,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 _iter921; - for (_iter921 = this->tbl_names.begin(); _iter921 != this->tbl_names.end(); ++_iter921) + std::vector ::const_iterator _iter937; + for (_iter937 = this->tbl_names.begin(); _iter937 != this->tbl_names.end(); ++_iter937) { - xfer += oprot->writeString((*_iter921)); + xfer += oprot->writeString((*_iter937)); } xfer += oprot->writeListEnd(); } @@ -7075,10 +7075,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 _iter922; - for (_iter922 = (*(this->tbl_names)).begin(); _iter922 != (*(this->tbl_names)).end(); ++_iter922) + std::vector ::const_iterator _iter938; + for (_iter938 = (*(this->tbl_names)).begin(); _iter938 != (*(this->tbl_names)).end(); ++_iter938) { - xfer += oprot->writeString((*_iter922)); + xfer += oprot->writeString((*_iter938)); } xfer += oprot->writeListEnd(); } @@ -7119,14 +7119,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 _size923; - ::apache::thrift::protocol::TType _etype926; - xfer += iprot->readListBegin(_etype926, _size923); - this->success.resize(_size923); - uint32_t _i927; - for (_i927 = 0; _i927 < _size923; ++_i927) + uint32_t _size939; + ::apache::thrift::protocol::TType _etype942; + xfer += iprot->readListBegin(_etype942, _size939); + this->success.resize(_size939); + uint32_t _i943; + for (_i943 = 0; _i943 < _size939; ++_i943) { - xfer += this->success[_i927].read(iprot); + xfer += this->success[_i943].read(iprot); } xfer += iprot->readListEnd(); } @@ -7181,10 +7181,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 _iter928; - for (_iter928 = this->success.begin(); _iter928 != this->success.end(); ++_iter928) + std::vector
::const_iterator _iter944; + for (_iter944 = this->success.begin(); _iter944 != this->success.end(); ++_iter944) { - xfer += (*_iter928).write(oprot); + xfer += (*_iter944).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7237,14 +7237,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 _size929; - ::apache::thrift::protocol::TType _etype932; - xfer += iprot->readListBegin(_etype932, _size929); - (*(this->success)).resize(_size929); - uint32_t _i933; - for (_i933 = 0; _i933 < _size929; ++_i933) + uint32_t _size945; + ::apache::thrift::protocol::TType _etype948; + xfer += iprot->readListBegin(_etype948, _size945); + (*(this->success)).resize(_size945); + uint32_t _i949; + for (_i949 = 0; _i949 < _size945; ++_i949) { - xfer += (*(this->success))[_i933].read(iprot); + xfer += (*(this->success))[_i949].read(iprot); } xfer += iprot->readListEnd(); } @@ -7430,14 +7430,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 _size934; - ::apache::thrift::protocol::TType _etype937; - xfer += iprot->readListBegin(_etype937, _size934); - this->success.resize(_size934); - uint32_t _i938; - for (_i938 = 0; _i938 < _size934; ++_i938) + uint32_t _size950; + ::apache::thrift::protocol::TType _etype953; + xfer += iprot->readListBegin(_etype953, _size950); + this->success.resize(_size950); + uint32_t _i954; + for (_i954 = 0; _i954 < _size950; ++_i954) { - xfer += iprot->readString(this->success[_i938]); + xfer += iprot->readString(this->success[_i954]); } xfer += iprot->readListEnd(); } @@ -7492,10 +7492,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 _iter939; - for (_iter939 = this->success.begin(); _iter939 != this->success.end(); ++_iter939) + std::vector ::const_iterator _iter955; + for (_iter955 = this->success.begin(); _iter955 != this->success.end(); ++_iter955) { - xfer += oprot->writeString((*_iter939)); + xfer += oprot->writeString((*_iter955)); } xfer += oprot->writeListEnd(); } @@ -7548,14 +7548,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 _size940; - ::apache::thrift::protocol::TType _etype943; - xfer += iprot->readListBegin(_etype943, _size940); - (*(this->success)).resize(_size940); - uint32_t _i944; - for (_i944 = 0; _i944 < _size940; ++_i944) + uint32_t _size956; + ::apache::thrift::protocol::TType _etype959; + xfer += iprot->readListBegin(_etype959, _size956); + (*(this->success)).resize(_size956); + uint32_t _i960; + for (_i960 = 0; _i960 < _size956; ++_i960) { - xfer += iprot->readString((*(this->success))[_i944]); + xfer += iprot->readString((*(this->success))[_i960]); } xfer += iprot->readListEnd(); } @@ -8889,14 +8889,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size945; - ::apache::thrift::protocol::TType _etype948; - xfer += iprot->readListBegin(_etype948, _size945); - this->new_parts.resize(_size945); - uint32_t _i949; - for (_i949 = 0; _i949 < _size945; ++_i949) + uint32_t _size961; + ::apache::thrift::protocol::TType _etype964; + xfer += iprot->readListBegin(_etype964, _size961); + this->new_parts.resize(_size961); + uint32_t _i965; + for (_i965 = 0; _i965 < _size961; ++_i965) { - xfer += this->new_parts[_i949].read(iprot); + xfer += this->new_parts[_i965].read(iprot); } xfer += iprot->readListEnd(); } @@ -8925,10 +8925,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 _iter950; - for (_iter950 = this->new_parts.begin(); _iter950 != this->new_parts.end(); ++_iter950) + std::vector ::const_iterator _iter966; + for (_iter966 = this->new_parts.begin(); _iter966 != this->new_parts.end(); ++_iter966) { - xfer += (*_iter950).write(oprot); + xfer += (*_iter966).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8952,10 +8952,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 _iter951; - for (_iter951 = (*(this->new_parts)).begin(); _iter951 != (*(this->new_parts)).end(); ++_iter951) + std::vector ::const_iterator _iter967; + for (_iter967 = (*(this->new_parts)).begin(); _iter967 != (*(this->new_parts)).end(); ++_iter967) { - xfer += (*_iter951).write(oprot); + xfer += (*_iter967).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9164,14 +9164,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 _size952; - ::apache::thrift::protocol::TType _etype955; - xfer += iprot->readListBegin(_etype955, _size952); - this->new_parts.resize(_size952); - uint32_t _i956; - for (_i956 = 0; _i956 < _size952; ++_i956) + uint32_t _size968; + ::apache::thrift::protocol::TType _etype971; + xfer += iprot->readListBegin(_etype971, _size968); + this->new_parts.resize(_size968); + uint32_t _i972; + for (_i972 = 0; _i972 < _size968; ++_i972) { - xfer += this->new_parts[_i956].read(iprot); + xfer += this->new_parts[_i972].read(iprot); } xfer += iprot->readListEnd(); } @@ -9200,10 +9200,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 _iter957; - for (_iter957 = this->new_parts.begin(); _iter957 != this->new_parts.end(); ++_iter957) + std::vector ::const_iterator _iter973; + for (_iter973 = this->new_parts.begin(); _iter973 != this->new_parts.end(); ++_iter973) { - xfer += (*_iter957).write(oprot); + xfer += (*_iter973).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9227,10 +9227,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 _iter958; - for (_iter958 = (*(this->new_parts)).begin(); _iter958 != (*(this->new_parts)).end(); ++_iter958) + std::vector ::const_iterator _iter974; + for (_iter974 = (*(this->new_parts)).begin(); _iter974 != (*(this->new_parts)).end(); ++_iter974) { - xfer += (*_iter958).write(oprot); + xfer += (*_iter974).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9455,14 +9455,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size959; - ::apache::thrift::protocol::TType _etype962; - xfer += iprot->readListBegin(_etype962, _size959); - this->part_vals.resize(_size959); - uint32_t _i963; - for (_i963 = 0; _i963 < _size959; ++_i963) + uint32_t _size975; + ::apache::thrift::protocol::TType _etype978; + xfer += iprot->readListBegin(_etype978, _size975); + this->part_vals.resize(_size975); + uint32_t _i979; + for (_i979 = 0; _i979 < _size975; ++_i979) { - xfer += iprot->readString(this->part_vals[_i963]); + xfer += iprot->readString(this->part_vals[_i979]); } xfer += iprot->readListEnd(); } @@ -9499,10 +9499,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 _iter964; - for (_iter964 = this->part_vals.begin(); _iter964 != this->part_vals.end(); ++_iter964) + std::vector ::const_iterator _iter980; + for (_iter980 = this->part_vals.begin(); _iter980 != this->part_vals.end(); ++_iter980) { - xfer += oprot->writeString((*_iter964)); + xfer += oprot->writeString((*_iter980)); } xfer += oprot->writeListEnd(); } @@ -9534,10 +9534,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 _iter965; - for (_iter965 = (*(this->part_vals)).begin(); _iter965 != (*(this->part_vals)).end(); ++_iter965) + std::vector ::const_iterator _iter981; + for (_iter981 = (*(this->part_vals)).begin(); _iter981 != (*(this->part_vals)).end(); ++_iter981) { - xfer += oprot->writeString((*_iter965)); + xfer += oprot->writeString((*_iter981)); } xfer += oprot->writeListEnd(); } @@ -10009,14 +10009,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size966; - ::apache::thrift::protocol::TType _etype969; - xfer += iprot->readListBegin(_etype969, _size966); - this->part_vals.resize(_size966); - uint32_t _i970; - for (_i970 = 0; _i970 < _size966; ++_i970) + uint32_t _size982; + ::apache::thrift::protocol::TType _etype985; + xfer += iprot->readListBegin(_etype985, _size982); + this->part_vals.resize(_size982); + uint32_t _i986; + for (_i986 = 0; _i986 < _size982; ++_i986) { - xfer += iprot->readString(this->part_vals[_i970]); + xfer += iprot->readString(this->part_vals[_i986]); } xfer += iprot->readListEnd(); } @@ -10061,10 +10061,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 _iter971; - for (_iter971 = this->part_vals.begin(); _iter971 != this->part_vals.end(); ++_iter971) + std::vector ::const_iterator _iter987; + for (_iter987 = this->part_vals.begin(); _iter987 != this->part_vals.end(); ++_iter987) { - xfer += oprot->writeString((*_iter971)); + xfer += oprot->writeString((*_iter987)); } xfer += oprot->writeListEnd(); } @@ -10100,10 +10100,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 _iter972; - for (_iter972 = (*(this->part_vals)).begin(); _iter972 != (*(this->part_vals)).end(); ++_iter972) + std::vector ::const_iterator _iter988; + for (_iter988 = (*(this->part_vals)).begin(); _iter988 != (*(this->part_vals)).end(); ++_iter988) { - xfer += oprot->writeString((*_iter972)); + xfer += oprot->writeString((*_iter988)); } xfer += oprot->writeListEnd(); } @@ -10906,14 +10906,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size973; - ::apache::thrift::protocol::TType _etype976; - xfer += iprot->readListBegin(_etype976, _size973); - this->part_vals.resize(_size973); - uint32_t _i977; - for (_i977 = 0; _i977 < _size973; ++_i977) + uint32_t _size989; + ::apache::thrift::protocol::TType _etype992; + xfer += iprot->readListBegin(_etype992, _size989); + this->part_vals.resize(_size989); + uint32_t _i993; + for (_i993 = 0; _i993 < _size989; ++_i993) { - xfer += iprot->readString(this->part_vals[_i977]); + xfer += iprot->readString(this->part_vals[_i993]); } xfer += iprot->readListEnd(); } @@ -10958,10 +10958,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 _iter978; - for (_iter978 = this->part_vals.begin(); _iter978 != this->part_vals.end(); ++_iter978) + std::vector ::const_iterator _iter994; + for (_iter994 = this->part_vals.begin(); _iter994 != this->part_vals.end(); ++_iter994) { - xfer += oprot->writeString((*_iter978)); + xfer += oprot->writeString((*_iter994)); } xfer += oprot->writeListEnd(); } @@ -10997,10 +10997,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 _iter979; - for (_iter979 = (*(this->part_vals)).begin(); _iter979 != (*(this->part_vals)).end(); ++_iter979) + std::vector ::const_iterator _iter995; + for (_iter995 = (*(this->part_vals)).begin(); _iter995 != (*(this->part_vals)).end(); ++_iter995) { - xfer += oprot->writeString((*_iter979)); + xfer += oprot->writeString((*_iter995)); } xfer += oprot->writeListEnd(); } @@ -11209,14 +11209,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size980; - ::apache::thrift::protocol::TType _etype983; - xfer += iprot->readListBegin(_etype983, _size980); - this->part_vals.resize(_size980); - uint32_t _i984; - for (_i984 = 0; _i984 < _size980; ++_i984) + uint32_t _size996; + ::apache::thrift::protocol::TType _etype999; + xfer += iprot->readListBegin(_etype999, _size996); + this->part_vals.resize(_size996); + uint32_t _i1000; + for (_i1000 = 0; _i1000 < _size996; ++_i1000) { - xfer += iprot->readString(this->part_vals[_i984]); + xfer += iprot->readString(this->part_vals[_i1000]); } xfer += iprot->readListEnd(); } @@ -11269,10 +11269,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 _iter985; - for (_iter985 = this->part_vals.begin(); _iter985 != this->part_vals.end(); ++_iter985) + std::vector ::const_iterator _iter1001; + for (_iter1001 = this->part_vals.begin(); _iter1001 != this->part_vals.end(); ++_iter1001) { - xfer += oprot->writeString((*_iter985)); + xfer += oprot->writeString((*_iter1001)); } xfer += oprot->writeListEnd(); } @@ -11312,10 +11312,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 _iter986; - for (_iter986 = (*(this->part_vals)).begin(); _iter986 != (*(this->part_vals)).end(); ++_iter986) + std::vector ::const_iterator _iter1002; + for (_iter1002 = (*(this->part_vals)).begin(); _iter1002 != (*(this->part_vals)).end(); ++_iter1002) { - xfer += oprot->writeString((*_iter986)); + xfer += oprot->writeString((*_iter1002)); } xfer += oprot->writeListEnd(); } @@ -12321,14 +12321,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size987; - ::apache::thrift::protocol::TType _etype990; - xfer += iprot->readListBegin(_etype990, _size987); - this->part_vals.resize(_size987); - uint32_t _i991; - for (_i991 = 0; _i991 < _size987; ++_i991) + uint32_t _size1003; + ::apache::thrift::protocol::TType _etype1006; + xfer += iprot->readListBegin(_etype1006, _size1003); + this->part_vals.resize(_size1003); + uint32_t _i1007; + for (_i1007 = 0; _i1007 < _size1003; ++_i1007) { - xfer += iprot->readString(this->part_vals[_i991]); + xfer += iprot->readString(this->part_vals[_i1007]); } xfer += iprot->readListEnd(); } @@ -12365,10 +12365,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 _iter992; - for (_iter992 = this->part_vals.begin(); _iter992 != this->part_vals.end(); ++_iter992) + std::vector ::const_iterator _iter1008; + for (_iter1008 = this->part_vals.begin(); _iter1008 != this->part_vals.end(); ++_iter1008) { - xfer += oprot->writeString((*_iter992)); + xfer += oprot->writeString((*_iter1008)); } xfer += oprot->writeListEnd(); } @@ -12400,10 +12400,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 _iter993; - for (_iter993 = (*(this->part_vals)).begin(); _iter993 != (*(this->part_vals)).end(); ++_iter993) + std::vector ::const_iterator _iter1009; + for (_iter1009 = (*(this->part_vals)).begin(); _iter1009 != (*(this->part_vals)).end(); ++_iter1009) { - xfer += oprot->writeString((*_iter993)); + xfer += oprot->writeString((*_iter1009)); } xfer += oprot->writeListEnd(); } @@ -12592,17 +12592,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size994; - ::apache::thrift::protocol::TType _ktype995; - ::apache::thrift::protocol::TType _vtype996; - xfer += iprot->readMapBegin(_ktype995, _vtype996, _size994); - uint32_t _i998; - for (_i998 = 0; _i998 < _size994; ++_i998) + uint32_t _size1010; + ::apache::thrift::protocol::TType _ktype1011; + ::apache::thrift::protocol::TType _vtype1012; + xfer += iprot->readMapBegin(_ktype1011, _vtype1012, _size1010); + uint32_t _i1014; + for (_i1014 = 0; _i1014 < _size1010; ++_i1014) { - std::string _key999; - xfer += iprot->readString(_key999); - std::string& _val1000 = this->partitionSpecs[_key999]; - xfer += iprot->readString(_val1000); + std::string _key1015; + xfer += iprot->readString(_key1015); + std::string& _val1016 = this->partitionSpecs[_key1015]; + xfer += iprot->readString(_val1016); } xfer += iprot->readMapEnd(); } @@ -12663,11 +12663,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 _iter1001; - for (_iter1001 = this->partitionSpecs.begin(); _iter1001 != this->partitionSpecs.end(); ++_iter1001) + std::map ::const_iterator _iter1017; + for (_iter1017 = this->partitionSpecs.begin(); _iter1017 != this->partitionSpecs.end(); ++_iter1017) { - xfer += oprot->writeString(_iter1001->first); - xfer += oprot->writeString(_iter1001->second); + xfer += oprot->writeString(_iter1017->first); + xfer += oprot->writeString(_iter1017->second); } xfer += oprot->writeMapEnd(); } @@ -12707,11 +12707,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 _iter1002; - for (_iter1002 = (*(this->partitionSpecs)).begin(); _iter1002 != (*(this->partitionSpecs)).end(); ++_iter1002) + std::map ::const_iterator _iter1018; + for (_iter1018 = (*(this->partitionSpecs)).begin(); _iter1018 != (*(this->partitionSpecs)).end(); ++_iter1018) { - xfer += oprot->writeString(_iter1002->first); - xfer += oprot->writeString(_iter1002->second); + xfer += oprot->writeString(_iter1018->first); + xfer += oprot->writeString(_iter1018->second); } xfer += oprot->writeMapEnd(); } @@ -12956,17 +12956,17 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size1003; - ::apache::thrift::protocol::TType _ktype1004; - ::apache::thrift::protocol::TType _vtype1005; - xfer += iprot->readMapBegin(_ktype1004, _vtype1005, _size1003); - uint32_t _i1007; - for (_i1007 = 0; _i1007 < _size1003; ++_i1007) + uint32_t _size1019; + ::apache::thrift::protocol::TType _ktype1020; + ::apache::thrift::protocol::TType _vtype1021; + xfer += iprot->readMapBegin(_ktype1020, _vtype1021, _size1019); + uint32_t _i1023; + for (_i1023 = 0; _i1023 < _size1019; ++_i1023) { - std::string _key1008; - xfer += iprot->readString(_key1008); - std::string& _val1009 = this->partitionSpecs[_key1008]; - xfer += iprot->readString(_val1009); + std::string _key1024; + xfer += iprot->readString(_key1024); + std::string& _val1025 = this->partitionSpecs[_key1024]; + xfer += iprot->readString(_val1025); } xfer += iprot->readMapEnd(); } @@ -13027,11 +13027,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 _iter1010; - for (_iter1010 = this->partitionSpecs.begin(); _iter1010 != this->partitionSpecs.end(); ++_iter1010) + std::map ::const_iterator _iter1026; + for (_iter1026 = this->partitionSpecs.begin(); _iter1026 != this->partitionSpecs.end(); ++_iter1026) { - xfer += oprot->writeString(_iter1010->first); - xfer += oprot->writeString(_iter1010->second); + xfer += oprot->writeString(_iter1026->first); + xfer += oprot->writeString(_iter1026->second); } xfer += oprot->writeMapEnd(); } @@ -13071,11 +13071,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 _iter1011; - for (_iter1011 = (*(this->partitionSpecs)).begin(); _iter1011 != (*(this->partitionSpecs)).end(); ++_iter1011) + std::map ::const_iterator _iter1027; + for (_iter1027 = (*(this->partitionSpecs)).begin(); _iter1027 != (*(this->partitionSpecs)).end(); ++_iter1027) { - xfer += oprot->writeString(_iter1011->first); - xfer += oprot->writeString(_iter1011->second); + xfer += oprot->writeString(_iter1027->first); + xfer += oprot->writeString(_iter1027->second); } xfer += oprot->writeMapEnd(); } @@ -13132,14 +13132,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1012; - ::apache::thrift::protocol::TType _etype1015; - xfer += iprot->readListBegin(_etype1015, _size1012); - this->success.resize(_size1012); - uint32_t _i1016; - for (_i1016 = 0; _i1016 < _size1012; ++_i1016) + uint32_t _size1028; + ::apache::thrift::protocol::TType _etype1031; + xfer += iprot->readListBegin(_etype1031, _size1028); + this->success.resize(_size1028); + uint32_t _i1032; + for (_i1032 = 0; _i1032 < _size1028; ++_i1032) { - xfer += this->success[_i1016].read(iprot); + xfer += this->success[_i1032].read(iprot); } xfer += iprot->readListEnd(); } @@ -13202,10 +13202,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 _iter1017; - for (_iter1017 = this->success.begin(); _iter1017 != this->success.end(); ++_iter1017) + std::vector ::const_iterator _iter1033; + for (_iter1033 = this->success.begin(); _iter1033 != this->success.end(); ++_iter1033) { - xfer += (*_iter1017).write(oprot); + xfer += (*_iter1033).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13262,14 +13262,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1018; - ::apache::thrift::protocol::TType _etype1021; - xfer += iprot->readListBegin(_etype1021, _size1018); - (*(this->success)).resize(_size1018); - uint32_t _i1022; - for (_i1022 = 0; _i1022 < _size1018; ++_i1022) + 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) { - xfer += (*(this->success))[_i1022].read(iprot); + xfer += (*(this->success))[_i1038].read(iprot); } xfer += iprot->readListEnd(); } @@ -13368,14 +13368,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 _size1023; - ::apache::thrift::protocol::TType _etype1026; - xfer += iprot->readListBegin(_etype1026, _size1023); - this->part_vals.resize(_size1023); - uint32_t _i1027; - for (_i1027 = 0; _i1027 < _size1023; ++_i1027) + uint32_t _size1039; + ::apache::thrift::protocol::TType _etype1042; + xfer += iprot->readListBegin(_etype1042, _size1039); + this->part_vals.resize(_size1039); + uint32_t _i1043; + for (_i1043 = 0; _i1043 < _size1039; ++_i1043) { - xfer += iprot->readString(this->part_vals[_i1027]); + xfer += iprot->readString(this->part_vals[_i1043]); } xfer += iprot->readListEnd(); } @@ -13396,14 +13396,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 _size1028; - ::apache::thrift::protocol::TType _etype1031; - xfer += iprot->readListBegin(_etype1031, _size1028); - this->group_names.resize(_size1028); - uint32_t _i1032; - for (_i1032 = 0; _i1032 < _size1028; ++_i1032) + uint32_t _size1044; + ::apache::thrift::protocol::TType _etype1047; + xfer += iprot->readListBegin(_etype1047, _size1044); + this->group_names.resize(_size1044); + uint32_t _i1048; + for (_i1048 = 0; _i1048 < _size1044; ++_i1048) { - xfer += iprot->readString(this->group_names[_i1032]); + xfer += iprot->readString(this->group_names[_i1048]); } xfer += iprot->readListEnd(); } @@ -13440,10 +13440,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 _iter1033; - for (_iter1033 = this->part_vals.begin(); _iter1033 != this->part_vals.end(); ++_iter1033) + std::vector ::const_iterator _iter1049; + for (_iter1049 = this->part_vals.begin(); _iter1049 != this->part_vals.end(); ++_iter1049) { - xfer += oprot->writeString((*_iter1033)); + xfer += oprot->writeString((*_iter1049)); } xfer += oprot->writeListEnd(); } @@ -13456,10 +13456,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 _iter1034; - for (_iter1034 = this->group_names.begin(); _iter1034 != this->group_names.end(); ++_iter1034) + std::vector ::const_iterator _iter1050; + for (_iter1050 = this->group_names.begin(); _iter1050 != this->group_names.end(); ++_iter1050) { - xfer += oprot->writeString((*_iter1034)); + xfer += oprot->writeString((*_iter1050)); } xfer += oprot->writeListEnd(); } @@ -13491,10 +13491,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 _iter1035; - for (_iter1035 = (*(this->part_vals)).begin(); _iter1035 != (*(this->part_vals)).end(); ++_iter1035) + std::vector ::const_iterator _iter1051; + for (_iter1051 = (*(this->part_vals)).begin(); _iter1051 != (*(this->part_vals)).end(); ++_iter1051) { - xfer += oprot->writeString((*_iter1035)); + xfer += oprot->writeString((*_iter1051)); } xfer += oprot->writeListEnd(); } @@ -13507,10 +13507,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 _iter1036; - for (_iter1036 = (*(this->group_names)).begin(); _iter1036 != (*(this->group_names)).end(); ++_iter1036) + std::vector ::const_iterator _iter1052; + for (_iter1052 = (*(this->group_names)).begin(); _iter1052 != (*(this->group_names)).end(); ++_iter1052) { - xfer += oprot->writeString((*_iter1036)); + xfer += oprot->writeString((*_iter1052)); } xfer += oprot->writeListEnd(); } @@ -14069,14 +14069,14 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - 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) + 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 += this->success[_i1041].read(iprot); + xfer += this->success[_i1057].read(iprot); } xfer += iprot->readListEnd(); } @@ -14123,10 +14123,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 _iter1042; - for (_iter1042 = this->success.begin(); _iter1042 != this->success.end(); ++_iter1042) + std::vector ::const_iterator _iter1058; + for (_iter1058 = this->success.begin(); _iter1058 != this->success.end(); ++_iter1058) { - xfer += (*_iter1042).write(oprot); + xfer += (*_iter1058).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14175,14 +14175,14 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1043; - ::apache::thrift::protocol::TType _etype1046; - xfer += iprot->readListBegin(_etype1046, _size1043); - (*(this->success)).resize(_size1043); - uint32_t _i1047; - for (_i1047 = 0; _i1047 < _size1043; ++_i1047) + uint32_t _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 += (*(this->success))[_i1047].read(iprot); + xfer += (*(this->success))[_i1063].read(iprot); } xfer += iprot->readListEnd(); } @@ -14281,14 +14281,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 _size1048; - ::apache::thrift::protocol::TType _etype1051; - xfer += iprot->readListBegin(_etype1051, _size1048); - this->group_names.resize(_size1048); - uint32_t _i1052; - for (_i1052 = 0; _i1052 < _size1048; ++_i1052) + uint32_t _size1064; + ::apache::thrift::protocol::TType _etype1067; + xfer += iprot->readListBegin(_etype1067, _size1064); + this->group_names.resize(_size1064); + uint32_t _i1068; + for (_i1068 = 0; _i1068 < _size1064; ++_i1068) { - xfer += iprot->readString(this->group_names[_i1052]); + xfer += iprot->readString(this->group_names[_i1068]); } xfer += iprot->readListEnd(); } @@ -14333,10 +14333,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 _iter1053; - for (_iter1053 = this->group_names.begin(); _iter1053 != this->group_names.end(); ++_iter1053) + std::vector ::const_iterator _iter1069; + for (_iter1069 = this->group_names.begin(); _iter1069 != this->group_names.end(); ++_iter1069) { - xfer += oprot->writeString((*_iter1053)); + xfer += oprot->writeString((*_iter1069)); } xfer += oprot->writeListEnd(); } @@ -14376,10 +14376,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 _iter1054; - for (_iter1054 = (*(this->group_names)).begin(); _iter1054 != (*(this->group_names)).end(); ++_iter1054) + std::vector ::const_iterator _iter1070; + for (_iter1070 = (*(this->group_names)).begin(); _iter1070 != (*(this->group_names)).end(); ++_iter1070) { - xfer += oprot->writeString((*_iter1054)); + xfer += oprot->writeString((*_iter1070)); } xfer += oprot->writeListEnd(); } @@ -14420,14 +14420,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1055; - ::apache::thrift::protocol::TType _etype1058; - xfer += iprot->readListBegin(_etype1058, _size1055); - this->success.resize(_size1055); - uint32_t _i1059; - for (_i1059 = 0; _i1059 < _size1055; ++_i1059) + 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[_i1059].read(iprot); + xfer += this->success[_i1075].read(iprot); } xfer += iprot->readListEnd(); } @@ -14474,10 +14474,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 _iter1060; - for (_iter1060 = this->success.begin(); _iter1060 != this->success.end(); ++_iter1060) + std::vector ::const_iterator _iter1076; + for (_iter1076 = this->success.begin(); _iter1076 != this->success.end(); ++_iter1076) { - xfer += (*_iter1060).write(oprot); + xfer += (*_iter1076).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14526,14 +14526,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1061; - ::apache::thrift::protocol::TType _etype1064; - xfer += iprot->readListBegin(_etype1064, _size1061); - (*(this->success)).resize(_size1061); - uint32_t _i1065; - for (_i1065 = 0; _i1065 < _size1061; ++_i1065) + uint32_t _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))[_i1065].read(iprot); + xfer += (*(this->success))[_i1081].read(iprot); } xfer += iprot->readListEnd(); } @@ -14711,14 +14711,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1066; - ::apache::thrift::protocol::TType _etype1069; - xfer += iprot->readListBegin(_etype1069, _size1066); - this->success.resize(_size1066); - uint32_t _i1070; - for (_i1070 = 0; _i1070 < _size1066; ++_i1070) + uint32_t _size1082; + ::apache::thrift::protocol::TType _etype1085; + xfer += iprot->readListBegin(_etype1085, _size1082); + this->success.resize(_size1082); + uint32_t _i1086; + for (_i1086 = 0; _i1086 < _size1082; ++_i1086) { - xfer += this->success[_i1070].read(iprot); + xfer += this->success[_i1086].read(iprot); } xfer += iprot->readListEnd(); } @@ -14765,10 +14765,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 _iter1071; - for (_iter1071 = this->success.begin(); _iter1071 != this->success.end(); ++_iter1071) + std::vector ::const_iterator _iter1087; + for (_iter1087 = this->success.begin(); _iter1087 != this->success.end(); ++_iter1087) { - xfer += (*_iter1071).write(oprot); + xfer += (*_iter1087).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14817,14 +14817,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_presult::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1072; - ::apache::thrift::protocol::TType _etype1075; - xfer += iprot->readListBegin(_etype1075, _size1072); - (*(this->success)).resize(_size1072); - uint32_t _i1076; - for (_i1076 = 0; _i1076 < _size1072; ++_i1076) + 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) { - xfer += (*(this->success))[_i1076].read(iprot); + xfer += (*(this->success))[_i1092].read(iprot); } xfer += iprot->readListEnd(); } @@ -15002,14 +15002,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - 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) + uint32_t _size1093; + ::apache::thrift::protocol::TType _etype1096; + xfer += iprot->readListBegin(_etype1096, _size1093); + this->success.resize(_size1093); + uint32_t _i1097; + for (_i1097 = 0; _i1097 < _size1093; ++_i1097) { - xfer += iprot->readString(this->success[_i1081]); + xfer += iprot->readString(this->success[_i1097]); } xfer += iprot->readListEnd(); } @@ -15048,10 +15048,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 _iter1082; - for (_iter1082 = this->success.begin(); _iter1082 != this->success.end(); ++_iter1082) + std::vector ::const_iterator _iter1098; + for (_iter1098 = this->success.begin(); _iter1098 != this->success.end(); ++_iter1098) { - xfer += oprot->writeString((*_iter1082)); + xfer += oprot->writeString((*_iter1098)); } xfer += oprot->writeListEnd(); } @@ -15096,14 +15096,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1083; - ::apache::thrift::protocol::TType _etype1086; - xfer += iprot->readListBegin(_etype1086, _size1083); - (*(this->success)).resize(_size1083); - uint32_t _i1087; - for (_i1087 = 0; _i1087 < _size1083; ++_i1087) + uint32_t _size1099; + ::apache::thrift::protocol::TType _etype1102; + xfer += iprot->readListBegin(_etype1102, _size1099); + (*(this->success)).resize(_size1099); + uint32_t _i1103; + for (_i1103 = 0; _i1103 < _size1099; ++_i1103) { - xfer += iprot->readString((*(this->success))[_i1087]); + xfer += iprot->readString((*(this->success))[_i1103]); } xfer += iprot->readListEnd(); } @@ -15178,14 +15178,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 _size1088; - ::apache::thrift::protocol::TType _etype1091; - xfer += iprot->readListBegin(_etype1091, _size1088); - this->part_vals.resize(_size1088); - uint32_t _i1092; - for (_i1092 = 0; _i1092 < _size1088; ++_i1092) + uint32_t _size1104; + ::apache::thrift::protocol::TType _etype1107; + xfer += iprot->readListBegin(_etype1107, _size1104); + this->part_vals.resize(_size1104); + uint32_t _i1108; + for (_i1108 = 0; _i1108 < _size1104; ++_i1108) { - xfer += iprot->readString(this->part_vals[_i1092]); + xfer += iprot->readString(this->part_vals[_i1108]); } xfer += iprot->readListEnd(); } @@ -15230,10 +15230,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 _iter1093; - for (_iter1093 = this->part_vals.begin(); _iter1093 != this->part_vals.end(); ++_iter1093) + std::vector ::const_iterator _iter1109; + for (_iter1109 = this->part_vals.begin(); _iter1109 != this->part_vals.end(); ++_iter1109) { - xfer += oprot->writeString((*_iter1093)); + xfer += oprot->writeString((*_iter1109)); } xfer += oprot->writeListEnd(); } @@ -15269,10 +15269,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 _iter1094; - for (_iter1094 = (*(this->part_vals)).begin(); _iter1094 != (*(this->part_vals)).end(); ++_iter1094) + std::vector ::const_iterator _iter1110; + for (_iter1110 = (*(this->part_vals)).begin(); _iter1110 != (*(this->part_vals)).end(); ++_iter1110) { - xfer += oprot->writeString((*_iter1094)); + xfer += oprot->writeString((*_iter1110)); } xfer += oprot->writeListEnd(); } @@ -15317,14 +15317,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1095; - ::apache::thrift::protocol::TType _etype1098; - xfer += iprot->readListBegin(_etype1098, _size1095); - this->success.resize(_size1095); - uint32_t _i1099; - for (_i1099 = 0; _i1099 < _size1095; ++_i1099) + uint32_t _size1111; + ::apache::thrift::protocol::TType _etype1114; + xfer += iprot->readListBegin(_etype1114, _size1111); + this->success.resize(_size1111); + uint32_t _i1115; + for (_i1115 = 0; _i1115 < _size1111; ++_i1115) { - xfer += this->success[_i1099].read(iprot); + xfer += this->success[_i1115].read(iprot); } xfer += iprot->readListEnd(); } @@ -15371,10 +15371,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 _iter1100; - for (_iter1100 = this->success.begin(); _iter1100 != this->success.end(); ++_iter1100) + std::vector ::const_iterator _iter1116; + for (_iter1116 = this->success.begin(); _iter1116 != this->success.end(); ++_iter1116) { - xfer += (*_iter1100).write(oprot); + xfer += (*_iter1116).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15423,14 +15423,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1101; - ::apache::thrift::protocol::TType _etype1104; - xfer += iprot->readListBegin(_etype1104, _size1101); - (*(this->success)).resize(_size1101); - uint32_t _i1105; - for (_i1105 = 0; _i1105 < _size1101; ++_i1105) + 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) { - xfer += (*(this->success))[_i1105].read(iprot); + xfer += (*(this->success))[_i1121].read(iprot); } xfer += iprot->readListEnd(); } @@ -15513,14 +15513,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 _size1106; - ::apache::thrift::protocol::TType _etype1109; - xfer += iprot->readListBegin(_etype1109, _size1106); - this->part_vals.resize(_size1106); - uint32_t _i1110; - for (_i1110 = 0; _i1110 < _size1106; ++_i1110) + uint32_t _size1122; + ::apache::thrift::protocol::TType _etype1125; + xfer += iprot->readListBegin(_etype1125, _size1122); + this->part_vals.resize(_size1122); + uint32_t _i1126; + for (_i1126 = 0; _i1126 < _size1122; ++_i1126) { - xfer += iprot->readString(this->part_vals[_i1110]); + xfer += iprot->readString(this->part_vals[_i1126]); } xfer += iprot->readListEnd(); } @@ -15549,14 +15549,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 _size1111; - ::apache::thrift::protocol::TType _etype1114; - xfer += iprot->readListBegin(_etype1114, _size1111); - this->group_names.resize(_size1111); - uint32_t _i1115; - for (_i1115 = 0; _i1115 < _size1111; ++_i1115) + uint32_t _size1127; + ::apache::thrift::protocol::TType _etype1130; + xfer += iprot->readListBegin(_etype1130, _size1127); + this->group_names.resize(_size1127); + uint32_t _i1131; + for (_i1131 = 0; _i1131 < _size1127; ++_i1131) { - xfer += iprot->readString(this->group_names[_i1115]); + xfer += iprot->readString(this->group_names[_i1131]); } xfer += iprot->readListEnd(); } @@ -15593,10 +15593,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 _iter1116; - for (_iter1116 = this->part_vals.begin(); _iter1116 != this->part_vals.end(); ++_iter1116) + std::vector ::const_iterator _iter1132; + for (_iter1132 = this->part_vals.begin(); _iter1132 != this->part_vals.end(); ++_iter1132) { - xfer += oprot->writeString((*_iter1116)); + xfer += oprot->writeString((*_iter1132)); } xfer += oprot->writeListEnd(); } @@ -15613,10 +15613,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 _iter1117; - for (_iter1117 = this->group_names.begin(); _iter1117 != this->group_names.end(); ++_iter1117) + std::vector ::const_iterator _iter1133; + for (_iter1133 = this->group_names.begin(); _iter1133 != this->group_names.end(); ++_iter1133) { - xfer += oprot->writeString((*_iter1117)); + xfer += oprot->writeString((*_iter1133)); } xfer += oprot->writeListEnd(); } @@ -15648,10 +15648,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 _iter1118; - for (_iter1118 = (*(this->part_vals)).begin(); _iter1118 != (*(this->part_vals)).end(); ++_iter1118) + std::vector ::const_iterator _iter1134; + for (_iter1134 = (*(this->part_vals)).begin(); _iter1134 != (*(this->part_vals)).end(); ++_iter1134) { - xfer += oprot->writeString((*_iter1118)); + xfer += oprot->writeString((*_iter1134)); } xfer += oprot->writeListEnd(); } @@ -15668,10 +15668,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 _iter1119; - for (_iter1119 = (*(this->group_names)).begin(); _iter1119 != (*(this->group_names)).end(); ++_iter1119) + std::vector ::const_iterator _iter1135; + for (_iter1135 = (*(this->group_names)).begin(); _iter1135 != (*(this->group_names)).end(); ++_iter1135) { - xfer += oprot->writeString((*_iter1119)); + xfer += oprot->writeString((*_iter1135)); } xfer += oprot->writeListEnd(); } @@ -15712,14 +15712,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - 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) + 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[_i1124].read(iprot); + xfer += this->success[_i1140].read(iprot); } xfer += iprot->readListEnd(); } @@ -15766,10 +15766,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 _iter1125; - for (_iter1125 = this->success.begin(); _iter1125 != this->success.end(); ++_iter1125) + std::vector ::const_iterator _iter1141; + for (_iter1141 = this->success.begin(); _iter1141 != this->success.end(); ++_iter1141) { - xfer += (*_iter1125).write(oprot); + xfer += (*_iter1141).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15818,14 +15818,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1126; - ::apache::thrift::protocol::TType _etype1129; - xfer += iprot->readListBegin(_etype1129, _size1126); - (*(this->success)).resize(_size1126); - uint32_t _i1130; - for (_i1130 = 0; _i1130 < _size1126; ++_i1130) + uint32_t _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))[_i1130].read(iprot); + xfer += (*(this->success))[_i1146].read(iprot); } xfer += iprot->readListEnd(); } @@ -15908,14 +15908,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 _size1131; - ::apache::thrift::protocol::TType _etype1134; - xfer += iprot->readListBegin(_etype1134, _size1131); - this->part_vals.resize(_size1131); - uint32_t _i1135; - for (_i1135 = 0; _i1135 < _size1131; ++_i1135) + uint32_t _size1147; + ::apache::thrift::protocol::TType _etype1150; + xfer += iprot->readListBegin(_etype1150, _size1147); + this->part_vals.resize(_size1147); + uint32_t _i1151; + for (_i1151 = 0; _i1151 < _size1147; ++_i1151) { - xfer += iprot->readString(this->part_vals[_i1135]); + xfer += iprot->readString(this->part_vals[_i1151]); } xfer += iprot->readListEnd(); } @@ -15960,10 +15960,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 _iter1136; - for (_iter1136 = this->part_vals.begin(); _iter1136 != this->part_vals.end(); ++_iter1136) + std::vector ::const_iterator _iter1152; + for (_iter1152 = this->part_vals.begin(); _iter1152 != this->part_vals.end(); ++_iter1152) { - xfer += oprot->writeString((*_iter1136)); + xfer += oprot->writeString((*_iter1152)); } xfer += oprot->writeListEnd(); } @@ -15999,10 +15999,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 _iter1137; - for (_iter1137 = (*(this->part_vals)).begin(); _iter1137 != (*(this->part_vals)).end(); ++_iter1137) + std::vector ::const_iterator _iter1153; + for (_iter1153 = (*(this->part_vals)).begin(); _iter1153 != (*(this->part_vals)).end(); ++_iter1153) { - xfer += oprot->writeString((*_iter1137)); + xfer += oprot->writeString((*_iter1153)); } xfer += oprot->writeListEnd(); } @@ -16047,14 +16047,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1138; - ::apache::thrift::protocol::TType _etype1141; - xfer += iprot->readListBegin(_etype1141, _size1138); - this->success.resize(_size1138); - uint32_t _i1142; - for (_i1142 = 0; _i1142 < _size1138; ++_i1142) + 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 += iprot->readString(this->success[_i1142]); + xfer += iprot->readString(this->success[_i1158]); } xfer += iprot->readListEnd(); } @@ -16101,10 +16101,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 _iter1143; - for (_iter1143 = this->success.begin(); _iter1143 != this->success.end(); ++_iter1143) + std::vector ::const_iterator _iter1159; + for (_iter1159 = this->success.begin(); _iter1159 != this->success.end(); ++_iter1159) { - xfer += oprot->writeString((*_iter1143)); + xfer += oprot->writeString((*_iter1159)); } xfer += oprot->writeListEnd(); } @@ -16153,14 +16153,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1144; - ::apache::thrift::protocol::TType _etype1147; - xfer += iprot->readListBegin(_etype1147, _size1144); - (*(this->success)).resize(_size1144); - uint32_t _i1148; - for (_i1148 = 0; _i1148 < _size1144; ++_i1148) + uint32_t _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 += iprot->readString((*(this->success))[_i1148]); + xfer += iprot->readString((*(this->success))[_i1164]); } xfer += iprot->readListEnd(); } @@ -16354,14 +16354,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1149; - ::apache::thrift::protocol::TType _etype1152; - xfer += iprot->readListBegin(_etype1152, _size1149); - this->success.resize(_size1149); - uint32_t _i1153; - for (_i1153 = 0; _i1153 < _size1149; ++_i1153) + uint32_t _size1165; + ::apache::thrift::protocol::TType _etype1168; + xfer += iprot->readListBegin(_etype1168, _size1165); + this->success.resize(_size1165); + uint32_t _i1169; + for (_i1169 = 0; _i1169 < _size1165; ++_i1169) { - xfer += this->success[_i1153].read(iprot); + xfer += this->success[_i1169].read(iprot); } xfer += iprot->readListEnd(); } @@ -16408,10 +16408,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 _iter1154; - for (_iter1154 = this->success.begin(); _iter1154 != this->success.end(); ++_iter1154) + std::vector ::const_iterator _iter1170; + for (_iter1170 = this->success.begin(); _iter1170 != this->success.end(); ++_iter1170) { - xfer += (*_iter1154).write(oprot); + xfer += (*_iter1170).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16460,14 +16460,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1155; - ::apache::thrift::protocol::TType _etype1158; - xfer += iprot->readListBegin(_etype1158, _size1155); - (*(this->success)).resize(_size1155); - uint32_t _i1159; - for (_i1159 = 0; _i1159 < _size1155; ++_i1159) + uint32_t _size1171; + ::apache::thrift::protocol::TType _etype1174; + xfer += iprot->readListBegin(_etype1174, _size1171); + (*(this->success)).resize(_size1171); + uint32_t _i1175; + for (_i1175 = 0; _i1175 < _size1171; ++_i1175) { - xfer += (*(this->success))[_i1159].read(iprot); + xfer += (*(this->success))[_i1175].read(iprot); } xfer += iprot->readListEnd(); } @@ -16661,14 +16661,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 _size1160; - ::apache::thrift::protocol::TType _etype1163; - xfer += iprot->readListBegin(_etype1163, _size1160); - this->success.resize(_size1160); - uint32_t _i1164; - for (_i1164 = 0; _i1164 < _size1160; ++_i1164) + uint32_t _size1176; + ::apache::thrift::protocol::TType _etype1179; + xfer += iprot->readListBegin(_etype1179, _size1176); + this->success.resize(_size1176); + uint32_t _i1180; + for (_i1180 = 0; _i1180 < _size1176; ++_i1180) { - xfer += this->success[_i1164].read(iprot); + xfer += this->success[_i1180].read(iprot); } xfer += iprot->readListEnd(); } @@ -16715,10 +16715,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 _iter1165; - for (_iter1165 = this->success.begin(); _iter1165 != this->success.end(); ++_iter1165) + std::vector ::const_iterator _iter1181; + for (_iter1181 = this->success.begin(); _iter1181 != this->success.end(); ++_iter1181) { - xfer += (*_iter1165).write(oprot); + xfer += (*_iter1181).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16767,14 +16767,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 _size1166; - ::apache::thrift::protocol::TType _etype1169; - xfer += iprot->readListBegin(_etype1169, _size1166); - (*(this->success)).resize(_size1166); - uint32_t _i1170; - for (_i1170 = 0; _i1170 < _size1166; ++_i1170) + uint32_t _size1182; + ::apache::thrift::protocol::TType _etype1185; + xfer += iprot->readListBegin(_etype1185, _size1182); + (*(this->success)).resize(_size1182); + uint32_t _i1186; + for (_i1186 = 0; _i1186 < _size1182; ++_i1186) { - xfer += (*(this->success))[_i1170].read(iprot); + xfer += (*(this->success))[_i1186].read(iprot); } xfer += iprot->readListEnd(); } @@ -17343,14 +17343,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size1171; - ::apache::thrift::protocol::TType _etype1174; - xfer += iprot->readListBegin(_etype1174, _size1171); - this->names.resize(_size1171); - uint32_t _i1175; - for (_i1175 = 0; _i1175 < _size1171; ++_i1175) + uint32_t _size1187; + ::apache::thrift::protocol::TType _etype1190; + xfer += iprot->readListBegin(_etype1190, _size1187); + this->names.resize(_size1187); + uint32_t _i1191; + for (_i1191 = 0; _i1191 < _size1187; ++_i1191) { - xfer += iprot->readString(this->names[_i1175]); + xfer += iprot->readString(this->names[_i1191]); } xfer += iprot->readListEnd(); } @@ -17387,10 +17387,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 _iter1176; - for (_iter1176 = this->names.begin(); _iter1176 != this->names.end(); ++_iter1176) + std::vector ::const_iterator _iter1192; + for (_iter1192 = this->names.begin(); _iter1192 != this->names.end(); ++_iter1192) { - xfer += oprot->writeString((*_iter1176)); + xfer += oprot->writeString((*_iter1192)); } xfer += oprot->writeListEnd(); } @@ -17422,10 +17422,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 _iter1177; - for (_iter1177 = (*(this->names)).begin(); _iter1177 != (*(this->names)).end(); ++_iter1177) + std::vector ::const_iterator _iter1193; + for (_iter1193 = (*(this->names)).begin(); _iter1193 != (*(this->names)).end(); ++_iter1193) { - xfer += oprot->writeString((*_iter1177)); + xfer += oprot->writeString((*_iter1193)); } xfer += oprot->writeListEnd(); } @@ -17466,14 +17466,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1178; - ::apache::thrift::protocol::TType _etype1181; - xfer += iprot->readListBegin(_etype1181, _size1178); - this->success.resize(_size1178); - uint32_t _i1182; - for (_i1182 = 0; _i1182 < _size1178; ++_i1182) + uint32_t _size1194; + ::apache::thrift::protocol::TType _etype1197; + xfer += iprot->readListBegin(_etype1197, _size1194); + this->success.resize(_size1194); + uint32_t _i1198; + for (_i1198 = 0; _i1198 < _size1194; ++_i1198) { - xfer += this->success[_i1182].read(iprot); + xfer += this->success[_i1198].read(iprot); } xfer += iprot->readListEnd(); } @@ -17520,10 +17520,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 _iter1183; - for (_iter1183 = this->success.begin(); _iter1183 != this->success.end(); ++_iter1183) + std::vector ::const_iterator _iter1199; + for (_iter1199 = this->success.begin(); _iter1199 != this->success.end(); ++_iter1199) { - xfer += (*_iter1183).write(oprot); + xfer += (*_iter1199).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17572,14 +17572,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1184; - ::apache::thrift::protocol::TType _etype1187; - xfer += iprot->readListBegin(_etype1187, _size1184); - (*(this->success)).resize(_size1184); - uint32_t _i1188; - for (_i1188 = 0; _i1188 < _size1184; ++_i1188) + uint32_t _size1200; + ::apache::thrift::protocol::TType _etype1203; + xfer += iprot->readListBegin(_etype1203, _size1200); + (*(this->success)).resize(_size1200); + uint32_t _i1204; + for (_i1204 = 0; _i1204 < _size1200; ++_i1204) { - xfer += (*(this->success))[_i1188].read(iprot); + xfer += (*(this->success))[_i1204].read(iprot); } xfer += iprot->readListEnd(); } @@ -17901,14 +17901,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1189; - ::apache::thrift::protocol::TType _etype1192; - xfer += iprot->readListBegin(_etype1192, _size1189); - this->new_parts.resize(_size1189); - uint32_t _i1193; - for (_i1193 = 0; _i1193 < _size1189; ++_i1193) + uint32_t _size1205; + ::apache::thrift::protocol::TType _etype1208; + xfer += iprot->readListBegin(_etype1208, _size1205); + this->new_parts.resize(_size1205); + uint32_t _i1209; + for (_i1209 = 0; _i1209 < _size1205; ++_i1209) { - xfer += this->new_parts[_i1193].read(iprot); + xfer += this->new_parts[_i1209].read(iprot); } xfer += iprot->readListEnd(); } @@ -17945,10 +17945,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 _iter1194; - for (_iter1194 = this->new_parts.begin(); _iter1194 != this->new_parts.end(); ++_iter1194) + std::vector ::const_iterator _iter1210; + for (_iter1210 = this->new_parts.begin(); _iter1210 != this->new_parts.end(); ++_iter1210) { - xfer += (*_iter1194).write(oprot); + xfer += (*_iter1210).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17980,10 +17980,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 _iter1195; - for (_iter1195 = (*(this->new_parts)).begin(); _iter1195 != (*(this->new_parts)).end(); ++_iter1195) + std::vector ::const_iterator _iter1211; + for (_iter1211 = (*(this->new_parts)).begin(); _iter1211 != (*(this->new_parts)).end(); ++_iter1211) { - xfer += (*_iter1195).write(oprot); + xfer += (*_iter1211).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18168,14 +18168,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1196; - ::apache::thrift::protocol::TType _etype1199; - xfer += iprot->readListBegin(_etype1199, _size1196); - this->new_parts.resize(_size1196); - uint32_t _i1200; - for (_i1200 = 0; _i1200 < _size1196; ++_i1200) + uint32_t _size1212; + ::apache::thrift::protocol::TType _etype1215; + xfer += iprot->readListBegin(_etype1215, _size1212); + this->new_parts.resize(_size1212); + uint32_t _i1216; + for (_i1216 = 0; _i1216 < _size1212; ++_i1216) { - xfer += this->new_parts[_i1200].read(iprot); + xfer += this->new_parts[_i1216].read(iprot); } xfer += iprot->readListEnd(); } @@ -18220,10 +18220,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 _iter1201; - for (_iter1201 = this->new_parts.begin(); _iter1201 != this->new_parts.end(); ++_iter1201) + std::vector ::const_iterator _iter1217; + for (_iter1217 = this->new_parts.begin(); _iter1217 != this->new_parts.end(); ++_iter1217) { - xfer += (*_iter1201).write(oprot); + xfer += (*_iter1217).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18259,10 +18259,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 _iter1202; - for (_iter1202 = (*(this->new_parts)).begin(); _iter1202 != (*(this->new_parts)).end(); ++_iter1202) + std::vector ::const_iterator _iter1218; + for (_iter1218 = (*(this->new_parts)).begin(); _iter1218 != (*(this->new_parts)).end(); ++_iter1218) { - xfer += (*_iter1202).write(oprot); + xfer += (*_iter1218).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18706,14 +18706,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1203; - ::apache::thrift::protocol::TType _etype1206; - xfer += iprot->readListBegin(_etype1206, _size1203); - this->part_vals.resize(_size1203); - uint32_t _i1207; - for (_i1207 = 0; _i1207 < _size1203; ++_i1207) + uint32_t _size1219; + ::apache::thrift::protocol::TType _etype1222; + xfer += iprot->readListBegin(_etype1222, _size1219); + this->part_vals.resize(_size1219); + uint32_t _i1223; + for (_i1223 = 0; _i1223 < _size1219; ++_i1223) { - xfer += iprot->readString(this->part_vals[_i1207]); + xfer += iprot->readString(this->part_vals[_i1223]); } xfer += iprot->readListEnd(); } @@ -18758,10 +18758,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 _iter1208; - for (_iter1208 = this->part_vals.begin(); _iter1208 != this->part_vals.end(); ++_iter1208) + std::vector ::const_iterator _iter1224; + for (_iter1224 = this->part_vals.begin(); _iter1224 != this->part_vals.end(); ++_iter1224) { - xfer += oprot->writeString((*_iter1208)); + xfer += oprot->writeString((*_iter1224)); } xfer += oprot->writeListEnd(); } @@ -18797,10 +18797,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 _iter1209; - for (_iter1209 = (*(this->part_vals)).begin(); _iter1209 != (*(this->part_vals)).end(); ++_iter1209) + std::vector ::const_iterator _iter1225; + for (_iter1225 = (*(this->part_vals)).begin(); _iter1225 != (*(this->part_vals)).end(); ++_iter1225) { - xfer += oprot->writeString((*_iter1209)); + xfer += oprot->writeString((*_iter1225)); } xfer += oprot->writeListEnd(); } @@ -18973,14 +18973,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 _size1210; - ::apache::thrift::protocol::TType _etype1213; - xfer += iprot->readListBegin(_etype1213, _size1210); - this->part_vals.resize(_size1210); - uint32_t _i1214; - for (_i1214 = 0; _i1214 < _size1210; ++_i1214) + uint32_t _size1226; + ::apache::thrift::protocol::TType _etype1229; + xfer += iprot->readListBegin(_etype1229, _size1226); + this->part_vals.resize(_size1226); + uint32_t _i1230; + for (_i1230 = 0; _i1230 < _size1226; ++_i1230) { - xfer += iprot->readString(this->part_vals[_i1214]); + xfer += iprot->readString(this->part_vals[_i1230]); } xfer += iprot->readListEnd(); } @@ -19017,10 +19017,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 _iter1215; - for (_iter1215 = this->part_vals.begin(); _iter1215 != this->part_vals.end(); ++_iter1215) + std::vector ::const_iterator _iter1231; + for (_iter1231 = this->part_vals.begin(); _iter1231 != this->part_vals.end(); ++_iter1231) { - xfer += oprot->writeString((*_iter1215)); + xfer += oprot->writeString((*_iter1231)); } xfer += oprot->writeListEnd(); } @@ -19048,10 +19048,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 _iter1216; - for (_iter1216 = (*(this->part_vals)).begin(); _iter1216 != (*(this->part_vals)).end(); ++_iter1216) + std::vector ::const_iterator _iter1232; + for (_iter1232 = (*(this->part_vals)).begin(); _iter1232 != (*(this->part_vals)).end(); ++_iter1232) { - xfer += oprot->writeString((*_iter1216)); + xfer += oprot->writeString((*_iter1232)); } xfer += oprot->writeListEnd(); } @@ -19526,14 +19526,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1217; - ::apache::thrift::protocol::TType _etype1220; - xfer += iprot->readListBegin(_etype1220, _size1217); - this->success.resize(_size1217); - uint32_t _i1221; - for (_i1221 = 0; _i1221 < _size1217; ++_i1221) + uint32_t _size1233; + ::apache::thrift::protocol::TType _etype1236; + xfer += iprot->readListBegin(_etype1236, _size1233); + this->success.resize(_size1233); + uint32_t _i1237; + for (_i1237 = 0; _i1237 < _size1233; ++_i1237) { - xfer += iprot->readString(this->success[_i1221]); + xfer += iprot->readString(this->success[_i1237]); } xfer += iprot->readListEnd(); } @@ -19572,10 +19572,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 _iter1222; - for (_iter1222 = this->success.begin(); _iter1222 != this->success.end(); ++_iter1222) + std::vector ::const_iterator _iter1238; + for (_iter1238 = this->success.begin(); _iter1238 != this->success.end(); ++_iter1238) { - xfer += oprot->writeString((*_iter1222)); + xfer += oprot->writeString((*_iter1238)); } xfer += oprot->writeListEnd(); } @@ -19620,14 +19620,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1223; - ::apache::thrift::protocol::TType _etype1226; - xfer += iprot->readListBegin(_etype1226, _size1223); - (*(this->success)).resize(_size1223); - uint32_t _i1227; - for (_i1227 = 0; _i1227 < _size1223; ++_i1227) + 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 += iprot->readString((*(this->success))[_i1227]); + xfer += iprot->readString((*(this->success))[_i1243]); } xfer += iprot->readListEnd(); } @@ -19765,17 +19765,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1228; - ::apache::thrift::protocol::TType _ktype1229; - ::apache::thrift::protocol::TType _vtype1230; - xfer += iprot->readMapBegin(_ktype1229, _vtype1230, _size1228); - uint32_t _i1232; - for (_i1232 = 0; _i1232 < _size1228; ++_i1232) + uint32_t _size1244; + ::apache::thrift::protocol::TType _ktype1245; + ::apache::thrift::protocol::TType _vtype1246; + xfer += iprot->readMapBegin(_ktype1245, _vtype1246, _size1244); + uint32_t _i1248; + for (_i1248 = 0; _i1248 < _size1244; ++_i1248) { - std::string _key1233; - xfer += iprot->readString(_key1233); - std::string& _val1234 = this->success[_key1233]; - xfer += iprot->readString(_val1234); + std::string _key1249; + xfer += iprot->readString(_key1249); + std::string& _val1250 = this->success[_key1249]; + xfer += iprot->readString(_val1250); } xfer += iprot->readMapEnd(); } @@ -19814,11 +19814,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 _iter1235; - for (_iter1235 = this->success.begin(); _iter1235 != this->success.end(); ++_iter1235) + std::map ::const_iterator _iter1251; + for (_iter1251 = this->success.begin(); _iter1251 != this->success.end(); ++_iter1251) { - xfer += oprot->writeString(_iter1235->first); - xfer += oprot->writeString(_iter1235->second); + xfer += oprot->writeString(_iter1251->first); + xfer += oprot->writeString(_iter1251->second); } xfer += oprot->writeMapEnd(); } @@ -19863,17 +19863,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1236; - ::apache::thrift::protocol::TType _ktype1237; - ::apache::thrift::protocol::TType _vtype1238; - xfer += iprot->readMapBegin(_ktype1237, _vtype1238, _size1236); - uint32_t _i1240; - for (_i1240 = 0; _i1240 < _size1236; ++_i1240) + uint32_t _size1252; + ::apache::thrift::protocol::TType _ktype1253; + ::apache::thrift::protocol::TType _vtype1254; + xfer += iprot->readMapBegin(_ktype1253, _vtype1254, _size1252); + uint32_t _i1256; + for (_i1256 = 0; _i1256 < _size1252; ++_i1256) { - std::string _key1241; - xfer += iprot->readString(_key1241); - std::string& _val1242 = (*(this->success))[_key1241]; - xfer += iprot->readString(_val1242); + std::string _key1257; + xfer += iprot->readString(_key1257); + std::string& _val1258 = (*(this->success))[_key1257]; + xfer += iprot->readString(_val1258); } xfer += iprot->readMapEnd(); } @@ -19948,17 +19948,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1243; - ::apache::thrift::protocol::TType _ktype1244; - ::apache::thrift::protocol::TType _vtype1245; - xfer += iprot->readMapBegin(_ktype1244, _vtype1245, _size1243); - uint32_t _i1247; - for (_i1247 = 0; _i1247 < _size1243; ++_i1247) + uint32_t _size1259; + ::apache::thrift::protocol::TType _ktype1260; + ::apache::thrift::protocol::TType _vtype1261; + xfer += iprot->readMapBegin(_ktype1260, _vtype1261, _size1259); + uint32_t _i1263; + for (_i1263 = 0; _i1263 < _size1259; ++_i1263) { - std::string _key1248; - xfer += iprot->readString(_key1248); - std::string& _val1249 = this->part_vals[_key1248]; - xfer += iprot->readString(_val1249); + std::string _key1264; + xfer += iprot->readString(_key1264); + std::string& _val1265 = this->part_vals[_key1264]; + xfer += iprot->readString(_val1265); } xfer += iprot->readMapEnd(); } @@ -19969,9 +19969,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1250; - xfer += iprot->readI32(ecast1250); - this->eventType = (PartitionEventType::type)ecast1250; + int32_t ecast1266; + xfer += iprot->readI32(ecast1266); + this->eventType = (PartitionEventType::type)ecast1266; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -20005,11 +20005,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 _iter1251; - for (_iter1251 = this->part_vals.begin(); _iter1251 != this->part_vals.end(); ++_iter1251) + std::map ::const_iterator _iter1267; + for (_iter1267 = this->part_vals.begin(); _iter1267 != this->part_vals.end(); ++_iter1267) { - xfer += oprot->writeString(_iter1251->first); - xfer += oprot->writeString(_iter1251->second); + xfer += oprot->writeString(_iter1267->first); + xfer += oprot->writeString(_iter1267->second); } xfer += oprot->writeMapEnd(); } @@ -20045,11 +20045,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 _iter1252; - for (_iter1252 = (*(this->part_vals)).begin(); _iter1252 != (*(this->part_vals)).end(); ++_iter1252) + std::map ::const_iterator _iter1268; + for (_iter1268 = (*(this->part_vals)).begin(); _iter1268 != (*(this->part_vals)).end(); ++_iter1268) { - xfer += oprot->writeString(_iter1252->first); - xfer += oprot->writeString(_iter1252->second); + xfer += oprot->writeString(_iter1268->first); + xfer += oprot->writeString(_iter1268->second); } xfer += oprot->writeMapEnd(); } @@ -20318,17 +20318,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1253; - ::apache::thrift::protocol::TType _ktype1254; - ::apache::thrift::protocol::TType _vtype1255; - xfer += iprot->readMapBegin(_ktype1254, _vtype1255, _size1253); - uint32_t _i1257; - for (_i1257 = 0; _i1257 < _size1253; ++_i1257) + uint32_t _size1269; + ::apache::thrift::protocol::TType _ktype1270; + ::apache::thrift::protocol::TType _vtype1271; + xfer += iprot->readMapBegin(_ktype1270, _vtype1271, _size1269); + uint32_t _i1273; + for (_i1273 = 0; _i1273 < _size1269; ++_i1273) { - std::string _key1258; - xfer += iprot->readString(_key1258); - std::string& _val1259 = this->part_vals[_key1258]; - xfer += iprot->readString(_val1259); + std::string _key1274; + xfer += iprot->readString(_key1274); + std::string& _val1275 = this->part_vals[_key1274]; + xfer += iprot->readString(_val1275); } xfer += iprot->readMapEnd(); } @@ -20339,9 +20339,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1260; - xfer += iprot->readI32(ecast1260); - this->eventType = (PartitionEventType::type)ecast1260; + int32_t ecast1276; + xfer += iprot->readI32(ecast1276); + this->eventType = (PartitionEventType::type)ecast1276; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -20375,11 +20375,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 _iter1261; - for (_iter1261 = this->part_vals.begin(); _iter1261 != this->part_vals.end(); ++_iter1261) + std::map ::const_iterator _iter1277; + for (_iter1277 = this->part_vals.begin(); _iter1277 != this->part_vals.end(); ++_iter1277) { - xfer += oprot->writeString(_iter1261->first); - xfer += oprot->writeString(_iter1261->second); + xfer += oprot->writeString(_iter1277->first); + xfer += oprot->writeString(_iter1277->second); } xfer += oprot->writeMapEnd(); } @@ -20415,11 +20415,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 _iter1262; - for (_iter1262 = (*(this->part_vals)).begin(); _iter1262 != (*(this->part_vals)).end(); ++_iter1262) + std::map ::const_iterator _iter1278; + for (_iter1278 = (*(this->part_vals)).begin(); _iter1278 != (*(this->part_vals)).end(); ++_iter1278) { - xfer += oprot->writeString(_iter1262->first); - xfer += oprot->writeString(_iter1262->second); + xfer += oprot->writeString(_iter1278->first); + xfer += oprot->writeString(_iter1278->second); } xfer += oprot->writeMapEnd(); } @@ -21855,14 +21855,14 @@ uint32_t ThriftHiveMetastore_get_indexes_result::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1263; - ::apache::thrift::protocol::TType _etype1266; - xfer += iprot->readListBegin(_etype1266, _size1263); - this->success.resize(_size1263); - uint32_t _i1267; - for (_i1267 = 0; _i1267 < _size1263; ++_i1267) + 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) { - xfer += this->success[_i1267].read(iprot); + xfer += this->success[_i1283].read(iprot); } xfer += iprot->readListEnd(); } @@ -21909,10 +21909,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 _iter1268; - for (_iter1268 = this->success.begin(); _iter1268 != this->success.end(); ++_iter1268) + std::vector ::const_iterator _iter1284; + for (_iter1284 = this->success.begin(); _iter1284 != this->success.end(); ++_iter1284) { - xfer += (*_iter1268).write(oprot); + xfer += (*_iter1284).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21961,14 +21961,14 @@ uint32_t ThriftHiveMetastore_get_indexes_presult::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1269; - ::apache::thrift::protocol::TType _etype1272; - xfer += iprot->readListBegin(_etype1272, _size1269); - (*(this->success)).resize(_size1269); - uint32_t _i1273; - for (_i1273 = 0; _i1273 < _size1269; ++_i1273) + uint32_t _size1285; + ::apache::thrift::protocol::TType _etype1288; + xfer += iprot->readListBegin(_etype1288, _size1285); + (*(this->success)).resize(_size1285); + uint32_t _i1289; + for (_i1289 = 0; _i1289 < _size1285; ++_i1289) { - xfer += (*(this->success))[_i1273].read(iprot); + xfer += (*(this->success))[_i1289].read(iprot); } xfer += iprot->readListEnd(); } @@ -22146,14 +22146,14 @@ uint32_t ThriftHiveMetastore_get_index_names_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1274; - ::apache::thrift::protocol::TType _etype1277; - xfer += iprot->readListBegin(_etype1277, _size1274); - this->success.resize(_size1274); - uint32_t _i1278; - for (_i1278 = 0; _i1278 < _size1274; ++_i1278) + uint32_t _size1290; + ::apache::thrift::protocol::TType _etype1293; + xfer += iprot->readListBegin(_etype1293, _size1290); + this->success.resize(_size1290); + uint32_t _i1294; + for (_i1294 = 0; _i1294 < _size1290; ++_i1294) { - xfer += iprot->readString(this->success[_i1278]); + xfer += iprot->readString(this->success[_i1294]); } xfer += iprot->readListEnd(); } @@ -22192,10 +22192,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 _iter1279; - for (_iter1279 = this->success.begin(); _iter1279 != this->success.end(); ++_iter1279) + std::vector ::const_iterator _iter1295; + for (_iter1295 = this->success.begin(); _iter1295 != this->success.end(); ++_iter1295) { - xfer += oprot->writeString((*_iter1279)); + xfer += oprot->writeString((*_iter1295)); } xfer += oprot->writeListEnd(); } @@ -22240,14 +22240,14 @@ uint32_t ThriftHiveMetastore_get_index_names_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1280; - ::apache::thrift::protocol::TType _etype1283; - xfer += iprot->readListBegin(_etype1283, _size1280); - (*(this->success)).resize(_size1280); - uint32_t _i1284; - for (_i1284 = 0; _i1284 < _size1280; ++_i1284) + uint32_t _size1296; + ::apache::thrift::protocol::TType _etype1299; + xfer += iprot->readListBegin(_etype1299, _size1296); + (*(this->success)).resize(_size1296); + uint32_t _i1300; + for (_i1300 = 0; _i1300 < _size1296; ++_i1300) { - xfer += iprot->readString((*(this->success))[_i1284]); + xfer += iprot->readString((*(this->success))[_i1300]); } xfer += iprot->readListEnd(); } @@ -23924,10 +23924,237 @@ uint32_t ThriftHiveMetastore_get_table_statistics_req_args::read(::apache::thrif return xfer; } -uint32_t ThriftHiveMetastore_get_table_statistics_req_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_get_table_statistics_req_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_statistics_req_args"); + + xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->request.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +ThriftHiveMetastore_get_table_statistics_req_pargs::~ThriftHiveMetastore_get_table_statistics_req_pargs() throw() { +} + + +uint32_t ThriftHiveMetastore_get_table_statistics_req_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_statistics_req_pargs"); + + xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += (*(this->request)).write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +ThriftHiveMetastore_get_table_statistics_req_result::~ThriftHiveMetastore_get_table_statistics_req_result() throw() { +} + + +uint32_t ThriftHiveMetastore_get_table_statistics_req_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 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->success.read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o1.read(iprot); + this->__isset.o1 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o2.read(iprot); + this->__isset.o2 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t ThriftHiveMetastore_get_table_statistics_req_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_statistics_req_result"); + + if (this->__isset.success) { + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); + xfer += this->success.write(oprot); + xfer += oprot->writeFieldEnd(); + } else if (this->__isset.o1) { + xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->o1.write(oprot); + xfer += oprot->writeFieldEnd(); + } else if (this->__isset.o2) { + xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->o2.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +ThriftHiveMetastore_get_table_statistics_req_presult::~ThriftHiveMetastore_get_table_statistics_req_presult() throw() { +} + + +uint32_t ThriftHiveMetastore_get_table_statistics_req_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 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += (*(this->success)).read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o1.read(iprot); + this->__isset.o1 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o2.read(iprot); + this->__isset.o2 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + + +ThriftHiveMetastore_get_partitions_statistics_req_args::~ThriftHiveMetastore_get_partitions_statistics_req_args() throw() { +} + + +uint32_t ThriftHiveMetastore_get_partitions_statistics_req_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->request.read(iprot); + this->__isset.request = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t ThriftHiveMetastore_get_partitions_statistics_req_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_statistics_req_args"); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_statistics_req_args"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->request.write(oprot); @@ -23939,14 +24166,14 @@ uint32_t ThriftHiveMetastore_get_table_statistics_req_args::write(::apache::thri } -ThriftHiveMetastore_get_table_statistics_req_pargs::~ThriftHiveMetastore_get_table_statistics_req_pargs() throw() { +ThriftHiveMetastore_get_partitions_statistics_req_pargs::~ThriftHiveMetastore_get_partitions_statistics_req_pargs() throw() { } -uint32_t ThriftHiveMetastore_get_table_statistics_req_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_get_partitions_statistics_req_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_statistics_req_pargs"); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_statistics_req_pargs"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->request)).write(oprot); @@ -23958,11 +24185,11 @@ uint32_t ThriftHiveMetastore_get_table_statistics_req_pargs::write(::apache::thr } -ThriftHiveMetastore_get_table_statistics_req_result::~ThriftHiveMetastore_get_table_statistics_req_result() throw() { +ThriftHiveMetastore_get_partitions_statistics_req_result::~ThriftHiveMetastore_get_partitions_statistics_req_result() throw() { } -uint32_t ThriftHiveMetastore_get_table_statistics_req_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_get_partitions_statistics_req_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -24019,11 +24246,11 @@ uint32_t ThriftHiveMetastore_get_table_statistics_req_result::read(::apache::thr return xfer; } -uint32_t ThriftHiveMetastore_get_table_statistics_req_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_get_partitions_statistics_req_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_statistics_req_result"); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_statistics_req_result"); if (this->__isset.success) { xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); @@ -24044,11 +24271,11 @@ uint32_t ThriftHiveMetastore_get_table_statistics_req_result::write(::apache::th } -ThriftHiveMetastore_get_table_statistics_req_presult::~ThriftHiveMetastore_get_table_statistics_req_presult() throw() { +ThriftHiveMetastore_get_partitions_statistics_req_presult::~ThriftHiveMetastore_get_partitions_statistics_req_presult() throw() { } -uint32_t ThriftHiveMetastore_get_table_statistics_req_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_get_partitions_statistics_req_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -24106,11 +24333,11 @@ uint32_t ThriftHiveMetastore_get_table_statistics_req_presult::read(::apache::th } -ThriftHiveMetastore_get_partitions_statistics_req_args::~ThriftHiveMetastore_get_partitions_statistics_req_args() throw() { +ThriftHiveMetastore_get_aggr_stats_for_args::~ThriftHiveMetastore_get_aggr_stats_for_args() throw() { } -uint32_t ThriftHiveMetastore_get_partitions_statistics_req_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_get_aggr_stats_for_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -24151,10 +24378,10 @@ uint32_t ThriftHiveMetastore_get_partitions_statistics_req_args::read(::apache:: return xfer; } -uint32_t ThriftHiveMetastore_get_partitions_statistics_req_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_get_aggr_stats_for_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_statistics_req_args"); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_aggr_stats_for_args"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->request.write(oprot); @@ -24166,14 +24393,14 @@ uint32_t ThriftHiveMetastore_get_partitions_statistics_req_args::write(::apache: } -ThriftHiveMetastore_get_partitions_statistics_req_pargs::~ThriftHiveMetastore_get_partitions_statistics_req_pargs() throw() { +ThriftHiveMetastore_get_aggr_stats_for_pargs::~ThriftHiveMetastore_get_aggr_stats_for_pargs() throw() { } -uint32_t ThriftHiveMetastore_get_partitions_statistics_req_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_get_aggr_stats_for_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_statistics_req_pargs"); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_aggr_stats_for_pargs"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->request)).write(oprot); @@ -24185,11 +24412,11 @@ uint32_t ThriftHiveMetastore_get_partitions_statistics_req_pargs::write(::apache } -ThriftHiveMetastore_get_partitions_statistics_req_result::~ThriftHiveMetastore_get_partitions_statistics_req_result() throw() { +ThriftHiveMetastore_get_aggr_stats_for_result::~ThriftHiveMetastore_get_aggr_stats_for_result() throw() { } -uint32_t ThriftHiveMetastore_get_partitions_statistics_req_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_get_aggr_stats_for_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -24246,11 +24473,11 @@ uint32_t ThriftHiveMetastore_get_partitions_statistics_req_result::read(::apache return xfer; } -uint32_t ThriftHiveMetastore_get_partitions_statistics_req_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_get_aggr_stats_for_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_statistics_req_result"); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_aggr_stats_for_result"); if (this->__isset.success) { xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); @@ -24271,11 +24498,11 @@ uint32_t ThriftHiveMetastore_get_partitions_statistics_req_result::write(::apach } -ThriftHiveMetastore_get_partitions_statistics_req_presult::~ThriftHiveMetastore_get_partitions_statistics_req_presult() throw() { +ThriftHiveMetastore_get_aggr_stats_for_presult::~ThriftHiveMetastore_get_aggr_stats_for_presult() throw() { } -uint32_t ThriftHiveMetastore_get_partitions_statistics_req_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_get_aggr_stats_for_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -24333,11 +24560,11 @@ uint32_t ThriftHiveMetastore_get_partitions_statistics_req_presult::read(::apach } -ThriftHiveMetastore_get_aggr_stats_for_args::~ThriftHiveMetastore_get_aggr_stats_for_args() throw() { +ThriftHiveMetastore_get_parts_and_aggr_col_stats_args::~ThriftHiveMetastore_get_parts_and_aggr_col_stats_args() throw() { } -uint32_t ThriftHiveMetastore_get_aggr_stats_for_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_get_parts_and_aggr_col_stats_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -24378,10 +24605,10 @@ uint32_t ThriftHiveMetastore_get_aggr_stats_for_args::read(::apache::thrift::pro return xfer; } -uint32_t ThriftHiveMetastore_get_aggr_stats_for_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_get_parts_and_aggr_col_stats_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_aggr_stats_for_args"); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_parts_and_aggr_col_stats_args"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->request.write(oprot); @@ -24393,14 +24620,14 @@ uint32_t ThriftHiveMetastore_get_aggr_stats_for_args::write(::apache::thrift::pr } -ThriftHiveMetastore_get_aggr_stats_for_pargs::~ThriftHiveMetastore_get_aggr_stats_for_pargs() throw() { +ThriftHiveMetastore_get_parts_and_aggr_col_stats_pargs::~ThriftHiveMetastore_get_parts_and_aggr_col_stats_pargs() throw() { } -uint32_t ThriftHiveMetastore_get_aggr_stats_for_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_get_parts_and_aggr_col_stats_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_aggr_stats_for_pargs"); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_parts_and_aggr_col_stats_pargs"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->request)).write(oprot); @@ -24412,11 +24639,11 @@ uint32_t ThriftHiveMetastore_get_aggr_stats_for_pargs::write(::apache::thrift::p } -ThriftHiveMetastore_get_aggr_stats_for_result::~ThriftHiveMetastore_get_aggr_stats_for_result() throw() { +ThriftHiveMetastore_get_parts_and_aggr_col_stats_result::~ThriftHiveMetastore_get_parts_and_aggr_col_stats_result() throw() { } -uint32_t ThriftHiveMetastore_get_aggr_stats_for_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_get_parts_and_aggr_col_stats_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -24473,11 +24700,11 @@ uint32_t ThriftHiveMetastore_get_aggr_stats_for_result::read(::apache::thrift::p return xfer; } -uint32_t ThriftHiveMetastore_get_aggr_stats_for_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_get_parts_and_aggr_col_stats_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_aggr_stats_for_result"); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_parts_and_aggr_col_stats_result"); if (this->__isset.success) { xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); @@ -24498,11 +24725,11 @@ uint32_t ThriftHiveMetastore_get_aggr_stats_for_result::write(::apache::thrift:: } -ThriftHiveMetastore_get_aggr_stats_for_presult::~ThriftHiveMetastore_get_aggr_stats_for_presult() throw() { +ThriftHiveMetastore_get_parts_and_aggr_col_stats_presult::~ThriftHiveMetastore_get_parts_and_aggr_col_stats_presult() throw() { } -uint32_t ThriftHiveMetastore_get_aggr_stats_for_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_get_parts_and_aggr_col_stats_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -26274,14 +26501,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc 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 _size1301; + ::apache::thrift::protocol::TType _etype1304; + xfer += iprot->readListBegin(_etype1304, _size1301); + this->success.resize(_size1301); + uint32_t _i1305; + for (_i1305 = 0; _i1305 < _size1301; ++_i1305) { - xfer += iprot->readString(this->success[_i1289]); + xfer += iprot->readString(this->success[_i1305]); } xfer += iprot->readListEnd(); } @@ -26320,10 +26547,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 _iter1290; - for (_iter1290 = this->success.begin(); _iter1290 != this->success.end(); ++_iter1290) + std::vector ::const_iterator _iter1306; + for (_iter1306 = this->success.begin(); _iter1306 != this->success.end(); ++_iter1306) { - xfer += oprot->writeString((*_iter1290)); + xfer += oprot->writeString((*_iter1306)); } xfer += oprot->writeListEnd(); } @@ -26368,14 +26595,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1291; - ::apache::thrift::protocol::TType _etype1294; - xfer += iprot->readListBegin(_etype1294, _size1291); - (*(this->success)).resize(_size1291); - uint32_t _i1295; - for (_i1295 = 0; _i1295 < _size1291; ++_i1295) + uint32_t _size1307; + ::apache::thrift::protocol::TType _etype1310; + xfer += iprot->readListBegin(_etype1310, _size1307); + (*(this->success)).resize(_size1307); + uint32_t _i1311; + for (_i1311 = 0; _i1311 < _size1307; ++_i1311) { - xfer += iprot->readString((*(this->success))[_i1295]); + xfer += iprot->readString((*(this->success))[_i1311]); } xfer += iprot->readListEnd(); } @@ -27335,14 +27562,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1296; - ::apache::thrift::protocol::TType _etype1299; - xfer += iprot->readListBegin(_etype1299, _size1296); - this->success.resize(_size1296); - uint32_t _i1300; - for (_i1300 = 0; _i1300 < _size1296; ++_i1300) + uint32_t _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 += iprot->readString(this->success[_i1300]); + xfer += iprot->readString(this->success[_i1316]); } xfer += iprot->readListEnd(); } @@ -27381,10 +27608,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 _iter1301; - for (_iter1301 = this->success.begin(); _iter1301 != this->success.end(); ++_iter1301) + std::vector ::const_iterator _iter1317; + for (_iter1317 = this->success.begin(); _iter1317 != this->success.end(); ++_iter1317) { - xfer += oprot->writeString((*_iter1301)); + xfer += oprot->writeString((*_iter1317)); } xfer += oprot->writeListEnd(); } @@ -27429,14 +27656,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1302; - ::apache::thrift::protocol::TType _etype1305; - xfer += iprot->readListBegin(_etype1305, _size1302); - (*(this->success)).resize(_size1302); - uint32_t _i1306; - for (_i1306 = 0; _i1306 < _size1302; ++_i1306) + uint32_t _size1318; + ::apache::thrift::protocol::TType _etype1321; + xfer += iprot->readListBegin(_etype1321, _size1318); + (*(this->success)).resize(_size1318); + uint32_t _i1322; + for (_i1322 = 0; _i1322 < _size1318; ++_i1322) { - xfer += iprot->readString((*(this->success))[_i1306]); + xfer += iprot->readString((*(this->success))[_i1322]); } xfer += iprot->readListEnd(); } @@ -27509,9 +27736,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1307; - xfer += iprot->readI32(ecast1307); - this->principal_type = (PrincipalType::type)ecast1307; + int32_t ecast1323; + xfer += iprot->readI32(ecast1323); + this->principal_type = (PrincipalType::type)ecast1323; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -27527,9 +27754,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1308; - xfer += iprot->readI32(ecast1308); - this->grantorType = (PrincipalType::type)ecast1308; + int32_t ecast1324; + xfer += iprot->readI32(ecast1324); + this->grantorType = (PrincipalType::type)ecast1324; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -27800,9 +28027,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1309; - xfer += iprot->readI32(ecast1309); - this->principal_type = (PrincipalType::type)ecast1309; + int32_t ecast1325; + xfer += iprot->readI32(ecast1325); + this->principal_type = (PrincipalType::type)ecast1325; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -28033,9 +28260,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1310; - xfer += iprot->readI32(ecast1310); - this->principal_type = (PrincipalType::type)ecast1310; + int32_t ecast1326; + xfer += iprot->readI32(ecast1326); + this->principal_type = (PrincipalType::type)ecast1326; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -28124,14 +28351,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1311; - ::apache::thrift::protocol::TType _etype1314; - xfer += iprot->readListBegin(_etype1314, _size1311); - this->success.resize(_size1311); - uint32_t _i1315; - for (_i1315 = 0; _i1315 < _size1311; ++_i1315) + 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) { - xfer += this->success[_i1315].read(iprot); + xfer += this->success[_i1331].read(iprot); } xfer += iprot->readListEnd(); } @@ -28170,10 +28397,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 _iter1316; - for (_iter1316 = this->success.begin(); _iter1316 != this->success.end(); ++_iter1316) + std::vector ::const_iterator _iter1332; + for (_iter1332 = this->success.begin(); _iter1332 != this->success.end(); ++_iter1332) { - xfer += (*_iter1316).write(oprot); + xfer += (*_iter1332).write(oprot); } xfer += oprot->writeListEnd(); } @@ -28218,14 +28445,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1317; - ::apache::thrift::protocol::TType _etype1320; - xfer += iprot->readListBegin(_etype1320, _size1317); - (*(this->success)).resize(_size1317); - uint32_t _i1321; - for (_i1321 = 0; _i1321 < _size1317; ++_i1321) + uint32_t _size1333; + ::apache::thrift::protocol::TType _etype1336; + xfer += iprot->readListBegin(_etype1336, _size1333); + (*(this->success)).resize(_size1333); + uint32_t _i1337; + for (_i1337 = 0; _i1337 < _size1333; ++_i1337) { - xfer += (*(this->success))[_i1321].read(iprot); + xfer += (*(this->success))[_i1337].read(iprot); } xfer += iprot->readListEnd(); } @@ -28921,14 +29148,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 _size1322; - ::apache::thrift::protocol::TType _etype1325; - xfer += iprot->readListBegin(_etype1325, _size1322); - this->group_names.resize(_size1322); - uint32_t _i1326; - for (_i1326 = 0; _i1326 < _size1322; ++_i1326) + uint32_t _size1338; + ::apache::thrift::protocol::TType _etype1341; + xfer += iprot->readListBegin(_etype1341, _size1338); + this->group_names.resize(_size1338); + uint32_t _i1342; + for (_i1342 = 0; _i1342 < _size1338; ++_i1342) { - xfer += iprot->readString(this->group_names[_i1326]); + xfer += iprot->readString(this->group_names[_i1342]); } xfer += iprot->readListEnd(); } @@ -28965,10 +29192,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 _iter1327; - for (_iter1327 = this->group_names.begin(); _iter1327 != this->group_names.end(); ++_iter1327) + std::vector ::const_iterator _iter1343; + for (_iter1343 = this->group_names.begin(); _iter1343 != this->group_names.end(); ++_iter1343) { - xfer += oprot->writeString((*_iter1327)); + xfer += oprot->writeString((*_iter1343)); } xfer += oprot->writeListEnd(); } @@ -29000,10 +29227,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 _iter1328; - for (_iter1328 = (*(this->group_names)).begin(); _iter1328 != (*(this->group_names)).end(); ++_iter1328) + std::vector ::const_iterator _iter1344; + for (_iter1344 = (*(this->group_names)).begin(); _iter1344 != (*(this->group_names)).end(); ++_iter1344) { - xfer += oprot->writeString((*_iter1328)); + xfer += oprot->writeString((*_iter1344)); } xfer += oprot->writeListEnd(); } @@ -29178,9 +29405,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1329; - xfer += iprot->readI32(ecast1329); - this->principal_type = (PrincipalType::type)ecast1329; + int32_t ecast1345; + xfer += iprot->readI32(ecast1345); + this->principal_type = (PrincipalType::type)ecast1345; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -29285,14 +29512,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - 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) + 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 += this->success[_i1334].read(iprot); + xfer += this->success[_i1350].read(iprot); } xfer += iprot->readListEnd(); } @@ -29331,10 +29558,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 _iter1335; - for (_iter1335 = this->success.begin(); _iter1335 != this->success.end(); ++_iter1335) + std::vector ::const_iterator _iter1351; + for (_iter1351 = this->success.begin(); _iter1351 != this->success.end(); ++_iter1351) { - xfer += (*_iter1335).write(oprot); + xfer += (*_iter1351).write(oprot); } xfer += oprot->writeListEnd(); } @@ -29379,14 +29606,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1336; - ::apache::thrift::protocol::TType _etype1339; - xfer += iprot->readListBegin(_etype1339, _size1336); - (*(this->success)).resize(_size1336); - uint32_t _i1340; - for (_i1340 = 0; _i1340 < _size1336; ++_i1340) + uint32_t _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 += (*(this->success))[_i1340].read(iprot); + xfer += (*(this->success))[_i1356].read(iprot); } xfer += iprot->readListEnd(); } @@ -30074,14 +30301,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 _size1341; - ::apache::thrift::protocol::TType _etype1344; - xfer += iprot->readListBegin(_etype1344, _size1341); - this->group_names.resize(_size1341); - uint32_t _i1345; - for (_i1345 = 0; _i1345 < _size1341; ++_i1345) + uint32_t _size1357; + ::apache::thrift::protocol::TType _etype1360; + xfer += iprot->readListBegin(_etype1360, _size1357); + this->group_names.resize(_size1357); + uint32_t _i1361; + for (_i1361 = 0; _i1361 < _size1357; ++_i1361) { - xfer += iprot->readString(this->group_names[_i1345]); + xfer += iprot->readString(this->group_names[_i1361]); } xfer += iprot->readListEnd(); } @@ -30114,10 +30341,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 _iter1346; - for (_iter1346 = this->group_names.begin(); _iter1346 != this->group_names.end(); ++_iter1346) + std::vector ::const_iterator _iter1362; + for (_iter1362 = this->group_names.begin(); _iter1362 != this->group_names.end(); ++_iter1362) { - xfer += oprot->writeString((*_iter1346)); + xfer += oprot->writeString((*_iter1362)); } xfer += oprot->writeListEnd(); } @@ -30145,10 +30372,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 _iter1347; - for (_iter1347 = (*(this->group_names)).begin(); _iter1347 != (*(this->group_names)).end(); ++_iter1347) + std::vector ::const_iterator _iter1363; + for (_iter1363 = (*(this->group_names)).begin(); _iter1363 != (*(this->group_names)).end(); ++_iter1363) { - xfer += oprot->writeString((*_iter1347)); + xfer += oprot->writeString((*_iter1363)); } xfer += oprot->writeListEnd(); } @@ -30189,14 +30416,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1348; - ::apache::thrift::protocol::TType _etype1351; - xfer += iprot->readListBegin(_etype1351, _size1348); - this->success.resize(_size1348); - uint32_t _i1352; - for (_i1352 = 0; _i1352 < _size1348; ++_i1352) + uint32_t _size1364; + ::apache::thrift::protocol::TType _etype1367; + xfer += iprot->readListBegin(_etype1367, _size1364); + this->success.resize(_size1364); + uint32_t _i1368; + for (_i1368 = 0; _i1368 < _size1364; ++_i1368) { - xfer += iprot->readString(this->success[_i1352]); + xfer += iprot->readString(this->success[_i1368]); } xfer += iprot->readListEnd(); } @@ -30235,10 +30462,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 _iter1353; - for (_iter1353 = this->success.begin(); _iter1353 != this->success.end(); ++_iter1353) + std::vector ::const_iterator _iter1369; + for (_iter1369 = this->success.begin(); _iter1369 != this->success.end(); ++_iter1369) { - xfer += oprot->writeString((*_iter1353)); + xfer += oprot->writeString((*_iter1369)); } xfer += oprot->writeListEnd(); } @@ -30283,14 +30510,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1354; - ::apache::thrift::protocol::TType _etype1357; - xfer += iprot->readListBegin(_etype1357, _size1354); - (*(this->success)).resize(_size1354); - uint32_t _i1358; - for (_i1358 = 0; _i1358 < _size1354; ++_i1358) + uint32_t _size1370; + ::apache::thrift::protocol::TType _etype1373; + xfer += iprot->readListBegin(_etype1373, _size1370); + (*(this->success)).resize(_size1370); + uint32_t _i1374; + for (_i1374 = 0; _i1374 < _size1370; ++_i1374) { - xfer += iprot->readString((*(this->success))[_i1358]); + xfer += iprot->readString((*(this->success))[_i1374]); } xfer += iprot->readListEnd(); } @@ -31601,14 +31828,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1359; - ::apache::thrift::protocol::TType _etype1362; - xfer += iprot->readListBegin(_etype1362, _size1359); - this->success.resize(_size1359); - uint32_t _i1363; - for (_i1363 = 0; _i1363 < _size1359; ++_i1363) + uint32_t _size1375; + ::apache::thrift::protocol::TType _etype1378; + xfer += iprot->readListBegin(_etype1378, _size1375); + this->success.resize(_size1375); + uint32_t _i1379; + for (_i1379 = 0; _i1379 < _size1375; ++_i1379) { - xfer += iprot->readString(this->success[_i1363]); + xfer += iprot->readString(this->success[_i1379]); } xfer += iprot->readListEnd(); } @@ -31639,10 +31866,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 _iter1364; - for (_iter1364 = this->success.begin(); _iter1364 != this->success.end(); ++_iter1364) + std::vector ::const_iterator _iter1380; + for (_iter1380 = this->success.begin(); _iter1380 != this->success.end(); ++_iter1380) { - xfer += oprot->writeString((*_iter1364)); + xfer += oprot->writeString((*_iter1380)); } xfer += oprot->writeListEnd(); } @@ -31683,14 +31910,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1365; - ::apache::thrift::protocol::TType _etype1368; - xfer += iprot->readListBegin(_etype1368, _size1365); - (*(this->success)).resize(_size1365); - uint32_t _i1369; - for (_i1369 = 0; _i1369 < _size1365; ++_i1369) + uint32_t _size1381; + ::apache::thrift::protocol::TType _etype1384; + xfer += iprot->readListBegin(_etype1384, _size1381); + (*(this->success)).resize(_size1381); + uint32_t _i1385; + for (_i1385 = 0; _i1385 < _size1381; ++_i1385) { - xfer += iprot->readString((*(this->success))[_i1369]); + xfer += iprot->readString((*(this->success))[_i1385]); } xfer += iprot->readListEnd(); } @@ -32416,14 +32643,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1370; - ::apache::thrift::protocol::TType _etype1373; - xfer += iprot->readListBegin(_etype1373, _size1370); - this->success.resize(_size1370); - uint32_t _i1374; - for (_i1374 = 0; _i1374 < _size1370; ++_i1374) + uint32_t _size1386; + ::apache::thrift::protocol::TType _etype1389; + xfer += iprot->readListBegin(_etype1389, _size1386); + this->success.resize(_size1386); + uint32_t _i1390; + for (_i1390 = 0; _i1390 < _size1386; ++_i1390) { - xfer += iprot->readString(this->success[_i1374]); + xfer += iprot->readString(this->success[_i1390]); } xfer += iprot->readListEnd(); } @@ -32454,10 +32681,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 _iter1375; - for (_iter1375 = this->success.begin(); _iter1375 != this->success.end(); ++_iter1375) + std::vector ::const_iterator _iter1391; + for (_iter1391 = this->success.begin(); _iter1391 != this->success.end(); ++_iter1391) { - xfer += oprot->writeString((*_iter1375)); + xfer += oprot->writeString((*_iter1391)); } xfer += oprot->writeListEnd(); } @@ -32498,14 +32725,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1376; - ::apache::thrift::protocol::TType _etype1379; - xfer += iprot->readListBegin(_etype1379, _size1376); - (*(this->success)).resize(_size1376); - uint32_t _i1380; - for (_i1380 = 0; _i1380 < _size1376; ++_i1380) + uint32_t _size1392; + ::apache::thrift::protocol::TType _etype1395; + xfer += iprot->readListBegin(_etype1395, _size1392); + (*(this->success)).resize(_size1392); + uint32_t _i1396; + for (_i1396 = 0; _i1396 < _size1392; ++_i1396) { - xfer += iprot->readString((*(this->success))[_i1380]); + xfer += iprot->readString((*(this->success))[_i1396]); } xfer += iprot->readListEnd(); } @@ -42954,6 +43181,70 @@ void ThriftHiveMetastoreClient::recv_get_aggr_stats_for(AggrStats& _return) throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_aggr_stats_for failed: unknown result"); } +void ThriftHiveMetastoreClient::get_parts_and_aggr_col_stats(AggregatePartitionsStatsResponse& _return, const AggregatePartitionsStatsRequest& request) +{ + send_get_parts_and_aggr_col_stats(request); + recv_get_parts_and_aggr_col_stats(_return); +} + +void ThriftHiveMetastoreClient::send_get_parts_and_aggr_col_stats(const AggregatePartitionsStatsRequest& request) +{ + int32_t cseqid = 0; + oprot_->writeMessageBegin("get_parts_and_aggr_col_stats", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_parts_and_aggr_col_stats_pargs args; + args.request = &request; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); +} + +void ThriftHiveMetastoreClient::recv_get_parts_and_aggr_col_stats(AggregatePartitionsStatsResponse& _return) +{ + + 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("get_parts_and_aggr_col_stats") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + ThriftHiveMetastore_get_parts_and_aggr_col_stats_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + return; + } + if (result.__isset.o1) { + throw result.o1; + } + if (result.__isset.o2) { + throw result.o2; + } + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_parts_and_aggr_col_stats failed: unknown result"); +} + bool ThriftHiveMetastoreClient::set_aggr_stats_for(const SetPartitionsStatsRequest& request) { send_set_aggr_stats_for(request); @@ -51993,6 +52284,66 @@ void ThriftHiveMetastoreProcessor::process_get_aggr_stats_for(int32_t seqid, ::a } } +void ThriftHiveMetastoreProcessor::process_get_parts_and_aggr_col_stats(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.get_parts_and_aggr_col_stats", callContext); + } + ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "ThriftHiveMetastore.get_parts_and_aggr_col_stats"); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_parts_and_aggr_col_stats"); + } + + ThriftHiveMetastore_get_parts_and_aggr_col_stats_args args; + args.read(iprot); + iprot->readMessageEnd(); + uint32_t bytes = iprot->getTransport()->readEnd(); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_parts_and_aggr_col_stats", bytes); + } + + ThriftHiveMetastore_get_parts_and_aggr_col_stats_result result; + try { + iface_->get_parts_and_aggr_col_stats(result.success, args.request); + result.__isset.success = true; + } catch (NoSuchObjectException &o1) { + result.o1 = o1; + result.__isset.o1 = true; + } catch (MetaException &o2) { + result.o2 = o2; + result.__isset.o2 = true; + } catch (const std::exception& e) { + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_parts_and_aggr_col_stats"); + } + + ::apache::thrift::TApplicationException x(e.what()); + oprot->writeMessageBegin("get_parts_and_aggr_col_stats", ::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.get_parts_and_aggr_col_stats"); + } + + oprot->writeMessageBegin("get_parts_and_aggr_col_stats", ::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.get_parts_and_aggr_col_stats", bytes); + } +} + void ThriftHiveMetastoreProcessor::process_set_aggr_stats_for(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) { void* ctx = NULL; @@ -63771,6 +64122,98 @@ void ThriftHiveMetastoreConcurrentClient::recv_get_aggr_stats_for(AggrStats& _re } // end while(true) } +void ThriftHiveMetastoreConcurrentClient::get_parts_and_aggr_col_stats(AggregatePartitionsStatsResponse& _return, const AggregatePartitionsStatsRequest& request) +{ + int32_t seqid = send_get_parts_and_aggr_col_stats(request); + recv_get_parts_and_aggr_col_stats(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_parts_and_aggr_col_stats(const AggregatePartitionsStatsRequest& request) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_parts_and_aggr_col_stats", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_parts_and_aggr_col_stats_pargs args; + args.request = &request; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_parts_and_aggr_col_stats(AggregatePartitionsStatsResponse& _return, 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("get_parts_and_aggr_col_stats") != 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_get_parts_and_aggr_col_stats_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + sentry.commit(); + return; + } + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o2) { + sentry.commit(); + throw result.o2; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_parts_and_aggr_col_stats failed: unknown result"); + } + // 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) +} + bool ThriftHiveMetastoreConcurrentClient::set_aggr_stats_for(const SetPartitionsStatsRequest& request) { int32_t seqid = send_set_aggr_stats_for(request); diff --git a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h index 6498eb1..48c4874 100644 --- a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h +++ b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h @@ -112,6 +112,7 @@ class ThriftHiveMetastoreIf : virtual public ::facebook::fb303::FacebookService virtual void get_table_statistics_req(TableStatsResult& _return, const TableStatsRequest& request) = 0; virtual void get_partitions_statistics_req(PartitionsStatsResult& _return, const PartitionsStatsRequest& request) = 0; virtual void get_aggr_stats_for(AggrStats& _return, const PartitionsStatsRequest& request) = 0; + virtual void get_parts_and_aggr_col_stats(AggregatePartitionsStatsResponse& _return, const AggregatePartitionsStatsRequest& request) = 0; virtual bool set_aggr_stats_for(const SetPartitionsStatsRequest& request) = 0; virtual bool delete_partition_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const std::string& col_name) = 0; virtual bool delete_table_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& col_name) = 0; @@ -484,6 +485,9 @@ class ThriftHiveMetastoreNull : virtual public ThriftHiveMetastoreIf , virtual p void get_aggr_stats_for(AggrStats& /* _return */, const PartitionsStatsRequest& /* request */) { return; } + void get_parts_and_aggr_col_stats(AggregatePartitionsStatsResponse& /* _return */, const AggregatePartitionsStatsRequest& /* request */) { + return; + } bool set_aggr_stats_for(const SetPartitionsStatsRequest& /* request */) { bool _return = false; return _return; @@ -12545,6 +12549,126 @@ class ThriftHiveMetastore_get_aggr_stats_for_presult { }; +typedef struct _ThriftHiveMetastore_get_parts_and_aggr_col_stats_args__isset { + _ThriftHiveMetastore_get_parts_and_aggr_col_stats_args__isset() : request(false) {} + bool request :1; +} _ThriftHiveMetastore_get_parts_and_aggr_col_stats_args__isset; + +class ThriftHiveMetastore_get_parts_and_aggr_col_stats_args { + public: + + ThriftHiveMetastore_get_parts_and_aggr_col_stats_args(const ThriftHiveMetastore_get_parts_and_aggr_col_stats_args&); + ThriftHiveMetastore_get_parts_and_aggr_col_stats_args& operator=(const ThriftHiveMetastore_get_parts_and_aggr_col_stats_args&); + ThriftHiveMetastore_get_parts_and_aggr_col_stats_args() { + } + + virtual ~ThriftHiveMetastore_get_parts_and_aggr_col_stats_args() throw(); + AggregatePartitionsStatsRequest request; + + _ThriftHiveMetastore_get_parts_and_aggr_col_stats_args__isset __isset; + + void __set_request(const AggregatePartitionsStatsRequest& val); + + bool operator == (const ThriftHiveMetastore_get_parts_and_aggr_col_stats_args & rhs) const + { + if (!(request == rhs.request)) + return false; + return true; + } + bool operator != (const ThriftHiveMetastore_get_parts_and_aggr_col_stats_args &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_get_parts_and_aggr_col_stats_args & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class ThriftHiveMetastore_get_parts_and_aggr_col_stats_pargs { + public: + + + virtual ~ThriftHiveMetastore_get_parts_and_aggr_col_stats_pargs() throw(); + const AggregatePartitionsStatsRequest* request; + + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _ThriftHiveMetastore_get_parts_and_aggr_col_stats_result__isset { + _ThriftHiveMetastore_get_parts_and_aggr_col_stats_result__isset() : success(false), o1(false), o2(false) {} + bool success :1; + bool o1 :1; + bool o2 :1; +} _ThriftHiveMetastore_get_parts_and_aggr_col_stats_result__isset; + +class ThriftHiveMetastore_get_parts_and_aggr_col_stats_result { + public: + + ThriftHiveMetastore_get_parts_and_aggr_col_stats_result(const ThriftHiveMetastore_get_parts_and_aggr_col_stats_result&); + ThriftHiveMetastore_get_parts_and_aggr_col_stats_result& operator=(const ThriftHiveMetastore_get_parts_and_aggr_col_stats_result&); + ThriftHiveMetastore_get_parts_and_aggr_col_stats_result() { + } + + virtual ~ThriftHiveMetastore_get_parts_and_aggr_col_stats_result() throw(); + AggregatePartitionsStatsResponse success; + NoSuchObjectException o1; + MetaException o2; + + _ThriftHiveMetastore_get_parts_and_aggr_col_stats_result__isset __isset; + + void __set_success(const AggregatePartitionsStatsResponse& val); + + void __set_o1(const NoSuchObjectException& val); + + void __set_o2(const MetaException& val); + + bool operator == (const ThriftHiveMetastore_get_parts_and_aggr_col_stats_result & rhs) const + { + if (!(success == rhs.success)) + return false; + if (!(o1 == rhs.o1)) + return false; + if (!(o2 == rhs.o2)) + return false; + return true; + } + bool operator != (const ThriftHiveMetastore_get_parts_and_aggr_col_stats_result &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_get_parts_and_aggr_col_stats_result & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _ThriftHiveMetastore_get_parts_and_aggr_col_stats_presult__isset { + _ThriftHiveMetastore_get_parts_and_aggr_col_stats_presult__isset() : success(false), o1(false), o2(false) {} + bool success :1; + bool o1 :1; + bool o2 :1; +} _ThriftHiveMetastore_get_parts_and_aggr_col_stats_presult__isset; + +class ThriftHiveMetastore_get_parts_and_aggr_col_stats_presult { + public: + + + virtual ~ThriftHiveMetastore_get_parts_and_aggr_col_stats_presult() throw(); + AggregatePartitionsStatsResponse* success; + NoSuchObjectException o1; + MetaException o2; + + _ThriftHiveMetastore_get_parts_and_aggr_col_stats_presult__isset __isset; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + +}; + typedef struct _ThriftHiveMetastore_set_aggr_stats_for_args__isset { _ThriftHiveMetastore_set_aggr_stats_for_args__isset() : request(false) {} bool request :1; @@ -19412,6 +19536,9 @@ class ThriftHiveMetastoreClient : virtual public ThriftHiveMetastoreIf, public void get_aggr_stats_for(AggrStats& _return, const PartitionsStatsRequest& request); void send_get_aggr_stats_for(const PartitionsStatsRequest& request); void recv_get_aggr_stats_for(AggrStats& _return); + void get_parts_and_aggr_col_stats(AggregatePartitionsStatsResponse& _return, const AggregatePartitionsStatsRequest& request); + void send_get_parts_and_aggr_col_stats(const AggregatePartitionsStatsRequest& request); + void recv_get_parts_and_aggr_col_stats(AggregatePartitionsStatsResponse& _return); bool set_aggr_stats_for(const SetPartitionsStatsRequest& request); void send_set_aggr_stats_for(const SetPartitionsStatsRequest& request); bool recv_set_aggr_stats_for(); @@ -19689,6 +19816,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP void process_get_table_statistics_req(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_partitions_statistics_req(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_aggr_stats_for(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); + void process_get_parts_and_aggr_col_stats(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_set_aggr_stats_for(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_delete_partition_column_statistics(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_delete_table_column_statistics(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); @@ -19842,6 +19970,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP processMap_["get_table_statistics_req"] = &ThriftHiveMetastoreProcessor::process_get_table_statistics_req; processMap_["get_partitions_statistics_req"] = &ThriftHiveMetastoreProcessor::process_get_partitions_statistics_req; processMap_["get_aggr_stats_for"] = &ThriftHiveMetastoreProcessor::process_get_aggr_stats_for; + processMap_["get_parts_and_aggr_col_stats"] = &ThriftHiveMetastoreProcessor::process_get_parts_and_aggr_col_stats; processMap_["set_aggr_stats_for"] = &ThriftHiveMetastoreProcessor::process_set_aggr_stats_for; processMap_["delete_partition_column_statistics"] = &ThriftHiveMetastoreProcessor::process_delete_partition_column_statistics; processMap_["delete_table_column_statistics"] = &ThriftHiveMetastoreProcessor::process_delete_table_column_statistics; @@ -20798,6 +20927,16 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi return; } + void get_parts_and_aggr_col_stats(AggregatePartitionsStatsResponse& _return, const AggregatePartitionsStatsRequest& request) { + size_t sz = ifaces_.size(); + size_t i = 0; + for (; i < (sz - 1); ++i) { + ifaces_[i]->get_parts_and_aggr_col_stats(_return, request); + } + ifaces_[i]->get_parts_and_aggr_col_stats(_return, request); + return; + } + bool set_aggr_stats_for(const SetPartitionsStatsRequest& request) { size_t sz = ifaces_.size(); size_t i = 0; @@ -21647,6 +21786,9 @@ class ThriftHiveMetastoreConcurrentClient : virtual public ThriftHiveMetastoreIf void get_aggr_stats_for(AggrStats& _return, const PartitionsStatsRequest& request); int32_t send_get_aggr_stats_for(const PartitionsStatsRequest& request); void recv_get_aggr_stats_for(AggrStats& _return, const int32_t seqid); + void get_parts_and_aggr_col_stats(AggregatePartitionsStatsResponse& _return, const AggregatePartitionsStatsRequest& request); + int32_t send_get_parts_and_aggr_col_stats(const AggregatePartitionsStatsRequest& request); + void recv_get_parts_and_aggr_col_stats(AggregatePartitionsStatsResponse& _return, const int32_t seqid); bool set_aggr_stats_for(const SetPartitionsStatsRequest& request); int32_t send_set_aggr_stats_for(const SetPartitionsStatsRequest& request); bool recv_set_aggr_stats_for(const int32_t seqid); diff --git a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp index 3330b2f..fa965a4 100644 --- a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp +++ b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp @@ -472,6 +472,11 @@ class ThriftHiveMetastoreHandler : virtual public ThriftHiveMetastoreIf { printf("get_aggr_stats_for\n"); } + void get_parts_and_aggr_col_stats(AggregatePartitionsStatsResponse& _return, const AggregatePartitionsStatsRequest& request) { + // Your implementation goes here + printf("get_parts_and_aggr_col_stats\n"); + } + bool set_aggr_stats_for(const SetPartitionsStatsRequest& request) { // Your implementation goes here printf("set_aggr_stats_for\n"); diff --git a/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp b/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp index 79460a8..53d1804 100644 --- a/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp +++ b/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp @@ -10268,6 +10268,310 @@ void PartitionsStatsRequest::printTo(std::ostream& out) const { } +AggregatePartitionsStatsRequest::~AggregatePartitionsStatsRequest() throw() { +} + + +void AggregatePartitionsStatsRequest::__set_dbName(const std::string& val) { + this->dbName = val; +} + +void AggregatePartitionsStatsRequest::__set_tblName(const std::string& val) { + this->tblName = val; +} + +void AggregatePartitionsStatsRequest::__set_colNames(const std::vector & val) { + this->colNames = val; +} + +void AggregatePartitionsStatsRequest::__set_expr(const std::string& val) { + this->expr = val; +} + +uint32_t AggregatePartitionsStatsRequest::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_dbName = false; + bool isset_tblName = false; + bool isset_colNames = false; + bool isset_expr = 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_STRING) { + xfer += iprot->readString(this->dbName); + isset_dbName = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->tblName); + isset_tblName = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->colNames.clear(); + uint32_t _size451; + ::apache::thrift::protocol::TType _etype454; + xfer += iprot->readListBegin(_etype454, _size451); + this->colNames.resize(_size451); + uint32_t _i455; + for (_i455 = 0; _i455 < _size451; ++_i455) + { + xfer += iprot->readString(this->colNames[_i455]); + } + xfer += iprot->readListEnd(); + } + isset_colNames = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readBinary(this->expr); + isset_expr = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + if (!isset_dbName) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_tblName) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_colNames) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_expr) + throw TProtocolException(TProtocolException::INVALID_DATA); + return xfer; +} + +uint32_t AggregatePartitionsStatsRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("AggregatePartitionsStatsRequest"); + + xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); + xfer += oprot->writeString(this->dbName); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("tblName", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->tblName); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("colNames", ::apache::thrift::protocol::T_LIST, 3); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->colNames.size())); + std::vector ::const_iterator _iter456; + for (_iter456 = this->colNames.begin(); _iter456 != this->colNames.end(); ++_iter456) + { + xfer += oprot->writeString((*_iter456)); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("expr", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeBinary(this->expr); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(AggregatePartitionsStatsRequest &a, AggregatePartitionsStatsRequest &b) { + using ::std::swap; + swap(a.dbName, b.dbName); + swap(a.tblName, b.tblName); + swap(a.colNames, b.colNames); + swap(a.expr, b.expr); +} + +AggregatePartitionsStatsRequest::AggregatePartitionsStatsRequest(const AggregatePartitionsStatsRequest& other457) { + dbName = other457.dbName; + tblName = other457.tblName; + colNames = other457.colNames; + expr = other457.expr; +} +AggregatePartitionsStatsRequest& AggregatePartitionsStatsRequest::operator=(const AggregatePartitionsStatsRequest& other458) { + dbName = other458.dbName; + tblName = other458.tblName; + colNames = other458.colNames; + expr = other458.expr; + return *this; +} +void AggregatePartitionsStatsRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "AggregatePartitionsStatsRequest("; + out << "dbName=" << to_string(dbName); + out << ", " << "tblName=" << to_string(tblName); + out << ", " << "colNames=" << to_string(colNames); + out << ", " << "expr=" << to_string(expr); + out << ")"; +} + + +AggregatePartitionsStatsResponse::~AggregatePartitionsStatsResponse() throw() { +} + + +void AggregatePartitionsStatsResponse::__set_partitions(const std::vector & val) { + this->partitions = val; +} + +void AggregatePartitionsStatsResponse::__set_stats(const AggrStats& val) { + this->stats = val; +} + +uint32_t AggregatePartitionsStatsResponse::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_partitions = false; + bool isset_stats = 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->partitions.clear(); + uint32_t _size459; + ::apache::thrift::protocol::TType _etype462; + xfer += iprot->readListBegin(_etype462, _size459); + this->partitions.resize(_size459); + uint32_t _i463; + for (_i463 = 0; _i463 < _size459; ++_i463) + { + xfer += this->partitions[_i463].read(iprot); + } + xfer += iprot->readListEnd(); + } + isset_partitions = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->stats.read(iprot); + isset_stats = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + if (!isset_partitions) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_stats) + throw TProtocolException(TProtocolException::INVALID_DATA); + return xfer; +} + +uint32_t AggregatePartitionsStatsResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("AggregatePartitionsStatsResponse"); + + xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitions.size())); + std::vector ::const_iterator _iter464; + for (_iter464 = this->partitions.begin(); _iter464 != this->partitions.end(); ++_iter464) + { + xfer += (*_iter464).write(oprot); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("stats", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->stats.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(AggregatePartitionsStatsResponse &a, AggregatePartitionsStatsResponse &b) { + using ::std::swap; + swap(a.partitions, b.partitions); + swap(a.stats, b.stats); +} + +AggregatePartitionsStatsResponse::AggregatePartitionsStatsResponse(const AggregatePartitionsStatsResponse& other465) { + partitions = other465.partitions; + stats = other465.stats; +} +AggregatePartitionsStatsResponse& AggregatePartitionsStatsResponse::operator=(const AggregatePartitionsStatsResponse& other466) { + partitions = other466.partitions; + stats = other466.stats; + return *this; +} +void AggregatePartitionsStatsResponse::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "AggregatePartitionsStatsResponse("; + out << "partitions=" << to_string(partitions); + out << ", " << "stats=" << to_string(stats); + out << ")"; +} + + AddPartitionsResult::~AddPartitionsResult() throw() { } @@ -10302,14 +10606,14 @@ uint32_t AddPartitionsResult::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size451; - ::apache::thrift::protocol::TType _etype454; - xfer += iprot->readListBegin(_etype454, _size451); - this->partitions.resize(_size451); - uint32_t _i455; - for (_i455 = 0; _i455 < _size451; ++_i455) + uint32_t _size467; + ::apache::thrift::protocol::TType _etype470; + xfer += iprot->readListBegin(_etype470, _size467); + this->partitions.resize(_size467); + uint32_t _i471; + for (_i471 = 0; _i471 < _size467; ++_i471) { - xfer += this->partitions[_i455].read(iprot); + xfer += this->partitions[_i471].read(iprot); } xfer += iprot->readListEnd(); } @@ -10339,10 +10643,10 @@ uint32_t AddPartitionsResult::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitions.size())); - std::vector ::const_iterator _iter456; - for (_iter456 = this->partitions.begin(); _iter456 != this->partitions.end(); ++_iter456) + std::vector ::const_iterator _iter472; + for (_iter472 = this->partitions.begin(); _iter472 != this->partitions.end(); ++_iter472) { - xfer += (*_iter456).write(oprot); + xfer += (*_iter472).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10359,13 +10663,13 @@ void swap(AddPartitionsResult &a, AddPartitionsResult &b) { swap(a.__isset, b.__isset); } -AddPartitionsResult::AddPartitionsResult(const AddPartitionsResult& other457) { - partitions = other457.partitions; - __isset = other457.__isset; +AddPartitionsResult::AddPartitionsResult(const AddPartitionsResult& other473) { + partitions = other473.partitions; + __isset = other473.__isset; } -AddPartitionsResult& AddPartitionsResult::operator=(const AddPartitionsResult& other458) { - partitions = other458.partitions; - __isset = other458.__isset; +AddPartitionsResult& AddPartitionsResult::operator=(const AddPartitionsResult& other474) { + partitions = other474.partitions; + __isset = other474.__isset; return *this; } void AddPartitionsResult::printTo(std::ostream& out) const { @@ -10446,14 +10750,14 @@ uint32_t AddPartitionsRequest::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->parts.clear(); - uint32_t _size459; - ::apache::thrift::protocol::TType _etype462; - xfer += iprot->readListBegin(_etype462, _size459); - this->parts.resize(_size459); - uint32_t _i463; - for (_i463 = 0; _i463 < _size459; ++_i463) + uint32_t _size475; + ::apache::thrift::protocol::TType _etype478; + xfer += iprot->readListBegin(_etype478, _size475); + this->parts.resize(_size475); + uint32_t _i479; + for (_i479 = 0; _i479 < _size475; ++_i479) { - xfer += this->parts[_i463].read(iprot); + xfer += this->parts[_i479].read(iprot); } xfer += iprot->readListEnd(); } @@ -10514,10 +10818,10 @@ uint32_t AddPartitionsRequest::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->parts.size())); - std::vector ::const_iterator _iter464; - for (_iter464 = this->parts.begin(); _iter464 != this->parts.end(); ++_iter464) + std::vector ::const_iterator _iter480; + for (_iter480 = this->parts.begin(); _iter480 != this->parts.end(); ++_iter480) { - xfer += (*_iter464).write(oprot); + xfer += (*_iter480).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10547,21 +10851,21 @@ void swap(AddPartitionsRequest &a, AddPartitionsRequest &b) { swap(a.__isset, b.__isset); } -AddPartitionsRequest::AddPartitionsRequest(const AddPartitionsRequest& other465) { - dbName = other465.dbName; - tblName = other465.tblName; - parts = other465.parts; - ifNotExists = other465.ifNotExists; - needResult = other465.needResult; - __isset = other465.__isset; -} -AddPartitionsRequest& AddPartitionsRequest::operator=(const AddPartitionsRequest& other466) { - dbName = other466.dbName; - tblName = other466.tblName; - parts = other466.parts; - ifNotExists = other466.ifNotExists; - needResult = other466.needResult; - __isset = other466.__isset; +AddPartitionsRequest::AddPartitionsRequest(const AddPartitionsRequest& other481) { + dbName = other481.dbName; + tblName = other481.tblName; + parts = other481.parts; + ifNotExists = other481.ifNotExists; + needResult = other481.needResult; + __isset = other481.__isset; +} +AddPartitionsRequest& AddPartitionsRequest::operator=(const AddPartitionsRequest& other482) { + dbName = other482.dbName; + tblName = other482.tblName; + parts = other482.parts; + ifNotExists = other482.ifNotExists; + needResult = other482.needResult; + __isset = other482.__isset; return *this; } void AddPartitionsRequest::printTo(std::ostream& out) const { @@ -10610,14 +10914,14 @@ uint32_t DropPartitionsResult::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size467; - ::apache::thrift::protocol::TType _etype470; - xfer += iprot->readListBegin(_etype470, _size467); - this->partitions.resize(_size467); - uint32_t _i471; - for (_i471 = 0; _i471 < _size467; ++_i471) + uint32_t _size483; + ::apache::thrift::protocol::TType _etype486; + xfer += iprot->readListBegin(_etype486, _size483); + this->partitions.resize(_size483); + uint32_t _i487; + for (_i487 = 0; _i487 < _size483; ++_i487) { - xfer += this->partitions[_i471].read(iprot); + xfer += this->partitions[_i487].read(iprot); } xfer += iprot->readListEnd(); } @@ -10647,10 +10951,10 @@ uint32_t DropPartitionsResult::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitions.size())); - std::vector ::const_iterator _iter472; - for (_iter472 = this->partitions.begin(); _iter472 != this->partitions.end(); ++_iter472) + std::vector ::const_iterator _iter488; + for (_iter488 = this->partitions.begin(); _iter488 != this->partitions.end(); ++_iter488) { - xfer += (*_iter472).write(oprot); + xfer += (*_iter488).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10667,13 +10971,13 @@ void swap(DropPartitionsResult &a, DropPartitionsResult &b) { swap(a.__isset, b.__isset); } -DropPartitionsResult::DropPartitionsResult(const DropPartitionsResult& other473) { - partitions = other473.partitions; - __isset = other473.__isset; +DropPartitionsResult::DropPartitionsResult(const DropPartitionsResult& other489) { + partitions = other489.partitions; + __isset = other489.__isset; } -DropPartitionsResult& DropPartitionsResult::operator=(const DropPartitionsResult& other474) { - partitions = other474.partitions; - __isset = other474.__isset; +DropPartitionsResult& DropPartitionsResult::operator=(const DropPartitionsResult& other490) { + partitions = other490.partitions; + __isset = other490.__isset; return *this; } void DropPartitionsResult::printTo(std::ostream& out) const { @@ -10775,15 +11079,15 @@ void swap(DropPartitionsExpr &a, DropPartitionsExpr &b) { swap(a.__isset, b.__isset); } -DropPartitionsExpr::DropPartitionsExpr(const DropPartitionsExpr& other475) { - expr = other475.expr; - partArchiveLevel = other475.partArchiveLevel; - __isset = other475.__isset; +DropPartitionsExpr::DropPartitionsExpr(const DropPartitionsExpr& other491) { + expr = other491.expr; + partArchiveLevel = other491.partArchiveLevel; + __isset = other491.__isset; } -DropPartitionsExpr& DropPartitionsExpr::operator=(const DropPartitionsExpr& other476) { - expr = other476.expr; - partArchiveLevel = other476.partArchiveLevel; - __isset = other476.__isset; +DropPartitionsExpr& DropPartitionsExpr::operator=(const DropPartitionsExpr& other492) { + expr = other492.expr; + partArchiveLevel = other492.partArchiveLevel; + __isset = other492.__isset; return *this; } void DropPartitionsExpr::printTo(std::ostream& out) const { @@ -10832,14 +11136,14 @@ uint32_t RequestPartsSpec::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size477; - ::apache::thrift::protocol::TType _etype480; - xfer += iprot->readListBegin(_etype480, _size477); - this->names.resize(_size477); - uint32_t _i481; - for (_i481 = 0; _i481 < _size477; ++_i481) + uint32_t _size493; + ::apache::thrift::protocol::TType _etype496; + xfer += iprot->readListBegin(_etype496, _size493); + this->names.resize(_size493); + uint32_t _i497; + for (_i497 = 0; _i497 < _size493; ++_i497) { - xfer += iprot->readString(this->names[_i481]); + xfer += iprot->readString(this->names[_i497]); } xfer += iprot->readListEnd(); } @@ -10852,14 +11156,14 @@ uint32_t RequestPartsSpec::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->exprs.clear(); - uint32_t _size482; - ::apache::thrift::protocol::TType _etype485; - xfer += iprot->readListBegin(_etype485, _size482); - this->exprs.resize(_size482); - uint32_t _i486; - for (_i486 = 0; _i486 < _size482; ++_i486) + uint32_t _size498; + ::apache::thrift::protocol::TType _etype501; + xfer += iprot->readListBegin(_etype501, _size498); + this->exprs.resize(_size498); + uint32_t _i502; + for (_i502 = 0; _i502 < _size498; ++_i502) { - xfer += this->exprs[_i486].read(iprot); + xfer += this->exprs[_i502].read(iprot); } xfer += iprot->readListEnd(); } @@ -10888,10 +11192,10 @@ uint32_t RequestPartsSpec::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->names.size())); - std::vector ::const_iterator _iter487; - for (_iter487 = this->names.begin(); _iter487 != this->names.end(); ++_iter487) + std::vector ::const_iterator _iter503; + for (_iter503 = this->names.begin(); _iter503 != this->names.end(); ++_iter503) { - xfer += oprot->writeString((*_iter487)); + xfer += oprot->writeString((*_iter503)); } xfer += oprot->writeListEnd(); } @@ -10900,10 +11204,10 @@ uint32_t RequestPartsSpec::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("exprs", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->exprs.size())); - std::vector ::const_iterator _iter488; - for (_iter488 = this->exprs.begin(); _iter488 != this->exprs.end(); ++_iter488) + std::vector ::const_iterator _iter504; + for (_iter504 = this->exprs.begin(); _iter504 != this->exprs.end(); ++_iter504) { - xfer += (*_iter488).write(oprot); + xfer += (*_iter504).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10921,15 +11225,15 @@ void swap(RequestPartsSpec &a, RequestPartsSpec &b) { swap(a.__isset, b.__isset); } -RequestPartsSpec::RequestPartsSpec(const RequestPartsSpec& other489) { - names = other489.names; - exprs = other489.exprs; - __isset = other489.__isset; +RequestPartsSpec::RequestPartsSpec(const RequestPartsSpec& other505) { + names = other505.names; + exprs = other505.exprs; + __isset = other505.__isset; } -RequestPartsSpec& RequestPartsSpec::operator=(const RequestPartsSpec& other490) { - names = other490.names; - exprs = other490.exprs; - __isset = other490.__isset; +RequestPartsSpec& RequestPartsSpec::operator=(const RequestPartsSpec& other506) { + names = other506.names; + exprs = other506.exprs; + __isset = other506.__isset; return *this; } void RequestPartsSpec::printTo(std::ostream& out) const { @@ -11148,27 +11452,27 @@ void swap(DropPartitionsRequest &a, DropPartitionsRequest &b) { swap(a.__isset, b.__isset); } -DropPartitionsRequest::DropPartitionsRequest(const DropPartitionsRequest& other491) { - dbName = other491.dbName; - tblName = other491.tblName; - parts = other491.parts; - deleteData = other491.deleteData; - ifExists = other491.ifExists; - ignoreProtection = other491.ignoreProtection; - environmentContext = other491.environmentContext; - needResult = other491.needResult; - __isset = other491.__isset; +DropPartitionsRequest::DropPartitionsRequest(const DropPartitionsRequest& other507) { + dbName = other507.dbName; + tblName = other507.tblName; + parts = other507.parts; + deleteData = other507.deleteData; + ifExists = other507.ifExists; + ignoreProtection = other507.ignoreProtection; + environmentContext = other507.environmentContext; + needResult = other507.needResult; + __isset = other507.__isset; } -DropPartitionsRequest& DropPartitionsRequest::operator=(const DropPartitionsRequest& other492) { - dbName = other492.dbName; - tblName = other492.tblName; - parts = other492.parts; - deleteData = other492.deleteData; - ifExists = other492.ifExists; - ignoreProtection = other492.ignoreProtection; - environmentContext = other492.environmentContext; - needResult = other492.needResult; - __isset = other492.__isset; +DropPartitionsRequest& DropPartitionsRequest::operator=(const DropPartitionsRequest& other508) { + dbName = other508.dbName; + tblName = other508.tblName; + parts = other508.parts; + deleteData = other508.deleteData; + ifExists = other508.ifExists; + ignoreProtection = other508.ignoreProtection; + environmentContext = other508.environmentContext; + needResult = other508.needResult; + __isset = other508.__isset; return *this; } void DropPartitionsRequest::printTo(std::ostream& out) const { @@ -11221,9 +11525,9 @@ uint32_t ResourceUri::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast493; - xfer += iprot->readI32(ecast493); - this->resourceType = (ResourceType::type)ecast493; + int32_t ecast509; + xfer += iprot->readI32(ecast509); + this->resourceType = (ResourceType::type)ecast509; this->__isset.resourceType = true; } else { xfer += iprot->skip(ftype); @@ -11274,15 +11578,15 @@ void swap(ResourceUri &a, ResourceUri &b) { swap(a.__isset, b.__isset); } -ResourceUri::ResourceUri(const ResourceUri& other494) { - resourceType = other494.resourceType; - uri = other494.uri; - __isset = other494.__isset; +ResourceUri::ResourceUri(const ResourceUri& other510) { + resourceType = other510.resourceType; + uri = other510.uri; + __isset = other510.__isset; } -ResourceUri& ResourceUri::operator=(const ResourceUri& other495) { - resourceType = other495.resourceType; - uri = other495.uri; - __isset = other495.__isset; +ResourceUri& ResourceUri::operator=(const ResourceUri& other511) { + resourceType = other511.resourceType; + uri = other511.uri; + __isset = other511.__isset; return *this; } void ResourceUri::printTo(std::ostream& out) const { @@ -11385,9 +11689,9 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast496; - xfer += iprot->readI32(ecast496); - this->ownerType = (PrincipalType::type)ecast496; + int32_t ecast512; + xfer += iprot->readI32(ecast512); + this->ownerType = (PrincipalType::type)ecast512; this->__isset.ownerType = true; } else { xfer += iprot->skip(ftype); @@ -11403,9 +11707,9 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 7: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast497; - xfer += iprot->readI32(ecast497); - this->functionType = (FunctionType::type)ecast497; + int32_t ecast513; + xfer += iprot->readI32(ecast513); + this->functionType = (FunctionType::type)ecast513; this->__isset.functionType = true; } else { xfer += iprot->skip(ftype); @@ -11415,14 +11719,14 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->resourceUris.clear(); - uint32_t _size498; - ::apache::thrift::protocol::TType _etype501; - xfer += iprot->readListBegin(_etype501, _size498); - this->resourceUris.resize(_size498); - uint32_t _i502; - for (_i502 = 0; _i502 < _size498; ++_i502) + uint32_t _size514; + ::apache::thrift::protocol::TType _etype517; + xfer += iprot->readListBegin(_etype517, _size514); + this->resourceUris.resize(_size514); + uint32_t _i518; + for (_i518 = 0; _i518 < _size514; ++_i518) { - xfer += this->resourceUris[_i502].read(iprot); + xfer += this->resourceUris[_i518].read(iprot); } xfer += iprot->readListEnd(); } @@ -11479,10 +11783,10 @@ uint32_t Function::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("resourceUris", ::apache::thrift::protocol::T_LIST, 8); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->resourceUris.size())); - std::vector ::const_iterator _iter503; - for (_iter503 = this->resourceUris.begin(); _iter503 != this->resourceUris.end(); ++_iter503) + std::vector ::const_iterator _iter519; + for (_iter519 = this->resourceUris.begin(); _iter519 != this->resourceUris.end(); ++_iter519) { - xfer += (*_iter503).write(oprot); + xfer += (*_iter519).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11506,27 +11810,27 @@ void swap(Function &a, Function &b) { swap(a.__isset, b.__isset); } -Function::Function(const Function& other504) { - functionName = other504.functionName; - dbName = other504.dbName; - className = other504.className; - ownerName = other504.ownerName; - ownerType = other504.ownerType; - createTime = other504.createTime; - functionType = other504.functionType; - resourceUris = other504.resourceUris; - __isset = other504.__isset; -} -Function& Function::operator=(const Function& other505) { - functionName = other505.functionName; - dbName = other505.dbName; - className = other505.className; - ownerName = other505.ownerName; - ownerType = other505.ownerType; - createTime = other505.createTime; - functionType = other505.functionType; - resourceUris = other505.resourceUris; - __isset = other505.__isset; +Function::Function(const Function& other520) { + functionName = other520.functionName; + dbName = other520.dbName; + className = other520.className; + ownerName = other520.ownerName; + ownerType = other520.ownerType; + createTime = other520.createTime; + functionType = other520.functionType; + resourceUris = other520.resourceUris; + __isset = other520.__isset; +} +Function& Function::operator=(const Function& other521) { + functionName = other521.functionName; + dbName = other521.dbName; + className = other521.className; + ownerName = other521.ownerName; + ownerType = other521.ownerType; + createTime = other521.createTime; + functionType = other521.functionType; + resourceUris = other521.resourceUris; + __isset = other521.__isset; return *this; } void Function::printTo(std::ostream& out) const { @@ -11614,9 +11918,9 @@ uint32_t TxnInfo::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast506; - xfer += iprot->readI32(ecast506); - this->state = (TxnState::type)ecast506; + int32_t ecast522; + xfer += iprot->readI32(ecast522); + this->state = (TxnState::type)ecast522; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -11735,25 +12039,25 @@ void swap(TxnInfo &a, TxnInfo &b) { swap(a.__isset, b.__isset); } -TxnInfo::TxnInfo(const TxnInfo& other507) { - id = other507.id; - state = other507.state; - user = other507.user; - hostname = other507.hostname; - agentInfo = other507.agentInfo; - heartbeatCount = other507.heartbeatCount; - metaInfo = other507.metaInfo; - __isset = other507.__isset; -} -TxnInfo& TxnInfo::operator=(const TxnInfo& other508) { - id = other508.id; - state = other508.state; - user = other508.user; - hostname = other508.hostname; - agentInfo = other508.agentInfo; - heartbeatCount = other508.heartbeatCount; - metaInfo = other508.metaInfo; - __isset = other508.__isset; +TxnInfo::TxnInfo(const TxnInfo& other523) { + id = other523.id; + state = other523.state; + user = other523.user; + hostname = other523.hostname; + agentInfo = other523.agentInfo; + heartbeatCount = other523.heartbeatCount; + metaInfo = other523.metaInfo; + __isset = other523.__isset; +} +TxnInfo& TxnInfo::operator=(const TxnInfo& other524) { + id = other524.id; + state = other524.state; + user = other524.user; + hostname = other524.hostname; + agentInfo = other524.agentInfo; + heartbeatCount = other524.heartbeatCount; + metaInfo = other524.metaInfo; + __isset = other524.__isset; return *this; } void TxnInfo::printTo(std::ostream& out) const { @@ -11817,14 +12121,14 @@ uint32_t GetOpenTxnsInfoResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->open_txns.clear(); - uint32_t _size509; - ::apache::thrift::protocol::TType _etype512; - xfer += iprot->readListBegin(_etype512, _size509); - this->open_txns.resize(_size509); - uint32_t _i513; - for (_i513 = 0; _i513 < _size509; ++_i513) + uint32_t _size525; + ::apache::thrift::protocol::TType _etype528; + xfer += iprot->readListBegin(_etype528, _size525); + this->open_txns.resize(_size525); + uint32_t _i529; + for (_i529 = 0; _i529 < _size525; ++_i529) { - xfer += this->open_txns[_i513].read(iprot); + xfer += this->open_txns[_i529].read(iprot); } xfer += iprot->readListEnd(); } @@ -11861,10 +12165,10 @@ uint32_t GetOpenTxnsInfoResponse::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldBegin("open_txns", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->open_txns.size())); - std::vector ::const_iterator _iter514; - for (_iter514 = this->open_txns.begin(); _iter514 != this->open_txns.end(); ++_iter514) + std::vector ::const_iterator _iter530; + for (_iter530 = this->open_txns.begin(); _iter530 != this->open_txns.end(); ++_iter530) { - xfer += (*_iter514).write(oprot); + xfer += (*_iter530).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11881,13 +12185,13 @@ void swap(GetOpenTxnsInfoResponse &a, GetOpenTxnsInfoResponse &b) { swap(a.open_txns, b.open_txns); } -GetOpenTxnsInfoResponse::GetOpenTxnsInfoResponse(const GetOpenTxnsInfoResponse& other515) { - txn_high_water_mark = other515.txn_high_water_mark; - open_txns = other515.open_txns; +GetOpenTxnsInfoResponse::GetOpenTxnsInfoResponse(const GetOpenTxnsInfoResponse& other531) { + txn_high_water_mark = other531.txn_high_water_mark; + open_txns = other531.open_txns; } -GetOpenTxnsInfoResponse& GetOpenTxnsInfoResponse::operator=(const GetOpenTxnsInfoResponse& other516) { - txn_high_water_mark = other516.txn_high_water_mark; - open_txns = other516.open_txns; +GetOpenTxnsInfoResponse& GetOpenTxnsInfoResponse::operator=(const GetOpenTxnsInfoResponse& other532) { + txn_high_water_mark = other532.txn_high_water_mark; + open_txns = other532.open_txns; return *this; } void GetOpenTxnsInfoResponse::printTo(std::ostream& out) const { @@ -11946,15 +12250,15 @@ uint32_t GetOpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_SET) { { this->open_txns.clear(); - uint32_t _size517; - ::apache::thrift::protocol::TType _etype520; - xfer += iprot->readSetBegin(_etype520, _size517); - uint32_t _i521; - for (_i521 = 0; _i521 < _size517; ++_i521) + uint32_t _size533; + ::apache::thrift::protocol::TType _etype536; + xfer += iprot->readSetBegin(_etype536, _size533); + uint32_t _i537; + for (_i537 = 0; _i537 < _size533; ++_i537) { - int64_t _elem522; - xfer += iprot->readI64(_elem522); - this->open_txns.insert(_elem522); + int64_t _elem538; + xfer += iprot->readI64(_elem538); + this->open_txns.insert(_elem538); } xfer += iprot->readSetEnd(); } @@ -11991,10 +12295,10 @@ uint32_t GetOpenTxnsResponse::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldBegin("open_txns", ::apache::thrift::protocol::T_SET, 2); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I64, static_cast(this->open_txns.size())); - std::set ::const_iterator _iter523; - for (_iter523 = this->open_txns.begin(); _iter523 != this->open_txns.end(); ++_iter523) + std::set ::const_iterator _iter539; + for (_iter539 = this->open_txns.begin(); _iter539 != this->open_txns.end(); ++_iter539) { - xfer += oprot->writeI64((*_iter523)); + xfer += oprot->writeI64((*_iter539)); } xfer += oprot->writeSetEnd(); } @@ -12011,13 +12315,13 @@ void swap(GetOpenTxnsResponse &a, GetOpenTxnsResponse &b) { swap(a.open_txns, b.open_txns); } -GetOpenTxnsResponse::GetOpenTxnsResponse(const GetOpenTxnsResponse& other524) { - txn_high_water_mark = other524.txn_high_water_mark; - open_txns = other524.open_txns; +GetOpenTxnsResponse::GetOpenTxnsResponse(const GetOpenTxnsResponse& other540) { + txn_high_water_mark = other540.txn_high_water_mark; + open_txns = other540.open_txns; } -GetOpenTxnsResponse& GetOpenTxnsResponse::operator=(const GetOpenTxnsResponse& other525) { - txn_high_water_mark = other525.txn_high_water_mark; - open_txns = other525.open_txns; +GetOpenTxnsResponse& GetOpenTxnsResponse::operator=(const GetOpenTxnsResponse& other541) { + txn_high_water_mark = other541.txn_high_water_mark; + open_txns = other541.open_txns; return *this; } void GetOpenTxnsResponse::printTo(std::ostream& out) const { @@ -12160,19 +12464,19 @@ void swap(OpenTxnRequest &a, OpenTxnRequest &b) { swap(a.__isset, b.__isset); } -OpenTxnRequest::OpenTxnRequest(const OpenTxnRequest& other526) { - num_txns = other526.num_txns; - user = other526.user; - hostname = other526.hostname; - agentInfo = other526.agentInfo; - __isset = other526.__isset; +OpenTxnRequest::OpenTxnRequest(const OpenTxnRequest& other542) { + num_txns = other542.num_txns; + user = other542.user; + hostname = other542.hostname; + agentInfo = other542.agentInfo; + __isset = other542.__isset; } -OpenTxnRequest& OpenTxnRequest::operator=(const OpenTxnRequest& other527) { - num_txns = other527.num_txns; - user = other527.user; - hostname = other527.hostname; - agentInfo = other527.agentInfo; - __isset = other527.__isset; +OpenTxnRequest& OpenTxnRequest::operator=(const OpenTxnRequest& other543) { + num_txns = other543.num_txns; + user = other543.user; + hostname = other543.hostname; + agentInfo = other543.agentInfo; + __isset = other543.__isset; return *this; } void OpenTxnRequest::printTo(std::ostream& out) const { @@ -12220,14 +12524,14 @@ uint32_t OpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txn_ids.clear(); - uint32_t _size528; - ::apache::thrift::protocol::TType _etype531; - xfer += iprot->readListBegin(_etype531, _size528); - this->txn_ids.resize(_size528); - uint32_t _i532; - for (_i532 = 0; _i532 < _size528; ++_i532) + uint32_t _size544; + ::apache::thrift::protocol::TType _etype547; + xfer += iprot->readListBegin(_etype547, _size544); + this->txn_ids.resize(_size544); + uint32_t _i548; + for (_i548 = 0; _i548 < _size544; ++_i548) { - xfer += iprot->readI64(this->txn_ids[_i532]); + xfer += iprot->readI64(this->txn_ids[_i548]); } xfer += iprot->readListEnd(); } @@ -12258,10 +12562,10 @@ uint32_t OpenTxnsResponse::write(::apache::thrift::protocol::TProtocol* oprot) c 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 _iter533; - for (_iter533 = this->txn_ids.begin(); _iter533 != this->txn_ids.end(); ++_iter533) + std::vector ::const_iterator _iter549; + for (_iter549 = this->txn_ids.begin(); _iter549 != this->txn_ids.end(); ++_iter549) { - xfer += oprot->writeI64((*_iter533)); + xfer += oprot->writeI64((*_iter549)); } xfer += oprot->writeListEnd(); } @@ -12277,11 +12581,11 @@ void swap(OpenTxnsResponse &a, OpenTxnsResponse &b) { swap(a.txn_ids, b.txn_ids); } -OpenTxnsResponse::OpenTxnsResponse(const OpenTxnsResponse& other534) { - txn_ids = other534.txn_ids; +OpenTxnsResponse::OpenTxnsResponse(const OpenTxnsResponse& other550) { + txn_ids = other550.txn_ids; } -OpenTxnsResponse& OpenTxnsResponse::operator=(const OpenTxnsResponse& other535) { - txn_ids = other535.txn_ids; +OpenTxnsResponse& OpenTxnsResponse::operator=(const OpenTxnsResponse& other551) { + txn_ids = other551.txn_ids; return *this; } void OpenTxnsResponse::printTo(std::ostream& out) const { @@ -12363,11 +12667,11 @@ void swap(AbortTxnRequest &a, AbortTxnRequest &b) { swap(a.txnid, b.txnid); } -AbortTxnRequest::AbortTxnRequest(const AbortTxnRequest& other536) { - txnid = other536.txnid; +AbortTxnRequest::AbortTxnRequest(const AbortTxnRequest& other552) { + txnid = other552.txnid; } -AbortTxnRequest& AbortTxnRequest::operator=(const AbortTxnRequest& other537) { - txnid = other537.txnid; +AbortTxnRequest& AbortTxnRequest::operator=(const AbortTxnRequest& other553) { + txnid = other553.txnid; return *this; } void AbortTxnRequest::printTo(std::ostream& out) const { @@ -12412,14 +12716,14 @@ uint32_t AbortTxnsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txn_ids.clear(); - uint32_t _size538; - ::apache::thrift::protocol::TType _etype541; - xfer += iprot->readListBegin(_etype541, _size538); - this->txn_ids.resize(_size538); - uint32_t _i542; - for (_i542 = 0; _i542 < _size538; ++_i542) + uint32_t _size554; + ::apache::thrift::protocol::TType _etype557; + xfer += iprot->readListBegin(_etype557, _size554); + this->txn_ids.resize(_size554); + uint32_t _i558; + for (_i558 = 0; _i558 < _size554; ++_i558) { - xfer += iprot->readI64(this->txn_ids[_i542]); + xfer += iprot->readI64(this->txn_ids[_i558]); } xfer += iprot->readListEnd(); } @@ -12450,10 +12754,10 @@ uint32_t AbortTxnsRequest::write(::apache::thrift::protocol::TProtocol* oprot) c 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 _iter543; - for (_iter543 = this->txn_ids.begin(); _iter543 != this->txn_ids.end(); ++_iter543) + std::vector ::const_iterator _iter559; + for (_iter559 = this->txn_ids.begin(); _iter559 != this->txn_ids.end(); ++_iter559) { - xfer += oprot->writeI64((*_iter543)); + xfer += oprot->writeI64((*_iter559)); } xfer += oprot->writeListEnd(); } @@ -12469,11 +12773,11 @@ void swap(AbortTxnsRequest &a, AbortTxnsRequest &b) { swap(a.txn_ids, b.txn_ids); } -AbortTxnsRequest::AbortTxnsRequest(const AbortTxnsRequest& other544) { - txn_ids = other544.txn_ids; +AbortTxnsRequest::AbortTxnsRequest(const AbortTxnsRequest& other560) { + txn_ids = other560.txn_ids; } -AbortTxnsRequest& AbortTxnsRequest::operator=(const AbortTxnsRequest& other545) { - txn_ids = other545.txn_ids; +AbortTxnsRequest& AbortTxnsRequest::operator=(const AbortTxnsRequest& other561) { + txn_ids = other561.txn_ids; return *this; } void AbortTxnsRequest::printTo(std::ostream& out) const { @@ -12555,11 +12859,11 @@ void swap(CommitTxnRequest &a, CommitTxnRequest &b) { swap(a.txnid, b.txnid); } -CommitTxnRequest::CommitTxnRequest(const CommitTxnRequest& other546) { - txnid = other546.txnid; +CommitTxnRequest::CommitTxnRequest(const CommitTxnRequest& other562) { + txnid = other562.txnid; } -CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other547) { - txnid = other547.txnid; +CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other563) { + txnid = other563.txnid; return *this; } void CommitTxnRequest::printTo(std::ostream& out) const { @@ -12632,9 +12936,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast548; - xfer += iprot->readI32(ecast548); - this->type = (LockType::type)ecast548; + int32_t ecast564; + xfer += iprot->readI32(ecast564); + this->type = (LockType::type)ecast564; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -12642,9 +12946,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast549; - xfer += iprot->readI32(ecast549); - this->level = (LockLevel::type)ecast549; + int32_t ecast565; + xfer += iprot->readI32(ecast565); + this->level = (LockLevel::type)ecast565; isset_level = true; } else { xfer += iprot->skip(ftype); @@ -12676,9 +12980,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast550; - xfer += iprot->readI32(ecast550); - this->operationType = (DataOperationType::type)ecast550; + int32_t ecast566; + xfer += iprot->readI32(ecast566); + this->operationType = (DataOperationType::type)ecast566; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -12764,25 +13068,25 @@ void swap(LockComponent &a, LockComponent &b) { swap(a.__isset, b.__isset); } -LockComponent::LockComponent(const LockComponent& other551) { - type = other551.type; - level = other551.level; - dbname = other551.dbname; - tablename = other551.tablename; - partitionname = other551.partitionname; - operationType = other551.operationType; - isAcid = other551.isAcid; - __isset = other551.__isset; -} -LockComponent& LockComponent::operator=(const LockComponent& other552) { - type = other552.type; - level = other552.level; - dbname = other552.dbname; - tablename = other552.tablename; - partitionname = other552.partitionname; - operationType = other552.operationType; - isAcid = other552.isAcid; - __isset = other552.__isset; +LockComponent::LockComponent(const LockComponent& other567) { + type = other567.type; + level = other567.level; + dbname = other567.dbname; + tablename = other567.tablename; + partitionname = other567.partitionname; + operationType = other567.operationType; + isAcid = other567.isAcid; + __isset = other567.__isset; +} +LockComponent& LockComponent::operator=(const LockComponent& other568) { + type = other568.type; + level = other568.level; + dbname = other568.dbname; + tablename = other568.tablename; + partitionname = other568.partitionname; + operationType = other568.operationType; + isAcid = other568.isAcid; + __isset = other568.__isset; return *this; } void LockComponent::printTo(std::ostream& out) const { @@ -12853,14 +13157,14 @@ uint32_t LockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->component.clear(); - uint32_t _size553; - ::apache::thrift::protocol::TType _etype556; - xfer += iprot->readListBegin(_etype556, _size553); - this->component.resize(_size553); - uint32_t _i557; - for (_i557 = 0; _i557 < _size553; ++_i557) + uint32_t _size569; + ::apache::thrift::protocol::TType _etype572; + xfer += iprot->readListBegin(_etype572, _size569); + this->component.resize(_size569); + uint32_t _i573; + for (_i573 = 0; _i573 < _size569; ++_i573) { - xfer += this->component[_i557].read(iprot); + xfer += this->component[_i573].read(iprot); } xfer += iprot->readListEnd(); } @@ -12927,10 +13231,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 _iter558; - for (_iter558 = this->component.begin(); _iter558 != this->component.end(); ++_iter558) + std::vector ::const_iterator _iter574; + for (_iter574 = this->component.begin(); _iter574 != this->component.end(); ++_iter574) { - xfer += (*_iter558).write(oprot); + xfer += (*_iter574).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12969,21 +13273,21 @@ void swap(LockRequest &a, LockRequest &b) { swap(a.__isset, b.__isset); } -LockRequest::LockRequest(const LockRequest& other559) { - component = other559.component; - txnid = other559.txnid; - user = other559.user; - hostname = other559.hostname; - agentInfo = other559.agentInfo; - __isset = other559.__isset; -} -LockRequest& LockRequest::operator=(const LockRequest& other560) { - component = other560.component; - txnid = other560.txnid; - user = other560.user; - hostname = other560.hostname; - agentInfo = other560.agentInfo; - __isset = other560.__isset; +LockRequest::LockRequest(const LockRequest& other575) { + component = other575.component; + txnid = other575.txnid; + user = other575.user; + hostname = other575.hostname; + agentInfo = other575.agentInfo; + __isset = other575.__isset; +} +LockRequest& LockRequest::operator=(const LockRequest& other576) { + component = other576.component; + txnid = other576.txnid; + user = other576.user; + hostname = other576.hostname; + agentInfo = other576.agentInfo; + __isset = other576.__isset; return *this; } void LockRequest::printTo(std::ostream& out) const { @@ -13043,9 +13347,9 @@ uint32_t LockResponse::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast561; - xfer += iprot->readI32(ecast561); - this->state = (LockState::type)ecast561; + int32_t ecast577; + xfer += iprot->readI32(ecast577); + this->state = (LockState::type)ecast577; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -13091,13 +13395,13 @@ void swap(LockResponse &a, LockResponse &b) { swap(a.state, b.state); } -LockResponse::LockResponse(const LockResponse& other562) { - lockid = other562.lockid; - state = other562.state; +LockResponse::LockResponse(const LockResponse& other578) { + lockid = other578.lockid; + state = other578.state; } -LockResponse& LockResponse::operator=(const LockResponse& other563) { - lockid = other563.lockid; - state = other563.state; +LockResponse& LockResponse::operator=(const LockResponse& other579) { + lockid = other579.lockid; + state = other579.state; return *this; } void LockResponse::printTo(std::ostream& out) const { @@ -13219,17 +13523,17 @@ void swap(CheckLockRequest &a, CheckLockRequest &b) { swap(a.__isset, b.__isset); } -CheckLockRequest::CheckLockRequest(const CheckLockRequest& other564) { - lockid = other564.lockid; - txnid = other564.txnid; - elapsed_ms = other564.elapsed_ms; - __isset = other564.__isset; +CheckLockRequest::CheckLockRequest(const CheckLockRequest& other580) { + lockid = other580.lockid; + txnid = other580.txnid; + elapsed_ms = other580.elapsed_ms; + __isset = other580.__isset; } -CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other565) { - lockid = other565.lockid; - txnid = other565.txnid; - elapsed_ms = other565.elapsed_ms; - __isset = other565.__isset; +CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other581) { + lockid = other581.lockid; + txnid = other581.txnid; + elapsed_ms = other581.elapsed_ms; + __isset = other581.__isset; return *this; } void CheckLockRequest::printTo(std::ostream& out) const { @@ -13313,11 +13617,11 @@ void swap(UnlockRequest &a, UnlockRequest &b) { swap(a.lockid, b.lockid); } -UnlockRequest::UnlockRequest(const UnlockRequest& other566) { - lockid = other566.lockid; +UnlockRequest::UnlockRequest(const UnlockRequest& other582) { + lockid = other582.lockid; } -UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other567) { - lockid = other567.lockid; +UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other583) { + lockid = other583.lockid; return *this; } void UnlockRequest::printTo(std::ostream& out) const { @@ -13456,19 +13760,19 @@ void swap(ShowLocksRequest &a, ShowLocksRequest &b) { swap(a.__isset, b.__isset); } -ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other568) { - dbname = other568.dbname; - tablename = other568.tablename; - partname = other568.partname; - isExtended = other568.isExtended; - __isset = other568.__isset; +ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other584) { + dbname = other584.dbname; + tablename = other584.tablename; + partname = other584.partname; + isExtended = other584.isExtended; + __isset = other584.__isset; } -ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other569) { - dbname = other569.dbname; - tablename = other569.tablename; - partname = other569.partname; - isExtended = other569.isExtended; - __isset = other569.__isset; +ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other585) { + dbname = other585.dbname; + tablename = other585.tablename; + partname = other585.partname; + isExtended = other585.isExtended; + __isset = other585.__isset; return *this; } void ShowLocksRequest::printTo(std::ostream& out) const { @@ -13621,9 +13925,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast570; - xfer += iprot->readI32(ecast570); - this->state = (LockState::type)ecast570; + int32_t ecast586; + xfer += iprot->readI32(ecast586); + this->state = (LockState::type)ecast586; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -13631,9 +13935,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast571; - xfer += iprot->readI32(ecast571); - this->type = (LockType::type)ecast571; + int32_t ecast587; + xfer += iprot->readI32(ecast587); + this->type = (LockType::type)ecast587; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -13849,43 +14153,43 @@ void swap(ShowLocksResponseElement &a, ShowLocksResponseElement &b) { swap(a.__isset, b.__isset); } -ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other572) { - lockid = other572.lockid; - dbname = other572.dbname; - tablename = other572.tablename; - partname = other572.partname; - state = other572.state; - type = other572.type; - txnid = other572.txnid; - lastheartbeat = other572.lastheartbeat; - acquiredat = other572.acquiredat; - user = other572.user; - hostname = other572.hostname; - heartbeatCount = other572.heartbeatCount; - agentInfo = other572.agentInfo; - blockedByExtId = other572.blockedByExtId; - blockedByIntId = other572.blockedByIntId; - lockIdInternal = other572.lockIdInternal; - __isset = other572.__isset; -} -ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other573) { - lockid = other573.lockid; - dbname = other573.dbname; - tablename = other573.tablename; - partname = other573.partname; - state = other573.state; - type = other573.type; - txnid = other573.txnid; - lastheartbeat = other573.lastheartbeat; - acquiredat = other573.acquiredat; - user = other573.user; - hostname = other573.hostname; - heartbeatCount = other573.heartbeatCount; - agentInfo = other573.agentInfo; - blockedByExtId = other573.blockedByExtId; - blockedByIntId = other573.blockedByIntId; - lockIdInternal = other573.lockIdInternal; - __isset = other573.__isset; +ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other588) { + lockid = other588.lockid; + dbname = other588.dbname; + tablename = other588.tablename; + partname = other588.partname; + state = other588.state; + type = other588.type; + txnid = other588.txnid; + lastheartbeat = other588.lastheartbeat; + acquiredat = other588.acquiredat; + user = other588.user; + hostname = other588.hostname; + heartbeatCount = other588.heartbeatCount; + agentInfo = other588.agentInfo; + blockedByExtId = other588.blockedByExtId; + blockedByIntId = other588.blockedByIntId; + lockIdInternal = other588.lockIdInternal; + __isset = other588.__isset; +} +ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other589) { + lockid = other589.lockid; + dbname = other589.dbname; + tablename = other589.tablename; + partname = other589.partname; + state = other589.state; + type = other589.type; + txnid = other589.txnid; + lastheartbeat = other589.lastheartbeat; + acquiredat = other589.acquiredat; + user = other589.user; + hostname = other589.hostname; + heartbeatCount = other589.heartbeatCount; + agentInfo = other589.agentInfo; + blockedByExtId = other589.blockedByExtId; + blockedByIntId = other589.blockedByIntId; + lockIdInternal = other589.lockIdInternal; + __isset = other589.__isset; return *this; } void ShowLocksResponseElement::printTo(std::ostream& out) const { @@ -13944,14 +14248,14 @@ uint32_t ShowLocksResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->locks.clear(); - uint32_t _size574; - ::apache::thrift::protocol::TType _etype577; - xfer += iprot->readListBegin(_etype577, _size574); - this->locks.resize(_size574); - uint32_t _i578; - for (_i578 = 0; _i578 < _size574; ++_i578) + uint32_t _size590; + ::apache::thrift::protocol::TType _etype593; + xfer += iprot->readListBegin(_etype593, _size590); + this->locks.resize(_size590); + uint32_t _i594; + for (_i594 = 0; _i594 < _size590; ++_i594) { - xfer += this->locks[_i578].read(iprot); + xfer += this->locks[_i594].read(iprot); } xfer += iprot->readListEnd(); } @@ -13980,10 +14284,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 _iter579; - for (_iter579 = this->locks.begin(); _iter579 != this->locks.end(); ++_iter579) + std::vector ::const_iterator _iter595; + for (_iter595 = this->locks.begin(); _iter595 != this->locks.end(); ++_iter595) { - xfer += (*_iter579).write(oprot); + xfer += (*_iter595).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14000,13 +14304,13 @@ void swap(ShowLocksResponse &a, ShowLocksResponse &b) { swap(a.__isset, b.__isset); } -ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other580) { - locks = other580.locks; - __isset = other580.__isset; +ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other596) { + locks = other596.locks; + __isset = other596.__isset; } -ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other581) { - locks = other581.locks; - __isset = other581.__isset; +ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other597) { + locks = other597.locks; + __isset = other597.__isset; return *this; } void ShowLocksResponse::printTo(std::ostream& out) const { @@ -14107,15 +14411,15 @@ void swap(HeartbeatRequest &a, HeartbeatRequest &b) { swap(a.__isset, b.__isset); } -HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other582) { - lockid = other582.lockid; - txnid = other582.txnid; - __isset = other582.__isset; +HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other598) { + lockid = other598.lockid; + txnid = other598.txnid; + __isset = other598.__isset; } -HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other583) { - lockid = other583.lockid; - txnid = other583.txnid; - __isset = other583.__isset; +HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other599) { + lockid = other599.lockid; + txnid = other599.txnid; + __isset = other599.__isset; return *this; } void HeartbeatRequest::printTo(std::ostream& out) const { @@ -14218,13 +14522,13 @@ void swap(HeartbeatTxnRangeRequest &a, HeartbeatTxnRangeRequest &b) { swap(a.max, b.max); } -HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other584) { - min = other584.min; - max = other584.max; +HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other600) { + min = other600.min; + max = other600.max; } -HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other585) { - min = other585.min; - max = other585.max; +HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other601) { + min = other601.min; + max = other601.max; return *this; } void HeartbeatTxnRangeRequest::printTo(std::ostream& out) const { @@ -14275,15 +14579,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->aborted.clear(); - uint32_t _size586; - ::apache::thrift::protocol::TType _etype589; - xfer += iprot->readSetBegin(_etype589, _size586); - uint32_t _i590; - for (_i590 = 0; _i590 < _size586; ++_i590) + uint32_t _size602; + ::apache::thrift::protocol::TType _etype605; + xfer += iprot->readSetBegin(_etype605, _size602); + uint32_t _i606; + for (_i606 = 0; _i606 < _size602; ++_i606) { - int64_t _elem591; - xfer += iprot->readI64(_elem591); - this->aborted.insert(_elem591); + int64_t _elem607; + xfer += iprot->readI64(_elem607); + this->aborted.insert(_elem607); } xfer += iprot->readSetEnd(); } @@ -14296,15 +14600,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->nosuch.clear(); - uint32_t _size592; - ::apache::thrift::protocol::TType _etype595; - xfer += iprot->readSetBegin(_etype595, _size592); - uint32_t _i596; - for (_i596 = 0; _i596 < _size592; ++_i596) + uint32_t _size608; + ::apache::thrift::protocol::TType _etype611; + xfer += iprot->readSetBegin(_etype611, _size608); + uint32_t _i612; + for (_i612 = 0; _i612 < _size608; ++_i612) { - int64_t _elem597; - xfer += iprot->readI64(_elem597); - this->nosuch.insert(_elem597); + int64_t _elem613; + xfer += iprot->readI64(_elem613); + this->nosuch.insert(_elem613); } xfer += iprot->readSetEnd(); } @@ -14337,10 +14641,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 _iter598; - for (_iter598 = this->aborted.begin(); _iter598 != this->aborted.end(); ++_iter598) + std::set ::const_iterator _iter614; + for (_iter614 = this->aborted.begin(); _iter614 != this->aborted.end(); ++_iter614) { - xfer += oprot->writeI64((*_iter598)); + xfer += oprot->writeI64((*_iter614)); } xfer += oprot->writeSetEnd(); } @@ -14349,10 +14653,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 _iter599; - for (_iter599 = this->nosuch.begin(); _iter599 != this->nosuch.end(); ++_iter599) + std::set ::const_iterator _iter615; + for (_iter615 = this->nosuch.begin(); _iter615 != this->nosuch.end(); ++_iter615) { - xfer += oprot->writeI64((*_iter599)); + xfer += oprot->writeI64((*_iter615)); } xfer += oprot->writeSetEnd(); } @@ -14369,13 +14673,13 @@ void swap(HeartbeatTxnRangeResponse &a, HeartbeatTxnRangeResponse &b) { swap(a.nosuch, b.nosuch); } -HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other600) { - aborted = other600.aborted; - nosuch = other600.nosuch; +HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other616) { + aborted = other616.aborted; + nosuch = other616.nosuch; } -HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other601) { - aborted = other601.aborted; - nosuch = other601.nosuch; +HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other617) { + aborted = other617.aborted; + nosuch = other617.nosuch; return *this; } void HeartbeatTxnRangeResponse::printTo(std::ostream& out) const { @@ -14468,9 +14772,9 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast602; - xfer += iprot->readI32(ecast602); - this->type = (CompactionType::type)ecast602; + int32_t ecast618; + xfer += iprot->readI32(ecast618); + this->type = (CompactionType::type)ecast618; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -14488,17 +14792,17 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - uint32_t _size603; - ::apache::thrift::protocol::TType _ktype604; - ::apache::thrift::protocol::TType _vtype605; - xfer += iprot->readMapBegin(_ktype604, _vtype605, _size603); - uint32_t _i607; - for (_i607 = 0; _i607 < _size603; ++_i607) + uint32_t _size619; + ::apache::thrift::protocol::TType _ktype620; + ::apache::thrift::protocol::TType _vtype621; + xfer += iprot->readMapBegin(_ktype620, _vtype621, _size619); + uint32_t _i623; + for (_i623 = 0; _i623 < _size619; ++_i623) { - std::string _key608; - xfer += iprot->readString(_key608); - std::string& _val609 = this->properties[_key608]; - xfer += iprot->readString(_val609); + std::string _key624; + xfer += iprot->readString(_key624); + std::string& _val625 = this->properties[_key624]; + xfer += iprot->readString(_val625); } xfer += iprot->readMapEnd(); } @@ -14556,11 +14860,11 @@ uint32_t CompactionRequest::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("properties", ::apache::thrift::protocol::T_MAP, 6); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->properties.size())); - std::map ::const_iterator _iter610; - for (_iter610 = this->properties.begin(); _iter610 != this->properties.end(); ++_iter610) + std::map ::const_iterator _iter626; + for (_iter626 = this->properties.begin(); _iter626 != this->properties.end(); ++_iter626) { - xfer += oprot->writeString(_iter610->first); - xfer += oprot->writeString(_iter610->second); + xfer += oprot->writeString(_iter626->first); + xfer += oprot->writeString(_iter626->second); } xfer += oprot->writeMapEnd(); } @@ -14582,23 +14886,23 @@ void swap(CompactionRequest &a, CompactionRequest &b) { swap(a.__isset, b.__isset); } -CompactionRequest::CompactionRequest(const CompactionRequest& other611) { - dbname = other611.dbname; - tablename = other611.tablename; - partitionname = other611.partitionname; - type = other611.type; - runas = other611.runas; - properties = other611.properties; - __isset = other611.__isset; -} -CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other612) { - dbname = other612.dbname; - tablename = other612.tablename; - partitionname = other612.partitionname; - type = other612.type; - runas = other612.runas; - properties = other612.properties; - __isset = other612.__isset; +CompactionRequest::CompactionRequest(const CompactionRequest& other627) { + dbname = other627.dbname; + tablename = other627.tablename; + partitionname = other627.partitionname; + type = other627.type; + runas = other627.runas; + properties = other627.properties; + __isset = other627.__isset; +} +CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other628) { + dbname = other628.dbname; + tablename = other628.tablename; + partitionname = other628.partitionname; + type = other628.type; + runas = other628.runas; + properties = other628.properties; + __isset = other628.__isset; return *this; } void CompactionRequest::printTo(std::ostream& out) const { @@ -14662,11 +14966,11 @@ void swap(ShowCompactRequest &a, ShowCompactRequest &b) { (void) b; } -ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other613) { - (void) other613; +ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other629) { + (void) other629; } -ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other614) { - (void) other614; +ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other630) { + (void) other630; return *this; } void ShowCompactRequest::printTo(std::ostream& out) const { @@ -14787,9 +15091,9 @@ uint32_t ShowCompactResponseElement::read(::apache::thrift::protocol::TProtocol* break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast615; - xfer += iprot->readI32(ecast615); - this->type = (CompactionType::type)ecast615; + int32_t ecast631; + xfer += iprot->readI32(ecast631); + this->type = (CompactionType::type)ecast631; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -14962,35 +15266,35 @@ void swap(ShowCompactResponseElement &a, ShowCompactResponseElement &b) { swap(a.__isset, b.__isset); } -ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other616) { - dbname = other616.dbname; - tablename = other616.tablename; - partitionname = other616.partitionname; - type = other616.type; - state = other616.state; - workerid = other616.workerid; - start = other616.start; - runAs = other616.runAs; - hightestTxnId = other616.hightestTxnId; - metaInfo = other616.metaInfo; - endTime = other616.endTime; - hadoopJobId = other616.hadoopJobId; - __isset = other616.__isset; -} -ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other617) { - dbname = other617.dbname; - tablename = other617.tablename; - partitionname = other617.partitionname; - type = other617.type; - state = other617.state; - workerid = other617.workerid; - start = other617.start; - runAs = other617.runAs; - hightestTxnId = other617.hightestTxnId; - metaInfo = other617.metaInfo; - endTime = other617.endTime; - hadoopJobId = other617.hadoopJobId; - __isset = other617.__isset; +ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other632) { + dbname = other632.dbname; + tablename = other632.tablename; + partitionname = other632.partitionname; + type = other632.type; + state = other632.state; + workerid = other632.workerid; + start = other632.start; + runAs = other632.runAs; + hightestTxnId = other632.hightestTxnId; + metaInfo = other632.metaInfo; + endTime = other632.endTime; + hadoopJobId = other632.hadoopJobId; + __isset = other632.__isset; +} +ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other633) { + dbname = other633.dbname; + tablename = other633.tablename; + partitionname = other633.partitionname; + type = other633.type; + state = other633.state; + workerid = other633.workerid; + start = other633.start; + runAs = other633.runAs; + hightestTxnId = other633.hightestTxnId; + metaInfo = other633.metaInfo; + endTime = other633.endTime; + hadoopJobId = other633.hadoopJobId; + __isset = other633.__isset; return *this; } void ShowCompactResponseElement::printTo(std::ostream& out) const { @@ -15046,14 +15350,14 @@ uint32_t ShowCompactResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->compacts.clear(); - uint32_t _size618; - ::apache::thrift::protocol::TType _etype621; - xfer += iprot->readListBegin(_etype621, _size618); - this->compacts.resize(_size618); - uint32_t _i622; - for (_i622 = 0; _i622 < _size618; ++_i622) + uint32_t _size634; + ::apache::thrift::protocol::TType _etype637; + xfer += iprot->readListBegin(_etype637, _size634); + this->compacts.resize(_size634); + uint32_t _i638; + for (_i638 = 0; _i638 < _size634; ++_i638) { - xfer += this->compacts[_i622].read(iprot); + xfer += this->compacts[_i638].read(iprot); } xfer += iprot->readListEnd(); } @@ -15084,10 +15388,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 _iter623; - for (_iter623 = this->compacts.begin(); _iter623 != this->compacts.end(); ++_iter623) + std::vector ::const_iterator _iter639; + for (_iter639 = this->compacts.begin(); _iter639 != this->compacts.end(); ++_iter639) { - xfer += (*_iter623).write(oprot); + xfer += (*_iter639).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15103,11 +15407,11 @@ void swap(ShowCompactResponse &a, ShowCompactResponse &b) { swap(a.compacts, b.compacts); } -ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other624) { - compacts = other624.compacts; +ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other640) { + compacts = other640.compacts; } -ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other625) { - compacts = other625.compacts; +ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other641) { + compacts = other641.compacts; return *this; } void ShowCompactResponse::printTo(std::ostream& out) const { @@ -15196,14 +15500,14 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionnames.clear(); - uint32_t _size626; - ::apache::thrift::protocol::TType _etype629; - xfer += iprot->readListBegin(_etype629, _size626); - this->partitionnames.resize(_size626); - uint32_t _i630; - for (_i630 = 0; _i630 < _size626; ++_i630) + uint32_t _size642; + ::apache::thrift::protocol::TType _etype645; + xfer += iprot->readListBegin(_etype645, _size642); + this->partitionnames.resize(_size642); + uint32_t _i646; + for (_i646 = 0; _i646 < _size642; ++_i646) { - xfer += iprot->readString(this->partitionnames[_i630]); + xfer += iprot->readString(this->partitionnames[_i646]); } xfer += iprot->readListEnd(); } @@ -15214,9 +15518,9 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast631; - xfer += iprot->readI32(ecast631); - this->operationType = (DataOperationType::type)ecast631; + int32_t ecast647; + xfer += iprot->readI32(ecast647); + this->operationType = (DataOperationType::type)ecast647; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -15262,10 +15566,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 _iter632; - for (_iter632 = this->partitionnames.begin(); _iter632 != this->partitionnames.end(); ++_iter632) + std::vector ::const_iterator _iter648; + for (_iter648 = this->partitionnames.begin(); _iter648 != this->partitionnames.end(); ++_iter648) { - xfer += oprot->writeString((*_iter632)); + xfer += oprot->writeString((*_iter648)); } xfer += oprot->writeListEnd(); } @@ -15291,21 +15595,21 @@ void swap(AddDynamicPartitions &a, AddDynamicPartitions &b) { swap(a.__isset, b.__isset); } -AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other633) { - txnid = other633.txnid; - dbname = other633.dbname; - tablename = other633.tablename; - partitionnames = other633.partitionnames; - operationType = other633.operationType; - __isset = other633.__isset; -} -AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other634) { - txnid = other634.txnid; - dbname = other634.dbname; - tablename = other634.tablename; - partitionnames = other634.partitionnames; - operationType = other634.operationType; - __isset = other634.__isset; +AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other649) { + txnid = other649.txnid; + dbname = other649.dbname; + tablename = other649.tablename; + partitionnames = other649.partitionnames; + operationType = other649.operationType; + __isset = other649.__isset; +} +AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other650) { + txnid = other650.txnid; + dbname = other650.dbname; + tablename = other650.tablename; + partitionnames = other650.partitionnames; + operationType = other650.operationType; + __isset = other650.__isset; return *this; } void AddDynamicPartitions::printTo(std::ostream& out) const { @@ -15411,15 +15715,15 @@ void swap(NotificationEventRequest &a, NotificationEventRequest &b) { swap(a.__isset, b.__isset); } -NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other635) { - lastEvent = other635.lastEvent; - maxEvents = other635.maxEvents; - __isset = other635.__isset; +NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other651) { + lastEvent = other651.lastEvent; + maxEvents = other651.maxEvents; + __isset = other651.__isset; } -NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other636) { - lastEvent = other636.lastEvent; - maxEvents = other636.maxEvents; - __isset = other636.__isset; +NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other652) { + lastEvent = other652.lastEvent; + maxEvents = other652.maxEvents; + __isset = other652.__isset; return *this; } void NotificationEventRequest::printTo(std::ostream& out) const { @@ -15601,23 +15905,23 @@ void swap(NotificationEvent &a, NotificationEvent &b) { swap(a.__isset, b.__isset); } -NotificationEvent::NotificationEvent(const NotificationEvent& other637) { - eventId = other637.eventId; - eventTime = other637.eventTime; - eventType = other637.eventType; - dbName = other637.dbName; - tableName = other637.tableName; - message = other637.message; - __isset = other637.__isset; -} -NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other638) { - eventId = other638.eventId; - eventTime = other638.eventTime; - eventType = other638.eventType; - dbName = other638.dbName; - tableName = other638.tableName; - message = other638.message; - __isset = other638.__isset; +NotificationEvent::NotificationEvent(const NotificationEvent& other653) { + eventId = other653.eventId; + eventTime = other653.eventTime; + eventType = other653.eventType; + dbName = other653.dbName; + tableName = other653.tableName; + message = other653.message; + __isset = other653.__isset; +} +NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other654) { + eventId = other654.eventId; + eventTime = other654.eventTime; + eventType = other654.eventType; + dbName = other654.dbName; + tableName = other654.tableName; + message = other654.message; + __isset = other654.__isset; return *this; } void NotificationEvent::printTo(std::ostream& out) const { @@ -15667,14 +15971,14 @@ uint32_t NotificationEventResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->events.clear(); - uint32_t _size639; - ::apache::thrift::protocol::TType _etype642; - xfer += iprot->readListBegin(_etype642, _size639); - this->events.resize(_size639); - uint32_t _i643; - for (_i643 = 0; _i643 < _size639; ++_i643) + uint32_t _size655; + ::apache::thrift::protocol::TType _etype658; + xfer += iprot->readListBegin(_etype658, _size655); + this->events.resize(_size655); + uint32_t _i659; + for (_i659 = 0; _i659 < _size655; ++_i659) { - xfer += this->events[_i643].read(iprot); + xfer += this->events[_i659].read(iprot); } xfer += iprot->readListEnd(); } @@ -15705,10 +16009,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 _iter644; - for (_iter644 = this->events.begin(); _iter644 != this->events.end(); ++_iter644) + std::vector ::const_iterator _iter660; + for (_iter660 = this->events.begin(); _iter660 != this->events.end(); ++_iter660) { - xfer += (*_iter644).write(oprot); + xfer += (*_iter660).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15724,11 +16028,11 @@ void swap(NotificationEventResponse &a, NotificationEventResponse &b) { swap(a.events, b.events); } -NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other645) { - events = other645.events; +NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other661) { + events = other661.events; } -NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other646) { - events = other646.events; +NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other662) { + events = other662.events; return *this; } void NotificationEventResponse::printTo(std::ostream& out) const { @@ -15810,11 +16114,11 @@ void swap(CurrentNotificationEventId &a, CurrentNotificationEventId &b) { swap(a.eventId, b.eventId); } -CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other647) { - eventId = other647.eventId; +CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other663) { + eventId = other663.eventId; } -CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other648) { - eventId = other648.eventId; +CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other664) { + eventId = other664.eventId; return *this; } void CurrentNotificationEventId::printTo(std::ostream& out) const { @@ -15859,14 +16163,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAdded.clear(); - uint32_t _size649; - ::apache::thrift::protocol::TType _etype652; - xfer += iprot->readListBegin(_etype652, _size649); - this->filesAdded.resize(_size649); - uint32_t _i653; - for (_i653 = 0; _i653 < _size649; ++_i653) + uint32_t _size665; + ::apache::thrift::protocol::TType _etype668; + xfer += iprot->readListBegin(_etype668, _size665); + this->filesAdded.resize(_size665); + uint32_t _i669; + for (_i669 = 0; _i669 < _size665; ++_i669) { - xfer += iprot->readString(this->filesAdded[_i653]); + xfer += iprot->readString(this->filesAdded[_i669]); } xfer += iprot->readListEnd(); } @@ -15897,10 +16201,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 _iter654; - for (_iter654 = this->filesAdded.begin(); _iter654 != this->filesAdded.end(); ++_iter654) + std::vector ::const_iterator _iter670; + for (_iter670 = this->filesAdded.begin(); _iter670 != this->filesAdded.end(); ++_iter670) { - xfer += oprot->writeString((*_iter654)); + xfer += oprot->writeString((*_iter670)); } xfer += oprot->writeListEnd(); } @@ -15916,11 +16220,11 @@ void swap(InsertEventRequestData &a, InsertEventRequestData &b) { swap(a.filesAdded, b.filesAdded); } -InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other655) { - filesAdded = other655.filesAdded; +InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other671) { + filesAdded = other671.filesAdded; } -InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other656) { - filesAdded = other656.filesAdded; +InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other672) { + filesAdded = other672.filesAdded; return *this; } void InsertEventRequestData::printTo(std::ostream& out) const { @@ -16000,13 +16304,13 @@ void swap(FireEventRequestData &a, FireEventRequestData &b) { swap(a.__isset, b.__isset); } -FireEventRequestData::FireEventRequestData(const FireEventRequestData& other657) { - insertData = other657.insertData; - __isset = other657.__isset; +FireEventRequestData::FireEventRequestData(const FireEventRequestData& other673) { + insertData = other673.insertData; + __isset = other673.__isset; } -FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other658) { - insertData = other658.insertData; - __isset = other658.__isset; +FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other674) { + insertData = other674.insertData; + __isset = other674.__isset; return *this; } void FireEventRequestData::printTo(std::ostream& out) const { @@ -16103,14 +16407,14 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionVals.clear(); - uint32_t _size659; - ::apache::thrift::protocol::TType _etype662; - xfer += iprot->readListBegin(_etype662, _size659); - this->partitionVals.resize(_size659); - uint32_t _i663; - for (_i663 = 0; _i663 < _size659; ++_i663) + uint32_t _size675; + ::apache::thrift::protocol::TType _etype678; + xfer += iprot->readListBegin(_etype678, _size675); + this->partitionVals.resize(_size675); + uint32_t _i679; + for (_i679 = 0; _i679 < _size675; ++_i679) { - xfer += iprot->readString(this->partitionVals[_i663]); + xfer += iprot->readString(this->partitionVals[_i679]); } xfer += iprot->readListEnd(); } @@ -16162,10 +16466,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 _iter664; - for (_iter664 = this->partitionVals.begin(); _iter664 != this->partitionVals.end(); ++_iter664) + std::vector ::const_iterator _iter680; + for (_iter680 = this->partitionVals.begin(); _iter680 != this->partitionVals.end(); ++_iter680) { - xfer += oprot->writeString((*_iter664)); + xfer += oprot->writeString((*_iter680)); } xfer += oprot->writeListEnd(); } @@ -16186,21 +16490,21 @@ void swap(FireEventRequest &a, FireEventRequest &b) { swap(a.__isset, b.__isset); } -FireEventRequest::FireEventRequest(const FireEventRequest& other665) { - successful = other665.successful; - data = other665.data; - dbName = other665.dbName; - tableName = other665.tableName; - partitionVals = other665.partitionVals; - __isset = other665.__isset; -} -FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other666) { - successful = other666.successful; - data = other666.data; - dbName = other666.dbName; - tableName = other666.tableName; - partitionVals = other666.partitionVals; - __isset = other666.__isset; +FireEventRequest::FireEventRequest(const FireEventRequest& other681) { + successful = other681.successful; + data = other681.data; + dbName = other681.dbName; + tableName = other681.tableName; + partitionVals = other681.partitionVals; + __isset = other681.__isset; +} +FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other682) { + successful = other682.successful; + data = other682.data; + dbName = other682.dbName; + tableName = other682.tableName; + partitionVals = other682.partitionVals; + __isset = other682.__isset; return *this; } void FireEventRequest::printTo(std::ostream& out) const { @@ -16263,11 +16567,11 @@ void swap(FireEventResponse &a, FireEventResponse &b) { (void) b; } -FireEventResponse::FireEventResponse(const FireEventResponse& other667) { - (void) other667; +FireEventResponse::FireEventResponse(const FireEventResponse& other683) { + (void) other683; } -FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other668) { - (void) other668; +FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other684) { + (void) other684; return *this; } void FireEventResponse::printTo(std::ostream& out) const { @@ -16367,15 +16671,15 @@ void swap(MetadataPpdResult &a, MetadataPpdResult &b) { swap(a.__isset, b.__isset); } -MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other669) { - metadata = other669.metadata; - includeBitset = other669.includeBitset; - __isset = other669.__isset; +MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other685) { + metadata = other685.metadata; + includeBitset = other685.includeBitset; + __isset = other685.__isset; } -MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other670) { - metadata = other670.metadata; - includeBitset = other670.includeBitset; - __isset = other670.__isset; +MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other686) { + metadata = other686.metadata; + includeBitset = other686.includeBitset; + __isset = other686.__isset; return *this; } void MetadataPpdResult::printTo(std::ostream& out) const { @@ -16426,17 +16730,17 @@ uint32_t GetFileMetadataByExprResult::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size671; - ::apache::thrift::protocol::TType _ktype672; - ::apache::thrift::protocol::TType _vtype673; - xfer += iprot->readMapBegin(_ktype672, _vtype673, _size671); - uint32_t _i675; - for (_i675 = 0; _i675 < _size671; ++_i675) + uint32_t _size687; + ::apache::thrift::protocol::TType _ktype688; + ::apache::thrift::protocol::TType _vtype689; + xfer += iprot->readMapBegin(_ktype688, _vtype689, _size687); + uint32_t _i691; + for (_i691 = 0; _i691 < _size687; ++_i691) { - int64_t _key676; - xfer += iprot->readI64(_key676); - MetadataPpdResult& _val677 = this->metadata[_key676]; - xfer += _val677.read(iprot); + int64_t _key692; + xfer += iprot->readI64(_key692); + MetadataPpdResult& _val693 = this->metadata[_key692]; + xfer += _val693.read(iprot); } xfer += iprot->readMapEnd(); } @@ -16477,11 +16781,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 _iter678; - for (_iter678 = this->metadata.begin(); _iter678 != this->metadata.end(); ++_iter678) + std::map ::const_iterator _iter694; + for (_iter694 = this->metadata.begin(); _iter694 != this->metadata.end(); ++_iter694) { - xfer += oprot->writeI64(_iter678->first); - xfer += _iter678->second.write(oprot); + xfer += oprot->writeI64(_iter694->first); + xfer += _iter694->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -16502,13 +16806,13 @@ void swap(GetFileMetadataByExprResult &a, GetFileMetadataByExprResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other679) { - metadata = other679.metadata; - isSupported = other679.isSupported; +GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other695) { + metadata = other695.metadata; + isSupported = other695.isSupported; } -GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other680) { - metadata = other680.metadata; - isSupported = other680.isSupported; +GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other696) { + metadata = other696.metadata; + isSupported = other696.isSupported; return *this; } void GetFileMetadataByExprResult::printTo(std::ostream& out) const { @@ -16569,14 +16873,14 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size681; - ::apache::thrift::protocol::TType _etype684; - xfer += iprot->readListBegin(_etype684, _size681); - this->fileIds.resize(_size681); - uint32_t _i685; - for (_i685 = 0; _i685 < _size681; ++_i685) + uint32_t _size697; + ::apache::thrift::protocol::TType _etype700; + xfer += iprot->readListBegin(_etype700, _size697); + this->fileIds.resize(_size697); + uint32_t _i701; + for (_i701 = 0; _i701 < _size697; ++_i701) { - xfer += iprot->readI64(this->fileIds[_i685]); + xfer += iprot->readI64(this->fileIds[_i701]); } xfer += iprot->readListEnd(); } @@ -16603,9 +16907,9 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast686; - xfer += iprot->readI32(ecast686); - this->type = (FileMetadataExprType::type)ecast686; + int32_t ecast702; + xfer += iprot->readI32(ecast702); + this->type = (FileMetadataExprType::type)ecast702; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -16635,10 +16939,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 _iter687; - for (_iter687 = this->fileIds.begin(); _iter687 != this->fileIds.end(); ++_iter687) + std::vector ::const_iterator _iter703; + for (_iter703 = this->fileIds.begin(); _iter703 != this->fileIds.end(); ++_iter703) { - xfer += oprot->writeI64((*_iter687)); + xfer += oprot->writeI64((*_iter703)); } xfer += oprot->writeListEnd(); } @@ -16672,19 +16976,19 @@ void swap(GetFileMetadataByExprRequest &a, GetFileMetadataByExprRequest &b) { swap(a.__isset, b.__isset); } -GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other688) { - fileIds = other688.fileIds; - expr = other688.expr; - doGetFooters = other688.doGetFooters; - type = other688.type; - __isset = other688.__isset; +GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other704) { + fileIds = other704.fileIds; + expr = other704.expr; + doGetFooters = other704.doGetFooters; + type = other704.type; + __isset = other704.__isset; } -GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other689) { - fileIds = other689.fileIds; - expr = other689.expr; - doGetFooters = other689.doGetFooters; - type = other689.type; - __isset = other689.__isset; +GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other705) { + fileIds = other705.fileIds; + expr = other705.expr; + doGetFooters = other705.doGetFooters; + type = other705.type; + __isset = other705.__isset; return *this; } void GetFileMetadataByExprRequest::printTo(std::ostream& out) const { @@ -16737,17 +17041,17 @@ uint32_t GetFileMetadataResult::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size690; - ::apache::thrift::protocol::TType _ktype691; - ::apache::thrift::protocol::TType _vtype692; - xfer += iprot->readMapBegin(_ktype691, _vtype692, _size690); - uint32_t _i694; - for (_i694 = 0; _i694 < _size690; ++_i694) + uint32_t _size706; + ::apache::thrift::protocol::TType _ktype707; + ::apache::thrift::protocol::TType _vtype708; + xfer += iprot->readMapBegin(_ktype707, _vtype708, _size706); + uint32_t _i710; + for (_i710 = 0; _i710 < _size706; ++_i710) { - int64_t _key695; - xfer += iprot->readI64(_key695); - std::string& _val696 = this->metadata[_key695]; - xfer += iprot->readBinary(_val696); + int64_t _key711; + xfer += iprot->readI64(_key711); + std::string& _val712 = this->metadata[_key711]; + xfer += iprot->readBinary(_val712); } xfer += iprot->readMapEnd(); } @@ -16788,11 +17092,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 _iter697; - for (_iter697 = this->metadata.begin(); _iter697 != this->metadata.end(); ++_iter697) + std::map ::const_iterator _iter713; + for (_iter713 = this->metadata.begin(); _iter713 != this->metadata.end(); ++_iter713) { - xfer += oprot->writeI64(_iter697->first); - xfer += oprot->writeBinary(_iter697->second); + xfer += oprot->writeI64(_iter713->first); + xfer += oprot->writeBinary(_iter713->second); } xfer += oprot->writeMapEnd(); } @@ -16813,13 +17117,13 @@ void swap(GetFileMetadataResult &a, GetFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other698) { - metadata = other698.metadata; - isSupported = other698.isSupported; +GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other714) { + metadata = other714.metadata; + isSupported = other714.isSupported; } -GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other699) { - metadata = other699.metadata; - isSupported = other699.isSupported; +GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other715) { + metadata = other715.metadata; + isSupported = other715.isSupported; return *this; } void GetFileMetadataResult::printTo(std::ostream& out) const { @@ -16865,14 +17169,14 @@ uint32_t GetFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size700; - ::apache::thrift::protocol::TType _etype703; - xfer += iprot->readListBegin(_etype703, _size700); - this->fileIds.resize(_size700); - uint32_t _i704; - for (_i704 = 0; _i704 < _size700; ++_i704) + uint32_t _size716; + ::apache::thrift::protocol::TType _etype719; + xfer += iprot->readListBegin(_etype719, _size716); + this->fileIds.resize(_size716); + uint32_t _i720; + for (_i720 = 0; _i720 < _size716; ++_i720) { - xfer += iprot->readI64(this->fileIds[_i704]); + xfer += iprot->readI64(this->fileIds[_i720]); } xfer += iprot->readListEnd(); } @@ -16903,10 +17207,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 _iter705; - for (_iter705 = this->fileIds.begin(); _iter705 != this->fileIds.end(); ++_iter705) + std::vector ::const_iterator _iter721; + for (_iter721 = this->fileIds.begin(); _iter721 != this->fileIds.end(); ++_iter721) { - xfer += oprot->writeI64((*_iter705)); + xfer += oprot->writeI64((*_iter721)); } xfer += oprot->writeListEnd(); } @@ -16922,11 +17226,11 @@ void swap(GetFileMetadataRequest &a, GetFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other706) { - fileIds = other706.fileIds; +GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other722) { + fileIds = other722.fileIds; } -GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other707) { - fileIds = other707.fileIds; +GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other723) { + fileIds = other723.fileIds; return *this; } void GetFileMetadataRequest::printTo(std::ostream& out) const { @@ -16985,11 +17289,11 @@ void swap(PutFileMetadataResult &a, PutFileMetadataResult &b) { (void) b; } -PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other708) { - (void) other708; +PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other724) { + (void) other724; } -PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other709) { - (void) other709; +PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other725) { + (void) other725; return *this; } void PutFileMetadataResult::printTo(std::ostream& out) const { @@ -17043,14 +17347,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size710; - ::apache::thrift::protocol::TType _etype713; - xfer += iprot->readListBegin(_etype713, _size710); - this->fileIds.resize(_size710); - uint32_t _i714; - for (_i714 = 0; _i714 < _size710; ++_i714) + uint32_t _size726; + ::apache::thrift::protocol::TType _etype729; + xfer += iprot->readListBegin(_etype729, _size726); + this->fileIds.resize(_size726); + uint32_t _i730; + for (_i730 = 0; _i730 < _size726; ++_i730) { - xfer += iprot->readI64(this->fileIds[_i714]); + xfer += iprot->readI64(this->fileIds[_i730]); } xfer += iprot->readListEnd(); } @@ -17063,14 +17367,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->metadata.clear(); - uint32_t _size715; - ::apache::thrift::protocol::TType _etype718; - xfer += iprot->readListBegin(_etype718, _size715); - this->metadata.resize(_size715); - uint32_t _i719; - for (_i719 = 0; _i719 < _size715; ++_i719) + uint32_t _size731; + ::apache::thrift::protocol::TType _etype734; + xfer += iprot->readListBegin(_etype734, _size731); + this->metadata.resize(_size731); + uint32_t _i735; + for (_i735 = 0; _i735 < _size731; ++_i735) { - xfer += iprot->readBinary(this->metadata[_i719]); + xfer += iprot->readBinary(this->metadata[_i735]); } xfer += iprot->readListEnd(); } @@ -17081,9 +17385,9 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast720; - xfer += iprot->readI32(ecast720); - this->type = (FileMetadataExprType::type)ecast720; + int32_t ecast736; + xfer += iprot->readI32(ecast736); + this->type = (FileMetadataExprType::type)ecast736; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -17113,10 +17417,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 _iter721; - for (_iter721 = this->fileIds.begin(); _iter721 != this->fileIds.end(); ++_iter721) + std::vector ::const_iterator _iter737; + for (_iter737 = this->fileIds.begin(); _iter737 != this->fileIds.end(); ++_iter737) { - xfer += oprot->writeI64((*_iter721)); + xfer += oprot->writeI64((*_iter737)); } xfer += oprot->writeListEnd(); } @@ -17125,10 +17429,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 _iter722; - for (_iter722 = this->metadata.begin(); _iter722 != this->metadata.end(); ++_iter722) + std::vector ::const_iterator _iter738; + for (_iter738 = this->metadata.begin(); _iter738 != this->metadata.end(); ++_iter738) { - xfer += oprot->writeBinary((*_iter722)); + xfer += oprot->writeBinary((*_iter738)); } xfer += oprot->writeListEnd(); } @@ -17152,17 +17456,17 @@ void swap(PutFileMetadataRequest &a, PutFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other723) { - fileIds = other723.fileIds; - metadata = other723.metadata; - type = other723.type; - __isset = other723.__isset; -} -PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other724) { - fileIds = other724.fileIds; - metadata = other724.metadata; - type = other724.type; - __isset = other724.__isset; +PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other739) { + fileIds = other739.fileIds; + metadata = other739.metadata; + type = other739.type; + __isset = other739.__isset; +} +PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other740) { + fileIds = other740.fileIds; + metadata = other740.metadata; + type = other740.type; + __isset = other740.__isset; return *this; } void PutFileMetadataRequest::printTo(std::ostream& out) const { @@ -17223,11 +17527,11 @@ void swap(ClearFileMetadataResult &a, ClearFileMetadataResult &b) { (void) b; } -ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other725) { - (void) other725; +ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other741) { + (void) other741; } -ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other726) { - (void) other726; +ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other742) { + (void) other742; return *this; } void ClearFileMetadataResult::printTo(std::ostream& out) const { @@ -17271,14 +17575,14 @@ uint32_t ClearFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size727; - ::apache::thrift::protocol::TType _etype730; - xfer += iprot->readListBegin(_etype730, _size727); - this->fileIds.resize(_size727); - uint32_t _i731; - for (_i731 = 0; _i731 < _size727; ++_i731) + uint32_t _size743; + ::apache::thrift::protocol::TType _etype746; + xfer += iprot->readListBegin(_etype746, _size743); + this->fileIds.resize(_size743); + uint32_t _i747; + for (_i747 = 0; _i747 < _size743; ++_i747) { - xfer += iprot->readI64(this->fileIds[_i731]); + xfer += iprot->readI64(this->fileIds[_i747]); } xfer += iprot->readListEnd(); } @@ -17309,10 +17613,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 _iter732; - for (_iter732 = this->fileIds.begin(); _iter732 != this->fileIds.end(); ++_iter732) + std::vector ::const_iterator _iter748; + for (_iter748 = this->fileIds.begin(); _iter748 != this->fileIds.end(); ++_iter748) { - xfer += oprot->writeI64((*_iter732)); + xfer += oprot->writeI64((*_iter748)); } xfer += oprot->writeListEnd(); } @@ -17328,11 +17632,11 @@ void swap(ClearFileMetadataRequest &a, ClearFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other733) { - fileIds = other733.fileIds; +ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other749) { + fileIds = other749.fileIds; } -ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other734) { - fileIds = other734.fileIds; +ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other750) { + fileIds = other750.fileIds; return *this; } void ClearFileMetadataRequest::printTo(std::ostream& out) const { @@ -17414,11 +17718,11 @@ void swap(CacheFileMetadataResult &a, CacheFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other735) { - isSupported = other735.isSupported; +CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other751) { + isSupported = other751.isSupported; } -CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other736) { - isSupported = other736.isSupported; +CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other752) { + isSupported = other752.isSupported; return *this; } void CacheFileMetadataResult::printTo(std::ostream& out) const { @@ -17559,19 +17863,19 @@ void swap(CacheFileMetadataRequest &a, CacheFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other737) { - dbName = other737.dbName; - tblName = other737.tblName; - partName = other737.partName; - isAllParts = other737.isAllParts; - __isset = other737.__isset; +CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other753) { + dbName = other753.dbName; + tblName = other753.tblName; + partName = other753.partName; + isAllParts = other753.isAllParts; + __isset = other753.__isset; } -CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other738) { - dbName = other738.dbName; - tblName = other738.tblName; - partName = other738.partName; - isAllParts = other738.isAllParts; - __isset = other738.__isset; +CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other754) { + dbName = other754.dbName; + tblName = other754.tblName; + partName = other754.partName; + isAllParts = other754.isAllParts; + __isset = other754.__isset; return *this; } void CacheFileMetadataRequest::printTo(std::ostream& out) const { @@ -17619,14 +17923,14 @@ uint32_t GetAllFunctionsResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->functions.clear(); - uint32_t _size739; - ::apache::thrift::protocol::TType _etype742; - xfer += iprot->readListBegin(_etype742, _size739); - this->functions.resize(_size739); - uint32_t _i743; - for (_i743 = 0; _i743 < _size739; ++_i743) + uint32_t _size755; + ::apache::thrift::protocol::TType _etype758; + xfer += iprot->readListBegin(_etype758, _size755); + this->functions.resize(_size755); + uint32_t _i759; + for (_i759 = 0; _i759 < _size755; ++_i759) { - xfer += this->functions[_i743].read(iprot); + xfer += this->functions[_i759].read(iprot); } xfer += iprot->readListEnd(); } @@ -17656,10 +17960,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 _iter744; - for (_iter744 = this->functions.begin(); _iter744 != this->functions.end(); ++_iter744) + std::vector ::const_iterator _iter760; + for (_iter760 = this->functions.begin(); _iter760 != this->functions.end(); ++_iter760) { - xfer += (*_iter744).write(oprot); + xfer += (*_iter760).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17676,13 +17980,13 @@ void swap(GetAllFunctionsResponse &a, GetAllFunctionsResponse &b) { swap(a.__isset, b.__isset); } -GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other745) { - functions = other745.functions; - __isset = other745.__isset; +GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other761) { + functions = other761.functions; + __isset = other761.__isset; } -GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other746) { - functions = other746.functions; - __isset = other746.__isset; +GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other762) { + functions = other762.functions; + __isset = other762.__isset; return *this; } void GetAllFunctionsResponse::printTo(std::ostream& out) const { @@ -17824,19 +18128,19 @@ void swap(TableMeta &a, TableMeta &b) { swap(a.__isset, b.__isset); } -TableMeta::TableMeta(const TableMeta& other747) { - dbName = other747.dbName; - tableName = other747.tableName; - tableType = other747.tableType; - comments = other747.comments; - __isset = other747.__isset; +TableMeta::TableMeta(const TableMeta& other763) { + dbName = other763.dbName; + tableName = other763.tableName; + tableType = other763.tableType; + comments = other763.comments; + __isset = other763.__isset; } -TableMeta& TableMeta::operator=(const TableMeta& other748) { - dbName = other748.dbName; - tableName = other748.tableName; - tableType = other748.tableType; - comments = other748.comments; - __isset = other748.__isset; +TableMeta& TableMeta::operator=(const TableMeta& other764) { + dbName = other764.dbName; + tableName = other764.tableName; + tableType = other764.tableType; + comments = other764.comments; + __isset = other764.__isset; return *this; } void TableMeta::printTo(std::ostream& out) const { @@ -17919,13 +18223,13 @@ void swap(MetaException &a, MetaException &b) { swap(a.__isset, b.__isset); } -MetaException::MetaException(const MetaException& other749) : TException() { - message = other749.message; - __isset = other749.__isset; +MetaException::MetaException(const MetaException& other765) : TException() { + message = other765.message; + __isset = other765.__isset; } -MetaException& MetaException::operator=(const MetaException& other750) { - message = other750.message; - __isset = other750.__isset; +MetaException& MetaException::operator=(const MetaException& other766) { + message = other766.message; + __isset = other766.__isset; return *this; } void MetaException::printTo(std::ostream& out) const { @@ -18016,13 +18320,13 @@ void swap(UnknownTableException &a, UnknownTableException &b) { swap(a.__isset, b.__isset); } -UnknownTableException::UnknownTableException(const UnknownTableException& other751) : TException() { - message = other751.message; - __isset = other751.__isset; +UnknownTableException::UnknownTableException(const UnknownTableException& other767) : TException() { + message = other767.message; + __isset = other767.__isset; } -UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other752) { - message = other752.message; - __isset = other752.__isset; +UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other768) { + message = other768.message; + __isset = other768.__isset; return *this; } void UnknownTableException::printTo(std::ostream& out) const { @@ -18113,13 +18417,13 @@ void swap(UnknownDBException &a, UnknownDBException &b) { swap(a.__isset, b.__isset); } -UnknownDBException::UnknownDBException(const UnknownDBException& other753) : TException() { - message = other753.message; - __isset = other753.__isset; +UnknownDBException::UnknownDBException(const UnknownDBException& other769) : TException() { + message = other769.message; + __isset = other769.__isset; } -UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other754) { - message = other754.message; - __isset = other754.__isset; +UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other770) { + message = other770.message; + __isset = other770.__isset; return *this; } void UnknownDBException::printTo(std::ostream& out) const { @@ -18210,13 +18514,13 @@ void swap(AlreadyExistsException &a, AlreadyExistsException &b) { swap(a.__isset, b.__isset); } -AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other755) : TException() { - message = other755.message; - __isset = other755.__isset; +AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other771) : TException() { + message = other771.message; + __isset = other771.__isset; } -AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other756) { - message = other756.message; - __isset = other756.__isset; +AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other772) { + message = other772.message; + __isset = other772.__isset; return *this; } void AlreadyExistsException::printTo(std::ostream& out) const { @@ -18307,13 +18611,13 @@ void swap(InvalidPartitionException &a, InvalidPartitionException &b) { swap(a.__isset, b.__isset); } -InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other757) : TException() { - message = other757.message; - __isset = other757.__isset; +InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other773) : TException() { + message = other773.message; + __isset = other773.__isset; } -InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other758) { - message = other758.message; - __isset = other758.__isset; +InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other774) { + message = other774.message; + __isset = other774.__isset; return *this; } void InvalidPartitionException::printTo(std::ostream& out) const { @@ -18404,13 +18708,13 @@ void swap(UnknownPartitionException &a, UnknownPartitionException &b) { swap(a.__isset, b.__isset); } -UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other759) : TException() { - message = other759.message; - __isset = other759.__isset; +UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other775) : TException() { + message = other775.message; + __isset = other775.__isset; } -UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other760) { - message = other760.message; - __isset = other760.__isset; +UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other776) { + message = other776.message; + __isset = other776.__isset; return *this; } void UnknownPartitionException::printTo(std::ostream& out) const { @@ -18501,13 +18805,13 @@ void swap(InvalidObjectException &a, InvalidObjectException &b) { swap(a.__isset, b.__isset); } -InvalidObjectException::InvalidObjectException(const InvalidObjectException& other761) : TException() { - message = other761.message; - __isset = other761.__isset; +InvalidObjectException::InvalidObjectException(const InvalidObjectException& other777) : TException() { + message = other777.message; + __isset = other777.__isset; } -InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other762) { - message = other762.message; - __isset = other762.__isset; +InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other778) { + message = other778.message; + __isset = other778.__isset; return *this; } void InvalidObjectException::printTo(std::ostream& out) const { @@ -18598,13 +18902,13 @@ void swap(NoSuchObjectException &a, NoSuchObjectException &b) { swap(a.__isset, b.__isset); } -NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other763) : TException() { - message = other763.message; - __isset = other763.__isset; +NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other779) : TException() { + message = other779.message; + __isset = other779.__isset; } -NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other764) { - message = other764.message; - __isset = other764.__isset; +NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other780) { + message = other780.message; + __isset = other780.__isset; return *this; } void NoSuchObjectException::printTo(std::ostream& out) const { @@ -18695,13 +18999,13 @@ void swap(IndexAlreadyExistsException &a, IndexAlreadyExistsException &b) { swap(a.__isset, b.__isset); } -IndexAlreadyExistsException::IndexAlreadyExistsException(const IndexAlreadyExistsException& other765) : TException() { - message = other765.message; - __isset = other765.__isset; +IndexAlreadyExistsException::IndexAlreadyExistsException(const IndexAlreadyExistsException& other781) : TException() { + message = other781.message; + __isset = other781.__isset; } -IndexAlreadyExistsException& IndexAlreadyExistsException::operator=(const IndexAlreadyExistsException& other766) { - message = other766.message; - __isset = other766.__isset; +IndexAlreadyExistsException& IndexAlreadyExistsException::operator=(const IndexAlreadyExistsException& other782) { + message = other782.message; + __isset = other782.__isset; return *this; } void IndexAlreadyExistsException::printTo(std::ostream& out) const { @@ -18792,13 +19096,13 @@ void swap(InvalidOperationException &a, InvalidOperationException &b) { swap(a.__isset, b.__isset); } -InvalidOperationException::InvalidOperationException(const InvalidOperationException& other767) : TException() { - message = other767.message; - __isset = other767.__isset; +InvalidOperationException::InvalidOperationException(const InvalidOperationException& other783) : TException() { + message = other783.message; + __isset = other783.__isset; } -InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other768) { - message = other768.message; - __isset = other768.__isset; +InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other784) { + message = other784.message; + __isset = other784.__isset; return *this; } void InvalidOperationException::printTo(std::ostream& out) const { @@ -18889,13 +19193,13 @@ void swap(ConfigValSecurityException &a, ConfigValSecurityException &b) { swap(a.__isset, b.__isset); } -ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other769) : TException() { - message = other769.message; - __isset = other769.__isset; +ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other785) : TException() { + message = other785.message; + __isset = other785.__isset; } -ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other770) { - message = other770.message; - __isset = other770.__isset; +ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other786) { + message = other786.message; + __isset = other786.__isset; return *this; } void ConfigValSecurityException::printTo(std::ostream& out) const { @@ -18986,13 +19290,13 @@ void swap(InvalidInputException &a, InvalidInputException &b) { swap(a.__isset, b.__isset); } -InvalidInputException::InvalidInputException(const InvalidInputException& other771) : TException() { - message = other771.message; - __isset = other771.__isset; +InvalidInputException::InvalidInputException(const InvalidInputException& other787) : TException() { + message = other787.message; + __isset = other787.__isset; } -InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other772) { - message = other772.message; - __isset = other772.__isset; +InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other788) { + message = other788.message; + __isset = other788.__isset; return *this; } void InvalidInputException::printTo(std::ostream& out) const { @@ -19083,13 +19387,13 @@ void swap(NoSuchTxnException &a, NoSuchTxnException &b) { swap(a.__isset, b.__isset); } -NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other773) : TException() { - message = other773.message; - __isset = other773.__isset; +NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other789) : TException() { + message = other789.message; + __isset = other789.__isset; } -NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other774) { - message = other774.message; - __isset = other774.__isset; +NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other790) { + message = other790.message; + __isset = other790.__isset; return *this; } void NoSuchTxnException::printTo(std::ostream& out) const { @@ -19180,13 +19484,13 @@ void swap(TxnAbortedException &a, TxnAbortedException &b) { swap(a.__isset, b.__isset); } -TxnAbortedException::TxnAbortedException(const TxnAbortedException& other775) : TException() { - message = other775.message; - __isset = other775.__isset; +TxnAbortedException::TxnAbortedException(const TxnAbortedException& other791) : TException() { + message = other791.message; + __isset = other791.__isset; } -TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other776) { - message = other776.message; - __isset = other776.__isset; +TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other792) { + message = other792.message; + __isset = other792.__isset; return *this; } void TxnAbortedException::printTo(std::ostream& out) const { @@ -19277,13 +19581,13 @@ void swap(TxnOpenException &a, TxnOpenException &b) { swap(a.__isset, b.__isset); } -TxnOpenException::TxnOpenException(const TxnOpenException& other777) : TException() { - message = other777.message; - __isset = other777.__isset; +TxnOpenException::TxnOpenException(const TxnOpenException& other793) : TException() { + message = other793.message; + __isset = other793.__isset; } -TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other778) { - message = other778.message; - __isset = other778.__isset; +TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other794) { + message = other794.message; + __isset = other794.__isset; return *this; } void TxnOpenException::printTo(std::ostream& out) const { @@ -19374,13 +19678,13 @@ void swap(NoSuchLockException &a, NoSuchLockException &b) { swap(a.__isset, b.__isset); } -NoSuchLockException::NoSuchLockException(const NoSuchLockException& other779) : TException() { - message = other779.message; - __isset = other779.__isset; +NoSuchLockException::NoSuchLockException(const NoSuchLockException& other795) : TException() { + message = other795.message; + __isset = other795.__isset; } -NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other780) { - message = other780.message; - __isset = other780.__isset; +NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other796) { + message = other796.message; + __isset = other796.__isset; return *this; } void NoSuchLockException::printTo(std::ostream& out) const { diff --git a/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h b/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h index ec81798..ab45ac5 100644 --- a/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h +++ b/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h @@ -282,6 +282,10 @@ class TableStatsRequest; class PartitionsStatsRequest; +class AggregatePartitionsStatsRequest; + +class AggregatePartitionsStatsResponse; + class AddPartitionsResult; class AddPartitionsRequest; @@ -4248,6 +4252,106 @@ inline std::ostream& operator<<(std::ostream& out, const PartitionsStatsRequest& return out; } + +class AggregatePartitionsStatsRequest { + public: + + AggregatePartitionsStatsRequest(const AggregatePartitionsStatsRequest&); + AggregatePartitionsStatsRequest& operator=(const AggregatePartitionsStatsRequest&); + AggregatePartitionsStatsRequest() : dbName(), tblName(), expr() { + } + + virtual ~AggregatePartitionsStatsRequest() throw(); + std::string dbName; + std::string tblName; + std::vector colNames; + std::string expr; + + void __set_dbName(const std::string& val); + + void __set_tblName(const std::string& val); + + void __set_colNames(const std::vector & val); + + void __set_expr(const std::string& val); + + bool operator == (const AggregatePartitionsStatsRequest & rhs) const + { + if (!(dbName == rhs.dbName)) + return false; + if (!(tblName == rhs.tblName)) + return false; + if (!(colNames == rhs.colNames)) + return false; + if (!(expr == rhs.expr)) + return false; + return true; + } + bool operator != (const AggregatePartitionsStatsRequest &rhs) const { + return !(*this == rhs); + } + + bool operator < (const AggregatePartitionsStatsRequest & ) 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(AggregatePartitionsStatsRequest &a, AggregatePartitionsStatsRequest &b); + +inline std::ostream& operator<<(std::ostream& out, const AggregatePartitionsStatsRequest& obj) +{ + obj.printTo(out); + return out; +} + + +class AggregatePartitionsStatsResponse { + public: + + AggregatePartitionsStatsResponse(const AggregatePartitionsStatsResponse&); + AggregatePartitionsStatsResponse& operator=(const AggregatePartitionsStatsResponse&); + AggregatePartitionsStatsResponse() { + } + + virtual ~AggregatePartitionsStatsResponse() throw(); + std::vector partitions; + AggrStats stats; + + void __set_partitions(const std::vector & val); + + void __set_stats(const AggrStats& val); + + bool operator == (const AggregatePartitionsStatsResponse & rhs) const + { + if (!(partitions == rhs.partitions)) + return false; + if (!(stats == rhs.stats)) + return false; + return true; + } + bool operator != (const AggregatePartitionsStatsResponse &rhs) const { + return !(*this == rhs); + } + + bool operator < (const AggregatePartitionsStatsResponse & ) 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(AggregatePartitionsStatsResponse &a, AggregatePartitionsStatsResponse &b); + +inline std::ostream& operator<<(std::ostream& out, const AggregatePartitionsStatsResponse& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _AddPartitionsResult__isset { _AddPartitionsResult__isset() : partitions(false) {} bool partitions :1; diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java index d89eb97..ce05aa2 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AbortTxnsRequest st case 1: // TXN_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list484 = iprot.readListBegin(); - struct.txn_ids = new ArrayList(_list484.size); - long _elem485; - for (int _i486 = 0; _i486 < _list484.size; ++_i486) + org.apache.thrift.protocol.TList _list500 = iprot.readListBegin(); + struct.txn_ids = new ArrayList(_list500.size); + long _elem501; + for (int _i502 = 0; _i502 < _list500.size; ++_i502) { - _elem485 = iprot.readI64(); - struct.txn_ids.add(_elem485); + _elem501 = iprot.readI64(); + struct.txn_ids.add(_elem501); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AbortTxnsRequest s 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 _iter487 : struct.txn_ids) + for (long _iter503 : struct.txn_ids) { - oprot.writeI64(_iter487); + oprot.writeI64(_iter503); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AbortTxnsRequest st TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.txn_ids.size()); - for (long _iter488 : struct.txn_ids) + for (long _iter504 : struct.txn_ids) { - oprot.writeI64(_iter488); + oprot.writeI64(_iter504); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AbortTxnsRequest st 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 _list489 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txn_ids = new ArrayList(_list489.size); - long _elem490; - for (int _i491 = 0; _i491 < _list489.size; ++_i491) + org.apache.thrift.protocol.TList _list505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txn_ids = new ArrayList(_list505.size); + long _elem506; + for (int _i507 = 0; _i507 < _list505.size; ++_i507) { - _elem490 = iprot.readI64(); - struct.txn_ids.add(_elem490); + _elem506 = iprot.readI64(); + struct.txn_ids.add(_elem506); } } struct.setTxn_idsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java index ba06a56..3cb4114 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java @@ -727,13 +727,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 _list542 = iprot.readListBegin(); - struct.partitionnames = new ArrayList(_list542.size); - String _elem543; - for (int _i544 = 0; _i544 < _list542.size; ++_i544) + org.apache.thrift.protocol.TList _list558 = iprot.readListBegin(); + struct.partitionnames = new ArrayList(_list558.size); + String _elem559; + for (int _i560 = 0; _i560 < _list558.size; ++_i560) { - _elem543 = iprot.readString(); - struct.partitionnames.add(_elem543); + _elem559 = iprot.readString(); + struct.partitionnames.add(_elem559); } iprot.readListEnd(); } @@ -780,9 +780,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 _iter545 : struct.partitionnames) + for (String _iter561 : struct.partitionnames) { - oprot.writeString(_iter545); + oprot.writeString(_iter561); } oprot.writeListEnd(); } @@ -817,9 +817,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartition oprot.writeString(struct.tablename); { oprot.writeI32(struct.partitionnames.size()); - for (String _iter546 : struct.partitionnames) + for (String _iter562 : struct.partitionnames) { - oprot.writeString(_iter546); + oprot.writeString(_iter562); } } BitSet optionals = new BitSet(); @@ -842,13 +842,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartitions struct.tablename = iprot.readString(); struct.setTablenameIsSet(true); { - org.apache.thrift.protocol.TList _list547 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionnames = new ArrayList(_list547.size); - String _elem548; - for (int _i549 = 0; _i549 < _list547.size; ++_i549) + org.apache.thrift.protocol.TList _list563 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionnames = new ArrayList(_list563.size); + String _elem564; + for (int _i565 = 0; _i565 < _list563.size; ++_i565) { - _elem548 = iprot.readString(); - struct.partitionnames.add(_elem548); + _elem564 = iprot.readString(); + struct.partitionnames.add(_elem564); } } struct.setPartitionnamesIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java index da23f72..28921ab 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java @@ -704,14 +704,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddPartitionsReques case 3: // PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list420 = iprot.readListBegin(); - struct.parts = new ArrayList(_list420.size); - Partition _elem421; - for (int _i422 = 0; _i422 < _list420.size; ++_i422) + org.apache.thrift.protocol.TList _list436 = iprot.readListBegin(); + struct.parts = new ArrayList(_list436.size); + Partition _elem437; + for (int _i438 = 0; _i438 < _list436.size; ++_i438) { - _elem421 = new Partition(); - _elem421.read(iprot); - struct.parts.add(_elem421); + _elem437 = new Partition(); + _elem437.read(iprot); + struct.parts.add(_elem437); } iprot.readListEnd(); } @@ -763,9 +763,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddPartitionsReque oprot.writeFieldBegin(PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.parts.size())); - for (Partition _iter423 : struct.parts) + for (Partition _iter439 : struct.parts) { - _iter423.write(oprot); + _iter439.write(oprot); } oprot.writeListEnd(); } @@ -800,9 +800,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddPartitionsReques oprot.writeString(struct.tblName); { oprot.writeI32(struct.parts.size()); - for (Partition _iter424 : struct.parts) + for (Partition _iter440 : struct.parts) { - _iter424.write(oprot); + _iter440.write(oprot); } } oprot.writeBool(struct.ifNotExists); @@ -824,14 +824,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddPartitionsRequest struct.tblName = iprot.readString(); struct.setTblNameIsSet(true); { - org.apache.thrift.protocol.TList _list425 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.parts = new ArrayList(_list425.size); - Partition _elem426; - for (int _i427 = 0; _i427 < _list425.size; ++_i427) + org.apache.thrift.protocol.TList _list441 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.parts = new ArrayList(_list441.size); + Partition _elem442; + for (int _i443 = 0; _i443 < _list441.size; ++_i443) { - _elem426 = new Partition(); - _elem426.read(iprot); - struct.parts.add(_elem426); + _elem442 = new Partition(); + _elem442.read(iprot); + struct.parts.add(_elem442); } } struct.setPartsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java index bfd483e..af2b1bb 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java @@ -346,14 +346,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddPartitionsResult case 1: // PARTITIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list412 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list412.size); - Partition _elem413; - for (int _i414 = 0; _i414 < _list412.size; ++_i414) + org.apache.thrift.protocol.TList _list428 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list428.size); + Partition _elem429; + for (int _i430 = 0; _i430 < _list428.size; ++_i430) { - _elem413 = new Partition(); - _elem413.read(iprot); - struct.partitions.add(_elem413); + _elem429 = new Partition(); + _elem429.read(iprot); + struct.partitions.add(_elem429); } iprot.readListEnd(); } @@ -380,9 +380,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddPartitionsResul oprot.writeFieldBegin(PARTITIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size())); - for (Partition _iter415 : struct.partitions) + for (Partition _iter431 : struct.partitions) { - _iter415.write(oprot); + _iter431.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddPartitionsResult if (struct.isSetPartitions()) { { oprot.writeI32(struct.partitions.size()); - for (Partition _iter416 : struct.partitions) + for (Partition _iter432 : struct.partitions) { - _iter416.write(oprot); + _iter432.write(oprot); } } } @@ -428,14 +428,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddPartitionsResult BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list417 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitions = new ArrayList(_list417.size); - Partition _elem418; - for (int _i419 = 0; _i419 < _list417.size; ++_i419) + org.apache.thrift.protocol.TList _list433 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitions = new ArrayList(_list433.size); + Partition _elem434; + for (int _i435 = 0; _i435 < _list433.size; ++_i435) { - _elem418 = new Partition(); - _elem418.read(iprot); - struct.partitions.add(_elem418); + _elem434 = new Partition(); + _elem434.read(iprot); + struct.partitions.add(_elem434); } } struct.setPartitionsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggregatePartitionsStatsRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggregatePartitionsStatsRequest.java new file mode 100644 index 0000000..6899b05 --- /dev/null +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggregatePartitionsStatsRequest.java @@ -0,0 +1,750 @@ +/** + * 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 AggregatePartitionsStatsRequest 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("AggregatePartitionsStatsRequest"); + + private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbName", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tblName", org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.thrift.protocol.TField COL_NAMES_FIELD_DESC = new org.apache.thrift.protocol.TField("colNames", org.apache.thrift.protocol.TType.LIST, (short)3); + private static final org.apache.thrift.protocol.TField EXPR_FIELD_DESC = new org.apache.thrift.protocol.TField("expr", org.apache.thrift.protocol.TType.STRING, (short)4); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new AggregatePartitionsStatsRequestStandardSchemeFactory()); + schemes.put(TupleScheme.class, new AggregatePartitionsStatsRequestTupleSchemeFactory()); + } + + private String dbName; // required + private String tblName; // required + private List colNames; // required + private ByteBuffer expr; // 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 { + DB_NAME((short)1, "dbName"), + TBL_NAME((short)2, "tblName"), + COL_NAMES((short)3, "colNames"), + EXPR((short)4, "expr"); + + 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: // DB_NAME + return DB_NAME; + case 2: // TBL_NAME + return TBL_NAME; + case 3: // COL_NAMES + return COL_NAMES; + case 4: // EXPR + return EXPR; + 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.DB_NAME, new org.apache.thrift.meta_data.FieldMetaData("dbName", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("tblName", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.COL_NAMES, new org.apache.thrift.meta_data.FieldMetaData("colNames", 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.STRING)))); + tmpMap.put(_Fields.EXPR, new org.apache.thrift.meta_data.FieldMetaData("expr", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(AggregatePartitionsStatsRequest.class, metaDataMap); + } + + public AggregatePartitionsStatsRequest() { + } + + public AggregatePartitionsStatsRequest( + String dbName, + String tblName, + List colNames, + ByteBuffer expr) + { + this(); + this.dbName = dbName; + this.tblName = tblName; + this.colNames = colNames; + this.expr = org.apache.thrift.TBaseHelper.copyBinary(expr); + } + + /** + * Performs a deep copy on other. + */ + public AggregatePartitionsStatsRequest(AggregatePartitionsStatsRequest other) { + if (other.isSetDbName()) { + this.dbName = other.dbName; + } + if (other.isSetTblName()) { + this.tblName = other.tblName; + } + if (other.isSetColNames()) { + List __this__colNames = new ArrayList(other.colNames); + this.colNames = __this__colNames; + } + if (other.isSetExpr()) { + this.expr = org.apache.thrift.TBaseHelper.copyBinary(other.expr); + } + } + + public AggregatePartitionsStatsRequest deepCopy() { + return new AggregatePartitionsStatsRequest(this); + } + + @Override + public void clear() { + this.dbName = null; + this.tblName = null; + this.colNames = null; + this.expr = null; + } + + public String getDbName() { + return this.dbName; + } + + public void setDbName(String dbName) { + this.dbName = dbName; + } + + public void unsetDbName() { + this.dbName = null; + } + + /** Returns true if field dbName is set (has been assigned a value) and false otherwise */ + public boolean isSetDbName() { + return this.dbName != null; + } + + public void setDbNameIsSet(boolean value) { + if (!value) { + this.dbName = null; + } + } + + public String getTblName() { + return this.tblName; + } + + public void setTblName(String tblName) { + this.tblName = tblName; + } + + public void unsetTblName() { + this.tblName = null; + } + + /** Returns true if field tblName is set (has been assigned a value) and false otherwise */ + public boolean isSetTblName() { + return this.tblName != null; + } + + public void setTblNameIsSet(boolean value) { + if (!value) { + this.tblName = null; + } + } + + public int getColNamesSize() { + return (this.colNames == null) ? 0 : this.colNames.size(); + } + + public java.util.Iterator getColNamesIterator() { + return (this.colNames == null) ? null : this.colNames.iterator(); + } + + public void addToColNames(String elem) { + if (this.colNames == null) { + this.colNames = new ArrayList(); + } + this.colNames.add(elem); + } + + public List getColNames() { + return this.colNames; + } + + public void setColNames(List colNames) { + this.colNames = colNames; + } + + public void unsetColNames() { + this.colNames = null; + } + + /** Returns true if field colNames is set (has been assigned a value) and false otherwise */ + public boolean isSetColNames() { + return this.colNames != null; + } + + public void setColNamesIsSet(boolean value) { + if (!value) { + this.colNames = null; + } + } + + public byte[] getExpr() { + setExpr(org.apache.thrift.TBaseHelper.rightSize(expr)); + return expr == null ? null : expr.array(); + } + + public ByteBuffer bufferForExpr() { + return org.apache.thrift.TBaseHelper.copyBinary(expr); + } + + public void setExpr(byte[] expr) { + this.expr = expr == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(expr, expr.length)); + } + + public void setExpr(ByteBuffer expr) { + this.expr = org.apache.thrift.TBaseHelper.copyBinary(expr); + } + + public void unsetExpr() { + this.expr = null; + } + + /** Returns true if field expr is set (has been assigned a value) and false otherwise */ + public boolean isSetExpr() { + return this.expr != null; + } + + public void setExprIsSet(boolean value) { + if (!value) { + this.expr = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case DB_NAME: + if (value == null) { + unsetDbName(); + } else { + setDbName((String)value); + } + break; + + case TBL_NAME: + if (value == null) { + unsetTblName(); + } else { + setTblName((String)value); + } + break; + + case COL_NAMES: + if (value == null) { + unsetColNames(); + } else { + setColNames((List)value); + } + break; + + case EXPR: + if (value == null) { + unsetExpr(); + } else { + setExpr((ByteBuffer)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case DB_NAME: + return getDbName(); + + case TBL_NAME: + return getTblName(); + + case COL_NAMES: + return getColNames(); + + case EXPR: + return getExpr(); + + } + 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 DB_NAME: + return isSetDbName(); + case TBL_NAME: + return isSetTblName(); + case COL_NAMES: + return isSetColNames(); + case EXPR: + return isSetExpr(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof AggregatePartitionsStatsRequest) + return this.equals((AggregatePartitionsStatsRequest)that); + return false; + } + + public boolean equals(AggregatePartitionsStatsRequest that) { + if (that == null) + return false; + + boolean this_present_dbName = true && this.isSetDbName(); + boolean that_present_dbName = true && that.isSetDbName(); + if (this_present_dbName || that_present_dbName) { + if (!(this_present_dbName && that_present_dbName)) + return false; + if (!this.dbName.equals(that.dbName)) + return false; + } + + boolean this_present_tblName = true && this.isSetTblName(); + boolean that_present_tblName = true && that.isSetTblName(); + if (this_present_tblName || that_present_tblName) { + if (!(this_present_tblName && that_present_tblName)) + return false; + if (!this.tblName.equals(that.tblName)) + return false; + } + + boolean this_present_colNames = true && this.isSetColNames(); + boolean that_present_colNames = true && that.isSetColNames(); + if (this_present_colNames || that_present_colNames) { + if (!(this_present_colNames && that_present_colNames)) + return false; + if (!this.colNames.equals(that.colNames)) + return false; + } + + boolean this_present_expr = true && this.isSetExpr(); + boolean that_present_expr = true && that.isSetExpr(); + if (this_present_expr || that_present_expr) { + if (!(this_present_expr && that_present_expr)) + return false; + if (!this.expr.equals(that.expr)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_dbName = true && (isSetDbName()); + list.add(present_dbName); + if (present_dbName) + list.add(dbName); + + boolean present_tblName = true && (isSetTblName()); + list.add(present_tblName); + if (present_tblName) + list.add(tblName); + + boolean present_colNames = true && (isSetColNames()); + list.add(present_colNames); + if (present_colNames) + list.add(colNames); + + boolean present_expr = true && (isSetExpr()); + list.add(present_expr); + if (present_expr) + list.add(expr); + + return list.hashCode(); + } + + @Override + public int compareTo(AggregatePartitionsStatsRequest other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetDbName()).compareTo(other.isSetDbName()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetDbName()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, other.dbName); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTblName()).compareTo(other.isSetTblName()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTblName()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tblName, other.tblName); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetColNames()).compareTo(other.isSetColNames()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetColNames()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colNames, other.colNames); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetExpr()).compareTo(other.isSetExpr()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetExpr()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expr, other.expr); + 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("AggregatePartitionsStatsRequest("); + boolean first = true; + + sb.append("dbName:"); + if (this.dbName == null) { + sb.append("null"); + } else { + sb.append(this.dbName); + } + first = false; + if (!first) sb.append(", "); + sb.append("tblName:"); + if (this.tblName == null) { + sb.append("null"); + } else { + sb.append(this.tblName); + } + first = false; + if (!first) sb.append(", "); + sb.append("colNames:"); + if (this.colNames == null) { + sb.append("null"); + } else { + sb.append(this.colNames); + } + first = false; + if (!first) sb.append(", "); + sb.append("expr:"); + if (this.expr == null) { + sb.append("null"); + } else { + org.apache.thrift.TBaseHelper.toString(this.expr, sb); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + if (!isSetDbName()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'dbName' is unset! Struct:" + toString()); + } + + if (!isSetTblName()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'tblName' is unset! Struct:" + toString()); + } + + if (!isSetColNames()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'colNames' is unset! Struct:" + toString()); + } + + if (!isSetExpr()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'expr' 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 AggregatePartitionsStatsRequestStandardSchemeFactory implements SchemeFactory { + public AggregatePartitionsStatsRequestStandardScheme getScheme() { + return new AggregatePartitionsStatsRequestStandardScheme(); + } + } + + private static class AggregatePartitionsStatsRequestStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, AggregatePartitionsStatsRequest 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: // DB_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.dbName = iprot.readString(); + struct.setDbNameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // TBL_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.tblName = iprot.readString(); + struct.setTblNameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // COL_NAMES + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list412 = iprot.readListBegin(); + struct.colNames = new ArrayList(_list412.size); + String _elem413; + for (int _i414 = 0; _i414 < _list412.size; ++_i414) + { + _elem413 = iprot.readString(); + struct.colNames.add(_elem413); + } + iprot.readListEnd(); + } + struct.setColNamesIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // EXPR + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.expr = iprot.readBinary(); + struct.setExprIsSet(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, AggregatePartitionsStatsRequest struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.dbName != null) { + oprot.writeFieldBegin(DB_NAME_FIELD_DESC); + oprot.writeString(struct.dbName); + oprot.writeFieldEnd(); + } + if (struct.tblName != null) { + oprot.writeFieldBegin(TBL_NAME_FIELD_DESC); + oprot.writeString(struct.tblName); + oprot.writeFieldEnd(); + } + if (struct.colNames != null) { + oprot.writeFieldBegin(COL_NAMES_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.colNames.size())); + for (String _iter415 : struct.colNames) + { + oprot.writeString(_iter415); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if (struct.expr != null) { + oprot.writeFieldBegin(EXPR_FIELD_DESC); + oprot.writeBinary(struct.expr); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class AggregatePartitionsStatsRequestTupleSchemeFactory implements SchemeFactory { + public AggregatePartitionsStatsRequestTupleScheme getScheme() { + return new AggregatePartitionsStatsRequestTupleScheme(); + } + } + + private static class AggregatePartitionsStatsRequestTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, AggregatePartitionsStatsRequest struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + oprot.writeString(struct.dbName); + oprot.writeString(struct.tblName); + { + oprot.writeI32(struct.colNames.size()); + for (String _iter416 : struct.colNames) + { + oprot.writeString(_iter416); + } + } + oprot.writeBinary(struct.expr); + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, AggregatePartitionsStatsRequest struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + struct.dbName = iprot.readString(); + struct.setDbNameIsSet(true); + struct.tblName = iprot.readString(); + struct.setTblNameIsSet(true); + { + org.apache.thrift.protocol.TList _list417 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.colNames = new ArrayList(_list417.size); + String _elem418; + for (int _i419 = 0; _i419 < _list417.size; ++_i419) + { + _elem418 = iprot.readString(); + struct.colNames.add(_elem418); + } + } + struct.setColNamesIsSet(true); + struct.expr = iprot.readBinary(); + struct.setExprIsSet(true); + } + } + +} + diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggregatePartitionsStatsResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggregatePartitionsStatsResponse.java new file mode 100644 index 0000000..1c54bd9 --- /dev/null +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggregatePartitionsStatsResponse.java @@ -0,0 +1,549 @@ +/** + * 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 AggregatePartitionsStatsResponse 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("AggregatePartitionsStatsResponse"); + + private static final org.apache.thrift.protocol.TField PARTITIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("partitions", org.apache.thrift.protocol.TType.LIST, (short)1); + private static final org.apache.thrift.protocol.TField STATS_FIELD_DESC = new org.apache.thrift.protocol.TField("stats", org.apache.thrift.protocol.TType.STRUCT, (short)2); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new AggregatePartitionsStatsResponseStandardSchemeFactory()); + schemes.put(TupleScheme.class, new AggregatePartitionsStatsResponseTupleSchemeFactory()); + } + + private List partitions; // required + private AggrStats stats; // 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 { + PARTITIONS((short)1, "partitions"), + STATS((short)2, "stats"); + + 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: // PARTITIONS + return PARTITIONS; + case 2: // STATS + return STATS; + 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.PARTITIONS, new org.apache.thrift.meta_data.FieldMetaData("partitions", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Partition.class)))); + tmpMap.put(_Fields.STATS, new org.apache.thrift.meta_data.FieldMetaData("stats", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AggrStats.class))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(AggregatePartitionsStatsResponse.class, metaDataMap); + } + + public AggregatePartitionsStatsResponse() { + } + + public AggregatePartitionsStatsResponse( + List partitions, + AggrStats stats) + { + this(); + this.partitions = partitions; + this.stats = stats; + } + + /** + * Performs a deep copy on other. + */ + public AggregatePartitionsStatsResponse(AggregatePartitionsStatsResponse other) { + if (other.isSetPartitions()) { + List __this__partitions = new ArrayList(other.partitions.size()); + for (Partition other_element : other.partitions) { + __this__partitions.add(new Partition(other_element)); + } + this.partitions = __this__partitions; + } + if (other.isSetStats()) { + this.stats = new AggrStats(other.stats); + } + } + + public AggregatePartitionsStatsResponse deepCopy() { + return new AggregatePartitionsStatsResponse(this); + } + + @Override + public void clear() { + this.partitions = null; + this.stats = null; + } + + public int getPartitionsSize() { + return (this.partitions == null) ? 0 : this.partitions.size(); + } + + public java.util.Iterator getPartitionsIterator() { + return (this.partitions == null) ? null : this.partitions.iterator(); + } + + public void addToPartitions(Partition elem) { + if (this.partitions == null) { + this.partitions = new ArrayList(); + } + this.partitions.add(elem); + } + + public List getPartitions() { + return this.partitions; + } + + public void setPartitions(List partitions) { + this.partitions = partitions; + } + + public void unsetPartitions() { + this.partitions = null; + } + + /** Returns true if field partitions is set (has been assigned a value) and false otherwise */ + public boolean isSetPartitions() { + return this.partitions != null; + } + + public void setPartitionsIsSet(boolean value) { + if (!value) { + this.partitions = null; + } + } + + public AggrStats getStats() { + return this.stats; + } + + public void setStats(AggrStats stats) { + this.stats = stats; + } + + public void unsetStats() { + this.stats = null; + } + + /** Returns true if field stats is set (has been assigned a value) and false otherwise */ + public boolean isSetStats() { + return this.stats != null; + } + + public void setStatsIsSet(boolean value) { + if (!value) { + this.stats = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case PARTITIONS: + if (value == null) { + unsetPartitions(); + } else { + setPartitions((List)value); + } + break; + + case STATS: + if (value == null) { + unsetStats(); + } else { + setStats((AggrStats)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case PARTITIONS: + return getPartitions(); + + case STATS: + return getStats(); + + } + 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 PARTITIONS: + return isSetPartitions(); + case STATS: + return isSetStats(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof AggregatePartitionsStatsResponse) + return this.equals((AggregatePartitionsStatsResponse)that); + return false; + } + + public boolean equals(AggregatePartitionsStatsResponse that) { + if (that == null) + return false; + + boolean this_present_partitions = true && this.isSetPartitions(); + boolean that_present_partitions = true && that.isSetPartitions(); + if (this_present_partitions || that_present_partitions) { + if (!(this_present_partitions && that_present_partitions)) + return false; + if (!this.partitions.equals(that.partitions)) + return false; + } + + boolean this_present_stats = true && this.isSetStats(); + boolean that_present_stats = true && that.isSetStats(); + if (this_present_stats || that_present_stats) { + if (!(this_present_stats && that_present_stats)) + return false; + if (!this.stats.equals(that.stats)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_partitions = true && (isSetPartitions()); + list.add(present_partitions); + if (present_partitions) + list.add(partitions); + + boolean present_stats = true && (isSetStats()); + list.add(present_stats); + if (present_stats) + list.add(stats); + + return list.hashCode(); + } + + @Override + public int compareTo(AggregatePartitionsStatsResponse other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetPartitions()).compareTo(other.isSetPartitions()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetPartitions()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partitions, other.partitions); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetStats()).compareTo(other.isSetStats()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetStats()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.stats, other.stats); + 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("AggregatePartitionsStatsResponse("); + boolean first = true; + + sb.append("partitions:"); + if (this.partitions == null) { + sb.append("null"); + } else { + sb.append(this.partitions); + } + first = false; + if (!first) sb.append(", "); + sb.append("stats:"); + if (this.stats == null) { + sb.append("null"); + } else { + sb.append(this.stats); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + if (!isSetPartitions()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'partitions' is unset! Struct:" + toString()); + } + + if (!isSetStats()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'stats' is unset! Struct:" + toString()); + } + + // check for sub-struct validity + if (stats != null) { + stats.validate(); + } + } + + 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 AggregatePartitionsStatsResponseStandardSchemeFactory implements SchemeFactory { + public AggregatePartitionsStatsResponseStandardScheme getScheme() { + return new AggregatePartitionsStatsResponseStandardScheme(); + } + } + + private static class AggregatePartitionsStatsResponseStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, AggregatePartitionsStatsResponse 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: // PARTITIONS + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list420 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list420.size); + Partition _elem421; + for (int _i422 = 0; _i422 < _list420.size; ++_i422) + { + _elem421 = new Partition(); + _elem421.read(iprot); + struct.partitions.add(_elem421); + } + iprot.readListEnd(); + } + struct.setPartitionsIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // STATS + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.stats = new AggrStats(); + struct.stats.read(iprot); + struct.setStatsIsSet(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, AggregatePartitionsStatsResponse struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.partitions != null) { + oprot.writeFieldBegin(PARTITIONS_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size())); + for (Partition _iter423 : struct.partitions) + { + _iter423.write(oprot); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if (struct.stats != null) { + oprot.writeFieldBegin(STATS_FIELD_DESC); + struct.stats.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class AggregatePartitionsStatsResponseTupleSchemeFactory implements SchemeFactory { + public AggregatePartitionsStatsResponseTupleScheme getScheme() { + return new AggregatePartitionsStatsResponseTupleScheme(); + } + } + + private static class AggregatePartitionsStatsResponseTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, AggregatePartitionsStatsResponse struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + { + oprot.writeI32(struct.partitions.size()); + for (Partition _iter424 : struct.partitions) + { + _iter424.write(oprot); + } + } + struct.stats.write(oprot); + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, AggregatePartitionsStatsResponse struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + { + org.apache.thrift.protocol.TList _list425 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitions = new ArrayList(_list425.size); + Partition _elem426; + for (int _i427 = 0; _i427 < _list425.size; ++_i427) + { + _elem426 = new Partition(); + _elem426.read(iprot); + struct.partitions.add(_elem426); + } + } + struct.setPartitionsIsSet(true); + struct.stats = new AggrStats(); + struct.stats.read(iprot); + struct.setStatsIsSet(true); + } + } + +} + diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java index ca274e6..1265856 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java +++ b/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 _list626 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list626.size); - long _elem627; - for (int _i628 = 0; _i628 < _list626.size; ++_i628) + org.apache.thrift.protocol.TList _list642 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list642.size); + long _elem643; + for (int _i644 = 0; _i644 < _list642.size; ++_i644) { - _elem627 = iprot.readI64(); - struct.fileIds.add(_elem627); + _elem643 = iprot.readI64(); + struct.fileIds.add(_elem643); } 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 _iter629 : struct.fileIds) + for (long _iter645 : struct.fileIds) { - oprot.writeI64(_iter629); + oprot.writeI64(_iter645); } 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 _iter630 : struct.fileIds) + for (long _iter646 : struct.fileIds) { - oprot.writeI64(_iter630); + oprot.writeI64(_iter646); } } } @@ -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 _list631 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list631.size); - long _elem632; - for (int _i633 = 0; _i633 < _list631.size; ++_i633) + org.apache.thrift.protocol.TList _list647 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list647.size); + long _elem648; + for (int _i649 = 0; _i649 < _list647.size; ++_i649) { - _elem632 = iprot.readI64(); - struct.fileIds.add(_elem632); + _elem648 = iprot.readI64(); + struct.fileIds.add(_elem648); } } struct.setFileIdsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java index d3fc92a..cc1f4ea 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java @@ -814,15 +814,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CompactionRequest s case 6: // PROPERTIES if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map524 = iprot.readMapBegin(); - struct.properties = new HashMap(2*_map524.size); - String _key525; - String _val526; - for (int _i527 = 0; _i527 < _map524.size; ++_i527) + org.apache.thrift.protocol.TMap _map540 = iprot.readMapBegin(); + struct.properties = new HashMap(2*_map540.size); + String _key541; + String _val542; + for (int _i543 = 0; _i543 < _map540.size; ++_i543) { - _key525 = iprot.readString(); - _val526 = iprot.readString(); - struct.properties.put(_key525, _val526); + _key541 = iprot.readString(); + _val542 = iprot.readString(); + struct.properties.put(_key541, _val542); } iprot.readMapEnd(); } @@ -878,10 +878,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CompactionRequest oprot.writeFieldBegin(PROPERTIES_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.properties.size())); - for (Map.Entry _iter528 : struct.properties.entrySet()) + for (Map.Entry _iter544 : struct.properties.entrySet()) { - oprot.writeString(_iter528.getKey()); - oprot.writeString(_iter528.getValue()); + oprot.writeString(_iter544.getKey()); + oprot.writeString(_iter544.getValue()); } oprot.writeMapEnd(); } @@ -928,10 +928,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, CompactionRequest s if (struct.isSetProperties()) { { oprot.writeI32(struct.properties.size()); - for (Map.Entry _iter529 : struct.properties.entrySet()) + for (Map.Entry _iter545 : struct.properties.entrySet()) { - oprot.writeString(_iter529.getKey()); - oprot.writeString(_iter529.getValue()); + oprot.writeString(_iter545.getKey()); + oprot.writeString(_iter545.getValue()); } } } @@ -957,15 +957,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CompactionRequest st } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map530 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.properties = new HashMap(2*_map530.size); - String _key531; - String _val532; - for (int _i533 = 0; _i533 < _map530.size; ++_i533) + org.apache.thrift.protocol.TMap _map546 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.properties = new HashMap(2*_map546.size); + String _key547; + String _val548; + for (int _i549 = 0; _i549 < _map546.size; ++_i549) { - _key531 = iprot.readString(); - _val532 = iprot.readString(); - struct.properties.put(_key531, _val532); + _key547 = iprot.readString(); + _val548 = iprot.readString(); + struct.properties.put(_key547, _val548); } } struct.setPropertiesIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java index 96cfbd2..a42a061 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java @@ -346,14 +346,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, DropPartitionsResul case 1: // PARTITIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list428 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list428.size); - Partition _elem429; - for (int _i430 = 0; _i430 < _list428.size; ++_i430) + org.apache.thrift.protocol.TList _list444 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list444.size); + Partition _elem445; + for (int _i446 = 0; _i446 < _list444.size; ++_i446) { - _elem429 = new Partition(); - _elem429.read(iprot); - struct.partitions.add(_elem429); + _elem445 = new Partition(); + _elem445.read(iprot); + struct.partitions.add(_elem445); } iprot.readListEnd(); } @@ -380,9 +380,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, DropPartitionsResu oprot.writeFieldBegin(PARTITIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size())); - for (Partition _iter431 : struct.partitions) + for (Partition _iter447 : struct.partitions) { - _iter431.write(oprot); + _iter447.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, DropPartitionsResul if (struct.isSetPartitions()) { { oprot.writeI32(struct.partitions.size()); - for (Partition _iter432 : struct.partitions) + for (Partition _iter448 : struct.partitions) { - _iter432.write(oprot); + _iter448.write(oprot); } } } @@ -428,14 +428,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, DropPartitionsResult BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list433 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitions = new ArrayList(_list433.size); - Partition _elem434; - for (int _i435 = 0; _i435 < _list433.size; ++_i435) + org.apache.thrift.protocol.TList _list449 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitions = new ArrayList(_list449.size); + Partition _elem450; + for (int _i451 = 0; _i451 < _list449.size; ++_i451) { - _elem434 = new Partition(); - _elem434.read(iprot); - struct.partitions.add(_elem434); + _elem450 = new Partition(); + _elem450.read(iprot); + struct.partitions.add(_elem450); } } struct.setPartitionsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java index 6772338..178cc5e 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java +++ b/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 _list566 = iprot.readListBegin(); - struct.partitionVals = new ArrayList(_list566.size); - String _elem567; - for (int _i568 = 0; _i568 < _list566.size; ++_i568) + org.apache.thrift.protocol.TList _list582 = iprot.readListBegin(); + struct.partitionVals = new ArrayList(_list582.size); + String _elem583; + for (int _i584 = 0; _i584 < _list582.size; ++_i584) { - _elem567 = iprot.readString(); - struct.partitionVals.add(_elem567); + _elem583 = iprot.readString(); + struct.partitionVals.add(_elem583); } 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 _iter569 : struct.partitionVals) + for (String _iter585 : struct.partitionVals) { - oprot.writeString(_iter569); + oprot.writeString(_iter585); } 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 _iter570 : struct.partitionVals) + for (String _iter586 : struct.partitionVals) { - oprot.writeString(_iter570); + oprot.writeString(_iter586); } } } @@ -843,13 +843,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FireEventRequest str } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list571 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionVals = new ArrayList(_list571.size); - String _elem572; - for (int _i573 = 0; _i573 < _list571.size; ++_i573) + org.apache.thrift.protocol.TList _list587 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionVals = new ArrayList(_list587.size); + String _elem588; + for (int _i589 = 0; _i589 < _list587.size; ++_i589) { - _elem572 = iprot.readString(); - struct.partitionVals.add(_elem572); + _elem588 = iprot.readString(); + struct.partitionVals.add(_elem588); } } struct.setPartitionValsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java index 56a4d30..9fa2f6e 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java @@ -997,14 +997,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Function struct) th case 8: // RESOURCE_URIS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list452 = iprot.readListBegin(); - struct.resourceUris = new ArrayList(_list452.size); - ResourceUri _elem453; - for (int _i454 = 0; _i454 < _list452.size; ++_i454) + org.apache.thrift.protocol.TList _list468 = iprot.readListBegin(); + struct.resourceUris = new ArrayList(_list468.size); + ResourceUri _elem469; + for (int _i470 = 0; _i470 < _list468.size; ++_i470) { - _elem453 = new ResourceUri(); - _elem453.read(iprot); - struct.resourceUris.add(_elem453); + _elem469 = new ResourceUri(); + _elem469.read(iprot); + struct.resourceUris.add(_elem469); } iprot.readListEnd(); } @@ -1063,9 +1063,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Function struct) t oprot.writeFieldBegin(RESOURCE_URIS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.resourceUris.size())); - for (ResourceUri _iter455 : struct.resourceUris) + for (ResourceUri _iter471 : struct.resourceUris) { - _iter455.write(oprot); + _iter471.write(oprot); } oprot.writeListEnd(); } @@ -1138,9 +1138,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Function struct) th if (struct.isSetResourceUris()) { { oprot.writeI32(struct.resourceUris.size()); - for (ResourceUri _iter456 : struct.resourceUris) + for (ResourceUri _iter472 : struct.resourceUris) { - _iter456.write(oprot); + _iter472.write(oprot); } } } @@ -1180,14 +1180,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Function struct) thr } if (incoming.get(7)) { { - org.apache.thrift.protocol.TList _list457 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.resourceUris = new ArrayList(_list457.size); - ResourceUri _elem458; - for (int _i459 = 0; _i459 < _list457.size; ++_i459) + org.apache.thrift.protocol.TList _list473 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.resourceUris = new ArrayList(_list473.size); + ResourceUri _elem474; + for (int _i475 = 0; _i475 < _list473.size; ++_i475) { - _elem458 = new ResourceUri(); - _elem458.read(iprot); - struct.resourceUris.add(_elem458); + _elem474 = new ResourceUri(); + _elem474.read(iprot); + struct.resourceUris.add(_elem474); } } struct.setResourceUrisIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java index f427a3a..2551870 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java +++ b/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 _list634 = iprot.readListBegin(); - struct.functions = new ArrayList(_list634.size); - Function _elem635; - for (int _i636 = 0; _i636 < _list634.size; ++_i636) + org.apache.thrift.protocol.TList _list650 = iprot.readListBegin(); + struct.functions = new ArrayList(_list650.size); + Function _elem651; + for (int _i652 = 0; _i652 < _list650.size; ++_i652) { - _elem635 = new Function(); - _elem635.read(iprot); - struct.functions.add(_elem635); + _elem651 = new Function(); + _elem651.read(iprot); + struct.functions.add(_elem651); } 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 _iter637 : struct.functions) + for (Function _iter653 : struct.functions) { - _iter637.write(oprot); + _iter653.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 _iter638 : struct.functions) + for (Function _iter654 : struct.functions) { - _iter638.write(oprot); + _iter654.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 _list639 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.functions = new ArrayList(_list639.size); - Function _elem640; - for (int _i641 = 0; _i641 < _list639.size; ++_i641) + org.apache.thrift.protocol.TList _list655 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.functions = new ArrayList(_list655.size); + Function _elem656; + for (int _i657 = 0; _i657 < _list655.size; ++_i657) { - _elem640 = new Function(); - _elem640.read(iprot); - struct.functions.add(_elem640); + _elem656 = new Function(); + _elem656.read(iprot); + struct.functions.add(_elem656); } } struct.setFunctionsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java index 1ea90a0..63946f6 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java +++ b/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 _list584 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list584.size); - long _elem585; - for (int _i586 = 0; _i586 < _list584.size; ++_i586) + org.apache.thrift.protocol.TList _list600 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list600.size); + long _elem601; + for (int _i602 = 0; _i602 < _list600.size; ++_i602) { - _elem585 = iprot.readI64(); - struct.fileIds.add(_elem585); + _elem601 = iprot.readI64(); + struct.fileIds.add(_elem601); } 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 _iter587 : struct.fileIds) + for (long _iter603 : struct.fileIds) { - oprot.writeI64(_iter587); + oprot.writeI64(_iter603); } 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 _iter588 : struct.fileIds) + for (long _iter604 : struct.fileIds) { - oprot.writeI64(_iter588); + oprot.writeI64(_iter604); } } 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 _list589 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list589.size); - long _elem590; - for (int _i591 = 0; _i591 < _list589.size; ++_i591) + 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) { - _elem590 = iprot.readI64(); - struct.fileIds.add(_elem590); + _elem606 = iprot.readI64(); + struct.fileIds.add(_elem606); } } struct.setFileIdsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java index 609abc5..b243cf1 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java +++ b/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 _map574 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map574.size); - long _key575; - MetadataPpdResult _val576; - for (int _i577 = 0; _i577 < _map574.size; ++_i577) + org.apache.thrift.protocol.TMap _map590 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map590.size); + long _key591; + MetadataPpdResult _val592; + for (int _i593 = 0; _i593 < _map590.size; ++_i593) { - _key575 = iprot.readI64(); - _val576 = new MetadataPpdResult(); - _val576.read(iprot); - struct.metadata.put(_key575, _val576); + _key591 = iprot.readI64(); + _val592 = new MetadataPpdResult(); + _val592.read(iprot); + struct.metadata.put(_key591, _val592); } 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 _iter578 : struct.metadata.entrySet()) + for (Map.Entry _iter594 : struct.metadata.entrySet()) { - oprot.writeI64(_iter578.getKey()); - _iter578.getValue().write(oprot); + oprot.writeI64(_iter594.getKey()); + _iter594.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 _iter579 : struct.metadata.entrySet()) + for (Map.Entry _iter595 : struct.metadata.entrySet()) { - oprot.writeI64(_iter579.getKey()); - _iter579.getValue().write(oprot); + oprot.writeI64(_iter595.getKey()); + _iter595.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 _map580 = 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*_map580.size); - long _key581; - MetadataPpdResult _val582; - for (int _i583 = 0; _i583 < _map580.size; ++_i583) + org.apache.thrift.protocol.TMap _map596 = 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*_map596.size); + long _key597; + MetadataPpdResult _val598; + for (int _i599 = 0; _i599 < _map596.size; ++_i599) { - _key581 = iprot.readI64(); - _val582 = new MetadataPpdResult(); - _val582.read(iprot); - struct.metadata.put(_key581, _val582); + _key597 = iprot.readI64(); + _val598 = new MetadataPpdResult(); + _val598.read(iprot); + struct.metadata.put(_key597, _val598); } } struct.setMetadataIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java index 5cf880a..650d280 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java +++ b/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 _list602 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list602.size); - long _elem603; - for (int _i604 = 0; _i604 < _list602.size; ++_i604) + org.apache.thrift.protocol.TList _list618 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list618.size); + long _elem619; + for (int _i620 = 0; _i620 < _list618.size; ++_i620) { - _elem603 = iprot.readI64(); - struct.fileIds.add(_elem603); + _elem619 = iprot.readI64(); + struct.fileIds.add(_elem619); } 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 _iter605 : struct.fileIds) + for (long _iter621 : struct.fileIds) { - oprot.writeI64(_iter605); + oprot.writeI64(_iter621); } 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 _iter606 : struct.fileIds) + for (long _iter622 : struct.fileIds) { - oprot.writeI64(_iter606); + oprot.writeI64(_iter622); } } } @@ -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 _list607 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list607.size); - long _elem608; - for (int _i609 = 0; _i609 < _list607.size; ++_i609) + org.apache.thrift.protocol.TList _list623 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list623.size); + long _elem624; + for (int _i625 = 0; _i625 < _list623.size; ++_i625) { - _elem608 = iprot.readI64(); - struct.fileIds.add(_elem608); + _elem624 = iprot.readI64(); + struct.fileIds.add(_elem624); } } struct.setFileIdsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java index 8870c2f..887614d 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java +++ b/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 _map592 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map592.size); - long _key593; - ByteBuffer _val594; - for (int _i595 = 0; _i595 < _map592.size; ++_i595) + org.apache.thrift.protocol.TMap _map608 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map608.size); + long _key609; + ByteBuffer _val610; + for (int _i611 = 0; _i611 < _map608.size; ++_i611) { - _key593 = iprot.readI64(); - _val594 = iprot.readBinary(); - struct.metadata.put(_key593, _val594); + _key609 = iprot.readI64(); + _val610 = iprot.readBinary(); + struct.metadata.put(_key609, _val610); } 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 _iter596 : struct.metadata.entrySet()) + for (Map.Entry _iter612 : struct.metadata.entrySet()) { - oprot.writeI64(_iter596.getKey()); - oprot.writeBinary(_iter596.getValue()); + oprot.writeI64(_iter612.getKey()); + oprot.writeBinary(_iter612.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 _iter597 : struct.metadata.entrySet()) + for (Map.Entry _iter613 : struct.metadata.entrySet()) { - oprot.writeI64(_iter597.getKey()); - oprot.writeBinary(_iter597.getValue()); + oprot.writeI64(_iter613.getKey()); + oprot.writeBinary(_iter613.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 _map598 = 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*_map598.size); - long _key599; - ByteBuffer _val600; - for (int _i601 = 0; _i601 < _map598.size; ++_i601) + org.apache.thrift.protocol.TMap _map614 = 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*_map614.size); + long _key615; + ByteBuffer _val616; + for (int _i617 = 0; _i617 < _map614.size; ++_i617) { - _key599 = iprot.readI64(); - _val600 = iprot.readBinary(); - struct.metadata.put(_key599, _val600); + _key615 = iprot.readI64(); + _val616 = iprot.readBinary(); + struct.metadata.put(_key615, _val616); } } struct.setMetadataIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java index e68793b..ba05a36 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java @@ -447,14 +447,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetOpenTxnsInfoResp case 2: // OPEN_TXNS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list460 = iprot.readListBegin(); - struct.open_txns = new ArrayList(_list460.size); - TxnInfo _elem461; - for (int _i462 = 0; _i462 < _list460.size; ++_i462) + org.apache.thrift.protocol.TList _list476 = iprot.readListBegin(); + struct.open_txns = new ArrayList(_list476.size); + TxnInfo _elem477; + for (int _i478 = 0; _i478 < _list476.size; ++_i478) { - _elem461 = new TxnInfo(); - _elem461.read(iprot); - struct.open_txns.add(_elem461); + _elem477 = new TxnInfo(); + _elem477.read(iprot); + struct.open_txns.add(_elem477); } iprot.readListEnd(); } @@ -483,9 +483,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetOpenTxnsInfoRes oprot.writeFieldBegin(OPEN_TXNS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.open_txns.size())); - for (TxnInfo _iter463 : struct.open_txns) + for (TxnInfo _iter479 : struct.open_txns) { - _iter463.write(oprot); + _iter479.write(oprot); } oprot.writeListEnd(); } @@ -511,9 +511,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsInfoResp oprot.writeI64(struct.txn_high_water_mark); { oprot.writeI32(struct.open_txns.size()); - for (TxnInfo _iter464 : struct.open_txns) + for (TxnInfo _iter480 : struct.open_txns) { - _iter464.write(oprot); + _iter480.write(oprot); } } } @@ -524,14 +524,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsInfoRespo struct.txn_high_water_mark = iprot.readI64(); struct.setTxn_high_water_markIsSet(true); { - org.apache.thrift.protocol.TList _list465 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.open_txns = new ArrayList(_list465.size); - TxnInfo _elem466; - for (int _i467 = 0; _i467 < _list465.size; ++_i467) + org.apache.thrift.protocol.TList _list481 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.open_txns = new ArrayList(_list481.size); + TxnInfo _elem482; + for (int _i483 = 0; _i483 < _list481.size; ++_i483) { - _elem466 = new TxnInfo(); - _elem466.read(iprot); - struct.open_txns.add(_elem466); + _elem482 = new TxnInfo(); + _elem482.read(iprot); + struct.open_txns.add(_elem482); } } struct.setOpen_txnsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java index 6986fc2..f2ffda2 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java @@ -444,13 +444,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetOpenTxnsResponse case 2: // OPEN_TXNS if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set468 = iprot.readSetBegin(); - struct.open_txns = new HashSet(2*_set468.size); - long _elem469; - for (int _i470 = 0; _i470 < _set468.size; ++_i470) + org.apache.thrift.protocol.TSet _set484 = iprot.readSetBegin(); + struct.open_txns = new HashSet(2*_set484.size); + long _elem485; + for (int _i486 = 0; _i486 < _set484.size; ++_i486) { - _elem469 = iprot.readI64(); - struct.open_txns.add(_elem469); + _elem485 = iprot.readI64(); + struct.open_txns.add(_elem485); } iprot.readSetEnd(); } @@ -479,9 +479,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetOpenTxnsRespons oprot.writeFieldBegin(OPEN_TXNS_FIELD_DESC); { oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.open_txns.size())); - for (long _iter471 : struct.open_txns) + for (long _iter487 : struct.open_txns) { - oprot.writeI64(_iter471); + oprot.writeI64(_iter487); } oprot.writeSetEnd(); } @@ -507,9 +507,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsResponse oprot.writeI64(struct.txn_high_water_mark); { oprot.writeI32(struct.open_txns.size()); - for (long _iter472 : struct.open_txns) + for (long _iter488 : struct.open_txns) { - oprot.writeI64(_iter472); + oprot.writeI64(_iter488); } } } @@ -520,13 +520,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsResponse struct.txn_high_water_mark = iprot.readI64(); struct.setTxn_high_water_markIsSet(true); { - org.apache.thrift.protocol.TSet _set473 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.open_txns = new HashSet(2*_set473.size); - long _elem474; - for (int _i475 = 0; _i475 < _set473.size; ++_i475) + org.apache.thrift.protocol.TSet _set489 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.open_txns = new HashSet(2*_set489.size); + long _elem490; + for (int _i491 = 0; _i491 < _set489.size; ++_i491) { - _elem474 = iprot.readI64(); - struct.open_txns.add(_elem474); + _elem490 = iprot.readI64(); + struct.open_txns.add(_elem490); } } struct.setOpen_txnsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java index 164ff51..d8c2856 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java +++ b/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 _set508 = iprot.readSetBegin(); - struct.aborted = new HashSet(2*_set508.size); - long _elem509; - for (int _i510 = 0; _i510 < _set508.size; ++_i510) + org.apache.thrift.protocol.TSet _set524 = iprot.readSetBegin(); + struct.aborted = new HashSet(2*_set524.size); + long _elem525; + for (int _i526 = 0; _i526 < _set524.size; ++_i526) { - _elem509 = iprot.readI64(); - struct.aborted.add(_elem509); + _elem525 = iprot.readI64(); + struct.aborted.add(_elem525); } 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 _set511 = iprot.readSetBegin(); - struct.nosuch = new HashSet(2*_set511.size); - long _elem512; - for (int _i513 = 0; _i513 < _set511.size; ++_i513) + org.apache.thrift.protocol.TSet _set527 = iprot.readSetBegin(); + struct.nosuch = new HashSet(2*_set527.size); + long _elem528; + for (int _i529 = 0; _i529 < _set527.size; ++_i529) { - _elem512 = iprot.readI64(); - struct.nosuch.add(_elem512); + _elem528 = iprot.readI64(); + struct.nosuch.add(_elem528); } 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 _iter514 : struct.aborted) + for (long _iter530 : struct.aborted) { - oprot.writeI64(_iter514); + oprot.writeI64(_iter530); } 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 _iter515 : struct.nosuch) + for (long _iter531 : struct.nosuch) { - oprot.writeI64(_iter515); + oprot.writeI64(_iter531); } 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 _iter516 : struct.aborted) + for (long _iter532 : struct.aborted) { - oprot.writeI64(_iter516); + oprot.writeI64(_iter532); } } { oprot.writeI32(struct.nosuch.size()); - for (long _iter517 : struct.nosuch) + for (long _iter533 : struct.nosuch) { - oprot.writeI64(_iter517); + oprot.writeI64(_iter533); } } } @@ -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 _set518 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.aborted = new HashSet(2*_set518.size); - long _elem519; - for (int _i520 = 0; _i520 < _set518.size; ++_i520) + org.apache.thrift.protocol.TSet _set534 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.aborted = new HashSet(2*_set534.size); + long _elem535; + for (int _i536 = 0; _i536 < _set534.size; ++_i536) { - _elem519 = iprot.readI64(); - struct.aborted.add(_elem519); + _elem535 = iprot.readI64(); + struct.aborted.add(_elem535); } } struct.setAbortedIsSet(true); { - org.apache.thrift.protocol.TSet _set521 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.nosuch = new HashSet(2*_set521.size); - long _elem522; - for (int _i523 = 0; _i523 < _set521.size; ++_i523) + org.apache.thrift.protocol.TSet _set537 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.nosuch = new HashSet(2*_set537.size); + long _elem538; + for (int _i539 = 0; _i539 < _set537.size; ++_i539) { - _elem522 = iprot.readI64(); - struct.nosuch.add(_elem522); + _elem538 = iprot.readI64(); + struct.nosuch.add(_elem538); } } struct.setNosuchIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java index a8df524..e75d115 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java +++ b/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 _list558 = iprot.readListBegin(); - struct.filesAdded = new ArrayList(_list558.size); - String _elem559; - for (int _i560 = 0; _i560 < _list558.size; ++_i560) + org.apache.thrift.protocol.TList _list574 = iprot.readListBegin(); + struct.filesAdded = new ArrayList(_list574.size); + String _elem575; + for (int _i576 = 0; _i576 < _list574.size; ++_i576) { - _elem559 = iprot.readString(); - struct.filesAdded.add(_elem559); + _elem575 = iprot.readString(); + struct.filesAdded.add(_elem575); } 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 _iter561 : struct.filesAdded) + for (String _iter577 : struct.filesAdded) { - oprot.writeString(_iter561); + oprot.writeString(_iter577); } 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 _iter562 : struct.filesAdded) + for (String _iter578 : struct.filesAdded) { - oprot.writeString(_iter562); + oprot.writeString(_iter578); } } } @@ -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 _list563 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAdded = new ArrayList(_list563.size); - String _elem564; - for (int _i565 = 0; _i565 < _list563.size; ++_i565) + org.apache.thrift.protocol.TList _list579 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAdded = new ArrayList(_list579.size); + String _elem580; + for (int _i581 = 0; _i581 < _list579.size; ++_i581) { - _elem564 = iprot.readString(); - struct.filesAdded.add(_elem564); + _elem580 = iprot.readString(); + struct.filesAdded.add(_elem580); } } struct.setFilesAddedIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java index a1a1cac..1d3bc67 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java +++ b/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 _list492 = iprot.readListBegin(); - struct.component = new ArrayList(_list492.size); - LockComponent _elem493; - for (int _i494 = 0; _i494 < _list492.size; ++_i494) + org.apache.thrift.protocol.TList _list508 = iprot.readListBegin(); + struct.component = new ArrayList(_list508.size); + LockComponent _elem509; + for (int _i510 = 0; _i510 < _list508.size; ++_i510) { - _elem493 = new LockComponent(); - _elem493.read(iprot); - struct.component.add(_elem493); + _elem509 = new LockComponent(); + _elem509.read(iprot); + struct.component.add(_elem509); } 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 _iter495 : struct.component) + for (LockComponent _iter511 : struct.component) { - _iter495.write(oprot); + _iter511.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 _iter496 : struct.component) + for (LockComponent _iter512 : struct.component) { - _iter496.write(oprot); + _iter512.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 _list497 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.component = new ArrayList(_list497.size); - LockComponent _elem498; - for (int _i499 = 0; _i499 < _list497.size; ++_i499) + org.apache.thrift.protocol.TList _list513 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.component = new ArrayList(_list513.size); + LockComponent _elem514; + for (int _i515 = 0; _i515 < _list513.size; ++_i515) { - _elem498 = new LockComponent(); - _elem498.read(iprot); - struct.component.add(_elem498); + _elem514 = new LockComponent(); + _elem514.read(iprot); + struct.component.add(_elem514); } } struct.setComponentIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java index edc548a..c93abbb 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java +++ b/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 _list550 = iprot.readListBegin(); - struct.events = new ArrayList(_list550.size); - NotificationEvent _elem551; - for (int _i552 = 0; _i552 < _list550.size; ++_i552) + org.apache.thrift.protocol.TList _list566 = iprot.readListBegin(); + struct.events = new ArrayList(_list566.size); + NotificationEvent _elem567; + for (int _i568 = 0; _i568 < _list566.size; ++_i568) { - _elem551 = new NotificationEvent(); - _elem551.read(iprot); - struct.events.add(_elem551); + _elem567 = new NotificationEvent(); + _elem567.read(iprot); + struct.events.add(_elem567); } 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 _iter553 : struct.events) + for (NotificationEvent _iter569 : struct.events) { - _iter553.write(oprot); + _iter569.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 _iter554 : struct.events) + for (NotificationEvent _iter570 : struct.events) { - _iter554.write(oprot); + _iter570.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 _list555 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.events = new ArrayList(_list555.size); - NotificationEvent _elem556; - for (int _i557 = 0; _i557 < _list555.size; ++_i557) + org.apache.thrift.protocol.TList _list571 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.events = new ArrayList(_list571.size); + NotificationEvent _elem572; + for (int _i573 = 0; _i573 < _list571.size; ++_i573) { - _elem556 = new NotificationEvent(); - _elem556.read(iprot); - struct.events.add(_elem556); + _elem572 = new NotificationEvent(); + _elem572.read(iprot); + struct.events.add(_elem572); } } struct.setEventsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java index a8af71b..53ce28a 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, OpenTxnsResponse st case 1: // TXN_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list476 = iprot.readListBegin(); - struct.txn_ids = new ArrayList(_list476.size); - long _elem477; - for (int _i478 = 0; _i478 < _list476.size; ++_i478) + org.apache.thrift.protocol.TList _list492 = iprot.readListBegin(); + struct.txn_ids = new ArrayList(_list492.size); + long _elem493; + for (int _i494 = 0; _i494 < _list492.size; ++_i494) { - _elem477 = iprot.readI64(); - struct.txn_ids.add(_elem477); + _elem493 = iprot.readI64(); + struct.txn_ids.add(_elem493); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, OpenTxnsResponse s 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 _iter479 : struct.txn_ids) + for (long _iter495 : struct.txn_ids) { - oprot.writeI64(_iter479); + oprot.writeI64(_iter495); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, OpenTxnsResponse st TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.txn_ids.size()); - for (long _iter480 : struct.txn_ids) + for (long _iter496 : struct.txn_ids) { - oprot.writeI64(_iter480); + oprot.writeI64(_iter496); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, OpenTxnsResponse st public void read(org.apache.thrift.protocol.TProtocol prot, OpenTxnsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list481 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txn_ids = new ArrayList(_list481.size); - long _elem482; - for (int _i483 = 0; _i483 < _list481.size; ++_i483) + org.apache.thrift.protocol.TList _list497 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txn_ids = new ArrayList(_list497.size); + long _elem498; + for (int _i499 = 0; _i499 < _list497.size; ++_i499) { - _elem482 = iprot.readI64(); - struct.txn_ids.add(_elem482); + _elem498 = iprot.readI64(); + struct.txn_ids.add(_elem498); } } struct.setTxn_idsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java index 6eff25d..91af7c0 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java +++ b/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 _list610 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list610.size); - long _elem611; - for (int _i612 = 0; _i612 < _list610.size; ++_i612) + org.apache.thrift.protocol.TList _list626 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list626.size); + long _elem627; + for (int _i628 = 0; _i628 < _list626.size; ++_i628) { - _elem611 = iprot.readI64(); - struct.fileIds.add(_elem611); + _elem627 = iprot.readI64(); + struct.fileIds.add(_elem627); } 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 _list613 = iprot.readListBegin(); - struct.metadata = new ArrayList(_list613.size); - ByteBuffer _elem614; - for (int _i615 = 0; _i615 < _list613.size; ++_i615) + org.apache.thrift.protocol.TList _list629 = iprot.readListBegin(); + struct.metadata = new ArrayList(_list629.size); + ByteBuffer _elem630; + for (int _i631 = 0; _i631 < _list629.size; ++_i631) { - _elem614 = iprot.readBinary(); - struct.metadata.add(_elem614); + _elem630 = iprot.readBinary(); + struct.metadata.add(_elem630); } 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 _iter616 : struct.fileIds) + for (long _iter632 : struct.fileIds) { - oprot.writeI64(_iter616); + oprot.writeI64(_iter632); } 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 _iter617 : struct.metadata) + for (ByteBuffer _iter633 : struct.metadata) { - oprot.writeBinary(_iter617); + oprot.writeBinary(_iter633); } 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 _iter618 : struct.fileIds) + for (long _iter634 : struct.fileIds) { - oprot.writeI64(_iter618); + oprot.writeI64(_iter634); } } { oprot.writeI32(struct.metadata.size()); - for (ByteBuffer _iter619 : struct.metadata) + for (ByteBuffer _iter635 : struct.metadata) { - oprot.writeBinary(_iter619); + oprot.writeBinary(_iter635); } } 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 _list620 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list620.size); - long _elem621; - for (int _i622 = 0; _i622 < _list620.size; ++_i622) + org.apache.thrift.protocol.TList _list636 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list636.size); + long _elem637; + for (int _i638 = 0; _i638 < _list636.size; ++_i638) { - _elem621 = iprot.readI64(); - struct.fileIds.add(_elem621); + _elem637 = iprot.readI64(); + struct.fileIds.add(_elem637); } } struct.setFileIdsIsSet(true); { - org.apache.thrift.protocol.TList _list623 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.metadata = new ArrayList(_list623.size); - ByteBuffer _elem624; - for (int _i625 = 0; _i625 < _list623.size; ++_i625) + org.apache.thrift.protocol.TList _list639 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.metadata = new ArrayList(_list639.size); + ByteBuffer _elem640; + for (int _i641 = 0; _i641 < _list639.size; ++_i641) { - _elem624 = iprot.readBinary(); - struct.metadata.add(_elem624); + _elem640 = iprot.readBinary(); + struct.metadata.add(_elem640); } } struct.setMetadataIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java index 7368e9a..8efea35 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java @@ -168,13 +168,13 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip if (field.type == NAMES_FIELD_DESC.type) { List names; { - org.apache.thrift.protocol.TList _list436 = iprot.readListBegin(); - names = new ArrayList(_list436.size); - String _elem437; - for (int _i438 = 0; _i438 < _list436.size; ++_i438) + org.apache.thrift.protocol.TList _list452 = iprot.readListBegin(); + names = new ArrayList(_list452.size); + String _elem453; + for (int _i454 = 0; _i454 < _list452.size; ++_i454) { - _elem437 = iprot.readString(); - names.add(_elem437); + _elem453 = iprot.readString(); + names.add(_elem453); } iprot.readListEnd(); } @@ -187,14 +187,14 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip if (field.type == EXPRS_FIELD_DESC.type) { List exprs; { - org.apache.thrift.protocol.TList _list439 = iprot.readListBegin(); - exprs = new ArrayList(_list439.size); - DropPartitionsExpr _elem440; - for (int _i441 = 0; _i441 < _list439.size; ++_i441) + org.apache.thrift.protocol.TList _list455 = iprot.readListBegin(); + exprs = new ArrayList(_list455.size); + DropPartitionsExpr _elem456; + for (int _i457 = 0; _i457 < _list455.size; ++_i457) { - _elem440 = new DropPartitionsExpr(); - _elem440.read(iprot); - exprs.add(_elem440); + _elem456 = new DropPartitionsExpr(); + _elem456.read(iprot); + exprs.add(_elem456); } iprot.readListEnd(); } @@ -219,9 +219,9 @@ protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol opr List names = (List)value_; { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, names.size())); - for (String _iter442 : names) + for (String _iter458 : names) { - oprot.writeString(_iter442); + oprot.writeString(_iter458); } oprot.writeListEnd(); } @@ -230,9 +230,9 @@ protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol opr List exprs = (List)value_; { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, exprs.size())); - for (DropPartitionsExpr _iter443 : exprs) + for (DropPartitionsExpr _iter459 : exprs) { - _iter443.write(oprot); + _iter459.write(oprot); } oprot.writeListEnd(); } @@ -250,13 +250,13 @@ protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot case NAMES: List names; { - org.apache.thrift.protocol.TList _list444 = iprot.readListBegin(); - names = new ArrayList(_list444.size); - String _elem445; - for (int _i446 = 0; _i446 < _list444.size; ++_i446) + org.apache.thrift.protocol.TList _list460 = iprot.readListBegin(); + names = new ArrayList(_list460.size); + String _elem461; + for (int _i462 = 0; _i462 < _list460.size; ++_i462) { - _elem445 = iprot.readString(); - names.add(_elem445); + _elem461 = iprot.readString(); + names.add(_elem461); } iprot.readListEnd(); } @@ -264,14 +264,14 @@ protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot case EXPRS: List exprs; { - org.apache.thrift.protocol.TList _list447 = iprot.readListBegin(); - exprs = new ArrayList(_list447.size); - DropPartitionsExpr _elem448; - for (int _i449 = 0; _i449 < _list447.size; ++_i449) + org.apache.thrift.protocol.TList _list463 = iprot.readListBegin(); + exprs = new ArrayList(_list463.size); + DropPartitionsExpr _elem464; + for (int _i465 = 0; _i465 < _list463.size; ++_i465) { - _elem448 = new DropPartitionsExpr(); - _elem448.read(iprot); - exprs.add(_elem448); + _elem464 = new DropPartitionsExpr(); + _elem464.read(iprot); + exprs.add(_elem464); } iprot.readListEnd(); } @@ -291,9 +291,9 @@ protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) List names = (List)value_; { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, names.size())); - for (String _iter450 : names) + for (String _iter466 : names) { - oprot.writeString(_iter450); + oprot.writeString(_iter466); } oprot.writeListEnd(); } @@ -302,9 +302,9 @@ protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) List exprs = (List)value_; { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, exprs.size())); - for (DropPartitionsExpr _iter451 : exprs) + for (DropPartitionsExpr _iter467 : exprs) { - _iter451.write(oprot); + _iter467.write(oprot); } oprot.writeListEnd(); } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java index ed86165..8d1124c 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java +++ b/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 _list534 = iprot.readListBegin(); - struct.compacts = new ArrayList(_list534.size); - ShowCompactResponseElement _elem535; - for (int _i536 = 0; _i536 < _list534.size; ++_i536) + org.apache.thrift.protocol.TList _list550 = iprot.readListBegin(); + struct.compacts = new ArrayList(_list550.size); + ShowCompactResponseElement _elem551; + for (int _i552 = 0; _i552 < _list550.size; ++_i552) { - _elem535 = new ShowCompactResponseElement(); - _elem535.read(iprot); - struct.compacts.add(_elem535); + _elem551 = new ShowCompactResponseElement(); + _elem551.read(iprot); + struct.compacts.add(_elem551); } 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 _iter537 : struct.compacts) + for (ShowCompactResponseElement _iter553 : struct.compacts) { - _iter537.write(oprot); + _iter553.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 _iter538 : struct.compacts) + for (ShowCompactResponseElement _iter554 : struct.compacts) { - _iter538.write(oprot); + _iter554.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 _list539 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.compacts = new ArrayList(_list539.size); - ShowCompactResponseElement _elem540; - for (int _i541 = 0; _i541 < _list539.size; ++_i541) + org.apache.thrift.protocol.TList _list555 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.compacts = new ArrayList(_list555.size); + ShowCompactResponseElement _elem556; + for (int _i557 = 0; _i557 < _list555.size; ++_i557) { - _elem540 = new ShowCompactResponseElement(); - _elem540.read(iprot); - struct.compacts.add(_elem540); + _elem556 = new ShowCompactResponseElement(); + _elem556.read(iprot); + struct.compacts.add(_elem556); } } struct.setCompactsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java index da181e6..cc88cf9 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java +++ b/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 _list500 = iprot.readListBegin(); - struct.locks = new ArrayList(_list500.size); - ShowLocksResponseElement _elem501; - for (int _i502 = 0; _i502 < _list500.size; ++_i502) + org.apache.thrift.protocol.TList _list516 = iprot.readListBegin(); + struct.locks = new ArrayList(_list516.size); + ShowLocksResponseElement _elem517; + for (int _i518 = 0; _i518 < _list516.size; ++_i518) { - _elem501 = new ShowLocksResponseElement(); - _elem501.read(iprot); - struct.locks.add(_elem501); + _elem517 = new ShowLocksResponseElement(); + _elem517.read(iprot); + struct.locks.add(_elem517); } 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 _iter503 : struct.locks) + for (ShowLocksResponseElement _iter519 : struct.locks) { - _iter503.write(oprot); + _iter519.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 _iter504 : struct.locks) + for (ShowLocksResponseElement _iter520 : struct.locks) { - _iter504.write(oprot); + _iter520.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 _list505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.locks = new ArrayList(_list505.size); - ShowLocksResponseElement _elem506; - for (int _i507 = 0; _i507 < _list505.size; ++_i507) + org.apache.thrift.protocol.TList _list521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.locks = new ArrayList(_list521.size); + ShowLocksResponseElement _elem522; + for (int _i523 = 0; _i523 < _list521.size; ++_i523) { - _elem506 = new ShowLocksResponseElement(); - _elem506.read(iprot); - struct.locks.add(_elem506); + _elem522 = new ShowLocksResponseElement(); + _elem522.read(iprot); + struct.locks.add(_elem522); } } struct.setLocksIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java index cb5dec9..bef1745 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java @@ -222,6 +222,8 @@ public AggrStats get_aggr_stats_for(PartitionsStatsRequest request) throws NoSuchObjectException, MetaException, org.apache.thrift.TException; + public AggregatePartitionsStatsResponse get_parts_and_aggr_col_stats(AggregatePartitionsStatsRequest request) throws NoSuchObjectException, MetaException, org.apache.thrift.TException; + public boolean set_aggr_stats_for(SetPartitionsStatsRequest request) throws NoSuchObjectException, InvalidObjectException, MetaException, InvalidInputException, org.apache.thrift.TException; public boolean delete_partition_column_statistics(String db_name, String tbl_name, String part_name, String col_name) throws NoSuchObjectException, MetaException, InvalidObjectException, InvalidInputException, org.apache.thrift.TException; @@ -524,6 +526,8 @@ public void get_aggr_stats_for(PartitionsStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_parts_and_aggr_col_stats(AggregatePartitionsStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void set_aggr_stats_for(SetPartitionsStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; public void delete_partition_column_statistics(String db_name, String tbl_name, String part_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; @@ -3444,6 +3448,35 @@ public AggrStats recv_get_aggr_stats_for() throws NoSuchObjectException, MetaExc throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_aggr_stats_for failed: unknown result"); } + public AggregatePartitionsStatsResponse get_parts_and_aggr_col_stats(AggregatePartitionsStatsRequest request) throws NoSuchObjectException, MetaException, org.apache.thrift.TException + { + send_get_parts_and_aggr_col_stats(request); + return recv_get_parts_and_aggr_col_stats(); + } + + public void send_get_parts_and_aggr_col_stats(AggregatePartitionsStatsRequest request) throws org.apache.thrift.TException + { + get_parts_and_aggr_col_stats_args args = new get_parts_and_aggr_col_stats_args(); + args.setRequest(request); + sendBase("get_parts_and_aggr_col_stats", args); + } + + public AggregatePartitionsStatsResponse recv_get_parts_and_aggr_col_stats() throws NoSuchObjectException, MetaException, org.apache.thrift.TException + { + get_parts_and_aggr_col_stats_result result = new get_parts_and_aggr_col_stats_result(); + receiveBase(result, "get_parts_and_aggr_col_stats"); + if (result.isSetSuccess()) { + return result.success; + } + if (result.o1 != null) { + throw result.o1; + } + if (result.o2 != null) { + throw result.o2; + } + throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_parts_and_aggr_col_stats failed: unknown result"); + } + public boolean set_aggr_stats_for(SetPartitionsStatsRequest request) throws NoSuchObjectException, InvalidObjectException, MetaException, InvalidInputException, org.apache.thrift.TException { send_set_aggr_stats_for(request); @@ -8290,6 +8323,38 @@ public AggrStats getResult() throws NoSuchObjectException, MetaException, org.ap } } + public void get_parts_and_aggr_col_stats(AggregatePartitionsStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + checkReady(); + get_parts_and_aggr_col_stats_call method_call = new get_parts_and_aggr_col_stats_call(request, resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class get_parts_and_aggr_col_stats_call extends org.apache.thrift.async.TAsyncMethodCall { + private AggregatePartitionsStatsRequest request; + public get_parts_and_aggr_col_stats_call(AggregatePartitionsStatsRequest request, 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.request = request; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("get_parts_and_aggr_col_stats", org.apache.thrift.protocol.TMessageType.CALL, 0)); + get_parts_and_aggr_col_stats_args args = new get_parts_and_aggr_col_stats_args(); + args.setRequest(request); + args.write(prot); + prot.writeMessageEnd(); + } + + public AggregatePartitionsStatsResponse getResult() throws NoSuchObjectException, MetaException, 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); + return (new Client(prot)).recv_get_parts_and_aggr_col_stats(); + } + } + public void set_aggr_stats_for(SetPartitionsStatsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); set_aggr_stats_for_call method_call = new set_aggr_stats_for_call(request, resultHandler, this, ___protocolFactory, ___transport); @@ -10335,6 +10400,7 @@ protected Processor(I iface, Map extends org.apache.thrift.ProcessFunction { + public get_parts_and_aggr_col_stats() { + super("get_parts_and_aggr_col_stats"); + } + + public get_parts_and_aggr_col_stats_args getEmptyArgsInstance() { + return new get_parts_and_aggr_col_stats_args(); + } + + protected boolean isOneway() { + return false; + } + + public get_parts_and_aggr_col_stats_result getResult(I iface, get_parts_and_aggr_col_stats_args args) throws org.apache.thrift.TException { + get_parts_and_aggr_col_stats_result result = new get_parts_and_aggr_col_stats_result(); + try { + result.success = iface.get_parts_and_aggr_col_stats(args.request); + } catch (NoSuchObjectException o1) { + result.o1 = o1; + } catch (MetaException o2) { + result.o2 = o2; + } + return result; + } + } + public static class set_aggr_stats_for extends org.apache.thrift.ProcessFunction { public set_aggr_stats_for() { super("set_aggr_stats_for"); @@ -14306,6 +14398,7 @@ protected AsyncProcessor(I iface, Map extends org.apache.thrift.AsyncProcessFunction { + public get_parts_and_aggr_col_stats() { + super("get_parts_and_aggr_col_stats"); + } + + public get_parts_and_aggr_col_stats_args getEmptyArgsInstance() { + return new get_parts_and_aggr_col_stats_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(AggregatePartitionsStatsResponse o) { + get_parts_and_aggr_col_stats_result result = new get_parts_and_aggr_col_stats_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_parts_and_aggr_col_stats_result result = new get_parts_and_aggr_col_stats_result(); + if (e instanceof NoSuchObjectException) { + result.o1 = (NoSuchObjectException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_parts_and_aggr_col_stats_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_parts_and_aggr_col_stats(args.request,resultHandler); + } + } + public static class set_aggr_stats_for extends org.apache.thrift.AsyncProcessFunction { public set_aggr_stats_for() { super("set_aggr_stats_for"); @@ -28842,13 +28997,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 _list642 = iprot.readListBegin(); - struct.success = new ArrayList(_list642.size); - String _elem643; - for (int _i644 = 0; _i644 < _list642.size; ++_i644) + org.apache.thrift.protocol.TList _list658 = iprot.readListBegin(); + struct.success = new ArrayList(_list658.size); + String _elem659; + for (int _i660 = 0; _i660 < _list658.size; ++_i660) { - _elem643 = iprot.readString(); - struct.success.add(_elem643); + _elem659 = iprot.readString(); + struct.success.add(_elem659); } iprot.readListEnd(); } @@ -28883,9 +29038,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 _iter645 : struct.success) + for (String _iter661 : struct.success) { - oprot.writeString(_iter645); + oprot.writeString(_iter661); } oprot.writeListEnd(); } @@ -28924,9 +29079,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter646 : struct.success) + for (String _iter662 : struct.success) { - oprot.writeString(_iter646); + oprot.writeString(_iter662); } } } @@ -28941,13 +29096,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 _list647 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list647.size); - String _elem648; - for (int _i649 = 0; _i649 < _list647.size; ++_i649) + org.apache.thrift.protocol.TList _list663 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list663.size); + String _elem664; + for (int _i665 = 0; _i665 < _list663.size; ++_i665) { - _elem648 = iprot.readString(); - struct.success.add(_elem648); + _elem664 = iprot.readString(); + struct.success.add(_elem664); } } struct.setSuccessIsSet(true); @@ -29601,13 +29756,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 _list650 = iprot.readListBegin(); - struct.success = new ArrayList(_list650.size); - String _elem651; - for (int _i652 = 0; _i652 < _list650.size; ++_i652) + org.apache.thrift.protocol.TList _list666 = iprot.readListBegin(); + struct.success = new ArrayList(_list666.size); + String _elem667; + for (int _i668 = 0; _i668 < _list666.size; ++_i668) { - _elem651 = iprot.readString(); - struct.success.add(_elem651); + _elem667 = iprot.readString(); + struct.success.add(_elem667); } iprot.readListEnd(); } @@ -29642,9 +29797,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 _iter653 : struct.success) + for (String _iter669 : struct.success) { - oprot.writeString(_iter653); + oprot.writeString(_iter669); } oprot.writeListEnd(); } @@ -29683,9 +29838,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter654 : struct.success) + for (String _iter670 : struct.success) { - oprot.writeString(_iter654); + oprot.writeString(_iter670); } } } @@ -29700,13 +29855,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 _list655 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list655.size); - String _elem656; - for (int _i657 = 0; _i657 < _list655.size; ++_i657) + org.apache.thrift.protocol.TList _list671 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list671.size); + String _elem672; + for (int _i673 = 0; _i673 < _list671.size; ++_i673) { - _elem656 = iprot.readString(); - struct.success.add(_elem656); + _elem672 = iprot.readString(); + struct.success.add(_elem672); } } struct.setSuccessIsSet(true); @@ -34313,16 +34468,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 _map658 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map658.size); - String _key659; - Type _val660; - for (int _i661 = 0; _i661 < _map658.size; ++_i661) + org.apache.thrift.protocol.TMap _map674 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map674.size); + String _key675; + Type _val676; + for (int _i677 = 0; _i677 < _map674.size; ++_i677) { - _key659 = iprot.readString(); - _val660 = new Type(); - _val660.read(iprot); - struct.success.put(_key659, _val660); + _key675 = iprot.readString(); + _val676 = new Type(); + _val676.read(iprot); + struct.success.put(_key675, _val676); } iprot.readMapEnd(); } @@ -34357,10 +34512,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 _iter662 : struct.success.entrySet()) + for (Map.Entry _iter678 : struct.success.entrySet()) { - oprot.writeString(_iter662.getKey()); - _iter662.getValue().write(oprot); + oprot.writeString(_iter678.getKey()); + _iter678.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -34399,10 +34554,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 _iter663 : struct.success.entrySet()) + for (Map.Entry _iter679 : struct.success.entrySet()) { - oprot.writeString(_iter663.getKey()); - _iter663.getValue().write(oprot); + oprot.writeString(_iter679.getKey()); + _iter679.getValue().write(oprot); } } } @@ -34417,16 +34572,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 _map664 = 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*_map664.size); - String _key665; - Type _val666; - for (int _i667 = 0; _i667 < _map664.size; ++_i667) + org.apache.thrift.protocol.TMap _map680 = 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*_map680.size); + String _key681; + Type _val682; + for (int _i683 = 0; _i683 < _map680.size; ++_i683) { - _key665 = iprot.readString(); - _val666 = new Type(); - _val666.read(iprot); - struct.success.put(_key665, _val666); + _key681 = iprot.readString(); + _val682 = new Type(); + _val682.read(iprot); + struct.success.put(_key681, _val682); } } struct.setSuccessIsSet(true); @@ -35461,14 +35616,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 _list668 = iprot.readListBegin(); - struct.success = new ArrayList(_list668.size); - FieldSchema _elem669; - for (int _i670 = 0; _i670 < _list668.size; ++_i670) + org.apache.thrift.protocol.TList _list684 = iprot.readListBegin(); + struct.success = new ArrayList(_list684.size); + FieldSchema _elem685; + for (int _i686 = 0; _i686 < _list684.size; ++_i686) { - _elem669 = new FieldSchema(); - _elem669.read(iprot); - struct.success.add(_elem669); + _elem685 = new FieldSchema(); + _elem685.read(iprot); + struct.success.add(_elem685); } iprot.readListEnd(); } @@ -35521,9 +35676,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 _iter671 : struct.success) + for (FieldSchema _iter687 : struct.success) { - _iter671.write(oprot); + _iter687.write(oprot); } oprot.writeListEnd(); } @@ -35578,9 +35733,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter672 : struct.success) + for (FieldSchema _iter688 : struct.success) { - _iter672.write(oprot); + _iter688.write(oprot); } } } @@ -35601,14 +35756,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 _list673 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list673.size); - FieldSchema _elem674; - for (int _i675 = 0; _i675 < _list673.size; ++_i675) + org.apache.thrift.protocol.TList _list689 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list689.size); + FieldSchema _elem690; + for (int _i691 = 0; _i691 < _list689.size; ++_i691) { - _elem674 = new FieldSchema(); - _elem674.read(iprot); - struct.success.add(_elem674); + _elem690 = new FieldSchema(); + _elem690.read(iprot); + struct.success.add(_elem690); } } struct.setSuccessIsSet(true); @@ -36762,14 +36917,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 _list676 = iprot.readListBegin(); - struct.success = new ArrayList(_list676.size); - FieldSchema _elem677; - for (int _i678 = 0; _i678 < _list676.size; ++_i678) + org.apache.thrift.protocol.TList _list692 = iprot.readListBegin(); + struct.success = new ArrayList(_list692.size); + FieldSchema _elem693; + for (int _i694 = 0; _i694 < _list692.size; ++_i694) { - _elem677 = new FieldSchema(); - _elem677.read(iprot); - struct.success.add(_elem677); + _elem693 = new FieldSchema(); + _elem693.read(iprot); + struct.success.add(_elem693); } iprot.readListEnd(); } @@ -36822,9 +36977,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 _iter679 : struct.success) + for (FieldSchema _iter695 : struct.success) { - _iter679.write(oprot); + _iter695.write(oprot); } oprot.writeListEnd(); } @@ -36879,9 +37034,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter680 : struct.success) + for (FieldSchema _iter696 : struct.success) { - _iter680.write(oprot); + _iter696.write(oprot); } } } @@ -36902,14 +37057,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 _list681 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list681.size); - FieldSchema _elem682; - for (int _i683 = 0; _i683 < _list681.size; ++_i683) + org.apache.thrift.protocol.TList _list697 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list697.size); + FieldSchema _elem698; + for (int _i699 = 0; _i699 < _list697.size; ++_i699) { - _elem682 = new FieldSchema(); - _elem682.read(iprot); - struct.success.add(_elem682); + _elem698 = new FieldSchema(); + _elem698.read(iprot); + struct.success.add(_elem698); } } struct.setSuccessIsSet(true); @@ -37954,14 +38109,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 _list684 = iprot.readListBegin(); - struct.success = new ArrayList(_list684.size); - FieldSchema _elem685; - for (int _i686 = 0; _i686 < _list684.size; ++_i686) + org.apache.thrift.protocol.TList _list700 = iprot.readListBegin(); + struct.success = new ArrayList(_list700.size); + FieldSchema _elem701; + for (int _i702 = 0; _i702 < _list700.size; ++_i702) { - _elem685 = new FieldSchema(); - _elem685.read(iprot); - struct.success.add(_elem685); + _elem701 = new FieldSchema(); + _elem701.read(iprot); + struct.success.add(_elem701); } iprot.readListEnd(); } @@ -38014,9 +38169,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 _iter687 : struct.success) + for (FieldSchema _iter703 : struct.success) { - _iter687.write(oprot); + _iter703.write(oprot); } oprot.writeListEnd(); } @@ -38071,9 +38226,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter688 : struct.success) + for (FieldSchema _iter704 : struct.success) { - _iter688.write(oprot); + _iter704.write(oprot); } } } @@ -38094,14 +38249,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 _list689 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list689.size); - FieldSchema _elem690; - for (int _i691 = 0; _i691 < _list689.size; ++_i691) + org.apache.thrift.protocol.TList _list705 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list705.size); + FieldSchema _elem706; + for (int _i707 = 0; _i707 < _list705.size; ++_i707) { - _elem690 = new FieldSchema(); - _elem690.read(iprot); - struct.success.add(_elem690); + _elem706 = new FieldSchema(); + _elem706.read(iprot); + struct.success.add(_elem706); } } struct.setSuccessIsSet(true); @@ -39255,14 +39410,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 _list692 = iprot.readListBegin(); - struct.success = new ArrayList(_list692.size); - FieldSchema _elem693; - for (int _i694 = 0; _i694 < _list692.size; ++_i694) + org.apache.thrift.protocol.TList _list708 = iprot.readListBegin(); + struct.success = new ArrayList(_list708.size); + FieldSchema _elem709; + for (int _i710 = 0; _i710 < _list708.size; ++_i710) { - _elem693 = new FieldSchema(); - _elem693.read(iprot); - struct.success.add(_elem693); + _elem709 = new FieldSchema(); + _elem709.read(iprot); + struct.success.add(_elem709); } iprot.readListEnd(); } @@ -39315,9 +39470,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 _iter695 : struct.success) + for (FieldSchema _iter711 : struct.success) { - _iter695.write(oprot); + _iter711.write(oprot); } oprot.writeListEnd(); } @@ -39372,9 +39527,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter696 : struct.success) + for (FieldSchema _iter712 : struct.success) { - _iter696.write(oprot); + _iter712.write(oprot); } } } @@ -39395,14 +39550,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 _list697 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list697.size); - FieldSchema _elem698; - for (int _i699 = 0; _i699 < _list697.size; ++_i699) + org.apache.thrift.protocol.TList _list713 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list713.size); + FieldSchema _elem714; + for (int _i715 = 0; _i715 < _list713.size; ++_i715) { - _elem698 = new FieldSchema(); - _elem698.read(iprot); - struct.success.add(_elem698); + _elem714 = new FieldSchema(); + _elem714.read(iprot); + struct.success.add(_elem714); } } struct.setSuccessIsSet(true); @@ -42127,14 +42282,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 _list700 = iprot.readListBegin(); - struct.primaryKeys = new ArrayList(_list700.size); - SQLPrimaryKey _elem701; - for (int _i702 = 0; _i702 < _list700.size; ++_i702) + org.apache.thrift.protocol.TList _list716 = iprot.readListBegin(); + struct.primaryKeys = new ArrayList(_list716.size); + SQLPrimaryKey _elem717; + for (int _i718 = 0; _i718 < _list716.size; ++_i718) { - _elem701 = new SQLPrimaryKey(); - _elem701.read(iprot); - struct.primaryKeys.add(_elem701); + _elem717 = new SQLPrimaryKey(); + _elem717.read(iprot); + struct.primaryKeys.add(_elem717); } iprot.readListEnd(); } @@ -42146,14 +42301,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 _list703 = iprot.readListBegin(); - struct.foreignKeys = new ArrayList(_list703.size); - SQLForeignKey _elem704; - for (int _i705 = 0; _i705 < _list703.size; ++_i705) + org.apache.thrift.protocol.TList _list719 = iprot.readListBegin(); + struct.foreignKeys = new ArrayList(_list719.size); + SQLForeignKey _elem720; + for (int _i721 = 0; _i721 < _list719.size; ++_i721) { - _elem704 = new SQLForeignKey(); - _elem704.read(iprot); - struct.foreignKeys.add(_elem704); + _elem720 = new SQLForeignKey(); + _elem720.read(iprot); + struct.foreignKeys.add(_elem720); } iprot.readListEnd(); } @@ -42184,9 +42339,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 _iter706 : struct.primaryKeys) + for (SQLPrimaryKey _iter722 : struct.primaryKeys) { - _iter706.write(oprot); + _iter722.write(oprot); } oprot.writeListEnd(); } @@ -42196,9 +42351,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 _iter707 : struct.foreignKeys) + for (SQLForeignKey _iter723 : struct.foreignKeys) { - _iter707.write(oprot); + _iter723.write(oprot); } oprot.writeListEnd(); } @@ -42238,18 +42393,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, create_table_with_c if (struct.isSetPrimaryKeys()) { { oprot.writeI32(struct.primaryKeys.size()); - for (SQLPrimaryKey _iter708 : struct.primaryKeys) + for (SQLPrimaryKey _iter724 : struct.primaryKeys) { - _iter708.write(oprot); + _iter724.write(oprot); } } } if (struct.isSetForeignKeys()) { { oprot.writeI32(struct.foreignKeys.size()); - for (SQLForeignKey _iter709 : struct.foreignKeys) + for (SQLForeignKey _iter725 : struct.foreignKeys) { - _iter709.write(oprot); + _iter725.write(oprot); } } } @@ -42266,28 +42421,28 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_table_with_co } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list710 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.primaryKeys = new ArrayList(_list710.size); - SQLPrimaryKey _elem711; - for (int _i712 = 0; _i712 < _list710.size; ++_i712) + org.apache.thrift.protocol.TList _list726 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.primaryKeys = new ArrayList(_list726.size); + SQLPrimaryKey _elem727; + for (int _i728 = 0; _i728 < _list726.size; ++_i728) { - _elem711 = new SQLPrimaryKey(); - _elem711.read(iprot); - struct.primaryKeys.add(_elem711); + _elem727 = new SQLPrimaryKey(); + _elem727.read(iprot); + struct.primaryKeys.add(_elem727); } } struct.setPrimaryKeysIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list713 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.foreignKeys = new ArrayList(_list713.size); - SQLForeignKey _elem714; - for (int _i715 = 0; _i715 < _list713.size; ++_i715) + org.apache.thrift.protocol.TList _list729 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.foreignKeys = new ArrayList(_list729.size); + SQLForeignKey _elem730; + for (int _i731 = 0; _i731 < _list729.size; ++_i731) { - _elem714 = new SQLForeignKey(); - _elem714.read(iprot); - struct.foreignKeys.add(_elem714); + _elem730 = new SQLForeignKey(); + _elem730.read(iprot); + struct.foreignKeys.add(_elem730); } } struct.setForeignKeysIsSet(true); @@ -48486,13 +48641,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 _list716 = iprot.readListBegin(); - struct.success = new ArrayList(_list716.size); - String _elem717; - for (int _i718 = 0; _i718 < _list716.size; ++_i718) + org.apache.thrift.protocol.TList _list732 = iprot.readListBegin(); + struct.success = new ArrayList(_list732.size); + String _elem733; + for (int _i734 = 0; _i734 < _list732.size; ++_i734) { - _elem717 = iprot.readString(); - struct.success.add(_elem717); + _elem733 = iprot.readString(); + struct.success.add(_elem733); } iprot.readListEnd(); } @@ -48527,9 +48682,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 _iter719 : struct.success) + for (String _iter735 : struct.success) { - oprot.writeString(_iter719); + oprot.writeString(_iter735); } oprot.writeListEnd(); } @@ -48568,9 +48723,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter720 : struct.success) + for (String _iter736 : struct.success) { - oprot.writeString(_iter720); + oprot.writeString(_iter736); } } } @@ -48585,13 +48740,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 _list721 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list721.size); - String _elem722; - for (int _i723 = 0; _i723 < _list721.size; ++_i723) + org.apache.thrift.protocol.TList _list737 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list737.size); + String _elem738; + for (int _i739 = 0; _i739 < _list737.size; ++_i739) { - _elem722 = iprot.readString(); - struct.success.add(_elem722); + _elem738 = iprot.readString(); + struct.success.add(_elem738); } } struct.setSuccessIsSet(true); @@ -49096,13 +49251,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 _list724 = iprot.readListBegin(); - struct.tbl_types = new ArrayList(_list724.size); - String _elem725; - for (int _i726 = 0; _i726 < _list724.size; ++_i726) + org.apache.thrift.protocol.TList _list740 = iprot.readListBegin(); + struct.tbl_types = new ArrayList(_list740.size); + String _elem741; + for (int _i742 = 0; _i742 < _list740.size; ++_i742) { - _elem725 = iprot.readString(); - struct.tbl_types.add(_elem725); + _elem741 = iprot.readString(); + struct.tbl_types.add(_elem741); } iprot.readListEnd(); } @@ -49138,9 +49293,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 _iter727 : struct.tbl_types) + for (String _iter743 : struct.tbl_types) { - oprot.writeString(_iter727); + oprot.writeString(_iter743); } oprot.writeListEnd(); } @@ -49183,9 +49338,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 _iter728 : struct.tbl_types) + for (String _iter744 : struct.tbl_types) { - oprot.writeString(_iter728); + oprot.writeString(_iter744); } } } @@ -49205,13 +49360,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list729 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_types = new ArrayList(_list729.size); - String _elem730; - for (int _i731 = 0; _i731 < _list729.size; ++_i731) + org.apache.thrift.protocol.TList _list745 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_types = new ArrayList(_list745.size); + String _elem746; + for (int _i747 = 0; _i747 < _list745.size; ++_i747) { - _elem730 = iprot.readString(); - struct.tbl_types.add(_elem730); + _elem746 = iprot.readString(); + struct.tbl_types.add(_elem746); } } struct.setTbl_typesIsSet(true); @@ -49617,14 +49772,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 _list732 = iprot.readListBegin(); - struct.success = new ArrayList(_list732.size); - TableMeta _elem733; - for (int _i734 = 0; _i734 < _list732.size; ++_i734) + org.apache.thrift.protocol.TList _list748 = iprot.readListBegin(); + struct.success = new ArrayList(_list748.size); + TableMeta _elem749; + for (int _i750 = 0; _i750 < _list748.size; ++_i750) { - _elem733 = new TableMeta(); - _elem733.read(iprot); - struct.success.add(_elem733); + _elem749 = new TableMeta(); + _elem749.read(iprot); + struct.success.add(_elem749); } iprot.readListEnd(); } @@ -49659,9 +49814,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 _iter735 : struct.success) + for (TableMeta _iter751 : struct.success) { - _iter735.write(oprot); + _iter751.write(oprot); } oprot.writeListEnd(); } @@ -49700,9 +49855,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (TableMeta _iter736 : struct.success) + for (TableMeta _iter752 : struct.success) { - _iter736.write(oprot); + _iter752.write(oprot); } } } @@ -49717,14 +49872,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 _list737 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list737.size); - TableMeta _elem738; - for (int _i739 = 0; _i739 < _list737.size; ++_i739) + org.apache.thrift.protocol.TList _list753 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list753.size); + TableMeta _elem754; + for (int _i755 = 0; _i755 < _list753.size; ++_i755) { - _elem738 = new TableMeta(); - _elem738.read(iprot); - struct.success.add(_elem738); + _elem754 = new TableMeta(); + _elem754.read(iprot); + struct.success.add(_elem754); } } struct.setSuccessIsSet(true); @@ -50490,13 +50645,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 _list740 = iprot.readListBegin(); - struct.success = new ArrayList(_list740.size); - String _elem741; - for (int _i742 = 0; _i742 < _list740.size; ++_i742) + org.apache.thrift.protocol.TList _list756 = iprot.readListBegin(); + struct.success = new ArrayList(_list756.size); + String _elem757; + for (int _i758 = 0; _i758 < _list756.size; ++_i758) { - _elem741 = iprot.readString(); - struct.success.add(_elem741); + _elem757 = iprot.readString(); + struct.success.add(_elem757); } iprot.readListEnd(); } @@ -50531,9 +50686,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 _iter743 : struct.success) + for (String _iter759 : struct.success) { - oprot.writeString(_iter743); + oprot.writeString(_iter759); } oprot.writeListEnd(); } @@ -50572,9 +50727,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter744 : struct.success) + for (String _iter760 : struct.success) { - oprot.writeString(_iter744); + oprot.writeString(_iter760); } } } @@ -50589,13 +50744,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 _list745 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list745.size); - String _elem746; - for (int _i747 = 0; _i747 < _list745.size; ++_i747) + org.apache.thrift.protocol.TList _list761 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list761.size); + String _elem762; + for (int _i763 = 0; _i763 < _list761.size; ++_i763) { - _elem746 = iprot.readString(); - struct.success.add(_elem746); + _elem762 = iprot.readString(); + struct.success.add(_elem762); } } struct.setSuccessIsSet(true); @@ -52048,13 +52203,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 _list748 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list748.size); - String _elem749; - for (int _i750 = 0; _i750 < _list748.size; ++_i750) + org.apache.thrift.protocol.TList _list764 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list764.size); + String _elem765; + for (int _i766 = 0; _i766 < _list764.size; ++_i766) { - _elem749 = iprot.readString(); - struct.tbl_names.add(_elem749); + _elem765 = iprot.readString(); + struct.tbl_names.add(_elem765); } iprot.readListEnd(); } @@ -52085,9 +52240,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 _iter751 : struct.tbl_names) + for (String _iter767 : struct.tbl_names) { - oprot.writeString(_iter751); + oprot.writeString(_iter767); } oprot.writeListEnd(); } @@ -52124,9 +52279,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 _iter752 : struct.tbl_names) + for (String _iter768 : struct.tbl_names) { - oprot.writeString(_iter752); + oprot.writeString(_iter768); } } } @@ -52142,13 +52297,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list753 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list753.size); - String _elem754; - for (int _i755 = 0; _i755 < _list753.size; ++_i755) + org.apache.thrift.protocol.TList _list769 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list769.size); + String _elem770; + for (int _i771 = 0; _i771 < _list769.size; ++_i771) { - _elem754 = iprot.readString(); - struct.tbl_names.add(_elem754); + _elem770 = iprot.readString(); + struct.tbl_names.add(_elem770); } } struct.setTbl_namesIsSet(true); @@ -52716,14 +52871,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 _list756 = iprot.readListBegin(); - struct.success = new ArrayList
(_list756.size); - Table _elem757; - for (int _i758 = 0; _i758 < _list756.size; ++_i758) + org.apache.thrift.protocol.TList _list772 = iprot.readListBegin(); + struct.success = new ArrayList
(_list772.size); + Table _elem773; + for (int _i774 = 0; _i774 < _list772.size; ++_i774) { - _elem757 = new Table(); - _elem757.read(iprot); - struct.success.add(_elem757); + _elem773 = new Table(); + _elem773.read(iprot); + struct.success.add(_elem773); } iprot.readListEnd(); } @@ -52776,9 +52931,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 _iter759 : struct.success) + for (Table _iter775 : struct.success) { - _iter759.write(oprot); + _iter775.write(oprot); } oprot.writeListEnd(); } @@ -52833,9 +52988,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter760 : struct.success) + for (Table _iter776 : struct.success) { - _iter760.write(oprot); + _iter776.write(oprot); } } } @@ -52856,14 +53011,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 _list761 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list761.size); - Table _elem762; - for (int _i763 = 0; _i763 < _list761.size; ++_i763) + org.apache.thrift.protocol.TList _list777 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list777.size); + Table _elem778; + for (int _i779 = 0; _i779 < _list777.size; ++_i779) { - _elem762 = new Table(); - _elem762.read(iprot); - struct.success.add(_elem762); + _elem778 = new Table(); + _elem778.read(iprot); + struct.success.add(_elem778); } } struct.setSuccessIsSet(true); @@ -54009,13 +54164,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 _list764 = iprot.readListBegin(); - struct.success = new ArrayList(_list764.size); - String _elem765; - for (int _i766 = 0; _i766 < _list764.size; ++_i766) + org.apache.thrift.protocol.TList _list780 = iprot.readListBegin(); + struct.success = new ArrayList(_list780.size); + String _elem781; + for (int _i782 = 0; _i782 < _list780.size; ++_i782) { - _elem765 = iprot.readString(); - struct.success.add(_elem765); + _elem781 = iprot.readString(); + struct.success.add(_elem781); } iprot.readListEnd(); } @@ -54068,9 +54223,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 _iter767 : struct.success) + for (String _iter783 : struct.success) { - oprot.writeString(_iter767); + oprot.writeString(_iter783); } oprot.writeListEnd(); } @@ -54125,9 +54280,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter768 : struct.success) + for (String _iter784 : struct.success) { - oprot.writeString(_iter768); + oprot.writeString(_iter784); } } } @@ -54148,13 +54303,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 _list769 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list769.size); - String _elem770; - for (int _i771 = 0; _i771 < _list769.size; ++_i771) + org.apache.thrift.protocol.TList _list785 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list785.size); + String _elem786; + for (int _i787 = 0; _i787 < _list785.size; ++_i787) { - _elem770 = iprot.readString(); - struct.success.add(_elem770); + _elem786 = iprot.readString(); + struct.success.add(_elem786); } } struct.setSuccessIsSet(true); @@ -60013,14 +60168,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 _list772 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list772.size); - Partition _elem773; - for (int _i774 = 0; _i774 < _list772.size; ++_i774) + org.apache.thrift.protocol.TList _list788 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list788.size); + Partition _elem789; + for (int _i790 = 0; _i790 < _list788.size; ++_i790) { - _elem773 = new Partition(); - _elem773.read(iprot); - struct.new_parts.add(_elem773); + _elem789 = new Partition(); + _elem789.read(iprot); + struct.new_parts.add(_elem789); } iprot.readListEnd(); } @@ -60046,9 +60201,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 _iter775 : struct.new_parts) + for (Partition _iter791 : struct.new_parts) { - _iter775.write(oprot); + _iter791.write(oprot); } oprot.writeListEnd(); } @@ -60079,9 +60234,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 _iter776 : struct.new_parts) + for (Partition _iter792 : struct.new_parts) { - _iter776.write(oprot); + _iter792.write(oprot); } } } @@ -60093,14 +60248,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 _list777 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list777.size); - Partition _elem778; - for (int _i779 = 0; _i779 < _list777.size; ++_i779) + org.apache.thrift.protocol.TList _list793 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list793.size); + Partition _elem794; + for (int _i795 = 0; _i795 < _list793.size; ++_i795) { - _elem778 = new Partition(); - _elem778.read(iprot); - struct.new_parts.add(_elem778); + _elem794 = new Partition(); + _elem794.read(iprot); + struct.new_parts.add(_elem794); } } struct.setNew_partsIsSet(true); @@ -61101,14 +61256,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 _list780 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list780.size); - PartitionSpec _elem781; - for (int _i782 = 0; _i782 < _list780.size; ++_i782) + org.apache.thrift.protocol.TList _list796 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list796.size); + PartitionSpec _elem797; + for (int _i798 = 0; _i798 < _list796.size; ++_i798) { - _elem781 = new PartitionSpec(); - _elem781.read(iprot); - struct.new_parts.add(_elem781); + _elem797 = new PartitionSpec(); + _elem797.read(iprot); + struct.new_parts.add(_elem797); } iprot.readListEnd(); } @@ -61134,9 +61289,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 _iter783 : struct.new_parts) + for (PartitionSpec _iter799 : struct.new_parts) { - _iter783.write(oprot); + _iter799.write(oprot); } oprot.writeListEnd(); } @@ -61167,9 +61322,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 _iter784 : struct.new_parts) + for (PartitionSpec _iter800 : struct.new_parts) { - _iter784.write(oprot); + _iter800.write(oprot); } } } @@ -61181,14 +61336,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 _list785 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list785.size); - PartitionSpec _elem786; - for (int _i787 = 0; _i787 < _list785.size; ++_i787) + org.apache.thrift.protocol.TList _list801 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list801.size); + PartitionSpec _elem802; + for (int _i803 = 0; _i803 < _list801.size; ++_i803) { - _elem786 = new PartitionSpec(); - _elem786.read(iprot); - struct.new_parts.add(_elem786); + _elem802 = new PartitionSpec(); + _elem802.read(iprot); + struct.new_parts.add(_elem802); } } struct.setNew_partsIsSet(true); @@ -62364,13 +62519,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 _list788 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list788.size); - String _elem789; - for (int _i790 = 0; _i790 < _list788.size; ++_i790) + org.apache.thrift.protocol.TList _list804 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list804.size); + String _elem805; + for (int _i806 = 0; _i806 < _list804.size; ++_i806) { - _elem789 = iprot.readString(); - struct.part_vals.add(_elem789); + _elem805 = iprot.readString(); + struct.part_vals.add(_elem805); } iprot.readListEnd(); } @@ -62406,9 +62561,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 _iter791 : struct.part_vals) + for (String _iter807 : struct.part_vals) { - oprot.writeString(_iter791); + oprot.writeString(_iter807); } oprot.writeListEnd(); } @@ -62451,9 +62606,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 _iter792 : struct.part_vals) + for (String _iter808 : struct.part_vals) { - oprot.writeString(_iter792); + oprot.writeString(_iter808); } } } @@ -62473,13 +62628,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list793 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list793.size); - String _elem794; - for (int _i795 = 0; _i795 < _list793.size; ++_i795) + org.apache.thrift.protocol.TList _list809 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list809.size); + String _elem810; + for (int _i811 = 0; _i811 < _list809.size; ++_i811) { - _elem794 = iprot.readString(); - struct.part_vals.add(_elem794); + _elem810 = iprot.readString(); + struct.part_vals.add(_elem810); } } struct.setPart_valsIsSet(true); @@ -64788,13 +64943,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 _list796 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list796.size); - String _elem797; - for (int _i798 = 0; _i798 < _list796.size; ++_i798) + org.apache.thrift.protocol.TList _list812 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list812.size); + String _elem813; + for (int _i814 = 0; _i814 < _list812.size; ++_i814) { - _elem797 = iprot.readString(); - struct.part_vals.add(_elem797); + _elem813 = iprot.readString(); + struct.part_vals.add(_elem813); } iprot.readListEnd(); } @@ -64839,9 +64994,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 _iter799 : struct.part_vals) + for (String _iter815 : struct.part_vals) { - oprot.writeString(_iter799); + oprot.writeString(_iter815); } oprot.writeListEnd(); } @@ -64892,9 +65047,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 _iter800 : struct.part_vals) + for (String _iter816 : struct.part_vals) { - oprot.writeString(_iter800); + oprot.writeString(_iter816); } } } @@ -64917,13 +65072,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list801 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list801.size); - String _elem802; - for (int _i803 = 0; _i803 < _list801.size; ++_i803) + org.apache.thrift.protocol.TList _list817 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list817.size); + String _elem818; + for (int _i819 = 0; _i819 < _list817.size; ++_i819) { - _elem802 = iprot.readString(); - struct.part_vals.add(_elem802); + _elem818 = iprot.readString(); + struct.part_vals.add(_elem818); } } struct.setPart_valsIsSet(true); @@ -68793,13 +68948,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 _list804 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list804.size); - String _elem805; - for (int _i806 = 0; _i806 < _list804.size; ++_i806) + org.apache.thrift.protocol.TList _list820 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list820.size); + String _elem821; + for (int _i822 = 0; _i822 < _list820.size; ++_i822) { - _elem805 = iprot.readString(); - struct.part_vals.add(_elem805); + _elem821 = iprot.readString(); + struct.part_vals.add(_elem821); } iprot.readListEnd(); } @@ -68843,9 +68998,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 _iter807 : struct.part_vals) + for (String _iter823 : struct.part_vals) { - oprot.writeString(_iter807); + oprot.writeString(_iter823); } oprot.writeListEnd(); } @@ -68894,9 +69049,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 _iter808 : struct.part_vals) + for (String _iter824 : struct.part_vals) { - oprot.writeString(_iter808); + oprot.writeString(_iter824); } } } @@ -68919,13 +69074,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list809 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list809.size); - String _elem810; - for (int _i811 = 0; _i811 < _list809.size; ++_i811) + org.apache.thrift.protocol.TList _list825 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list825.size); + String _elem826; + for (int _i827 = 0; _i827 < _list825.size; ++_i827) { - _elem810 = iprot.readString(); - struct.part_vals.add(_elem810); + _elem826 = iprot.readString(); + struct.part_vals.add(_elem826); } } struct.setPart_valsIsSet(true); @@ -70164,13 +70319,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 _list812 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list812.size); - String _elem813; - for (int _i814 = 0; _i814 < _list812.size; ++_i814) + org.apache.thrift.protocol.TList _list828 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list828.size); + String _elem829; + for (int _i830 = 0; _i830 < _list828.size; ++_i830) { - _elem813 = iprot.readString(); - struct.part_vals.add(_elem813); + _elem829 = iprot.readString(); + struct.part_vals.add(_elem829); } iprot.readListEnd(); } @@ -70223,9 +70378,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 _iter815 : struct.part_vals) + for (String _iter831 : struct.part_vals) { - oprot.writeString(_iter815); + oprot.writeString(_iter831); } oprot.writeListEnd(); } @@ -70282,9 +70437,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 _iter816 : struct.part_vals) + for (String _iter832 : struct.part_vals) { - oprot.writeString(_iter816); + oprot.writeString(_iter832); } } } @@ -70310,13 +70465,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list817 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list817.size); - String _elem818; - for (int _i819 = 0; _i819 < _list817.size; ++_i819) + org.apache.thrift.protocol.TList _list833 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list833.size); + String _elem834; + for (int _i835 = 0; _i835 < _list833.size; ++_i835) { - _elem818 = iprot.readString(); - struct.part_vals.add(_elem818); + _elem834 = iprot.readString(); + struct.part_vals.add(_elem834); } } struct.setPart_valsIsSet(true); @@ -74918,13 +75073,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 _list820 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list820.size); - String _elem821; - for (int _i822 = 0; _i822 < _list820.size; ++_i822) + org.apache.thrift.protocol.TList _list836 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list836.size); + String _elem837; + for (int _i838 = 0; _i838 < _list836.size; ++_i838) { - _elem821 = iprot.readString(); - struct.part_vals.add(_elem821); + _elem837 = iprot.readString(); + struct.part_vals.add(_elem837); } iprot.readListEnd(); } @@ -74960,9 +75115,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 _iter823 : struct.part_vals) + for (String _iter839 : struct.part_vals) { - oprot.writeString(_iter823); + oprot.writeString(_iter839); } oprot.writeListEnd(); } @@ -75005,9 +75160,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 _iter824 : struct.part_vals) + for (String _iter840 : struct.part_vals) { - oprot.writeString(_iter824); + oprot.writeString(_iter840); } } } @@ -75027,13 +75182,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list825 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list825.size); - String _elem826; - for (int _i827 = 0; _i827 < _list825.size; ++_i827) + org.apache.thrift.protocol.TList _list841 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list841.size); + String _elem842; + for (int _i843 = 0; _i843 < _list841.size; ++_i843) { - _elem826 = iprot.readString(); - struct.part_vals.add(_elem826); + _elem842 = iprot.readString(); + struct.part_vals.add(_elem842); } } struct.setPart_valsIsSet(true); @@ -76251,15 +76406,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 _map828 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map828.size); - String _key829; - String _val830; - for (int _i831 = 0; _i831 < _map828.size; ++_i831) + org.apache.thrift.protocol.TMap _map844 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map844.size); + String _key845; + String _val846; + for (int _i847 = 0; _i847 < _map844.size; ++_i847) { - _key829 = iprot.readString(); - _val830 = iprot.readString(); - struct.partitionSpecs.put(_key829, _val830); + _key845 = iprot.readString(); + _val846 = iprot.readString(); + struct.partitionSpecs.put(_key845, _val846); } iprot.readMapEnd(); } @@ -76317,10 +76472,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 _iter832 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter848 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter832.getKey()); - oprot.writeString(_iter832.getValue()); + oprot.writeString(_iter848.getKey()); + oprot.writeString(_iter848.getValue()); } oprot.writeMapEnd(); } @@ -76383,10 +76538,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter833 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter849 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter833.getKey()); - oprot.writeString(_iter833.getValue()); + oprot.writeString(_iter849.getKey()); + oprot.writeString(_iter849.getValue()); } } } @@ -76410,15 +76565,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 _map834 = 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*_map834.size); - String _key835; - String _val836; - for (int _i837 = 0; _i837 < _map834.size; ++_i837) + org.apache.thrift.protocol.TMap _map850 = 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*_map850.size); + String _key851; + String _val852; + for (int _i853 = 0; _i853 < _map850.size; ++_i853) { - _key835 = iprot.readString(); - _val836 = iprot.readString(); - struct.partitionSpecs.put(_key835, _val836); + _key851 = iprot.readString(); + _val852 = iprot.readString(); + struct.partitionSpecs.put(_key851, _val852); } } struct.setPartitionSpecsIsSet(true); @@ -77864,15 +78019,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 _map838 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map838.size); - String _key839; - String _val840; - for (int _i841 = 0; _i841 < _map838.size; ++_i841) + org.apache.thrift.protocol.TMap _map854 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map854.size); + String _key855; + String _val856; + for (int _i857 = 0; _i857 < _map854.size; ++_i857) { - _key839 = iprot.readString(); - _val840 = iprot.readString(); - struct.partitionSpecs.put(_key839, _val840); + _key855 = iprot.readString(); + _val856 = iprot.readString(); + struct.partitionSpecs.put(_key855, _val856); } iprot.readMapEnd(); } @@ -77930,10 +78085,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 _iter842 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter858 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter842.getKey()); - oprot.writeString(_iter842.getValue()); + oprot.writeString(_iter858.getKey()); + oprot.writeString(_iter858.getValue()); } oprot.writeMapEnd(); } @@ -77996,10 +78151,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter843 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter859 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter843.getKey()); - oprot.writeString(_iter843.getValue()); + oprot.writeString(_iter859.getKey()); + oprot.writeString(_iter859.getValue()); } } } @@ -78023,15 +78178,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 _map844 = 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*_map844.size); - String _key845; - String _val846; - for (int _i847 = 0; _i847 < _map844.size; ++_i847) + org.apache.thrift.protocol.TMap _map860 = 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*_map860.size); + String _key861; + String _val862; + for (int _i863 = 0; _i863 < _map860.size; ++_i863) { - _key845 = iprot.readString(); - _val846 = iprot.readString(); - struct.partitionSpecs.put(_key845, _val846); + _key861 = iprot.readString(); + _val862 = iprot.readString(); + struct.partitionSpecs.put(_key861, _val862); } } struct.setPartitionSpecsIsSet(true); @@ -78696,14 +78851,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 _list848 = iprot.readListBegin(); - struct.success = new ArrayList(_list848.size); - Partition _elem849; - for (int _i850 = 0; _i850 < _list848.size; ++_i850) + org.apache.thrift.protocol.TList _list864 = iprot.readListBegin(); + struct.success = new ArrayList(_list864.size); + Partition _elem865; + for (int _i866 = 0; _i866 < _list864.size; ++_i866) { - _elem849 = new Partition(); - _elem849.read(iprot); - struct.success.add(_elem849); + _elem865 = new Partition(); + _elem865.read(iprot); + struct.success.add(_elem865); } iprot.readListEnd(); } @@ -78765,9 +78920,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 _iter851 : struct.success) + for (Partition _iter867 : struct.success) { - _iter851.write(oprot); + _iter867.write(oprot); } oprot.writeListEnd(); } @@ -78830,9 +78985,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter852 : struct.success) + for (Partition _iter868 : struct.success) { - _iter852.write(oprot); + _iter868.write(oprot); } } } @@ -78856,14 +79011,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 _list853 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list853.size); - Partition _elem854; - for (int _i855 = 0; _i855 < _list853.size; ++_i855) + org.apache.thrift.protocol.TList _list869 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list869.size); + Partition _elem870; + for (int _i871 = 0; _i871 < _list869.size; ++_i871) { - _elem854 = new Partition(); - _elem854.read(iprot); - struct.success.add(_elem854); + _elem870 = new Partition(); + _elem870.read(iprot); + struct.success.add(_elem870); } } struct.setSuccessIsSet(true); @@ -79562,13 +79717,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 _list856 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list856.size); - String _elem857; - for (int _i858 = 0; _i858 < _list856.size; ++_i858) + org.apache.thrift.protocol.TList _list872 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list872.size); + String _elem873; + for (int _i874 = 0; _i874 < _list872.size; ++_i874) { - _elem857 = iprot.readString(); - struct.part_vals.add(_elem857); + _elem873 = iprot.readString(); + struct.part_vals.add(_elem873); } iprot.readListEnd(); } @@ -79588,13 +79743,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 _list859 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list859.size); - String _elem860; - for (int _i861 = 0; _i861 < _list859.size; ++_i861) + org.apache.thrift.protocol.TList _list875 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list875.size); + String _elem876; + for (int _i877 = 0; _i877 < _list875.size; ++_i877) { - _elem860 = iprot.readString(); - struct.group_names.add(_elem860); + _elem876 = iprot.readString(); + struct.group_names.add(_elem876); } iprot.readListEnd(); } @@ -79630,9 +79785,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 _iter862 : struct.part_vals) + for (String _iter878 : struct.part_vals) { - oprot.writeString(_iter862); + oprot.writeString(_iter878); } oprot.writeListEnd(); } @@ -79647,9 +79802,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 _iter863 : struct.group_names) + for (String _iter879 : struct.group_names) { - oprot.writeString(_iter863); + oprot.writeString(_iter879); } oprot.writeListEnd(); } @@ -79698,9 +79853,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 _iter864 : struct.part_vals) + for (String _iter880 : struct.part_vals) { - oprot.writeString(_iter864); + oprot.writeString(_iter880); } } } @@ -79710,9 +79865,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 _iter865 : struct.group_names) + for (String _iter881 : struct.group_names) { - oprot.writeString(_iter865); + oprot.writeString(_iter881); } } } @@ -79732,13 +79887,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list866 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list866.size); - String _elem867; - for (int _i868 = 0; _i868 < _list866.size; ++_i868) + org.apache.thrift.protocol.TList _list882 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list882.size); + String _elem883; + for (int _i884 = 0; _i884 < _list882.size; ++_i884) { - _elem867 = iprot.readString(); - struct.part_vals.add(_elem867); + _elem883 = iprot.readString(); + struct.part_vals.add(_elem883); } } struct.setPart_valsIsSet(true); @@ -79749,13 +79904,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list869 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list869.size); - String _elem870; - for (int _i871 = 0; _i871 < _list869.size; ++_i871) + org.apache.thrift.protocol.TList _list885 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list885.size); + String _elem886; + for (int _i887 = 0; _i887 < _list885.size; ++_i887) { - _elem870 = iprot.readString(); - struct.group_names.add(_elem870); + _elem886 = iprot.readString(); + struct.group_names.add(_elem886); } } struct.setGroup_namesIsSet(true); @@ -82524,14 +82679,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 _list872 = iprot.readListBegin(); - struct.success = new ArrayList(_list872.size); - Partition _elem873; - for (int _i874 = 0; _i874 < _list872.size; ++_i874) + org.apache.thrift.protocol.TList _list888 = iprot.readListBegin(); + struct.success = new ArrayList(_list888.size); + Partition _elem889; + for (int _i890 = 0; _i890 < _list888.size; ++_i890) { - _elem873 = new Partition(); - _elem873.read(iprot); - struct.success.add(_elem873); + _elem889 = new Partition(); + _elem889.read(iprot); + struct.success.add(_elem889); } iprot.readListEnd(); } @@ -82575,9 +82730,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 _iter875 : struct.success) + for (Partition _iter891 : struct.success) { - _iter875.write(oprot); + _iter891.write(oprot); } oprot.writeListEnd(); } @@ -82624,9 +82779,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter876 : struct.success) + for (Partition _iter892 : struct.success) { - _iter876.write(oprot); + _iter892.write(oprot); } } } @@ -82644,14 +82799,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 _list877 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list877.size); - Partition _elem878; - for (int _i879 = 0; _i879 < _list877.size; ++_i879) + org.apache.thrift.protocol.TList _list893 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list893.size); + Partition _elem894; + for (int _i895 = 0; _i895 < _list893.size; ++_i895) { - _elem878 = new Partition(); - _elem878.read(iprot); - struct.success.add(_elem878); + _elem894 = new Partition(); + _elem894.read(iprot); + struct.success.add(_elem894); } } struct.setSuccessIsSet(true); @@ -83341,13 +83496,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 _list880 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list880.size); - String _elem881; - for (int _i882 = 0; _i882 < _list880.size; ++_i882) + org.apache.thrift.protocol.TList _list896 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list896.size); + String _elem897; + for (int _i898 = 0; _i898 < _list896.size; ++_i898) { - _elem881 = iprot.readString(); - struct.group_names.add(_elem881); + _elem897 = iprot.readString(); + struct.group_names.add(_elem897); } iprot.readListEnd(); } @@ -83391,9 +83546,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 _iter883 : struct.group_names) + for (String _iter899 : struct.group_names) { - oprot.writeString(_iter883); + oprot.writeString(_iter899); } oprot.writeListEnd(); } @@ -83448,9 +83603,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 _iter884 : struct.group_names) + for (String _iter900 : struct.group_names) { - oprot.writeString(_iter884); + oprot.writeString(_iter900); } } } @@ -83478,13 +83633,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list885 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list885.size); - String _elem886; - for (int _i887 = 0; _i887 < _list885.size; ++_i887) + org.apache.thrift.protocol.TList _list901 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list901.size); + String _elem902; + for (int _i903 = 0; _i903 < _list901.size; ++_i903) { - _elem886 = iprot.readString(); - struct.group_names.add(_elem886); + _elem902 = iprot.readString(); + struct.group_names.add(_elem902); } } struct.setGroup_namesIsSet(true); @@ -83971,14 +84126,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 _list888 = iprot.readListBegin(); - struct.success = new ArrayList(_list888.size); - Partition _elem889; - for (int _i890 = 0; _i890 < _list888.size; ++_i890) + org.apache.thrift.protocol.TList _list904 = iprot.readListBegin(); + struct.success = new ArrayList(_list904.size); + Partition _elem905; + for (int _i906 = 0; _i906 < _list904.size; ++_i906) { - _elem889 = new Partition(); - _elem889.read(iprot); - struct.success.add(_elem889); + _elem905 = new Partition(); + _elem905.read(iprot); + struct.success.add(_elem905); } iprot.readListEnd(); } @@ -84022,9 +84177,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 _iter891 : struct.success) + for (Partition _iter907 : struct.success) { - _iter891.write(oprot); + _iter907.write(oprot); } oprot.writeListEnd(); } @@ -84071,9 +84226,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter892 : struct.success) + for (Partition _iter908 : struct.success) { - _iter892.write(oprot); + _iter908.write(oprot); } } } @@ -84091,14 +84246,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 _list893 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list893.size); - Partition _elem894; - for (int _i895 = 0; _i895 < _list893.size; ++_i895) + org.apache.thrift.protocol.TList _list909 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list909.size); + Partition _elem910; + for (int _i911 = 0; _i911 < _list909.size; ++_i911) { - _elem894 = new Partition(); - _elem894.read(iprot); - struct.success.add(_elem894); + _elem910 = new Partition(); + _elem910.read(iprot); + struct.success.add(_elem910); } } struct.setSuccessIsSet(true); @@ -85161,14 +85316,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 _list896 = iprot.readListBegin(); - struct.success = new ArrayList(_list896.size); - PartitionSpec _elem897; - for (int _i898 = 0; _i898 < _list896.size; ++_i898) + org.apache.thrift.protocol.TList _list912 = iprot.readListBegin(); + struct.success = new ArrayList(_list912.size); + PartitionSpec _elem913; + for (int _i914 = 0; _i914 < _list912.size; ++_i914) { - _elem897 = new PartitionSpec(); - _elem897.read(iprot); - struct.success.add(_elem897); + _elem913 = new PartitionSpec(); + _elem913.read(iprot); + struct.success.add(_elem913); } iprot.readListEnd(); } @@ -85212,9 +85367,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 _iter899 : struct.success) + for (PartitionSpec _iter915 : struct.success) { - _iter899.write(oprot); + _iter915.write(oprot); } oprot.writeListEnd(); } @@ -85261,9 +85416,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter900 : struct.success) + for (PartitionSpec _iter916 : struct.success) { - _iter900.write(oprot); + _iter916.write(oprot); } } } @@ -85281,14 +85436,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 _list901 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list901.size); - PartitionSpec _elem902; - for (int _i903 = 0; _i903 < _list901.size; ++_i903) + org.apache.thrift.protocol.TList _list917 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list917.size); + PartitionSpec _elem918; + for (int _i919 = 0; _i919 < _list917.size; ++_i919) { - _elem902 = new PartitionSpec(); - _elem902.read(iprot); - struct.success.add(_elem902); + _elem918 = new PartitionSpec(); + _elem918.read(iprot); + struct.success.add(_elem918); } } struct.setSuccessIsSet(true); @@ -86267,13 +86422,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 _list904 = iprot.readListBegin(); - struct.success = new ArrayList(_list904.size); - String _elem905; - for (int _i906 = 0; _i906 < _list904.size; ++_i906) + org.apache.thrift.protocol.TList _list920 = iprot.readListBegin(); + struct.success = new ArrayList(_list920.size); + String _elem921; + for (int _i922 = 0; _i922 < _list920.size; ++_i922) { - _elem905 = iprot.readString(); - struct.success.add(_elem905); + _elem921 = iprot.readString(); + struct.success.add(_elem921); } iprot.readListEnd(); } @@ -86308,9 +86463,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 _iter907 : struct.success) + for (String _iter923 : struct.success) { - oprot.writeString(_iter907); + oprot.writeString(_iter923); } oprot.writeListEnd(); } @@ -86349,9 +86504,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter908 : struct.success) + for (String _iter924 : struct.success) { - oprot.writeString(_iter908); + oprot.writeString(_iter924); } } } @@ -86366,13 +86521,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 _list909 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list909.size); - String _elem910; - for (int _i911 = 0; _i911 < _list909.size; ++_i911) + org.apache.thrift.protocol.TList _list925 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list925.size); + String _elem926; + for (int _i927 = 0; _i927 < _list925.size; ++_i927) { - _elem910 = iprot.readString(); - struct.success.add(_elem910); + _elem926 = iprot.readString(); + struct.success.add(_elem926); } } struct.setSuccessIsSet(true); @@ -86960,13 +87115,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 _list912 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list912.size); - String _elem913; - for (int _i914 = 0; _i914 < _list912.size; ++_i914) + org.apache.thrift.protocol.TList _list928 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list928.size); + String _elem929; + for (int _i930 = 0; _i930 < _list928.size; ++_i930) { - _elem913 = iprot.readString(); - struct.part_vals.add(_elem913); + _elem929 = iprot.readString(); + struct.part_vals.add(_elem929); } iprot.readListEnd(); } @@ -87010,9 +87165,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 _iter915 : struct.part_vals) + for (String _iter931 : struct.part_vals) { - oprot.writeString(_iter915); + oprot.writeString(_iter931); } oprot.writeListEnd(); } @@ -87061,9 +87216,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 _iter916 : struct.part_vals) + for (String _iter932 : struct.part_vals) { - oprot.writeString(_iter916); + oprot.writeString(_iter932); } } } @@ -87086,13 +87241,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list917 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list917.size); - String _elem918; - for (int _i919 = 0; _i919 < _list917.size; ++_i919) + org.apache.thrift.protocol.TList _list933 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list933.size); + String _elem934; + for (int _i935 = 0; _i935 < _list933.size; ++_i935) { - _elem918 = iprot.readString(); - struct.part_vals.add(_elem918); + _elem934 = iprot.readString(); + struct.part_vals.add(_elem934); } } struct.setPart_valsIsSet(true); @@ -87583,14 +87738,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 _list920 = iprot.readListBegin(); - struct.success = new ArrayList(_list920.size); - Partition _elem921; - for (int _i922 = 0; _i922 < _list920.size; ++_i922) + org.apache.thrift.protocol.TList _list936 = iprot.readListBegin(); + struct.success = new ArrayList(_list936.size); + Partition _elem937; + for (int _i938 = 0; _i938 < _list936.size; ++_i938) { - _elem921 = new Partition(); - _elem921.read(iprot); - struct.success.add(_elem921); + _elem937 = new Partition(); + _elem937.read(iprot); + struct.success.add(_elem937); } iprot.readListEnd(); } @@ -87634,9 +87789,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 _iter923 : struct.success) + for (Partition _iter939 : struct.success) { - _iter923.write(oprot); + _iter939.write(oprot); } oprot.writeListEnd(); } @@ -87683,9 +87838,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter924 : struct.success) + for (Partition _iter940 : struct.success) { - _iter924.write(oprot); + _iter940.write(oprot); } } } @@ -87703,14 +87858,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 _list925 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list925.size); - Partition _elem926; - for (int _i927 = 0; _i927 < _list925.size; ++_i927) + org.apache.thrift.protocol.TList _list941 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list941.size); + Partition _elem942; + for (int _i943 = 0; _i943 < _list941.size; ++_i943) { - _elem926 = new Partition(); - _elem926.read(iprot); - struct.success.add(_elem926); + _elem942 = new Partition(); + _elem942.read(iprot); + struct.success.add(_elem942); } } struct.setSuccessIsSet(true); @@ -88482,13 +88637,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 _list928 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list928.size); - String _elem929; - for (int _i930 = 0; _i930 < _list928.size; ++_i930) + org.apache.thrift.protocol.TList _list944 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list944.size); + String _elem945; + for (int _i946 = 0; _i946 < _list944.size; ++_i946) { - _elem929 = iprot.readString(); - struct.part_vals.add(_elem929); + _elem945 = iprot.readString(); + struct.part_vals.add(_elem945); } iprot.readListEnd(); } @@ -88516,13 +88671,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 _list931 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list931.size); - String _elem932; - for (int _i933 = 0; _i933 < _list931.size; ++_i933) + org.apache.thrift.protocol.TList _list947 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list947.size); + String _elem948; + for (int _i949 = 0; _i949 < _list947.size; ++_i949) { - _elem932 = iprot.readString(); - struct.group_names.add(_elem932); + _elem948 = iprot.readString(); + struct.group_names.add(_elem948); } iprot.readListEnd(); } @@ -88558,9 +88713,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 _iter934 : struct.part_vals) + for (String _iter950 : struct.part_vals) { - oprot.writeString(_iter934); + oprot.writeString(_iter950); } oprot.writeListEnd(); } @@ -88578,9 +88733,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 _iter935 : struct.group_names) + for (String _iter951 : struct.group_names) { - oprot.writeString(_iter935); + oprot.writeString(_iter951); } oprot.writeListEnd(); } @@ -88632,9 +88787,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 _iter936 : struct.part_vals) + for (String _iter952 : struct.part_vals) { - oprot.writeString(_iter936); + oprot.writeString(_iter952); } } } @@ -88647,9 +88802,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 _iter937 : struct.group_names) + for (String _iter953 : struct.group_names) { - oprot.writeString(_iter937); + oprot.writeString(_iter953); } } } @@ -88669,13 +88824,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list938 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list938.size); - String _elem939; - for (int _i940 = 0; _i940 < _list938.size; ++_i940) + org.apache.thrift.protocol.TList _list954 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list954.size); + String _elem955; + for (int _i956 = 0; _i956 < _list954.size; ++_i956) { - _elem939 = iprot.readString(); - struct.part_vals.add(_elem939); + _elem955 = iprot.readString(); + struct.part_vals.add(_elem955); } } struct.setPart_valsIsSet(true); @@ -88690,13 +88845,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list941 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list941.size); - String _elem942; - for (int _i943 = 0; _i943 < _list941.size; ++_i943) + org.apache.thrift.protocol.TList _list957 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list957.size); + String _elem958; + for (int _i959 = 0; _i959 < _list957.size; ++_i959) { - _elem942 = iprot.readString(); - struct.group_names.add(_elem942); + _elem958 = iprot.readString(); + struct.group_names.add(_elem958); } } struct.setGroup_namesIsSet(true); @@ -89183,14 +89338,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 _list944 = iprot.readListBegin(); - struct.success = new ArrayList(_list944.size); - Partition _elem945; - for (int _i946 = 0; _i946 < _list944.size; ++_i946) + org.apache.thrift.protocol.TList _list960 = iprot.readListBegin(); + struct.success = new ArrayList(_list960.size); + Partition _elem961; + for (int _i962 = 0; _i962 < _list960.size; ++_i962) { - _elem945 = new Partition(); - _elem945.read(iprot); - struct.success.add(_elem945); + _elem961 = new Partition(); + _elem961.read(iprot); + struct.success.add(_elem961); } iprot.readListEnd(); } @@ -89234,9 +89389,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 _iter947 : struct.success) + for (Partition _iter963 : struct.success) { - _iter947.write(oprot); + _iter963.write(oprot); } oprot.writeListEnd(); } @@ -89283,9 +89438,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter948 : struct.success) + for (Partition _iter964 : struct.success) { - _iter948.write(oprot); + _iter964.write(oprot); } } } @@ -89303,14 +89458,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 _list949 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list949.size); - Partition _elem950; - for (int _i951 = 0; _i951 < _list949.size; ++_i951) + org.apache.thrift.protocol.TList _list965 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list965.size); + Partition _elem966; + for (int _i967 = 0; _i967 < _list965.size; ++_i967) { - _elem950 = new Partition(); - _elem950.read(iprot); - struct.success.add(_elem950); + _elem966 = new Partition(); + _elem966.read(iprot); + struct.success.add(_elem966); } } struct.setSuccessIsSet(true); @@ -89903,13 +90058,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 _list952 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list952.size); - String _elem953; - for (int _i954 = 0; _i954 < _list952.size; ++_i954) + org.apache.thrift.protocol.TList _list968 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list968.size); + String _elem969; + for (int _i970 = 0; _i970 < _list968.size; ++_i970) { - _elem953 = iprot.readString(); - struct.part_vals.add(_elem953); + _elem969 = iprot.readString(); + struct.part_vals.add(_elem969); } iprot.readListEnd(); } @@ -89953,9 +90108,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 _iter955 : struct.part_vals) + for (String _iter971 : struct.part_vals) { - oprot.writeString(_iter955); + oprot.writeString(_iter971); } oprot.writeListEnd(); } @@ -90004,9 +90159,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 _iter956 : struct.part_vals) + for (String _iter972 : struct.part_vals) { - oprot.writeString(_iter956); + oprot.writeString(_iter972); } } } @@ -90029,13 +90184,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list957 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list957.size); - String _elem958; - for (int _i959 = 0; _i959 < _list957.size; ++_i959) + org.apache.thrift.protocol.TList _list973 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list973.size); + String _elem974; + for (int _i975 = 0; _i975 < _list973.size; ++_i975) { - _elem958 = iprot.readString(); - struct.part_vals.add(_elem958); + _elem974 = iprot.readString(); + struct.part_vals.add(_elem974); } } struct.setPart_valsIsSet(true); @@ -90523,13 +90678,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 _list960 = iprot.readListBegin(); - struct.success = new ArrayList(_list960.size); - String _elem961; - for (int _i962 = 0; _i962 < _list960.size; ++_i962) + org.apache.thrift.protocol.TList _list976 = iprot.readListBegin(); + struct.success = new ArrayList(_list976.size); + String _elem977; + for (int _i978 = 0; _i978 < _list976.size; ++_i978) { - _elem961 = iprot.readString(); - struct.success.add(_elem961); + _elem977 = iprot.readString(); + struct.success.add(_elem977); } iprot.readListEnd(); } @@ -90573,9 +90728,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 _iter963 : struct.success) + for (String _iter979 : struct.success) { - oprot.writeString(_iter963); + oprot.writeString(_iter979); } oprot.writeListEnd(); } @@ -90622,9 +90777,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter964 : struct.success) + for (String _iter980 : struct.success) { - oprot.writeString(_iter964); + oprot.writeString(_iter980); } } } @@ -90642,13 +90797,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 _list965 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list965.size); - String _elem966; - for (int _i967 = 0; _i967 < _list965.size; ++_i967) + org.apache.thrift.protocol.TList _list981 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list981.size); + String _elem982; + for (int _i983 = 0; _i983 < _list981.size; ++_i983) { - _elem966 = iprot.readString(); - struct.success.add(_elem966); + _elem982 = iprot.readString(); + struct.success.add(_elem982); } } struct.setSuccessIsSet(true); @@ -91815,14 +91970,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 _list968 = iprot.readListBegin(); - struct.success = new ArrayList(_list968.size); - Partition _elem969; - for (int _i970 = 0; _i970 < _list968.size; ++_i970) + org.apache.thrift.protocol.TList _list984 = iprot.readListBegin(); + struct.success = new ArrayList(_list984.size); + Partition _elem985; + for (int _i986 = 0; _i986 < _list984.size; ++_i986) { - _elem969 = new Partition(); - _elem969.read(iprot); - struct.success.add(_elem969); + _elem985 = new Partition(); + _elem985.read(iprot); + struct.success.add(_elem985); } iprot.readListEnd(); } @@ -91866,9 +92021,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 _iter971 : struct.success) + for (Partition _iter987 : struct.success) { - _iter971.write(oprot); + _iter987.write(oprot); } oprot.writeListEnd(); } @@ -91915,9 +92070,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter972 : struct.success) + for (Partition _iter988 : struct.success) { - _iter972.write(oprot); + _iter988.write(oprot); } } } @@ -91935,14 +92090,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 _list973 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list973.size); - Partition _elem974; - for (int _i975 = 0; _i975 < _list973.size; ++_i975) + org.apache.thrift.protocol.TList _list989 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list989.size); + Partition _elem990; + for (int _i991 = 0; _i991 < _list989.size; ++_i991) { - _elem974 = new Partition(); - _elem974.read(iprot); - struct.success.add(_elem974); + _elem990 = new Partition(); + _elem990.read(iprot); + struct.success.add(_elem990); } } struct.setSuccessIsSet(true); @@ -93109,14 +93264,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 _list976 = iprot.readListBegin(); - struct.success = new ArrayList(_list976.size); - PartitionSpec _elem977; - for (int _i978 = 0; _i978 < _list976.size; ++_i978) + org.apache.thrift.protocol.TList _list992 = iprot.readListBegin(); + struct.success = new ArrayList(_list992.size); + PartitionSpec _elem993; + for (int _i994 = 0; _i994 < _list992.size; ++_i994) { - _elem977 = new PartitionSpec(); - _elem977.read(iprot); - struct.success.add(_elem977); + _elem993 = new PartitionSpec(); + _elem993.read(iprot); + struct.success.add(_elem993); } iprot.readListEnd(); } @@ -93160,9 +93315,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 _iter979 : struct.success) + for (PartitionSpec _iter995 : struct.success) { - _iter979.write(oprot); + _iter995.write(oprot); } oprot.writeListEnd(); } @@ -93209,9 +93364,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 _iter980 : struct.success) + for (PartitionSpec _iter996 : struct.success) { - _iter980.write(oprot); + _iter996.write(oprot); } } } @@ -93229,14 +93384,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 _list981 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list981.size); - PartitionSpec _elem982; - for (int _i983 = 0; _i983 < _list981.size; ++_i983) + org.apache.thrift.protocol.TList _list997 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list997.size); + PartitionSpec _elem998; + for (int _i999 = 0; _i999 < _list997.size; ++_i999) { - _elem982 = new PartitionSpec(); - _elem982.read(iprot); - struct.success.add(_elem982); + _elem998 = new PartitionSpec(); + _elem998.read(iprot); + struct.success.add(_elem998); } } struct.setSuccessIsSet(true); @@ -95820,13 +95975,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 _list984 = iprot.readListBegin(); - struct.names = new ArrayList(_list984.size); - String _elem985; - for (int _i986 = 0; _i986 < _list984.size; ++_i986) + org.apache.thrift.protocol.TList _list1000 = iprot.readListBegin(); + struct.names = new ArrayList(_list1000.size); + String _elem1001; + for (int _i1002 = 0; _i1002 < _list1000.size; ++_i1002) { - _elem985 = iprot.readString(); - struct.names.add(_elem985); + _elem1001 = iprot.readString(); + struct.names.add(_elem1001); } iprot.readListEnd(); } @@ -95862,9 +96017,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 _iter987 : struct.names) + for (String _iter1003 : struct.names) { - oprot.writeString(_iter987); + oprot.writeString(_iter1003); } oprot.writeListEnd(); } @@ -95907,9 +96062,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter988 : struct.names) + for (String _iter1004 : struct.names) { - oprot.writeString(_iter988); + oprot.writeString(_iter1004); } } } @@ -95929,13 +96084,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list989 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list989.size); - String _elem990; - for (int _i991 = 0; _i991 < _list989.size; ++_i991) + org.apache.thrift.protocol.TList _list1005 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list1005.size); + String _elem1006; + for (int _i1007 = 0; _i1007 < _list1005.size; ++_i1007) { - _elem990 = iprot.readString(); - struct.names.add(_elem990); + _elem1006 = iprot.readString(); + struct.names.add(_elem1006); } } struct.setNamesIsSet(true); @@ -96422,14 +96577,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 _list992 = iprot.readListBegin(); - struct.success = new ArrayList(_list992.size); - Partition _elem993; - for (int _i994 = 0; _i994 < _list992.size; ++_i994) + org.apache.thrift.protocol.TList _list1008 = iprot.readListBegin(); + struct.success = new ArrayList(_list1008.size); + Partition _elem1009; + for (int _i1010 = 0; _i1010 < _list1008.size; ++_i1010) { - _elem993 = new Partition(); - _elem993.read(iprot); - struct.success.add(_elem993); + _elem1009 = new Partition(); + _elem1009.read(iprot); + struct.success.add(_elem1009); } iprot.readListEnd(); } @@ -96473,9 +96628,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 _iter995 : struct.success) + for (Partition _iter1011 : struct.success) { - _iter995.write(oprot); + _iter1011.write(oprot); } oprot.writeListEnd(); } @@ -96522,9 +96677,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter996 : struct.success) + for (Partition _iter1012 : struct.success) { - _iter996.write(oprot); + _iter1012.write(oprot); } } } @@ -96542,14 +96697,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 _list997 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list997.size); - Partition _elem998; - for (int _i999 = 0; _i999 < _list997.size; ++_i999) + org.apache.thrift.protocol.TList _list1013 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1013.size); + Partition _elem1014; + for (int _i1015 = 0; _i1015 < _list1013.size; ++_i1015) { - _elem998 = new Partition(); - _elem998.read(iprot); - struct.success.add(_elem998); + _elem1014 = new Partition(); + _elem1014.read(iprot); + struct.success.add(_elem1014); } } struct.setSuccessIsSet(true); @@ -98099,14 +98254,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 _list1000 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1000.size); - Partition _elem1001; - for (int _i1002 = 0; _i1002 < _list1000.size; ++_i1002) + org.apache.thrift.protocol.TList _list1016 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1016.size); + Partition _elem1017; + for (int _i1018 = 0; _i1018 < _list1016.size; ++_i1018) { - _elem1001 = new Partition(); - _elem1001.read(iprot); - struct.new_parts.add(_elem1001); + _elem1017 = new Partition(); + _elem1017.read(iprot); + struct.new_parts.add(_elem1017); } iprot.readListEnd(); } @@ -98142,9 +98297,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 _iter1003 : struct.new_parts) + for (Partition _iter1019 : struct.new_parts) { - _iter1003.write(oprot); + _iter1019.write(oprot); } oprot.writeListEnd(); } @@ -98187,9 +98342,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 _iter1004 : struct.new_parts) + for (Partition _iter1020 : struct.new_parts) { - _iter1004.write(oprot); + _iter1020.write(oprot); } } } @@ -98209,14 +98364,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1005 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1005.size); - Partition _elem1006; - for (int _i1007 = 0; _i1007 < _list1005.size; ++_i1007) + org.apache.thrift.protocol.TList _list1021 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1021.size); + Partition _elem1022; + for (int _i1023 = 0; _i1023 < _list1021.size; ++_i1023) { - _elem1006 = new Partition(); - _elem1006.read(iprot); - struct.new_parts.add(_elem1006); + _elem1022 = new Partition(); + _elem1022.read(iprot); + struct.new_parts.add(_elem1022); } } struct.setNew_partsIsSet(true); @@ -99269,14 +99424,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 _list1008 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1008.size); - Partition _elem1009; - for (int _i1010 = 0; _i1010 < _list1008.size; ++_i1010) + org.apache.thrift.protocol.TList _list1024 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1024.size); + Partition _elem1025; + for (int _i1026 = 0; _i1026 < _list1024.size; ++_i1026) { - _elem1009 = new Partition(); - _elem1009.read(iprot); - struct.new_parts.add(_elem1009); + _elem1025 = new Partition(); + _elem1025.read(iprot); + struct.new_parts.add(_elem1025); } iprot.readListEnd(); } @@ -99321,9 +99476,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 _iter1011 : struct.new_parts) + for (Partition _iter1027 : struct.new_parts) { - _iter1011.write(oprot); + _iter1027.write(oprot); } oprot.writeListEnd(); } @@ -99374,9 +99529,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 _iter1012 : struct.new_parts) + for (Partition _iter1028 : struct.new_parts) { - _iter1012.write(oprot); + _iter1028.write(oprot); } } } @@ -99399,14 +99554,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1013 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1013.size); - Partition _elem1014; - for (int _i1015 = 0; _i1015 < _list1013.size; ++_i1015) + org.apache.thrift.protocol.TList _list1029 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1029.size); + Partition _elem1030; + for (int _i1031 = 0; _i1031 < _list1029.size; ++_i1031) { - _elem1014 = new Partition(); - _elem1014.read(iprot); - struct.new_parts.add(_elem1014); + _elem1030 = new Partition(); + _elem1030.read(iprot); + struct.new_parts.add(_elem1030); } } struct.setNew_partsIsSet(true); @@ -101607,13 +101762,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 _list1016 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1016.size); - String _elem1017; - for (int _i1018 = 0; _i1018 < _list1016.size; ++_i1018) + org.apache.thrift.protocol.TList _list1032 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1032.size); + String _elem1033; + for (int _i1034 = 0; _i1034 < _list1032.size; ++_i1034) { - _elem1017 = iprot.readString(); - struct.part_vals.add(_elem1017); + _elem1033 = iprot.readString(); + struct.part_vals.add(_elem1033); } iprot.readListEnd(); } @@ -101658,9 +101813,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 _iter1019 : struct.part_vals) + for (String _iter1035 : struct.part_vals) { - oprot.writeString(_iter1019); + oprot.writeString(_iter1035); } oprot.writeListEnd(); } @@ -101711,9 +101866,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 _iter1020 : struct.part_vals) + for (String _iter1036 : struct.part_vals) { - oprot.writeString(_iter1020); + oprot.writeString(_iter1036); } } } @@ -101736,13 +101891,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1021 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1021.size); - String _elem1022; - for (int _i1023 = 0; _i1023 < _list1021.size; ++_i1023) + org.apache.thrift.protocol.TList _list1037 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1037.size); + String _elem1038; + for (int _i1039 = 0; _i1039 < _list1037.size; ++_i1039) { - _elem1022 = iprot.readString(); - struct.part_vals.add(_elem1022); + _elem1038 = iprot.readString(); + struct.part_vals.add(_elem1038); } } struct.setPart_valsIsSet(true); @@ -102616,13 +102771,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 _list1024 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1024.size); - String _elem1025; - for (int _i1026 = 0; _i1026 < _list1024.size; ++_i1026) + org.apache.thrift.protocol.TList _list1040 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1040.size); + String _elem1041; + for (int _i1042 = 0; _i1042 < _list1040.size; ++_i1042) { - _elem1025 = iprot.readString(); - struct.part_vals.add(_elem1025); + _elem1041 = iprot.readString(); + struct.part_vals.add(_elem1041); } iprot.readListEnd(); } @@ -102656,9 +102811,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 _iter1027 : struct.part_vals) + for (String _iter1043 : struct.part_vals) { - oprot.writeString(_iter1027); + oprot.writeString(_iter1043); } oprot.writeListEnd(); } @@ -102695,9 +102850,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 _iter1028 : struct.part_vals) + for (String _iter1044 : struct.part_vals) { - oprot.writeString(_iter1028); + oprot.writeString(_iter1044); } } } @@ -102712,13 +102867,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 _list1029 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1029.size); - String _elem1030; - for (int _i1031 = 0; _i1031 < _list1029.size; ++_i1031) + org.apache.thrift.protocol.TList _list1045 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1045.size); + String _elem1046; + for (int _i1047 = 0; _i1047 < _list1045.size; ++_i1047) { - _elem1030 = iprot.readString(); - struct.part_vals.add(_elem1030); + _elem1046 = iprot.readString(); + struct.part_vals.add(_elem1046); } } struct.setPart_valsIsSet(true); @@ -104873,13 +105028,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 _list1032 = iprot.readListBegin(); - struct.success = new ArrayList(_list1032.size); - String _elem1033; - for (int _i1034 = 0; _i1034 < _list1032.size; ++_i1034) + org.apache.thrift.protocol.TList _list1048 = iprot.readListBegin(); + struct.success = new ArrayList(_list1048.size); + String _elem1049; + for (int _i1050 = 0; _i1050 < _list1048.size; ++_i1050) { - _elem1033 = iprot.readString(); - struct.success.add(_elem1033); + _elem1049 = iprot.readString(); + struct.success.add(_elem1049); } iprot.readListEnd(); } @@ -104914,9 +105069,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 _iter1035 : struct.success) + for (String _iter1051 : struct.success) { - oprot.writeString(_iter1035); + oprot.writeString(_iter1051); } oprot.writeListEnd(); } @@ -104955,9 +105110,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1036 : struct.success) + for (String _iter1052 : struct.success) { - oprot.writeString(_iter1036); + oprot.writeString(_iter1052); } } } @@ -104972,13 +105127,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 _list1037 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1037.size); - String _elem1038; - for (int _i1039 = 0; _i1039 < _list1037.size; ++_i1039) + org.apache.thrift.protocol.TList _list1053 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1053.size); + String _elem1054; + for (int _i1055 = 0; _i1055 < _list1053.size; ++_i1055) { - _elem1038 = iprot.readString(); - struct.success.add(_elem1038); + _elem1054 = iprot.readString(); + struct.success.add(_elem1054); } } struct.setSuccessIsSet(true); @@ -105741,15 +105896,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 _map1040 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1040.size); - String _key1041; - String _val1042; - for (int _i1043 = 0; _i1043 < _map1040.size; ++_i1043) + org.apache.thrift.protocol.TMap _map1056 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1056.size); + String _key1057; + String _val1058; + for (int _i1059 = 0; _i1059 < _map1056.size; ++_i1059) { - _key1041 = iprot.readString(); - _val1042 = iprot.readString(); - struct.success.put(_key1041, _val1042); + _key1057 = iprot.readString(); + _val1058 = iprot.readString(); + struct.success.put(_key1057, _val1058); } iprot.readMapEnd(); } @@ -105784,10 +105939,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 _iter1044 : struct.success.entrySet()) + for (Map.Entry _iter1060 : struct.success.entrySet()) { - oprot.writeString(_iter1044.getKey()); - oprot.writeString(_iter1044.getValue()); + oprot.writeString(_iter1060.getKey()); + oprot.writeString(_iter1060.getValue()); } oprot.writeMapEnd(); } @@ -105826,10 +105981,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 _iter1045 : struct.success.entrySet()) + for (Map.Entry _iter1061 : struct.success.entrySet()) { - oprot.writeString(_iter1045.getKey()); - oprot.writeString(_iter1045.getValue()); + oprot.writeString(_iter1061.getKey()); + oprot.writeString(_iter1061.getValue()); } } } @@ -105844,15 +105999,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 _map1046 = 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*_map1046.size); - String _key1047; - String _val1048; - for (int _i1049 = 0; _i1049 < _map1046.size; ++_i1049) + org.apache.thrift.protocol.TMap _map1062 = 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*_map1062.size); + String _key1063; + String _val1064; + for (int _i1065 = 0; _i1065 < _map1062.size; ++_i1065) { - _key1047 = iprot.readString(); - _val1048 = iprot.readString(); - struct.success.put(_key1047, _val1048); + _key1063 = iprot.readString(); + _val1064 = iprot.readString(); + struct.success.put(_key1063, _val1064); } } struct.setSuccessIsSet(true); @@ -106447,15 +106602,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 _map1050 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1050.size); - String _key1051; - String _val1052; - for (int _i1053 = 0; _i1053 < _map1050.size; ++_i1053) + org.apache.thrift.protocol.TMap _map1066 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1066.size); + String _key1067; + String _val1068; + for (int _i1069 = 0; _i1069 < _map1066.size; ++_i1069) { - _key1051 = iprot.readString(); - _val1052 = iprot.readString(); - struct.part_vals.put(_key1051, _val1052); + _key1067 = iprot.readString(); + _val1068 = iprot.readString(); + struct.part_vals.put(_key1067, _val1068); } iprot.readMapEnd(); } @@ -106499,10 +106654,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 _iter1054 : struct.part_vals.entrySet()) + for (Map.Entry _iter1070 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1054.getKey()); - oprot.writeString(_iter1054.getValue()); + oprot.writeString(_iter1070.getKey()); + oprot.writeString(_iter1070.getValue()); } oprot.writeMapEnd(); } @@ -106553,10 +106708,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1055 : struct.part_vals.entrySet()) + for (Map.Entry _iter1071 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1055.getKey()); - oprot.writeString(_iter1055.getValue()); + oprot.writeString(_iter1071.getKey()); + oprot.writeString(_iter1071.getValue()); } } } @@ -106579,15 +106734,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1056 = 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*_map1056.size); - String _key1057; - String _val1058; - for (int _i1059 = 0; _i1059 < _map1056.size; ++_i1059) + org.apache.thrift.protocol.TMap _map1072 = 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*_map1072.size); + String _key1073; + String _val1074; + for (int _i1075 = 0; _i1075 < _map1072.size; ++_i1075) { - _key1057 = iprot.readString(); - _val1058 = iprot.readString(); - struct.part_vals.put(_key1057, _val1058); + _key1073 = iprot.readString(); + _val1074 = iprot.readString(); + struct.part_vals.put(_key1073, _val1074); } } struct.setPart_valsIsSet(true); @@ -108071,15 +108226,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 _map1060 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1060.size); - String _key1061; - String _val1062; - for (int _i1063 = 0; _i1063 < _map1060.size; ++_i1063) + org.apache.thrift.protocol.TMap _map1076 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1076.size); + String _key1077; + String _val1078; + for (int _i1079 = 0; _i1079 < _map1076.size; ++_i1079) { - _key1061 = iprot.readString(); - _val1062 = iprot.readString(); - struct.part_vals.put(_key1061, _val1062); + _key1077 = iprot.readString(); + _val1078 = iprot.readString(); + struct.part_vals.put(_key1077, _val1078); } iprot.readMapEnd(); } @@ -108123,10 +108278,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 _iter1064 : struct.part_vals.entrySet()) + for (Map.Entry _iter1080 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1064.getKey()); - oprot.writeString(_iter1064.getValue()); + oprot.writeString(_iter1080.getKey()); + oprot.writeString(_iter1080.getValue()); } oprot.writeMapEnd(); } @@ -108177,10 +108332,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1065 : struct.part_vals.entrySet()) + for (Map.Entry _iter1081 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1065.getKey()); - oprot.writeString(_iter1065.getValue()); + oprot.writeString(_iter1081.getKey()); + oprot.writeString(_iter1081.getValue()); } } } @@ -108203,15 +108358,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1066 = 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*_map1066.size); - String _key1067; - String _val1068; - for (int _i1069 = 0; _i1069 < _map1066.size; ++_i1069) + org.apache.thrift.protocol.TMap _map1082 = 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*_map1082.size); + String _key1083; + String _val1084; + for (int _i1085 = 0; _i1085 < _map1082.size; ++_i1085) { - _key1067 = iprot.readString(); - _val1068 = iprot.readString(); - struct.part_vals.put(_key1067, _val1068); + _key1083 = iprot.readString(); + _val1084 = iprot.readString(); + struct.part_vals.put(_key1083, _val1084); } } struct.setPart_valsIsSet(true); @@ -114935,14 +115090,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 _list1070 = iprot.readListBegin(); - struct.success = new ArrayList(_list1070.size); - Index _elem1071; - for (int _i1072 = 0; _i1072 < _list1070.size; ++_i1072) + org.apache.thrift.protocol.TList _list1086 = iprot.readListBegin(); + struct.success = new ArrayList(_list1086.size); + Index _elem1087; + for (int _i1088 = 0; _i1088 < _list1086.size; ++_i1088) { - _elem1071 = new Index(); - _elem1071.read(iprot); - struct.success.add(_elem1071); + _elem1087 = new Index(); + _elem1087.read(iprot); + struct.success.add(_elem1087); } iprot.readListEnd(); } @@ -114986,9 +115141,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 _iter1073 : struct.success) + for (Index _iter1089 : struct.success) { - _iter1073.write(oprot); + _iter1089.write(oprot); } oprot.writeListEnd(); } @@ -115035,9 +115190,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_indexes_result if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Index _iter1074 : struct.success) + for (Index _iter1090 : struct.success) { - _iter1074.write(oprot); + _iter1090.write(oprot); } } } @@ -115055,14 +115210,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 _list1075 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1075.size); - Index _elem1076; - for (int _i1077 = 0; _i1077 < _list1075.size; ++_i1077) + org.apache.thrift.protocol.TList _list1091 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1091.size); + Index _elem1092; + for (int _i1093 = 0; _i1093 < _list1091.size; ++_i1093) { - _elem1076 = new Index(); - _elem1076.read(iprot); - struct.success.add(_elem1076); + _elem1092 = new Index(); + _elem1092.read(iprot); + struct.success.add(_elem1092); } } struct.setSuccessIsSet(true); @@ -116041,13 +116196,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 _list1078 = iprot.readListBegin(); - struct.success = new ArrayList(_list1078.size); - String _elem1079; - for (int _i1080 = 0; _i1080 < _list1078.size; ++_i1080) + org.apache.thrift.protocol.TList _list1094 = iprot.readListBegin(); + struct.success = new ArrayList(_list1094.size); + String _elem1095; + for (int _i1096 = 0; _i1096 < _list1094.size; ++_i1096) { - _elem1079 = iprot.readString(); - struct.success.add(_elem1079); + _elem1095 = iprot.readString(); + struct.success.add(_elem1095); } iprot.readListEnd(); } @@ -116082,9 +116237,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 _iter1081 : struct.success) + for (String _iter1097 : struct.success) { - oprot.writeString(_iter1081); + oprot.writeString(_iter1097); } oprot.writeListEnd(); } @@ -116123,9 +116278,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_index_names_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1082 : struct.success) + for (String _iter1098 : struct.success) { - oprot.writeString(_iter1082); + oprot.writeString(_iter1098); } } } @@ -116140,13 +116295,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 _list1083 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1083.size); - String _elem1084; - for (int _i1085 = 0; _i1085 < _list1083.size; ++_i1085) + org.apache.thrift.protocol.TList _list1099 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1099.size); + String _elem1100; + for (int _i1101 = 0; _i1101 < _list1099.size; ++_i1101) { - _elem1084 = iprot.readString(); - struct.success.add(_elem1084); + _elem1100 = iprot.readString(); + struct.success.add(_elem1100); } } struct.setSuccessIsSet(true); @@ -122951,15 +123106,1003 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partition_column_statistics_resultStandardSchemeFactory implements SchemeFactory { - public get_partition_column_statistics_resultStandardScheme getScheme() { - return new get_partition_column_statistics_resultStandardScheme(); + private static class get_partition_column_statistics_resultStandardSchemeFactory implements SchemeFactory { + public get_partition_column_statistics_resultStandardScheme getScheme() { + return new get_partition_column_statistics_resultStandardScheme(); + } + } + + private static class get_partition_column_statistics_resultStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_column_statistics_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.STRUCT) { + struct.success = new ColumnStatistics(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // O1 + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.o1 = new NoSuchObjectException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // O2 + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.o2 = new MetaException(); + struct.o2.read(iprot); + struct.setO2IsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // O3 + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.o3 = new InvalidInputException(); + struct.o3.read(iprot); + struct.setO3IsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // O4 + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.o4 = new InvalidObjectException(); + struct.o4.read(iprot); + struct.setO4IsSet(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, get_partition_column_statistics_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); + oprot.writeFieldEnd(); + } + if (struct.o1 != null) { + oprot.writeFieldBegin(O1_FIELD_DESC); + struct.o1.write(oprot); + oprot.writeFieldEnd(); + } + if (struct.o2 != null) { + oprot.writeFieldBegin(O2_FIELD_DESC); + struct.o2.write(oprot); + oprot.writeFieldEnd(); + } + if (struct.o3 != null) { + oprot.writeFieldBegin(O3_FIELD_DESC); + struct.o3.write(oprot); + oprot.writeFieldEnd(); + } + if (struct.o4 != null) { + oprot.writeFieldBegin(O4_FIELD_DESC); + struct.o4.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class get_partition_column_statistics_resultTupleSchemeFactory implements SchemeFactory { + public get_partition_column_statistics_resultTupleScheme getScheme() { + return new get_partition_column_statistics_resultTupleScheme(); + } + } + + private static class get_partition_column_statistics_resultTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_column_statistics_result struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetSuccess()) { + optionals.set(0); + } + if (struct.isSetO1()) { + optionals.set(1); + } + if (struct.isSetO2()) { + optionals.set(2); + } + if (struct.isSetO3()) { + optionals.set(3); + } + if (struct.isSetO4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if (struct.isSetSuccess()) { + struct.success.write(oprot); + } + if (struct.isSetO1()) { + struct.o1.write(oprot); + } + if (struct.isSetO2()) { + struct.o2.write(oprot); + } + if (struct.isSetO3()) { + struct.o3.write(oprot); + } + if (struct.isSetO4()) { + struct.o4.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_column_statistics_result struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if (incoming.get(0)) { + struct.success = new ColumnStatistics(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.o1 = new NoSuchObjectException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); + } + if (incoming.get(2)) { + struct.o2 = new MetaException(); + struct.o2.read(iprot); + struct.setO2IsSet(true); + } + if (incoming.get(3)) { + struct.o3 = new InvalidInputException(); + struct.o3.read(iprot); + struct.setO3IsSet(true); + } + if (incoming.get(4)) { + struct.o4 = new InvalidObjectException(); + struct.o4.read(iprot); + struct.setO4IsSet(true); + } + } + } + + } + + public static class get_table_statistics_req_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_table_statistics_req_args"); + + private static final org.apache.thrift.protocol.TField REQUEST_FIELD_DESC = new org.apache.thrift.protocol.TField("request", org.apache.thrift.protocol.TType.STRUCT, (short)1); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new get_table_statistics_req_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_table_statistics_req_argsTupleSchemeFactory()); + } + + private TableStatsRequest request; // 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 { + REQUEST((short)1, "request"); + + 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: // REQUEST + return REQUEST; + 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.REQUEST, new org.apache.thrift.meta_data.FieldMetaData("request", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TableStatsRequest.class))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_table_statistics_req_args.class, metaDataMap); + } + + public get_table_statistics_req_args() { + } + + public get_table_statistics_req_args( + TableStatsRequest request) + { + this(); + this.request = request; + } + + /** + * Performs a deep copy on other. + */ + public get_table_statistics_req_args(get_table_statistics_req_args other) { + if (other.isSetRequest()) { + this.request = new TableStatsRequest(other.request); + } + } + + public get_table_statistics_req_args deepCopy() { + return new get_table_statistics_req_args(this); + } + + @Override + public void clear() { + this.request = null; + } + + public TableStatsRequest getRequest() { + return this.request; + } + + public void setRequest(TableStatsRequest request) { + this.request = request; + } + + public void unsetRequest() { + this.request = null; + } + + /** Returns true if field request is set (has been assigned a value) and false otherwise */ + public boolean isSetRequest() { + return this.request != null; + } + + public void setRequestIsSet(boolean value) { + if (!value) { + this.request = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case REQUEST: + if (value == null) { + unsetRequest(); + } else { + setRequest((TableStatsRequest)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case REQUEST: + return getRequest(); + + } + 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 REQUEST: + return isSetRequest(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof get_table_statistics_req_args) + return this.equals((get_table_statistics_req_args)that); + return false; + } + + public boolean equals(get_table_statistics_req_args that) { + if (that == null) + return false; + + boolean this_present_request = true && this.isSetRequest(); + boolean that_present_request = true && that.isSetRequest(); + if (this_present_request || that_present_request) { + if (!(this_present_request && that_present_request)) + return false; + if (!this.request.equals(that.request)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_request = true && (isSetRequest()); + list.add(present_request); + if (present_request) + list.add(request); + + return list.hashCode(); + } + + @Override + public int compareTo(get_table_statistics_req_args other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetRequest()).compareTo(other.isSetRequest()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetRequest()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.request, other.request); + 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("get_table_statistics_req_args("); + boolean first = true; + + sb.append("request:"); + if (this.request == null) { + sb.append("null"); + } else { + sb.append(this.request); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if (request != null) { + request.validate(); + } + } + + 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 get_table_statistics_req_argsStandardSchemeFactory implements SchemeFactory { + public get_table_statistics_req_argsStandardScheme getScheme() { + return new get_table_statistics_req_argsStandardScheme(); + } + } + + private static class get_table_statistics_req_argsStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_statistics_req_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: // REQUEST + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.request = new TableStatsRequest(); + struct.request.read(iprot); + struct.setRequestIsSet(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, get_table_statistics_req_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.request != null) { + oprot.writeFieldBegin(REQUEST_FIELD_DESC); + struct.request.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class get_table_statistics_req_argsTupleSchemeFactory implements SchemeFactory { + public get_table_statistics_req_argsTupleScheme getScheme() { + return new get_table_statistics_req_argsTupleScheme(); + } + } + + private static class get_table_statistics_req_argsTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, get_table_statistics_req_args struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetRequest()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetRequest()) { + struct.request.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, get_table_statistics_req_args struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.request = new TableStatsRequest(); + struct.request.read(iprot); + struct.setRequestIsSet(true); + } + } + } + + } + + public static class get_table_statistics_req_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_table_statistics_req_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 org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)2); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new get_table_statistics_req_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_table_statistics_req_resultTupleSchemeFactory()); + } + + private TableStatsResult success; // required + private NoSuchObjectException o1; // required + private MetaException o2; // 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"), + O2((short)2, "o2"); + + 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; + case 1: // O1 + return O1; + case 2: // O2 + return O2; + 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.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, TableStatsResult.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))); + tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", 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(get_table_statistics_req_result.class, metaDataMap); + } + + public get_table_statistics_req_result() { + } + + public get_table_statistics_req_result( + TableStatsResult success, + NoSuchObjectException o1, + MetaException o2) + { + this(); + this.success = success; + this.o1 = o1; + this.o2 = o2; + } + + /** + * Performs a deep copy on other. + */ + public get_table_statistics_req_result(get_table_statistics_req_result other) { + if (other.isSetSuccess()) { + this.success = new TableStatsResult(other.success); + } + if (other.isSetO1()) { + this.o1 = new NoSuchObjectException(other.o1); + } + if (other.isSetO2()) { + this.o2 = new MetaException(other.o2); + } + } + + public get_table_statistics_req_result deepCopy() { + return new get_table_statistics_req_result(this); + } + + @Override + public void clear() { + this.success = null; + this.o1 = null; + this.o2 = null; + } + + public TableStatsResult getSuccess() { + return this.success; + } + + public void setSuccess(TableStatsResult success) { + this.success = success; + } + + public void unsetSuccess() { + this.success = null; + } + + /** Returns true if field success is set (has been assigned a value) and false otherwise */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if (!value) { + this.success = null; + } + } + + public NoSuchObjectException getO1() { + return this.o1; + } + + public void setO1(NoSuchObjectException o1) { + this.o1 = o1; + } + + public void unsetO1() { + this.o1 = 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 setO1IsSet(boolean value) { + if (!value) { + this.o1 = null; + } + } + + public MetaException getO2() { + return this.o2; + } + + public void setO2(MetaException o2) { + this.o2 = o2; + } + + public void unsetO2() { + this.o2 = null; + } + + /** Returns true if field o2 is set (has been assigned a value) and false otherwise */ + public boolean isSetO2() { + return this.o2 != null; + } + + public void setO2IsSet(boolean value) { + if (!value) { + this.o2 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if (value == null) { + unsetSuccess(); + } else { + setSuccess((TableStatsResult)value); + } + break; + + case O1: + if (value == null) { + unsetO1(); + } else { + setO1((NoSuchObjectException)value); + } + break; + + case O2: + if (value == null) { + unsetO2(); + } else { + setO2((MetaException)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case O1: + return getO1(); + + case O2: + return getO2(); + + } + 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(); + case O1: + return isSetO1(); + case O2: + return isSetO2(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof get_table_statistics_req_result) + return this.equals((get_table_statistics_req_result)that); + return false; + } + + public boolean equals(get_table_statistics_req_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)) + return false; + if (!this.success.equals(that.success)) + return false; + } + + 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.o1.equals(that.o1)) + return false; + } + + boolean this_present_o2 = true && this.isSetO2(); + boolean that_present_o2 = true && that.isSetO2(); + if (this_present_o2 || that_present_o2) { + if (!(this_present_o2 && that_present_o2)) + return false; + if (!this.o2.equals(that.o2)) + return false; + } + + return true; + } + + @Override + 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); + + boolean present_o2 = true && (isSetO2()); + list.add(present_o2); + if (present_o2) + list.add(o2); + + return list.hashCode(); + } + + @Override + public int compareTo(get_table_statistics_req_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; + } + } + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO1()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO2()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); + 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("get_table_statistics_req_result("); + boolean first = true; + + sb.append("success:"); + if (this.success == null) { + sb.append("null"); + } else { + sb.append(this.success); + } + first = false; + if (!first) sb.append(", "); + sb.append("o1:"); + if (this.o1 == null) { + sb.append("null"); + } else { + sb.append(this.o1); + } + first = false; + if (!first) sb.append(", "); + sb.append("o2:"); + if (this.o2 == null) { + sb.append("null"); + } else { + sb.append(this.o2); + } + first = false; + sb.append(")"); + return sb.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 { + 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 get_table_statistics_req_resultStandardSchemeFactory implements SchemeFactory { + public get_table_statistics_req_resultStandardScheme getScheme() { + return new get_table_statistics_req_resultStandardScheme(); } } - private static class get_partition_column_statistics_resultStandardScheme extends StandardScheme { + private static class get_table_statistics_req_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_column_statistics_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_statistics_req_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -122971,7 +124114,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_colum switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new ColumnStatistics(); + struct.success = new TableStatsResult(); struct.success.read(iprot); struct.setSuccessIsSet(true); } else { @@ -122996,24 +124139,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_colum org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // O3 - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o3 = new InvalidInputException(); - struct.o3.read(iprot); - struct.setO3IsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // O4 - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o4 = new InvalidObjectException(); - struct.o4.read(iprot); - struct.setO4IsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -123023,7 +124148,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_colum struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_column_statistics_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_statistics_req_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -123042,32 +124167,22 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_colu struct.o2.write(oprot); oprot.writeFieldEnd(); } - if (struct.o3 != null) { - oprot.writeFieldBegin(O3_FIELD_DESC); - struct.o3.write(oprot); - oprot.writeFieldEnd(); - } - if (struct.o4 != null) { - oprot.writeFieldBegin(O4_FIELD_DESC); - struct.o4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class get_partition_column_statistics_resultTupleSchemeFactory implements SchemeFactory { - public get_partition_column_statistics_resultTupleScheme getScheme() { - return new get_partition_column_statistics_resultTupleScheme(); + private static class get_table_statistics_req_resultTupleSchemeFactory implements SchemeFactory { + public get_table_statistics_req_resultTupleScheme getScheme() { + return new get_table_statistics_req_resultTupleScheme(); } } - private static class get_partition_column_statistics_resultTupleScheme extends TupleScheme { + private static class get_table_statistics_req_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_column_statistics_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_table_statistics_req_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -123079,13 +124194,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_colum if (struct.isSetO2()) { optionals.set(2); } - if (struct.isSetO3()) { - optionals.set(3); - } - if (struct.isSetO4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 3); if (struct.isSetSuccess()) { struct.success.write(oprot); } @@ -123095,20 +124204,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_colum if (struct.isSetO2()) { struct.o2.write(oprot); } - if (struct.isSetO3()) { - struct.o3.write(oprot); - } - if (struct.isSetO4()) { - struct.o4.write(oprot); - } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_column_statistics_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_table_statistics_req_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { - struct.success = new ColumnStatistics(); + struct.success = new TableStatsResult(); struct.success.read(iprot); struct.setSuccessIsSet(true); } @@ -123122,33 +124225,23 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_column struct.o2.read(iprot); struct.setO2IsSet(true); } - if (incoming.get(3)) { - struct.o3 = new InvalidInputException(); - struct.o3.read(iprot); - struct.setO3IsSet(true); - } - if (incoming.get(4)) { - struct.o4 = new InvalidObjectException(); - struct.o4.read(iprot); - struct.setO4IsSet(true); - } } } } - public static class get_table_statistics_req_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_table_statistics_req_args"); + public static class get_partitions_statistics_req_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_partitions_statistics_req_args"); private static final org.apache.thrift.protocol.TField REQUEST_FIELD_DESC = new org.apache.thrift.protocol.TField("request", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_table_statistics_req_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_table_statistics_req_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partitions_statistics_req_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partitions_statistics_req_argsTupleSchemeFactory()); } - private TableStatsRequest request; // required + private PartitionsStatsRequest request; // 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 { @@ -123213,16 +124306,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.REQUEST, new org.apache.thrift.meta_data.FieldMetaData("request", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TableStatsRequest.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PartitionsStatsRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_table_statistics_req_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_statistics_req_args.class, metaDataMap); } - public get_table_statistics_req_args() { + public get_partitions_statistics_req_args() { } - public get_table_statistics_req_args( - TableStatsRequest request) + public get_partitions_statistics_req_args( + PartitionsStatsRequest request) { this(); this.request = request; @@ -123231,14 +124324,14 @@ public get_table_statistics_req_args( /** * Performs a deep copy on other. */ - public get_table_statistics_req_args(get_table_statistics_req_args other) { + public get_partitions_statistics_req_args(get_partitions_statistics_req_args other) { if (other.isSetRequest()) { - this.request = new TableStatsRequest(other.request); + this.request = new PartitionsStatsRequest(other.request); } } - public get_table_statistics_req_args deepCopy() { - return new get_table_statistics_req_args(this); + public get_partitions_statistics_req_args deepCopy() { + return new get_partitions_statistics_req_args(this); } @Override @@ -123246,11 +124339,11 @@ public void clear() { this.request = null; } - public TableStatsRequest getRequest() { + public PartitionsStatsRequest getRequest() { return this.request; } - public void setRequest(TableStatsRequest request) { + public void setRequest(PartitionsStatsRequest request) { this.request = request; } @@ -123275,7 +124368,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRequest(); } else { - setRequest((TableStatsRequest)value); + setRequest((PartitionsStatsRequest)value); } break; @@ -123308,12 +124401,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_table_statistics_req_args) - return this.equals((get_table_statistics_req_args)that); + if (that instanceof get_partitions_statistics_req_args) + return this.equals((get_partitions_statistics_req_args)that); return false; } - public boolean equals(get_table_statistics_req_args that) { + public boolean equals(get_partitions_statistics_req_args that) { if (that == null) return false; @@ -123342,7 +124435,7 @@ public int hashCode() { } @Override - public int compareTo(get_table_statistics_req_args other) { + public int compareTo(get_partitions_statistics_req_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -123376,7 +124469,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_table_statistics_req_args("); + StringBuilder sb = new StringBuilder("get_partitions_statistics_req_args("); boolean first = true; sb.append("request:"); @@ -123414,15 +124507,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_table_statistics_req_argsStandardSchemeFactory implements SchemeFactory { - public get_table_statistics_req_argsStandardScheme getScheme() { - return new get_table_statistics_req_argsStandardScheme(); + private static class get_partitions_statistics_req_argsStandardSchemeFactory implements SchemeFactory { + public get_partitions_statistics_req_argsStandardScheme getScheme() { + return new get_partitions_statistics_req_argsStandardScheme(); } } - private static class get_table_statistics_req_argsStandardScheme extends StandardScheme { + private static class get_partitions_statistics_req_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_statistics_req_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_statistics_req_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -123434,7 +124527,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_statistic switch (schemeField.id) { case 1: // REQUEST if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.request = new TableStatsRequest(); + struct.request = new PartitionsStatsRequest(); struct.request.read(iprot); struct.setRequestIsSet(true); } else { @@ -123450,7 +124543,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_statistic struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_statistics_req_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_statistics_req_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -123465,16 +124558,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_statisti } - private static class get_table_statistics_req_argsTupleSchemeFactory implements SchemeFactory { - public get_table_statistics_req_argsTupleScheme getScheme() { - return new get_table_statistics_req_argsTupleScheme(); + private static class get_partitions_statistics_req_argsTupleSchemeFactory implements SchemeFactory { + public get_partitions_statistics_req_argsTupleScheme getScheme() { + return new get_partitions_statistics_req_argsTupleScheme(); } } - private static class get_table_statistics_req_argsTupleScheme extends TupleScheme { + private static class get_partitions_statistics_req_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_table_statistics_req_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_statistics_req_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetRequest()) { @@ -123487,11 +124580,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_statistic } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_table_statistics_req_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_statistics_req_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.request = new TableStatsRequest(); + struct.request = new PartitionsStatsRequest(); struct.request.read(iprot); struct.setRequestIsSet(true); } @@ -123500,8 +124593,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_statistics } - public static class get_table_statistics_req_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_table_statistics_req_result"); + public static class get_partitions_statistics_req_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_partitions_statistics_req_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); @@ -123509,11 +124602,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_statistics private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_table_statistics_req_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_table_statistics_req_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_partitions_statistics_req_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_partitions_statistics_req_resultTupleSchemeFactory()); } - private TableStatsResult success; // required + private PartitionsStatsResult success; // required private NoSuchObjectException o1; // required private MetaException o2; // required @@ -123586,20 +124679,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); 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, TableStatsResult.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PartitionsStatsResult.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))); tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", 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(get_table_statistics_req_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_statistics_req_result.class, metaDataMap); } - public get_table_statistics_req_result() { + public get_partitions_statistics_req_result() { } - public get_table_statistics_req_result( - TableStatsResult success, + public get_partitions_statistics_req_result( + PartitionsStatsResult success, NoSuchObjectException o1, MetaException o2) { @@ -123612,9 +124705,9 @@ public get_table_statistics_req_result( /** * Performs a deep copy on other. */ - public get_table_statistics_req_result(get_table_statistics_req_result other) { + public get_partitions_statistics_req_result(get_partitions_statistics_req_result other) { if (other.isSetSuccess()) { - this.success = new TableStatsResult(other.success); + this.success = new PartitionsStatsResult(other.success); } if (other.isSetO1()) { this.o1 = new NoSuchObjectException(other.o1); @@ -123624,8 +124717,8 @@ public get_table_statistics_req_result(get_table_statistics_req_result other) { } } - public get_table_statistics_req_result deepCopy() { - return new get_table_statistics_req_result(this); + public get_partitions_statistics_req_result deepCopy() { + return new get_partitions_statistics_req_result(this); } @Override @@ -123635,11 +124728,11 @@ public void clear() { this.o2 = null; } - public TableStatsResult getSuccess() { + public PartitionsStatsResult getSuccess() { return this.success; } - public void setSuccess(TableStatsResult success) { + public void setSuccess(PartitionsStatsResult success) { this.success = success; } @@ -123710,7 +124803,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((TableStatsResult)value); + setSuccess((PartitionsStatsResult)value); } break; @@ -123769,12 +124862,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_table_statistics_req_result) - return this.equals((get_table_statistics_req_result)that); + if (that instanceof get_partitions_statistics_req_result) + return this.equals((get_partitions_statistics_req_result)that); return false; } - public boolean equals(get_table_statistics_req_result that) { + public boolean equals(get_partitions_statistics_req_result that) { if (that == null) return false; @@ -123831,7 +124924,7 @@ public int hashCode() { } @Override - public int compareTo(get_table_statistics_req_result other) { + public int compareTo(get_partitions_statistics_req_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -123885,7 +124978,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_table_statistics_req_result("); + StringBuilder sb = new StringBuilder("get_partitions_statistics_req_result("); boolean first = true; sb.append("success:"); @@ -123939,15 +125032,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_table_statistics_req_resultStandardSchemeFactory implements SchemeFactory { - public get_table_statistics_req_resultStandardScheme getScheme() { - return new get_table_statistics_req_resultStandardScheme(); + private static class get_partitions_statistics_req_resultStandardSchemeFactory implements SchemeFactory { + public get_partitions_statistics_req_resultStandardScheme getScheme() { + return new get_partitions_statistics_req_resultStandardScheme(); } } - private static class get_table_statistics_req_resultStandardScheme extends StandardScheme { + private static class get_partitions_statistics_req_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_statistics_req_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_statistics_req_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -123959,7 +125052,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_statistic switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new TableStatsResult(); + struct.success = new PartitionsStatsResult(); struct.success.read(iprot); struct.setSuccessIsSet(true); } else { @@ -123993,7 +125086,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_statistic struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_statistics_req_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_statistics_req_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -124018,16 +125111,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_statisti } - private static class get_table_statistics_req_resultTupleSchemeFactory implements SchemeFactory { - public get_table_statistics_req_resultTupleScheme getScheme() { - return new get_table_statistics_req_resultTupleScheme(); + private static class get_partitions_statistics_req_resultTupleSchemeFactory implements SchemeFactory { + public get_partitions_statistics_req_resultTupleScheme getScheme() { + return new get_partitions_statistics_req_resultTupleScheme(); } } - private static class get_table_statistics_req_resultTupleScheme extends TupleScheme { + private static class get_partitions_statistics_req_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_table_statistics_req_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_statistics_req_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -124052,11 +125145,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_statistic } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_table_statistics_req_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_statistics_req_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { - struct.success = new TableStatsResult(); + struct.success = new PartitionsStatsResult(); struct.success.read(iprot); struct.setSuccessIsSet(true); } @@ -124075,15 +125168,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_statistics } - public static class get_partitions_statistics_req_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_partitions_statistics_req_args"); + public static class get_aggr_stats_for_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_aggr_stats_for_args"); private static final org.apache.thrift.protocol.TField REQUEST_FIELD_DESC = new org.apache.thrift.protocol.TField("request", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partitions_statistics_req_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partitions_statistics_req_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_aggr_stats_for_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_aggr_stats_for_argsTupleSchemeFactory()); } private PartitionsStatsRequest request; // required @@ -124153,13 +125246,13 @@ public String getFieldName() { tmpMap.put(_Fields.REQUEST, new org.apache.thrift.meta_data.FieldMetaData("request", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PartitionsStatsRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_partitions_statistics_req_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_aggr_stats_for_args.class, metaDataMap); } - public get_partitions_statistics_req_args() { + public get_aggr_stats_for_args() { } - public get_partitions_statistics_req_args( + public get_aggr_stats_for_args( PartitionsStatsRequest request) { this(); @@ -124169,14 +125262,14 @@ public get_partitions_statistics_req_args( /** * Performs a deep copy on other. */ - public get_partitions_statistics_req_args(get_partitions_statistics_req_args other) { + public get_aggr_stats_for_args(get_aggr_stats_for_args other) { if (other.isSetRequest()) { this.request = new PartitionsStatsRequest(other.request); } } - public get_partitions_statistics_req_args deepCopy() { - return new get_partitions_statistics_req_args(this); + public get_aggr_stats_for_args deepCopy() { + return new get_aggr_stats_for_args(this); } @Override @@ -124246,12 +125339,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partitions_statistics_req_args) - return this.equals((get_partitions_statistics_req_args)that); + if (that instanceof get_aggr_stats_for_args) + return this.equals((get_aggr_stats_for_args)that); return false; } - public boolean equals(get_partitions_statistics_req_args that) { + public boolean equals(get_aggr_stats_for_args that) { if (that == null) return false; @@ -124280,7 +125373,7 @@ public int hashCode() { } @Override - public int compareTo(get_partitions_statistics_req_args other) { + public int compareTo(get_aggr_stats_for_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -124314,7 +125407,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partitions_statistics_req_args("); + StringBuilder sb = new StringBuilder("get_aggr_stats_for_args("); boolean first = true; sb.append("request:"); @@ -124352,15 +125445,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partitions_statistics_req_argsStandardSchemeFactory implements SchemeFactory { - public get_partitions_statistics_req_argsStandardScheme getScheme() { - return new get_partitions_statistics_req_argsStandardScheme(); + private static class get_aggr_stats_for_argsStandardSchemeFactory implements SchemeFactory { + public get_aggr_stats_for_argsStandardScheme getScheme() { + return new get_aggr_stats_for_argsStandardScheme(); } } - private static class get_partitions_statistics_req_argsStandardScheme extends StandardScheme { + private static class get_aggr_stats_for_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_statistics_req_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_aggr_stats_for_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -124388,7 +125481,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_stat struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_statistics_req_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_aggr_stats_for_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -124403,16 +125496,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_sta } - private static class get_partitions_statistics_req_argsTupleSchemeFactory implements SchemeFactory { - public get_partitions_statistics_req_argsTupleScheme getScheme() { - return new get_partitions_statistics_req_argsTupleScheme(); + private static class get_aggr_stats_for_argsTupleSchemeFactory implements SchemeFactory { + public get_aggr_stats_for_argsTupleScheme getScheme() { + return new get_aggr_stats_for_argsTupleScheme(); } } - private static class get_partitions_statistics_req_argsTupleScheme extends TupleScheme { + private static class get_aggr_stats_for_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_statistics_req_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetRequest()) { @@ -124425,7 +125518,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_stat } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_statistics_req_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { @@ -124438,8 +125531,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_stati } - public static class get_partitions_statistics_req_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_partitions_statistics_req_result"); + public static class get_aggr_stats_for_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_aggr_stats_for_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); @@ -124447,11 +125540,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_stati private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_partitions_statistics_req_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_partitions_statistics_req_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_aggr_stats_for_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_aggr_stats_for_resultTupleSchemeFactory()); } - private PartitionsStatsResult success; // required + private AggrStats success; // required private NoSuchObjectException o1; // required private MetaException o2; // required @@ -124524,20 +125617,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); 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, PartitionsStatsResult.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AggrStats.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))); tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", 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(get_partitions_statistics_req_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_aggr_stats_for_result.class, metaDataMap); } - public get_partitions_statistics_req_result() { + public get_aggr_stats_for_result() { } - public get_partitions_statistics_req_result( - PartitionsStatsResult success, + public get_aggr_stats_for_result( + AggrStats success, NoSuchObjectException o1, MetaException o2) { @@ -124550,9 +125643,9 @@ public get_partitions_statistics_req_result( /** * Performs a deep copy on other. */ - public get_partitions_statistics_req_result(get_partitions_statistics_req_result other) { + public get_aggr_stats_for_result(get_aggr_stats_for_result other) { if (other.isSetSuccess()) { - this.success = new PartitionsStatsResult(other.success); + this.success = new AggrStats(other.success); } if (other.isSetO1()) { this.o1 = new NoSuchObjectException(other.o1); @@ -124562,8 +125655,8 @@ public get_partitions_statistics_req_result(get_partitions_statistics_req_result } } - public get_partitions_statistics_req_result deepCopy() { - return new get_partitions_statistics_req_result(this); + public get_aggr_stats_for_result deepCopy() { + return new get_aggr_stats_for_result(this); } @Override @@ -124573,11 +125666,11 @@ public void clear() { this.o2 = null; } - public PartitionsStatsResult getSuccess() { + public AggrStats getSuccess() { return this.success; } - public void setSuccess(PartitionsStatsResult success) { + public void setSuccess(AggrStats success) { this.success = success; } @@ -124648,7 +125741,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((PartitionsStatsResult)value); + setSuccess((AggrStats)value); } break; @@ -124707,12 +125800,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_partitions_statistics_req_result) - return this.equals((get_partitions_statistics_req_result)that); + if (that instanceof get_aggr_stats_for_result) + return this.equals((get_aggr_stats_for_result)that); return false; } - public boolean equals(get_partitions_statistics_req_result that) { + public boolean equals(get_aggr_stats_for_result that) { if (that == null) return false; @@ -124769,7 +125862,7 @@ public int hashCode() { } @Override - public int compareTo(get_partitions_statistics_req_result other) { + public int compareTo(get_aggr_stats_for_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -124823,7 +125916,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partitions_statistics_req_result("); + StringBuilder sb = new StringBuilder("get_aggr_stats_for_result("); boolean first = true; sb.append("success:"); @@ -124877,15 +125970,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_partitions_statistics_req_resultStandardSchemeFactory implements SchemeFactory { - public get_partitions_statistics_req_resultStandardScheme getScheme() { - return new get_partitions_statistics_req_resultStandardScheme(); + private static class get_aggr_stats_for_resultStandardSchemeFactory implements SchemeFactory { + public get_aggr_stats_for_resultStandardScheme getScheme() { + return new get_aggr_stats_for_resultStandardScheme(); } } - private static class get_partitions_statistics_req_resultStandardScheme extends StandardScheme { + private static class get_aggr_stats_for_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_statistics_req_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_aggr_stats_for_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -124897,7 +125990,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_stat switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new PartitionsStatsResult(); + struct.success = new AggrStats(); struct.success.read(iprot); struct.setSuccessIsSet(true); } else { @@ -124931,7 +126024,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_stat struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_statistics_req_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_aggr_stats_for_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -124956,16 +126049,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_sta } - private static class get_partitions_statistics_req_resultTupleSchemeFactory implements SchemeFactory { - public get_partitions_statistics_req_resultTupleScheme getScheme() { - return new get_partitions_statistics_req_resultTupleScheme(); + private static class get_aggr_stats_for_resultTupleSchemeFactory implements SchemeFactory { + public get_aggr_stats_for_resultTupleScheme getScheme() { + return new get_aggr_stats_for_resultTupleScheme(); } } - private static class get_partitions_statistics_req_resultTupleScheme extends TupleScheme { + private static class get_aggr_stats_for_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_statistics_req_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -124990,11 +126083,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_stat } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_statistics_req_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { - struct.success = new PartitionsStatsResult(); + struct.success = new AggrStats(); struct.success.read(iprot); struct.setSuccessIsSet(true); } @@ -125013,18 +126106,18 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_stati } - public static class get_aggr_stats_for_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_aggr_stats_for_args"); + public static class get_parts_and_aggr_col_stats_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_parts_and_aggr_col_stats_args"); private static final org.apache.thrift.protocol.TField REQUEST_FIELD_DESC = new org.apache.thrift.protocol.TField("request", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_aggr_stats_for_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_aggr_stats_for_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_parts_and_aggr_col_stats_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_parts_and_aggr_col_stats_argsTupleSchemeFactory()); } - private PartitionsStatsRequest request; // required + private AggregatePartitionsStatsRequest request; // 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 { @@ -125089,16 +126182,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.REQUEST, new org.apache.thrift.meta_data.FieldMetaData("request", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PartitionsStatsRequest.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AggregatePartitionsStatsRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_aggr_stats_for_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_parts_and_aggr_col_stats_args.class, metaDataMap); } - public get_aggr_stats_for_args() { + public get_parts_and_aggr_col_stats_args() { } - public get_aggr_stats_for_args( - PartitionsStatsRequest request) + public get_parts_and_aggr_col_stats_args( + AggregatePartitionsStatsRequest request) { this(); this.request = request; @@ -125107,14 +126200,14 @@ public get_aggr_stats_for_args( /** * Performs a deep copy on other. */ - public get_aggr_stats_for_args(get_aggr_stats_for_args other) { + public get_parts_and_aggr_col_stats_args(get_parts_and_aggr_col_stats_args other) { if (other.isSetRequest()) { - this.request = new PartitionsStatsRequest(other.request); + this.request = new AggregatePartitionsStatsRequest(other.request); } } - public get_aggr_stats_for_args deepCopy() { - return new get_aggr_stats_for_args(this); + public get_parts_and_aggr_col_stats_args deepCopy() { + return new get_parts_and_aggr_col_stats_args(this); } @Override @@ -125122,11 +126215,11 @@ public void clear() { this.request = null; } - public PartitionsStatsRequest getRequest() { + public AggregatePartitionsStatsRequest getRequest() { return this.request; } - public void setRequest(PartitionsStatsRequest request) { + public void setRequest(AggregatePartitionsStatsRequest request) { this.request = request; } @@ -125151,7 +126244,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRequest(); } else { - setRequest((PartitionsStatsRequest)value); + setRequest((AggregatePartitionsStatsRequest)value); } break; @@ -125184,12 +126277,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_aggr_stats_for_args) - return this.equals((get_aggr_stats_for_args)that); + if (that instanceof get_parts_and_aggr_col_stats_args) + return this.equals((get_parts_and_aggr_col_stats_args)that); return false; } - public boolean equals(get_aggr_stats_for_args that) { + public boolean equals(get_parts_and_aggr_col_stats_args that) { if (that == null) return false; @@ -125218,7 +126311,7 @@ public int hashCode() { } @Override - public int compareTo(get_aggr_stats_for_args other) { + public int compareTo(get_parts_and_aggr_col_stats_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -125252,7 +126345,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_aggr_stats_for_args("); + StringBuilder sb = new StringBuilder("get_parts_and_aggr_col_stats_args("); boolean first = true; sb.append("request:"); @@ -125290,15 +126383,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_aggr_stats_for_argsStandardSchemeFactory implements SchemeFactory { - public get_aggr_stats_for_argsStandardScheme getScheme() { - return new get_aggr_stats_for_argsStandardScheme(); + private static class get_parts_and_aggr_col_stats_argsStandardSchemeFactory implements SchemeFactory { + public get_parts_and_aggr_col_stats_argsStandardScheme getScheme() { + return new get_parts_and_aggr_col_stats_argsStandardScheme(); } } - private static class get_aggr_stats_for_argsStandardScheme extends StandardScheme { + private static class get_parts_and_aggr_col_stats_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_aggr_stats_for_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_parts_and_aggr_col_stats_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -125310,7 +126403,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_aggr_stats_for_ switch (schemeField.id) { case 1: // REQUEST if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.request = new PartitionsStatsRequest(); + struct.request = new AggregatePartitionsStatsRequest(); struct.request.read(iprot); struct.setRequestIsSet(true); } else { @@ -125326,7 +126419,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_aggr_stats_for_ struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_aggr_stats_for_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_parts_and_aggr_col_stats_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -125341,16 +126434,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_aggr_stats_for } - private static class get_aggr_stats_for_argsTupleSchemeFactory implements SchemeFactory { - public get_aggr_stats_for_argsTupleScheme getScheme() { - return new get_aggr_stats_for_argsTupleScheme(); + private static class get_parts_and_aggr_col_stats_argsTupleSchemeFactory implements SchemeFactory { + public get_parts_and_aggr_col_stats_argsTupleScheme getScheme() { + return new get_parts_and_aggr_col_stats_argsTupleScheme(); } } - private static class get_aggr_stats_for_argsTupleScheme extends TupleScheme { + private static class get_parts_and_aggr_col_stats_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_parts_and_aggr_col_stats_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetRequest()) { @@ -125363,11 +126456,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_ } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_parts_and_aggr_col_stats_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.request = new PartitionsStatsRequest(); + struct.request = new AggregatePartitionsStatsRequest(); struct.request.read(iprot); struct.setRequestIsSet(true); } @@ -125376,8 +126469,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_a } - public static class get_aggr_stats_for_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_aggr_stats_for_result"); + public static class get_parts_and_aggr_col_stats_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_parts_and_aggr_col_stats_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); @@ -125385,11 +126478,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_a private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_aggr_stats_for_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_aggr_stats_for_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_parts_and_aggr_col_stats_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_parts_and_aggr_col_stats_resultTupleSchemeFactory()); } - private AggrStats success; // required + private AggregatePartitionsStatsResponse success; // required private NoSuchObjectException o1; // required private MetaException o2; // required @@ -125462,20 +126555,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); 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, AggrStats.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AggregatePartitionsStatsResponse.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))); tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", 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(get_aggr_stats_for_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_parts_and_aggr_col_stats_result.class, metaDataMap); } - public get_aggr_stats_for_result() { + public get_parts_and_aggr_col_stats_result() { } - public get_aggr_stats_for_result( - AggrStats success, + public get_parts_and_aggr_col_stats_result( + AggregatePartitionsStatsResponse success, NoSuchObjectException o1, MetaException o2) { @@ -125488,9 +126581,9 @@ public get_aggr_stats_for_result( /** * Performs a deep copy on other. */ - public get_aggr_stats_for_result(get_aggr_stats_for_result other) { + public get_parts_and_aggr_col_stats_result(get_parts_and_aggr_col_stats_result other) { if (other.isSetSuccess()) { - this.success = new AggrStats(other.success); + this.success = new AggregatePartitionsStatsResponse(other.success); } if (other.isSetO1()) { this.o1 = new NoSuchObjectException(other.o1); @@ -125500,8 +126593,8 @@ public get_aggr_stats_for_result(get_aggr_stats_for_result other) { } } - public get_aggr_stats_for_result deepCopy() { - return new get_aggr_stats_for_result(this); + public get_parts_and_aggr_col_stats_result deepCopy() { + return new get_parts_and_aggr_col_stats_result(this); } @Override @@ -125511,11 +126604,11 @@ public void clear() { this.o2 = null; } - public AggrStats getSuccess() { + public AggregatePartitionsStatsResponse getSuccess() { return this.success; } - public void setSuccess(AggrStats success) { + public void setSuccess(AggregatePartitionsStatsResponse success) { this.success = success; } @@ -125586,7 +126679,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((AggrStats)value); + setSuccess((AggregatePartitionsStatsResponse)value); } break; @@ -125645,12 +126738,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_aggr_stats_for_result) - return this.equals((get_aggr_stats_for_result)that); + if (that instanceof get_parts_and_aggr_col_stats_result) + return this.equals((get_parts_and_aggr_col_stats_result)that); return false; } - public boolean equals(get_aggr_stats_for_result that) { + public boolean equals(get_parts_and_aggr_col_stats_result that) { if (that == null) return false; @@ -125707,7 +126800,7 @@ public int hashCode() { } @Override - public int compareTo(get_aggr_stats_for_result other) { + public int compareTo(get_parts_and_aggr_col_stats_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -125761,7 +126854,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_aggr_stats_for_result("); + StringBuilder sb = new StringBuilder("get_parts_and_aggr_col_stats_result("); boolean first = true; sb.append("success:"); @@ -125815,15 +126908,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_aggr_stats_for_resultStandardSchemeFactory implements SchemeFactory { - public get_aggr_stats_for_resultStandardScheme getScheme() { - return new get_aggr_stats_for_resultStandardScheme(); + private static class get_parts_and_aggr_col_stats_resultStandardSchemeFactory implements SchemeFactory { + public get_parts_and_aggr_col_stats_resultStandardScheme getScheme() { + return new get_parts_and_aggr_col_stats_resultStandardScheme(); } } - private static class get_aggr_stats_for_resultStandardScheme extends StandardScheme { + private static class get_parts_and_aggr_col_stats_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_aggr_stats_for_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_parts_and_aggr_col_stats_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -125835,7 +126928,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_aggr_stats_for_ switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new AggrStats(); + struct.success = new AggregatePartitionsStatsResponse(); struct.success.read(iprot); struct.setSuccessIsSet(true); } else { @@ -125869,7 +126962,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_aggr_stats_for_ struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_aggr_stats_for_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_parts_and_aggr_col_stats_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -125894,16 +126987,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_aggr_stats_for } - private static class get_aggr_stats_for_resultTupleSchemeFactory implements SchemeFactory { - public get_aggr_stats_for_resultTupleScheme getScheme() { - return new get_aggr_stats_for_resultTupleScheme(); + private static class get_parts_and_aggr_col_stats_resultTupleSchemeFactory implements SchemeFactory { + public get_parts_and_aggr_col_stats_resultTupleScheme getScheme() { + return new get_parts_and_aggr_col_stats_resultTupleScheme(); } } - private static class get_aggr_stats_for_resultTupleScheme extends TupleScheme { + private static class get_parts_and_aggr_col_stats_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_parts_and_aggr_col_stats_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -125928,11 +127021,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_ } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_parts_and_aggr_col_stats_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { - struct.success = new AggrStats(); + struct.success = new AggregatePartitionsStatsResponse(); struct.success.read(iprot); struct.setSuccessIsSet(true); } @@ -133757,13 +134850,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 _list1086 = iprot.readListBegin(); - struct.success = new ArrayList(_list1086.size); - String _elem1087; - for (int _i1088 = 0; _i1088 < _list1086.size; ++_i1088) + org.apache.thrift.protocol.TList _list1102 = iprot.readListBegin(); + struct.success = new ArrayList(_list1102.size); + String _elem1103; + for (int _i1104 = 0; _i1104 < _list1102.size; ++_i1104) { - _elem1087 = iprot.readString(); - struct.success.add(_elem1087); + _elem1103 = iprot.readString(); + struct.success.add(_elem1103); } iprot.readListEnd(); } @@ -133798,9 +134891,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 _iter1089 : struct.success) + for (String _iter1105 : struct.success) { - oprot.writeString(_iter1089); + oprot.writeString(_iter1105); } oprot.writeListEnd(); } @@ -133839,9 +134932,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1090 : struct.success) + for (String _iter1106 : struct.success) { - oprot.writeString(_iter1090); + oprot.writeString(_iter1106); } } } @@ -133856,13 +134949,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 _list1091 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1091.size); - String _elem1092; - for (int _i1093 = 0; _i1093 < _list1091.size; ++_i1093) + org.apache.thrift.protocol.TList _list1107 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1107.size); + String _elem1108; + for (int _i1109 = 0; _i1109 < _list1107.size; ++_i1109) { - _elem1092 = iprot.readString(); - struct.success.add(_elem1092); + _elem1108 = iprot.readString(); + struct.success.add(_elem1108); } } struct.setSuccessIsSet(true); @@ -137917,13 +139010,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 _list1094 = iprot.readListBegin(); - struct.success = new ArrayList(_list1094.size); - String _elem1095; - for (int _i1096 = 0; _i1096 < _list1094.size; ++_i1096) + org.apache.thrift.protocol.TList _list1110 = iprot.readListBegin(); + struct.success = new ArrayList(_list1110.size); + String _elem1111; + for (int _i1112 = 0; _i1112 < _list1110.size; ++_i1112) { - _elem1095 = iprot.readString(); - struct.success.add(_elem1095); + _elem1111 = iprot.readString(); + struct.success.add(_elem1111); } iprot.readListEnd(); } @@ -137958,9 +139051,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 _iter1097 : struct.success) + for (String _iter1113 : struct.success) { - oprot.writeString(_iter1097); + oprot.writeString(_iter1113); } oprot.writeListEnd(); } @@ -137999,9 +139092,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1098 : struct.success) + for (String _iter1114 : struct.success) { - oprot.writeString(_iter1098); + oprot.writeString(_iter1114); } } } @@ -138016,13 +139109,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 _list1099 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1099.size); - String _elem1100; - for (int _i1101 = 0; _i1101 < _list1099.size; ++_i1101) + org.apache.thrift.protocol.TList _list1115 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1115.size); + String _elem1116; + for (int _i1117 = 0; _i1117 < _list1115.size; ++_i1117) { - _elem1100 = iprot.readString(); - struct.success.add(_elem1100); + _elem1116 = iprot.readString(); + struct.success.add(_elem1116); } } struct.setSuccessIsSet(true); @@ -141313,14 +142406,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 _list1102 = iprot.readListBegin(); - struct.success = new ArrayList(_list1102.size); - Role _elem1103; - for (int _i1104 = 0; _i1104 < _list1102.size; ++_i1104) + org.apache.thrift.protocol.TList _list1118 = iprot.readListBegin(); + struct.success = new ArrayList(_list1118.size); + Role _elem1119; + for (int _i1120 = 0; _i1120 < _list1118.size; ++_i1120) { - _elem1103 = new Role(); - _elem1103.read(iprot); - struct.success.add(_elem1103); + _elem1119 = new Role(); + _elem1119.read(iprot); + struct.success.add(_elem1119); } iprot.readListEnd(); } @@ -141355,9 +142448,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 _iter1105 : struct.success) + for (Role _iter1121 : struct.success) { - _iter1105.write(oprot); + _iter1121.write(oprot); } oprot.writeListEnd(); } @@ -141396,9 +142489,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter1106 : struct.success) + for (Role _iter1122 : struct.success) { - _iter1106.write(oprot); + _iter1122.write(oprot); } } } @@ -141413,14 +142506,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 _list1107 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1107.size); - Role _elem1108; - for (int _i1109 = 0; _i1109 < _list1107.size; ++_i1109) + org.apache.thrift.protocol.TList _list1123 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1123.size); + Role _elem1124; + for (int _i1125 = 0; _i1125 < _list1123.size; ++_i1125) { - _elem1108 = new Role(); - _elem1108.read(iprot); - struct.success.add(_elem1108); + _elem1124 = new Role(); + _elem1124.read(iprot); + struct.success.add(_elem1124); } } struct.setSuccessIsSet(true); @@ -144425,13 +145518,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 _list1110 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1110.size); - String _elem1111; - for (int _i1112 = 0; _i1112 < _list1110.size; ++_i1112) + org.apache.thrift.protocol.TList _list1126 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1126.size); + String _elem1127; + for (int _i1128 = 0; _i1128 < _list1126.size; ++_i1128) { - _elem1111 = iprot.readString(); - struct.group_names.add(_elem1111); + _elem1127 = iprot.readString(); + struct.group_names.add(_elem1127); } iprot.readListEnd(); } @@ -144467,9 +145560,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 _iter1113 : struct.group_names) + for (String _iter1129 : struct.group_names) { - oprot.writeString(_iter1113); + oprot.writeString(_iter1129); } oprot.writeListEnd(); } @@ -144512,9 +145605,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 _iter1114 : struct.group_names) + for (String _iter1130 : struct.group_names) { - oprot.writeString(_iter1114); + oprot.writeString(_iter1130); } } } @@ -144535,13 +145628,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1115 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1115.size); - String _elem1116; - for (int _i1117 = 0; _i1117 < _list1115.size; ++_i1117) + org.apache.thrift.protocol.TList _list1131 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1131.size); + String _elem1132; + for (int _i1133 = 0; _i1133 < _list1131.size; ++_i1133) { - _elem1116 = iprot.readString(); - struct.group_names.add(_elem1116); + _elem1132 = iprot.readString(); + struct.group_names.add(_elem1132); } } struct.setGroup_namesIsSet(true); @@ -145999,14 +147092,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 _list1118 = iprot.readListBegin(); - struct.success = new ArrayList(_list1118.size); - HiveObjectPrivilege _elem1119; - for (int _i1120 = 0; _i1120 < _list1118.size; ++_i1120) + org.apache.thrift.protocol.TList _list1134 = iprot.readListBegin(); + struct.success = new ArrayList(_list1134.size); + HiveObjectPrivilege _elem1135; + for (int _i1136 = 0; _i1136 < _list1134.size; ++_i1136) { - _elem1119 = new HiveObjectPrivilege(); - _elem1119.read(iprot); - struct.success.add(_elem1119); + _elem1135 = new HiveObjectPrivilege(); + _elem1135.read(iprot); + struct.success.add(_elem1135); } iprot.readListEnd(); } @@ -146041,9 +147134,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 _iter1121 : struct.success) + for (HiveObjectPrivilege _iter1137 : struct.success) { - _iter1121.write(oprot); + _iter1137.write(oprot); } oprot.writeListEnd(); } @@ -146082,9 +147175,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter1122 : struct.success) + for (HiveObjectPrivilege _iter1138 : struct.success) { - _iter1122.write(oprot); + _iter1138.write(oprot); } } } @@ -146099,14 +147192,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 _list1123 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1123.size); - HiveObjectPrivilege _elem1124; - for (int _i1125 = 0; _i1125 < _list1123.size; ++_i1125) + org.apache.thrift.protocol.TList _list1139 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1139.size); + HiveObjectPrivilege _elem1140; + for (int _i1141 = 0; _i1141 < _list1139.size; ++_i1141) { - _elem1124 = new HiveObjectPrivilege(); - _elem1124.read(iprot); - struct.success.add(_elem1124); + _elem1140 = new HiveObjectPrivilege(); + _elem1140.read(iprot); + struct.success.add(_elem1140); } } struct.setSuccessIsSet(true); @@ -149008,13 +150101,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 _list1126 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1126.size); - String _elem1127; - for (int _i1128 = 0; _i1128 < _list1126.size; ++_i1128) + org.apache.thrift.protocol.TList _list1142 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1142.size); + String _elem1143; + for (int _i1144 = 0; _i1144 < _list1142.size; ++_i1144) { - _elem1127 = iprot.readString(); - struct.group_names.add(_elem1127); + _elem1143 = iprot.readString(); + struct.group_names.add(_elem1143); } iprot.readListEnd(); } @@ -149045,9 +150138,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 _iter1129 : struct.group_names) + for (String _iter1145 : struct.group_names) { - oprot.writeString(_iter1129); + oprot.writeString(_iter1145); } oprot.writeListEnd(); } @@ -149084,9 +150177,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 _iter1130 : struct.group_names) + for (String _iter1146 : struct.group_names) { - oprot.writeString(_iter1130); + oprot.writeString(_iter1146); } } } @@ -149102,13 +150195,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1131 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1131.size); - String _elem1132; - for (int _i1133 = 0; _i1133 < _list1131.size; ++_i1133) + org.apache.thrift.protocol.TList _list1147 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1147.size); + String _elem1148; + for (int _i1149 = 0; _i1149 < _list1147.size; ++_i1149) { - _elem1132 = iprot.readString(); - struct.group_names.add(_elem1132); + _elem1148 = iprot.readString(); + struct.group_names.add(_elem1148); } } struct.setGroup_namesIsSet(true); @@ -149511,13 +150604,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 _list1134 = iprot.readListBegin(); - struct.success = new ArrayList(_list1134.size); - String _elem1135; - for (int _i1136 = 0; _i1136 < _list1134.size; ++_i1136) + org.apache.thrift.protocol.TList _list1150 = iprot.readListBegin(); + struct.success = new ArrayList(_list1150.size); + String _elem1151; + for (int _i1152 = 0; _i1152 < _list1150.size; ++_i1152) { - _elem1135 = iprot.readString(); - struct.success.add(_elem1135); + _elem1151 = iprot.readString(); + struct.success.add(_elem1151); } iprot.readListEnd(); } @@ -149552,9 +150645,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 _iter1137 : struct.success) + for (String _iter1153 : struct.success) { - oprot.writeString(_iter1137); + oprot.writeString(_iter1153); } oprot.writeListEnd(); } @@ -149593,9 +150686,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1138 : struct.success) + for (String _iter1154 : struct.success) { - oprot.writeString(_iter1138); + oprot.writeString(_iter1154); } } } @@ -149610,13 +150703,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 _list1139 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1139.size); - String _elem1140; - for (int _i1141 = 0; _i1141 < _list1139.size; ++_i1141) + org.apache.thrift.protocol.TList _list1155 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1155.size); + String _elem1156; + for (int _i1157 = 0; _i1157 < _list1155.size; ++_i1157) { - _elem1140 = iprot.readString(); - struct.success.add(_elem1140); + _elem1156 = iprot.readString(); + struct.success.add(_elem1156); } } struct.setSuccessIsSet(true); @@ -154907,13 +156000,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 _list1142 = iprot.readListBegin(); - struct.success = new ArrayList(_list1142.size); - String _elem1143; - for (int _i1144 = 0; _i1144 < _list1142.size; ++_i1144) + org.apache.thrift.protocol.TList _list1158 = iprot.readListBegin(); + struct.success = new ArrayList(_list1158.size); + String _elem1159; + for (int _i1160 = 0; _i1160 < _list1158.size; ++_i1160) { - _elem1143 = iprot.readString(); - struct.success.add(_elem1143); + _elem1159 = iprot.readString(); + struct.success.add(_elem1159); } iprot.readListEnd(); } @@ -154939,9 +156032,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 _iter1145 : struct.success) + for (String _iter1161 : struct.success) { - oprot.writeString(_iter1145); + oprot.writeString(_iter1161); } oprot.writeListEnd(); } @@ -154972,9 +156065,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_token_ident if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1146 : struct.success) + for (String _iter1162 : struct.success) { - oprot.writeString(_iter1146); + oprot.writeString(_iter1162); } } } @@ -154986,13 +156079,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 _list1147 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1147.size); - String _elem1148; - for (int _i1149 = 0; _i1149 < _list1147.size; ++_i1149) + org.apache.thrift.protocol.TList _list1163 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1163.size); + String _elem1164; + for (int _i1165 = 0; _i1165 < _list1163.size; ++_i1165) { - _elem1148 = iprot.readString(); - struct.success.add(_elem1148); + _elem1164 = iprot.readString(); + struct.success.add(_elem1164); } } struct.setSuccessIsSet(true); @@ -158022,13 +159115,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_res case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1150 = iprot.readListBegin(); - struct.success = new ArrayList(_list1150.size); - String _elem1151; - for (int _i1152 = 0; _i1152 < _list1150.size; ++_i1152) + org.apache.thrift.protocol.TList _list1166 = iprot.readListBegin(); + struct.success = new ArrayList(_list1166.size); + String _elem1167; + for (int _i1168 = 0; _i1168 < _list1166.size; ++_i1168) { - _elem1151 = iprot.readString(); - struct.success.add(_elem1151); + _elem1167 = iprot.readString(); + struct.success.add(_elem1167); } iprot.readListEnd(); } @@ -158054,9 +159147,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_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 _iter1153 : struct.success) + for (String _iter1169 : struct.success) { - oprot.writeString(_iter1153); + oprot.writeString(_iter1169); } oprot.writeListEnd(); } @@ -158087,9 +159180,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1154 : struct.success) + for (String _iter1170 : struct.success) { - oprot.writeString(_iter1154); + oprot.writeString(_iter1170); } } } @@ -158101,13 +159194,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_master_keys_resu BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1155 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1155.size); - String _elem1156; - for (int _i1157 = 0; _i1157 < _list1155.size; ++_i1157) + org.apache.thrift.protocol.TList _list1171 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1171.size); + String _elem1172; + for (int _i1173 = 0; _i1173 < _list1171.size; ++_i1173) { - _elem1156 = iprot.readString(); - struct.success.add(_elem1156); + _elem1172 = iprot.readString(); + struct.success.add(_elem1172); } } struct.setSuccessIsSet(true); diff --git a/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php b/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php index 2d82c92..7db2216 100644 --- a/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ b/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -803,6 +803,13 @@ interface ThriftHiveMetastoreIf extends \FacebookServiceIf { */ public function get_aggr_stats_for(\metastore\PartitionsStatsRequest $request); /** + * @param \metastore\AggregatePartitionsStatsRequest $request + * @return \metastore\AggregatePartitionsStatsResponse + * @throws \metastore\NoSuchObjectException + * @throws \metastore\MetaException + */ + public function get_parts_and_aggr_col_stats(\metastore\AggregatePartitionsStatsRequest $request); + /** * @param \metastore\SetPartitionsStatsRequest $request * @return bool * @throws \metastore\NoSuchObjectException @@ -6470,6 +6477,63 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("get_aggr_stats_for failed: unknown result"); } + public function get_parts_and_aggr_col_stats(\metastore\AggregatePartitionsStatsRequest $request) + { + $this->send_get_parts_and_aggr_col_stats($request); + return $this->recv_get_parts_and_aggr_col_stats(); + } + + public function send_get_parts_and_aggr_col_stats(\metastore\AggregatePartitionsStatsRequest $request) + { + $args = new \metastore\ThriftHiveMetastore_get_parts_and_aggr_col_stats_args(); + $args->request = $request; + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); + if ($bin_accel) + { + thrift_protocol_write_binary($this->output_, 'get_parts_and_aggr_col_stats', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); + } + else + { + $this->output_->writeMessageBegin('get_parts_and_aggr_col_stats', TMessageType::CALL, $this->seqid_); + $args->write($this->output_); + $this->output_->writeMessageEnd(); + $this->output_->getTransport()->flush(); + } + } + + public function recv_get_parts_and_aggr_col_stats() + { + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); + if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_parts_and_aggr_col_stats_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_get_parts_and_aggr_col_stats_result(); + $result->read($this->input_); + $this->input_->readMessageEnd(); + } + if ($result->success !== null) { + return $result->success; + } + if ($result->o1 !== null) { + throw $result->o1; + } + if ($result->o2 !== null) { + throw $result->o2; + } + throw new \Exception("get_parts_and_aggr_col_stats failed: unknown result"); + } + public function set_aggr_stats_for(\metastore\SetPartitionsStatsRequest $request) { $this->send_set_aggr_stats_for($request); @@ -10792,14 +10856,14 @@ class ThriftHiveMetastore_get_databases_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) + $_size583 = 0; + $_etype586 = 0; + $xfer += $input->readListBegin($_etype586, $_size583); + for ($_i587 = 0; $_i587 < $_size583; ++$_i587) { - $elem574 = null; - $xfer += $input->readString($elem574); - $this->success []= $elem574; + $elem588 = null; + $xfer += $input->readString($elem588); + $this->success []= $elem588; } $xfer += $input->readListEnd(); } else { @@ -10835,9 +10899,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter575) + foreach ($this->success as $iter589) { - $xfer += $output->writeString($iter575); + $xfer += $output->writeString($iter589); } } $output->writeListEnd(); @@ -10968,14 +11032,14 @@ class ThriftHiveMetastore_get_all_databases_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) + $_size590 = 0; + $_etype593 = 0; + $xfer += $input->readListBegin($_etype593, $_size590); + for ($_i594 = 0; $_i594 < $_size590; ++$_i594) { - $elem581 = null; - $xfer += $input->readString($elem581); - $this->success []= $elem581; + $elem595 = null; + $xfer += $input->readString($elem595); + $this->success []= $elem595; } $xfer += $input->readListEnd(); } else { @@ -11011,9 +11075,9 @@ class ThriftHiveMetastore_get_all_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter582) + foreach ($this->success as $iter596) { - $xfer += $output->writeString($iter582); + $xfer += $output->writeString($iter596); } } $output->writeListEnd(); @@ -12014,18 +12078,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size583 = 0; - $_ktype584 = 0; - $_vtype585 = 0; - $xfer += $input->readMapBegin($_ktype584, $_vtype585, $_size583); - for ($_i587 = 0; $_i587 < $_size583; ++$_i587) + $_size597 = 0; + $_ktype598 = 0; + $_vtype599 = 0; + $xfer += $input->readMapBegin($_ktype598, $_vtype599, $_size597); + for ($_i601 = 0; $_i601 < $_size597; ++$_i601) { - $key588 = ''; - $val589 = new \metastore\Type(); - $xfer += $input->readString($key588); - $val589 = new \metastore\Type(); - $xfer += $val589->read($input); - $this->success[$key588] = $val589; + $key602 = ''; + $val603 = new \metastore\Type(); + $xfer += $input->readString($key602); + $val603 = new \metastore\Type(); + $xfer += $val603->read($input); + $this->success[$key602] = $val603; } $xfer += $input->readMapEnd(); } else { @@ -12061,10 +12125,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter590 => $viter591) + foreach ($this->success as $kiter604 => $viter605) { - $xfer += $output->writeString($kiter590); - $xfer += $viter591->write($output); + $xfer += $output->writeString($kiter604); + $xfer += $viter605->write($output); } } $output->writeMapEnd(); @@ -12268,15 +12332,15 @@ class ThriftHiveMetastore_get_fields_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size592 = 0; - $_etype595 = 0; - $xfer += $input->readListBegin($_etype595, $_size592); - for ($_i596 = 0; $_i596 < $_size592; ++$_i596) + $_size606 = 0; + $_etype609 = 0; + $xfer += $input->readListBegin($_etype609, $_size606); + for ($_i610 = 0; $_i610 < $_size606; ++$_i610) { - $elem597 = null; - $elem597 = new \metastore\FieldSchema(); - $xfer += $elem597->read($input); - $this->success []= $elem597; + $elem611 = null; + $elem611 = new \metastore\FieldSchema(); + $xfer += $elem611->read($input); + $this->success []= $elem611; } $xfer += $input->readListEnd(); } else { @@ -12328,9 +12392,9 @@ class ThriftHiveMetastore_get_fields_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter598) + foreach ($this->success as $iter612) { - $xfer += $iter598->write($output); + $xfer += $iter612->write($output); } } $output->writeListEnd(); @@ -12572,15 +12636,15 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size599 = 0; - $_etype602 = 0; - $xfer += $input->readListBegin($_etype602, $_size599); - for ($_i603 = 0; $_i603 < $_size599; ++$_i603) + $_size613 = 0; + $_etype616 = 0; + $xfer += $input->readListBegin($_etype616, $_size613); + for ($_i617 = 0; $_i617 < $_size613; ++$_i617) { - $elem604 = null; - $elem604 = new \metastore\FieldSchema(); - $xfer += $elem604->read($input); - $this->success []= $elem604; + $elem618 = null; + $elem618 = new \metastore\FieldSchema(); + $xfer += $elem618->read($input); + $this->success []= $elem618; } $xfer += $input->readListEnd(); } else { @@ -12632,9 +12696,9 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter605) + foreach ($this->success as $iter619) { - $xfer += $iter605->write($output); + $xfer += $iter619->write($output); } } $output->writeListEnd(); @@ -12848,15 +12912,15 @@ class ThriftHiveMetastore_get_schema_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size606 = 0; - $_etype609 = 0; - $xfer += $input->readListBegin($_etype609, $_size606); - for ($_i610 = 0; $_i610 < $_size606; ++$_i610) + $_size620 = 0; + $_etype623 = 0; + $xfer += $input->readListBegin($_etype623, $_size620); + for ($_i624 = 0; $_i624 < $_size620; ++$_i624) { - $elem611 = null; - $elem611 = new \metastore\FieldSchema(); - $xfer += $elem611->read($input); - $this->success []= $elem611; + $elem625 = null; + $elem625 = new \metastore\FieldSchema(); + $xfer += $elem625->read($input); + $this->success []= $elem625; } $xfer += $input->readListEnd(); } else { @@ -12908,9 +12972,9 @@ class ThriftHiveMetastore_get_schema_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter612) + foreach ($this->success as $iter626) { - $xfer += $iter612->write($output); + $xfer += $iter626->write($output); } } $output->writeListEnd(); @@ -13152,15 +13216,15 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size613 = 0; - $_etype616 = 0; - $xfer += $input->readListBegin($_etype616, $_size613); - for ($_i617 = 0; $_i617 < $_size613; ++$_i617) + $_size627 = 0; + $_etype630 = 0; + $xfer += $input->readListBegin($_etype630, $_size627); + for ($_i631 = 0; $_i631 < $_size627; ++$_i631) { - $elem618 = null; - $elem618 = new \metastore\FieldSchema(); - $xfer += $elem618->read($input); - $this->success []= $elem618; + $elem632 = null; + $elem632 = new \metastore\FieldSchema(); + $xfer += $elem632->read($input); + $this->success []= $elem632; } $xfer += $input->readListEnd(); } else { @@ -13212,9 +13276,9 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter619) + foreach ($this->success as $iter633) { - $xfer += $iter619->write($output); + $xfer += $iter633->write($output); } } $output->writeListEnd(); @@ -13822,15 +13886,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 2: if ($ftype == TType::LST) { $this->primaryKeys = array(); - $_size620 = 0; - $_etype623 = 0; - $xfer += $input->readListBegin($_etype623, $_size620); - for ($_i624 = 0; $_i624 < $_size620; ++$_i624) + $_size634 = 0; + $_etype637 = 0; + $xfer += $input->readListBegin($_etype637, $_size634); + for ($_i638 = 0; $_i638 < $_size634; ++$_i638) { - $elem625 = null; - $elem625 = new \metastore\SQLPrimaryKey(); - $xfer += $elem625->read($input); - $this->primaryKeys []= $elem625; + $elem639 = null; + $elem639 = new \metastore\SQLPrimaryKey(); + $xfer += $elem639->read($input); + $this->primaryKeys []= $elem639; } $xfer += $input->readListEnd(); } else { @@ -13840,15 +13904,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 3: if ($ftype == TType::LST) { $this->foreignKeys = array(); - $_size626 = 0; - $_etype629 = 0; - $xfer += $input->readListBegin($_etype629, $_size626); - for ($_i630 = 0; $_i630 < $_size626; ++$_i630) + $_size640 = 0; + $_etype643 = 0; + $xfer += $input->readListBegin($_etype643, $_size640); + for ($_i644 = 0; $_i644 < $_size640; ++$_i644) { - $elem631 = null; - $elem631 = new \metastore\SQLForeignKey(); - $xfer += $elem631->read($input); - $this->foreignKeys []= $elem631; + $elem645 = null; + $elem645 = new \metastore\SQLForeignKey(); + $xfer += $elem645->read($input); + $this->foreignKeys []= $elem645; } $xfer += $input->readListEnd(); } else { @@ -13884,9 +13948,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->primaryKeys)); { - foreach ($this->primaryKeys as $iter632) + foreach ($this->primaryKeys as $iter646) { - $xfer += $iter632->write($output); + $xfer += $iter646->write($output); } } $output->writeListEnd(); @@ -13901,9 +13965,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->foreignKeys)); { - foreach ($this->foreignKeys as $iter633) + foreach ($this->foreignKeys as $iter647) { - $xfer += $iter633->write($output); + $xfer += $iter647->write($output); } } $output->writeListEnd(); @@ -15249,14 +15313,14 @@ class ThriftHiveMetastore_get_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size634 = 0; - $_etype637 = 0; - $xfer += $input->readListBegin($_etype637, $_size634); - for ($_i638 = 0; $_i638 < $_size634; ++$_i638) + $_size648 = 0; + $_etype651 = 0; + $xfer += $input->readListBegin($_etype651, $_size648); + for ($_i652 = 0; $_i652 < $_size648; ++$_i652) { - $elem639 = null; - $xfer += $input->readString($elem639); - $this->success []= $elem639; + $elem653 = null; + $xfer += $input->readString($elem653); + $this->success []= $elem653; } $xfer += $input->readListEnd(); } else { @@ -15292,9 +15356,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter640) + foreach ($this->success as $iter654) { - $xfer += $output->writeString($iter640); + $xfer += $output->writeString($iter654); } } $output->writeListEnd(); @@ -15399,14 +15463,14 @@ class ThriftHiveMetastore_get_table_meta_args { case 3: if ($ftype == TType::LST) { $this->tbl_types = array(); - $_size641 = 0; - $_etype644 = 0; - $xfer += $input->readListBegin($_etype644, $_size641); - for ($_i645 = 0; $_i645 < $_size641; ++$_i645) + $_size655 = 0; + $_etype658 = 0; + $xfer += $input->readListBegin($_etype658, $_size655); + for ($_i659 = 0; $_i659 < $_size655; ++$_i659) { - $elem646 = null; - $xfer += $input->readString($elem646); - $this->tbl_types []= $elem646; + $elem660 = null; + $xfer += $input->readString($elem660); + $this->tbl_types []= $elem660; } $xfer += $input->readListEnd(); } else { @@ -15444,9 +15508,9 @@ class ThriftHiveMetastore_get_table_meta_args { { $output->writeListBegin(TType::STRING, count($this->tbl_types)); { - foreach ($this->tbl_types as $iter647) + foreach ($this->tbl_types as $iter661) { - $xfer += $output->writeString($iter647); + $xfer += $output->writeString($iter661); } } $output->writeListEnd(); @@ -15523,15 +15587,15 @@ class ThriftHiveMetastore_get_table_meta_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size648 = 0; - $_etype651 = 0; - $xfer += $input->readListBegin($_etype651, $_size648); - for ($_i652 = 0; $_i652 < $_size648; ++$_i652) + $_size662 = 0; + $_etype665 = 0; + $xfer += $input->readListBegin($_etype665, $_size662); + for ($_i666 = 0; $_i666 < $_size662; ++$_i666) { - $elem653 = null; - $elem653 = new \metastore\TableMeta(); - $xfer += $elem653->read($input); - $this->success []= $elem653; + $elem667 = null; + $elem667 = new \metastore\TableMeta(); + $xfer += $elem667->read($input); + $this->success []= $elem667; } $xfer += $input->readListEnd(); } else { @@ -15567,9 +15631,9 @@ class ThriftHiveMetastore_get_table_meta_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter654) + foreach ($this->success as $iter668) { - $xfer += $iter654->write($output); + $xfer += $iter668->write($output); } } $output->writeListEnd(); @@ -15725,14 +15789,14 @@ class ThriftHiveMetastore_get_all_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size655 = 0; - $_etype658 = 0; - $xfer += $input->readListBegin($_etype658, $_size655); - for ($_i659 = 0; $_i659 < $_size655; ++$_i659) + $_size669 = 0; + $_etype672 = 0; + $xfer += $input->readListBegin($_etype672, $_size669); + for ($_i673 = 0; $_i673 < $_size669; ++$_i673) { - $elem660 = null; - $xfer += $input->readString($elem660); - $this->success []= $elem660; + $elem674 = null; + $xfer += $input->readString($elem674); + $this->success []= $elem674; } $xfer += $input->readListEnd(); } else { @@ -15768,9 +15832,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter661) + foreach ($this->success as $iter675) { - $xfer += $output->writeString($iter661); + $xfer += $output->writeString($iter675); } } $output->writeListEnd(); @@ -16085,14 +16149,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size662 = 0; - $_etype665 = 0; - $xfer += $input->readListBegin($_etype665, $_size662); - for ($_i666 = 0; $_i666 < $_size662; ++$_i666) + $_size676 = 0; + $_etype679 = 0; + $xfer += $input->readListBegin($_etype679, $_size676); + for ($_i680 = 0; $_i680 < $_size676; ++$_i680) { - $elem667 = null; - $xfer += $input->readString($elem667); - $this->tbl_names []= $elem667; + $elem681 = null; + $xfer += $input->readString($elem681); + $this->tbl_names []= $elem681; } $xfer += $input->readListEnd(); } else { @@ -16125,9 +16189,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter668) + foreach ($this->tbl_names as $iter682) { - $xfer += $output->writeString($iter668); + $xfer += $output->writeString($iter682); } } $output->writeListEnd(); @@ -16228,15 +16292,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size669 = 0; - $_etype672 = 0; - $xfer += $input->readListBegin($_etype672, $_size669); - for ($_i673 = 0; $_i673 < $_size669; ++$_i673) + $_size683 = 0; + $_etype686 = 0; + $xfer += $input->readListBegin($_etype686, $_size683); + for ($_i687 = 0; $_i687 < $_size683; ++$_i687) { - $elem674 = null; - $elem674 = new \metastore\Table(); - $xfer += $elem674->read($input); - $this->success []= $elem674; + $elem688 = null; + $elem688 = new \metastore\Table(); + $xfer += $elem688->read($input); + $this->success []= $elem688; } $xfer += $input->readListEnd(); } else { @@ -16288,9 +16352,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter675) + foreach ($this->success as $iter689) { - $xfer += $iter675->write($output); + $xfer += $iter689->write($output); } } $output->writeListEnd(); @@ -16526,14 +16590,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size676 = 0; - $_etype679 = 0; - $xfer += $input->readListBegin($_etype679, $_size676); - for ($_i680 = 0; $_i680 < $_size676; ++$_i680) + $_size690 = 0; + $_etype693 = 0; + $xfer += $input->readListBegin($_etype693, $_size690); + for ($_i694 = 0; $_i694 < $_size690; ++$_i694) { - $elem681 = null; - $xfer += $input->readString($elem681); - $this->success []= $elem681; + $elem695 = null; + $xfer += $input->readString($elem695); + $this->success []= $elem695; } $xfer += $input->readListEnd(); } else { @@ -16585,9 +16649,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter682) + foreach ($this->success as $iter696) { - $xfer += $output->writeString($iter682); + $xfer += $output->writeString($iter696); } } $output->writeListEnd(); @@ -17900,15 +17964,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size683 = 0; - $_etype686 = 0; - $xfer += $input->readListBegin($_etype686, $_size683); - for ($_i687 = 0; $_i687 < $_size683; ++$_i687) + $_size697 = 0; + $_etype700 = 0; + $xfer += $input->readListBegin($_etype700, $_size697); + for ($_i701 = 0; $_i701 < $_size697; ++$_i701) { - $elem688 = null; - $elem688 = new \metastore\Partition(); - $xfer += $elem688->read($input); - $this->new_parts []= $elem688; + $elem702 = null; + $elem702 = new \metastore\Partition(); + $xfer += $elem702->read($input); + $this->new_parts []= $elem702; } $xfer += $input->readListEnd(); } else { @@ -17936,9 +18000,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter689) + foreach ($this->new_parts as $iter703) { - $xfer += $iter689->write($output); + $xfer += $iter703->write($output); } } $output->writeListEnd(); @@ -18153,15 +18217,15 @@ class ThriftHiveMetastore_add_partitions_pspec_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size690 = 0; - $_etype693 = 0; - $xfer += $input->readListBegin($_etype693, $_size690); - for ($_i694 = 0; $_i694 < $_size690; ++$_i694) + $_size704 = 0; + $_etype707 = 0; + $xfer += $input->readListBegin($_etype707, $_size704); + for ($_i708 = 0; $_i708 < $_size704; ++$_i708) { - $elem695 = null; - $elem695 = new \metastore\PartitionSpec(); - $xfer += $elem695->read($input); - $this->new_parts []= $elem695; + $elem709 = null; + $elem709 = new \metastore\PartitionSpec(); + $xfer += $elem709->read($input); + $this->new_parts []= $elem709; } $xfer += $input->readListEnd(); } else { @@ -18189,9 +18253,9 @@ class ThriftHiveMetastore_add_partitions_pspec_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter696) + foreach ($this->new_parts as $iter710) { - $xfer += $iter696->write($output); + $xfer += $iter710->write($output); } } $output->writeListEnd(); @@ -18441,14 +18505,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size697 = 0; - $_etype700 = 0; - $xfer += $input->readListBegin($_etype700, $_size697); - for ($_i701 = 0; $_i701 < $_size697; ++$_i701) + $_size711 = 0; + $_etype714 = 0; + $xfer += $input->readListBegin($_etype714, $_size711); + for ($_i715 = 0; $_i715 < $_size711; ++$_i715) { - $elem702 = null; - $xfer += $input->readString($elem702); - $this->part_vals []= $elem702; + $elem716 = null; + $xfer += $input->readString($elem716); + $this->part_vals []= $elem716; } $xfer += $input->readListEnd(); } else { @@ -18486,9 +18550,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter703) + foreach ($this->part_vals as $iter717) { - $xfer += $output->writeString($iter703); + $xfer += $output->writeString($iter717); } } $output->writeListEnd(); @@ -18990,14 +19054,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size704 = 0; - $_etype707 = 0; - $xfer += $input->readListBegin($_etype707, $_size704); - for ($_i708 = 0; $_i708 < $_size704; ++$_i708) + $_size718 = 0; + $_etype721 = 0; + $xfer += $input->readListBegin($_etype721, $_size718); + for ($_i722 = 0; $_i722 < $_size718; ++$_i722) { - $elem709 = null; - $xfer += $input->readString($elem709); - $this->part_vals []= $elem709; + $elem723 = null; + $xfer += $input->readString($elem723); + $this->part_vals []= $elem723; } $xfer += $input->readListEnd(); } else { @@ -19043,9 +19107,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter710) + foreach ($this->part_vals as $iter724) { - $xfer += $output->writeString($iter710); + $xfer += $output->writeString($iter724); } } $output->writeListEnd(); @@ -19899,14 +19963,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size711 = 0; - $_etype714 = 0; - $xfer += $input->readListBegin($_etype714, $_size711); - for ($_i715 = 0; $_i715 < $_size711; ++$_i715) + $_size725 = 0; + $_etype728 = 0; + $xfer += $input->readListBegin($_etype728, $_size725); + for ($_i729 = 0; $_i729 < $_size725; ++$_i729) { - $elem716 = null; - $xfer += $input->readString($elem716); - $this->part_vals []= $elem716; + $elem730 = null; + $xfer += $input->readString($elem730); + $this->part_vals []= $elem730; } $xfer += $input->readListEnd(); } else { @@ -19951,9 +20015,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter717) + foreach ($this->part_vals as $iter731) { - $xfer += $output->writeString($iter717); + $xfer += $output->writeString($iter731); } } $output->writeListEnd(); @@ -20206,14 +20270,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size718 = 0; - $_etype721 = 0; - $xfer += $input->readListBegin($_etype721, $_size718); - for ($_i722 = 0; $_i722 < $_size718; ++$_i722) + $_size732 = 0; + $_etype735 = 0; + $xfer += $input->readListBegin($_etype735, $_size732); + for ($_i736 = 0; $_i736 < $_size732; ++$_i736) { - $elem723 = null; - $xfer += $input->readString($elem723); - $this->part_vals []= $elem723; + $elem737 = null; + $xfer += $input->readString($elem737); + $this->part_vals []= $elem737; } $xfer += $input->readListEnd(); } else { @@ -20266,9 +20330,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter724) + foreach ($this->part_vals as $iter738) { - $xfer += $output->writeString($iter724); + $xfer += $output->writeString($iter738); } } $output->writeListEnd(); @@ -21282,14 +21346,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size725 = 0; - $_etype728 = 0; - $xfer += $input->readListBegin($_etype728, $_size725); - for ($_i729 = 0; $_i729 < $_size725; ++$_i729) + $_size739 = 0; + $_etype742 = 0; + $xfer += $input->readListBegin($_etype742, $_size739); + for ($_i743 = 0; $_i743 < $_size739; ++$_i743) { - $elem730 = null; - $xfer += $input->readString($elem730); - $this->part_vals []= $elem730; + $elem744 = null; + $xfer += $input->readString($elem744); + $this->part_vals []= $elem744; } $xfer += $input->readListEnd(); } else { @@ -21327,9 +21391,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter731) + foreach ($this->part_vals as $iter745) { - $xfer += $output->writeString($iter731); + $xfer += $output->writeString($iter745); } } $output->writeListEnd(); @@ -21571,17 +21635,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size732 = 0; - $_ktype733 = 0; - $_vtype734 = 0; - $xfer += $input->readMapBegin($_ktype733, $_vtype734, $_size732); - for ($_i736 = 0; $_i736 < $_size732; ++$_i736) + $_size746 = 0; + $_ktype747 = 0; + $_vtype748 = 0; + $xfer += $input->readMapBegin($_ktype747, $_vtype748, $_size746); + for ($_i750 = 0; $_i750 < $_size746; ++$_i750) { - $key737 = ''; - $val738 = ''; - $xfer += $input->readString($key737); - $xfer += $input->readString($val738); - $this->partitionSpecs[$key737] = $val738; + $key751 = ''; + $val752 = ''; + $xfer += $input->readString($key751); + $xfer += $input->readString($val752); + $this->partitionSpecs[$key751] = $val752; } $xfer += $input->readMapEnd(); } else { @@ -21637,10 +21701,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter739 => $viter740) + foreach ($this->partitionSpecs as $kiter753 => $viter754) { - $xfer += $output->writeString($kiter739); - $xfer += $output->writeString($viter740); + $xfer += $output->writeString($kiter753); + $xfer += $output->writeString($viter754); } } $output->writeMapEnd(); @@ -21952,17 +22016,17 @@ class ThriftHiveMetastore_exchange_partitions_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size741 = 0; - $_ktype742 = 0; - $_vtype743 = 0; - $xfer += $input->readMapBegin($_ktype742, $_vtype743, $_size741); - for ($_i745 = 0; $_i745 < $_size741; ++$_i745) + $_size755 = 0; + $_ktype756 = 0; + $_vtype757 = 0; + $xfer += $input->readMapBegin($_ktype756, $_vtype757, $_size755); + for ($_i759 = 0; $_i759 < $_size755; ++$_i759) { - $key746 = ''; - $val747 = ''; - $xfer += $input->readString($key746); - $xfer += $input->readString($val747); - $this->partitionSpecs[$key746] = $val747; + $key760 = ''; + $val761 = ''; + $xfer += $input->readString($key760); + $xfer += $input->readString($val761); + $this->partitionSpecs[$key760] = $val761; } $xfer += $input->readMapEnd(); } else { @@ -22018,10 +22082,10 @@ class ThriftHiveMetastore_exchange_partitions_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter748 => $viter749) + foreach ($this->partitionSpecs as $kiter762 => $viter763) { - $xfer += $output->writeString($kiter748); - $xfer += $output->writeString($viter749); + $xfer += $output->writeString($kiter762); + $xfer += $output->writeString($viter763); } } $output->writeMapEnd(); @@ -22154,15 +22218,15 @@ class ThriftHiveMetastore_exchange_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size750 = 0; - $_etype753 = 0; - $xfer += $input->readListBegin($_etype753, $_size750); - for ($_i754 = 0; $_i754 < $_size750; ++$_i754) + $_size764 = 0; + $_etype767 = 0; + $xfer += $input->readListBegin($_etype767, $_size764); + for ($_i768 = 0; $_i768 < $_size764; ++$_i768) { - $elem755 = null; - $elem755 = new \metastore\Partition(); - $xfer += $elem755->read($input); - $this->success []= $elem755; + $elem769 = null; + $elem769 = new \metastore\Partition(); + $xfer += $elem769->read($input); + $this->success []= $elem769; } $xfer += $input->readListEnd(); } else { @@ -22222,9 +22286,9 @@ class ThriftHiveMetastore_exchange_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter756) + foreach ($this->success as $iter770) { - $xfer += $iter756->write($output); + $xfer += $iter770->write($output); } } $output->writeListEnd(); @@ -22370,14 +22434,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size757 = 0; - $_etype760 = 0; - $xfer += $input->readListBegin($_etype760, $_size757); - for ($_i761 = 0; $_i761 < $_size757; ++$_i761) + $_size771 = 0; + $_etype774 = 0; + $xfer += $input->readListBegin($_etype774, $_size771); + for ($_i775 = 0; $_i775 < $_size771; ++$_i775) { - $elem762 = null; - $xfer += $input->readString($elem762); - $this->part_vals []= $elem762; + $elem776 = null; + $xfer += $input->readString($elem776); + $this->part_vals []= $elem776; } $xfer += $input->readListEnd(); } else { @@ -22394,14 +22458,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size763 = 0; - $_etype766 = 0; - $xfer += $input->readListBegin($_etype766, $_size763); - for ($_i767 = 0; $_i767 < $_size763; ++$_i767) + $_size777 = 0; + $_etype780 = 0; + $xfer += $input->readListBegin($_etype780, $_size777); + for ($_i781 = 0; $_i781 < $_size777; ++$_i781) { - $elem768 = null; - $xfer += $input->readString($elem768); - $this->group_names []= $elem768; + $elem782 = null; + $xfer += $input->readString($elem782); + $this->group_names []= $elem782; } $xfer += $input->readListEnd(); } else { @@ -22439,9 +22503,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter769) + foreach ($this->part_vals as $iter783) { - $xfer += $output->writeString($iter769); + $xfer += $output->writeString($iter783); } } $output->writeListEnd(); @@ -22461,9 +22525,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter770) + foreach ($this->group_names as $iter784) { - $xfer += $output->writeString($iter770); + $xfer += $output->writeString($iter784); } } $output->writeListEnd(); @@ -23054,15 +23118,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size771 = 0; - $_etype774 = 0; - $xfer += $input->readListBegin($_etype774, $_size771); - for ($_i775 = 0; $_i775 < $_size771; ++$_i775) + $_size785 = 0; + $_etype788 = 0; + $xfer += $input->readListBegin($_etype788, $_size785); + for ($_i789 = 0; $_i789 < $_size785; ++$_i789) { - $elem776 = null; - $elem776 = new \metastore\Partition(); - $xfer += $elem776->read($input); - $this->success []= $elem776; + $elem790 = null; + $elem790 = new \metastore\Partition(); + $xfer += $elem790->read($input); + $this->success []= $elem790; } $xfer += $input->readListEnd(); } else { @@ -23106,9 +23170,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter777) + foreach ($this->success as $iter791) { - $xfer += $iter777->write($output); + $xfer += $iter791->write($output); } } $output->writeListEnd(); @@ -23254,14 +23318,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size778 = 0; - $_etype781 = 0; - $xfer += $input->readListBegin($_etype781, $_size778); - for ($_i782 = 0; $_i782 < $_size778; ++$_i782) + $_size792 = 0; + $_etype795 = 0; + $xfer += $input->readListBegin($_etype795, $_size792); + for ($_i796 = 0; $_i796 < $_size792; ++$_i796) { - $elem783 = null; - $xfer += $input->readString($elem783); - $this->group_names []= $elem783; + $elem797 = null; + $xfer += $input->readString($elem797); + $this->group_names []= $elem797; } $xfer += $input->readListEnd(); } else { @@ -23309,9 +23373,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter784) + foreach ($this->group_names as $iter798) { - $xfer += $output->writeString($iter784); + $xfer += $output->writeString($iter798); } } $output->writeListEnd(); @@ -23400,15 +23464,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size785 = 0; - $_etype788 = 0; - $xfer += $input->readListBegin($_etype788, $_size785); - for ($_i789 = 0; $_i789 < $_size785; ++$_i789) + $_size799 = 0; + $_etype802 = 0; + $xfer += $input->readListBegin($_etype802, $_size799); + for ($_i803 = 0; $_i803 < $_size799; ++$_i803) { - $elem790 = null; - $elem790 = new \metastore\Partition(); - $xfer += $elem790->read($input); - $this->success []= $elem790; + $elem804 = null; + $elem804 = new \metastore\Partition(); + $xfer += $elem804->read($input); + $this->success []= $elem804; } $xfer += $input->readListEnd(); } else { @@ -23452,9 +23516,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter791) + foreach ($this->success as $iter805) { - $xfer += $iter791->write($output); + $xfer += $iter805->write($output); } } $output->writeListEnd(); @@ -23674,15 +23738,15 @@ class ThriftHiveMetastore_get_partitions_pspec_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size792 = 0; - $_etype795 = 0; - $xfer += $input->readListBegin($_etype795, $_size792); - for ($_i796 = 0; $_i796 < $_size792; ++$_i796) + $_size806 = 0; + $_etype809 = 0; + $xfer += $input->readListBegin($_etype809, $_size806); + for ($_i810 = 0; $_i810 < $_size806; ++$_i810) { - $elem797 = null; - $elem797 = new \metastore\PartitionSpec(); - $xfer += $elem797->read($input); - $this->success []= $elem797; + $elem811 = null; + $elem811 = new \metastore\PartitionSpec(); + $xfer += $elem811->read($input); + $this->success []= $elem811; } $xfer += $input->readListEnd(); } else { @@ -23726,9 +23790,9 @@ class ThriftHiveMetastore_get_partitions_pspec_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter798) + foreach ($this->success as $iter812) { - $xfer += $iter798->write($output); + $xfer += $iter812->write($output); } } $output->writeListEnd(); @@ -23935,14 +23999,14 @@ class ThriftHiveMetastore_get_partition_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size799 = 0; - $_etype802 = 0; - $xfer += $input->readListBegin($_etype802, $_size799); - for ($_i803 = 0; $_i803 < $_size799; ++$_i803) + $_size813 = 0; + $_etype816 = 0; + $xfer += $input->readListBegin($_etype816, $_size813); + for ($_i817 = 0; $_i817 < $_size813; ++$_i817) { - $elem804 = null; - $xfer += $input->readString($elem804); - $this->success []= $elem804; + $elem818 = null; + $xfer += $input->readString($elem818); + $this->success []= $elem818; } $xfer += $input->readListEnd(); } else { @@ -23978,9 +24042,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter805) + foreach ($this->success as $iter819) { - $xfer += $output->writeString($iter805); + $xfer += $output->writeString($iter819); } } $output->writeListEnd(); @@ -24096,14 +24160,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size806 = 0; - $_etype809 = 0; - $xfer += $input->readListBegin($_etype809, $_size806); - for ($_i810 = 0; $_i810 < $_size806; ++$_i810) + $_size820 = 0; + $_etype823 = 0; + $xfer += $input->readListBegin($_etype823, $_size820); + for ($_i824 = 0; $_i824 < $_size820; ++$_i824) { - $elem811 = null; - $xfer += $input->readString($elem811); - $this->part_vals []= $elem811; + $elem825 = null; + $xfer += $input->readString($elem825); + $this->part_vals []= $elem825; } $xfer += $input->readListEnd(); } else { @@ -24148,9 +24212,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter812) + foreach ($this->part_vals as $iter826) { - $xfer += $output->writeString($iter812); + $xfer += $output->writeString($iter826); } } $output->writeListEnd(); @@ -24244,15 +24308,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size813 = 0; - $_etype816 = 0; - $xfer += $input->readListBegin($_etype816, $_size813); - for ($_i817 = 0; $_i817 < $_size813; ++$_i817) + $_size827 = 0; + $_etype830 = 0; + $xfer += $input->readListBegin($_etype830, $_size827); + for ($_i831 = 0; $_i831 < $_size827; ++$_i831) { - $elem818 = null; - $elem818 = new \metastore\Partition(); - $xfer += $elem818->read($input); - $this->success []= $elem818; + $elem832 = null; + $elem832 = new \metastore\Partition(); + $xfer += $elem832->read($input); + $this->success []= $elem832; } $xfer += $input->readListEnd(); } else { @@ -24296,9 +24360,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter819) + foreach ($this->success as $iter833) { - $xfer += $iter819->write($output); + $xfer += $iter833->write($output); } } $output->writeListEnd(); @@ -24445,14 +24509,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size820 = 0; - $_etype823 = 0; - $xfer += $input->readListBegin($_etype823, $_size820); - for ($_i824 = 0; $_i824 < $_size820; ++$_i824) + $_size834 = 0; + $_etype837 = 0; + $xfer += $input->readListBegin($_etype837, $_size834); + for ($_i838 = 0; $_i838 < $_size834; ++$_i838) { - $elem825 = null; - $xfer += $input->readString($elem825); - $this->part_vals []= $elem825; + $elem839 = null; + $xfer += $input->readString($elem839); + $this->part_vals []= $elem839; } $xfer += $input->readListEnd(); } else { @@ -24476,14 +24540,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size826 = 0; - $_etype829 = 0; - $xfer += $input->readListBegin($_etype829, $_size826); - for ($_i830 = 0; $_i830 < $_size826; ++$_i830) + $_size840 = 0; + $_etype843 = 0; + $xfer += $input->readListBegin($_etype843, $_size840); + for ($_i844 = 0; $_i844 < $_size840; ++$_i844) { - $elem831 = null; - $xfer += $input->readString($elem831); - $this->group_names []= $elem831; + $elem845 = null; + $xfer += $input->readString($elem845); + $this->group_names []= $elem845; } $xfer += $input->readListEnd(); } else { @@ -24521,9 +24585,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter832) + foreach ($this->part_vals as $iter846) { - $xfer += $output->writeString($iter832); + $xfer += $output->writeString($iter846); } } $output->writeListEnd(); @@ -24548,9 +24612,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter833) + foreach ($this->group_names as $iter847) { - $xfer += $output->writeString($iter833); + $xfer += $output->writeString($iter847); } } $output->writeListEnd(); @@ -24639,15 +24703,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size834 = 0; - $_etype837 = 0; - $xfer += $input->readListBegin($_etype837, $_size834); - for ($_i838 = 0; $_i838 < $_size834; ++$_i838) + $_size848 = 0; + $_etype851 = 0; + $xfer += $input->readListBegin($_etype851, $_size848); + for ($_i852 = 0; $_i852 < $_size848; ++$_i852) { - $elem839 = null; - $elem839 = new \metastore\Partition(); - $xfer += $elem839->read($input); - $this->success []= $elem839; + $elem853 = null; + $elem853 = new \metastore\Partition(); + $xfer += $elem853->read($input); + $this->success []= $elem853; } $xfer += $input->readListEnd(); } else { @@ -24691,9 +24755,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter840) + foreach ($this->success as $iter854) { - $xfer += $iter840->write($output); + $xfer += $iter854->write($output); } } $output->writeListEnd(); @@ -24814,14 +24878,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size841 = 0; - $_etype844 = 0; - $xfer += $input->readListBegin($_etype844, $_size841); - for ($_i845 = 0; $_i845 < $_size841; ++$_i845) + $_size855 = 0; + $_etype858 = 0; + $xfer += $input->readListBegin($_etype858, $_size855); + for ($_i859 = 0; $_i859 < $_size855; ++$_i859) { - $elem846 = null; - $xfer += $input->readString($elem846); - $this->part_vals []= $elem846; + $elem860 = null; + $xfer += $input->readString($elem860); + $this->part_vals []= $elem860; } $xfer += $input->readListEnd(); } else { @@ -24866,9 +24930,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter847) + foreach ($this->part_vals as $iter861) { - $xfer += $output->writeString($iter847); + $xfer += $output->writeString($iter861); } } $output->writeListEnd(); @@ -24961,14 +25025,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size848 = 0; - $_etype851 = 0; - $xfer += $input->readListBegin($_etype851, $_size848); - for ($_i852 = 0; $_i852 < $_size848; ++$_i852) + $_size862 = 0; + $_etype865 = 0; + $xfer += $input->readListBegin($_etype865, $_size862); + for ($_i866 = 0; $_i866 < $_size862; ++$_i866) { - $elem853 = null; - $xfer += $input->readString($elem853); - $this->success []= $elem853; + $elem867 = null; + $xfer += $input->readString($elem867); + $this->success []= $elem867; } $xfer += $input->readListEnd(); } else { @@ -25012,9 +25076,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter854) + foreach ($this->success as $iter868) { - $xfer += $output->writeString($iter854); + $xfer += $output->writeString($iter868); } } $output->writeListEnd(); @@ -25257,15 +25321,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size855 = 0; - $_etype858 = 0; - $xfer += $input->readListBegin($_etype858, $_size855); - for ($_i859 = 0; $_i859 < $_size855; ++$_i859) + $_size869 = 0; + $_etype872 = 0; + $xfer += $input->readListBegin($_etype872, $_size869); + for ($_i873 = 0; $_i873 < $_size869; ++$_i873) { - $elem860 = null; - $elem860 = new \metastore\Partition(); - $xfer += $elem860->read($input); - $this->success []= $elem860; + $elem874 = null; + $elem874 = new \metastore\Partition(); + $xfer += $elem874->read($input); + $this->success []= $elem874; } $xfer += $input->readListEnd(); } else { @@ -25309,9 +25373,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter861) + foreach ($this->success as $iter875) { - $xfer += $iter861->write($output); + $xfer += $iter875->write($output); } } $output->writeListEnd(); @@ -25554,15 +25618,15 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size862 = 0; - $_etype865 = 0; - $xfer += $input->readListBegin($_etype865, $_size862); - for ($_i866 = 0; $_i866 < $_size862; ++$_i866) + $_size876 = 0; + $_etype879 = 0; + $xfer += $input->readListBegin($_etype879, $_size876); + for ($_i880 = 0; $_i880 < $_size876; ++$_i880) { - $elem867 = null; - $elem867 = new \metastore\PartitionSpec(); - $xfer += $elem867->read($input); - $this->success []= $elem867; + $elem881 = null; + $elem881 = new \metastore\PartitionSpec(); + $xfer += $elem881->read($input); + $this->success []= $elem881; } $xfer += $input->readListEnd(); } else { @@ -25606,9 +25670,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter868) + foreach ($this->success as $iter882) { - $xfer += $iter868->write($output); + $xfer += $iter882->write($output); } } $output->writeListEnd(); @@ -26174,14 +26238,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size869 = 0; - $_etype872 = 0; - $xfer += $input->readListBegin($_etype872, $_size869); - for ($_i873 = 0; $_i873 < $_size869; ++$_i873) + $_size883 = 0; + $_etype886 = 0; + $xfer += $input->readListBegin($_etype886, $_size883); + for ($_i887 = 0; $_i887 < $_size883; ++$_i887) { - $elem874 = null; - $xfer += $input->readString($elem874); - $this->names []= $elem874; + $elem888 = null; + $xfer += $input->readString($elem888); + $this->names []= $elem888; } $xfer += $input->readListEnd(); } else { @@ -26219,9 +26283,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter875) + foreach ($this->names as $iter889) { - $xfer += $output->writeString($iter875); + $xfer += $output->writeString($iter889); } } $output->writeListEnd(); @@ -26310,15 +26374,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size876 = 0; - $_etype879 = 0; - $xfer += $input->readListBegin($_etype879, $_size876); - for ($_i880 = 0; $_i880 < $_size876; ++$_i880) + $_size890 = 0; + $_etype893 = 0; + $xfer += $input->readListBegin($_etype893, $_size890); + for ($_i894 = 0; $_i894 < $_size890; ++$_i894) { - $elem881 = null; - $elem881 = new \metastore\Partition(); - $xfer += $elem881->read($input); - $this->success []= $elem881; + $elem895 = null; + $elem895 = new \metastore\Partition(); + $xfer += $elem895->read($input); + $this->success []= $elem895; } $xfer += $input->readListEnd(); } else { @@ -26362,9 +26426,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter882) + foreach ($this->success as $iter896) { - $xfer += $iter882->write($output); + $xfer += $iter896->write($output); } } $output->writeListEnd(); @@ -26703,15 +26767,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size883 = 0; - $_etype886 = 0; - $xfer += $input->readListBegin($_etype886, $_size883); - for ($_i887 = 0; $_i887 < $_size883; ++$_i887) + $_size897 = 0; + $_etype900 = 0; + $xfer += $input->readListBegin($_etype900, $_size897); + for ($_i901 = 0; $_i901 < $_size897; ++$_i901) { - $elem888 = null; - $elem888 = new \metastore\Partition(); - $xfer += $elem888->read($input); - $this->new_parts []= $elem888; + $elem902 = null; + $elem902 = new \metastore\Partition(); + $xfer += $elem902->read($input); + $this->new_parts []= $elem902; } $xfer += $input->readListEnd(); } else { @@ -26749,9 +26813,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter889) + foreach ($this->new_parts as $iter903) { - $xfer += $iter889->write($output); + $xfer += $iter903->write($output); } } $output->writeListEnd(); @@ -26966,15 +27030,15 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size890 = 0; - $_etype893 = 0; - $xfer += $input->readListBegin($_etype893, $_size890); - for ($_i894 = 0; $_i894 < $_size890; ++$_i894) + $_size904 = 0; + $_etype907 = 0; + $xfer += $input->readListBegin($_etype907, $_size904); + for ($_i908 = 0; $_i908 < $_size904; ++$_i908) { - $elem895 = null; - $elem895 = new \metastore\Partition(); - $xfer += $elem895->read($input); - $this->new_parts []= $elem895; + $elem909 = null; + $elem909 = new \metastore\Partition(); + $xfer += $elem909->read($input); + $this->new_parts []= $elem909; } $xfer += $input->readListEnd(); } else { @@ -27020,9 +27084,9 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter896) + foreach ($this->new_parts as $iter910) { - $xfer += $iter896->write($output); + $xfer += $iter910->write($output); } } $output->writeListEnd(); @@ -27500,14 +27564,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size897 = 0; - $_etype900 = 0; - $xfer += $input->readListBegin($_etype900, $_size897); - for ($_i901 = 0; $_i901 < $_size897; ++$_i901) + $_size911 = 0; + $_etype914 = 0; + $xfer += $input->readListBegin($_etype914, $_size911); + for ($_i915 = 0; $_i915 < $_size911; ++$_i915) { - $elem902 = null; - $xfer += $input->readString($elem902); - $this->part_vals []= $elem902; + $elem916 = null; + $xfer += $input->readString($elem916); + $this->part_vals []= $elem916; } $xfer += $input->readListEnd(); } else { @@ -27553,9 +27617,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter903) + foreach ($this->part_vals as $iter917) { - $xfer += $output->writeString($iter903); + $xfer += $output->writeString($iter917); } } $output->writeListEnd(); @@ -27740,14 +27804,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size904 = 0; - $_etype907 = 0; - $xfer += $input->readListBegin($_etype907, $_size904); - for ($_i908 = 0; $_i908 < $_size904; ++$_i908) + $_size918 = 0; + $_etype921 = 0; + $xfer += $input->readListBegin($_etype921, $_size918); + for ($_i922 = 0; $_i922 < $_size918; ++$_i922) { - $elem909 = null; - $xfer += $input->readString($elem909); - $this->part_vals []= $elem909; + $elem923 = null; + $xfer += $input->readString($elem923); + $this->part_vals []= $elem923; } $xfer += $input->readListEnd(); } else { @@ -27782,9 +27846,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter910) + foreach ($this->part_vals as $iter924) { - $xfer += $output->writeString($iter910); + $xfer += $output->writeString($iter924); } } $output->writeListEnd(); @@ -28238,14 +28302,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size911 = 0; - $_etype914 = 0; - $xfer += $input->readListBegin($_etype914, $_size911); - for ($_i915 = 0; $_i915 < $_size911; ++$_i915) + $_size925 = 0; + $_etype928 = 0; + $xfer += $input->readListBegin($_etype928, $_size925); + for ($_i929 = 0; $_i929 < $_size925; ++$_i929) { - $elem916 = null; - $xfer += $input->readString($elem916); - $this->success []= $elem916; + $elem930 = null; + $xfer += $input->readString($elem930); + $this->success []= $elem930; } $xfer += $input->readListEnd(); } else { @@ -28281,9 +28345,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter917) + foreach ($this->success as $iter931) { - $xfer += $output->writeString($iter917); + $xfer += $output->writeString($iter931); } } $output->writeListEnd(); @@ -28443,17 +28507,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size918 = 0; - $_ktype919 = 0; - $_vtype920 = 0; - $xfer += $input->readMapBegin($_ktype919, $_vtype920, $_size918); - for ($_i922 = 0; $_i922 < $_size918; ++$_i922) + $_size932 = 0; + $_ktype933 = 0; + $_vtype934 = 0; + $xfer += $input->readMapBegin($_ktype933, $_vtype934, $_size932); + for ($_i936 = 0; $_i936 < $_size932; ++$_i936) { - $key923 = ''; - $val924 = ''; - $xfer += $input->readString($key923); - $xfer += $input->readString($val924); - $this->success[$key923] = $val924; + $key937 = ''; + $val938 = ''; + $xfer += $input->readString($key937); + $xfer += $input->readString($val938); + $this->success[$key937] = $val938; } $xfer += $input->readMapEnd(); } else { @@ -28489,10 +28553,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter925 => $viter926) + foreach ($this->success as $kiter939 => $viter940) { - $xfer += $output->writeString($kiter925); - $xfer += $output->writeString($viter926); + $xfer += $output->writeString($kiter939); + $xfer += $output->writeString($viter940); } } $output->writeMapEnd(); @@ -28612,17 +28676,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size927 = 0; - $_ktype928 = 0; - $_vtype929 = 0; - $xfer += $input->readMapBegin($_ktype928, $_vtype929, $_size927); - for ($_i931 = 0; $_i931 < $_size927; ++$_i931) + $_size941 = 0; + $_ktype942 = 0; + $_vtype943 = 0; + $xfer += $input->readMapBegin($_ktype942, $_vtype943, $_size941); + for ($_i945 = 0; $_i945 < $_size941; ++$_i945) { - $key932 = ''; - $val933 = ''; - $xfer += $input->readString($key932); - $xfer += $input->readString($val933); - $this->part_vals[$key932] = $val933; + $key946 = ''; + $val947 = ''; + $xfer += $input->readString($key946); + $xfer += $input->readString($val947); + $this->part_vals[$key946] = $val947; } $xfer += $input->readMapEnd(); } else { @@ -28667,10 +28731,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter934 => $viter935) + foreach ($this->part_vals as $kiter948 => $viter949) { - $xfer += $output->writeString($kiter934); - $xfer += $output->writeString($viter935); + $xfer += $output->writeString($kiter948); + $xfer += $output->writeString($viter949); } } $output->writeMapEnd(); @@ -28992,17 +29056,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size936 = 0; - $_ktype937 = 0; - $_vtype938 = 0; - $xfer += $input->readMapBegin($_ktype937, $_vtype938, $_size936); - for ($_i940 = 0; $_i940 < $_size936; ++$_i940) + $_size950 = 0; + $_ktype951 = 0; + $_vtype952 = 0; + $xfer += $input->readMapBegin($_ktype951, $_vtype952, $_size950); + for ($_i954 = 0; $_i954 < $_size950; ++$_i954) { - $key941 = ''; - $val942 = ''; - $xfer += $input->readString($key941); - $xfer += $input->readString($val942); - $this->part_vals[$key941] = $val942; + $key955 = ''; + $val956 = ''; + $xfer += $input->readString($key955); + $xfer += $input->readString($val956); + $this->part_vals[$key955] = $val956; } $xfer += $input->readMapEnd(); } else { @@ -29047,10 +29111,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter943 => $viter944) + foreach ($this->part_vals as $kiter957 => $viter958) { - $xfer += $output->writeString($kiter943); - $xfer += $output->writeString($viter944); + $xfer += $output->writeString($kiter957); + $xfer += $output->writeString($viter958); } } $output->writeMapEnd(); @@ -30524,15 +30588,15 @@ class ThriftHiveMetastore_get_indexes_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size945 = 0; - $_etype948 = 0; - $xfer += $input->readListBegin($_etype948, $_size945); - for ($_i949 = 0; $_i949 < $_size945; ++$_i949) + $_size959 = 0; + $_etype962 = 0; + $xfer += $input->readListBegin($_etype962, $_size959); + for ($_i963 = 0; $_i963 < $_size959; ++$_i963) { - $elem950 = null; - $elem950 = new \metastore\Index(); - $xfer += $elem950->read($input); - $this->success []= $elem950; + $elem964 = null; + $elem964 = new \metastore\Index(); + $xfer += $elem964->read($input); + $this->success []= $elem964; } $xfer += $input->readListEnd(); } else { @@ -30576,9 +30640,9 @@ class ThriftHiveMetastore_get_indexes_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter951) + foreach ($this->success as $iter965) { - $xfer += $iter951->write($output); + $xfer += $iter965->write($output); } } $output->writeListEnd(); @@ -30785,14 +30849,14 @@ class ThriftHiveMetastore_get_index_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size952 = 0; - $_etype955 = 0; - $xfer += $input->readListBegin($_etype955, $_size952); - for ($_i956 = 0; $_i956 < $_size952; ++$_i956) + $_size966 = 0; + $_etype969 = 0; + $xfer += $input->readListBegin($_etype969, $_size966); + for ($_i970 = 0; $_i970 < $_size966; ++$_i970) { - $elem957 = null; - $xfer += $input->readString($elem957); - $this->success []= $elem957; + $elem971 = null; + $xfer += $input->readString($elem971); + $this->success []= $elem971; } $xfer += $input->readListEnd(); } else { @@ -30828,9 +30892,9 @@ class ThriftHiveMetastore_get_index_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter958) + foreach ($this->success as $iter972) { - $xfer += $output->writeString($iter958); + $xfer += $output->writeString($iter972); } } $output->writeListEnd(); @@ -33034,6 +33098,216 @@ class ThriftHiveMetastore_get_aggr_stats_for_result { } +class ThriftHiveMetastore_get_parts_and_aggr_col_stats_args { + static $_TSPEC; + + /** + * @var \metastore\AggregatePartitionsStatsRequest + */ + public $request = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'request', + 'type' => TType::STRUCT, + 'class' => '\metastore\AggregatePartitionsStatsRequest', + ), + ); + } + if (is_array($vals)) { + if (isset($vals['request'])) { + $this->request = $vals['request']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_get_parts_and_aggr_col_stats_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->request = new \metastore\AggregatePartitionsStatsRequest(); + $xfer += $this->request->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_get_parts_and_aggr_col_stats_args'); + if ($this->request !== null) { + if (!is_object($this->request)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('request', TType::STRUCT, 1); + $xfer += $this->request->write($output); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class ThriftHiveMetastore_get_parts_and_aggr_col_stats_result { + static $_TSPEC; + + /** + * @var \metastore\AggregatePartitionsStatsResponse + */ + public $success = null; + /** + * @var \metastore\NoSuchObjectException + */ + public $o1 = null; + /** + * @var \metastore\MetaException + */ + public $o2 = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 0 => array( + 'var' => 'success', + 'type' => TType::STRUCT, + 'class' => '\metastore\AggregatePartitionsStatsResponse', + ), + 1 => array( + 'var' => 'o1', + 'type' => TType::STRUCT, + 'class' => '\metastore\NoSuchObjectException', + ), + 2 => array( + 'var' => 'o2', + 'type' => TType::STRUCT, + 'class' => '\metastore\MetaException', + ), + ); + } + if (is_array($vals)) { + if (isset($vals['success'])) { + $this->success = $vals['success']; + } + if (isset($vals['o1'])) { + $this->o1 = $vals['o1']; + } + if (isset($vals['o2'])) { + $this->o2 = $vals['o2']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_get_parts_and_aggr_col_stats_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 0: + if ($ftype == TType::STRUCT) { + $this->success = new \metastore\AggregatePartitionsStatsResponse(); + $xfer += $this->success->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + case 1: + if ($ftype == TType::STRUCT) { + $this->o1 = new \metastore\NoSuchObjectException(); + $xfer += $this->o1->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::STRUCT) { + $this->o2 = new \metastore\MetaException(); + $xfer += $this->o2->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_get_parts_and_aggr_col_stats_result'); + if ($this->success !== null) { + if (!is_object($this->success)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0); + $xfer += $this->success->write($output); + $xfer += $output->writeFieldEnd(); + } + if ($this->o1 !== null) { + $xfer += $output->writeFieldBegin('o1', TType::STRUCT, 1); + $xfer += $this->o1->write($output); + $xfer += $output->writeFieldEnd(); + } + if ($this->o2 !== null) { + $xfer += $output->writeFieldBegin('o2', TType::STRUCT, 2); + $xfer += $this->o2->write($output); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class ThriftHiveMetastore_set_aggr_stats_for_args { static $_TSPEC; @@ -34724,14 +34998,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size959 = 0; - $_etype962 = 0; - $xfer += $input->readListBegin($_etype962, $_size959); - for ($_i963 = 0; $_i963 < $_size959; ++$_i963) + $_size973 = 0; + $_etype976 = 0; + $xfer += $input->readListBegin($_etype976, $_size973); + for ($_i977 = 0; $_i977 < $_size973; ++$_i977) { - $elem964 = null; - $xfer += $input->readString($elem964); - $this->success []= $elem964; + $elem978 = null; + $xfer += $input->readString($elem978); + $this->success []= $elem978; } $xfer += $input->readListEnd(); } else { @@ -34767,9 +35041,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter965) + foreach ($this->success as $iter979) { - $xfer += $output->writeString($iter965); + $xfer += $output->writeString($iter979); } } $output->writeListEnd(); @@ -35638,14 +35912,14 @@ class ThriftHiveMetastore_get_role_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size966 = 0; - $_etype969 = 0; - $xfer += $input->readListBegin($_etype969, $_size966); - for ($_i970 = 0; $_i970 < $_size966; ++$_i970) + $_size980 = 0; + $_etype983 = 0; + $xfer += $input->readListBegin($_etype983, $_size980); + for ($_i984 = 0; $_i984 < $_size980; ++$_i984) { - $elem971 = null; - $xfer += $input->readString($elem971); - $this->success []= $elem971; + $elem985 = null; + $xfer += $input->readString($elem985); + $this->success []= $elem985; } $xfer += $input->readListEnd(); } else { @@ -35681,9 +35955,9 @@ class ThriftHiveMetastore_get_role_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter972) + foreach ($this->success as $iter986) { - $xfer += $output->writeString($iter972); + $xfer += $output->writeString($iter986); } } $output->writeListEnd(); @@ -36374,15 +36648,15 @@ class ThriftHiveMetastore_list_roles_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size973 = 0; - $_etype976 = 0; - $xfer += $input->readListBegin($_etype976, $_size973); - for ($_i977 = 0; $_i977 < $_size973; ++$_i977) + $_size987 = 0; + $_etype990 = 0; + $xfer += $input->readListBegin($_etype990, $_size987); + for ($_i991 = 0; $_i991 < $_size987; ++$_i991) { - $elem978 = null; - $elem978 = new \metastore\Role(); - $xfer += $elem978->read($input); - $this->success []= $elem978; + $elem992 = null; + $elem992 = new \metastore\Role(); + $xfer += $elem992->read($input); + $this->success []= $elem992; } $xfer += $input->readListEnd(); } else { @@ -36418,9 +36692,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter979) + foreach ($this->success as $iter993) { - $xfer += $iter979->write($output); + $xfer += $iter993->write($output); } } $output->writeListEnd(); @@ -37082,14 +37356,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size980 = 0; - $_etype983 = 0; - $xfer += $input->readListBegin($_etype983, $_size980); - for ($_i984 = 0; $_i984 < $_size980; ++$_i984) + $_size994 = 0; + $_etype997 = 0; + $xfer += $input->readListBegin($_etype997, $_size994); + for ($_i998 = 0; $_i998 < $_size994; ++$_i998) { - $elem985 = null; - $xfer += $input->readString($elem985); - $this->group_names []= $elem985; + $elem999 = null; + $xfer += $input->readString($elem999); + $this->group_names []= $elem999; } $xfer += $input->readListEnd(); } else { @@ -37130,9 +37404,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter986) + foreach ($this->group_names as $iter1000) { - $xfer += $output->writeString($iter986); + $xfer += $output->writeString($iter1000); } } $output->writeListEnd(); @@ -37440,15 +37714,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size987 = 0; - $_etype990 = 0; - $xfer += $input->readListBegin($_etype990, $_size987); - for ($_i991 = 0; $_i991 < $_size987; ++$_i991) + $_size1001 = 0; + $_etype1004 = 0; + $xfer += $input->readListBegin($_etype1004, $_size1001); + for ($_i1005 = 0; $_i1005 < $_size1001; ++$_i1005) { - $elem992 = null; - $elem992 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem992->read($input); - $this->success []= $elem992; + $elem1006 = null; + $elem1006 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem1006->read($input); + $this->success []= $elem1006; } $xfer += $input->readListEnd(); } else { @@ -37484,9 +37758,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter993) + foreach ($this->success as $iter1007) { - $xfer += $iter993->write($output); + $xfer += $iter1007->write($output); } } $output->writeListEnd(); @@ -38118,14 +38392,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size994 = 0; - $_etype997 = 0; - $xfer += $input->readListBegin($_etype997, $_size994); - for ($_i998 = 0; $_i998 < $_size994; ++$_i998) + $_size1008 = 0; + $_etype1011 = 0; + $xfer += $input->readListBegin($_etype1011, $_size1008); + for ($_i1012 = 0; $_i1012 < $_size1008; ++$_i1012) { - $elem999 = null; - $xfer += $input->readString($elem999); - $this->group_names []= $elem999; + $elem1013 = null; + $xfer += $input->readString($elem1013); + $this->group_names []= $elem1013; } $xfer += $input->readListEnd(); } else { @@ -38158,9 +38432,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1000) + foreach ($this->group_names as $iter1014) { - $xfer += $output->writeString($iter1000); + $xfer += $output->writeString($iter1014); } } $output->writeListEnd(); @@ -38236,14 +38510,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1001 = 0; - $_etype1004 = 0; - $xfer += $input->readListBegin($_etype1004, $_size1001); - for ($_i1005 = 0; $_i1005 < $_size1001; ++$_i1005) + $_size1015 = 0; + $_etype1018 = 0; + $xfer += $input->readListBegin($_etype1018, $_size1015); + for ($_i1019 = 0; $_i1019 < $_size1015; ++$_i1019) { - $elem1006 = null; - $xfer += $input->readString($elem1006); - $this->success []= $elem1006; + $elem1020 = null; + $xfer += $input->readString($elem1020); + $this->success []= $elem1020; } $xfer += $input->readListEnd(); } else { @@ -38279,9 +38553,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1007) + foreach ($this->success as $iter1021) { - $xfer += $output->writeString($iter1007); + $xfer += $output->writeString($iter1021); } } $output->writeListEnd(); @@ -39398,14 +39672,14 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1008 = 0; - $_etype1011 = 0; - $xfer += $input->readListBegin($_etype1011, $_size1008); - for ($_i1012 = 0; $_i1012 < $_size1008; ++$_i1012) + $_size1022 = 0; + $_etype1025 = 0; + $xfer += $input->readListBegin($_etype1025, $_size1022); + for ($_i1026 = 0; $_i1026 < $_size1022; ++$_i1026) { - $elem1013 = null; - $xfer += $input->readString($elem1013); - $this->success []= $elem1013; + $elem1027 = null; + $xfer += $input->readString($elem1027); + $this->success []= $elem1027; } $xfer += $input->readListEnd(); } else { @@ -39433,9 +39707,9 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1014) + foreach ($this->success as $iter1028) { - $xfer += $output->writeString($iter1014); + $xfer += $output->writeString($iter1028); } } $output->writeListEnd(); @@ -40074,14 +40348,14 @@ class ThriftHiveMetastore_get_master_keys_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1015 = 0; - $_etype1018 = 0; - $xfer += $input->readListBegin($_etype1018, $_size1015); - for ($_i1019 = 0; $_i1019 < $_size1015; ++$_i1019) + $_size1029 = 0; + $_etype1032 = 0; + $xfer += $input->readListBegin($_etype1032, $_size1029); + for ($_i1033 = 0; $_i1033 < $_size1029; ++$_i1033) { - $elem1020 = null; - $xfer += $input->readString($elem1020); - $this->success []= $elem1020; + $elem1034 = null; + $xfer += $input->readString($elem1034); + $this->success []= $elem1034; } $xfer += $input->readListEnd(); } else { @@ -40109,9 +40383,9 @@ class ThriftHiveMetastore_get_master_keys_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1021) + foreach ($this->success as $iter1035) { - $xfer += $output->writeString($iter1021); + $xfer += $output->writeString($iter1035); } } $output->writeListEnd(); diff --git a/metastore/src/gen/thrift/gen-php/metastore/Types.php b/metastore/src/gen/thrift/gen-php/metastore/Types.php index f505208..b509999 100644 --- a/metastore/src/gen/thrift/gen-php/metastore/Types.php +++ b/metastore/src/gen/thrift/gen-php/metastore/Types.php @@ -10393,6 +10393,307 @@ class PartitionsStatsRequest { } +class AggregatePartitionsStatsRequest { + static $_TSPEC; + + /** + * @var string + */ + public $dbName = null; + /** + * @var string + */ + public $tblName = null; + /** + * @var string[] + */ + public $colNames = null; + /** + * @var string + */ + public $expr = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'dbName', + 'type' => TType::STRING, + ), + 2 => array( + 'var' => 'tblName', + 'type' => TType::STRING, + ), + 3 => array( + 'var' => 'colNames', + 'type' => TType::LST, + 'etype' => TType::STRING, + 'elem' => array( + 'type' => TType::STRING, + ), + ), + 4 => array( + 'var' => 'expr', + 'type' => TType::STRING, + ), + ); + } + if (is_array($vals)) { + if (isset($vals['dbName'])) { + $this->dbName = $vals['dbName']; + } + if (isset($vals['tblName'])) { + $this->tblName = $vals['tblName']; + } + if (isset($vals['colNames'])) { + $this->colNames = $vals['colNames']; + } + if (isset($vals['expr'])) { + $this->expr = $vals['expr']; + } + } + } + + public function getName() { + return 'AggregatePartitionsStatsRequest'; + } + + 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::STRING) { + $xfer += $input->readString($this->dbName); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->tblName); + } else { + $xfer += $input->skip($ftype); + } + break; + case 3: + if ($ftype == TType::LST) { + $this->colNames = array(); + $_size364 = 0; + $_etype367 = 0; + $xfer += $input->readListBegin($_etype367, $_size364); + for ($_i368 = 0; $_i368 < $_size364; ++$_i368) + { + $elem369 = null; + $xfer += $input->readString($elem369); + $this->colNames []= $elem369; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + case 4: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->expr); + } 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('AggregatePartitionsStatsRequest'); + if ($this->dbName !== null) { + $xfer += $output->writeFieldBegin('dbName', TType::STRING, 1); + $xfer += $output->writeString($this->dbName); + $xfer += $output->writeFieldEnd(); + } + if ($this->tblName !== null) { + $xfer += $output->writeFieldBegin('tblName', TType::STRING, 2); + $xfer += $output->writeString($this->tblName); + $xfer += $output->writeFieldEnd(); + } + if ($this->colNames !== null) { + if (!is_array($this->colNames)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('colNames', TType::LST, 3); + { + $output->writeListBegin(TType::STRING, count($this->colNames)); + { + foreach ($this->colNames as $iter370) + { + $xfer += $output->writeString($iter370); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + if ($this->expr !== null) { + $xfer += $output->writeFieldBegin('expr', TType::STRING, 4); + $xfer += $output->writeString($this->expr); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class AggregatePartitionsStatsResponse { + static $_TSPEC; + + /** + * @var \metastore\Partition[] + */ + public $partitions = null; + /** + * @var \metastore\AggrStats + */ + public $stats = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'partitions', + 'type' => TType::LST, + 'etype' => TType::STRUCT, + 'elem' => array( + 'type' => TType::STRUCT, + 'class' => '\metastore\Partition', + ), + ), + 2 => array( + 'var' => 'stats', + 'type' => TType::STRUCT, + 'class' => '\metastore\AggrStats', + ), + ); + } + if (is_array($vals)) { + if (isset($vals['partitions'])) { + $this->partitions = $vals['partitions']; + } + if (isset($vals['stats'])) { + $this->stats = $vals['stats']; + } + } + } + + public function getName() { + return 'AggregatePartitionsStatsResponse'; + } + + 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->partitions = array(); + $_size371 = 0; + $_etype374 = 0; + $xfer += $input->readListBegin($_etype374, $_size371); + for ($_i375 = 0; $_i375 < $_size371; ++$_i375) + { + $elem376 = null; + $elem376 = new \metastore\Partition(); + $xfer += $elem376->read($input); + $this->partitions []= $elem376; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::STRUCT) { + $this->stats = new \metastore\AggrStats(); + $xfer += $this->stats->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('AggregatePartitionsStatsResponse'); + if ($this->partitions !== null) { + if (!is_array($this->partitions)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('partitions', TType::LST, 1); + { + $output->writeListBegin(TType::STRUCT, count($this->partitions)); + { + foreach ($this->partitions as $iter377) + { + $xfer += $iter377->write($output); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + if ($this->stats !== null) { + if (!is_object($this->stats)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('stats', TType::STRUCT, 2); + $xfer += $this->stats->write($output); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class AddPartitionsResult { static $_TSPEC; @@ -10444,15 +10745,15 @@ class AddPartitionsResult { case 1: if ($ftype == TType::LST) { $this->partitions = array(); - $_size364 = 0; - $_etype367 = 0; - $xfer += $input->readListBegin($_etype367, $_size364); - for ($_i368 = 0; $_i368 < $_size364; ++$_i368) + $_size378 = 0; + $_etype381 = 0; + $xfer += $input->readListBegin($_etype381, $_size378); + for ($_i382 = 0; $_i382 < $_size378; ++$_i382) { - $elem369 = null; - $elem369 = new \metastore\Partition(); - $xfer += $elem369->read($input); - $this->partitions []= $elem369; + $elem383 = null; + $elem383 = new \metastore\Partition(); + $xfer += $elem383->read($input); + $this->partitions []= $elem383; } $xfer += $input->readListEnd(); } else { @@ -10480,9 +10781,9 @@ class AddPartitionsResult { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter370) + foreach ($this->partitions as $iter384) { - $xfer += $iter370->write($output); + $xfer += $iter384->write($output); } } $output->writeListEnd(); @@ -10605,15 +10906,15 @@ class AddPartitionsRequest { case 3: if ($ftype == TType::LST) { $this->parts = array(); - $_size371 = 0; - $_etype374 = 0; - $xfer += $input->readListBegin($_etype374, $_size371); - for ($_i375 = 0; $_i375 < $_size371; ++$_i375) + $_size385 = 0; + $_etype388 = 0; + $xfer += $input->readListBegin($_etype388, $_size385); + for ($_i389 = 0; $_i389 < $_size385; ++$_i389) { - $elem376 = null; - $elem376 = new \metastore\Partition(); - $xfer += $elem376->read($input); - $this->parts []= $elem376; + $elem390 = null; + $elem390 = new \metastore\Partition(); + $xfer += $elem390->read($input); + $this->parts []= $elem390; } $xfer += $input->readListEnd(); } else { @@ -10665,9 +10966,9 @@ class AddPartitionsRequest { { $output->writeListBegin(TType::STRUCT, count($this->parts)); { - foreach ($this->parts as $iter377) + foreach ($this->parts as $iter391) { - $xfer += $iter377->write($output); + $xfer += $iter391->write($output); } } $output->writeListEnd(); @@ -10742,15 +11043,15 @@ class DropPartitionsResult { case 1: if ($ftype == TType::LST) { $this->partitions = array(); - $_size378 = 0; - $_etype381 = 0; - $xfer += $input->readListBegin($_etype381, $_size378); - for ($_i382 = 0; $_i382 < $_size378; ++$_i382) + $_size392 = 0; + $_etype395 = 0; + $xfer += $input->readListBegin($_etype395, $_size392); + for ($_i396 = 0; $_i396 < $_size392; ++$_i396) { - $elem383 = null; - $elem383 = new \metastore\Partition(); - $xfer += $elem383->read($input); - $this->partitions []= $elem383; + $elem397 = null; + $elem397 = new \metastore\Partition(); + $xfer += $elem397->read($input); + $this->partitions []= $elem397; } $xfer += $input->readListEnd(); } else { @@ -10778,9 +11079,9 @@ class DropPartitionsResult { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter384) + foreach ($this->partitions as $iter398) { - $xfer += $iter384->write($output); + $xfer += $iter398->write($output); } } $output->writeListEnd(); @@ -10958,14 +11259,14 @@ class RequestPartsSpec { case 1: if ($ftype == TType::LST) { $this->names = array(); - $_size385 = 0; - $_etype388 = 0; - $xfer += $input->readListBegin($_etype388, $_size385); - for ($_i389 = 0; $_i389 < $_size385; ++$_i389) + $_size399 = 0; + $_etype402 = 0; + $xfer += $input->readListBegin($_etype402, $_size399); + for ($_i403 = 0; $_i403 < $_size399; ++$_i403) { - $elem390 = null; - $xfer += $input->readString($elem390); - $this->names []= $elem390; + $elem404 = null; + $xfer += $input->readString($elem404); + $this->names []= $elem404; } $xfer += $input->readListEnd(); } else { @@ -10975,15 +11276,15 @@ class RequestPartsSpec { case 2: if ($ftype == TType::LST) { $this->exprs = array(); - $_size391 = 0; - $_etype394 = 0; - $xfer += $input->readListBegin($_etype394, $_size391); - for ($_i395 = 0; $_i395 < $_size391; ++$_i395) + $_size405 = 0; + $_etype408 = 0; + $xfer += $input->readListBegin($_etype408, $_size405); + for ($_i409 = 0; $_i409 < $_size405; ++$_i409) { - $elem396 = null; - $elem396 = new \metastore\DropPartitionsExpr(); - $xfer += $elem396->read($input); - $this->exprs []= $elem396; + $elem410 = null; + $elem410 = new \metastore\DropPartitionsExpr(); + $xfer += $elem410->read($input); + $this->exprs []= $elem410; } $xfer += $input->readListEnd(); } else { @@ -11011,9 +11312,9 @@ class RequestPartsSpec { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter397) + foreach ($this->names as $iter411) { - $xfer += $output->writeString($iter397); + $xfer += $output->writeString($iter411); } } $output->writeListEnd(); @@ -11028,9 +11329,9 @@ class RequestPartsSpec { { $output->writeListBegin(TType::STRUCT, count($this->exprs)); { - foreach ($this->exprs as $iter398) + foreach ($this->exprs as $iter412) { - $xfer += $iter398->write($output); + $xfer += $iter412->write($output); } } $output->writeListEnd(); @@ -11565,15 +11866,15 @@ class Function { case 8: if ($ftype == TType::LST) { $this->resourceUris = array(); - $_size399 = 0; - $_etype402 = 0; - $xfer += $input->readListBegin($_etype402, $_size399); - for ($_i403 = 0; $_i403 < $_size399; ++$_i403) + $_size413 = 0; + $_etype416 = 0; + $xfer += $input->readListBegin($_etype416, $_size413); + for ($_i417 = 0; $_i417 < $_size413; ++$_i417) { - $elem404 = null; - $elem404 = new \metastore\ResourceUri(); - $xfer += $elem404->read($input); - $this->resourceUris []= $elem404; + $elem418 = null; + $elem418 = new \metastore\ResourceUri(); + $xfer += $elem418->read($input); + $this->resourceUris []= $elem418; } $xfer += $input->readListEnd(); } else { @@ -11636,9 +11937,9 @@ class Function { { $output->writeListBegin(TType::STRUCT, count($this->resourceUris)); { - foreach ($this->resourceUris as $iter405) + foreach ($this->resourceUris as $iter419) { - $xfer += $iter405->write($output); + $xfer += $iter419->write($output); } } $output->writeListEnd(); @@ -11934,15 +12235,15 @@ class GetOpenTxnsInfoResponse { case 2: if ($ftype == TType::LST) { $this->open_txns = array(); - $_size406 = 0; - $_etype409 = 0; - $xfer += $input->readListBegin($_etype409, $_size406); - for ($_i410 = 0; $_i410 < $_size406; ++$_i410) + $_size420 = 0; + $_etype423 = 0; + $xfer += $input->readListBegin($_etype423, $_size420); + for ($_i424 = 0; $_i424 < $_size420; ++$_i424) { - $elem411 = null; - $elem411 = new \metastore\TxnInfo(); - $xfer += $elem411->read($input); - $this->open_txns []= $elem411; + $elem425 = null; + $elem425 = new \metastore\TxnInfo(); + $xfer += $elem425->read($input); + $this->open_txns []= $elem425; } $xfer += $input->readListEnd(); } else { @@ -11975,9 +12276,9 @@ class GetOpenTxnsInfoResponse { { $output->writeListBegin(TType::STRUCT, count($this->open_txns)); { - foreach ($this->open_txns as $iter412) + foreach ($this->open_txns as $iter426) { - $xfer += $iter412->write($output); + $xfer += $iter426->write($output); } } $output->writeListEnd(); @@ -12059,17 +12360,17 @@ class GetOpenTxnsResponse { case 2: if ($ftype == TType::SET) { $this->open_txns = array(); - $_size413 = 0; - $_etype416 = 0; - $xfer += $input->readSetBegin($_etype416, $_size413); - for ($_i417 = 0; $_i417 < $_size413; ++$_i417) + $_size427 = 0; + $_etype430 = 0; + $xfer += $input->readSetBegin($_etype430, $_size427); + for ($_i431 = 0; $_i431 < $_size427; ++$_i431) { - $elem418 = null; - $xfer += $input->readI64($elem418); - if (is_scalar($elem418)) { - $this->open_txns[$elem418] = true; + $elem432 = null; + $xfer += $input->readI64($elem432); + if (is_scalar($elem432)) { + $this->open_txns[$elem432] = true; } else { - $this->open_txns []= $elem418; + $this->open_txns []= $elem432; } } $xfer += $input->readSetEnd(); @@ -12103,12 +12404,12 @@ class GetOpenTxnsResponse { { $output->writeSetBegin(TType::I64, count($this->open_txns)); { - foreach ($this->open_txns as $iter419 => $iter420) + foreach ($this->open_txns as $iter433 => $iter434) { - if (is_scalar($iter420)) { - $xfer += $output->writeI64($iter419); + if (is_scalar($iter434)) { + $xfer += $output->writeI64($iter433); } else { - $xfer += $output->writeI64($iter420); + $xfer += $output->writeI64($iter434); } } } @@ -12317,14 +12618,14 @@ class OpenTxnsResponse { case 1: if ($ftype == TType::LST) { $this->txn_ids = array(); - $_size421 = 0; - $_etype424 = 0; - $xfer += $input->readListBegin($_etype424, $_size421); - for ($_i425 = 0; $_i425 < $_size421; ++$_i425) + $_size435 = 0; + $_etype438 = 0; + $xfer += $input->readListBegin($_etype438, $_size435); + for ($_i439 = 0; $_i439 < $_size435; ++$_i439) { - $elem426 = null; - $xfer += $input->readI64($elem426); - $this->txn_ids []= $elem426; + $elem440 = null; + $xfer += $input->readI64($elem440); + $this->txn_ids []= $elem440; } $xfer += $input->readListEnd(); } else { @@ -12352,9 +12653,9 @@ class OpenTxnsResponse { { $output->writeListBegin(TType::I64, count($this->txn_ids)); { - foreach ($this->txn_ids as $iter427) + foreach ($this->txn_ids as $iter441) { - $xfer += $output->writeI64($iter427); + $xfer += $output->writeI64($iter441); } } $output->writeListEnd(); @@ -12493,14 +12794,14 @@ class AbortTxnsRequest { case 1: if ($ftype == TType::LST) { $this->txn_ids = array(); - $_size428 = 0; - $_etype431 = 0; - $xfer += $input->readListBegin($_etype431, $_size428); - for ($_i432 = 0; $_i432 < $_size428; ++$_i432) + $_size442 = 0; + $_etype445 = 0; + $xfer += $input->readListBegin($_etype445, $_size442); + for ($_i446 = 0; $_i446 < $_size442; ++$_i446) { - $elem433 = null; - $xfer += $input->readI64($elem433); - $this->txn_ids []= $elem433; + $elem447 = null; + $xfer += $input->readI64($elem447); + $this->txn_ids []= $elem447; } $xfer += $input->readListEnd(); } else { @@ -12528,9 +12829,9 @@ class AbortTxnsRequest { { $output->writeListBegin(TType::I64, count($this->txn_ids)); { - foreach ($this->txn_ids as $iter434) + foreach ($this->txn_ids as $iter448) { - $xfer += $output->writeI64($iter434); + $xfer += $output->writeI64($iter448); } } $output->writeListEnd(); @@ -12927,15 +13228,15 @@ class LockRequest { case 1: if ($ftype == TType::LST) { $this->component = array(); - $_size435 = 0; - $_etype438 = 0; - $xfer += $input->readListBegin($_etype438, $_size435); - for ($_i439 = 0; $_i439 < $_size435; ++$_i439) + $_size449 = 0; + $_etype452 = 0; + $xfer += $input->readListBegin($_etype452, $_size449); + for ($_i453 = 0; $_i453 < $_size449; ++$_i453) { - $elem440 = null; - $elem440 = new \metastore\LockComponent(); - $xfer += $elem440->read($input); - $this->component []= $elem440; + $elem454 = null; + $elem454 = new \metastore\LockComponent(); + $xfer += $elem454->read($input); + $this->component []= $elem454; } $xfer += $input->readListEnd(); } else { @@ -12991,9 +13292,9 @@ class LockRequest { { $output->writeListBegin(TType::STRUCT, count($this->component)); { - foreach ($this->component as $iter441) + foreach ($this->component as $iter455) { - $xfer += $iter441->write($output); + $xfer += $iter455->write($output); } } $output->writeListEnd(); @@ -13936,15 +14237,15 @@ class ShowLocksResponse { case 1: if ($ftype == TType::LST) { $this->locks = array(); - $_size442 = 0; - $_etype445 = 0; - $xfer += $input->readListBegin($_etype445, $_size442); - for ($_i446 = 0; $_i446 < $_size442; ++$_i446) + $_size456 = 0; + $_etype459 = 0; + $xfer += $input->readListBegin($_etype459, $_size456); + for ($_i460 = 0; $_i460 < $_size456; ++$_i460) { - $elem447 = null; - $elem447 = new \metastore\ShowLocksResponseElement(); - $xfer += $elem447->read($input); - $this->locks []= $elem447; + $elem461 = null; + $elem461 = new \metastore\ShowLocksResponseElement(); + $xfer += $elem461->read($input); + $this->locks []= $elem461; } $xfer += $input->readListEnd(); } else { @@ -13972,9 +14273,9 @@ class ShowLocksResponse { { $output->writeListBegin(TType::STRUCT, count($this->locks)); { - foreach ($this->locks as $iter448) + foreach ($this->locks as $iter462) { - $xfer += $iter448->write($output); + $xfer += $iter462->write($output); } } $output->writeListEnd(); @@ -14249,17 +14550,17 @@ class HeartbeatTxnRangeResponse { case 1: if ($ftype == TType::SET) { $this->aborted = array(); - $_size449 = 0; - $_etype452 = 0; - $xfer += $input->readSetBegin($_etype452, $_size449); - for ($_i453 = 0; $_i453 < $_size449; ++$_i453) + $_size463 = 0; + $_etype466 = 0; + $xfer += $input->readSetBegin($_etype466, $_size463); + for ($_i467 = 0; $_i467 < $_size463; ++$_i467) { - $elem454 = null; - $xfer += $input->readI64($elem454); - if (is_scalar($elem454)) { - $this->aborted[$elem454] = true; + $elem468 = null; + $xfer += $input->readI64($elem468); + if (is_scalar($elem468)) { + $this->aborted[$elem468] = true; } else { - $this->aborted []= $elem454; + $this->aborted []= $elem468; } } $xfer += $input->readSetEnd(); @@ -14270,17 +14571,17 @@ class HeartbeatTxnRangeResponse { case 2: if ($ftype == TType::SET) { $this->nosuch = array(); - $_size455 = 0; - $_etype458 = 0; - $xfer += $input->readSetBegin($_etype458, $_size455); - for ($_i459 = 0; $_i459 < $_size455; ++$_i459) + $_size469 = 0; + $_etype472 = 0; + $xfer += $input->readSetBegin($_etype472, $_size469); + for ($_i473 = 0; $_i473 < $_size469; ++$_i473) { - $elem460 = null; - $xfer += $input->readI64($elem460); - if (is_scalar($elem460)) { - $this->nosuch[$elem460] = true; + $elem474 = null; + $xfer += $input->readI64($elem474); + if (is_scalar($elem474)) { + $this->nosuch[$elem474] = true; } else { - $this->nosuch []= $elem460; + $this->nosuch []= $elem474; } } $xfer += $input->readSetEnd(); @@ -14309,12 +14610,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->aborted)); { - foreach ($this->aborted as $iter461 => $iter462) + foreach ($this->aborted as $iter475 => $iter476) { - if (is_scalar($iter462)) { - $xfer += $output->writeI64($iter461); + if (is_scalar($iter476)) { + $xfer += $output->writeI64($iter475); } else { - $xfer += $output->writeI64($iter462); + $xfer += $output->writeI64($iter476); } } } @@ -14330,12 +14631,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->nosuch)); { - foreach ($this->nosuch as $iter463 => $iter464) + foreach ($this->nosuch as $iter477 => $iter478) { - if (is_scalar($iter464)) { - $xfer += $output->writeI64($iter463); + if (is_scalar($iter478)) { + $xfer += $output->writeI64($iter477); } else { - $xfer += $output->writeI64($iter464); + $xfer += $output->writeI64($iter478); } } } @@ -14494,17 +14795,17 @@ class CompactionRequest { case 6: if ($ftype == TType::MAP) { $this->properties = array(); - $_size465 = 0; - $_ktype466 = 0; - $_vtype467 = 0; - $xfer += $input->readMapBegin($_ktype466, $_vtype467, $_size465); - for ($_i469 = 0; $_i469 < $_size465; ++$_i469) + $_size479 = 0; + $_ktype480 = 0; + $_vtype481 = 0; + $xfer += $input->readMapBegin($_ktype480, $_vtype481, $_size479); + for ($_i483 = 0; $_i483 < $_size479; ++$_i483) { - $key470 = ''; - $val471 = ''; - $xfer += $input->readString($key470); - $xfer += $input->readString($val471); - $this->properties[$key470] = $val471; + $key484 = ''; + $val485 = ''; + $xfer += $input->readString($key484); + $xfer += $input->readString($val485); + $this->properties[$key484] = $val485; } $xfer += $input->readMapEnd(); } else { @@ -14557,10 +14858,10 @@ class CompactionRequest { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->properties)); { - foreach ($this->properties as $kiter472 => $viter473) + foreach ($this->properties as $kiter486 => $viter487) { - $xfer += $output->writeString($kiter472); - $xfer += $output->writeString($viter473); + $xfer += $output->writeString($kiter486); + $xfer += $output->writeString($viter487); } } $output->writeMapEnd(); @@ -15003,15 +15304,15 @@ class ShowCompactResponse { case 1: if ($ftype == TType::LST) { $this->compacts = array(); - $_size474 = 0; - $_etype477 = 0; - $xfer += $input->readListBegin($_etype477, $_size474); - for ($_i478 = 0; $_i478 < $_size474; ++$_i478) + $_size488 = 0; + $_etype491 = 0; + $xfer += $input->readListBegin($_etype491, $_size488); + for ($_i492 = 0; $_i492 < $_size488; ++$_i492) { - $elem479 = null; - $elem479 = new \metastore\ShowCompactResponseElement(); - $xfer += $elem479->read($input); - $this->compacts []= $elem479; + $elem493 = null; + $elem493 = new \metastore\ShowCompactResponseElement(); + $xfer += $elem493->read($input); + $this->compacts []= $elem493; } $xfer += $input->readListEnd(); } else { @@ -15039,9 +15340,9 @@ class ShowCompactResponse { { $output->writeListBegin(TType::STRUCT, count($this->compacts)); { - foreach ($this->compacts as $iter480) + foreach ($this->compacts as $iter494) { - $xfer += $iter480->write($output); + $xfer += $iter494->write($output); } } $output->writeListEnd(); @@ -15170,14 +15471,14 @@ class AddDynamicPartitions { case 4: if ($ftype == TType::LST) { $this->partitionnames = array(); - $_size481 = 0; - $_etype484 = 0; - $xfer += $input->readListBegin($_etype484, $_size481); - for ($_i485 = 0; $_i485 < $_size481; ++$_i485) + $_size495 = 0; + $_etype498 = 0; + $xfer += $input->readListBegin($_etype498, $_size495); + for ($_i499 = 0; $_i499 < $_size495; ++$_i499) { - $elem486 = null; - $xfer += $input->readString($elem486); - $this->partitionnames []= $elem486; + $elem500 = null; + $xfer += $input->readString($elem500); + $this->partitionnames []= $elem500; } $xfer += $input->readListEnd(); } else { @@ -15227,9 +15528,9 @@ class AddDynamicPartitions { { $output->writeListBegin(TType::STRING, count($this->partitionnames)); { - foreach ($this->partitionnames as $iter487) + foreach ($this->partitionnames as $iter501) { - $xfer += $output->writeString($iter487); + $xfer += $output->writeString($iter501); } } $output->writeListEnd(); @@ -15587,15 +15888,15 @@ class NotificationEventResponse { case 1: if ($ftype == TType::LST) { $this->events = array(); - $_size488 = 0; - $_etype491 = 0; - $xfer += $input->readListBegin($_etype491, $_size488); - for ($_i492 = 0; $_i492 < $_size488; ++$_i492) + $_size502 = 0; + $_etype505 = 0; + $xfer += $input->readListBegin($_etype505, $_size502); + for ($_i506 = 0; $_i506 < $_size502; ++$_i506) { - $elem493 = null; - $elem493 = new \metastore\NotificationEvent(); - $xfer += $elem493->read($input); - $this->events []= $elem493; + $elem507 = null; + $elem507 = new \metastore\NotificationEvent(); + $xfer += $elem507->read($input); + $this->events []= $elem507; } $xfer += $input->readListEnd(); } else { @@ -15623,9 +15924,9 @@ class NotificationEventResponse { { $output->writeListBegin(TType::STRUCT, count($this->events)); { - foreach ($this->events as $iter494) + foreach ($this->events as $iter508) { - $xfer += $iter494->write($output); + $xfer += $iter508->write($output); } } $output->writeListEnd(); @@ -15764,14 +16065,14 @@ class InsertEventRequestData { case 1: if ($ftype == TType::LST) { $this->filesAdded = array(); - $_size495 = 0; - $_etype498 = 0; - $xfer += $input->readListBegin($_etype498, $_size495); - for ($_i499 = 0; $_i499 < $_size495; ++$_i499) + $_size509 = 0; + $_etype512 = 0; + $xfer += $input->readListBegin($_etype512, $_size509); + for ($_i513 = 0; $_i513 < $_size509; ++$_i513) { - $elem500 = null; - $xfer += $input->readString($elem500); - $this->filesAdded []= $elem500; + $elem514 = null; + $xfer += $input->readString($elem514); + $this->filesAdded []= $elem514; } $xfer += $input->readListEnd(); } else { @@ -15799,9 +16100,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAdded)); { - foreach ($this->filesAdded as $iter501) + foreach ($this->filesAdded as $iter515) { - $xfer += $output->writeString($iter501); + $xfer += $output->writeString($iter515); } } $output->writeListEnd(); @@ -16019,14 +16320,14 @@ class FireEventRequest { case 5: if ($ftype == TType::LST) { $this->partitionVals = array(); - $_size502 = 0; - $_etype505 = 0; - $xfer += $input->readListBegin($_etype505, $_size502); - for ($_i506 = 0; $_i506 < $_size502; ++$_i506) + $_size516 = 0; + $_etype519 = 0; + $xfer += $input->readListBegin($_etype519, $_size516); + for ($_i520 = 0; $_i520 < $_size516; ++$_i520) { - $elem507 = null; - $xfer += $input->readString($elem507); - $this->partitionVals []= $elem507; + $elem521 = null; + $xfer += $input->readString($elem521); + $this->partitionVals []= $elem521; } $xfer += $input->readListEnd(); } else { @@ -16077,9 +16378,9 @@ class FireEventRequest { { $output->writeListBegin(TType::STRING, count($this->partitionVals)); { - foreach ($this->partitionVals as $iter508) + foreach ($this->partitionVals as $iter522) { - $xfer += $output->writeString($iter508); + $xfer += $output->writeString($iter522); } } $output->writeListEnd(); @@ -16307,18 +16608,18 @@ class GetFileMetadataByExprResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size509 = 0; - $_ktype510 = 0; - $_vtype511 = 0; - $xfer += $input->readMapBegin($_ktype510, $_vtype511, $_size509); - for ($_i513 = 0; $_i513 < $_size509; ++$_i513) + $_size523 = 0; + $_ktype524 = 0; + $_vtype525 = 0; + $xfer += $input->readMapBegin($_ktype524, $_vtype525, $_size523); + for ($_i527 = 0; $_i527 < $_size523; ++$_i527) { - $key514 = 0; - $val515 = new \metastore\MetadataPpdResult(); - $xfer += $input->readI64($key514); - $val515 = new \metastore\MetadataPpdResult(); - $xfer += $val515->read($input); - $this->metadata[$key514] = $val515; + $key528 = 0; + $val529 = new \metastore\MetadataPpdResult(); + $xfer += $input->readI64($key528); + $val529 = new \metastore\MetadataPpdResult(); + $xfer += $val529->read($input); + $this->metadata[$key528] = $val529; } $xfer += $input->readMapEnd(); } else { @@ -16353,10 +16654,10 @@ class GetFileMetadataByExprResult { { $output->writeMapBegin(TType::I64, TType::STRUCT, count($this->metadata)); { - foreach ($this->metadata as $kiter516 => $viter517) + foreach ($this->metadata as $kiter530 => $viter531) { - $xfer += $output->writeI64($kiter516); - $xfer += $viter517->write($output); + $xfer += $output->writeI64($kiter530); + $xfer += $viter531->write($output); } } $output->writeMapEnd(); @@ -16458,14 +16759,14 @@ class GetFileMetadataByExprRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size518 = 0; - $_etype521 = 0; - $xfer += $input->readListBegin($_etype521, $_size518); - for ($_i522 = 0; $_i522 < $_size518; ++$_i522) + $_size532 = 0; + $_etype535 = 0; + $xfer += $input->readListBegin($_etype535, $_size532); + for ($_i536 = 0; $_i536 < $_size532; ++$_i536) { - $elem523 = null; - $xfer += $input->readI64($elem523); - $this->fileIds []= $elem523; + $elem537 = null; + $xfer += $input->readI64($elem537); + $this->fileIds []= $elem537; } $xfer += $input->readListEnd(); } else { @@ -16514,9 +16815,9 @@ class GetFileMetadataByExprRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter524) + foreach ($this->fileIds as $iter538) { - $xfer += $output->writeI64($iter524); + $xfer += $output->writeI64($iter538); } } $output->writeListEnd(); @@ -16610,17 +16911,17 @@ class GetFileMetadataResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size525 = 0; - $_ktype526 = 0; - $_vtype527 = 0; - $xfer += $input->readMapBegin($_ktype526, $_vtype527, $_size525); - for ($_i529 = 0; $_i529 < $_size525; ++$_i529) + $_size539 = 0; + $_ktype540 = 0; + $_vtype541 = 0; + $xfer += $input->readMapBegin($_ktype540, $_vtype541, $_size539); + for ($_i543 = 0; $_i543 < $_size539; ++$_i543) { - $key530 = 0; - $val531 = ''; - $xfer += $input->readI64($key530); - $xfer += $input->readString($val531); - $this->metadata[$key530] = $val531; + $key544 = 0; + $val545 = ''; + $xfer += $input->readI64($key544); + $xfer += $input->readString($val545); + $this->metadata[$key544] = $val545; } $xfer += $input->readMapEnd(); } else { @@ -16655,10 +16956,10 @@ class GetFileMetadataResult { { $output->writeMapBegin(TType::I64, TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $kiter532 => $viter533) + foreach ($this->metadata as $kiter546 => $viter547) { - $xfer += $output->writeI64($kiter532); - $xfer += $output->writeString($viter533); + $xfer += $output->writeI64($kiter546); + $xfer += $output->writeString($viter547); } } $output->writeMapEnd(); @@ -16727,14 +17028,14 @@ class GetFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size534 = 0; - $_etype537 = 0; - $xfer += $input->readListBegin($_etype537, $_size534); - for ($_i538 = 0; $_i538 < $_size534; ++$_i538) + $_size548 = 0; + $_etype551 = 0; + $xfer += $input->readListBegin($_etype551, $_size548); + for ($_i552 = 0; $_i552 < $_size548; ++$_i552) { - $elem539 = null; - $xfer += $input->readI64($elem539); - $this->fileIds []= $elem539; + $elem553 = null; + $xfer += $input->readI64($elem553); + $this->fileIds []= $elem553; } $xfer += $input->readListEnd(); } else { @@ -16762,9 +17063,9 @@ class GetFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter540) + foreach ($this->fileIds as $iter554) { - $xfer += $output->writeI64($iter540); + $xfer += $output->writeI64($iter554); } } $output->writeListEnd(); @@ -16904,14 +17205,14 @@ class PutFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size541 = 0; - $_etype544 = 0; - $xfer += $input->readListBegin($_etype544, $_size541); - for ($_i545 = 0; $_i545 < $_size541; ++$_i545) + $_size555 = 0; + $_etype558 = 0; + $xfer += $input->readListBegin($_etype558, $_size555); + for ($_i559 = 0; $_i559 < $_size555; ++$_i559) { - $elem546 = null; - $xfer += $input->readI64($elem546); - $this->fileIds []= $elem546; + $elem560 = null; + $xfer += $input->readI64($elem560); + $this->fileIds []= $elem560; } $xfer += $input->readListEnd(); } else { @@ -16921,14 +17222,14 @@ class PutFileMetadataRequest { case 2: if ($ftype == TType::LST) { $this->metadata = array(); - $_size547 = 0; - $_etype550 = 0; - $xfer += $input->readListBegin($_etype550, $_size547); - for ($_i551 = 0; $_i551 < $_size547; ++$_i551) + $_size561 = 0; + $_etype564 = 0; + $xfer += $input->readListBegin($_etype564, $_size561); + for ($_i565 = 0; $_i565 < $_size561; ++$_i565) { - $elem552 = null; - $xfer += $input->readString($elem552); - $this->metadata []= $elem552; + $elem566 = null; + $xfer += $input->readString($elem566); + $this->metadata []= $elem566; } $xfer += $input->readListEnd(); } else { @@ -16963,9 +17264,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter553) + foreach ($this->fileIds as $iter567) { - $xfer += $output->writeI64($iter553); + $xfer += $output->writeI64($iter567); } } $output->writeListEnd(); @@ -16980,9 +17281,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $iter554) + foreach ($this->metadata as $iter568) { - $xfer += $output->writeString($iter554); + $xfer += $output->writeString($iter568); } } $output->writeListEnd(); @@ -17101,14 +17402,14 @@ class ClearFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size555 = 0; - $_etype558 = 0; - $xfer += $input->readListBegin($_etype558, $_size555); - for ($_i559 = 0; $_i559 < $_size555; ++$_i559) + $_size569 = 0; + $_etype572 = 0; + $xfer += $input->readListBegin($_etype572, $_size569); + for ($_i573 = 0; $_i573 < $_size569; ++$_i573) { - $elem560 = null; - $xfer += $input->readI64($elem560); - $this->fileIds []= $elem560; + $elem574 = null; + $xfer += $input->readI64($elem574); + $this->fileIds []= $elem574; } $xfer += $input->readListEnd(); } else { @@ -17136,9 +17437,9 @@ class ClearFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter561) + foreach ($this->fileIds as $iter575) { - $xfer += $output->writeI64($iter561); + $xfer += $output->writeI64($iter575); } } $output->writeListEnd(); @@ -17422,15 +17723,15 @@ class GetAllFunctionsResponse { case 1: if ($ftype == TType::LST) { $this->functions = array(); - $_size562 = 0; - $_etype565 = 0; - $xfer += $input->readListBegin($_etype565, $_size562); - for ($_i566 = 0; $_i566 < $_size562; ++$_i566) + $_size576 = 0; + $_etype579 = 0; + $xfer += $input->readListBegin($_etype579, $_size576); + for ($_i580 = 0; $_i580 < $_size576; ++$_i580) { - $elem567 = null; - $elem567 = new \metastore\Function(); - $xfer += $elem567->read($input); - $this->functions []= $elem567; + $elem581 = null; + $elem581 = new \metastore\Function(); + $xfer += $elem581->read($input); + $this->functions []= $elem581; } $xfer += $input->readListEnd(); } else { @@ -17458,9 +17759,9 @@ class GetAllFunctionsResponse { { $output->writeListBegin(TType::STRUCT, count($this->functions)); { - foreach ($this->functions as $iter568) + foreach ($this->functions as $iter582) { - $xfer += $iter568->write($output); + $xfer += $iter582->write($output); } } $output->writeListEnd(); diff --git a/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote b/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote index c58ccf2..fdda2eb 100755 --- a/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote +++ b/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote @@ -114,6 +114,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print(' TableStatsResult get_table_statistics_req(TableStatsRequest request)') print(' PartitionsStatsResult get_partitions_statistics_req(PartitionsStatsRequest request)') print(' AggrStats get_aggr_stats_for(PartitionsStatsRequest request)') + print(' AggregatePartitionsStatsResponse get_parts_and_aggr_col_stats(AggregatePartitionsStatsRequest request)') print(' bool set_aggr_stats_for(SetPartitionsStatsRequest request)') print(' bool delete_partition_column_statistics(string db_name, string tbl_name, string part_name, string col_name)') print(' bool delete_table_column_statistics(string db_name, string tbl_name, string col_name)') @@ -782,6 +783,12 @@ elif cmd == 'get_aggr_stats_for': sys.exit(1) pp.pprint(client.get_aggr_stats_for(eval(args[0]),)) +elif cmd == 'get_parts_and_aggr_col_stats': + if len(args) != 1: + print('get_parts_and_aggr_col_stats requires 1 args') + sys.exit(1) + pp.pprint(client.get_parts_and_aggr_col_stats(eval(args[0]),)) + elif cmd == 'set_aggr_stats_for': if len(args) != 1: print('set_aggr_stats_for requires 1 args') diff --git a/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py b/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py index 57a748a..d416b25 100644 --- a/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ b/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -793,6 +793,13 @@ def get_aggr_stats_for(self, request): """ pass + def get_parts_and_aggr_col_stats(self, request): + """ + Parameters: + - request + """ + pass + def set_aggr_stats_for(self, request): """ Parameters: @@ -4659,6 +4666,41 @@ def recv_get_aggr_stats_for(self): raise result.o2 raise TApplicationException(TApplicationException.MISSING_RESULT, "get_aggr_stats_for failed: unknown result") + def get_parts_and_aggr_col_stats(self, request): + """ + Parameters: + - request + """ + self.send_get_parts_and_aggr_col_stats(request) + return self.recv_get_parts_and_aggr_col_stats() + + def send_get_parts_and_aggr_col_stats(self, request): + self._oprot.writeMessageBegin('get_parts_and_aggr_col_stats', TMessageType.CALL, self._seqid) + args = get_parts_and_aggr_col_stats_args() + args.request = request + args.write(self._oprot) + self._oprot.writeMessageEnd() + self._oprot.trans.flush() + + def recv_get_parts_and_aggr_col_stats(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() + if mtype == TMessageType.EXCEPTION: + x = TApplicationException() + x.read(iprot) + iprot.readMessageEnd() + raise x + result = get_parts_and_aggr_col_stats_result() + result.read(iprot) + iprot.readMessageEnd() + if result.success is not None: + return result.success + if result.o1 is not None: + raise result.o1 + if result.o2 is not None: + raise result.o2 + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_parts_and_aggr_col_stats failed: unknown result") + def set_aggr_stats_for(self, request): """ Parameters: @@ -6690,6 +6732,7 @@ def __init__(self, handler): self._processMap["get_table_statistics_req"] = Processor.process_get_table_statistics_req self._processMap["get_partitions_statistics_req"] = Processor.process_get_partitions_statistics_req self._processMap["get_aggr_stats_for"] = Processor.process_get_aggr_stats_for + self._processMap["get_parts_and_aggr_col_stats"] = Processor.process_get_parts_and_aggr_col_stats self._processMap["set_aggr_stats_for"] = Processor.process_set_aggr_stats_for self._processMap["delete_partition_column_statistics"] = Processor.process_delete_partition_column_statistics self._processMap["delete_table_column_statistics"] = Processor.process_delete_table_column_statistics @@ -9108,6 +9151,31 @@ def process_get_aggr_stats_for(self, seqid, iprot, oprot): oprot.writeMessageEnd() oprot.trans.flush() + def process_get_parts_and_aggr_col_stats(self, seqid, iprot, oprot): + args = get_parts_and_aggr_col_stats_args() + args.read(iprot) + iprot.readMessageEnd() + result = get_parts_and_aggr_col_stats_result() + try: + result.success = self._handler.get_parts_and_aggr_col_stats(args.request) + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY + result.o1 = o1 + except MetaException as o2: + msg_type = TMessageType.REPLY + result.o2 = o2 + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_parts_and_aggr_col_stats", msg_type, seqid) + result.write(oprot) + oprot.writeMessageEnd() + oprot.trans.flush() + def process_set_aggr_stats_for(self, seqid, iprot, oprot): args = set_aggr_stats_for_args() args.read(iprot) @@ -11298,10 +11366,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype569, _size566) = iprot.readListBegin() - for _i570 in xrange(_size566): - _elem571 = iprot.readString() - self.success.append(_elem571) + (_etype583, _size580) = iprot.readListBegin() + for _i584 in xrange(_size580): + _elem585 = iprot.readString() + self.success.append(_elem585) iprot.readListEnd() else: iprot.skip(ftype) @@ -11324,8 +11392,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 iter572 in self.success: - oprot.writeString(iter572) + for iter586 in self.success: + oprot.writeString(iter586) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -11430,10 +11498,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype576, _size573) = iprot.readListBegin() - for _i577 in xrange(_size573): - _elem578 = iprot.readString() - self.success.append(_elem578) + (_etype590, _size587) = iprot.readListBegin() + for _i591 in xrange(_size587): + _elem592 = iprot.readString() + self.success.append(_elem592) iprot.readListEnd() else: iprot.skip(ftype) @@ -11456,8 +11524,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter579 in self.success: - oprot.writeString(iter579) + for iter593 in self.success: + oprot.writeString(iter593) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -12227,12 +12295,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype581, _vtype582, _size580 ) = iprot.readMapBegin() - for _i584 in xrange(_size580): - _key585 = iprot.readString() - _val586 = Type() - _val586.read(iprot) - self.success[_key585] = _val586 + (_ktype595, _vtype596, _size594 ) = iprot.readMapBegin() + for _i598 in xrange(_size594): + _key599 = iprot.readString() + _val600 = Type() + _val600.read(iprot) + self.success[_key599] = _val600 iprot.readMapEnd() else: iprot.skip(ftype) @@ -12255,9 +12323,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 kiter587,viter588 in self.success.items(): - oprot.writeString(kiter587) - viter588.write(oprot) + for kiter601,viter602 in self.success.items(): + oprot.writeString(kiter601) + viter602.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -12400,11 +12468,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype592, _size589) = iprot.readListBegin() - for _i593 in xrange(_size589): - _elem594 = FieldSchema() - _elem594.read(iprot) - self.success.append(_elem594) + (_etype606, _size603) = iprot.readListBegin() + for _i607 in xrange(_size603): + _elem608 = FieldSchema() + _elem608.read(iprot) + self.success.append(_elem608) iprot.readListEnd() else: iprot.skip(ftype) @@ -12439,8 +12507,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 iter595 in self.success: - iter595.write(oprot) + for iter609 in self.success: + iter609.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -12607,11 +12675,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype599, _size596) = iprot.readListBegin() - for _i600 in xrange(_size596): - _elem601 = FieldSchema() - _elem601.read(iprot) - self.success.append(_elem601) + (_etype613, _size610) = iprot.readListBegin() + for _i614 in xrange(_size610): + _elem615 = FieldSchema() + _elem615.read(iprot) + self.success.append(_elem615) iprot.readListEnd() else: iprot.skip(ftype) @@ -12646,8 +12714,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 iter602 in self.success: - iter602.write(oprot) + for iter616 in self.success: + iter616.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -12800,11 +12868,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype606, _size603) = iprot.readListBegin() - for _i607 in xrange(_size603): - _elem608 = FieldSchema() - _elem608.read(iprot) - self.success.append(_elem608) + (_etype620, _size617) = iprot.readListBegin() + for _i621 in xrange(_size617): + _elem622 = FieldSchema() + _elem622.read(iprot) + self.success.append(_elem622) iprot.readListEnd() else: iprot.skip(ftype) @@ -12839,8 +12907,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 iter609 in self.success: - iter609.write(oprot) + for iter623 in self.success: + iter623.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -13007,11 +13075,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype613, _size610) = iprot.readListBegin() - for _i614 in xrange(_size610): - _elem615 = FieldSchema() - _elem615.read(iprot) - self.success.append(_elem615) + (_etype627, _size624) = iprot.readListBegin() + for _i628 in xrange(_size624): + _elem629 = FieldSchema() + _elem629.read(iprot) + self.success.append(_elem629) iprot.readListEnd() else: iprot.skip(ftype) @@ -13046,8 +13114,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 iter616 in self.success: - iter616.write(oprot) + for iter630 in self.success: + iter630.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -13488,22 +13556,22 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.primaryKeys = [] - (_etype620, _size617) = iprot.readListBegin() - for _i621 in xrange(_size617): - _elem622 = SQLPrimaryKey() - _elem622.read(iprot) - self.primaryKeys.append(_elem622) + (_etype634, _size631) = iprot.readListBegin() + for _i635 in xrange(_size631): + _elem636 = SQLPrimaryKey() + _elem636.read(iprot) + self.primaryKeys.append(_elem636) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.foreignKeys = [] - (_etype626, _size623) = iprot.readListBegin() - for _i627 in xrange(_size623): - _elem628 = SQLForeignKey() - _elem628.read(iprot) - self.foreignKeys.append(_elem628) + (_etype640, _size637) = iprot.readListBegin() + for _i641 in xrange(_size637): + _elem642 = SQLForeignKey() + _elem642.read(iprot) + self.foreignKeys.append(_elem642) iprot.readListEnd() else: iprot.skip(ftype) @@ -13524,15 +13592,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 iter629 in self.primaryKeys: - iter629.write(oprot) + for iter643 in self.primaryKeys: + iter643.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 iter630 in self.foreignKeys: - iter630.write(oprot) + for iter644 in self.foreignKeys: + iter644.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14568,10 +14636,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype634, _size631) = iprot.readListBegin() - for _i635 in xrange(_size631): - _elem636 = iprot.readString() - self.success.append(_elem636) + (_etype648, _size645) = iprot.readListBegin() + for _i649 in xrange(_size645): + _elem650 = iprot.readString() + self.success.append(_elem650) iprot.readListEnd() else: iprot.skip(ftype) @@ -14594,8 +14662,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 iter637 in self.success: - oprot.writeString(iter637) + for iter651 in self.success: + oprot.writeString(iter651) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14668,10 +14736,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.tbl_types = [] - (_etype641, _size638) = iprot.readListBegin() - for _i642 in xrange(_size638): - _elem643 = iprot.readString() - self.tbl_types.append(_elem643) + (_etype655, _size652) = iprot.readListBegin() + for _i656 in xrange(_size652): + _elem657 = iprot.readString() + self.tbl_types.append(_elem657) iprot.readListEnd() else: iprot.skip(ftype) @@ -14696,8 +14764,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 iter644 in self.tbl_types: - oprot.writeString(iter644) + for iter658 in self.tbl_types: + oprot.writeString(iter658) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14753,11 +14821,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype648, _size645) = iprot.readListBegin() - for _i649 in xrange(_size645): - _elem650 = TableMeta() - _elem650.read(iprot) - self.success.append(_elem650) + (_etype662, _size659) = iprot.readListBegin() + for _i663 in xrange(_size659): + _elem664 = TableMeta() + _elem664.read(iprot) + self.success.append(_elem664) iprot.readListEnd() else: iprot.skip(ftype) @@ -14780,8 +14848,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 iter651 in self.success: - iter651.write(oprot) + for iter665 in self.success: + iter665.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14905,10 +14973,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype655, _size652) = iprot.readListBegin() - for _i656 in xrange(_size652): - _elem657 = iprot.readString() - self.success.append(_elem657) + (_etype669, _size666) = iprot.readListBegin() + for _i670 in xrange(_size666): + _elem671 = iprot.readString() + self.success.append(_elem671) iprot.readListEnd() else: iprot.skip(ftype) @@ -14931,8 +14999,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 iter658 in self.success: - oprot.writeString(iter658) + for iter672 in self.success: + oprot.writeString(iter672) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15168,10 +15236,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype662, _size659) = iprot.readListBegin() - for _i663 in xrange(_size659): - _elem664 = iprot.readString() - self.tbl_names.append(_elem664) + (_etype676, _size673) = iprot.readListBegin() + for _i677 in xrange(_size673): + _elem678 = iprot.readString() + self.tbl_names.append(_elem678) iprot.readListEnd() else: iprot.skip(ftype) @@ -15192,8 +15260,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 iter665 in self.tbl_names: - oprot.writeString(iter665) + for iter679 in self.tbl_names: + oprot.writeString(iter679) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15254,11 +15322,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype669, _size666) = iprot.readListBegin() - for _i670 in xrange(_size666): - _elem671 = Table() - _elem671.read(iprot) - self.success.append(_elem671) + (_etype683, _size680) = iprot.readListBegin() + for _i684 in xrange(_size680): + _elem685 = Table() + _elem685.read(iprot) + self.success.append(_elem685) iprot.readListEnd() else: iprot.skip(ftype) @@ -15293,8 +15361,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 iter672 in self.success: - iter672.write(oprot) + for iter686 in self.success: + iter686.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15460,10 +15528,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype676, _size673) = iprot.readListBegin() - for _i677 in xrange(_size673): - _elem678 = iprot.readString() - self.success.append(_elem678) + (_etype690, _size687) = iprot.readListBegin() + for _i691 in xrange(_size687): + _elem692 = iprot.readString() + self.success.append(_elem692) iprot.readListEnd() else: iprot.skip(ftype) @@ -15498,8 +15566,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 iter679 in self.success: - oprot.writeString(iter679) + for iter693 in self.success: + oprot.writeString(iter693) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16469,11 +16537,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype683, _size680) = iprot.readListBegin() - for _i684 in xrange(_size680): - _elem685 = Partition() - _elem685.read(iprot) - self.new_parts.append(_elem685) + (_etype697, _size694) = iprot.readListBegin() + for _i698 in xrange(_size694): + _elem699 = Partition() + _elem699.read(iprot) + self.new_parts.append(_elem699) iprot.readListEnd() else: iprot.skip(ftype) @@ -16490,8 +16558,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 iter686 in self.new_parts: - iter686.write(oprot) + for iter700 in self.new_parts: + iter700.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16649,11 +16717,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype690, _size687) = iprot.readListBegin() - for _i691 in xrange(_size687): - _elem692 = PartitionSpec() - _elem692.read(iprot) - self.new_parts.append(_elem692) + (_etype704, _size701) = iprot.readListBegin() + for _i705 in xrange(_size701): + _elem706 = PartitionSpec() + _elem706.read(iprot) + self.new_parts.append(_elem706) iprot.readListEnd() else: iprot.skip(ftype) @@ -16670,8 +16738,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 iter693 in self.new_parts: - iter693.write(oprot) + for iter707 in self.new_parts: + iter707.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16845,10 +16913,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype697, _size694) = iprot.readListBegin() - for _i698 in xrange(_size694): - _elem699 = iprot.readString() - self.part_vals.append(_elem699) + (_etype711, _size708) = iprot.readListBegin() + for _i712 in xrange(_size708): + _elem713 = iprot.readString() + self.part_vals.append(_elem713) iprot.readListEnd() else: iprot.skip(ftype) @@ -16873,8 +16941,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 iter700 in self.part_vals: - oprot.writeString(iter700) + for iter714 in self.part_vals: + oprot.writeString(iter714) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17227,10 +17295,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype704, _size701) = iprot.readListBegin() - for _i705 in xrange(_size701): - _elem706 = iprot.readString() - self.part_vals.append(_elem706) + (_etype718, _size715) = iprot.readListBegin() + for _i719 in xrange(_size715): + _elem720 = iprot.readString() + self.part_vals.append(_elem720) iprot.readListEnd() else: iprot.skip(ftype) @@ -17261,8 +17329,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 iter707 in self.part_vals: - oprot.writeString(iter707) + for iter721 in self.part_vals: + oprot.writeString(iter721) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -17857,10 +17925,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype711, _size708) = iprot.readListBegin() - for _i712 in xrange(_size708): - _elem713 = iprot.readString() - self.part_vals.append(_elem713) + (_etype725, _size722) = iprot.readListBegin() + for _i726 in xrange(_size722): + _elem727 = iprot.readString() + self.part_vals.append(_elem727) iprot.readListEnd() else: iprot.skip(ftype) @@ -17890,8 +17958,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 iter714 in self.part_vals: - oprot.writeString(iter714) + for iter728 in self.part_vals: + oprot.writeString(iter728) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -18064,10 +18132,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype718, _size715) = iprot.readListBegin() - for _i719 in xrange(_size715): - _elem720 = iprot.readString() - self.part_vals.append(_elem720) + (_etype732, _size729) = iprot.readListBegin() + for _i733 in xrange(_size729): + _elem734 = iprot.readString() + self.part_vals.append(_elem734) iprot.readListEnd() else: iprot.skip(ftype) @@ -18103,8 +18171,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 iter721 in self.part_vals: - oprot.writeString(iter721) + for iter735 in self.part_vals: + oprot.writeString(iter735) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -18841,10 +18909,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype725, _size722) = iprot.readListBegin() - for _i726 in xrange(_size722): - _elem727 = iprot.readString() - self.part_vals.append(_elem727) + (_etype739, _size736) = iprot.readListBegin() + for _i740 in xrange(_size736): + _elem741 = iprot.readString() + self.part_vals.append(_elem741) iprot.readListEnd() else: iprot.skip(ftype) @@ -18869,8 +18937,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 iter728 in self.part_vals: - oprot.writeString(iter728) + for iter742 in self.part_vals: + oprot.writeString(iter742) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19029,11 +19097,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype730, _vtype731, _size729 ) = iprot.readMapBegin() - for _i733 in xrange(_size729): - _key734 = iprot.readString() - _val735 = iprot.readString() - self.partitionSpecs[_key734] = _val735 + (_ktype744, _vtype745, _size743 ) = iprot.readMapBegin() + for _i747 in xrange(_size743): + _key748 = iprot.readString() + _val749 = iprot.readString() + self.partitionSpecs[_key748] = _val749 iprot.readMapEnd() else: iprot.skip(ftype) @@ -19070,9 +19138,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 kiter736,viter737 in self.partitionSpecs.items(): - oprot.writeString(kiter736) - oprot.writeString(viter737) + for kiter750,viter751 in self.partitionSpecs.items(): + oprot.writeString(kiter750) + oprot.writeString(viter751) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -19277,11 +19345,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype739, _vtype740, _size738 ) = iprot.readMapBegin() - for _i742 in xrange(_size738): - _key743 = iprot.readString() - _val744 = iprot.readString() - self.partitionSpecs[_key743] = _val744 + (_ktype753, _vtype754, _size752 ) = iprot.readMapBegin() + for _i756 in xrange(_size752): + _key757 = iprot.readString() + _val758 = iprot.readString() + self.partitionSpecs[_key757] = _val758 iprot.readMapEnd() else: iprot.skip(ftype) @@ -19318,9 +19386,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 kiter745,viter746 in self.partitionSpecs.items(): - oprot.writeString(kiter745) - oprot.writeString(viter746) + for kiter759,viter760 in self.partitionSpecs.items(): + oprot.writeString(kiter759) + oprot.writeString(viter760) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -19403,11 +19471,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype750, _size747) = iprot.readListBegin() - for _i751 in xrange(_size747): - _elem752 = Partition() - _elem752.read(iprot) - self.success.append(_elem752) + (_etype764, _size761) = iprot.readListBegin() + for _i765 in xrange(_size761): + _elem766 = Partition() + _elem766.read(iprot) + self.success.append(_elem766) iprot.readListEnd() else: iprot.skip(ftype) @@ -19448,8 +19516,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 iter753 in self.success: - iter753.write(oprot) + for iter767 in self.success: + iter767.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19543,10 +19611,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype757, _size754) = iprot.readListBegin() - for _i758 in xrange(_size754): - _elem759 = iprot.readString() - self.part_vals.append(_elem759) + (_etype771, _size768) = iprot.readListBegin() + for _i772 in xrange(_size768): + _elem773 = iprot.readString() + self.part_vals.append(_elem773) iprot.readListEnd() else: iprot.skip(ftype) @@ -19558,10 +19626,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype763, _size760) = iprot.readListBegin() - for _i764 in xrange(_size760): - _elem765 = iprot.readString() - self.group_names.append(_elem765) + (_etype777, _size774) = iprot.readListBegin() + for _i778 in xrange(_size774): + _elem779 = iprot.readString() + self.group_names.append(_elem779) iprot.readListEnd() else: iprot.skip(ftype) @@ -19586,8 +19654,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 iter766 in self.part_vals: - oprot.writeString(iter766) + for iter780 in self.part_vals: + oprot.writeString(iter780) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -19597,8 +19665,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 iter767 in self.group_names: - oprot.writeString(iter767) + for iter781 in self.group_names: + oprot.writeString(iter781) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20027,11 +20095,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype771, _size768) = iprot.readListBegin() - for _i772 in xrange(_size768): - _elem773 = Partition() - _elem773.read(iprot) - self.success.append(_elem773) + (_etype785, _size782) = iprot.readListBegin() + for _i786 in xrange(_size782): + _elem787 = Partition() + _elem787.read(iprot) + self.success.append(_elem787) iprot.readListEnd() else: iprot.skip(ftype) @@ -20060,8 +20128,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 iter774 in self.success: - iter774.write(oprot) + for iter788 in self.success: + iter788.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20155,10 +20223,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype778, _size775) = iprot.readListBegin() - for _i779 in xrange(_size775): - _elem780 = iprot.readString() - self.group_names.append(_elem780) + (_etype792, _size789) = iprot.readListBegin() + for _i793 in xrange(_size789): + _elem794 = iprot.readString() + self.group_names.append(_elem794) iprot.readListEnd() else: iprot.skip(ftype) @@ -20191,8 +20259,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 iter781 in self.group_names: - oprot.writeString(iter781) + for iter795 in self.group_names: + oprot.writeString(iter795) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20253,11 +20321,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype785, _size782) = iprot.readListBegin() - for _i786 in xrange(_size782): - _elem787 = Partition() - _elem787.read(iprot) - self.success.append(_elem787) + (_etype799, _size796) = iprot.readListBegin() + for _i800 in xrange(_size796): + _elem801 = Partition() + _elem801.read(iprot) + self.success.append(_elem801) iprot.readListEnd() else: iprot.skip(ftype) @@ -20286,8 +20354,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 iter788 in self.success: - iter788.write(oprot) + for iter802 in self.success: + iter802.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20445,11 +20513,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype792, _size789) = iprot.readListBegin() - for _i793 in xrange(_size789): - _elem794 = PartitionSpec() - _elem794.read(iprot) - self.success.append(_elem794) + (_etype806, _size803) = iprot.readListBegin() + for _i807 in xrange(_size803): + _elem808 = PartitionSpec() + _elem808.read(iprot) + self.success.append(_elem808) iprot.readListEnd() else: iprot.skip(ftype) @@ -20478,8 +20546,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 iter795 in self.success: - iter795.write(oprot) + for iter809 in self.success: + iter809.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20634,10 +20702,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype799, _size796) = iprot.readListBegin() - for _i800 in xrange(_size796): - _elem801 = iprot.readString() - self.success.append(_elem801) + (_etype813, _size810) = iprot.readListBegin() + for _i814 in xrange(_size810): + _elem815 = iprot.readString() + self.success.append(_elem815) iprot.readListEnd() else: iprot.skip(ftype) @@ -20660,8 +20728,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 iter802 in self.success: - oprot.writeString(iter802) + for iter816 in self.success: + oprot.writeString(iter816) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -20737,10 +20805,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype806, _size803) = iprot.readListBegin() - for _i807 in xrange(_size803): - _elem808 = iprot.readString() - self.part_vals.append(_elem808) + (_etype820, _size817) = iprot.readListBegin() + for _i821 in xrange(_size817): + _elem822 = iprot.readString() + self.part_vals.append(_elem822) iprot.readListEnd() else: iprot.skip(ftype) @@ -20770,8 +20838,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 iter809 in self.part_vals: - oprot.writeString(iter809) + for iter823 in self.part_vals: + oprot.writeString(iter823) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -20835,11 +20903,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype813, _size810) = iprot.readListBegin() - for _i814 in xrange(_size810): - _elem815 = Partition() - _elem815.read(iprot) - self.success.append(_elem815) + (_etype827, _size824) = iprot.readListBegin() + for _i828 in xrange(_size824): + _elem829 = Partition() + _elem829.read(iprot) + self.success.append(_elem829) iprot.readListEnd() else: iprot.skip(ftype) @@ -20868,8 +20936,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 iter816 in self.success: - iter816.write(oprot) + for iter830 in self.success: + iter830.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20956,10 +21024,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype820, _size817) = iprot.readListBegin() - for _i821 in xrange(_size817): - _elem822 = iprot.readString() - self.part_vals.append(_elem822) + (_etype834, _size831) = iprot.readListBegin() + for _i835 in xrange(_size831): + _elem836 = iprot.readString() + self.part_vals.append(_elem836) iprot.readListEnd() else: iprot.skip(ftype) @@ -20976,10 +21044,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype826, _size823) = iprot.readListBegin() - for _i827 in xrange(_size823): - _elem828 = iprot.readString() - self.group_names.append(_elem828) + (_etype840, _size837) = iprot.readListBegin() + for _i841 in xrange(_size837): + _elem842 = iprot.readString() + self.group_names.append(_elem842) iprot.readListEnd() else: iprot.skip(ftype) @@ -21004,8 +21072,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 iter829 in self.part_vals: - oprot.writeString(iter829) + for iter843 in self.part_vals: + oprot.writeString(iter843) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -21019,8 +21087,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 iter830 in self.group_names: - oprot.writeString(iter830) + for iter844 in self.group_names: + oprot.writeString(iter844) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21082,11 +21150,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype834, _size831) = iprot.readListBegin() - for _i835 in xrange(_size831): - _elem836 = Partition() - _elem836.read(iprot) - self.success.append(_elem836) + (_etype848, _size845) = iprot.readListBegin() + for _i849 in xrange(_size845): + _elem850 = Partition() + _elem850.read(iprot) + self.success.append(_elem850) iprot.readListEnd() else: iprot.skip(ftype) @@ -21115,8 +21183,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 iter837 in self.success: - iter837.write(oprot) + for iter851 in self.success: + iter851.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21197,10 +21265,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype841, _size838) = iprot.readListBegin() - for _i842 in xrange(_size838): - _elem843 = iprot.readString() - self.part_vals.append(_elem843) + (_etype855, _size852) = iprot.readListBegin() + for _i856 in xrange(_size852): + _elem857 = iprot.readString() + self.part_vals.append(_elem857) iprot.readListEnd() else: iprot.skip(ftype) @@ -21230,8 +21298,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 iter844 in self.part_vals: - oprot.writeString(iter844) + for iter858 in self.part_vals: + oprot.writeString(iter858) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -21295,10 +21363,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype848, _size845) = iprot.readListBegin() - for _i849 in xrange(_size845): - _elem850 = iprot.readString() - self.success.append(_elem850) + (_etype862, _size859) = iprot.readListBegin() + for _i863 in xrange(_size859): + _elem864 = iprot.readString() + self.success.append(_elem864) iprot.readListEnd() else: iprot.skip(ftype) @@ -21327,8 +21395,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 iter851 in self.success: - oprot.writeString(iter851) + for iter865 in self.success: + oprot.writeString(iter865) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21499,11 +21567,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype855, _size852) = iprot.readListBegin() - for _i856 in xrange(_size852): - _elem857 = Partition() - _elem857.read(iprot) - self.success.append(_elem857) + (_etype869, _size866) = iprot.readListBegin() + for _i870 in xrange(_size866): + _elem871 = Partition() + _elem871.read(iprot) + self.success.append(_elem871) iprot.readListEnd() else: iprot.skip(ftype) @@ -21532,8 +21600,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 iter858 in self.success: - iter858.write(oprot) + for iter872 in self.success: + iter872.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21704,11 +21772,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype862, _size859) = iprot.readListBegin() - for _i863 in xrange(_size859): - _elem864 = PartitionSpec() - _elem864.read(iprot) - self.success.append(_elem864) + (_etype876, _size873) = iprot.readListBegin() + for _i877 in xrange(_size873): + _elem878 = PartitionSpec() + _elem878.read(iprot) + self.success.append(_elem878) iprot.readListEnd() else: iprot.skip(ftype) @@ -21737,8 +21805,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 iter865 in self.success: - iter865.write(oprot) + for iter879 in self.success: + iter879.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22158,10 +22226,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype869, _size866) = iprot.readListBegin() - for _i870 in xrange(_size866): - _elem871 = iprot.readString() - self.names.append(_elem871) + (_etype883, _size880) = iprot.readListBegin() + for _i884 in xrange(_size880): + _elem885 = iprot.readString() + self.names.append(_elem885) iprot.readListEnd() else: iprot.skip(ftype) @@ -22186,8 +22254,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 iter872 in self.names: - oprot.writeString(iter872) + for iter886 in self.names: + oprot.writeString(iter886) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22246,11 +22314,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype876, _size873) = iprot.readListBegin() - for _i877 in xrange(_size873): - _elem878 = Partition() - _elem878.read(iprot) - self.success.append(_elem878) + (_etype890, _size887) = iprot.readListBegin() + for _i891 in xrange(_size887): + _elem892 = Partition() + _elem892.read(iprot) + self.success.append(_elem892) iprot.readListEnd() else: iprot.skip(ftype) @@ -22279,8 +22347,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 iter879 in self.success: - iter879.write(oprot) + for iter893 in self.success: + iter893.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22530,11 +22598,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype883, _size880) = iprot.readListBegin() - for _i884 in xrange(_size880): - _elem885 = Partition() - _elem885.read(iprot) - self.new_parts.append(_elem885) + (_etype897, _size894) = iprot.readListBegin() + for _i898 in xrange(_size894): + _elem899 = Partition() + _elem899.read(iprot) + self.new_parts.append(_elem899) iprot.readListEnd() else: iprot.skip(ftype) @@ -22559,8 +22627,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 iter886 in self.new_parts: - iter886.write(oprot) + for iter900 in self.new_parts: + iter900.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22713,11 +22781,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype890, _size887) = iprot.readListBegin() - for _i891 in xrange(_size887): - _elem892 = Partition() - _elem892.read(iprot) - self.new_parts.append(_elem892) + (_etype904, _size901) = iprot.readListBegin() + for _i905 in xrange(_size901): + _elem906 = Partition() + _elem906.read(iprot) + self.new_parts.append(_elem906) iprot.readListEnd() else: iprot.skip(ftype) @@ -22748,8 +22816,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 iter893 in self.new_parts: - iter893.write(oprot) + for iter907 in self.new_parts: + iter907.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -23093,10 +23161,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype897, _size894) = iprot.readListBegin() - for _i898 in xrange(_size894): - _elem899 = iprot.readString() - self.part_vals.append(_elem899) + (_etype911, _size908) = iprot.readListBegin() + for _i912 in xrange(_size908): + _elem913 = iprot.readString() + self.part_vals.append(_elem913) iprot.readListEnd() else: iprot.skip(ftype) @@ -23127,8 +23195,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 iter900 in self.part_vals: - oprot.writeString(iter900) + for iter914 in self.part_vals: + oprot.writeString(iter914) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -23270,10 +23338,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype904, _size901) = iprot.readListBegin() - for _i905 in xrange(_size901): - _elem906 = iprot.readString() - self.part_vals.append(_elem906) + (_etype918, _size915) = iprot.readListBegin() + for _i919 in xrange(_size915): + _elem920 = iprot.readString() + self.part_vals.append(_elem920) iprot.readListEnd() else: iprot.skip(ftype) @@ -23295,8 +23363,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 iter907 in self.part_vals: - oprot.writeString(iter907) + for iter921 in self.part_vals: + oprot.writeString(iter921) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -23654,10 +23722,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype911, _size908) = iprot.readListBegin() - for _i912 in xrange(_size908): - _elem913 = iprot.readString() - self.success.append(_elem913) + (_etype925, _size922) = iprot.readListBegin() + for _i926 in xrange(_size922): + _elem927 = iprot.readString() + self.success.append(_elem927) iprot.readListEnd() else: iprot.skip(ftype) @@ -23680,8 +23748,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 iter914 in self.success: - oprot.writeString(iter914) + for iter928 in self.success: + oprot.writeString(iter928) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -23805,11 +23873,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype916, _vtype917, _size915 ) = iprot.readMapBegin() - for _i919 in xrange(_size915): - _key920 = iprot.readString() - _val921 = iprot.readString() - self.success[_key920] = _val921 + (_ktype930, _vtype931, _size929 ) = iprot.readMapBegin() + for _i933 in xrange(_size929): + _key934 = iprot.readString() + _val935 = iprot.readString() + self.success[_key934] = _val935 iprot.readMapEnd() else: iprot.skip(ftype) @@ -23832,9 +23900,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 kiter922,viter923 in self.success.items(): - oprot.writeString(kiter922) - oprot.writeString(viter923) + for kiter936,viter937 in self.success.items(): + oprot.writeString(kiter936) + oprot.writeString(viter937) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -23910,11 +23978,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype925, _vtype926, _size924 ) = iprot.readMapBegin() - for _i928 in xrange(_size924): - _key929 = iprot.readString() - _val930 = iprot.readString() - self.part_vals[_key929] = _val930 + (_ktype939, _vtype940, _size938 ) = iprot.readMapBegin() + for _i942 in xrange(_size938): + _key943 = iprot.readString() + _val944 = iprot.readString() + self.part_vals[_key943] = _val944 iprot.readMapEnd() else: iprot.skip(ftype) @@ -23944,9 +24012,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 kiter931,viter932 in self.part_vals.items(): - oprot.writeString(kiter931) - oprot.writeString(viter932) + for kiter945,viter946 in self.part_vals.items(): + oprot.writeString(kiter945) + oprot.writeString(viter946) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -24160,11 +24228,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype934, _vtype935, _size933 ) = iprot.readMapBegin() - for _i937 in xrange(_size933): - _key938 = iprot.readString() - _val939 = iprot.readString() - self.part_vals[_key938] = _val939 + (_ktype948, _vtype949, _size947 ) = iprot.readMapBegin() + for _i951 in xrange(_size947): + _key952 = iprot.readString() + _val953 = iprot.readString() + self.part_vals[_key952] = _val953 iprot.readMapEnd() else: iprot.skip(ftype) @@ -24194,9 +24262,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 kiter940,viter941 in self.part_vals.items(): - oprot.writeString(kiter940) - oprot.writeString(viter941) + for kiter954,viter955 in self.part_vals.items(): + oprot.writeString(kiter954) + oprot.writeString(viter955) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -25251,11 +25319,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype945, _size942) = iprot.readListBegin() - for _i946 in xrange(_size942): - _elem947 = Index() - _elem947.read(iprot) - self.success.append(_elem947) + (_etype959, _size956) = iprot.readListBegin() + for _i960 in xrange(_size956): + _elem961 = Index() + _elem961.read(iprot) + self.success.append(_elem961) iprot.readListEnd() else: iprot.skip(ftype) @@ -25284,8 +25352,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 iter948 in self.success: - iter948.write(oprot) + for iter962 in self.success: + iter962.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25440,10 +25508,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype952, _size949) = iprot.readListBegin() - for _i953 in xrange(_size949): - _elem954 = iprot.readString() - self.success.append(_elem954) + (_etype966, _size963) = iprot.readListBegin() + for _i967 in xrange(_size963): + _elem968 = iprot.readString() + self.success.append(_elem968) iprot.readListEnd() else: iprot.skip(ftype) @@ -25466,8 +25534,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 iter955 in self.success: - oprot.writeString(iter955) + for iter969 in self.success: + oprot.writeString(iter969) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -27102,6 +27170,165 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class get_parts_and_aggr_col_stats_args: + """ + Attributes: + - request + """ + + thrift_spec = ( + None, # 0 + (1, TType.STRUCT, 'request', (AggregatePartitionsStatsRequest, AggregatePartitionsStatsRequest.thrift_spec), None, ), # 1 + ) + + def __init__(self, request=None,): + self.request = request + + 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.request = AggregatePartitionsStatsRequest() + self.request.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('get_parts_and_aggr_col_stats_args') + if self.request is not None: + oprot.writeFieldBegin('request', TType.STRUCT, 1) + self.request.write(oprot) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.request) + 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 get_parts_and_aggr_col_stats_result: + """ + Attributes: + - success + - o1 + - o2 + """ + + thrift_spec = ( + (0, TType.STRUCT, 'success', (AggregatePartitionsStatsResponse, AggregatePartitionsStatsResponse.thrift_spec), None, ), # 0 + (1, TType.STRUCT, 'o1', (NoSuchObjectException, NoSuchObjectException.thrift_spec), None, ), # 1 + (2, TType.STRUCT, 'o2', (MetaException, MetaException.thrift_spec), None, ), # 2 + ) + + def __init__(self, success=None, o1=None, o2=None,): + self.success = success + self.o1 = o1 + self.o2 = o2 + + 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 == 0: + if ftype == TType.STRUCT: + self.success = AggregatePartitionsStatsResponse() + self.success.read(iprot) + else: + iprot.skip(ftype) + elif fid == 1: + if ftype == TType.STRUCT: + self.o1 = NoSuchObjectException() + self.o1.read(iprot) + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.STRUCT: + self.o2 = MetaException() + self.o2.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('get_parts_and_aggr_col_stats_result') + if self.success is not None: + oprot.writeFieldBegin('success', TType.STRUCT, 0) + self.success.write(oprot) + oprot.writeFieldEnd() + if self.o1 is not None: + oprot.writeFieldBegin('o1', TType.STRUCT, 1) + self.o1.write(oprot) + oprot.writeFieldEnd() + if self.o2 is not None: + oprot.writeFieldBegin('o2', TType.STRUCT, 2) + self.o2.write(oprot) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + 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 set_aggr_stats_for_args: """ Attributes: @@ -28333,10 +28560,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype959, _size956) = iprot.readListBegin() - for _i960 in xrange(_size956): - _elem961 = iprot.readString() - self.success.append(_elem961) + (_etype973, _size970) = iprot.readListBegin() + for _i974 in xrange(_size970): + _elem975 = iprot.readString() + self.success.append(_elem975) iprot.readListEnd() else: iprot.skip(ftype) @@ -28359,8 +28586,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 iter962 in self.success: - oprot.writeString(iter962) + for iter976 in self.success: + oprot.writeString(iter976) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29048,10 +29275,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype966, _size963) = iprot.readListBegin() - for _i967 in xrange(_size963): - _elem968 = iprot.readString() - self.success.append(_elem968) + (_etype980, _size977) = iprot.readListBegin() + for _i981 in xrange(_size977): + _elem982 = iprot.readString() + self.success.append(_elem982) iprot.readListEnd() else: iprot.skip(ftype) @@ -29074,8 +29301,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 iter969 in self.success: - oprot.writeString(iter969) + for iter983 in self.success: + oprot.writeString(iter983) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29589,11 +29816,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype973, _size970) = iprot.readListBegin() - for _i974 in xrange(_size970): - _elem975 = Role() - _elem975.read(iprot) - self.success.append(_elem975) + (_etype987, _size984) = iprot.readListBegin() + for _i988 in xrange(_size984): + _elem989 = Role() + _elem989.read(iprot) + self.success.append(_elem989) iprot.readListEnd() else: iprot.skip(ftype) @@ -29616,8 +29843,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 iter976 in self.success: - iter976.write(oprot) + for iter990 in self.success: + iter990.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30126,10 +30353,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype980, _size977) = iprot.readListBegin() - for _i981 in xrange(_size977): - _elem982 = iprot.readString() - self.group_names.append(_elem982) + (_etype994, _size991) = iprot.readListBegin() + for _i995 in xrange(_size991): + _elem996 = iprot.readString() + self.group_names.append(_elem996) iprot.readListEnd() else: iprot.skip(ftype) @@ -30154,8 +30381,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 iter983 in self.group_names: - oprot.writeString(iter983) + for iter997 in self.group_names: + oprot.writeString(iter997) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -30382,11 +30609,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype987, _size984) = iprot.readListBegin() - for _i988 in xrange(_size984): - _elem989 = HiveObjectPrivilege() - _elem989.read(iprot) - self.success.append(_elem989) + (_etype1001, _size998) = iprot.readListBegin() + for _i1002 in xrange(_size998): + _elem1003 = HiveObjectPrivilege() + _elem1003.read(iprot) + self.success.append(_elem1003) iprot.readListEnd() else: iprot.skip(ftype) @@ -30409,8 +30636,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 iter990 in self.success: - iter990.write(oprot) + for iter1004 in self.success: + iter1004.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30908,10 +31135,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype994, _size991) = iprot.readListBegin() - for _i995 in xrange(_size991): - _elem996 = iprot.readString() - self.group_names.append(_elem996) + (_etype1008, _size1005) = iprot.readListBegin() + for _i1009 in xrange(_size1005): + _elem1010 = iprot.readString() + self.group_names.append(_elem1010) iprot.readListEnd() else: iprot.skip(ftype) @@ -30932,8 +31159,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 iter997 in self.group_names: - oprot.writeString(iter997) + for iter1011 in self.group_names: + oprot.writeString(iter1011) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -30988,10 +31215,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1001, _size998) = iprot.readListBegin() - for _i1002 in xrange(_size998): - _elem1003 = iprot.readString() - self.success.append(_elem1003) + (_etype1015, _size1012) = iprot.readListBegin() + for _i1016 in xrange(_size1012): + _elem1017 = iprot.readString() + self.success.append(_elem1017) iprot.readListEnd() else: iprot.skip(ftype) @@ -31014,8 +31241,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 iter1004 in self.success: - oprot.writeString(iter1004) + for iter1018 in self.success: + oprot.writeString(iter1018) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -31947,10 +32174,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1008, _size1005) = iprot.readListBegin() - for _i1009 in xrange(_size1005): - _elem1010 = iprot.readString() - self.success.append(_elem1010) + (_etype1022, _size1019) = iprot.readListBegin() + for _i1023 in xrange(_size1019): + _elem1024 = iprot.readString() + self.success.append(_elem1024) iprot.readListEnd() else: iprot.skip(ftype) @@ -31967,8 +32194,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 iter1011 in self.success: - oprot.writeString(iter1011) + for iter1025 in self.success: + oprot.writeString(iter1025) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -32495,10 +32722,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1015, _size1012) = iprot.readListBegin() - for _i1016 in xrange(_size1012): - _elem1017 = iprot.readString() - self.success.append(_elem1017) + (_etype1029, _size1026) = iprot.readListBegin() + for _i1030 in xrange(_size1026): + _elem1031 = iprot.readString() + self.success.append(_elem1031) iprot.readListEnd() else: iprot.skip(ftype) @@ -32515,8 +32742,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 iter1018 in self.success: - oprot.writeString(iter1018) + for iter1032 in self.success: + oprot.writeString(iter1032) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() diff --git a/metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py b/metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py index 8d88cd7..5966395 100644 --- a/metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py +++ b/metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py @@ -7153,6 +7153,218 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class AggregatePartitionsStatsRequest: + """ + Attributes: + - dbName + - tblName + - colNames + - expr + """ + + thrift_spec = ( + None, # 0 + (1, TType.STRING, 'dbName', None, None, ), # 1 + (2, TType.STRING, 'tblName', None, None, ), # 2 + (3, TType.LIST, 'colNames', (TType.STRING,None), None, ), # 3 + (4, TType.STRING, 'expr', None, None, ), # 4 + ) + + def __init__(self, dbName=None, tblName=None, colNames=None, expr=None,): + self.dbName = dbName + self.tblName = tblName + self.colNames = colNames + self.expr = expr + + 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.STRING: + self.dbName = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.STRING: + self.tblName = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 3: + if ftype == TType.LIST: + self.colNames = [] + (_etype367, _size364) = iprot.readListBegin() + for _i368 in xrange(_size364): + _elem369 = iprot.readString() + self.colNames.append(_elem369) + iprot.readListEnd() + else: + iprot.skip(ftype) + elif fid == 4: + if ftype == TType.STRING: + self.expr = iprot.readString() + 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('AggregatePartitionsStatsRequest') + if self.dbName is not None: + oprot.writeFieldBegin('dbName', TType.STRING, 1) + oprot.writeString(self.dbName) + oprot.writeFieldEnd() + if self.tblName is not None: + oprot.writeFieldBegin('tblName', TType.STRING, 2) + oprot.writeString(self.tblName) + oprot.writeFieldEnd() + if self.colNames is not None: + oprot.writeFieldBegin('colNames', TType.LIST, 3) + oprot.writeListBegin(TType.STRING, len(self.colNames)) + for iter370 in self.colNames: + oprot.writeString(iter370) + oprot.writeListEnd() + oprot.writeFieldEnd() + if self.expr is not None: + oprot.writeFieldBegin('expr', TType.STRING, 4) + oprot.writeString(self.expr) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + if self.dbName is None: + raise TProtocol.TProtocolException(message='Required field dbName is unset!') + if self.tblName is None: + raise TProtocol.TProtocolException(message='Required field tblName is unset!') + if self.colNames is None: + raise TProtocol.TProtocolException(message='Required field colNames is unset!') + if self.expr is None: + raise TProtocol.TProtocolException(message='Required field expr is unset!') + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.dbName) + value = (value * 31) ^ hash(self.tblName) + value = (value * 31) ^ hash(self.colNames) + value = (value * 31) ^ hash(self.expr) + 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 AggregatePartitionsStatsResponse: + """ + Attributes: + - partitions + - stats + """ + + thrift_spec = ( + None, # 0 + (1, TType.LIST, 'partitions', (TType.STRUCT,(Partition, Partition.thrift_spec)), None, ), # 1 + (2, TType.STRUCT, 'stats', (AggrStats, AggrStats.thrift_spec), None, ), # 2 + ) + + def __init__(self, partitions=None, stats=None,): + self.partitions = partitions + self.stats = stats + + 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.partitions = [] + (_etype374, _size371) = iprot.readListBegin() + for _i375 in xrange(_size371): + _elem376 = Partition() + _elem376.read(iprot) + self.partitions.append(_elem376) + iprot.readListEnd() + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.STRUCT: + self.stats = AggrStats() + self.stats.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('AggregatePartitionsStatsResponse') + if self.partitions is not None: + oprot.writeFieldBegin('partitions', TType.LIST, 1) + oprot.writeListBegin(TType.STRUCT, len(self.partitions)) + for iter377 in self.partitions: + iter377.write(oprot) + oprot.writeListEnd() + oprot.writeFieldEnd() + if self.stats is not None: + oprot.writeFieldBegin('stats', TType.STRUCT, 2) + self.stats.write(oprot) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + if self.partitions is None: + raise TProtocol.TProtocolException(message='Required field partitions is unset!') + if self.stats is None: + raise TProtocol.TProtocolException(message='Required field stats is unset!') + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.partitions) + value = (value * 31) ^ hash(self.stats) + 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 AddPartitionsResult: """ Attributes: @@ -7179,11 +7391,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitions = [] - (_etype367, _size364) = iprot.readListBegin() - for _i368 in xrange(_size364): - _elem369 = Partition() - _elem369.read(iprot) - self.partitions.append(_elem369) + (_etype381, _size378) = iprot.readListBegin() + for _i382 in xrange(_size378): + _elem383 = Partition() + _elem383.read(iprot) + self.partitions.append(_elem383) iprot.readListEnd() else: iprot.skip(ftype) @@ -7200,8 +7412,8 @@ def write(self, oprot): if self.partitions is not None: oprot.writeFieldBegin('partitions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.partitions)) - for iter370 in self.partitions: - iter370.write(oprot) + for iter384 in self.partitions: + iter384.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -7275,11 +7487,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.parts = [] - (_etype374, _size371) = iprot.readListBegin() - for _i375 in xrange(_size371): - _elem376 = Partition() - _elem376.read(iprot) - self.parts.append(_elem376) + (_etype388, _size385) = iprot.readListBegin() + for _i389 in xrange(_size385): + _elem390 = Partition() + _elem390.read(iprot) + self.parts.append(_elem390) iprot.readListEnd() else: iprot.skip(ftype) @@ -7314,8 +7526,8 @@ def write(self, oprot): if self.parts is not None: oprot.writeFieldBegin('parts', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.parts)) - for iter377 in self.parts: - iter377.write(oprot) + for iter391 in self.parts: + iter391.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.ifNotExists is not None: @@ -7387,11 +7599,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitions = [] - (_etype381, _size378) = iprot.readListBegin() - for _i382 in xrange(_size378): - _elem383 = Partition() - _elem383.read(iprot) - self.partitions.append(_elem383) + (_etype395, _size392) = iprot.readListBegin() + for _i396 in xrange(_size392): + _elem397 = Partition() + _elem397.read(iprot) + self.partitions.append(_elem397) iprot.readListEnd() else: iprot.skip(ftype) @@ -7408,8 +7620,8 @@ def write(self, oprot): if self.partitions is not None: oprot.writeFieldBegin('partitions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.partitions)) - for iter384 in self.partitions: - iter384.write(oprot) + for iter398 in self.partitions: + iter398.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -7544,21 +7756,21 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.names = [] - (_etype388, _size385) = iprot.readListBegin() - for _i389 in xrange(_size385): - _elem390 = iprot.readString() - self.names.append(_elem390) + (_etype402, _size399) = iprot.readListBegin() + for _i403 in xrange(_size399): + _elem404 = iprot.readString() + self.names.append(_elem404) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.exprs = [] - (_etype394, _size391) = iprot.readListBegin() - for _i395 in xrange(_size391): - _elem396 = DropPartitionsExpr() - _elem396.read(iprot) - self.exprs.append(_elem396) + (_etype408, _size405) = iprot.readListBegin() + for _i409 in xrange(_size405): + _elem410 = DropPartitionsExpr() + _elem410.read(iprot) + self.exprs.append(_elem410) iprot.readListEnd() else: iprot.skip(ftype) @@ -7575,15 +7787,15 @@ def write(self, oprot): if self.names is not None: oprot.writeFieldBegin('names', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.names)) - for iter397 in self.names: - oprot.writeString(iter397) + for iter411 in self.names: + oprot.writeString(iter411) oprot.writeListEnd() oprot.writeFieldEnd() if self.exprs is not None: oprot.writeFieldBegin('exprs', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.exprs)) - for iter398 in self.exprs: - iter398.write(oprot) + for iter412 in self.exprs: + iter412.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -7934,11 +8146,11 @@ def read(self, iprot): elif fid == 8: if ftype == TType.LIST: self.resourceUris = [] - (_etype402, _size399) = iprot.readListBegin() - for _i403 in xrange(_size399): - _elem404 = ResourceUri() - _elem404.read(iprot) - self.resourceUris.append(_elem404) + (_etype416, _size413) = iprot.readListBegin() + for _i417 in xrange(_size413): + _elem418 = ResourceUri() + _elem418.read(iprot) + self.resourceUris.append(_elem418) iprot.readListEnd() else: iprot.skip(ftype) @@ -7983,8 +8195,8 @@ def write(self, oprot): if self.resourceUris is not None: oprot.writeFieldBegin('resourceUris', TType.LIST, 8) oprot.writeListBegin(TType.STRUCT, len(self.resourceUris)) - for iter405 in self.resourceUris: - iter405.write(oprot) + for iter419 in self.resourceUris: + iter419.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -8202,11 +8414,11 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.open_txns = [] - (_etype409, _size406) = iprot.readListBegin() - for _i410 in xrange(_size406): - _elem411 = TxnInfo() - _elem411.read(iprot) - self.open_txns.append(_elem411) + (_etype423, _size420) = iprot.readListBegin() + for _i424 in xrange(_size420): + _elem425 = TxnInfo() + _elem425.read(iprot) + self.open_txns.append(_elem425) iprot.readListEnd() else: iprot.skip(ftype) @@ -8227,8 +8439,8 @@ def write(self, oprot): if self.open_txns is not None: oprot.writeFieldBegin('open_txns', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.open_txns)) - for iter412 in self.open_txns: - iter412.write(oprot) + for iter426 in self.open_txns: + iter426.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -8293,10 +8505,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.SET: self.open_txns = set() - (_etype416, _size413) = iprot.readSetBegin() - for _i417 in xrange(_size413): - _elem418 = iprot.readI64() - self.open_txns.add(_elem418) + (_etype430, _size427) = iprot.readSetBegin() + for _i431 in xrange(_size427): + _elem432 = iprot.readI64() + self.open_txns.add(_elem432) iprot.readSetEnd() else: iprot.skip(ftype) @@ -8317,8 +8529,8 @@ def write(self, oprot): if self.open_txns is not None: oprot.writeFieldBegin('open_txns', TType.SET, 2) oprot.writeSetBegin(TType.I64, len(self.open_txns)) - for iter419 in self.open_txns: - oprot.writeI64(iter419) + for iter433 in self.open_txns: + oprot.writeI64(iter433) oprot.writeSetEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -8485,10 +8697,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txn_ids = [] - (_etype423, _size420) = iprot.readListBegin() - for _i424 in xrange(_size420): - _elem425 = iprot.readI64() - self.txn_ids.append(_elem425) + (_etype437, _size434) = iprot.readListBegin() + for _i438 in xrange(_size434): + _elem439 = iprot.readI64() + self.txn_ids.append(_elem439) iprot.readListEnd() else: iprot.skip(ftype) @@ -8505,8 +8717,8 @@ def write(self, oprot): if self.txn_ids is not None: oprot.writeFieldBegin('txn_ids', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.txn_ids)) - for iter426 in self.txn_ids: - oprot.writeI64(iter426) + for iter440 in self.txn_ids: + oprot.writeI64(iter440) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -8627,10 +8839,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txn_ids = [] - (_etype430, _size427) = iprot.readListBegin() - for _i431 in xrange(_size427): - _elem432 = iprot.readI64() - self.txn_ids.append(_elem432) + (_etype444, _size441) = iprot.readListBegin() + for _i445 in xrange(_size441): + _elem446 = iprot.readI64() + self.txn_ids.append(_elem446) iprot.readListEnd() else: iprot.skip(ftype) @@ -8647,8 +8859,8 @@ def write(self, oprot): if self.txn_ids is not None: oprot.writeFieldBegin('txn_ids', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.txn_ids)) - for iter433 in self.txn_ids: - oprot.writeI64(iter433) + for iter447 in self.txn_ids: + oprot.writeI64(iter447) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -8930,11 +9142,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.component = [] - (_etype437, _size434) = iprot.readListBegin() - for _i438 in xrange(_size434): - _elem439 = LockComponent() - _elem439.read(iprot) - self.component.append(_elem439) + (_etype451, _size448) = iprot.readListBegin() + for _i452 in xrange(_size448): + _elem453 = LockComponent() + _elem453.read(iprot) + self.component.append(_elem453) iprot.readListEnd() else: iprot.skip(ftype) @@ -8971,8 +9183,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 iter440 in self.component: - iter440.write(oprot) + for iter454 in self.component: + iter454.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.txnid is not None: @@ -9670,11 +9882,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.locks = [] - (_etype444, _size441) = iprot.readListBegin() - for _i445 in xrange(_size441): - _elem446 = ShowLocksResponseElement() - _elem446.read(iprot) - self.locks.append(_elem446) + (_etype458, _size455) = iprot.readListBegin() + for _i459 in xrange(_size455): + _elem460 = ShowLocksResponseElement() + _elem460.read(iprot) + self.locks.append(_elem460) iprot.readListEnd() else: iprot.skip(ftype) @@ -9691,8 +9903,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 iter447 in self.locks: - iter447.write(oprot) + for iter461 in self.locks: + iter461.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -9907,20 +10119,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.aborted = set() - (_etype451, _size448) = iprot.readSetBegin() - for _i452 in xrange(_size448): - _elem453 = iprot.readI64() - self.aborted.add(_elem453) + (_etype465, _size462) = iprot.readSetBegin() + for _i466 in xrange(_size462): + _elem467 = iprot.readI64() + self.aborted.add(_elem467) iprot.readSetEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.SET: self.nosuch = set() - (_etype457, _size454) = iprot.readSetBegin() - for _i458 in xrange(_size454): - _elem459 = iprot.readI64() - self.nosuch.add(_elem459) + (_etype471, _size468) = iprot.readSetBegin() + for _i472 in xrange(_size468): + _elem473 = iprot.readI64() + self.nosuch.add(_elem473) iprot.readSetEnd() else: iprot.skip(ftype) @@ -9937,15 +10149,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 iter460 in self.aborted: - oprot.writeI64(iter460) + for iter474 in self.aborted: + oprot.writeI64(iter474) oprot.writeSetEnd() oprot.writeFieldEnd() if self.nosuch is not None: oprot.writeFieldBegin('nosuch', TType.SET, 2) oprot.writeSetBegin(TType.I64, len(self.nosuch)) - for iter461 in self.nosuch: - oprot.writeI64(iter461) + for iter475 in self.nosuch: + oprot.writeI64(iter475) oprot.writeSetEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10042,11 +10254,11 @@ def read(self, iprot): elif fid == 6: if ftype == TType.MAP: self.properties = {} - (_ktype463, _vtype464, _size462 ) = iprot.readMapBegin() - for _i466 in xrange(_size462): - _key467 = iprot.readString() - _val468 = iprot.readString() - self.properties[_key467] = _val468 + (_ktype477, _vtype478, _size476 ) = iprot.readMapBegin() + for _i480 in xrange(_size476): + _key481 = iprot.readString() + _val482 = iprot.readString() + self.properties[_key481] = _val482 iprot.readMapEnd() else: iprot.skip(ftype) @@ -10083,9 +10295,9 @@ def write(self, oprot): if self.properties is not None: oprot.writeFieldBegin('properties', TType.MAP, 6) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.properties)) - for kiter469,viter470 in self.properties.items(): - oprot.writeString(kiter469) - oprot.writeString(viter470) + for kiter483,viter484 in self.properties.items(): + oprot.writeString(kiter483) + oprot.writeString(viter484) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10410,11 +10622,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.compacts = [] - (_etype474, _size471) = iprot.readListBegin() - for _i475 in xrange(_size471): - _elem476 = ShowCompactResponseElement() - _elem476.read(iprot) - self.compacts.append(_elem476) + (_etype488, _size485) = iprot.readListBegin() + for _i489 in xrange(_size485): + _elem490 = ShowCompactResponseElement() + _elem490.read(iprot) + self.compacts.append(_elem490) iprot.readListEnd() else: iprot.skip(ftype) @@ -10431,8 +10643,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 iter477 in self.compacts: - iter477.write(oprot) + for iter491 in self.compacts: + iter491.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10513,10 +10725,10 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.partitionnames = [] - (_etype481, _size478) = iprot.readListBegin() - for _i482 in xrange(_size478): - _elem483 = iprot.readString() - self.partitionnames.append(_elem483) + (_etype495, _size492) = iprot.readListBegin() + for _i496 in xrange(_size492): + _elem497 = iprot.readString() + self.partitionnames.append(_elem497) iprot.readListEnd() else: iprot.skip(ftype) @@ -10550,8 +10762,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 iter484 in self.partitionnames: - oprot.writeString(iter484) + for iter498 in self.partitionnames: + oprot.writeString(iter498) oprot.writeListEnd() oprot.writeFieldEnd() if self.operationType is not None: @@ -10837,11 +11049,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.events = [] - (_etype488, _size485) = iprot.readListBegin() - for _i489 in xrange(_size485): - _elem490 = NotificationEvent() - _elem490.read(iprot) - self.events.append(_elem490) + (_etype502, _size499) = iprot.readListBegin() + for _i503 in xrange(_size499): + _elem504 = NotificationEvent() + _elem504.read(iprot) + self.events.append(_elem504) iprot.readListEnd() else: iprot.skip(ftype) @@ -10858,8 +11070,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 iter491 in self.events: - iter491.write(oprot) + for iter505 in self.events: + iter505.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10980,10 +11192,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.filesAdded = [] - (_etype495, _size492) = iprot.readListBegin() - for _i496 in xrange(_size492): - _elem497 = iprot.readString() - self.filesAdded.append(_elem497) + (_etype509, _size506) = iprot.readListBegin() + for _i510 in xrange(_size506): + _elem511 = iprot.readString() + self.filesAdded.append(_elem511) iprot.readListEnd() else: iprot.skip(ftype) @@ -11000,8 +11212,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 iter498 in self.filesAdded: - oprot.writeString(iter498) + for iter512 in self.filesAdded: + oprot.writeString(iter512) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11154,10 +11366,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionVals = [] - (_etype502, _size499) = iprot.readListBegin() - for _i503 in xrange(_size499): - _elem504 = iprot.readString() - self.partitionVals.append(_elem504) + (_etype516, _size513) = iprot.readListBegin() + for _i517 in xrange(_size513): + _elem518 = iprot.readString() + self.partitionVals.append(_elem518) iprot.readListEnd() else: iprot.skip(ftype) @@ -11190,8 +11402,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 iter505 in self.partitionVals: - oprot.writeString(iter505) + for iter519 in self.partitionVals: + oprot.writeString(iter519) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11378,12 +11590,12 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype507, _vtype508, _size506 ) = iprot.readMapBegin() - for _i510 in xrange(_size506): - _key511 = iprot.readI64() - _val512 = MetadataPpdResult() - _val512.read(iprot) - self.metadata[_key511] = _val512 + (_ktype521, _vtype522, _size520 ) = iprot.readMapBegin() + for _i524 in xrange(_size520): + _key525 = iprot.readI64() + _val526 = MetadataPpdResult() + _val526.read(iprot) + self.metadata[_key525] = _val526 iprot.readMapEnd() else: iprot.skip(ftype) @@ -11405,9 +11617,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 kiter513,viter514 in self.metadata.items(): - oprot.writeI64(kiter513) - viter514.write(oprot) + for kiter527,viter528 in self.metadata.items(): + oprot.writeI64(kiter527) + viter528.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -11477,10 +11689,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype518, _size515) = iprot.readListBegin() - for _i519 in xrange(_size515): - _elem520 = iprot.readI64() - self.fileIds.append(_elem520) + (_etype532, _size529) = iprot.readListBegin() + for _i533 in xrange(_size529): + _elem534 = iprot.readI64() + self.fileIds.append(_elem534) iprot.readListEnd() else: iprot.skip(ftype) @@ -11512,8 +11724,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 iter521 in self.fileIds: - oprot.writeI64(iter521) + for iter535 in self.fileIds: + oprot.writeI64(iter535) oprot.writeListEnd() oprot.writeFieldEnd() if self.expr is not None: @@ -11587,11 +11799,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype523, _vtype524, _size522 ) = iprot.readMapBegin() - for _i526 in xrange(_size522): - _key527 = iprot.readI64() - _val528 = iprot.readString() - self.metadata[_key527] = _val528 + (_ktype537, _vtype538, _size536 ) = iprot.readMapBegin() + for _i540 in xrange(_size536): + _key541 = iprot.readI64() + _val542 = iprot.readString() + self.metadata[_key541] = _val542 iprot.readMapEnd() else: iprot.skip(ftype) @@ -11613,9 +11825,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 kiter529,viter530 in self.metadata.items(): - oprot.writeI64(kiter529) - oprot.writeString(viter530) + for kiter543,viter544 in self.metadata.items(): + oprot.writeI64(kiter543) + oprot.writeString(viter544) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -11676,10 +11888,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype534, _size531) = iprot.readListBegin() - for _i535 in xrange(_size531): - _elem536 = iprot.readI64() - self.fileIds.append(_elem536) + (_etype548, _size545) = iprot.readListBegin() + for _i549 in xrange(_size545): + _elem550 = iprot.readI64() + self.fileIds.append(_elem550) iprot.readListEnd() else: iprot.skip(ftype) @@ -11696,8 +11908,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 iter537 in self.fileIds: - oprot.writeI64(iter537) + for iter551 in self.fileIds: + oprot.writeI64(iter551) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11803,20 +12015,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype541, _size538) = iprot.readListBegin() - for _i542 in xrange(_size538): - _elem543 = iprot.readI64() - self.fileIds.append(_elem543) + (_etype555, _size552) = iprot.readListBegin() + for _i556 in xrange(_size552): + _elem557 = iprot.readI64() + self.fileIds.append(_elem557) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.metadata = [] - (_etype547, _size544) = iprot.readListBegin() - for _i548 in xrange(_size544): - _elem549 = iprot.readString() - self.metadata.append(_elem549) + (_etype561, _size558) = iprot.readListBegin() + for _i562 in xrange(_size558): + _elem563 = iprot.readString() + self.metadata.append(_elem563) iprot.readListEnd() else: iprot.skip(ftype) @@ -11838,15 +12050,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 iter550 in self.fileIds: - oprot.writeI64(iter550) + for iter564 in self.fileIds: + oprot.writeI64(iter564) oprot.writeListEnd() oprot.writeFieldEnd() if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.metadata)) - for iter551 in self.metadata: - oprot.writeString(iter551) + for iter565 in self.metadata: + oprot.writeString(iter565) oprot.writeListEnd() oprot.writeFieldEnd() if self.type is not None: @@ -11954,10 +12166,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype555, _size552) = iprot.readListBegin() - for _i556 in xrange(_size552): - _elem557 = iprot.readI64() - self.fileIds.append(_elem557) + (_etype569, _size566) = iprot.readListBegin() + for _i570 in xrange(_size566): + _elem571 = iprot.readI64() + self.fileIds.append(_elem571) iprot.readListEnd() else: iprot.skip(ftype) @@ -11974,8 +12186,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 iter558 in self.fileIds: - oprot.writeI64(iter558) + for iter572 in self.fileIds: + oprot.writeI64(iter572) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12204,11 +12416,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.functions = [] - (_etype562, _size559) = iprot.readListBegin() - for _i563 in xrange(_size559): - _elem564 = Function() - _elem564.read(iprot) - self.functions.append(_elem564) + (_etype576, _size573) = iprot.readListBegin() + for _i577 in xrange(_size573): + _elem578 = Function() + _elem578.read(iprot) + self.functions.append(_elem578) iprot.readListEnd() else: iprot.skip(ftype) @@ -12225,8 +12437,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 iter565 in self.functions: - iter565.write(oprot) + for iter579 in self.functions: + iter579.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() diff --git a/metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb b/metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb index 0964cd8..60d4994 100644 --- a/metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb +++ b/metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb @@ -1586,6 +1586,52 @@ class PartitionsStatsRequest ::Thrift::Struct.generate_accessors self end +class AggregatePartitionsStatsRequest + include ::Thrift::Struct, ::Thrift::Struct_Union + DBNAME = 1 + TBLNAME = 2 + COLNAMES = 3 + EXPR = 4 + + FIELDS = { + DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'}, + TBLNAME => {:type => ::Thrift::Types::STRING, :name => 'tblName'}, + COLNAMES => {:type => ::Thrift::Types::LIST, :name => 'colNames', :element => {:type => ::Thrift::Types::STRING}}, + EXPR => {:type => ::Thrift::Types::STRING, :name => 'expr', :binary => true} + } + + def struct_fields; FIELDS; end + + def validate + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field dbName is unset!') unless @dbName + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field tblName is unset!') unless @tblName + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field colNames is unset!') unless @colNames + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field expr is unset!') unless @expr + end + + ::Thrift::Struct.generate_accessors self +end + +class AggregatePartitionsStatsResponse + include ::Thrift::Struct, ::Thrift::Struct_Union + PARTITIONS = 1 + STATS = 2 + + FIELDS = { + PARTITIONS => {:type => ::Thrift::Types::LIST, :name => 'partitions', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Partition}}, + STATS => {:type => ::Thrift::Types::STRUCT, :name => 'stats', :class => ::AggrStats} + } + + def struct_fields; FIELDS; end + + def validate + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field partitions is unset!') unless @partitions + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field stats is unset!') unless @stats + end + + ::Thrift::Struct.generate_accessors self +end + class AddPartitionsResult include ::Thrift::Struct, ::Thrift::Struct_Union PARTITIONS = 1 diff --git a/metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb b/metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb index 51f65c6..87603fb 100644 --- a/metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb +++ b/metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb @@ -1551,6 +1551,23 @@ module ThriftHiveMetastore raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_aggr_stats_for failed: unknown result') end + def get_parts_and_aggr_col_stats(request) + send_get_parts_and_aggr_col_stats(request) + return recv_get_parts_and_aggr_col_stats() + end + + def send_get_parts_and_aggr_col_stats(request) + send_message('get_parts_and_aggr_col_stats', Get_parts_and_aggr_col_stats_args, :request => request) + end + + def recv_get_parts_and_aggr_col_stats() + result = receive_message(Get_parts_and_aggr_col_stats_result) + return result.success unless result.success.nil? + raise result.o1 unless result.o1.nil? + raise result.o2 unless result.o2.nil? + raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_parts_and_aggr_col_stats failed: unknown result') + end + def set_aggr_stats_for(request) send_set_aggr_stats_for(request) return recv_set_aggr_stats_for() @@ -3721,6 +3738,19 @@ module ThriftHiveMetastore write_result(result, oprot, 'get_aggr_stats_for', seqid) end + def process_get_parts_and_aggr_col_stats(seqid, iprot, oprot) + args = read_args(iprot, Get_parts_and_aggr_col_stats_args) + result = Get_parts_and_aggr_col_stats_result.new() + begin + result.success = @handler.get_parts_and_aggr_col_stats(args.request) + rescue ::NoSuchObjectException => o1 + result.o1 = o1 + rescue ::MetaException => o2 + result.o2 = o2 + end + write_result(result, oprot, 'get_parts_and_aggr_col_stats', seqid) + end + def process_set_aggr_stats_for(seqid, iprot, oprot) args = read_args(iprot, Set_aggr_stats_for_args) result = Set_aggr_stats_for_result.new() @@ -7885,6 +7915,42 @@ module ThriftHiveMetastore ::Thrift::Struct.generate_accessors self end + class Get_parts_and_aggr_col_stats_args + include ::Thrift::Struct, ::Thrift::Struct_Union + REQUEST = 1 + + FIELDS = { + REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::AggregatePartitionsStatsRequest} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + + class Get_parts_and_aggr_col_stats_result + include ::Thrift::Struct, ::Thrift::Struct_Union + SUCCESS = 0 + O1 = 1 + O2 = 2 + + FIELDS = { + SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::AggregatePartitionsStatsResponse}, + O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::NoSuchObjectException}, + O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::MetaException} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + class Set_aggr_stats_for_args include ::Thrift::Struct, ::Thrift::Struct_Union REQUEST = 1 diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java index c945bf7..7dc0506 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java @@ -3185,6 +3185,25 @@ public Partition get_partition_with_auth(final String db_name, } @Override + public AggregatePartitionsStatsResponse get_parts_and_aggr_col_stats(AggregatePartitionsStatsRequest req) throws + NoSuchObjectException, MetaException, TException { + String dbName = req.getDbName(), tblName = req.getTblName(); + startTableFunction("get_parts_and_aggr_col_stats", dbName, tblName); + fireReadTablePreEvent(dbName, tblName); + AggregatePartitionsStatsResponse ret = null; + Exception ex = null; + try { + ret = getMS().getPartitionsAndAggregateColStats(dbName, tblName, + req.getColNames(), req.getExpr()); + } catch (Exception e) { + ex = e; + rethrowException(e); + } finally { + endFunction("get_partitions_by_expr", ret != null, ex, tblName); + } + return ret; + } + @Override public List get_partitions(final String db_name, final String tbl_name, final short max_parts) throws NoSuchObjectException, MetaException { startTableFunction("get_partitions", db_name, tbl_name); diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java index 44d73d4..417bc2b 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java @@ -26,104 +26,7 @@ import org.apache.hadoop.hive.conf.HiveConf; 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.AddForeignKeyRequest; -import org.apache.hadoop.hive.metastore.api.AddPartitionsRequest; -import org.apache.hadoop.hive.metastore.api.AddPartitionsResult; -import org.apache.hadoop.hive.metastore.api.AddPrimaryKeyRequest; -import org.apache.hadoop.hive.metastore.api.AggrStats; -import org.apache.hadoop.hive.metastore.api.AlreadyExistsException; -import org.apache.hadoop.hive.metastore.api.CacheFileMetadataRequest; -import org.apache.hadoop.hive.metastore.api.CacheFileMetadataResult; -import org.apache.hadoop.hive.metastore.api.CheckLockRequest; -import org.apache.hadoop.hive.metastore.api.ClearFileMetadataRequest; -import org.apache.hadoop.hive.metastore.api.ColumnStatistics; -import org.apache.hadoop.hive.metastore.api.ColumnStatisticsObj; -import org.apache.hadoop.hive.metastore.api.CommitTxnRequest; -import org.apache.hadoop.hive.metastore.api.CompactionRequest; -import org.apache.hadoop.hive.metastore.api.CompactionType; -import org.apache.hadoop.hive.metastore.api.ConfigValSecurityException; -import org.apache.hadoop.hive.metastore.api.CurrentNotificationEventId; -import org.apache.hadoop.hive.metastore.api.DataOperationType; -import org.apache.hadoop.hive.metastore.api.Database; -import org.apache.hadoop.hive.metastore.api.DropConstraintRequest; -import org.apache.hadoop.hive.metastore.api.DropPartitionsExpr; -import org.apache.hadoop.hive.metastore.api.DropPartitionsRequest; -import org.apache.hadoop.hive.metastore.api.EnvironmentContext; -import org.apache.hadoop.hive.metastore.api.FieldSchema; -import org.apache.hadoop.hive.metastore.api.FireEventRequest; -import org.apache.hadoop.hive.metastore.api.FireEventResponse; -import org.apache.hadoop.hive.metastore.api.ForeignKeysRequest; -import org.apache.hadoop.hive.metastore.api.Function; -import org.apache.hadoop.hive.metastore.api.GetAllFunctionsResponse; -import org.apache.hadoop.hive.metastore.api.GetFileMetadataByExprRequest; -import org.apache.hadoop.hive.metastore.api.GetFileMetadataByExprResult; -import org.apache.hadoop.hive.metastore.api.GetFileMetadataRequest; -import org.apache.hadoop.hive.metastore.api.GetFileMetadataResult; -import org.apache.hadoop.hive.metastore.api.GetOpenTxnsInfoResponse; -import org.apache.hadoop.hive.metastore.api.GetPrincipalsInRoleRequest; -import org.apache.hadoop.hive.metastore.api.GetPrincipalsInRoleResponse; -import org.apache.hadoop.hive.metastore.api.GetRoleGrantsForPrincipalRequest; -import org.apache.hadoop.hive.metastore.api.GetRoleGrantsForPrincipalResponse; -import org.apache.hadoop.hive.metastore.api.GrantRevokePrivilegeRequest; -import org.apache.hadoop.hive.metastore.api.GrantRevokePrivilegeResponse; -import org.apache.hadoop.hive.metastore.api.GrantRevokeRoleRequest; -import org.apache.hadoop.hive.metastore.api.GrantRevokeRoleResponse; -import org.apache.hadoop.hive.metastore.api.GrantRevokeType; -import org.apache.hadoop.hive.metastore.api.HeartbeatRequest; -import org.apache.hadoop.hive.metastore.api.HeartbeatTxnRangeRequest; -import org.apache.hadoop.hive.metastore.api.HeartbeatTxnRangeResponse; -import org.apache.hadoop.hive.metastore.api.HiveObjectPrivilege; -import org.apache.hadoop.hive.metastore.api.HiveObjectRef; -import org.apache.hadoop.hive.metastore.api.Index; -import org.apache.hadoop.hive.metastore.api.InvalidInputException; -import org.apache.hadoop.hive.metastore.api.InvalidObjectException; -import org.apache.hadoop.hive.metastore.api.InvalidOperationException; -import org.apache.hadoop.hive.metastore.api.InvalidPartitionException; -import org.apache.hadoop.hive.metastore.api.LockRequest; -import org.apache.hadoop.hive.metastore.api.LockResponse; -import org.apache.hadoop.hive.metastore.api.MetaException; -import org.apache.hadoop.hive.metastore.api.MetadataPpdResult; -import org.apache.hadoop.hive.metastore.api.NoSuchLockException; -import org.apache.hadoop.hive.metastore.api.NoSuchObjectException; -import org.apache.hadoop.hive.metastore.api.NoSuchTxnException; -import org.apache.hadoop.hive.metastore.api.NotificationEvent; -import org.apache.hadoop.hive.metastore.api.NotificationEventRequest; -import org.apache.hadoop.hive.metastore.api.NotificationEventResponse; -import org.apache.hadoop.hive.metastore.api.OpenTxnRequest; -import org.apache.hadoop.hive.metastore.api.OpenTxnsResponse; -import org.apache.hadoop.hive.metastore.api.Partition; -import org.apache.hadoop.hive.metastore.api.PartitionEventType; -import org.apache.hadoop.hive.metastore.api.PartitionsByExprRequest; -import org.apache.hadoop.hive.metastore.api.PartitionsByExprResult; -import org.apache.hadoop.hive.metastore.api.PartitionsStatsRequest; -import org.apache.hadoop.hive.metastore.api.PrimaryKeysRequest; -import org.apache.hadoop.hive.metastore.api.PrincipalPrivilegeSet; -import org.apache.hadoop.hive.metastore.api.PrincipalType; -import org.apache.hadoop.hive.metastore.api.PrivilegeBag; -import org.apache.hadoop.hive.metastore.api.PutFileMetadataRequest; -import org.apache.hadoop.hive.metastore.api.RequestPartsSpec; -import org.apache.hadoop.hive.metastore.api.Role; -import org.apache.hadoop.hive.metastore.api.SQLForeignKey; -import org.apache.hadoop.hive.metastore.api.SQLPrimaryKey; -import org.apache.hadoop.hive.metastore.api.SetPartitionsStatsRequest; -import org.apache.hadoop.hive.metastore.api.ShowCompactRequest; -import org.apache.hadoop.hive.metastore.api.ShowCompactResponse; -import org.apache.hadoop.hive.metastore.api.ShowLocksRequest; -import org.apache.hadoop.hive.metastore.api.ShowLocksResponse; -import org.apache.hadoop.hive.metastore.api.Table; -import org.apache.hadoop.hive.metastore.api.TableMeta; -import org.apache.hadoop.hive.metastore.api.TableStatsRequest; -import org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore; -import org.apache.hadoop.hive.metastore.api.TxnAbortedException; -import org.apache.hadoop.hive.metastore.api.TxnOpenException; -import org.apache.hadoop.hive.metastore.api.Type; -import org.apache.hadoop.hive.metastore.api.UnknownDBException; -import org.apache.hadoop.hive.metastore.api.UnknownPartitionException; -import org.apache.hadoop.hive.metastore.api.UnknownTableException; -import org.apache.hadoop.hive.metastore.api.UnlockRequest; +import org.apache.hadoop.hive.metastore.api.*; import org.apache.hadoop.hive.metastore.partition.spec.PartitionSpecProxy; import org.apache.hadoop.hive.metastore.txn.TxnUtils; import org.apache.hadoop.hive.shims.ShimLoader; @@ -2478,4 +2381,12 @@ public boolean cacheFileMetadata( CacheFileMetadataResult result = client.cache_file_metadata(req); return result.isIsSupported(); } + + @Override + public AggregatePartitionsStatsResponse getPartitionsAndAggregateColumnStats(String dbName, + String tblName, List colNames, byte[] prunerExpr) throws NoSuchObjectException, MetaException, TException { + AggregatePartitionsStatsRequest req = new AggregatePartitionsStatsRequest(dbName, tblName, colNames, ByteBuffer.wrap(prunerExpr)); + AggregatePartitionsStatsResponse res = client.get_parts_and_aggr_col_stats(req); + return res; + } } diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java b/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java index b6fe502..fd56179 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java @@ -25,7 +25,9 @@ import org.apache.hadoop.hive.common.classification.InterfaceAudience.Public; import org.apache.hadoop.hive.common.classification.InterfaceStability.Evolving; import org.apache.hadoop.hive.conf.HiveConf; +import org.apache.hadoop.hive.metastore.AggregateStatsCache.AggrColStats; import org.apache.hadoop.hive.metastore.api.AggrStats; +import org.apache.hadoop.hive.metastore.api.AggregatePartitionsStatsResponse; import org.apache.hadoop.hive.metastore.api.AlreadyExistsException; import org.apache.hadoop.hive.metastore.api.ColumnStatistics; import org.apache.hadoop.hive.metastore.api.ColumnStatisticsObj; @@ -1617,4 +1619,7 @@ void addPrimaryKey(List primaryKeyCols) throws void addForeignKey(List foreignKeyCols) throws MetaException, NoSuchObjectException, TException; + + AggregatePartitionsStatsResponse getPartitionsAndAggregateColumnStats(String dbName, String tblName, + List colNames, byte[] prunerExpr) throws NoSuchObjectException, MetaException, TException; } diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java b/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java index 9c900af..5b1de9b 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java @@ -28,6 +28,7 @@ import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; +import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.TreeMap; @@ -37,12 +38,14 @@ import javax.jdo.Transaction; import javax.jdo.datastore.JDOConnection; +import org.apache.commons.lang.ArrayUtils; import org.apache.commons.lang.StringUtils; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.conf.HiveConf.ConfVars; import org.apache.hadoop.hive.metastore.AggregateStatsCache.AggrColStats; import org.apache.hadoop.hive.metastore.api.AggrStats; +import org.apache.hadoop.hive.metastore.api.AggregatePartitionsStatsResponse; import org.apache.hadoop.hive.metastore.api.ColumnStatistics; import org.apache.hadoop.hive.metastore.api.ColumnStatisticsData; import org.apache.hadoop.hive.metastore.api.ColumnStatisticsDesc; @@ -398,6 +401,26 @@ public boolean generateSqlFilterForPushdown( return result.filter != null; } + public AggregatePartitionsStatsResponse getPartitionsViaSqlFilterAndAggregateColStats( Table table, ExpressionTree tree, List colNames, HiveConf conf) throws MetaException { + AggregatePartitionsStatsResponse ret = new AggregatePartitionsStatsResponse(); + SqlFilterForPushdown filter = new SqlFilterForPushdown(); + String tblNameLcase = table.getTableName(); + String dbNameLcase = table.getDbName(); + if (tree != null && generateSqlFilterForPushdown(table, tree, filter)) { + ret.setPartitions(getPartitionsViaSqlFilter(filter, null)); + } else { + // We couldn't do SQL filter pushdown. Get names via normal means. + List partNames = new LinkedList(); + ret.setPartitions(getPartitionsViaSqlFilter(dbNameLcase, tblNameLcase, partNames)); + } + boolean useDensityFunctionForNDVEstimation = HiveConf.getBoolVar(conf, HiveConf.ConfVars.HIVE_METASTORE_STATS_NDV_DENSITY_FUNCTION); + List colStatsList = columnStatisticsObjForPartitionsBatch(dbNameLcase, + tblNameLcase, null, colNames, true, + useDensityFunctionForNDVEstimation); + ret.setStats(new AggrStats(colStatsList, ret.getPartitions().size())); + return ret; + } + /** * Gets all partitions of a table by using direct SQL queries. * @param dbName Metastore db name. @@ -494,7 +517,7 @@ private boolean isViewTable(String dbName, String tblName) throws MetaException // Get full objects. For Oracle/etc. do it in batches. List result = runBatched(sqlResult, new Batchable() { public List run(List input) throws MetaException { - return getPartitionsFromPartitionIds(dbNameLcase, tblNameLcase, isView, input); + return getPartitionsFromPartitionIds(dbNameLcase, tblNameLcase, isView, input, null, null); } }); @@ -502,19 +525,22 @@ private boolean isViewTable(String dbName, String tblName) throws MetaException return result; } - /** Should be called with the list short enough to not trip up Oracle/etc. */ + /** Should be called with the list short enough to not trip up Oracle/etc. + * @param sqlFilter + * @param params */ private List getPartitionsFromPartitionIds(String dbName, String tblName, - Boolean isView, List partIdList) throws MetaException { + Boolean isView, List partIdList, String sqlFilter, List params) throws MetaException { boolean doTrace = LOG.isDebugEnabled(); - int idStringWidth = (int)Math.ceil(Math.log10(partIdList.size())) + 1; // 1 for comma - int sbCapacity = partIdList.size() * idStringWidth; + int idStringWidth = partIdList == null ? 0: ((int)Math.ceil(Math.log10(partIdList.size())) + 1); // 1 for comma + int sbCapacity = partIdList == null ? 0 : (partIdList.size() * idStringWidth); // Prepare StringBuilder for "PART_ID in (...)" to use in future queries. - StringBuilder partSb = new StringBuilder(sbCapacity); - for (Object partitionId : partIdList) { - partSb.append(extractSqlLong(partitionId)).append(","); + StringBuilder partSb = partIdList == null ? new StringBuilder() : new StringBuilder(sbCapacity); + if (partIdList != null) { + for (Object partitionId : partIdList) { + partSb.append(extractSqlLong(partitionId)).append(","); + } } - String partIds = trimCommaList(partSb); - + String partIds = partIdList == null ? null : trimCommaList(partSb); // Get most of the fields for the IDs provided. // Assume db and table names are the same for all partition, as provided in arguments. String queryText = @@ -526,10 +552,12 @@ private boolean isViewTable(String dbName, String tblName) throws MetaException + "from \"PARTITIONS\"" + " left outer join \"SDS\" on \"PARTITIONS\".\"SD_ID\" = \"SDS\".\"SD_ID\" " + " left outer join \"SERDES\" on \"SDS\".\"SERDE_ID\" = \"SERDES\".\"SERDE_ID\" " - + "where \"PART_ID\" in (" + partIds + ") order by \"PART_NAME\" asc"; + + (partIds == null ? "" : (" where \"PART_ID\" in (" + partIds + ")")) + + (sqlFilter == null ? "" : (" where " + sqlFilter)) + + " order by \"PART_NAME\" asc"; long start = doTrace ? System.nanoTime() : 0; Query query = pm.newQuery("javax.jdo.query.SQL", queryText); - List sqlResult = executeWithArray(query, null, queryText); + List sqlResult = executeWithArray(query, params == null ? null : params.toArray(), queryText); long queryTime = doTrace ? System.nanoTime() : 0; Deadline.checkTimeout(); @@ -539,7 +567,7 @@ private boolean isViewTable(String dbName, String tblName) throws MetaException TreeMap serdes = new TreeMap(); TreeMap> colss = new TreeMap>(); // Keep order by name, consistent with JDO. - ArrayList orderedResult = new ArrayList(partIdList.size()); + ArrayList orderedResult = partIdList != null ? new ArrayList(partIdList.size()) : new ArrayList(); // Prepare StringBuilder-s for "in (...)" lists to use in one-to-many queries. StringBuilder sdSb = new StringBuilder(sbCapacity), serdeSb = new StringBuilder(sbCapacity); @@ -629,7 +657,9 @@ private boolean isViewTable(String dbName, String tblName) throws MetaException // Now get all the one-to-many things. Start with partitions. queryText = "select \"PART_ID\", \"PARAM_KEY\", \"PARAM_VALUE\" from \"PARTITION_PARAMS\"" - + " where \"PART_ID\" in (" + partIds + ") and \"PARAM_KEY\" is not null" + + (partIds == null ? " where " : (" where \"PART_ID\" in (" + partIds + ") and ")) + + (sqlFilter == null ? "" : (" where " + sqlFilter)) + + " \"PARAM_KEY\" is not null" + " order by \"PART_ID\" asc"; loopJoinOrderedResult(partitions, queryText, 0, new ApplyFunc() { @Override @@ -642,7 +672,9 @@ public void apply(Partition t, Object[] fields) { } queryText = "select \"PART_ID\", \"PART_KEY_VAL\" from \"PARTITION_KEY_VALS\"" - + " where \"PART_ID\" in (" + partIds + ") and \"INTEGER_IDX\" >= 0" + + (partIds == null ? " where " : (" where \"PART_ID\" in (" + partIds + ") and")) + + (sqlFilter == null ? "" : sqlFilter) + + " \"INTEGER_IDX\" >= 0" + " order by \"PART_ID\" asc, \"INTEGER_IDX\" asc"; loopJoinOrderedResult(partitions, queryText, 0, new ApplyFunc() { @Override @@ -1358,12 +1390,13 @@ private long partsFoundForPartitions(final String dbName, final String tableName // Extrapolation is not needed. if (areAllPartsFound) { queryText = commonPrefix + " and \"COLUMN_NAME\" in (" + makeParams(colNames.size()) + ")" - + " and \"PARTITION_NAME\" in (" + makeParams(partNames.size()) + ")" + + (partNames != null ? (" and \"PARTITION_NAME\" in (" + makeParams(partNames.size()) + ")") : "") + " group by \"COLUMN_NAME\", \"COLUMN_TYPE\""; start = doTrace ? System.nanoTime() : 0; query = pm.newQuery("javax.jdo.query.SQL", queryText); qResult = executeWithArray(query, prepareParams(dbName, tableName, partNames, colNames), queryText); + if (qResult == null) { query.closeAll(); return Lists.newArrayList(); @@ -1612,17 +1645,18 @@ private ColumnStatisticsObj prepareCSObjWithAdjustedNDV(Object[] row, int i, private Object[] prepareParams(String dbName, String tableName, List partNames, List colNames) throws MetaException { - Object[] params = new Object[colNames.size() + partNames.size() + 2]; + Object[] params = new Object[colNames.size() + (partNames == null ? 0 : partNames.size()) + 2]; int paramI = 0; params[paramI++] = dbName; params[paramI++] = tableName; for (String colName : colNames) { params[paramI++] = colName; } - for (String partName : partNames) { - params[paramI++] = partName; + if (partNames != null) { + for (String partName : partNames) { + params[paramI++] = partName; + } } - return params; } diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java b/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java index 5adfa02..77338d5 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java @@ -55,6 +55,7 @@ import javax.jdo.identity.IntIdentity; import com.google.common.collect.Maps; + import org.apache.commons.lang.ArrayUtils; import org.apache.hadoop.conf.Configurable; import org.apache.hadoop.conf.Configuration; @@ -71,6 +72,7 @@ import org.apache.hadoop.hive.conf.HiveConf.ConfVars; import org.apache.hadoop.hive.metastore.MetaStoreDirectSql.SqlFilterForPushdown; import org.apache.hadoop.hive.metastore.api.AggrStats; +import org.apache.hadoop.hive.metastore.api.AggregatePartitionsStatsResponse; import org.apache.hadoop.hive.metastore.api.ColumnStatistics; import org.apache.hadoop.hive.metastore.api.ColumnStatisticsDesc; import org.apache.hadoop.hive.metastore.api.ColumnStatisticsObj; @@ -8612,4 +8614,11 @@ public void dropConstraint(String dbName, String tableName, } } + @Override + public AggregatePartitionsStatsResponse getPartitionsAndAggregateColStats( + String dbName, String tblName, List colNames, byte[] expr) throws MetaException { + final ExpressionTree exprTree = PartFilterExprUtil.makeExpressionTree(expressionProxy, expr); + return directSql.getPartitionsViaSqlFilterAndAggregateColStats( getTable(dbName, tblName), exprTree, colNames, (HiveConf) getConf()); + } + } diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java b/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java index bbd47b8..e9c7ad0 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java @@ -29,6 +29,7 @@ import org.apache.hadoop.conf.Configurable; import org.apache.hadoop.hive.common.classification.InterfaceStability; import org.apache.hadoop.hive.metastore.api.AggrStats; +import org.apache.hadoop.hive.metastore.api.AggregatePartitionsStatsResponse; import org.apache.hadoop.hive.metastore.api.ColumnStatistics; import org.apache.hadoop.hive.metastore.api.CurrentNotificationEventId; import org.apache.hadoop.hive.metastore.api.Database; @@ -680,4 +681,7 @@ void createTableWithConstraints(Table tbl, List primaryKeys, void addPrimaryKeys(List pks) throws InvalidObjectException, MetaException; void addForeignKeys(List fks) throws InvalidObjectException, MetaException; + + public abstract AggregatePartitionsStatsResponse getPartitionsAndAggregateColStats( + String dbName, String tblName, List colNames, byte[] expr) throws MetaException; } diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/hbase/HBaseStore.java b/metastore/src/java/org/apache/hadoop/hive/metastore/hbase/HBaseStore.java index c65c7a4..d52352d 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/hbase/HBaseStore.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/hbase/HBaseStore.java @@ -35,6 +35,7 @@ import org.apache.hadoop.hive.metastore.RawStore; import org.apache.hadoop.hive.metastore.Warehouse; import org.apache.hadoop.hive.metastore.api.AggrStats; +import org.apache.hadoop.hive.metastore.api.AggregatePartitionsStatsResponse; import org.apache.hadoop.hive.metastore.api.ColumnStatistics; import org.apache.hadoop.hive.metastore.api.ColumnStatisticsObj; import org.apache.hadoop.hive.metastore.api.CurrentNotificationEventId; @@ -2722,4 +2723,11 @@ public void addForeignKeys(List fks) throws InvalidObjectException, MetaException { // TODO: WTF? } + + @Override + public AggregatePartitionsStatsResponse getPartitionsAndAggregateColStats( + String dbName, String tblName, List colNames, byte[] expr) { + // TODO Auto-generated method stub + return null; + } } diff --git a/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java b/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java index 1ea72a0..e30ee05 100644 --- a/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java +++ b/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java @@ -27,6 +27,7 @@ import org.apache.hadoop.conf.Configurable; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.metastore.api.AggrStats; +import org.apache.hadoop.hive.metastore.api.AggregatePartitionsStatsResponse; import org.apache.hadoop.hive.metastore.api.ColumnStatistics; import org.apache.hadoop.hive.metastore.api.CurrentNotificationEventId; import org.apache.hadoop.hive.metastore.api.Database; @@ -827,7 +828,6 @@ public FileMetadataHandler getFileMetadataHandler(FileMetadataExprType type) { @Override public List getPrimaryKeys(String db_name, String tbl_name) throws MetaException { - // TODO Auto-generated method stub return null; } @@ -835,7 +835,6 @@ public FileMetadataHandler getFileMetadataHandler(FileMetadataExprType type) { public List getForeignKeys(String parent_db_name, String parent_tbl_name, String foreign_db_name, String foreign_tbl_name) throws MetaException { - // TODO Auto-generated method stub return null; } @@ -843,24 +842,26 @@ public FileMetadataHandler getFileMetadataHandler(FileMetadataExprType type) { public void createTableWithConstraints(Table tbl, List primaryKeys, List foreignKeys) throws InvalidObjectException, MetaException { - // TODO Auto-generated method stub } @Override public void dropConstraint(String dbName, String tableName, String constraintName) throws NoSuchObjectException { - // TODO Auto-generated method stub } @Override public void addPrimaryKeys(List pks) throws InvalidObjectException, MetaException { - // TODO Auto-generated method stub } @Override public void addForeignKeys(List fks) throws InvalidObjectException, MetaException { - // TODO Auto-generated method stub + } + + @Override + public AggregatePartitionsStatsResponse getPartitionsAndAggregateColStats( + String dbName, String tblName, List colNames, byte[] expr) { + return null; } } diff --git a/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java b/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java index 3e6acc7..13284c8 100644 --- a/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java +++ b/metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java @@ -28,6 +28,7 @@ import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.metastore.api.AggrStats; +import org.apache.hadoop.hive.metastore.api.AggregatePartitionsStatsResponse; import org.apache.hadoop.hive.metastore.api.ColumnStatistics; import org.apache.hadoop.hive.metastore.api.CurrentNotificationEventId; import org.apache.hadoop.hive.metastore.api.Database; @@ -843,7 +844,6 @@ public FileMetadataHandler getFileMetadataHandler(FileMetadataExprType type) { @Override public List getPrimaryKeys(String db_name, String tbl_name) throws MetaException { - // TODO Auto-generated method stub return null; } @@ -851,7 +851,6 @@ public FileMetadataHandler getFileMetadataHandler(FileMetadataExprType type) { public List getForeignKeys(String parent_db_name, String parent_tbl_name, String foreign_db_name, String foreign_tbl_name) throws MetaException { - // TODO Auto-generated method stub return null; } @@ -859,25 +858,27 @@ public FileMetadataHandler getFileMetadataHandler(FileMetadataExprType type) { public void createTableWithConstraints(Table tbl, List primaryKeys, List foreignKeys) throws InvalidObjectException, MetaException { - // TODO Auto-generated method stub } @Override public void dropConstraint(String dbName, String tableName, String constraintName) throws NoSuchObjectException { - // TODO Auto-generated method stub } @Override public void addPrimaryKeys(List pks) throws InvalidObjectException, MetaException { - // TODO Auto-generated method stub } @Override public void addForeignKeys(List fks) throws InvalidObjectException, MetaException { - // TODO Auto-generated method stub + } + + @Override + public AggregatePartitionsStatsResponse getPartitionsAndAggregateColStats( + String dbName, String tblName, List colNames, byte[] expr) { + return null; } } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/RelOptHiveTable.java b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/RelOptHiveTable.java index 73ca9bf..406cd75 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/RelOptHiveTable.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/RelOptHiveTable.java @@ -344,7 +344,7 @@ private void updateColStats(Set projIndxLst, boolean allowNullColumnFor } else { Statistics stats = StatsUtils.collectStatistics(hiveConf, partitionList, hiveTblMetadata, hiveNonPartitionCols, nonPartColNamesThatRqrStats, - nonPartColNamesThatRqrStats, true, true); + nonPartColNamesThatRqrStats, true, true, null); rowCount = stats.getNumRows(); hiveColStats = new ArrayList(); for (String c : nonPartColNamesThatRqrStats) { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/ppr/PartitionPruner.java b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/ppr/PartitionPruner.java index 26e936e..ecdbd55 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/ppr/PartitionPruner.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/ppr/PartitionPruner.java @@ -391,7 +391,7 @@ static private ExprNodeDesc removeNonPartCols(ExprNodeDesc expr, List pa * @param expr Expression. * @return True iff expr contains any non-native user-defined functions. */ - static private boolean hasUserFunctions(ExprNodeDesc expr) { + static public boolean hasUserFunctions(ExprNodeDesc expr) { if (!(expr instanceof ExprNodeGenericFuncDesc)) { return false; } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/stats/annotation/StatsRulesProcFactory.java b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/stats/annotation/StatsRulesProcFactory.java index 5625091..4b0462b 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/stats/annotation/StatsRulesProcFactory.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/stats/annotation/StatsRulesProcFactory.java @@ -47,6 +47,7 @@ import org.apache.hadoop.hive.ql.lib.NodeProcessorCtx; import org.apache.hadoop.hive.ql.metadata.HiveException; import org.apache.hadoop.hive.ql.metadata.Table; +import org.apache.hadoop.hive.ql.optimizer.ppr.PartitionPruner; import org.apache.hadoop.hive.ql.parse.PrunedPartitionList; import org.apache.hadoop.hive.ql.parse.SemanticException; import org.apache.hadoop.hive.ql.plan.AggregationDesc; @@ -115,12 +116,16 @@ public Object process(Node nd, Stack stack, NodeProcessorCtx procCtx, Object... nodeOutputs) throws SemanticException { TableScanOperator tsop = (TableScanOperator) nd; AnnotateStatsProcCtx aspCtx = (AnnotateStatsProcCtx) procCtx; - PrunedPartitionList partList = aspCtx.getParseContext().getPrunedPartitions(tsop); + ExprNodeDesc prunerExpr = aspCtx.getParseContext().getOpToPartPruner().get(tsop); + boolean oldPath = PartitionPruner.hasUserFunctions(prunerExpr); + + PrunedPartitionList partList = oldPath ? aspCtx.getParseContext().getPrunedPartitions(tsop) : null; Table table = tsop.getConf().getTableMetadata(); try { // gather statistics for the first time and the attach it to table scan operator - Statistics stats = StatsUtils.collectStatistics(aspCtx.getConf(), partList, table, tsop); + Statistics stats = oldPath ? StatsUtils.collectStatistics(aspCtx.getConf(), partList, table, tsop) : + StatsUtils.collectStatistics(aspCtx.getConf(), tsop, table, prunerExpr); tsop.setStatistics(stats.clone()); if (isDebugEnabled) { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/stats/StatsUtils.java b/ql/src/java/org/apache/hadoop/hive/ql/stats/StatsUtils.java index d8acf94..c8895bc 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/stats/StatsUtils.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/stats/StatsUtils.java @@ -36,12 +36,14 @@ import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.conf.HiveConf.ConfVars; import org.apache.hadoop.hive.metastore.api.AggrStats; +import org.apache.hadoop.hive.metastore.api.AggregatePartitionsStatsResponse; import org.apache.hadoop.hive.metastore.api.ColumnStatisticsData; import org.apache.hadoop.hive.metastore.api.ColumnStatisticsObj; import org.apache.hadoop.hive.metastore.api.Decimal; import org.apache.hadoop.hive.ql.exec.ColumnInfo; import org.apache.hadoop.hive.ql.exec.FunctionRegistry; import org.apache.hadoop.hive.ql.exec.RowSchema; +import org.apache.hadoop.hive.ql.exec.SerializationUtilities; import org.apache.hadoop.hive.ql.exec.TableScanOperator; import org.apache.hadoop.hive.ql.exec.Utilities; import org.apache.hadoop.hive.ql.metadata.Hive; @@ -96,6 +98,7 @@ import org.apache.hadoop.io.BytesWritable; import org.apache.hive.common.util.AnnotationUtils; import org.apache.tez.mapreduce.hadoop.MRJobConfig; +import org.apache.thrift.TException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -142,7 +145,7 @@ private static Statistics collectStatistics(HiveConf conf, PrunedPartitionList p HiveConf.getBoolVar(conf, HiveConf.ConfVars.HIVE_STATS_FETCH_PARTITION_STATS); return collectStatistics(conf, partList, table, schema, neededColumns, referencedColumns, - fetchColStats, fetchPartStats); + fetchColStats, fetchPartStats, null); } private static long getDataSize(HiveConf conf, Table table) { @@ -178,9 +181,21 @@ private static long getNumRows(HiveConf conf, List schema, List schema = tableScanOperator.getSchema().getSignature(); + List neededColumns = tableScanOperator.getNeededColumns(); + List referencedColumns = tableScanOperator.getReferencedColumns(); + return collectStatistics(conf, null, table, schema, neededColumns, referencedColumns, fetchColStats, fetchPartStats, prunerExpr); + } + public static Statistics collectStatistics(HiveConf conf, PrunedPartitionList partList, Table table, List schema, List neededColumns, - List referencedColumns, boolean fetchColStats, boolean fetchPartStats) + List referencedColumns, boolean fetchColStats, boolean fetchPartStats, ExprNodeDesc prunerExpr) throws HiveException { Statistics stats = new Statistics(); @@ -312,6 +327,119 @@ public static Statistics collectStatistics(HiveConf conf, PrunedPartitionList pa stats.setColumnStatsState(colState); } } + } else if (prunerExpr != null) { + // For partitioned tables, get the size of all the partitions after pruning + // the partitions that are not required + long nr = 0; + long ds = 0; + List parts = null; + List metadataParts = null; + AggrStats aggrStats = null; + try { + AggregatePartitionsStatsResponse aggrResponse = Hive.get().getMSC().getPartitionsAndAggregateColumnStats(table.getDbName(), table.getTableName(), neededColumns, + SerializationUtilities.serializeExpressionToKryo((ExprNodeGenericFuncDesc) prunerExpr)); + aggrStats = aggrResponse.getStats(); + parts = aggrResponse.getPartitions(); + metadataParts = new ArrayList(); + for (org.apache.hadoop.hive.metastore.api.Partition p : parts) { + metadataParts.add(new Partition(table, p)); + } + } catch (TException e) { + throw new HiveException(e); + } + List rowCounts = Lists.newArrayList(); + List dataSizes = Lists.newArrayList(); + + if (fetchPartStats) { + rowCounts = getBasicStatForPartitions( + table, metadataParts, StatsSetupConst.ROW_COUNT); + dataSizes = getBasicStatForPartitions( + table, metadataParts, StatsSetupConst.RAW_DATA_SIZE); + + nr = getSumIgnoreNegatives(rowCounts); + ds = getSumIgnoreNegatives(dataSizes); + if (ds <= 0) { + dataSizes = getBasicStatForPartitions( + table, metadataParts, StatsSetupConst.TOTAL_SIZE); + ds = getSumIgnoreNegatives(dataSizes); + } + } + + // if data size still could not be determined, then fall back to filesytem to get file + // sizes + if (ds <= 0) { + dataSizes = getFileSizeForPartitions(conf, metadataParts); + } + ds = getSumIgnoreNegatives(dataSizes); + ds = (long) (ds * deserFactor); + + int avgRowSize = estimateRowSizeFromSchema(conf, schema, neededColumns); + if (avgRowSize > 0) { + setUnknownRcDsToAverage(rowCounts, dataSizes, avgRowSize); + nr = getSumIgnoreNegatives(rowCounts); + ds = getSumIgnoreNegatives(dataSizes); + + // number of rows -1 means that statistics from metastore is not reliable + if (nr <= 0) { + nr = ds / avgRowSize; + } + } + if (nr == 0) { + nr = 1; + } + stats.addToNumRows(nr); + stats.addToDataSize(ds); + + // if at least a partition does not contain row count then mark basic stats state as PARTIAL + if (containsNonPositives(rowCounts) && + stats.getBasicStatsState().equals(State.COMPLETE)) { + stats.setBasicStatsState(State.PARTIAL); + } + if (fetchColStats) { + List partNames = new ArrayList(metadataParts.size()); + for (Partition part : metadataParts) { + partNames.add(part.getName()); + } + if (null == aggrStats || null == aggrStats.getColStats() + || aggrStats.getColStatsSize() == 0) { + // There are some partitions with no state (or we didn't fetch any state). + // Update the stats with empty list to reflect that in the + // state/initialize structures. + List emptyStats = Lists.newArrayList(); + + // add partition column stats + addParitionColumnStats(conf, neededColumns, referencedColumns, schema, table, partList, + emptyStats); + + stats.addToColumnStats(emptyStats); + stats.updateColumnStatsState(deriveStatType(emptyStats, referencedColumns)); + } else { + List colStats = aggrStats.getColStats(); + if (colStats.size() != neededColumns.size()) { + LOG.debug("Column stats requested for : " + neededColumns.size() + " columns. Able to" + + " retrieve for " + colStats.size() + " columns"); + } + + List columnStats = convertColStats(colStats, table.getTableName()); + + addParitionColumnStats(conf, neededColumns, referencedColumns, schema, table, partList, + columnStats); + long betterDS = getDataSizeFromColumnStats(nr, columnStats); + stats.setDataSize(betterDS < 1 ? ds : betterDS); + // infer if any column can be primary key based on column statistics + inferAndSetPrimaryKey(stats.getNumRows(), columnStats); + + stats.addToColumnStats(columnStats); + State colState = deriveStatType(columnStats, referencedColumns); + if (aggrStats.getPartsFound() != partNames.size() && colState != State.NONE) { + LOG.debug("Column stats requested for : " + partNames.size() + " partitions. " + + "Able to retrieve for " + aggrStats.getPartsFound() + " partitions"); + colState = State.PARTIAL; + } + stats.setColumnStatsState(colState); + } + } + } return stats; } @@ -1618,4 +1746,5 @@ public static int getNumBitVectorsForNDVEstimation(HiveConf conf) throws Semanti } return numBitVectors; } + }