diff --git a/metastore/if/hive_metastore.thrift b/metastore/if/hive_metastore.thrift index cb326f4..5567bef 100755 --- a/metastore/if/hive_metastore.thrift +++ b/metastore/if/hive_metastore.thrift @@ -366,6 +366,10 @@ struct AggrStats { 2: required i64 partsFound // number of partitions for which stats were found } +struct SetPartitionsStatsRequest { +1: required list colStats +} + // schema of the table/query results etc. struct Schema { // column names, types, comments @@ -960,6 +964,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) + bool set_aggr_stats_for(1:SetPartitionsStatsRequest request) throws + (1:NoSuchObjectException o1, 2:InvalidObjectException o2, 3:MetaException o3, 4:InvalidInputException o4) // delete APIs attempt to delete column statistics, if found, associated with a given db_name, tbl_name, [part_name] diff --git a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index 23b5edf..5517b1a 100644 --- a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp +++ b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp @@ -1096,14 +1096,14 @@ uint32_t ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size369; - ::apache::thrift::protocol::TType _etype372; - xfer += iprot->readListBegin(_etype372, _size369); - this->success.resize(_size369); - uint32_t _i373; - for (_i373 = 0; _i373 < _size369; ++_i373) + uint32_t _size375; + ::apache::thrift::protocol::TType _etype378; + xfer += iprot->readListBegin(_etype378, _size375); + this->success.resize(_size375); + uint32_t _i379; + for (_i379 = 0; _i379 < _size375; ++_i379) { - xfer += iprot->readString(this->success[_i373]); + xfer += iprot->readString(this->success[_i379]); } xfer += iprot->readListEnd(); } @@ -1142,10 +1142,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 _iter374; - for (_iter374 = this->success.begin(); _iter374 != this->success.end(); ++_iter374) + std::vector ::const_iterator _iter380; + for (_iter380 = this->success.begin(); _iter380 != this->success.end(); ++_iter380) { - xfer += oprot->writeString((*_iter374)); + xfer += oprot->writeString((*_iter380)); } xfer += oprot->writeListEnd(); } @@ -1184,14 +1184,14 @@ uint32_t ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size375; - ::apache::thrift::protocol::TType _etype378; - xfer += iprot->readListBegin(_etype378, _size375); - (*(this->success)).resize(_size375); - uint32_t _i379; - for (_i379 = 0; _i379 < _size375; ++_i379) + uint32_t _size381; + ::apache::thrift::protocol::TType _etype384; + xfer += iprot->readListBegin(_etype384, _size381); + (*(this->success)).resize(_size381); + uint32_t _i385; + for (_i385 = 0; _i385 < _size381; ++_i385) { - xfer += iprot->readString((*(this->success))[_i379]); + xfer += iprot->readString((*(this->success))[_i385]); } xfer += iprot->readListEnd(); } @@ -1289,14 +1289,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size380; - ::apache::thrift::protocol::TType _etype383; - xfer += iprot->readListBegin(_etype383, _size380); - this->success.resize(_size380); - uint32_t _i384; - for (_i384 = 0; _i384 < _size380; ++_i384) + uint32_t _size386; + ::apache::thrift::protocol::TType _etype389; + xfer += iprot->readListBegin(_etype389, _size386); + this->success.resize(_size386); + uint32_t _i390; + for (_i390 = 0; _i390 < _size386; ++_i390) { - xfer += iprot->readString(this->success[_i384]); + xfer += iprot->readString(this->success[_i390]); } xfer += iprot->readListEnd(); } @@ -1335,10 +1335,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 _iter385; - for (_iter385 = this->success.begin(); _iter385 != this->success.end(); ++_iter385) + std::vector ::const_iterator _iter391; + for (_iter391 = this->success.begin(); _iter391 != this->success.end(); ++_iter391) { - xfer += oprot->writeString((*_iter385)); + xfer += oprot->writeString((*_iter391)); } xfer += oprot->writeListEnd(); } @@ -1377,14 +1377,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size386; - ::apache::thrift::protocol::TType _etype389; - xfer += iprot->readListBegin(_etype389, _size386); - (*(this->success)).resize(_size386); - uint32_t _i390; - for (_i390 = 0; _i390 < _size386; ++_i390) + uint32_t _size392; + ::apache::thrift::protocol::TType _etype395; + xfer += iprot->readListBegin(_etype395, _size392); + (*(this->success)).resize(_size392); + uint32_t _i396; + for (_i396 = 0; _i396 < _size392; ++_i396) { - xfer += iprot->readString((*(this->success))[_i390]); + xfer += iprot->readString((*(this->success))[_i396]); } xfer += iprot->readListEnd(); } @@ -2327,17 +2327,17 @@ uint32_t ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size391; - ::apache::thrift::protocol::TType _ktype392; - ::apache::thrift::protocol::TType _vtype393; - xfer += iprot->readMapBegin(_ktype392, _vtype393, _size391); - uint32_t _i395; - for (_i395 = 0; _i395 < _size391; ++_i395) + uint32_t _size397; + ::apache::thrift::protocol::TType _ktype398; + ::apache::thrift::protocol::TType _vtype399; + xfer += iprot->readMapBegin(_ktype398, _vtype399, _size397); + uint32_t _i401; + for (_i401 = 0; _i401 < _size397; ++_i401) { - std::string _key396; - xfer += iprot->readString(_key396); - Type& _val397 = this->success[_key396]; - xfer += _val397.read(iprot); + std::string _key402; + xfer += iprot->readString(_key402); + Type& _val403 = this->success[_key402]; + xfer += _val403.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2376,11 +2376,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 _iter398; - for (_iter398 = this->success.begin(); _iter398 != this->success.end(); ++_iter398) + std::map ::const_iterator _iter404; + for (_iter404 = this->success.begin(); _iter404 != this->success.end(); ++_iter404) { - xfer += oprot->writeString(_iter398->first); - xfer += _iter398->second.write(oprot); + xfer += oprot->writeString(_iter404->first); + xfer += _iter404->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -2419,17 +2419,17 @@ uint32_t ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size399; - ::apache::thrift::protocol::TType _ktype400; - ::apache::thrift::protocol::TType _vtype401; - xfer += iprot->readMapBegin(_ktype400, _vtype401, _size399); - uint32_t _i403; - for (_i403 = 0; _i403 < _size399; ++_i403) + uint32_t _size405; + ::apache::thrift::protocol::TType _ktype406; + ::apache::thrift::protocol::TType _vtype407; + xfer += iprot->readMapBegin(_ktype406, _vtype407, _size405); + uint32_t _i409; + for (_i409 = 0; _i409 < _size405; ++_i409) { - std::string _key404; - xfer += iprot->readString(_key404); - Type& _val405 = (*(this->success))[_key404]; - xfer += _val405.read(iprot); + std::string _key410; + xfer += iprot->readString(_key410); + Type& _val411 = (*(this->success))[_key410]; + xfer += _val411.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2564,14 +2564,14 @@ uint32_t ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size406; - ::apache::thrift::protocol::TType _etype409; - xfer += iprot->readListBegin(_etype409, _size406); - this->success.resize(_size406); - uint32_t _i410; - for (_i410 = 0; _i410 < _size406; ++_i410) + uint32_t _size412; + ::apache::thrift::protocol::TType _etype415; + xfer += iprot->readListBegin(_etype415, _size412); + this->success.resize(_size412); + uint32_t _i416; + for (_i416 = 0; _i416 < _size412; ++_i416) { - xfer += this->success[_i410].read(iprot); + xfer += this->success[_i416].read(iprot); } xfer += iprot->readListEnd(); } @@ -2626,10 +2626,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 _iter411; - for (_iter411 = this->success.begin(); _iter411 != this->success.end(); ++_iter411) + std::vector ::const_iterator _iter417; + for (_iter417 = this->success.begin(); _iter417 != this->success.end(); ++_iter417) { - xfer += (*_iter411).write(oprot); + xfer += (*_iter417).write(oprot); } xfer += oprot->writeListEnd(); } @@ -2676,14 +2676,14 @@ uint32_t ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size412; - ::apache::thrift::protocol::TType _etype415; - xfer += iprot->readListBegin(_etype415, _size412); - (*(this->success)).resize(_size412); - uint32_t _i416; - for (_i416 = 0; _i416 < _size412; ++_i416) + uint32_t _size418; + ::apache::thrift::protocol::TType _etype421; + xfer += iprot->readListBegin(_etype421, _size418); + (*(this->success)).resize(_size418); + uint32_t _i422; + for (_i422 = 0; _i422 < _size418; ++_i422) { - xfer += (*(this->success))[_i416].read(iprot); + xfer += (*(this->success))[_i422].read(iprot); } xfer += iprot->readListEnd(); } @@ -2834,14 +2834,14 @@ uint32_t ThriftHiveMetastore_get_schema_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size417; - ::apache::thrift::protocol::TType _etype420; - xfer += iprot->readListBegin(_etype420, _size417); - this->success.resize(_size417); - uint32_t _i421; - for (_i421 = 0; _i421 < _size417; ++_i421) + uint32_t _size423; + ::apache::thrift::protocol::TType _etype426; + xfer += iprot->readListBegin(_etype426, _size423); + this->success.resize(_size423); + uint32_t _i427; + for (_i427 = 0; _i427 < _size423; ++_i427) { - xfer += this->success[_i421].read(iprot); + xfer += this->success[_i427].read(iprot); } xfer += iprot->readListEnd(); } @@ -2896,10 +2896,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 _iter422; - for (_iter422 = this->success.begin(); _iter422 != this->success.end(); ++_iter422) + std::vector ::const_iterator _iter428; + for (_iter428 = this->success.begin(); _iter428 != this->success.end(); ++_iter428) { - xfer += (*_iter422).write(oprot); + xfer += (*_iter428).write(oprot); } xfer += oprot->writeListEnd(); } @@ -2946,14 +2946,14 @@ uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size423; - ::apache::thrift::protocol::TType _etype426; - xfer += iprot->readListBegin(_etype426, _size423); - (*(this->success)).resize(_size423); - uint32_t _i427; - for (_i427 = 0; _i427 < _size423; ++_i427) + uint32_t _size429; + ::apache::thrift::protocol::TType _etype432; + xfer += iprot->readListBegin(_etype432, _size429); + (*(this->success)).resize(_size429); + uint32_t _i433; + for (_i433 = 0; _i433 < _size429; ++_i433) { - xfer += (*(this->success))[_i427].read(iprot); + xfer += (*(this->success))[_i433].read(iprot); } xfer += iprot->readListEnd(); } @@ -4008,14 +4008,14 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size428; - ::apache::thrift::protocol::TType _etype431; - xfer += iprot->readListBegin(_etype431, _size428); - this->success.resize(_size428); - uint32_t _i432; - for (_i432 = 0; _i432 < _size428; ++_i432) + uint32_t _size434; + ::apache::thrift::protocol::TType _etype437; + xfer += iprot->readListBegin(_etype437, _size434); + this->success.resize(_size434); + uint32_t _i438; + for (_i438 = 0; _i438 < _size434; ++_i438) { - xfer += iprot->readString(this->success[_i432]); + xfer += iprot->readString(this->success[_i438]); } xfer += iprot->readListEnd(); } @@ -4054,10 +4054,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 _iter433; - for (_iter433 = this->success.begin(); _iter433 != this->success.end(); ++_iter433) + std::vector ::const_iterator _iter439; + for (_iter439 = this->success.begin(); _iter439 != this->success.end(); ++_iter439) { - xfer += oprot->writeString((*_iter433)); + xfer += oprot->writeString((*_iter439)); } xfer += oprot->writeListEnd(); } @@ -4096,14 +4096,14 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size434; - ::apache::thrift::protocol::TType _etype437; - xfer += iprot->readListBegin(_etype437, _size434); - (*(this->success)).resize(_size434); - uint32_t _i438; - for (_i438 = 0; _i438 < _size434; ++_i438) + uint32_t _size440; + ::apache::thrift::protocol::TType _etype443; + xfer += iprot->readListBegin(_etype443, _size440); + (*(this->success)).resize(_size440); + uint32_t _i444; + for (_i444 = 0; _i444 < _size440; ++_i444) { - xfer += iprot->readString((*(this->success))[_i438]); + xfer += iprot->readString((*(this->success))[_i444]); } xfer += iprot->readListEnd(); } @@ -4222,14 +4222,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size439; - ::apache::thrift::protocol::TType _etype442; - xfer += iprot->readListBegin(_etype442, _size439); - this->success.resize(_size439); - uint32_t _i443; - for (_i443 = 0; _i443 < _size439; ++_i443) + uint32_t _size445; + ::apache::thrift::protocol::TType _etype448; + xfer += iprot->readListBegin(_etype448, _size445); + this->success.resize(_size445); + uint32_t _i449; + for (_i449 = 0; _i449 < _size445; ++_i449) { - xfer += iprot->readString(this->success[_i443]); + xfer += iprot->readString(this->success[_i449]); } xfer += iprot->readListEnd(); } @@ -4268,10 +4268,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 _iter444; - for (_iter444 = this->success.begin(); _iter444 != this->success.end(); ++_iter444) + std::vector ::const_iterator _iter450; + for (_iter450 = this->success.begin(); _iter450 != this->success.end(); ++_iter450) { - xfer += oprot->writeString((*_iter444)); + xfer += oprot->writeString((*_iter450)); } xfer += oprot->writeListEnd(); } @@ -4310,14 +4310,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size445; - ::apache::thrift::protocol::TType _etype448; - xfer += iprot->readListBegin(_etype448, _size445); - (*(this->success)).resize(_size445); - uint32_t _i449; - for (_i449 = 0; _i449 < _size445; ++_i449) + uint32_t _size451; + ::apache::thrift::protocol::TType _etype454; + xfer += iprot->readListBegin(_etype454, _size451); + (*(this->success)).resize(_size451); + uint32_t _i455; + for (_i455 = 0; _i455 < _size451; ++_i455) { - xfer += iprot->readString((*(this->success))[_i449]); + xfer += iprot->readString((*(this->success))[_i455]); } xfer += iprot->readListEnd(); } @@ -4596,14 +4596,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 _size450; - ::apache::thrift::protocol::TType _etype453; - xfer += iprot->readListBegin(_etype453, _size450); - this->tbl_names.resize(_size450); - uint32_t _i454; - for (_i454 = 0; _i454 < _size450; ++_i454) + uint32_t _size456; + ::apache::thrift::protocol::TType _etype459; + xfer += iprot->readListBegin(_etype459, _size456); + this->tbl_names.resize(_size456); + uint32_t _i460; + for (_i460 = 0; _i460 < _size456; ++_i460) { - xfer += iprot->readString(this->tbl_names[_i454]); + xfer += iprot->readString(this->tbl_names[_i460]); } xfer += iprot->readListEnd(); } @@ -4635,10 +4635,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 _iter455; - for (_iter455 = this->tbl_names.begin(); _iter455 != this->tbl_names.end(); ++_iter455) + std::vector ::const_iterator _iter461; + for (_iter461 = this->tbl_names.begin(); _iter461 != this->tbl_names.end(); ++_iter461) { - xfer += oprot->writeString((*_iter455)); + xfer += oprot->writeString((*_iter461)); } xfer += oprot->writeListEnd(); } @@ -4660,10 +4660,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 _iter456; - for (_iter456 = (*(this->tbl_names)).begin(); _iter456 != (*(this->tbl_names)).end(); ++_iter456) + std::vector ::const_iterator _iter462; + for (_iter462 = (*(this->tbl_names)).begin(); _iter462 != (*(this->tbl_names)).end(); ++_iter462) { - xfer += oprot->writeString((*_iter456)); + xfer += oprot->writeString((*_iter462)); } xfer += oprot->writeListEnd(); } @@ -4698,14 +4698,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 _size457; - ::apache::thrift::protocol::TType _etype460; - xfer += iprot->readListBegin(_etype460, _size457); - this->success.resize(_size457); - uint32_t _i461; - for (_i461 = 0; _i461 < _size457; ++_i461) + uint32_t _size463; + ::apache::thrift::protocol::TType _etype466; + xfer += iprot->readListBegin(_etype466, _size463); + this->success.resize(_size463); + uint32_t _i467; + for (_i467 = 0; _i467 < _size463; ++_i467) { - xfer += this->success[_i461].read(iprot); + xfer += this->success[_i467].read(iprot); } xfer += iprot->readListEnd(); } @@ -4760,10 +4760,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 _iter462; - for (_iter462 = this->success.begin(); _iter462 != this->success.end(); ++_iter462) + std::vector
::const_iterator _iter468; + for (_iter468 = this->success.begin(); _iter468 != this->success.end(); ++_iter468) { - xfer += (*_iter462).write(oprot); + xfer += (*_iter468).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4810,14 +4810,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 _size463; - ::apache::thrift::protocol::TType _etype466; - xfer += iprot->readListBegin(_etype466, _size463); - (*(this->success)).resize(_size463); - uint32_t _i467; - for (_i467 = 0; _i467 < _size463; ++_i467) + uint32_t _size469; + ::apache::thrift::protocol::TType _etype472; + xfer += iprot->readListBegin(_etype472, _size469); + (*(this->success)).resize(_size469); + uint32_t _i473; + for (_i473 = 0; _i473 < _size469; ++_i473) { - xfer += (*(this->success))[_i467].read(iprot); + xfer += (*(this->success))[_i473].read(iprot); } xfer += iprot->readListEnd(); } @@ -4984,14 +4984,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 _size468; - ::apache::thrift::protocol::TType _etype471; - xfer += iprot->readListBegin(_etype471, _size468); - this->success.resize(_size468); - uint32_t _i472; - for (_i472 = 0; _i472 < _size468; ++_i472) + uint32_t _size474; + ::apache::thrift::protocol::TType _etype477; + xfer += iprot->readListBegin(_etype477, _size474); + this->success.resize(_size474); + uint32_t _i478; + for (_i478 = 0; _i478 < _size474; ++_i478) { - xfer += iprot->readString(this->success[_i472]); + xfer += iprot->readString(this->success[_i478]); } xfer += iprot->readListEnd(); } @@ -5046,10 +5046,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 _iter473; - for (_iter473 = this->success.begin(); _iter473 != this->success.end(); ++_iter473) + std::vector ::const_iterator _iter479; + for (_iter479 = this->success.begin(); _iter479 != this->success.end(); ++_iter479) { - xfer += oprot->writeString((*_iter473)); + xfer += oprot->writeString((*_iter479)); } xfer += oprot->writeListEnd(); } @@ -5096,14 +5096,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 _size474; - ::apache::thrift::protocol::TType _etype477; - xfer += iprot->readListBegin(_etype477, _size474); - (*(this->success)).resize(_size474); - uint32_t _i478; - for (_i478 = 0; _i478 < _size474; ++_i478) + uint32_t _size480; + ::apache::thrift::protocol::TType _etype483; + xfer += iprot->readListBegin(_etype483, _size480); + (*(this->success)).resize(_size480); + uint32_t _i484; + for (_i484 = 0; _i484 < _size480; ++_i484) { - xfer += iprot->readString((*(this->success))[_i478]); + xfer += iprot->readString((*(this->success))[_i484]); } xfer += iprot->readListEnd(); } @@ -6076,14 +6076,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size479; - ::apache::thrift::protocol::TType _etype482; - xfer += iprot->readListBegin(_etype482, _size479); - this->new_parts.resize(_size479); - uint32_t _i483; - for (_i483 = 0; _i483 < _size479; ++_i483) + uint32_t _size485; + ::apache::thrift::protocol::TType _etype488; + xfer += iprot->readListBegin(_etype488, _size485); + this->new_parts.resize(_size485); + uint32_t _i489; + for (_i489 = 0; _i489 < _size485; ++_i489) { - xfer += this->new_parts[_i483].read(iprot); + xfer += this->new_parts[_i489].read(iprot); } xfer += iprot->readListEnd(); } @@ -6111,10 +6111,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 _iter484; - for (_iter484 = this->new_parts.begin(); _iter484 != this->new_parts.end(); ++_iter484) + std::vector ::const_iterator _iter490; + for (_iter490 = this->new_parts.begin(); _iter490 != this->new_parts.end(); ++_iter490) { - xfer += (*_iter484).write(oprot); + xfer += (*_iter490).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6132,10 +6132,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 _iter485; - for (_iter485 = (*(this->new_parts)).begin(); _iter485 != (*(this->new_parts)).end(); ++_iter485) + std::vector ::const_iterator _iter491; + for (_iter491 = (*(this->new_parts)).begin(); _iter491 != (*(this->new_parts)).end(); ++_iter491) { - xfer += (*_iter485).write(oprot); + xfer += (*_iter491).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6342,14 +6342,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size486; - ::apache::thrift::protocol::TType _etype489; - xfer += iprot->readListBegin(_etype489, _size486); - this->part_vals.resize(_size486); - uint32_t _i490; - for (_i490 = 0; _i490 < _size486; ++_i490) + uint32_t _size492; + ::apache::thrift::protocol::TType _etype495; + xfer += iprot->readListBegin(_etype495, _size492); + this->part_vals.resize(_size492); + uint32_t _i496; + for (_i496 = 0; _i496 < _size492; ++_i496) { - xfer += iprot->readString(this->part_vals[_i490]); + xfer += iprot->readString(this->part_vals[_i496]); } xfer += iprot->readListEnd(); } @@ -6385,10 +6385,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 _iter491; - for (_iter491 = this->part_vals.begin(); _iter491 != this->part_vals.end(); ++_iter491) + std::vector ::const_iterator _iter497; + for (_iter497 = this->part_vals.begin(); _iter497 != this->part_vals.end(); ++_iter497) { - xfer += oprot->writeString((*_iter491)); + xfer += oprot->writeString((*_iter497)); } xfer += oprot->writeListEnd(); } @@ -6414,10 +6414,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 _iter492; - for (_iter492 = (*(this->part_vals)).begin(); _iter492 != (*(this->part_vals)).end(); ++_iter492) + std::vector ::const_iterator _iter498; + for (_iter498 = (*(this->part_vals)).begin(); _iter498 != (*(this->part_vals)).end(); ++_iter498) { - xfer += oprot->writeString((*_iter492)); + xfer += oprot->writeString((*_iter498)); } xfer += oprot->writeListEnd(); } @@ -6846,14 +6846,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size493; - ::apache::thrift::protocol::TType _etype496; - xfer += iprot->readListBegin(_etype496, _size493); - this->part_vals.resize(_size493); - uint32_t _i497; - for (_i497 = 0; _i497 < _size493; ++_i497) + uint32_t _size499; + ::apache::thrift::protocol::TType _etype502; + xfer += iprot->readListBegin(_etype502, _size499); + this->part_vals.resize(_size499); + uint32_t _i503; + for (_i503 = 0; _i503 < _size499; ++_i503) { - xfer += iprot->readString(this->part_vals[_i497]); + xfer += iprot->readString(this->part_vals[_i503]); } xfer += iprot->readListEnd(); } @@ -6897,10 +6897,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 _iter498; - for (_iter498 = this->part_vals.begin(); _iter498 != this->part_vals.end(); ++_iter498) + std::vector ::const_iterator _iter504; + for (_iter504 = this->part_vals.begin(); _iter504 != this->part_vals.end(); ++_iter504) { - xfer += oprot->writeString((*_iter498)); + xfer += oprot->writeString((*_iter504)); } xfer += oprot->writeListEnd(); } @@ -6930,10 +6930,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 _iter499; - for (_iter499 = (*(this->part_vals)).begin(); _iter499 != (*(this->part_vals)).end(); ++_iter499) + std::vector ::const_iterator _iter505; + for (_iter505 = (*(this->part_vals)).begin(); _iter505 != (*(this->part_vals)).end(); ++_iter505) { - xfer += oprot->writeString((*_iter499)); + xfer += oprot->writeString((*_iter505)); } xfer += oprot->writeListEnd(); } @@ -7668,14 +7668,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size500; - ::apache::thrift::protocol::TType _etype503; - xfer += iprot->readListBegin(_etype503, _size500); - this->part_vals.resize(_size500); - uint32_t _i504; - for (_i504 = 0; _i504 < _size500; ++_i504) + uint32_t _size506; + ::apache::thrift::protocol::TType _etype509; + xfer += iprot->readListBegin(_etype509, _size506); + this->part_vals.resize(_size506); + uint32_t _i510; + for (_i510 = 0; _i510 < _size506; ++_i510) { - xfer += iprot->readString(this->part_vals[_i504]); + xfer += iprot->readString(this->part_vals[_i510]); } xfer += iprot->readListEnd(); } @@ -7719,10 +7719,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 _iter505; - for (_iter505 = this->part_vals.begin(); _iter505 != this->part_vals.end(); ++_iter505) + std::vector ::const_iterator _iter511; + for (_iter511 = this->part_vals.begin(); _iter511 != this->part_vals.end(); ++_iter511) { - xfer += oprot->writeString((*_iter505)); + xfer += oprot->writeString((*_iter511)); } xfer += oprot->writeListEnd(); } @@ -7752,10 +7752,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 _iter506; - for (_iter506 = (*(this->part_vals)).begin(); _iter506 != (*(this->part_vals)).end(); ++_iter506) + std::vector ::const_iterator _iter512; + for (_iter512 = (*(this->part_vals)).begin(); _iter512 != (*(this->part_vals)).end(); ++_iter512) { - xfer += oprot->writeString((*_iter506)); + xfer += oprot->writeString((*_iter512)); } xfer += oprot->writeListEnd(); } @@ -7946,14 +7946,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size507; - ::apache::thrift::protocol::TType _etype510; - xfer += iprot->readListBegin(_etype510, _size507); - this->part_vals.resize(_size507); - uint32_t _i511; - for (_i511 = 0; _i511 < _size507; ++_i511) + uint32_t _size513; + ::apache::thrift::protocol::TType _etype516; + xfer += iprot->readListBegin(_etype516, _size513); + this->part_vals.resize(_size513); + uint32_t _i517; + for (_i517 = 0; _i517 < _size513; ++_i517) { - xfer += iprot->readString(this->part_vals[_i511]); + xfer += iprot->readString(this->part_vals[_i517]); } xfer += iprot->readListEnd(); } @@ -8005,10 +8005,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 _iter512; - for (_iter512 = this->part_vals.begin(); _iter512 != this->part_vals.end(); ++_iter512) + std::vector ::const_iterator _iter518; + for (_iter518 = this->part_vals.begin(); _iter518 != this->part_vals.end(); ++_iter518) { - xfer += oprot->writeString((*_iter512)); + xfer += oprot->writeString((*_iter518)); } xfer += oprot->writeListEnd(); } @@ -8042,10 +8042,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 _iter513; - for (_iter513 = (*(this->part_vals)).begin(); _iter513 != (*(this->part_vals)).end(); ++_iter513) + std::vector ::const_iterator _iter519; + for (_iter519 = (*(this->part_vals)).begin(); _iter519 != (*(this->part_vals)).end(); ++_iter519) { - xfer += oprot->writeString((*_iter513)); + xfer += oprot->writeString((*_iter519)); } xfer += oprot->writeListEnd(); } @@ -8958,14 +8958,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size514; - ::apache::thrift::protocol::TType _etype517; - xfer += iprot->readListBegin(_etype517, _size514); - this->part_vals.resize(_size514); - uint32_t _i518; - for (_i518 = 0; _i518 < _size514; ++_i518) + uint32_t _size520; + ::apache::thrift::protocol::TType _etype523; + xfer += iprot->readListBegin(_etype523, _size520); + this->part_vals.resize(_size520); + uint32_t _i524; + for (_i524 = 0; _i524 < _size520; ++_i524) { - xfer += iprot->readString(this->part_vals[_i518]); + xfer += iprot->readString(this->part_vals[_i524]); } xfer += iprot->readListEnd(); } @@ -9001,10 +9001,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 _iter519; - for (_iter519 = this->part_vals.begin(); _iter519 != this->part_vals.end(); ++_iter519) + std::vector ::const_iterator _iter525; + for (_iter525 = this->part_vals.begin(); _iter525 != this->part_vals.end(); ++_iter525) { - xfer += oprot->writeString((*_iter519)); + xfer += oprot->writeString((*_iter525)); } xfer += oprot->writeListEnd(); } @@ -9030,10 +9030,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 _iter520; - for (_iter520 = (*(this->part_vals)).begin(); _iter520 != (*(this->part_vals)).end(); ++_iter520) + std::vector ::const_iterator _iter526; + for (_iter526 = (*(this->part_vals)).begin(); _iter526 != (*(this->part_vals)).end(); ++_iter526) { - xfer += oprot->writeString((*_iter520)); + xfer += oprot->writeString((*_iter526)); } xfer += oprot->writeListEnd(); } @@ -9204,17 +9204,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size521; - ::apache::thrift::protocol::TType _ktype522; - ::apache::thrift::protocol::TType _vtype523; - xfer += iprot->readMapBegin(_ktype522, _vtype523, _size521); - uint32_t _i525; - for (_i525 = 0; _i525 < _size521; ++_i525) + uint32_t _size527; + ::apache::thrift::protocol::TType _ktype528; + ::apache::thrift::protocol::TType _vtype529; + xfer += iprot->readMapBegin(_ktype528, _vtype529, _size527); + uint32_t _i531; + for (_i531 = 0; _i531 < _size527; ++_i531) { - std::string _key526; - xfer += iprot->readString(_key526); - std::string& _val527 = this->partitionSpecs[_key526]; - xfer += iprot->readString(_val527); + std::string _key532; + xfer += iprot->readString(_key532); + std::string& _val533 = this->partitionSpecs[_key532]; + xfer += iprot->readString(_val533); } xfer += iprot->readMapEnd(); } @@ -9274,11 +9274,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 _iter528; - for (_iter528 = this->partitionSpecs.begin(); _iter528 != this->partitionSpecs.end(); ++_iter528) + std::map ::const_iterator _iter534; + for (_iter534 = this->partitionSpecs.begin(); _iter534 != this->partitionSpecs.end(); ++_iter534) { - xfer += oprot->writeString(_iter528->first); - xfer += oprot->writeString(_iter528->second); + xfer += oprot->writeString(_iter534->first); + xfer += oprot->writeString(_iter534->second); } xfer += oprot->writeMapEnd(); } @@ -9312,11 +9312,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 _iter529; - for (_iter529 = (*(this->partitionSpecs)).begin(); _iter529 != (*(this->partitionSpecs)).end(); ++_iter529) + std::map ::const_iterator _iter535; + for (_iter535 = (*(this->partitionSpecs)).begin(); _iter535 != (*(this->partitionSpecs)).end(); ++_iter535) { - xfer += oprot->writeString(_iter529->first); - xfer += oprot->writeString(_iter529->second); + xfer += oprot->writeString(_iter535->first); + xfer += oprot->writeString(_iter535->second); } xfer += oprot->writeMapEnd(); } @@ -9559,14 +9559,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 _size530; - ::apache::thrift::protocol::TType _etype533; - xfer += iprot->readListBegin(_etype533, _size530); - this->part_vals.resize(_size530); - uint32_t _i534; - for (_i534 = 0; _i534 < _size530; ++_i534) + uint32_t _size536; + ::apache::thrift::protocol::TType _etype539; + xfer += iprot->readListBegin(_etype539, _size536); + this->part_vals.resize(_size536); + uint32_t _i540; + for (_i540 = 0; _i540 < _size536; ++_i540) { - xfer += iprot->readString(this->part_vals[_i534]); + xfer += iprot->readString(this->part_vals[_i540]); } xfer += iprot->readListEnd(); } @@ -9587,14 +9587,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 _size535; - ::apache::thrift::protocol::TType _etype538; - xfer += iprot->readListBegin(_etype538, _size535); - this->group_names.resize(_size535); - uint32_t _i539; - for (_i539 = 0; _i539 < _size535; ++_i539) + uint32_t _size541; + ::apache::thrift::protocol::TType _etype544; + xfer += iprot->readListBegin(_etype544, _size541); + this->group_names.resize(_size541); + uint32_t _i545; + for (_i545 = 0; _i545 < _size541; ++_i545) { - xfer += iprot->readString(this->group_names[_i539]); + xfer += iprot->readString(this->group_names[_i545]); } xfer += iprot->readListEnd(); } @@ -9630,10 +9630,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 _iter540; - for (_iter540 = this->part_vals.begin(); _iter540 != this->part_vals.end(); ++_iter540) + std::vector ::const_iterator _iter546; + for (_iter546 = this->part_vals.begin(); _iter546 != this->part_vals.end(); ++_iter546) { - xfer += oprot->writeString((*_iter540)); + xfer += oprot->writeString((*_iter546)); } xfer += oprot->writeListEnd(); } @@ -9646,10 +9646,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 _iter541; - for (_iter541 = this->group_names.begin(); _iter541 != this->group_names.end(); ++_iter541) + std::vector ::const_iterator _iter547; + for (_iter547 = this->group_names.begin(); _iter547 != this->group_names.end(); ++_iter547) { - xfer += oprot->writeString((*_iter541)); + xfer += oprot->writeString((*_iter547)); } xfer += oprot->writeListEnd(); } @@ -9675,10 +9675,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 _iter542; - for (_iter542 = (*(this->part_vals)).begin(); _iter542 != (*(this->part_vals)).end(); ++_iter542) + std::vector ::const_iterator _iter548; + for (_iter548 = (*(this->part_vals)).begin(); _iter548 != (*(this->part_vals)).end(); ++_iter548) { - xfer += oprot->writeString((*_iter542)); + xfer += oprot->writeString((*_iter548)); } xfer += oprot->writeListEnd(); } @@ -9691,10 +9691,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 _iter543; - for (_iter543 = (*(this->group_names)).begin(); _iter543 != (*(this->group_names)).end(); ++_iter543) + std::vector ::const_iterator _iter549; + for (_iter549 = (*(this->group_names)).begin(); _iter549 != (*(this->group_names)).end(); ++_iter549) { - xfer += oprot->writeString((*_iter543)); + xfer += oprot->writeString((*_iter549)); } xfer += oprot->writeListEnd(); } @@ -10197,14 +10197,14 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size544; - ::apache::thrift::protocol::TType _etype547; - xfer += iprot->readListBegin(_etype547, _size544); - this->success.resize(_size544); - uint32_t _i548; - for (_i548 = 0; _i548 < _size544; ++_i548) + uint32_t _size550; + ::apache::thrift::protocol::TType _etype553; + xfer += iprot->readListBegin(_etype553, _size550); + this->success.resize(_size550); + uint32_t _i554; + for (_i554 = 0; _i554 < _size550; ++_i554) { - xfer += this->success[_i548].read(iprot); + xfer += this->success[_i554].read(iprot); } xfer += iprot->readListEnd(); } @@ -10251,10 +10251,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 _iter549; - for (_iter549 = this->success.begin(); _iter549 != this->success.end(); ++_iter549) + std::vector ::const_iterator _iter555; + for (_iter555 = this->success.begin(); _iter555 != this->success.end(); ++_iter555) { - xfer += (*_iter549).write(oprot); + xfer += (*_iter555).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10297,14 +10297,14 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size550; - ::apache::thrift::protocol::TType _etype553; - xfer += iprot->readListBegin(_etype553, _size550); - (*(this->success)).resize(_size550); - uint32_t _i554; - for (_i554 = 0; _i554 < _size550; ++_i554) + uint32_t _size556; + ::apache::thrift::protocol::TType _etype559; + xfer += iprot->readListBegin(_etype559, _size556); + (*(this->success)).resize(_size556); + uint32_t _i560; + for (_i560 = 0; _i560 < _size556; ++_i560) { - xfer += (*(this->success))[_i554].read(iprot); + xfer += (*(this->success))[_i560].read(iprot); } xfer += iprot->readListEnd(); } @@ -10397,14 +10397,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 _size555; - ::apache::thrift::protocol::TType _etype558; - xfer += iprot->readListBegin(_etype558, _size555); - this->group_names.resize(_size555); - uint32_t _i559; - for (_i559 = 0; _i559 < _size555; ++_i559) + uint32_t _size561; + ::apache::thrift::protocol::TType _etype564; + xfer += iprot->readListBegin(_etype564, _size561); + this->group_names.resize(_size561); + uint32_t _i565; + for (_i565 = 0; _i565 < _size561; ++_i565) { - xfer += iprot->readString(this->group_names[_i559]); + xfer += iprot->readString(this->group_names[_i565]); } xfer += iprot->readListEnd(); } @@ -10448,10 +10448,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 _iter560; - for (_iter560 = this->group_names.begin(); _iter560 != this->group_names.end(); ++_iter560) + std::vector ::const_iterator _iter566; + for (_iter566 = this->group_names.begin(); _iter566 != this->group_names.end(); ++_iter566) { - xfer += oprot->writeString((*_iter560)); + xfer += oprot->writeString((*_iter566)); } xfer += oprot->writeListEnd(); } @@ -10485,10 +10485,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 _iter561; - for (_iter561 = (*(this->group_names)).begin(); _iter561 != (*(this->group_names)).end(); ++_iter561) + std::vector ::const_iterator _iter567; + for (_iter567 = (*(this->group_names)).begin(); _iter567 != (*(this->group_names)).end(); ++_iter567) { - xfer += oprot->writeString((*_iter561)); + xfer += oprot->writeString((*_iter567)); } xfer += oprot->writeListEnd(); } @@ -10523,14 +10523,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size562; - ::apache::thrift::protocol::TType _etype565; - xfer += iprot->readListBegin(_etype565, _size562); - this->success.resize(_size562); - uint32_t _i566; - for (_i566 = 0; _i566 < _size562; ++_i566) + uint32_t _size568; + ::apache::thrift::protocol::TType _etype571; + xfer += iprot->readListBegin(_etype571, _size568); + this->success.resize(_size568); + uint32_t _i572; + for (_i572 = 0; _i572 < _size568; ++_i572) { - xfer += this->success[_i566].read(iprot); + xfer += this->success[_i572].read(iprot); } xfer += iprot->readListEnd(); } @@ -10577,10 +10577,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 _iter567; - for (_iter567 = this->success.begin(); _iter567 != this->success.end(); ++_iter567) + std::vector ::const_iterator _iter573; + for (_iter573 = this->success.begin(); _iter573 != this->success.end(); ++_iter573) { - xfer += (*_iter567).write(oprot); + xfer += (*_iter573).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10623,14 +10623,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size568; - ::apache::thrift::protocol::TType _etype571; - xfer += iprot->readListBegin(_etype571, _size568); - (*(this->success)).resize(_size568); - uint32_t _i572; - for (_i572 = 0; _i572 < _size568; ++_i572) + uint32_t _size574; + ::apache::thrift::protocol::TType _etype577; + xfer += iprot->readListBegin(_etype577, _size574); + (*(this->success)).resize(_size574); + uint32_t _i578; + for (_i578 = 0; _i578 < _size574; ++_i578) { - xfer += (*(this->success))[_i572].read(iprot); + xfer += (*(this->success))[_i578].read(iprot); } xfer += iprot->readListEnd(); } @@ -10789,14 +10789,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size573; - ::apache::thrift::protocol::TType _etype576; - xfer += iprot->readListBegin(_etype576, _size573); - this->success.resize(_size573); - uint32_t _i577; - for (_i577 = 0; _i577 < _size573; ++_i577) + uint32_t _size579; + ::apache::thrift::protocol::TType _etype582; + xfer += iprot->readListBegin(_etype582, _size579); + this->success.resize(_size579); + uint32_t _i583; + for (_i583 = 0; _i583 < _size579; ++_i583) { - xfer += iprot->readString(this->success[_i577]); + xfer += iprot->readString(this->success[_i583]); } xfer += iprot->readListEnd(); } @@ -10835,10 +10835,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 _iter578; - for (_iter578 = this->success.begin(); _iter578 != this->success.end(); ++_iter578) + std::vector ::const_iterator _iter584; + for (_iter584 = this->success.begin(); _iter584 != this->success.end(); ++_iter584) { - xfer += oprot->writeString((*_iter578)); + xfer += oprot->writeString((*_iter584)); } xfer += oprot->writeListEnd(); } @@ -10877,14 +10877,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size579; - ::apache::thrift::protocol::TType _etype582; - xfer += iprot->readListBegin(_etype582, _size579); - (*(this->success)).resize(_size579); - uint32_t _i583; - for (_i583 = 0; _i583 < _size579; ++_i583) + uint32_t _size585; + ::apache::thrift::protocol::TType _etype588; + xfer += iprot->readListBegin(_etype588, _size585); + (*(this->success)).resize(_size585); + uint32_t _i589; + for (_i589 = 0; _i589 < _size585; ++_i589) { - xfer += iprot->readString((*(this->success))[_i583]); + xfer += iprot->readString((*(this->success))[_i589]); } xfer += iprot->readListEnd(); } @@ -10953,14 +10953,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 _size584; - ::apache::thrift::protocol::TType _etype587; - xfer += iprot->readListBegin(_etype587, _size584); - this->part_vals.resize(_size584); - uint32_t _i588; - for (_i588 = 0; _i588 < _size584; ++_i588) + uint32_t _size590; + ::apache::thrift::protocol::TType _etype593; + xfer += iprot->readListBegin(_etype593, _size590); + this->part_vals.resize(_size590); + uint32_t _i594; + for (_i594 = 0; _i594 < _size590; ++_i594) { - xfer += iprot->readString(this->part_vals[_i588]); + xfer += iprot->readString(this->part_vals[_i594]); } xfer += iprot->readListEnd(); } @@ -11004,10 +11004,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 _iter589; - for (_iter589 = this->part_vals.begin(); _iter589 != this->part_vals.end(); ++_iter589) + std::vector ::const_iterator _iter595; + for (_iter595 = this->part_vals.begin(); _iter595 != this->part_vals.end(); ++_iter595) { - xfer += oprot->writeString((*_iter589)); + xfer += oprot->writeString((*_iter595)); } xfer += oprot->writeListEnd(); } @@ -11037,10 +11037,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 _iter590; - for (_iter590 = (*(this->part_vals)).begin(); _iter590 != (*(this->part_vals)).end(); ++_iter590) + std::vector ::const_iterator _iter596; + for (_iter596 = (*(this->part_vals)).begin(); _iter596 != (*(this->part_vals)).end(); ++_iter596) { - xfer += oprot->writeString((*_iter590)); + xfer += oprot->writeString((*_iter596)); } xfer += oprot->writeListEnd(); } @@ -11079,14 +11079,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size591; - ::apache::thrift::protocol::TType _etype594; - xfer += iprot->readListBegin(_etype594, _size591); - this->success.resize(_size591); - uint32_t _i595; - for (_i595 = 0; _i595 < _size591; ++_i595) + uint32_t _size597; + ::apache::thrift::protocol::TType _etype600; + xfer += iprot->readListBegin(_etype600, _size597); + this->success.resize(_size597); + uint32_t _i601; + for (_i601 = 0; _i601 < _size597; ++_i601) { - xfer += this->success[_i595].read(iprot); + xfer += this->success[_i601].read(iprot); } xfer += iprot->readListEnd(); } @@ -11133,10 +11133,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 _iter596; - for (_iter596 = this->success.begin(); _iter596 != this->success.end(); ++_iter596) + std::vector ::const_iterator _iter602; + for (_iter602 = this->success.begin(); _iter602 != this->success.end(); ++_iter602) { - xfer += (*_iter596).write(oprot); + xfer += (*_iter602).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11179,14 +11179,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size597; - ::apache::thrift::protocol::TType _etype600; - xfer += iprot->readListBegin(_etype600, _size597); - (*(this->success)).resize(_size597); - uint32_t _i601; - for (_i601 = 0; _i601 < _size597; ++_i601) + uint32_t _size603; + ::apache::thrift::protocol::TType _etype606; + xfer += iprot->readListBegin(_etype606, _size603); + (*(this->success)).resize(_size603); + uint32_t _i607; + for (_i607 = 0; _i607 < _size603; ++_i607) { - xfer += (*(this->success))[_i601].read(iprot); + xfer += (*(this->success))[_i607].read(iprot); } xfer += iprot->readListEnd(); } @@ -11263,14 +11263,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 _size602; - ::apache::thrift::protocol::TType _etype605; - xfer += iprot->readListBegin(_etype605, _size602); - this->part_vals.resize(_size602); - uint32_t _i606; - for (_i606 = 0; _i606 < _size602; ++_i606) + uint32_t _size608; + ::apache::thrift::protocol::TType _etype611; + xfer += iprot->readListBegin(_etype611, _size608); + this->part_vals.resize(_size608); + uint32_t _i612; + for (_i612 = 0; _i612 < _size608; ++_i612) { - xfer += iprot->readString(this->part_vals[_i606]); + xfer += iprot->readString(this->part_vals[_i612]); } xfer += iprot->readListEnd(); } @@ -11299,14 +11299,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 _size607; - ::apache::thrift::protocol::TType _etype610; - xfer += iprot->readListBegin(_etype610, _size607); - this->group_names.resize(_size607); - uint32_t _i611; - for (_i611 = 0; _i611 < _size607; ++_i611) + uint32_t _size613; + ::apache::thrift::protocol::TType _etype616; + xfer += iprot->readListBegin(_etype616, _size613); + this->group_names.resize(_size613); + uint32_t _i617; + for (_i617 = 0; _i617 < _size613; ++_i617) { - xfer += iprot->readString(this->group_names[_i611]); + xfer += iprot->readString(this->group_names[_i617]); } xfer += iprot->readListEnd(); } @@ -11342,10 +11342,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 _iter612; - for (_iter612 = this->part_vals.begin(); _iter612 != this->part_vals.end(); ++_iter612) + std::vector ::const_iterator _iter618; + for (_iter618 = this->part_vals.begin(); _iter618 != this->part_vals.end(); ++_iter618) { - xfer += oprot->writeString((*_iter612)); + xfer += oprot->writeString((*_iter618)); } xfer += oprot->writeListEnd(); } @@ -11362,10 +11362,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 _iter613; - for (_iter613 = this->group_names.begin(); _iter613 != this->group_names.end(); ++_iter613) + std::vector ::const_iterator _iter619; + for (_iter619 = this->group_names.begin(); _iter619 != this->group_names.end(); ++_iter619) { - xfer += oprot->writeString((*_iter613)); + xfer += oprot->writeString((*_iter619)); } xfer += oprot->writeListEnd(); } @@ -11391,10 +11391,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 _iter614; - for (_iter614 = (*(this->part_vals)).begin(); _iter614 != (*(this->part_vals)).end(); ++_iter614) + std::vector ::const_iterator _iter620; + for (_iter620 = (*(this->part_vals)).begin(); _iter620 != (*(this->part_vals)).end(); ++_iter620) { - xfer += oprot->writeString((*_iter614)); + xfer += oprot->writeString((*_iter620)); } xfer += oprot->writeListEnd(); } @@ -11411,10 +11411,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 _iter615; - for (_iter615 = (*(this->group_names)).begin(); _iter615 != (*(this->group_names)).end(); ++_iter615) + std::vector ::const_iterator _iter621; + for (_iter621 = (*(this->group_names)).begin(); _iter621 != (*(this->group_names)).end(); ++_iter621) { - xfer += oprot->writeString((*_iter615)); + xfer += oprot->writeString((*_iter621)); } xfer += oprot->writeListEnd(); } @@ -11449,14 +11449,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size616; - ::apache::thrift::protocol::TType _etype619; - xfer += iprot->readListBegin(_etype619, _size616); - this->success.resize(_size616); - uint32_t _i620; - for (_i620 = 0; _i620 < _size616; ++_i620) + uint32_t _size622; + ::apache::thrift::protocol::TType _etype625; + xfer += iprot->readListBegin(_etype625, _size622); + this->success.resize(_size622); + uint32_t _i626; + for (_i626 = 0; _i626 < _size622; ++_i626) { - xfer += this->success[_i620].read(iprot); + xfer += this->success[_i626].read(iprot); } xfer += iprot->readListEnd(); } @@ -11503,10 +11503,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 _iter621; - for (_iter621 = this->success.begin(); _iter621 != this->success.end(); ++_iter621) + std::vector ::const_iterator _iter627; + for (_iter627 = this->success.begin(); _iter627 != this->success.end(); ++_iter627) { - xfer += (*_iter621).write(oprot); + xfer += (*_iter627).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11549,14 +11549,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size622; - ::apache::thrift::protocol::TType _etype625; - xfer += iprot->readListBegin(_etype625, _size622); - (*(this->success)).resize(_size622); - uint32_t _i626; - for (_i626 = 0; _i626 < _size622; ++_i626) + uint32_t _size628; + ::apache::thrift::protocol::TType _etype631; + xfer += iprot->readListBegin(_etype631, _size628); + (*(this->success)).resize(_size628); + uint32_t _i632; + for (_i632 = 0; _i632 < _size628; ++_i632) { - xfer += (*(this->success))[_i626].read(iprot); + xfer += (*(this->success))[_i632].read(iprot); } xfer += iprot->readListEnd(); } @@ -11633,14 +11633,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 _size627; - ::apache::thrift::protocol::TType _etype630; - xfer += iprot->readListBegin(_etype630, _size627); - this->part_vals.resize(_size627); - uint32_t _i631; - for (_i631 = 0; _i631 < _size627; ++_i631) + uint32_t _size633; + ::apache::thrift::protocol::TType _etype636; + xfer += iprot->readListBegin(_etype636, _size633); + this->part_vals.resize(_size633); + uint32_t _i637; + for (_i637 = 0; _i637 < _size633; ++_i637) { - xfer += iprot->readString(this->part_vals[_i631]); + xfer += iprot->readString(this->part_vals[_i637]); } xfer += iprot->readListEnd(); } @@ -11684,10 +11684,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 _iter632; - for (_iter632 = this->part_vals.begin(); _iter632 != this->part_vals.end(); ++_iter632) + std::vector ::const_iterator _iter638; + for (_iter638 = this->part_vals.begin(); _iter638 != this->part_vals.end(); ++_iter638) { - xfer += oprot->writeString((*_iter632)); + xfer += oprot->writeString((*_iter638)); } xfer += oprot->writeListEnd(); } @@ -11717,10 +11717,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 _iter633; - for (_iter633 = (*(this->part_vals)).begin(); _iter633 != (*(this->part_vals)).end(); ++_iter633) + std::vector ::const_iterator _iter639; + for (_iter639 = (*(this->part_vals)).begin(); _iter639 != (*(this->part_vals)).end(); ++_iter639) { - xfer += oprot->writeString((*_iter633)); + xfer += oprot->writeString((*_iter639)); } xfer += oprot->writeListEnd(); } @@ -11759,14 +11759,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size634; - ::apache::thrift::protocol::TType _etype637; - xfer += iprot->readListBegin(_etype637, _size634); - this->success.resize(_size634); - uint32_t _i638; - for (_i638 = 0; _i638 < _size634; ++_i638) + uint32_t _size640; + ::apache::thrift::protocol::TType _etype643; + xfer += iprot->readListBegin(_etype643, _size640); + this->success.resize(_size640); + uint32_t _i644; + for (_i644 = 0; _i644 < _size640; ++_i644) { - xfer += iprot->readString(this->success[_i638]); + xfer += iprot->readString(this->success[_i644]); } xfer += iprot->readListEnd(); } @@ -11813,10 +11813,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 _iter639; - for (_iter639 = this->success.begin(); _iter639 != this->success.end(); ++_iter639) + std::vector ::const_iterator _iter645; + for (_iter645 = this->success.begin(); _iter645 != this->success.end(); ++_iter645) { - xfer += oprot->writeString((*_iter639)); + xfer += oprot->writeString((*_iter645)); } xfer += oprot->writeListEnd(); } @@ -11859,14 +11859,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size640; - ::apache::thrift::protocol::TType _etype643; - xfer += iprot->readListBegin(_etype643, _size640); - (*(this->success)).resize(_size640); - uint32_t _i644; - for (_i644 = 0; _i644 < _size640; ++_i644) + uint32_t _size646; + ::apache::thrift::protocol::TType _etype649; + xfer += iprot->readListBegin(_etype649, _size646); + (*(this->success)).resize(_size646); + uint32_t _i650; + for (_i650 = 0; _i650 < _size646; ++_i650) { - xfer += iprot->readString((*(this->success))[_i644]); + xfer += iprot->readString((*(this->success))[_i650]); } xfer += iprot->readListEnd(); } @@ -12041,14 +12041,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size645; - ::apache::thrift::protocol::TType _etype648; - xfer += iprot->readListBegin(_etype648, _size645); - this->success.resize(_size645); - uint32_t _i649; - for (_i649 = 0; _i649 < _size645; ++_i649) + uint32_t _size651; + ::apache::thrift::protocol::TType _etype654; + xfer += iprot->readListBegin(_etype654, _size651); + this->success.resize(_size651); + uint32_t _i655; + for (_i655 = 0; _i655 < _size651; ++_i655) { - xfer += this->success[_i649].read(iprot); + xfer += this->success[_i655].read(iprot); } xfer += iprot->readListEnd(); } @@ -12095,10 +12095,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 _iter650; - for (_iter650 = this->success.begin(); _iter650 != this->success.end(); ++_iter650) + std::vector ::const_iterator _iter656; + for (_iter656 = this->success.begin(); _iter656 != this->success.end(); ++_iter656) { - xfer += (*_iter650).write(oprot); + xfer += (*_iter656).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12141,14 +12141,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size651; - ::apache::thrift::protocol::TType _etype654; - xfer += iprot->readListBegin(_etype654, _size651); - (*(this->success)).resize(_size651); - uint32_t _i655; - for (_i655 = 0; _i655 < _size651; ++_i655) + uint32_t _size657; + ::apache::thrift::protocol::TType _etype660; + xfer += iprot->readListBegin(_etype660, _size657); + (*(this->success)).resize(_size657); + uint32_t _i661; + for (_i661 = 0; _i661 < _size657; ++_i661) { - xfer += (*(this->success))[_i655].read(iprot); + xfer += (*(this->success))[_i661].read(iprot); } xfer += iprot->readListEnd(); } @@ -12427,14 +12427,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size656; - ::apache::thrift::protocol::TType _etype659; - xfer += iprot->readListBegin(_etype659, _size656); - this->names.resize(_size656); - uint32_t _i660; - for (_i660 = 0; _i660 < _size656; ++_i660) + uint32_t _size662; + ::apache::thrift::protocol::TType _etype665; + xfer += iprot->readListBegin(_etype665, _size662); + this->names.resize(_size662); + uint32_t _i666; + for (_i666 = 0; _i666 < _size662; ++_i666) { - xfer += iprot->readString(this->names[_i660]); + xfer += iprot->readString(this->names[_i666]); } xfer += iprot->readListEnd(); } @@ -12470,10 +12470,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 _iter661; - for (_iter661 = this->names.begin(); _iter661 != this->names.end(); ++_iter661) + std::vector ::const_iterator _iter667; + for (_iter667 = this->names.begin(); _iter667 != this->names.end(); ++_iter667) { - xfer += oprot->writeString((*_iter661)); + xfer += oprot->writeString((*_iter667)); } xfer += oprot->writeListEnd(); } @@ -12499,10 +12499,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 _iter662; - for (_iter662 = (*(this->names)).begin(); _iter662 != (*(this->names)).end(); ++_iter662) + std::vector ::const_iterator _iter668; + for (_iter668 = (*(this->names)).begin(); _iter668 != (*(this->names)).end(); ++_iter668) { - xfer += oprot->writeString((*_iter662)); + xfer += oprot->writeString((*_iter668)); } xfer += oprot->writeListEnd(); } @@ -12537,14 +12537,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size663; - ::apache::thrift::protocol::TType _etype666; - xfer += iprot->readListBegin(_etype666, _size663); - this->success.resize(_size663); - uint32_t _i667; - for (_i667 = 0; _i667 < _size663; ++_i667) + uint32_t _size669; + ::apache::thrift::protocol::TType _etype672; + xfer += iprot->readListBegin(_etype672, _size669); + this->success.resize(_size669); + uint32_t _i673; + for (_i673 = 0; _i673 < _size669; ++_i673) { - xfer += this->success[_i667].read(iprot); + xfer += this->success[_i673].read(iprot); } xfer += iprot->readListEnd(); } @@ -12591,10 +12591,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 _iter668; - for (_iter668 = this->success.begin(); _iter668 != this->success.end(); ++_iter668) + std::vector ::const_iterator _iter674; + for (_iter674 = this->success.begin(); _iter674 != this->success.end(); ++_iter674) { - xfer += (*_iter668).write(oprot); + xfer += (*_iter674).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12637,14 +12637,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size669; - ::apache::thrift::protocol::TType _etype672; - xfer += iprot->readListBegin(_etype672, _size669); - (*(this->success)).resize(_size669); - uint32_t _i673; - for (_i673 = 0; _i673 < _size669; ++_i673) + uint32_t _size675; + ::apache::thrift::protocol::TType _etype678; + xfer += iprot->readListBegin(_etype678, _size675); + (*(this->success)).resize(_size675); + uint32_t _i679; + for (_i679 = 0; _i679 < _size675; ++_i679) { - xfer += (*(this->success))[_i673].read(iprot); + xfer += (*(this->success))[_i679].read(iprot); } xfer += iprot->readListEnd(); } @@ -12935,14 +12935,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size674; - ::apache::thrift::protocol::TType _etype677; - xfer += iprot->readListBegin(_etype677, _size674); - this->new_parts.resize(_size674); - uint32_t _i678; - for (_i678 = 0; _i678 < _size674; ++_i678) + uint32_t _size680; + ::apache::thrift::protocol::TType _etype683; + xfer += iprot->readListBegin(_etype683, _size680); + this->new_parts.resize(_size680); + uint32_t _i684; + for (_i684 = 0; _i684 < _size680; ++_i684) { - xfer += this->new_parts[_i678].read(iprot); + xfer += this->new_parts[_i684].read(iprot); } xfer += iprot->readListEnd(); } @@ -12978,10 +12978,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 _iter679; - for (_iter679 = this->new_parts.begin(); _iter679 != this->new_parts.end(); ++_iter679) + std::vector ::const_iterator _iter685; + for (_iter685 = this->new_parts.begin(); _iter685 != this->new_parts.end(); ++_iter685) { - xfer += (*_iter679).write(oprot); + xfer += (*_iter685).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13007,10 +13007,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 _iter680; - for (_iter680 = (*(this->new_parts)).begin(); _iter680 != (*(this->new_parts)).end(); ++_iter680) + std::vector ::const_iterator _iter686; + for (_iter686 = (*(this->new_parts)).begin(); _iter686 != (*(this->new_parts)).end(); ++_iter686) { - xfer += (*_iter680).write(oprot); + xfer += (*_iter686).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13407,14 +13407,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size681; - ::apache::thrift::protocol::TType _etype684; - xfer += iprot->readListBegin(_etype684, _size681); - this->part_vals.resize(_size681); - uint32_t _i685; - for (_i685 = 0; _i685 < _size681; ++_i685) + uint32_t _size687; + ::apache::thrift::protocol::TType _etype690; + xfer += iprot->readListBegin(_etype690, _size687); + this->part_vals.resize(_size687); + uint32_t _i691; + for (_i691 = 0; _i691 < _size687; ++_i691) { - xfer += iprot->readString(this->part_vals[_i685]); + xfer += iprot->readString(this->part_vals[_i691]); } xfer += iprot->readListEnd(); } @@ -13458,10 +13458,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 _iter686; - for (_iter686 = this->part_vals.begin(); _iter686 != this->part_vals.end(); ++_iter686) + std::vector ::const_iterator _iter692; + for (_iter692 = this->part_vals.begin(); _iter692 != this->part_vals.end(); ++_iter692) { - xfer += oprot->writeString((*_iter686)); + xfer += oprot->writeString((*_iter692)); } xfer += oprot->writeListEnd(); } @@ -13491,10 +13491,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 _iter687; - for (_iter687 = (*(this->part_vals)).begin(); _iter687 != (*(this->part_vals)).end(); ++_iter687) + std::vector ::const_iterator _iter693; + for (_iter693 = (*(this->part_vals)).begin(); _iter693 != (*(this->part_vals)).end(); ++_iter693) { - xfer += oprot->writeString((*_iter687)); + xfer += oprot->writeString((*_iter693)); } xfer += oprot->writeListEnd(); } @@ -13649,14 +13649,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 _size688; - ::apache::thrift::protocol::TType _etype691; - xfer += iprot->readListBegin(_etype691, _size688); - this->part_vals.resize(_size688); - uint32_t _i692; - for (_i692 = 0; _i692 < _size688; ++_i692) + uint32_t _size694; + ::apache::thrift::protocol::TType _etype697; + xfer += iprot->readListBegin(_etype697, _size694); + this->part_vals.resize(_size694); + uint32_t _i698; + for (_i698 = 0; _i698 < _size694; ++_i698) { - xfer += iprot->readString(this->part_vals[_i692]); + xfer += iprot->readString(this->part_vals[_i698]); } xfer += iprot->readListEnd(); } @@ -13692,10 +13692,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 _iter693; - for (_iter693 = this->part_vals.begin(); _iter693 != this->part_vals.end(); ++_iter693) + std::vector ::const_iterator _iter699; + for (_iter699 = this->part_vals.begin(); _iter699 != this->part_vals.end(); ++_iter699) { - xfer += oprot->writeString((*_iter693)); + xfer += oprot->writeString((*_iter699)); } xfer += oprot->writeListEnd(); } @@ -13717,10 +13717,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 _iter694; - for (_iter694 = (*(this->part_vals)).begin(); _iter694 != (*(this->part_vals)).end(); ++_iter694) + std::vector ::const_iterator _iter700; + for (_iter700 = (*(this->part_vals)).begin(); _iter700 != (*(this->part_vals)).end(); ++_iter700) { - xfer += oprot->writeString((*_iter694)); + xfer += oprot->writeString((*_iter700)); } xfer += oprot->writeListEnd(); } @@ -14139,102 +14139,102 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size695; - ::apache::thrift::protocol::TType _etype698; - xfer += iprot->readListBegin(_etype698, _size695); - this->success.resize(_size695); - uint32_t _i699; - for (_i699 = 0; _i699 < _size695; ++_i699) - { - xfer += iprot->readString(this->success[_i699]); - } - xfer += iprot->readListEnd(); - } - 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; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t ThriftHiveMetastore_partition_name_to_vals_result::write(::apache::thrift::protocol::TProtocol* oprot) const { - - uint32_t xfer = 0; - - xfer += oprot->writeStructBegin("ThriftHiveMetastore_partition_name_to_vals_result"); - - if (this->__isset.success) { - 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 _iter700; - for (_iter700 = this->success.begin(); _iter700 != this->success.end(); ++_iter700) - { - xfer += oprot->writeString((*_iter700)); - } - xfer += oprot->writeListEnd(); - } - 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(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thrift::protocol::TProtocol* 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_LIST) { - { - (*(this->success)).clear(); uint32_t _size701; ::apache::thrift::protocol::TType _etype704; xfer += iprot->readListBegin(_etype704, _size701); - (*(this->success)).resize(_size701); + this->success.resize(_size701); uint32_t _i705; for (_i705 = 0; _i705 < _size701; ++_i705) { - xfer += iprot->readString((*(this->success))[_i705]); + xfer += iprot->readString(this->success[_i705]); + } + xfer += iprot->readListEnd(); + } + 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; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t ThriftHiveMetastore_partition_name_to_vals_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("ThriftHiveMetastore_partition_name_to_vals_result"); + + if (this->__isset.success) { + 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 _iter706; + for (_iter706 = this->success.begin(); _iter706 != this->success.end(); ++_iter706) + { + xfer += oprot->writeString((*_iter706)); + } + xfer += oprot->writeListEnd(); + } + 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(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thrift::protocol::TProtocol* 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_LIST) { + { + (*(this->success)).clear(); + uint32_t _size707; + ::apache::thrift::protocol::TType _etype710; + xfer += iprot->readListBegin(_etype710, _size707); + (*(this->success)).resize(_size707); + uint32_t _i711; + for (_i711 = 0; _i711 < _size707; ++_i711) + { + xfer += iprot->readString((*(this->success))[_i711]); } xfer += iprot->readListEnd(); } @@ -14353,17 +14353,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - 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) + uint32_t _size712; + ::apache::thrift::protocol::TType _ktype713; + ::apache::thrift::protocol::TType _vtype714; + xfer += iprot->readMapBegin(_ktype713, _vtype714, _size712); + uint32_t _i716; + for (_i716 = 0; _i716 < _size712; ++_i716) { - std::string _key711; - xfer += iprot->readString(_key711); - std::string& _val712 = this->success[_key711]; - xfer += iprot->readString(_val712); + std::string _key717; + xfer += iprot->readString(_key717); + std::string& _val718 = this->success[_key717]; + xfer += iprot->readString(_val718); } xfer += iprot->readMapEnd(); } @@ -14402,11 +14402,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 _iter713; - for (_iter713 = this->success.begin(); _iter713 != this->success.end(); ++_iter713) + std::map ::const_iterator _iter719; + for (_iter719 = this->success.begin(); _iter719 != this->success.end(); ++_iter719) { - xfer += oprot->writeString(_iter713->first); - xfer += oprot->writeString(_iter713->second); + xfer += oprot->writeString(_iter719->first); + xfer += oprot->writeString(_iter719->second); } xfer += oprot->writeMapEnd(); } @@ -14445,17 +14445,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size714; - ::apache::thrift::protocol::TType _ktype715; - ::apache::thrift::protocol::TType _vtype716; - xfer += iprot->readMapBegin(_ktype715, _vtype716, _size714); - uint32_t _i718; - for (_i718 = 0; _i718 < _size714; ++_i718) + uint32_t _size720; + ::apache::thrift::protocol::TType _ktype721; + ::apache::thrift::protocol::TType _vtype722; + xfer += iprot->readMapBegin(_ktype721, _vtype722, _size720); + uint32_t _i724; + for (_i724 = 0; _i724 < _size720; ++_i724) { - std::string _key719; - xfer += iprot->readString(_key719); - std::string& _val720 = (*(this->success))[_key719]; - xfer += iprot->readString(_val720); + std::string _key725; + xfer += iprot->readString(_key725); + std::string& _val726 = (*(this->success))[_key725]; + xfer += iprot->readString(_val726); } xfer += iprot->readMapEnd(); } @@ -14524,17 +14524,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size721; - ::apache::thrift::protocol::TType _ktype722; - ::apache::thrift::protocol::TType _vtype723; - xfer += iprot->readMapBegin(_ktype722, _vtype723, _size721); - uint32_t _i725; - for (_i725 = 0; _i725 < _size721; ++_i725) + uint32_t _size727; + ::apache::thrift::protocol::TType _ktype728; + ::apache::thrift::protocol::TType _vtype729; + xfer += iprot->readMapBegin(_ktype728, _vtype729, _size727); + uint32_t _i731; + for (_i731 = 0; _i731 < _size727; ++_i731) { - std::string _key726; - xfer += iprot->readString(_key726); - std::string& _val727 = this->part_vals[_key726]; - xfer += iprot->readString(_val727); + std::string _key732; + xfer += iprot->readString(_key732); + std::string& _val733 = this->part_vals[_key732]; + xfer += iprot->readString(_val733); } xfer += iprot->readMapEnd(); } @@ -14545,9 +14545,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast728; - xfer += iprot->readI32(ecast728); - this->eventType = (PartitionEventType::type)ecast728; + int32_t ecast734; + xfer += iprot->readI32(ecast734); + this->eventType = (PartitionEventType::type)ecast734; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -14580,11 +14580,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 _iter729; - for (_iter729 = this->part_vals.begin(); _iter729 != this->part_vals.end(); ++_iter729) + std::map ::const_iterator _iter735; + for (_iter735 = this->part_vals.begin(); _iter735 != this->part_vals.end(); ++_iter735) { - xfer += oprot->writeString(_iter729->first); - xfer += oprot->writeString(_iter729->second); + xfer += oprot->writeString(_iter735->first); + xfer += oprot->writeString(_iter735->second); } xfer += oprot->writeMapEnd(); } @@ -14614,11 +14614,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 _iter730; - for (_iter730 = (*(this->part_vals)).begin(); _iter730 != (*(this->part_vals)).end(); ++_iter730) + std::map ::const_iterator _iter736; + for (_iter736 = (*(this->part_vals)).begin(); _iter736 != (*(this->part_vals)).end(); ++_iter736) { - xfer += oprot->writeString(_iter730->first); - xfer += oprot->writeString(_iter730->second); + xfer += oprot->writeString(_iter736->first); + xfer += oprot->writeString(_iter736->second); } xfer += oprot->writeMapEnd(); } @@ -14869,17 +14869,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size731; - ::apache::thrift::protocol::TType _ktype732; - ::apache::thrift::protocol::TType _vtype733; - xfer += iprot->readMapBegin(_ktype732, _vtype733, _size731); - uint32_t _i735; - for (_i735 = 0; _i735 < _size731; ++_i735) + uint32_t _size737; + ::apache::thrift::protocol::TType _ktype738; + ::apache::thrift::protocol::TType _vtype739; + xfer += iprot->readMapBegin(_ktype738, _vtype739, _size737); + uint32_t _i741; + for (_i741 = 0; _i741 < _size737; ++_i741) { - std::string _key736; - xfer += iprot->readString(_key736); - std::string& _val737 = this->part_vals[_key736]; - xfer += iprot->readString(_val737); + std::string _key742; + xfer += iprot->readString(_key742); + std::string& _val743 = this->part_vals[_key742]; + xfer += iprot->readString(_val743); } xfer += iprot->readMapEnd(); } @@ -14890,9 +14890,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast738; - xfer += iprot->readI32(ecast738); - this->eventType = (PartitionEventType::type)ecast738; + int32_t ecast744; + xfer += iprot->readI32(ecast744); + this->eventType = (PartitionEventType::type)ecast744; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -14925,11 +14925,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 _iter739; - for (_iter739 = this->part_vals.begin(); _iter739 != this->part_vals.end(); ++_iter739) + std::map ::const_iterator _iter745; + for (_iter745 = this->part_vals.begin(); _iter745 != this->part_vals.end(); ++_iter745) { - xfer += oprot->writeString(_iter739->first); - xfer += oprot->writeString(_iter739->second); + xfer += oprot->writeString(_iter745->first); + xfer += oprot->writeString(_iter745->second); } xfer += oprot->writeMapEnd(); } @@ -14959,11 +14959,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 _iter740; - for (_iter740 = (*(this->part_vals)).begin(); _iter740 != (*(this->part_vals)).end(); ++_iter740) + std::map ::const_iterator _iter746; + for (_iter746 = (*(this->part_vals)).begin(); _iter746 != (*(this->part_vals)).end(); ++_iter746) { - xfer += oprot->writeString(_iter740->first); - xfer += oprot->writeString(_iter740->second); + xfer += oprot->writeString(_iter746->first); + xfer += oprot->writeString(_iter746->second); } xfer += oprot->writeMapEnd(); } @@ -16268,14 +16268,14 @@ uint32_t ThriftHiveMetastore_get_indexes_result::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size741; - ::apache::thrift::protocol::TType _etype744; - xfer += iprot->readListBegin(_etype744, _size741); - this->success.resize(_size741); - uint32_t _i745; - for (_i745 = 0; _i745 < _size741; ++_i745) + uint32_t _size747; + ::apache::thrift::protocol::TType _etype750; + xfer += iprot->readListBegin(_etype750, _size747); + this->success.resize(_size747); + uint32_t _i751; + for (_i751 = 0; _i751 < _size747; ++_i751) { - xfer += this->success[_i745].read(iprot); + xfer += this->success[_i751].read(iprot); } xfer += iprot->readListEnd(); } @@ -16322,10 +16322,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 _iter746; - for (_iter746 = this->success.begin(); _iter746 != this->success.end(); ++_iter746) + std::vector ::const_iterator _iter752; + for (_iter752 = this->success.begin(); _iter752 != this->success.end(); ++_iter752) { - xfer += (*_iter746).write(oprot); + xfer += (*_iter752).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16368,14 +16368,14 @@ uint32_t ThriftHiveMetastore_get_indexes_presult::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size747; - ::apache::thrift::protocol::TType _etype750; - xfer += iprot->readListBegin(_etype750, _size747); - (*(this->success)).resize(_size747); - uint32_t _i751; - for (_i751 = 0; _i751 < _size747; ++_i751) + uint32_t _size753; + ::apache::thrift::protocol::TType _etype756; + xfer += iprot->readListBegin(_etype756, _size753); + (*(this->success)).resize(_size753); + uint32_t _i757; + for (_i757 = 0; _i757 < _size753; ++_i757) { - xfer += (*(this->success))[_i751].read(iprot); + xfer += (*(this->success))[_i757].read(iprot); } xfer += iprot->readListEnd(); } @@ -16534,14 +16534,14 @@ uint32_t ThriftHiveMetastore_get_index_names_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size752; - ::apache::thrift::protocol::TType _etype755; - xfer += iprot->readListBegin(_etype755, _size752); - this->success.resize(_size752); - uint32_t _i756; - for (_i756 = 0; _i756 < _size752; ++_i756) + uint32_t _size758; + ::apache::thrift::protocol::TType _etype761; + xfer += iprot->readListBegin(_etype761, _size758); + this->success.resize(_size758); + uint32_t _i762; + for (_i762 = 0; _i762 < _size758; ++_i762) { - xfer += iprot->readString(this->success[_i756]); + xfer += iprot->readString(this->success[_i762]); } xfer += iprot->readListEnd(); } @@ -16580,10 +16580,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 _iter757; - for (_iter757 = this->success.begin(); _iter757 != this->success.end(); ++_iter757) + std::vector ::const_iterator _iter763; + for (_iter763 = this->success.begin(); _iter763 != this->success.end(); ++_iter763) { - xfer += oprot->writeString((*_iter757)); + xfer += oprot->writeString((*_iter763)); } xfer += oprot->writeListEnd(); } @@ -16622,14 +16622,14 @@ uint32_t ThriftHiveMetastore_get_index_names_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size758; - ::apache::thrift::protocol::TType _etype761; - xfer += iprot->readListBegin(_etype761, _size758); - (*(this->success)).resize(_size758); - uint32_t _i762; - for (_i762 = 0; _i762 < _size758; ++_i762) + uint32_t _size764; + ::apache::thrift::protocol::TType _etype767; + xfer += iprot->readListBegin(_etype767, _size764); + (*(this->success)).resize(_size764); + uint32_t _i768; + for (_i768 = 0; _i768 < _size764; ++_i768) { - xfer += iprot->readString((*(this->success))[_i762]); + xfer += iprot->readString((*(this->success))[_i768]); } xfer += iprot->readListEnd(); } @@ -18312,6 +18312,248 @@ uint32_t ThriftHiveMetastore_get_aggr_stats_for_presult::read(::apache::thrift:: return xfer; } +uint32_t ThriftHiveMetastore_set_aggr_stats_for_args::read(::apache::thrift::protocol::TProtocol* 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_set_aggr_stats_for_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + xfer += oprot->writeStructBegin("ThriftHiveMetastore_set_aggr_stats_for_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; +} + +uint32_t ThriftHiveMetastore_set_aggr_stats_for_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + xfer += oprot->writeStructBegin("ThriftHiveMetastore_set_aggr_stats_for_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; +} + +uint32_t ThriftHiveMetastore_set_aggr_stats_for_result::read(::apache::thrift::protocol::TProtocol* 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_BOOL) { + xfer += iprot->readBool(this->success); + 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; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o3.read(iprot); + this->__isset.o3 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o4.read(iprot); + this->__isset.o4 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t ThriftHiveMetastore_set_aggr_stats_for_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("ThriftHiveMetastore_set_aggr_stats_for_result"); + + if (this->__isset.success) { + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_BOOL, 0); + xfer += oprot->writeBool(this->success); + 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(); + } else if (this->__isset.o3) { + xfer += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->o3.write(oprot); + xfer += oprot->writeFieldEnd(); + } else if (this->__isset.o4) { + xfer += oprot->writeFieldBegin("o4", ::apache::thrift::protocol::T_STRUCT, 4); + xfer += this->o4.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +uint32_t ThriftHiveMetastore_set_aggr_stats_for_presult::read(::apache::thrift::protocol::TProtocol* 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_BOOL) { + xfer += iprot->readBool((*(this->success))); + 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; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o3.read(iprot); + this->__isset.o3 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o4.read(iprot); + this->__isset.o4 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + uint32_t ThriftHiveMetastore_delete_partition_column_statistics_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -19616,14 +19858,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size763; - ::apache::thrift::protocol::TType _etype766; - xfer += iprot->readListBegin(_etype766, _size763); - this->success.resize(_size763); - uint32_t _i767; - for (_i767 = 0; _i767 < _size763; ++_i767) + uint32_t _size769; + ::apache::thrift::protocol::TType _etype772; + xfer += iprot->readListBegin(_etype772, _size769); + this->success.resize(_size769); + uint32_t _i773; + for (_i773 = 0; _i773 < _size769; ++_i773) { - xfer += iprot->readString(this->success[_i767]); + xfer += iprot->readString(this->success[_i773]); } xfer += iprot->readListEnd(); } @@ -19662,10 +19904,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 _iter768; - for (_iter768 = this->success.begin(); _iter768 != this->success.end(); ++_iter768) + std::vector ::const_iterator _iter774; + for (_iter774 = this->success.begin(); _iter774 != this->success.end(); ++_iter774) { - xfer += oprot->writeString((*_iter768)); + xfer += oprot->writeString((*_iter774)); } xfer += oprot->writeListEnd(); } @@ -19704,14 +19946,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size769; - ::apache::thrift::protocol::TType _etype772; - xfer += iprot->readListBegin(_etype772, _size769); - (*(this->success)).resize(_size769); - uint32_t _i773; - for (_i773 = 0; _i773 < _size769; ++_i773) + uint32_t _size775; + ::apache::thrift::protocol::TType _etype778; + xfer += iprot->readListBegin(_etype778, _size775); + (*(this->success)).resize(_size775); + uint32_t _i779; + for (_i779 = 0; _i779 < _size775; ++_i779) { - xfer += iprot->readString((*(this->success))[_i773]); + xfer += iprot->readString((*(this->success))[_i779]); } xfer += iprot->readListEnd(); } @@ -20391,14 +20633,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size774; - ::apache::thrift::protocol::TType _etype777; - xfer += iprot->readListBegin(_etype777, _size774); - this->success.resize(_size774); - uint32_t _i778; - for (_i778 = 0; _i778 < _size774; ++_i778) + uint32_t _size780; + ::apache::thrift::protocol::TType _etype783; + xfer += iprot->readListBegin(_etype783, _size780); + this->success.resize(_size780); + uint32_t _i784; + for (_i784 = 0; _i784 < _size780; ++_i784) { - xfer += iprot->readString(this->success[_i778]); + xfer += iprot->readString(this->success[_i784]); } xfer += iprot->readListEnd(); } @@ -20437,10 +20679,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 _iter779; - for (_iter779 = this->success.begin(); _iter779 != this->success.end(); ++_iter779) + std::vector ::const_iterator _iter785; + for (_iter785 = this->success.begin(); _iter785 != this->success.end(); ++_iter785) { - xfer += oprot->writeString((*_iter779)); + xfer += oprot->writeString((*_iter785)); } xfer += oprot->writeListEnd(); } @@ -20479,14 +20721,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size780; - ::apache::thrift::protocol::TType _etype783; - xfer += iprot->readListBegin(_etype783, _size780); - (*(this->success)).resize(_size780); - uint32_t _i784; - for (_i784 = 0; _i784 < _size780; ++_i784) + uint32_t _size786; + ::apache::thrift::protocol::TType _etype789; + xfer += iprot->readListBegin(_etype789, _size786); + (*(this->success)).resize(_size786); + uint32_t _i790; + for (_i790 = 0; _i790 < _size786; ++_i790) { - xfer += iprot->readString((*(this->success))[_i784]); + xfer += iprot->readString((*(this->success))[_i790]); } xfer += iprot->readListEnd(); } @@ -20553,9 +20795,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast785; - xfer += iprot->readI32(ecast785); - this->principal_type = (PrincipalType::type)ecast785; + int32_t ecast791; + xfer += iprot->readI32(ecast791); + this->principal_type = (PrincipalType::type)ecast791; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -20571,9 +20813,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast786; - xfer += iprot->readI32(ecast786); - this->grantorType = (PrincipalType::type)ecast786; + int32_t ecast792; + xfer += iprot->readI32(ecast792); + this->grantorType = (PrincipalType::type)ecast792; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -20819,9 +21061,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast787; - xfer += iprot->readI32(ecast787); - this->principal_type = (PrincipalType::type)ecast787; + int32_t ecast793; + xfer += iprot->readI32(ecast793); + this->principal_type = (PrincipalType::type)ecast793; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -21027,9 +21269,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast788; - xfer += iprot->readI32(ecast788); - this->principal_type = (PrincipalType::type)ecast788; + int32_t ecast794; + xfer += iprot->readI32(ecast794); + this->principal_type = (PrincipalType::type)ecast794; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -21105,14 +21347,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size789; - ::apache::thrift::protocol::TType _etype792; - xfer += iprot->readListBegin(_etype792, _size789); - this->success.resize(_size789); - uint32_t _i793; - for (_i793 = 0; _i793 < _size789; ++_i793) + uint32_t _size795; + ::apache::thrift::protocol::TType _etype798; + xfer += iprot->readListBegin(_etype798, _size795); + this->success.resize(_size795); + uint32_t _i799; + for (_i799 = 0; _i799 < _size795; ++_i799) { - xfer += this->success[_i793].read(iprot); + xfer += this->success[_i799].read(iprot); } xfer += iprot->readListEnd(); } @@ -21151,10 +21393,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 _iter794; - for (_iter794 = this->success.begin(); _iter794 != this->success.end(); ++_iter794) + std::vector ::const_iterator _iter800; + for (_iter800 = this->success.begin(); _iter800 != this->success.end(); ++_iter800) { - xfer += (*_iter794).write(oprot); + xfer += (*_iter800).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21193,14 +21435,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size795; - ::apache::thrift::protocol::TType _etype798; - xfer += iprot->readListBegin(_etype798, _size795); - (*(this->success)).resize(_size795); - uint32_t _i799; - for (_i799 = 0; _i799 < _size795; ++_i799) + uint32_t _size801; + ::apache::thrift::protocol::TType _etype804; + xfer += iprot->readListBegin(_etype804, _size801); + (*(this->success)).resize(_size801); + uint32_t _i805; + for (_i805 = 0; _i805 < _size801; ++_i805) { - xfer += (*(this->success))[_i799].read(iprot); + xfer += (*(this->success))[_i805].read(iprot); } xfer += iprot->readListEnd(); } @@ -21815,14 +22057,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 _size800; - ::apache::thrift::protocol::TType _etype803; - xfer += iprot->readListBegin(_etype803, _size800); - this->group_names.resize(_size800); - uint32_t _i804; - for (_i804 = 0; _i804 < _size800; ++_i804) + uint32_t _size806; + ::apache::thrift::protocol::TType _etype809; + xfer += iprot->readListBegin(_etype809, _size806); + this->group_names.resize(_size806); + uint32_t _i810; + for (_i810 = 0; _i810 < _size806; ++_i810) { - xfer += iprot->readString(this->group_names[_i804]); + xfer += iprot->readString(this->group_names[_i810]); } xfer += iprot->readListEnd(); } @@ -21858,10 +22100,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 _iter805; - for (_iter805 = this->group_names.begin(); _iter805 != this->group_names.end(); ++_iter805) + std::vector ::const_iterator _iter811; + for (_iter811 = this->group_names.begin(); _iter811 != this->group_names.end(); ++_iter811) { - xfer += oprot->writeString((*_iter805)); + xfer += oprot->writeString((*_iter811)); } xfer += oprot->writeListEnd(); } @@ -21887,10 +22129,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 _iter806; - for (_iter806 = (*(this->group_names)).begin(); _iter806 != (*(this->group_names)).end(); ++_iter806) + std::vector ::const_iterator _iter812; + for (_iter812 = (*(this->group_names)).begin(); _iter812 != (*(this->group_names)).end(); ++_iter812) { - xfer += oprot->writeString((*_iter806)); + xfer += oprot->writeString((*_iter812)); } xfer += oprot->writeListEnd(); } @@ -22047,9 +22289,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast807; - xfer += iprot->readI32(ecast807); - this->principal_type = (PrincipalType::type)ecast807; + int32_t ecast813; + xfer += iprot->readI32(ecast813); + this->principal_type = (PrincipalType::type)ecast813; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -22141,14 +22383,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size808; - ::apache::thrift::protocol::TType _etype811; - xfer += iprot->readListBegin(_etype811, _size808); - this->success.resize(_size808); - uint32_t _i812; - for (_i812 = 0; _i812 < _size808; ++_i812) + uint32_t _size814; + ::apache::thrift::protocol::TType _etype817; + xfer += iprot->readListBegin(_etype817, _size814); + this->success.resize(_size814); + uint32_t _i818; + for (_i818 = 0; _i818 < _size814; ++_i818) { - xfer += this->success[_i812].read(iprot); + xfer += this->success[_i818].read(iprot); } xfer += iprot->readListEnd(); } @@ -22187,10 +22429,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 _iter813; - for (_iter813 = this->success.begin(); _iter813 != this->success.end(); ++_iter813) + std::vector ::const_iterator _iter819; + for (_iter819 = this->success.begin(); _iter819 != this->success.end(); ++_iter819) { - xfer += (*_iter813).write(oprot); + xfer += (*_iter819).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22229,14 +22471,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size814; - ::apache::thrift::protocol::TType _etype817; - xfer += iprot->readListBegin(_etype817, _size814); - (*(this->success)).resize(_size814); - uint32_t _i818; - for (_i818 = 0; _i818 < _size814; ++_i818) + uint32_t _size820; + ::apache::thrift::protocol::TType _etype823; + xfer += iprot->readListBegin(_etype823, _size820); + (*(this->success)).resize(_size820); + uint32_t _i824; + for (_i824 = 0; _i824 < _size820; ++_i824) { - xfer += (*(this->success))[_i818].read(iprot); + xfer += (*(this->success))[_i824].read(iprot); } xfer += iprot->readListEnd(); } @@ -22843,14 +23085,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 _size819; - ::apache::thrift::protocol::TType _etype822; - xfer += iprot->readListBegin(_etype822, _size819); - this->group_names.resize(_size819); - uint32_t _i823; - for (_i823 = 0; _i823 < _size819; ++_i823) + uint32_t _size825; + ::apache::thrift::protocol::TType _etype828; + xfer += iprot->readListBegin(_etype828, _size825); + this->group_names.resize(_size825); + uint32_t _i829; + for (_i829 = 0; _i829 < _size825; ++_i829) { - xfer += iprot->readString(this->group_names[_i823]); + xfer += iprot->readString(this->group_names[_i829]); } xfer += iprot->readListEnd(); } @@ -22882,10 +23124,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 _iter824; - for (_iter824 = this->group_names.begin(); _iter824 != this->group_names.end(); ++_iter824) + std::vector ::const_iterator _iter830; + for (_iter830 = this->group_names.begin(); _iter830 != this->group_names.end(); ++_iter830) { - xfer += oprot->writeString((*_iter824)); + xfer += oprot->writeString((*_iter830)); } xfer += oprot->writeListEnd(); } @@ -22907,10 +23149,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 _iter825; - for (_iter825 = (*(this->group_names)).begin(); _iter825 != (*(this->group_names)).end(); ++_iter825) + std::vector ::const_iterator _iter831; + for (_iter831 = (*(this->group_names)).begin(); _iter831 != (*(this->group_names)).end(); ++_iter831) { - xfer += oprot->writeString((*_iter825)); + xfer += oprot->writeString((*_iter831)); } xfer += oprot->writeListEnd(); } @@ -22945,14 +23187,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size826; - ::apache::thrift::protocol::TType _etype829; - xfer += iprot->readListBegin(_etype829, _size826); - this->success.resize(_size826); - uint32_t _i830; - for (_i830 = 0; _i830 < _size826; ++_i830) + uint32_t _size832; + ::apache::thrift::protocol::TType _etype835; + xfer += iprot->readListBegin(_etype835, _size832); + this->success.resize(_size832); + uint32_t _i836; + for (_i836 = 0; _i836 < _size832; ++_i836) { - xfer += iprot->readString(this->success[_i830]); + xfer += iprot->readString(this->success[_i836]); } xfer += iprot->readListEnd(); } @@ -22991,10 +23233,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 _iter831; - for (_iter831 = this->success.begin(); _iter831 != this->success.end(); ++_iter831) + std::vector ::const_iterator _iter837; + for (_iter837 = this->success.begin(); _iter837 != this->success.end(); ++_iter837) { - xfer += oprot->writeString((*_iter831)); + xfer += oprot->writeString((*_iter837)); } xfer += oprot->writeListEnd(); } @@ -23033,14 +23275,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size832; - ::apache::thrift::protocol::TType _etype835; - xfer += iprot->readListBegin(_etype835, _size832); - (*(this->success)).resize(_size832); - uint32_t _i836; - for (_i836 = 0; _i836 < _size832; ++_i836) + uint32_t _size838; + ::apache::thrift::protocol::TType _etype841; + xfer += iprot->readListBegin(_etype841, _size838); + (*(this->success)).resize(_size838); + uint32_t _i842; + for (_i842 = 0; _i842 < _size838; ++_i842) { - xfer += iprot->readString((*(this->success))[_i836]); + xfer += iprot->readString((*(this->success))[_i842]); } xfer += iprot->readListEnd(); } @@ -30673,6 +30915,76 @@ 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"); } +bool ThriftHiveMetastoreClient::set_aggr_stats_for(const SetPartitionsStatsRequest& request) +{ + send_set_aggr_stats_for(request); + return recv_set_aggr_stats_for(); +} + +void ThriftHiveMetastoreClient::send_set_aggr_stats_for(const SetPartitionsStatsRequest& request) +{ + int32_t cseqid = 0; + oprot_->writeMessageBegin("set_aggr_stats_for", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_set_aggr_stats_for_pargs args; + args.request = &request; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); +} + +bool ThriftHiveMetastoreClient::recv_set_aggr_stats_for() +{ + + 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("set_aggr_stats_for") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + bool _return; + ThriftHiveMetastore_set_aggr_stats_for_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + return _return; + } + if (result.__isset.o1) { + throw result.o1; + } + if (result.__isset.o2) { + throw result.o2; + } + if (result.__isset.o3) { + throw result.o3; + } + if (result.__isset.o4) { + throw result.o4; + } + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "set_aggr_stats_for failed: unknown result"); +} + bool ThriftHiveMetastoreClient::delete_partition_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const std::string& col_name) { send_delete_partition_column_statistics(db_name, tbl_name, part_name, col_name); @@ -37512,6 +37824,72 @@ void ThriftHiveMetastoreProcessor::process_get_aggr_stats_for(int32_t seqid, ::a } } +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; + if (this->eventHandler_.get() != NULL) { + ctx = this->eventHandler_->getContext("ThriftHiveMetastore.set_aggr_stats_for", callContext); + } + ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "ThriftHiveMetastore.set_aggr_stats_for"); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->preRead(ctx, "ThriftHiveMetastore.set_aggr_stats_for"); + } + + ThriftHiveMetastore_set_aggr_stats_for_args args; + args.read(iprot); + iprot->readMessageEnd(); + uint32_t bytes = iprot->getTransport()->readEnd(); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->postRead(ctx, "ThriftHiveMetastore.set_aggr_stats_for", bytes); + } + + ThriftHiveMetastore_set_aggr_stats_for_result result; + try { + result.success = iface_->set_aggr_stats_for(args.request); + result.__isset.success = true; + } catch (NoSuchObjectException &o1) { + result.o1 = o1; + result.__isset.o1 = true; + } catch (InvalidObjectException &o2) { + result.o2 = o2; + result.__isset.o2 = true; + } catch (MetaException &o3) { + result.o3 = o3; + result.__isset.o3 = true; + } catch (InvalidInputException &o4) { + result.o4 = o4; + result.__isset.o4 = true; + } catch (const std::exception& e) { + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->handlerError(ctx, "ThriftHiveMetastore.set_aggr_stats_for"); + } + + ::apache::thrift::TApplicationException x(e.what()); + oprot->writeMessageBegin("set_aggr_stats_for", ::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.set_aggr_stats_for"); + } + + oprot->writeMessageBegin("set_aggr_stats_for", ::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.set_aggr_stats_for", bytes); + } +} + void ThriftHiveMetastoreProcessor::process_delete_partition_column_statistics(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) { void* ctx = NULL; diff --git a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h index 0e328dd..ef1352b 100644 --- a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h +++ b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h @@ -90,6 +90,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 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; virtual void create_function(const Function& func) = 0; @@ -391,6 +392,10 @@ class ThriftHiveMetastoreNull : virtual public ThriftHiveMetastoreIf , virtual p void get_aggr_stats_for(AggrStats& /* _return */, const PartitionsStatsRequest& /* request */) { return; } + bool set_aggr_stats_for(const SetPartitionsStatsRequest& /* request */) { + bool _return = false; + return _return; + } 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 */) { bool _return = false; return _return; @@ -11135,6 +11140,154 @@ class ThriftHiveMetastore_get_aggr_stats_for_presult { }; +typedef struct _ThriftHiveMetastore_set_aggr_stats_for_args__isset { + _ThriftHiveMetastore_set_aggr_stats_for_args__isset() : request(false) {} + bool request; +} _ThriftHiveMetastore_set_aggr_stats_for_args__isset; + +class ThriftHiveMetastore_set_aggr_stats_for_args { + public: + + ThriftHiveMetastore_set_aggr_stats_for_args() { + } + + virtual ~ThriftHiveMetastore_set_aggr_stats_for_args() throw() {} + + SetPartitionsStatsRequest request; + + _ThriftHiveMetastore_set_aggr_stats_for_args__isset __isset; + + void __set_request(const SetPartitionsStatsRequest& val) { + request = val; + } + + bool operator == (const ThriftHiveMetastore_set_aggr_stats_for_args & rhs) const + { + if (!(request == rhs.request)) + return false; + return true; + } + bool operator != (const ThriftHiveMetastore_set_aggr_stats_for_args &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_set_aggr_stats_for_args & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class ThriftHiveMetastore_set_aggr_stats_for_pargs { + public: + + + virtual ~ThriftHiveMetastore_set_aggr_stats_for_pargs() throw() {} + + const SetPartitionsStatsRequest* request; + + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _ThriftHiveMetastore_set_aggr_stats_for_result__isset { + _ThriftHiveMetastore_set_aggr_stats_for_result__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {} + bool success; + bool o1; + bool o2; + bool o3; + bool o4; +} _ThriftHiveMetastore_set_aggr_stats_for_result__isset; + +class ThriftHiveMetastore_set_aggr_stats_for_result { + public: + + ThriftHiveMetastore_set_aggr_stats_for_result() : success(0) { + } + + virtual ~ThriftHiveMetastore_set_aggr_stats_for_result() throw() {} + + bool success; + NoSuchObjectException o1; + InvalidObjectException o2; + MetaException o3; + InvalidInputException o4; + + _ThriftHiveMetastore_set_aggr_stats_for_result__isset __isset; + + void __set_success(const bool val) { + success = val; + } + + void __set_o1(const NoSuchObjectException& val) { + o1 = val; + } + + void __set_o2(const InvalidObjectException& val) { + o2 = val; + } + + void __set_o3(const MetaException& val) { + o3 = val; + } + + void __set_o4(const InvalidInputException& val) { + o4 = val; + } + + bool operator == (const ThriftHiveMetastore_set_aggr_stats_for_result & rhs) const + { + if (!(success == rhs.success)) + return false; + if (!(o1 == rhs.o1)) + return false; + if (!(o2 == rhs.o2)) + return false; + if (!(o3 == rhs.o3)) + return false; + if (!(o4 == rhs.o4)) + return false; + return true; + } + bool operator != (const ThriftHiveMetastore_set_aggr_stats_for_result &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_set_aggr_stats_for_result & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _ThriftHiveMetastore_set_aggr_stats_for_presult__isset { + _ThriftHiveMetastore_set_aggr_stats_for_presult__isset() : success(false), o1(false), o2(false), o3(false), o4(false) {} + bool success; + bool o1; + bool o2; + bool o3; + bool o4; +} _ThriftHiveMetastore_set_aggr_stats_for_presult__isset; + +class ThriftHiveMetastore_set_aggr_stats_for_presult { + public: + + + virtual ~ThriftHiveMetastore_set_aggr_stats_for_presult() throw() {} + + bool* success; + NoSuchObjectException o1; + InvalidObjectException o2; + MetaException o3; + InvalidInputException o4; + + _ThriftHiveMetastore_set_aggr_stats_for_presult__isset __isset; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + +}; + typedef struct _ThriftHiveMetastore_delete_partition_column_statistics_args__isset { _ThriftHiveMetastore_delete_partition_column_statistics_args__isset() : db_name(false), tbl_name(false), part_name(false), col_name(false) {} bool db_name; @@ -16047,6 +16200,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); + bool set_aggr_stats_for(const SetPartitionsStatsRequest& request); + void send_set_aggr_stats_for(const SetPartitionsStatsRequest& request); + bool recv_set_aggr_stats_for(); 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); void send_delete_partition_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const std::string& col_name); bool recv_delete_partition_column_statistics(); @@ -16245,6 +16401,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_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); void process_create_function(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); @@ -16361,6 +16518,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_["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; processMap_["create_function"] = &ThriftHiveMetastoreProcessor::process_create_function; @@ -17144,6 +17302,15 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi return; } + bool set_aggr_stats_for(const SetPartitionsStatsRequest& request) { + size_t sz = ifaces_.size(); + size_t i = 0; + for (; i < (sz - 1); ++i) { + ifaces_[i]->set_aggr_stats_for(request); + } + return ifaces_[i]->set_aggr_stats_for(request); + } + 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) { size_t sz = ifaces_.size(); size_t i = 0; 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 4bcb2e6..021f5c6 100644 --- a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp +++ b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp @@ -392,6 +392,11 @@ class ThriftHiveMetastoreHandler : virtual public ThriftHiveMetastoreIf { printf("get_aggr_stats_for\n"); } + bool set_aggr_stats_for(const SetPartitionsStatsRequest& request) { + // Your implementation goes here + printf("set_aggr_stats_for\n"); + } + 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) { // Your implementation goes here printf("delete_partition_column_statistics\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 4768128..456400d 100644 --- a/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp +++ b/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp @@ -4768,10 +4768,10 @@ void swap(AggrStats &a, AggrStats &b) { swap(a.partsFound, b.partsFound); } -const char* Schema::ascii_fingerprint = "5CFEE46C975F4E2368D905109B8E3B5B"; -const uint8_t Schema::binary_fingerprint[16] = {0x5C,0xFE,0xE4,0x6C,0x97,0x5F,0x4E,0x23,0x68,0xD9,0x05,0x10,0x9B,0x8E,0x3B,0x5B}; +const char* SetPartitionsStatsRequest::ascii_fingerprint = "635C0DA9A947DA57AAE693A5DFB86569"; +const uint8_t SetPartitionsStatsRequest::binary_fingerprint[16] = {0x63,0x5C,0x0D,0xA9,0xA9,0x47,0xDA,0x57,0xAA,0xE6,0x93,0xA5,0xDF,0xB8,0x65,0x69}; -uint32_t Schema::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t SetPartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; std::string fname; @@ -4782,6 +4782,7 @@ uint32_t Schema::read(::apache::thrift::protocol::TProtocol* iprot) { using ::apache::thrift::protocol::TProtocolException; + bool isset_colStats = false; while (true) { @@ -4794,15 +4795,98 @@ uint32_t Schema::read(::apache::thrift::protocol::TProtocol* iprot) { case 1: if (ftype == ::apache::thrift::protocol::T_LIST) { { - this->fieldSchemas.clear(); + this->colStats.clear(); uint32_t _size205; ::apache::thrift::protocol::TType _etype208; xfer += iprot->readListBegin(_etype208, _size205); - this->fieldSchemas.resize(_size205); + this->colStats.resize(_size205); uint32_t _i209; for (_i209 = 0; _i209 < _size205; ++_i209) { - xfer += this->fieldSchemas[_i209].read(iprot); + xfer += this->colStats[_i209].read(iprot); + } + xfer += iprot->readListEnd(); + } + isset_colStats = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + if (!isset_colStats) + throw TProtocolException(TProtocolException::INVALID_DATA); + return xfer; +} + +uint32_t SetPartitionsStatsRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + xfer += oprot->writeStructBegin("SetPartitionsStatsRequest"); + + xfer += oprot->writeFieldBegin("colStats", ::apache::thrift::protocol::T_LIST, 1); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->colStats.size())); + std::vector ::const_iterator _iter210; + for (_iter210 = this->colStats.begin(); _iter210 != this->colStats.end(); ++_iter210) + { + xfer += (*_iter210).write(oprot); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(SetPartitionsStatsRequest &a, SetPartitionsStatsRequest &b) { + using ::std::swap; + swap(a.colStats, b.colStats); +} + +const char* Schema::ascii_fingerprint = "5CFEE46C975F4E2368D905109B8E3B5B"; +const uint8_t Schema::binary_fingerprint[16] = {0x5C,0xFE,0xE4,0x6C,0x97,0x5F,0x4E,0x23,0x68,0xD9,0x05,0x10,0x9B,0x8E,0x3B,0x5B}; + +uint32_t Schema::read(::apache::thrift::protocol::TProtocol* 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_LIST) { + { + this->fieldSchemas.clear(); + uint32_t _size211; + ::apache::thrift::protocol::TType _etype214; + xfer += iprot->readListBegin(_etype214, _size211); + this->fieldSchemas.resize(_size211); + uint32_t _i215; + for (_i215 = 0; _i215 < _size211; ++_i215) + { + xfer += this->fieldSchemas[_i215].read(iprot); } xfer += iprot->readListEnd(); } @@ -4815,17 +4899,17 @@ uint32_t Schema::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - uint32_t _size210; - ::apache::thrift::protocol::TType _ktype211; - ::apache::thrift::protocol::TType _vtype212; - xfer += iprot->readMapBegin(_ktype211, _vtype212, _size210); - uint32_t _i214; - for (_i214 = 0; _i214 < _size210; ++_i214) + uint32_t _size216; + ::apache::thrift::protocol::TType _ktype217; + ::apache::thrift::protocol::TType _vtype218; + xfer += iprot->readMapBegin(_ktype217, _vtype218, _size216); + uint32_t _i220; + for (_i220 = 0; _i220 < _size216; ++_i220) { - std::string _key215; - xfer += iprot->readString(_key215); - std::string& _val216 = this->properties[_key215]; - xfer += iprot->readString(_val216); + std::string _key221; + xfer += iprot->readString(_key221); + std::string& _val222 = this->properties[_key221]; + xfer += iprot->readString(_val222); } xfer += iprot->readMapEnd(); } @@ -4853,10 +4937,10 @@ uint32_t Schema::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("fieldSchemas", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->fieldSchemas.size())); - std::vector ::const_iterator _iter217; - for (_iter217 = this->fieldSchemas.begin(); _iter217 != this->fieldSchemas.end(); ++_iter217) + std::vector ::const_iterator _iter223; + for (_iter223 = this->fieldSchemas.begin(); _iter223 != this->fieldSchemas.end(); ++_iter223) { - xfer += (*_iter217).write(oprot); + xfer += (*_iter223).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4865,11 +4949,11 @@ uint32_t Schema::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("properties", ::apache::thrift::protocol::T_MAP, 2); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->properties.size())); - std::map ::const_iterator _iter218; - for (_iter218 = this->properties.begin(); _iter218 != this->properties.end(); ++_iter218) + std::map ::const_iterator _iter224; + for (_iter224 = this->properties.begin(); _iter224 != this->properties.end(); ++_iter224) { - xfer += oprot->writeString(_iter218->first); - xfer += oprot->writeString(_iter218->second); + xfer += oprot->writeString(_iter224->first); + xfer += oprot->writeString(_iter224->second); } xfer += oprot->writeMapEnd(); } @@ -4914,17 +4998,17 @@ uint32_t EnvironmentContext::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - uint32_t _size219; - ::apache::thrift::protocol::TType _ktype220; - ::apache::thrift::protocol::TType _vtype221; - xfer += iprot->readMapBegin(_ktype220, _vtype221, _size219); - uint32_t _i223; - for (_i223 = 0; _i223 < _size219; ++_i223) + uint32_t _size225; + ::apache::thrift::protocol::TType _ktype226; + ::apache::thrift::protocol::TType _vtype227; + xfer += iprot->readMapBegin(_ktype226, _vtype227, _size225); + uint32_t _i229; + for (_i229 = 0; _i229 < _size225; ++_i229) { - std::string _key224; - xfer += iprot->readString(_key224); - std::string& _val225 = this->properties[_key224]; - xfer += iprot->readString(_val225); + std::string _key230; + xfer += iprot->readString(_key230); + std::string& _val231 = this->properties[_key230]; + xfer += iprot->readString(_val231); } xfer += iprot->readMapEnd(); } @@ -4952,11 +5036,11 @@ uint32_t EnvironmentContext::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("properties", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->properties.size())); - std::map ::const_iterator _iter226; - for (_iter226 = this->properties.begin(); _iter226 != this->properties.end(); ++_iter226) + std::map ::const_iterator _iter232; + for (_iter232 = this->properties.begin(); _iter232 != this->properties.end(); ++_iter232) { - xfer += oprot->writeString(_iter226->first); - xfer += oprot->writeString(_iter226->second); + xfer += oprot->writeString(_iter232->first); + xfer += oprot->writeString(_iter232->second); } xfer += oprot->writeMapEnd(); } @@ -5002,14 +5086,14 @@ uint32_t PartitionsByExprResult::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size227; - ::apache::thrift::protocol::TType _etype230; - xfer += iprot->readListBegin(_etype230, _size227); - this->partitions.resize(_size227); - uint32_t _i231; - for (_i231 = 0; _i231 < _size227; ++_i231) + uint32_t _size233; + ::apache::thrift::protocol::TType _etype236; + xfer += iprot->readListBegin(_etype236, _size233); + this->partitions.resize(_size233); + uint32_t _i237; + for (_i237 = 0; _i237 < _size233; ++_i237) { - xfer += this->partitions[_i231].read(iprot); + xfer += this->partitions[_i237].read(iprot); } xfer += iprot->readListEnd(); } @@ -5049,10 +5133,10 @@ uint32_t PartitionsByExprResult::write(::apache::thrift::protocol::TProtocol* op 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 _iter232; - for (_iter232 = this->partitions.begin(); _iter232 != this->partitions.end(); ++_iter232) + std::vector ::const_iterator _iter238; + for (_iter238 = this->partitions.begin(); _iter238 != this->partitions.end(); ++_iter238) { - xfer += (*_iter232).write(oprot); + xfer += (*_iter238).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5226,14 +5310,14 @@ uint32_t TableStatsResult::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tableStats.clear(); - uint32_t _size233; - ::apache::thrift::protocol::TType _etype236; - xfer += iprot->readListBegin(_etype236, _size233); - this->tableStats.resize(_size233); - uint32_t _i237; - for (_i237 = 0; _i237 < _size233; ++_i237) + uint32_t _size239; + ::apache::thrift::protocol::TType _etype242; + xfer += iprot->readListBegin(_etype242, _size239); + this->tableStats.resize(_size239); + uint32_t _i243; + for (_i243 = 0; _i243 < _size239; ++_i243) { - xfer += this->tableStats[_i237].read(iprot); + xfer += this->tableStats[_i243].read(iprot); } xfer += iprot->readListEnd(); } @@ -5263,10 +5347,10 @@ uint32_t TableStatsResult::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("tableStats", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->tableStats.size())); - std::vector ::const_iterator _iter238; - for (_iter238 = this->tableStats.begin(); _iter238 != this->tableStats.end(); ++_iter238) + std::vector ::const_iterator _iter244; + for (_iter244 = this->tableStats.begin(); _iter244 != this->tableStats.end(); ++_iter244) { - xfer += (*_iter238).write(oprot); + xfer += (*_iter244).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5310,26 +5394,26 @@ uint32_t PartitionsStatsResult::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partStats.clear(); - uint32_t _size239; - ::apache::thrift::protocol::TType _ktype240; - ::apache::thrift::protocol::TType _vtype241; - xfer += iprot->readMapBegin(_ktype240, _vtype241, _size239); - uint32_t _i243; - for (_i243 = 0; _i243 < _size239; ++_i243) + uint32_t _size245; + ::apache::thrift::protocol::TType _ktype246; + ::apache::thrift::protocol::TType _vtype247; + xfer += iprot->readMapBegin(_ktype246, _vtype247, _size245); + uint32_t _i249; + for (_i249 = 0; _i249 < _size245; ++_i249) { - std::string _key244; - xfer += iprot->readString(_key244); - std::vector & _val245 = this->partStats[_key244]; + std::string _key250; + xfer += iprot->readString(_key250); + std::vector & _val251 = this->partStats[_key250]; { - _val245.clear(); - uint32_t _size246; - ::apache::thrift::protocol::TType _etype249; - xfer += iprot->readListBegin(_etype249, _size246); - _val245.resize(_size246); - uint32_t _i250; - for (_i250 = 0; _i250 < _size246; ++_i250) + _val251.clear(); + uint32_t _size252; + ::apache::thrift::protocol::TType _etype255; + xfer += iprot->readListBegin(_etype255, _size252); + _val251.resize(_size252); + uint32_t _i256; + for (_i256 = 0; _i256 < _size252; ++_i256) { - xfer += _val245[_i250].read(iprot); + xfer += _val251[_i256].read(iprot); } xfer += iprot->readListEnd(); } @@ -5362,16 +5446,16 @@ uint32_t PartitionsStatsResult::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldBegin("partStats", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_LIST, static_cast(this->partStats.size())); - std::map > ::const_iterator _iter251; - for (_iter251 = this->partStats.begin(); _iter251 != this->partStats.end(); ++_iter251) + std::map > ::const_iterator _iter257; + for (_iter257 = this->partStats.begin(); _iter257 != this->partStats.end(); ++_iter257) { - xfer += oprot->writeString(_iter251->first); + xfer += oprot->writeString(_iter257->first); { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter251->second.size())); - std::vector ::const_iterator _iter252; - for (_iter252 = _iter251->second.begin(); _iter252 != _iter251->second.end(); ++_iter252) + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter257->second.size())); + std::vector ::const_iterator _iter258; + for (_iter258 = _iter257->second.begin(); _iter258 != _iter257->second.end(); ++_iter258) { - xfer += (*_iter252).write(oprot); + xfer += (*_iter258).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5436,14 +5520,14 @@ uint32_t TableStatsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->colNames.clear(); - uint32_t _size253; - ::apache::thrift::protocol::TType _etype256; - xfer += iprot->readListBegin(_etype256, _size253); - this->colNames.resize(_size253); - uint32_t _i257; - for (_i257 = 0; _i257 < _size253; ++_i257) + uint32_t _size259; + ::apache::thrift::protocol::TType _etype262; + xfer += iprot->readListBegin(_etype262, _size259); + this->colNames.resize(_size259); + uint32_t _i263; + for (_i263 = 0; _i263 < _size259; ++_i263) { - xfer += iprot->readString(this->colNames[_i257]); + xfer += iprot->readString(this->colNames[_i263]); } xfer += iprot->readListEnd(); } @@ -5485,10 +5569,10 @@ uint32_t TableStatsRequest::write(::apache::thrift::protocol::TProtocol* oprot) 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 _iter258; - for (_iter258 = this->colNames.begin(); _iter258 != this->colNames.end(); ++_iter258) + std::vector ::const_iterator _iter264; + for (_iter264 = this->colNames.begin(); _iter264 != this->colNames.end(); ++_iter264) { - xfer += oprot->writeString((*_iter258)); + xfer += oprot->writeString((*_iter264)); } xfer += oprot->writeListEnd(); } @@ -5553,14 +5637,14 @@ uint32_t PartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->colNames.clear(); - uint32_t _size259; - ::apache::thrift::protocol::TType _etype262; - xfer += iprot->readListBegin(_etype262, _size259); - this->colNames.resize(_size259); - uint32_t _i263; - for (_i263 = 0; _i263 < _size259; ++_i263) + uint32_t _size265; + ::apache::thrift::protocol::TType _etype268; + xfer += iprot->readListBegin(_etype268, _size265); + this->colNames.resize(_size265); + uint32_t _i269; + for (_i269 = 0; _i269 < _size265; ++_i269) { - xfer += iprot->readString(this->colNames[_i263]); + xfer += iprot->readString(this->colNames[_i269]); } xfer += iprot->readListEnd(); } @@ -5573,14 +5657,14 @@ uint32_t PartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partNames.clear(); - uint32_t _size264; - ::apache::thrift::protocol::TType _etype267; - xfer += iprot->readListBegin(_etype267, _size264); - this->partNames.resize(_size264); - uint32_t _i268; - for (_i268 = 0; _i268 < _size264; ++_i268) + uint32_t _size270; + ::apache::thrift::protocol::TType _etype273; + xfer += iprot->readListBegin(_etype273, _size270); + this->partNames.resize(_size270); + uint32_t _i274; + for (_i274 = 0; _i274 < _size270; ++_i274) { - xfer += iprot->readString(this->partNames[_i268]); + xfer += iprot->readString(this->partNames[_i274]); } xfer += iprot->readListEnd(); } @@ -5624,10 +5708,10 @@ uint32_t PartitionsStatsRequest::write(::apache::thrift::protocol::TProtocol* op 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 _iter269; - for (_iter269 = this->colNames.begin(); _iter269 != this->colNames.end(); ++_iter269) + std::vector ::const_iterator _iter275; + for (_iter275 = this->colNames.begin(); _iter275 != this->colNames.end(); ++_iter275) { - xfer += oprot->writeString((*_iter269)); + xfer += oprot->writeString((*_iter275)); } xfer += oprot->writeListEnd(); } @@ -5636,10 +5720,10 @@ uint32_t PartitionsStatsRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("partNames", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partNames.size())); - std::vector ::const_iterator _iter270; - for (_iter270 = this->partNames.begin(); _iter270 != this->partNames.end(); ++_iter270) + std::vector ::const_iterator _iter276; + for (_iter276 = this->partNames.begin(); _iter276 != this->partNames.end(); ++_iter276) { - xfer += oprot->writeString((*_iter270)); + xfer += oprot->writeString((*_iter276)); } xfer += oprot->writeListEnd(); } @@ -5685,14 +5769,14 @@ uint32_t AddPartitionsResult::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size271; - ::apache::thrift::protocol::TType _etype274; - xfer += iprot->readListBegin(_etype274, _size271); - this->partitions.resize(_size271); - uint32_t _i275; - for (_i275 = 0; _i275 < _size271; ++_i275) + uint32_t _size277; + ::apache::thrift::protocol::TType _etype280; + xfer += iprot->readListBegin(_etype280, _size277); + this->partitions.resize(_size277); + uint32_t _i281; + for (_i281 = 0; _i281 < _size277; ++_i281) { - xfer += this->partitions[_i275].read(iprot); + xfer += this->partitions[_i281].read(iprot); } xfer += iprot->readListEnd(); } @@ -5721,10 +5805,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 _iter276; - for (_iter276 = this->partitions.begin(); _iter276 != this->partitions.end(); ++_iter276) + std::vector ::const_iterator _iter282; + for (_iter282 = this->partitions.begin(); _iter282 != this->partitions.end(); ++_iter282) { - xfer += (*_iter276).write(oprot); + xfer += (*_iter282).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5788,14 +5872,14 @@ uint32_t AddPartitionsRequest::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->parts.clear(); - uint32_t _size277; - ::apache::thrift::protocol::TType _etype280; - xfer += iprot->readListBegin(_etype280, _size277); - this->parts.resize(_size277); - uint32_t _i281; - for (_i281 = 0; _i281 < _size277; ++_i281) + uint32_t _size283; + ::apache::thrift::protocol::TType _etype286; + xfer += iprot->readListBegin(_etype286, _size283); + this->parts.resize(_size283); + uint32_t _i287; + for (_i287 = 0; _i287 < _size283; ++_i287) { - xfer += this->parts[_i281].read(iprot); + xfer += this->parts[_i287].read(iprot); } xfer += iprot->readListEnd(); } @@ -5855,10 +5939,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 _iter282; - for (_iter282 = this->parts.begin(); _iter282 != this->parts.end(); ++_iter282) + std::vector ::const_iterator _iter288; + for (_iter288 = this->parts.begin(); _iter288 != this->parts.end(); ++_iter288) { - xfer += (*_iter282).write(oprot); + xfer += (*_iter288).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5915,14 +5999,14 @@ uint32_t DropPartitionsResult::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size283; - ::apache::thrift::protocol::TType _etype286; - xfer += iprot->readListBegin(_etype286, _size283); - this->partitions.resize(_size283); - uint32_t _i287; - for (_i287 = 0; _i287 < _size283; ++_i287) + uint32_t _size289; + ::apache::thrift::protocol::TType _etype292; + xfer += iprot->readListBegin(_etype292, _size289); + this->partitions.resize(_size289); + uint32_t _i293; + for (_i293 = 0; _i293 < _size289; ++_i293) { - xfer += this->partitions[_i287].read(iprot); + xfer += this->partitions[_i293].read(iprot); } xfer += iprot->readListEnd(); } @@ -5951,10 +6035,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 _iter288; - for (_iter288 = this->partitions.begin(); _iter288 != this->partitions.end(); ++_iter288) + std::vector ::const_iterator _iter294; + for (_iter294 = this->partitions.begin(); _iter294 != this->partitions.end(); ++_iter294) { - xfer += (*_iter288).write(oprot); + xfer += (*_iter294).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6077,14 +6161,14 @@ uint32_t RequestPartsSpec::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size289; - ::apache::thrift::protocol::TType _etype292; - xfer += iprot->readListBegin(_etype292, _size289); - this->names.resize(_size289); - uint32_t _i293; - for (_i293 = 0; _i293 < _size289; ++_i293) + uint32_t _size295; + ::apache::thrift::protocol::TType _etype298; + xfer += iprot->readListBegin(_etype298, _size295); + this->names.resize(_size295); + uint32_t _i299; + for (_i299 = 0; _i299 < _size295; ++_i299) { - xfer += iprot->readString(this->names[_i293]); + xfer += iprot->readString(this->names[_i299]); } xfer += iprot->readListEnd(); } @@ -6097,14 +6181,14 @@ uint32_t RequestPartsSpec::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->exprs.clear(); - uint32_t _size294; - ::apache::thrift::protocol::TType _etype297; - xfer += iprot->readListBegin(_etype297, _size294); - this->exprs.resize(_size294); - uint32_t _i298; - for (_i298 = 0; _i298 < _size294; ++_i298) + uint32_t _size300; + ::apache::thrift::protocol::TType _etype303; + xfer += iprot->readListBegin(_etype303, _size300); + this->exprs.resize(_size300); + uint32_t _i304; + for (_i304 = 0; _i304 < _size300; ++_i304) { - xfer += this->exprs[_i298].read(iprot); + xfer += this->exprs[_i304].read(iprot); } xfer += iprot->readListEnd(); } @@ -6132,10 +6216,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 _iter299; - for (_iter299 = this->names.begin(); _iter299 != this->names.end(); ++_iter299) + std::vector ::const_iterator _iter305; + for (_iter305 = this->names.begin(); _iter305 != this->names.end(); ++_iter305) { - xfer += oprot->writeString((*_iter299)); + xfer += oprot->writeString((*_iter305)); } xfer += oprot->writeListEnd(); } @@ -6144,10 +6228,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 _iter300; - for (_iter300 = this->exprs.begin(); _iter300 != this->exprs.end(); ++_iter300) + std::vector ::const_iterator _iter306; + for (_iter306 = this->exprs.begin(); _iter306 != this->exprs.end(); ++_iter306) { - xfer += (*_iter300).write(oprot); + xfer += (*_iter306).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6357,9 +6441,9 @@ uint32_t ResourceUri::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast301; - xfer += iprot->readI32(ecast301); - this->resourceType = (ResourceType::type)ecast301; + int32_t ecast307; + xfer += iprot->readI32(ecast307); + this->resourceType = (ResourceType::type)ecast307; this->__isset.resourceType = true; } else { xfer += iprot->skip(ftype); @@ -6466,9 +6550,9 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast302; - xfer += iprot->readI32(ecast302); - this->ownerType = (PrincipalType::type)ecast302; + int32_t ecast308; + xfer += iprot->readI32(ecast308); + this->ownerType = (PrincipalType::type)ecast308; this->__isset.ownerType = true; } else { xfer += iprot->skip(ftype); @@ -6484,9 +6568,9 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 7: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast303; - xfer += iprot->readI32(ecast303); - this->functionType = (FunctionType::type)ecast303; + int32_t ecast309; + xfer += iprot->readI32(ecast309); + this->functionType = (FunctionType::type)ecast309; this->__isset.functionType = true; } else { xfer += iprot->skip(ftype); @@ -6496,14 +6580,14 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->resourceUris.clear(); - uint32_t _size304; - ::apache::thrift::protocol::TType _etype307; - xfer += iprot->readListBegin(_etype307, _size304); - this->resourceUris.resize(_size304); - uint32_t _i308; - for (_i308 = 0; _i308 < _size304; ++_i308) + uint32_t _size310; + ::apache::thrift::protocol::TType _etype313; + xfer += iprot->readListBegin(_etype313, _size310); + this->resourceUris.resize(_size310); + uint32_t _i314; + for (_i314 = 0; _i314 < _size310; ++_i314) { - xfer += this->resourceUris[_i308].read(iprot); + xfer += this->resourceUris[_i314].read(iprot); } xfer += iprot->readListEnd(); } @@ -6559,10 +6643,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 _iter309; - for (_iter309 = this->resourceUris.begin(); _iter309 != this->resourceUris.end(); ++_iter309) + std::vector ::const_iterator _iter315; + for (_iter315 = this->resourceUris.begin(); _iter315 != this->resourceUris.end(); ++_iter315) { - xfer += (*_iter309).write(oprot); + xfer += (*_iter315).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6623,9 +6707,9 @@ uint32_t TxnInfo::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast310; - xfer += iprot->readI32(ecast310); - this->state = (TxnState::type)ecast310; + int32_t ecast316; + xfer += iprot->readI32(ecast316); + this->state = (TxnState::type)ecast316; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -6737,14 +6821,14 @@ uint32_t GetOpenTxnsInfoResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->open_txns.clear(); - uint32_t _size311; - ::apache::thrift::protocol::TType _etype314; - xfer += iprot->readListBegin(_etype314, _size311); - this->open_txns.resize(_size311); - uint32_t _i315; - for (_i315 = 0; _i315 < _size311; ++_i315) + uint32_t _size317; + ::apache::thrift::protocol::TType _etype320; + xfer += iprot->readListBegin(_etype320, _size317); + this->open_txns.resize(_size317); + uint32_t _i321; + for (_i321 = 0; _i321 < _size317; ++_i321) { - xfer += this->open_txns[_i315].read(iprot); + xfer += this->open_txns[_i321].read(iprot); } xfer += iprot->readListEnd(); } @@ -6780,10 +6864,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 _iter316; - for (_iter316 = this->open_txns.begin(); _iter316 != this->open_txns.end(); ++_iter316) + std::vector ::const_iterator _iter322; + for (_iter322 = this->open_txns.begin(); _iter322 != this->open_txns.end(); ++_iter322) { - xfer += (*_iter316).write(oprot); + xfer += (*_iter322).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6837,15 +6921,15 @@ uint32_t GetOpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_SET) { { this->open_txns.clear(); - uint32_t _size317; - ::apache::thrift::protocol::TType _etype320; - xfer += iprot->readSetBegin(_etype320, _size317); - uint32_t _i321; - for (_i321 = 0; _i321 < _size317; ++_i321) + uint32_t _size323; + ::apache::thrift::protocol::TType _etype326; + xfer += iprot->readSetBegin(_etype326, _size323); + uint32_t _i327; + for (_i327 = 0; _i327 < _size323; ++_i327) { - int64_t _elem322; - xfer += iprot->readI64(_elem322); - this->open_txns.insert(_elem322); + int64_t _elem328; + xfer += iprot->readI64(_elem328); + this->open_txns.insert(_elem328); } xfer += iprot->readSetEnd(); } @@ -6881,10 +6965,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 _iter323; - for (_iter323 = this->open_txns.begin(); _iter323 != this->open_txns.end(); ++_iter323) + std::set ::const_iterator _iter329; + for (_iter329 = this->open_txns.begin(); _iter329 != this->open_txns.end(); ++_iter329) { - xfer += oprot->writeI64((*_iter323)); + xfer += oprot->writeI64((*_iter329)); } xfer += oprot->writeSetEnd(); } @@ -7025,14 +7109,14 @@ uint32_t OpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txn_ids.clear(); - uint32_t _size324; - ::apache::thrift::protocol::TType _etype327; - xfer += iprot->readListBegin(_etype327, _size324); - this->txn_ids.resize(_size324); - uint32_t _i328; - for (_i328 = 0; _i328 < _size324; ++_i328) + uint32_t _size330; + ::apache::thrift::protocol::TType _etype333; + xfer += iprot->readListBegin(_etype333, _size330); + this->txn_ids.resize(_size330); + uint32_t _i334; + for (_i334 = 0; _i334 < _size330; ++_i334) { - xfer += iprot->readI64(this->txn_ids[_i328]); + xfer += iprot->readI64(this->txn_ids[_i334]); } xfer += iprot->readListEnd(); } @@ -7062,10 +7146,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 _iter329; - for (_iter329 = this->txn_ids.begin(); _iter329 != this->txn_ids.end(); ++_iter329) + std::vector ::const_iterator _iter335; + for (_iter335 = this->txn_ids.begin(); _iter335 != this->txn_ids.end(); ++_iter335) { - xfer += oprot->writeI64((*_iter329)); + xfer += oprot->writeI64((*_iter335)); } xfer += oprot->writeListEnd(); } @@ -7237,9 +7321,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast330; - xfer += iprot->readI32(ecast330); - this->type = (LockType::type)ecast330; + int32_t ecast336; + xfer += iprot->readI32(ecast336); + this->type = (LockType::type)ecast336; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -7247,9 +7331,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast331; - xfer += iprot->readI32(ecast331); - this->level = (LockLevel::type)ecast331; + int32_t ecast337; + xfer += iprot->readI32(ecast337); + this->level = (LockLevel::type)ecast337; isset_level = true; } else { xfer += iprot->skip(ftype); @@ -7368,14 +7452,14 @@ uint32_t LockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->component.clear(); - uint32_t _size332; - ::apache::thrift::protocol::TType _etype335; - xfer += iprot->readListBegin(_etype335, _size332); - this->component.resize(_size332); - uint32_t _i336; - for (_i336 = 0; _i336 < _size332; ++_i336) + uint32_t _size338; + ::apache::thrift::protocol::TType _etype341; + xfer += iprot->readListBegin(_etype341, _size338); + this->component.resize(_size338); + uint32_t _i342; + for (_i342 = 0; _i342 < _size338; ++_i342) { - xfer += this->component[_i336].read(iprot); + xfer += this->component[_i342].read(iprot); } xfer += iprot->readListEnd(); } @@ -7433,10 +7517,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 _iter337; - for (_iter337 = this->component.begin(); _iter337 != this->component.end(); ++_iter337) + std::vector ::const_iterator _iter343; + for (_iter343 = this->component.begin(); _iter343 != this->component.end(); ++_iter343) { - xfer += (*_iter337).write(oprot); + xfer += (*_iter343).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7504,9 +7588,9 @@ uint32_t LockResponse::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast338; - xfer += iprot->readI32(ecast338); - this->state = (LockState::type)ecast338; + int32_t ecast344; + xfer += iprot->readI32(ecast344); + this->state = (LockState::type)ecast344; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -7788,9 +7872,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast339; - xfer += iprot->readI32(ecast339); - this->state = (LockState::type)ecast339; + int32_t ecast345; + xfer += iprot->readI32(ecast345); + this->state = (LockState::type)ecast345; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -7798,9 +7882,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast340; - xfer += iprot->readI32(ecast340); - this->type = (LockType::type)ecast340; + int32_t ecast346; + xfer += iprot->readI32(ecast346); + this->type = (LockType::type)ecast346; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -7972,14 +8056,14 @@ uint32_t ShowLocksResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->locks.clear(); - uint32_t _size341; - ::apache::thrift::protocol::TType _etype344; - xfer += iprot->readListBegin(_etype344, _size341); - this->locks.resize(_size341); - uint32_t _i345; - for (_i345 = 0; _i345 < _size341; ++_i345) + uint32_t _size347; + ::apache::thrift::protocol::TType _etype350; + xfer += iprot->readListBegin(_etype350, _size347); + this->locks.resize(_size347); + uint32_t _i351; + for (_i351 = 0; _i351 < _size347; ++_i351) { - xfer += this->locks[_i345].read(iprot); + xfer += this->locks[_i351].read(iprot); } xfer += iprot->readListEnd(); } @@ -8007,10 +8091,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 _iter346; - for (_iter346 = this->locks.begin(); _iter346 != this->locks.end(); ++_iter346) + std::vector ::const_iterator _iter352; + for (_iter352 = this->locks.begin(); _iter352 != this->locks.end(); ++_iter352) { - xfer += (*_iter346).write(oprot); + xfer += (*_iter352).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8213,15 +8297,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->aborted.clear(); - uint32_t _size347; - ::apache::thrift::protocol::TType _etype350; - xfer += iprot->readSetBegin(_etype350, _size347); - uint32_t _i351; - for (_i351 = 0; _i351 < _size347; ++_i351) + uint32_t _size353; + ::apache::thrift::protocol::TType _etype356; + xfer += iprot->readSetBegin(_etype356, _size353); + uint32_t _i357; + for (_i357 = 0; _i357 < _size353; ++_i357) { - int64_t _elem352; - xfer += iprot->readI64(_elem352); - this->aborted.insert(_elem352); + int64_t _elem358; + xfer += iprot->readI64(_elem358); + this->aborted.insert(_elem358); } xfer += iprot->readSetEnd(); } @@ -8234,15 +8318,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->nosuch.clear(); - uint32_t _size353; - ::apache::thrift::protocol::TType _etype356; - xfer += iprot->readSetBegin(_etype356, _size353); - uint32_t _i357; - for (_i357 = 0; _i357 < _size353; ++_i357) + uint32_t _size359; + ::apache::thrift::protocol::TType _etype362; + xfer += iprot->readSetBegin(_etype362, _size359); + uint32_t _i363; + for (_i363 = 0; _i363 < _size359; ++_i363) { - int64_t _elem358; - xfer += iprot->readI64(_elem358); - this->nosuch.insert(_elem358); + int64_t _elem364; + xfer += iprot->readI64(_elem364); + this->nosuch.insert(_elem364); } xfer += iprot->readSetEnd(); } @@ -8274,10 +8358,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 _iter359; - for (_iter359 = this->aborted.begin(); _iter359 != this->aborted.end(); ++_iter359) + std::set ::const_iterator _iter365; + for (_iter365 = this->aborted.begin(); _iter365 != this->aborted.end(); ++_iter365) { - xfer += oprot->writeI64((*_iter359)); + xfer += oprot->writeI64((*_iter365)); } xfer += oprot->writeSetEnd(); } @@ -8286,10 +8370,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 _iter360; - for (_iter360 = this->nosuch.begin(); _iter360 != this->nosuch.end(); ++_iter360) + std::set ::const_iterator _iter366; + for (_iter366 = this->nosuch.begin(); _iter366 != this->nosuch.end(); ++_iter366) { - xfer += oprot->writeI64((*_iter360)); + xfer += oprot->writeI64((*_iter366)); } xfer += oprot->writeSetEnd(); } @@ -8358,9 +8442,9 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast361; - xfer += iprot->readI32(ecast361); - this->type = (CompactionType::type)ecast361; + int32_t ecast367; + xfer += iprot->readI32(ecast367); + this->type = (CompactionType::type)ecast367; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -8535,9 +8619,9 @@ uint32_t ShowCompactResponseElement::read(::apache::thrift::protocol::TProtocol* break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast362; - xfer += iprot->readI32(ecast362); - this->type = (CompactionType::type)ecast362; + int32_t ecast368; + xfer += iprot->readI32(ecast368); + this->type = (CompactionType::type)ecast368; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -8684,14 +8768,14 @@ uint32_t ShowCompactResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->compacts.clear(); - uint32_t _size363; - ::apache::thrift::protocol::TType _etype366; - xfer += iprot->readListBegin(_etype366, _size363); - this->compacts.resize(_size363); - uint32_t _i367; - for (_i367 = 0; _i367 < _size363; ++_i367) + uint32_t _size369; + ::apache::thrift::protocol::TType _etype372; + xfer += iprot->readListBegin(_etype372, _size369); + this->compacts.resize(_size369); + uint32_t _i373; + for (_i373 = 0; _i373 < _size369; ++_i373) { - xfer += this->compacts[_i367].read(iprot); + xfer += this->compacts[_i373].read(iprot); } xfer += iprot->readListEnd(); } @@ -8721,10 +8805,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 _iter368; - for (_iter368 = this->compacts.begin(); _iter368 != this->compacts.end(); ++_iter368) + std::vector ::const_iterator _iter374; + for (_iter374 = this->compacts.begin(); _iter374 != this->compacts.end(); ++_iter374) { - xfer += (*_iter368).write(oprot); + xfer += (*_iter374).write(oprot); } xfer += oprot->writeListEnd(); } 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 9f583a4..5ab864a 100644 --- a/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h +++ b/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h @@ -2681,6 +2681,43 @@ class AggrStats { void swap(AggrStats &a, AggrStats &b); + +class SetPartitionsStatsRequest { + public: + + static const char* ascii_fingerprint; // = "635C0DA9A947DA57AAE693A5DFB86569"; + static const uint8_t binary_fingerprint[16]; // = {0x63,0x5C,0x0D,0xA9,0xA9,0x47,0xDA,0x57,0xAA,0xE6,0x93,0xA5,0xDF,0xB8,0x65,0x69}; + + SetPartitionsStatsRequest() { + } + + virtual ~SetPartitionsStatsRequest() throw() {} + + std::vector colStats; + + void __set_colStats(const std::vector & val) { + colStats = val; + } + + bool operator == (const SetPartitionsStatsRequest & rhs) const + { + if (!(colStats == rhs.colStats)) + return false; + return true; + } + bool operator != (const SetPartitionsStatsRequest &rhs) const { + return !(*this == rhs); + } + + bool operator < (const SetPartitionsStatsRequest & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +void swap(SetPartitionsStatsRequest &a, SetPartitionsStatsRequest &b); + typedef struct _Schema__isset { _Schema__isset() : fieldSchemas(false), properties(false) {} bool fieldSchemas; 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 96caab6..08f6974 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 @@ -700,14 +700,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 _list346 = iprot.readListBegin(); - struct.parts = new ArrayList(_list346.size); - for (int _i347 = 0; _i347 < _list346.size; ++_i347) + org.apache.thrift.protocol.TList _list354 = iprot.readListBegin(); + struct.parts = new ArrayList(_list354.size); + for (int _i355 = 0; _i355 < _list354.size; ++_i355) { - Partition _elem348; // required - _elem348 = new Partition(); - _elem348.read(iprot); - struct.parts.add(_elem348); + Partition _elem356; // required + _elem356 = new Partition(); + _elem356.read(iprot); + struct.parts.add(_elem356); } iprot.readListEnd(); } @@ -759,9 +759,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 _iter349 : struct.parts) + for (Partition _iter357 : struct.parts) { - _iter349.write(oprot); + _iter357.write(oprot); } oprot.writeListEnd(); } @@ -796,9 +796,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddPartitionsReques oprot.writeString(struct.tblName); { oprot.writeI32(struct.parts.size()); - for (Partition _iter350 : struct.parts) + for (Partition _iter358 : struct.parts) { - _iter350.write(oprot); + _iter358.write(oprot); } } oprot.writeBool(struct.ifNotExists); @@ -820,14 +820,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddPartitionsRequest struct.tblName = iprot.readString(); struct.setTblNameIsSet(true); { - org.apache.thrift.protocol.TList _list351 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.parts = new ArrayList(_list351.size); - for (int _i352 = 0; _i352 < _list351.size; ++_i352) + org.apache.thrift.protocol.TList _list359 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.parts = new ArrayList(_list359.size); + for (int _i360 = 0; _i360 < _list359.size; ++_i360) { - Partition _elem353; // required - _elem353 = new Partition(); - _elem353.read(iprot); - struct.parts.add(_elem353); + Partition _elem361; // required + _elem361 = new Partition(); + _elem361.read(iprot); + struct.parts.add(_elem361); } } 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 ba65da6..4a44177 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 @@ -342,14 +342,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 _list338 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list338.size); - for (int _i339 = 0; _i339 < _list338.size; ++_i339) + org.apache.thrift.protocol.TList _list346 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list346.size); + for (int _i347 = 0; _i347 < _list346.size; ++_i347) { - Partition _elem340; // required - _elem340 = new Partition(); - _elem340.read(iprot); - struct.partitions.add(_elem340); + Partition _elem348; // required + _elem348 = new Partition(); + _elem348.read(iprot); + struct.partitions.add(_elem348); } iprot.readListEnd(); } @@ -376,9 +376,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 _iter341 : struct.partitions) + for (Partition _iter349 : struct.partitions) { - _iter341.write(oprot); + _iter349.write(oprot); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddPartitionsResult if (struct.isSetPartitions()) { { oprot.writeI32(struct.partitions.size()); - for (Partition _iter342 : struct.partitions) + for (Partition _iter350 : struct.partitions) { - _iter342.write(oprot); + _iter350.write(oprot); } } } @@ -424,14 +424,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 _list343 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitions = new ArrayList(_list343.size); - for (int _i344 = 0; _i344 < _list343.size; ++_i344) + org.apache.thrift.protocol.TList _list351 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitions = new ArrayList(_list351.size); + for (int _i352 = 0; _i352 < _list351.size; ++_i352) { - Partition _elem345; // required - _elem345 = new Partition(); - _elem345.read(iprot); - struct.partitions.add(_elem345); + Partition _elem353; // required + _elem353 = new Partition(); + _elem353.read(iprot); + struct.partitions.add(_elem353); } } struct.setPartitionsIsSet(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 87444d2..e454571 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 @@ -342,14 +342,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 _list354 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list354.size); - for (int _i355 = 0; _i355 < _list354.size; ++_i355) + org.apache.thrift.protocol.TList _list362 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list362.size); + for (int _i363 = 0; _i363 < _list362.size; ++_i363) { - Partition _elem356; // required - _elem356 = new Partition(); - _elem356.read(iprot); - struct.partitions.add(_elem356); + Partition _elem364; // required + _elem364 = new Partition(); + _elem364.read(iprot); + struct.partitions.add(_elem364); } iprot.readListEnd(); } @@ -376,9 +376,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 _iter357 : struct.partitions) + for (Partition _iter365 : struct.partitions) { - _iter357.write(oprot); + _iter365.write(oprot); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, DropPartitionsResul if (struct.isSetPartitions()) { { oprot.writeI32(struct.partitions.size()); - for (Partition _iter358 : struct.partitions) + for (Partition _iter366 : struct.partitions) { - _iter358.write(oprot); + _iter366.write(oprot); } } } @@ -424,14 +424,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 _list359 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitions = new ArrayList(_list359.size); - for (int _i360 = 0; _i360 < _list359.size; ++_i360) + org.apache.thrift.protocol.TList _list367 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitions = new ArrayList(_list367.size); + for (int _i368 = 0; _i368 < _list367.size; ++_i368) { - Partition _elem361; // required - _elem361 = new Partition(); - _elem361.read(iprot); - struct.partitions.add(_elem361); + Partition _elem369; // required + _elem369 = new Partition(); + _elem369.read(iprot); + struct.partitions.add(_elem369); } } struct.setPartitionsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java index 3a38950..52c0e2b 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java @@ -351,15 +351,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, EnvironmentContext case 1: // PROPERTIES if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map270 = iprot.readMapBegin(); - struct.properties = new HashMap(2*_map270.size); - for (int _i271 = 0; _i271 < _map270.size; ++_i271) + org.apache.thrift.protocol.TMap _map278 = iprot.readMapBegin(); + struct.properties = new HashMap(2*_map278.size); + for (int _i279 = 0; _i279 < _map278.size; ++_i279) { - String _key272; // required - String _val273; // required - _key272 = iprot.readString(); - _val273 = iprot.readString(); - struct.properties.put(_key272, _val273); + String _key280; // required + String _val281; // required + _key280 = iprot.readString(); + _val281 = iprot.readString(); + struct.properties.put(_key280, _val281); } iprot.readMapEnd(); } @@ -385,10 +385,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, EnvironmentContext 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 _iter274 : struct.properties.entrySet()) + for (Map.Entry _iter282 : struct.properties.entrySet()) { - oprot.writeString(_iter274.getKey()); - oprot.writeString(_iter274.getValue()); + oprot.writeString(_iter282.getKey()); + oprot.writeString(_iter282.getValue()); } oprot.writeMapEnd(); } @@ -419,10 +419,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, EnvironmentContext if (struct.isSetProperties()) { { oprot.writeI32(struct.properties.size()); - for (Map.Entry _iter275 : struct.properties.entrySet()) + for (Map.Entry _iter283 : struct.properties.entrySet()) { - oprot.writeString(_iter275.getKey()); - oprot.writeString(_iter275.getValue()); + oprot.writeString(_iter283.getKey()); + oprot.writeString(_iter283.getValue()); } } } @@ -434,15 +434,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, EnvironmentContext s BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map276 = 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*_map276.size); - for (int _i277 = 0; _i277 < _map276.size; ++_i277) + org.apache.thrift.protocol.TMap _map284 = 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*_map284.size); + for (int _i285 = 0; _i285 < _map284.size; ++_i285) { - String _key278; // required - String _val279; // required - _key278 = iprot.readString(); - _val279 = iprot.readString(); - struct.properties.put(_key278, _val279); + String _key286; // required + String _val287; // required + _key286 = iprot.readString(); + _val287 = iprot.readString(); + struct.properties.put(_key286, _val287); } } struct.setPropertiesIsSet(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 813d5f5..35c91dd 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 @@ -993,14 +993,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 _list378 = iprot.readListBegin(); - struct.resourceUris = new ArrayList(_list378.size); - for (int _i379 = 0; _i379 < _list378.size; ++_i379) + org.apache.thrift.protocol.TList _list386 = iprot.readListBegin(); + struct.resourceUris = new ArrayList(_list386.size); + for (int _i387 = 0; _i387 < _list386.size; ++_i387) { - ResourceUri _elem380; // required - _elem380 = new ResourceUri(); - _elem380.read(iprot); - struct.resourceUris.add(_elem380); + ResourceUri _elem388; // required + _elem388 = new ResourceUri(); + _elem388.read(iprot); + struct.resourceUris.add(_elem388); } iprot.readListEnd(); } @@ -1059,9 +1059,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 _iter381 : struct.resourceUris) + for (ResourceUri _iter389 : struct.resourceUris) { - _iter381.write(oprot); + _iter389.write(oprot); } oprot.writeListEnd(); } @@ -1134,9 +1134,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Function struct) th if (struct.isSetResourceUris()) { { oprot.writeI32(struct.resourceUris.size()); - for (ResourceUri _iter382 : struct.resourceUris) + for (ResourceUri _iter390 : struct.resourceUris) { - _iter382.write(oprot); + _iter390.write(oprot); } } } @@ -1176,14 +1176,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Function struct) thr } if (incoming.get(7)) { { - org.apache.thrift.protocol.TList _list383 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.resourceUris = new ArrayList(_list383.size); - for (int _i384 = 0; _i384 < _list383.size; ++_i384) + org.apache.thrift.protocol.TList _list391 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.resourceUris = new ArrayList(_list391.size); + for (int _i392 = 0; _i392 < _list391.size; ++_i392) { - ResourceUri _elem385; // required - _elem385 = new ResourceUri(); - _elem385.read(iprot); - struct.resourceUris.add(_elem385); + ResourceUri _elem393; // required + _elem393 = new ResourceUri(); + _elem393.read(iprot); + struct.resourceUris.add(_elem393); } } struct.setResourceUrisIsSet(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 5d3bf75..579718c 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 @@ -443,14 +443,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 _list386 = iprot.readListBegin(); - struct.open_txns = new ArrayList(_list386.size); - for (int _i387 = 0; _i387 < _list386.size; ++_i387) + org.apache.thrift.protocol.TList _list394 = iprot.readListBegin(); + struct.open_txns = new ArrayList(_list394.size); + for (int _i395 = 0; _i395 < _list394.size; ++_i395) { - TxnInfo _elem388; // required - _elem388 = new TxnInfo(); - _elem388.read(iprot); - struct.open_txns.add(_elem388); + TxnInfo _elem396; // required + _elem396 = new TxnInfo(); + _elem396.read(iprot); + struct.open_txns.add(_elem396); } iprot.readListEnd(); } @@ -479,9 +479,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 _iter389 : struct.open_txns) + for (TxnInfo _iter397 : struct.open_txns) { - _iter389.write(oprot); + _iter397.write(oprot); } oprot.writeListEnd(); } @@ -507,9 +507,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 _iter390 : struct.open_txns) + for (TxnInfo _iter398 : struct.open_txns) { - _iter390.write(oprot); + _iter398.write(oprot); } } } @@ -520,14 +520,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 _list391 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.open_txns = new ArrayList(_list391.size); - for (int _i392 = 0; _i392 < _list391.size; ++_i392) + org.apache.thrift.protocol.TList _list399 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.open_txns = new ArrayList(_list399.size); + for (int _i400 = 0; _i400 < _list399.size; ++_i400) { - TxnInfo _elem393; // required - _elem393 = new TxnInfo(); - _elem393.read(iprot); - struct.open_txns.add(_elem393); + TxnInfo _elem401; // required + _elem401 = new TxnInfo(); + _elem401.read(iprot); + struct.open_txns.add(_elem401); } } 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 b938d7d..b94b9d5 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 @@ -443,13 +443,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 _set394 = iprot.readSetBegin(); - struct.open_txns = new HashSet(2*_set394.size); - for (int _i395 = 0; _i395 < _set394.size; ++_i395) + org.apache.thrift.protocol.TSet _set402 = iprot.readSetBegin(); + struct.open_txns = new HashSet(2*_set402.size); + for (int _i403 = 0; _i403 < _set402.size; ++_i403) { - long _elem396; // required - _elem396 = iprot.readI64(); - struct.open_txns.add(_elem396); + long _elem404; // required + _elem404 = iprot.readI64(); + struct.open_txns.add(_elem404); } iprot.readSetEnd(); } @@ -478,9 +478,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 _iter397 : struct.open_txns) + for (long _iter405 : struct.open_txns) { - oprot.writeI64(_iter397); + oprot.writeI64(_iter405); } oprot.writeSetEnd(); } @@ -506,9 +506,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 _iter398 : struct.open_txns) + for (long _iter406 : struct.open_txns) { - oprot.writeI64(_iter398); + oprot.writeI64(_iter406); } } } @@ -519,13 +519,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 _set399 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.open_txns = new HashSet(2*_set399.size); - for (int _i400 = 0; _i400 < _set399.size; ++_i400) + org.apache.thrift.protocol.TSet _set407 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.open_txns = new HashSet(2*_set407.size); + for (int _i408 = 0; _i408 < _set407.size; ++_i408) { - long _elem401; // required - _elem401 = iprot.readI64(); - struct.open_txns.add(_elem401); + long _elem409; // required + _elem409 = iprot.readI64(); + struct.open_txns.add(_elem409); } } 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 49f4e56..5da3efb 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 @@ -455,13 +455,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 _set426 = iprot.readSetBegin(); - struct.aborted = new HashSet(2*_set426.size); - for (int _i427 = 0; _i427 < _set426.size; ++_i427) + org.apache.thrift.protocol.TSet _set434 = iprot.readSetBegin(); + struct.aborted = new HashSet(2*_set434.size); + for (int _i435 = 0; _i435 < _set434.size; ++_i435) { - long _elem428; // required - _elem428 = iprot.readI64(); - struct.aborted.add(_elem428); + long _elem436; // required + _elem436 = iprot.readI64(); + struct.aborted.add(_elem436); } iprot.readSetEnd(); } @@ -473,13 +473,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 _set429 = iprot.readSetBegin(); - struct.nosuch = new HashSet(2*_set429.size); - for (int _i430 = 0; _i430 < _set429.size; ++_i430) + org.apache.thrift.protocol.TSet _set437 = iprot.readSetBegin(); + struct.nosuch = new HashSet(2*_set437.size); + for (int _i438 = 0; _i438 < _set437.size; ++_i438) { - long _elem431; // required - _elem431 = iprot.readI64(); - struct.nosuch.add(_elem431); + long _elem439; // required + _elem439 = iprot.readI64(); + struct.nosuch.add(_elem439); } iprot.readSetEnd(); } @@ -505,9 +505,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 _iter432 : struct.aborted) + for (long _iter440 : struct.aborted) { - oprot.writeI64(_iter432); + oprot.writeI64(_iter440); } oprot.writeSetEnd(); } @@ -517,9 +517,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 _iter433 : struct.nosuch) + for (long _iter441 : struct.nosuch) { - oprot.writeI64(_iter433); + oprot.writeI64(_iter441); } oprot.writeSetEnd(); } @@ -544,16 +544,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeRe TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.aborted.size()); - for (long _iter434 : struct.aborted) + for (long _iter442 : struct.aborted) { - oprot.writeI64(_iter434); + oprot.writeI64(_iter442); } } { oprot.writeI32(struct.nosuch.size()); - for (long _iter435 : struct.nosuch) + for (long _iter443 : struct.nosuch) { - oprot.writeI64(_iter435); + oprot.writeI64(_iter443); } } } @@ -562,24 +562,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 _set436 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.aborted = new HashSet(2*_set436.size); - for (int _i437 = 0; _i437 < _set436.size; ++_i437) + org.apache.thrift.protocol.TSet _set444 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.aborted = new HashSet(2*_set444.size); + for (int _i445 = 0; _i445 < _set444.size; ++_i445) { - long _elem438; // required - _elem438 = iprot.readI64(); - struct.aborted.add(_elem438); + long _elem446; // required + _elem446 = iprot.readI64(); + struct.aborted.add(_elem446); } } struct.setAbortedIsSet(true); { - org.apache.thrift.protocol.TSet _set439 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.nosuch = new HashSet(2*_set439.size); - for (int _i440 = 0; _i440 < _set439.size; ++_i440) + org.apache.thrift.protocol.TSet _set447 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.nosuch = new HashSet(2*_set447.size); + for (int _i448 = 0; _i448 < _set447.size; ++_i448) { - long _elem441; // required - _elem441 = iprot.readI64(); - struct.nosuch.add(_elem441); + long _elem449; // required + _elem449 = iprot.readI64(); + struct.nosuch.add(_elem449); } } struct.setNosuchIsSet(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 f860028..5886c2d 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 @@ -601,14 +601,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 _list410 = iprot.readListBegin(); - struct.component = new ArrayList(_list410.size); - for (int _i411 = 0; _i411 < _list410.size; ++_i411) + org.apache.thrift.protocol.TList _list418 = iprot.readListBegin(); + struct.component = new ArrayList(_list418.size); + for (int _i419 = 0; _i419 < _list418.size; ++_i419) { - LockComponent _elem412; // required - _elem412 = new LockComponent(); - _elem412.read(iprot); - struct.component.add(_elem412); + LockComponent _elem420; // required + _elem420 = new LockComponent(); + _elem420.read(iprot); + struct.component.add(_elem420); } iprot.readListEnd(); } @@ -658,9 +658,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 _iter413 : struct.component) + for (LockComponent _iter421 : struct.component) { - _iter413.write(oprot); + _iter421.write(oprot); } oprot.writeListEnd(); } @@ -700,9 +700,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.component.size()); - for (LockComponent _iter414 : struct.component) + for (LockComponent _iter422 : struct.component) { - _iter414.write(oprot); + _iter422.write(oprot); } } oprot.writeString(struct.user); @@ -721,14 +721,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 _list415 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.component = new ArrayList(_list415.size); - for (int _i416 = 0; _i416 < _list415.size; ++_i416) + org.apache.thrift.protocol.TList _list423 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.component = new ArrayList(_list423.size); + for (int _i424 = 0; _i424 < _list423.size; ++_i424) { - LockComponent _elem417; // required - _elem417 = new LockComponent(); - _elem417.read(iprot); - struct.component.add(_elem417); + LockComponent _elem425; // required + _elem425 = new LockComponent(); + _elem425.read(iprot); + struct.component.add(_elem425); } } struct.setComponentIsSet(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 1a99948..990ab86 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 @@ -350,13 +350,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 _list402 = iprot.readListBegin(); - struct.txn_ids = new ArrayList(_list402.size); - for (int _i403 = 0; _i403 < _list402.size; ++_i403) + org.apache.thrift.protocol.TList _list410 = iprot.readListBegin(); + struct.txn_ids = new ArrayList(_list410.size); + for (int _i411 = 0; _i411 < _list410.size; ++_i411) { - long _elem404; // required - _elem404 = iprot.readI64(); - struct.txn_ids.add(_elem404); + long _elem412; // required + _elem412 = iprot.readI64(); + struct.txn_ids.add(_elem412); } iprot.readListEnd(); } @@ -382,9 +382,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 _iter405 : struct.txn_ids) + for (long _iter413 : struct.txn_ids) { - oprot.writeI64(_iter405); + oprot.writeI64(_iter413); } oprot.writeListEnd(); } @@ -409,9 +409,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, OpenTxnsResponse st TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.txn_ids.size()); - for (long _iter406 : struct.txn_ids) + for (long _iter414 : struct.txn_ids) { - oprot.writeI64(_iter406); + oprot.writeI64(_iter414); } } } @@ -420,13 +420,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 _list407 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txn_ids = new ArrayList(_list407.size); - for (int _i408 = 0; _i408 < _list407.size; ++_i408) + org.apache.thrift.protocol.TList _list415 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txn_ids = new ArrayList(_list415.size); + for (int _i416 = 0; _i416 < _list415.size; ++_i416) { - long _elem409; // required - _elem409 = iprot.readI64(); - struct.txn_ids.add(_elem409); + long _elem417; // required + _elem417 = iprot.readI64(); + struct.txn_ids.add(_elem417); } } struct.setTxn_idsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java index 33d5435..d4b10bf 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java @@ -435,14 +435,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsByExprRes case 1: // PARTITIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list280 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list280.size); - for (int _i281 = 0; _i281 < _list280.size; ++_i281) + org.apache.thrift.protocol.TList _list288 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list288.size); + for (int _i289 = 0; _i289 < _list288.size; ++_i289) { - Partition _elem282; // required - _elem282 = new Partition(); - _elem282.read(iprot); - struct.partitions.add(_elem282); + Partition _elem290; // required + _elem290 = new Partition(); + _elem290.read(iprot); + struct.partitions.add(_elem290); } iprot.readListEnd(); } @@ -476,9 +476,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionsByExprRe oprot.writeFieldBegin(PARTITIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size())); - for (Partition _iter283 : struct.partitions) + for (Partition _iter291 : struct.partitions) { - _iter283.write(oprot); + _iter291.write(oprot); } oprot.writeListEnd(); } @@ -506,9 +506,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionsByExprRes TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.partitions.size()); - for (Partition _iter284 : struct.partitions) + for (Partition _iter292 : struct.partitions) { - _iter284.write(oprot); + _iter292.write(oprot); } } oprot.writeBool(struct.hasUnknownPartitions); @@ -518,14 +518,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionsByExprRes public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsByExprResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list285 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitions = new ArrayList(_list285.size); - for (int _i286 = 0; _i286 < _list285.size; ++_i286) + org.apache.thrift.protocol.TList _list293 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitions = new ArrayList(_list293.size); + for (int _i294 = 0; _i294 < _list293.size; ++_i294) { - Partition _elem287; // required - _elem287 = new Partition(); - _elem287.read(iprot); - struct.partitions.add(_elem287); + Partition _elem295; // required + _elem295 = new Partition(); + _elem295.read(iprot); + struct.partitions.add(_elem295); } } struct.setPartitionsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java index ec451ad..f23b89a 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java @@ -641,13 +641,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsStatsRequ case 3: // COL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list322 = iprot.readListBegin(); - struct.colNames = new ArrayList(_list322.size); - for (int _i323 = 0; _i323 < _list322.size; ++_i323) + org.apache.thrift.protocol.TList _list330 = iprot.readListBegin(); + struct.colNames = new ArrayList(_list330.size); + for (int _i331 = 0; _i331 < _list330.size; ++_i331) { - String _elem324; // required - _elem324 = iprot.readString(); - struct.colNames.add(_elem324); + String _elem332; // required + _elem332 = iprot.readString(); + struct.colNames.add(_elem332); } iprot.readListEnd(); } @@ -659,13 +659,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsStatsRequ case 4: // PART_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list325 = iprot.readListBegin(); - struct.partNames = new ArrayList(_list325.size); - for (int _i326 = 0; _i326 < _list325.size; ++_i326) + org.apache.thrift.protocol.TList _list333 = iprot.readListBegin(); + struct.partNames = new ArrayList(_list333.size); + for (int _i334 = 0; _i334 < _list333.size; ++_i334) { - String _elem327; // required - _elem327 = iprot.readString(); - struct.partNames.add(_elem327); + String _elem335; // required + _elem335 = iprot.readString(); + struct.partNames.add(_elem335); } iprot.readListEnd(); } @@ -701,9 +701,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionsStatsReq 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 _iter328 : struct.colNames) + for (String _iter336 : struct.colNames) { - oprot.writeString(_iter328); + oprot.writeString(_iter336); } oprot.writeListEnd(); } @@ -713,9 +713,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionsStatsReq oprot.writeFieldBegin(PART_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partNames.size())); - for (String _iter329 : struct.partNames) + for (String _iter337 : struct.partNames) { - oprot.writeString(_iter329); + oprot.writeString(_iter337); } oprot.writeListEnd(); } @@ -742,16 +742,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsRequ oprot.writeString(struct.tblName); { oprot.writeI32(struct.colNames.size()); - for (String _iter330 : struct.colNames) + for (String _iter338 : struct.colNames) { - oprot.writeString(_iter330); + oprot.writeString(_iter338); } } { oprot.writeI32(struct.partNames.size()); - for (String _iter331 : struct.partNames) + for (String _iter339 : struct.partNames) { - oprot.writeString(_iter331); + oprot.writeString(_iter339); } } } @@ -764,24 +764,24 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsReque struct.tblName = iprot.readString(); struct.setTblNameIsSet(true); { - org.apache.thrift.protocol.TList _list332 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.colNames = new ArrayList(_list332.size); - for (int _i333 = 0; _i333 < _list332.size; ++_i333) + org.apache.thrift.protocol.TList _list340 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.colNames = new ArrayList(_list340.size); + for (int _i341 = 0; _i341 < _list340.size; ++_i341) { - String _elem334; // required - _elem334 = iprot.readString(); - struct.colNames.add(_elem334); + String _elem342; // required + _elem342 = iprot.readString(); + struct.colNames.add(_elem342); } } struct.setColNamesIsSet(true); { - org.apache.thrift.protocol.TList _list335 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partNames = new ArrayList(_list335.size); - for (int _i336 = 0; _i336 < _list335.size; ++_i336) + org.apache.thrift.protocol.TList _list343 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partNames = new ArrayList(_list343.size); + for (int _i344 = 0; _i344 < _list343.size; ++_i344) { - String _elem337; // required - _elem337 = iprot.readString(); - struct.partNames.add(_elem337); + String _elem345; // required + _elem345 = iprot.readString(); + struct.partNames.add(_elem345); } } struct.setPartNamesIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java index 916d4b4..d320c5e 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java @@ -359,26 +359,26 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsStatsResu case 1: // PART_STATS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map296 = iprot.readMapBegin(); - struct.partStats = new HashMap>(2*_map296.size); - for (int _i297 = 0; _i297 < _map296.size; ++_i297) + org.apache.thrift.protocol.TMap _map304 = iprot.readMapBegin(); + struct.partStats = new HashMap>(2*_map304.size); + for (int _i305 = 0; _i305 < _map304.size; ++_i305) { - String _key298; // required - List _val299; // required - _key298 = iprot.readString(); + String _key306; // required + List _val307; // required + _key306 = iprot.readString(); { - org.apache.thrift.protocol.TList _list300 = iprot.readListBegin(); - _val299 = new ArrayList(_list300.size); - for (int _i301 = 0; _i301 < _list300.size; ++_i301) + org.apache.thrift.protocol.TList _list308 = iprot.readListBegin(); + _val307 = new ArrayList(_list308.size); + for (int _i309 = 0; _i309 < _list308.size; ++_i309) { - ColumnStatisticsObj _elem302; // required - _elem302 = new ColumnStatisticsObj(); - _elem302.read(iprot); - _val299.add(_elem302); + ColumnStatisticsObj _elem310; // required + _elem310 = new ColumnStatisticsObj(); + _elem310.read(iprot); + _val307.add(_elem310); } iprot.readListEnd(); } - struct.partStats.put(_key298, _val299); + struct.partStats.put(_key306, _val307); } iprot.readMapEnd(); } @@ -404,14 +404,14 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionsStatsRes oprot.writeFieldBegin(PART_STATS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, struct.partStats.size())); - for (Map.Entry> _iter303 : struct.partStats.entrySet()) + for (Map.Entry> _iter311 : struct.partStats.entrySet()) { - oprot.writeString(_iter303.getKey()); + oprot.writeString(_iter311.getKey()); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter303.getValue().size())); - for (ColumnStatisticsObj _iter304 : _iter303.getValue()) + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter311.getValue().size())); + for (ColumnStatisticsObj _iter312 : _iter311.getValue()) { - _iter304.write(oprot); + _iter312.write(oprot); } oprot.writeListEnd(); } @@ -439,14 +439,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsResu TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.partStats.size()); - for (Map.Entry> _iter305 : struct.partStats.entrySet()) + for (Map.Entry> _iter313 : struct.partStats.entrySet()) { - oprot.writeString(_iter305.getKey()); + oprot.writeString(_iter313.getKey()); { - oprot.writeI32(_iter305.getValue().size()); - for (ColumnStatisticsObj _iter306 : _iter305.getValue()) + oprot.writeI32(_iter313.getValue().size()); + for (ColumnStatisticsObj _iter314 : _iter313.getValue()) { - _iter306.write(oprot); + _iter314.write(oprot); } } } @@ -457,25 +457,25 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsResu public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TMap _map307 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, iprot.readI32()); - struct.partStats = new HashMap>(2*_map307.size); - for (int _i308 = 0; _i308 < _map307.size; ++_i308) + org.apache.thrift.protocol.TMap _map315 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, iprot.readI32()); + struct.partStats = new HashMap>(2*_map315.size); + for (int _i316 = 0; _i316 < _map315.size; ++_i316) { - String _key309; // required - List _val310; // required - _key309 = iprot.readString(); + String _key317; // required + List _val318; // required + _key317 = iprot.readString(); { - org.apache.thrift.protocol.TList _list311 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val310 = new ArrayList(_list311.size); - for (int _i312 = 0; _i312 < _list311.size; ++_i312) + org.apache.thrift.protocol.TList _list319 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + _val318 = new ArrayList(_list319.size); + for (int _i320 = 0; _i320 < _list319.size; ++_i320) { - ColumnStatisticsObj _elem313; // required - _elem313 = new ColumnStatisticsObj(); - _elem313.read(iprot); - _val310.add(_elem313); + ColumnStatisticsObj _elem321; // required + _elem321 = new ColumnStatisticsObj(); + _elem321.read(iprot); + _val318.add(_elem321); } } - struct.partStats.put(_key309, _val310); + struct.partStats.put(_key317, _val318); } } struct.setPartStatsIsSet(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 217a3c1..805618f 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 @@ -165,13 +165,13 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip if (field.type == NAMES_FIELD_DESC.type) { List names; { - org.apache.thrift.protocol.TList _list362 = iprot.readListBegin(); - names = new ArrayList(_list362.size); - for (int _i363 = 0; _i363 < _list362.size; ++_i363) + org.apache.thrift.protocol.TList _list370 = iprot.readListBegin(); + names = new ArrayList(_list370.size); + for (int _i371 = 0; _i371 < _list370.size; ++_i371) { - String _elem364; // required - _elem364 = iprot.readString(); - names.add(_elem364); + String _elem372; // required + _elem372 = iprot.readString(); + names.add(_elem372); } iprot.readListEnd(); } @@ -184,14 +184,14 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip if (field.type == EXPRS_FIELD_DESC.type) { List exprs; { - org.apache.thrift.protocol.TList _list365 = iprot.readListBegin(); - exprs = new ArrayList(_list365.size); - for (int _i366 = 0; _i366 < _list365.size; ++_i366) + org.apache.thrift.protocol.TList _list373 = iprot.readListBegin(); + exprs = new ArrayList(_list373.size); + for (int _i374 = 0; _i374 < _list373.size; ++_i374) { - DropPartitionsExpr _elem367; // required - _elem367 = new DropPartitionsExpr(); - _elem367.read(iprot); - exprs.add(_elem367); + DropPartitionsExpr _elem375; // required + _elem375 = new DropPartitionsExpr(); + _elem375.read(iprot); + exprs.add(_elem375); } iprot.readListEnd(); } @@ -215,9 +215,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 _iter368 : names) + for (String _iter376 : names) { - oprot.writeString(_iter368); + oprot.writeString(_iter376); } oprot.writeListEnd(); } @@ -226,9 +226,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 _iter369 : exprs) + for (DropPartitionsExpr _iter377 : exprs) { - _iter369.write(oprot); + _iter377.write(oprot); } oprot.writeListEnd(); } @@ -246,13 +246,13 @@ protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot case NAMES: List names; { - org.apache.thrift.protocol.TList _list370 = iprot.readListBegin(); - names = new ArrayList(_list370.size); - for (int _i371 = 0; _i371 < _list370.size; ++_i371) + org.apache.thrift.protocol.TList _list378 = iprot.readListBegin(); + names = new ArrayList(_list378.size); + for (int _i379 = 0; _i379 < _list378.size; ++_i379) { - String _elem372; // required - _elem372 = iprot.readString(); - names.add(_elem372); + String _elem380; // required + _elem380 = iprot.readString(); + names.add(_elem380); } iprot.readListEnd(); } @@ -260,14 +260,14 @@ protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot case EXPRS: List exprs; { - org.apache.thrift.protocol.TList _list373 = iprot.readListBegin(); - exprs = new ArrayList(_list373.size); - for (int _i374 = 0; _i374 < _list373.size; ++_i374) + org.apache.thrift.protocol.TList _list381 = iprot.readListBegin(); + exprs = new ArrayList(_list381.size); + for (int _i382 = 0; _i382 < _list381.size; ++_i382) { - DropPartitionsExpr _elem375; // required - _elem375 = new DropPartitionsExpr(); - _elem375.read(iprot); - exprs.add(_elem375); + DropPartitionsExpr _elem383; // required + _elem383 = new DropPartitionsExpr(); + _elem383.read(iprot); + exprs.add(_elem383); } iprot.readListEnd(); } @@ -287,9 +287,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 _iter376 : names) + for (String _iter384 : names) { - oprot.writeString(_iter376); + oprot.writeString(_iter384); } oprot.writeListEnd(); } @@ -298,9 +298,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 _iter377 : exprs) + for (DropPartitionsExpr _iter385 : exprs) { - _iter377.write(oprot); + _iter385.write(oprot); } oprot.writeListEnd(); } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java index 0c200c5..45bf05c 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java @@ -452,14 +452,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Schema struct) thro case 1: // FIELD_SCHEMAS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list252 = iprot.readListBegin(); - struct.fieldSchemas = new ArrayList(_list252.size); - for (int _i253 = 0; _i253 < _list252.size; ++_i253) + org.apache.thrift.protocol.TList _list260 = iprot.readListBegin(); + struct.fieldSchemas = new ArrayList(_list260.size); + for (int _i261 = 0; _i261 < _list260.size; ++_i261) { - FieldSchema _elem254; // required - _elem254 = new FieldSchema(); - _elem254.read(iprot); - struct.fieldSchemas.add(_elem254); + FieldSchema _elem262; // required + _elem262 = new FieldSchema(); + _elem262.read(iprot); + struct.fieldSchemas.add(_elem262); } iprot.readListEnd(); } @@ -471,15 +471,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Schema struct) thro case 2: // PROPERTIES if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map255 = iprot.readMapBegin(); - struct.properties = new HashMap(2*_map255.size); - for (int _i256 = 0; _i256 < _map255.size; ++_i256) + org.apache.thrift.protocol.TMap _map263 = iprot.readMapBegin(); + struct.properties = new HashMap(2*_map263.size); + for (int _i264 = 0; _i264 < _map263.size; ++_i264) { - String _key257; // required - String _val258; // required - _key257 = iprot.readString(); - _val258 = iprot.readString(); - struct.properties.put(_key257, _val258); + String _key265; // required + String _val266; // required + _key265 = iprot.readString(); + _val266 = iprot.readString(); + struct.properties.put(_key265, _val266); } iprot.readMapEnd(); } @@ -505,9 +505,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Schema struct) thr oprot.writeFieldBegin(FIELD_SCHEMAS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.fieldSchemas.size())); - for (FieldSchema _iter259 : struct.fieldSchemas) + for (FieldSchema _iter267 : struct.fieldSchemas) { - _iter259.write(oprot); + _iter267.write(oprot); } oprot.writeListEnd(); } @@ -517,10 +517,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Schema struct) thr 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 _iter260 : struct.properties.entrySet()) + for (Map.Entry _iter268 : struct.properties.entrySet()) { - oprot.writeString(_iter260.getKey()); - oprot.writeString(_iter260.getValue()); + oprot.writeString(_iter268.getKey()); + oprot.writeString(_iter268.getValue()); } oprot.writeMapEnd(); } @@ -554,19 +554,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Schema struct) thro if (struct.isSetFieldSchemas()) { { oprot.writeI32(struct.fieldSchemas.size()); - for (FieldSchema _iter261 : struct.fieldSchemas) + for (FieldSchema _iter269 : struct.fieldSchemas) { - _iter261.write(oprot); + _iter269.write(oprot); } } } if (struct.isSetProperties()) { { oprot.writeI32(struct.properties.size()); - for (Map.Entry _iter262 : struct.properties.entrySet()) + for (Map.Entry _iter270 : struct.properties.entrySet()) { - oprot.writeString(_iter262.getKey()); - oprot.writeString(_iter262.getValue()); + oprot.writeString(_iter270.getKey()); + oprot.writeString(_iter270.getValue()); } } } @@ -578,29 +578,29 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Schema struct) throw BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list263 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.fieldSchemas = new ArrayList(_list263.size); - for (int _i264 = 0; _i264 < _list263.size; ++_i264) + org.apache.thrift.protocol.TList _list271 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.fieldSchemas = new ArrayList(_list271.size); + for (int _i272 = 0; _i272 < _list271.size; ++_i272) { - FieldSchema _elem265; // required - _elem265 = new FieldSchema(); - _elem265.read(iprot); - struct.fieldSchemas.add(_elem265); + FieldSchema _elem273; // required + _elem273 = new FieldSchema(); + _elem273.read(iprot); + struct.fieldSchemas.add(_elem273); } } struct.setFieldSchemasIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TMap _map266 = 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*_map266.size); - for (int _i267 = 0; _i267 < _map266.size; ++_i267) + org.apache.thrift.protocol.TMap _map274 = 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*_map274.size); + for (int _i275 = 0; _i275 < _map274.size; ++_i275) { - String _key268; // required - String _val269; // required - _key268 = iprot.readString(); - _val269 = iprot.readString(); - struct.properties.put(_key268, _val269); + String _key276; // required + String _val277; // required + _key276 = iprot.readString(); + _val277 = iprot.readString(); + struct.properties.put(_key276, _val277); } } struct.setPropertiesIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java new file mode 100644 index 0000000..98a100a --- /dev/null +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java @@ -0,0 +1,439 @@ +/** + * Autogenerated by Thrift Compiler (0.9.0) + * + * 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.commons.lang.builder.HashCodeBuilder; +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 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 org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +public class SetPartitionsStatsRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("SetPartitionsStatsRequest"); + + private static final org.apache.thrift.protocol.TField COL_STATS_FIELD_DESC = new org.apache.thrift.protocol.TField("colStats", org.apache.thrift.protocol.TType.LIST, (short)1); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new SetPartitionsStatsRequestStandardSchemeFactory()); + schemes.put(TupleScheme.class, new SetPartitionsStatsRequestTupleSchemeFactory()); + } + + private List colStats; // 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 { + COL_STATS((short)1, "colStats"); + + 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: // COL_STATS + return COL_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.COL_STATS, new org.apache.thrift.meta_data.FieldMetaData("colStats", 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, ColumnStatistics.class)))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(SetPartitionsStatsRequest.class, metaDataMap); + } + + public SetPartitionsStatsRequest() { + } + + public SetPartitionsStatsRequest( + List colStats) + { + this(); + this.colStats = colStats; + } + + /** + * Performs a deep copy on other. + */ + public SetPartitionsStatsRequest(SetPartitionsStatsRequest other) { + if (other.isSetColStats()) { + List __this__colStats = new ArrayList(); + for (ColumnStatistics other_element : other.colStats) { + __this__colStats.add(new ColumnStatistics(other_element)); + } + this.colStats = __this__colStats; + } + } + + public SetPartitionsStatsRequest deepCopy() { + return new SetPartitionsStatsRequest(this); + } + + @Override + public void clear() { + this.colStats = null; + } + + public int getColStatsSize() { + return (this.colStats == null) ? 0 : this.colStats.size(); + } + + public java.util.Iterator getColStatsIterator() { + return (this.colStats == null) ? null : this.colStats.iterator(); + } + + public void addToColStats(ColumnStatistics elem) { + if (this.colStats == null) { + this.colStats = new ArrayList(); + } + this.colStats.add(elem); + } + + public List getColStats() { + return this.colStats; + } + + public void setColStats(List colStats) { + this.colStats = colStats; + } + + public void unsetColStats() { + this.colStats = null; + } + + /** Returns true if field colStats is set (has been assigned a value) and false otherwise */ + public boolean isSetColStats() { + return this.colStats != null; + } + + public void setColStatsIsSet(boolean value) { + if (!value) { + this.colStats = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case COL_STATS: + if (value == null) { + unsetColStats(); + } else { + setColStats((List)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case COL_STATS: + return getColStats(); + + } + 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 COL_STATS: + return isSetColStats(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof SetPartitionsStatsRequest) + return this.equals((SetPartitionsStatsRequest)that); + return false; + } + + public boolean equals(SetPartitionsStatsRequest that) { + if (that == null) + return false; + + boolean this_present_colStats = true && this.isSetColStats(); + boolean that_present_colStats = true && that.isSetColStats(); + if (this_present_colStats || that_present_colStats) { + if (!(this_present_colStats && that_present_colStats)) + return false; + if (!this.colStats.equals(that.colStats)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + HashCodeBuilder builder = new HashCodeBuilder(); + + boolean present_colStats = true && (isSetColStats()); + builder.append(present_colStats); + if (present_colStats) + builder.append(colStats); + + return builder.toHashCode(); + } + + public int compareTo(SetPartitionsStatsRequest other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + SetPartitionsStatsRequest typedOther = (SetPartitionsStatsRequest)other; + + lastComparison = Boolean.valueOf(isSetColStats()).compareTo(typedOther.isSetColStats()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetColStats()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colStats, typedOther.colStats); + 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("SetPartitionsStatsRequest("); + boolean first = true; + + sb.append("colStats:"); + if (this.colStats == null) { + sb.append("null"); + } else { + sb.append(this.colStats); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + if (!isSetColStats()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'colStats' 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 SetPartitionsStatsRequestStandardSchemeFactory implements SchemeFactory { + public SetPartitionsStatsRequestStandardScheme getScheme() { + return new SetPartitionsStatsRequestStandardScheme(); + } + } + + private static class SetPartitionsStatsRequestStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, SetPartitionsStatsRequest 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: // COL_STATS + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list252 = iprot.readListBegin(); + struct.colStats = new ArrayList(_list252.size); + for (int _i253 = 0; _i253 < _list252.size; ++_i253) + { + ColumnStatistics _elem254; // required + _elem254 = new ColumnStatistics(); + _elem254.read(iprot); + struct.colStats.add(_elem254); + } + iprot.readListEnd(); + } + struct.setColStatsIsSet(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, SetPartitionsStatsRequest struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.colStats != null) { + oprot.writeFieldBegin(COL_STATS_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.colStats.size())); + for (ColumnStatistics _iter255 : struct.colStats) + { + _iter255.write(oprot); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class SetPartitionsStatsRequestTupleSchemeFactory implements SchemeFactory { + public SetPartitionsStatsRequestTupleScheme getScheme() { + return new SetPartitionsStatsRequestTupleScheme(); + } + } + + private static class SetPartitionsStatsRequestTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, SetPartitionsStatsRequest struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + { + oprot.writeI32(struct.colStats.size()); + for (ColumnStatistics _iter256 : struct.colStats) + { + _iter256.write(oprot); + } + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, SetPartitionsStatsRequest struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + { + org.apache.thrift.protocol.TList _list257 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.colStats = new ArrayList(_list257.size); + for (int _i258 = 0; _i258 < _list257.size; ++_i258) + { + ColumnStatistics _elem259; // required + _elem259 = new ColumnStatistics(); + _elem259.read(iprot); + struct.colStats.add(_elem259); + } + } + struct.setColStatsIsSet(true); + } + } + +} + 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 6da732e..ac41683 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 @@ -350,14 +350,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 _list442 = iprot.readListBegin(); - struct.compacts = new ArrayList(_list442.size); - for (int _i443 = 0; _i443 < _list442.size; ++_i443) + org.apache.thrift.protocol.TList _list450 = iprot.readListBegin(); + struct.compacts = new ArrayList(_list450.size); + for (int _i451 = 0; _i451 < _list450.size; ++_i451) { - ShowCompactResponseElement _elem444; // required - _elem444 = new ShowCompactResponseElement(); - _elem444.read(iprot); - struct.compacts.add(_elem444); + ShowCompactResponseElement _elem452; // required + _elem452 = new ShowCompactResponseElement(); + _elem452.read(iprot); + struct.compacts.add(_elem452); } iprot.readListEnd(); } @@ -383,9 +383,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 _iter445 : struct.compacts) + for (ShowCompactResponseElement _iter453 : struct.compacts) { - _iter445.write(oprot); + _iter453.write(oprot); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.compacts.size()); - for (ShowCompactResponseElement _iter446 : struct.compacts) + for (ShowCompactResponseElement _iter454 : struct.compacts) { - _iter446.write(oprot); + _iter454.write(oprot); } } } @@ -421,14 +421,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 _list447 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.compacts = new ArrayList(_list447.size); - for (int _i448 = 0; _i448 < _list447.size; ++_i448) + org.apache.thrift.protocol.TList _list455 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.compacts = new ArrayList(_list455.size); + for (int _i456 = 0; _i456 < _list455.size; ++_i456) { - ShowCompactResponseElement _elem449; // required - _elem449 = new ShowCompactResponseElement(); - _elem449.read(iprot); - struct.compacts.add(_elem449); + ShowCompactResponseElement _elem457; // required + _elem457 = new ShowCompactResponseElement(); + _elem457.read(iprot); + struct.compacts.add(_elem457); } } 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 554601a..f4ef62d 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 @@ -346,14 +346,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 _list418 = iprot.readListBegin(); - struct.locks = new ArrayList(_list418.size); - for (int _i419 = 0; _i419 < _list418.size; ++_i419) + org.apache.thrift.protocol.TList _list426 = iprot.readListBegin(); + struct.locks = new ArrayList(_list426.size); + for (int _i427 = 0; _i427 < _list426.size; ++_i427) { - ShowLocksResponseElement _elem420; // required - _elem420 = new ShowLocksResponseElement(); - _elem420.read(iprot); - struct.locks.add(_elem420); + ShowLocksResponseElement _elem428; // required + _elem428 = new ShowLocksResponseElement(); + _elem428.read(iprot); + struct.locks.add(_elem428); } iprot.readListEnd(); } @@ -379,9 +379,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 _iter421 : struct.locks) + for (ShowLocksResponseElement _iter429 : struct.locks) { - _iter421.write(oprot); + _iter429.write(oprot); } oprot.writeListEnd(); } @@ -412,9 +412,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowLocksResponse s if (struct.isSetLocks()) { { oprot.writeI32(struct.locks.size()); - for (ShowLocksResponseElement _iter422 : struct.locks) + for (ShowLocksResponseElement _iter430 : struct.locks) { - _iter422.write(oprot); + _iter430.write(oprot); } } } @@ -426,14 +426,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 _list423 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.locks = new ArrayList(_list423.size); - for (int _i424 = 0; _i424 < _list423.size; ++_i424) + org.apache.thrift.protocol.TList _list431 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.locks = new ArrayList(_list431.size); + for (int _i432 = 0; _i432 < _list431.size; ++_i432) { - ShowLocksResponseElement _elem425; // required - _elem425 = new ShowLocksResponseElement(); - _elem425.read(iprot); - struct.locks.add(_elem425); + ShowLocksResponseElement _elem433; // required + _elem433 = new ShowLocksResponseElement(); + _elem433.read(iprot); + struct.locks.add(_elem433); } } struct.setLocksIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java index 23711f8..d53292e 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java @@ -536,13 +536,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TableStatsRequest s case 3: // COL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list314 = iprot.readListBegin(); - struct.colNames = new ArrayList(_list314.size); - for (int _i315 = 0; _i315 < _list314.size; ++_i315) + org.apache.thrift.protocol.TList _list322 = iprot.readListBegin(); + struct.colNames = new ArrayList(_list322.size); + for (int _i323 = 0; _i323 < _list322.size; ++_i323) { - String _elem316; // required - _elem316 = iprot.readString(); - struct.colNames.add(_elem316); + String _elem324; // required + _elem324 = iprot.readString(); + struct.colNames.add(_elem324); } iprot.readListEnd(); } @@ -578,9 +578,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TableStatsRequest 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 _iter317 : struct.colNames) + for (String _iter325 : struct.colNames) { - oprot.writeString(_iter317); + oprot.writeString(_iter325); } oprot.writeListEnd(); } @@ -607,9 +607,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TableStatsRequest s oprot.writeString(struct.tblName); { oprot.writeI32(struct.colNames.size()); - for (String _iter318 : struct.colNames) + for (String _iter326 : struct.colNames) { - oprot.writeString(_iter318); + oprot.writeString(_iter326); } } } @@ -622,13 +622,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TableStatsRequest st struct.tblName = iprot.readString(); struct.setTblNameIsSet(true); { - org.apache.thrift.protocol.TList _list319 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.colNames = new ArrayList(_list319.size); - for (int _i320 = 0; _i320 < _list319.size; ++_i320) + org.apache.thrift.protocol.TList _list327 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.colNames = new ArrayList(_list327.size); + for (int _i328 = 0; _i328 < _list327.size; ++_i328) { - String _elem321; // required - _elem321 = iprot.readString(); - struct.colNames.add(_elem321); + String _elem329; // required + _elem329 = iprot.readString(); + struct.colNames.add(_elem329); } } struct.setColNamesIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java index a61d363..f78732e 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java @@ -350,14 +350,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TableStatsResult st case 1: // TABLE_STATS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list288 = iprot.readListBegin(); - struct.tableStats = new ArrayList(_list288.size); - for (int _i289 = 0; _i289 < _list288.size; ++_i289) + org.apache.thrift.protocol.TList _list296 = iprot.readListBegin(); + struct.tableStats = new ArrayList(_list296.size); + for (int _i297 = 0; _i297 < _list296.size; ++_i297) { - ColumnStatisticsObj _elem290; // required - _elem290 = new ColumnStatisticsObj(); - _elem290.read(iprot); - struct.tableStats.add(_elem290); + ColumnStatisticsObj _elem298; // required + _elem298 = new ColumnStatisticsObj(); + _elem298.read(iprot); + struct.tableStats.add(_elem298); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TableStatsResult s oprot.writeFieldBegin(TABLE_STATS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.tableStats.size())); - for (ColumnStatisticsObj _iter291 : struct.tableStats) + for (ColumnStatisticsObj _iter299 : struct.tableStats) { - _iter291.write(oprot); + _iter299.write(oprot); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TableStatsResult st TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.tableStats.size()); - for (ColumnStatisticsObj _iter292 : struct.tableStats) + for (ColumnStatisticsObj _iter300 : struct.tableStats) { - _iter292.write(oprot); + _iter300.write(oprot); } } } @@ -421,14 +421,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TableStatsResult st public void read(org.apache.thrift.protocol.TProtocol prot, TableStatsResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list293 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tableStats = new ArrayList(_list293.size); - for (int _i294 = 0; _i294 < _list293.size; ++_i294) + org.apache.thrift.protocol.TList _list301 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.tableStats = new ArrayList(_list301.size); + for (int _i302 = 0; _i302 < _list301.size; ++_i302) { - ColumnStatisticsObj _elem295; // required - _elem295 = new ColumnStatisticsObj(); - _elem295.read(iprot); - struct.tableStats.add(_elem295); + ColumnStatisticsObj _elem303; // required + _elem303 = new ColumnStatisticsObj(); + _elem303.read(iprot); + struct.tableStats.add(_elem303); } } struct.setTableStatsIsSet(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 fb06b6c..011f612 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 @@ -186,6 +186,8 @@ public AggrStats get_aggr_stats_for(PartitionsStatsRequest 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; public boolean delete_table_column_statistics(String db_name, String tbl_name, String col_name) throws NoSuchObjectException, MetaException, InvalidObjectException, InvalidInputException, org.apache.thrift.TException; @@ -414,6 +416,8 @@ public void get_aggr_stats_for(PartitionsStatsRequest 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; public void delete_table_column_statistics(String db_name, String tbl_name, String col_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; @@ -2803,6 +2807,41 @@ 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 boolean set_aggr_stats_for(SetPartitionsStatsRequest request) throws NoSuchObjectException, InvalidObjectException, MetaException, InvalidInputException, org.apache.thrift.TException + { + send_set_aggr_stats_for(request); + return recv_set_aggr_stats_for(); + } + + public void send_set_aggr_stats_for(SetPartitionsStatsRequest request) throws org.apache.thrift.TException + { + set_aggr_stats_for_args args = new set_aggr_stats_for_args(); + args.setRequest(request); + sendBase("set_aggr_stats_for", args); + } + + public boolean recv_set_aggr_stats_for() throws NoSuchObjectException, InvalidObjectException, MetaException, InvalidInputException, org.apache.thrift.TException + { + set_aggr_stats_for_result result = new set_aggr_stats_for_result(); + receiveBase(result, "set_aggr_stats_for"); + if (result.isSetSuccess()) { + return result.success; + } + if (result.o1 != null) { + throw result.o1; + } + if (result.o2 != null) { + throw result.o2; + } + if (result.o3 != null) { + throw result.o3; + } + if (result.o4 != null) { + throw result.o4; + } + throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "set_aggr_stats_for failed: unknown result"); + } + 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 { send_delete_partition_column_statistics(db_name, tbl_name, part_name, col_name); @@ -6561,6 +6600,38 @@ public AggrStats getResult() throws NoSuchObjectException, MetaException, org.ap } } + 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); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class set_aggr_stats_for_call extends org.apache.thrift.async.TAsyncMethodCall { + private SetPartitionsStatsRequest request; + public set_aggr_stats_for_call(SetPartitionsStatsRequest 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("set_aggr_stats_for", org.apache.thrift.protocol.TMessageType.CALL, 0)); + set_aggr_stats_for_args args = new set_aggr_stats_for_args(); + args.setRequest(request); + args.write(prot); + prot.writeMessageEnd(); + } + + public boolean getResult() throws NoSuchObjectException, InvalidObjectException, MetaException, InvalidInputException, 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_set_aggr_stats_for(); + } + } + 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 { checkReady(); delete_partition_column_statistics_call method_call = new delete_partition_column_statistics_call(db_name, tbl_name, part_name, col_name, resultHandler, this, ___protocolFactory, ___transport); @@ -7927,6 +7998,7 @@ protected Processor(I iface, Map extends org.apache.thrift.ProcessFunction { + public set_aggr_stats_for() { + super("set_aggr_stats_for"); + } + + public set_aggr_stats_for_args getEmptyArgsInstance() { + return new set_aggr_stats_for_args(); + } + + protected boolean isOneway() { + return false; + } + + public set_aggr_stats_for_result getResult(I iface, set_aggr_stats_for_args args) throws org.apache.thrift.TException { + set_aggr_stats_for_result result = new set_aggr_stats_for_result(); + try { + result.success = iface.set_aggr_stats_for(args.request); + result.setSuccessIsSet(true); + } catch (NoSuchObjectException o1) { + result.o1 = o1; + } catch (InvalidObjectException o2) { + result.o2 = o2; + } catch (MetaException o3) { + result.o3 = o3; + } catch (InvalidInputException o4) { + result.o4 = o4; + } + return result; + } + } + public static class delete_partition_column_statistics extends org.apache.thrift.ProcessFunction { public delete_partition_column_statistics() { super("delete_partition_column_statistics"); @@ -16283,13 +16386,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 _list450 = iprot.readListBegin(); - struct.success = new ArrayList(_list450.size); - for (int _i451 = 0; _i451 < _list450.size; ++_i451) + org.apache.thrift.protocol.TList _list458 = iprot.readListBegin(); + struct.success = new ArrayList(_list458.size); + for (int _i459 = 0; _i459 < _list458.size; ++_i459) { - String _elem452; // required - _elem452 = iprot.readString(); - struct.success.add(_elem452); + String _elem460; // required + _elem460 = iprot.readString(); + struct.success.add(_elem460); } iprot.readListEnd(); } @@ -16324,9 +16427,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 _iter453 : struct.success) + for (String _iter461 : struct.success) { - oprot.writeString(_iter453); + oprot.writeString(_iter461); } oprot.writeListEnd(); } @@ -16365,9 +16468,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter454 : struct.success) + for (String _iter462 : struct.success) { - oprot.writeString(_iter454); + oprot.writeString(_iter462); } } } @@ -16382,13 +16485,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 _list455 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list455.size); - for (int _i456 = 0; _i456 < _list455.size; ++_i456) + org.apache.thrift.protocol.TList _list463 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list463.size); + for (int _i464 = 0; _i464 < _list463.size; ++_i464) { - String _elem457; // required - _elem457 = iprot.readString(); - struct.success.add(_elem457); + String _elem465; // required + _elem465 = iprot.readString(); + struct.success.add(_elem465); } } struct.setSuccessIsSet(true); @@ -17045,13 +17148,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 _list458 = iprot.readListBegin(); - struct.success = new ArrayList(_list458.size); - for (int _i459 = 0; _i459 < _list458.size; ++_i459) + org.apache.thrift.protocol.TList _list466 = iprot.readListBegin(); + struct.success = new ArrayList(_list466.size); + for (int _i467 = 0; _i467 < _list466.size; ++_i467) { - String _elem460; // required - _elem460 = iprot.readString(); - struct.success.add(_elem460); + String _elem468; // required + _elem468 = iprot.readString(); + struct.success.add(_elem468); } iprot.readListEnd(); } @@ -17086,9 +17189,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 _iter461 : struct.success) + for (String _iter469 : struct.success) { - oprot.writeString(_iter461); + oprot.writeString(_iter469); } oprot.writeListEnd(); } @@ -17127,9 +17230,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter462 : struct.success) + for (String _iter470 : struct.success) { - oprot.writeString(_iter462); + oprot.writeString(_iter470); } } } @@ -17144,13 +17247,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 _list463 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list463.size); - for (int _i464 = 0; _i464 < _list463.size; ++_i464) + org.apache.thrift.protocol.TList _list471 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list471.size); + for (int _i472 = 0; _i472 < _list471.size; ++_i472) { - String _elem465; // required - _elem465 = iprot.readString(); - struct.success.add(_elem465); + String _elem473; // required + _elem473 = iprot.readString(); + struct.success.add(_elem473); } } struct.setSuccessIsSet(true); @@ -21757,16 +21860,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 _map466 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map466.size); - for (int _i467 = 0; _i467 < _map466.size; ++_i467) + org.apache.thrift.protocol.TMap _map474 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map474.size); + for (int _i475 = 0; _i475 < _map474.size; ++_i475) { - String _key468; // required - Type _val469; // required - _key468 = iprot.readString(); - _val469 = new Type(); - _val469.read(iprot); - struct.success.put(_key468, _val469); + String _key476; // required + Type _val477; // required + _key476 = iprot.readString(); + _val477 = new Type(); + _val477.read(iprot); + struct.success.put(_key476, _val477); } iprot.readMapEnd(); } @@ -21801,10 +21904,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 _iter470 : struct.success.entrySet()) + for (Map.Entry _iter478 : struct.success.entrySet()) { - oprot.writeString(_iter470.getKey()); - _iter470.getValue().write(oprot); + oprot.writeString(_iter478.getKey()); + _iter478.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -21843,10 +21946,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 _iter471 : struct.success.entrySet()) + for (Map.Entry _iter479 : struct.success.entrySet()) { - oprot.writeString(_iter471.getKey()); - _iter471.getValue().write(oprot); + oprot.writeString(_iter479.getKey()); + _iter479.getValue().write(oprot); } } } @@ -21861,16 +21964,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 _map472 = 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*_map472.size); - for (int _i473 = 0; _i473 < _map472.size; ++_i473) + org.apache.thrift.protocol.TMap _map480 = 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*_map480.size); + for (int _i481 = 0; _i481 < _map480.size; ++_i481) { - String _key474; // required - Type _val475; // required - _key474 = iprot.readString(); - _val475 = new Type(); - _val475.read(iprot); - struct.success.put(_key474, _val475); + String _key482; // required + Type _val483; // required + _key482 = iprot.readString(); + _val483 = new Type(); + _val483.read(iprot); + struct.success.put(_key482, _val483); } } struct.setSuccessIsSet(true); @@ -22905,14 +23008,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 _list476 = iprot.readListBegin(); - struct.success = new ArrayList(_list476.size); - for (int _i477 = 0; _i477 < _list476.size; ++_i477) + org.apache.thrift.protocol.TList _list484 = iprot.readListBegin(); + struct.success = new ArrayList(_list484.size); + for (int _i485 = 0; _i485 < _list484.size; ++_i485) { - FieldSchema _elem478; // required - _elem478 = new FieldSchema(); - _elem478.read(iprot); - struct.success.add(_elem478); + FieldSchema _elem486; // required + _elem486 = new FieldSchema(); + _elem486.read(iprot); + struct.success.add(_elem486); } iprot.readListEnd(); } @@ -22965,9 +23068,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 _iter479 : struct.success) + for (FieldSchema _iter487 : struct.success) { - _iter479.write(oprot); + _iter487.write(oprot); } oprot.writeListEnd(); } @@ -23022,9 +23125,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter480 : struct.success) + for (FieldSchema _iter488 : struct.success) { - _iter480.write(oprot); + _iter488.write(oprot); } } } @@ -23045,14 +23148,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 _list481 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list481.size); - for (int _i482 = 0; _i482 < _list481.size; ++_i482) + org.apache.thrift.protocol.TList _list489 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list489.size); + for (int _i490 = 0; _i490 < _list489.size; ++_i490) { - FieldSchema _elem483; // required - _elem483 = new FieldSchema(); - _elem483.read(iprot); - struct.success.add(_elem483); + FieldSchema _elem491; // required + _elem491 = new FieldSchema(); + _elem491.read(iprot); + struct.success.add(_elem491); } } struct.setSuccessIsSet(true); @@ -24097,14 +24200,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 _list484 = iprot.readListBegin(); - struct.success = new ArrayList(_list484.size); - for (int _i485 = 0; _i485 < _list484.size; ++_i485) + org.apache.thrift.protocol.TList _list492 = iprot.readListBegin(); + struct.success = new ArrayList(_list492.size); + for (int _i493 = 0; _i493 < _list492.size; ++_i493) { - FieldSchema _elem486; // required - _elem486 = new FieldSchema(); - _elem486.read(iprot); - struct.success.add(_elem486); + FieldSchema _elem494; // required + _elem494 = new FieldSchema(); + _elem494.read(iprot); + struct.success.add(_elem494); } iprot.readListEnd(); } @@ -24157,9 +24260,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 _iter487 : struct.success) + for (FieldSchema _iter495 : struct.success) { - _iter487.write(oprot); + _iter495.write(oprot); } oprot.writeListEnd(); } @@ -24214,9 +24317,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter488 : struct.success) + for (FieldSchema _iter496 : struct.success) { - _iter488.write(oprot); + _iter496.write(oprot); } } } @@ -24237,14 +24340,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 _list489 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list489.size); - for (int _i490 = 0; _i490 < _list489.size; ++_i490) + org.apache.thrift.protocol.TList _list497 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list497.size); + for (int _i498 = 0; _i498 < _list497.size; ++_i498) { - FieldSchema _elem491; // required - _elem491 = new FieldSchema(); - _elem491.read(iprot); - struct.success.add(_elem491); + FieldSchema _elem499; // required + _elem499 = new FieldSchema(); + _elem499.read(iprot); + struct.success.add(_elem499); } } struct.setSuccessIsSet(true); @@ -29487,13 +29590,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 _list492 = iprot.readListBegin(); - struct.success = new ArrayList(_list492.size); - for (int _i493 = 0; _i493 < _list492.size; ++_i493) + org.apache.thrift.protocol.TList _list500 = iprot.readListBegin(); + struct.success = new ArrayList(_list500.size); + for (int _i501 = 0; _i501 < _list500.size; ++_i501) { - String _elem494; // required - _elem494 = iprot.readString(); - struct.success.add(_elem494); + String _elem502; // required + _elem502 = iprot.readString(); + struct.success.add(_elem502); } iprot.readListEnd(); } @@ -29528,9 +29631,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 _iter495 : struct.success) + for (String _iter503 : struct.success) { - oprot.writeString(_iter495); + oprot.writeString(_iter503); } oprot.writeListEnd(); } @@ -29569,9 +29672,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter496 : struct.success) + for (String _iter504 : struct.success) { - oprot.writeString(_iter496); + oprot.writeString(_iter504); } } } @@ -29586,13 +29689,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 _list497 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list497.size); - for (int _i498 = 0; _i498 < _list497.size; ++_i498) + org.apache.thrift.protocol.TList _list505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list505.size); + for (int _i506 = 0; _i506 < _list505.size; ++_i506) { - String _elem499; // required - _elem499 = iprot.readString(); - struct.success.add(_elem499); + String _elem507; // required + _elem507 = iprot.readString(); + struct.success.add(_elem507); } } struct.setSuccessIsSet(true); @@ -30361,13 +30464,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 _list500 = iprot.readListBegin(); - struct.success = new ArrayList(_list500.size); - for (int _i501 = 0; _i501 < _list500.size; ++_i501) + org.apache.thrift.protocol.TList _list508 = iprot.readListBegin(); + struct.success = new ArrayList(_list508.size); + for (int _i509 = 0; _i509 < _list508.size; ++_i509) { - String _elem502; // required - _elem502 = iprot.readString(); - struct.success.add(_elem502); + String _elem510; // required + _elem510 = iprot.readString(); + struct.success.add(_elem510); } iprot.readListEnd(); } @@ -30402,9 +30505,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 _iter503 : struct.success) + for (String _iter511 : struct.success) { - oprot.writeString(_iter503); + oprot.writeString(_iter511); } oprot.writeListEnd(); } @@ -30443,9 +30546,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter504 : struct.success) + for (String _iter512 : struct.success) { - oprot.writeString(_iter504); + oprot.writeString(_iter512); } } } @@ -30460,13 +30563,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 _list505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list505.size); - for (int _i506 = 0; _i506 < _list505.size; ++_i506) + org.apache.thrift.protocol.TList _list513 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list513.size); + for (int _i514 = 0; _i514 < _list513.size; ++_i514) { - String _elem507; // required - _elem507 = iprot.readString(); - struct.success.add(_elem507); + String _elem515; // required + _elem515 = iprot.readString(); + struct.success.add(_elem515); } } struct.setSuccessIsSet(true); @@ -31922,13 +32025,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 _list508 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list508.size); - for (int _i509 = 0; _i509 < _list508.size; ++_i509) + org.apache.thrift.protocol.TList _list516 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list516.size); + for (int _i517 = 0; _i517 < _list516.size; ++_i517) { - String _elem510; // required - _elem510 = iprot.readString(); - struct.tbl_names.add(_elem510); + String _elem518; // required + _elem518 = iprot.readString(); + struct.tbl_names.add(_elem518); } iprot.readListEnd(); } @@ -31959,9 +32062,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 _iter511 : struct.tbl_names) + for (String _iter519 : struct.tbl_names) { - oprot.writeString(_iter511); + oprot.writeString(_iter519); } oprot.writeListEnd(); } @@ -31998,9 +32101,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 _iter512 : struct.tbl_names) + for (String _iter520 : struct.tbl_names) { - oprot.writeString(_iter512); + oprot.writeString(_iter520); } } } @@ -32016,13 +32119,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list513 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list513.size); - for (int _i514 = 0; _i514 < _list513.size; ++_i514) + org.apache.thrift.protocol.TList _list521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list521.size); + for (int _i522 = 0; _i522 < _list521.size; ++_i522) { - String _elem515; // required - _elem515 = iprot.readString(); - struct.tbl_names.add(_elem515); + String _elem523; // required + _elem523 = iprot.readString(); + struct.tbl_names.add(_elem523); } } struct.setTbl_namesIsSet(true); @@ -32590,14 +32693,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 _list516 = iprot.readListBegin(); - struct.success = new ArrayList
(_list516.size); - for (int _i517 = 0; _i517 < _list516.size; ++_i517) + org.apache.thrift.protocol.TList _list524 = iprot.readListBegin(); + struct.success = new ArrayList
(_list524.size); + for (int _i525 = 0; _i525 < _list524.size; ++_i525) { - Table _elem518; // required - _elem518 = new Table(); - _elem518.read(iprot); - struct.success.add(_elem518); + Table _elem526; // required + _elem526 = new Table(); + _elem526.read(iprot); + struct.success.add(_elem526); } iprot.readListEnd(); } @@ -32650,9 +32753,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 _iter519 : struct.success) + for (Table _iter527 : struct.success) { - _iter519.write(oprot); + _iter527.write(oprot); } oprot.writeListEnd(); } @@ -32707,9 +32810,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter520 : struct.success) + for (Table _iter528 : struct.success) { - _iter520.write(oprot); + _iter528.write(oprot); } } } @@ -32730,14 +32833,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 _list521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list521.size); - for (int _i522 = 0; _i522 < _list521.size; ++_i522) + org.apache.thrift.protocol.TList _list529 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list529.size); + for (int _i530 = 0; _i530 < _list529.size; ++_i530) { - Table _elem523; // required - _elem523 = new Table(); - _elem523.read(iprot); - struct.success.add(_elem523); + Table _elem531; // required + _elem531 = new Table(); + _elem531.read(iprot); + struct.success.add(_elem531); } } struct.setSuccessIsSet(true); @@ -33886,13 +33989,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 _list524 = iprot.readListBegin(); - struct.success = new ArrayList(_list524.size); - for (int _i525 = 0; _i525 < _list524.size; ++_i525) + org.apache.thrift.protocol.TList _list532 = iprot.readListBegin(); + struct.success = new ArrayList(_list532.size); + for (int _i533 = 0; _i533 < _list532.size; ++_i533) { - String _elem526; // required - _elem526 = iprot.readString(); - struct.success.add(_elem526); + String _elem534; // required + _elem534 = iprot.readString(); + struct.success.add(_elem534); } iprot.readListEnd(); } @@ -33945,9 +34048,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 _iter527 : struct.success) + for (String _iter535 : struct.success) { - oprot.writeString(_iter527); + oprot.writeString(_iter535); } oprot.writeListEnd(); } @@ -34002,9 +34105,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter528 : struct.success) + for (String _iter536 : struct.success) { - oprot.writeString(_iter528); + oprot.writeString(_iter536); } } } @@ -34025,13 +34128,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 _list529 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list529.size); - for (int _i530 = 0; _i530 < _list529.size; ++_i530) + org.apache.thrift.protocol.TList _list537 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list537.size); + for (int _i538 = 0; _i538 < _list537.size; ++_i538) { - String _elem531; // required - _elem531 = iprot.readString(); - struct.success.add(_elem531); + String _elem539; // required + _elem539 = iprot.readString(); + struct.success.add(_elem539); } } struct.setSuccessIsSet(true); @@ -38751,14 +38854,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 _list532 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list532.size); - for (int _i533 = 0; _i533 < _list532.size; ++_i533) + org.apache.thrift.protocol.TList _list540 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list540.size); + for (int _i541 = 0; _i541 < _list540.size; ++_i541) { - Partition _elem534; // required - _elem534 = new Partition(); - _elem534.read(iprot); - struct.new_parts.add(_elem534); + Partition _elem542; // required + _elem542 = new Partition(); + _elem542.read(iprot); + struct.new_parts.add(_elem542); } iprot.readListEnd(); } @@ -38784,9 +38887,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 _iter535 : struct.new_parts) + for (Partition _iter543 : struct.new_parts) { - _iter535.write(oprot); + _iter543.write(oprot); } oprot.writeListEnd(); } @@ -38817,9 +38920,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 _iter536 : struct.new_parts) + for (Partition _iter544 : struct.new_parts) { - _iter536.write(oprot); + _iter544.write(oprot); } } } @@ -38831,14 +38934,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 _list537 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list537.size); - for (int _i538 = 0; _i538 < _list537.size; ++_i538) + org.apache.thrift.protocol.TList _list545 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list545.size); + for (int _i546 = 0; _i546 < _list545.size; ++_i546) { - Partition _elem539; // required - _elem539 = new Partition(); - _elem539.read(iprot); - struct.new_parts.add(_elem539); + Partition _elem547; // required + _elem547 = new Partition(); + _elem547.read(iprot); + struct.new_parts.add(_elem547); } } struct.setNew_partsIsSet(true); @@ -40017,13 +40120,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 _list540 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list540.size); - for (int _i541 = 0; _i541 < _list540.size; ++_i541) + org.apache.thrift.protocol.TList _list548 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list548.size); + for (int _i549 = 0; _i549 < _list548.size; ++_i549) { - String _elem542; // required - _elem542 = iprot.readString(); - struct.part_vals.add(_elem542); + String _elem550; // required + _elem550 = iprot.readString(); + struct.part_vals.add(_elem550); } iprot.readListEnd(); } @@ -40059,9 +40162,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 _iter543 : struct.part_vals) + for (String _iter551 : struct.part_vals) { - oprot.writeString(_iter543); + oprot.writeString(_iter551); } oprot.writeListEnd(); } @@ -40104,9 +40207,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 _iter544 : struct.part_vals) + for (String _iter552 : struct.part_vals) { - oprot.writeString(_iter544); + oprot.writeString(_iter552); } } } @@ -40126,13 +40229,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list545 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list545.size); - for (int _i546 = 0; _i546 < _list545.size; ++_i546) + org.apache.thrift.protocol.TList _list553 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list553.size); + for (int _i554 = 0; _i554 < _list553.size; ++_i554) { - String _elem547; // required - _elem547 = iprot.readString(); - struct.part_vals.add(_elem547); + String _elem555; // required + _elem555 = iprot.readString(); + struct.part_vals.add(_elem555); } } struct.setPart_valsIsSet(true); @@ -42444,13 +42547,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 _list548 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list548.size); - for (int _i549 = 0; _i549 < _list548.size; ++_i549) + org.apache.thrift.protocol.TList _list556 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list556.size); + for (int _i557 = 0; _i557 < _list556.size; ++_i557) { - String _elem550; // required - _elem550 = iprot.readString(); - struct.part_vals.add(_elem550); + String _elem558; // required + _elem558 = iprot.readString(); + struct.part_vals.add(_elem558); } iprot.readListEnd(); } @@ -42495,9 +42598,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 _iter551 : struct.part_vals) + for (String _iter559 : struct.part_vals) { - oprot.writeString(_iter551); + oprot.writeString(_iter559); } oprot.writeListEnd(); } @@ -42548,9 +42651,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 _iter552 : struct.part_vals) + for (String _iter560 : struct.part_vals) { - oprot.writeString(_iter552); + oprot.writeString(_iter560); } } } @@ -42573,13 +42676,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list553 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list553.size); - for (int _i554 = 0; _i554 < _list553.size; ++_i554) + org.apache.thrift.protocol.TList _list561 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list561.size); + for (int _i562 = 0; _i562 < _list561.size; ++_i562) { - String _elem555; // required - _elem555 = iprot.readString(); - struct.part_vals.add(_elem555); + String _elem563; // required + _elem563 = iprot.readString(); + struct.part_vals.add(_elem563); } } struct.setPart_valsIsSet(true); @@ -46452,13 +46555,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 _list556 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list556.size); - for (int _i557 = 0; _i557 < _list556.size; ++_i557) + org.apache.thrift.protocol.TList _list564 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list564.size); + for (int _i565 = 0; _i565 < _list564.size; ++_i565) { - String _elem558; // required - _elem558 = iprot.readString(); - struct.part_vals.add(_elem558); + String _elem566; // required + _elem566 = iprot.readString(); + struct.part_vals.add(_elem566); } iprot.readListEnd(); } @@ -46502,9 +46605,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 _iter559 : struct.part_vals) + for (String _iter567 : struct.part_vals) { - oprot.writeString(_iter559); + oprot.writeString(_iter567); } oprot.writeListEnd(); } @@ -46553,9 +46656,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 _iter560 : struct.part_vals) + for (String _iter568 : struct.part_vals) { - oprot.writeString(_iter560); + oprot.writeString(_iter568); } } } @@ -46578,13 +46681,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list561 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list561.size); - for (int _i562 = 0; _i562 < _list561.size; ++_i562) + org.apache.thrift.protocol.TList _list569 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list569.size); + for (int _i570 = 0; _i570 < _list569.size; ++_i570) { - String _elem563; // required - _elem563 = iprot.readString(); - struct.part_vals.add(_elem563); + String _elem571; // required + _elem571 = iprot.readString(); + struct.part_vals.add(_elem571); } } struct.setPart_valsIsSet(true); @@ -47826,13 +47929,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 _list564 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list564.size); - for (int _i565 = 0; _i565 < _list564.size; ++_i565) + org.apache.thrift.protocol.TList _list572 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list572.size); + for (int _i573 = 0; _i573 < _list572.size; ++_i573) { - String _elem566; // required - _elem566 = iprot.readString(); - struct.part_vals.add(_elem566); + String _elem574; // required + _elem574 = iprot.readString(); + struct.part_vals.add(_elem574); } iprot.readListEnd(); } @@ -47885,9 +47988,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 _iter567 : struct.part_vals) + for (String _iter575 : struct.part_vals) { - oprot.writeString(_iter567); + oprot.writeString(_iter575); } oprot.writeListEnd(); } @@ -47944,9 +48047,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 _iter568 : struct.part_vals) + for (String _iter576 : struct.part_vals) { - oprot.writeString(_iter568); + oprot.writeString(_iter576); } } } @@ -47972,13 +48075,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list569 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list569.size); - for (int _i570 = 0; _i570 < _list569.size; ++_i570) + org.apache.thrift.protocol.TList _list577 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list577.size); + for (int _i578 = 0; _i578 < _list577.size; ++_i578) { - String _elem571; // required - _elem571 = iprot.readString(); - struct.part_vals.add(_elem571); + String _elem579; // required + _elem579 = iprot.readString(); + struct.part_vals.add(_elem579); } } struct.setPart_valsIsSet(true); @@ -52583,13 +52686,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 _list572 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list572.size); - for (int _i573 = 0; _i573 < _list572.size; ++_i573) + org.apache.thrift.protocol.TList _list580 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list580.size); + for (int _i581 = 0; _i581 < _list580.size; ++_i581) { - String _elem574; // required - _elem574 = iprot.readString(); - struct.part_vals.add(_elem574); + String _elem582; // required + _elem582 = iprot.readString(); + struct.part_vals.add(_elem582); } iprot.readListEnd(); } @@ -52625,9 +52728,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 _iter575 : struct.part_vals) + for (String _iter583 : struct.part_vals) { - oprot.writeString(_iter575); + oprot.writeString(_iter583); } oprot.writeListEnd(); } @@ -52670,9 +52773,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 _iter576 : struct.part_vals) + for (String _iter584 : struct.part_vals) { - oprot.writeString(_iter576); + oprot.writeString(_iter584); } } } @@ -52692,13 +52795,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list577 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list577.size); - for (int _i578 = 0; _i578 < _list577.size; ++_i578) + org.apache.thrift.protocol.TList _list585 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list585.size); + for (int _i586 = 0; _i586 < _list585.size; ++_i586) { - String _elem579; // required - _elem579 = iprot.readString(); - struct.part_vals.add(_elem579); + String _elem587; // required + _elem587 = iprot.readString(); + struct.part_vals.add(_elem587); } } struct.setPart_valsIsSet(true); @@ -53927,15 +54030,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 _map580 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map580.size); - for (int _i581 = 0; _i581 < _map580.size; ++_i581) + org.apache.thrift.protocol.TMap _map588 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map588.size); + for (int _i589 = 0; _i589 < _map588.size; ++_i589) { - String _key582; // required - String _val583; // required - _key582 = iprot.readString(); - _val583 = iprot.readString(); - struct.partitionSpecs.put(_key582, _val583); + String _key590; // required + String _val591; // required + _key590 = iprot.readString(); + _val591 = iprot.readString(); + struct.partitionSpecs.put(_key590, _val591); } iprot.readMapEnd(); } @@ -53993,10 +54096,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 _iter584 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter592 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter584.getKey()); - oprot.writeString(_iter584.getValue()); + oprot.writeString(_iter592.getKey()); + oprot.writeString(_iter592.getValue()); } oprot.writeMapEnd(); } @@ -54059,10 +54162,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter585 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter593 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter585.getKey()); - oprot.writeString(_iter585.getValue()); + oprot.writeString(_iter593.getKey()); + oprot.writeString(_iter593.getValue()); } } } @@ -54086,15 +54189,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 _map586 = 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*_map586.size); - for (int _i587 = 0; _i587 < _map586.size; ++_i587) + org.apache.thrift.protocol.TMap _map594 = 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*_map594.size); + for (int _i595 = 0; _i595 < _map594.size; ++_i595) { - String _key588; // required - String _val589; // required - _key588 = iprot.readString(); - _val589 = iprot.readString(); - struct.partitionSpecs.put(_key588, _val589); + String _key596; // required + String _val597; // required + _key596 = iprot.readString(); + _val597 = iprot.readString(); + struct.partitionSpecs.put(_key596, _val597); } } struct.setPartitionSpecsIsSet(true); @@ -55582,13 +55685,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 _list590 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list590.size); - for (int _i591 = 0; _i591 < _list590.size; ++_i591) + org.apache.thrift.protocol.TList _list598 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list598.size); + for (int _i599 = 0; _i599 < _list598.size; ++_i599) { - String _elem592; // required - _elem592 = iprot.readString(); - struct.part_vals.add(_elem592); + String _elem600; // required + _elem600 = iprot.readString(); + struct.part_vals.add(_elem600); } iprot.readListEnd(); } @@ -55608,13 +55711,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 _list593 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list593.size); - for (int _i594 = 0; _i594 < _list593.size; ++_i594) + org.apache.thrift.protocol.TList _list601 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list601.size); + for (int _i602 = 0; _i602 < _list601.size; ++_i602) { - String _elem595; // required - _elem595 = iprot.readString(); - struct.group_names.add(_elem595); + String _elem603; // required + _elem603 = iprot.readString(); + struct.group_names.add(_elem603); } iprot.readListEnd(); } @@ -55650,9 +55753,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 _iter596 : struct.part_vals) + for (String _iter604 : struct.part_vals) { - oprot.writeString(_iter596); + oprot.writeString(_iter604); } oprot.writeListEnd(); } @@ -55667,9 +55770,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 _iter597 : struct.group_names) + for (String _iter605 : struct.group_names) { - oprot.writeString(_iter597); + oprot.writeString(_iter605); } oprot.writeListEnd(); } @@ -55718,9 +55821,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 _iter598 : struct.part_vals) + for (String _iter606 : struct.part_vals) { - oprot.writeString(_iter598); + oprot.writeString(_iter606); } } } @@ -55730,9 +55833,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 _iter599 : struct.group_names) + for (String _iter607 : struct.group_names) { - oprot.writeString(_iter599); + oprot.writeString(_iter607); } } } @@ -55752,13 +55855,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list600 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list600.size); - for (int _i601 = 0; _i601 < _list600.size; ++_i601) + org.apache.thrift.protocol.TList _list608 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list608.size); + for (int _i609 = 0; _i609 < _list608.size; ++_i609) { - String _elem602; // required - _elem602 = iprot.readString(); - struct.part_vals.add(_elem602); + String _elem610; // required + _elem610 = iprot.readString(); + struct.part_vals.add(_elem610); } } struct.setPart_valsIsSet(true); @@ -55769,13 +55872,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list603 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list603.size); - for (int _i604 = 0; _i604 < _list603.size; ++_i604) + org.apache.thrift.protocol.TList _list611 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list611.size); + for (int _i612 = 0; _i612 < _list611.size; ++_i612) { - String _elem605; // required - _elem605 = iprot.readString(); - struct.group_names.add(_elem605); + String _elem613; // required + _elem613 = iprot.readString(); + struct.group_names.add(_elem613); } } struct.setGroup_namesIsSet(true); @@ -58544,14 +58647,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 _list606 = iprot.readListBegin(); - struct.success = new ArrayList(_list606.size); - for (int _i607 = 0; _i607 < _list606.size; ++_i607) + org.apache.thrift.protocol.TList _list614 = iprot.readListBegin(); + struct.success = new ArrayList(_list614.size); + for (int _i615 = 0; _i615 < _list614.size; ++_i615) { - Partition _elem608; // required - _elem608 = new Partition(); - _elem608.read(iprot); - struct.success.add(_elem608); + Partition _elem616; // required + _elem616 = new Partition(); + _elem616.read(iprot); + struct.success.add(_elem616); } iprot.readListEnd(); } @@ -58595,9 +58698,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 _iter609 : struct.success) + for (Partition _iter617 : struct.success) { - _iter609.write(oprot); + _iter617.write(oprot); } oprot.writeListEnd(); } @@ -58644,9 +58747,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter610 : struct.success) + for (Partition _iter618 : struct.success) { - _iter610.write(oprot); + _iter618.write(oprot); } } } @@ -58664,14 +58767,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 _list611 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list611.size); - for (int _i612 = 0; _i612 < _list611.size; ++_i612) + org.apache.thrift.protocol.TList _list619 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list619.size); + for (int _i620 = 0; _i620 < _list619.size; ++_i620) { - Partition _elem613; // required - _elem613 = new Partition(); - _elem613.read(iprot); - struct.success.add(_elem613); + Partition _elem621; // required + _elem621 = new Partition(); + _elem621.read(iprot); + struct.success.add(_elem621); } } struct.setSuccessIsSet(true); @@ -59364,13 +59467,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 _list614 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list614.size); - for (int _i615 = 0; _i615 < _list614.size; ++_i615) + org.apache.thrift.protocol.TList _list622 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list622.size); + for (int _i623 = 0; _i623 < _list622.size; ++_i623) { - String _elem616; // required - _elem616 = iprot.readString(); - struct.group_names.add(_elem616); + String _elem624; // required + _elem624 = iprot.readString(); + struct.group_names.add(_elem624); } iprot.readListEnd(); } @@ -59414,9 +59517,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 _iter617 : struct.group_names) + for (String _iter625 : struct.group_names) { - oprot.writeString(_iter617); + oprot.writeString(_iter625); } oprot.writeListEnd(); } @@ -59471,9 +59574,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 _iter618 : struct.group_names) + for (String _iter626 : struct.group_names) { - oprot.writeString(_iter618); + oprot.writeString(_iter626); } } } @@ -59501,13 +59604,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list619 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list619.size); - for (int _i620 = 0; _i620 < _list619.size; ++_i620) + org.apache.thrift.protocol.TList _list627 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list627.size); + for (int _i628 = 0; _i628 < _list627.size; ++_i628) { - String _elem621; // required - _elem621 = iprot.readString(); - struct.group_names.add(_elem621); + String _elem629; // required + _elem629 = iprot.readString(); + struct.group_names.add(_elem629); } } struct.setGroup_namesIsSet(true); @@ -59994,14 +60097,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 _list622 = iprot.readListBegin(); - struct.success = new ArrayList(_list622.size); - for (int _i623 = 0; _i623 < _list622.size; ++_i623) + org.apache.thrift.protocol.TList _list630 = iprot.readListBegin(); + struct.success = new ArrayList(_list630.size); + for (int _i631 = 0; _i631 < _list630.size; ++_i631) { - Partition _elem624; // required - _elem624 = new Partition(); - _elem624.read(iprot); - struct.success.add(_elem624); + Partition _elem632; // required + _elem632 = new Partition(); + _elem632.read(iprot); + struct.success.add(_elem632); } iprot.readListEnd(); } @@ -60045,9 +60148,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 _iter625 : struct.success) + for (Partition _iter633 : struct.success) { - _iter625.write(oprot); + _iter633.write(oprot); } oprot.writeListEnd(); } @@ -60094,9 +60197,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter626 : struct.success) + for (Partition _iter634 : struct.success) { - _iter626.write(oprot); + _iter634.write(oprot); } } } @@ -60114,14 +60217,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 _list627 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list627.size); - for (int _i628 = 0; _i628 < _list627.size; ++_i628) + org.apache.thrift.protocol.TList _list635 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list635.size); + for (int _i636 = 0; _i636 < _list635.size; ++_i636) { - Partition _elem629; // required - _elem629 = new Partition(); - _elem629.read(iprot); - struct.success.add(_elem629); + Partition _elem637; // required + _elem637 = new Partition(); + _elem637.read(iprot); + struct.success.add(_elem637); } } struct.setSuccessIsSet(true); @@ -61103,13 +61206,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 _list630 = iprot.readListBegin(); - struct.success = new ArrayList(_list630.size); - for (int _i631 = 0; _i631 < _list630.size; ++_i631) + org.apache.thrift.protocol.TList _list638 = iprot.readListBegin(); + struct.success = new ArrayList(_list638.size); + for (int _i639 = 0; _i639 < _list638.size; ++_i639) { - String _elem632; // required - _elem632 = iprot.readString(); - struct.success.add(_elem632); + String _elem640; // required + _elem640 = iprot.readString(); + struct.success.add(_elem640); } iprot.readListEnd(); } @@ -61144,9 +61247,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 _iter633 : struct.success) + for (String _iter641 : struct.success) { - oprot.writeString(_iter633); + oprot.writeString(_iter641); } oprot.writeListEnd(); } @@ -61185,9 +61288,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter634 : struct.success) + for (String _iter642 : struct.success) { - oprot.writeString(_iter634); + oprot.writeString(_iter642); } } } @@ -61202,13 +61305,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 _list635 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list635.size); - for (int _i636 = 0; _i636 < _list635.size; ++_i636) + org.apache.thrift.protocol.TList _list643 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list643.size); + for (int _i644 = 0; _i644 < _list643.size; ++_i644) { - String _elem637; // required - _elem637 = iprot.readString(); - struct.success.add(_elem637); + String _elem645; // required + _elem645 = iprot.readString(); + struct.success.add(_elem645); } } struct.setSuccessIsSet(true); @@ -61799,13 +61902,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 _list638 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list638.size); - for (int _i639 = 0; _i639 < _list638.size; ++_i639) + org.apache.thrift.protocol.TList _list646 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list646.size); + for (int _i647 = 0; _i647 < _list646.size; ++_i647) { - String _elem640; // required - _elem640 = iprot.readString(); - struct.part_vals.add(_elem640); + String _elem648; // required + _elem648 = iprot.readString(); + struct.part_vals.add(_elem648); } iprot.readListEnd(); } @@ -61849,9 +61952,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 _iter641 : struct.part_vals) + for (String _iter649 : struct.part_vals) { - oprot.writeString(_iter641); + oprot.writeString(_iter649); } oprot.writeListEnd(); } @@ -61900,9 +62003,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 _iter642 : struct.part_vals) + for (String _iter650 : struct.part_vals) { - oprot.writeString(_iter642); + oprot.writeString(_iter650); } } } @@ -61925,13 +62028,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list643 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list643.size); - for (int _i644 = 0; _i644 < _list643.size; ++_i644) + org.apache.thrift.protocol.TList _list651 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list651.size); + for (int _i652 = 0; _i652 < _list651.size; ++_i652) { - String _elem645; // required - _elem645 = iprot.readString(); - struct.part_vals.add(_elem645); + String _elem653; // required + _elem653 = iprot.readString(); + struct.part_vals.add(_elem653); } } struct.setPart_valsIsSet(true); @@ -62422,14 +62525,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 _list646 = iprot.readListBegin(); - struct.success = new ArrayList(_list646.size); - for (int _i647 = 0; _i647 < _list646.size; ++_i647) + org.apache.thrift.protocol.TList _list654 = iprot.readListBegin(); + struct.success = new ArrayList(_list654.size); + for (int _i655 = 0; _i655 < _list654.size; ++_i655) { - Partition _elem648; // required - _elem648 = new Partition(); - _elem648.read(iprot); - struct.success.add(_elem648); + Partition _elem656; // required + _elem656 = new Partition(); + _elem656.read(iprot); + struct.success.add(_elem656); } iprot.readListEnd(); } @@ -62473,9 +62576,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 _iter649 : struct.success) + for (Partition _iter657 : struct.success) { - _iter649.write(oprot); + _iter657.write(oprot); } oprot.writeListEnd(); } @@ -62522,9 +62625,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter650 : struct.success) + for (Partition _iter658 : struct.success) { - _iter650.write(oprot); + _iter658.write(oprot); } } } @@ -62542,14 +62645,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 _list651 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list651.size); - for (int _i652 = 0; _i652 < _list651.size; ++_i652) + org.apache.thrift.protocol.TList _list659 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list659.size); + for (int _i660 = 0; _i660 < _list659.size; ++_i660) { - Partition _elem653; // required - _elem653 = new Partition(); - _elem653.read(iprot); - struct.success.add(_elem653); + Partition _elem661; // required + _elem661 = new Partition(); + _elem661.read(iprot); + struct.success.add(_elem661); } } struct.setSuccessIsSet(true); @@ -63327,13 +63430,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 _list654 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list654.size); - for (int _i655 = 0; _i655 < _list654.size; ++_i655) + org.apache.thrift.protocol.TList _list662 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list662.size); + for (int _i663 = 0; _i663 < _list662.size; ++_i663) { - String _elem656; // required - _elem656 = iprot.readString(); - struct.part_vals.add(_elem656); + String _elem664; // required + _elem664 = iprot.readString(); + struct.part_vals.add(_elem664); } iprot.readListEnd(); } @@ -63361,13 +63464,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 _list657 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list657.size); - for (int _i658 = 0; _i658 < _list657.size; ++_i658) + org.apache.thrift.protocol.TList _list665 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list665.size); + for (int _i666 = 0; _i666 < _list665.size; ++_i666) { - String _elem659; // required - _elem659 = iprot.readString(); - struct.group_names.add(_elem659); + String _elem667; // required + _elem667 = iprot.readString(); + struct.group_names.add(_elem667); } iprot.readListEnd(); } @@ -63403,9 +63506,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 _iter660 : struct.part_vals) + for (String _iter668 : struct.part_vals) { - oprot.writeString(_iter660); + oprot.writeString(_iter668); } oprot.writeListEnd(); } @@ -63423,9 +63526,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 _iter661 : struct.group_names) + for (String _iter669 : struct.group_names) { - oprot.writeString(_iter661); + oprot.writeString(_iter669); } oprot.writeListEnd(); } @@ -63477,9 +63580,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 _iter662 : struct.part_vals) + for (String _iter670 : struct.part_vals) { - oprot.writeString(_iter662); + oprot.writeString(_iter670); } } } @@ -63492,9 +63595,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 _iter663 : struct.group_names) + for (String _iter671 : struct.group_names) { - oprot.writeString(_iter663); + oprot.writeString(_iter671); } } } @@ -63514,13 +63617,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list664 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list664.size); - for (int _i665 = 0; _i665 < _list664.size; ++_i665) + org.apache.thrift.protocol.TList _list672 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list672.size); + for (int _i673 = 0; _i673 < _list672.size; ++_i673) { - String _elem666; // required - _elem666 = iprot.readString(); - struct.part_vals.add(_elem666); + String _elem674; // required + _elem674 = iprot.readString(); + struct.part_vals.add(_elem674); } } struct.setPart_valsIsSet(true); @@ -63535,13 +63638,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list667 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list667.size); - for (int _i668 = 0; _i668 < _list667.size; ++_i668) + org.apache.thrift.protocol.TList _list675 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list675.size); + for (int _i676 = 0; _i676 < _list675.size; ++_i676) { - String _elem669; // required - _elem669 = iprot.readString(); - struct.group_names.add(_elem669); + String _elem677; // required + _elem677 = iprot.readString(); + struct.group_names.add(_elem677); } } struct.setGroup_namesIsSet(true); @@ -64028,14 +64131,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 _list670 = iprot.readListBegin(); - struct.success = new ArrayList(_list670.size); - for (int _i671 = 0; _i671 < _list670.size; ++_i671) + org.apache.thrift.protocol.TList _list678 = iprot.readListBegin(); + struct.success = new ArrayList(_list678.size); + for (int _i679 = 0; _i679 < _list678.size; ++_i679) { - Partition _elem672; // required - _elem672 = new Partition(); - _elem672.read(iprot); - struct.success.add(_elem672); + Partition _elem680; // required + _elem680 = new Partition(); + _elem680.read(iprot); + struct.success.add(_elem680); } iprot.readListEnd(); } @@ -64079,9 +64182,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 _iter673 : struct.success) + for (Partition _iter681 : struct.success) { - _iter673.write(oprot); + _iter681.write(oprot); } oprot.writeListEnd(); } @@ -64128,9 +64231,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter674 : struct.success) + for (Partition _iter682 : struct.success) { - _iter674.write(oprot); + _iter682.write(oprot); } } } @@ -64148,14 +64251,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 _list675 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list675.size); - for (int _i676 = 0; _i676 < _list675.size; ++_i676) + org.apache.thrift.protocol.TList _list683 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list683.size); + for (int _i684 = 0; _i684 < _list683.size; ++_i684) { - Partition _elem677; // required - _elem677 = new Partition(); - _elem677.read(iprot); - struct.success.add(_elem677); + Partition _elem685; // required + _elem685 = new Partition(); + _elem685.read(iprot); + struct.success.add(_elem685); } } struct.setSuccessIsSet(true); @@ -64751,13 +64854,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 _list678 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list678.size); - for (int _i679 = 0; _i679 < _list678.size; ++_i679) + org.apache.thrift.protocol.TList _list686 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list686.size); + for (int _i687 = 0; _i687 < _list686.size; ++_i687) { - String _elem680; // required - _elem680 = iprot.readString(); - struct.part_vals.add(_elem680); + String _elem688; // required + _elem688 = iprot.readString(); + struct.part_vals.add(_elem688); } iprot.readListEnd(); } @@ -64801,9 +64904,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 _iter681 : struct.part_vals) + for (String _iter689 : struct.part_vals) { - oprot.writeString(_iter681); + oprot.writeString(_iter689); } oprot.writeListEnd(); } @@ -64852,9 +64955,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 _iter682 : struct.part_vals) + for (String _iter690 : struct.part_vals) { - oprot.writeString(_iter682); + oprot.writeString(_iter690); } } } @@ -64877,13 +64980,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list683 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list683.size); - for (int _i684 = 0; _i684 < _list683.size; ++_i684) + org.apache.thrift.protocol.TList _list691 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list691.size); + for (int _i692 = 0; _i692 < _list691.size; ++_i692) { - String _elem685; // required - _elem685 = iprot.readString(); - struct.part_vals.add(_elem685); + String _elem693; // required + _elem693 = iprot.readString(); + struct.part_vals.add(_elem693); } } struct.setPart_valsIsSet(true); @@ -65374,13 +65477,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 _list686 = iprot.readListBegin(); - struct.success = new ArrayList(_list686.size); - for (int _i687 = 0; _i687 < _list686.size; ++_i687) + org.apache.thrift.protocol.TList _list694 = iprot.readListBegin(); + struct.success = new ArrayList(_list694.size); + for (int _i695 = 0; _i695 < _list694.size; ++_i695) { - String _elem688; // required - _elem688 = iprot.readString(); - struct.success.add(_elem688); + String _elem696; // required + _elem696 = iprot.readString(); + struct.success.add(_elem696); } iprot.readListEnd(); } @@ -65424,9 +65527,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 _iter689 : struct.success) + for (String _iter697 : struct.success) { - oprot.writeString(_iter689); + oprot.writeString(_iter697); } oprot.writeListEnd(); } @@ -65473,9 +65576,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter690 : struct.success) + for (String _iter698 : struct.success) { - oprot.writeString(_iter690); + oprot.writeString(_iter698); } } } @@ -65493,13 +65596,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 _list691 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list691.size); - for (int _i692 = 0; _i692 < _list691.size; ++_i692) + org.apache.thrift.protocol.TList _list699 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list699.size); + for (int _i700 = 0; _i700 < _list699.size; ++_i700) { - String _elem693; // required - _elem693 = iprot.readString(); - struct.success.add(_elem693); + String _elem701; // required + _elem701 = iprot.readString(); + struct.success.add(_elem701); } } struct.setSuccessIsSet(true); @@ -66666,14 +66769,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 _list694 = iprot.readListBegin(); - struct.success = new ArrayList(_list694.size); - for (int _i695 = 0; _i695 < _list694.size; ++_i695) + org.apache.thrift.protocol.TList _list702 = iprot.readListBegin(); + struct.success = new ArrayList(_list702.size); + for (int _i703 = 0; _i703 < _list702.size; ++_i703) { - Partition _elem696; // required - _elem696 = new Partition(); - _elem696.read(iprot); - struct.success.add(_elem696); + Partition _elem704; // required + _elem704 = new Partition(); + _elem704.read(iprot); + struct.success.add(_elem704); } iprot.readListEnd(); } @@ -66717,9 +66820,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 _iter697 : struct.success) + for (Partition _iter705 : struct.success) { - _iter697.write(oprot); + _iter705.write(oprot); } oprot.writeListEnd(); } @@ -66766,9 +66869,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter698 : struct.success) + for (Partition _iter706 : struct.success) { - _iter698.write(oprot); + _iter706.write(oprot); } } } @@ -66786,14 +66889,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 _list699 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list699.size); - for (int _i700 = 0; _i700 < _list699.size; ++_i700) + org.apache.thrift.protocol.TList _list707 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list707.size); + for (int _i708 = 0; _i708 < _list707.size; ++_i708) { - Partition _elem701; // required - _elem701 = new Partition(); - _elem701.read(iprot); - struct.success.add(_elem701); + Partition _elem709; // required + _elem709 = new Partition(); + _elem709.read(iprot); + struct.success.add(_elem709); } } struct.setSuccessIsSet(true); @@ -68244,13 +68347,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 _list702 = iprot.readListBegin(); - struct.names = new ArrayList(_list702.size); - for (int _i703 = 0; _i703 < _list702.size; ++_i703) + org.apache.thrift.protocol.TList _list710 = iprot.readListBegin(); + struct.names = new ArrayList(_list710.size); + for (int _i711 = 0; _i711 < _list710.size; ++_i711) { - String _elem704; // required - _elem704 = iprot.readString(); - struct.names.add(_elem704); + String _elem712; // required + _elem712 = iprot.readString(); + struct.names.add(_elem712); } iprot.readListEnd(); } @@ -68286,9 +68389,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 _iter705 : struct.names) + for (String _iter713 : struct.names) { - oprot.writeString(_iter705); + oprot.writeString(_iter713); } oprot.writeListEnd(); } @@ -68331,9 +68434,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter706 : struct.names) + for (String _iter714 : struct.names) { - oprot.writeString(_iter706); + oprot.writeString(_iter714); } } } @@ -68353,13 +68456,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list707 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list707.size); - for (int _i708 = 0; _i708 < _list707.size; ++_i708) + org.apache.thrift.protocol.TList _list715 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list715.size); + for (int _i716 = 0; _i716 < _list715.size; ++_i716) { - String _elem709; // required - _elem709 = iprot.readString(); - struct.names.add(_elem709); + String _elem717; // required + _elem717 = iprot.readString(); + struct.names.add(_elem717); } } struct.setNamesIsSet(true); @@ -68846,14 +68949,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 _list710 = iprot.readListBegin(); - struct.success = new ArrayList(_list710.size); - for (int _i711 = 0; _i711 < _list710.size; ++_i711) + org.apache.thrift.protocol.TList _list718 = iprot.readListBegin(); + struct.success = new ArrayList(_list718.size); + for (int _i719 = 0; _i719 < _list718.size; ++_i719) { - Partition _elem712; // required - _elem712 = new Partition(); - _elem712.read(iprot); - struct.success.add(_elem712); + Partition _elem720; // required + _elem720 = new Partition(); + _elem720.read(iprot); + struct.success.add(_elem720); } iprot.readListEnd(); } @@ -68897,9 +69000,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 _iter713 : struct.success) + for (Partition _iter721 : struct.success) { - _iter713.write(oprot); + _iter721.write(oprot); } oprot.writeListEnd(); } @@ -68946,9 +69049,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter714 : struct.success) + for (Partition _iter722 : struct.success) { - _iter714.write(oprot); + _iter722.write(oprot); } } } @@ -68966,14 +69069,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 _list715 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list715.size); - for (int _i716 = 0; _i716 < _list715.size; ++_i716) + org.apache.thrift.protocol.TList _list723 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list723.size); + for (int _i724 = 0; _i724 < _list723.size; ++_i724) { - Partition _elem717; // required - _elem717 = new Partition(); - _elem717.read(iprot); - struct.success.add(_elem717); + Partition _elem725; // required + _elem725 = new Partition(); + _elem725.read(iprot); + struct.success.add(_elem725); } } struct.setSuccessIsSet(true); @@ -70523,14 +70626,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 _list718 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list718.size); - for (int _i719 = 0; _i719 < _list718.size; ++_i719) + org.apache.thrift.protocol.TList _list726 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list726.size); + for (int _i727 = 0; _i727 < _list726.size; ++_i727) { - Partition _elem720; // required - _elem720 = new Partition(); - _elem720.read(iprot); - struct.new_parts.add(_elem720); + Partition _elem728; // required + _elem728 = new Partition(); + _elem728.read(iprot); + struct.new_parts.add(_elem728); } iprot.readListEnd(); } @@ -70566,9 +70669,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 _iter721 : struct.new_parts) + for (Partition _iter729 : struct.new_parts) { - _iter721.write(oprot); + _iter729.write(oprot); } oprot.writeListEnd(); } @@ -70611,9 +70714,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 _iter722 : struct.new_parts) + for (Partition _iter730 : struct.new_parts) { - _iter722.write(oprot); + _iter730.write(oprot); } } } @@ -70633,14 +70736,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list723 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list723.size); - for (int _i724 = 0; _i724 < _list723.size; ++_i724) + org.apache.thrift.protocol.TList _list731 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list731.size); + for (int _i732 = 0; _i732 < _list731.size; ++_i732) { - Partition _elem725; // required - _elem725 = new Partition(); - _elem725.read(iprot); - struct.new_parts.add(_elem725); + Partition _elem733; // required + _elem733 = new Partition(); + _elem733.read(iprot); + struct.new_parts.add(_elem733); } } struct.setNew_partsIsSet(true); @@ -72839,13 +72942,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 _list726 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list726.size); - for (int _i727 = 0; _i727 < _list726.size; ++_i727) + org.apache.thrift.protocol.TList _list734 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list734.size); + for (int _i735 = 0; _i735 < _list734.size; ++_i735) { - String _elem728; // required - _elem728 = iprot.readString(); - struct.part_vals.add(_elem728); + String _elem736; // required + _elem736 = iprot.readString(); + struct.part_vals.add(_elem736); } iprot.readListEnd(); } @@ -72890,9 +72993,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 _iter729 : struct.part_vals) + for (String _iter737 : struct.part_vals) { - oprot.writeString(_iter729); + oprot.writeString(_iter737); } oprot.writeListEnd(); } @@ -72943,9 +73046,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 _iter730 : struct.part_vals) + for (String _iter738 : struct.part_vals) { - oprot.writeString(_iter730); + oprot.writeString(_iter738); } } } @@ -72968,13 +73071,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list731 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list731.size); - for (int _i732 = 0; _i732 < _list731.size; ++_i732) + org.apache.thrift.protocol.TList _list739 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list739.size); + for (int _i740 = 0; _i740 < _list739.size; ++_i740) { - String _elem733; // required - _elem733 = iprot.readString(); - struct.part_vals.add(_elem733); + String _elem741; // required + _elem741 = iprot.readString(); + struct.part_vals.add(_elem741); } } struct.setPart_valsIsSet(true); @@ -73851,13 +73954,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 _list734 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list734.size); - for (int _i735 = 0; _i735 < _list734.size; ++_i735) + org.apache.thrift.protocol.TList _list742 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list742.size); + for (int _i743 = 0; _i743 < _list742.size; ++_i743) { - String _elem736; // required - _elem736 = iprot.readString(); - struct.part_vals.add(_elem736); + String _elem744; // required + _elem744 = iprot.readString(); + struct.part_vals.add(_elem744); } iprot.readListEnd(); } @@ -73891,9 +73994,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 _iter737 : struct.part_vals) + for (String _iter745 : struct.part_vals) { - oprot.writeString(_iter737); + oprot.writeString(_iter745); } oprot.writeListEnd(); } @@ -73930,9 +74033,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 _iter738 : struct.part_vals) + for (String _iter746 : struct.part_vals) { - oprot.writeString(_iter738); + oprot.writeString(_iter746); } } } @@ -73947,13 +74050,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 _list739 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list739.size); - for (int _i740 = 0; _i740 < _list739.size; ++_i740) + org.apache.thrift.protocol.TList _list747 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list747.size); + for (int _i748 = 0; _i748 < _list747.size; ++_i748) { - String _elem741; // required - _elem741 = iprot.readString(); - struct.part_vals.add(_elem741); + String _elem749; // required + _elem749 = iprot.readString(); + struct.part_vals.add(_elem749); } } struct.setPart_valsIsSet(true); @@ -76111,13 +76214,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 _list742 = iprot.readListBegin(); - struct.success = new ArrayList(_list742.size); - for (int _i743 = 0; _i743 < _list742.size; ++_i743) + org.apache.thrift.protocol.TList _list750 = iprot.readListBegin(); + struct.success = new ArrayList(_list750.size); + for (int _i751 = 0; _i751 < _list750.size; ++_i751) { - String _elem744; // required - _elem744 = iprot.readString(); - struct.success.add(_elem744); + String _elem752; // required + _elem752 = iprot.readString(); + struct.success.add(_elem752); } iprot.readListEnd(); } @@ -76152,9 +76255,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 _iter745 : struct.success) + for (String _iter753 : struct.success) { - oprot.writeString(_iter745); + oprot.writeString(_iter753); } oprot.writeListEnd(); } @@ -76193,9 +76296,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter746 : struct.success) + for (String _iter754 : struct.success) { - oprot.writeString(_iter746); + oprot.writeString(_iter754); } } } @@ -76210,13 +76313,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 _list747 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list747.size); - for (int _i748 = 0; _i748 < _list747.size; ++_i748) + org.apache.thrift.protocol.TList _list755 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list755.size); + for (int _i756 = 0; _i756 < _list755.size; ++_i756) { - String _elem749; // required - _elem749 = iprot.readString(); - struct.success.add(_elem749); + String _elem757; // required + _elem757 = iprot.readString(); + struct.success.add(_elem757); } } struct.setSuccessIsSet(true); @@ -76990,15 +77093,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 _map750 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map750.size); - for (int _i751 = 0; _i751 < _map750.size; ++_i751) + org.apache.thrift.protocol.TMap _map758 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map758.size); + for (int _i759 = 0; _i759 < _map758.size; ++_i759) { - String _key752; // required - String _val753; // required - _key752 = iprot.readString(); - _val753 = iprot.readString(); - struct.success.put(_key752, _val753); + String _key760; // required + String _val761; // required + _key760 = iprot.readString(); + _val761 = iprot.readString(); + struct.success.put(_key760, _val761); } iprot.readMapEnd(); } @@ -77033,10 +77136,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 _iter754 : struct.success.entrySet()) + for (Map.Entry _iter762 : struct.success.entrySet()) { - oprot.writeString(_iter754.getKey()); - oprot.writeString(_iter754.getValue()); + oprot.writeString(_iter762.getKey()); + oprot.writeString(_iter762.getValue()); } oprot.writeMapEnd(); } @@ -77075,10 +77178,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 _iter755 : struct.success.entrySet()) + for (Map.Entry _iter763 : struct.success.entrySet()) { - oprot.writeString(_iter755.getKey()); - oprot.writeString(_iter755.getValue()); + oprot.writeString(_iter763.getKey()); + oprot.writeString(_iter763.getValue()); } } } @@ -77093,15 +77196,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 _map756 = 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*_map756.size); - for (int _i757 = 0; _i757 < _map756.size; ++_i757) + org.apache.thrift.protocol.TMap _map764 = 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*_map764.size); + for (int _i765 = 0; _i765 < _map764.size; ++_i765) { - String _key758; // required - String _val759; // required - _key758 = iprot.readString(); - _val759 = iprot.readString(); - struct.success.put(_key758, _val759); + String _key766; // required + String _val767; // required + _key766 = iprot.readString(); + _val767 = iprot.readString(); + struct.success.put(_key766, _val767); } } struct.setSuccessIsSet(true); @@ -77707,15 +77810,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 _map760 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map760.size); - for (int _i761 = 0; _i761 < _map760.size; ++_i761) + org.apache.thrift.protocol.TMap _map768 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map768.size); + for (int _i769 = 0; _i769 < _map768.size; ++_i769) { - String _key762; // required - String _val763; // required - _key762 = iprot.readString(); - _val763 = iprot.readString(); - struct.part_vals.put(_key762, _val763); + String _key770; // required + String _val771; // required + _key770 = iprot.readString(); + _val771 = iprot.readString(); + struct.part_vals.put(_key770, _val771); } iprot.readMapEnd(); } @@ -77759,10 +77862,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 _iter764 : struct.part_vals.entrySet()) + for (Map.Entry _iter772 : struct.part_vals.entrySet()) { - oprot.writeString(_iter764.getKey()); - oprot.writeString(_iter764.getValue()); + oprot.writeString(_iter772.getKey()); + oprot.writeString(_iter772.getValue()); } oprot.writeMapEnd(); } @@ -77813,10 +77916,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter765 : struct.part_vals.entrySet()) + for (Map.Entry _iter773 : struct.part_vals.entrySet()) { - oprot.writeString(_iter765.getKey()); - oprot.writeString(_iter765.getValue()); + oprot.writeString(_iter773.getKey()); + oprot.writeString(_iter773.getValue()); } } } @@ -77839,15 +77942,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map766 = 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*_map766.size); - for (int _i767 = 0; _i767 < _map766.size; ++_i767) + org.apache.thrift.protocol.TMap _map774 = 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*_map774.size); + for (int _i775 = 0; _i775 < _map774.size; ++_i775) { - String _key768; // required - String _val769; // required - _key768 = iprot.readString(); - _val769 = iprot.readString(); - struct.part_vals.put(_key768, _val769); + String _key776; // required + String _val777; // required + _key776 = iprot.readString(); + _val777 = iprot.readString(); + struct.part_vals.put(_key776, _val777); } } struct.setPart_valsIsSet(true); @@ -79342,15 +79445,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 _map770 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map770.size); - for (int _i771 = 0; _i771 < _map770.size; ++_i771) + org.apache.thrift.protocol.TMap _map778 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map778.size); + for (int _i779 = 0; _i779 < _map778.size; ++_i779) { - String _key772; // required - String _val773; // required - _key772 = iprot.readString(); - _val773 = iprot.readString(); - struct.part_vals.put(_key772, _val773); + String _key780; // required + String _val781; // required + _key780 = iprot.readString(); + _val781 = iprot.readString(); + struct.part_vals.put(_key780, _val781); } iprot.readMapEnd(); } @@ -79394,10 +79497,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 _iter774 : struct.part_vals.entrySet()) + for (Map.Entry _iter782 : struct.part_vals.entrySet()) { - oprot.writeString(_iter774.getKey()); - oprot.writeString(_iter774.getValue()); + oprot.writeString(_iter782.getKey()); + oprot.writeString(_iter782.getValue()); } oprot.writeMapEnd(); } @@ -79448,10 +79551,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter775 : struct.part_vals.entrySet()) + for (Map.Entry _iter783 : struct.part_vals.entrySet()) { - oprot.writeString(_iter775.getKey()); - oprot.writeString(_iter775.getValue()); + oprot.writeString(_iter783.getKey()); + oprot.writeString(_iter783.getValue()); } } } @@ -79474,15 +79577,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map776 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new HashMap(2*_map776.size); - for (int _i777 = 0; _i777 < _map776.size; ++_i777) + org.apache.thrift.protocol.TMap _map784 = 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*_map784.size); + for (int _i785 = 0; _i785 < _map784.size; ++_i785) { - String _key778; // required - String _val779; // required - _key778 = iprot.readString(); - _val779 = iprot.readString(); - struct.part_vals.put(_key778, _val779); + String _key786; // required + String _val787; // required + _key786 = iprot.readString(); + _val787 = iprot.readString(); + struct.part_vals.put(_key786, _val787); } } struct.setPart_valsIsSet(true); @@ -86206,14 +86309,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 _list780 = iprot.readListBegin(); - struct.success = new ArrayList(_list780.size); - for (int _i781 = 0; _i781 < _list780.size; ++_i781) + org.apache.thrift.protocol.TList _list788 = iprot.readListBegin(); + struct.success = new ArrayList(_list788.size); + for (int _i789 = 0; _i789 < _list788.size; ++_i789) { - Index _elem782; // required - _elem782 = new Index(); - _elem782.read(iprot); - struct.success.add(_elem782); + Index _elem790; // required + _elem790 = new Index(); + _elem790.read(iprot); + struct.success.add(_elem790); } iprot.readListEnd(); } @@ -86257,9 +86360,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 _iter783 : struct.success) + for (Index _iter791 : struct.success) { - _iter783.write(oprot); + _iter791.write(oprot); } oprot.writeListEnd(); } @@ -86306,9 +86409,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_indexes_result if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Index _iter784 : struct.success) + for (Index _iter792 : struct.success) { - _iter784.write(oprot); + _iter792.write(oprot); } } } @@ -86326,14 +86429,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 _list785 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list785.size); - for (int _i786 = 0; _i786 < _list785.size; ++_i786) + org.apache.thrift.protocol.TList _list793 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list793.size); + for (int _i794 = 0; _i794 < _list793.size; ++_i794) { - Index _elem787; // required - _elem787 = new Index(); - _elem787.read(iprot); - struct.success.add(_elem787); + Index _elem795; // required + _elem795 = new Index(); + _elem795.read(iprot); + struct.success.add(_elem795); } } struct.setSuccessIsSet(true); @@ -87315,13 +87418,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 _list788 = iprot.readListBegin(); - struct.success = new ArrayList(_list788.size); - for (int _i789 = 0; _i789 < _list788.size; ++_i789) + org.apache.thrift.protocol.TList _list796 = iprot.readListBegin(); + struct.success = new ArrayList(_list796.size); + for (int _i797 = 0; _i797 < _list796.size; ++_i797) { - String _elem790; // required - _elem790 = iprot.readString(); - struct.success.add(_elem790); + String _elem798; // required + _elem798 = iprot.readString(); + struct.success.add(_elem798); } iprot.readListEnd(); } @@ -87356,9 +87459,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 _iter791 : struct.success) + for (String _iter799 : struct.success) { - oprot.writeString(_iter791); + oprot.writeString(_iter799); } oprot.writeListEnd(); } @@ -87397,9 +87500,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_index_names_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter792 : struct.success) + for (String _iter800 : struct.success) { - oprot.writeString(_iter792); + oprot.writeString(_iter800); } } } @@ -87414,13 +87517,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 _list793 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list793.size); - for (int _i794 = 0; _i794 < _list793.size; ++_i794) + org.apache.thrift.protocol.TList _list801 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list801.size); + for (int _i802 = 0; _i802 < _list801.size; ++_i802) { - String _elem795; // required - _elem795 = iprot.readString(); - struct.success.add(_elem795); + String _elem803; // required + _elem803 = iprot.readString(); + struct.success.add(_elem803); } } struct.setSuccessIsSet(true); @@ -92191,26 +92294,1050 @@ public int hashCode() { if (present_o2) builder.append(o2); - boolean present_o3 = true && (isSetO3()); - builder.append(present_o3); - if (present_o3) - builder.append(o3); - - boolean present_o4 = true && (isSetO4()); - builder.append(present_o4); - if (present_o4) - builder.append(o4); - + boolean present_o3 = true && (isSetO3()); + builder.append(present_o3); + if (present_o3) + builder.append(o3); + + boolean present_o4 = true && (isSetO4()); + builder.append(present_o4); + if (present_o4) + builder.append(o4); + + return builder.toHashCode(); + } + + public int compareTo(get_partition_column_statistics_result other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + get_partition_column_statistics_result typedOther = (get_partition_column_statistics_result)other; + + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO1()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO2()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO3()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO4()).compareTo(typedOther.isSetO4()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO4()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, typedOther.o4); + 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_partition_column_statistics_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; + if (!first) sb.append(", "); + sb.append("o3:"); + if (this.o3 == null) { + sb.append("null"); + } else { + sb.append(this.o3); + } + first = false; + if (!first) sb.append(", "); + sb.append("o4:"); + if (this.o4 == null) { + sb.append("null"); + } else { + sb.append(this.o4); + } + 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_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 { + 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() { + HashCodeBuilder builder = new HashCodeBuilder(); + + boolean present_request = true && (isSetRequest()); + builder.append(present_request); + if (present_request) + builder.append(request); + + return builder.toHashCode(); + } + + public int compareTo(get_table_statistics_req_args other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + get_table_statistics_req_args typedOther = (get_table_statistics_req_args)other; + + lastComparison = Boolean.valueOf(isSetRequest()).compareTo(typedOther.isSetRequest()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetRequest()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.request, typedOther.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 { + 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() { + HashCodeBuilder builder = new HashCodeBuilder(); + + boolean present_success = true && (isSetSuccess()); + builder.append(present_success); + if (present_success) + builder.append(success); + + boolean present_o1 = true && (isSetO1()); + builder.append(present_o1); + if (present_o1) + builder.append(o1); + + boolean present_o2 = true && (isSetO2()); + builder.append(present_o2); + if (present_o2) + builder.append(o2); + return builder.toHashCode(); } - public int compareTo(get_partition_column_statistics_result other) { + public int compareTo(get_table_statistics_req_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_partition_column_statistics_result typedOther = (get_partition_column_statistics_result)other; + get_table_statistics_req_result typedOther = (get_table_statistics_req_result)other; lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); if (lastComparison != 0) { @@ -92242,26 +93369,6 @@ public int compareTo(get_partition_column_statistics_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetO4()).compareTo(typedOther.isSetO4()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetO4()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, typedOther.o4); - if (lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -92279,7 +93386,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_partition_column_statistics_result("); + StringBuilder sb = new StringBuilder("get_table_statistics_req_result("); boolean first = true; sb.append("success:"); @@ -92305,22 +93412,6 @@ public String toString() { sb.append(this.o2); } first = false; - if (!first) sb.append(", "); - sb.append("o3:"); - if (this.o3 == null) { - sb.append("null"); - } else { - sb.append(this.o3); - } - first = false; - if (!first) sb.append(", "); - sb.append("o4:"); - if (this.o4 == null) { - sb.append("null"); - } else { - sb.append(this.o4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -92349,15 +93440,15 @@ 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_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) @@ -92369,7 +93460,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 { @@ -92394,24 +93485,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); } @@ -92421,7 +93494,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); @@ -92440,32 +93513,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()) { @@ -92477,13 +93540,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); } @@ -92493,20 +93550,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); } @@ -92520,33 +93571,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 { - 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 { + 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 { @@ -92611,16 +93652,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; @@ -92629,14 +93670,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 @@ -92644,11 +93685,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; } @@ -92673,7 +93714,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRequest(); } else { - setRequest((TableStatsRequest)value); + setRequest((PartitionsStatsRequest)value); } break; @@ -92706,12 +93747,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; @@ -92739,13 +93780,13 @@ public int hashCode() { return builder.toHashCode(); } - 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()); } int lastComparison = 0; - get_table_statistics_req_args typedOther = (get_table_statistics_req_args)other; + get_partitions_statistics_req_args typedOther = (get_partitions_statistics_req_args)other; lastComparison = Boolean.valueOf(isSetRequest()).compareTo(typedOther.isSetRequest()); if (lastComparison != 0) { @@ -92774,7 +93815,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:"); @@ -92812,15 +93853,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) @@ -92832,7 +93873,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 { @@ -92848,7 +93889,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); @@ -92863,16 +93904,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()) { @@ -92885,11 +93926,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); } @@ -92898,8 +93939,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 { - 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 { + 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); @@ -92907,11 +93948,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 @@ -92984,20 +94025,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) { @@ -93010,9 +94051,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); @@ -93022,8 +94063,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 @@ -93033,11 +94074,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; } @@ -93108,7 +94149,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((TableStatsResult)value); + setSuccess((PartitionsStatsResult)value); } break; @@ -93167,12 +94208,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; @@ -93228,13 +94269,13 @@ public int hashCode() { return builder.toHashCode(); } - 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()); } int lastComparison = 0; - get_table_statistics_req_result typedOther = (get_table_statistics_req_result)other; + get_partitions_statistics_req_result typedOther = (get_partitions_statistics_req_result)other; lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); if (lastComparison != 0) { @@ -93283,7 +94324,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:"); @@ -93337,15 +94378,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) @@ -93357,7 +94398,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 { @@ -93391,7 +94432,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); @@ -93416,16 +94457,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()) { @@ -93450,11 +94491,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); } @@ -93473,15 +94514,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 { - 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 { + 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 @@ -93551,13 +94592,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(); @@ -93567,14 +94608,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 @@ -93644,12 +94685,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; @@ -93677,13 +94718,13 @@ public int hashCode() { return builder.toHashCode(); } - 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()); } int lastComparison = 0; - get_partitions_statistics_req_args typedOther = (get_partitions_statistics_req_args)other; + get_aggr_stats_for_args typedOther = (get_aggr_stats_for_args)other; lastComparison = Boolean.valueOf(isSetRequest()).compareTo(typedOther.isSetRequest()); if (lastComparison != 0) { @@ -93712,7 +94753,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:"); @@ -93750,15 +94791,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) @@ -93786,7 +94827,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); @@ -93801,16 +94842,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()) { @@ -93823,7 +94864,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)) { @@ -93836,8 +94877,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 { - 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 { + 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); @@ -93845,11 +94886,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 @@ -93922,20 +94963,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) { @@ -93948,9 +94989,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); @@ -93960,8 +95001,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 @@ -93971,11 +95012,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; } @@ -94046,7 +95087,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((PartitionsStatsResult)value); + setSuccess((AggrStats)value); } break; @@ -94105,12 +95146,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; @@ -94166,13 +95207,13 @@ public int hashCode() { return builder.toHashCode(); } - 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()); } int lastComparison = 0; - get_partitions_statistics_req_result typedOther = (get_partitions_statistics_req_result)other; + get_aggr_stats_for_result typedOther = (get_aggr_stats_for_result)other; lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); if (lastComparison != 0) { @@ -94221,7 +95262,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:"); @@ -94275,15 +95316,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) @@ -94295,7 +95336,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 { @@ -94329,7 +95370,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); @@ -94354,16 +95395,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()) { @@ -94388,11 +95429,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); } @@ -94411,18 +95452,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 { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_aggr_stats_for_args"); + public static class set_aggr_stats_for_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("set_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_aggr_stats_for_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_aggr_stats_for_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new set_aggr_stats_for_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new set_aggr_stats_for_argsTupleSchemeFactory()); } - private PartitionsStatsRequest request; // required + private SetPartitionsStatsRequest 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 { @@ -94487,16 +95528,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, SetPartitionsStatsRequest.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(set_aggr_stats_for_args.class, metaDataMap); } - public get_aggr_stats_for_args() { + public set_aggr_stats_for_args() { } - public get_aggr_stats_for_args( - PartitionsStatsRequest request) + public set_aggr_stats_for_args( + SetPartitionsStatsRequest request) { this(); this.request = request; @@ -94505,14 +95546,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 set_aggr_stats_for_args(set_aggr_stats_for_args other) { if (other.isSetRequest()) { - this.request = new PartitionsStatsRequest(other.request); + this.request = new SetPartitionsStatsRequest(other.request); } } - public get_aggr_stats_for_args deepCopy() { - return new get_aggr_stats_for_args(this); + public set_aggr_stats_for_args deepCopy() { + return new set_aggr_stats_for_args(this); } @Override @@ -94520,11 +95561,11 @@ public void clear() { this.request = null; } - public PartitionsStatsRequest getRequest() { + public SetPartitionsStatsRequest getRequest() { return this.request; } - public void setRequest(PartitionsStatsRequest request) { + public void setRequest(SetPartitionsStatsRequest request) { this.request = request; } @@ -94549,7 +95590,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRequest(); } else { - setRequest((PartitionsStatsRequest)value); + setRequest((SetPartitionsStatsRequest)value); } break; @@ -94582,12 +95623,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 set_aggr_stats_for_args) + return this.equals((set_aggr_stats_for_args)that); return false; } - public boolean equals(get_aggr_stats_for_args that) { + public boolean equals(set_aggr_stats_for_args that) { if (that == null) return false; @@ -94615,13 +95656,13 @@ public int hashCode() { return builder.toHashCode(); } - public int compareTo(get_aggr_stats_for_args other) { + public int compareTo(set_aggr_stats_for_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_aggr_stats_for_args typedOther = (get_aggr_stats_for_args)other; + set_aggr_stats_for_args typedOther = (set_aggr_stats_for_args)other; lastComparison = Boolean.valueOf(isSetRequest()).compareTo(typedOther.isSetRequest()); if (lastComparison != 0) { @@ -94650,7 +95691,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("set_aggr_stats_for_args("); boolean first = true; sb.append("request:"); @@ -94688,15 +95729,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 set_aggr_stats_for_argsStandardSchemeFactory implements SchemeFactory { + public set_aggr_stats_for_argsStandardScheme getScheme() { + return new set_aggr_stats_for_argsStandardScheme(); } } - private static class get_aggr_stats_for_argsStandardScheme extends StandardScheme { + private static class set_aggr_stats_for_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, set_aggr_stats_for_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -94708,7 +95749,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 SetPartitionsStatsRequest(); struct.request.read(iprot); struct.setRequestIsSet(true); } else { @@ -94724,7 +95765,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, set_aggr_stats_for_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -94739,16 +95780,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 set_aggr_stats_for_argsTupleSchemeFactory implements SchemeFactory { + public set_aggr_stats_for_argsTupleScheme getScheme() { + return new set_aggr_stats_for_argsTupleScheme(); } } - private static class get_aggr_stats_for_argsTupleScheme extends TupleScheme { + private static class set_aggr_stats_for_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, set_aggr_stats_for_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetRequest()) { @@ -94761,11 +95802,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, set_aggr_stats_for_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 SetPartitionsStatsRequest(); struct.request.read(iprot); struct.setRequestIsSet(true); } @@ -94774,28 +95815,34 @@ 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 { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_aggr_stats_for_result"); + public static class set_aggr_stats_for_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("set_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 SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); private static final org.apache.thrift.protocol.TField 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 org.apache.thrift.protocol.TField O3_FIELD_DESC = new org.apache.thrift.protocol.TField("o3", org.apache.thrift.protocol.TType.STRUCT, (short)3); + private static final org.apache.thrift.protocol.TField O4_FIELD_DESC = new org.apache.thrift.protocol.TField("o4", org.apache.thrift.protocol.TType.STRUCT, (short)4); 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 set_aggr_stats_for_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new set_aggr_stats_for_resultTupleSchemeFactory()); } - private AggrStats success; // required + private boolean success; // required private NoSuchObjectException o1; // required - private MetaException o2; // required + private InvalidObjectException o2; // required + private MetaException o3; // required + private InvalidInputException o4; // 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"); + O2((short)2, "o2"), + O3((short)3, "o3"), + O4((short)4, "o4"); private static final Map byName = new HashMap(); @@ -94816,6 +95863,10 @@ public static _Fields findByThriftId(int fieldId) { return O1; case 2: // O2 return O2; + case 3: // O3 + return O3; + case 4: // O4 + return O4; default: return null; } @@ -94856,80 +95907,98 @@ public String getFieldName() { } // isset id assignments + private static final int __SUCCESS_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AggrStats.class))); + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); 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))); + tmpMap.put(_Fields.O3, new org.apache.thrift.meta_data.FieldMetaData("o3", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.O4, new org.apache.thrift.meta_data.FieldMetaData("o4", 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(set_aggr_stats_for_result.class, metaDataMap); } - public get_aggr_stats_for_result() { + public set_aggr_stats_for_result() { } - public get_aggr_stats_for_result( - AggrStats success, + public set_aggr_stats_for_result( + boolean success, NoSuchObjectException o1, - MetaException o2) + InvalidObjectException o2, + MetaException o3, + InvalidInputException o4) { this(); this.success = success; + setSuccessIsSet(true); this.o1 = o1; this.o2 = o2; + this.o3 = o3; + this.o4 = o4; } /** * Performs a deep copy on other. */ - public get_aggr_stats_for_result(get_aggr_stats_for_result other) { - if (other.isSetSuccess()) { - this.success = new AggrStats(other.success); - } + public set_aggr_stats_for_result(set_aggr_stats_for_result other) { + __isset_bitfield = other.__isset_bitfield; + this.success = other.success; if (other.isSetO1()) { this.o1 = new NoSuchObjectException(other.o1); } if (other.isSetO2()) { - this.o2 = new MetaException(other.o2); + this.o2 = new InvalidObjectException(other.o2); + } + if (other.isSetO3()) { + this.o3 = new MetaException(other.o3); + } + if (other.isSetO4()) { + this.o4 = new InvalidInputException(other.o4); } } - public get_aggr_stats_for_result deepCopy() { - return new get_aggr_stats_for_result(this); + public set_aggr_stats_for_result deepCopy() { + return new set_aggr_stats_for_result(this); } @Override public void clear() { - this.success = null; + setSuccessIsSet(false); + this.success = false; this.o1 = null; this.o2 = null; + this.o3 = null; + this.o4 = null; } - public AggrStats getSuccess() { + public boolean isSuccess() { return this.success; } - public void setSuccess(AggrStats success) { + public void setSuccess(boolean success) { this.success = success; + setSuccessIsSet(true); } public void unsetSuccess() { - this.success = null; + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return this.success != null; + return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - if (!value) { - this.success = null; - } + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } public NoSuchObjectException getO1() { @@ -94955,11 +96024,11 @@ public void setO1IsSet(boolean value) { } } - public MetaException getO2() { + public InvalidObjectException getO2() { return this.o2; } - public void setO2(MetaException o2) { + public void setO2(InvalidObjectException o2) { this.o2 = o2; } @@ -94978,13 +96047,59 @@ public void setO2IsSet(boolean value) { } } + public MetaException getO3() { + return this.o3; + } + + public void setO3(MetaException o3) { + this.o3 = o3; + } + + public void unsetO3() { + this.o3 = null; + } + + /** Returns true if field o3 is set (has been assigned a value) and false otherwise */ + public boolean isSetO3() { + return this.o3 != null; + } + + public void setO3IsSet(boolean value) { + if (!value) { + this.o3 = null; + } + } + + public InvalidInputException getO4() { + return this.o4; + } + + public void setO4(InvalidInputException o4) { + this.o4 = o4; + } + + public void unsetO4() { + this.o4 = null; + } + + /** Returns true if field o4 is set (has been assigned a value) and false otherwise */ + public boolean isSetO4() { + return this.o4 != null; + } + + public void setO4IsSet(boolean value) { + if (!value) { + this.o4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: if (value == null) { unsetSuccess(); } else { - setSuccess((AggrStats)value); + setSuccess((Boolean)value); } break; @@ -95000,7 +96115,23 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO2(); } else { - setO2((MetaException)value); + setO2((InvalidObjectException)value); + } + break; + + case O3: + if (value == null) { + unsetO3(); + } else { + setO3((MetaException)value); + } + break; + + case O4: + if (value == null) { + unsetO4(); + } else { + setO4((InvalidInputException)value); } break; @@ -95010,7 +96141,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return getSuccess(); + return Boolean.valueOf(isSuccess()); case O1: return getO1(); @@ -95018,6 +96149,12 @@ public Object getFieldValue(_Fields field) { case O2: return getO2(); + case O3: + return getO3(); + + case O4: + return getO4(); + } throw new IllegalStateException(); } @@ -95035,6 +96172,10 @@ public boolean isSet(_Fields field) { return isSetO1(); case O2: return isSetO2(); + case O3: + return isSetO3(); + case O4: + return isSetO4(); } throw new IllegalStateException(); } @@ -95043,21 +96184,21 @@ 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 set_aggr_stats_for_result) + return this.equals((set_aggr_stats_for_result)that); return false; } - public boolean equals(get_aggr_stats_for_result that) { + public boolean equals(set_aggr_stats_for_result that) { if (that == null) return false; - boolean this_present_success = true && this.isSetSuccess(); - boolean that_present_success = true && that.isSetSuccess(); + boolean this_present_success = true; + boolean that_present_success = true; if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; - if (!this.success.equals(that.success)) + if (this.success != that.success) return false; } @@ -95079,6 +96220,24 @@ public boolean equals(get_aggr_stats_for_result that) { return false; } + boolean this_present_o3 = true && this.isSetO3(); + boolean that_present_o3 = true && that.isSetO3(); + if (this_present_o3 || that_present_o3) { + if (!(this_present_o3 && that_present_o3)) + return false; + if (!this.o3.equals(that.o3)) + return false; + } + + boolean this_present_o4 = true && this.isSetO4(); + boolean that_present_o4 = true && that.isSetO4(); + if (this_present_o4 || that_present_o4) { + if (!(this_present_o4 && that_present_o4)) + return false; + if (!this.o4.equals(that.o4)) + return false; + } + return true; } @@ -95086,7 +96245,7 @@ public boolean equals(get_aggr_stats_for_result that) { public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); - boolean present_success = true && (isSetSuccess()); + boolean present_success = true; builder.append(present_success); if (present_success) builder.append(success); @@ -95101,16 +96260,26 @@ public int hashCode() { if (present_o2) builder.append(o2); + boolean present_o3 = true && (isSetO3()); + builder.append(present_o3); + if (present_o3) + builder.append(o3); + + boolean present_o4 = true && (isSetO4()); + builder.append(present_o4); + if (present_o4) + builder.append(o4); + return builder.toHashCode(); } - public int compareTo(get_aggr_stats_for_result other) { + public int compareTo(set_aggr_stats_for_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_aggr_stats_for_result typedOther = (get_aggr_stats_for_result)other; + set_aggr_stats_for_result typedOther = (set_aggr_stats_for_result)other; lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); if (lastComparison != 0) { @@ -95142,6 +96311,26 @@ public int compareTo(get_aggr_stats_for_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetO3()).compareTo(typedOther.isSetO3()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO3()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, typedOther.o3); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO4()).compareTo(typedOther.isSetO4()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO4()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o4, typedOther.o4); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -95159,15 +96348,11 @@ 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("set_aggr_stats_for_result("); boolean first = true; sb.append("success:"); - if (this.success == null) { - sb.append("null"); - } else { - sb.append(this.success); - } + sb.append(this.success); first = false; if (!first) sb.append(", "); sb.append("o1:"); @@ -95185,6 +96370,22 @@ public String toString() { sb.append(this.o2); } first = false; + if (!first) sb.append(", "); + sb.append("o3:"); + if (this.o3 == null) { + sb.append("null"); + } else { + sb.append(this.o3); + } + first = false; + if (!first) sb.append(", "); + sb.append("o4:"); + if (this.o4 == null) { + sb.append("null"); + } else { + sb.append(this.o4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -95192,9 +96393,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if (success != null) { - success.validate(); - } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -95207,21 +96405,23 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } - private static class get_aggr_stats_for_resultStandardSchemeFactory implements SchemeFactory { - public get_aggr_stats_for_resultStandardScheme getScheme() { - return new get_aggr_stats_for_resultStandardScheme(); + private static class set_aggr_stats_for_resultStandardSchemeFactory implements SchemeFactory { + public set_aggr_stats_for_resultStandardScheme getScheme() { + return new set_aggr_stats_for_resultStandardScheme(); } } - private static class get_aggr_stats_for_resultStandardScheme extends StandardScheme { + private static class set_aggr_stats_for_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, set_aggr_stats_for_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -95232,9 +96432,8 @@ 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.read(iprot); + if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -95251,13 +96450,31 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_aggr_stats_for_ break; case 2: // O2 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o2 = new MetaException(); + struct.o2 = new InvalidObjectException(); 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 MetaException(); + 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 InvalidInputException(); + 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); } @@ -95267,13 +96484,13 @@ 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, set_aggr_stats_for_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.success != null) { + if (struct.isSetSuccess()) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - struct.success.write(oprot); + oprot.writeBool(struct.success); oprot.writeFieldEnd(); } if (struct.o1 != null) { @@ -95286,22 +96503,32 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_aggr_stats_for 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_aggr_stats_for_resultTupleSchemeFactory implements SchemeFactory { - public get_aggr_stats_for_resultTupleScheme getScheme() { - return new get_aggr_stats_for_resultTupleScheme(); + private static class set_aggr_stats_for_resultTupleSchemeFactory implements SchemeFactory { + public set_aggr_stats_for_resultTupleScheme getScheme() { + return new set_aggr_stats_for_resultTupleScheme(); } } - private static class get_aggr_stats_for_resultTupleScheme extends TupleScheme { + private static class set_aggr_stats_for_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, set_aggr_stats_for_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -95313,9 +96540,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_ if (struct.isSetO2()) { optionals.set(2); } - oprot.writeBitSet(optionals, 3); + if (struct.isSetO3()) { + optionals.set(3); + } + if (struct.isSetO4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if (struct.isSetSuccess()) { - struct.success.write(oprot); + oprot.writeBool(struct.success); } if (struct.isSetO1()) { struct.o1.write(oprot); @@ -95323,15 +96556,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_ 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_aggr_stats_for_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, set_aggr_stats_for_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); + BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { - struct.success = new AggrStats(); - struct.success.read(iprot); + struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } if (incoming.get(1)) { @@ -95340,10 +96578,20 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_aggr_stats_for_r struct.setO1IsSet(true); } if (incoming.get(2)) { - struct.o2 = new MetaException(); + struct.o2 = new InvalidObjectException(); struct.o2.read(iprot); struct.setO2IsSet(true); } + if (incoming.get(3)) { + struct.o3 = new MetaException(); + struct.o3.read(iprot); + struct.setO3IsSet(true); + } + if (incoming.get(4)) { + struct.o4 = new InvalidInputException(); + struct.o4.read(iprot); + struct.setO4IsSet(true); + } } } @@ -102013,13 +103261,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 _list796 = iprot.readListBegin(); - struct.success = new ArrayList(_list796.size); - for (int _i797 = 0; _i797 < _list796.size; ++_i797) + org.apache.thrift.protocol.TList _list804 = iprot.readListBegin(); + struct.success = new ArrayList(_list804.size); + for (int _i805 = 0; _i805 < _list804.size; ++_i805) { - String _elem798; // required - _elem798 = iprot.readString(); - struct.success.add(_elem798); + String _elem806; // required + _elem806 = iprot.readString(); + struct.success.add(_elem806); } iprot.readListEnd(); } @@ -102054,9 +103302,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 _iter799 : struct.success) + for (String _iter807 : struct.success) { - oprot.writeString(_iter799); + oprot.writeString(_iter807); } oprot.writeListEnd(); } @@ -102095,9 +103343,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter800 : struct.success) + for (String _iter808 : struct.success) { - oprot.writeString(_iter800); + oprot.writeString(_iter808); } } } @@ -102112,13 +103360,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 _list801 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list801.size); - for (int _i802 = 0; _i802 < _list801.size; ++_i802) + org.apache.thrift.protocol.TList _list809 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list809.size); + for (int _i810 = 0; _i810 < _list809.size; ++_i810) { - String _elem803; // required - _elem803 = iprot.readString(); - struct.success.add(_elem803); + String _elem811; // required + _elem811 = iprot.readString(); + struct.success.add(_elem811); } } struct.setSuccessIsSet(true); @@ -105461,13 +106709,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 _list804 = iprot.readListBegin(); - struct.success = new ArrayList(_list804.size); - for (int _i805 = 0; _i805 < _list804.size; ++_i805) + org.apache.thrift.protocol.TList _list812 = iprot.readListBegin(); + struct.success = new ArrayList(_list812.size); + for (int _i813 = 0; _i813 < _list812.size; ++_i813) { - String _elem806; // required - _elem806 = iprot.readString(); - struct.success.add(_elem806); + String _elem814; // required + _elem814 = iprot.readString(); + struct.success.add(_elem814); } iprot.readListEnd(); } @@ -105502,9 +106750,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 _iter807 : struct.success) + for (String _iter815 : struct.success) { - oprot.writeString(_iter807); + oprot.writeString(_iter815); } oprot.writeListEnd(); } @@ -105543,9 +106791,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter808 : struct.success) + for (String _iter816 : struct.success) { - oprot.writeString(_iter808); + oprot.writeString(_iter816); } } } @@ -105560,13 +106808,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 _list809 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list809.size); - for (int _i810 = 0; _i810 < _list809.size; ++_i810) + org.apache.thrift.protocol.TList _list817 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list817.size); + for (int _i818 = 0; _i818 < _list817.size; ++_i818) { - String _elem811; // required - _elem811 = iprot.readString(); - struct.success.add(_elem811); + String _elem819; // required + _elem819 = iprot.readString(); + struct.success.add(_elem819); } } struct.setSuccessIsSet(true); @@ -108857,14 +110105,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 _list812 = iprot.readListBegin(); - struct.success = new ArrayList(_list812.size); - for (int _i813 = 0; _i813 < _list812.size; ++_i813) + org.apache.thrift.protocol.TList _list820 = iprot.readListBegin(); + struct.success = new ArrayList(_list820.size); + for (int _i821 = 0; _i821 < _list820.size; ++_i821) { - Role _elem814; // required - _elem814 = new Role(); - _elem814.read(iprot); - struct.success.add(_elem814); + Role _elem822; // required + _elem822 = new Role(); + _elem822.read(iprot); + struct.success.add(_elem822); } iprot.readListEnd(); } @@ -108899,9 +110147,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 _iter815 : struct.success) + for (Role _iter823 : struct.success) { - _iter815.write(oprot); + _iter823.write(oprot); } oprot.writeListEnd(); } @@ -108940,9 +110188,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter816 : struct.success) + for (Role _iter824 : struct.success) { - _iter816.write(oprot); + _iter824.write(oprot); } } } @@ -108957,14 +110205,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 _list817 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list817.size); - for (int _i818 = 0; _i818 < _list817.size; ++_i818) + org.apache.thrift.protocol.TList _list825 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list825.size); + for (int _i826 = 0; _i826 < _list825.size; ++_i826) { - Role _elem819; // required - _elem819 = new Role(); - _elem819.read(iprot); - struct.success.add(_elem819); + Role _elem827; // required + _elem827 = new Role(); + _elem827.read(iprot); + struct.success.add(_elem827); } } struct.setSuccessIsSet(true); @@ -111972,13 +113220,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 _list820 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list820.size); - for (int _i821 = 0; _i821 < _list820.size; ++_i821) + org.apache.thrift.protocol.TList _list828 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list828.size); + for (int _i829 = 0; _i829 < _list828.size; ++_i829) { - String _elem822; // required - _elem822 = iprot.readString(); - struct.group_names.add(_elem822); + String _elem830; // required + _elem830 = iprot.readString(); + struct.group_names.add(_elem830); } iprot.readListEnd(); } @@ -112014,9 +113262,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 _iter823 : struct.group_names) + for (String _iter831 : struct.group_names) { - oprot.writeString(_iter823); + oprot.writeString(_iter831); } oprot.writeListEnd(); } @@ -112059,9 +113307,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 _iter824 : struct.group_names) + for (String _iter832 : struct.group_names) { - oprot.writeString(_iter824); + oprot.writeString(_iter832); } } } @@ -112082,13 +113330,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } 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.group_names = new ArrayList(_list825.size); - for (int _i826 = 0; _i826 < _list825.size; ++_i826) + org.apache.thrift.protocol.TList _list833 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list833.size); + for (int _i834 = 0; _i834 < _list833.size; ++_i834) { - String _elem827; // required - _elem827 = iprot.readString(); - struct.group_names.add(_elem827); + String _elem835; // required + _elem835 = iprot.readString(); + struct.group_names.add(_elem835); } } struct.setGroup_namesIsSet(true); @@ -113546,14 +114794,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 _list828 = iprot.readListBegin(); - struct.success = new ArrayList(_list828.size); - for (int _i829 = 0; _i829 < _list828.size; ++_i829) + org.apache.thrift.protocol.TList _list836 = iprot.readListBegin(); + struct.success = new ArrayList(_list836.size); + for (int _i837 = 0; _i837 < _list836.size; ++_i837) { - HiveObjectPrivilege _elem830; // required - _elem830 = new HiveObjectPrivilege(); - _elem830.read(iprot); - struct.success.add(_elem830); + HiveObjectPrivilege _elem838; // required + _elem838 = new HiveObjectPrivilege(); + _elem838.read(iprot); + struct.success.add(_elem838); } iprot.readListEnd(); } @@ -113588,9 +114836,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 _iter831 : struct.success) + for (HiveObjectPrivilege _iter839 : struct.success) { - _iter831.write(oprot); + _iter839.write(oprot); } oprot.writeListEnd(); } @@ -113629,9 +114877,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter832 : struct.success) + for (HiveObjectPrivilege _iter840 : struct.success) { - _iter832.write(oprot); + _iter840.write(oprot); } } } @@ -113646,14 +114894,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 _list833 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list833.size); - for (int _i834 = 0; _i834 < _list833.size; ++_i834) + org.apache.thrift.protocol.TList _list841 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list841.size); + for (int _i842 = 0; _i842 < _list841.size; ++_i842) { - HiveObjectPrivilege _elem835; // required - _elem835 = new HiveObjectPrivilege(); - _elem835.read(iprot); - struct.success.add(_elem835); + HiveObjectPrivilege _elem843; // required + _elem843 = new HiveObjectPrivilege(); + _elem843.read(iprot); + struct.success.add(_elem843); } } struct.setSuccessIsSet(true); @@ -116558,13 +117806,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 _list836 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list836.size); - for (int _i837 = 0; _i837 < _list836.size; ++_i837) + org.apache.thrift.protocol.TList _list844 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list844.size); + for (int _i845 = 0; _i845 < _list844.size; ++_i845) { - String _elem838; // required - _elem838 = iprot.readString(); - struct.group_names.add(_elem838); + String _elem846; // required + _elem846 = iprot.readString(); + struct.group_names.add(_elem846); } iprot.readListEnd(); } @@ -116595,9 +117843,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 _iter839 : struct.group_names) + for (String _iter847 : struct.group_names) { - oprot.writeString(_iter839); + oprot.writeString(_iter847); } oprot.writeListEnd(); } @@ -116634,9 +117882,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 _iter840 : struct.group_names) + for (String _iter848 : struct.group_names) { - oprot.writeString(_iter840); + oprot.writeString(_iter848); } } } @@ -116652,13 +117900,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list841 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list841.size); - for (int _i842 = 0; _i842 < _list841.size; ++_i842) + org.apache.thrift.protocol.TList _list849 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list849.size); + for (int _i850 = 0; _i850 < _list849.size; ++_i850) { - String _elem843; // required - _elem843 = iprot.readString(); - struct.group_names.add(_elem843); + String _elem851; // required + _elem851 = iprot.readString(); + struct.group_names.add(_elem851); } } struct.setGroup_namesIsSet(true); @@ -117064,13 +118312,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 _list844 = iprot.readListBegin(); - struct.success = new ArrayList(_list844.size); - for (int _i845 = 0; _i845 < _list844.size; ++_i845) + org.apache.thrift.protocol.TList _list852 = iprot.readListBegin(); + struct.success = new ArrayList(_list852.size); + for (int _i853 = 0; _i853 < _list852.size; ++_i853) { - String _elem846; // required - _elem846 = iprot.readString(); - struct.success.add(_elem846); + String _elem854; // required + _elem854 = iprot.readString(); + struct.success.add(_elem854); } iprot.readListEnd(); } @@ -117105,9 +118353,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 _iter847 : struct.success) + for (String _iter855 : struct.success) { - oprot.writeString(_iter847); + oprot.writeString(_iter855); } oprot.writeListEnd(); } @@ -117146,9 +118394,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter848 : struct.success) + for (String _iter856 : struct.success) { - oprot.writeString(_iter848); + oprot.writeString(_iter856); } } } @@ -117163,13 +118411,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 _list849 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list849.size); - for (int _i850 = 0; _i850 < _list849.size; ++_i850) + org.apache.thrift.protocol.TList _list857 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list857.size); + for (int _i858 = 0; _i858 < _list857.size; ++_i858) { - String _elem851; // required - _elem851 = iprot.readString(); - struct.success.add(_elem851); + String _elem859; // required + _elem859 = iprot.readString(); + struct.success.add(_elem859); } } 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 653b60c..95fd1fa 100644 --- a/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ b/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -90,6 +90,7 @@ interface ThriftHiveMetastoreIf extends \FacebookServiceIf { public function get_table_statistics_req(\metastore\TableStatsRequest $request); public function get_partitions_statistics_req(\metastore\PartitionsStatsRequest $request); public function get_aggr_stats_for(\metastore\PartitionsStatsRequest $request); + public function set_aggr_stats_for(\metastore\SetPartitionsStatsRequest $request); public function delete_partition_column_statistics($db_name, $tbl_name, $part_name, $col_name); public function delete_table_column_statistics($db_name, $tbl_name, $col_name); public function create_function(\metastore\Function $func); @@ -4498,6 +4499,69 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("get_aggr_stats_for failed: unknown result"); } + public function set_aggr_stats_for(\metastore\SetPartitionsStatsRequest $request) + { + $this->send_set_aggr_stats_for($request); + return $this->recv_set_aggr_stats_for(); + } + + public function send_set_aggr_stats_for(\metastore\SetPartitionsStatsRequest $request) + { + $args = new \metastore\ThriftHiveMetastore_set_aggr_stats_for_args(); + $args->request = $request; + $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + if ($bin_accel) + { + thrift_protocol_write_binary($this->output_, 'set_aggr_stats_for', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); + } + else + { + $this->output_->writeMessageBegin('set_aggr_stats_for', TMessageType::CALL, $this->seqid_); + $args->write($this->output_); + $this->output_->writeMessageEnd(); + $this->output_->getTransport()->flush(); + } + } + + public function recv_set_aggr_stats_for() + { + $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_set_aggr_stats_for_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_set_aggr_stats_for_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; + } + if ($result->o3 !== null) { + throw $result->o3; + } + if ($result->o4 !== null) { + throw $result->o4; + } + throw new \Exception("set_aggr_stats_for failed: unknown result"); + } + public function delete_partition_column_statistics($db_name, $tbl_name, $part_name, $col_name) { $this->send_delete_partition_column_statistics($db_name, $tbl_name, $part_name, $col_name); @@ -7662,14 +7726,14 @@ class ThriftHiveMetastore_get_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size400 = 0; - $_etype403 = 0; - $xfer += $input->readListBegin($_etype403, $_size400); - for ($_i404 = 0; $_i404 < $_size400; ++$_i404) + $_size407 = 0; + $_etype410 = 0; + $xfer += $input->readListBegin($_etype410, $_size407); + for ($_i411 = 0; $_i411 < $_size407; ++$_i411) { - $elem405 = null; - $xfer += $input->readString($elem405); - $this->success []= $elem405; + $elem412 = null; + $xfer += $input->readString($elem412); + $this->success []= $elem412; } $xfer += $input->readListEnd(); } else { @@ -7705,9 +7769,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter406) + foreach ($this->success as $iter413) { - $xfer += $output->writeString($iter406); + $xfer += $output->writeString($iter413); } } $output->writeListEnd(); @@ -7832,14 +7896,14 @@ class ThriftHiveMetastore_get_all_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size407 = 0; - $_etype410 = 0; - $xfer += $input->readListBegin($_etype410, $_size407); - for ($_i411 = 0; $_i411 < $_size407; ++$_i411) + $_size414 = 0; + $_etype417 = 0; + $xfer += $input->readListBegin($_etype417, $_size414); + for ($_i418 = 0; $_i418 < $_size414; ++$_i418) { - $elem412 = null; - $xfer += $input->readString($elem412); - $this->success []= $elem412; + $elem419 = null; + $xfer += $input->readString($elem419); + $this->success []= $elem419; } $xfer += $input->readListEnd(); } else { @@ -7875,9 +7939,9 @@ class ThriftHiveMetastore_get_all_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter413) + foreach ($this->success as $iter420) { - $xfer += $output->writeString($iter413); + $xfer += $output->writeString($iter420); } } $output->writeListEnd(); @@ -8818,18 +8882,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size414 = 0; - $_ktype415 = 0; - $_vtype416 = 0; - $xfer += $input->readMapBegin($_ktype415, $_vtype416, $_size414); - for ($_i418 = 0; $_i418 < $_size414; ++$_i418) + $_size421 = 0; + $_ktype422 = 0; + $_vtype423 = 0; + $xfer += $input->readMapBegin($_ktype422, $_vtype423, $_size421); + for ($_i425 = 0; $_i425 < $_size421; ++$_i425) { - $key419 = ''; - $val420 = new \metastore\Type(); - $xfer += $input->readString($key419); - $val420 = new \metastore\Type(); - $xfer += $val420->read($input); - $this->success[$key419] = $val420; + $key426 = ''; + $val427 = new \metastore\Type(); + $xfer += $input->readString($key426); + $val427 = new \metastore\Type(); + $xfer += $val427->read($input); + $this->success[$key426] = $val427; } $xfer += $input->readMapEnd(); } else { @@ -8865,10 +8929,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter421 => $viter422) + foreach ($this->success as $kiter428 => $viter429) { - $xfer += $output->writeString($kiter421); - $xfer += $viter422->write($output); + $xfer += $output->writeString($kiter428); + $xfer += $viter429->write($output); } } $output->writeMapEnd(); @@ -9054,15 +9118,15 @@ class ThriftHiveMetastore_get_fields_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size423 = 0; - $_etype426 = 0; - $xfer += $input->readListBegin($_etype426, $_size423); - for ($_i427 = 0; $_i427 < $_size423; ++$_i427) + $_size430 = 0; + $_etype433 = 0; + $xfer += $input->readListBegin($_etype433, $_size430); + for ($_i434 = 0; $_i434 < $_size430; ++$_i434) { - $elem428 = null; - $elem428 = new \metastore\FieldSchema(); - $xfer += $elem428->read($input); - $this->success []= $elem428; + $elem435 = null; + $elem435 = new \metastore\FieldSchema(); + $xfer += $elem435->read($input); + $this->success []= $elem435; } $xfer += $input->readListEnd(); } else { @@ -9114,9 +9178,9 @@ class ThriftHiveMetastore_get_fields_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter429) + foreach ($this->success as $iter436) { - $xfer += $iter429->write($output); + $xfer += $iter436->write($output); } } $output->writeListEnd(); @@ -9312,15 +9376,15 @@ class ThriftHiveMetastore_get_schema_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size430 = 0; - $_etype433 = 0; - $xfer += $input->readListBegin($_etype433, $_size430); - for ($_i434 = 0; $_i434 < $_size430; ++$_i434) + $_size437 = 0; + $_etype440 = 0; + $xfer += $input->readListBegin($_etype440, $_size437); + for ($_i441 = 0; $_i441 < $_size437; ++$_i441) { - $elem435 = null; - $elem435 = new \metastore\FieldSchema(); - $xfer += $elem435->read($input); - $this->success []= $elem435; + $elem442 = null; + $elem442 = new \metastore\FieldSchema(); + $xfer += $elem442->read($input); + $this->success []= $elem442; } $xfer += $input->readListEnd(); } else { @@ -9372,9 +9436,9 @@ class ThriftHiveMetastore_get_schema_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter436) + foreach ($this->success as $iter443) { - $xfer += $iter436->write($output); + $xfer += $iter443->write($output); } } $output->writeListEnd(); @@ -10451,14 +10515,14 @@ class ThriftHiveMetastore_get_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size437 = 0; - $_etype440 = 0; - $xfer += $input->readListBegin($_etype440, $_size437); - for ($_i441 = 0; $_i441 < $_size437; ++$_i441) + $_size444 = 0; + $_etype447 = 0; + $xfer += $input->readListBegin($_etype447, $_size444); + for ($_i448 = 0; $_i448 < $_size444; ++$_i448) { - $elem442 = null; - $xfer += $input->readString($elem442); - $this->success []= $elem442; + $elem449 = null; + $xfer += $input->readString($elem449); + $this->success []= $elem449; } $xfer += $input->readListEnd(); } else { @@ -10494,9 +10558,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter443) + foreach ($this->success as $iter450) { - $xfer += $output->writeString($iter443); + $xfer += $output->writeString($iter450); } } $output->writeListEnd(); @@ -10643,14 +10707,14 @@ class ThriftHiveMetastore_get_all_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size444 = 0; - $_etype447 = 0; - $xfer += $input->readListBegin($_etype447, $_size444); - for ($_i448 = 0; $_i448 < $_size444; ++$_i448) + $_size451 = 0; + $_etype454 = 0; + $xfer += $input->readListBegin($_etype454, $_size451); + for ($_i455 = 0; $_i455 < $_size451; ++$_i455) { - $elem449 = null; - $xfer += $input->readString($elem449); - $this->success []= $elem449; + $elem456 = null; + $xfer += $input->readString($elem456); + $this->success []= $elem456; } $xfer += $input->readListEnd(); } else { @@ -10686,9 +10750,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter450) + foreach ($this->success as $iter457) { - $xfer += $output->writeString($iter450); + $xfer += $output->writeString($iter457); } } $output->writeListEnd(); @@ -10982,14 +11046,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size451 = 0; - $_etype454 = 0; - $xfer += $input->readListBegin($_etype454, $_size451); - for ($_i455 = 0; $_i455 < $_size451; ++$_i455) + $_size458 = 0; + $_etype461 = 0; + $xfer += $input->readListBegin($_etype461, $_size458); + for ($_i462 = 0; $_i462 < $_size458; ++$_i462) { - $elem456 = null; - $xfer += $input->readString($elem456); - $this->tbl_names []= $elem456; + $elem463 = null; + $xfer += $input->readString($elem463); + $this->tbl_names []= $elem463; } $xfer += $input->readListEnd(); } else { @@ -11022,9 +11086,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter457) + foreach ($this->tbl_names as $iter464) { - $xfer += $output->writeString($iter457); + $xfer += $output->writeString($iter464); } } $output->writeListEnd(); @@ -11113,15 +11177,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size458 = 0; - $_etype461 = 0; - $xfer += $input->readListBegin($_etype461, $_size458); - for ($_i462 = 0; $_i462 < $_size458; ++$_i462) + $_size465 = 0; + $_etype468 = 0; + $xfer += $input->readListBegin($_etype468, $_size465); + for ($_i469 = 0; $_i469 < $_size465; ++$_i469) { - $elem463 = null; - $elem463 = new \metastore\Table(); - $xfer += $elem463->read($input); - $this->success []= $elem463; + $elem470 = null; + $elem470 = new \metastore\Table(); + $xfer += $elem470->read($input); + $this->success []= $elem470; } $xfer += $input->readListEnd(); } else { @@ -11173,9 +11237,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter464) + foreach ($this->success as $iter471) { - $xfer += $iter464->write($output); + $xfer += $iter471->write($output); } } $output->writeListEnd(); @@ -11390,14 +11454,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size465 = 0; - $_etype468 = 0; - $xfer += $input->readListBegin($_etype468, $_size465); - for ($_i469 = 0; $_i469 < $_size465; ++$_i469) + $_size472 = 0; + $_etype475 = 0; + $xfer += $input->readListBegin($_etype475, $_size472); + for ($_i476 = 0; $_i476 < $_size472; ++$_i476) { - $elem470 = null; - $xfer += $input->readString($elem470); - $this->success []= $elem470; + $elem477 = null; + $xfer += $input->readString($elem477); + $this->success []= $elem477; } $xfer += $input->readListEnd(); } else { @@ -11449,9 +11513,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter471) + foreach ($this->success as $iter478) { - $xfer += $output->writeString($iter471); + $xfer += $output->writeString($iter478); } } $output->writeListEnd(); @@ -12444,15 +12508,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size472 = 0; - $_etype475 = 0; - $xfer += $input->readListBegin($_etype475, $_size472); - for ($_i476 = 0; $_i476 < $_size472; ++$_i476) + $_size479 = 0; + $_etype482 = 0; + $xfer += $input->readListBegin($_etype482, $_size479); + for ($_i483 = 0; $_i483 < $_size479; ++$_i483) { - $elem477 = null; - $elem477 = new \metastore\Partition(); - $xfer += $elem477->read($input); - $this->new_parts []= $elem477; + $elem484 = null; + $elem484 = new \metastore\Partition(); + $xfer += $elem484->read($input); + $this->new_parts []= $elem484; } $xfer += $input->readListEnd(); } else { @@ -12480,9 +12544,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter478) + foreach ($this->new_parts as $iter485) { - $xfer += $iter478->write($output); + $xfer += $iter485->write($output); } } $output->writeListEnd(); @@ -12711,14 +12775,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size479 = 0; - $_etype482 = 0; - $xfer += $input->readListBegin($_etype482, $_size479); - for ($_i483 = 0; $_i483 < $_size479; ++$_i483) + $_size486 = 0; + $_etype489 = 0; + $xfer += $input->readListBegin($_etype489, $_size486); + for ($_i490 = 0; $_i490 < $_size486; ++$_i490) { - $elem484 = null; - $xfer += $input->readString($elem484); - $this->part_vals []= $elem484; + $elem491 = null; + $xfer += $input->readString($elem491); + $this->part_vals []= $elem491; } $xfer += $input->readListEnd(); } else { @@ -12756,9 +12820,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter485) + foreach ($this->part_vals as $iter492) { - $xfer += $output->writeString($iter485); + $xfer += $output->writeString($iter492); } } $output->writeListEnd(); @@ -13221,14 +13285,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size486 = 0; - $_etype489 = 0; - $xfer += $input->readListBegin($_etype489, $_size486); - for ($_i490 = 0; $_i490 < $_size486; ++$_i490) + $_size493 = 0; + $_etype496 = 0; + $xfer += $input->readListBegin($_etype496, $_size493); + for ($_i497 = 0; $_i497 < $_size493; ++$_i497) { - $elem491 = null; - $xfer += $input->readString($elem491); - $this->part_vals []= $elem491; + $elem498 = null; + $xfer += $input->readString($elem498); + $this->part_vals []= $elem498; } $xfer += $input->readListEnd(); } else { @@ -13274,9 +13338,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter492) + foreach ($this->part_vals as $iter499) { - $xfer += $output->writeString($iter492); + $xfer += $output->writeString($iter499); } } $output->writeListEnd(); @@ -14061,14 +14125,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size493 = 0; - $_etype496 = 0; - $xfer += $input->readListBegin($_etype496, $_size493); - for ($_i497 = 0; $_i497 < $_size493; ++$_i497) + $_size500 = 0; + $_etype503 = 0; + $xfer += $input->readListBegin($_etype503, $_size500); + for ($_i504 = 0; $_i504 < $_size500; ++$_i504) { - $elem498 = null; - $xfer += $input->readString($elem498); - $this->part_vals []= $elem498; + $elem505 = null; + $xfer += $input->readString($elem505); + $this->part_vals []= $elem505; } $xfer += $input->readListEnd(); } else { @@ -14113,9 +14177,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter499) + foreach ($this->part_vals as $iter506) { - $xfer += $output->writeString($iter499); + $xfer += $output->writeString($iter506); } } $output->writeListEnd(); @@ -14344,14 +14408,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size500 = 0; - $_etype503 = 0; - $xfer += $input->readListBegin($_etype503, $_size500); - for ($_i504 = 0; $_i504 < $_size500; ++$_i504) + $_size507 = 0; + $_etype510 = 0; + $xfer += $input->readListBegin($_etype510, $_size507); + for ($_i511 = 0; $_i511 < $_size507; ++$_i511) { - $elem505 = null; - $xfer += $input->readString($elem505); - $this->part_vals []= $elem505; + $elem512 = null; + $xfer += $input->readString($elem512); + $this->part_vals []= $elem512; } $xfer += $input->readListEnd(); } else { @@ -14404,9 +14468,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter506) + foreach ($this->part_vals as $iter513) { - $xfer += $output->writeString($iter506); + $xfer += $output->writeString($iter513); } } $output->writeListEnd(); @@ -15345,14 +15409,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size507 = 0; - $_etype510 = 0; - $xfer += $input->readListBegin($_etype510, $_size507); - for ($_i511 = 0; $_i511 < $_size507; ++$_i511) + $_size514 = 0; + $_etype517 = 0; + $xfer += $input->readListBegin($_etype517, $_size514); + for ($_i518 = 0; $_i518 < $_size514; ++$_i518) { - $elem512 = null; - $xfer += $input->readString($elem512); - $this->part_vals []= $elem512; + $elem519 = null; + $xfer += $input->readString($elem519); + $this->part_vals []= $elem519; } $xfer += $input->readListEnd(); } else { @@ -15390,9 +15454,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter513) + foreach ($this->part_vals as $iter520) { - $xfer += $output->writeString($iter513); + $xfer += $output->writeString($iter520); } } $output->writeListEnd(); @@ -15610,17 +15674,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size514 = 0; - $_ktype515 = 0; - $_vtype516 = 0; - $xfer += $input->readMapBegin($_ktype515, $_vtype516, $_size514); - for ($_i518 = 0; $_i518 < $_size514; ++$_i518) + $_size521 = 0; + $_ktype522 = 0; + $_vtype523 = 0; + $xfer += $input->readMapBegin($_ktype522, $_vtype523, $_size521); + for ($_i525 = 0; $_i525 < $_size521; ++$_i525) { - $key519 = ''; - $val520 = ''; - $xfer += $input->readString($key519); - $xfer += $input->readString($val520); - $this->partitionSpecs[$key519] = $val520; + $key526 = ''; + $val527 = ''; + $xfer += $input->readString($key526); + $xfer += $input->readString($val527); + $this->partitionSpecs[$key526] = $val527; } $xfer += $input->readMapEnd(); } else { @@ -15676,10 +15740,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter521 => $viter522) + foreach ($this->partitionSpecs as $kiter528 => $viter529) { - $xfer += $output->writeString($kiter521); - $xfer += $output->writeString($viter522); + $xfer += $output->writeString($kiter528); + $xfer += $output->writeString($viter529); } } $output->writeMapEnd(); @@ -15975,14 +16039,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size523 = 0; - $_etype526 = 0; - $xfer += $input->readListBegin($_etype526, $_size523); - for ($_i527 = 0; $_i527 < $_size523; ++$_i527) + $_size530 = 0; + $_etype533 = 0; + $xfer += $input->readListBegin($_etype533, $_size530); + for ($_i534 = 0; $_i534 < $_size530; ++$_i534) { - $elem528 = null; - $xfer += $input->readString($elem528); - $this->part_vals []= $elem528; + $elem535 = null; + $xfer += $input->readString($elem535); + $this->part_vals []= $elem535; } $xfer += $input->readListEnd(); } else { @@ -15999,14 +16063,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size529 = 0; - $_etype532 = 0; - $xfer += $input->readListBegin($_etype532, $_size529); - for ($_i533 = 0; $_i533 < $_size529; ++$_i533) + $_size536 = 0; + $_etype539 = 0; + $xfer += $input->readListBegin($_etype539, $_size536); + for ($_i540 = 0; $_i540 < $_size536; ++$_i540) { - $elem534 = null; - $xfer += $input->readString($elem534); - $this->group_names []= $elem534; + $elem541 = null; + $xfer += $input->readString($elem541); + $this->group_names []= $elem541; } $xfer += $input->readListEnd(); } else { @@ -16044,9 +16108,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter535) + foreach ($this->part_vals as $iter542) { - $xfer += $output->writeString($iter535); + $xfer += $output->writeString($iter542); } } $output->writeListEnd(); @@ -16066,9 +16130,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter536) + foreach ($this->group_names as $iter543) { - $xfer += $output->writeString($iter536); + $xfer += $output->writeString($iter543); } } $output->writeListEnd(); @@ -16614,15 +16678,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size537 = 0; - $_etype540 = 0; - $xfer += $input->readListBegin($_etype540, $_size537); - for ($_i541 = 0; $_i541 < $_size537; ++$_i541) + $_size544 = 0; + $_etype547 = 0; + $xfer += $input->readListBegin($_etype547, $_size544); + for ($_i548 = 0; $_i548 < $_size544; ++$_i548) { - $elem542 = null; - $elem542 = new \metastore\Partition(); - $xfer += $elem542->read($input); - $this->success []= $elem542; + $elem549 = null; + $elem549 = new \metastore\Partition(); + $xfer += $elem549->read($input); + $this->success []= $elem549; } $xfer += $input->readListEnd(); } else { @@ -16666,9 +16730,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter543) + foreach ($this->success as $iter550) { - $xfer += $iter543->write($output); + $xfer += $iter550->write($output); } } $output->writeListEnd(); @@ -16799,14 +16863,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size544 = 0; - $_etype547 = 0; - $xfer += $input->readListBegin($_etype547, $_size544); - for ($_i548 = 0; $_i548 < $_size544; ++$_i548) + $_size551 = 0; + $_etype554 = 0; + $xfer += $input->readListBegin($_etype554, $_size551); + for ($_i555 = 0; $_i555 < $_size551; ++$_i555) { - $elem549 = null; - $xfer += $input->readString($elem549); - $this->group_names []= $elem549; + $elem556 = null; + $xfer += $input->readString($elem556); + $this->group_names []= $elem556; } $xfer += $input->readListEnd(); } else { @@ -16854,9 +16918,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter550) + foreach ($this->group_names as $iter557) { - $xfer += $output->writeString($iter550); + $xfer += $output->writeString($iter557); } } $output->writeListEnd(); @@ -16936,15 +17000,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size551 = 0; - $_etype554 = 0; - $xfer += $input->readListBegin($_etype554, $_size551); - for ($_i555 = 0; $_i555 < $_size551; ++$_i555) + $_size558 = 0; + $_etype561 = 0; + $xfer += $input->readListBegin($_etype561, $_size558); + for ($_i562 = 0; $_i562 < $_size558; ++$_i562) { - $elem556 = null; - $elem556 = new \metastore\Partition(); - $xfer += $elem556->read($input); - $this->success []= $elem556; + $elem563 = null; + $elem563 = new \metastore\Partition(); + $xfer += $elem563->read($input); + $this->success []= $elem563; } $xfer += $input->readListEnd(); } else { @@ -16988,9 +17052,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter557) + foreach ($this->success as $iter564) { - $xfer += $iter557->write($output); + $xfer += $iter564->write($output); } } $output->writeListEnd(); @@ -17182,14 +17246,14 @@ class ThriftHiveMetastore_get_partition_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size558 = 0; - $_etype561 = 0; - $xfer += $input->readListBegin($_etype561, $_size558); - for ($_i562 = 0; $_i562 < $_size558; ++$_i562) + $_size565 = 0; + $_etype568 = 0; + $xfer += $input->readListBegin($_etype568, $_size565); + for ($_i569 = 0; $_i569 < $_size565; ++$_i569) { - $elem563 = null; - $xfer += $input->readString($elem563); - $this->success []= $elem563; + $elem570 = null; + $xfer += $input->readString($elem570); + $this->success []= $elem570; } $xfer += $input->readListEnd(); } else { @@ -17225,9 +17289,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter564) + foreach ($this->success as $iter571) { - $xfer += $output->writeString($iter564); + $xfer += $output->writeString($iter571); } } $output->writeListEnd(); @@ -17331,14 +17395,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size565 = 0; - $_etype568 = 0; - $xfer += $input->readListBegin($_etype568, $_size565); - for ($_i569 = 0; $_i569 < $_size565; ++$_i569) + $_size572 = 0; + $_etype575 = 0; + $xfer += $input->readListBegin($_etype575, $_size572); + for ($_i576 = 0; $_i576 < $_size572; ++$_i576) { - $elem570 = null; - $xfer += $input->readString($elem570); - $this->part_vals []= $elem570; + $elem577 = null; + $xfer += $input->readString($elem577); + $this->part_vals []= $elem577; } $xfer += $input->readListEnd(); } else { @@ -17383,9 +17447,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter571) + foreach ($this->part_vals as $iter578) { - $xfer += $output->writeString($iter571); + $xfer += $output->writeString($iter578); } } $output->writeListEnd(); @@ -17470,15 +17534,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size572 = 0; - $_etype575 = 0; - $xfer += $input->readListBegin($_etype575, $_size572); - for ($_i576 = 0; $_i576 < $_size572; ++$_i576) + $_size579 = 0; + $_etype582 = 0; + $xfer += $input->readListBegin($_etype582, $_size579); + for ($_i583 = 0; $_i583 < $_size579; ++$_i583) { - $elem577 = null; - $elem577 = new \metastore\Partition(); - $xfer += $elem577->read($input); - $this->success []= $elem577; + $elem584 = null; + $elem584 = new \metastore\Partition(); + $xfer += $elem584->read($input); + $this->success []= $elem584; } $xfer += $input->readListEnd(); } else { @@ -17522,9 +17586,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter578) + foreach ($this->success as $iter585) { - $xfer += $iter578->write($output); + $xfer += $iter585->write($output); } } $output->writeListEnd(); @@ -17653,14 +17717,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size579 = 0; - $_etype582 = 0; - $xfer += $input->readListBegin($_etype582, $_size579); - for ($_i583 = 0; $_i583 < $_size579; ++$_i583) + $_size586 = 0; + $_etype589 = 0; + $xfer += $input->readListBegin($_etype589, $_size586); + for ($_i590 = 0; $_i590 < $_size586; ++$_i590) { - $elem584 = null; - $xfer += $input->readString($elem584); - $this->part_vals []= $elem584; + $elem591 = null; + $xfer += $input->readString($elem591); + $this->part_vals []= $elem591; } $xfer += $input->readListEnd(); } else { @@ -17684,14 +17748,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size585 = 0; - $_etype588 = 0; - $xfer += $input->readListBegin($_etype588, $_size585); - for ($_i589 = 0; $_i589 < $_size585; ++$_i589) + $_size592 = 0; + $_etype595 = 0; + $xfer += $input->readListBegin($_etype595, $_size592); + for ($_i596 = 0; $_i596 < $_size592; ++$_i596) { - $elem590 = null; - $xfer += $input->readString($elem590); - $this->group_names []= $elem590; + $elem597 = null; + $xfer += $input->readString($elem597); + $this->group_names []= $elem597; } $xfer += $input->readListEnd(); } else { @@ -17729,9 +17793,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter591) + foreach ($this->part_vals as $iter598) { - $xfer += $output->writeString($iter591); + $xfer += $output->writeString($iter598); } } $output->writeListEnd(); @@ -17756,9 +17820,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter592) + foreach ($this->group_names as $iter599) { - $xfer += $output->writeString($iter592); + $xfer += $output->writeString($iter599); } } $output->writeListEnd(); @@ -17838,15 +17902,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size593 = 0; - $_etype596 = 0; - $xfer += $input->readListBegin($_etype596, $_size593); - for ($_i597 = 0; $_i597 < $_size593; ++$_i597) + $_size600 = 0; + $_etype603 = 0; + $xfer += $input->readListBegin($_etype603, $_size600); + for ($_i604 = 0; $_i604 < $_size600; ++$_i604) { - $elem598 = null; - $elem598 = new \metastore\Partition(); - $xfer += $elem598->read($input); - $this->success []= $elem598; + $elem605 = null; + $elem605 = new \metastore\Partition(); + $xfer += $elem605->read($input); + $this->success []= $elem605; } $xfer += $input->readListEnd(); } else { @@ -17890,9 +17954,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter599) + foreach ($this->success as $iter606) { - $xfer += $iter599->write($output); + $xfer += $iter606->write($output); } } $output->writeListEnd(); @@ -18001,14 +18065,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size600 = 0; - $_etype603 = 0; - $xfer += $input->readListBegin($_etype603, $_size600); - for ($_i604 = 0; $_i604 < $_size600; ++$_i604) + $_size607 = 0; + $_etype610 = 0; + $xfer += $input->readListBegin($_etype610, $_size607); + for ($_i611 = 0; $_i611 < $_size607; ++$_i611) { - $elem605 = null; - $xfer += $input->readString($elem605); - $this->part_vals []= $elem605; + $elem612 = null; + $xfer += $input->readString($elem612); + $this->part_vals []= $elem612; } $xfer += $input->readListEnd(); } else { @@ -18053,9 +18117,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter606) + foreach ($this->part_vals as $iter613) { - $xfer += $output->writeString($iter606); + $xfer += $output->writeString($iter613); } } $output->writeListEnd(); @@ -18139,14 +18203,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size607 = 0; - $_etype610 = 0; - $xfer += $input->readListBegin($_etype610, $_size607); - for ($_i611 = 0; $_i611 < $_size607; ++$_i611) + $_size614 = 0; + $_etype617 = 0; + $xfer += $input->readListBegin($_etype617, $_size614); + for ($_i618 = 0; $_i618 < $_size614; ++$_i618) { - $elem612 = null; - $xfer += $input->readString($elem612); - $this->success []= $elem612; + $elem619 = null; + $xfer += $input->readString($elem619); + $this->success []= $elem619; } $xfer += $input->readListEnd(); } else { @@ -18190,9 +18254,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter613) + foreach ($this->success as $iter620) { - $xfer += $output->writeString($iter613); + $xfer += $output->writeString($iter620); } } $output->writeListEnd(); @@ -18414,15 +18478,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size614 = 0; - $_etype617 = 0; - $xfer += $input->readListBegin($_etype617, $_size614); - for ($_i618 = 0; $_i618 < $_size614; ++$_i618) + $_size621 = 0; + $_etype624 = 0; + $xfer += $input->readListBegin($_etype624, $_size621); + for ($_i625 = 0; $_i625 < $_size621; ++$_i625) { - $elem619 = null; - $elem619 = new \metastore\Partition(); - $xfer += $elem619->read($input); - $this->success []= $elem619; + $elem626 = null; + $elem626 = new \metastore\Partition(); + $xfer += $elem626->read($input); + $this->success []= $elem626; } $xfer += $input->readListEnd(); } else { @@ -18466,9 +18530,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter620) + foreach ($this->success as $iter627) { - $xfer += $iter620->write($output); + $xfer += $iter627->write($output); } } $output->writeListEnd(); @@ -18767,14 +18831,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size621 = 0; - $_etype624 = 0; - $xfer += $input->readListBegin($_etype624, $_size621); - for ($_i625 = 0; $_i625 < $_size621; ++$_i625) + $_size628 = 0; + $_etype631 = 0; + $xfer += $input->readListBegin($_etype631, $_size628); + for ($_i632 = 0; $_i632 < $_size628; ++$_i632) { - $elem626 = null; - $xfer += $input->readString($elem626); - $this->names []= $elem626; + $elem633 = null; + $xfer += $input->readString($elem633); + $this->names []= $elem633; } $xfer += $input->readListEnd(); } else { @@ -18812,9 +18876,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter627) + foreach ($this->names as $iter634) { - $xfer += $output->writeString($iter627); + $xfer += $output->writeString($iter634); } } $output->writeListEnd(); @@ -18894,15 +18958,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size628 = 0; - $_etype631 = 0; - $xfer += $input->readListBegin($_etype631, $_size628); - for ($_i632 = 0; $_i632 < $_size628; ++$_i632) + $_size635 = 0; + $_etype638 = 0; + $xfer += $input->readListBegin($_etype638, $_size635); + for ($_i639 = 0; $_i639 < $_size635; ++$_i639) { - $elem633 = null; - $elem633 = new \metastore\Partition(); - $xfer += $elem633->read($input); - $this->success []= $elem633; + $elem640 = null; + $elem640 = new \metastore\Partition(); + $xfer += $elem640->read($input); + $this->success []= $elem640; } $xfer += $input->readListEnd(); } else { @@ -18946,9 +19010,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter634) + foreach ($this->success as $iter641) { - $xfer += $iter634->write($output); + $xfer += $iter641->write($output); } } $output->writeListEnd(); @@ -19263,15 +19327,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size635 = 0; - $_etype638 = 0; - $xfer += $input->readListBegin($_etype638, $_size635); - for ($_i639 = 0; $_i639 < $_size635; ++$_i639) + $_size642 = 0; + $_etype645 = 0; + $xfer += $input->readListBegin($_etype645, $_size642); + for ($_i646 = 0; $_i646 < $_size642; ++$_i646) { - $elem640 = null; - $elem640 = new \metastore\Partition(); - $xfer += $elem640->read($input); - $this->new_parts []= $elem640; + $elem647 = null; + $elem647 = new \metastore\Partition(); + $xfer += $elem647->read($input); + $this->new_parts []= $elem647; } $xfer += $input->readListEnd(); } else { @@ -19309,9 +19373,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter641) + foreach ($this->new_parts as $iter648) { - $xfer += $iter641->write($output); + $xfer += $iter648->write($output); } } $output->writeListEnd(); @@ -19745,14 +19809,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size642 = 0; - $_etype645 = 0; - $xfer += $input->readListBegin($_etype645, $_size642); - for ($_i646 = 0; $_i646 < $_size642; ++$_i646) + $_size649 = 0; + $_etype652 = 0; + $xfer += $input->readListBegin($_etype652, $_size649); + for ($_i653 = 0; $_i653 < $_size649; ++$_i653) { - $elem647 = null; - $xfer += $input->readString($elem647); - $this->part_vals []= $elem647; + $elem654 = null; + $xfer += $input->readString($elem654); + $this->part_vals []= $elem654; } $xfer += $input->readListEnd(); } else { @@ -19798,9 +19862,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter648) + foreach ($this->part_vals as $iter655) { - $xfer += $output->writeString($iter648); + $xfer += $output->writeString($iter655); } } $output->writeListEnd(); @@ -19973,14 +20037,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size649 = 0; - $_etype652 = 0; - $xfer += $input->readListBegin($_etype652, $_size649); - for ($_i653 = 0; $_i653 < $_size649; ++$_i653) + $_size656 = 0; + $_etype659 = 0; + $xfer += $input->readListBegin($_etype659, $_size656); + for ($_i660 = 0; $_i660 < $_size656; ++$_i660) { - $elem654 = null; - $xfer += $input->readString($elem654); - $this->part_vals []= $elem654; + $elem661 = null; + $xfer += $input->readString($elem661); + $this->part_vals []= $elem661; } $xfer += $input->readListEnd(); } else { @@ -20015,9 +20079,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter655) + foreach ($this->part_vals as $iter662) { - $xfer += $output->writeString($iter655); + $xfer += $output->writeString($iter662); } } $output->writeListEnd(); @@ -20444,14 +20508,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size656 = 0; - $_etype659 = 0; - $xfer += $input->readListBegin($_etype659, $_size656); - for ($_i660 = 0; $_i660 < $_size656; ++$_i660) + $_size663 = 0; + $_etype666 = 0; + $xfer += $input->readListBegin($_etype666, $_size663); + for ($_i667 = 0; $_i667 < $_size663; ++$_i667) { - $elem661 = null; - $xfer += $input->readString($elem661); - $this->success []= $elem661; + $elem668 = null; + $xfer += $input->readString($elem668); + $this->success []= $elem668; } $xfer += $input->readListEnd(); } else { @@ -20487,9 +20551,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter662) + foreach ($this->success as $iter669) { - $xfer += $output->writeString($iter662); + $xfer += $output->writeString($iter669); } } $output->writeListEnd(); @@ -20640,17 +20704,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size663 = 0; - $_ktype664 = 0; - $_vtype665 = 0; - $xfer += $input->readMapBegin($_ktype664, $_vtype665, $_size663); - for ($_i667 = 0; $_i667 < $_size663; ++$_i667) + $_size670 = 0; + $_ktype671 = 0; + $_vtype672 = 0; + $xfer += $input->readMapBegin($_ktype671, $_vtype672, $_size670); + for ($_i674 = 0; $_i674 < $_size670; ++$_i674) { - $key668 = ''; - $val669 = ''; - $xfer += $input->readString($key668); - $xfer += $input->readString($val669); - $this->success[$key668] = $val669; + $key675 = ''; + $val676 = ''; + $xfer += $input->readString($key675); + $xfer += $input->readString($val676); + $this->success[$key675] = $val676; } $xfer += $input->readMapEnd(); } else { @@ -20686,10 +20750,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter670 => $viter671) + foreach ($this->success as $kiter677 => $viter678) { - $xfer += $output->writeString($kiter670); - $xfer += $output->writeString($viter671); + $xfer += $output->writeString($kiter677); + $xfer += $output->writeString($viter678); } } $output->writeMapEnd(); @@ -20797,17 +20861,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size672 = 0; - $_ktype673 = 0; - $_vtype674 = 0; - $xfer += $input->readMapBegin($_ktype673, $_vtype674, $_size672); - for ($_i676 = 0; $_i676 < $_size672; ++$_i676) + $_size679 = 0; + $_ktype680 = 0; + $_vtype681 = 0; + $xfer += $input->readMapBegin($_ktype680, $_vtype681, $_size679); + for ($_i683 = 0; $_i683 < $_size679; ++$_i683) { - $key677 = ''; - $val678 = ''; - $xfer += $input->readString($key677); - $xfer += $input->readString($val678); - $this->part_vals[$key677] = $val678; + $key684 = ''; + $val685 = ''; + $xfer += $input->readString($key684); + $xfer += $input->readString($val685); + $this->part_vals[$key684] = $val685; } $xfer += $input->readMapEnd(); } else { @@ -20852,10 +20916,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter679 => $viter680) + foreach ($this->part_vals as $kiter686 => $viter687) { - $xfer += $output->writeString($kiter679); - $xfer += $output->writeString($viter680); + $xfer += $output->writeString($kiter686); + $xfer += $output->writeString($viter687); } } $output->writeMapEnd(); @@ -21147,17 +21211,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size681 = 0; - $_ktype682 = 0; - $_vtype683 = 0; - $xfer += $input->readMapBegin($_ktype682, $_vtype683, $_size681); - for ($_i685 = 0; $_i685 < $_size681; ++$_i685) + $_size688 = 0; + $_ktype689 = 0; + $_vtype690 = 0; + $xfer += $input->readMapBegin($_ktype689, $_vtype690, $_size688); + for ($_i692 = 0; $_i692 < $_size688; ++$_i692) { - $key686 = ''; - $val687 = ''; - $xfer += $input->readString($key686); - $xfer += $input->readString($val687); - $this->part_vals[$key686] = $val687; + $key693 = ''; + $val694 = ''; + $xfer += $input->readString($key693); + $xfer += $input->readString($val694); + $this->part_vals[$key693] = $val694; } $xfer += $input->readMapEnd(); } else { @@ -21202,10 +21266,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter688 => $viter689) + foreach ($this->part_vals as $kiter695 => $viter696) { - $xfer += $output->writeString($kiter688); - $xfer += $output->writeString($viter689); + $xfer += $output->writeString($kiter695); + $xfer += $output->writeString($viter696); } } $output->writeMapEnd(); @@ -22565,15 +22629,15 @@ class ThriftHiveMetastore_get_indexes_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size690 = 0; - $_etype693 = 0; - $xfer += $input->readListBegin($_etype693, $_size690); - for ($_i694 = 0; $_i694 < $_size690; ++$_i694) + $_size697 = 0; + $_etype700 = 0; + $xfer += $input->readListBegin($_etype700, $_size697); + for ($_i701 = 0; $_i701 < $_size697; ++$_i701) { - $elem695 = null; - $elem695 = new \metastore\Index(); - $xfer += $elem695->read($input); - $this->success []= $elem695; + $elem702 = null; + $elem702 = new \metastore\Index(); + $xfer += $elem702->read($input); + $this->success []= $elem702; } $xfer += $input->readListEnd(); } else { @@ -22617,9 +22681,9 @@ class ThriftHiveMetastore_get_indexes_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter696) + foreach ($this->success as $iter703) { - $xfer += $iter696->write($output); + $xfer += $iter703->write($output); } } $output->writeListEnd(); @@ -22811,14 +22875,14 @@ class ThriftHiveMetastore_get_index_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size697 = 0; - $_etype700 = 0; - $xfer += $input->readListBegin($_etype700, $_size697); - for ($_i701 = 0; $_i701 < $_size697; ++$_i701) + $_size704 = 0; + $_etype707 = 0; + $xfer += $input->readListBegin($_etype707, $_size704); + for ($_i708 = 0; $_i708 < $_size704; ++$_i708) { - $elem702 = null; - $xfer += $input->readString($elem702); - $this->success []= $elem702; + $elem709 = null; + $xfer += $input->readString($elem709); + $this->success []= $elem709; } $xfer += $input->readListEnd(); } else { @@ -22854,9 +22918,9 @@ class ThriftHiveMetastore_get_index_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter703) + foreach ($this->success as $iter710) { - $xfer += $output->writeString($iter703); + $xfer += $output->writeString($iter710); } } $output->writeListEnd(); @@ -24517,53 +24581,30 @@ class ThriftHiveMetastore_get_aggr_stats_for_result { } -class ThriftHiveMetastore_delete_partition_column_statistics_args { +class ThriftHiveMetastore_set_aggr_stats_for_args { static $_TSPEC; - public $db_name = null; - public $tbl_name = null; - public $part_name = null; - public $col_name = null; + public $request = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { self::$_TSPEC = array( 1 => array( - 'var' => 'db_name', - 'type' => TType::STRING, - ), - 2 => array( - 'var' => 'tbl_name', - 'type' => TType::STRING, - ), - 3 => array( - 'var' => 'part_name', - 'type' => TType::STRING, - ), - 4 => array( - 'var' => 'col_name', - 'type' => TType::STRING, + 'var' => 'request', + 'type' => TType::STRUCT, + 'class' => '\metastore\SetPartitionsStatsRequest', ), ); } if (is_array($vals)) { - if (isset($vals['db_name'])) { - $this->db_name = $vals['db_name']; - } - if (isset($vals['tbl_name'])) { - $this->tbl_name = $vals['tbl_name']; - } - if (isset($vals['part_name'])) { - $this->part_name = $vals['part_name']; - } - if (isset($vals['col_name'])) { - $this->col_name = $vals['col_name']; + if (isset($vals['request'])) { + $this->request = $vals['request']; } } } public function getName() { - return 'ThriftHiveMetastore_delete_partition_column_statistics_args'; + return 'ThriftHiveMetastore_set_aggr_stats_for_args'; } public function read($input) @@ -24582,13 +24623,273 @@ class ThriftHiveMetastore_delete_partition_column_statistics_args { switch ($fid) { case 1: - if ($ftype == TType::STRING) { - $xfer += $input->readString($this->db_name); + if ($ftype == TType::STRUCT) { + $this->request = new \metastore\SetPartitionsStatsRequest(); + $xfer += $this->request->read($input); } else { $xfer += $input->skip($ftype); } break; - case 2: + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('ThriftHiveMetastore_set_aggr_stats_for_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_set_aggr_stats_for_result { + static $_TSPEC; + + public $success = null; + public $o1 = null; + public $o2 = null; + public $o3 = null; + public $o4 = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 0 => array( + 'var' => 'success', + 'type' => TType::BOOL, + ), + 1 => array( + 'var' => 'o1', + 'type' => TType::STRUCT, + 'class' => '\metastore\NoSuchObjectException', + ), + 2 => array( + 'var' => 'o2', + 'type' => TType::STRUCT, + 'class' => '\metastore\InvalidObjectException', + ), + 3 => array( + 'var' => 'o3', + 'type' => TType::STRUCT, + 'class' => '\metastore\MetaException', + ), + 4 => array( + 'var' => 'o4', + 'type' => TType::STRUCT, + 'class' => '\metastore\InvalidInputException', + ), + ); + } + 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']; + } + if (isset($vals['o3'])) { + $this->o3 = $vals['o3']; + } + if (isset($vals['o4'])) { + $this->o4 = $vals['o4']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_set_aggr_stats_for_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::BOOL) { + $xfer += $input->readBool($this->success); + } 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\InvalidObjectException(); + $xfer += $this->o2->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + case 3: + if ($ftype == TType::STRUCT) { + $this->o3 = new \metastore\MetaException(); + $xfer += $this->o3->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + case 4: + if ($ftype == TType::STRUCT) { + $this->o4 = new \metastore\InvalidInputException(); + $xfer += $this->o4->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_set_aggr_stats_for_result'); + if ($this->success !== null) { + $xfer += $output->writeFieldBegin('success', TType::BOOL, 0); + $xfer += $output->writeBool($this->success); + $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(); + } + if ($this->o3 !== null) { + $xfer += $output->writeFieldBegin('o3', TType::STRUCT, 3); + $xfer += $this->o3->write($output); + $xfer += $output->writeFieldEnd(); + } + if ($this->o4 !== null) { + $xfer += $output->writeFieldBegin('o4', TType::STRUCT, 4); + $xfer += $this->o4->write($output); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class ThriftHiveMetastore_delete_partition_column_statistics_args { + static $_TSPEC; + + public $db_name = null; + public $tbl_name = null; + public $part_name = null; + public $col_name = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'db_name', + 'type' => TType::STRING, + ), + 2 => array( + 'var' => 'tbl_name', + 'type' => TType::STRING, + ), + 3 => array( + 'var' => 'part_name', + 'type' => TType::STRING, + ), + 4 => array( + 'var' => 'col_name', + 'type' => TType::STRING, + ), + ); + } + if (is_array($vals)) { + if (isset($vals['db_name'])) { + $this->db_name = $vals['db_name']; + } + if (isset($vals['tbl_name'])) { + $this->tbl_name = $vals['tbl_name']; + } + if (isset($vals['part_name'])) { + $this->part_name = $vals['part_name']; + } + if (isset($vals['col_name'])) { + $this->col_name = $vals['col_name']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_delete_partition_column_statistics_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::STRING) { + $xfer += $input->readString($this->db_name); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: if ($ftype == TType::STRING) { $xfer += $input->readString($this->tbl_name); } else { @@ -25847,14 +26148,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size704 = 0; - $_etype707 = 0; - $xfer += $input->readListBegin($_etype707, $_size704); - for ($_i708 = 0; $_i708 < $_size704; ++$_i708) + $_size711 = 0; + $_etype714 = 0; + $xfer += $input->readListBegin($_etype714, $_size711); + for ($_i715 = 0; $_i715 < $_size711; ++$_i715) { - $elem709 = null; - $xfer += $input->readString($elem709); - $this->success []= $elem709; + $elem716 = null; + $xfer += $input->readString($elem716); + $this->success []= $elem716; } $xfer += $input->readListEnd(); } else { @@ -25890,9 +26191,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter710) + foreach ($this->success as $iter717) { - $xfer += $output->writeString($iter710); + $xfer += $output->writeString($iter717); } } $output->writeListEnd(); @@ -26567,14 +26868,14 @@ class ThriftHiveMetastore_get_role_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size711 = 0; - $_etype714 = 0; - $xfer += $input->readListBegin($_etype714, $_size711); - for ($_i715 = 0; $_i715 < $_size711; ++$_i715) + $_size718 = 0; + $_etype721 = 0; + $xfer += $input->readListBegin($_etype721, $_size718); + for ($_i722 = 0; $_i722 < $_size718; ++$_i722) { - $elem716 = null; - $xfer += $input->readString($elem716); - $this->success []= $elem716; + $elem723 = null; + $xfer += $input->readString($elem723); + $this->success []= $elem723; } $xfer += $input->readListEnd(); } else { @@ -26610,9 +26911,9 @@ class ThriftHiveMetastore_get_role_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter717) + foreach ($this->success as $iter724) { - $xfer += $output->writeString($iter717); + $xfer += $output->writeString($iter724); } } $output->writeListEnd(); @@ -27252,15 +27553,15 @@ class ThriftHiveMetastore_list_roles_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size718 = 0; - $_etype721 = 0; - $xfer += $input->readListBegin($_etype721, $_size718); - for ($_i722 = 0; $_i722 < $_size718; ++$_i722) + $_size725 = 0; + $_etype728 = 0; + $xfer += $input->readListBegin($_etype728, $_size725); + for ($_i729 = 0; $_i729 < $_size725; ++$_i729) { - $elem723 = null; - $elem723 = new \metastore\Role(); - $xfer += $elem723->read($input); - $this->success []= $elem723; + $elem730 = null; + $elem730 = new \metastore\Role(); + $xfer += $elem730->read($input); + $this->success []= $elem730; } $xfer += $input->readListEnd(); } else { @@ -27296,9 +27597,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter724) + foreach ($this->success as $iter731) { - $xfer += $iter724->write($output); + $xfer += $iter731->write($output); } } $output->writeListEnd(); @@ -27924,14 +28225,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size725 = 0; - $_etype728 = 0; - $xfer += $input->readListBegin($_etype728, $_size725); - for ($_i729 = 0; $_i729 < $_size725; ++$_i729) + $_size732 = 0; + $_etype735 = 0; + $xfer += $input->readListBegin($_etype735, $_size732); + for ($_i736 = 0; $_i736 < $_size732; ++$_i736) { - $elem730 = null; - $xfer += $input->readString($elem730); - $this->group_names []= $elem730; + $elem737 = null; + $xfer += $input->readString($elem737); + $this->group_names []= $elem737; } $xfer += $input->readListEnd(); } else { @@ -27972,9 +28273,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter731) + foreach ($this->group_names as $iter738) { - $xfer += $output->writeString($iter731); + $xfer += $output->writeString($iter738); } } $output->writeListEnd(); @@ -28261,15 +28562,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size732 = 0; - $_etype735 = 0; - $xfer += $input->readListBegin($_etype735, $_size732); - for ($_i736 = 0; $_i736 < $_size732; ++$_i736) + $_size739 = 0; + $_etype742 = 0; + $xfer += $input->readListBegin($_etype742, $_size739); + for ($_i743 = 0; $_i743 < $_size739; ++$_i743) { - $elem737 = null; - $elem737 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem737->read($input); - $this->success []= $elem737; + $elem744 = null; + $elem744 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem744->read($input); + $this->success []= $elem744; } $xfer += $input->readListEnd(); } else { @@ -28305,9 +28606,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter738) + foreach ($this->success as $iter745) { - $xfer += $iter738->write($output); + $xfer += $iter745->write($output); } } $output->writeListEnd(); @@ -28906,14 +29207,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size739 = 0; - $_etype742 = 0; - $xfer += $input->readListBegin($_etype742, $_size739); - for ($_i743 = 0; $_i743 < $_size739; ++$_i743) + $_size746 = 0; + $_etype749 = 0; + $xfer += $input->readListBegin($_etype749, $_size746); + for ($_i750 = 0; $_i750 < $_size746; ++$_i750) { - $elem744 = null; - $xfer += $input->readString($elem744); - $this->group_names []= $elem744; + $elem751 = null; + $xfer += $input->readString($elem751); + $this->group_names []= $elem751; } $xfer += $input->readListEnd(); } else { @@ -28946,9 +29247,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter745) + foreach ($this->group_names as $iter752) { - $xfer += $output->writeString($iter745); + $xfer += $output->writeString($iter752); } } $output->writeListEnd(); @@ -29018,14 +29319,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size746 = 0; - $_etype749 = 0; - $xfer += $input->readListBegin($_etype749, $_size746); - for ($_i750 = 0; $_i750 < $_size746; ++$_i750) + $_size753 = 0; + $_etype756 = 0; + $xfer += $input->readListBegin($_etype756, $_size753); + for ($_i757 = 0; $_i757 < $_size753; ++$_i757) { - $elem751 = null; - $xfer += $input->readString($elem751); - $this->success []= $elem751; + $elem758 = null; + $xfer += $input->readString($elem758); + $this->success []= $elem758; } $xfer += $input->readListEnd(); } else { @@ -29061,9 +29362,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter752) + foreach ($this->success as $iter759) { - $xfer += $output->writeString($iter752); + $xfer += $output->writeString($iter759); } } $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 6cdffd5..0f0c31b 100644 --- a/metastore/src/gen/thrift/gen-php/metastore/Types.php +++ b/metastore/src/gen/thrift/gen-php/metastore/Types.php @@ -6155,6 +6155,106 @@ class AggrStats { } +class SetPartitionsStatsRequest { + static $_TSPEC; + + public $colStats = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'colStats', + 'type' => TType::LST, + 'etype' => TType::STRUCT, + 'elem' => array( + 'type' => TType::STRUCT, + 'class' => '\metastore\ColumnStatistics', + ), + ), + ); + } + if (is_array($vals)) { + if (isset($vals['colStats'])) { + $this->colStats = $vals['colStats']; + } + } + } + + public function getName() { + return 'SetPartitionsStatsRequest'; + } + + 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->colStats = array(); + $_size223 = 0; + $_etype226 = 0; + $xfer += $input->readListBegin($_etype226, $_size223); + for ($_i227 = 0; $_i227 < $_size223; ++$_i227) + { + $elem228 = null; + $elem228 = new \metastore\ColumnStatistics(); + $xfer += $elem228->read($input); + $this->colStats []= $elem228; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('SetPartitionsStatsRequest'); + if ($this->colStats !== null) { + if (!is_array($this->colStats)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('colStats', TType::LST, 1); + { + $output->writeListBegin(TType::STRUCT, count($this->colStats)); + { + foreach ($this->colStats as $iter229) + { + $xfer += $iter229->write($output); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class Schema { static $_TSPEC; @@ -6219,15 +6319,15 @@ class Schema { case 1: if ($ftype == TType::LST) { $this->fieldSchemas = array(); - $_size223 = 0; - $_etype226 = 0; - $xfer += $input->readListBegin($_etype226, $_size223); - for ($_i227 = 0; $_i227 < $_size223; ++$_i227) + $_size230 = 0; + $_etype233 = 0; + $xfer += $input->readListBegin($_etype233, $_size230); + for ($_i234 = 0; $_i234 < $_size230; ++$_i234) { - $elem228 = null; - $elem228 = new \metastore\FieldSchema(); - $xfer += $elem228->read($input); - $this->fieldSchemas []= $elem228; + $elem235 = null; + $elem235 = new \metastore\FieldSchema(); + $xfer += $elem235->read($input); + $this->fieldSchemas []= $elem235; } $xfer += $input->readListEnd(); } else { @@ -6237,17 +6337,17 @@ class Schema { case 2: if ($ftype == TType::MAP) { $this->properties = array(); - $_size229 = 0; - $_ktype230 = 0; - $_vtype231 = 0; - $xfer += $input->readMapBegin($_ktype230, $_vtype231, $_size229); - for ($_i233 = 0; $_i233 < $_size229; ++$_i233) + $_size236 = 0; + $_ktype237 = 0; + $_vtype238 = 0; + $xfer += $input->readMapBegin($_ktype237, $_vtype238, $_size236); + for ($_i240 = 0; $_i240 < $_size236; ++$_i240) { - $key234 = ''; - $val235 = ''; - $xfer += $input->readString($key234); - $xfer += $input->readString($val235); - $this->properties[$key234] = $val235; + $key241 = ''; + $val242 = ''; + $xfer += $input->readString($key241); + $xfer += $input->readString($val242); + $this->properties[$key241] = $val242; } $xfer += $input->readMapEnd(); } else { @@ -6275,9 +6375,9 @@ class Schema { { $output->writeListBegin(TType::STRUCT, count($this->fieldSchemas)); { - foreach ($this->fieldSchemas as $iter236) + foreach ($this->fieldSchemas as $iter243) { - $xfer += $iter236->write($output); + $xfer += $iter243->write($output); } } $output->writeListEnd(); @@ -6292,10 +6392,10 @@ class Schema { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->properties)); { - foreach ($this->properties as $kiter237 => $viter238) + foreach ($this->properties as $kiter244 => $viter245) { - $xfer += $output->writeString($kiter237); - $xfer += $output->writeString($viter238); + $xfer += $output->writeString($kiter244); + $xfer += $output->writeString($viter245); } } $output->writeMapEnd(); @@ -6360,17 +6460,17 @@ class EnvironmentContext { case 1: if ($ftype == TType::MAP) { $this->properties = array(); - $_size239 = 0; - $_ktype240 = 0; - $_vtype241 = 0; - $xfer += $input->readMapBegin($_ktype240, $_vtype241, $_size239); - for ($_i243 = 0; $_i243 < $_size239; ++$_i243) + $_size246 = 0; + $_ktype247 = 0; + $_vtype248 = 0; + $xfer += $input->readMapBegin($_ktype247, $_vtype248, $_size246); + for ($_i250 = 0; $_i250 < $_size246; ++$_i250) { - $key244 = ''; - $val245 = ''; - $xfer += $input->readString($key244); - $xfer += $input->readString($val245); - $this->properties[$key244] = $val245; + $key251 = ''; + $val252 = ''; + $xfer += $input->readString($key251); + $xfer += $input->readString($val252); + $this->properties[$key251] = $val252; } $xfer += $input->readMapEnd(); } else { @@ -6398,10 +6498,10 @@ class EnvironmentContext { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->properties)); { - foreach ($this->properties as $kiter246 => $viter247) + foreach ($this->properties as $kiter253 => $viter254) { - $xfer += $output->writeString($kiter246); - $xfer += $output->writeString($viter247); + $xfer += $output->writeString($kiter253); + $xfer += $output->writeString($viter254); } } $output->writeMapEnd(); @@ -6471,15 +6571,15 @@ class PartitionsByExprResult { case 1: if ($ftype == TType::LST) { $this->partitions = array(); - $_size248 = 0; - $_etype251 = 0; - $xfer += $input->readListBegin($_etype251, $_size248); - for ($_i252 = 0; $_i252 < $_size248; ++$_i252) + $_size255 = 0; + $_etype258 = 0; + $xfer += $input->readListBegin($_etype258, $_size255); + for ($_i259 = 0; $_i259 < $_size255; ++$_i259) { - $elem253 = null; - $elem253 = new \metastore\Partition(); - $xfer += $elem253->read($input); - $this->partitions []= $elem253; + $elem260 = null; + $elem260 = new \metastore\Partition(); + $xfer += $elem260->read($input); + $this->partitions []= $elem260; } $xfer += $input->readListEnd(); } else { @@ -6514,9 +6614,9 @@ class PartitionsByExprResult { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter254) + foreach ($this->partitions as $iter261) { - $xfer += $iter254->write($output); + $xfer += $iter261->write($output); } } $output->writeListEnd(); @@ -6735,15 +6835,15 @@ class TableStatsResult { case 1: if ($ftype == TType::LST) { $this->tableStats = array(); - $_size255 = 0; - $_etype258 = 0; - $xfer += $input->readListBegin($_etype258, $_size255); - for ($_i259 = 0; $_i259 < $_size255; ++$_i259) + $_size262 = 0; + $_etype265 = 0; + $xfer += $input->readListBegin($_etype265, $_size262); + for ($_i266 = 0; $_i266 < $_size262; ++$_i266) { - $elem260 = null; - $elem260 = new \metastore\ColumnStatisticsObj(); - $xfer += $elem260->read($input); - $this->tableStats []= $elem260; + $elem267 = null; + $elem267 = new \metastore\ColumnStatisticsObj(); + $xfer += $elem267->read($input); + $this->tableStats []= $elem267; } $xfer += $input->readListEnd(); } else { @@ -6771,9 +6871,9 @@ class TableStatsResult { { $output->writeListBegin(TType::STRUCT, count($this->tableStats)); { - foreach ($this->tableStats as $iter261) + foreach ($this->tableStats as $iter268) { - $xfer += $iter261->write($output); + $xfer += $iter268->write($output); } } $output->writeListEnd(); @@ -6843,28 +6943,28 @@ class PartitionsStatsResult { case 1: if ($ftype == TType::MAP) { $this->partStats = array(); - $_size262 = 0; - $_ktype263 = 0; - $_vtype264 = 0; - $xfer += $input->readMapBegin($_ktype263, $_vtype264, $_size262); - for ($_i266 = 0; $_i266 < $_size262; ++$_i266) + $_size269 = 0; + $_ktype270 = 0; + $_vtype271 = 0; + $xfer += $input->readMapBegin($_ktype270, $_vtype271, $_size269); + for ($_i273 = 0; $_i273 < $_size269; ++$_i273) { - $key267 = ''; - $val268 = array(); - $xfer += $input->readString($key267); - $val268 = array(); - $_size269 = 0; - $_etype272 = 0; - $xfer += $input->readListBegin($_etype272, $_size269); - for ($_i273 = 0; $_i273 < $_size269; ++$_i273) + $key274 = ''; + $val275 = array(); + $xfer += $input->readString($key274); + $val275 = array(); + $_size276 = 0; + $_etype279 = 0; + $xfer += $input->readListBegin($_etype279, $_size276); + for ($_i280 = 0; $_i280 < $_size276; ++$_i280) { - $elem274 = null; - $elem274 = new \metastore\ColumnStatisticsObj(); - $xfer += $elem274->read($input); - $val268 []= $elem274; + $elem281 = null; + $elem281 = new \metastore\ColumnStatisticsObj(); + $xfer += $elem281->read($input); + $val275 []= $elem281; } $xfer += $input->readListEnd(); - $this->partStats[$key267] = $val268; + $this->partStats[$key274] = $val275; } $xfer += $input->readMapEnd(); } else { @@ -6892,15 +6992,15 @@ class PartitionsStatsResult { { $output->writeMapBegin(TType::STRING, TType::LST, count($this->partStats)); { - foreach ($this->partStats as $kiter275 => $viter276) + foreach ($this->partStats as $kiter282 => $viter283) { - $xfer += $output->writeString($kiter275); + $xfer += $output->writeString($kiter282); { - $output->writeListBegin(TType::STRUCT, count($viter276)); + $output->writeListBegin(TType::STRUCT, count($viter283)); { - foreach ($viter276 as $iter277) + foreach ($viter283 as $iter284) { - $xfer += $iter277->write($output); + $xfer += $iter284->write($output); } } $output->writeListEnd(); @@ -6995,14 +7095,14 @@ class TableStatsRequest { case 3: if ($ftype == TType::LST) { $this->colNames = array(); - $_size278 = 0; - $_etype281 = 0; - $xfer += $input->readListBegin($_etype281, $_size278); - for ($_i282 = 0; $_i282 < $_size278; ++$_i282) + $_size285 = 0; + $_etype288 = 0; + $xfer += $input->readListBegin($_etype288, $_size285); + for ($_i289 = 0; $_i289 < $_size285; ++$_i289) { - $elem283 = null; - $xfer += $input->readString($elem283); - $this->colNames []= $elem283; + $elem290 = null; + $xfer += $input->readString($elem290); + $this->colNames []= $elem290; } $xfer += $input->readListEnd(); } else { @@ -7040,9 +7140,9 @@ class TableStatsRequest { { $output->writeListBegin(TType::STRING, count($this->colNames)); { - foreach ($this->colNames as $iter284) + foreach ($this->colNames as $iter291) { - $xfer += $output->writeString($iter284); + $xfer += $output->writeString($iter291); } } $output->writeListEnd(); @@ -7145,14 +7245,14 @@ class PartitionsStatsRequest { case 3: if ($ftype == TType::LST) { $this->colNames = array(); - $_size285 = 0; - $_etype288 = 0; - $xfer += $input->readListBegin($_etype288, $_size285); - for ($_i289 = 0; $_i289 < $_size285; ++$_i289) + $_size292 = 0; + $_etype295 = 0; + $xfer += $input->readListBegin($_etype295, $_size292); + for ($_i296 = 0; $_i296 < $_size292; ++$_i296) { - $elem290 = null; - $xfer += $input->readString($elem290); - $this->colNames []= $elem290; + $elem297 = null; + $xfer += $input->readString($elem297); + $this->colNames []= $elem297; } $xfer += $input->readListEnd(); } else { @@ -7162,14 +7262,14 @@ class PartitionsStatsRequest { case 4: if ($ftype == TType::LST) { $this->partNames = array(); - $_size291 = 0; - $_etype294 = 0; - $xfer += $input->readListBegin($_etype294, $_size291); - for ($_i295 = 0; $_i295 < $_size291; ++$_i295) + $_size298 = 0; + $_etype301 = 0; + $xfer += $input->readListBegin($_etype301, $_size298); + for ($_i302 = 0; $_i302 < $_size298; ++$_i302) { - $elem296 = null; - $xfer += $input->readString($elem296); - $this->partNames []= $elem296; + $elem303 = null; + $xfer += $input->readString($elem303); + $this->partNames []= $elem303; } $xfer += $input->readListEnd(); } else { @@ -7207,9 +7307,9 @@ class PartitionsStatsRequest { { $output->writeListBegin(TType::STRING, count($this->colNames)); { - foreach ($this->colNames as $iter297) + foreach ($this->colNames as $iter304) { - $xfer += $output->writeString($iter297); + $xfer += $output->writeString($iter304); } } $output->writeListEnd(); @@ -7224,9 +7324,9 @@ class PartitionsStatsRequest { { $output->writeListBegin(TType::STRING, count($this->partNames)); { - foreach ($this->partNames as $iter298) + foreach ($this->partNames as $iter305) { - $xfer += $output->writeString($iter298); + $xfer += $output->writeString($iter305); } } $output->writeListEnd(); @@ -7288,15 +7388,15 @@ class AddPartitionsResult { case 1: if ($ftype == TType::LST) { $this->partitions = array(); - $_size299 = 0; - $_etype302 = 0; - $xfer += $input->readListBegin($_etype302, $_size299); - for ($_i303 = 0; $_i303 < $_size299; ++$_i303) + $_size306 = 0; + $_etype309 = 0; + $xfer += $input->readListBegin($_etype309, $_size306); + for ($_i310 = 0; $_i310 < $_size306; ++$_i310) { - $elem304 = null; - $elem304 = new \metastore\Partition(); - $xfer += $elem304->read($input); - $this->partitions []= $elem304; + $elem311 = null; + $elem311 = new \metastore\Partition(); + $xfer += $elem311->read($input); + $this->partitions []= $elem311; } $xfer += $input->readListEnd(); } else { @@ -7324,9 +7424,9 @@ class AddPartitionsResult { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter305) + foreach ($this->partitions as $iter312) { - $xfer += $iter305->write($output); + $xfer += $iter312->write($output); } } $output->writeListEnd(); @@ -7434,15 +7534,15 @@ class AddPartitionsRequest { case 3: if ($ftype == TType::LST) { $this->parts = array(); - $_size306 = 0; - $_etype309 = 0; - $xfer += $input->readListBegin($_etype309, $_size306); - for ($_i310 = 0; $_i310 < $_size306; ++$_i310) + $_size313 = 0; + $_etype316 = 0; + $xfer += $input->readListBegin($_etype316, $_size313); + for ($_i317 = 0; $_i317 < $_size313; ++$_i317) { - $elem311 = null; - $elem311 = new \metastore\Partition(); - $xfer += $elem311->read($input); - $this->parts []= $elem311; + $elem318 = null; + $elem318 = new \metastore\Partition(); + $xfer += $elem318->read($input); + $this->parts []= $elem318; } $xfer += $input->readListEnd(); } else { @@ -7494,9 +7594,9 @@ class AddPartitionsRequest { { $output->writeListBegin(TType::STRUCT, count($this->parts)); { - foreach ($this->parts as $iter312) + foreach ($this->parts as $iter319) { - $xfer += $iter312->write($output); + $xfer += $iter319->write($output); } } $output->writeListEnd(); @@ -7568,15 +7668,15 @@ class DropPartitionsResult { case 1: if ($ftype == TType::LST) { $this->partitions = array(); - $_size313 = 0; - $_etype316 = 0; - $xfer += $input->readListBegin($_etype316, $_size313); - for ($_i317 = 0; $_i317 < $_size313; ++$_i317) + $_size320 = 0; + $_etype323 = 0; + $xfer += $input->readListBegin($_etype323, $_size320); + for ($_i324 = 0; $_i324 < $_size320; ++$_i324) { - $elem318 = null; - $elem318 = new \metastore\Partition(); - $xfer += $elem318->read($input); - $this->partitions []= $elem318; + $elem325 = null; + $elem325 = new \metastore\Partition(); + $xfer += $elem325->read($input); + $this->partitions []= $elem325; } $xfer += $input->readListEnd(); } else { @@ -7604,9 +7704,9 @@ class DropPartitionsResult { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter319) + foreach ($this->partitions as $iter326) { - $xfer += $iter319->write($output); + $xfer += $iter326->write($output); } } $output->writeListEnd(); @@ -7772,14 +7872,14 @@ class RequestPartsSpec { case 1: if ($ftype == TType::LST) { $this->names = array(); - $_size320 = 0; - $_etype323 = 0; - $xfer += $input->readListBegin($_etype323, $_size320); - for ($_i324 = 0; $_i324 < $_size320; ++$_i324) + $_size327 = 0; + $_etype330 = 0; + $xfer += $input->readListBegin($_etype330, $_size327); + for ($_i331 = 0; $_i331 < $_size327; ++$_i331) { - $elem325 = null; - $xfer += $input->readString($elem325); - $this->names []= $elem325; + $elem332 = null; + $xfer += $input->readString($elem332); + $this->names []= $elem332; } $xfer += $input->readListEnd(); } else { @@ -7789,15 +7889,15 @@ class RequestPartsSpec { case 2: if ($ftype == TType::LST) { $this->exprs = array(); - $_size326 = 0; - $_etype329 = 0; - $xfer += $input->readListBegin($_etype329, $_size326); - for ($_i330 = 0; $_i330 < $_size326; ++$_i330) + $_size333 = 0; + $_etype336 = 0; + $xfer += $input->readListBegin($_etype336, $_size333); + for ($_i337 = 0; $_i337 < $_size333; ++$_i337) { - $elem331 = null; - $elem331 = new \metastore\DropPartitionsExpr(); - $xfer += $elem331->read($input); - $this->exprs []= $elem331; + $elem338 = null; + $elem338 = new \metastore\DropPartitionsExpr(); + $xfer += $elem338->read($input); + $this->exprs []= $elem338; } $xfer += $input->readListEnd(); } else { @@ -7825,9 +7925,9 @@ class RequestPartsSpec { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter332) + foreach ($this->names as $iter339) { - $xfer += $output->writeString($iter332); + $xfer += $output->writeString($iter339); } } $output->writeListEnd(); @@ -7842,9 +7942,9 @@ class RequestPartsSpec { { $output->writeListBegin(TType::STRUCT, count($this->exprs)); { - foreach ($this->exprs as $iter333) + foreach ($this->exprs as $iter340) { - $xfer += $iter333->write($output); + $xfer += $iter340->write($output); } } $output->writeListEnd(); @@ -8325,15 +8425,15 @@ class Function { case 8: if ($ftype == TType::LST) { $this->resourceUris = array(); - $_size334 = 0; - $_etype337 = 0; - $xfer += $input->readListBegin($_etype337, $_size334); - for ($_i338 = 0; $_i338 < $_size334; ++$_i338) + $_size341 = 0; + $_etype344 = 0; + $xfer += $input->readListBegin($_etype344, $_size341); + for ($_i345 = 0; $_i345 < $_size341; ++$_i345) { - $elem339 = null; - $elem339 = new \metastore\ResourceUri(); - $xfer += $elem339->read($input); - $this->resourceUris []= $elem339; + $elem346 = null; + $elem346 = new \metastore\ResourceUri(); + $xfer += $elem346->read($input); + $this->resourceUris []= $elem346; } $xfer += $input->readListEnd(); } else { @@ -8396,9 +8496,9 @@ class Function { { $output->writeListBegin(TType::STRUCT, count($this->resourceUris)); { - foreach ($this->resourceUris as $iter340) + foreach ($this->resourceUris as $iter347) { - $xfer += $iter340->write($output); + $xfer += $iter347->write($output); } } $output->writeListEnd(); @@ -8607,15 +8707,15 @@ class GetOpenTxnsInfoResponse { case 2: if ($ftype == TType::LST) { $this->open_txns = array(); - $_size341 = 0; - $_etype344 = 0; - $xfer += $input->readListBegin($_etype344, $_size341); - for ($_i345 = 0; $_i345 < $_size341; ++$_i345) + $_size348 = 0; + $_etype351 = 0; + $xfer += $input->readListBegin($_etype351, $_size348); + for ($_i352 = 0; $_i352 < $_size348; ++$_i352) { - $elem346 = null; - $elem346 = new \metastore\TxnInfo(); - $xfer += $elem346->read($input); - $this->open_txns []= $elem346; + $elem353 = null; + $elem353 = new \metastore\TxnInfo(); + $xfer += $elem353->read($input); + $this->open_txns []= $elem353; } $xfer += $input->readListEnd(); } else { @@ -8648,9 +8748,9 @@ class GetOpenTxnsInfoResponse { { $output->writeListBegin(TType::STRUCT, count($this->open_txns)); { - foreach ($this->open_txns as $iter347) + foreach ($this->open_txns as $iter354) { - $xfer += $iter347->write($output); + $xfer += $iter354->write($output); } } $output->writeListEnd(); @@ -8726,17 +8826,17 @@ class GetOpenTxnsResponse { case 2: if ($ftype == TType::SET) { $this->open_txns = array(); - $_size348 = 0; - $_etype351 = 0; - $xfer += $input->readSetBegin($_etype351, $_size348); - for ($_i352 = 0; $_i352 < $_size348; ++$_i352) + $_size355 = 0; + $_etype358 = 0; + $xfer += $input->readSetBegin($_etype358, $_size355); + for ($_i359 = 0; $_i359 < $_size355; ++$_i359) { - $elem353 = null; - $xfer += $input->readI64($elem353); - if (is_scalar($elem353)) { - $this->open_txns[$elem353] = true; + $elem360 = null; + $xfer += $input->readI64($elem360); + if (is_scalar($elem360)) { + $this->open_txns[$elem360] = true; } else { - $this->open_txns []= $elem353; + $this->open_txns []= $elem360; } } $xfer += $input->readSetEnd(); @@ -8770,12 +8870,12 @@ class GetOpenTxnsResponse { { $output->writeSetBegin(TType::I64, count($this->open_txns)); { - foreach ($this->open_txns as $iter354 => $iter355) + foreach ($this->open_txns as $iter361 => $iter362) { - if (is_scalar($iter355)) { - $xfer += $output->writeI64($iter354); + if (is_scalar($iter362)) { + $xfer += $output->writeI64($iter361); } else { - $xfer += $output->writeI64($iter355); + $xfer += $output->writeI64($iter362); } } } @@ -8949,14 +9049,14 @@ class OpenTxnsResponse { case 1: if ($ftype == TType::LST) { $this->txn_ids = array(); - $_size356 = 0; - $_etype359 = 0; - $xfer += $input->readListBegin($_etype359, $_size356); - for ($_i360 = 0; $_i360 < $_size356; ++$_i360) + $_size363 = 0; + $_etype366 = 0; + $xfer += $input->readListBegin($_etype366, $_size363); + for ($_i367 = 0; $_i367 < $_size363; ++$_i367) { - $elem361 = null; - $xfer += $input->readI64($elem361); - $this->txn_ids []= $elem361; + $elem368 = null; + $xfer += $input->readI64($elem368); + $this->txn_ids []= $elem368; } $xfer += $input->readListEnd(); } else { @@ -8984,9 +9084,9 @@ class OpenTxnsResponse { { $output->writeListBegin(TType::I64, count($this->txn_ids)); { - foreach ($this->txn_ids as $iter362) + foreach ($this->txn_ids as $iter369) { - $xfer += $output->writeI64($iter362); + $xfer += $output->writeI64($iter369); } } $output->writeListEnd(); @@ -9368,15 +9468,15 @@ class LockRequest { case 1: if ($ftype == TType::LST) { $this->component = array(); - $_size363 = 0; - $_etype366 = 0; - $xfer += $input->readListBegin($_etype366, $_size363); - for ($_i367 = 0; $_i367 < $_size363; ++$_i367) + $_size370 = 0; + $_etype373 = 0; + $xfer += $input->readListBegin($_etype373, $_size370); + for ($_i374 = 0; $_i374 < $_size370; ++$_i374) { - $elem368 = null; - $elem368 = new \metastore\LockComponent(); - $xfer += $elem368->read($input); - $this->component []= $elem368; + $elem375 = null; + $elem375 = new \metastore\LockComponent(); + $xfer += $elem375->read($input); + $this->component []= $elem375; } $xfer += $input->readListEnd(); } else { @@ -9425,9 +9525,9 @@ class LockRequest { { $output->writeListBegin(TType::STRUCT, count($this->component)); { - foreach ($this->component as $iter369) + foreach ($this->component as $iter376) { - $xfer += $iter369->write($output); + $xfer += $iter376->write($output); } } $output->writeListEnd(); @@ -10062,15 +10162,15 @@ class ShowLocksResponse { case 1: if ($ftype == TType::LST) { $this->locks = array(); - $_size370 = 0; - $_etype373 = 0; - $xfer += $input->readListBegin($_etype373, $_size370); - for ($_i374 = 0; $_i374 < $_size370; ++$_i374) + $_size377 = 0; + $_etype380 = 0; + $xfer += $input->readListBegin($_etype380, $_size377); + for ($_i381 = 0; $_i381 < $_size377; ++$_i381) { - $elem375 = null; - $elem375 = new \metastore\ShowLocksResponseElement(); - $xfer += $elem375->read($input); - $this->locks []= $elem375; + $elem382 = null; + $elem382 = new \metastore\ShowLocksResponseElement(); + $xfer += $elem382->read($input); + $this->locks []= $elem382; } $xfer += $input->readListEnd(); } else { @@ -10098,9 +10198,9 @@ class ShowLocksResponse { { $output->writeListBegin(TType::STRUCT, count($this->locks)); { - foreach ($this->locks as $iter376) + foreach ($this->locks as $iter383) { - $xfer += $iter376->write($output); + $xfer += $iter383->write($output); } } $output->writeListEnd(); @@ -10357,17 +10457,17 @@ class HeartbeatTxnRangeResponse { case 1: if ($ftype == TType::SET) { $this->aborted = array(); - $_size377 = 0; - $_etype380 = 0; - $xfer += $input->readSetBegin($_etype380, $_size377); - for ($_i381 = 0; $_i381 < $_size377; ++$_i381) + $_size384 = 0; + $_etype387 = 0; + $xfer += $input->readSetBegin($_etype387, $_size384); + for ($_i388 = 0; $_i388 < $_size384; ++$_i388) { - $elem382 = null; - $xfer += $input->readI64($elem382); - if (is_scalar($elem382)) { - $this->aborted[$elem382] = true; + $elem389 = null; + $xfer += $input->readI64($elem389); + if (is_scalar($elem389)) { + $this->aborted[$elem389] = true; } else { - $this->aborted []= $elem382; + $this->aborted []= $elem389; } } $xfer += $input->readSetEnd(); @@ -10378,17 +10478,17 @@ class HeartbeatTxnRangeResponse { case 2: if ($ftype == TType::SET) { $this->nosuch = array(); - $_size383 = 0; - $_etype386 = 0; - $xfer += $input->readSetBegin($_etype386, $_size383); - for ($_i387 = 0; $_i387 < $_size383; ++$_i387) + $_size390 = 0; + $_etype393 = 0; + $xfer += $input->readSetBegin($_etype393, $_size390); + for ($_i394 = 0; $_i394 < $_size390; ++$_i394) { - $elem388 = null; - $xfer += $input->readI64($elem388); - if (is_scalar($elem388)) { - $this->nosuch[$elem388] = true; + $elem395 = null; + $xfer += $input->readI64($elem395); + if (is_scalar($elem395)) { + $this->nosuch[$elem395] = true; } else { - $this->nosuch []= $elem388; + $this->nosuch []= $elem395; } } $xfer += $input->readSetEnd(); @@ -10417,12 +10517,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->aborted)); { - foreach ($this->aborted as $iter389 => $iter390) + foreach ($this->aborted as $iter396 => $iter397) { - if (is_scalar($iter390)) { - $xfer += $output->writeI64($iter389); + if (is_scalar($iter397)) { + $xfer += $output->writeI64($iter396); } else { - $xfer += $output->writeI64($iter390); + $xfer += $output->writeI64($iter397); } } } @@ -10438,12 +10538,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->nosuch)); { - foreach ($this->nosuch as $iter391 => $iter392) + foreach ($this->nosuch as $iter398 => $iter399) { - if (is_scalar($iter392)) { - $xfer += $output->writeI64($iter391); + if (is_scalar($iter399)) { + $xfer += $output->writeI64($iter398); } else { - $xfer += $output->writeI64($iter392); + $xfer += $output->writeI64($iter399); } } } @@ -10920,15 +11020,15 @@ class ShowCompactResponse { case 1: if ($ftype == TType::LST) { $this->compacts = array(); - $_size393 = 0; - $_etype396 = 0; - $xfer += $input->readListBegin($_etype396, $_size393); - for ($_i397 = 0; $_i397 < $_size393; ++$_i397) + $_size400 = 0; + $_etype403 = 0; + $xfer += $input->readListBegin($_etype403, $_size400); + for ($_i404 = 0; $_i404 < $_size400; ++$_i404) { - $elem398 = null; - $elem398 = new \metastore\ShowCompactResponseElement(); - $xfer += $elem398->read($input); - $this->compacts []= $elem398; + $elem405 = null; + $elem405 = new \metastore\ShowCompactResponseElement(); + $xfer += $elem405->read($input); + $this->compacts []= $elem405; } $xfer += $input->readListEnd(); } else { @@ -10956,9 +11056,9 @@ class ShowCompactResponse { { $output->writeListBegin(TType::STRUCT, count($this->compacts)); { - foreach ($this->compacts as $iter399) + foreach ($this->compacts as $iter406) { - $xfer += $iter399->write($output); + $xfer += $iter406->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 old mode 100644 new mode 100755 index e430c77..c93b74e --- a/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote +++ b/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote @@ -97,6 +97,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 ' 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)' print ' void create_function(Function func)' @@ -630,6 +631,12 @@ elif cmd == 'get_aggr_stats_for': sys.exit(1) pp.pprint(client.get_aggr_stats_for(eval(args[0]),)) +elif cmd == 'set_aggr_stats_for': + if len(args) != 1: + print 'set_aggr_stats_for requires 1 args' + sys.exit(1) + pp.pprint(client.set_aggr_stats_for(eval(args[0]),)) + elif cmd == 'delete_partition_column_statistics': if len(args) != 4: print 'delete_partition_column_statistics requires 4 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 450018b..7c4c6a0 100644 --- a/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ b/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -655,6 +655,13 @@ def get_aggr_stats_for(self, request): """ pass + def set_aggr_stats_for(self, request): + """ + Parameters: + - request + """ + pass + def delete_partition_column_statistics(self, db_name, tbl_name, part_name, col_name): """ Parameters: @@ -3708,6 +3715,44 @@ def recv_get_aggr_stats_for(self, ): raise result.o2 raise TApplicationException(TApplicationException.MISSING_RESULT, "get_aggr_stats_for failed: unknown result"); + def set_aggr_stats_for(self, request): + """ + Parameters: + - request + """ + self.send_set_aggr_stats_for(request) + return self.recv_set_aggr_stats_for() + + def send_set_aggr_stats_for(self, request): + self._oprot.writeMessageBegin('set_aggr_stats_for', TMessageType.CALL, self._seqid) + args = set_aggr_stats_for_args() + args.request = request + args.write(self._oprot) + self._oprot.writeMessageEnd() + self._oprot.trans.flush() + + def recv_set_aggr_stats_for(self, ): + (fname, mtype, rseqid) = self._iprot.readMessageBegin() + if mtype == TMessageType.EXCEPTION: + x = TApplicationException() + x.read(self._iprot) + self._iprot.readMessageEnd() + raise x + result = set_aggr_stats_for_result() + result.read(self._iprot) + self._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 + if result.o3 is not None: + raise result.o3 + if result.o4 is not None: + raise result.o4 + raise TApplicationException(TApplicationException.MISSING_RESULT, "set_aggr_stats_for failed: unknown result"); + def delete_partition_column_statistics(self, db_name, tbl_name, part_name, col_name): """ Parameters: @@ -5041,6 +5086,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["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 self._processMap["create_function"] = Processor.process_create_function @@ -6329,6 +6375,26 @@ def process_get_aggr_stats_for(self, seqid, iprot, 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) + iprot.readMessageEnd() + result = set_aggr_stats_for_result() + try: + result.success = self._handler.set_aggr_stats_for(args.request) + except NoSuchObjectException as o1: + result.o1 = o1 + except InvalidObjectException as o2: + result.o2 = o2 + except MetaException as o3: + result.o3 = o3 + except InvalidInputException as o4: + result.o4 = o4 + oprot.writeMessageBegin("set_aggr_stats_for", TMessageType.REPLY, seqid) + result.write(oprot) + oprot.writeMessageEnd() + oprot.trans.flush() + def process_delete_partition_column_statistics(self, seqid, iprot, oprot): args = delete_partition_column_statistics_args() args.read(iprot) @@ -7699,10 +7765,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype400, _size397) = iprot.readListBegin() - for _i401 in xrange(_size397): - _elem402 = iprot.readString(); - self.success.append(_elem402) + (_etype407, _size404) = iprot.readListBegin() + for _i408 in xrange(_size404): + _elem409 = iprot.readString(); + self.success.append(_elem409) iprot.readListEnd() else: iprot.skip(ftype) @@ -7725,8 +7791,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 iter403 in self.success: - oprot.writeString(iter403) + for iter410 in self.success: + oprot.writeString(iter410) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -7821,10 +7887,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype407, _size404) = iprot.readListBegin() - for _i408 in xrange(_size404): - _elem409 = iprot.readString(); - self.success.append(_elem409) + (_etype414, _size411) = iprot.readListBegin() + for _i415 in xrange(_size411): + _elem416 = iprot.readString(); + self.success.append(_elem416) iprot.readListEnd() else: iprot.skip(ftype) @@ -7847,8 +7913,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 iter410 in self.success: - oprot.writeString(iter410) + for iter417 in self.success: + oprot.writeString(iter417) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -8558,12 +8624,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype412, _vtype413, _size411 ) = iprot.readMapBegin() - for _i415 in xrange(_size411): - _key416 = iprot.readString(); - _val417 = Type() - _val417.read(iprot) - self.success[_key416] = _val417 + (_ktype419, _vtype420, _size418 ) = iprot.readMapBegin() + for _i422 in xrange(_size418): + _key423 = iprot.readString(); + _val424 = Type() + _val424.read(iprot) + self.success[_key423] = _val424 iprot.readMapEnd() else: iprot.skip(ftype) @@ -8586,9 +8652,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 kiter418,viter419 in self.success.items(): - oprot.writeString(kiter418) - viter419.write(oprot) + for kiter425,viter426 in self.success.items(): + oprot.writeString(kiter425) + viter426.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -8719,11 +8785,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype423, _size420) = iprot.readListBegin() - for _i424 in xrange(_size420): - _elem425 = FieldSchema() - _elem425.read(iprot) - self.success.append(_elem425) + (_etype430, _size427) = iprot.readListBegin() + for _i431 in xrange(_size427): + _elem432 = FieldSchema() + _elem432.read(iprot) + self.success.append(_elem432) iprot.readListEnd() else: iprot.skip(ftype) @@ -8758,8 +8824,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 iter426 in self.success: - iter426.write(oprot) + for iter433 in self.success: + iter433.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -8898,11 +8964,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype430, _size427) = iprot.readListBegin() - for _i431 in xrange(_size427): - _elem432 = FieldSchema() - _elem432.read(iprot) - self.success.append(_elem432) + (_etype437, _size434) = iprot.readListBegin() + for _i438 in xrange(_size434): + _elem439 = FieldSchema() + _elem439.read(iprot) + self.success.append(_elem439) iprot.readListEnd() else: iprot.skip(ftype) @@ -8937,8 +9003,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 iter433 in self.success: - iter433.write(oprot) + for iter440 in self.success: + iter440.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -9735,10 +9801,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype437, _size434) = iprot.readListBegin() - for _i438 in xrange(_size434): - _elem439 = iprot.readString(); - self.success.append(_elem439) + (_etype444, _size441) = iprot.readListBegin() + for _i445 in xrange(_size441): + _elem446 = iprot.readString(); + self.success.append(_elem446) iprot.readListEnd() else: iprot.skip(ftype) @@ -9761,8 +9827,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 iter440 in self.success: - oprot.writeString(iter440) + for iter447 in self.success: + oprot.writeString(iter447) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -9875,10 +9941,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype444, _size441) = iprot.readListBegin() - for _i445 in xrange(_size441): - _elem446 = iprot.readString(); - self.success.append(_elem446) + (_etype451, _size448) = iprot.readListBegin() + for _i452 in xrange(_size448): + _elem453 = iprot.readString(); + self.success.append(_elem453) iprot.readListEnd() else: iprot.skip(ftype) @@ -9901,8 +9967,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 iter447 in self.success: - oprot.writeString(iter447) + for iter454 in self.success: + oprot.writeString(iter454) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -10119,10 +10185,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype451, _size448) = iprot.readListBegin() - for _i452 in xrange(_size448): - _elem453 = iprot.readString(); - self.tbl_names.append(_elem453) + (_etype458, _size455) = iprot.readListBegin() + for _i459 in xrange(_size455): + _elem460 = iprot.readString(); + self.tbl_names.append(_elem460) iprot.readListEnd() else: iprot.skip(ftype) @@ -10143,8 +10209,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 iter454 in self.tbl_names: - oprot.writeString(iter454) + for iter461 in self.tbl_names: + oprot.writeString(iter461) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10199,11 +10265,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype458, _size455) = iprot.readListBegin() - for _i459 in xrange(_size455): - _elem460 = Table() - _elem460.read(iprot) - self.success.append(_elem460) + (_etype465, _size462) = iprot.readListBegin() + for _i466 in xrange(_size462): + _elem467 = Table() + _elem467.read(iprot) + self.success.append(_elem467) iprot.readListEnd() else: iprot.skip(ftype) @@ -10238,8 +10304,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 iter461 in self.success: - iter461.write(oprot) + for iter468 in self.success: + iter468.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -10390,10 +10456,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype465, _size462) = iprot.readListBegin() - for _i466 in xrange(_size462): - _elem467 = iprot.readString(); - self.success.append(_elem467) + (_etype472, _size469) = iprot.readListBegin() + for _i473 in xrange(_size469): + _elem474 = iprot.readString(); + self.success.append(_elem474) iprot.readListEnd() else: iprot.skip(ftype) @@ -10428,8 +10494,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 iter468 in self.success: - oprot.writeString(iter468) + for iter475 in self.success: + oprot.writeString(iter475) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -11152,11 +11218,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype472, _size469) = iprot.readListBegin() - for _i473 in xrange(_size469): - _elem474 = Partition() - _elem474.read(iprot) - self.new_parts.append(_elem474) + (_etype479, _size476) = iprot.readListBegin() + for _i480 in xrange(_size476): + _elem481 = Partition() + _elem481.read(iprot) + self.new_parts.append(_elem481) iprot.readListEnd() else: iprot.skip(ftype) @@ -11173,8 +11239,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 iter475 in self.new_parts: - iter475.write(oprot) + for iter482 in self.new_parts: + iter482.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11335,10 +11401,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype479, _size476) = iprot.readListBegin() - for _i480 in xrange(_size476): - _elem481 = iprot.readString(); - self.part_vals.append(_elem481) + (_etype486, _size483) = iprot.readListBegin() + for _i487 in xrange(_size483): + _elem488 = iprot.readString(); + self.part_vals.append(_elem488) iprot.readListEnd() else: iprot.skip(ftype) @@ -11363,8 +11429,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 iter482 in self.part_vals: - oprot.writeString(iter482) + for iter489 in self.part_vals: + oprot.writeString(iter489) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11689,10 +11755,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype486, _size483) = iprot.readListBegin() - for _i487 in xrange(_size483): - _elem488 = iprot.readString(); - self.part_vals.append(_elem488) + (_etype493, _size490) = iprot.readListBegin() + for _i494 in xrange(_size490): + _elem495 = iprot.readString(); + self.part_vals.append(_elem495) iprot.readListEnd() else: iprot.skip(ftype) @@ -11723,8 +11789,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 iter489 in self.part_vals: - oprot.writeString(iter489) + for iter496 in self.part_vals: + oprot.writeString(iter496) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -12272,10 +12338,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype493, _size490) = iprot.readListBegin() - for _i494 in xrange(_size490): - _elem495 = iprot.readString(); - self.part_vals.append(_elem495) + (_etype500, _size497) = iprot.readListBegin() + for _i501 in xrange(_size497): + _elem502 = iprot.readString(); + self.part_vals.append(_elem502) iprot.readListEnd() else: iprot.skip(ftype) @@ -12305,8 +12371,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 iter496 in self.part_vals: - oprot.writeString(iter496) + for iter503 in self.part_vals: + oprot.writeString(iter503) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -12464,10 +12530,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype500, _size497) = iprot.readListBegin() - for _i501 in xrange(_size497): - _elem502 = iprot.readString(); - self.part_vals.append(_elem502) + (_etype507, _size504) = iprot.readListBegin() + for _i508 in xrange(_size504): + _elem509 = iprot.readString(); + self.part_vals.append(_elem509) iprot.readListEnd() else: iprot.skip(ftype) @@ -12503,8 +12569,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 iter503 in self.part_vals: - oprot.writeString(iter503) + for iter510 in self.part_vals: + oprot.writeString(iter510) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -13182,10 +13248,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype507, _size504) = iprot.readListBegin() - for _i508 in xrange(_size504): - _elem509 = iprot.readString(); - self.part_vals.append(_elem509) + (_etype514, _size511) = iprot.readListBegin() + for _i515 in xrange(_size511): + _elem516 = iprot.readString(); + self.part_vals.append(_elem516) iprot.readListEnd() else: iprot.skip(ftype) @@ -13210,8 +13276,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 iter510 in self.part_vals: - oprot.writeString(iter510) + for iter517 in self.part_vals: + oprot.writeString(iter517) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13356,11 +13422,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype512, _vtype513, _size511 ) = iprot.readMapBegin() - for _i515 in xrange(_size511): - _key516 = iprot.readString(); - _val517 = iprot.readString(); - self.partitionSpecs[_key516] = _val517 + (_ktype519, _vtype520, _size518 ) = iprot.readMapBegin() + for _i522 in xrange(_size518): + _key523 = iprot.readString(); + _val524 = iprot.readString(); + self.partitionSpecs[_key523] = _val524 iprot.readMapEnd() else: iprot.skip(ftype) @@ -13397,9 +13463,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 kiter518,viter519 in self.partitionSpecs.items(): - oprot.writeString(kiter518) - oprot.writeString(viter519) + for kiter525,viter526 in self.partitionSpecs.items(): + oprot.writeString(kiter525) + oprot.writeString(viter526) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -13596,10 +13662,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype523, _size520) = iprot.readListBegin() - for _i524 in xrange(_size520): - _elem525 = iprot.readString(); - self.part_vals.append(_elem525) + (_etype530, _size527) = iprot.readListBegin() + for _i531 in xrange(_size527): + _elem532 = iprot.readString(); + self.part_vals.append(_elem532) iprot.readListEnd() else: iprot.skip(ftype) @@ -13611,10 +13677,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype529, _size526) = iprot.readListBegin() - for _i530 in xrange(_size526): - _elem531 = iprot.readString(); - self.group_names.append(_elem531) + (_etype536, _size533) = iprot.readListBegin() + for _i537 in xrange(_size533): + _elem538 = iprot.readString(); + self.group_names.append(_elem538) iprot.readListEnd() else: iprot.skip(ftype) @@ -13639,8 +13705,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 iter532 in self.part_vals: - oprot.writeString(iter532) + for iter539 in self.part_vals: + oprot.writeString(iter539) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -13650,8 +13716,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 iter533 in self.group_names: - oprot.writeString(iter533) + for iter540 in self.group_names: + oprot.writeString(iter540) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14043,11 +14109,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype537, _size534) = iprot.readListBegin() - for _i538 in xrange(_size534): - _elem539 = Partition() - _elem539.read(iprot) - self.success.append(_elem539) + (_etype544, _size541) = iprot.readListBegin() + for _i545 in xrange(_size541): + _elem546 = Partition() + _elem546.read(iprot) + self.success.append(_elem546) iprot.readListEnd() else: iprot.skip(ftype) @@ -14076,8 +14142,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 iter540 in self.success: - iter540.write(oprot) + for iter547 in self.success: + iter547.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14164,10 +14230,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype544, _size541) = iprot.readListBegin() - for _i545 in xrange(_size541): - _elem546 = iprot.readString(); - self.group_names.append(_elem546) + (_etype551, _size548) = iprot.readListBegin() + for _i552 in xrange(_size548): + _elem553 = iprot.readString(); + self.group_names.append(_elem553) iprot.readListEnd() else: iprot.skip(ftype) @@ -14200,8 +14266,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 iter547 in self.group_names: - oprot.writeString(iter547) + for iter554 in self.group_names: + oprot.writeString(iter554) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14253,11 +14319,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype551, _size548) = iprot.readListBegin() - for _i552 in xrange(_size548): - _elem553 = Partition() - _elem553.read(iprot) - self.success.append(_elem553) + (_etype558, _size555) = iprot.readListBegin() + for _i559 in xrange(_size555): + _elem560 = Partition() + _elem560.read(iprot) + self.success.append(_elem560) iprot.readListEnd() else: iprot.skip(ftype) @@ -14286,8 +14352,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 iter554 in self.success: - iter554.write(oprot) + for iter561 in self.success: + iter561.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14428,10 +14494,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype558, _size555) = iprot.readListBegin() - for _i559 in xrange(_size555): - _elem560 = iprot.readString(); - self.success.append(_elem560) + (_etype565, _size562) = iprot.readListBegin() + for _i566 in xrange(_size562): + _elem567 = iprot.readString(); + self.success.append(_elem567) iprot.readListEnd() else: iprot.skip(ftype) @@ -14454,8 +14520,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 iter561 in self.success: - oprot.writeString(iter561) + for iter568 in self.success: + oprot.writeString(iter568) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -14525,10 +14591,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype565, _size562) = iprot.readListBegin() - for _i566 in xrange(_size562): - _elem567 = iprot.readString(); - self.part_vals.append(_elem567) + (_etype572, _size569) = iprot.readListBegin() + for _i573 in xrange(_size569): + _elem574 = iprot.readString(); + self.part_vals.append(_elem574) iprot.readListEnd() else: iprot.skip(ftype) @@ -14558,8 +14624,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 iter568 in self.part_vals: - oprot.writeString(iter568) + for iter575 in self.part_vals: + oprot.writeString(iter575) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -14615,11 +14681,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype572, _size569) = iprot.readListBegin() - for _i573 in xrange(_size569): - _elem574 = Partition() - _elem574.read(iprot) - self.success.append(_elem574) + (_etype579, _size576) = iprot.readListBegin() + for _i580 in xrange(_size576): + _elem581 = Partition() + _elem581.read(iprot) + self.success.append(_elem581) iprot.readListEnd() else: iprot.skip(ftype) @@ -14648,8 +14714,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 iter575 in self.success: - iter575.write(oprot) + for iter582 in self.success: + iter582.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14729,10 +14795,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype579, _size576) = iprot.readListBegin() - for _i580 in xrange(_size576): - _elem581 = iprot.readString(); - self.part_vals.append(_elem581) + (_etype586, _size583) = iprot.readListBegin() + for _i587 in xrange(_size583): + _elem588 = iprot.readString(); + self.part_vals.append(_elem588) iprot.readListEnd() else: iprot.skip(ftype) @@ -14749,10 +14815,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype585, _size582) = iprot.readListBegin() - for _i586 in xrange(_size582): - _elem587 = iprot.readString(); - self.group_names.append(_elem587) + (_etype592, _size589) = iprot.readListBegin() + for _i593 in xrange(_size589): + _elem594 = iprot.readString(); + self.group_names.append(_elem594) iprot.readListEnd() else: iprot.skip(ftype) @@ -14777,8 +14843,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 iter588 in self.part_vals: - oprot.writeString(iter588) + for iter595 in self.part_vals: + oprot.writeString(iter595) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -14792,8 +14858,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 iter589 in self.group_names: - oprot.writeString(iter589) + for iter596 in self.group_names: + oprot.writeString(iter596) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14845,11 +14911,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype593, _size590) = iprot.readListBegin() - for _i594 in xrange(_size590): - _elem595 = Partition() - _elem595.read(iprot) - self.success.append(_elem595) + (_etype600, _size597) = iprot.readListBegin() + for _i601 in xrange(_size597): + _elem602 = Partition() + _elem602.read(iprot) + self.success.append(_elem602) iprot.readListEnd() else: iprot.skip(ftype) @@ -14878,8 +14944,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 iter596 in self.success: - iter596.write(oprot) + for iter603 in self.success: + iter603.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14953,10 +15019,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype600, _size597) = iprot.readListBegin() - for _i601 in xrange(_size597): - _elem602 = iprot.readString(); - self.part_vals.append(_elem602) + (_etype607, _size604) = iprot.readListBegin() + for _i608 in xrange(_size604): + _elem609 = iprot.readString(); + self.part_vals.append(_elem609) iprot.readListEnd() else: iprot.skip(ftype) @@ -14986,8 +15052,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 iter603 in self.part_vals: - oprot.writeString(iter603) + for iter610 in self.part_vals: + oprot.writeString(iter610) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -15043,10 +15109,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype607, _size604) = iprot.readListBegin() - for _i608 in xrange(_size604): - _elem609 = iprot.readString(); - self.success.append(_elem609) + (_etype614, _size611) = iprot.readListBegin() + for _i615 in xrange(_size611): + _elem616 = iprot.readString(); + self.success.append(_elem616) iprot.readListEnd() else: iprot.skip(ftype) @@ -15075,8 +15141,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 iter610 in self.success: - oprot.writeString(iter610) + for iter617 in self.success: + oprot.writeString(iter617) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15232,11 +15298,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype614, _size611) = iprot.readListBegin() - for _i615 in xrange(_size611): - _elem616 = Partition() - _elem616.read(iprot) - self.success.append(_elem616) + (_etype621, _size618) = iprot.readListBegin() + for _i622 in xrange(_size618): + _elem623 = Partition() + _elem623.read(iprot) + self.success.append(_elem623) iprot.readListEnd() else: iprot.skip(ftype) @@ -15265,8 +15331,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 iter617 in self.success: - iter617.write(oprot) + for iter624 in self.success: + iter624.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15484,10 +15550,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype621, _size618) = iprot.readListBegin() - for _i622 in xrange(_size618): - _elem623 = iprot.readString(); - self.names.append(_elem623) + (_etype628, _size625) = iprot.readListBegin() + for _i629 in xrange(_size625): + _elem630 = iprot.readString(); + self.names.append(_elem630) iprot.readListEnd() else: iprot.skip(ftype) @@ -15512,8 +15578,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 iter624 in self.names: - oprot.writeString(iter624) + for iter631 in self.names: + oprot.writeString(iter631) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15565,11 +15631,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype628, _size625) = iprot.readListBegin() - for _i629 in xrange(_size625): - _elem630 = Partition() - _elem630.read(iprot) - self.success.append(_elem630) + (_etype635, _size632) = iprot.readListBegin() + for _i636 in xrange(_size632): + _elem637 = Partition() + _elem637.read(iprot) + self.success.append(_elem637) iprot.readListEnd() else: iprot.skip(ftype) @@ -15598,8 +15664,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 iter631 in self.success: - iter631.write(oprot) + for iter638 in self.success: + iter638.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15829,11 +15895,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype635, _size632) = iprot.readListBegin() - for _i636 in xrange(_size632): - _elem637 = Partition() - _elem637.read(iprot) - self.new_parts.append(_elem637) + (_etype642, _size639) = iprot.readListBegin() + for _i643 in xrange(_size639): + _elem644 = Partition() + _elem644.read(iprot) + self.new_parts.append(_elem644) iprot.readListEnd() else: iprot.skip(ftype) @@ -15858,8 +15924,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 iter638 in self.new_parts: - iter638.write(oprot) + for iter645 in self.new_parts: + iter645.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16171,10 +16237,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype642, _size639) = iprot.readListBegin() - for _i643 in xrange(_size639): - _elem644 = iprot.readString(); - self.part_vals.append(_elem644) + (_etype649, _size646) = iprot.readListBegin() + for _i650 in xrange(_size646): + _elem651 = iprot.readString(); + self.part_vals.append(_elem651) iprot.readListEnd() else: iprot.skip(ftype) @@ -16205,8 +16271,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 iter645 in self.part_vals: - oprot.writeString(iter645) + for iter652 in self.part_vals: + oprot.writeString(iter652) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -16334,10 +16400,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype649, _size646) = iprot.readListBegin() - for _i650 in xrange(_size646): - _elem651 = iprot.readString(); - self.part_vals.append(_elem651) + (_etype656, _size653) = iprot.readListBegin() + for _i657 in xrange(_size653): + _elem658 = iprot.readString(); + self.part_vals.append(_elem658) iprot.readListEnd() else: iprot.skip(ftype) @@ -16359,8 +16425,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 iter652 in self.part_vals: - oprot.writeString(iter652) + for iter659 in self.part_vals: + oprot.writeString(iter659) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -16689,10 +16755,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype656, _size653) = iprot.readListBegin() - for _i657 in xrange(_size653): - _elem658 = iprot.readString(); - self.success.append(_elem658) + (_etype663, _size660) = iprot.readListBegin() + for _i664 in xrange(_size660): + _elem665 = iprot.readString(); + self.success.append(_elem665) iprot.readListEnd() else: iprot.skip(ftype) @@ -16715,8 +16781,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 iter659 in self.success: - oprot.writeString(iter659) + for iter666 in self.success: + oprot.writeString(iter666) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16829,11 +16895,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype661, _vtype662, _size660 ) = iprot.readMapBegin() - for _i664 in xrange(_size660): - _key665 = iprot.readString(); - _val666 = iprot.readString(); - self.success[_key665] = _val666 + (_ktype668, _vtype669, _size667 ) = iprot.readMapBegin() + for _i671 in xrange(_size667): + _key672 = iprot.readString(); + _val673 = iprot.readString(); + self.success[_key672] = _val673 iprot.readMapEnd() else: iprot.skip(ftype) @@ -16856,9 +16922,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 kiter667,viter668 in self.success.items(): - oprot.writeString(kiter667) - oprot.writeString(viter668) + for kiter674,viter675 in self.success.items(): + oprot.writeString(kiter674) + oprot.writeString(viter675) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16928,11 +16994,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype670, _vtype671, _size669 ) = iprot.readMapBegin() - for _i673 in xrange(_size669): - _key674 = iprot.readString(); - _val675 = iprot.readString(); - self.part_vals[_key674] = _val675 + (_ktype677, _vtype678, _size676 ) = iprot.readMapBegin() + for _i680 in xrange(_size676): + _key681 = iprot.readString(); + _val682 = iprot.readString(); + self.part_vals[_key681] = _val682 iprot.readMapEnd() else: iprot.skip(ftype) @@ -16962,9 +17028,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 kiter676,viter677 in self.part_vals.items(): - oprot.writeString(kiter676) - oprot.writeString(viter677) + for kiter683,viter684 in self.part_vals.items(): + oprot.writeString(kiter683) + oprot.writeString(viter684) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -17160,11 +17226,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype679, _vtype680, _size678 ) = iprot.readMapBegin() - for _i682 in xrange(_size678): - _key683 = iprot.readString(); - _val684 = iprot.readString(); - self.part_vals[_key683] = _val684 + (_ktype686, _vtype687, _size685 ) = iprot.readMapBegin() + for _i689 in xrange(_size685): + _key690 = iprot.readString(); + _val691 = iprot.readString(); + self.part_vals[_key690] = _val691 iprot.readMapEnd() else: iprot.skip(ftype) @@ -17194,9 +17260,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 kiter685,viter686 in self.part_vals.items(): - oprot.writeString(kiter685) - oprot.writeString(viter686) + for kiter692,viter693 in self.part_vals.items(): + oprot.writeString(kiter692) + oprot.writeString(viter693) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -18168,11 +18234,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype690, _size687) = iprot.readListBegin() - for _i691 in xrange(_size687): - _elem692 = Index() - _elem692.read(iprot) - self.success.append(_elem692) + (_etype697, _size694) = iprot.readListBegin() + for _i698 in xrange(_size694): + _elem699 = Index() + _elem699.read(iprot) + self.success.append(_elem699) iprot.readListEnd() else: iprot.skip(ftype) @@ -18201,8 +18267,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 iter693 in self.success: - iter693.write(oprot) + for iter700 in self.success: + iter700.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18343,10 +18409,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype697, _size694) = iprot.readListBegin() - for _i698 in xrange(_size694): - _elem699 = iprot.readString(); - self.success.append(_elem699) + (_etype704, _size701) = iprot.readListBegin() + for _i705 in xrange(_size701): + _elem706 = iprot.readString(); + self.success.append(_elem706) iprot.readListEnd() else: iprot.skip(ftype) @@ -18369,8 +18435,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 iter700 in self.success: - oprot.writeString(iter700) + for iter707 in self.success: + oprot.writeString(iter707) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -19584,6 +19650,178 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class set_aggr_stats_for_args: + """ + Attributes: + - request + """ + + thrift_spec = ( + None, # 0 + (1, TType.STRUCT, 'request', (SetPartitionsStatsRequest, SetPartitionsStatsRequest.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 = SetPartitionsStatsRequest() + 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('set_aggr_stats_for_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 __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_result: + """ + Attributes: + - success + - o1 + - o2 + - o3 + - o4 + """ + + thrift_spec = ( + (0, TType.BOOL, 'success', None, None, ), # 0 + (1, TType.STRUCT, 'o1', (NoSuchObjectException, NoSuchObjectException.thrift_spec), None, ), # 1 + (2, TType.STRUCT, 'o2', (InvalidObjectException, InvalidObjectException.thrift_spec), None, ), # 2 + (3, TType.STRUCT, 'o3', (MetaException, MetaException.thrift_spec), None, ), # 3 + (4, TType.STRUCT, 'o4', (InvalidInputException, InvalidInputException.thrift_spec), None, ), # 4 + ) + + def __init__(self, success=None, o1=None, o2=None, o3=None, o4=None,): + self.success = success + self.o1 = o1 + self.o2 = o2 + self.o3 = o3 + self.o4 = o4 + + 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.BOOL: + self.success = iprot.readBool(); + 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 = InvalidObjectException() + self.o2.read(iprot) + else: + iprot.skip(ftype) + elif fid == 3: + if ftype == TType.STRUCT: + self.o3 = MetaException() + self.o3.read(iprot) + else: + iprot.skip(ftype) + elif fid == 4: + if ftype == TType.STRUCT: + self.o4 = InvalidInputException() + self.o4.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('set_aggr_stats_for_result') + if self.success is not None: + oprot.writeFieldBegin('success', TType.BOOL, 0) + oprot.writeBool(self.success) + 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() + if self.o3 is not None: + oprot.writeFieldBegin('o3', TType.STRUCT, 3) + self.o3.write(oprot) + oprot.writeFieldEnd() + if self.o4 is not None: + oprot.writeFieldBegin('o4', TType.STRUCT, 4) + self.o4.write(oprot) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + 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 delete_partition_column_statistics_args: """ Attributes: @@ -20552,10 +20790,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype704, _size701) = iprot.readListBegin() - for _i705 in xrange(_size701): - _elem706 = iprot.readString(); - self.success.append(_elem706) + (_etype711, _size708) = iprot.readListBegin() + for _i712 in xrange(_size708): + _elem713 = iprot.readString(); + self.success.append(_elem713) iprot.readListEnd() else: iprot.skip(ftype) @@ -20578,8 +20816,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 iter707 in self.success: - oprot.writeString(iter707) + for iter714 in self.success: + oprot.writeString(iter714) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21097,10 +21335,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype711, _size708) = iprot.readListBegin() - for _i712 in xrange(_size708): - _elem713 = iprot.readString(); - self.success.append(_elem713) + (_etype718, _size715) = iprot.readListBegin() + for _i719 in xrange(_size715): + _elem720 = iprot.readString(); + self.success.append(_elem720) iprot.readListEnd() else: iprot.skip(ftype) @@ -21123,8 +21361,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 iter714 in self.success: - oprot.writeString(iter714) + for iter721 in self.success: + oprot.writeString(iter721) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21597,11 +21835,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype718, _size715) = iprot.readListBegin() - for _i719 in xrange(_size715): - _elem720 = Role() - _elem720.read(iprot) - self.success.append(_elem720) + (_etype725, _size722) = iprot.readListBegin() + for _i726 in xrange(_size722): + _elem727 = Role() + _elem727.read(iprot) + self.success.append(_elem727) iprot.readListEnd() else: iprot.skip(ftype) @@ -21624,8 +21862,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 iter721 in self.success: - iter721.write(oprot) + for iter728 in self.success: + iter728.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22095,10 +22333,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype725, _size722) = iprot.readListBegin() - for _i726 in xrange(_size722): - _elem727 = iprot.readString(); - self.group_names.append(_elem727) + (_etype732, _size729) = iprot.readListBegin() + for _i733 in xrange(_size729): + _elem734 = iprot.readString(); + self.group_names.append(_elem734) iprot.readListEnd() else: iprot.skip(ftype) @@ -22123,8 +22361,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 iter728 in self.group_names: - oprot.writeString(iter728) + for iter735 in self.group_names: + oprot.writeString(iter735) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22331,11 +22569,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype732, _size729) = iprot.readListBegin() - for _i733 in xrange(_size729): - _elem734 = HiveObjectPrivilege() - _elem734.read(iprot) - self.success.append(_elem734) + (_etype739, _size736) = iprot.readListBegin() + for _i740 in xrange(_size736): + _elem741 = HiveObjectPrivilege() + _elem741.read(iprot) + self.success.append(_elem741) iprot.readListEnd() else: iprot.skip(ftype) @@ -22358,8 +22596,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 iter735 in self.success: - iter735.write(oprot) + for iter742 in self.success: + iter742.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22818,10 +23056,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype739, _size736) = iprot.readListBegin() - for _i740 in xrange(_size736): - _elem741 = iprot.readString(); - self.group_names.append(_elem741) + (_etype746, _size743) = iprot.readListBegin() + for _i747 in xrange(_size743): + _elem748 = iprot.readString(); + self.group_names.append(_elem748) iprot.readListEnd() else: iprot.skip(ftype) @@ -22842,8 +23080,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 iter742 in self.group_names: - oprot.writeString(iter742) + for iter749 in self.group_names: + oprot.writeString(iter749) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22892,10 +23130,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype746, _size743) = iprot.readListBegin() - for _i747 in xrange(_size743): - _elem748 = iprot.readString(); - self.success.append(_elem748) + (_etype753, _size750) = iprot.readListBegin() + for _i754 in xrange(_size750): + _elem755 = iprot.readString(); + self.success.append(_elem755) iprot.readListEnd() else: iprot.skip(ftype) @@ -22918,8 +23156,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 iter749 in self.success: - oprot.writeString(iter749) + for iter756 in self.success: + oprot.writeString(iter756) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: 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 e13243b..d7e002b 100644 --- a/metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py +++ b/metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py @@ -4233,6 +4233,77 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class SetPartitionsStatsRequest: + """ + Attributes: + - colStats + """ + + thrift_spec = ( + None, # 0 + (1, TType.LIST, 'colStats', (TType.STRUCT,(ColumnStatistics, ColumnStatistics.thrift_spec)), None, ), # 1 + ) + + def __init__(self, colStats=None,): + self.colStats = colStats + + 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.colStats = [] + (_etype226, _size223) = iprot.readListBegin() + for _i227 in xrange(_size223): + _elem228 = ColumnStatistics() + _elem228.read(iprot) + self.colStats.append(_elem228) + iprot.readListEnd() + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('SetPartitionsStatsRequest') + if self.colStats is not None: + oprot.writeFieldBegin('colStats', TType.LIST, 1) + oprot.writeListBegin(TType.STRUCT, len(self.colStats)) + for iter229 in self.colStats: + iter229.write(oprot) + oprot.writeListEnd() + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + if self.colStats is None: + raise TProtocol.TProtocolException(message='Required field colStats is unset!') + return + + + 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 Schema: """ Attributes: @@ -4262,22 +4333,22 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fieldSchemas = [] - (_etype226, _size223) = iprot.readListBegin() - for _i227 in xrange(_size223): - _elem228 = FieldSchema() - _elem228.read(iprot) - self.fieldSchemas.append(_elem228) + (_etype233, _size230) = iprot.readListBegin() + for _i234 in xrange(_size230): + _elem235 = FieldSchema() + _elem235.read(iprot) + self.fieldSchemas.append(_elem235) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.MAP: self.properties = {} - (_ktype230, _vtype231, _size229 ) = iprot.readMapBegin() - for _i233 in xrange(_size229): - _key234 = iprot.readString(); - _val235 = iprot.readString(); - self.properties[_key234] = _val235 + (_ktype237, _vtype238, _size236 ) = iprot.readMapBegin() + for _i240 in xrange(_size236): + _key241 = iprot.readString(); + _val242 = iprot.readString(); + self.properties[_key241] = _val242 iprot.readMapEnd() else: iprot.skip(ftype) @@ -4294,16 +4365,16 @@ def write(self, oprot): if self.fieldSchemas is not None: oprot.writeFieldBegin('fieldSchemas', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.fieldSchemas)) - for iter236 in self.fieldSchemas: - iter236.write(oprot) + for iter243 in self.fieldSchemas: + iter243.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.properties is not None: oprot.writeFieldBegin('properties', TType.MAP, 2) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.properties)) - for kiter237,viter238 in self.properties.items(): - oprot.writeString(kiter237) - oprot.writeString(viter238) + for kiter244,viter245 in self.properties.items(): + oprot.writeString(kiter244) + oprot.writeString(viter245) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -4350,11 +4421,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.properties = {} - (_ktype240, _vtype241, _size239 ) = iprot.readMapBegin() - for _i243 in xrange(_size239): - _key244 = iprot.readString(); - _val245 = iprot.readString(); - self.properties[_key244] = _val245 + (_ktype247, _vtype248, _size246 ) = iprot.readMapBegin() + for _i250 in xrange(_size246): + _key251 = iprot.readString(); + _val252 = iprot.readString(); + self.properties[_key251] = _val252 iprot.readMapEnd() else: iprot.skip(ftype) @@ -4371,9 +4442,9 @@ def write(self, oprot): if self.properties is not None: oprot.writeFieldBegin('properties', TType.MAP, 1) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.properties)) - for kiter246,viter247 in self.properties.items(): - oprot.writeString(kiter246) - oprot.writeString(viter247) + for kiter253,viter254 in self.properties.items(): + oprot.writeString(kiter253) + oprot.writeString(viter254) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -4423,11 +4494,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitions = [] - (_etype251, _size248) = iprot.readListBegin() - for _i252 in xrange(_size248): - _elem253 = Partition() - _elem253.read(iprot) - self.partitions.append(_elem253) + (_etype258, _size255) = iprot.readListBegin() + for _i259 in xrange(_size255): + _elem260 = Partition() + _elem260.read(iprot) + self.partitions.append(_elem260) iprot.readListEnd() else: iprot.skip(ftype) @@ -4449,8 +4520,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 iter254 in self.partitions: - iter254.write(oprot) + for iter261 in self.partitions: + iter261.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.hasUnknownPartitions is not None: @@ -4619,11 +4690,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tableStats = [] - (_etype258, _size255) = iprot.readListBegin() - for _i259 in xrange(_size255): - _elem260 = ColumnStatisticsObj() - _elem260.read(iprot) - self.tableStats.append(_elem260) + (_etype265, _size262) = iprot.readListBegin() + for _i266 in xrange(_size262): + _elem267 = ColumnStatisticsObj() + _elem267.read(iprot) + self.tableStats.append(_elem267) iprot.readListEnd() else: iprot.skip(ftype) @@ -4640,8 +4711,8 @@ def write(self, oprot): if self.tableStats is not None: oprot.writeFieldBegin('tableStats', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.tableStats)) - for iter261 in self.tableStats: - iter261.write(oprot) + for iter268 in self.tableStats: + iter268.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -4690,17 +4761,17 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partStats = {} - (_ktype263, _vtype264, _size262 ) = iprot.readMapBegin() - for _i266 in xrange(_size262): - _key267 = iprot.readString(); - _val268 = [] - (_etype272, _size269) = iprot.readListBegin() - for _i273 in xrange(_size269): - _elem274 = ColumnStatisticsObj() - _elem274.read(iprot) - _val268.append(_elem274) + (_ktype270, _vtype271, _size269 ) = iprot.readMapBegin() + for _i273 in xrange(_size269): + _key274 = iprot.readString(); + _val275 = [] + (_etype279, _size276) = iprot.readListBegin() + for _i280 in xrange(_size276): + _elem281 = ColumnStatisticsObj() + _elem281.read(iprot) + _val275.append(_elem281) iprot.readListEnd() - self.partStats[_key267] = _val268 + self.partStats[_key274] = _val275 iprot.readMapEnd() else: iprot.skip(ftype) @@ -4717,11 +4788,11 @@ def write(self, oprot): if self.partStats is not None: oprot.writeFieldBegin('partStats', TType.MAP, 1) oprot.writeMapBegin(TType.STRING, TType.LIST, len(self.partStats)) - for kiter275,viter276 in self.partStats.items(): - oprot.writeString(kiter275) - oprot.writeListBegin(TType.STRUCT, len(viter276)) - for iter277 in viter276: - iter277.write(oprot) + for kiter282,viter283 in self.partStats.items(): + oprot.writeString(kiter282) + oprot.writeListBegin(TType.STRUCT, len(viter283)) + for iter284 in viter283: + iter284.write(oprot) oprot.writeListEnd() oprot.writeMapEnd() oprot.writeFieldEnd() @@ -4787,10 +4858,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.colNames = [] - (_etype281, _size278) = iprot.readListBegin() - for _i282 in xrange(_size278): - _elem283 = iprot.readString(); - self.colNames.append(_elem283) + (_etype288, _size285) = iprot.readListBegin() + for _i289 in xrange(_size285): + _elem290 = iprot.readString(); + self.colNames.append(_elem290) iprot.readListEnd() else: iprot.skip(ftype) @@ -4815,8 +4886,8 @@ def write(self, oprot): if self.colNames is not None: oprot.writeFieldBegin('colNames', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.colNames)) - for iter284 in self.colNames: - oprot.writeString(iter284) + for iter291 in self.colNames: + oprot.writeString(iter291) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -4888,20 +4959,20 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.colNames = [] - (_etype288, _size285) = iprot.readListBegin() - for _i289 in xrange(_size285): - _elem290 = iprot.readString(); - self.colNames.append(_elem290) + (_etype295, _size292) = iprot.readListBegin() + for _i296 in xrange(_size292): + _elem297 = iprot.readString(); + self.colNames.append(_elem297) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.partNames = [] - (_etype294, _size291) = iprot.readListBegin() - for _i295 in xrange(_size291): - _elem296 = iprot.readString(); - self.partNames.append(_elem296) + (_etype301, _size298) = iprot.readListBegin() + for _i302 in xrange(_size298): + _elem303 = iprot.readString(); + self.partNames.append(_elem303) iprot.readListEnd() else: iprot.skip(ftype) @@ -4926,15 +4997,15 @@ def write(self, oprot): if self.colNames is not None: oprot.writeFieldBegin('colNames', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.colNames)) - for iter297 in self.colNames: - oprot.writeString(iter297) + for iter304 in self.colNames: + oprot.writeString(iter304) oprot.writeListEnd() oprot.writeFieldEnd() if self.partNames is not None: oprot.writeFieldBegin('partNames', TType.LIST, 4) oprot.writeListBegin(TType.STRING, len(self.partNames)) - for iter298 in self.partNames: - oprot.writeString(iter298) + for iter305 in self.partNames: + oprot.writeString(iter305) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -4989,11 +5060,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitions = [] - (_etype302, _size299) = iprot.readListBegin() - for _i303 in xrange(_size299): - _elem304 = Partition() - _elem304.read(iprot) - self.partitions.append(_elem304) + (_etype309, _size306) = iprot.readListBegin() + for _i310 in xrange(_size306): + _elem311 = Partition() + _elem311.read(iprot) + self.partitions.append(_elem311) iprot.readListEnd() else: iprot.skip(ftype) @@ -5010,8 +5081,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 iter305 in self.partitions: - iter305.write(oprot) + for iter312 in self.partitions: + iter312.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -5080,11 +5151,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.parts = [] - (_etype309, _size306) = iprot.readListBegin() - for _i310 in xrange(_size306): - _elem311 = Partition() - _elem311.read(iprot) - self.parts.append(_elem311) + (_etype316, _size313) = iprot.readListBegin() + for _i317 in xrange(_size313): + _elem318 = Partition() + _elem318.read(iprot) + self.parts.append(_elem318) iprot.readListEnd() else: iprot.skip(ftype) @@ -5119,8 +5190,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 iter312 in self.parts: - iter312.write(oprot) + for iter319 in self.parts: + iter319.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.ifNotExists is not None: @@ -5183,11 +5254,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitions = [] - (_etype316, _size313) = iprot.readListBegin() - for _i317 in xrange(_size313): - _elem318 = Partition() - _elem318.read(iprot) - self.partitions.append(_elem318) + (_etype323, _size320) = iprot.readListBegin() + for _i324 in xrange(_size320): + _elem325 = Partition() + _elem325.read(iprot) + self.partitions.append(_elem325) iprot.readListEnd() else: iprot.skip(ftype) @@ -5204,8 +5275,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 iter319 in self.partitions: - iter319.write(oprot) + for iter326 in self.partitions: + iter326.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -5329,21 +5400,21 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.names = [] - (_etype323, _size320) = iprot.readListBegin() - for _i324 in xrange(_size320): - _elem325 = iprot.readString(); - self.names.append(_elem325) + (_etype330, _size327) = iprot.readListBegin() + for _i331 in xrange(_size327): + _elem332 = iprot.readString(); + self.names.append(_elem332) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.exprs = [] - (_etype329, _size326) = iprot.readListBegin() - for _i330 in xrange(_size326): - _elem331 = DropPartitionsExpr() - _elem331.read(iprot) - self.exprs.append(_elem331) + (_etype336, _size333) = iprot.readListBegin() + for _i337 in xrange(_size333): + _elem338 = DropPartitionsExpr() + _elem338.read(iprot) + self.exprs.append(_elem338) iprot.readListEnd() else: iprot.skip(ftype) @@ -5360,15 +5431,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 iter332 in self.names: - oprot.writeString(iter332) + for iter339 in self.names: + oprot.writeString(iter339) oprot.writeListEnd() oprot.writeFieldEnd() if self.exprs is not None: oprot.writeFieldBegin('exprs', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.exprs)) - for iter333 in self.exprs: - iter333.write(oprot) + for iter340 in self.exprs: + iter340.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -5695,11 +5766,11 @@ def read(self, iprot): elif fid == 8: if ftype == TType.LIST: self.resourceUris = [] - (_etype337, _size334) = iprot.readListBegin() - for _i338 in xrange(_size334): - _elem339 = ResourceUri() - _elem339.read(iprot) - self.resourceUris.append(_elem339) + (_etype344, _size341) = iprot.readListBegin() + for _i345 in xrange(_size341): + _elem346 = ResourceUri() + _elem346.read(iprot) + self.resourceUris.append(_elem346) iprot.readListEnd() else: iprot.skip(ftype) @@ -5744,8 +5815,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 iter340 in self.resourceUris: - iter340.write(oprot) + for iter347 in self.resourceUris: + iter347.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -5904,11 +5975,11 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.open_txns = [] - (_etype344, _size341) = iprot.readListBegin() - for _i345 in xrange(_size341): - _elem346 = TxnInfo() - _elem346.read(iprot) - self.open_txns.append(_elem346) + (_etype351, _size348) = iprot.readListBegin() + for _i352 in xrange(_size348): + _elem353 = TxnInfo() + _elem353.read(iprot) + self.open_txns.append(_elem353) iprot.readListEnd() else: iprot.skip(ftype) @@ -5929,8 +6000,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 iter347 in self.open_txns: - iter347.write(oprot) + for iter354 in self.open_txns: + iter354.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -5989,10 +6060,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.SET: self.open_txns = set() - (_etype351, _size348) = iprot.readSetBegin() - for _i352 in xrange(_size348): - _elem353 = iprot.readI64(); - self.open_txns.add(_elem353) + (_etype358, _size355) = iprot.readSetBegin() + for _i359 in xrange(_size355): + _elem360 = iprot.readI64(); + self.open_txns.add(_elem360) iprot.readSetEnd() else: iprot.skip(ftype) @@ -6013,8 +6084,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 iter354 in self.open_txns: - oprot.writeI64(iter354) + for iter361 in self.open_txns: + oprot.writeI64(iter361) oprot.writeSetEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -6155,10 +6226,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txn_ids = [] - (_etype358, _size355) = iprot.readListBegin() - for _i359 in xrange(_size355): - _elem360 = iprot.readI64(); - self.txn_ids.append(_elem360) + (_etype365, _size362) = iprot.readListBegin() + for _i366 in xrange(_size362): + _elem367 = iprot.readI64(); + self.txn_ids.append(_elem367) iprot.readListEnd() else: iprot.skip(ftype) @@ -6175,8 +6246,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 iter361 in self.txn_ids: - oprot.writeI64(iter361) + for iter368 in self.txn_ids: + oprot.writeI64(iter368) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -6472,11 +6543,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.component = [] - (_etype365, _size362) = iprot.readListBegin() - for _i366 in xrange(_size362): - _elem367 = LockComponent() - _elem367.read(iprot) - self.component.append(_elem367) + (_etype372, _size369) = iprot.readListBegin() + for _i373 in xrange(_size369): + _elem374 = LockComponent() + _elem374.read(iprot) + self.component.append(_elem374) iprot.readListEnd() else: iprot.skip(ftype) @@ -6508,8 +6579,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 iter368 in self.component: - iter368.write(oprot) + for iter375 in self.component: + iter375.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.txnid is not None: @@ -7010,11 +7081,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.locks = [] - (_etype372, _size369) = iprot.readListBegin() - for _i373 in xrange(_size369): - _elem374 = ShowLocksResponseElement() - _elem374.read(iprot) - self.locks.append(_elem374) + (_etype379, _size376) = iprot.readListBegin() + for _i380 in xrange(_size376): + _elem381 = ShowLocksResponseElement() + _elem381.read(iprot) + self.locks.append(_elem381) iprot.readListEnd() else: iprot.skip(ftype) @@ -7031,8 +7102,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 iter375 in self.locks: - iter375.write(oprot) + for iter382 in self.locks: + iter382.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -7230,20 +7301,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.aborted = set() - (_etype379, _size376) = iprot.readSetBegin() - for _i380 in xrange(_size376): - _elem381 = iprot.readI64(); - self.aborted.add(_elem381) + (_etype386, _size383) = iprot.readSetBegin() + for _i387 in xrange(_size383): + _elem388 = iprot.readI64(); + self.aborted.add(_elem388) iprot.readSetEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.SET: self.nosuch = set() - (_etype385, _size382) = iprot.readSetBegin() - for _i386 in xrange(_size382): - _elem387 = iprot.readI64(); - self.nosuch.add(_elem387) + (_etype392, _size389) = iprot.readSetBegin() + for _i393 in xrange(_size389): + _elem394 = iprot.readI64(); + self.nosuch.add(_elem394) iprot.readSetEnd() else: iprot.skip(ftype) @@ -7260,15 +7331,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 iter388 in self.aborted: - oprot.writeI64(iter388) + for iter395 in self.aborted: + oprot.writeI64(iter395) oprot.writeSetEnd() oprot.writeFieldEnd() if self.nosuch is not None: oprot.writeFieldBegin('nosuch', TType.SET, 2) oprot.writeSetBegin(TType.I64, len(self.nosuch)) - for iter389 in self.nosuch: - oprot.writeI64(iter389) + for iter396 in self.nosuch: + oprot.writeI64(iter396) oprot.writeSetEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -7635,11 +7706,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.compacts = [] - (_etype393, _size390) = iprot.readListBegin() - for _i394 in xrange(_size390): - _elem395 = ShowCompactResponseElement() - _elem395.read(iprot) - self.compacts.append(_elem395) + (_etype400, _size397) = iprot.readListBegin() + for _i401 in xrange(_size397): + _elem402 = ShowCompactResponseElement() + _elem402.read(iprot) + self.compacts.append(_elem402) iprot.readListEnd() else: iprot.skip(ftype) @@ -7656,8 +7727,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 iter396 in self.compacts: - iter396.write(oprot) + for iter403 in self.compacts: + iter403.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 bd05eba..1b02321 100644 --- a/metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb +++ b/metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb @@ -1028,6 +1028,23 @@ class AggrStats ::Thrift::Struct.generate_accessors self end +class SetPartitionsStatsRequest + include ::Thrift::Struct, ::Thrift::Struct_Union + COLSTATS = 1 + + FIELDS = { + COLSTATS => {:type => ::Thrift::Types::LIST, :name => 'colStats', :element => {:type => ::Thrift::Types::STRUCT, :class => ::ColumnStatistics}} + } + + def struct_fields; FIELDS; end + + def validate + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field colStats is unset!') unless @colStats + end + + ::Thrift::Struct.generate_accessors self +end + class Schema include ::Thrift::Struct, ::Thrift::Struct_Union FIELDSCHEMAS = 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 74964b4..2962fd5 100644 --- a/metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb +++ b/metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb @@ -1279,6 +1279,25 @@ module ThriftHiveMetastore raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_aggr_stats_for failed: unknown result') end + def set_aggr_stats_for(request) + send_set_aggr_stats_for(request) + return recv_set_aggr_stats_for() + end + + def send_set_aggr_stats_for(request) + send_message('set_aggr_stats_for', Set_aggr_stats_for_args, :request => request) + end + + def recv_set_aggr_stats_for() + result = receive_message(Set_aggr_stats_for_result) + return result.success unless result.success.nil? + raise result.o1 unless result.o1.nil? + raise result.o2 unless result.o2.nil? + raise result.o3 unless result.o3.nil? + raise result.o4 unless result.o4.nil? + raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'set_aggr_stats_for failed: unknown result') + end + def delete_partition_column_statistics(db_name, tbl_name, part_name, col_name) send_delete_partition_column_statistics(db_name, tbl_name, part_name, col_name) return recv_delete_partition_column_statistics() @@ -2907,6 +2926,23 @@ module ThriftHiveMetastore write_result(result, oprot, 'get_aggr_stats_for', 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() + begin + result.success = @handler.set_aggr_stats_for(args.request) + rescue ::NoSuchObjectException => o1 + result.o1 = o1 + rescue ::InvalidObjectException => o2 + result.o2 = o2 + rescue ::MetaException => o3 + result.o3 = o3 + rescue ::InvalidInputException => o4 + result.o4 = o4 + end + write_result(result, oprot, 'set_aggr_stats_for', seqid) + end + def process_delete_partition_column_statistics(seqid, iprot, oprot) args = read_args(iprot, Delete_partition_column_statistics_args) result = Delete_partition_column_statistics_result.new() @@ -6264,6 +6300,46 @@ module ThriftHiveMetastore ::Thrift::Struct.generate_accessors self end + class Set_aggr_stats_for_args + include ::Thrift::Struct, ::Thrift::Struct_Union + REQUEST = 1 + + FIELDS = { + REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::SetPartitionsStatsRequest} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + + class Set_aggr_stats_for_result + include ::Thrift::Struct, ::Thrift::Struct_Union + SUCCESS = 0 + O1 = 1 + O2 = 2 + O3 = 3 + O4 = 4 + + FIELDS = { + SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'}, + O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::NoSuchObjectException}, + O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::InvalidObjectException}, + O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::MetaException}, + O4 => {:type => ::Thrift::Types::STRUCT, :name => 'o4', :class => ::InvalidInputException} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + class Delete_partition_column_statistics_args include ::Thrift::Struct, ::Thrift::Struct_Union DB_NAME = 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 84ef5f9..9489949 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java @@ -122,6 +122,7 @@ import org.apache.hadoop.hive.metastore.api.RequestPartsSpec; import org.apache.hadoop.hive.metastore.api.Role; import org.apache.hadoop.hive.metastore.api.RolePrincipalGrant; +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; @@ -5036,6 +5037,17 @@ public AggrStats get_aggr_stats_for(PartitionsStatsRequest request) } + @Override + public boolean set_aggr_stats_for(SetPartitionsStatsRequest request) + throws NoSuchObjectException, InvalidObjectException, MetaException, + InvalidInputException, TException { + boolean ret = true; + for (ColumnStatistics colStats : request.getColStats()) { + ret = ret && update_partition_column_statistics(colStats); + } + return ret; + } + } public static IHMSHandler newHMSHandler(String name, HiveConf hiveConf) throws MetaException { 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 237166e..a94a7a3 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java @@ -105,6 +105,7 @@ import org.apache.hadoop.hive.metastore.api.PrivilegeBag; import org.apache.hadoop.hive.metastore.api.RequestPartsSpec; import org.apache.hadoop.hive.metastore.api.Role; +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; @@ -1264,6 +1265,13 @@ public boolean updatePartitionColumnStatistics(ColumnStatistics statsObj) InvalidInputException{ return client.update_partition_column_statistics(statsObj); } + + /** {@inheritDoc} */ + public boolean setPartitionColumnStatistics(SetPartitionsStatsRequest request) + throws NoSuchObjectException, InvalidObjectException, MetaException, TException, + InvalidInputException{ + return client.set_aggr_stats_for(request); + } /** {@inheritDoc} */ @Override 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 143d1c7..cbdba30 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java @@ -65,6 +65,7 @@ import org.apache.hadoop.hive.metastore.api.PrincipalType; import org.apache.hadoop.hive.metastore.api.PrivilegeBag; import org.apache.hadoop.hive.metastore.api.Role; +import org.apache.hadoop.hive.metastore.api.SetPartitionsStatsRequest; import org.apache.hadoop.hive.metastore.api.Table; import org.apache.hadoop.hive.metastore.api.UnknownDBException; import org.apache.hadoop.hive.metastore.api.UnknownPartitionException; @@ -1298,4 +1299,6 @@ GetRoleGrantsForPrincipalResponse get_role_grants_for_principal( public AggrStats getAggrColStatsFor(String dbName, String tblName, List colNames, List partName) throws NoSuchObjectException, MetaException, TException; + + boolean setPartitionColumnStatistics(SetPartitionsStatsRequest request) throws NoSuchObjectException, InvalidObjectException, MetaException, TException, InvalidInputException; } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/ColumnStatsTask.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/ColumnStatsTask.java index 94afaba..176a593 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/ColumnStatsTask.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/ColumnStatsTask.java @@ -41,6 +41,7 @@ import org.apache.hadoop.hive.metastore.api.FieldSchema; import org.apache.hadoop.hive.metastore.api.LongColumnStatsData; import org.apache.hadoop.hive.metastore.api.MetaException; +import org.apache.hadoop.hive.metastore.api.SetPartitionsStatsRequest; import org.apache.hadoop.hive.metastore.api.StringColumnStatsData; import org.apache.hadoop.hive.ql.DriverContext; import org.apache.hadoop.hive.ql.QueryPlan; @@ -342,9 +343,7 @@ private int persistPartitionStats() throws HiveException, MetaException, IOExcep // Construct a column statistics object from the result List colStats = constructColumnStatsFromPackedRows(); // Persist the column statistics object to the metastore - for (ColumnStatistics colStat : colStats) { - db.updatePartitionColumnStatistics(colStat); - } + db.setPartitionColumnStatistics(new SetPartitionsStatsRequest(colStats)); return 0; } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java index 6f225f3..e387b8f 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java @@ -89,6 +89,7 @@ import org.apache.hadoop.hive.metastore.api.Role; import org.apache.hadoop.hive.metastore.api.RolePrincipalGrant; import org.apache.hadoop.hive.metastore.api.SerDeInfo; +import org.apache.hadoop.hive.metastore.api.SetPartitionsStatsRequest; import org.apache.hadoop.hive.metastore.api.ShowCompactResponse; import org.apache.hadoop.hive.metastore.api.SkewedInfo; import org.apache.hadoop.hive.metastore.api.hive_metastoreConstants; @@ -2553,6 +2554,15 @@ public boolean updatePartitionColumnStatistics(ColumnStatistics statsObj) throws throw new HiveException(e); } } + + public boolean setPartitionColumnStatistics(SetPartitionsStatsRequest request) throws HiveException { + try { + return getMSC().setPartitionColumnStatistics(request); + } catch (Exception e) { + LOG.debug(StringUtils.stringifyException(e)); + throw new HiveException(e); + } + } public List getTableColumnStatistics( String dbName, String tableName, List colNames) throws HiveException { diff --git a/ql/src/test/queries/clientpositive/analyze_tbl_part.q b/ql/src/test/queries/clientpositive/analyze_tbl_part.q new file mode 100644 index 0000000..9040bd4 --- /dev/null +++ b/ql/src/test/queries/clientpositive/analyze_tbl_part.q @@ -0,0 +1,19 @@ +set hive.stats.dbclass=jdbc:derby; + +create table src_stat_part(key string, value string) partitioned by (partitionId int); + +insert overwrite table src_stat_part partition (partitionId=1) +select * from src1; + +insert overwrite table src_stat_part partition (partitionId=2) +select * from src1; + +ANALYZE TABLE src_stat_part partition (partitionId) COMPUTE STATISTICS for columns key; + +describe formatted src_stat_part.key PARTITION(partitionId=1); + +ANALYZE TABLE src_stat_part partition (partitionId) COMPUTE STATISTICS for columns key, value; + +describe formatted src_stat_part.key PARTITION(partitionId=1); + +describe formatted src_stat_part.value PARTITION(partitionId=2); \ No newline at end of file diff --git a/ql/src/test/results/clientpositive/analyze_tbl_part.q.out b/ql/src/test/results/clientpositive/analyze_tbl_part.q.out new file mode 100644 index 0000000..40b926c --- /dev/null +++ b/ql/src/test/results/clientpositive/analyze_tbl_part.q.out @@ -0,0 +1,83 @@ +PREHOOK: query: create table src_stat_part(key string, value string) partitioned by (partitionId int) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@src_stat_part +POSTHOOK: query: create table src_stat_part(key string, value string) partitioned by (partitionId int) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@src_stat_part +PREHOOK: query: insert overwrite table src_stat_part partition (partitionId=1) +select * from src1 +PREHOOK: type: QUERY +PREHOOK: Input: default@src1 +PREHOOK: Output: default@src_stat_part@partitionid=1 +POSTHOOK: query: insert overwrite table src_stat_part partition (partitionId=1) +select * from src1 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src1 +POSTHOOK: Output: default@src_stat_part@partitionid=1 +POSTHOOK: Lineage: src_stat_part PARTITION(partitionid=1).key SIMPLE [(src1)src1.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: src_stat_part PARTITION(partitionid=1).value SIMPLE [(src1)src1.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: insert overwrite table src_stat_part partition (partitionId=2) +select * from src1 +PREHOOK: type: QUERY +PREHOOK: Input: default@src1 +PREHOOK: Output: default@src_stat_part@partitionid=2 +POSTHOOK: query: insert overwrite table src_stat_part partition (partitionId=2) +select * from src1 +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src1 +POSTHOOK: Output: default@src_stat_part@partitionid=2 +POSTHOOK: Lineage: src_stat_part PARTITION(partitionid=2).key SIMPLE [(src1)src1.FieldSchema(name:key, type:string, comment:default), ] +POSTHOOK: Lineage: src_stat_part PARTITION(partitionid=2).value SIMPLE [(src1)src1.FieldSchema(name:value, type:string, comment:default), ] +PREHOOK: query: ANALYZE TABLE src_stat_part partition (partitionId) COMPUTE STATISTICS for columns key +PREHOOK: type: QUERY +PREHOOK: Input: default@src_stat_part +PREHOOK: Input: default@src_stat_part@partitionid=1 +PREHOOK: Input: default@src_stat_part@partitionid=2 +#### A masked pattern was here #### +POSTHOOK: query: ANALYZE TABLE src_stat_part partition (partitionId) COMPUTE STATISTICS for columns key +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src_stat_part +POSTHOOK: Input: default@src_stat_part@partitionid=1 +POSTHOOK: Input: default@src_stat_part@partitionid=2 +#### A masked pattern was here #### +PREHOOK: query: describe formatted src_stat_part.key PARTITION(partitionId=1) +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@src_stat_part +POSTHOOK: query: describe formatted src_stat_part.key PARTITION(partitionId=1) +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@src_stat_part +# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment + +key string 0 14 1.72 3 from deserializer +PREHOOK: query: ANALYZE TABLE src_stat_part partition (partitionId) COMPUTE STATISTICS for columns key, value +PREHOOK: type: QUERY +PREHOOK: Input: default@src_stat_part +PREHOOK: Input: default@src_stat_part@partitionid=1 +PREHOOK: Input: default@src_stat_part@partitionid=2 +#### A masked pattern was here #### +POSTHOOK: query: ANALYZE TABLE src_stat_part partition (partitionId) COMPUTE STATISTICS for columns key, value +POSTHOOK: type: QUERY +POSTHOOK: Input: default@src_stat_part +POSTHOOK: Input: default@src_stat_part@partitionid=1 +POSTHOOK: Input: default@src_stat_part@partitionid=2 +#### A masked pattern was here #### +PREHOOK: query: describe formatted src_stat_part.key PARTITION(partitionId=1) +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@src_stat_part +POSTHOOK: query: describe formatted src_stat_part.key PARTITION(partitionId=1) +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@src_stat_part +# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment + +key string 0 14 1.72 3 from deserializer +PREHOOK: query: describe formatted src_stat_part.value PARTITION(partitionId=2) +PREHOOK: type: DESCTABLE +PREHOOK: Input: default@src_stat_part +POSTHOOK: query: describe formatted src_stat_part.value PARTITION(partitionId=2) +POSTHOOK: type: DESCTABLE +POSTHOOK: Input: default@src_stat_part +# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment + +value string 0 14 4.92 7 from deserializer diff --git a/service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote b/service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote old mode 100644 new mode 100755 diff --git a/service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote b/service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote old mode 100644 new mode 100755