Index: itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStoreTxns.java =================================================================== --- itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStoreTxns.java (revision 1583026) +++ itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStoreTxns.java (working copy) @@ -25,6 +25,7 @@ import org.apache.hadoop.hive.metastore.IMetaStoreClient; import org.apache.hadoop.hive.metastore.LockComponentBuilder; import org.apache.hadoop.hive.metastore.LockRequestBuilder; +import org.apache.hadoop.hive.metastore.api.HeartbeatTxnRangeResponse; import org.apache.hadoop.hive.metastore.api.LockResponse; import org.apache.hadoop.hive.metastore.api.LockState; import org.apache.hadoop.hive.metastore.txn.TxnDbUtil; @@ -81,6 +82,10 @@ validTxns.isTxnRangeCommitted(1L, 3L)); List tids = client.openTxns("me", 5).getTxn_ids(); + HeartbeatTxnRangeResponse rsp = client.heartbeatTxnRange(1, 5); + Assert.assertEquals(0, rsp.getNosuch().size()); + Assert.assertEquals(0, rsp.getAborted().size()); + client.rollbackTxn(1L); client.commitTxn(2L); client.commitTxn(3L); Index: metastore/if/hive_metastore.thrift =================================================================== --- metastore/if/hive_metastore.thrift (revision 1583026) +++ metastore/if/hive_metastore.thrift (working copy) @@ -541,6 +541,16 @@ 2: optional i64 txnid } +struct HeartbeatTxnRangeRequest { + 1: required i64 min, + 2: required i64 max +} + +struct HeartbeatTxnRangeResponse { + 1: required set aborted, + 2: required set nosuch +} + struct CompactionRequest { 1: required string dbname, 2: required string tablename, @@ -1002,6 +1012,7 @@ void unlock(1:UnlockRequest rqst) throws (1:NoSuchLockException o1, 2:TxnOpenException o2) ShowLocksResponse show_locks(1:ShowLocksRequest rqst) void heartbeat(1:HeartbeatRequest ids) throws (1:NoSuchLockException o1, 2:NoSuchTxnException o2, 3:TxnAbortedException o3) + HeartbeatTxnRangeResponse heartbeat_txn_range(1:HeartbeatTxnRangeRequest txns) void compact(1:CompactionRequest rqst) ShowCompactResponse show_compact(1:ShowCompactRequest rqst) } Index: metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp =================================================================== --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp (revision 1583026) +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp (working copy) @@ -736,14 +736,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size345; - ::apache::thrift::protocol::TType _etype348; - xfer += iprot->readListBegin(_etype348, _size345); - this->success.resize(_size345); - uint32_t _i349; - for (_i349 = 0; _i349 < _size345; ++_i349) + uint32_t _size359; + ::apache::thrift::protocol::TType _etype362; + xfer += iprot->readListBegin(_etype362, _size359); + this->success.resize(_size359); + uint32_t _i363; + for (_i363 = 0; _i363 < _size359; ++_i363) { - xfer += iprot->readString(this->success[_i349]); + xfer += iprot->readString(this->success[_i363]); } xfer += iprot->readListEnd(); } @@ -782,10 +782,10 @@ 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 _iter350; - for (_iter350 = this->success.begin(); _iter350 != this->success.end(); ++_iter350) + std::vector ::const_iterator _iter364; + for (_iter364 = this->success.begin(); _iter364 != this->success.end(); ++_iter364) { - xfer += oprot->writeString((*_iter350)); + xfer += oprot->writeString((*_iter364)); } xfer += oprot->writeListEnd(); } @@ -824,14 +824,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size351; - ::apache::thrift::protocol::TType _etype354; - xfer += iprot->readListBegin(_etype354, _size351); - (*(this->success)).resize(_size351); - uint32_t _i355; - for (_i355 = 0; _i355 < _size351; ++_i355) + uint32_t _size365; + ::apache::thrift::protocol::TType _etype368; + xfer += iprot->readListBegin(_etype368, _size365); + (*(this->success)).resize(_size365); + uint32_t _i369; + for (_i369 = 0; _i369 < _size365; ++_i369) { - xfer += iprot->readString((*(this->success))[_i355]); + xfer += iprot->readString((*(this->success))[_i369]); } xfer += iprot->readListEnd(); } @@ -929,14 +929,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size356; - ::apache::thrift::protocol::TType _etype359; - xfer += iprot->readListBegin(_etype359, _size356); - this->success.resize(_size356); - uint32_t _i360; - for (_i360 = 0; _i360 < _size356; ++_i360) + uint32_t _size370; + ::apache::thrift::protocol::TType _etype373; + xfer += iprot->readListBegin(_etype373, _size370); + this->success.resize(_size370); + uint32_t _i374; + for (_i374 = 0; _i374 < _size370; ++_i374) { - xfer += iprot->readString(this->success[_i360]); + xfer += iprot->readString(this->success[_i374]); } xfer += iprot->readListEnd(); } @@ -975,10 +975,10 @@ 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 _iter361; - for (_iter361 = this->success.begin(); _iter361 != this->success.end(); ++_iter361) + std::vector ::const_iterator _iter375; + for (_iter375 = this->success.begin(); _iter375 != this->success.end(); ++_iter375) { - xfer += oprot->writeString((*_iter361)); + xfer += oprot->writeString((*_iter375)); } xfer += oprot->writeListEnd(); } @@ -1017,14 +1017,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size362; - ::apache::thrift::protocol::TType _etype365; - xfer += iprot->readListBegin(_etype365, _size362); - (*(this->success)).resize(_size362); - uint32_t _i366; - for (_i366 = 0; _i366 < _size362; ++_i366) + uint32_t _size376; + ::apache::thrift::protocol::TType _etype379; + xfer += iprot->readListBegin(_etype379, _size376); + (*(this->success)).resize(_size376); + uint32_t _i380; + for (_i380 = 0; _i380 < _size376; ++_i380) { - xfer += iprot->readString((*(this->success))[_i366]); + xfer += iprot->readString((*(this->success))[_i380]); } xfer += iprot->readListEnd(); } @@ -1967,17 +1967,17 @@ if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size367; - ::apache::thrift::protocol::TType _ktype368; - ::apache::thrift::protocol::TType _vtype369; - xfer += iprot->readMapBegin(_ktype368, _vtype369, _size367); - uint32_t _i371; - for (_i371 = 0; _i371 < _size367; ++_i371) + uint32_t _size381; + ::apache::thrift::protocol::TType _ktype382; + ::apache::thrift::protocol::TType _vtype383; + xfer += iprot->readMapBegin(_ktype382, _vtype383, _size381); + uint32_t _i385; + for (_i385 = 0; _i385 < _size381; ++_i385) { - std::string _key372; - xfer += iprot->readString(_key372); - Type& _val373 = this->success[_key372]; - xfer += _val373.read(iprot); + std::string _key386; + xfer += iprot->readString(_key386); + Type& _val387 = this->success[_key386]; + xfer += _val387.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2016,11 +2016,11 @@ 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 _iter374; - for (_iter374 = this->success.begin(); _iter374 != this->success.end(); ++_iter374) + std::map ::const_iterator _iter388; + for (_iter388 = this->success.begin(); _iter388 != this->success.end(); ++_iter388) { - xfer += oprot->writeString(_iter374->first); - xfer += _iter374->second.write(oprot); + xfer += oprot->writeString(_iter388->first); + xfer += _iter388->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -2059,17 +2059,17 @@ if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size375; - ::apache::thrift::protocol::TType _ktype376; - ::apache::thrift::protocol::TType _vtype377; - xfer += iprot->readMapBegin(_ktype376, _vtype377, _size375); - uint32_t _i379; - for (_i379 = 0; _i379 < _size375; ++_i379) + uint32_t _size389; + ::apache::thrift::protocol::TType _ktype390; + ::apache::thrift::protocol::TType _vtype391; + xfer += iprot->readMapBegin(_ktype390, _vtype391, _size389); + uint32_t _i393; + for (_i393 = 0; _i393 < _size389; ++_i393) { - std::string _key380; - xfer += iprot->readString(_key380); - Type& _val381 = (*(this->success))[_key380]; - xfer += _val381.read(iprot); + std::string _key394; + xfer += iprot->readString(_key394); + Type& _val395 = (*(this->success))[_key394]; + xfer += _val395.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2204,14 +2204,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size382; - ::apache::thrift::protocol::TType _etype385; - xfer += iprot->readListBegin(_etype385, _size382); - this->success.resize(_size382); - uint32_t _i386; - for (_i386 = 0; _i386 < _size382; ++_i386) + uint32_t _size396; + ::apache::thrift::protocol::TType _etype399; + xfer += iprot->readListBegin(_etype399, _size396); + this->success.resize(_size396); + uint32_t _i400; + for (_i400 = 0; _i400 < _size396; ++_i400) { - xfer += this->success[_i386].read(iprot); + xfer += this->success[_i400].read(iprot); } xfer += iprot->readListEnd(); } @@ -2266,10 +2266,10 @@ 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 _iter387; - for (_iter387 = this->success.begin(); _iter387 != this->success.end(); ++_iter387) + std::vector ::const_iterator _iter401; + for (_iter401 = this->success.begin(); _iter401 != this->success.end(); ++_iter401) { - xfer += (*_iter387).write(oprot); + xfer += (*_iter401).write(oprot); } xfer += oprot->writeListEnd(); } @@ -2316,14 +2316,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size388; - ::apache::thrift::protocol::TType _etype391; - xfer += iprot->readListBegin(_etype391, _size388); - (*(this->success)).resize(_size388); - uint32_t _i392; - for (_i392 = 0; _i392 < _size388; ++_i392) + uint32_t _size402; + ::apache::thrift::protocol::TType _etype405; + xfer += iprot->readListBegin(_etype405, _size402); + (*(this->success)).resize(_size402); + uint32_t _i406; + for (_i406 = 0; _i406 < _size402; ++_i406) { - xfer += (*(this->success))[_i392].read(iprot); + xfer += (*(this->success))[_i406].read(iprot); } xfer += iprot->readListEnd(); } @@ -2474,14 +2474,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size393; - ::apache::thrift::protocol::TType _etype396; - xfer += iprot->readListBegin(_etype396, _size393); - this->success.resize(_size393); - uint32_t _i397; - for (_i397 = 0; _i397 < _size393; ++_i397) + uint32_t _size407; + ::apache::thrift::protocol::TType _etype410; + xfer += iprot->readListBegin(_etype410, _size407); + this->success.resize(_size407); + uint32_t _i411; + for (_i411 = 0; _i411 < _size407; ++_i411) { - xfer += this->success[_i397].read(iprot); + xfer += this->success[_i411].read(iprot); } xfer += iprot->readListEnd(); } @@ -2536,10 +2536,10 @@ 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 _iter398; - for (_iter398 = this->success.begin(); _iter398 != this->success.end(); ++_iter398) + std::vector ::const_iterator _iter412; + for (_iter412 = this->success.begin(); _iter412 != this->success.end(); ++_iter412) { - xfer += (*_iter398).write(oprot); + xfer += (*_iter412).write(oprot); } xfer += oprot->writeListEnd(); } @@ -2586,14 +2586,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size399; - ::apache::thrift::protocol::TType _etype402; - xfer += iprot->readListBegin(_etype402, _size399); - (*(this->success)).resize(_size399); - uint32_t _i403; - for (_i403 = 0; _i403 < _size399; ++_i403) + uint32_t _size413; + ::apache::thrift::protocol::TType _etype416; + xfer += iprot->readListBegin(_etype416, _size413); + (*(this->success)).resize(_size413); + uint32_t _i417; + for (_i417 = 0; _i417 < _size413; ++_i417) { - xfer += (*(this->success))[_i403].read(iprot); + xfer += (*(this->success))[_i417].read(iprot); } xfer += iprot->readListEnd(); } @@ -3648,14 +3648,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size404; - ::apache::thrift::protocol::TType _etype407; - xfer += iprot->readListBegin(_etype407, _size404); - this->success.resize(_size404); - uint32_t _i408; - for (_i408 = 0; _i408 < _size404; ++_i408) + 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 += iprot->readString(this->success[_i408]); + xfer += iprot->readString(this->success[_i422]); } xfer += iprot->readListEnd(); } @@ -3694,10 +3694,10 @@ 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 _iter409; - for (_iter409 = this->success.begin(); _iter409 != this->success.end(); ++_iter409) + std::vector ::const_iterator _iter423; + for (_iter423 = this->success.begin(); _iter423 != this->success.end(); ++_iter423) { - xfer += oprot->writeString((*_iter409)); + xfer += oprot->writeString((*_iter423)); } xfer += oprot->writeListEnd(); } @@ -3736,14 +3736,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size410; - ::apache::thrift::protocol::TType _etype413; - xfer += iprot->readListBegin(_etype413, _size410); - (*(this->success)).resize(_size410); - uint32_t _i414; - for (_i414 = 0; _i414 < _size410; ++_i414) + uint32_t _size424; + ::apache::thrift::protocol::TType _etype427; + xfer += iprot->readListBegin(_etype427, _size424); + (*(this->success)).resize(_size424); + uint32_t _i428; + for (_i428 = 0; _i428 < _size424; ++_i428) { - xfer += iprot->readString((*(this->success))[_i414]); + xfer += iprot->readString((*(this->success))[_i428]); } xfer += iprot->readListEnd(); } @@ -3862,14 +3862,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size415; - ::apache::thrift::protocol::TType _etype418; - xfer += iprot->readListBegin(_etype418, _size415); - this->success.resize(_size415); - uint32_t _i419; - for (_i419 = 0; _i419 < _size415; ++_i419) + 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 += iprot->readString(this->success[_i419]); + xfer += iprot->readString(this->success[_i433]); } xfer += iprot->readListEnd(); } @@ -3908,10 +3908,10 @@ 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 _iter420; - for (_iter420 = this->success.begin(); _iter420 != this->success.end(); ++_iter420) + std::vector ::const_iterator _iter434; + for (_iter434 = this->success.begin(); _iter434 != this->success.end(); ++_iter434) { - xfer += oprot->writeString((*_iter420)); + xfer += oprot->writeString((*_iter434)); } xfer += oprot->writeListEnd(); } @@ -3950,14 +3950,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size421; - ::apache::thrift::protocol::TType _etype424; - xfer += iprot->readListBegin(_etype424, _size421); - (*(this->success)).resize(_size421); - uint32_t _i425; - for (_i425 = 0; _i425 < _size421; ++_i425) + uint32_t _size435; + ::apache::thrift::protocol::TType _etype438; + xfer += iprot->readListBegin(_etype438, _size435); + (*(this->success)).resize(_size435); + uint32_t _i439; + for (_i439 = 0; _i439 < _size435; ++_i439) { - xfer += iprot->readString((*(this->success))[_i425]); + xfer += iprot->readString((*(this->success))[_i439]); } xfer += iprot->readListEnd(); } @@ -4236,14 +4236,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tbl_names.clear(); - uint32_t _size426; - ::apache::thrift::protocol::TType _etype429; - xfer += iprot->readListBegin(_etype429, _size426); - this->tbl_names.resize(_size426); - uint32_t _i430; - for (_i430 = 0; _i430 < _size426; ++_i430) + uint32_t _size440; + ::apache::thrift::protocol::TType _etype443; + xfer += iprot->readListBegin(_etype443, _size440); + this->tbl_names.resize(_size440); + uint32_t _i444; + for (_i444 = 0; _i444 < _size440; ++_i444) { - xfer += iprot->readString(this->tbl_names[_i430]); + xfer += iprot->readString(this->tbl_names[_i444]); } xfer += iprot->readListEnd(); } @@ -4275,10 +4275,10 @@ 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 _iter431; - for (_iter431 = this->tbl_names.begin(); _iter431 != this->tbl_names.end(); ++_iter431) + std::vector ::const_iterator _iter445; + for (_iter445 = this->tbl_names.begin(); _iter445 != this->tbl_names.end(); ++_iter445) { - xfer += oprot->writeString((*_iter431)); + xfer += oprot->writeString((*_iter445)); } xfer += oprot->writeListEnd(); } @@ -4300,10 +4300,10 @@ 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 _iter432; - for (_iter432 = (*(this->tbl_names)).begin(); _iter432 != (*(this->tbl_names)).end(); ++_iter432) + std::vector ::const_iterator _iter446; + for (_iter446 = (*(this->tbl_names)).begin(); _iter446 != (*(this->tbl_names)).end(); ++_iter446) { - xfer += oprot->writeString((*_iter432)); + xfer += oprot->writeString((*_iter446)); } xfer += oprot->writeListEnd(); } @@ -4338,14 +4338,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size433; - ::apache::thrift::protocol::TType _etype436; - xfer += iprot->readListBegin(_etype436, _size433); - this->success.resize(_size433); - uint32_t _i437; - for (_i437 = 0; _i437 < _size433; ++_i437) + uint32_t _size447; + ::apache::thrift::protocol::TType _etype450; + xfer += iprot->readListBegin(_etype450, _size447); + this->success.resize(_size447); + uint32_t _i451; + for (_i451 = 0; _i451 < _size447; ++_i451) { - xfer += this->success[_i437].read(iprot); + xfer += this->success[_i451].read(iprot); } xfer += iprot->readListEnd(); } @@ -4400,10 +4400,10 @@ 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 _iter438; - for (_iter438 = this->success.begin(); _iter438 != this->success.end(); ++_iter438) + std::vector
::const_iterator _iter452; + for (_iter452 = this->success.begin(); _iter452 != this->success.end(); ++_iter452) { - xfer += (*_iter438).write(oprot); + xfer += (*_iter452).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4450,14 +4450,14 @@ 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 _size453; + ::apache::thrift::protocol::TType _etype456; + xfer += iprot->readListBegin(_etype456, _size453); + (*(this->success)).resize(_size453); + uint32_t _i457; + for (_i457 = 0; _i457 < _size453; ++_i457) { - xfer += (*(this->success))[_i443].read(iprot); + xfer += (*(this->success))[_i457].read(iprot); } xfer += iprot->readListEnd(); } @@ -4624,14 +4624,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size444; - ::apache::thrift::protocol::TType _etype447; - xfer += iprot->readListBegin(_etype447, _size444); - this->success.resize(_size444); - uint32_t _i448; - for (_i448 = 0; _i448 < _size444; ++_i448) + uint32_t _size458; + ::apache::thrift::protocol::TType _etype461; + xfer += iprot->readListBegin(_etype461, _size458); + this->success.resize(_size458); + uint32_t _i462; + for (_i462 = 0; _i462 < _size458; ++_i462) { - xfer += iprot->readString(this->success[_i448]); + xfer += iprot->readString(this->success[_i462]); } xfer += iprot->readListEnd(); } @@ -4686,10 +4686,10 @@ 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 _iter449; - for (_iter449 = this->success.begin(); _iter449 != this->success.end(); ++_iter449) + std::vector ::const_iterator _iter463; + for (_iter463 = this->success.begin(); _iter463 != this->success.end(); ++_iter463) { - xfer += oprot->writeString((*_iter449)); + xfer += oprot->writeString((*_iter463)); } xfer += oprot->writeListEnd(); } @@ -4736,14 +4736,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size450; - ::apache::thrift::protocol::TType _etype453; - xfer += iprot->readListBegin(_etype453, _size450); - (*(this->success)).resize(_size450); - uint32_t _i454; - for (_i454 = 0; _i454 < _size450; ++_i454) + uint32_t _size464; + ::apache::thrift::protocol::TType _etype467; + xfer += iprot->readListBegin(_etype467, _size464); + (*(this->success)).resize(_size464); + uint32_t _i468; + for (_i468 = 0; _i468 < _size464; ++_i468) { - xfer += iprot->readString((*(this->success))[_i454]); + xfer += iprot->readString((*(this->success))[_i468]); } xfer += iprot->readListEnd(); } @@ -5716,14 +5716,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size455; - ::apache::thrift::protocol::TType _etype458; - xfer += iprot->readListBegin(_etype458, _size455); - this->new_parts.resize(_size455); - uint32_t _i459; - for (_i459 = 0; _i459 < _size455; ++_i459) + uint32_t _size469; + ::apache::thrift::protocol::TType _etype472; + xfer += iprot->readListBegin(_etype472, _size469); + this->new_parts.resize(_size469); + uint32_t _i473; + for (_i473 = 0; _i473 < _size469; ++_i473) { - xfer += this->new_parts[_i459].read(iprot); + xfer += this->new_parts[_i473].read(iprot); } xfer += iprot->readListEnd(); } @@ -5751,10 +5751,10 @@ 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 _iter460; - for (_iter460 = this->new_parts.begin(); _iter460 != this->new_parts.end(); ++_iter460) + std::vector ::const_iterator _iter474; + for (_iter474 = this->new_parts.begin(); _iter474 != this->new_parts.end(); ++_iter474) { - xfer += (*_iter460).write(oprot); + xfer += (*_iter474).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5772,10 +5772,10 @@ 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 _iter461; - for (_iter461 = (*(this->new_parts)).begin(); _iter461 != (*(this->new_parts)).end(); ++_iter461) + std::vector ::const_iterator _iter475; + for (_iter475 = (*(this->new_parts)).begin(); _iter475 != (*(this->new_parts)).end(); ++_iter475) { - xfer += (*_iter461).write(oprot); + xfer += (*_iter475).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5982,14 +5982,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size462; - ::apache::thrift::protocol::TType _etype465; - xfer += iprot->readListBegin(_etype465, _size462); - this->part_vals.resize(_size462); - uint32_t _i466; - for (_i466 = 0; _i466 < _size462; ++_i466) + uint32_t _size476; + ::apache::thrift::protocol::TType _etype479; + xfer += iprot->readListBegin(_etype479, _size476); + this->part_vals.resize(_size476); + uint32_t _i480; + for (_i480 = 0; _i480 < _size476; ++_i480) { - xfer += iprot->readString(this->part_vals[_i466]); + xfer += iprot->readString(this->part_vals[_i480]); } xfer += iprot->readListEnd(); } @@ -6025,10 +6025,10 @@ 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 _iter467; - for (_iter467 = this->part_vals.begin(); _iter467 != this->part_vals.end(); ++_iter467) + std::vector ::const_iterator _iter481; + for (_iter481 = this->part_vals.begin(); _iter481 != this->part_vals.end(); ++_iter481) { - xfer += oprot->writeString((*_iter467)); + xfer += oprot->writeString((*_iter481)); } xfer += oprot->writeListEnd(); } @@ -6054,10 +6054,10 @@ 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 _iter468; - for (_iter468 = (*(this->part_vals)).begin(); _iter468 != (*(this->part_vals)).end(); ++_iter468) + std::vector ::const_iterator _iter482; + for (_iter482 = (*(this->part_vals)).begin(); _iter482 != (*(this->part_vals)).end(); ++_iter482) { - xfer += oprot->writeString((*_iter468)); + xfer += oprot->writeString((*_iter482)); } xfer += oprot->writeListEnd(); } @@ -6486,14 +6486,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size469; - ::apache::thrift::protocol::TType _etype472; - xfer += iprot->readListBegin(_etype472, _size469); - this->part_vals.resize(_size469); - uint32_t _i473; - for (_i473 = 0; _i473 < _size469; ++_i473) + uint32_t _size483; + ::apache::thrift::protocol::TType _etype486; + xfer += iprot->readListBegin(_etype486, _size483); + this->part_vals.resize(_size483); + uint32_t _i487; + for (_i487 = 0; _i487 < _size483; ++_i487) { - xfer += iprot->readString(this->part_vals[_i473]); + xfer += iprot->readString(this->part_vals[_i487]); } xfer += iprot->readListEnd(); } @@ -6537,10 +6537,10 @@ 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 _iter474; - for (_iter474 = this->part_vals.begin(); _iter474 != this->part_vals.end(); ++_iter474) + std::vector ::const_iterator _iter488; + for (_iter488 = this->part_vals.begin(); _iter488 != this->part_vals.end(); ++_iter488) { - xfer += oprot->writeString((*_iter474)); + xfer += oprot->writeString((*_iter488)); } xfer += oprot->writeListEnd(); } @@ -6570,10 +6570,10 @@ 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 _iter475; - for (_iter475 = (*(this->part_vals)).begin(); _iter475 != (*(this->part_vals)).end(); ++_iter475) + std::vector ::const_iterator _iter489; + for (_iter489 = (*(this->part_vals)).begin(); _iter489 != (*(this->part_vals)).end(); ++_iter489) { - xfer += oprot->writeString((*_iter475)); + xfer += oprot->writeString((*_iter489)); } xfer += oprot->writeListEnd(); } @@ -7308,14 +7308,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size476; - ::apache::thrift::protocol::TType _etype479; - xfer += iprot->readListBegin(_etype479, _size476); - this->part_vals.resize(_size476); - uint32_t _i480; - for (_i480 = 0; _i480 < _size476; ++_i480) + uint32_t _size490; + ::apache::thrift::protocol::TType _etype493; + xfer += iprot->readListBegin(_etype493, _size490); + this->part_vals.resize(_size490); + uint32_t _i494; + for (_i494 = 0; _i494 < _size490; ++_i494) { - xfer += iprot->readString(this->part_vals[_i480]); + xfer += iprot->readString(this->part_vals[_i494]); } xfer += iprot->readListEnd(); } @@ -7359,10 +7359,10 @@ 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 _iter481; - for (_iter481 = this->part_vals.begin(); _iter481 != this->part_vals.end(); ++_iter481) + std::vector ::const_iterator _iter495; + for (_iter495 = this->part_vals.begin(); _iter495 != this->part_vals.end(); ++_iter495) { - xfer += oprot->writeString((*_iter481)); + xfer += oprot->writeString((*_iter495)); } xfer += oprot->writeListEnd(); } @@ -7392,10 +7392,10 @@ 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 _iter482; - for (_iter482 = (*(this->part_vals)).begin(); _iter482 != (*(this->part_vals)).end(); ++_iter482) + std::vector ::const_iterator _iter496; + for (_iter496 = (*(this->part_vals)).begin(); _iter496 != (*(this->part_vals)).end(); ++_iter496) { - xfer += oprot->writeString((*_iter482)); + xfer += oprot->writeString((*_iter496)); } xfer += oprot->writeListEnd(); } @@ -7586,14 +7586,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size483; - ::apache::thrift::protocol::TType _etype486; - xfer += iprot->readListBegin(_etype486, _size483); - this->part_vals.resize(_size483); - uint32_t _i487; - for (_i487 = 0; _i487 < _size483; ++_i487) + uint32_t _size497; + ::apache::thrift::protocol::TType _etype500; + xfer += iprot->readListBegin(_etype500, _size497); + this->part_vals.resize(_size497); + uint32_t _i501; + for (_i501 = 0; _i501 < _size497; ++_i501) { - xfer += iprot->readString(this->part_vals[_i487]); + xfer += iprot->readString(this->part_vals[_i501]); } xfer += iprot->readListEnd(); } @@ -7645,10 +7645,10 @@ 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 _iter488; - for (_iter488 = this->part_vals.begin(); _iter488 != this->part_vals.end(); ++_iter488) + std::vector ::const_iterator _iter502; + for (_iter502 = this->part_vals.begin(); _iter502 != this->part_vals.end(); ++_iter502) { - xfer += oprot->writeString((*_iter488)); + xfer += oprot->writeString((*_iter502)); } xfer += oprot->writeListEnd(); } @@ -7682,10 +7682,10 @@ 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 _iter489; - for (_iter489 = (*(this->part_vals)).begin(); _iter489 != (*(this->part_vals)).end(); ++_iter489) + std::vector ::const_iterator _iter503; + for (_iter503 = (*(this->part_vals)).begin(); _iter503 != (*(this->part_vals)).end(); ++_iter503) { - xfer += oprot->writeString((*_iter489)); + xfer += oprot->writeString((*_iter503)); } xfer += oprot->writeListEnd(); } @@ -8598,14 +8598,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size490; - ::apache::thrift::protocol::TType _etype493; - xfer += iprot->readListBegin(_etype493, _size490); - this->part_vals.resize(_size490); - uint32_t _i494; - for (_i494 = 0; _i494 < _size490; ++_i494) + uint32_t _size504; + ::apache::thrift::protocol::TType _etype507; + xfer += iprot->readListBegin(_etype507, _size504); + this->part_vals.resize(_size504); + uint32_t _i508; + for (_i508 = 0; _i508 < _size504; ++_i508) { - xfer += iprot->readString(this->part_vals[_i494]); + xfer += iprot->readString(this->part_vals[_i508]); } xfer += iprot->readListEnd(); } @@ -8641,10 +8641,10 @@ 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 _iter495; - for (_iter495 = this->part_vals.begin(); _iter495 != this->part_vals.end(); ++_iter495) + std::vector ::const_iterator _iter509; + for (_iter509 = this->part_vals.begin(); _iter509 != this->part_vals.end(); ++_iter509) { - xfer += oprot->writeString((*_iter495)); + xfer += oprot->writeString((*_iter509)); } xfer += oprot->writeListEnd(); } @@ -8670,10 +8670,10 @@ 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 _iter496; - for (_iter496 = (*(this->part_vals)).begin(); _iter496 != (*(this->part_vals)).end(); ++_iter496) + std::vector ::const_iterator _iter510; + for (_iter510 = (*(this->part_vals)).begin(); _iter510 != (*(this->part_vals)).end(); ++_iter510) { - xfer += oprot->writeString((*_iter496)); + xfer += oprot->writeString((*_iter510)); } xfer += oprot->writeListEnd(); } @@ -8844,17 +8844,17 @@ if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size497; - ::apache::thrift::protocol::TType _ktype498; - ::apache::thrift::protocol::TType _vtype499; - xfer += iprot->readMapBegin(_ktype498, _vtype499, _size497); - uint32_t _i501; - for (_i501 = 0; _i501 < _size497; ++_i501) + uint32_t _size511; + ::apache::thrift::protocol::TType _ktype512; + ::apache::thrift::protocol::TType _vtype513; + xfer += iprot->readMapBegin(_ktype512, _vtype513, _size511); + uint32_t _i515; + for (_i515 = 0; _i515 < _size511; ++_i515) { - std::string _key502; - xfer += iprot->readString(_key502); - std::string& _val503 = this->partitionSpecs[_key502]; - xfer += iprot->readString(_val503); + std::string _key516; + xfer += iprot->readString(_key516); + std::string& _val517 = this->partitionSpecs[_key516]; + xfer += iprot->readString(_val517); } xfer += iprot->readMapEnd(); } @@ -8914,11 +8914,11 @@ 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 _iter504; - for (_iter504 = this->partitionSpecs.begin(); _iter504 != this->partitionSpecs.end(); ++_iter504) + std::map ::const_iterator _iter518; + for (_iter518 = this->partitionSpecs.begin(); _iter518 != this->partitionSpecs.end(); ++_iter518) { - xfer += oprot->writeString(_iter504->first); - xfer += oprot->writeString(_iter504->second); + xfer += oprot->writeString(_iter518->first); + xfer += oprot->writeString(_iter518->second); } xfer += oprot->writeMapEnd(); } @@ -8952,11 +8952,11 @@ 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 _iter505; - for (_iter505 = (*(this->partitionSpecs)).begin(); _iter505 != (*(this->partitionSpecs)).end(); ++_iter505) + std::map ::const_iterator _iter519; + for (_iter519 = (*(this->partitionSpecs)).begin(); _iter519 != (*(this->partitionSpecs)).end(); ++_iter519) { - xfer += oprot->writeString(_iter505->first); - xfer += oprot->writeString(_iter505->second); + xfer += oprot->writeString(_iter519->first); + xfer += oprot->writeString(_iter519->second); } xfer += oprot->writeMapEnd(); } @@ -9199,14 +9199,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - 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) + 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[_i510]); + xfer += iprot->readString(this->part_vals[_i524]); } xfer += iprot->readListEnd(); } @@ -9227,14 +9227,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size511; - ::apache::thrift::protocol::TType _etype514; - xfer += iprot->readListBegin(_etype514, _size511); - this->group_names.resize(_size511); - uint32_t _i515; - for (_i515 = 0; _i515 < _size511; ++_i515) + uint32_t _size525; + ::apache::thrift::protocol::TType _etype528; + xfer += iprot->readListBegin(_etype528, _size525); + this->group_names.resize(_size525); + uint32_t _i529; + for (_i529 = 0; _i529 < _size525; ++_i529) { - xfer += iprot->readString(this->group_names[_i515]); + xfer += iprot->readString(this->group_names[_i529]); } xfer += iprot->readListEnd(); } @@ -9270,10 +9270,10 @@ 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 _iter516; - for (_iter516 = this->part_vals.begin(); _iter516 != this->part_vals.end(); ++_iter516) + std::vector ::const_iterator _iter530; + for (_iter530 = this->part_vals.begin(); _iter530 != this->part_vals.end(); ++_iter530) { - xfer += oprot->writeString((*_iter516)); + xfer += oprot->writeString((*_iter530)); } xfer += oprot->writeListEnd(); } @@ -9286,10 +9286,10 @@ 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 _iter517; - for (_iter517 = this->group_names.begin(); _iter517 != this->group_names.end(); ++_iter517) + std::vector ::const_iterator _iter531; + for (_iter531 = this->group_names.begin(); _iter531 != this->group_names.end(); ++_iter531) { - xfer += oprot->writeString((*_iter517)); + xfer += oprot->writeString((*_iter531)); } xfer += oprot->writeListEnd(); } @@ -9315,10 +9315,10 @@ 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 _iter518; - for (_iter518 = (*(this->part_vals)).begin(); _iter518 != (*(this->part_vals)).end(); ++_iter518) + std::vector ::const_iterator _iter532; + for (_iter532 = (*(this->part_vals)).begin(); _iter532 != (*(this->part_vals)).end(); ++_iter532) { - xfer += oprot->writeString((*_iter518)); + xfer += oprot->writeString((*_iter532)); } xfer += oprot->writeListEnd(); } @@ -9331,10 +9331,10 @@ 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 _iter519; - for (_iter519 = (*(this->group_names)).begin(); _iter519 != (*(this->group_names)).end(); ++_iter519) + std::vector ::const_iterator _iter533; + for (_iter533 = (*(this->group_names)).begin(); _iter533 != (*(this->group_names)).end(); ++_iter533) { - xfer += oprot->writeString((*_iter519)); + xfer += oprot->writeString((*_iter533)); } xfer += oprot->writeListEnd(); } @@ -9837,14 +9837,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size520; - ::apache::thrift::protocol::TType _etype523; - xfer += iprot->readListBegin(_etype523, _size520); - this->success.resize(_size520); - uint32_t _i524; - for (_i524 = 0; _i524 < _size520; ++_i524) + uint32_t _size534; + ::apache::thrift::protocol::TType _etype537; + xfer += iprot->readListBegin(_etype537, _size534); + this->success.resize(_size534); + uint32_t _i538; + for (_i538 = 0; _i538 < _size534; ++_i538) { - xfer += this->success[_i524].read(iprot); + xfer += this->success[_i538].read(iprot); } xfer += iprot->readListEnd(); } @@ -9891,10 +9891,10 @@ 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 _iter525; - for (_iter525 = this->success.begin(); _iter525 != this->success.end(); ++_iter525) + std::vector ::const_iterator _iter539; + for (_iter539 = this->success.begin(); _iter539 != this->success.end(); ++_iter539) { - xfer += (*_iter525).write(oprot); + xfer += (*_iter539).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9937,14 +9937,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size526; - ::apache::thrift::protocol::TType _etype529; - xfer += iprot->readListBegin(_etype529, _size526); - (*(this->success)).resize(_size526); - uint32_t _i530; - for (_i530 = 0; _i530 < _size526; ++_i530) + uint32_t _size540; + ::apache::thrift::protocol::TType _etype543; + xfer += iprot->readListBegin(_etype543, _size540); + (*(this->success)).resize(_size540); + uint32_t _i544; + for (_i544 = 0; _i544 < _size540; ++_i544) { - xfer += (*(this->success))[_i530].read(iprot); + xfer += (*(this->success))[_i544].read(iprot); } xfer += iprot->readListEnd(); } @@ -10037,14 +10037,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size531; - ::apache::thrift::protocol::TType _etype534; - xfer += iprot->readListBegin(_etype534, _size531); - this->group_names.resize(_size531); - uint32_t _i535; - for (_i535 = 0; _i535 < _size531; ++_i535) + uint32_t _size545; + ::apache::thrift::protocol::TType _etype548; + xfer += iprot->readListBegin(_etype548, _size545); + this->group_names.resize(_size545); + uint32_t _i549; + for (_i549 = 0; _i549 < _size545; ++_i549) { - xfer += iprot->readString(this->group_names[_i535]); + xfer += iprot->readString(this->group_names[_i549]); } xfer += iprot->readListEnd(); } @@ -10088,10 +10088,10 @@ 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 _iter536; - for (_iter536 = this->group_names.begin(); _iter536 != this->group_names.end(); ++_iter536) + std::vector ::const_iterator _iter550; + for (_iter550 = this->group_names.begin(); _iter550 != this->group_names.end(); ++_iter550) { - xfer += oprot->writeString((*_iter536)); + xfer += oprot->writeString((*_iter550)); } xfer += oprot->writeListEnd(); } @@ -10125,10 +10125,10 @@ 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 _iter537; - for (_iter537 = (*(this->group_names)).begin(); _iter537 != (*(this->group_names)).end(); ++_iter537) + std::vector ::const_iterator _iter551; + for (_iter551 = (*(this->group_names)).begin(); _iter551 != (*(this->group_names)).end(); ++_iter551) { - xfer += oprot->writeString((*_iter537)); + xfer += oprot->writeString((*_iter551)); } xfer += oprot->writeListEnd(); } @@ -10163,14 +10163,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size538; - ::apache::thrift::protocol::TType _etype541; - xfer += iprot->readListBegin(_etype541, _size538); - this->success.resize(_size538); - uint32_t _i542; - for (_i542 = 0; _i542 < _size538; ++_i542) + uint32_t _size552; + ::apache::thrift::protocol::TType _etype555; + xfer += iprot->readListBegin(_etype555, _size552); + this->success.resize(_size552); + uint32_t _i556; + for (_i556 = 0; _i556 < _size552; ++_i556) { - xfer += this->success[_i542].read(iprot); + xfer += this->success[_i556].read(iprot); } xfer += iprot->readListEnd(); } @@ -10217,10 +10217,10 @@ 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 _iter543; - for (_iter543 = this->success.begin(); _iter543 != this->success.end(); ++_iter543) + std::vector ::const_iterator _iter557; + for (_iter557 = this->success.begin(); _iter557 != this->success.end(); ++_iter557) { - xfer += (*_iter543).write(oprot); + xfer += (*_iter557).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10263,14 +10263,14 @@ 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 _size558; + ::apache::thrift::protocol::TType _etype561; + xfer += iprot->readListBegin(_etype561, _size558); + (*(this->success)).resize(_size558); + uint32_t _i562; + for (_i562 = 0; _i562 < _size558; ++_i562) { - xfer += (*(this->success))[_i548].read(iprot); + xfer += (*(this->success))[_i562].read(iprot); } xfer += iprot->readListEnd(); } @@ -10429,14 +10429,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size549; - ::apache::thrift::protocol::TType _etype552; - xfer += iprot->readListBegin(_etype552, _size549); - this->success.resize(_size549); - uint32_t _i553; - for (_i553 = 0; _i553 < _size549; ++_i553) + uint32_t _size563; + ::apache::thrift::protocol::TType _etype566; + xfer += iprot->readListBegin(_etype566, _size563); + this->success.resize(_size563); + uint32_t _i567; + for (_i567 = 0; _i567 < _size563; ++_i567) { - xfer += iprot->readString(this->success[_i553]); + xfer += iprot->readString(this->success[_i567]); } xfer += iprot->readListEnd(); } @@ -10475,10 +10475,10 @@ 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 _iter554; - for (_iter554 = this->success.begin(); _iter554 != this->success.end(); ++_iter554) + std::vector ::const_iterator _iter568; + for (_iter568 = this->success.begin(); _iter568 != this->success.end(); ++_iter568) { - xfer += oprot->writeString((*_iter554)); + xfer += oprot->writeString((*_iter568)); } xfer += oprot->writeListEnd(); } @@ -10517,14 +10517,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size555; - ::apache::thrift::protocol::TType _etype558; - xfer += iprot->readListBegin(_etype558, _size555); - (*(this->success)).resize(_size555); - uint32_t _i559; - for (_i559 = 0; _i559 < _size555; ++_i559) + uint32_t _size569; + ::apache::thrift::protocol::TType _etype572; + xfer += iprot->readListBegin(_etype572, _size569); + (*(this->success)).resize(_size569); + uint32_t _i573; + for (_i573 = 0; _i573 < _size569; ++_i573) { - xfer += iprot->readString((*(this->success))[_i559]); + xfer += iprot->readString((*(this->success))[_i573]); } xfer += iprot->readListEnd(); } @@ -10593,14 +10593,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size560; - ::apache::thrift::protocol::TType _etype563; - xfer += iprot->readListBegin(_etype563, _size560); - this->part_vals.resize(_size560); - uint32_t _i564; - for (_i564 = 0; _i564 < _size560; ++_i564) + uint32_t _size574; + ::apache::thrift::protocol::TType _etype577; + xfer += iprot->readListBegin(_etype577, _size574); + this->part_vals.resize(_size574); + uint32_t _i578; + for (_i578 = 0; _i578 < _size574; ++_i578) { - xfer += iprot->readString(this->part_vals[_i564]); + xfer += iprot->readString(this->part_vals[_i578]); } xfer += iprot->readListEnd(); } @@ -10644,10 +10644,10 @@ 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 _iter565; - for (_iter565 = this->part_vals.begin(); _iter565 != this->part_vals.end(); ++_iter565) + std::vector ::const_iterator _iter579; + for (_iter579 = this->part_vals.begin(); _iter579 != this->part_vals.end(); ++_iter579) { - xfer += oprot->writeString((*_iter565)); + xfer += oprot->writeString((*_iter579)); } xfer += oprot->writeListEnd(); } @@ -10677,10 +10677,10 @@ 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 _iter566; - for (_iter566 = (*(this->part_vals)).begin(); _iter566 != (*(this->part_vals)).end(); ++_iter566) + std::vector ::const_iterator _iter580; + for (_iter580 = (*(this->part_vals)).begin(); _iter580 != (*(this->part_vals)).end(); ++_iter580) { - xfer += oprot->writeString((*_iter566)); + xfer += oprot->writeString((*_iter580)); } xfer += oprot->writeListEnd(); } @@ -10719,14 +10719,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size567; - ::apache::thrift::protocol::TType _etype570; - xfer += iprot->readListBegin(_etype570, _size567); - this->success.resize(_size567); - uint32_t _i571; - for (_i571 = 0; _i571 < _size567; ++_i571) + uint32_t _size581; + ::apache::thrift::protocol::TType _etype584; + xfer += iprot->readListBegin(_etype584, _size581); + this->success.resize(_size581); + uint32_t _i585; + for (_i585 = 0; _i585 < _size581; ++_i585) { - xfer += this->success[_i571].read(iprot); + xfer += this->success[_i585].read(iprot); } xfer += iprot->readListEnd(); } @@ -10773,10 +10773,10 @@ 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 _iter572; - for (_iter572 = this->success.begin(); _iter572 != this->success.end(); ++_iter572) + std::vector ::const_iterator _iter586; + for (_iter586 = this->success.begin(); _iter586 != this->success.end(); ++_iter586) { - xfer += (*_iter572).write(oprot); + xfer += (*_iter586).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10819,14 +10819,14 @@ 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 _size587; + ::apache::thrift::protocol::TType _etype590; + xfer += iprot->readListBegin(_etype590, _size587); + (*(this->success)).resize(_size587); + uint32_t _i591; + for (_i591 = 0; _i591 < _size587; ++_i591) { - xfer += (*(this->success))[_i577].read(iprot); + xfer += (*(this->success))[_i591].read(iprot); } xfer += iprot->readListEnd(); } @@ -10903,14 +10903,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size578; - ::apache::thrift::protocol::TType _etype581; - xfer += iprot->readListBegin(_etype581, _size578); - this->part_vals.resize(_size578); - uint32_t _i582; - for (_i582 = 0; _i582 < _size578; ++_i582) + uint32_t _size592; + ::apache::thrift::protocol::TType _etype595; + xfer += iprot->readListBegin(_etype595, _size592); + this->part_vals.resize(_size592); + uint32_t _i596; + for (_i596 = 0; _i596 < _size592; ++_i596) { - xfer += iprot->readString(this->part_vals[_i582]); + xfer += iprot->readString(this->part_vals[_i596]); } xfer += iprot->readListEnd(); } @@ -10939,14 +10939,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size583; - ::apache::thrift::protocol::TType _etype586; - xfer += iprot->readListBegin(_etype586, _size583); - this->group_names.resize(_size583); - uint32_t _i587; - for (_i587 = 0; _i587 < _size583; ++_i587) + uint32_t _size597; + ::apache::thrift::protocol::TType _etype600; + xfer += iprot->readListBegin(_etype600, _size597); + this->group_names.resize(_size597); + uint32_t _i601; + for (_i601 = 0; _i601 < _size597; ++_i601) { - xfer += iprot->readString(this->group_names[_i587]); + xfer += iprot->readString(this->group_names[_i601]); } xfer += iprot->readListEnd(); } @@ -10982,10 +10982,10 @@ 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 _iter588; - for (_iter588 = this->part_vals.begin(); _iter588 != this->part_vals.end(); ++_iter588) + std::vector ::const_iterator _iter602; + for (_iter602 = this->part_vals.begin(); _iter602 != this->part_vals.end(); ++_iter602) { - xfer += oprot->writeString((*_iter588)); + xfer += oprot->writeString((*_iter602)); } xfer += oprot->writeListEnd(); } @@ -11002,10 +11002,10 @@ 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 _iter589; - for (_iter589 = this->group_names.begin(); _iter589 != this->group_names.end(); ++_iter589) + std::vector ::const_iterator _iter603; + for (_iter603 = this->group_names.begin(); _iter603 != this->group_names.end(); ++_iter603) { - xfer += oprot->writeString((*_iter589)); + xfer += oprot->writeString((*_iter603)); } xfer += oprot->writeListEnd(); } @@ -11031,10 +11031,10 @@ 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 _iter604; + for (_iter604 = (*(this->part_vals)).begin(); _iter604 != (*(this->part_vals)).end(); ++_iter604) { - xfer += oprot->writeString((*_iter590)); + xfer += oprot->writeString((*_iter604)); } xfer += oprot->writeListEnd(); } @@ -11051,10 +11051,10 @@ 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 _iter591; - for (_iter591 = (*(this->group_names)).begin(); _iter591 != (*(this->group_names)).end(); ++_iter591) + std::vector ::const_iterator _iter605; + for (_iter605 = (*(this->group_names)).begin(); _iter605 != (*(this->group_names)).end(); ++_iter605) { - xfer += oprot->writeString((*_iter591)); + xfer += oprot->writeString((*_iter605)); } xfer += oprot->writeListEnd(); } @@ -11089,14 +11089,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size592; - ::apache::thrift::protocol::TType _etype595; - xfer += iprot->readListBegin(_etype595, _size592); - this->success.resize(_size592); - uint32_t _i596; - for (_i596 = 0; _i596 < _size592; ++_i596) + uint32_t _size606; + ::apache::thrift::protocol::TType _etype609; + xfer += iprot->readListBegin(_etype609, _size606); + this->success.resize(_size606); + uint32_t _i610; + for (_i610 = 0; _i610 < _size606; ++_i610) { - xfer += this->success[_i596].read(iprot); + xfer += this->success[_i610].read(iprot); } xfer += iprot->readListEnd(); } @@ -11143,10 +11143,10 @@ 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 _iter597; - for (_iter597 = this->success.begin(); _iter597 != this->success.end(); ++_iter597) + std::vector ::const_iterator _iter611; + for (_iter611 = this->success.begin(); _iter611 != this->success.end(); ++_iter611) { - xfer += (*_iter597).write(oprot); + xfer += (*_iter611).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11189,14 +11189,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size598; - ::apache::thrift::protocol::TType _etype601; - xfer += iprot->readListBegin(_etype601, _size598); - (*(this->success)).resize(_size598); - uint32_t _i602; - for (_i602 = 0; _i602 < _size598; ++_i602) + uint32_t _size612; + ::apache::thrift::protocol::TType _etype615; + xfer += iprot->readListBegin(_etype615, _size612); + (*(this->success)).resize(_size612); + uint32_t _i616; + for (_i616 = 0; _i616 < _size612; ++_i616) { - xfer += (*(this->success))[_i602].read(iprot); + xfer += (*(this->success))[_i616].read(iprot); } xfer += iprot->readListEnd(); } @@ -11273,14 +11273,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size603; - ::apache::thrift::protocol::TType _etype606; - xfer += iprot->readListBegin(_etype606, _size603); - this->part_vals.resize(_size603); - uint32_t _i607; - for (_i607 = 0; _i607 < _size603; ++_i607) + uint32_t _size617; + ::apache::thrift::protocol::TType _etype620; + xfer += iprot->readListBegin(_etype620, _size617); + this->part_vals.resize(_size617); + uint32_t _i621; + for (_i621 = 0; _i621 < _size617; ++_i621) { - xfer += iprot->readString(this->part_vals[_i607]); + xfer += iprot->readString(this->part_vals[_i621]); } xfer += iprot->readListEnd(); } @@ -11324,10 +11324,10 @@ 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 _iter608; - for (_iter608 = this->part_vals.begin(); _iter608 != this->part_vals.end(); ++_iter608) + std::vector ::const_iterator _iter622; + for (_iter622 = this->part_vals.begin(); _iter622 != this->part_vals.end(); ++_iter622) { - xfer += oprot->writeString((*_iter608)); + xfer += oprot->writeString((*_iter622)); } xfer += oprot->writeListEnd(); } @@ -11357,10 +11357,10 @@ 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 _iter609; - for (_iter609 = (*(this->part_vals)).begin(); _iter609 != (*(this->part_vals)).end(); ++_iter609) + std::vector ::const_iterator _iter623; + for (_iter623 = (*(this->part_vals)).begin(); _iter623 != (*(this->part_vals)).end(); ++_iter623) { - xfer += oprot->writeString((*_iter609)); + xfer += oprot->writeString((*_iter623)); } xfer += oprot->writeListEnd(); } @@ -11399,14 +11399,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size610; - ::apache::thrift::protocol::TType _etype613; - xfer += iprot->readListBegin(_etype613, _size610); - this->success.resize(_size610); - uint32_t _i614; - for (_i614 = 0; _i614 < _size610; ++_i614) + uint32_t _size624; + ::apache::thrift::protocol::TType _etype627; + xfer += iprot->readListBegin(_etype627, _size624); + this->success.resize(_size624); + uint32_t _i628; + for (_i628 = 0; _i628 < _size624; ++_i628) { - xfer += iprot->readString(this->success[_i614]); + xfer += iprot->readString(this->success[_i628]); } xfer += iprot->readListEnd(); } @@ -11453,10 +11453,10 @@ 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 _iter615; - for (_iter615 = this->success.begin(); _iter615 != this->success.end(); ++_iter615) + std::vector ::const_iterator _iter629; + for (_iter629 = this->success.begin(); _iter629 != this->success.end(); ++_iter629) { - xfer += oprot->writeString((*_iter615)); + xfer += oprot->writeString((*_iter629)); } xfer += oprot->writeListEnd(); } @@ -11499,14 +11499,14 @@ 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 _size630; + ::apache::thrift::protocol::TType _etype633; + xfer += iprot->readListBegin(_etype633, _size630); + (*(this->success)).resize(_size630); + uint32_t _i634; + for (_i634 = 0; _i634 < _size630; ++_i634) { - xfer += iprot->readString((*(this->success))[_i620]); + xfer += iprot->readString((*(this->success))[_i634]); } xfer += iprot->readListEnd(); } @@ -11681,14 +11681,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size621; - ::apache::thrift::protocol::TType _etype624; - xfer += iprot->readListBegin(_etype624, _size621); - this->success.resize(_size621); - uint32_t _i625; - for (_i625 = 0; _i625 < _size621; ++_i625) + uint32_t _size635; + ::apache::thrift::protocol::TType _etype638; + xfer += iprot->readListBegin(_etype638, _size635); + this->success.resize(_size635); + uint32_t _i639; + for (_i639 = 0; _i639 < _size635; ++_i639) { - xfer += this->success[_i625].read(iprot); + xfer += this->success[_i639].read(iprot); } xfer += iprot->readListEnd(); } @@ -11735,10 +11735,10 @@ 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 _iter626; - for (_iter626 = this->success.begin(); _iter626 != this->success.end(); ++_iter626) + std::vector ::const_iterator _iter640; + for (_iter640 = this->success.begin(); _iter640 != this->success.end(); ++_iter640) { - xfer += (*_iter626).write(oprot); + xfer += (*_iter640).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11781,14 +11781,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size627; - ::apache::thrift::protocol::TType _etype630; - xfer += iprot->readListBegin(_etype630, _size627); - (*(this->success)).resize(_size627); - uint32_t _i631; - for (_i631 = 0; _i631 < _size627; ++_i631) + uint32_t _size641; + ::apache::thrift::protocol::TType _etype644; + xfer += iprot->readListBegin(_etype644, _size641); + (*(this->success)).resize(_size641); + uint32_t _i645; + for (_i645 = 0; _i645 < _size641; ++_i645) { - xfer += (*(this->success))[_i631].read(iprot); + xfer += (*(this->success))[_i645].read(iprot); } xfer += iprot->readListEnd(); } @@ -12067,14 +12067,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size632; - ::apache::thrift::protocol::TType _etype635; - xfer += iprot->readListBegin(_etype635, _size632); - this->names.resize(_size632); - uint32_t _i636; - for (_i636 = 0; _i636 < _size632; ++_i636) + uint32_t _size646; + ::apache::thrift::protocol::TType _etype649; + xfer += iprot->readListBegin(_etype649, _size646); + this->names.resize(_size646); + uint32_t _i650; + for (_i650 = 0; _i650 < _size646; ++_i650) { - xfer += iprot->readString(this->names[_i636]); + xfer += iprot->readString(this->names[_i650]); } xfer += iprot->readListEnd(); } @@ -12110,10 +12110,10 @@ 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 _iter637; - for (_iter637 = this->names.begin(); _iter637 != this->names.end(); ++_iter637) + std::vector ::const_iterator _iter651; + for (_iter651 = this->names.begin(); _iter651 != this->names.end(); ++_iter651) { - xfer += oprot->writeString((*_iter637)); + xfer += oprot->writeString((*_iter651)); } xfer += oprot->writeListEnd(); } @@ -12139,10 +12139,10 @@ 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 _iter638; - for (_iter638 = (*(this->names)).begin(); _iter638 != (*(this->names)).end(); ++_iter638) + std::vector ::const_iterator _iter652; + for (_iter652 = (*(this->names)).begin(); _iter652 != (*(this->names)).end(); ++_iter652) { - xfer += oprot->writeString((*_iter638)); + xfer += oprot->writeString((*_iter652)); } xfer += oprot->writeListEnd(); } @@ -12177,14 +12177,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size639; - ::apache::thrift::protocol::TType _etype642; - xfer += iprot->readListBegin(_etype642, _size639); - this->success.resize(_size639); - uint32_t _i643; - for (_i643 = 0; _i643 < _size639; ++_i643) + uint32_t _size653; + ::apache::thrift::protocol::TType _etype656; + xfer += iprot->readListBegin(_etype656, _size653); + this->success.resize(_size653); + uint32_t _i657; + for (_i657 = 0; _i657 < _size653; ++_i657) { - xfer += this->success[_i643].read(iprot); + xfer += this->success[_i657].read(iprot); } xfer += iprot->readListEnd(); } @@ -12231,10 +12231,10 @@ 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 _iter644; - for (_iter644 = this->success.begin(); _iter644 != this->success.end(); ++_iter644) + std::vector ::const_iterator _iter658; + for (_iter658 = this->success.begin(); _iter658 != this->success.end(); ++_iter658) { - xfer += (*_iter644).write(oprot); + xfer += (*_iter658).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12277,14 +12277,14 @@ 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 _size659; + ::apache::thrift::protocol::TType _etype662; + xfer += iprot->readListBegin(_etype662, _size659); + (*(this->success)).resize(_size659); + uint32_t _i663; + for (_i663 = 0; _i663 < _size659; ++_i663) { - xfer += (*(this->success))[_i649].read(iprot); + xfer += (*(this->success))[_i663].read(iprot); } xfer += iprot->readListEnd(); } @@ -12575,14 +12575,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size650; - ::apache::thrift::protocol::TType _etype653; - xfer += iprot->readListBegin(_etype653, _size650); - this->new_parts.resize(_size650); - uint32_t _i654; - for (_i654 = 0; _i654 < _size650; ++_i654) + uint32_t _size664; + ::apache::thrift::protocol::TType _etype667; + xfer += iprot->readListBegin(_etype667, _size664); + this->new_parts.resize(_size664); + uint32_t _i668; + for (_i668 = 0; _i668 < _size664; ++_i668) { - xfer += this->new_parts[_i654].read(iprot); + xfer += this->new_parts[_i668].read(iprot); } xfer += iprot->readListEnd(); } @@ -12618,10 +12618,10 @@ 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 _iter655; - for (_iter655 = this->new_parts.begin(); _iter655 != this->new_parts.end(); ++_iter655) + std::vector ::const_iterator _iter669; + for (_iter669 = this->new_parts.begin(); _iter669 != this->new_parts.end(); ++_iter669) { - xfer += (*_iter655).write(oprot); + xfer += (*_iter669).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12647,10 +12647,10 @@ 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 _iter656; - for (_iter656 = (*(this->new_parts)).begin(); _iter656 != (*(this->new_parts)).end(); ++_iter656) + std::vector ::const_iterator _iter670; + for (_iter670 = (*(this->new_parts)).begin(); _iter670 != (*(this->new_parts)).end(); ++_iter670) { - xfer += (*_iter656).write(oprot); + xfer += (*_iter670).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13047,14 +13047,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size657; - ::apache::thrift::protocol::TType _etype660; - xfer += iprot->readListBegin(_etype660, _size657); - this->part_vals.resize(_size657); - uint32_t _i661; - for (_i661 = 0; _i661 < _size657; ++_i661) + uint32_t _size671; + ::apache::thrift::protocol::TType _etype674; + xfer += iprot->readListBegin(_etype674, _size671); + this->part_vals.resize(_size671); + uint32_t _i675; + for (_i675 = 0; _i675 < _size671; ++_i675) { - xfer += iprot->readString(this->part_vals[_i661]); + xfer += iprot->readString(this->part_vals[_i675]); } xfer += iprot->readListEnd(); } @@ -13098,10 +13098,10 @@ 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 _iter662; - for (_iter662 = this->part_vals.begin(); _iter662 != this->part_vals.end(); ++_iter662) + std::vector ::const_iterator _iter676; + for (_iter676 = this->part_vals.begin(); _iter676 != this->part_vals.end(); ++_iter676) { - xfer += oprot->writeString((*_iter662)); + xfer += oprot->writeString((*_iter676)); } xfer += oprot->writeListEnd(); } @@ -13131,10 +13131,10 @@ 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 _iter663; - for (_iter663 = (*(this->part_vals)).begin(); _iter663 != (*(this->part_vals)).end(); ++_iter663) + std::vector ::const_iterator _iter677; + for (_iter677 = (*(this->part_vals)).begin(); _iter677 != (*(this->part_vals)).end(); ++_iter677) { - xfer += oprot->writeString((*_iter663)); + xfer += oprot->writeString((*_iter677)); } xfer += oprot->writeListEnd(); } @@ -13289,14 +13289,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size664; - ::apache::thrift::protocol::TType _etype667; - xfer += iprot->readListBegin(_etype667, _size664); - this->part_vals.resize(_size664); - uint32_t _i668; - for (_i668 = 0; _i668 < _size664; ++_i668) + uint32_t _size678; + ::apache::thrift::protocol::TType _etype681; + xfer += iprot->readListBegin(_etype681, _size678); + this->part_vals.resize(_size678); + uint32_t _i682; + for (_i682 = 0; _i682 < _size678; ++_i682) { - xfer += iprot->readString(this->part_vals[_i668]); + xfer += iprot->readString(this->part_vals[_i682]); } xfer += iprot->readListEnd(); } @@ -13332,10 +13332,10 @@ 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 _iter669; - for (_iter669 = this->part_vals.begin(); _iter669 != this->part_vals.end(); ++_iter669) + std::vector ::const_iterator _iter683; + for (_iter683 = this->part_vals.begin(); _iter683 != this->part_vals.end(); ++_iter683) { - xfer += oprot->writeString((*_iter669)); + xfer += oprot->writeString((*_iter683)); } xfer += oprot->writeListEnd(); } @@ -13357,10 +13357,10 @@ 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 _iter670; - for (_iter670 = (*(this->part_vals)).begin(); _iter670 != (*(this->part_vals)).end(); ++_iter670) + std::vector ::const_iterator _iter684; + for (_iter684 = (*(this->part_vals)).begin(); _iter684 != (*(this->part_vals)).end(); ++_iter684) { - xfer += oprot->writeString((*_iter670)); + xfer += oprot->writeString((*_iter684)); } xfer += oprot->writeListEnd(); } @@ -13779,14 +13779,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size671; - ::apache::thrift::protocol::TType _etype674; - xfer += iprot->readListBegin(_etype674, _size671); - this->success.resize(_size671); - uint32_t _i675; - for (_i675 = 0; _i675 < _size671; ++_i675) + uint32_t _size685; + ::apache::thrift::protocol::TType _etype688; + xfer += iprot->readListBegin(_etype688, _size685); + this->success.resize(_size685); + uint32_t _i689; + for (_i689 = 0; _i689 < _size685; ++_i689) { - xfer += iprot->readString(this->success[_i675]); + xfer += iprot->readString(this->success[_i689]); } xfer += iprot->readListEnd(); } @@ -13825,10 +13825,10 @@ 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 _iter676; - for (_iter676 = this->success.begin(); _iter676 != this->success.end(); ++_iter676) + std::vector ::const_iterator _iter690; + for (_iter690 = this->success.begin(); _iter690 != this->success.end(); ++_iter690) { - xfer += oprot->writeString((*_iter676)); + xfer += oprot->writeString((*_iter690)); } xfer += oprot->writeListEnd(); } @@ -13867,14 +13867,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size677; - ::apache::thrift::protocol::TType _etype680; - xfer += iprot->readListBegin(_etype680, _size677); - (*(this->success)).resize(_size677); - uint32_t _i681; - for (_i681 = 0; _i681 < _size677; ++_i681) + uint32_t _size691; + ::apache::thrift::protocol::TType _etype694; + xfer += iprot->readListBegin(_etype694, _size691); + (*(this->success)).resize(_size691); + uint32_t _i695; + for (_i695 = 0; _i695 < _size691; ++_i695) { - xfer += iprot->readString((*(this->success))[_i681]); + xfer += iprot->readString((*(this->success))[_i695]); } xfer += iprot->readListEnd(); } @@ -13993,17 +13993,17 @@ if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size682; - ::apache::thrift::protocol::TType _ktype683; - ::apache::thrift::protocol::TType _vtype684; - xfer += iprot->readMapBegin(_ktype683, _vtype684, _size682); - uint32_t _i686; - for (_i686 = 0; _i686 < _size682; ++_i686) + uint32_t _size696; + ::apache::thrift::protocol::TType _ktype697; + ::apache::thrift::protocol::TType _vtype698; + xfer += iprot->readMapBegin(_ktype697, _vtype698, _size696); + uint32_t _i700; + for (_i700 = 0; _i700 < _size696; ++_i700) { - std::string _key687; - xfer += iprot->readString(_key687); - std::string& _val688 = this->success[_key687]; - xfer += iprot->readString(_val688); + std::string _key701; + xfer += iprot->readString(_key701); + std::string& _val702 = this->success[_key701]; + xfer += iprot->readString(_val702); } xfer += iprot->readMapEnd(); } @@ -14042,11 +14042,11 @@ 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 _iter689; - for (_iter689 = this->success.begin(); _iter689 != this->success.end(); ++_iter689) + std::map ::const_iterator _iter703; + for (_iter703 = this->success.begin(); _iter703 != this->success.end(); ++_iter703) { - xfer += oprot->writeString(_iter689->first); - xfer += oprot->writeString(_iter689->second); + xfer += oprot->writeString(_iter703->first); + xfer += oprot->writeString(_iter703->second); } xfer += oprot->writeMapEnd(); } @@ -14085,17 +14085,17 @@ if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size690; - ::apache::thrift::protocol::TType _ktype691; - ::apache::thrift::protocol::TType _vtype692; - xfer += iprot->readMapBegin(_ktype691, _vtype692, _size690); - uint32_t _i694; - for (_i694 = 0; _i694 < _size690; ++_i694) + uint32_t _size704; + ::apache::thrift::protocol::TType _ktype705; + ::apache::thrift::protocol::TType _vtype706; + xfer += iprot->readMapBegin(_ktype705, _vtype706, _size704); + uint32_t _i708; + for (_i708 = 0; _i708 < _size704; ++_i708) { - std::string _key695; - xfer += iprot->readString(_key695); - std::string& _val696 = (*(this->success))[_key695]; - xfer += iprot->readString(_val696); + std::string _key709; + xfer += iprot->readString(_key709); + std::string& _val710 = (*(this->success))[_key709]; + xfer += iprot->readString(_val710); } xfer += iprot->readMapEnd(); } @@ -14164,17 +14164,17 @@ if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size697; - ::apache::thrift::protocol::TType _ktype698; - ::apache::thrift::protocol::TType _vtype699; - xfer += iprot->readMapBegin(_ktype698, _vtype699, _size697); - uint32_t _i701; - for (_i701 = 0; _i701 < _size697; ++_i701) + uint32_t _size711; + ::apache::thrift::protocol::TType _ktype712; + ::apache::thrift::protocol::TType _vtype713; + xfer += iprot->readMapBegin(_ktype712, _vtype713, _size711); + uint32_t _i715; + for (_i715 = 0; _i715 < _size711; ++_i715) { - std::string _key702; - xfer += iprot->readString(_key702); - std::string& _val703 = this->part_vals[_key702]; - xfer += iprot->readString(_val703); + std::string _key716; + xfer += iprot->readString(_key716); + std::string& _val717 = this->part_vals[_key716]; + xfer += iprot->readString(_val717); } xfer += iprot->readMapEnd(); } @@ -14185,9 +14185,9 @@ break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast704; - xfer += iprot->readI32(ecast704); - this->eventType = (PartitionEventType::type)ecast704; + int32_t ecast718; + xfer += iprot->readI32(ecast718); + this->eventType = (PartitionEventType::type)ecast718; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -14220,11 +14220,11 @@ 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 _iter705; - for (_iter705 = this->part_vals.begin(); _iter705 != this->part_vals.end(); ++_iter705) + std::map ::const_iterator _iter719; + for (_iter719 = this->part_vals.begin(); _iter719 != this->part_vals.end(); ++_iter719) { - xfer += oprot->writeString(_iter705->first); - xfer += oprot->writeString(_iter705->second); + xfer += oprot->writeString(_iter719->first); + xfer += oprot->writeString(_iter719->second); } xfer += oprot->writeMapEnd(); } @@ -14254,11 +14254,11 @@ 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 _iter706; - for (_iter706 = (*(this->part_vals)).begin(); _iter706 != (*(this->part_vals)).end(); ++_iter706) + std::map ::const_iterator _iter720; + for (_iter720 = (*(this->part_vals)).begin(); _iter720 != (*(this->part_vals)).end(); ++_iter720) { - xfer += oprot->writeString(_iter706->first); - xfer += oprot->writeString(_iter706->second); + xfer += oprot->writeString(_iter720->first); + xfer += oprot->writeString(_iter720->second); } xfer += oprot->writeMapEnd(); } @@ -14509,17 +14509,17 @@ if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size707; - ::apache::thrift::protocol::TType _ktype708; - ::apache::thrift::protocol::TType _vtype709; - xfer += iprot->readMapBegin(_ktype708, _vtype709, _size707); - uint32_t _i711; - for (_i711 = 0; _i711 < _size707; ++_i711) + 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) { - std::string _key712; - xfer += iprot->readString(_key712); - std::string& _val713 = this->part_vals[_key712]; - xfer += iprot->readString(_val713); + std::string _key726; + xfer += iprot->readString(_key726); + std::string& _val727 = this->part_vals[_key726]; + xfer += iprot->readString(_val727); } xfer += iprot->readMapEnd(); } @@ -14530,9 +14530,9 @@ break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast714; - xfer += iprot->readI32(ecast714); - this->eventType = (PartitionEventType::type)ecast714; + int32_t ecast728; + xfer += iprot->readI32(ecast728); + this->eventType = (PartitionEventType::type)ecast728; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -14565,11 +14565,11 @@ 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 _iter715; - for (_iter715 = this->part_vals.begin(); _iter715 != this->part_vals.end(); ++_iter715) + std::map ::const_iterator _iter729; + for (_iter729 = this->part_vals.begin(); _iter729 != this->part_vals.end(); ++_iter729) { - xfer += oprot->writeString(_iter715->first); - xfer += oprot->writeString(_iter715->second); + xfer += oprot->writeString(_iter729->first); + xfer += oprot->writeString(_iter729->second); } xfer += oprot->writeMapEnd(); } @@ -14599,11 +14599,11 @@ 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 _iter716; - for (_iter716 = (*(this->part_vals)).begin(); _iter716 != (*(this->part_vals)).end(); ++_iter716) + std::map ::const_iterator _iter730; + for (_iter730 = (*(this->part_vals)).begin(); _iter730 != (*(this->part_vals)).end(); ++_iter730) { - xfer += oprot->writeString(_iter716->first); - xfer += oprot->writeString(_iter716->second); + xfer += oprot->writeString(_iter730->first); + xfer += oprot->writeString(_iter730->second); } xfer += oprot->writeMapEnd(); } @@ -15908,14 +15908,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size717; - ::apache::thrift::protocol::TType _etype720; - xfer += iprot->readListBegin(_etype720, _size717); - this->success.resize(_size717); - uint32_t _i721; - for (_i721 = 0; _i721 < _size717; ++_i721) + uint32_t _size731; + ::apache::thrift::protocol::TType _etype734; + xfer += iprot->readListBegin(_etype734, _size731); + this->success.resize(_size731); + uint32_t _i735; + for (_i735 = 0; _i735 < _size731; ++_i735) { - xfer += this->success[_i721].read(iprot); + xfer += this->success[_i735].read(iprot); } xfer += iprot->readListEnd(); } @@ -15962,10 +15962,10 @@ 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 _iter722; - for (_iter722 = this->success.begin(); _iter722 != this->success.end(); ++_iter722) + std::vector ::const_iterator _iter736; + for (_iter736 = this->success.begin(); _iter736 != this->success.end(); ++_iter736) { - xfer += (*_iter722).write(oprot); + xfer += (*_iter736).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16008,14 +16008,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size723; - ::apache::thrift::protocol::TType _etype726; - xfer += iprot->readListBegin(_etype726, _size723); - (*(this->success)).resize(_size723); - uint32_t _i727; - for (_i727 = 0; _i727 < _size723; ++_i727) + uint32_t _size737; + ::apache::thrift::protocol::TType _etype740; + xfer += iprot->readListBegin(_etype740, _size737); + (*(this->success)).resize(_size737); + uint32_t _i741; + for (_i741 = 0; _i741 < _size737; ++_i741) { - xfer += (*(this->success))[_i727].read(iprot); + xfer += (*(this->success))[_i741].read(iprot); } xfer += iprot->readListEnd(); } @@ -16174,14 +16174,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size728; - ::apache::thrift::protocol::TType _etype731; - xfer += iprot->readListBegin(_etype731, _size728); - this->success.resize(_size728); - uint32_t _i732; - for (_i732 = 0; _i732 < _size728; ++_i732) + uint32_t _size742; + ::apache::thrift::protocol::TType _etype745; + xfer += iprot->readListBegin(_etype745, _size742); + this->success.resize(_size742); + uint32_t _i746; + for (_i746 = 0; _i746 < _size742; ++_i746) { - xfer += iprot->readString(this->success[_i732]); + xfer += iprot->readString(this->success[_i746]); } xfer += iprot->readListEnd(); } @@ -16220,10 +16220,10 @@ 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 _iter733; - for (_iter733 = this->success.begin(); _iter733 != this->success.end(); ++_iter733) + std::vector ::const_iterator _iter747; + for (_iter747 = this->success.begin(); _iter747 != this->success.end(); ++_iter747) { - xfer += oprot->writeString((*_iter733)); + xfer += oprot->writeString((*_iter747)); } xfer += oprot->writeListEnd(); } @@ -16262,14 +16262,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size734; - ::apache::thrift::protocol::TType _etype737; - xfer += iprot->readListBegin(_etype737, _size734); - (*(this->success)).resize(_size734); - uint32_t _i738; - for (_i738 = 0; _i738 < _size734; ++_i738) + uint32_t _size748; + ::apache::thrift::protocol::TType _etype751; + xfer += iprot->readListBegin(_etype751, _size748); + (*(this->success)).resize(_size748); + uint32_t _i752; + for (_i752 = 0; _i752 < _size748; ++_i752) { - xfer += iprot->readString((*(this->success))[_i738]); + xfer += iprot->readString((*(this->success))[_i752]); } xfer += iprot->readListEnd(); } @@ -19054,14 +19054,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size739; - ::apache::thrift::protocol::TType _etype742; - xfer += iprot->readListBegin(_etype742, _size739); - this->success.resize(_size739); - uint32_t _i743; - for (_i743 = 0; _i743 < _size739; ++_i743) + 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 += iprot->readString(this->success[_i743]); + xfer += iprot->readString(this->success[_i757]); } xfer += iprot->readListEnd(); } @@ -19100,10 +19100,10 @@ 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 _iter744; - for (_iter744 = this->success.begin(); _iter744 != this->success.end(); ++_iter744) + std::vector ::const_iterator _iter758; + for (_iter758 = this->success.begin(); _iter758 != this->success.end(); ++_iter758) { - xfer += oprot->writeString((*_iter744)); + xfer += oprot->writeString((*_iter758)); } xfer += oprot->writeListEnd(); } @@ -19142,14 +19142,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size745; - ::apache::thrift::protocol::TType _etype748; - xfer += iprot->readListBegin(_etype748, _size745); - (*(this->success)).resize(_size745); - uint32_t _i749; - for (_i749 = 0; _i749 < _size745; ++_i749) + uint32_t _size759; + ::apache::thrift::protocol::TType _etype762; + xfer += iprot->readListBegin(_etype762, _size759); + (*(this->success)).resize(_size759); + uint32_t _i763; + for (_i763 = 0; _i763 < _size759; ++_i763) { - xfer += iprot->readString((*(this->success))[_i749]); + xfer += iprot->readString((*(this->success))[_i763]); } xfer += iprot->readListEnd(); } @@ -19829,14 +19829,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size750; - ::apache::thrift::protocol::TType _etype753; - xfer += iprot->readListBegin(_etype753, _size750); - this->success.resize(_size750); - uint32_t _i754; - for (_i754 = 0; _i754 < _size750; ++_i754) + 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[_i754]); + xfer += iprot->readString(this->success[_i768]); } xfer += iprot->readListEnd(); } @@ -19875,10 +19875,10 @@ 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 _iter755; - for (_iter755 = this->success.begin(); _iter755 != this->success.end(); ++_iter755) + std::vector ::const_iterator _iter769; + for (_iter769 = this->success.begin(); _iter769 != this->success.end(); ++_iter769) { - xfer += oprot->writeString((*_iter755)); + xfer += oprot->writeString((*_iter769)); } xfer += oprot->writeListEnd(); } @@ -19917,14 +19917,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size756; - ::apache::thrift::protocol::TType _etype759; - xfer += iprot->readListBegin(_etype759, _size756); - (*(this->success)).resize(_size756); - uint32_t _i760; - for (_i760 = 0; _i760 < _size756; ++_i760) + uint32_t _size770; + ::apache::thrift::protocol::TType _etype773; + xfer += iprot->readListBegin(_etype773, _size770); + (*(this->success)).resize(_size770); + uint32_t _i774; + for (_i774 = 0; _i774 < _size770; ++_i774) { - xfer += iprot->readString((*(this->success))[_i760]); + xfer += iprot->readString((*(this->success))[_i774]); } xfer += iprot->readListEnd(); } @@ -19991,9 +19991,9 @@ break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast761; - xfer += iprot->readI32(ecast761); - this->principal_type = (PrincipalType::type)ecast761; + int32_t ecast775; + xfer += iprot->readI32(ecast775); + this->principal_type = (PrincipalType::type)ecast775; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -20009,9 +20009,9 @@ break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast762; - xfer += iprot->readI32(ecast762); - this->grantorType = (PrincipalType::type)ecast762; + int32_t ecast776; + xfer += iprot->readI32(ecast776); + this->grantorType = (PrincipalType::type)ecast776; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -20257,9 +20257,9 @@ break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast763; - xfer += iprot->readI32(ecast763); - this->principal_type = (PrincipalType::type)ecast763; + int32_t ecast777; + xfer += iprot->readI32(ecast777); + this->principal_type = (PrincipalType::type)ecast777; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -20465,9 +20465,9 @@ break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast764; - xfer += iprot->readI32(ecast764); - this->principal_type = (PrincipalType::type)ecast764; + int32_t ecast778; + xfer += iprot->readI32(ecast778); + this->principal_type = (PrincipalType::type)ecast778; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -20543,14 +20543,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size765; - ::apache::thrift::protocol::TType _etype768; - xfer += iprot->readListBegin(_etype768, _size765); - this->success.resize(_size765); - uint32_t _i769; - for (_i769 = 0; _i769 < _size765; ++_i769) + uint32_t _size779; + ::apache::thrift::protocol::TType _etype782; + xfer += iprot->readListBegin(_etype782, _size779); + this->success.resize(_size779); + uint32_t _i783; + for (_i783 = 0; _i783 < _size779; ++_i783) { - xfer += this->success[_i769].read(iprot); + xfer += this->success[_i783].read(iprot); } xfer += iprot->readListEnd(); } @@ -20589,10 +20589,10 @@ 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 _iter770; - for (_iter770 = this->success.begin(); _iter770 != this->success.end(); ++_iter770) + std::vector ::const_iterator _iter784; + for (_iter784 = this->success.begin(); _iter784 != this->success.end(); ++_iter784) { - xfer += (*_iter770).write(oprot); + xfer += (*_iter784).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20631,14 +20631,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size771; - ::apache::thrift::protocol::TType _etype774; - xfer += iprot->readListBegin(_etype774, _size771); - (*(this->success)).resize(_size771); - uint32_t _i775; - for (_i775 = 0; _i775 < _size771; ++_i775) + uint32_t _size785; + ::apache::thrift::protocol::TType _etype788; + xfer += iprot->readListBegin(_etype788, _size785); + (*(this->success)).resize(_size785); + uint32_t _i789; + for (_i789 = 0; _i789 < _size785; ++_i789) { - xfer += (*(this->success))[_i775].read(iprot); + xfer += (*(this->success))[_i789].read(iprot); } xfer += iprot->readListEnd(); } @@ -21071,14 +21071,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size776; - ::apache::thrift::protocol::TType _etype779; - xfer += iprot->readListBegin(_etype779, _size776); - this->group_names.resize(_size776); - uint32_t _i780; - for (_i780 = 0; _i780 < _size776; ++_i780) + uint32_t _size790; + ::apache::thrift::protocol::TType _etype793; + xfer += iprot->readListBegin(_etype793, _size790); + this->group_names.resize(_size790); + uint32_t _i794; + for (_i794 = 0; _i794 < _size790; ++_i794) { - xfer += iprot->readString(this->group_names[_i780]); + xfer += iprot->readString(this->group_names[_i794]); } xfer += iprot->readListEnd(); } @@ -21114,10 +21114,10 @@ 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 _iter781; - for (_iter781 = this->group_names.begin(); _iter781 != this->group_names.end(); ++_iter781) + std::vector ::const_iterator _iter795; + for (_iter795 = this->group_names.begin(); _iter795 != this->group_names.end(); ++_iter795) { - xfer += oprot->writeString((*_iter781)); + xfer += oprot->writeString((*_iter795)); } xfer += oprot->writeListEnd(); } @@ -21143,10 +21143,10 @@ 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 _iter782; - for (_iter782 = (*(this->group_names)).begin(); _iter782 != (*(this->group_names)).end(); ++_iter782) + std::vector ::const_iterator _iter796; + for (_iter796 = (*(this->group_names)).begin(); _iter796 != (*(this->group_names)).end(); ++_iter796) { - xfer += oprot->writeString((*_iter782)); + xfer += oprot->writeString((*_iter796)); } xfer += oprot->writeListEnd(); } @@ -21303,9 +21303,9 @@ break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast783; - xfer += iprot->readI32(ecast783); - this->principal_type = (PrincipalType::type)ecast783; + int32_t ecast797; + xfer += iprot->readI32(ecast797); + this->principal_type = (PrincipalType::type)ecast797; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -21397,14 +21397,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size784; - ::apache::thrift::protocol::TType _etype787; - xfer += iprot->readListBegin(_etype787, _size784); - this->success.resize(_size784); - uint32_t _i788; - for (_i788 = 0; _i788 < _size784; ++_i788) + uint32_t _size798; + ::apache::thrift::protocol::TType _etype801; + xfer += iprot->readListBegin(_etype801, _size798); + this->success.resize(_size798); + uint32_t _i802; + for (_i802 = 0; _i802 < _size798; ++_i802) { - xfer += this->success[_i788].read(iprot); + xfer += this->success[_i802].read(iprot); } xfer += iprot->readListEnd(); } @@ -21443,10 +21443,10 @@ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter789; - for (_iter789 = this->success.begin(); _iter789 != this->success.end(); ++_iter789) + std::vector ::const_iterator _iter803; + for (_iter803 = this->success.begin(); _iter803 != this->success.end(); ++_iter803) { - xfer += (*_iter789).write(oprot); + xfer += (*_iter803).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21485,14 +21485,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size790; - ::apache::thrift::protocol::TType _etype793; - xfer += iprot->readListBegin(_etype793, _size790); - (*(this->success)).resize(_size790); - uint32_t _i794; - for (_i794 = 0; _i794 < _size790; ++_i794) + uint32_t _size804; + ::apache::thrift::protocol::TType _etype807; + xfer += iprot->readListBegin(_etype807, _size804); + (*(this->success)).resize(_size804); + uint32_t _i808; + for (_i808 = 0; _i808 < _size804; ++_i808) { - xfer += (*(this->success))[_i794].read(iprot); + xfer += (*(this->success))[_i808].read(iprot); } xfer += iprot->readListEnd(); } @@ -21917,14 +21917,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size795; - ::apache::thrift::protocol::TType _etype798; - xfer += iprot->readListBegin(_etype798, _size795); - this->group_names.resize(_size795); - uint32_t _i799; - for (_i799 = 0; _i799 < _size795; ++_i799) + uint32_t _size809; + ::apache::thrift::protocol::TType _etype812; + xfer += iprot->readListBegin(_etype812, _size809); + this->group_names.resize(_size809); + uint32_t _i813; + for (_i813 = 0; _i813 < _size809; ++_i813) { - xfer += iprot->readString(this->group_names[_i799]); + xfer += iprot->readString(this->group_names[_i813]); } xfer += iprot->readListEnd(); } @@ -21956,10 +21956,10 @@ 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 _iter800; - for (_iter800 = this->group_names.begin(); _iter800 != this->group_names.end(); ++_iter800) + std::vector ::const_iterator _iter814; + for (_iter814 = this->group_names.begin(); _iter814 != this->group_names.end(); ++_iter814) { - xfer += oprot->writeString((*_iter800)); + xfer += oprot->writeString((*_iter814)); } xfer += oprot->writeListEnd(); } @@ -21981,10 +21981,10 @@ 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 _iter801; - for (_iter801 = (*(this->group_names)).begin(); _iter801 != (*(this->group_names)).end(); ++_iter801) + std::vector ::const_iterator _iter815; + for (_iter815 = (*(this->group_names)).begin(); _iter815 != (*(this->group_names)).end(); ++_iter815) { - xfer += oprot->writeString((*_iter801)); + xfer += oprot->writeString((*_iter815)); } xfer += oprot->writeListEnd(); } @@ -22019,14 +22019,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size802; - ::apache::thrift::protocol::TType _etype805; - xfer += iprot->readListBegin(_etype805, _size802); - this->success.resize(_size802); - uint32_t _i806; - for (_i806 = 0; _i806 < _size802; ++_i806) + uint32_t _size816; + ::apache::thrift::protocol::TType _etype819; + xfer += iprot->readListBegin(_etype819, _size816); + this->success.resize(_size816); + uint32_t _i820; + for (_i820 = 0; _i820 < _size816; ++_i820) { - xfer += iprot->readString(this->success[_i806]); + xfer += iprot->readString(this->success[_i820]); } xfer += iprot->readListEnd(); } @@ -22065,10 +22065,10 @@ 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 _iter807; - for (_iter807 = this->success.begin(); _iter807 != this->success.end(); ++_iter807) + std::vector ::const_iterator _iter821; + for (_iter821 = this->success.begin(); _iter821 != this->success.end(); ++_iter821) { - xfer += oprot->writeString((*_iter807)); + xfer += oprot->writeString((*_iter821)); } xfer += oprot->writeListEnd(); } @@ -22107,14 +22107,14 @@ 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 _size822; + ::apache::thrift::protocol::TType _etype825; + xfer += iprot->readListBegin(_etype825, _size822); + (*(this->success)).resize(_size822); + uint32_t _i826; + for (_i826 = 0; _i826 < _size822; ++_i826) { - xfer += iprot->readString((*(this->success))[_i812]); + xfer += iprot->readString((*(this->success))[_i826]); } xfer += iprot->readListEnd(); } @@ -24443,6 +24443,168 @@ return xfer; } +uint32_t ThriftHiveMetastore_heartbeat_txn_range_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->txns.read(iprot); + this->__isset.txns = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t ThriftHiveMetastore_heartbeat_txn_range_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + xfer += oprot->writeStructBegin("ThriftHiveMetastore_heartbeat_txn_range_args"); + + xfer += oprot->writeFieldBegin("txns", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->txns.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +uint32_t ThriftHiveMetastore_heartbeat_txn_range_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + xfer += oprot->writeStructBegin("ThriftHiveMetastore_heartbeat_txn_range_pargs"); + + xfer += oprot->writeFieldBegin("txns", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += (*(this->txns)).write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +uint32_t ThriftHiveMetastore_heartbeat_txn_range_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_STRUCT) { + xfer += this->success.read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t ThriftHiveMetastore_heartbeat_txn_range_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("ThriftHiveMetastore_heartbeat_txn_range_result"); + + if (this->__isset.success) { + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); + xfer += this->success.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +uint32_t ThriftHiveMetastore_heartbeat_txn_range_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_STRUCT) { + xfer += (*(this->success)).read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + uint32_t ThriftHiveMetastore_compact_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -31442,6 +31604,64 @@ return; } +void ThriftHiveMetastoreClient::heartbeat_txn_range(HeartbeatTxnRangeResponse& _return, const HeartbeatTxnRangeRequest& txns) +{ + send_heartbeat_txn_range(txns); + recv_heartbeat_txn_range(_return); +} + +void ThriftHiveMetastoreClient::send_heartbeat_txn_range(const HeartbeatTxnRangeRequest& txns) +{ + int32_t cseqid = 0; + oprot_->writeMessageBegin("heartbeat_txn_range", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_heartbeat_txn_range_pargs args; + args.txns = &txns; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); +} + +void ThriftHiveMetastoreClient::recv_heartbeat_txn_range(HeartbeatTxnRangeResponse& _return) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + iprot_->readMessageBegin(fname, mtype, rseqid); + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("heartbeat_txn_range") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + ThriftHiveMetastore_heartbeat_txn_range_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + return; + } + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "heartbeat_txn_range failed: unknown result"); +} + void ThriftHiveMetastoreClient::compact(const CompactionRequest& rqst) { send_compact(rqst); @@ -37807,6 +38027,60 @@ } } +void ThriftHiveMetastoreProcessor::process_heartbeat_txn_range(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.heartbeat_txn_range", callContext); + } + ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "ThriftHiveMetastore.heartbeat_txn_range"); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->preRead(ctx, "ThriftHiveMetastore.heartbeat_txn_range"); + } + + ThriftHiveMetastore_heartbeat_txn_range_args args; + args.read(iprot); + iprot->readMessageEnd(); + uint32_t bytes = iprot->getTransport()->readEnd(); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->postRead(ctx, "ThriftHiveMetastore.heartbeat_txn_range", bytes); + } + + ThriftHiveMetastore_heartbeat_txn_range_result result; + try { + iface_->heartbeat_txn_range(result.success, args.txns); + result.__isset.success = true; + } catch (const std::exception& e) { + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->handlerError(ctx, "ThriftHiveMetastore.heartbeat_txn_range"); + } + + ::apache::thrift::TApplicationException x(e.what()); + oprot->writeMessageBegin("heartbeat_txn_range", ::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.heartbeat_txn_range"); + } + + oprot->writeMessageBegin("heartbeat_txn_range", ::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.heartbeat_txn_range", bytes); + } +} + void ThriftHiveMetastoreProcessor::process_compact(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) { void* ctx = NULL; Index: metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h =================================================================== --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h (revision 1583026) +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h (working copy) @@ -120,6 +120,7 @@ virtual void unlock(const UnlockRequest& rqst) = 0; virtual void show_locks(ShowLocksResponse& _return, const ShowLocksRequest& rqst) = 0; virtual void heartbeat(const HeartbeatRequest& ids) = 0; + virtual void heartbeat_txn_range(HeartbeatTxnRangeResponse& _return, const HeartbeatTxnRangeRequest& txns) = 0; virtual void compact(const CompactionRequest& rqst) = 0; virtual void show_compact(ShowCompactResponse& _return, const ShowCompactRequest& rqst) = 0; }; @@ -484,6 +485,9 @@ void heartbeat(const HeartbeatRequest& /* ids */) { return; } + void heartbeat_txn_range(HeartbeatTxnRangeResponse& /* _return */, const HeartbeatTxnRangeRequest& /* txns */) { + return; + } void compact(const CompactionRequest& /* rqst */) { return; } @@ -14886,6 +14890,114 @@ }; +typedef struct _ThriftHiveMetastore_heartbeat_txn_range_args__isset { + _ThriftHiveMetastore_heartbeat_txn_range_args__isset() : txns(false) {} + bool txns; +} _ThriftHiveMetastore_heartbeat_txn_range_args__isset; + +class ThriftHiveMetastore_heartbeat_txn_range_args { + public: + + ThriftHiveMetastore_heartbeat_txn_range_args() { + } + + virtual ~ThriftHiveMetastore_heartbeat_txn_range_args() throw() {} + + HeartbeatTxnRangeRequest txns; + + _ThriftHiveMetastore_heartbeat_txn_range_args__isset __isset; + + void __set_txns(const HeartbeatTxnRangeRequest& val) { + txns = val; + } + + bool operator == (const ThriftHiveMetastore_heartbeat_txn_range_args & rhs) const + { + if (!(txns == rhs.txns)) + return false; + return true; + } + bool operator != (const ThriftHiveMetastore_heartbeat_txn_range_args &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_heartbeat_txn_range_args & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class ThriftHiveMetastore_heartbeat_txn_range_pargs { + public: + + + virtual ~ThriftHiveMetastore_heartbeat_txn_range_pargs() throw() {} + + const HeartbeatTxnRangeRequest* txns; + + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _ThriftHiveMetastore_heartbeat_txn_range_result__isset { + _ThriftHiveMetastore_heartbeat_txn_range_result__isset() : success(false) {} + bool success; +} _ThriftHiveMetastore_heartbeat_txn_range_result__isset; + +class ThriftHiveMetastore_heartbeat_txn_range_result { + public: + + ThriftHiveMetastore_heartbeat_txn_range_result() { + } + + virtual ~ThriftHiveMetastore_heartbeat_txn_range_result() throw() {} + + HeartbeatTxnRangeResponse success; + + _ThriftHiveMetastore_heartbeat_txn_range_result__isset __isset; + + void __set_success(const HeartbeatTxnRangeResponse& val) { + success = val; + } + + bool operator == (const ThriftHiveMetastore_heartbeat_txn_range_result & rhs) const + { + if (!(success == rhs.success)) + return false; + return true; + } + bool operator != (const ThriftHiveMetastore_heartbeat_txn_range_result &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_heartbeat_txn_range_result & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _ThriftHiveMetastore_heartbeat_txn_range_presult__isset { + _ThriftHiveMetastore_heartbeat_txn_range_presult__isset() : success(false) {} + bool success; +} _ThriftHiveMetastore_heartbeat_txn_range_presult__isset; + +class ThriftHiveMetastore_heartbeat_txn_range_presult { + public: + + + virtual ~ThriftHiveMetastore_heartbeat_txn_range_presult() throw() {} + + HeartbeatTxnRangeResponse* success; + + _ThriftHiveMetastore_heartbeat_txn_range_presult__isset __isset; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + +}; + typedef struct _ThriftHiveMetastore_compact_args__isset { _ThriftHiveMetastore_compact_args__isset() : rqst(false) {} bool rqst; @@ -15406,6 +15518,9 @@ void heartbeat(const HeartbeatRequest& ids); void send_heartbeat(const HeartbeatRequest& ids); void recv_heartbeat(); + void heartbeat_txn_range(HeartbeatTxnRangeResponse& _return, const HeartbeatTxnRangeRequest& txns); + void send_heartbeat_txn_range(const HeartbeatTxnRangeRequest& txns); + void recv_heartbeat_txn_range(HeartbeatTxnRangeResponse& _return); void compact(const CompactionRequest& rqst); void send_compact(const CompactionRequest& rqst); void recv_compact(); @@ -15526,6 +15641,7 @@ void process_unlock(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_show_locks(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_heartbeat(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); + void process_heartbeat_txn_range(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_compact(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_show_compact(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); public: @@ -15636,6 +15752,7 @@ processMap_["unlock"] = &ThriftHiveMetastoreProcessor::process_unlock; processMap_["show_locks"] = &ThriftHiveMetastoreProcessor::process_show_locks; processMap_["heartbeat"] = &ThriftHiveMetastoreProcessor::process_heartbeat; + processMap_["heartbeat_txn_range"] = &ThriftHiveMetastoreProcessor::process_heartbeat_txn_range; processMap_["compact"] = &ThriftHiveMetastoreProcessor::process_compact; processMap_["show_compact"] = &ThriftHiveMetastoreProcessor::process_show_compact; } @@ -16667,6 +16784,16 @@ ifaces_[i]->heartbeat(ids); } + void heartbeat_txn_range(HeartbeatTxnRangeResponse& _return, const HeartbeatTxnRangeRequest& txns) { + size_t sz = ifaces_.size(); + size_t i = 0; + for (; i < (sz - 1); ++i) { + ifaces_[i]->heartbeat_txn_range(_return, txns); + } + ifaces_[i]->heartbeat_txn_range(_return, txns); + return; + } + void compact(const CompactionRequest& rqst) { size_t sz = ifaces_.size(); size_t i = 0; Index: metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp =================================================================== --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp (revision 1583026) +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp (working copy) @@ -542,6 +542,11 @@ printf("heartbeat\n"); } + void heartbeat_txn_range(HeartbeatTxnRangeResponse& _return, const HeartbeatTxnRangeRequest& txns) { + // Your implementation goes here + printf("heartbeat_txn_range\n"); + } + void compact(const CompactionRequest& rqst) { // Your implementation goes here printf("compact\n"); Index: metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp =================================================================== --- metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp (revision 1583026) +++ metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp (working copy) @@ -7623,6 +7623,208 @@ swap(a.__isset, b.__isset); } +const char* HeartbeatTxnRangeRequest::ascii_fingerprint = "F33135321253DAEB67B0E79E416CA831"; +const uint8_t HeartbeatTxnRangeRequest::binary_fingerprint[16] = {0xF3,0x31,0x35,0x32,0x12,0x53,0xDA,0xEB,0x67,0xB0,0xE7,0x9E,0x41,0x6C,0xA8,0x31}; + +uint32_t HeartbeatTxnRangeRequest::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; + + bool isset_min = false; + bool isset_max = false; + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->min); + isset_min = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->max); + isset_max = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + if (!isset_min) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_max) + throw TProtocolException(TProtocolException::INVALID_DATA); + return xfer; +} + +uint32_t HeartbeatTxnRangeRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + xfer += oprot->writeStructBegin("HeartbeatTxnRangeRequest"); + + xfer += oprot->writeFieldBegin("min", ::apache::thrift::protocol::T_I64, 1); + xfer += oprot->writeI64(this->min); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("max", ::apache::thrift::protocol::T_I64, 2); + xfer += oprot->writeI64(this->max); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(HeartbeatTxnRangeRequest &a, HeartbeatTxnRangeRequest &b) { + using ::std::swap; + swap(a.min, b.min); + swap(a.max, b.max); +} + +const char* HeartbeatTxnRangeResponse::ascii_fingerprint = "33E49A70BD5C04262A0F407E3656E3CF"; +const uint8_t HeartbeatTxnRangeResponse::binary_fingerprint[16] = {0x33,0xE4,0x9A,0x70,0xBD,0x5C,0x04,0x26,0x2A,0x0F,0x40,0x7E,0x36,0x56,0xE3,0xCF}; + +uint32_t HeartbeatTxnRangeResponse::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; + + bool isset_aborted = false; + bool isset_nosuch = false; + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_SET) { + { + this->aborted.clear(); + uint32_t _size337; + ::apache::thrift::protocol::TType _etype340; + xfer += iprot->readSetBegin(_etype340, _size337); + uint32_t _i341; + for (_i341 = 0; _i341 < _size337; ++_i341) + { + int64_t _elem342; + xfer += iprot->readI64(_elem342); + this->aborted.insert(_elem342); + } + xfer += iprot->readSetEnd(); + } + isset_aborted = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_SET) { + { + this->nosuch.clear(); + uint32_t _size343; + ::apache::thrift::protocol::TType _etype346; + xfer += iprot->readSetBegin(_etype346, _size343); + uint32_t _i347; + for (_i347 = 0; _i347 < _size343; ++_i347) + { + int64_t _elem348; + xfer += iprot->readI64(_elem348); + this->nosuch.insert(_elem348); + } + xfer += iprot->readSetEnd(); + } + isset_nosuch = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + if (!isset_aborted) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_nosuch) + throw TProtocolException(TProtocolException::INVALID_DATA); + return xfer; +} + +uint32_t HeartbeatTxnRangeResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + xfer += oprot->writeStructBegin("HeartbeatTxnRangeResponse"); + + 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 _iter349; + for (_iter349 = this->aborted.begin(); _iter349 != this->aborted.end(); ++_iter349) + { + xfer += oprot->writeI64((*_iter349)); + } + xfer += oprot->writeSetEnd(); + } + xfer += oprot->writeFieldEnd(); + + 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 _iter350; + for (_iter350 = this->nosuch.begin(); _iter350 != this->nosuch.end(); ++_iter350) + { + xfer += oprot->writeI64((*_iter350)); + } + xfer += oprot->writeSetEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(HeartbeatTxnRangeResponse &a, HeartbeatTxnRangeResponse &b) { + using ::std::swap; + swap(a.aborted, b.aborted); + swap(a.nosuch, b.nosuch); +} + const char* CompactionRequest::ascii_fingerprint = "899FD1F339D8318D628687CC2CE2864B"; const uint8_t CompactionRequest::binary_fingerprint[16] = {0x89,0x9F,0xD1,0xF3,0x39,0xD8,0x31,0x8D,0x62,0x86,0x87,0xCC,0x2C,0xE2,0x86,0x4B}; @@ -7675,9 +7877,9 @@ break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast337; - xfer += iprot->readI32(ecast337); - this->type = (CompactionType::type)ecast337; + int32_t ecast351; + xfer += iprot->readI32(ecast351); + this->type = (CompactionType::type)ecast351; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -7852,9 +8054,9 @@ break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast338; - xfer += iprot->readI32(ecast338); - this->type = (CompactionType::type)ecast338; + int32_t ecast352; + xfer += iprot->readI32(ecast352); + this->type = (CompactionType::type)ecast352; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -8001,14 +8203,14 @@ if (ftype == ::apache::thrift::protocol::T_LIST) { { this->compacts.clear(); - uint32_t _size339; - ::apache::thrift::protocol::TType _etype342; - xfer += iprot->readListBegin(_etype342, _size339); - this->compacts.resize(_size339); - uint32_t _i343; - for (_i343 = 0; _i343 < _size339; ++_i343) + uint32_t _size353; + ::apache::thrift::protocol::TType _etype356; + xfer += iprot->readListBegin(_etype356, _size353); + this->compacts.resize(_size353); + uint32_t _i357; + for (_i357 = 0; _i357 < _size353; ++_i357) { - xfer += this->compacts[_i343].read(iprot); + xfer += this->compacts[_i357].read(iprot); } xfer += iprot->readListEnd(); } @@ -8038,10 +8240,10 @@ 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 _iter344; - for (_iter344 = this->compacts.begin(); _iter344 != this->compacts.end(); ++_iter344) + std::vector ::const_iterator _iter358; + for (_iter358 = this->compacts.begin(); _iter358 != this->compacts.end(); ++_iter358) { - xfer += (*_iter344).write(oprot); + xfer += (*_iter358).write(oprot); } xfer += oprot->writeListEnd(); } Index: metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h =================================================================== --- metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h (revision 1583026) +++ metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h (working copy) @@ -4083,6 +4083,94 @@ void swap(HeartbeatRequest &a, HeartbeatRequest &b); + +class HeartbeatTxnRangeRequest { + public: + + static const char* ascii_fingerprint; // = "F33135321253DAEB67B0E79E416CA831"; + static const uint8_t binary_fingerprint[16]; // = {0xF3,0x31,0x35,0x32,0x12,0x53,0xDA,0xEB,0x67,0xB0,0xE7,0x9E,0x41,0x6C,0xA8,0x31}; + + HeartbeatTxnRangeRequest() : min(0), max(0) { + } + + virtual ~HeartbeatTxnRangeRequest() throw() {} + + int64_t min; + int64_t max; + + void __set_min(const int64_t val) { + min = val; + } + + void __set_max(const int64_t val) { + max = val; + } + + bool operator == (const HeartbeatTxnRangeRequest & rhs) const + { + if (!(min == rhs.min)) + return false; + if (!(max == rhs.max)) + return false; + return true; + } + bool operator != (const HeartbeatTxnRangeRequest &rhs) const { + return !(*this == rhs); + } + + bool operator < (const HeartbeatTxnRangeRequest & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +void swap(HeartbeatTxnRangeRequest &a, HeartbeatTxnRangeRequest &b); + + +class HeartbeatTxnRangeResponse { + public: + + static const char* ascii_fingerprint; // = "33E49A70BD5C04262A0F407E3656E3CF"; + static const uint8_t binary_fingerprint[16]; // = {0x33,0xE4,0x9A,0x70,0xBD,0x5C,0x04,0x26,0x2A,0x0F,0x40,0x7E,0x36,0x56,0xE3,0xCF}; + + HeartbeatTxnRangeResponse() { + } + + virtual ~HeartbeatTxnRangeResponse() throw() {} + + std::set aborted; + std::set nosuch; + + void __set_aborted(const std::set & val) { + aborted = val; + } + + void __set_nosuch(const std::set & val) { + nosuch = val; + } + + bool operator == (const HeartbeatTxnRangeResponse & rhs) const + { + if (!(aborted == rhs.aborted)) + return false; + if (!(nosuch == rhs.nosuch)) + return false; + return true; + } + bool operator != (const HeartbeatTxnRangeResponse &rhs) const { + return !(*this == rhs); + } + + bool operator < (const HeartbeatTxnRangeResponse & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +void swap(HeartbeatTxnRangeResponse &a, HeartbeatTxnRangeResponse &b); + typedef struct _CompactionRequest__isset { _CompactionRequest__isset() : partitionname(false), runas(false) {} bool partitionname; Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java (working copy) @@ -704,7 +704,7 @@ struct.parts = new ArrayList(_list338.size); for (int _i339 = 0; _i339 < _list338.size; ++_i339) { - Partition _elem340; // optional + Partition _elem340; // required _elem340 = new Partition(); _elem340.read(iprot); struct.parts.add(_elem340); @@ -824,7 +824,7 @@ struct.parts = new ArrayList(_list343.size); for (int _i344 = 0; _i344 < _list343.size; ++_i344) { - Partition _elem345; // optional + Partition _elem345; // required _elem345 = new Partition(); _elem345.read(iprot); struct.parts.add(_elem345); Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java (working copy) @@ -346,7 +346,7 @@ struct.partitions = new ArrayList(_list330.size); for (int _i331 = 0; _i331 < _list330.size; ++_i331) { - Partition _elem332; // optional + Partition _elem332; // required _elem332 = new Partition(); _elem332.read(iprot); struct.partitions.add(_elem332); @@ -428,7 +428,7 @@ struct.partitions = new ArrayList(_list335.size); for (int _i336 = 0; _i336 < _list335.size; ++_i336) { - Partition _elem337; // optional + Partition _elem337; // required _elem337 = new Partition(); _elem337.read(iprot); struct.partitions.add(_elem337); Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java (working copy) @@ -451,7 +451,7 @@ struct.statsObj = new ArrayList(_list236.size); for (int _i237 = 0; _i237 < _list236.size; ++_i237) { - ColumnStatisticsObj _elem238; // optional + ColumnStatisticsObj _elem238; // required _elem238 = new ColumnStatisticsObj(); _elem238.read(iprot); struct.statsObj.add(_elem238); @@ -531,7 +531,7 @@ struct.statsObj = new ArrayList(_list241.size); for (int _i242 = 0; _i242 < _list241.size; ++_i242) { - ColumnStatisticsObj _elem243; // optional + ColumnStatisticsObj _elem243; // required _elem243 = new ColumnStatisticsObj(); _elem243.read(iprot); struct.statsObj.add(_elem243); Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java (working copy) @@ -346,7 +346,7 @@ struct.partitions = new ArrayList(_list346.size); for (int _i347 = 0; _i347 < _list346.size; ++_i347) { - Partition _elem348; // optional + Partition _elem348; // required _elem348 = new Partition(); _elem348.read(iprot); struct.partitions.add(_elem348); @@ -428,7 +428,7 @@ struct.partitions = new ArrayList(_list351.size); for (int _i352 = 0; _i352 < _list351.size; ++_i352) { - Partition _elem353; // optional + Partition _elem353; // required _elem353 = new Partition(); _elem353.read(iprot); struct.partitions.add(_elem353); Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java (working copy) @@ -997,7 +997,7 @@ struct.resourceUris = new ArrayList(_list370.size); for (int _i371 = 0; _i371 < _list370.size; ++_i371) { - ResourceUri _elem372; // optional + ResourceUri _elem372; // required _elem372 = new ResourceUri(); _elem372.read(iprot); struct.resourceUris.add(_elem372); @@ -1180,7 +1180,7 @@ struct.resourceUris = new ArrayList(_list375.size); for (int _i376 = 0; _i376 < _list375.size; ++_i376) { - ResourceUri _elem377; // optional + ResourceUri _elem377; // required _elem377 = new ResourceUri(); _elem377.read(iprot); struct.resourceUris.add(_elem377); Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java (working copy) @@ -447,7 +447,7 @@ struct.open_txns = new ArrayList(_list378.size); for (int _i379 = 0; _i379 < _list378.size; ++_i379) { - TxnInfo _elem380; // optional + TxnInfo _elem380; // required _elem380 = new TxnInfo(); _elem380.read(iprot); struct.open_txns.add(_elem380); @@ -524,7 +524,7 @@ struct.open_txns = new ArrayList(_list383.size); for (int _i384 = 0; _i384 < _list383.size; ++_i384) { - TxnInfo _elem385; // optional + TxnInfo _elem385; // required _elem385 = new TxnInfo(); _elem385.read(iprot); struct.open_txns.add(_elem385); Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java (working copy) @@ -447,7 +447,7 @@ struct.open_txns = new HashSet(2*_set386.size); for (int _i387 = 0; _i387 < _set386.size; ++_i387) { - long _elem388; // optional + long _elem388; // required _elem388 = iprot.readI64(); struct.open_txns.add(_elem388); } @@ -523,7 +523,7 @@ struct.open_txns = new HashSet(2*_set391.size); for (int _i392 = 0; _i392 < _set391.size; ++_i392) { - long _elem393; // optional + long _elem393; // required _elem393 = iprot.readI64(); struct.open_txns.add(_elem393); } Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleResponse.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleResponse.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleResponse.java (working copy) @@ -354,7 +354,7 @@ struct.principalGrants = new ArrayList(_list86.size); for (int _i87 = 0; _i87 < _list86.size; ++_i87) { - RolePrincipalGrant _elem88; // optional + RolePrincipalGrant _elem88; // required _elem88 = new RolePrincipalGrant(); _elem88.read(iprot); struct.principalGrants.add(_elem88); @@ -425,7 +425,7 @@ struct.principalGrants = new ArrayList(_list91.size); for (int _i92 = 0; _i92 < _list91.size; ++_i92) { - RolePrincipalGrant _elem93; // optional + RolePrincipalGrant _elem93; // required _elem93 = new RolePrincipalGrant(); _elem93.read(iprot); struct.principalGrants.add(_elem93); Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalResponse.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalResponse.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalResponse.java (working copy) @@ -354,7 +354,7 @@ struct.principalGrants = new ArrayList(_list78.size); for (int _i79 = 0; _i79 < _list78.size; ++_i79) { - RolePrincipalGrant _elem80; // optional + RolePrincipalGrant _elem80; // required _elem80 = new RolePrincipalGrant(); _elem80.read(iprot); struct.principalGrants.add(_elem80); @@ -425,7 +425,7 @@ struct.principalGrants = new ArrayList(_list83.size); for (int _i84 = 0; _i84 < _list83.size; ++_i84) { - RolePrincipalGrant _elem85; // optional + RolePrincipalGrant _elem85; // required _elem85 = new RolePrincipalGrant(); _elem85.read(iprot); struct.principalGrants.add(_elem85); Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeRequest.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeRequest.java (revision 0) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeRequest.java (working copy) @@ -0,0 +1,478 @@ +/** + * 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 HeartbeatTxnRangeRequest 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("HeartbeatTxnRangeRequest"); + + private static final org.apache.thrift.protocol.TField MIN_FIELD_DESC = new org.apache.thrift.protocol.TField("min", org.apache.thrift.protocol.TType.I64, (short)1); + private static final org.apache.thrift.protocol.TField MAX_FIELD_DESC = new org.apache.thrift.protocol.TField("max", org.apache.thrift.protocol.TType.I64, (short)2); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new HeartbeatTxnRangeRequestStandardSchemeFactory()); + schemes.put(TupleScheme.class, new HeartbeatTxnRangeRequestTupleSchemeFactory()); + } + + private long min; // required + private long max; // 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 { + MIN((short)1, "min"), + MAX((short)2, "max"); + + 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: // MIN + return MIN; + case 2: // MAX + return MAX; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __MIN_ISSET_ID = 0; + private static final int __MAX_ISSET_ID = 1; + 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.MIN, new org.apache.thrift.meta_data.FieldMetaData("min", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.MAX, new org.apache.thrift.meta_data.FieldMetaData("max", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(HeartbeatTxnRangeRequest.class, metaDataMap); + } + + public HeartbeatTxnRangeRequest() { + } + + public HeartbeatTxnRangeRequest( + long min, + long max) + { + this(); + this.min = min; + setMinIsSet(true); + this.max = max; + setMaxIsSet(true); + } + + /** + * Performs a deep copy on other. + */ + public HeartbeatTxnRangeRequest(HeartbeatTxnRangeRequest other) { + __isset_bitfield = other.__isset_bitfield; + this.min = other.min; + this.max = other.max; + } + + public HeartbeatTxnRangeRequest deepCopy() { + return new HeartbeatTxnRangeRequest(this); + } + + @Override + public void clear() { + setMinIsSet(false); + this.min = 0; + setMaxIsSet(false); + this.max = 0; + } + + public long getMin() { + return this.min; + } + + public void setMin(long min) { + this.min = min; + setMinIsSet(true); + } + + public void unsetMin() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __MIN_ISSET_ID); + } + + /** Returns true if field min is set (has been assigned a value) and false otherwise */ + public boolean isSetMin() { + return EncodingUtils.testBit(__isset_bitfield, __MIN_ISSET_ID); + } + + public void setMinIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __MIN_ISSET_ID, value); + } + + public long getMax() { + return this.max; + } + + public void setMax(long max) { + this.max = max; + setMaxIsSet(true); + } + + public void unsetMax() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __MAX_ISSET_ID); + } + + /** Returns true if field max is set (has been assigned a value) and false otherwise */ + public boolean isSetMax() { + return EncodingUtils.testBit(__isset_bitfield, __MAX_ISSET_ID); + } + + public void setMaxIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __MAX_ISSET_ID, value); + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case MIN: + if (value == null) { + unsetMin(); + } else { + setMin((Long)value); + } + break; + + case MAX: + if (value == null) { + unsetMax(); + } else { + setMax((Long)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case MIN: + return Long.valueOf(getMin()); + + case MAX: + return Long.valueOf(getMax()); + + } + 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 MIN: + return isSetMin(); + case MAX: + return isSetMax(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof HeartbeatTxnRangeRequest) + return this.equals((HeartbeatTxnRangeRequest)that); + return false; + } + + public boolean equals(HeartbeatTxnRangeRequest that) { + if (that == null) + return false; + + boolean this_present_min = true; + boolean that_present_min = true; + if (this_present_min || that_present_min) { + if (!(this_present_min && that_present_min)) + return false; + if (this.min != that.min) + return false; + } + + boolean this_present_max = true; + boolean that_present_max = true; + if (this_present_max || that_present_max) { + if (!(this_present_max && that_present_max)) + return false; + if (this.max != that.max) + return false; + } + + return true; + } + + @Override + public int hashCode() { + HashCodeBuilder builder = new HashCodeBuilder(); + + boolean present_min = true; + builder.append(present_min); + if (present_min) + builder.append(min); + + boolean present_max = true; + builder.append(present_max); + if (present_max) + builder.append(max); + + return builder.toHashCode(); + } + + public int compareTo(HeartbeatTxnRangeRequest other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + HeartbeatTxnRangeRequest typedOther = (HeartbeatTxnRangeRequest)other; + + lastComparison = Boolean.valueOf(isSetMin()).compareTo(typedOther.isSetMin()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetMin()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.min, typedOther.min); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetMax()).compareTo(typedOther.isSetMax()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetMax()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.max, typedOther.max); + 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("HeartbeatTxnRangeRequest("); + boolean first = true; + + sb.append("min:"); + sb.append(this.min); + first = false; + if (!first) sb.append(", "); + sb.append("max:"); + sb.append(this.max); + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + if (!isSetMin()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'min' is unset! Struct:" + toString()); + } + + if (!isSetMax()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'max' 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 { + // 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 HeartbeatTxnRangeRequestStandardSchemeFactory implements SchemeFactory { + public HeartbeatTxnRangeRequestStandardScheme getScheme() { + return new HeartbeatTxnRangeRequestStandardScheme(); + } + } + + private static class HeartbeatTxnRangeRequestStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, HeartbeatTxnRangeRequest 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: // MIN + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.min = iprot.readI64(); + struct.setMinIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // MAX + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.max = iprot.readI64(); + struct.setMaxIsSet(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, HeartbeatTxnRangeRequest struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(MIN_FIELD_DESC); + oprot.writeI64(struct.min); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(MAX_FIELD_DESC); + oprot.writeI64(struct.max); + oprot.writeFieldEnd(); + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class HeartbeatTxnRangeRequestTupleSchemeFactory implements SchemeFactory { + public HeartbeatTxnRangeRequestTupleScheme getScheme() { + return new HeartbeatTxnRangeRequestTupleScheme(); + } + } + + private static class HeartbeatTxnRangeRequestTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeRequest struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + oprot.writeI64(struct.min); + oprot.writeI64(struct.max); + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeRequest struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + struct.min = iprot.readI64(); + struct.setMinIsSet(true); + struct.max = iprot.readI64(); + struct.setMaxIsSet(true); + } + } + +} + Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java (revision 0) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java (working copy) @@ -0,0 +1,590 @@ +/** + * 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 HeartbeatTxnRangeResponse 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("HeartbeatTxnRangeResponse"); + + private static final org.apache.thrift.protocol.TField ABORTED_FIELD_DESC = new org.apache.thrift.protocol.TField("aborted", org.apache.thrift.protocol.TType.SET, (short)1); + private static final org.apache.thrift.protocol.TField NOSUCH_FIELD_DESC = new org.apache.thrift.protocol.TField("nosuch", org.apache.thrift.protocol.TType.SET, (short)2); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new HeartbeatTxnRangeResponseStandardSchemeFactory()); + schemes.put(TupleScheme.class, new HeartbeatTxnRangeResponseTupleSchemeFactory()); + } + + private Set aborted; // required + private Set nosuch; // 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 { + ABORTED((short)1, "aborted"), + NOSUCH((short)2, "nosuch"); + + 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: // ABORTED + return ABORTED; + case 2: // NOSUCH + return NOSUCH; + 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.ABORTED, new org.apache.thrift.meta_data.FieldMetaData("aborted", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.SetMetaData(org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.NOSUCH, new org.apache.thrift.meta_data.FieldMetaData("nosuch", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.SetMetaData(org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(HeartbeatTxnRangeResponse.class, metaDataMap); + } + + public HeartbeatTxnRangeResponse() { + } + + public HeartbeatTxnRangeResponse( + Set aborted, + Set nosuch) + { + this(); + this.aborted = aborted; + this.nosuch = nosuch; + } + + /** + * Performs a deep copy on other. + */ + public HeartbeatTxnRangeResponse(HeartbeatTxnRangeResponse other) { + if (other.isSetAborted()) { + Set __this__aborted = new HashSet(); + for (Long other_element : other.aborted) { + __this__aborted.add(other_element); + } + this.aborted = __this__aborted; + } + if (other.isSetNosuch()) { + Set __this__nosuch = new HashSet(); + for (Long other_element : other.nosuch) { + __this__nosuch.add(other_element); + } + this.nosuch = __this__nosuch; + } + } + + public HeartbeatTxnRangeResponse deepCopy() { + return new HeartbeatTxnRangeResponse(this); + } + + @Override + public void clear() { + this.aborted = null; + this.nosuch = null; + } + + public int getAbortedSize() { + return (this.aborted == null) ? 0 : this.aborted.size(); + } + + public java.util.Iterator getAbortedIterator() { + return (this.aborted == null) ? null : this.aborted.iterator(); + } + + public void addToAborted(long elem) { + if (this.aborted == null) { + this.aborted = new HashSet(); + } + this.aborted.add(elem); + } + + public Set getAborted() { + return this.aborted; + } + + public void setAborted(Set aborted) { + this.aborted = aborted; + } + + public void unsetAborted() { + this.aborted = null; + } + + /** Returns true if field aborted is set (has been assigned a value) and false otherwise */ + public boolean isSetAborted() { + return this.aborted != null; + } + + public void setAbortedIsSet(boolean value) { + if (!value) { + this.aborted = null; + } + } + + public int getNosuchSize() { + return (this.nosuch == null) ? 0 : this.nosuch.size(); + } + + public java.util.Iterator getNosuchIterator() { + return (this.nosuch == null) ? null : this.nosuch.iterator(); + } + + public void addToNosuch(long elem) { + if (this.nosuch == null) { + this.nosuch = new HashSet(); + } + this.nosuch.add(elem); + } + + public Set getNosuch() { + return this.nosuch; + } + + public void setNosuch(Set nosuch) { + this.nosuch = nosuch; + } + + public void unsetNosuch() { + this.nosuch = null; + } + + /** Returns true if field nosuch is set (has been assigned a value) and false otherwise */ + public boolean isSetNosuch() { + return this.nosuch != null; + } + + public void setNosuchIsSet(boolean value) { + if (!value) { + this.nosuch = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case ABORTED: + if (value == null) { + unsetAborted(); + } else { + setAborted((Set)value); + } + break; + + case NOSUCH: + if (value == null) { + unsetNosuch(); + } else { + setNosuch((Set)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case ABORTED: + return getAborted(); + + case NOSUCH: + return getNosuch(); + + } + 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 ABORTED: + return isSetAborted(); + case NOSUCH: + return isSetNosuch(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof HeartbeatTxnRangeResponse) + return this.equals((HeartbeatTxnRangeResponse)that); + return false; + } + + public boolean equals(HeartbeatTxnRangeResponse that) { + if (that == null) + return false; + + boolean this_present_aborted = true && this.isSetAborted(); + boolean that_present_aborted = true && that.isSetAborted(); + if (this_present_aborted || that_present_aborted) { + if (!(this_present_aborted && that_present_aborted)) + return false; + if (!this.aborted.equals(that.aborted)) + return false; + } + + boolean this_present_nosuch = true && this.isSetNosuch(); + boolean that_present_nosuch = true && that.isSetNosuch(); + if (this_present_nosuch || that_present_nosuch) { + if (!(this_present_nosuch && that_present_nosuch)) + return false; + if (!this.nosuch.equals(that.nosuch)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + HashCodeBuilder builder = new HashCodeBuilder(); + + boolean present_aborted = true && (isSetAborted()); + builder.append(present_aborted); + if (present_aborted) + builder.append(aborted); + + boolean present_nosuch = true && (isSetNosuch()); + builder.append(present_nosuch); + if (present_nosuch) + builder.append(nosuch); + + return builder.toHashCode(); + } + + public int compareTo(HeartbeatTxnRangeResponse other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + HeartbeatTxnRangeResponse typedOther = (HeartbeatTxnRangeResponse)other; + + lastComparison = Boolean.valueOf(isSetAborted()).compareTo(typedOther.isSetAborted()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetAborted()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.aborted, typedOther.aborted); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetNosuch()).compareTo(typedOther.isSetNosuch()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetNosuch()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nosuch, typedOther.nosuch); + 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("HeartbeatTxnRangeResponse("); + boolean first = true; + + sb.append("aborted:"); + if (this.aborted == null) { + sb.append("null"); + } else { + sb.append(this.aborted); + } + first = false; + if (!first) sb.append(", "); + sb.append("nosuch:"); + if (this.nosuch == null) { + sb.append("null"); + } else { + sb.append(this.nosuch); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + if (!isSetAborted()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'aborted' is unset! Struct:" + toString()); + } + + if (!isSetNosuch()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'nosuch' 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 HeartbeatTxnRangeResponseStandardSchemeFactory implements SchemeFactory { + public HeartbeatTxnRangeResponseStandardScheme getScheme() { + return new HeartbeatTxnRangeResponseStandardScheme(); + } + } + + private static class HeartbeatTxnRangeResponseStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, HeartbeatTxnRangeResponse 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: // ABORTED + if (schemeField.type == org.apache.thrift.protocol.TType.SET) { + { + org.apache.thrift.protocol.TSet _set418 = iprot.readSetBegin(); + struct.aborted = new HashSet(2*_set418.size); + for (int _i419 = 0; _i419 < _set418.size; ++_i419) + { + long _elem420; // required + _elem420 = iprot.readI64(); + struct.aborted.add(_elem420); + } + iprot.readSetEnd(); + } + struct.setAbortedIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // NOSUCH + if (schemeField.type == org.apache.thrift.protocol.TType.SET) { + { + org.apache.thrift.protocol.TSet _set421 = iprot.readSetBegin(); + struct.nosuch = new HashSet(2*_set421.size); + for (int _i422 = 0; _i422 < _set421.size; ++_i422) + { + long _elem423; // required + _elem423 = iprot.readI64(); + struct.nosuch.add(_elem423); + } + iprot.readSetEnd(); + } + struct.setNosuchIsSet(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, HeartbeatTxnRangeResponse struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.aborted != null) { + oprot.writeFieldBegin(ABORTED_FIELD_DESC); + { + oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.aborted.size())); + for (long _iter424 : struct.aborted) + { + oprot.writeI64(_iter424); + } + oprot.writeSetEnd(); + } + oprot.writeFieldEnd(); + } + if (struct.nosuch != null) { + oprot.writeFieldBegin(NOSUCH_FIELD_DESC); + { + oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.nosuch.size())); + for (long _iter425 : struct.nosuch) + { + oprot.writeI64(_iter425); + } + oprot.writeSetEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class HeartbeatTxnRangeResponseTupleSchemeFactory implements SchemeFactory { + public HeartbeatTxnRangeResponseTupleScheme getScheme() { + return new HeartbeatTxnRangeResponseTupleScheme(); + } + } + + private static class HeartbeatTxnRangeResponseTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeResponse struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + { + oprot.writeI32(struct.aborted.size()); + for (long _iter426 : struct.aborted) + { + oprot.writeI64(_iter426); + } + } + { + oprot.writeI32(struct.nosuch.size()); + for (long _iter427 : struct.nosuch) + { + oprot.writeI64(_iter427); + } + } + } + + @Override + 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 _set428 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.aborted = new HashSet(2*_set428.size); + for (int _i429 = 0; _i429 < _set428.size; ++_i429) + { + long _elem430; // required + _elem430 = iprot.readI64(); + struct.aborted.add(_elem430); + } + } + struct.setAbortedIsSet(true); + { + org.apache.thrift.protocol.TSet _set431 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.nosuch = new HashSet(2*_set431.size); + for (int _i432 = 0; _i432 < _set431.size; ++_i432) + { + long _elem433; // required + _elem433 = iprot.readI64(); + struct.nosuch.add(_elem433); + } + } + struct.setNosuchIsSet(true); + } + } + +} + Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java (working copy) @@ -710,7 +710,7 @@ struct.partValues = new ArrayList(_list8.size); for (int _i9 = 0; _i9 < _list8.size; ++_i9) { - String _elem10; // optional + String _elem10; // required _elem10 = iprot.readString(); struct.partValues.add(_elem10); } @@ -853,7 +853,7 @@ struct.partValues = new ArrayList(_list13.size); for (int _i14 = 0; _i14 < _list13.size; ++_i14) { - String _elem15; // optional + String _elem15; // required _elem15 = iprot.readString(); struct.partValues.add(_elem15); } Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java (working copy) @@ -605,7 +605,7 @@ struct.component = new ArrayList(_list402.size); for (int _i403 = 0; _i403 < _list402.size; ++_i403) { - LockComponent _elem404; // optional + LockComponent _elem404; // required _elem404 = new LockComponent(); _elem404.read(iprot); struct.component.add(_elem404); @@ -725,7 +725,7 @@ struct.component = new ArrayList(_list407.size); for (int _i408 = 0; _i408 < _list407.size; ++_i408) { - LockComponent _elem409; // optional + LockComponent _elem409; // required _elem409 = new LockComponent(); _elem409.read(iprot); struct.component.add(_elem409); Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java (working copy) @@ -354,7 +354,7 @@ struct.txn_ids = new ArrayList(_list394.size); for (int _i395 = 0; _i395 < _list394.size; ++_i395) { - long _elem396; // optional + long _elem396; // required _elem396 = iprot.readI64(); struct.txn_ids.add(_elem396); } @@ -424,7 +424,7 @@ struct.txn_ids = new ArrayList(_list399.size); for (int _i400 = 0; _i400 < _list399.size; ++_i400) { - long _elem401; // optional + long _elem401; // required _elem401 = iprot.readI64(); struct.txn_ids.add(_elem401); } Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java (working copy) @@ -945,7 +945,7 @@ struct.values = new ArrayList(_list208.size); for (int _i209 = 0; _i209 < _list208.size; ++_i209) { - String _elem210; // optional + String _elem210; // required _elem210 = iprot.readString(); struct.values.add(_elem210); } @@ -1184,7 +1184,7 @@ struct.values = new ArrayList(_list219.size); for (int _i220 = 0; _i220 < _list219.size; ++_i220) { - String _elem221; // optional + String _elem221; // required _elem221 = iprot.readString(); struct.values.add(_elem221); } Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java (working copy) @@ -439,7 +439,7 @@ struct.partitions = new ArrayList(_list272.size); for (int _i273 = 0; _i273 < _list272.size; ++_i273) { - Partition _elem274; // optional + Partition _elem274; // required _elem274 = new Partition(); _elem274.read(iprot); struct.partitions.add(_elem274); @@ -522,7 +522,7 @@ struct.partitions = new ArrayList(_list277.size); for (int _i278 = 0; _i278 < _list277.size; ++_i278) { - Partition _elem279; // optional + Partition _elem279; // required _elem279 = new Partition(); _elem279.read(iprot); struct.partitions.add(_elem279); Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java (working copy) @@ -645,7 +645,7 @@ struct.colNames = new ArrayList(_list314.size); for (int _i315 = 0; _i315 < _list314.size; ++_i315) { - String _elem316; // optional + String _elem316; // required _elem316 = iprot.readString(); struct.colNames.add(_elem316); } @@ -663,7 +663,7 @@ struct.partNames = new ArrayList(_list317.size); for (int _i318 = 0; _i318 < _list317.size; ++_i318) { - String _elem319; // optional + String _elem319; // required _elem319 = iprot.readString(); struct.partNames.add(_elem319); } @@ -768,7 +768,7 @@ struct.colNames = new ArrayList(_list324.size); for (int _i325 = 0; _i325 < _list324.size; ++_i325) { - String _elem326; // optional + String _elem326; // required _elem326 = iprot.readString(); struct.colNames.add(_elem326); } @@ -779,7 +779,7 @@ struct.partNames = new ArrayList(_list327.size); for (int _i328 = 0; _i328 < _list327.size; ++_i328) { - String _elem329; // optional + String _elem329; // required _elem329 = iprot.readString(); struct.partNames.add(_elem329); } Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java (working copy) @@ -371,7 +371,7 @@ _val291 = new ArrayList(_list292.size); for (int _i293 = 0; _i293 < _list292.size; ++_i293) { - ColumnStatisticsObj _elem294; // optional + ColumnStatisticsObj _elem294; // required _elem294 = new ColumnStatisticsObj(); _elem294.read(iprot); _val291.add(_elem294); @@ -469,7 +469,7 @@ _val302 = new ArrayList(_list303.size); for (int _i304 = 0; _i304 < _list303.size; ++_i304) { - ColumnStatisticsObj _elem305; // optional + ColumnStatisticsObj _elem305; // required _elem305 = new ColumnStatisticsObj(); _elem305.read(iprot); _val302.add(_elem305); Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java (working copy) @@ -587,7 +587,7 @@ _val27 = new ArrayList(_list28.size); for (int _i29 = 0; _i29 < _list28.size; ++_i29) { - PrivilegeGrantInfo _elem30; // optional + PrivilegeGrantInfo _elem30; // required _elem30 = new PrivilegeGrantInfo(); _elem30.read(iprot); _val27.add(_elem30); @@ -618,7 +618,7 @@ _val34 = new ArrayList(_list35.size); for (int _i36 = 0; _i36 < _list35.size; ++_i36) { - PrivilegeGrantInfo _elem37; // optional + PrivilegeGrantInfo _elem37; // required _elem37 = new PrivilegeGrantInfo(); _elem37.read(iprot); _val34.add(_elem37); @@ -649,7 +649,7 @@ _val41 = new ArrayList(_list42.size); for (int _i43 = 0; _i43 < _list42.size; ++_i43) { - PrivilegeGrantInfo _elem44; // optional + PrivilegeGrantInfo _elem44; // required _elem44 = new PrivilegeGrantInfo(); _elem44.read(iprot); _val41.add(_elem44); @@ -834,7 +834,7 @@ _val60 = new ArrayList(_list61.size); for (int _i62 = 0; _i62 < _list61.size; ++_i62) { - PrivilegeGrantInfo _elem63; // optional + PrivilegeGrantInfo _elem63; // required _elem63 = new PrivilegeGrantInfo(); _elem63.read(iprot); _val60.add(_elem63); @@ -859,7 +859,7 @@ _val67 = new ArrayList(_list68.size); for (int _i69 = 0; _i69 < _list68.size; ++_i69) { - PrivilegeGrantInfo _elem70; // optional + PrivilegeGrantInfo _elem70; // required _elem70 = new PrivilegeGrantInfo(); _elem70.read(iprot); _val67.add(_elem70); @@ -884,7 +884,7 @@ _val74 = new ArrayList(_list75.size); for (int _i76 = 0; _i76 < _list75.size; ++_i76) { - PrivilegeGrantInfo _elem77; // optional + PrivilegeGrantInfo _elem77; // required _elem77 = new PrivilegeGrantInfo(); _elem77.read(iprot); _val74.add(_elem77); Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java (working copy) @@ -350,7 +350,7 @@ struct.privileges = new ArrayList(_list16.size); for (int _i17 = 0; _i17 < _list16.size; ++_i17) { - HiveObjectPrivilege _elem18; // optional + HiveObjectPrivilege _elem18; // required _elem18 = new HiveObjectPrivilege(); _elem18.read(iprot); struct.privileges.add(_elem18); @@ -430,7 +430,7 @@ struct.privileges = new ArrayList(_list21.size); for (int _i22 = 0; _i22 < _list21.size; ++_i22) { - HiveObjectPrivilege _elem23; // optional + HiveObjectPrivilege _elem23; // required _elem23 = new HiveObjectPrivilege(); _elem23.read(iprot); struct.privileges.add(_elem23); Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java (working copy) @@ -169,7 +169,7 @@ names = new ArrayList(_list354.size); for (int _i355 = 0; _i355 < _list354.size; ++_i355) { - String _elem356; // optional + String _elem356; // required _elem356 = iprot.readString(); names.add(_elem356); } @@ -188,7 +188,7 @@ exprs = new ArrayList(_list357.size); for (int _i358 = 0; _i358 < _list357.size; ++_i358) { - DropPartitionsExpr _elem359; // optional + DropPartitionsExpr _elem359; // required _elem359 = new DropPartitionsExpr(); _elem359.read(iprot); exprs.add(_elem359); @@ -250,7 +250,7 @@ names = new ArrayList(_list362.size); for (int _i363 = 0; _i363 < _list362.size; ++_i363) { - String _elem364; // optional + String _elem364; // required _elem364 = iprot.readString(); names.add(_elem364); } @@ -264,7 +264,7 @@ exprs = new ArrayList(_list365.size); for (int _i366 = 0; _i366 < _list365.size; ++_i366) { - DropPartitionsExpr _elem367; // optional + DropPartitionsExpr _elem367; // required _elem367 = new DropPartitionsExpr(); _elem367.read(iprot); exprs.add(_elem367); Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java (working copy) @@ -456,7 +456,7 @@ struct.fieldSchemas = new ArrayList(_list244.size); for (int _i245 = 0; _i245 < _list244.size; ++_i245) { - FieldSchema _elem246; // optional + FieldSchema _elem246; // required _elem246 = new FieldSchema(); _elem246.read(iprot); struct.fieldSchemas.add(_elem246); @@ -582,7 +582,7 @@ struct.fieldSchemas = new ArrayList(_list255.size); for (int _i256 = 0; _i256 < _list255.size; ++_i256) { - FieldSchema _elem257; // optional + FieldSchema _elem257; // required _elem257 = new FieldSchema(); _elem257.read(iprot); struct.fieldSchemas.add(_elem257); Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java (working copy) @@ -350,14 +350,14 @@ case 1: // COMPACTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list418 = iprot.readListBegin(); - struct.compacts = new ArrayList(_list418.size); - for (int _i419 = 0; _i419 < _list418.size; ++_i419) + org.apache.thrift.protocol.TList _list434 = iprot.readListBegin(); + struct.compacts = new ArrayList(_list434.size); + for (int _i435 = 0; _i435 < _list434.size; ++_i435) { - ShowCompactResponseElement _elem420; // optional - _elem420 = new ShowCompactResponseElement(); - _elem420.read(iprot); - struct.compacts.add(_elem420); + ShowCompactResponseElement _elem436; // required + _elem436 = new ShowCompactResponseElement(); + _elem436.read(iprot); + struct.compacts.add(_elem436); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ oprot.writeFieldBegin(COMPACTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.compacts.size())); - for (ShowCompactResponseElement _iter421 : struct.compacts) + for (ShowCompactResponseElement _iter437 : struct.compacts) { - _iter421.write(oprot); + _iter437.write(oprot); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.compacts.size()); - for (ShowCompactResponseElement _iter422 : struct.compacts) + for (ShowCompactResponseElement _iter438 : struct.compacts) { - _iter422.write(oprot); + _iter438.write(oprot); } } } @@ -421,14 +421,14 @@ 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 _list423 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.compacts = new ArrayList(_list423.size); - for (int _i424 = 0; _i424 < _list423.size; ++_i424) + org.apache.thrift.protocol.TList _list439 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.compacts = new ArrayList(_list439.size); + for (int _i440 = 0; _i440 < _list439.size; ++_i440) { - ShowCompactResponseElement _elem425; // optional - _elem425 = new ShowCompactResponseElement(); - _elem425.read(iprot); - struct.compacts.add(_elem425); + ShowCompactResponseElement _elem441; // required + _elem441 = new ShowCompactResponseElement(); + _elem441.read(iprot); + struct.compacts.add(_elem441); } } struct.setCompactsIsSet(true); Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java (working copy) @@ -350,7 +350,7 @@ struct.locks = new ArrayList(_list410.size); for (int _i411 = 0; _i411 < _list410.size; ++_i411) { - ShowLocksResponseElement _elem412; // optional + ShowLocksResponseElement _elem412; // required _elem412 = new ShowLocksResponseElement(); _elem412.read(iprot); struct.locks.add(_elem412); @@ -430,7 +430,7 @@ struct.locks = new ArrayList(_list415.size); for (int _i416 = 0; _i416 < _list415.size; ++_i416) { - ShowLocksResponseElement _elem417; // optional + ShowLocksResponseElement _elem417; // required _elem417 = new ShowLocksResponseElement(); _elem417.read(iprot); struct.locks.add(_elem417); Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java (working copy) @@ -566,7 +566,7 @@ struct.skewedColNames = new ArrayList(_list114.size); for (int _i115 = 0; _i115 < _list114.size; ++_i115) { - String _elem116; // optional + String _elem116; // required _elem116 = iprot.readString(); struct.skewedColNames.add(_elem116); } @@ -584,13 +584,13 @@ struct.skewedColValues = new ArrayList>(_list117.size); for (int _i118 = 0; _i118 < _list117.size; ++_i118) { - List _elem119; // optional + List _elem119; // required { org.apache.thrift.protocol.TList _list120 = iprot.readListBegin(); _elem119 = new ArrayList(_list120.size); for (int _i121 = 0; _i121 < _list120.size; ++_i121) { - String _elem122; // optional + String _elem122; // required _elem122 = iprot.readString(); _elem119.add(_elem122); } @@ -619,7 +619,7 @@ _key125 = new ArrayList(_list127.size); for (int _i128 = 0; _i128 < _list127.size; ++_i128) { - String _elem129; // optional + String _elem129; // required _elem129 = iprot.readString(); _key125.add(_elem129); } @@ -779,7 +779,7 @@ struct.skewedColNames = new ArrayList(_list140.size); for (int _i141 = 0; _i141 < _list140.size; ++_i141) { - String _elem142; // optional + String _elem142; // required _elem142 = iprot.readString(); struct.skewedColNames.add(_elem142); } @@ -792,13 +792,13 @@ struct.skewedColValues = new ArrayList>(_list143.size); for (int _i144 = 0; _i144 < _list143.size; ++_i144) { - List _elem145; // optional + List _elem145; // required { org.apache.thrift.protocol.TList _list146 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); _elem145 = new ArrayList(_list146.size); for (int _i147 = 0; _i147 < _list146.size; ++_i147) { - String _elem148; // optional + String _elem148; // required _elem148 = iprot.readString(); _elem145.add(_elem148); } @@ -821,7 +821,7 @@ _key151 = new ArrayList(_list153.size); for (int _i154 = 0; _i154 < _list153.size; ++_i154) { - String _elem155; // optional + String _elem155; // required _elem155 = iprot.readString(); _key151.add(_elem155); } Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java (working copy) @@ -1304,7 +1304,7 @@ struct.cols = new ArrayList(_list156.size); for (int _i157 = 0; _i157 < _list156.size; ++_i157) { - FieldSchema _elem158; // optional + FieldSchema _elem158; // required _elem158 = new FieldSchema(); _elem158.read(iprot); struct.cols.add(_elem158); @@ -1372,7 +1372,7 @@ struct.bucketCols = new ArrayList(_list159.size); for (int _i160 = 0; _i160 < _list159.size; ++_i160) { - String _elem161; // optional + String _elem161; // required _elem161 = iprot.readString(); struct.bucketCols.add(_elem161); } @@ -1390,7 +1390,7 @@ struct.sortCols = new ArrayList(_list162.size); for (int _i163 = 0; _i163 < _list162.size; ++_i163) { - Order _elem164; // optional + Order _elem164; // required _elem164 = new Order(); _elem164.read(iprot); struct.sortCols.add(_elem164); @@ -1667,7 +1667,7 @@ struct.cols = new ArrayList(_list177.size); for (int _i178 = 0; _i178 < _list177.size; ++_i178) { - FieldSchema _elem179; // optional + FieldSchema _elem179; // required _elem179 = new FieldSchema(); _elem179.read(iprot); struct.cols.add(_elem179); @@ -1706,7 +1706,7 @@ struct.bucketCols = new ArrayList(_list180.size); for (int _i181 = 0; _i181 < _list180.size; ++_i181) { - String _elem182; // optional + String _elem182; // required _elem182 = iprot.readString(); struct.bucketCols.add(_elem182); } @@ -1719,7 +1719,7 @@ struct.sortCols = new ArrayList(_list183.size); for (int _i184 = 0; _i184 < _list183.size; ++_i184) { - Order _elem185; // optional + Order _elem185; // required _elem185 = new Order(); _elem185.read(iprot); struct.sortCols.add(_elem185); Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java (working copy) @@ -1403,7 +1403,7 @@ struct.partitionKeys = new ArrayList(_list190.size); for (int _i191 = 0; _i191 < _list190.size; ++_i191) { - FieldSchema _elem192; // optional + FieldSchema _elem192; // required _elem192 = new FieldSchema(); _elem192.read(iprot); struct.partitionKeys.add(_elem192); @@ -1708,7 +1708,7 @@ struct.partitionKeys = new ArrayList(_list201.size); for (int _i202 = 0; _i202 < _list201.size; ++_i202) { - FieldSchema _elem203; // optional + FieldSchema _elem203; // required _elem203 = new FieldSchema(); _elem203.read(iprot); struct.partitionKeys.add(_elem203); Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java (working copy) @@ -540,7 +540,7 @@ struct.colNames = new ArrayList(_list306.size); for (int _i307 = 0; _i307 < _list306.size; ++_i307) { - String _elem308; // optional + String _elem308; // required _elem308 = iprot.readString(); struct.colNames.add(_elem308); } @@ -626,7 +626,7 @@ struct.colNames = new ArrayList(_list311.size); for (int _i312 = 0; _i312 < _list311.size; ++_i312) { - String _elem313; // optional + String _elem313; // required _elem313 = iprot.readString(); struct.colNames.add(_elem313); } Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java (working copy) @@ -354,7 +354,7 @@ struct.tableStats = new ArrayList(_list280.size); for (int _i281 = 0; _i281 < _list280.size; ++_i281) { - ColumnStatisticsObj _elem282; // optional + ColumnStatisticsObj _elem282; // required _elem282 = new ColumnStatisticsObj(); _elem282.read(iprot); struct.tableStats.add(_elem282); @@ -425,7 +425,7 @@ struct.tableStats = new ArrayList(_list285.size); for (int _i286 = 0; _i286 < _list285.size; ++_i286) { - ColumnStatisticsObj _elem287; // optional + ColumnStatisticsObj _elem287; // required _elem287 = new ColumnStatisticsObj(); _elem287.read(iprot); struct.tableStats.add(_elem287); Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java (working copy) @@ -246,6 +246,8 @@ public void heartbeat(HeartbeatRequest ids) throws NoSuchLockException, NoSuchTxnException, TxnAbortedException, org.apache.thrift.TException; + public HeartbeatTxnRangeResponse heartbeat_txn_range(HeartbeatTxnRangeRequest txns) throws org.apache.thrift.TException; + public void compact(CompactionRequest rqst) throws org.apache.thrift.TException; public ShowCompactResponse show_compact(ShowCompactRequest rqst) throws org.apache.thrift.TException; @@ -462,6 +464,8 @@ public void heartbeat(HeartbeatRequest ids, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void heartbeat_txn_range(HeartbeatTxnRangeRequest txns, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void compact(CompactionRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; public void show_compact(ShowCompactRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; @@ -3600,6 +3604,29 @@ return; } + public HeartbeatTxnRangeResponse heartbeat_txn_range(HeartbeatTxnRangeRequest txns) throws org.apache.thrift.TException + { + send_heartbeat_txn_range(txns); + return recv_heartbeat_txn_range(); + } + + public void send_heartbeat_txn_range(HeartbeatTxnRangeRequest txns) throws org.apache.thrift.TException + { + heartbeat_txn_range_args args = new heartbeat_txn_range_args(); + args.setTxns(txns); + sendBase("heartbeat_txn_range", args); + } + + public HeartbeatTxnRangeResponse recv_heartbeat_txn_range() throws org.apache.thrift.TException + { + heartbeat_txn_range_result result = new heartbeat_txn_range_result(); + receiveBase(result, "heartbeat_txn_range"); + if (result.isSetSuccess()) { + return result.success; + } + throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "heartbeat_txn_range failed: unknown result"); + } + public void compact(CompactionRequest rqst) throws org.apache.thrift.TException { send_compact(rqst); @@ -7403,6 +7430,38 @@ } } + public void heartbeat_txn_range(HeartbeatTxnRangeRequest txns, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + checkReady(); + heartbeat_txn_range_call method_call = new heartbeat_txn_range_call(txns, resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class heartbeat_txn_range_call extends org.apache.thrift.async.TAsyncMethodCall { + private HeartbeatTxnRangeRequest txns; + public heartbeat_txn_range_call(HeartbeatTxnRangeRequest txns, 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.txns = txns; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("heartbeat_txn_range", org.apache.thrift.protocol.TMessageType.CALL, 0)); + heartbeat_txn_range_args args = new heartbeat_txn_range_args(); + args.setTxns(txns); + args.write(prot); + prot.writeMessageEnd(); + } + + public HeartbeatTxnRangeResponse getResult() throws 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_heartbeat_txn_range(); + } + } + public void compact(CompactionRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); compact_call method_call = new compact_call(rqst, resultHandler, this, ___protocolFactory, ___transport); @@ -7584,6 +7643,7 @@ processMap.put("unlock", new unlock()); processMap.put("show_locks", new show_locks()); processMap.put("heartbeat", new heartbeat()); + processMap.put("heartbeat_txn_range", new heartbeat_txn_range()); processMap.put("compact", new compact()); processMap.put("show_compact", new show_compact()); return processMap; @@ -10324,6 +10384,26 @@ } } + public static class heartbeat_txn_range extends org.apache.thrift.ProcessFunction { + public heartbeat_txn_range() { + super("heartbeat_txn_range"); + } + + public heartbeat_txn_range_args getEmptyArgsInstance() { + return new heartbeat_txn_range_args(); + } + + protected boolean isOneway() { + return false; + } + + public heartbeat_txn_range_result getResult(I iface, heartbeat_txn_range_args args) throws org.apache.thrift.TException { + heartbeat_txn_range_result result = new heartbeat_txn_range_result(); + result.success = iface.heartbeat_txn_range(args.txns); + return result; + } + } + public static class compact extends org.apache.thrift.ProcessFunction { public compact() { super("compact"); @@ -14118,13 +14198,13 @@ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list426 = iprot.readListBegin(); - struct.success = new ArrayList(_list426.size); - for (int _i427 = 0; _i427 < _list426.size; ++_i427) + org.apache.thrift.protocol.TList _list442 = iprot.readListBegin(); + struct.success = new ArrayList(_list442.size); + for (int _i443 = 0; _i443 < _list442.size; ++_i443) { - String _elem428; // optional - _elem428 = iprot.readString(); - struct.success.add(_elem428); + String _elem444; // required + _elem444 = iprot.readString(); + struct.success.add(_elem444); } iprot.readListEnd(); } @@ -14159,9 +14239,9 @@ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter429 : struct.success) + for (String _iter445 : struct.success) { - oprot.writeString(_iter429); + oprot.writeString(_iter445); } oprot.writeListEnd(); } @@ -14200,9 +14280,9 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter430 : struct.success) + for (String _iter446 : struct.success) { - oprot.writeString(_iter430); + oprot.writeString(_iter446); } } } @@ -14217,13 +14297,13 @@ BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list431 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list431.size); - for (int _i432 = 0; _i432 < _list431.size; ++_i432) + org.apache.thrift.protocol.TList _list447 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list447.size); + for (int _i448 = 0; _i448 < _list447.size; ++_i448) { - String _elem433; // optional - _elem433 = iprot.readString(); - struct.success.add(_elem433); + String _elem449; // required + _elem449 = iprot.readString(); + struct.success.add(_elem449); } } struct.setSuccessIsSet(true); @@ -14880,13 +14960,13 @@ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list434 = iprot.readListBegin(); - struct.success = new ArrayList(_list434.size); - for (int _i435 = 0; _i435 < _list434.size; ++_i435) + org.apache.thrift.protocol.TList _list450 = iprot.readListBegin(); + struct.success = new ArrayList(_list450.size); + for (int _i451 = 0; _i451 < _list450.size; ++_i451) { - String _elem436; // optional - _elem436 = iprot.readString(); - struct.success.add(_elem436); + String _elem452; // required + _elem452 = iprot.readString(); + struct.success.add(_elem452); } iprot.readListEnd(); } @@ -14921,9 +15001,9 @@ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter437 : struct.success) + for (String _iter453 : struct.success) { - oprot.writeString(_iter437); + oprot.writeString(_iter453); } oprot.writeListEnd(); } @@ -14962,9 +15042,9 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter438 : struct.success) + for (String _iter454 : struct.success) { - oprot.writeString(_iter438); + oprot.writeString(_iter454); } } } @@ -14979,13 +15059,13 @@ BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list439 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list439.size); - for (int _i440 = 0; _i440 < _list439.size; ++_i440) + 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) { - String _elem441; // optional - _elem441 = iprot.readString(); - struct.success.add(_elem441); + String _elem457; // required + _elem457 = iprot.readString(); + struct.success.add(_elem457); } } struct.setSuccessIsSet(true); @@ -19592,16 +19672,16 @@ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map442 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map442.size); - for (int _i443 = 0; _i443 < _map442.size; ++_i443) + org.apache.thrift.protocol.TMap _map458 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map458.size); + for (int _i459 = 0; _i459 < _map458.size; ++_i459) { - String _key444; // required - Type _val445; // required - _key444 = iprot.readString(); - _val445 = new Type(); - _val445.read(iprot); - struct.success.put(_key444, _val445); + String _key460; // required + Type _val461; // required + _key460 = iprot.readString(); + _val461 = new Type(); + _val461.read(iprot); + struct.success.put(_key460, _val461); } iprot.readMapEnd(); } @@ -19636,10 +19716,10 @@ 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 _iter446 : struct.success.entrySet()) + for (Map.Entry _iter462 : struct.success.entrySet()) { - oprot.writeString(_iter446.getKey()); - _iter446.getValue().write(oprot); + oprot.writeString(_iter462.getKey()); + _iter462.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -19678,10 +19758,10 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter447 : struct.success.entrySet()) + for (Map.Entry _iter463 : struct.success.entrySet()) { - oprot.writeString(_iter447.getKey()); - _iter447.getValue().write(oprot); + oprot.writeString(_iter463.getKey()); + _iter463.getValue().write(oprot); } } } @@ -19696,16 +19776,16 @@ BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map448 = 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*_map448.size); - for (int _i449 = 0; _i449 < _map448.size; ++_i449) + org.apache.thrift.protocol.TMap _map464 = 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*_map464.size); + for (int _i465 = 0; _i465 < _map464.size; ++_i465) { - String _key450; // required - Type _val451; // required - _key450 = iprot.readString(); - _val451 = new Type(); - _val451.read(iprot); - struct.success.put(_key450, _val451); + String _key466; // required + Type _val467; // required + _key466 = iprot.readString(); + _val467 = new Type(); + _val467.read(iprot); + struct.success.put(_key466, _val467); } } struct.setSuccessIsSet(true); @@ -20740,14 +20820,14 @@ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list452 = iprot.readListBegin(); - struct.success = new ArrayList(_list452.size); - for (int _i453 = 0; _i453 < _list452.size; ++_i453) + org.apache.thrift.protocol.TList _list468 = iprot.readListBegin(); + struct.success = new ArrayList(_list468.size); + for (int _i469 = 0; _i469 < _list468.size; ++_i469) { - FieldSchema _elem454; // optional - _elem454 = new FieldSchema(); - _elem454.read(iprot); - struct.success.add(_elem454); + FieldSchema _elem470; // required + _elem470 = new FieldSchema(); + _elem470.read(iprot); + struct.success.add(_elem470); } iprot.readListEnd(); } @@ -20800,9 +20880,9 @@ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter455 : struct.success) + for (FieldSchema _iter471 : struct.success) { - _iter455.write(oprot); + _iter471.write(oprot); } oprot.writeListEnd(); } @@ -20857,9 +20937,9 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter456 : struct.success) + for (FieldSchema _iter472 : struct.success) { - _iter456.write(oprot); + _iter472.write(oprot); } } } @@ -20880,14 +20960,14 @@ BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list457 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list457.size); - for (int _i458 = 0; _i458 < _list457.size; ++_i458) + org.apache.thrift.protocol.TList _list473 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list473.size); + for (int _i474 = 0; _i474 < _list473.size; ++_i474) { - FieldSchema _elem459; // optional - _elem459 = new FieldSchema(); - _elem459.read(iprot); - struct.success.add(_elem459); + FieldSchema _elem475; // required + _elem475 = new FieldSchema(); + _elem475.read(iprot); + struct.success.add(_elem475); } } struct.setSuccessIsSet(true); @@ -21932,14 +22012,14 @@ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list460 = iprot.readListBegin(); - struct.success = new ArrayList(_list460.size); - for (int _i461 = 0; _i461 < _list460.size; ++_i461) + org.apache.thrift.protocol.TList _list476 = iprot.readListBegin(); + struct.success = new ArrayList(_list476.size); + for (int _i477 = 0; _i477 < _list476.size; ++_i477) { - FieldSchema _elem462; // optional - _elem462 = new FieldSchema(); - _elem462.read(iprot); - struct.success.add(_elem462); + FieldSchema _elem478; // required + _elem478 = new FieldSchema(); + _elem478.read(iprot); + struct.success.add(_elem478); } iprot.readListEnd(); } @@ -21992,9 +22072,9 @@ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter463 : struct.success) + for (FieldSchema _iter479 : struct.success) { - _iter463.write(oprot); + _iter479.write(oprot); } oprot.writeListEnd(); } @@ -22049,9 +22129,9 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter464 : struct.success) + for (FieldSchema _iter480 : struct.success) { - _iter464.write(oprot); + _iter480.write(oprot); } } } @@ -22072,14 +22152,14 @@ BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list465 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list465.size); - for (int _i466 = 0; _i466 < _list465.size; ++_i466) + 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) { - FieldSchema _elem467; // optional - _elem467 = new FieldSchema(); - _elem467.read(iprot); - struct.success.add(_elem467); + FieldSchema _elem483; // required + _elem483 = new FieldSchema(); + _elem483.read(iprot); + struct.success.add(_elem483); } } struct.setSuccessIsSet(true); @@ -27322,13 +27402,13 @@ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list468 = iprot.readListBegin(); - struct.success = new ArrayList(_list468.size); - for (int _i469 = 0; _i469 < _list468.size; ++_i469) + org.apache.thrift.protocol.TList _list484 = iprot.readListBegin(); + struct.success = new ArrayList(_list484.size); + for (int _i485 = 0; _i485 < _list484.size; ++_i485) { - String _elem470; // optional - _elem470 = iprot.readString(); - struct.success.add(_elem470); + String _elem486; // required + _elem486 = iprot.readString(); + struct.success.add(_elem486); } iprot.readListEnd(); } @@ -27363,9 +27443,9 @@ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter471 : struct.success) + for (String _iter487 : struct.success) { - oprot.writeString(_iter471); + oprot.writeString(_iter487); } oprot.writeListEnd(); } @@ -27404,9 +27484,9 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter472 : struct.success) + for (String _iter488 : struct.success) { - oprot.writeString(_iter472); + oprot.writeString(_iter488); } } } @@ -27421,13 +27501,13 @@ BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list473 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list473.size); - for (int _i474 = 0; _i474 < _list473.size; ++_i474) + org.apache.thrift.protocol.TList _list489 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list489.size); + for (int _i490 = 0; _i490 < _list489.size; ++_i490) { - String _elem475; // optional - _elem475 = iprot.readString(); - struct.success.add(_elem475); + String _elem491; // required + _elem491 = iprot.readString(); + struct.success.add(_elem491); } } struct.setSuccessIsSet(true); @@ -28196,13 +28276,13 @@ 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 _list492 = iprot.readListBegin(); + struct.success = new ArrayList(_list492.size); + for (int _i493 = 0; _i493 < _list492.size; ++_i493) { - String _elem478; // optional - _elem478 = iprot.readString(); - struct.success.add(_elem478); + String _elem494; // required + _elem494 = iprot.readString(); + struct.success.add(_elem494); } iprot.readListEnd(); } @@ -28237,9 +28317,9 @@ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter479 : struct.success) + for (String _iter495 : struct.success) { - oprot.writeString(_iter479); + oprot.writeString(_iter495); } oprot.writeListEnd(); } @@ -28278,9 +28358,9 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter480 : struct.success) + for (String _iter496 : struct.success) { - oprot.writeString(_iter480); + oprot.writeString(_iter496); } } } @@ -28295,13 +28375,13 @@ BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list481 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list481.size); - for (int _i482 = 0; _i482 < _list481.size; ++_i482) + 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) { - String _elem483; // optional - _elem483 = iprot.readString(); - struct.success.add(_elem483); + String _elem499; // required + _elem499 = iprot.readString(); + struct.success.add(_elem499); } } struct.setSuccessIsSet(true); @@ -29757,13 +29837,13 @@ case 2: // TBL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list484 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list484.size); - for (int _i485 = 0; _i485 < _list484.size; ++_i485) + org.apache.thrift.protocol.TList _list500 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list500.size); + for (int _i501 = 0; _i501 < _list500.size; ++_i501) { - String _elem486; // optional - _elem486 = iprot.readString(); - struct.tbl_names.add(_elem486); + String _elem502; // required + _elem502 = iprot.readString(); + struct.tbl_names.add(_elem502); } iprot.readListEnd(); } @@ -29794,9 +29874,9 @@ 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 _iter487 : struct.tbl_names) + for (String _iter503 : struct.tbl_names) { - oprot.writeString(_iter487); + oprot.writeString(_iter503); } oprot.writeListEnd(); } @@ -29833,9 +29913,9 @@ if (struct.isSetTbl_names()) { { oprot.writeI32(struct.tbl_names.size()); - for (String _iter488 : struct.tbl_names) + for (String _iter504 : struct.tbl_names) { - oprot.writeString(_iter488); + oprot.writeString(_iter504); } } } @@ -29851,13 +29931,13 @@ } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list489 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list489.size); - for (int _i490 = 0; _i490 < _list489.size; ++_i490) + org.apache.thrift.protocol.TList _list505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list505.size); + for (int _i506 = 0; _i506 < _list505.size; ++_i506) { - String _elem491; // optional - _elem491 = iprot.readString(); - struct.tbl_names.add(_elem491); + String _elem507; // required + _elem507 = iprot.readString(); + struct.tbl_names.add(_elem507); } } struct.setTbl_namesIsSet(true); @@ -30425,14 +30505,14 @@ 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 _list508 = iprot.readListBegin(); + struct.success = new ArrayList
(_list508.size); + for (int _i509 = 0; _i509 < _list508.size; ++_i509) { - Table _elem494; // optional - _elem494 = new Table(); - _elem494.read(iprot); - struct.success.add(_elem494); + Table _elem510; // required + _elem510 = new Table(); + _elem510.read(iprot); + struct.success.add(_elem510); } iprot.readListEnd(); } @@ -30485,9 +30565,9 @@ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Table _iter495 : struct.success) + for (Table _iter511 : struct.success) { - _iter495.write(oprot); + _iter511.write(oprot); } oprot.writeListEnd(); } @@ -30542,9 +30622,9 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter496 : struct.success) + for (Table _iter512 : struct.success) { - _iter496.write(oprot); + _iter512.write(oprot); } } } @@ -30565,14 +30645,14 @@ BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - 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) + org.apache.thrift.protocol.TList _list513 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list513.size); + for (int _i514 = 0; _i514 < _list513.size; ++_i514) { - Table _elem499; // optional - _elem499 = new Table(); - _elem499.read(iprot); - struct.success.add(_elem499); + Table _elem515; // required + _elem515 = new Table(); + _elem515.read(iprot); + struct.success.add(_elem515); } } struct.setSuccessIsSet(true); @@ -31721,13 +31801,13 @@ 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 _list516 = iprot.readListBegin(); + struct.success = new ArrayList(_list516.size); + for (int _i517 = 0; _i517 < _list516.size; ++_i517) { - String _elem502; // optional - _elem502 = iprot.readString(); - struct.success.add(_elem502); + String _elem518; // required + _elem518 = iprot.readString(); + struct.success.add(_elem518); } iprot.readListEnd(); } @@ -31780,9 +31860,9 @@ 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 _iter519 : struct.success) { - oprot.writeString(_iter503); + oprot.writeString(_iter519); } oprot.writeListEnd(); } @@ -31837,9 +31917,9 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter504 : struct.success) + for (String _iter520 : struct.success) { - oprot.writeString(_iter504); + oprot.writeString(_iter520); } } } @@ -31860,13 +31940,13 @@ BitSet incoming = iprot.readBitSet(4); 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 _list521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list521.size); + for (int _i522 = 0; _i522 < _list521.size; ++_i522) { - String _elem507; // optional - _elem507 = iprot.readString(); - struct.success.add(_elem507); + String _elem523; // required + _elem523 = iprot.readString(); + struct.success.add(_elem523); } } struct.setSuccessIsSet(true); @@ -36586,14 +36666,14 @@ case 1: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list508 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list508.size); - for (int _i509 = 0; _i509 < _list508.size; ++_i509) + org.apache.thrift.protocol.TList _list524 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list524.size); + for (int _i525 = 0; _i525 < _list524.size; ++_i525) { - Partition _elem510; // optional - _elem510 = new Partition(); - _elem510.read(iprot); - struct.new_parts.add(_elem510); + Partition _elem526; // required + _elem526 = new Partition(); + _elem526.read(iprot); + struct.new_parts.add(_elem526); } iprot.readListEnd(); } @@ -36619,9 +36699,9 @@ 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 _iter511 : struct.new_parts) + for (Partition _iter527 : struct.new_parts) { - _iter511.write(oprot); + _iter527.write(oprot); } oprot.writeListEnd(); } @@ -36652,9 +36732,9 @@ if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter512 : struct.new_parts) + for (Partition _iter528 : struct.new_parts) { - _iter512.write(oprot); + _iter528.write(oprot); } } } @@ -36666,14 +36746,14 @@ BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list513 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list513.size); - for (int _i514 = 0; _i514 < _list513.size; ++_i514) + org.apache.thrift.protocol.TList _list529 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list529.size); + for (int _i530 = 0; _i530 < _list529.size; ++_i530) { - Partition _elem515; // optional - _elem515 = new Partition(); - _elem515.read(iprot); - struct.new_parts.add(_elem515); + Partition _elem531; // required + _elem531 = new Partition(); + _elem531.read(iprot); + struct.new_parts.add(_elem531); } } struct.setNew_partsIsSet(true); @@ -37852,13 +37932,13 @@ case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list516 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list516.size); - for (int _i517 = 0; _i517 < _list516.size; ++_i517) + org.apache.thrift.protocol.TList _list532 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list532.size); + for (int _i533 = 0; _i533 < _list532.size; ++_i533) { - String _elem518; // optional - _elem518 = iprot.readString(); - struct.part_vals.add(_elem518); + String _elem534; // required + _elem534 = iprot.readString(); + struct.part_vals.add(_elem534); } iprot.readListEnd(); } @@ -37894,9 +37974,9 @@ 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 _iter519 : struct.part_vals) + for (String _iter535 : struct.part_vals) { - oprot.writeString(_iter519); + oprot.writeString(_iter535); } oprot.writeListEnd(); } @@ -37939,9 +38019,9 @@ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter520 : struct.part_vals) + for (String _iter536 : struct.part_vals) { - oprot.writeString(_iter520); + oprot.writeString(_iter536); } } } @@ -37961,13 +38041,13 @@ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list521.size); - for (int _i522 = 0; _i522 < _list521.size; ++_i522) + org.apache.thrift.protocol.TList _list537 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list537.size); + for (int _i538 = 0; _i538 < _list537.size; ++_i538) { - String _elem523; // optional - _elem523 = iprot.readString(); - struct.part_vals.add(_elem523); + String _elem539; // required + _elem539 = iprot.readString(); + struct.part_vals.add(_elem539); } } struct.setPart_valsIsSet(true); @@ -40279,13 +40359,13 @@ case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list524 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list524.size); - for (int _i525 = 0; _i525 < _list524.size; ++_i525) + org.apache.thrift.protocol.TList _list540 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list540.size); + for (int _i541 = 0; _i541 < _list540.size; ++_i541) { - String _elem526; // optional - _elem526 = iprot.readString(); - struct.part_vals.add(_elem526); + String _elem542; // required + _elem542 = iprot.readString(); + struct.part_vals.add(_elem542); } iprot.readListEnd(); } @@ -40330,9 +40410,9 @@ 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 _iter527 : struct.part_vals) + for (String _iter543 : struct.part_vals) { - oprot.writeString(_iter527); + oprot.writeString(_iter543); } oprot.writeListEnd(); } @@ -40383,9 +40463,9 @@ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter528 : struct.part_vals) + for (String _iter544 : struct.part_vals) { - oprot.writeString(_iter528); + oprot.writeString(_iter544); } } } @@ -40408,13 +40488,13 @@ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list529 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list529.size); - for (int _i530 = 0; _i530 < _list529.size; ++_i530) + 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) { - String _elem531; // optional - _elem531 = iprot.readString(); - struct.part_vals.add(_elem531); + String _elem547; // required + _elem547 = iprot.readString(); + struct.part_vals.add(_elem547); } } struct.setPart_valsIsSet(true); @@ -44287,13 +44367,13 @@ case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list532 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list532.size); - for (int _i533 = 0; _i533 < _list532.size; ++_i533) + org.apache.thrift.protocol.TList _list548 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list548.size); + for (int _i549 = 0; _i549 < _list548.size; ++_i549) { - String _elem534; // optional - _elem534 = iprot.readString(); - struct.part_vals.add(_elem534); + String _elem550; // required + _elem550 = iprot.readString(); + struct.part_vals.add(_elem550); } iprot.readListEnd(); } @@ -44337,9 +44417,9 @@ 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 _iter535 : struct.part_vals) + for (String _iter551 : struct.part_vals) { - oprot.writeString(_iter535); + oprot.writeString(_iter551); } oprot.writeListEnd(); } @@ -44388,9 +44468,9 @@ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter536 : struct.part_vals) + for (String _iter552 : struct.part_vals) { - oprot.writeString(_iter536); + oprot.writeString(_iter552); } } } @@ -44413,13 +44493,13 @@ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list537 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list537.size); - for (int _i538 = 0; _i538 < _list537.size; ++_i538) + 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 _elem539; // optional - _elem539 = iprot.readString(); - struct.part_vals.add(_elem539); + String _elem555; // required + _elem555 = iprot.readString(); + struct.part_vals.add(_elem555); } } struct.setPart_valsIsSet(true); @@ -45661,13 +45741,13 @@ 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 _list556 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list556.size); + for (int _i557 = 0; _i557 < _list556.size; ++_i557) { - String _elem542; // optional - _elem542 = iprot.readString(); - struct.part_vals.add(_elem542); + String _elem558; // required + _elem558 = iprot.readString(); + struct.part_vals.add(_elem558); } iprot.readListEnd(); } @@ -45720,9 +45800,9 @@ 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 _iter559 : struct.part_vals) { - oprot.writeString(_iter543); + oprot.writeString(_iter559); } oprot.writeListEnd(); } @@ -45779,9 +45859,9 @@ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter544 : struct.part_vals) + for (String _iter560 : struct.part_vals) { - oprot.writeString(_iter544); + oprot.writeString(_iter560); } } } @@ -45807,13 +45887,13 @@ } 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 _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 _elem547; // optional - _elem547 = iprot.readString(); - struct.part_vals.add(_elem547); + String _elem563; // required + _elem563 = iprot.readString(); + struct.part_vals.add(_elem563); } } struct.setPart_valsIsSet(true); @@ -50418,13 +50498,13 @@ 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 _list564 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list564.size); + for (int _i565 = 0; _i565 < _list564.size; ++_i565) { - String _elem550; // optional - _elem550 = iprot.readString(); - struct.part_vals.add(_elem550); + String _elem566; // required + _elem566 = iprot.readString(); + struct.part_vals.add(_elem566); } iprot.readListEnd(); } @@ -50460,9 +50540,9 @@ 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 _iter567 : struct.part_vals) { - oprot.writeString(_iter551); + oprot.writeString(_iter567); } oprot.writeListEnd(); } @@ -50505,9 +50585,9 @@ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter552 : struct.part_vals) + for (String _iter568 : struct.part_vals) { - oprot.writeString(_iter552); + oprot.writeString(_iter568); } } } @@ -50527,13 +50607,13 @@ } 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 _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 _elem555; // optional - _elem555 = iprot.readString(); - struct.part_vals.add(_elem555); + String _elem571; // required + _elem571 = iprot.readString(); + struct.part_vals.add(_elem571); } } struct.setPart_valsIsSet(true); @@ -51762,15 +51842,15 @@ case 1: // PARTITION_SPECS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map556 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map556.size); - for (int _i557 = 0; _i557 < _map556.size; ++_i557) + org.apache.thrift.protocol.TMap _map572 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map572.size); + for (int _i573 = 0; _i573 < _map572.size; ++_i573) { - String _key558; // required - String _val559; // required - _key558 = iprot.readString(); - _val559 = iprot.readString(); - struct.partitionSpecs.put(_key558, _val559); + String _key574; // required + String _val575; // required + _key574 = iprot.readString(); + _val575 = iprot.readString(); + struct.partitionSpecs.put(_key574, _val575); } iprot.readMapEnd(); } @@ -51828,10 +51908,10 @@ 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 _iter560 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter576 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter560.getKey()); - oprot.writeString(_iter560.getValue()); + oprot.writeString(_iter576.getKey()); + oprot.writeString(_iter576.getValue()); } oprot.writeMapEnd(); } @@ -51894,10 +51974,10 @@ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter561 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter577 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter561.getKey()); - oprot.writeString(_iter561.getValue()); + oprot.writeString(_iter577.getKey()); + oprot.writeString(_iter577.getValue()); } } } @@ -51921,15 +52001,15 @@ BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map562 = 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*_map562.size); - for (int _i563 = 0; _i563 < _map562.size; ++_i563) + org.apache.thrift.protocol.TMap _map578 = 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*_map578.size); + for (int _i579 = 0; _i579 < _map578.size; ++_i579) { - String _key564; // required - String _val565; // required - _key564 = iprot.readString(); - _val565 = iprot.readString(); - struct.partitionSpecs.put(_key564, _val565); + String _key580; // required + String _val581; // required + _key580 = iprot.readString(); + _val581 = iprot.readString(); + struct.partitionSpecs.put(_key580, _val581); } } struct.setPartitionSpecsIsSet(true); @@ -53417,13 +53497,13 @@ case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list566 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list566.size); - for (int _i567 = 0; _i567 < _list566.size; ++_i567) + org.apache.thrift.protocol.TList _list582 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list582.size); + for (int _i583 = 0; _i583 < _list582.size; ++_i583) { - String _elem568; // optional - _elem568 = iprot.readString(); - struct.part_vals.add(_elem568); + String _elem584; // required + _elem584 = iprot.readString(); + struct.part_vals.add(_elem584); } iprot.readListEnd(); } @@ -53443,13 +53523,13 @@ case 5: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list569 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list569.size); - for (int _i570 = 0; _i570 < _list569.size; ++_i570) + org.apache.thrift.protocol.TList _list585 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list585.size); + for (int _i586 = 0; _i586 < _list585.size; ++_i586) { - String _elem571; // optional - _elem571 = iprot.readString(); - struct.group_names.add(_elem571); + String _elem587; // required + _elem587 = iprot.readString(); + struct.group_names.add(_elem587); } iprot.readListEnd(); } @@ -53485,9 +53565,9 @@ 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 _iter572 : struct.part_vals) + for (String _iter588 : struct.part_vals) { - oprot.writeString(_iter572); + oprot.writeString(_iter588); } oprot.writeListEnd(); } @@ -53502,9 +53582,9 @@ 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 _iter573 : struct.group_names) + for (String _iter589 : struct.group_names) { - oprot.writeString(_iter573); + oprot.writeString(_iter589); } oprot.writeListEnd(); } @@ -53553,9 +53633,9 @@ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter574 : struct.part_vals) + for (String _iter590 : struct.part_vals) { - oprot.writeString(_iter574); + oprot.writeString(_iter590); } } } @@ -53565,9 +53645,9 @@ if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter575 : struct.group_names) + for (String _iter591 : struct.group_names) { - oprot.writeString(_iter575); + oprot.writeString(_iter591); } } } @@ -53587,13 +53667,13 @@ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list576 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list576.size); - for (int _i577 = 0; _i577 < _list576.size; ++_i577) + org.apache.thrift.protocol.TList _list592 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list592.size); + for (int _i593 = 0; _i593 < _list592.size; ++_i593) { - String _elem578; // optional - _elem578 = iprot.readString(); - struct.part_vals.add(_elem578); + String _elem594; // required + _elem594 = iprot.readString(); + struct.part_vals.add(_elem594); } } struct.setPart_valsIsSet(true); @@ -53604,13 +53684,13 @@ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list579 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list579.size); - for (int _i580 = 0; _i580 < _list579.size; ++_i580) + org.apache.thrift.protocol.TList _list595 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list595.size); + for (int _i596 = 0; _i596 < _list595.size; ++_i596) { - String _elem581; // optional - _elem581 = iprot.readString(); - struct.group_names.add(_elem581); + String _elem597; // required + _elem597 = iprot.readString(); + struct.group_names.add(_elem597); } } struct.setGroup_namesIsSet(true); @@ -56379,14 +56459,14 @@ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list582 = iprot.readListBegin(); - struct.success = new ArrayList(_list582.size); - for (int _i583 = 0; _i583 < _list582.size; ++_i583) + org.apache.thrift.protocol.TList _list598 = iprot.readListBegin(); + struct.success = new ArrayList(_list598.size); + for (int _i599 = 0; _i599 < _list598.size; ++_i599) { - Partition _elem584; // optional - _elem584 = new Partition(); - _elem584.read(iprot); - struct.success.add(_elem584); + Partition _elem600; // required + _elem600 = new Partition(); + _elem600.read(iprot); + struct.success.add(_elem600); } iprot.readListEnd(); } @@ -56430,9 +56510,9 @@ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter585 : struct.success) + for (Partition _iter601 : struct.success) { - _iter585.write(oprot); + _iter601.write(oprot); } oprot.writeListEnd(); } @@ -56479,9 +56559,9 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter586 : struct.success) + for (Partition _iter602 : struct.success) { - _iter586.write(oprot); + _iter602.write(oprot); } } } @@ -56499,14 +56579,14 @@ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list587 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list587.size); - for (int _i588 = 0; _i588 < _list587.size; ++_i588) + org.apache.thrift.protocol.TList _list603 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list603.size); + for (int _i604 = 0; _i604 < _list603.size; ++_i604) { - Partition _elem589; // optional - _elem589 = new Partition(); - _elem589.read(iprot); - struct.success.add(_elem589); + Partition _elem605; // required + _elem605 = new Partition(); + _elem605.read(iprot); + struct.success.add(_elem605); } } struct.setSuccessIsSet(true); @@ -57199,13 +57279,13 @@ case 5: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list590 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list590.size); - for (int _i591 = 0; _i591 < _list590.size; ++_i591) + org.apache.thrift.protocol.TList _list606 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list606.size); + for (int _i607 = 0; _i607 < _list606.size; ++_i607) { - String _elem592; // optional - _elem592 = iprot.readString(); - struct.group_names.add(_elem592); + String _elem608; // required + _elem608 = iprot.readString(); + struct.group_names.add(_elem608); } iprot.readListEnd(); } @@ -57249,9 +57329,9 @@ 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 _iter593 : struct.group_names) + for (String _iter609 : struct.group_names) { - oprot.writeString(_iter593); + oprot.writeString(_iter609); } oprot.writeListEnd(); } @@ -57306,9 +57386,9 @@ if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter594 : struct.group_names) + for (String _iter610 : struct.group_names) { - oprot.writeString(_iter594); + oprot.writeString(_iter610); } } } @@ -57336,13 +57416,13 @@ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list595 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list595.size); - for (int _i596 = 0; _i596 < _list595.size; ++_i596) + 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 _elem597; // optional - _elem597 = iprot.readString(); - struct.group_names.add(_elem597); + String _elem613; // required + _elem613 = iprot.readString(); + struct.group_names.add(_elem613); } } struct.setGroup_namesIsSet(true); @@ -57829,14 +57909,14 @@ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list598 = iprot.readListBegin(); - struct.success = new ArrayList(_list598.size); - for (int _i599 = 0; _i599 < _list598.size; ++_i599) + org.apache.thrift.protocol.TList _list614 = iprot.readListBegin(); + struct.success = new ArrayList(_list614.size); + for (int _i615 = 0; _i615 < _list614.size; ++_i615) { - Partition _elem600; // optional - _elem600 = new Partition(); - _elem600.read(iprot); - struct.success.add(_elem600); + Partition _elem616; // required + _elem616 = new Partition(); + _elem616.read(iprot); + struct.success.add(_elem616); } iprot.readListEnd(); } @@ -57880,9 +57960,9 @@ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter601 : struct.success) + for (Partition _iter617 : struct.success) { - _iter601.write(oprot); + _iter617.write(oprot); } oprot.writeListEnd(); } @@ -57929,9 +58009,9 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter602 : struct.success) + for (Partition _iter618 : struct.success) { - _iter602.write(oprot); + _iter618.write(oprot); } } } @@ -57949,14 +58029,14 @@ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list603 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list603.size); - for (int _i604 = 0; _i604 < _list603.size; ++_i604) + 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 _elem605; // optional - _elem605 = new Partition(); - _elem605.read(iprot); - struct.success.add(_elem605); + Partition _elem621; // required + _elem621 = new Partition(); + _elem621.read(iprot); + struct.success.add(_elem621); } } struct.setSuccessIsSet(true); @@ -58938,13 +59018,13 @@ 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 _list622 = iprot.readListBegin(); + struct.success = new ArrayList(_list622.size); + for (int _i623 = 0; _i623 < _list622.size; ++_i623) { - String _elem608; // optional - _elem608 = iprot.readString(); - struct.success.add(_elem608); + String _elem624; // required + _elem624 = iprot.readString(); + struct.success.add(_elem624); } iprot.readListEnd(); } @@ -58979,9 +59059,9 @@ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter609 : struct.success) + for (String _iter625 : struct.success) { - oprot.writeString(_iter609); + oprot.writeString(_iter625); } oprot.writeListEnd(); } @@ -59020,9 +59100,9 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter610 : struct.success) + for (String _iter626 : struct.success) { - oprot.writeString(_iter610); + oprot.writeString(_iter626); } } } @@ -59037,13 +59117,13 @@ BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list611 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list611.size); - for (int _i612 = 0; _i612 < _list611.size; ++_i612) + org.apache.thrift.protocol.TList _list627 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list627.size); + for (int _i628 = 0; _i628 < _list627.size; ++_i628) { - String _elem613; // optional - _elem613 = iprot.readString(); - struct.success.add(_elem613); + String _elem629; // required + _elem629 = iprot.readString(); + struct.success.add(_elem629); } } struct.setSuccessIsSet(true); @@ -59634,13 +59714,13 @@ case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list614 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list614.size); - for (int _i615 = 0; _i615 < _list614.size; ++_i615) + org.apache.thrift.protocol.TList _list630 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list630.size); + for (int _i631 = 0; _i631 < _list630.size; ++_i631) { - String _elem616; // optional - _elem616 = iprot.readString(); - struct.part_vals.add(_elem616); + String _elem632; // required + _elem632 = iprot.readString(); + struct.part_vals.add(_elem632); } iprot.readListEnd(); } @@ -59684,9 +59764,9 @@ 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 _iter617 : struct.part_vals) + for (String _iter633 : struct.part_vals) { - oprot.writeString(_iter617); + oprot.writeString(_iter633); } oprot.writeListEnd(); } @@ -59735,9 +59815,9 @@ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter618 : struct.part_vals) + for (String _iter634 : struct.part_vals) { - oprot.writeString(_iter618); + oprot.writeString(_iter634); } } } @@ -59760,13 +59840,13 @@ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list619 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list619.size); - for (int _i620 = 0; _i620 < _list619.size; ++_i620) + org.apache.thrift.protocol.TList _list635 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list635.size); + for (int _i636 = 0; _i636 < _list635.size; ++_i636) { - String _elem621; // optional - _elem621 = iprot.readString(); - struct.part_vals.add(_elem621); + String _elem637; // required + _elem637 = iprot.readString(); + struct.part_vals.add(_elem637); } } struct.setPart_valsIsSet(true); @@ -60257,14 +60337,14 @@ 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 _list638 = iprot.readListBegin(); + struct.success = new ArrayList(_list638.size); + for (int _i639 = 0; _i639 < _list638.size; ++_i639) { - Partition _elem624; // optional - _elem624 = new Partition(); - _elem624.read(iprot); - struct.success.add(_elem624); + Partition _elem640; // required + _elem640 = new Partition(); + _elem640.read(iprot); + struct.success.add(_elem640); } iprot.readListEnd(); } @@ -60308,9 +60388,9 @@ 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 _iter641 : struct.success) { - _iter625.write(oprot); + _iter641.write(oprot); } oprot.writeListEnd(); } @@ -60357,9 +60437,9 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter626 : struct.success) + for (Partition _iter642 : struct.success) { - _iter626.write(oprot); + _iter642.write(oprot); } } } @@ -60377,14 +60457,14 @@ 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 _list643 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list643.size); + for (int _i644 = 0; _i644 < _list643.size; ++_i644) { - Partition _elem629; // optional - _elem629 = new Partition(); - _elem629.read(iprot); - struct.success.add(_elem629); + Partition _elem645; // required + _elem645 = new Partition(); + _elem645.read(iprot); + struct.success.add(_elem645); } } struct.setSuccessIsSet(true); @@ -61162,13 +61242,13 @@ case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list630 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list630.size); - for (int _i631 = 0; _i631 < _list630.size; ++_i631) + org.apache.thrift.protocol.TList _list646 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list646.size); + for (int _i647 = 0; _i647 < _list646.size; ++_i647) { - String _elem632; // optional - _elem632 = iprot.readString(); - struct.part_vals.add(_elem632); + String _elem648; // required + _elem648 = iprot.readString(); + struct.part_vals.add(_elem648); } iprot.readListEnd(); } @@ -61196,13 +61276,13 @@ case 6: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list633 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list633.size); - for (int _i634 = 0; _i634 < _list633.size; ++_i634) + org.apache.thrift.protocol.TList _list649 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list649.size); + for (int _i650 = 0; _i650 < _list649.size; ++_i650) { - String _elem635; // optional - _elem635 = iprot.readString(); - struct.group_names.add(_elem635); + String _elem651; // required + _elem651 = iprot.readString(); + struct.group_names.add(_elem651); } iprot.readListEnd(); } @@ -61238,9 +61318,9 @@ 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 _iter636 : struct.part_vals) + for (String _iter652 : struct.part_vals) { - oprot.writeString(_iter636); + oprot.writeString(_iter652); } oprot.writeListEnd(); } @@ -61258,9 +61338,9 @@ 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 _iter637 : struct.group_names) + for (String _iter653 : struct.group_names) { - oprot.writeString(_iter637); + oprot.writeString(_iter653); } oprot.writeListEnd(); } @@ -61312,9 +61392,9 @@ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter638 : struct.part_vals) + for (String _iter654 : struct.part_vals) { - oprot.writeString(_iter638); + oprot.writeString(_iter654); } } } @@ -61327,9 +61407,9 @@ if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter639 : struct.group_names) + for (String _iter655 : struct.group_names) { - oprot.writeString(_iter639); + oprot.writeString(_iter655); } } } @@ -61349,13 +61429,13 @@ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list640 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list640.size); - for (int _i641 = 0; _i641 < _list640.size; ++_i641) + org.apache.thrift.protocol.TList _list656 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list656.size); + for (int _i657 = 0; _i657 < _list656.size; ++_i657) { - String _elem642; // optional - _elem642 = iprot.readString(); - struct.part_vals.add(_elem642); + String _elem658; // required + _elem658 = iprot.readString(); + struct.part_vals.add(_elem658); } } struct.setPart_valsIsSet(true); @@ -61370,13 +61450,13 @@ } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list643 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list643.size); - for (int _i644 = 0; _i644 < _list643.size; ++_i644) + org.apache.thrift.protocol.TList _list659 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list659.size); + for (int _i660 = 0; _i660 < _list659.size; ++_i660) { - String _elem645; // optional - _elem645 = iprot.readString(); - struct.group_names.add(_elem645); + String _elem661; // required + _elem661 = iprot.readString(); + struct.group_names.add(_elem661); } } struct.setGroup_namesIsSet(true); @@ -61863,14 +61943,14 @@ 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 _list662 = iprot.readListBegin(); + struct.success = new ArrayList(_list662.size); + for (int _i663 = 0; _i663 < _list662.size; ++_i663) { - Partition _elem648; // optional - _elem648 = new Partition(); - _elem648.read(iprot); - struct.success.add(_elem648); + Partition _elem664; // required + _elem664 = new Partition(); + _elem664.read(iprot); + struct.success.add(_elem664); } iprot.readListEnd(); } @@ -61914,9 +61994,9 @@ 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 _iter665 : struct.success) { - _iter649.write(oprot); + _iter665.write(oprot); } oprot.writeListEnd(); } @@ -61963,9 +62043,9 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter650 : struct.success) + for (Partition _iter666 : struct.success) { - _iter650.write(oprot); + _iter666.write(oprot); } } } @@ -61983,14 +62063,14 @@ 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 _list667 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list667.size); + for (int _i668 = 0; _i668 < _list667.size; ++_i668) { - Partition _elem653; // optional - _elem653 = new Partition(); - _elem653.read(iprot); - struct.success.add(_elem653); + Partition _elem669; // required + _elem669 = new Partition(); + _elem669.read(iprot); + struct.success.add(_elem669); } } struct.setSuccessIsSet(true); @@ -62586,13 +62666,13 @@ 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 _list670 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list670.size); + for (int _i671 = 0; _i671 < _list670.size; ++_i671) { - String _elem656; // optional - _elem656 = iprot.readString(); - struct.part_vals.add(_elem656); + String _elem672; // required + _elem672 = iprot.readString(); + struct.part_vals.add(_elem672); } iprot.readListEnd(); } @@ -62636,9 +62716,9 @@ 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 _iter657 : struct.part_vals) + for (String _iter673 : struct.part_vals) { - oprot.writeString(_iter657); + oprot.writeString(_iter673); } oprot.writeListEnd(); } @@ -62687,9 +62767,9 @@ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter658 : struct.part_vals) + for (String _iter674 : struct.part_vals) { - oprot.writeString(_iter658); + oprot.writeString(_iter674); } } } @@ -62712,13 +62792,13 @@ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list659 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list659.size); - for (int _i660 = 0; _i660 < _list659.size; ++_i660) + org.apache.thrift.protocol.TList _list675 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list675.size); + for (int _i676 = 0; _i676 < _list675.size; ++_i676) { - String _elem661; // optional - _elem661 = iprot.readString(); - struct.part_vals.add(_elem661); + String _elem677; // required + _elem677 = iprot.readString(); + struct.part_vals.add(_elem677); } } struct.setPart_valsIsSet(true); @@ -63209,13 +63289,13 @@ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list662 = iprot.readListBegin(); - struct.success = new ArrayList(_list662.size); - for (int _i663 = 0; _i663 < _list662.size; ++_i663) + org.apache.thrift.protocol.TList _list678 = iprot.readListBegin(); + struct.success = new ArrayList(_list678.size); + for (int _i679 = 0; _i679 < _list678.size; ++_i679) { - String _elem664; // optional - _elem664 = iprot.readString(); - struct.success.add(_elem664); + String _elem680; // required + _elem680 = iprot.readString(); + struct.success.add(_elem680); } iprot.readListEnd(); } @@ -63259,9 +63339,9 @@ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter665 : struct.success) + for (String _iter681 : struct.success) { - oprot.writeString(_iter665); + oprot.writeString(_iter681); } oprot.writeListEnd(); } @@ -63308,9 +63388,9 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter666 : struct.success) + for (String _iter682 : struct.success) { - oprot.writeString(_iter666); + oprot.writeString(_iter682); } } } @@ -63328,13 +63408,13 @@ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list667 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list667.size); - for (int _i668 = 0; _i668 < _list667.size; ++_i668) + org.apache.thrift.protocol.TList _list683 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list683.size); + for (int _i684 = 0; _i684 < _list683.size; ++_i684) { - String _elem669; // optional - _elem669 = iprot.readString(); - struct.success.add(_elem669); + String _elem685; // required + _elem685 = iprot.readString(); + struct.success.add(_elem685); } } struct.setSuccessIsSet(true); @@ -64501,14 +64581,14 @@ 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 _list686 = iprot.readListBegin(); + struct.success = new ArrayList(_list686.size); + for (int _i687 = 0; _i687 < _list686.size; ++_i687) { - Partition _elem672; // optional - _elem672 = new Partition(); - _elem672.read(iprot); - struct.success.add(_elem672); + Partition _elem688; // required + _elem688 = new Partition(); + _elem688.read(iprot); + struct.success.add(_elem688); } iprot.readListEnd(); } @@ -64552,9 +64632,9 @@ 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 _iter689 : struct.success) { - _iter673.write(oprot); + _iter689.write(oprot); } oprot.writeListEnd(); } @@ -64601,9 +64681,9 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter674 : struct.success) + for (Partition _iter690 : struct.success) { - _iter674.write(oprot); + _iter690.write(oprot); } } } @@ -64621,14 +64701,14 @@ 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 _list691 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list691.size); + for (int _i692 = 0; _i692 < _list691.size; ++_i692) { - Partition _elem677; // optional - _elem677 = new Partition(); - _elem677.read(iprot); - struct.success.add(_elem677); + Partition _elem693; // required + _elem693 = new Partition(); + _elem693.read(iprot); + struct.success.add(_elem693); } } struct.setSuccessIsSet(true); @@ -66079,13 +66159,13 @@ case 3: // NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list678 = iprot.readListBegin(); - struct.names = new ArrayList(_list678.size); - for (int _i679 = 0; _i679 < _list678.size; ++_i679) + org.apache.thrift.protocol.TList _list694 = iprot.readListBegin(); + struct.names = new ArrayList(_list694.size); + for (int _i695 = 0; _i695 < _list694.size; ++_i695) { - String _elem680; // optional - _elem680 = iprot.readString(); - struct.names.add(_elem680); + String _elem696; // required + _elem696 = iprot.readString(); + struct.names.add(_elem696); } iprot.readListEnd(); } @@ -66121,9 +66201,9 @@ oprot.writeFieldBegin(NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.names.size())); - for (String _iter681 : struct.names) + for (String _iter697 : struct.names) { - oprot.writeString(_iter681); + oprot.writeString(_iter697); } oprot.writeListEnd(); } @@ -66166,9 +66246,9 @@ if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter682 : struct.names) + for (String _iter698 : struct.names) { - oprot.writeString(_iter682); + oprot.writeString(_iter698); } } } @@ -66188,13 +66268,13 @@ } 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.names = new ArrayList(_list683.size); - for (int _i684 = 0; _i684 < _list683.size; ++_i684) + org.apache.thrift.protocol.TList _list699 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list699.size); + for (int _i700 = 0; _i700 < _list699.size; ++_i700) { - String _elem685; // optional - _elem685 = iprot.readString(); - struct.names.add(_elem685); + String _elem701; // required + _elem701 = iprot.readString(); + struct.names.add(_elem701); } } struct.setNamesIsSet(true); @@ -66681,14 +66761,14 @@ 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 _list702 = iprot.readListBegin(); + struct.success = new ArrayList(_list702.size); + for (int _i703 = 0; _i703 < _list702.size; ++_i703) { - Partition _elem688; // optional - _elem688 = new Partition(); - _elem688.read(iprot); - struct.success.add(_elem688); + Partition _elem704; // required + _elem704 = new Partition(); + _elem704.read(iprot); + struct.success.add(_elem704); } iprot.readListEnd(); } @@ -66732,9 +66812,9 @@ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter689 : struct.success) + for (Partition _iter705 : struct.success) { - _iter689.write(oprot); + _iter705.write(oprot); } oprot.writeListEnd(); } @@ -66781,9 +66861,9 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter690 : struct.success) + for (Partition _iter706 : struct.success) { - _iter690.write(oprot); + _iter706.write(oprot); } } } @@ -66801,14 +66881,14 @@ 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.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list691.size); - for (int _i692 = 0; _i692 < _list691.size; ++_i692) + 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 _elem693; // optional - _elem693 = new Partition(); - _elem693.read(iprot); - struct.success.add(_elem693); + Partition _elem709; // required + _elem709 = new Partition(); + _elem709.read(iprot); + struct.success.add(_elem709); } } struct.setSuccessIsSet(true); @@ -68358,14 +68438,14 @@ case 3: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list694 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list694.size); - for (int _i695 = 0; _i695 < _list694.size; ++_i695) + org.apache.thrift.protocol.TList _list710 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list710.size); + for (int _i711 = 0; _i711 < _list710.size; ++_i711) { - Partition _elem696; // optional - _elem696 = new Partition(); - _elem696.read(iprot); - struct.new_parts.add(_elem696); + Partition _elem712; // required + _elem712 = new Partition(); + _elem712.read(iprot); + struct.new_parts.add(_elem712); } iprot.readListEnd(); } @@ -68401,9 +68481,9 @@ 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 _iter697 : struct.new_parts) + for (Partition _iter713 : struct.new_parts) { - _iter697.write(oprot); + _iter713.write(oprot); } oprot.writeListEnd(); } @@ -68446,9 +68526,9 @@ if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter698 : struct.new_parts) + for (Partition _iter714 : struct.new_parts) { - _iter698.write(oprot); + _iter714.write(oprot); } } } @@ -68468,14 +68548,14 @@ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list699 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list699.size); - for (int _i700 = 0; _i700 < _list699.size; ++_i700) + org.apache.thrift.protocol.TList _list715 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list715.size); + for (int _i716 = 0; _i716 < _list715.size; ++_i716) { - Partition _elem701; // optional - _elem701 = new Partition(); - _elem701.read(iprot); - struct.new_parts.add(_elem701); + Partition _elem717; // required + _elem717 = new Partition(); + _elem717.read(iprot); + struct.new_parts.add(_elem717); } } struct.setNew_partsIsSet(true); @@ -70674,13 +70754,13 @@ case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list702 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list702.size); - for (int _i703 = 0; _i703 < _list702.size; ++_i703) + org.apache.thrift.protocol.TList _list718 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list718.size); + for (int _i719 = 0; _i719 < _list718.size; ++_i719) { - String _elem704; // optional - _elem704 = iprot.readString(); - struct.part_vals.add(_elem704); + String _elem720; // required + _elem720 = iprot.readString(); + struct.part_vals.add(_elem720); } iprot.readListEnd(); } @@ -70725,9 +70805,9 @@ 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 _iter705 : struct.part_vals) + for (String _iter721 : struct.part_vals) { - oprot.writeString(_iter705); + oprot.writeString(_iter721); } oprot.writeListEnd(); } @@ -70778,9 +70858,9 @@ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter706 : struct.part_vals) + for (String _iter722 : struct.part_vals) { - oprot.writeString(_iter706); + oprot.writeString(_iter722); } } } @@ -70803,13 +70883,13 @@ } 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.part_vals = new ArrayList(_list707.size); - for (int _i708 = 0; _i708 < _list707.size; ++_i708) + org.apache.thrift.protocol.TList _list723 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list723.size); + for (int _i724 = 0; _i724 < _list723.size; ++_i724) { - String _elem709; // optional - _elem709 = iprot.readString(); - struct.part_vals.add(_elem709); + String _elem725; // required + _elem725 = iprot.readString(); + struct.part_vals.add(_elem725); } } struct.setPart_valsIsSet(true); @@ -71686,13 +71766,13 @@ case 1: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list710 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list710.size); - for (int _i711 = 0; _i711 < _list710.size; ++_i711) + org.apache.thrift.protocol.TList _list726 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list726.size); + for (int _i727 = 0; _i727 < _list726.size; ++_i727) { - String _elem712; // optional - _elem712 = iprot.readString(); - struct.part_vals.add(_elem712); + String _elem728; // required + _elem728 = iprot.readString(); + struct.part_vals.add(_elem728); } iprot.readListEnd(); } @@ -71726,9 +71806,9 @@ 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 _iter713 : struct.part_vals) + for (String _iter729 : struct.part_vals) { - oprot.writeString(_iter713); + oprot.writeString(_iter729); } oprot.writeListEnd(); } @@ -71765,9 +71845,9 @@ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter714 : struct.part_vals) + for (String _iter730 : struct.part_vals) { - oprot.writeString(_iter714); + oprot.writeString(_iter730); } } } @@ -71782,13 +71862,13 @@ BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list715 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list715.size); - for (int _i716 = 0; _i716 < _list715.size; ++_i716) + 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) { - String _elem717; // optional - _elem717 = iprot.readString(); - struct.part_vals.add(_elem717); + String _elem733; // required + _elem733 = iprot.readString(); + struct.part_vals.add(_elem733); } } struct.setPart_valsIsSet(true); @@ -73946,13 +74026,13 @@ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list718 = iprot.readListBegin(); - struct.success = new ArrayList(_list718.size); - for (int _i719 = 0; _i719 < _list718.size; ++_i719) + org.apache.thrift.protocol.TList _list734 = iprot.readListBegin(); + struct.success = new ArrayList(_list734.size); + for (int _i735 = 0; _i735 < _list734.size; ++_i735) { - String _elem720; // optional - _elem720 = iprot.readString(); - struct.success.add(_elem720); + String _elem736; // required + _elem736 = iprot.readString(); + struct.success.add(_elem736); } iprot.readListEnd(); } @@ -73987,9 +74067,9 @@ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter721 : struct.success) + for (String _iter737 : struct.success) { - oprot.writeString(_iter721); + oprot.writeString(_iter737); } oprot.writeListEnd(); } @@ -74028,9 +74108,9 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter722 : struct.success) + for (String _iter738 : struct.success) { - oprot.writeString(_iter722); + oprot.writeString(_iter738); } } } @@ -74045,13 +74125,13 @@ BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list723 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list723.size); - for (int _i724 = 0; _i724 < _list723.size; ++_i724) + org.apache.thrift.protocol.TList _list739 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list739.size); + for (int _i740 = 0; _i740 < _list739.size; ++_i740) { - String _elem725; // optional - _elem725 = iprot.readString(); - struct.success.add(_elem725); + String _elem741; // required + _elem741 = iprot.readString(); + struct.success.add(_elem741); } } struct.setSuccessIsSet(true); @@ -74825,15 +74905,15 @@ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map726 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map726.size); - for (int _i727 = 0; _i727 < _map726.size; ++_i727) + org.apache.thrift.protocol.TMap _map742 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map742.size); + for (int _i743 = 0; _i743 < _map742.size; ++_i743) { - String _key728; // required - String _val729; // required - _key728 = iprot.readString(); - _val729 = iprot.readString(); - struct.success.put(_key728, _val729); + String _key744; // required + String _val745; // required + _key744 = iprot.readString(); + _val745 = iprot.readString(); + struct.success.put(_key744, _val745); } iprot.readMapEnd(); } @@ -74868,10 +74948,10 @@ 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 _iter730 : struct.success.entrySet()) + for (Map.Entry _iter746 : struct.success.entrySet()) { - oprot.writeString(_iter730.getKey()); - oprot.writeString(_iter730.getValue()); + oprot.writeString(_iter746.getKey()); + oprot.writeString(_iter746.getValue()); } oprot.writeMapEnd(); } @@ -74910,10 +74990,10 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter731 : struct.success.entrySet()) + for (Map.Entry _iter747 : struct.success.entrySet()) { - oprot.writeString(_iter731.getKey()); - oprot.writeString(_iter731.getValue()); + oprot.writeString(_iter747.getKey()); + oprot.writeString(_iter747.getValue()); } } } @@ -74928,15 +75008,15 @@ BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map732 = 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*_map732.size); - for (int _i733 = 0; _i733 < _map732.size; ++_i733) + org.apache.thrift.protocol.TMap _map748 = 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*_map748.size); + for (int _i749 = 0; _i749 < _map748.size; ++_i749) { - String _key734; // required - String _val735; // required - _key734 = iprot.readString(); - _val735 = iprot.readString(); - struct.success.put(_key734, _val735); + String _key750; // required + String _val751; // required + _key750 = iprot.readString(); + _val751 = iprot.readString(); + struct.success.put(_key750, _val751); } } struct.setSuccessIsSet(true); @@ -75542,15 +75622,15 @@ case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map736 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map736.size); - for (int _i737 = 0; _i737 < _map736.size; ++_i737) + org.apache.thrift.protocol.TMap _map752 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map752.size); + for (int _i753 = 0; _i753 < _map752.size; ++_i753) { - String _key738; // required - String _val739; // required - _key738 = iprot.readString(); - _val739 = iprot.readString(); - struct.part_vals.put(_key738, _val739); + String _key754; // required + String _val755; // required + _key754 = iprot.readString(); + _val755 = iprot.readString(); + struct.part_vals.put(_key754, _val755); } iprot.readMapEnd(); } @@ -75594,10 +75674,10 @@ 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 _iter740 : struct.part_vals.entrySet()) + for (Map.Entry _iter756 : struct.part_vals.entrySet()) { - oprot.writeString(_iter740.getKey()); - oprot.writeString(_iter740.getValue()); + oprot.writeString(_iter756.getKey()); + oprot.writeString(_iter756.getValue()); } oprot.writeMapEnd(); } @@ -75648,10 +75728,10 @@ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter741 : struct.part_vals.entrySet()) + for (Map.Entry _iter757 : struct.part_vals.entrySet()) { - oprot.writeString(_iter741.getKey()); - oprot.writeString(_iter741.getValue()); + oprot.writeString(_iter757.getKey()); + oprot.writeString(_iter757.getValue()); } } } @@ -75674,15 +75754,15 @@ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map742 = 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*_map742.size); - for (int _i743 = 0; _i743 < _map742.size; ++_i743) + org.apache.thrift.protocol.TMap _map758 = 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*_map758.size); + for (int _i759 = 0; _i759 < _map758.size; ++_i759) { - String _key744; // required - String _val745; // required - _key744 = iprot.readString(); - _val745 = iprot.readString(); - struct.part_vals.put(_key744, _val745); + String _key760; // required + String _val761; // required + _key760 = iprot.readString(); + _val761 = iprot.readString(); + struct.part_vals.put(_key760, _val761); } } struct.setPart_valsIsSet(true); @@ -77177,15 +77257,15 @@ case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map746 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map746.size); - for (int _i747 = 0; _i747 < _map746.size; ++_i747) + org.apache.thrift.protocol.TMap _map762 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map762.size); + for (int _i763 = 0; _i763 < _map762.size; ++_i763) { - String _key748; // required - String _val749; // required - _key748 = iprot.readString(); - _val749 = iprot.readString(); - struct.part_vals.put(_key748, _val749); + String _key764; // required + String _val765; // required + _key764 = iprot.readString(); + _val765 = iprot.readString(); + struct.part_vals.put(_key764, _val765); } iprot.readMapEnd(); } @@ -77229,10 +77309,10 @@ 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 _iter750 : struct.part_vals.entrySet()) + for (Map.Entry _iter766 : struct.part_vals.entrySet()) { - oprot.writeString(_iter750.getKey()); - oprot.writeString(_iter750.getValue()); + oprot.writeString(_iter766.getKey()); + oprot.writeString(_iter766.getValue()); } oprot.writeMapEnd(); } @@ -77283,10 +77363,10 @@ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter751 : struct.part_vals.entrySet()) + for (Map.Entry _iter767 : struct.part_vals.entrySet()) { - oprot.writeString(_iter751.getKey()); - oprot.writeString(_iter751.getValue()); + oprot.writeString(_iter767.getKey()); + oprot.writeString(_iter767.getValue()); } } } @@ -77309,15 +77389,15 @@ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map752 = 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*_map752.size); - for (int _i753 = 0; _i753 < _map752.size; ++_i753) + org.apache.thrift.protocol.TMap _map768 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new HashMap(2*_map768.size); + for (int _i769 = 0; _i769 < _map768.size; ++_i769) { - String _key754; // required - String _val755; // required - _key754 = iprot.readString(); - _val755 = iprot.readString(); - struct.part_vals.put(_key754, _val755); + String _key770; // required + String _val771; // required + _key770 = iprot.readString(); + _val771 = iprot.readString(); + struct.part_vals.put(_key770, _val771); } } struct.setPart_valsIsSet(true); @@ -84041,14 +84121,14 @@ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list756 = iprot.readListBegin(); - struct.success = new ArrayList(_list756.size); - for (int _i757 = 0; _i757 < _list756.size; ++_i757) + org.apache.thrift.protocol.TList _list772 = iprot.readListBegin(); + struct.success = new ArrayList(_list772.size); + for (int _i773 = 0; _i773 < _list772.size; ++_i773) { - Index _elem758; // optional - _elem758 = new Index(); - _elem758.read(iprot); - struct.success.add(_elem758); + Index _elem774; // required + _elem774 = new Index(); + _elem774.read(iprot); + struct.success.add(_elem774); } iprot.readListEnd(); } @@ -84092,9 +84172,9 @@ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Index _iter759 : struct.success) + for (Index _iter775 : struct.success) { - _iter759.write(oprot); + _iter775.write(oprot); } oprot.writeListEnd(); } @@ -84141,9 +84221,9 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Index _iter760 : struct.success) + for (Index _iter776 : struct.success) { - _iter760.write(oprot); + _iter776.write(oprot); } } } @@ -84161,14 +84241,14 @@ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list761 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list761.size); - for (int _i762 = 0; _i762 < _list761.size; ++_i762) + org.apache.thrift.protocol.TList _list777 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list777.size); + for (int _i778 = 0; _i778 < _list777.size; ++_i778) { - Index _elem763; // optional - _elem763 = new Index(); - _elem763.read(iprot); - struct.success.add(_elem763); + Index _elem779; // required + _elem779 = new Index(); + _elem779.read(iprot); + struct.success.add(_elem779); } } struct.setSuccessIsSet(true); @@ -85150,13 +85230,13 @@ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list764 = iprot.readListBegin(); - struct.success = new ArrayList(_list764.size); - for (int _i765 = 0; _i765 < _list764.size; ++_i765) + org.apache.thrift.protocol.TList _list780 = iprot.readListBegin(); + struct.success = new ArrayList(_list780.size); + for (int _i781 = 0; _i781 < _list780.size; ++_i781) { - String _elem766; // optional - _elem766 = iprot.readString(); - struct.success.add(_elem766); + String _elem782; // required + _elem782 = iprot.readString(); + struct.success.add(_elem782); } iprot.readListEnd(); } @@ -85191,9 +85271,9 @@ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter767 : struct.success) + for (String _iter783 : struct.success) { - oprot.writeString(_iter767); + oprot.writeString(_iter783); } oprot.writeListEnd(); } @@ -85232,9 +85312,9 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter768 : struct.success) + for (String _iter784 : struct.success) { - oprot.writeString(_iter768); + oprot.writeString(_iter784); } } } @@ -85249,13 +85329,13 @@ BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list769 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list769.size); - for (int _i770 = 0; _i770 < _list769.size; ++_i770) + org.apache.thrift.protocol.TList _list785 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list785.size); + for (int _i786 = 0; _i786 < _list785.size; ++_i786) { - String _elem771; // optional - _elem771 = iprot.readString(); - struct.success.add(_elem771); + String _elem787; // required + _elem787 = iprot.readString(); + struct.success.add(_elem787); } } struct.setSuccessIsSet(true); @@ -98910,13 +98990,13 @@ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list772 = iprot.readListBegin(); - struct.success = new ArrayList(_list772.size); - for (int _i773 = 0; _i773 < _list772.size; ++_i773) + org.apache.thrift.protocol.TList _list788 = iprot.readListBegin(); + struct.success = new ArrayList(_list788.size); + for (int _i789 = 0; _i789 < _list788.size; ++_i789) { - String _elem774; // optional - _elem774 = iprot.readString(); - struct.success.add(_elem774); + String _elem790; // required + _elem790 = iprot.readString(); + struct.success.add(_elem790); } iprot.readListEnd(); } @@ -98951,9 +99031,9 @@ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter775 : struct.success) + for (String _iter791 : struct.success) { - oprot.writeString(_iter775); + oprot.writeString(_iter791); } oprot.writeListEnd(); } @@ -98992,9 +99072,9 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter776 : struct.success) + for (String _iter792 : struct.success) { - oprot.writeString(_iter776); + oprot.writeString(_iter792); } } } @@ -99009,13 +99089,13 @@ BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list777 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list777.size); - for (int _i778 = 0; _i778 < _list777.size; ++_i778) + 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) { - String _elem779; // optional - _elem779 = iprot.readString(); - struct.success.add(_elem779); + String _elem795; // required + _elem795 = iprot.readString(); + struct.success.add(_elem795); } } struct.setSuccessIsSet(true); @@ -102358,13 +102438,13 @@ 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 _list796 = iprot.readListBegin(); + struct.success = new ArrayList(_list796.size); + for (int _i797 = 0; _i797 < _list796.size; ++_i797) { - String _elem782; // optional - _elem782 = iprot.readString(); - struct.success.add(_elem782); + String _elem798; // required + _elem798 = iprot.readString(); + struct.success.add(_elem798); } iprot.readListEnd(); } @@ -102399,9 +102479,9 @@ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter783 : struct.success) + for (String _iter799 : struct.success) { - oprot.writeString(_iter783); + oprot.writeString(_iter799); } oprot.writeListEnd(); } @@ -102440,9 +102520,9 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter784 : struct.success) + for (String _iter800 : struct.success) { - oprot.writeString(_iter784); + oprot.writeString(_iter800); } } } @@ -102457,13 +102537,13 @@ BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list785 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list785.size); - for (int _i786 = 0; _i786 < _list785.size; ++_i786) + 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 _elem787; // optional - _elem787 = iprot.readString(); - struct.success.add(_elem787); + String _elem803; // required + _elem803 = iprot.readString(); + struct.success.add(_elem803); } } struct.setSuccessIsSet(true); @@ -105754,14 +105834,14 @@ 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 _list804 = iprot.readListBegin(); + struct.success = new ArrayList(_list804.size); + for (int _i805 = 0; _i805 < _list804.size; ++_i805) { - Role _elem790; // optional - _elem790 = new Role(); - _elem790.read(iprot); - struct.success.add(_elem790); + Role _elem806; // required + _elem806 = new Role(); + _elem806.read(iprot); + struct.success.add(_elem806); } iprot.readListEnd(); } @@ -105796,9 +105876,9 @@ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Role _iter791 : struct.success) + for (Role _iter807 : struct.success) { - _iter791.write(oprot); + _iter807.write(oprot); } oprot.writeListEnd(); } @@ -105837,9 +105917,9 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter792 : struct.success) + for (Role _iter808 : struct.success) { - _iter792.write(oprot); + _iter808.write(oprot); } } } @@ -105854,14 +105934,14 @@ 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.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list793.size); - for (int _i794 = 0; _i794 < _list793.size; ++_i794) + org.apache.thrift.protocol.TList _list809 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list809.size); + for (int _i810 = 0; _i810 < _list809.size; ++_i810) { - Role _elem795; // optional - _elem795 = new Role(); - _elem795.read(iprot); - struct.success.add(_elem795); + Role _elem811; // required + _elem811 = new Role(); + _elem811.read(iprot); + struct.success.add(_elem811); } } struct.setSuccessIsSet(true); @@ -108037,13 +108117,13 @@ case 3: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list796 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list796.size); - for (int _i797 = 0; _i797 < _list796.size; ++_i797) + org.apache.thrift.protocol.TList _list812 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list812.size); + for (int _i813 = 0; _i813 < _list812.size; ++_i813) { - String _elem798; // optional - _elem798 = iprot.readString(); - struct.group_names.add(_elem798); + String _elem814; // required + _elem814 = iprot.readString(); + struct.group_names.add(_elem814); } iprot.readListEnd(); } @@ -108079,9 +108159,9 @@ 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 _iter799 : struct.group_names) + for (String _iter815 : struct.group_names) { - oprot.writeString(_iter799); + oprot.writeString(_iter815); } oprot.writeListEnd(); } @@ -108124,9 +108204,9 @@ if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter800 : struct.group_names) + for (String _iter816 : struct.group_names) { - oprot.writeString(_iter800); + oprot.writeString(_iter816); } } } @@ -108147,13 +108227,13 @@ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list801 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list801.size); - for (int _i802 = 0; _i802 < _list801.size; ++_i802) + org.apache.thrift.protocol.TList _list817 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list817.size); + for (int _i818 = 0; _i818 < _list817.size; ++_i818) { - String _elem803; // optional - _elem803 = iprot.readString(); - struct.group_names.add(_elem803); + String _elem819; // required + _elem819 = iprot.readString(); + struct.group_names.add(_elem819); } } struct.setGroup_namesIsSet(true); @@ -109611,14 +109691,14 @@ 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 _list820 = iprot.readListBegin(); + struct.success = new ArrayList(_list820.size); + for (int _i821 = 0; _i821 < _list820.size; ++_i821) { - HiveObjectPrivilege _elem806; // optional - _elem806 = new HiveObjectPrivilege(); - _elem806.read(iprot); - struct.success.add(_elem806); + HiveObjectPrivilege _elem822; // required + _elem822 = new HiveObjectPrivilege(); + _elem822.read(iprot); + struct.success.add(_elem822); } iprot.readListEnd(); } @@ -109653,9 +109733,9 @@ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (HiveObjectPrivilege _iter807 : struct.success) + for (HiveObjectPrivilege _iter823 : struct.success) { - _iter807.write(oprot); + _iter823.write(oprot); } oprot.writeListEnd(); } @@ -109694,9 +109774,9 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter808 : struct.success) + for (HiveObjectPrivilege _iter824 : struct.success) { - _iter808.write(oprot); + _iter824.write(oprot); } } } @@ -109711,14 +109791,14 @@ 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.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list809.size); - for (int _i810 = 0; _i810 < _list809.size; ++_i810) + 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) { - HiveObjectPrivilege _elem811; // optional - _elem811 = new HiveObjectPrivilege(); - _elem811.read(iprot); - struct.success.add(_elem811); + HiveObjectPrivilege _elem827; // required + _elem827 = new HiveObjectPrivilege(); + _elem827.read(iprot); + struct.success.add(_elem827); } } struct.setSuccessIsSet(true); @@ -111791,13 +111871,13 @@ case 2: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list812 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list812.size); - for (int _i813 = 0; _i813 < _list812.size; ++_i813) + org.apache.thrift.protocol.TList _list828 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list828.size); + for (int _i829 = 0; _i829 < _list828.size; ++_i829) { - String _elem814; // optional - _elem814 = iprot.readString(); - struct.group_names.add(_elem814); + String _elem830; // required + _elem830 = iprot.readString(); + struct.group_names.add(_elem830); } iprot.readListEnd(); } @@ -111828,9 +111908,9 @@ 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 _iter815 : struct.group_names) + for (String _iter831 : struct.group_names) { - oprot.writeString(_iter815); + oprot.writeString(_iter831); } oprot.writeListEnd(); } @@ -111867,9 +111947,9 @@ if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter816 : struct.group_names) + for (String _iter832 : struct.group_names) { - oprot.writeString(_iter816); + oprot.writeString(_iter832); } } } @@ -111885,13 +111965,13 @@ } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list817 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list817.size); - for (int _i818 = 0; _i818 < _list817.size; ++_i818) + 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 _elem819; // optional - _elem819 = iprot.readString(); - struct.group_names.add(_elem819); + String _elem835; // required + _elem835 = iprot.readString(); + struct.group_names.add(_elem835); } } struct.setGroup_namesIsSet(true); @@ -112297,13 +112377,13 @@ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list820 = iprot.readListBegin(); - struct.success = new ArrayList(_list820.size); - for (int _i821 = 0; _i821 < _list820.size; ++_i821) + org.apache.thrift.protocol.TList _list836 = iprot.readListBegin(); + struct.success = new ArrayList(_list836.size); + for (int _i837 = 0; _i837 < _list836.size; ++_i837) { - String _elem822; // optional - _elem822 = iprot.readString(); - struct.success.add(_elem822); + String _elem838; // required + _elem838 = iprot.readString(); + struct.success.add(_elem838); } iprot.readListEnd(); } @@ -112338,9 +112418,9 @@ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter823 : struct.success) + for (String _iter839 : struct.success) { - oprot.writeString(_iter823); + oprot.writeString(_iter839); } oprot.writeListEnd(); } @@ -112379,9 +112459,9 @@ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter824 : struct.success) + for (String _iter840 : struct.success) { - oprot.writeString(_iter824); + oprot.writeString(_iter840); } } } @@ -112396,13 +112476,13 @@ BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list825 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list825.size); - for (int _i826 = 0; _i826 < _list825.size; ++_i826) + org.apache.thrift.protocol.TList _list841 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list841.size); + for (int _i842 = 0; _i842 < _list841.size; ++_i842) { - String _elem827; // optional - _elem827 = iprot.readString(); - struct.success.add(_elem827); + String _elem843; // required + _elem843 = iprot.readString(); + struct.success.add(_elem843); } } struct.setSuccessIsSet(true); @@ -122851,6 +122931,732 @@ } + public static class heartbeat_txn_range_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("heartbeat_txn_range_args"); + + private static final org.apache.thrift.protocol.TField TXNS_FIELD_DESC = new org.apache.thrift.protocol.TField("txns", org.apache.thrift.protocol.TType.STRUCT, (short)1); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new heartbeat_txn_range_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new heartbeat_txn_range_argsTupleSchemeFactory()); + } + + private HeartbeatTxnRangeRequest txns; // 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 { + TXNS((short)1, "txns"); + + 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: // TXNS + return TXNS; + 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.TXNS, new org.apache.thrift.meta_data.FieldMetaData("txns", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, HeartbeatTxnRangeRequest.class))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(heartbeat_txn_range_args.class, metaDataMap); + } + + public heartbeat_txn_range_args() { + } + + public heartbeat_txn_range_args( + HeartbeatTxnRangeRequest txns) + { + this(); + this.txns = txns; + } + + /** + * Performs a deep copy on other. + */ + public heartbeat_txn_range_args(heartbeat_txn_range_args other) { + if (other.isSetTxns()) { + this.txns = new HeartbeatTxnRangeRequest(other.txns); + } + } + + public heartbeat_txn_range_args deepCopy() { + return new heartbeat_txn_range_args(this); + } + + @Override + public void clear() { + this.txns = null; + } + + public HeartbeatTxnRangeRequest getTxns() { + return this.txns; + } + + public void setTxns(HeartbeatTxnRangeRequest txns) { + this.txns = txns; + } + + public void unsetTxns() { + this.txns = null; + } + + /** Returns true if field txns is set (has been assigned a value) and false otherwise */ + public boolean isSetTxns() { + return this.txns != null; + } + + public void setTxnsIsSet(boolean value) { + if (!value) { + this.txns = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case TXNS: + if (value == null) { + unsetTxns(); + } else { + setTxns((HeartbeatTxnRangeRequest)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case TXNS: + return getTxns(); + + } + 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 TXNS: + return isSetTxns(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof heartbeat_txn_range_args) + return this.equals((heartbeat_txn_range_args)that); + return false; + } + + public boolean equals(heartbeat_txn_range_args that) { + if (that == null) + return false; + + boolean this_present_txns = true && this.isSetTxns(); + boolean that_present_txns = true && that.isSetTxns(); + if (this_present_txns || that_present_txns) { + if (!(this_present_txns && that_present_txns)) + return false; + if (!this.txns.equals(that.txns)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + HashCodeBuilder builder = new HashCodeBuilder(); + + boolean present_txns = true && (isSetTxns()); + builder.append(present_txns); + if (present_txns) + builder.append(txns); + + return builder.toHashCode(); + } + + public int compareTo(heartbeat_txn_range_args other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + heartbeat_txn_range_args typedOther = (heartbeat_txn_range_args)other; + + lastComparison = Boolean.valueOf(isSetTxns()).compareTo(typedOther.isSetTxns()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTxns()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txns, typedOther.txns); + 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("heartbeat_txn_range_args("); + boolean first = true; + + sb.append("txns:"); + if (this.txns == null) { + sb.append("null"); + } else { + sb.append(this.txns); + } + 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 (txns != null) { + txns.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 heartbeat_txn_range_argsStandardSchemeFactory implements SchemeFactory { + public heartbeat_txn_range_argsStandardScheme getScheme() { + return new heartbeat_txn_range_argsStandardScheme(); + } + } + + private static class heartbeat_txn_range_argsStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, heartbeat_txn_range_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: // TXNS + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.txns = new HeartbeatTxnRangeRequest(); + struct.txns.read(iprot); + struct.setTxnsIsSet(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, heartbeat_txn_range_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.txns != null) { + oprot.writeFieldBegin(TXNS_FIELD_DESC); + struct.txns.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class heartbeat_txn_range_argsTupleSchemeFactory implements SchemeFactory { + public heartbeat_txn_range_argsTupleScheme getScheme() { + return new heartbeat_txn_range_argsTupleScheme(); + } + } + + private static class heartbeat_txn_range_argsTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, heartbeat_txn_range_args struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetTxns()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetTxns()) { + struct.txns.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, heartbeat_txn_range_args struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.txns = new HeartbeatTxnRangeRequest(); + struct.txns.read(iprot); + struct.setTxnsIsSet(true); + } + } + } + + } + + public static class heartbeat_txn_range_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("heartbeat_txn_range_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new heartbeat_txn_range_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new heartbeat_txn_range_resultTupleSchemeFactory()); + } + + private HeartbeatTxnRangeResponse success; // required + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short)0, "success"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 0: // SUCCESS + return SUCCESS; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + 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, HeartbeatTxnRangeResponse.class))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(heartbeat_txn_range_result.class, metaDataMap); + } + + public heartbeat_txn_range_result() { + } + + public heartbeat_txn_range_result( + HeartbeatTxnRangeResponse success) + { + this(); + this.success = success; + } + + /** + * Performs a deep copy on other. + */ + public heartbeat_txn_range_result(heartbeat_txn_range_result other) { + if (other.isSetSuccess()) { + this.success = new HeartbeatTxnRangeResponse(other.success); + } + } + + public heartbeat_txn_range_result deepCopy() { + return new heartbeat_txn_range_result(this); + } + + @Override + public void clear() { + this.success = null; + } + + public HeartbeatTxnRangeResponse getSuccess() { + return this.success; + } + + public void setSuccess(HeartbeatTxnRangeResponse 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 void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if (value == null) { + unsetSuccess(); + } else { + setSuccess((HeartbeatTxnRangeResponse)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof heartbeat_txn_range_result) + return this.equals((heartbeat_txn_range_result)that); + return false; + } + + public boolean equals(heartbeat_txn_range_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; + } + + 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); + + return builder.toHashCode(); + } + + public int compareTo(heartbeat_txn_range_result other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + heartbeat_txn_range_result typedOther = (heartbeat_txn_range_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; + } + } + 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("heartbeat_txn_range_result("); + boolean first = true; + + sb.append("success:"); + if (this.success == null) { + sb.append("null"); + } else { + sb.append(this.success); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + 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 heartbeat_txn_range_resultStandardSchemeFactory implements SchemeFactory { + public heartbeat_txn_range_resultStandardScheme getScheme() { + return new heartbeat_txn_range_resultStandardScheme(); + } + } + + private static class heartbeat_txn_range_resultStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, heartbeat_txn_range_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 HeartbeatTxnRangeResponse(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, heartbeat_txn_range_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(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class heartbeat_txn_range_resultTupleSchemeFactory implements SchemeFactory { + public heartbeat_txn_range_resultTupleScheme getScheme() { + return new heartbeat_txn_range_resultTupleScheme(); + } + } + + private static class heartbeat_txn_range_resultTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, heartbeat_txn_range_result struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetSuccess()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetSuccess()) { + struct.success.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, heartbeat_txn_range_result struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.success = new HeartbeatTxnRangeResponse(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } + } + } + + } + public static class compact_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("compact_args"); Index: metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java =================================================================== --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java (revision 1583026) +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java (working copy) @@ -618,7 +618,7 @@ struct.fields = new ArrayList(_list0.size); for (int _i1 = 0; _i1 < _list0.size; ++_i1) { - FieldSchema _elem2; // optional + FieldSchema _elem2; // required _elem2 = new FieldSchema(); _elem2.read(iprot); struct.fields.add(_elem2); @@ -749,7 +749,7 @@ struct.fields = new ArrayList(_list5.size); for (int _i6 = 0; _i6 < _list5.size; ++_i6) { - FieldSchema _elem7; // optional + FieldSchema _elem7; // required _elem7 = new FieldSchema(); _elem7.read(iprot); struct.fields.add(_elem7); Index: metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php =================================================================== --- metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php (revision 1583026) +++ metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php (working copy) @@ -120,6 +120,7 @@ public function unlock(\metastore\UnlockRequest $rqst); public function show_locks(\metastore\ShowLocksRequest $rqst); public function heartbeat(\metastore\HeartbeatRequest $ids); + public function heartbeat_txn_range(\metastore\HeartbeatTxnRangeRequest $txns); public function compact(\metastore\CompactionRequest $rqst); public function show_compact(\metastore\ShowCompactRequest $rqst); } @@ -6153,6 +6154,57 @@ return; } + public function heartbeat_txn_range(\metastore\HeartbeatTxnRangeRequest $txns) + { + $this->send_heartbeat_txn_range($txns); + return $this->recv_heartbeat_txn_range(); + } + + public function send_heartbeat_txn_range(\metastore\HeartbeatTxnRangeRequest $txns) + { + $args = new \metastore\ThriftHiveMetastore_heartbeat_txn_range_args(); + $args->txns = $txns; + $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + if ($bin_accel) + { + thrift_protocol_write_binary($this->output_, 'heartbeat_txn_range', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); + } + else + { + $this->output_->writeMessageBegin('heartbeat_txn_range', TMessageType::CALL, $this->seqid_); + $args->write($this->output_); + $this->output_->writeMessageEnd(); + $this->output_->getTransport()->flush(); + } + } + + public function recv_heartbeat_txn_range() + { + $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_heartbeat_txn_range_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_heartbeat_txn_range_result(); + $result->read($this->input_); + $this->input_->readMessageEnd(); + } + if ($result->success !== null) { + return $result->success; + } + throw new \Exception("heartbeat_txn_range failed: unknown result"); + } + public function compact(\metastore\CompactionRequest $rqst) { $this->send_compact($rqst); @@ -7002,14 +7054,14 @@ case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size377 = 0; - $_etype380 = 0; - $xfer += $input->readListBegin($_etype380, $_size377); - for ($_i381 = 0; $_i381 < $_size377; ++$_i381) + $_size393 = 0; + $_etype396 = 0; + $xfer += $input->readListBegin($_etype396, $_size393); + for ($_i397 = 0; $_i397 < $_size393; ++$_i397) { - $elem382 = null; - $xfer += $input->readString($elem382); - $this->success []= $elem382; + $elem398 = null; + $xfer += $input->readString($elem398); + $this->success []= $elem398; } $xfer += $input->readListEnd(); } else { @@ -7045,9 +7097,9 @@ { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter383) + foreach ($this->success as $iter399) { - $xfer += $output->writeString($iter383); + $xfer += $output->writeString($iter399); } } $output->writeListEnd(); @@ -7172,14 +7224,14 @@ case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size384 = 0; - $_etype387 = 0; - $xfer += $input->readListBegin($_etype387, $_size384); - for ($_i388 = 0; $_i388 < $_size384; ++$_i388) + $_size400 = 0; + $_etype403 = 0; + $xfer += $input->readListBegin($_etype403, $_size400); + for ($_i404 = 0; $_i404 < $_size400; ++$_i404) { - $elem389 = null; - $xfer += $input->readString($elem389); - $this->success []= $elem389; + $elem405 = null; + $xfer += $input->readString($elem405); + $this->success []= $elem405; } $xfer += $input->readListEnd(); } else { @@ -7215,9 +7267,9 @@ { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter390) + foreach ($this->success as $iter406) { - $xfer += $output->writeString($iter390); + $xfer += $output->writeString($iter406); } } $output->writeListEnd(); @@ -8158,18 +8210,18 @@ case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size391 = 0; - $_ktype392 = 0; - $_vtype393 = 0; - $xfer += $input->readMapBegin($_ktype392, $_vtype393, $_size391); - for ($_i395 = 0; $_i395 < $_size391; ++$_i395) + $_size407 = 0; + $_ktype408 = 0; + $_vtype409 = 0; + $xfer += $input->readMapBegin($_ktype408, $_vtype409, $_size407); + for ($_i411 = 0; $_i411 < $_size407; ++$_i411) { - $key396 = ''; - $val397 = new \metastore\Type(); - $xfer += $input->readString($key396); - $val397 = new \metastore\Type(); - $xfer += $val397->read($input); - $this->success[$key396] = $val397; + $key412 = ''; + $val413 = new \metastore\Type(); + $xfer += $input->readString($key412); + $val413 = new \metastore\Type(); + $xfer += $val413->read($input); + $this->success[$key412] = $val413; } $xfer += $input->readMapEnd(); } else { @@ -8205,10 +8257,10 @@ { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter398 => $viter399) + foreach ($this->success as $kiter414 => $viter415) { - $xfer += $output->writeString($kiter398); - $xfer += $viter399->write($output); + $xfer += $output->writeString($kiter414); + $xfer += $viter415->write($output); } } $output->writeMapEnd(); @@ -8394,15 +8446,15 @@ case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size400 = 0; - $_etype403 = 0; - $xfer += $input->readListBegin($_etype403, $_size400); - for ($_i404 = 0; $_i404 < $_size400; ++$_i404) + $_size416 = 0; + $_etype419 = 0; + $xfer += $input->readListBegin($_etype419, $_size416); + for ($_i420 = 0; $_i420 < $_size416; ++$_i420) { - $elem405 = null; - $elem405 = new \metastore\FieldSchema(); - $xfer += $elem405->read($input); - $this->success []= $elem405; + $elem421 = null; + $elem421 = new \metastore\FieldSchema(); + $xfer += $elem421->read($input); + $this->success []= $elem421; } $xfer += $input->readListEnd(); } else { @@ -8454,9 +8506,9 @@ { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter406) + foreach ($this->success as $iter422) { - $xfer += $iter406->write($output); + $xfer += $iter422->write($output); } } $output->writeListEnd(); @@ -8652,15 +8704,15 @@ case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size407 = 0; - $_etype410 = 0; - $xfer += $input->readListBegin($_etype410, $_size407); - for ($_i411 = 0; $_i411 < $_size407; ++$_i411) + $_size423 = 0; + $_etype426 = 0; + $xfer += $input->readListBegin($_etype426, $_size423); + for ($_i427 = 0; $_i427 < $_size423; ++$_i427) { - $elem412 = null; - $elem412 = new \metastore\FieldSchema(); - $xfer += $elem412->read($input); - $this->success []= $elem412; + $elem428 = null; + $elem428 = new \metastore\FieldSchema(); + $xfer += $elem428->read($input); + $this->success []= $elem428; } $xfer += $input->readListEnd(); } else { @@ -8712,9 +8764,9 @@ { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter413) + foreach ($this->success as $iter429) { - $xfer += $iter413->write($output); + $xfer += $iter429->write($output); } } $output->writeListEnd(); @@ -9791,14 +9843,14 @@ case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size414 = 0; - $_etype417 = 0; - $xfer += $input->readListBegin($_etype417, $_size414); - for ($_i418 = 0; $_i418 < $_size414; ++$_i418) + $_size430 = 0; + $_etype433 = 0; + $xfer += $input->readListBegin($_etype433, $_size430); + for ($_i434 = 0; $_i434 < $_size430; ++$_i434) { - $elem419 = null; - $xfer += $input->readString($elem419); - $this->success []= $elem419; + $elem435 = null; + $xfer += $input->readString($elem435); + $this->success []= $elem435; } $xfer += $input->readListEnd(); } else { @@ -9834,9 +9886,9 @@ { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter420) + foreach ($this->success as $iter436) { - $xfer += $output->writeString($iter420); + $xfer += $output->writeString($iter436); } } $output->writeListEnd(); @@ -9983,14 +10035,14 @@ case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size421 = 0; - $_etype424 = 0; - $xfer += $input->readListBegin($_etype424, $_size421); - for ($_i425 = 0; $_i425 < $_size421; ++$_i425) + $_size437 = 0; + $_etype440 = 0; + $xfer += $input->readListBegin($_etype440, $_size437); + for ($_i441 = 0; $_i441 < $_size437; ++$_i441) { - $elem426 = null; - $xfer += $input->readString($elem426); - $this->success []= $elem426; + $elem442 = null; + $xfer += $input->readString($elem442); + $this->success []= $elem442; } $xfer += $input->readListEnd(); } else { @@ -10026,9 +10078,9 @@ { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter427) + foreach ($this->success as $iter443) { - $xfer += $output->writeString($iter427); + $xfer += $output->writeString($iter443); } } $output->writeListEnd(); @@ -10322,14 +10374,14 @@ case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size428 = 0; - $_etype431 = 0; - $xfer += $input->readListBegin($_etype431, $_size428); - for ($_i432 = 0; $_i432 < $_size428; ++$_i432) + $_size444 = 0; + $_etype447 = 0; + $xfer += $input->readListBegin($_etype447, $_size444); + for ($_i448 = 0; $_i448 < $_size444; ++$_i448) { - $elem433 = null; - $xfer += $input->readString($elem433); - $this->tbl_names []= $elem433; + $elem449 = null; + $xfer += $input->readString($elem449); + $this->tbl_names []= $elem449; } $xfer += $input->readListEnd(); } else { @@ -10362,9 +10414,9 @@ { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter434) + foreach ($this->tbl_names as $iter450) { - $xfer += $output->writeString($iter434); + $xfer += $output->writeString($iter450); } } $output->writeListEnd(); @@ -10453,15 +10505,15 @@ case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size435 = 0; - $_etype438 = 0; - $xfer += $input->readListBegin($_etype438, $_size435); - for ($_i439 = 0; $_i439 < $_size435; ++$_i439) + $_size451 = 0; + $_etype454 = 0; + $xfer += $input->readListBegin($_etype454, $_size451); + for ($_i455 = 0; $_i455 < $_size451; ++$_i455) { - $elem440 = null; - $elem440 = new \metastore\Table(); - $xfer += $elem440->read($input); - $this->success []= $elem440; + $elem456 = null; + $elem456 = new \metastore\Table(); + $xfer += $elem456->read($input); + $this->success []= $elem456; } $xfer += $input->readListEnd(); } else { @@ -10513,9 +10565,9 @@ { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter441) + foreach ($this->success as $iter457) { - $xfer += $iter441->write($output); + $xfer += $iter457->write($output); } } $output->writeListEnd(); @@ -10730,14 +10782,14 @@ case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size442 = 0; - $_etype445 = 0; - $xfer += $input->readListBegin($_etype445, $_size442); - for ($_i446 = 0; $_i446 < $_size442; ++$_i446) + $_size458 = 0; + $_etype461 = 0; + $xfer += $input->readListBegin($_etype461, $_size458); + for ($_i462 = 0; $_i462 < $_size458; ++$_i462) { - $elem447 = null; - $xfer += $input->readString($elem447); - $this->success []= $elem447; + $elem463 = null; + $xfer += $input->readString($elem463); + $this->success []= $elem463; } $xfer += $input->readListEnd(); } else { @@ -10789,9 +10841,9 @@ { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter448) + foreach ($this->success as $iter464) { - $xfer += $output->writeString($iter448); + $xfer += $output->writeString($iter464); } } $output->writeListEnd(); @@ -11784,15 +11836,15 @@ case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size449 = 0; - $_etype452 = 0; - $xfer += $input->readListBegin($_etype452, $_size449); - for ($_i453 = 0; $_i453 < $_size449; ++$_i453) + $_size465 = 0; + $_etype468 = 0; + $xfer += $input->readListBegin($_etype468, $_size465); + for ($_i469 = 0; $_i469 < $_size465; ++$_i469) { - $elem454 = null; - $elem454 = new \metastore\Partition(); - $xfer += $elem454->read($input); - $this->new_parts []= $elem454; + $elem470 = null; + $elem470 = new \metastore\Partition(); + $xfer += $elem470->read($input); + $this->new_parts []= $elem470; } $xfer += $input->readListEnd(); } else { @@ -11820,9 +11872,9 @@ { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter455) + foreach ($this->new_parts as $iter471) { - $xfer += $iter455->write($output); + $xfer += $iter471->write($output); } } $output->writeListEnd(); @@ -12051,14 +12103,14 @@ case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size456 = 0; - $_etype459 = 0; - $xfer += $input->readListBegin($_etype459, $_size456); - for ($_i460 = 0; $_i460 < $_size456; ++$_i460) + $_size472 = 0; + $_etype475 = 0; + $xfer += $input->readListBegin($_etype475, $_size472); + for ($_i476 = 0; $_i476 < $_size472; ++$_i476) { - $elem461 = null; - $xfer += $input->readString($elem461); - $this->part_vals []= $elem461; + $elem477 = null; + $xfer += $input->readString($elem477); + $this->part_vals []= $elem477; } $xfer += $input->readListEnd(); } else { @@ -12096,9 +12148,9 @@ { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter462) + foreach ($this->part_vals as $iter478) { - $xfer += $output->writeString($iter462); + $xfer += $output->writeString($iter478); } } $output->writeListEnd(); @@ -12561,14 +12613,14 @@ case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size463 = 0; - $_etype466 = 0; - $xfer += $input->readListBegin($_etype466, $_size463); - for ($_i467 = 0; $_i467 < $_size463; ++$_i467) + $_size479 = 0; + $_etype482 = 0; + $xfer += $input->readListBegin($_etype482, $_size479); + for ($_i483 = 0; $_i483 < $_size479; ++$_i483) { - $elem468 = null; - $xfer += $input->readString($elem468); - $this->part_vals []= $elem468; + $elem484 = null; + $xfer += $input->readString($elem484); + $this->part_vals []= $elem484; } $xfer += $input->readListEnd(); } else { @@ -12614,9 +12666,9 @@ { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter469) + foreach ($this->part_vals as $iter485) { - $xfer += $output->writeString($iter469); + $xfer += $output->writeString($iter485); } } $output->writeListEnd(); @@ -13401,14 +13453,14 @@ case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size470 = 0; - $_etype473 = 0; - $xfer += $input->readListBegin($_etype473, $_size470); - for ($_i474 = 0; $_i474 < $_size470; ++$_i474) + $_size486 = 0; + $_etype489 = 0; + $xfer += $input->readListBegin($_etype489, $_size486); + for ($_i490 = 0; $_i490 < $_size486; ++$_i490) { - $elem475 = null; - $xfer += $input->readString($elem475); - $this->part_vals []= $elem475; + $elem491 = null; + $xfer += $input->readString($elem491); + $this->part_vals []= $elem491; } $xfer += $input->readListEnd(); } else { @@ -13453,9 +13505,9 @@ { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter476) + foreach ($this->part_vals as $iter492) { - $xfer += $output->writeString($iter476); + $xfer += $output->writeString($iter492); } } $output->writeListEnd(); @@ -13684,14 +13736,14 @@ case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size477 = 0; - $_etype480 = 0; - $xfer += $input->readListBegin($_etype480, $_size477); - for ($_i481 = 0; $_i481 < $_size477; ++$_i481) + $_size493 = 0; + $_etype496 = 0; + $xfer += $input->readListBegin($_etype496, $_size493); + for ($_i497 = 0; $_i497 < $_size493; ++$_i497) { - $elem482 = null; - $xfer += $input->readString($elem482); - $this->part_vals []= $elem482; + $elem498 = null; + $xfer += $input->readString($elem498); + $this->part_vals []= $elem498; } $xfer += $input->readListEnd(); } else { @@ -13744,9 +13796,9 @@ { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter483) + foreach ($this->part_vals as $iter499) { - $xfer += $output->writeString($iter483); + $xfer += $output->writeString($iter499); } } $output->writeListEnd(); @@ -14685,14 +14737,14 @@ case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size484 = 0; - $_etype487 = 0; - $xfer += $input->readListBegin($_etype487, $_size484); - for ($_i488 = 0; $_i488 < $_size484; ++$_i488) + $_size500 = 0; + $_etype503 = 0; + $xfer += $input->readListBegin($_etype503, $_size500); + for ($_i504 = 0; $_i504 < $_size500; ++$_i504) { - $elem489 = null; - $xfer += $input->readString($elem489); - $this->part_vals []= $elem489; + $elem505 = null; + $xfer += $input->readString($elem505); + $this->part_vals []= $elem505; } $xfer += $input->readListEnd(); } else { @@ -14730,9 +14782,9 @@ { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter490) + foreach ($this->part_vals as $iter506) { - $xfer += $output->writeString($iter490); + $xfer += $output->writeString($iter506); } } $output->writeListEnd(); @@ -14950,17 +15002,17 @@ case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size491 = 0; - $_ktype492 = 0; - $_vtype493 = 0; - $xfer += $input->readMapBegin($_ktype492, $_vtype493, $_size491); - for ($_i495 = 0; $_i495 < $_size491; ++$_i495) + $_size507 = 0; + $_ktype508 = 0; + $_vtype509 = 0; + $xfer += $input->readMapBegin($_ktype508, $_vtype509, $_size507); + for ($_i511 = 0; $_i511 < $_size507; ++$_i511) { - $key496 = ''; - $val497 = ''; - $xfer += $input->readString($key496); - $xfer += $input->readString($val497); - $this->partitionSpecs[$key496] = $val497; + $key512 = ''; + $val513 = ''; + $xfer += $input->readString($key512); + $xfer += $input->readString($val513); + $this->partitionSpecs[$key512] = $val513; } $xfer += $input->readMapEnd(); } else { @@ -15016,10 +15068,10 @@ { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter498 => $viter499) + foreach ($this->partitionSpecs as $kiter514 => $viter515) { - $xfer += $output->writeString($kiter498); - $xfer += $output->writeString($viter499); + $xfer += $output->writeString($kiter514); + $xfer += $output->writeString($viter515); } } $output->writeMapEnd(); @@ -15315,14 +15367,14 @@ 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) + $_size516 = 0; + $_etype519 = 0; + $xfer += $input->readListBegin($_etype519, $_size516); + for ($_i520 = 0; $_i520 < $_size516; ++$_i520) { - $elem505 = null; - $xfer += $input->readString($elem505); - $this->part_vals []= $elem505; + $elem521 = null; + $xfer += $input->readString($elem521); + $this->part_vals []= $elem521; } $xfer += $input->readListEnd(); } else { @@ -15339,14 +15391,14 @@ case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size506 = 0; - $_etype509 = 0; - $xfer += $input->readListBegin($_etype509, $_size506); - for ($_i510 = 0; $_i510 < $_size506; ++$_i510) + $_size522 = 0; + $_etype525 = 0; + $xfer += $input->readListBegin($_etype525, $_size522); + for ($_i526 = 0; $_i526 < $_size522; ++$_i526) { - $elem511 = null; - $xfer += $input->readString($elem511); - $this->group_names []= $elem511; + $elem527 = null; + $xfer += $input->readString($elem527); + $this->group_names []= $elem527; } $xfer += $input->readListEnd(); } else { @@ -15384,9 +15436,9 @@ { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter512) + foreach ($this->part_vals as $iter528) { - $xfer += $output->writeString($iter512); + $xfer += $output->writeString($iter528); } } $output->writeListEnd(); @@ -15406,9 +15458,9 @@ { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter513) + foreach ($this->group_names as $iter529) { - $xfer += $output->writeString($iter513); + $xfer += $output->writeString($iter529); } } $output->writeListEnd(); @@ -15954,15 +16006,15 @@ case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size514 = 0; - $_etype517 = 0; - $xfer += $input->readListBegin($_etype517, $_size514); - for ($_i518 = 0; $_i518 < $_size514; ++$_i518) + $_size530 = 0; + $_etype533 = 0; + $xfer += $input->readListBegin($_etype533, $_size530); + for ($_i534 = 0; $_i534 < $_size530; ++$_i534) { - $elem519 = null; - $elem519 = new \metastore\Partition(); - $xfer += $elem519->read($input); - $this->success []= $elem519; + $elem535 = null; + $elem535 = new \metastore\Partition(); + $xfer += $elem535->read($input); + $this->success []= $elem535; } $xfer += $input->readListEnd(); } else { @@ -16006,9 +16058,9 @@ { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter520) + foreach ($this->success as $iter536) { - $xfer += $iter520->write($output); + $xfer += $iter536->write($output); } } $output->writeListEnd(); @@ -16139,14 +16191,14 @@ case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size521 = 0; - $_etype524 = 0; - $xfer += $input->readListBegin($_etype524, $_size521); - for ($_i525 = 0; $_i525 < $_size521; ++$_i525) + $_size537 = 0; + $_etype540 = 0; + $xfer += $input->readListBegin($_etype540, $_size537); + for ($_i541 = 0; $_i541 < $_size537; ++$_i541) { - $elem526 = null; - $xfer += $input->readString($elem526); - $this->group_names []= $elem526; + $elem542 = null; + $xfer += $input->readString($elem542); + $this->group_names []= $elem542; } $xfer += $input->readListEnd(); } else { @@ -16194,9 +16246,9 @@ { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter527) + foreach ($this->group_names as $iter543) { - $xfer += $output->writeString($iter527); + $xfer += $output->writeString($iter543); } } $output->writeListEnd(); @@ -16276,15 +16328,15 @@ case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size528 = 0; - $_etype531 = 0; - $xfer += $input->readListBegin($_etype531, $_size528); - for ($_i532 = 0; $_i532 < $_size528; ++$_i532) + $_size544 = 0; + $_etype547 = 0; + $xfer += $input->readListBegin($_etype547, $_size544); + for ($_i548 = 0; $_i548 < $_size544; ++$_i548) { - $elem533 = null; - $elem533 = new \metastore\Partition(); - $xfer += $elem533->read($input); - $this->success []= $elem533; + $elem549 = null; + $elem549 = new \metastore\Partition(); + $xfer += $elem549->read($input); + $this->success []= $elem549; } $xfer += $input->readListEnd(); } else { @@ -16328,9 +16380,9 @@ { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter534) + foreach ($this->success as $iter550) { - $xfer += $iter534->write($output); + $xfer += $iter550->write($output); } } $output->writeListEnd(); @@ -16522,14 +16574,14 @@ case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size535 = 0; - $_etype538 = 0; - $xfer += $input->readListBegin($_etype538, $_size535); - for ($_i539 = 0; $_i539 < $_size535; ++$_i539) + $_size551 = 0; + $_etype554 = 0; + $xfer += $input->readListBegin($_etype554, $_size551); + for ($_i555 = 0; $_i555 < $_size551; ++$_i555) { - $elem540 = null; - $xfer += $input->readString($elem540); - $this->success []= $elem540; + $elem556 = null; + $xfer += $input->readString($elem556); + $this->success []= $elem556; } $xfer += $input->readListEnd(); } else { @@ -16565,9 +16617,9 @@ { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter541) + foreach ($this->success as $iter557) { - $xfer += $output->writeString($iter541); + $xfer += $output->writeString($iter557); } } $output->writeListEnd(); @@ -16671,14 +16723,14 @@ case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size542 = 0; - $_etype545 = 0; - $xfer += $input->readListBegin($_etype545, $_size542); - for ($_i546 = 0; $_i546 < $_size542; ++$_i546) + $_size558 = 0; + $_etype561 = 0; + $xfer += $input->readListBegin($_etype561, $_size558); + for ($_i562 = 0; $_i562 < $_size558; ++$_i562) { - $elem547 = null; - $xfer += $input->readString($elem547); - $this->part_vals []= $elem547; + $elem563 = null; + $xfer += $input->readString($elem563); + $this->part_vals []= $elem563; } $xfer += $input->readListEnd(); } else { @@ -16723,9 +16775,9 @@ { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter548) + foreach ($this->part_vals as $iter564) { - $xfer += $output->writeString($iter548); + $xfer += $output->writeString($iter564); } } $output->writeListEnd(); @@ -16810,15 +16862,15 @@ case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size549 = 0; - $_etype552 = 0; - $xfer += $input->readListBegin($_etype552, $_size549); - for ($_i553 = 0; $_i553 < $_size549; ++$_i553) + $_size565 = 0; + $_etype568 = 0; + $xfer += $input->readListBegin($_etype568, $_size565); + for ($_i569 = 0; $_i569 < $_size565; ++$_i569) { - $elem554 = null; - $elem554 = new \metastore\Partition(); - $xfer += $elem554->read($input); - $this->success []= $elem554; + $elem570 = null; + $elem570 = new \metastore\Partition(); + $xfer += $elem570->read($input); + $this->success []= $elem570; } $xfer += $input->readListEnd(); } else { @@ -16862,9 +16914,9 @@ { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter555) + foreach ($this->success as $iter571) { - $xfer += $iter555->write($output); + $xfer += $iter571->write($output); } } $output->writeListEnd(); @@ -16993,14 +17045,14 @@ case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size556 = 0; - $_etype559 = 0; - $xfer += $input->readListBegin($_etype559, $_size556); - for ($_i560 = 0; $_i560 < $_size556; ++$_i560) + $_size572 = 0; + $_etype575 = 0; + $xfer += $input->readListBegin($_etype575, $_size572); + for ($_i576 = 0; $_i576 < $_size572; ++$_i576) { - $elem561 = null; - $xfer += $input->readString($elem561); - $this->part_vals []= $elem561; + $elem577 = null; + $xfer += $input->readString($elem577); + $this->part_vals []= $elem577; } $xfer += $input->readListEnd(); } else { @@ -17024,14 +17076,14 @@ case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size562 = 0; - $_etype565 = 0; - $xfer += $input->readListBegin($_etype565, $_size562); - for ($_i566 = 0; $_i566 < $_size562; ++$_i566) + $_size578 = 0; + $_etype581 = 0; + $xfer += $input->readListBegin($_etype581, $_size578); + for ($_i582 = 0; $_i582 < $_size578; ++$_i582) { - $elem567 = null; - $xfer += $input->readString($elem567); - $this->group_names []= $elem567; + $elem583 = null; + $xfer += $input->readString($elem583); + $this->group_names []= $elem583; } $xfer += $input->readListEnd(); } else { @@ -17069,9 +17121,9 @@ { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter568) + foreach ($this->part_vals as $iter584) { - $xfer += $output->writeString($iter568); + $xfer += $output->writeString($iter584); } } $output->writeListEnd(); @@ -17096,9 +17148,9 @@ { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter569) + foreach ($this->group_names as $iter585) { - $xfer += $output->writeString($iter569); + $xfer += $output->writeString($iter585); } } $output->writeListEnd(); @@ -17178,15 +17230,15 @@ case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size570 = 0; - $_etype573 = 0; - $xfer += $input->readListBegin($_etype573, $_size570); - for ($_i574 = 0; $_i574 < $_size570; ++$_i574) + $_size586 = 0; + $_etype589 = 0; + $xfer += $input->readListBegin($_etype589, $_size586); + for ($_i590 = 0; $_i590 < $_size586; ++$_i590) { - $elem575 = null; - $elem575 = new \metastore\Partition(); - $xfer += $elem575->read($input); - $this->success []= $elem575; + $elem591 = null; + $elem591 = new \metastore\Partition(); + $xfer += $elem591->read($input); + $this->success []= $elem591; } $xfer += $input->readListEnd(); } else { @@ -17230,9 +17282,9 @@ { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter576) + foreach ($this->success as $iter592) { - $xfer += $iter576->write($output); + $xfer += $iter592->write($output); } } $output->writeListEnd(); @@ -17341,14 +17393,14 @@ case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size577 = 0; - $_etype580 = 0; - $xfer += $input->readListBegin($_etype580, $_size577); - for ($_i581 = 0; $_i581 < $_size577; ++$_i581) + $_size593 = 0; + $_etype596 = 0; + $xfer += $input->readListBegin($_etype596, $_size593); + for ($_i597 = 0; $_i597 < $_size593; ++$_i597) { - $elem582 = null; - $xfer += $input->readString($elem582); - $this->part_vals []= $elem582; + $elem598 = null; + $xfer += $input->readString($elem598); + $this->part_vals []= $elem598; } $xfer += $input->readListEnd(); } else { @@ -17393,9 +17445,9 @@ { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter583) + foreach ($this->part_vals as $iter599) { - $xfer += $output->writeString($iter583); + $xfer += $output->writeString($iter599); } } $output->writeListEnd(); @@ -17479,14 +17531,14 @@ case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size584 = 0; - $_etype587 = 0; - $xfer += $input->readListBegin($_etype587, $_size584); - for ($_i588 = 0; $_i588 < $_size584; ++$_i588) + $_size600 = 0; + $_etype603 = 0; + $xfer += $input->readListBegin($_etype603, $_size600); + for ($_i604 = 0; $_i604 < $_size600; ++$_i604) { - $elem589 = null; - $xfer += $input->readString($elem589); - $this->success []= $elem589; + $elem605 = null; + $xfer += $input->readString($elem605); + $this->success []= $elem605; } $xfer += $input->readListEnd(); } else { @@ -17530,9 +17582,9 @@ { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter590) + foreach ($this->success as $iter606) { - $xfer += $output->writeString($iter590); + $xfer += $output->writeString($iter606); } } $output->writeListEnd(); @@ -17754,15 +17806,15 @@ case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size591 = 0; - $_etype594 = 0; - $xfer += $input->readListBegin($_etype594, $_size591); - for ($_i595 = 0; $_i595 < $_size591; ++$_i595) + $_size607 = 0; + $_etype610 = 0; + $xfer += $input->readListBegin($_etype610, $_size607); + for ($_i611 = 0; $_i611 < $_size607; ++$_i611) { - $elem596 = null; - $elem596 = new \metastore\Partition(); - $xfer += $elem596->read($input); - $this->success []= $elem596; + $elem612 = null; + $elem612 = new \metastore\Partition(); + $xfer += $elem612->read($input); + $this->success []= $elem612; } $xfer += $input->readListEnd(); } else { @@ -17806,9 +17858,9 @@ { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter597) + foreach ($this->success as $iter613) { - $xfer += $iter597->write($output); + $xfer += $iter613->write($output); } } $output->writeListEnd(); @@ -18107,14 +18159,14 @@ case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size598 = 0; - $_etype601 = 0; - $xfer += $input->readListBegin($_etype601, $_size598); - for ($_i602 = 0; $_i602 < $_size598; ++$_i602) + $_size614 = 0; + $_etype617 = 0; + $xfer += $input->readListBegin($_etype617, $_size614); + for ($_i618 = 0; $_i618 < $_size614; ++$_i618) { - $elem603 = null; - $xfer += $input->readString($elem603); - $this->names []= $elem603; + $elem619 = null; + $xfer += $input->readString($elem619); + $this->names []= $elem619; } $xfer += $input->readListEnd(); } else { @@ -18152,9 +18204,9 @@ { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter604) + foreach ($this->names as $iter620) { - $xfer += $output->writeString($iter604); + $xfer += $output->writeString($iter620); } } $output->writeListEnd(); @@ -18234,15 +18286,15 @@ case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size605 = 0; - $_etype608 = 0; - $xfer += $input->readListBegin($_etype608, $_size605); - for ($_i609 = 0; $_i609 < $_size605; ++$_i609) + $_size621 = 0; + $_etype624 = 0; + $xfer += $input->readListBegin($_etype624, $_size621); + for ($_i625 = 0; $_i625 < $_size621; ++$_i625) { - $elem610 = null; - $elem610 = new \metastore\Partition(); - $xfer += $elem610->read($input); - $this->success []= $elem610; + $elem626 = null; + $elem626 = new \metastore\Partition(); + $xfer += $elem626->read($input); + $this->success []= $elem626; } $xfer += $input->readListEnd(); } else { @@ -18286,9 +18338,9 @@ { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter611) + foreach ($this->success as $iter627) { - $xfer += $iter611->write($output); + $xfer += $iter627->write($output); } } $output->writeListEnd(); @@ -18603,15 +18655,15 @@ case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size612 = 0; - $_etype615 = 0; - $xfer += $input->readListBegin($_etype615, $_size612); - for ($_i616 = 0; $_i616 < $_size612; ++$_i616) + $_size628 = 0; + $_etype631 = 0; + $xfer += $input->readListBegin($_etype631, $_size628); + for ($_i632 = 0; $_i632 < $_size628; ++$_i632) { - $elem617 = null; - $elem617 = new \metastore\Partition(); - $xfer += $elem617->read($input); - $this->new_parts []= $elem617; + $elem633 = null; + $elem633 = new \metastore\Partition(); + $xfer += $elem633->read($input); + $this->new_parts []= $elem633; } $xfer += $input->readListEnd(); } else { @@ -18649,9 +18701,9 @@ { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter618) + foreach ($this->new_parts as $iter634) { - $xfer += $iter618->write($output); + $xfer += $iter634->write($output); } } $output->writeListEnd(); @@ -19085,14 +19137,14 @@ case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size619 = 0; - $_etype622 = 0; - $xfer += $input->readListBegin($_etype622, $_size619); - for ($_i623 = 0; $_i623 < $_size619; ++$_i623) + $_size635 = 0; + $_etype638 = 0; + $xfer += $input->readListBegin($_etype638, $_size635); + for ($_i639 = 0; $_i639 < $_size635; ++$_i639) { - $elem624 = null; - $xfer += $input->readString($elem624); - $this->part_vals []= $elem624; + $elem640 = null; + $xfer += $input->readString($elem640); + $this->part_vals []= $elem640; } $xfer += $input->readListEnd(); } else { @@ -19138,9 +19190,9 @@ { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter625) + foreach ($this->part_vals as $iter641) { - $xfer += $output->writeString($iter625); + $xfer += $output->writeString($iter641); } } $output->writeListEnd(); @@ -19313,14 +19365,14 @@ case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size626 = 0; - $_etype629 = 0; - $xfer += $input->readListBegin($_etype629, $_size626); - for ($_i630 = 0; $_i630 < $_size626; ++$_i630) + $_size642 = 0; + $_etype645 = 0; + $xfer += $input->readListBegin($_etype645, $_size642); + for ($_i646 = 0; $_i646 < $_size642; ++$_i646) { - $elem631 = null; - $xfer += $input->readString($elem631); - $this->part_vals []= $elem631; + $elem647 = null; + $xfer += $input->readString($elem647); + $this->part_vals []= $elem647; } $xfer += $input->readListEnd(); } else { @@ -19355,9 +19407,9 @@ { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter632) + foreach ($this->part_vals as $iter648) { - $xfer += $output->writeString($iter632); + $xfer += $output->writeString($iter648); } } $output->writeListEnd(); @@ -19784,14 +19836,14 @@ case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size633 = 0; - $_etype636 = 0; - $xfer += $input->readListBegin($_etype636, $_size633); - for ($_i637 = 0; $_i637 < $_size633; ++$_i637) + $_size649 = 0; + $_etype652 = 0; + $xfer += $input->readListBegin($_etype652, $_size649); + for ($_i653 = 0; $_i653 < $_size649; ++$_i653) { - $elem638 = null; - $xfer += $input->readString($elem638); - $this->success []= $elem638; + $elem654 = null; + $xfer += $input->readString($elem654); + $this->success []= $elem654; } $xfer += $input->readListEnd(); } else { @@ -19827,9 +19879,9 @@ { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter639) + foreach ($this->success as $iter655) { - $xfer += $output->writeString($iter639); + $xfer += $output->writeString($iter655); } } $output->writeListEnd(); @@ -19980,17 +20032,17 @@ case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size640 = 0; - $_ktype641 = 0; - $_vtype642 = 0; - $xfer += $input->readMapBegin($_ktype641, $_vtype642, $_size640); - for ($_i644 = 0; $_i644 < $_size640; ++$_i644) + $_size656 = 0; + $_ktype657 = 0; + $_vtype658 = 0; + $xfer += $input->readMapBegin($_ktype657, $_vtype658, $_size656); + for ($_i660 = 0; $_i660 < $_size656; ++$_i660) { - $key645 = ''; - $val646 = ''; - $xfer += $input->readString($key645); - $xfer += $input->readString($val646); - $this->success[$key645] = $val646; + $key661 = ''; + $val662 = ''; + $xfer += $input->readString($key661); + $xfer += $input->readString($val662); + $this->success[$key661] = $val662; } $xfer += $input->readMapEnd(); } else { @@ -20026,10 +20078,10 @@ { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter647 => $viter648) + foreach ($this->success as $kiter663 => $viter664) { - $xfer += $output->writeString($kiter647); - $xfer += $output->writeString($viter648); + $xfer += $output->writeString($kiter663); + $xfer += $output->writeString($viter664); } } $output->writeMapEnd(); @@ -20137,17 +20189,17 @@ case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size649 = 0; - $_ktype650 = 0; - $_vtype651 = 0; - $xfer += $input->readMapBegin($_ktype650, $_vtype651, $_size649); - for ($_i653 = 0; $_i653 < $_size649; ++$_i653) + $_size665 = 0; + $_ktype666 = 0; + $_vtype667 = 0; + $xfer += $input->readMapBegin($_ktype666, $_vtype667, $_size665); + for ($_i669 = 0; $_i669 < $_size665; ++$_i669) { - $key654 = ''; - $val655 = ''; - $xfer += $input->readString($key654); - $xfer += $input->readString($val655); - $this->part_vals[$key654] = $val655; + $key670 = ''; + $val671 = ''; + $xfer += $input->readString($key670); + $xfer += $input->readString($val671); + $this->part_vals[$key670] = $val671; } $xfer += $input->readMapEnd(); } else { @@ -20192,10 +20244,10 @@ { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter656 => $viter657) + foreach ($this->part_vals as $kiter672 => $viter673) { - $xfer += $output->writeString($kiter656); - $xfer += $output->writeString($viter657); + $xfer += $output->writeString($kiter672); + $xfer += $output->writeString($viter673); } } $output->writeMapEnd(); @@ -20487,17 +20539,17 @@ case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size658 = 0; - $_ktype659 = 0; - $_vtype660 = 0; - $xfer += $input->readMapBegin($_ktype659, $_vtype660, $_size658); - for ($_i662 = 0; $_i662 < $_size658; ++$_i662) + $_size674 = 0; + $_ktype675 = 0; + $_vtype676 = 0; + $xfer += $input->readMapBegin($_ktype675, $_vtype676, $_size674); + for ($_i678 = 0; $_i678 < $_size674; ++$_i678) { - $key663 = ''; - $val664 = ''; - $xfer += $input->readString($key663); - $xfer += $input->readString($val664); - $this->part_vals[$key663] = $val664; + $key679 = ''; + $val680 = ''; + $xfer += $input->readString($key679); + $xfer += $input->readString($val680); + $this->part_vals[$key679] = $val680; } $xfer += $input->readMapEnd(); } else { @@ -20542,10 +20594,10 @@ { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter665 => $viter666) + foreach ($this->part_vals as $kiter681 => $viter682) { - $xfer += $output->writeString($kiter665); - $xfer += $output->writeString($viter666); + $xfer += $output->writeString($kiter681); + $xfer += $output->writeString($viter682); } } $output->writeMapEnd(); @@ -21905,15 +21957,15 @@ case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size667 = 0; - $_etype670 = 0; - $xfer += $input->readListBegin($_etype670, $_size667); - for ($_i671 = 0; $_i671 < $_size667; ++$_i671) + $_size683 = 0; + $_etype686 = 0; + $xfer += $input->readListBegin($_etype686, $_size683); + for ($_i687 = 0; $_i687 < $_size683; ++$_i687) { - $elem672 = null; - $elem672 = new \metastore\Index(); - $xfer += $elem672->read($input); - $this->success []= $elem672; + $elem688 = null; + $elem688 = new \metastore\Index(); + $xfer += $elem688->read($input); + $this->success []= $elem688; } $xfer += $input->readListEnd(); } else { @@ -21957,9 +22009,9 @@ { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter673) + foreach ($this->success as $iter689) { - $xfer += $iter673->write($output); + $xfer += $iter689->write($output); } } $output->writeListEnd(); @@ -22151,14 +22203,14 @@ case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size674 = 0; - $_etype677 = 0; - $xfer += $input->readListBegin($_etype677, $_size674); - for ($_i678 = 0; $_i678 < $_size674; ++$_i678) + $_size690 = 0; + $_etype693 = 0; + $xfer += $input->readListBegin($_etype693, $_size690); + for ($_i694 = 0; $_i694 < $_size690; ++$_i694) { - $elem679 = null; - $xfer += $input->readString($elem679); - $this->success []= $elem679; + $elem695 = null; + $xfer += $input->readString($elem695); + $this->success []= $elem695; } $xfer += $input->readListEnd(); } else { @@ -22194,9 +22246,9 @@ { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter680) + foreach ($this->success as $iter696) { - $xfer += $output->writeString($iter680); + $xfer += $output->writeString($iter696); } } $output->writeListEnd(); @@ -24989,14 +25041,14 @@ case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size681 = 0; - $_etype684 = 0; - $xfer += $input->readListBegin($_etype684, $_size681); - for ($_i685 = 0; $_i685 < $_size681; ++$_i685) + $_size697 = 0; + $_etype700 = 0; + $xfer += $input->readListBegin($_etype700, $_size697); + for ($_i701 = 0; $_i701 < $_size697; ++$_i701) { - $elem686 = null; - $xfer += $input->readString($elem686); - $this->success []= $elem686; + $elem702 = null; + $xfer += $input->readString($elem702); + $this->success []= $elem702; } $xfer += $input->readListEnd(); } else { @@ -25032,9 +25084,9 @@ { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter687) + foreach ($this->success as $iter703) { - $xfer += $output->writeString($iter687); + $xfer += $output->writeString($iter703); } } $output->writeListEnd(); @@ -25709,14 +25761,14 @@ case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size688 = 0; - $_etype691 = 0; - $xfer += $input->readListBegin($_etype691, $_size688); - for ($_i692 = 0; $_i692 < $_size688; ++$_i692) + $_size704 = 0; + $_etype707 = 0; + $xfer += $input->readListBegin($_etype707, $_size704); + for ($_i708 = 0; $_i708 < $_size704; ++$_i708) { - $elem693 = null; - $xfer += $input->readString($elem693); - $this->success []= $elem693; + $elem709 = null; + $xfer += $input->readString($elem709); + $this->success []= $elem709; } $xfer += $input->readListEnd(); } else { @@ -25752,9 +25804,9 @@ { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter694) + foreach ($this->success as $iter710) { - $xfer += $output->writeString($iter694); + $xfer += $output->writeString($iter710); } } $output->writeListEnd(); @@ -26394,15 +26446,15 @@ case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size695 = 0; - $_etype698 = 0; - $xfer += $input->readListBegin($_etype698, $_size695); - for ($_i699 = 0; $_i699 < $_size695; ++$_i699) + $_size711 = 0; + $_etype714 = 0; + $xfer += $input->readListBegin($_etype714, $_size711); + for ($_i715 = 0; $_i715 < $_size711; ++$_i715) { - $elem700 = null; - $elem700 = new \metastore\Role(); - $xfer += $elem700->read($input); - $this->success []= $elem700; + $elem716 = null; + $elem716 = new \metastore\Role(); + $xfer += $elem716->read($input); + $this->success []= $elem716; } $xfer += $input->readListEnd(); } else { @@ -26438,9 +26490,9 @@ { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter701) + foreach ($this->success as $iter717) { - $xfer += $iter701->write($output); + $xfer += $iter717->write($output); } } $output->writeListEnd(); @@ -26890,14 +26942,14 @@ case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size702 = 0; - $_etype705 = 0; - $xfer += $input->readListBegin($_etype705, $_size702); - for ($_i706 = 0; $_i706 < $_size702; ++$_i706) + $_size718 = 0; + $_etype721 = 0; + $xfer += $input->readListBegin($_etype721, $_size718); + for ($_i722 = 0; $_i722 < $_size718; ++$_i722) { - $elem707 = null; - $xfer += $input->readString($elem707); - $this->group_names []= $elem707; + $elem723 = null; + $xfer += $input->readString($elem723); + $this->group_names []= $elem723; } $xfer += $input->readListEnd(); } else { @@ -26938,9 +26990,9 @@ { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter708) + foreach ($this->group_names as $iter724) { - $xfer += $output->writeString($iter708); + $xfer += $output->writeString($iter724); } } $output->writeListEnd(); @@ -27227,15 +27279,15 @@ case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size709 = 0; - $_etype712 = 0; - $xfer += $input->readListBegin($_etype712, $_size709); - for ($_i713 = 0; $_i713 < $_size709; ++$_i713) + $_size725 = 0; + $_etype728 = 0; + $xfer += $input->readListBegin($_etype728, $_size725); + for ($_i729 = 0; $_i729 < $_size725; ++$_i729) { - $elem714 = null; - $elem714 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem714->read($input); - $this->success []= $elem714; + $elem730 = null; + $elem730 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem730->read($input); + $this->success []= $elem730; } $xfer += $input->readListEnd(); } else { @@ -27271,9 +27323,9 @@ { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter715) + foreach ($this->success as $iter731) { - $xfer += $iter715->write($output); + $xfer += $iter731->write($output); } } $output->writeListEnd(); @@ -27696,14 +27748,14 @@ case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size716 = 0; - $_etype719 = 0; - $xfer += $input->readListBegin($_etype719, $_size716); - for ($_i720 = 0; $_i720 < $_size716; ++$_i720) + $_size732 = 0; + $_etype735 = 0; + $xfer += $input->readListBegin($_etype735, $_size732); + for ($_i736 = 0; $_i736 < $_size732; ++$_i736) { - $elem721 = null; - $xfer += $input->readString($elem721); - $this->group_names []= $elem721; + $elem737 = null; + $xfer += $input->readString($elem737); + $this->group_names []= $elem737; } $xfer += $input->readListEnd(); } else { @@ -27736,9 +27788,9 @@ { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter722) + foreach ($this->group_names as $iter738) { - $xfer += $output->writeString($iter722); + $xfer += $output->writeString($iter738); } } $output->writeListEnd(); @@ -27808,14 +27860,14 @@ case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size723 = 0; - $_etype726 = 0; - $xfer += $input->readListBegin($_etype726, $_size723); - for ($_i727 = 0; $_i727 < $_size723; ++$_i727) + $_size739 = 0; + $_etype742 = 0; + $xfer += $input->readListBegin($_etype742, $_size739); + for ($_i743 = 0; $_i743 < $_size739; ++$_i743) { - $elem728 = null; - $xfer += $input->readString($elem728); - $this->success []= $elem728; + $elem744 = null; + $xfer += $input->readString($elem744); + $this->success []= $elem744; } $xfer += $input->readListEnd(); } else { @@ -27851,9 +27903,9 @@ { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter729) + foreach ($this->success as $iter745) { - $xfer += $output->writeString($iter729); + $xfer += $output->writeString($iter745); } } $output->writeListEnd(); @@ -30042,6 +30094,160 @@ } +class ThriftHiveMetastore_heartbeat_txn_range_args { + static $_TSPEC; + + public $txns = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'txns', + 'type' => TType::STRUCT, + 'class' => '\metastore\HeartbeatTxnRangeRequest', + ), + ); + } + if (is_array($vals)) { + if (isset($vals['txns'])) { + $this->txns = $vals['txns']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_heartbeat_txn_range_args'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 1: + if ($ftype == TType::STRUCT) { + $this->txns = new \metastore\HeartbeatTxnRangeRequest(); + $xfer += $this->txns->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_heartbeat_txn_range_args'); + if ($this->txns !== null) { + if (!is_object($this->txns)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('txns', TType::STRUCT, 1); + $xfer += $this->txns->write($output); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class ThriftHiveMetastore_heartbeat_txn_range_result { + static $_TSPEC; + + public $success = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 0 => array( + 'var' => 'success', + 'type' => TType::STRUCT, + 'class' => '\metastore\HeartbeatTxnRangeResponse', + ), + ); + } + if (is_array($vals)) { + if (isset($vals['success'])) { + $this->success = $vals['success']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_heartbeat_txn_range_result'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 0: + if ($ftype == TType::STRUCT) { + $this->success = new \metastore\HeartbeatTxnRangeResponse(); + $xfer += $this->success->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_heartbeat_txn_range_result'); + if ($this->success !== null) { + if (!is_object($this->success)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0); + $xfer += $this->success->write($output); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class ThriftHiveMetastore_compact_args { static $_TSPEC; Index: metastore/src/gen/thrift/gen-php/metastore/Types.php =================================================================== --- metastore/src/gen/thrift/gen-php/metastore/Types.php (revision 1583026) +++ metastore/src/gen/thrift/gen-php/metastore/Types.php (working copy) @@ -9604,6 +9604,258 @@ } +class HeartbeatTxnRangeRequest { + static $_TSPEC; + + public $min = null; + public $max = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'min', + 'type' => TType::I64, + ), + 2 => array( + 'var' => 'max', + 'type' => TType::I64, + ), + ); + } + if (is_array($vals)) { + if (isset($vals['min'])) { + $this->min = $vals['min']; + } + if (isset($vals['max'])) { + $this->max = $vals['max']; + } + } + } + + public function getName() { + return 'HeartbeatTxnRangeRequest'; + } + + 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::I64) { + $xfer += $input->readI64($this->min); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->max); + } 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('HeartbeatTxnRangeRequest'); + if ($this->min !== null) { + $xfer += $output->writeFieldBegin('min', TType::I64, 1); + $xfer += $output->writeI64($this->min); + $xfer += $output->writeFieldEnd(); + } + if ($this->max !== null) { + $xfer += $output->writeFieldBegin('max', TType::I64, 2); + $xfer += $output->writeI64($this->max); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class HeartbeatTxnRangeResponse { + static $_TSPEC; + + public $aborted = null; + public $nosuch = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'aborted', + 'type' => TType::SET, + 'etype' => TType::I64, + 'elem' => array( + 'type' => TType::I64, + ), + ), + 2 => array( + 'var' => 'nosuch', + 'type' => TType::SET, + 'etype' => TType::I64, + 'elem' => array( + 'type' => TType::I64, + ), + ), + ); + } + if (is_array($vals)) { + if (isset($vals['aborted'])) { + $this->aborted = $vals['aborted']; + } + if (isset($vals['nosuch'])) { + $this->nosuch = $vals['nosuch']; + } + } + } + + public function getName() { + return 'HeartbeatTxnRangeResponse'; + } + + 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::SET) { + $this->aborted = array(); + $_size370 = 0; + $_etype373 = 0; + $xfer += $input->readSetBegin($_etype373, $_size370); + for ($_i374 = 0; $_i374 < $_size370; ++$_i374) + { + $elem375 = null; + $xfer += $input->readI64($elem375); + if (is_scalar($elem375)) { + $this->aborted[$elem375] = true; + } else { + $this->aborted []= $elem375; + } + } + $xfer += $input->readSetEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::SET) { + $this->nosuch = array(); + $_size376 = 0; + $_etype379 = 0; + $xfer += $input->readSetBegin($_etype379, $_size376); + for ($_i380 = 0; $_i380 < $_size376; ++$_i380) + { + $elem381 = null; + $xfer += $input->readI64($elem381); + if (is_scalar($elem381)) { + $this->nosuch[$elem381] = true; + } else { + $this->nosuch []= $elem381; + } + } + $xfer += $input->readSetEnd(); + } 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('HeartbeatTxnRangeResponse'); + if ($this->aborted !== null) { + if (!is_array($this->aborted)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('aborted', TType::SET, 1); + { + $output->writeSetBegin(TType::I64, count($this->aborted)); + { + foreach ($this->aborted as $iter382 => $iter383) + { + if (is_scalar($iter383)) { + $xfer += $output->writeI64($iter382); + } else { + $xfer += $output->writeI64($iter383); + } + } + } + $output->writeSetEnd(); + } + $xfer += $output->writeFieldEnd(); + } + if ($this->nosuch !== null) { + if (!is_array($this->nosuch)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('nosuch', TType::SET, 2); + { + $output->writeSetBegin(TType::I64, count($this->nosuch)); + { + foreach ($this->nosuch as $iter384 => $iter385) + { + if (is_scalar($iter385)) { + $xfer += $output->writeI64($iter384); + } else { + $xfer += $output->writeI64($iter385); + } + } + } + $output->writeSetEnd(); + } + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class CompactionRequest { static $_TSPEC; @@ -10066,15 +10318,15 @@ case 1: if ($ftype == TType::LST) { $this->compacts = array(); - $_size370 = 0; - $_etype373 = 0; - $xfer += $input->readListBegin($_etype373, $_size370); - for ($_i374 = 0; $_i374 < $_size370; ++$_i374) + $_size386 = 0; + $_etype389 = 0; + $xfer += $input->readListBegin($_etype389, $_size386); + for ($_i390 = 0; $_i390 < $_size386; ++$_i390) { - $elem375 = null; - $elem375 = new \metastore\ShowCompactResponseElement(); - $xfer += $elem375->read($input); - $this->compacts []= $elem375; + $elem391 = null; + $elem391 = new \metastore\ShowCompactResponseElement(); + $xfer += $elem391->read($input); + $this->compacts []= $elem391; } $xfer += $input->readListEnd(); } else { @@ -10102,9 +10354,9 @@ { $output->writeListBegin(TType::STRUCT, count($this->compacts)); { - foreach ($this->compacts as $iter376) + foreach ($this->compacts as $iter392) { - $xfer += $iter376->write($output); + $xfer += $iter392->write($output); } } $output->writeListEnd(); Index: metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote =================================================================== --- metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote (revision 1583026) +++ metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote (working copy) @@ -127,6 +127,7 @@ print ' void unlock(UnlockRequest rqst)' print ' ShowLocksResponse show_locks(ShowLocksRequest rqst)' print ' void heartbeat(HeartbeatRequest ids)' + print ' HeartbeatTxnRangeResponse heartbeat_txn_range(HeartbeatTxnRangeRequest txns)' print ' void compact(CompactionRequest rqst)' print ' ShowCompactResponse show_compact(ShowCompactRequest rqst)' print '' @@ -804,6 +805,12 @@ sys.exit(1) pp.pprint(client.heartbeat(eval(args[0]),)) +elif cmd == 'heartbeat_txn_range': + if len(args) != 1: + print 'heartbeat_txn_range requires 1 args' + sys.exit(1) + pp.pprint(client.heartbeat_txn_range(eval(args[0]),)) + elif cmd == 'compact': if len(args) != 1: print 'compact requires 1 args' Index: metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py =================================================================== --- metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py (revision 1583026) +++ metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py (working copy) @@ -876,6 +876,13 @@ """ pass + def heartbeat_txn_range(self, txns): + """ + Parameters: + - txns + """ + pass + def compact(self, rqst): """ Parameters: @@ -4670,6 +4677,36 @@ raise result.o3 return + def heartbeat_txn_range(self, txns): + """ + Parameters: + - txns + """ + self.send_heartbeat_txn_range(txns) + return self.recv_heartbeat_txn_range() + + def send_heartbeat_txn_range(self, txns): + self._oprot.writeMessageBegin('heartbeat_txn_range', TMessageType.CALL, self._seqid) + args = heartbeat_txn_range_args() + args.txns = txns + args.write(self._oprot) + self._oprot.writeMessageEnd() + self._oprot.trans.flush() + + def recv_heartbeat_txn_range(self, ): + (fname, mtype, rseqid) = self._iprot.readMessageBegin() + if mtype == TMessageType.EXCEPTION: + x = TApplicationException() + x.read(self._iprot) + self._iprot.readMessageEnd() + raise x + result = heartbeat_txn_range_result() + result.read(self._iprot) + self._iprot.readMessageEnd() + if result.success is not None: + return result.success + raise TApplicationException(TApplicationException.MISSING_RESULT, "heartbeat_txn_range failed: unknown result"); + def compact(self, rqst): """ Parameters: @@ -4836,6 +4873,7 @@ self._processMap["unlock"] = Processor.process_unlock self._processMap["show_locks"] = Processor.process_show_locks self._processMap["heartbeat"] = Processor.process_heartbeat + self._processMap["heartbeat_txn_range"] = Processor.process_heartbeat_txn_range self._processMap["compact"] = Processor.process_compact self._processMap["show_compact"] = Processor.process_show_compact @@ -6532,6 +6570,17 @@ oprot.writeMessageEnd() oprot.trans.flush() + def process_heartbeat_txn_range(self, seqid, iprot, oprot): + args = heartbeat_txn_range_args() + args.read(iprot) + iprot.readMessageEnd() + result = heartbeat_txn_range_result() + result.success = self._handler.heartbeat_txn_range(args.txns) + oprot.writeMessageBegin("heartbeat_txn_range", TMessageType.REPLY, seqid) + result.write(oprot) + oprot.writeMessageEnd() + oprot.trans.flush() + def process_compact(self, seqid, iprot, oprot): args = compact_args() args.read(iprot) @@ -7110,10 +7159,10 @@ if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype379, _size376) = iprot.readListBegin() - for _i380 in xrange(_size376): - _elem381 = iprot.readString(); - self.success.append(_elem381) + (_etype393, _size390) = iprot.readListBegin() + for _i394 in xrange(_size390): + _elem395 = iprot.readString(); + self.success.append(_elem395) iprot.readListEnd() else: iprot.skip(ftype) @@ -7136,8 +7185,8 @@ if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter382 in self.success: - oprot.writeString(iter382) + for iter396 in self.success: + oprot.writeString(iter396) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -7232,10 +7281,10 @@ if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype386, _size383) = iprot.readListBegin() - for _i387 in xrange(_size383): - _elem388 = iprot.readString(); - self.success.append(_elem388) + (_etype400, _size397) = iprot.readListBegin() + for _i401 in xrange(_size397): + _elem402 = iprot.readString(); + self.success.append(_elem402) iprot.readListEnd() else: iprot.skip(ftype) @@ -7258,8 +7307,8 @@ if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter389 in self.success: - oprot.writeString(iter389) + for iter403 in self.success: + oprot.writeString(iter403) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -7969,12 +8018,12 @@ if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype391, _vtype392, _size390 ) = iprot.readMapBegin() - for _i394 in xrange(_size390): - _key395 = iprot.readString(); - _val396 = Type() - _val396.read(iprot) - self.success[_key395] = _val396 + (_ktype405, _vtype406, _size404 ) = iprot.readMapBegin() + for _i408 in xrange(_size404): + _key409 = iprot.readString(); + _val410 = Type() + _val410.read(iprot) + self.success[_key409] = _val410 iprot.readMapEnd() else: iprot.skip(ftype) @@ -7997,9 +8046,9 @@ if self.success is not None: oprot.writeFieldBegin('success', TType.MAP, 0) oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success)) - for kiter397,viter398 in self.success.items(): - oprot.writeString(kiter397) - viter398.write(oprot) + for kiter411,viter412 in self.success.items(): + oprot.writeString(kiter411) + viter412.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -8130,11 +8179,11 @@ if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype402, _size399) = iprot.readListBegin() - for _i403 in xrange(_size399): - _elem404 = FieldSchema() - _elem404.read(iprot) - self.success.append(_elem404) + (_etype416, _size413) = iprot.readListBegin() + for _i417 in xrange(_size413): + _elem418 = FieldSchema() + _elem418.read(iprot) + self.success.append(_elem418) iprot.readListEnd() else: iprot.skip(ftype) @@ -8169,8 +8218,8 @@ if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter405 in self.success: - iter405.write(oprot) + for iter419 in self.success: + iter419.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -8309,11 +8358,11 @@ if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype409, _size406) = iprot.readListBegin() - for _i410 in xrange(_size406): - _elem411 = FieldSchema() - _elem411.read(iprot) - self.success.append(_elem411) + (_etype423, _size420) = iprot.readListBegin() + for _i424 in xrange(_size420): + _elem425 = FieldSchema() + _elem425.read(iprot) + self.success.append(_elem425) iprot.readListEnd() else: iprot.skip(ftype) @@ -8348,8 +8397,8 @@ if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter412 in self.success: - iter412.write(oprot) + for iter426 in self.success: + iter426.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -9146,10 +9195,10 @@ if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype416, _size413) = iprot.readListBegin() - for _i417 in xrange(_size413): - _elem418 = iprot.readString(); - self.success.append(_elem418) + (_etype430, _size427) = iprot.readListBegin() + for _i431 in xrange(_size427): + _elem432 = iprot.readString(); + self.success.append(_elem432) iprot.readListEnd() else: iprot.skip(ftype) @@ -9172,8 +9221,8 @@ if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter419 in self.success: - oprot.writeString(iter419) + for iter433 in self.success: + oprot.writeString(iter433) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -9286,10 +9335,10 @@ if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype423, _size420) = iprot.readListBegin() - for _i424 in xrange(_size420): - _elem425 = iprot.readString(); - self.success.append(_elem425) + (_etype437, _size434) = iprot.readListBegin() + for _i438 in xrange(_size434): + _elem439 = iprot.readString(); + self.success.append(_elem439) iprot.readListEnd() else: iprot.skip(ftype) @@ -9312,8 +9361,8 @@ if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter426 in self.success: - oprot.writeString(iter426) + for iter440 in self.success: + oprot.writeString(iter440) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -9530,10 +9579,10 @@ elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype430, _size427) = iprot.readListBegin() - for _i431 in xrange(_size427): - _elem432 = iprot.readString(); - self.tbl_names.append(_elem432) + (_etype444, _size441) = iprot.readListBegin() + for _i445 in xrange(_size441): + _elem446 = iprot.readString(); + self.tbl_names.append(_elem446) iprot.readListEnd() else: iprot.skip(ftype) @@ -9554,8 +9603,8 @@ if self.tbl_names is not None: oprot.writeFieldBegin('tbl_names', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.tbl_names)) - for iter433 in self.tbl_names: - oprot.writeString(iter433) + for iter447 in self.tbl_names: + oprot.writeString(iter447) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -9610,11 +9659,11 @@ if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype437, _size434) = iprot.readListBegin() - for _i438 in xrange(_size434): - _elem439 = Table() - _elem439.read(iprot) - self.success.append(_elem439) + (_etype451, _size448) = iprot.readListBegin() + for _i452 in xrange(_size448): + _elem453 = Table() + _elem453.read(iprot) + self.success.append(_elem453) iprot.readListEnd() else: iprot.skip(ftype) @@ -9649,8 +9698,8 @@ if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter440 in self.success: - iter440.write(oprot) + for iter454 in self.success: + iter454.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -9801,10 +9850,10 @@ 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) + (_etype458, _size455) = iprot.readListBegin() + for _i459 in xrange(_size455): + _elem460 = iprot.readString(); + self.success.append(_elem460) iprot.readListEnd() else: iprot.skip(ftype) @@ -9839,8 +9888,8 @@ 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 iter461 in self.success: + oprot.writeString(iter461) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -10563,11 +10612,11 @@ if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype451, _size448) = iprot.readListBegin() - for _i452 in xrange(_size448): - _elem453 = Partition() - _elem453.read(iprot) - self.new_parts.append(_elem453) + (_etype465, _size462) = iprot.readListBegin() + for _i466 in xrange(_size462): + _elem467 = Partition() + _elem467.read(iprot) + self.new_parts.append(_elem467) iprot.readListEnd() else: iprot.skip(ftype) @@ -10584,8 +10633,8 @@ if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter454 in self.new_parts: - iter454.write(oprot) + for iter468 in self.new_parts: + iter468.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10746,10 +10795,10 @@ elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype458, _size455) = iprot.readListBegin() - for _i459 in xrange(_size455): - _elem460 = iprot.readString(); - self.part_vals.append(_elem460) + (_etype472, _size469) = iprot.readListBegin() + for _i473 in xrange(_size469): + _elem474 = iprot.readString(); + self.part_vals.append(_elem474) iprot.readListEnd() else: iprot.skip(ftype) @@ -10774,8 +10823,8 @@ if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter461 in self.part_vals: - oprot.writeString(iter461) + for iter475 in self.part_vals: + oprot.writeString(iter475) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11100,10 +11149,10 @@ elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype465, _size462) = iprot.readListBegin() - for _i466 in xrange(_size462): - _elem467 = iprot.readString(); - self.part_vals.append(_elem467) + (_etype479, _size476) = iprot.readListBegin() + for _i480 in xrange(_size476): + _elem481 = iprot.readString(); + self.part_vals.append(_elem481) iprot.readListEnd() else: iprot.skip(ftype) @@ -11134,8 +11183,8 @@ if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter468 in self.part_vals: - oprot.writeString(iter468) + for iter482 in self.part_vals: + oprot.writeString(iter482) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -11683,10 +11732,10 @@ elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype472, _size469) = iprot.readListBegin() - for _i473 in xrange(_size469): - _elem474 = iprot.readString(); - self.part_vals.append(_elem474) + (_etype486, _size483) = iprot.readListBegin() + for _i487 in xrange(_size483): + _elem488 = iprot.readString(); + self.part_vals.append(_elem488) iprot.readListEnd() else: iprot.skip(ftype) @@ -11716,8 +11765,8 @@ if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter475 in self.part_vals: - oprot.writeString(iter475) + for iter489 in self.part_vals: + oprot.writeString(iter489) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -11875,10 +11924,10 @@ 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) + (_etype493, _size490) = iprot.readListBegin() + for _i494 in xrange(_size490): + _elem495 = iprot.readString(); + self.part_vals.append(_elem495) iprot.readListEnd() else: iprot.skip(ftype) @@ -11914,8 +11963,8 @@ 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 iter496 in self.part_vals: + oprot.writeString(iter496) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -12593,10 +12642,10 @@ 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) + (_etype500, _size497) = iprot.readListBegin() + for _i501 in xrange(_size497): + _elem502 = iprot.readString(); + self.part_vals.append(_elem502) iprot.readListEnd() else: iprot.skip(ftype) @@ -12621,8 +12670,8 @@ 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 iter503 in self.part_vals: + oprot.writeString(iter503) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12767,11 +12816,11 @@ if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype491, _vtype492, _size490 ) = iprot.readMapBegin() - for _i494 in xrange(_size490): - _key495 = iprot.readString(); - _val496 = iprot.readString(); - self.partitionSpecs[_key495] = _val496 + (_ktype505, _vtype506, _size504 ) = iprot.readMapBegin() + for _i508 in xrange(_size504): + _key509 = iprot.readString(); + _val510 = iprot.readString(); + self.partitionSpecs[_key509] = _val510 iprot.readMapEnd() else: iprot.skip(ftype) @@ -12808,9 +12857,9 @@ if self.partitionSpecs is not None: oprot.writeFieldBegin('partitionSpecs', TType.MAP, 1) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.partitionSpecs)) - for kiter497,viter498 in self.partitionSpecs.items(): - oprot.writeString(kiter497) - oprot.writeString(viter498) + for kiter511,viter512 in self.partitionSpecs.items(): + oprot.writeString(kiter511) + oprot.writeString(viter512) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -13007,10 +13056,10 @@ elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype502, _size499) = iprot.readListBegin() - for _i503 in xrange(_size499): - _elem504 = iprot.readString(); - self.part_vals.append(_elem504) + (_etype516, _size513) = iprot.readListBegin() + for _i517 in xrange(_size513): + _elem518 = iprot.readString(); + self.part_vals.append(_elem518) iprot.readListEnd() else: iprot.skip(ftype) @@ -13022,10 +13071,10 @@ elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype508, _size505) = iprot.readListBegin() - for _i509 in xrange(_size505): - _elem510 = iprot.readString(); - self.group_names.append(_elem510) + (_etype522, _size519) = iprot.readListBegin() + for _i523 in xrange(_size519): + _elem524 = iprot.readString(); + self.group_names.append(_elem524) iprot.readListEnd() else: iprot.skip(ftype) @@ -13050,8 +13099,8 @@ if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter511 in self.part_vals: - oprot.writeString(iter511) + for iter525 in self.part_vals: + oprot.writeString(iter525) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -13061,8 +13110,8 @@ if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter512 in self.group_names: - oprot.writeString(iter512) + for iter526 in self.group_names: + oprot.writeString(iter526) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13454,11 +13503,11 @@ if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype516, _size513) = iprot.readListBegin() - for _i517 in xrange(_size513): - _elem518 = Partition() - _elem518.read(iprot) - self.success.append(_elem518) + (_etype530, _size527) = iprot.readListBegin() + for _i531 in xrange(_size527): + _elem532 = Partition() + _elem532.read(iprot) + self.success.append(_elem532) iprot.readListEnd() else: iprot.skip(ftype) @@ -13487,8 +13536,8 @@ if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter519 in self.success: - iter519.write(oprot) + for iter533 in self.success: + iter533.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -13575,10 +13624,10 @@ elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype523, _size520) = iprot.readListBegin() - for _i524 in xrange(_size520): - _elem525 = iprot.readString(); - self.group_names.append(_elem525) + (_etype537, _size534) = iprot.readListBegin() + for _i538 in xrange(_size534): + _elem539 = iprot.readString(); + self.group_names.append(_elem539) iprot.readListEnd() else: iprot.skip(ftype) @@ -13611,8 +13660,8 @@ if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter526 in self.group_names: - oprot.writeString(iter526) + for iter540 in self.group_names: + oprot.writeString(iter540) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13664,11 +13713,11 @@ if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype530, _size527) = iprot.readListBegin() - for _i531 in xrange(_size527): - _elem532 = Partition() - _elem532.read(iprot) - self.success.append(_elem532) + (_etype544, _size541) = iprot.readListBegin() + for _i545 in xrange(_size541): + _elem546 = Partition() + _elem546.read(iprot) + self.success.append(_elem546) iprot.readListEnd() else: iprot.skip(ftype) @@ -13697,8 +13746,8 @@ if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter533 in self.success: - iter533.write(oprot) + for iter547 in self.success: + iter547.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -13839,10 +13888,10 @@ if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype537, _size534) = iprot.readListBegin() - for _i538 in xrange(_size534): - _elem539 = iprot.readString(); - self.success.append(_elem539) + (_etype551, _size548) = iprot.readListBegin() + for _i552 in xrange(_size548): + _elem553 = iprot.readString(); + self.success.append(_elem553) iprot.readListEnd() else: iprot.skip(ftype) @@ -13865,8 +13914,8 @@ if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter540 in self.success: - oprot.writeString(iter540) + for iter554 in self.success: + oprot.writeString(iter554) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -13936,10 +13985,10 @@ elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype544, _size541) = iprot.readListBegin() - for _i545 in xrange(_size541): - _elem546 = iprot.readString(); - self.part_vals.append(_elem546) + (_etype558, _size555) = iprot.readListBegin() + for _i559 in xrange(_size555): + _elem560 = iprot.readString(); + self.part_vals.append(_elem560) iprot.readListEnd() else: iprot.skip(ftype) @@ -13969,8 +14018,8 @@ if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter547 in self.part_vals: - oprot.writeString(iter547) + for iter561 in self.part_vals: + oprot.writeString(iter561) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -14026,11 +14075,11 @@ 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) + (_etype565, _size562) = iprot.readListBegin() + for _i566 in xrange(_size562): + _elem567 = Partition() + _elem567.read(iprot) + self.success.append(_elem567) iprot.readListEnd() else: iprot.skip(ftype) @@ -14059,8 +14108,8 @@ 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 iter568 in self.success: + iter568.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14140,10 +14189,10 @@ elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype558, _size555) = iprot.readListBegin() - for _i559 in xrange(_size555): - _elem560 = iprot.readString(); - self.part_vals.append(_elem560) + (_etype572, _size569) = iprot.readListBegin() + for _i573 in xrange(_size569): + _elem574 = iprot.readString(); + self.part_vals.append(_elem574) iprot.readListEnd() else: iprot.skip(ftype) @@ -14160,10 +14209,10 @@ elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype564, _size561) = iprot.readListBegin() - for _i565 in xrange(_size561): - _elem566 = iprot.readString(); - self.group_names.append(_elem566) + (_etype578, _size575) = iprot.readListBegin() + for _i579 in xrange(_size575): + _elem580 = iprot.readString(); + self.group_names.append(_elem580) iprot.readListEnd() else: iprot.skip(ftype) @@ -14188,8 +14237,8 @@ if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter567 in self.part_vals: - oprot.writeString(iter567) + for iter581 in self.part_vals: + oprot.writeString(iter581) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -14203,8 +14252,8 @@ if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 6) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter568 in self.group_names: - oprot.writeString(iter568) + for iter582 in self.group_names: + oprot.writeString(iter582) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14256,11 +14305,11 @@ 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) + (_etype586, _size583) = iprot.readListBegin() + for _i587 in xrange(_size583): + _elem588 = Partition() + _elem588.read(iprot) + self.success.append(_elem588) iprot.readListEnd() else: iprot.skip(ftype) @@ -14289,8 +14338,8 @@ 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 iter589 in self.success: + iter589.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14364,10 +14413,10 @@ 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) + (_etype593, _size590) = iprot.readListBegin() + for _i594 in xrange(_size590): + _elem595 = iprot.readString(); + self.part_vals.append(_elem595) iprot.readListEnd() else: iprot.skip(ftype) @@ -14397,8 +14446,8 @@ if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter582 in self.part_vals: - oprot.writeString(iter582) + for iter596 in self.part_vals: + oprot.writeString(iter596) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -14454,10 +14503,10 @@ if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype586, _size583) = iprot.readListBegin() - for _i587 in xrange(_size583): - _elem588 = iprot.readString(); - self.success.append(_elem588) + (_etype600, _size597) = iprot.readListBegin() + for _i601 in xrange(_size597): + _elem602 = iprot.readString(); + self.success.append(_elem602) iprot.readListEnd() else: iprot.skip(ftype) @@ -14486,8 +14535,8 @@ if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter589 in self.success: - oprot.writeString(iter589) + for iter603 in self.success: + oprot.writeString(iter603) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14643,11 +14692,11 @@ 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) + (_etype607, _size604) = iprot.readListBegin() + for _i608 in xrange(_size604): + _elem609 = Partition() + _elem609.read(iprot) + self.success.append(_elem609) iprot.readListEnd() else: iprot.skip(ftype) @@ -14676,8 +14725,8 @@ 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 iter610 in self.success: + iter610.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14895,10 +14944,10 @@ elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype600, _size597) = iprot.readListBegin() - for _i601 in xrange(_size597): - _elem602 = iprot.readString(); - self.names.append(_elem602) + (_etype614, _size611) = iprot.readListBegin() + for _i615 in xrange(_size611): + _elem616 = iprot.readString(); + self.names.append(_elem616) iprot.readListEnd() else: iprot.skip(ftype) @@ -14923,8 +14972,8 @@ if self.names is not None: oprot.writeFieldBegin('names', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.names)) - for iter603 in self.names: - oprot.writeString(iter603) + for iter617 in self.names: + oprot.writeString(iter617) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14976,11 +15025,11 @@ if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype607, _size604) = iprot.readListBegin() - for _i608 in xrange(_size604): - _elem609 = Partition() - _elem609.read(iprot) - self.success.append(_elem609) + (_etype621, _size618) = iprot.readListBegin() + for _i622 in xrange(_size618): + _elem623 = Partition() + _elem623.read(iprot) + self.success.append(_elem623) iprot.readListEnd() else: iprot.skip(ftype) @@ -15009,8 +15058,8 @@ if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter610 in self.success: - iter610.write(oprot) + for iter624 in self.success: + iter624.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15240,11 +15289,11 @@ elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype614, _size611) = iprot.readListBegin() - for _i615 in xrange(_size611): - _elem616 = Partition() - _elem616.read(iprot) - self.new_parts.append(_elem616) + (_etype628, _size625) = iprot.readListBegin() + for _i629 in xrange(_size625): + _elem630 = Partition() + _elem630.read(iprot) + self.new_parts.append(_elem630) iprot.readListEnd() else: iprot.skip(ftype) @@ -15269,8 +15318,8 @@ if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter617 in self.new_parts: - iter617.write(oprot) + for iter631 in self.new_parts: + iter631.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15582,10 +15631,10 @@ elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype621, _size618) = iprot.readListBegin() - for _i622 in xrange(_size618): - _elem623 = iprot.readString(); - self.part_vals.append(_elem623) + (_etype635, _size632) = iprot.readListBegin() + for _i636 in xrange(_size632): + _elem637 = iprot.readString(); + self.part_vals.append(_elem637) iprot.readListEnd() else: iprot.skip(ftype) @@ -15616,8 +15665,8 @@ if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter624 in self.part_vals: - oprot.writeString(iter624) + for iter638 in self.part_vals: + oprot.writeString(iter638) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -15745,10 +15794,10 @@ if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype628, _size625) = iprot.readListBegin() - for _i629 in xrange(_size625): - _elem630 = iprot.readString(); - self.part_vals.append(_elem630) + (_etype642, _size639) = iprot.readListBegin() + for _i643 in xrange(_size639): + _elem644 = iprot.readString(); + self.part_vals.append(_elem644) iprot.readListEnd() else: iprot.skip(ftype) @@ -15770,8 +15819,8 @@ if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter631 in self.part_vals: - oprot.writeString(iter631) + for iter645 in self.part_vals: + oprot.writeString(iter645) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -16100,10 +16149,10 @@ if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype635, _size632) = iprot.readListBegin() - for _i636 in xrange(_size632): - _elem637 = iprot.readString(); - self.success.append(_elem637) + (_etype649, _size646) = iprot.readListBegin() + for _i650 in xrange(_size646): + _elem651 = iprot.readString(); + self.success.append(_elem651) iprot.readListEnd() else: iprot.skip(ftype) @@ -16126,8 +16175,8 @@ if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter638 in self.success: - oprot.writeString(iter638) + for iter652 in self.success: + oprot.writeString(iter652) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16240,11 +16289,11 @@ if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype640, _vtype641, _size639 ) = iprot.readMapBegin() - for _i643 in xrange(_size639): - _key644 = iprot.readString(); - _val645 = iprot.readString(); - self.success[_key644] = _val645 + (_ktype654, _vtype655, _size653 ) = iprot.readMapBegin() + for _i657 in xrange(_size653): + _key658 = iprot.readString(); + _val659 = iprot.readString(); + self.success[_key658] = _val659 iprot.readMapEnd() else: iprot.skip(ftype) @@ -16267,9 +16316,9 @@ if self.success is not None: oprot.writeFieldBegin('success', TType.MAP, 0) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.success)) - for kiter646,viter647 in self.success.items(): - oprot.writeString(kiter646) - oprot.writeString(viter647) + for kiter660,viter661 in self.success.items(): + oprot.writeString(kiter660) + oprot.writeString(viter661) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16339,11 +16388,11 @@ elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype649, _vtype650, _size648 ) = iprot.readMapBegin() - for _i652 in xrange(_size648): - _key653 = iprot.readString(); - _val654 = iprot.readString(); - self.part_vals[_key653] = _val654 + (_ktype663, _vtype664, _size662 ) = iprot.readMapBegin() + for _i666 in xrange(_size662): + _key667 = iprot.readString(); + _val668 = iprot.readString(); + self.part_vals[_key667] = _val668 iprot.readMapEnd() else: iprot.skip(ftype) @@ -16373,9 +16422,9 @@ 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 kiter655,viter656 in self.part_vals.items(): - oprot.writeString(kiter655) - oprot.writeString(viter656) + for kiter669,viter670 in self.part_vals.items(): + oprot.writeString(kiter669) + oprot.writeString(viter670) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -16571,11 +16620,11 @@ elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype658, _vtype659, _size657 ) = iprot.readMapBegin() - for _i661 in xrange(_size657): - _key662 = iprot.readString(); - _val663 = iprot.readString(); - self.part_vals[_key662] = _val663 + (_ktype672, _vtype673, _size671 ) = iprot.readMapBegin() + for _i675 in xrange(_size671): + _key676 = iprot.readString(); + _val677 = iprot.readString(); + self.part_vals[_key676] = _val677 iprot.readMapEnd() else: iprot.skip(ftype) @@ -16605,9 +16654,9 @@ 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 kiter664,viter665 in self.part_vals.items(): - oprot.writeString(kiter664) - oprot.writeString(viter665) + for kiter678,viter679 in self.part_vals.items(): + oprot.writeString(kiter678) + oprot.writeString(viter679) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -17579,11 +17628,11 @@ if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype669, _size666) = iprot.readListBegin() - for _i670 in xrange(_size666): - _elem671 = Index() - _elem671.read(iprot) - self.success.append(_elem671) + (_etype683, _size680) = iprot.readListBegin() + for _i684 in xrange(_size680): + _elem685 = Index() + _elem685.read(iprot) + self.success.append(_elem685) iprot.readListEnd() else: iprot.skip(ftype) @@ -17612,8 +17661,8 @@ if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter672 in self.success: - iter672.write(oprot) + for iter686 in self.success: + iter686.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17754,10 +17803,10 @@ if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype676, _size673) = iprot.readListBegin() - for _i677 in xrange(_size673): - _elem678 = iprot.readString(); - self.success.append(_elem678) + (_etype690, _size687) = iprot.readListBegin() + for _i691 in xrange(_size687): + _elem692 = iprot.readString(); + self.success.append(_elem692) iprot.readListEnd() else: iprot.skip(ftype) @@ -17780,8 +17829,8 @@ if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter679 in self.success: - oprot.writeString(iter679) + for iter693 in self.success: + oprot.writeString(iter693) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -19816,10 +19865,10 @@ if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype683, _size680) = iprot.readListBegin() - for _i684 in xrange(_size680): - _elem685 = iprot.readString(); - self.success.append(_elem685) + (_etype697, _size694) = iprot.readListBegin() + for _i698 in xrange(_size694): + _elem699 = iprot.readString(); + self.success.append(_elem699) iprot.readListEnd() else: iprot.skip(ftype) @@ -19842,8 +19891,8 @@ if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter686 in self.success: - oprot.writeString(iter686) + for iter700 in self.success: + oprot.writeString(iter700) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20361,10 +20410,10 @@ if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype690, _size687) = iprot.readListBegin() - for _i691 in xrange(_size687): - _elem692 = iprot.readString(); - self.success.append(_elem692) + (_etype704, _size701) = iprot.readListBegin() + for _i705 in xrange(_size701): + _elem706 = iprot.readString(); + self.success.append(_elem706) iprot.readListEnd() else: iprot.skip(ftype) @@ -20387,8 +20436,8 @@ if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter693 in self.success: - oprot.writeString(iter693) + for iter707 in self.success: + oprot.writeString(iter707) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20861,11 +20910,11 @@ if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype697, _size694) = iprot.readListBegin() - for _i698 in xrange(_size694): - _elem699 = Role() - _elem699.read(iprot) - self.success.append(_elem699) + (_etype711, _size708) = iprot.readListBegin() + for _i712 in xrange(_size708): + _elem713 = Role() + _elem713.read(iprot) + self.success.append(_elem713) iprot.readListEnd() else: iprot.skip(ftype) @@ -20888,8 +20937,8 @@ if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter700 in self.success: - iter700.write(oprot) + for iter714 in self.success: + iter714.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21225,10 +21274,10 @@ elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype704, _size701) = iprot.readListBegin() - for _i705 in xrange(_size701): - _elem706 = iprot.readString(); - self.group_names.append(_elem706) + (_etype718, _size715) = iprot.readListBegin() + for _i719 in xrange(_size715): + _elem720 = iprot.readString(); + self.group_names.append(_elem720) iprot.readListEnd() else: iprot.skip(ftype) @@ -21253,8 +21302,8 @@ if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter707 in self.group_names: - oprot.writeString(iter707) + for iter721 in self.group_names: + oprot.writeString(iter721) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21461,11 +21510,11 @@ if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype711, _size708) = iprot.readListBegin() - for _i712 in xrange(_size708): - _elem713 = HiveObjectPrivilege() - _elem713.read(iprot) - self.success.append(_elem713) + (_etype725, _size722) = iprot.readListBegin() + for _i726 in xrange(_size722): + _elem727 = HiveObjectPrivilege() + _elem727.read(iprot) + self.success.append(_elem727) iprot.readListEnd() else: iprot.skip(ftype) @@ -21488,8 +21537,8 @@ if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter714 in self.success: - iter714.write(oprot) + for iter728 in self.success: + iter728.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21814,10 +21863,10 @@ elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype718, _size715) = iprot.readListBegin() - for _i719 in xrange(_size715): - _elem720 = iprot.readString(); - self.group_names.append(_elem720) + (_etype732, _size729) = iprot.readListBegin() + for _i733 in xrange(_size729): + _elem734 = iprot.readString(); + self.group_names.append(_elem734) iprot.readListEnd() else: iprot.skip(ftype) @@ -21838,8 +21887,8 @@ if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter721 in self.group_names: - oprot.writeString(iter721) + for iter735 in self.group_names: + oprot.writeString(iter735) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21888,10 +21937,10 @@ if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype725, _size722) = iprot.readListBegin() - for _i726 in xrange(_size722): - _elem727 = iprot.readString(); - self.success.append(_elem727) + (_etype739, _size736) = iprot.readListBegin() + for _i740 in xrange(_size736): + _elem741 = iprot.readString(); + self.success.append(_elem741) iprot.readListEnd() else: iprot.skip(ftype) @@ -21914,8 +21963,8 @@ if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter728 in self.success: - oprot.writeString(iter728) + for iter742 in self.success: + oprot.writeString(iter742) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -23630,6 +23679,127 @@ def __ne__(self, other): return not (self == other) +class heartbeat_txn_range_args: + """ + Attributes: + - txns + """ + + thrift_spec = ( + None, # 0 + (1, TType.STRUCT, 'txns', (HeartbeatTxnRangeRequest, HeartbeatTxnRangeRequest.thrift_spec), None, ), # 1 + ) + + def __init__(self, txns=None,): + self.txns = txns + + 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.txns = HeartbeatTxnRangeRequest() + self.txns.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('heartbeat_txn_range_args') + if self.txns is not None: + oprot.writeFieldBegin('txns', TType.STRUCT, 1) + self.txns.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 heartbeat_txn_range_result: + """ + Attributes: + - success + """ + + thrift_spec = ( + (0, TType.STRUCT, 'success', (HeartbeatTxnRangeResponse, HeartbeatTxnRangeResponse.thrift_spec), None, ), # 0 + ) + + def __init__(self, success=None,): + self.success = success + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + if fid == 0: + if ftype == TType.STRUCT: + self.success = HeartbeatTxnRangeResponse() + self.success.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('heartbeat_txn_range_result') + if self.success is not None: + oprot.writeFieldBegin('success', TType.STRUCT, 0) + self.success.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 compact_args: """ Attributes: Index: metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py =================================================================== --- metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py (revision 1583026) +++ metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py (working copy) @@ -6689,6 +6689,174 @@ def __ne__(self, other): return not (self == other) +class HeartbeatTxnRangeRequest: + """ + Attributes: + - min + - max + """ + + thrift_spec = ( + None, # 0 + (1, TType.I64, 'min', None, None, ), # 1 + (2, TType.I64, 'max', None, None, ), # 2 + ) + + def __init__(self, min=None, max=None,): + self.min = min + self.max = max + + 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.I64: + self.min = iprot.readI64(); + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.I64: + self.max = iprot.readI64(); + 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('HeartbeatTxnRangeRequest') + if self.min is not None: + oprot.writeFieldBegin('min', TType.I64, 1) + oprot.writeI64(self.min) + oprot.writeFieldEnd() + if self.max is not None: + oprot.writeFieldBegin('max', TType.I64, 2) + oprot.writeI64(self.max) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + if self.min is None: + raise TProtocol.TProtocolException(message='Required field min is unset!') + if self.max is None: + raise TProtocol.TProtocolException(message='Required field max 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 HeartbeatTxnRangeResponse: + """ + Attributes: + - aborted + - nosuch + """ + + thrift_spec = ( + None, # 0 + (1, TType.SET, 'aborted', (TType.I64,None), None, ), # 1 + (2, TType.SET, 'nosuch', (TType.I64,None), None, ), # 2 + ) + + def __init__(self, aborted=None, nosuch=None,): + self.aborted = aborted + self.nosuch = nosuch + + 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.SET: + self.aborted = set() + (_etype372, _size369) = iprot.readSetBegin() + for _i373 in xrange(_size369): + _elem374 = iprot.readI64(); + self.aborted.add(_elem374) + iprot.readSetEnd() + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.SET: + self.nosuch = set() + (_etype378, _size375) = iprot.readSetBegin() + for _i379 in xrange(_size375): + _elem380 = iprot.readI64(); + self.nosuch.add(_elem380) + iprot.readSetEnd() + 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('HeartbeatTxnRangeResponse') + if self.aborted is not None: + oprot.writeFieldBegin('aborted', TType.SET, 1) + oprot.writeSetBegin(TType.I64, len(self.aborted)) + for iter381 in self.aborted: + oprot.writeI64(iter381) + oprot.writeSetEnd() + oprot.writeFieldEnd() + if self.nosuch is not None: + oprot.writeFieldBegin('nosuch', TType.SET, 2) + oprot.writeSetBegin(TType.I64, len(self.nosuch)) + for iter382 in self.nosuch: + oprot.writeI64(iter382) + oprot.writeSetEnd() + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + if self.aborted is None: + raise TProtocol.TProtocolException(message='Required field aborted is unset!') + if self.nosuch is None: + raise TProtocol.TProtocolException(message='Required field nosuch 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 CompactionRequest: """ Attributes: @@ -7031,11 +7199,11 @@ if fid == 1: if ftype == TType.LIST: self.compacts = [] - (_etype372, _size369) = iprot.readListBegin() - for _i373 in xrange(_size369): - _elem374 = ShowCompactResponseElement() - _elem374.read(iprot) - self.compacts.append(_elem374) + (_etype386, _size383) = iprot.readListBegin() + for _i387 in xrange(_size383): + _elem388 = ShowCompactResponseElement() + _elem388.read(iprot) + self.compacts.append(_elem388) iprot.readListEnd() else: iprot.skip(ftype) @@ -7052,8 +7220,8 @@ if self.compacts is not None: oprot.writeFieldBegin('compacts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.compacts)) - for iter375 in self.compacts: - iter375.write(oprot) + for iter389 in self.compacts: + iter389.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() Index: metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb =================================================================== --- metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb (revision 1583026) +++ metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb (working copy) @@ -1631,6 +1631,46 @@ ::Thrift::Struct.generate_accessors self end +class HeartbeatTxnRangeRequest + include ::Thrift::Struct, ::Thrift::Struct_Union + MIN = 1 + MAX = 2 + + FIELDS = { + MIN => {:type => ::Thrift::Types::I64, :name => 'min'}, + MAX => {:type => ::Thrift::Types::I64, :name => 'max'} + } + + def struct_fields; FIELDS; end + + def validate + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field min is unset!') unless @min + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field max is unset!') unless @max + end + + ::Thrift::Struct.generate_accessors self +end + +class HeartbeatTxnRangeResponse + include ::Thrift::Struct, ::Thrift::Struct_Union + ABORTED = 1 + NOSUCH = 2 + + FIELDS = { + ABORTED => {:type => ::Thrift::Types::SET, :name => 'aborted', :element => {:type => ::Thrift::Types::I64}}, + NOSUCH => {:type => ::Thrift::Types::SET, :name => 'nosuch', :element => {:type => ::Thrift::Types::I64}} + } + + def struct_fields; FIELDS; end + + def validate + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field aborted is unset!') unless @aborted + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field nosuch is unset!') unless @nosuch + end + + ::Thrift::Struct.generate_accessors self +end + class CompactionRequest include ::Thrift::Struct, ::Thrift::Struct_Union DBNAME = 1 Index: metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb =================================================================== --- metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb (revision 1583026) +++ metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb (working copy) @@ -1766,6 +1766,21 @@ return end + def heartbeat_txn_range(txns) + send_heartbeat_txn_range(txns) + return recv_heartbeat_txn_range() + end + + def send_heartbeat_txn_range(txns) + send_message('heartbeat_txn_range', Heartbeat_txn_range_args, :txns => txns) + end + + def recv_heartbeat_txn_range() + result = receive_message(Heartbeat_txn_range_result) + return result.success unless result.success.nil? + raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'heartbeat_txn_range failed: unknown result') + end + def compact(rqst) send_compact(rqst) recv_compact() @@ -3162,6 +3177,13 @@ write_result(result, oprot, 'heartbeat', seqid) end + def process_heartbeat_txn_range(seqid, iprot, oprot) + args = read_args(iprot, Heartbeat_txn_range_args) + result = Heartbeat_txn_range_result.new() + result.success = @handler.heartbeat_txn_range(args.txns) + write_result(result, oprot, 'heartbeat_txn_range', seqid) + end + def process_compact(seqid, iprot, oprot) args = read_args(iprot, Compact_args) result = Compact_result.new() @@ -7197,6 +7219,38 @@ ::Thrift::Struct.generate_accessors self end + class Heartbeat_txn_range_args + include ::Thrift::Struct, ::Thrift::Struct_Union + TXNS = 1 + + FIELDS = { + TXNS => {:type => ::Thrift::Types::STRUCT, :name => 'txns', :class => ::HeartbeatTxnRangeRequest} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + + class Heartbeat_txn_range_result + include ::Thrift::Struct, ::Thrift::Struct_Union + SUCCESS = 0 + + FIELDS = { + SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::HeartbeatTxnRangeResponse} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + class Compact_args include ::Thrift::Struct, ::Thrift::Struct_Union RQST = 1 Index: metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java =================================================================== --- metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java (revision 1583026) +++ metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java (working copy) @@ -83,6 +83,8 @@ import org.apache.hadoop.hive.metastore.api.GetRoleGrantsForPrincipalRequest; import org.apache.hadoop.hive.metastore.api.GetRoleGrantsForPrincipalResponse; import org.apache.hadoop.hive.metastore.api.HeartbeatRequest; +import org.apache.hadoop.hive.metastore.api.HeartbeatTxnRangeRequest; +import org.apache.hadoop.hive.metastore.api.HeartbeatTxnRangeResponse; import org.apache.hadoop.hive.metastore.api.HiveObjectPrivilege; import org.apache.hadoop.hive.metastore.api.HiveObjectRef; import org.apache.hadoop.hive.metastore.api.HiveObjectType; @@ -4862,6 +4864,16 @@ } @Override + public HeartbeatTxnRangeResponse heartbeat_txn_range(HeartbeatTxnRangeRequest rqst) + throws TException { + try { + return getTxnHandler().heartbeatTxnRange(rqst); + } catch (MetaException e) { + throw new TException(e); + } + } + + @Override public void compact(CompactionRequest rqst) throws TException { try { getTxnHandler().compact(rqst); Index: metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java =================================================================== --- metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java (revision 1583026) +++ metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java (working copy) @@ -74,6 +74,8 @@ import org.apache.hadoop.hive.metastore.api.GetRoleGrantsForPrincipalRequest; import org.apache.hadoop.hive.metastore.api.GetRoleGrantsForPrincipalResponse; import org.apache.hadoop.hive.metastore.api.HeartbeatRequest; +import org.apache.hadoop.hive.metastore.api.HeartbeatTxnRangeRequest; +import org.apache.hadoop.hive.metastore.api.HeartbeatTxnRangeResponse; import org.apache.hadoop.hive.metastore.api.HiveObjectPrivilege; import org.apache.hadoop.hive.metastore.api.HiveObjectRef; import org.apache.hadoop.hive.metastore.api.Index; @@ -1612,6 +1614,13 @@ } @Override + public HeartbeatTxnRangeResponse heartbeatTxnRange(long min, long max) + throws NoSuchTxnException, TxnAbortedException, TException { + HeartbeatTxnRangeRequest rqst = new HeartbeatTxnRangeRequest(min, max); + return client.heartbeat_txn_range(rqst); + } + + @Override public void compact(String dbname, String tableName, String partitionName, CompactionType type) throws TException { CompactionRequest cr = new CompactionRequest(); Index: metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java =================================================================== --- metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java (revision 1583026) +++ metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java (working copy) @@ -22,6 +22,7 @@ import org.apache.hadoop.hive.metastore.api.CompactionType; import org.apache.hadoop.hive.metastore.api.GetOpenTxnsInfoResponse; import org.apache.hadoop.hive.metastore.api.GetOpenTxnsResponse; +import org.apache.hadoop.hive.metastore.api.HeartbeatTxnRangeResponse; import org.apache.hadoop.hive.metastore.api.LockRequest; import org.apache.hadoop.hive.metastore.api.LockResponse; import org.apache.hadoop.hive.metastore.api.NoSuchLockException; @@ -1232,6 +1233,18 @@ TException; /** + * Send heartbeats for a range of transactions. This is for the streaming ingest client that + * will have many transactions open at once. Everyone else should use + * {@link #heartbeat(long, long)}. + * @param min minimum transaction id to heartbeat, inclusive + * @param max maximum transaction id to heartbeat, inclusive + * @return a pair of lists that tell which transactions in the list did not exist (they may + * have already been closed) and which were aborted. + * @throws TException + */ + public HeartbeatTxnRangeResponse heartbeatTxnRange(long min, long max) throws TException; + + /** * Send a request to compact a table or partition. This will not block until the compaction is * complete. It will instead put a request on the queue for that table or partition to be * compacted. No checking is done on the dbname, tableName, or partitionName to make sure they Index: metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java =================================================================== --- metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java (revision 1583026) +++ metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java (working copy) @@ -600,6 +600,43 @@ } } + public HeartbeatTxnRangeResponse heartbeatTxnRange(HeartbeatTxnRangeRequest rqst) + throws MetaException { + try { + Connection dbConn = getDbConn(); + HeartbeatTxnRangeResponse rsp = new HeartbeatTxnRangeResponse(); + Set nosuch = new HashSet(); + Set aborted = new HashSet(); + rsp.setNosuch(nosuch); + rsp.setAborted(aborted); + try { + for (long txn = rqst.getMin(); txn <= rqst.getMax(); txn++) { + try { + heartbeatTxn(dbConn, txn); + } catch (NoSuchTxnException e) { + nosuch.add(txn); + } catch (TxnAbortedException e) { + aborted.add(txn); + } + } + return rsp; + } catch (SQLException e) { + try { + LOG.debug("Going to rollback"); + dbConn.rollback(); + } catch (SQLException e1) { + } + detectDeadlock(e, "heartbeatTxnRange"); + throw new MetaException("Unable to select from transaction database " + + StringUtils.stringifyException(e)); + } finally { + closeDbConn(dbConn); + } + } catch (DeadlockException e) { + return heartbeatTxnRange(rqst); + } + } + public void compact(CompactionRequest rqst) throws MetaException { // Put a compaction request in the queue. try { Index: metastore/src/test/org/apache/hadoop/hive/metastore/txn/TestTxnHandler.java =================================================================== --- metastore/src/test/org/apache/hadoop/hive/metastore/txn/TestTxnHandler.java (revision 1583026) +++ metastore/src/test/org/apache/hadoop/hive/metastore/txn/TestTxnHandler.java (working copy) @@ -889,6 +889,48 @@ } @Test + public void heartbeatTxnRange() throws Exception { + long txnid = openTxn(); + assertEquals(1, txnid); + txnid = openTxn(); + txnid = openTxn(); + HeartbeatTxnRangeResponse rsp = + txnHandler.heartbeatTxnRange(new HeartbeatTxnRangeRequest(1, 3)); + assertEquals(0, rsp.getAborted().size()); + assertEquals(0, rsp.getNosuch().size()); + } + + @Test + public void heartbeatTxnRangeOneCommitted() throws Exception { + long txnid = openTxn(); + assertEquals(1, txnid); + txnHandler.commitTxn(new CommitTxnRequest(1)); + txnid = openTxn(); + txnid = openTxn(); + HeartbeatTxnRangeResponse rsp = + txnHandler.heartbeatTxnRange(new HeartbeatTxnRangeRequest(1, 3)); + assertEquals(1, rsp.getNosuchSize()); + Long txn = rsp.getNosuch().iterator().next(); + assertEquals(1L, (long)txn); + assertEquals(0, rsp.getAborted().size()); + } + + @Test + public void heartbeatTxnRangeOneAborted() throws Exception { + long txnid = openTxn(); + assertEquals(1, txnid); + txnid = openTxn(); + txnid = openTxn(); + txnHandler.abortTxn(new AbortTxnRequest(3)); + HeartbeatTxnRangeResponse rsp = + txnHandler.heartbeatTxnRange(new HeartbeatTxnRangeRequest(1, 3)); + assertEquals(1, rsp.getAbortedSize()); + Long txn = rsp.getAborted().iterator().next(); + assertEquals(3L, (long)txn); + assertEquals(0, rsp.getNosuch().size()); + } + + @Test public void testLockTimeout() throws Exception { long timeout = txnHandler.setTimeout(1); LockComponent comp = new LockComponent(LockType.EXCLUSIVE, LockLevel.DB, "mydb");