diff --git 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 index aa64863..7b86b0c 100644 --- 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 @@ -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 @@ public void testTxnRange() throws Exception { 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); diff --git metastore/if/hive_metastore.thrift metastore/if/hive_metastore.thrift index 97af887..ea245c7 100755 --- metastore/if/hive_metastore.thrift +++ metastore/if/hive_metastore.thrift @@ -542,6 +542,16 @@ struct HeartbeatRequest { 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, @@ -998,6 +1008,7 @@ service ThriftHiveMetastore extends fb303.FacebookService 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) } diff --git metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index 712c2a2..275b072 100644 --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp @@ -736,14 +736,14 @@ uint32_t ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size338; - ::apache::thrift::protocol::TType _etype341; - xfer += iprot->readListBegin(_etype341, _size338); - this->success.resize(_size338); - uint32_t _i342; - for (_i342 = 0; _i342 < _size338; ++_i342) + uint32_t _size352; + ::apache::thrift::protocol::TType _etype355; + xfer += iprot->readListBegin(_etype355, _size352); + this->success.resize(_size352); + uint32_t _i356; + for (_i356 = 0; _i356 < _size352; ++_i356) { - xfer += iprot->readString(this->success[_i342]); + xfer += iprot->readString(this->success[_i356]); } xfer += iprot->readListEnd(); } @@ -782,10 +782,10 @@ uint32_t ThriftHiveMetastore_get_databases_result::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter343; - for (_iter343 = this->success.begin(); _iter343 != this->success.end(); ++_iter343) + std::vector ::const_iterator _iter357; + for (_iter357 = this->success.begin(); _iter357 != this->success.end(); ++_iter357) { - xfer += oprot->writeString((*_iter343)); + xfer += oprot->writeString((*_iter357)); } xfer += oprot->writeListEnd(); } @@ -824,14 +824,14 @@ uint32_t ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size344; - ::apache::thrift::protocol::TType _etype347; - xfer += iprot->readListBegin(_etype347, _size344); - (*(this->success)).resize(_size344); - uint32_t _i348; - for (_i348 = 0; _i348 < _size344; ++_i348) + uint32_t _size358; + ::apache::thrift::protocol::TType _etype361; + xfer += iprot->readListBegin(_etype361, _size358); + (*(this->success)).resize(_size358); + uint32_t _i362; + for (_i362 = 0; _i362 < _size358; ++_i362) { - xfer += iprot->readString((*(this->success))[_i348]); + xfer += iprot->readString((*(this->success))[_i362]); } xfer += iprot->readListEnd(); } @@ -929,14 +929,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size349; - ::apache::thrift::protocol::TType _etype352; - xfer += iprot->readListBegin(_etype352, _size349); - this->success.resize(_size349); - uint32_t _i353; - for (_i353 = 0; _i353 < _size349; ++_i353) + uint32_t _size363; + ::apache::thrift::protocol::TType _etype366; + xfer += iprot->readListBegin(_etype366, _size363); + this->success.resize(_size363); + uint32_t _i367; + for (_i367 = 0; _i367 < _size363; ++_i367) { - xfer += iprot->readString(this->success[_i353]); + xfer += iprot->readString(this->success[_i367]); } xfer += iprot->readListEnd(); } @@ -975,10 +975,10 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::write(::apache::thrift::p xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter354; - for (_iter354 = this->success.begin(); _iter354 != this->success.end(); ++_iter354) + std::vector ::const_iterator _iter368; + for (_iter368 = this->success.begin(); _iter368 != this->success.end(); ++_iter368) { - xfer += oprot->writeString((*_iter354)); + xfer += oprot->writeString((*_iter368)); } xfer += oprot->writeListEnd(); } @@ -1017,14 +1017,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size355; - ::apache::thrift::protocol::TType _etype358; - xfer += iprot->readListBegin(_etype358, _size355); - (*(this->success)).resize(_size355); - uint32_t _i359; - for (_i359 = 0; _i359 < _size355; ++_i359) + uint32_t _size369; + ::apache::thrift::protocol::TType _etype372; + xfer += iprot->readListBegin(_etype372, _size369); + (*(this->success)).resize(_size369); + uint32_t _i373; + for (_i373 = 0; _i373 < _size369; ++_i373) { - xfer += iprot->readString((*(this->success))[_i359]); + xfer += iprot->readString((*(this->success))[_i373]); } xfer += iprot->readListEnd(); } @@ -1967,17 +1967,17 @@ uint32_t ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size360; - ::apache::thrift::protocol::TType _ktype361; - ::apache::thrift::protocol::TType _vtype362; - xfer += iprot->readMapBegin(_ktype361, _vtype362, _size360); - uint32_t _i364; - for (_i364 = 0; _i364 < _size360; ++_i364) + uint32_t _size374; + ::apache::thrift::protocol::TType _ktype375; + ::apache::thrift::protocol::TType _vtype376; + xfer += iprot->readMapBegin(_ktype375, _vtype376, _size374); + uint32_t _i378; + for (_i378 = 0; _i378 < _size374; ++_i378) { - std::string _key365; - xfer += iprot->readString(_key365); - Type& _val366 = this->success[_key365]; - xfer += _val366.read(iprot); + std::string _key379; + xfer += iprot->readString(_key379); + Type& _val380 = this->success[_key379]; + xfer += _val380.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2016,11 +2016,11 @@ uint32_t ThriftHiveMetastore_get_type_all_result::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::map ::const_iterator _iter367; - for (_iter367 = this->success.begin(); _iter367 != this->success.end(); ++_iter367) + std::map ::const_iterator _iter381; + for (_iter381 = this->success.begin(); _iter381 != this->success.end(); ++_iter381) { - xfer += oprot->writeString(_iter367->first); - xfer += _iter367->second.write(oprot); + xfer += oprot->writeString(_iter381->first); + xfer += _iter381->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -2059,17 +2059,17 @@ uint32_t ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size368; - ::apache::thrift::protocol::TType _ktype369; - ::apache::thrift::protocol::TType _vtype370; - xfer += iprot->readMapBegin(_ktype369, _vtype370, _size368); - uint32_t _i372; - for (_i372 = 0; _i372 < _size368; ++_i372) + uint32_t _size382; + ::apache::thrift::protocol::TType _ktype383; + ::apache::thrift::protocol::TType _vtype384; + xfer += iprot->readMapBegin(_ktype383, _vtype384, _size382); + uint32_t _i386; + for (_i386 = 0; _i386 < _size382; ++_i386) { - std::string _key373; - xfer += iprot->readString(_key373); - Type& _val374 = (*(this->success))[_key373]; - xfer += _val374.read(iprot); + std::string _key387; + xfer += iprot->readString(_key387); + Type& _val388 = (*(this->success))[_key387]; + xfer += _val388.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2204,14 +2204,14 @@ uint32_t ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size375; - ::apache::thrift::protocol::TType _etype378; - xfer += iprot->readListBegin(_etype378, _size375); - this->success.resize(_size375); - uint32_t _i379; - for (_i379 = 0; _i379 < _size375; ++_i379) + uint32_t _size389; + ::apache::thrift::protocol::TType _etype392; + xfer += iprot->readListBegin(_etype392, _size389); + this->success.resize(_size389); + uint32_t _i393; + for (_i393 = 0; _i393 < _size389; ++_i393) { - xfer += this->success[_i379].read(iprot); + xfer += this->success[_i393].read(iprot); } xfer += iprot->readListEnd(); } @@ -2266,10 +2266,10 @@ uint32_t ThriftHiveMetastore_get_fields_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter380; - for (_iter380 = this->success.begin(); _iter380 != this->success.end(); ++_iter380) + std::vector ::const_iterator _iter394; + for (_iter394 = this->success.begin(); _iter394 != this->success.end(); ++_iter394) { - xfer += (*_iter380).write(oprot); + xfer += (*_iter394).write(oprot); } xfer += oprot->writeListEnd(); } @@ -2316,14 +2316,14 @@ uint32_t ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size381; - ::apache::thrift::protocol::TType _etype384; - xfer += iprot->readListBegin(_etype384, _size381); - (*(this->success)).resize(_size381); - uint32_t _i385; - for (_i385 = 0; _i385 < _size381; ++_i385) + uint32_t _size395; + ::apache::thrift::protocol::TType _etype398; + xfer += iprot->readListBegin(_etype398, _size395); + (*(this->success)).resize(_size395); + uint32_t _i399; + for (_i399 = 0; _i399 < _size395; ++_i399) { - xfer += (*(this->success))[_i385].read(iprot); + xfer += (*(this->success))[_i399].read(iprot); } xfer += iprot->readListEnd(); } @@ -2474,14 +2474,14 @@ uint32_t ThriftHiveMetastore_get_schema_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size386; - ::apache::thrift::protocol::TType _etype389; - xfer += iprot->readListBegin(_etype389, _size386); - this->success.resize(_size386); - uint32_t _i390; - for (_i390 = 0; _i390 < _size386; ++_i390) + uint32_t _size400; + ::apache::thrift::protocol::TType _etype403; + xfer += iprot->readListBegin(_etype403, _size400); + this->success.resize(_size400); + uint32_t _i404; + for (_i404 = 0; _i404 < _size400; ++_i404) { - xfer += this->success[_i390].read(iprot); + xfer += this->success[_i404].read(iprot); } xfer += iprot->readListEnd(); } @@ -2536,10 +2536,10 @@ uint32_t ThriftHiveMetastore_get_schema_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter391; - for (_iter391 = this->success.begin(); _iter391 != this->success.end(); ++_iter391) + std::vector ::const_iterator _iter405; + for (_iter405 = this->success.begin(); _iter405 != this->success.end(); ++_iter405) { - xfer += (*_iter391).write(oprot); + xfer += (*_iter405).write(oprot); } xfer += oprot->writeListEnd(); } @@ -2586,14 +2586,14 @@ uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size392; - ::apache::thrift::protocol::TType _etype395; - xfer += iprot->readListBegin(_etype395, _size392); - (*(this->success)).resize(_size392); - uint32_t _i396; - for (_i396 = 0; _i396 < _size392; ++_i396) + uint32_t _size406; + ::apache::thrift::protocol::TType _etype409; + xfer += iprot->readListBegin(_etype409, _size406); + (*(this->success)).resize(_size406); + uint32_t _i410; + for (_i410 = 0; _i410 < _size406; ++_i410) { - xfer += (*(this->success))[_i396].read(iprot); + xfer += (*(this->success))[_i410].read(iprot); } xfer += iprot->readListEnd(); } @@ -3648,14 +3648,14 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size397; - ::apache::thrift::protocol::TType _etype400; - xfer += iprot->readListBegin(_etype400, _size397); - this->success.resize(_size397); - uint32_t _i401; - for (_i401 = 0; _i401 < _size397; ++_i401) + uint32_t _size411; + ::apache::thrift::protocol::TType _etype414; + xfer += iprot->readListBegin(_etype414, _size411); + this->success.resize(_size411); + uint32_t _i415; + for (_i415 = 0; _i415 < _size411; ++_i415) { - xfer += iprot->readString(this->success[_i401]); + xfer += iprot->readString(this->success[_i415]); } xfer += iprot->readListEnd(); } @@ -3694,10 +3694,10 @@ uint32_t ThriftHiveMetastore_get_tables_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter402; - for (_iter402 = this->success.begin(); _iter402 != this->success.end(); ++_iter402) + std::vector ::const_iterator _iter416; + for (_iter416 = this->success.begin(); _iter416 != this->success.end(); ++_iter416) { - xfer += oprot->writeString((*_iter402)); + xfer += oprot->writeString((*_iter416)); } xfer += oprot->writeListEnd(); } @@ -3736,14 +3736,14 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size403; - ::apache::thrift::protocol::TType _etype406; - xfer += iprot->readListBegin(_etype406, _size403); - (*(this->success)).resize(_size403); - uint32_t _i407; - for (_i407 = 0; _i407 < _size403; ++_i407) + uint32_t _size417; + ::apache::thrift::protocol::TType _etype420; + xfer += iprot->readListBegin(_etype420, _size417); + (*(this->success)).resize(_size417); + uint32_t _i421; + for (_i421 = 0; _i421 < _size417; ++_i421) { - xfer += iprot->readString((*(this->success))[_i407]); + xfer += iprot->readString((*(this->success))[_i421]); } xfer += iprot->readListEnd(); } @@ -3862,14 +3862,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size408; - ::apache::thrift::protocol::TType _etype411; - xfer += iprot->readListBegin(_etype411, _size408); - this->success.resize(_size408); - uint32_t _i412; - for (_i412 = 0; _i412 < _size408; ++_i412) + uint32_t _size422; + ::apache::thrift::protocol::TType _etype425; + xfer += iprot->readListBegin(_etype425, _size422); + this->success.resize(_size422); + uint32_t _i426; + for (_i426 = 0; _i426 < _size422; ++_i426) { - xfer += iprot->readString(this->success[_i412]); + xfer += iprot->readString(this->success[_i426]); } xfer += iprot->readListEnd(); } @@ -3908,10 +3908,10 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter413; - for (_iter413 = this->success.begin(); _iter413 != this->success.end(); ++_iter413) + std::vector ::const_iterator _iter427; + for (_iter427 = this->success.begin(); _iter427 != this->success.end(); ++_iter427) { - xfer += oprot->writeString((*_iter413)); + xfer += oprot->writeString((*_iter427)); } xfer += oprot->writeListEnd(); } @@ -3950,14 +3950,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size414; - ::apache::thrift::protocol::TType _etype417; - xfer += iprot->readListBegin(_etype417, _size414); - (*(this->success)).resize(_size414); - uint32_t _i418; - for (_i418 = 0; _i418 < _size414; ++_i418) + uint32_t _size428; + ::apache::thrift::protocol::TType _etype431; + xfer += iprot->readListBegin(_etype431, _size428); + (*(this->success)).resize(_size428); + uint32_t _i432; + for (_i432 = 0; _i432 < _size428; ++_i432) { - xfer += iprot->readString((*(this->success))[_i418]); + xfer += iprot->readString((*(this->success))[_i432]); } xfer += iprot->readListEnd(); } @@ -4236,14 +4236,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tbl_names.clear(); - uint32_t _size419; - ::apache::thrift::protocol::TType _etype422; - xfer += iprot->readListBegin(_etype422, _size419); - this->tbl_names.resize(_size419); - uint32_t _i423; - for (_i423 = 0; _i423 < _size419; ++_i423) + uint32_t _size433; + ::apache::thrift::protocol::TType _etype436; + xfer += iprot->readListBegin(_etype436, _size433); + this->tbl_names.resize(_size433); + uint32_t _i437; + for (_i437 = 0; _i437 < _size433; ++_i437) { - xfer += iprot->readString(this->tbl_names[_i423]); + xfer += iprot->readString(this->tbl_names[_i437]); } xfer += iprot->readListEnd(); } @@ -4275,10 +4275,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::write(::apache::thr xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tbl_names.size())); - std::vector ::const_iterator _iter424; - for (_iter424 = this->tbl_names.begin(); _iter424 != this->tbl_names.end(); ++_iter424) + std::vector ::const_iterator _iter438; + for (_iter438 = this->tbl_names.begin(); _iter438 != this->tbl_names.end(); ++_iter438) { - xfer += oprot->writeString((*_iter424)); + xfer += oprot->writeString((*_iter438)); } xfer += oprot->writeListEnd(); } @@ -4300,10 +4300,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_pargs::write(::apache::th xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->tbl_names)).size())); - std::vector ::const_iterator _iter425; - for (_iter425 = (*(this->tbl_names)).begin(); _iter425 != (*(this->tbl_names)).end(); ++_iter425) + std::vector ::const_iterator _iter439; + for (_iter439 = (*(this->tbl_names)).begin(); _iter439 != (*(this->tbl_names)).end(); ++_iter439) { - xfer += oprot->writeString((*_iter425)); + xfer += oprot->writeString((*_iter439)); } xfer += oprot->writeListEnd(); } @@ -4338,14 +4338,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size426; - ::apache::thrift::protocol::TType _etype429; - xfer += iprot->readListBegin(_etype429, _size426); - this->success.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->success.resize(_size440); + uint32_t _i444; + for (_i444 = 0; _i444 < _size440; ++_i444) { - xfer += this->success[_i430].read(iprot); + xfer += this->success[_i444].read(iprot); } xfer += iprot->readListEnd(); } @@ -4400,10 +4400,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter431; - for (_iter431 = this->success.begin(); _iter431 != this->success.end(); ++_iter431) + std::vector
::const_iterator _iter445; + for (_iter445 = this->success.begin(); _iter445 != this->success.end(); ++_iter445) { - xfer += (*_iter431).write(oprot); + xfer += (*_iter445).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4450,14 +4450,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size432; - ::apache::thrift::protocol::TType _etype435; - xfer += iprot->readListBegin(_etype435, _size432); - (*(this->success)).resize(_size432); - uint32_t _i436; - for (_i436 = 0; _i436 < _size432; ++_i436) + uint32_t _size446; + ::apache::thrift::protocol::TType _etype449; + xfer += iprot->readListBegin(_etype449, _size446); + (*(this->success)).resize(_size446); + uint32_t _i450; + for (_i450 = 0; _i450 < _size446; ++_i450) { - xfer += (*(this->success))[_i436].read(iprot); + xfer += (*(this->success))[_i450].read(iprot); } xfer += iprot->readListEnd(); } @@ -4624,14 +4624,14 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size437; - ::apache::thrift::protocol::TType _etype440; - xfer += iprot->readListBegin(_etype440, _size437); - this->success.resize(_size437); - uint32_t _i441; - for (_i441 = 0; _i441 < _size437; ++_i441) + uint32_t _size451; + ::apache::thrift::protocol::TType _etype454; + xfer += iprot->readListBegin(_etype454, _size451); + this->success.resize(_size451); + uint32_t _i455; + for (_i455 = 0; _i455 < _size451; ++_i455) { - xfer += iprot->readString(this->success[_i441]); + xfer += iprot->readString(this->success[_i455]); } xfer += iprot->readListEnd(); } @@ -4686,10 +4686,10 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter442; - for (_iter442 = this->success.begin(); _iter442 != this->success.end(); ++_iter442) + std::vector ::const_iterator _iter456; + for (_iter456 = this->success.begin(); _iter456 != this->success.end(); ++_iter456) { - xfer += oprot->writeString((*_iter442)); + xfer += oprot->writeString((*_iter456)); } xfer += oprot->writeListEnd(); } @@ -4736,14 +4736,14 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size443; - ::apache::thrift::protocol::TType _etype446; - xfer += iprot->readListBegin(_etype446, _size443); - (*(this->success)).resize(_size443); - uint32_t _i447; - for (_i447 = 0; _i447 < _size443; ++_i447) + uint32_t _size457; + ::apache::thrift::protocol::TType _etype460; + xfer += iprot->readListBegin(_etype460, _size457); + (*(this->success)).resize(_size457); + uint32_t _i461; + for (_i461 = 0; _i461 < _size457; ++_i461) { - xfer += iprot->readString((*(this->success))[_i447]); + xfer += iprot->readString((*(this->success))[_i461]); } xfer += iprot->readListEnd(); } @@ -5716,14 +5716,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size448; - ::apache::thrift::protocol::TType _etype451; - xfer += iprot->readListBegin(_etype451, _size448); - this->new_parts.resize(_size448); - uint32_t _i452; - for (_i452 = 0; _i452 < _size448; ++_i452) + uint32_t _size462; + ::apache::thrift::protocol::TType _etype465; + xfer += iprot->readListBegin(_etype465, _size462); + this->new_parts.resize(_size462); + uint32_t _i466; + for (_i466 = 0; _i466 < _size462; ++_i466) { - xfer += this->new_parts[_i452].read(iprot); + xfer += this->new_parts[_i466].read(iprot); } xfer += iprot->readListEnd(); } @@ -5751,10 +5751,10 @@ uint32_t ThriftHiveMetastore_add_partitions_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter453; - for (_iter453 = this->new_parts.begin(); _iter453 != this->new_parts.end(); ++_iter453) + std::vector ::const_iterator _iter467; + for (_iter467 = this->new_parts.begin(); _iter467 != this->new_parts.end(); ++_iter467) { - xfer += (*_iter453).write(oprot); + xfer += (*_iter467).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5772,10 +5772,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter454; - for (_iter454 = (*(this->new_parts)).begin(); _iter454 != (*(this->new_parts)).end(); ++_iter454) + std::vector ::const_iterator _iter468; + for (_iter468 = (*(this->new_parts)).begin(); _iter468 != (*(this->new_parts)).end(); ++_iter468) { - xfer += (*_iter454).write(oprot); + xfer += (*_iter468).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5982,14 +5982,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size455; - ::apache::thrift::protocol::TType _etype458; - xfer += iprot->readListBegin(_etype458, _size455); - this->part_vals.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->part_vals.resize(_size469); + uint32_t _i473; + for (_i473 = 0; _i473 < _size469; ++_i473) { - xfer += iprot->readString(this->part_vals[_i459]); + xfer += iprot->readString(this->part_vals[_i473]); } xfer += iprot->readListEnd(); } @@ -6025,10 +6025,10 @@ uint32_t ThriftHiveMetastore_append_partition_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter460; - for (_iter460 = this->part_vals.begin(); _iter460 != this->part_vals.end(); ++_iter460) + std::vector ::const_iterator _iter474; + for (_iter474 = this->part_vals.begin(); _iter474 != this->part_vals.end(); ++_iter474) { - xfer += oprot->writeString((*_iter460)); + xfer += oprot->writeString((*_iter474)); } xfer += oprot->writeListEnd(); } @@ -6054,10 +6054,10 @@ uint32_t ThriftHiveMetastore_append_partition_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter461; - for (_iter461 = (*(this->part_vals)).begin(); _iter461 != (*(this->part_vals)).end(); ++_iter461) + std::vector ::const_iterator _iter475; + for (_iter475 = (*(this->part_vals)).begin(); _iter475 != (*(this->part_vals)).end(); ++_iter475) { - xfer += oprot->writeString((*_iter461)); + xfer += oprot->writeString((*_iter475)); } xfer += oprot->writeListEnd(); } @@ -6486,14 +6486,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea 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(); } @@ -6537,10 +6537,10 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::wri xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _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(); } @@ -6570,10 +6570,10 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_pargs::wr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _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(); } @@ -7308,14 +7308,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco 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(); } @@ -7359,10 +7359,10 @@ uint32_t ThriftHiveMetastore_drop_partition_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _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(); } @@ -7392,10 +7392,10 @@ uint32_t ThriftHiveMetastore_drop_partition_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _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(); } @@ -7586,14 +7586,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( 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(); } @@ -7645,10 +7645,10 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::write xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _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(); } @@ -7682,10 +7682,10 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_pargs::writ xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _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(); } @@ -8598,14 +8598,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol 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(); } @@ -8641,10 +8641,10 @@ uint32_t ThriftHiveMetastore_get_partition_args::write(::apache::thrift::protoco xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _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(); } @@ -8670,10 +8670,10 @@ uint32_t ThriftHiveMetastore_get_partition_pargs::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _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(); } @@ -8844,17 +8844,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size490; - ::apache::thrift::protocol::TType _ktype491; - ::apache::thrift::protocol::TType _vtype492; - xfer += iprot->readMapBegin(_ktype491, _vtype492, _size490); - uint32_t _i494; - for (_i494 = 0; _i494 < _size490; ++_i494) + uint32_t _size504; + ::apache::thrift::protocol::TType _ktype505; + ::apache::thrift::protocol::TType _vtype506; + xfer += iprot->readMapBegin(_ktype505, _vtype506, _size504); + uint32_t _i508; + for (_i508 = 0; _i508 < _size504; ++_i508) { - std::string _key495; - xfer += iprot->readString(_key495); - std::string& _val496 = this->partitionSpecs[_key495]; - xfer += iprot->readString(_val496); + std::string _key509; + xfer += iprot->readString(_key509); + std::string& _val510 = this->partitionSpecs[_key509]; + xfer += iprot->readString(_val510); } xfer += iprot->readMapEnd(); } @@ -8914,11 +8914,11 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->partitionSpecs.size())); - std::map ::const_iterator _iter497; - for (_iter497 = this->partitionSpecs.begin(); _iter497 != this->partitionSpecs.end(); ++_iter497) + std::map ::const_iterator _iter511; + for (_iter511 = this->partitionSpecs.begin(); _iter511 != this->partitionSpecs.end(); ++_iter511) { - xfer += oprot->writeString(_iter497->first); - xfer += oprot->writeString(_iter497->second); + xfer += oprot->writeString(_iter511->first); + xfer += oprot->writeString(_iter511->second); } xfer += oprot->writeMapEnd(); } @@ -8952,11 +8952,11 @@ uint32_t ThriftHiveMetastore_exchange_partition_pargs::write(::apache::thrift::p xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->partitionSpecs)).size())); - std::map ::const_iterator _iter498; - for (_iter498 = (*(this->partitionSpecs)).begin(); _iter498 != (*(this->partitionSpecs)).end(); ++_iter498) + std::map ::const_iterator _iter512; + for (_iter512 = (*(this->partitionSpecs)).begin(); _iter512 != (*(this->partitionSpecs)).end(); ++_iter512) { - xfer += oprot->writeString(_iter498->first); - xfer += oprot->writeString(_iter498->second); + xfer += oprot->writeString(_iter512->first); + xfer += oprot->writeString(_iter512->second); } xfer += oprot->writeMapEnd(); } @@ -9199,14 +9199,14 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size499; - ::apache::thrift::protocol::TType _etype502; - xfer += iprot->readListBegin(_etype502, _size499); - this->part_vals.resize(_size499); - uint32_t _i503; - for (_i503 = 0; _i503 < _size499; ++_i503) + uint32_t _size513; + ::apache::thrift::protocol::TType _etype516; + xfer += iprot->readListBegin(_etype516, _size513); + this->part_vals.resize(_size513); + uint32_t _i517; + for (_i517 = 0; _i517 < _size513; ++_i517) { - xfer += iprot->readString(this->part_vals[_i503]); + xfer += iprot->readString(this->part_vals[_i517]); } xfer += iprot->readListEnd(); } @@ -9227,14 +9227,14 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size504; - ::apache::thrift::protocol::TType _etype507; - xfer += iprot->readListBegin(_etype507, _size504); - this->group_names.resize(_size504); - uint32_t _i508; - for (_i508 = 0; _i508 < _size504; ++_i508) + uint32_t _size518; + ::apache::thrift::protocol::TType _etype521; + xfer += iprot->readListBegin(_etype521, _size518); + this->group_names.resize(_size518); + uint32_t _i522; + for (_i522 = 0; _i522 < _size518; ++_i522) { - xfer += iprot->readString(this->group_names[_i508]); + xfer += iprot->readString(this->group_names[_i522]); } xfer += iprot->readListEnd(); } @@ -9270,10 +9270,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrif xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter509; - for (_iter509 = this->part_vals.begin(); _iter509 != this->part_vals.end(); ++_iter509) + std::vector ::const_iterator _iter523; + for (_iter523 = this->part_vals.begin(); _iter523 != this->part_vals.end(); ++_iter523) { - xfer += oprot->writeString((*_iter509)); + xfer += oprot->writeString((*_iter523)); } xfer += oprot->writeListEnd(); } @@ -9286,10 +9286,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrif xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter510; - for (_iter510 = this->group_names.begin(); _iter510 != this->group_names.end(); ++_iter510) + std::vector ::const_iterator _iter524; + for (_iter524 = this->group_names.begin(); _iter524 != this->group_names.end(); ++_iter524) { - xfer += oprot->writeString((*_iter510)); + xfer += oprot->writeString((*_iter524)); } xfer += oprot->writeListEnd(); } @@ -9315,10 +9315,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter511; - for (_iter511 = (*(this->part_vals)).begin(); _iter511 != (*(this->part_vals)).end(); ++_iter511) + std::vector ::const_iterator _iter525; + for (_iter525 = (*(this->part_vals)).begin(); _iter525 != (*(this->part_vals)).end(); ++_iter525) { - xfer += oprot->writeString((*_iter511)); + xfer += oprot->writeString((*_iter525)); } xfer += oprot->writeListEnd(); } @@ -9331,10 +9331,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter512; - for (_iter512 = (*(this->group_names)).begin(); _iter512 != (*(this->group_names)).end(); ++_iter512) + std::vector ::const_iterator _iter526; + for (_iter526 = (*(this->group_names)).begin(); _iter526 != (*(this->group_names)).end(); ++_iter526) { - xfer += oprot->writeString((*_iter512)); + xfer += oprot->writeString((*_iter526)); } xfer += oprot->writeListEnd(); } @@ -9837,14 +9837,14 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size513; - ::apache::thrift::protocol::TType _etype516; - xfer += iprot->readListBegin(_etype516, _size513); - this->success.resize(_size513); - uint32_t _i517; - for (_i517 = 0; _i517 < _size513; ++_i517) + uint32_t _size527; + ::apache::thrift::protocol::TType _etype530; + xfer += iprot->readListBegin(_etype530, _size527); + this->success.resize(_size527); + uint32_t _i531; + for (_i531 = 0; _i531 < _size527; ++_i531) { - xfer += this->success[_i517].read(iprot); + xfer += this->success[_i531].read(iprot); } xfer += iprot->readListEnd(); } @@ -9891,10 +9891,10 @@ uint32_t ThriftHiveMetastore_get_partitions_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter518; - for (_iter518 = this->success.begin(); _iter518 != this->success.end(); ++_iter518) + std::vector ::const_iterator _iter532; + for (_iter532 = this->success.begin(); _iter532 != this->success.end(); ++_iter532) { - xfer += (*_iter518).write(oprot); + xfer += (*_iter532).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9937,14 +9937,14 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size519; - ::apache::thrift::protocol::TType _etype522; - xfer += iprot->readListBegin(_etype522, _size519); - (*(this->success)).resize(_size519); - uint32_t _i523; - for (_i523 = 0; _i523 < _size519; ++_i523) + uint32_t _size533; + ::apache::thrift::protocol::TType _etype536; + xfer += iprot->readListBegin(_etype536, _size533); + (*(this->success)).resize(_size533); + uint32_t _i537; + for (_i537 = 0; _i537 < _size533; ++_i537) { - xfer += (*(this->success))[_i523].read(iprot); + xfer += (*(this->success))[_i537].read(iprot); } xfer += iprot->readListEnd(); } @@ -10037,14 +10037,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size524; - ::apache::thrift::protocol::TType _etype527; - xfer += iprot->readListBegin(_etype527, _size524); - this->group_names.resize(_size524); - uint32_t _i528; - for (_i528 = 0; _i528 < _size524; ++_i528) + uint32_t _size538; + ::apache::thrift::protocol::TType _etype541; + xfer += iprot->readListBegin(_etype541, _size538); + this->group_names.resize(_size538); + uint32_t _i542; + for (_i542 = 0; _i542 < _size538; ++_i542) { - xfer += iprot->readString(this->group_names[_i528]); + xfer += iprot->readString(this->group_names[_i542]); } xfer += iprot->readListEnd(); } @@ -10088,10 +10088,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::write(::apache::thri xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter529; - for (_iter529 = this->group_names.begin(); _iter529 != this->group_names.end(); ++_iter529) + std::vector ::const_iterator _iter543; + for (_iter543 = this->group_names.begin(); _iter543 != this->group_names.end(); ++_iter543) { - xfer += oprot->writeString((*_iter529)); + xfer += oprot->writeString((*_iter543)); } xfer += oprot->writeListEnd(); } @@ -10125,10 +10125,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_pargs::write(::apache::thr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter530; - for (_iter530 = (*(this->group_names)).begin(); _iter530 != (*(this->group_names)).end(); ++_iter530) + std::vector ::const_iterator _iter544; + for (_iter544 = (*(this->group_names)).begin(); _iter544 != (*(this->group_names)).end(); ++_iter544) { - xfer += oprot->writeString((*_iter530)); + xfer += oprot->writeString((*_iter544)); } xfer += oprot->writeListEnd(); } @@ -10163,14 +10163,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size531; - ::apache::thrift::protocol::TType _etype534; - xfer += iprot->readListBegin(_etype534, _size531); - this->success.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->success.resize(_size545); + uint32_t _i549; + for (_i549 = 0; _i549 < _size545; ++_i549) { - xfer += this->success[_i535].read(iprot); + xfer += this->success[_i549].read(iprot); } xfer += iprot->readListEnd(); } @@ -10217,10 +10217,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter536; - for (_iter536 = this->success.begin(); _iter536 != this->success.end(); ++_iter536) + std::vector ::const_iterator _iter550; + for (_iter550 = this->success.begin(); _iter550 != this->success.end(); ++_iter550) { - xfer += (*_iter536).write(oprot); + xfer += (*_iter550).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10263,14 +10263,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size537; - ::apache::thrift::protocol::TType _etype540; - xfer += iprot->readListBegin(_etype540, _size537); - (*(this->success)).resize(_size537); - uint32_t _i541; - for (_i541 = 0; _i541 < _size537; ++_i541) + uint32_t _size551; + ::apache::thrift::protocol::TType _etype554; + xfer += iprot->readListBegin(_etype554, _size551); + (*(this->success)).resize(_size551); + uint32_t _i555; + for (_i555 = 0; _i555 < _size551; ++_i555) { - xfer += (*(this->success))[_i541].read(iprot); + xfer += (*(this->success))[_i555].read(iprot); } xfer += iprot->readListEnd(); } @@ -10429,14 +10429,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size542; - ::apache::thrift::protocol::TType _etype545; - xfer += iprot->readListBegin(_etype545, _size542); - this->success.resize(_size542); - uint32_t _i546; - for (_i546 = 0; _i546 < _size542; ++_i546) + uint32_t _size556; + ::apache::thrift::protocol::TType _etype559; + xfer += iprot->readListBegin(_etype559, _size556); + this->success.resize(_size556); + uint32_t _i560; + for (_i560 = 0; _i560 < _size556; ++_i560) { - xfer += iprot->readString(this->success[_i546]); + xfer += iprot->readString(this->success[_i560]); } xfer += iprot->readListEnd(); } @@ -10475,10 +10475,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::write(::apache::thrift: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter547; - for (_iter547 = this->success.begin(); _iter547 != this->success.end(); ++_iter547) + std::vector ::const_iterator _iter561; + for (_iter561 = this->success.begin(); _iter561 != this->success.end(); ++_iter561) { - xfer += oprot->writeString((*_iter547)); + xfer += oprot->writeString((*_iter561)); } xfer += oprot->writeListEnd(); } @@ -10517,14 +10517,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size548; - ::apache::thrift::protocol::TType _etype551; - xfer += iprot->readListBegin(_etype551, _size548); - (*(this->success)).resize(_size548); - uint32_t _i552; - for (_i552 = 0; _i552 < _size548; ++_i552) + uint32_t _size562; + ::apache::thrift::protocol::TType _etype565; + xfer += iprot->readListBegin(_etype565, _size562); + (*(this->success)).resize(_size562); + uint32_t _i566; + for (_i566 = 0; _i566 < _size562; ++_i566) { - xfer += iprot->readString((*(this->success))[_i552]); + xfer += iprot->readString((*(this->success))[_i566]); } xfer += iprot->readListEnd(); } @@ -10593,14 +10593,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size553; - ::apache::thrift::protocol::TType _etype556; - xfer += iprot->readListBegin(_etype556, _size553); - this->part_vals.resize(_size553); - uint32_t _i557; - for (_i557 = 0; _i557 < _size553; ++_i557) + uint32_t _size567; + ::apache::thrift::protocol::TType _etype570; + xfer += iprot->readListBegin(_etype570, _size567); + this->part_vals.resize(_size567); + uint32_t _i571; + for (_i571 = 0; _i571 < _size567; ++_i571) { - xfer += iprot->readString(this->part_vals[_i557]); + xfer += iprot->readString(this->part_vals[_i571]); } xfer += iprot->readListEnd(); } @@ -10644,10 +10644,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter558; - for (_iter558 = this->part_vals.begin(); _iter558 != this->part_vals.end(); ++_iter558) + std::vector ::const_iterator _iter572; + for (_iter572 = this->part_vals.begin(); _iter572 != this->part_vals.end(); ++_iter572) { - xfer += oprot->writeString((*_iter558)); + xfer += oprot->writeString((*_iter572)); } xfer += oprot->writeListEnd(); } @@ -10677,10 +10677,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter559; - for (_iter559 = (*(this->part_vals)).begin(); _iter559 != (*(this->part_vals)).end(); ++_iter559) + std::vector ::const_iterator _iter573; + for (_iter573 = (*(this->part_vals)).begin(); _iter573 != (*(this->part_vals)).end(); ++_iter573) { - xfer += oprot->writeString((*_iter559)); + xfer += oprot->writeString((*_iter573)); } xfer += oprot->writeListEnd(); } @@ -10719,14 +10719,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size560; - ::apache::thrift::protocol::TType _etype563; - xfer += iprot->readListBegin(_etype563, _size560); - this->success.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->success.resize(_size574); + uint32_t _i578; + for (_i578 = 0; _i578 < _size574; ++_i578) { - xfer += this->success[_i564].read(iprot); + xfer += this->success[_i578].read(iprot); } xfer += iprot->readListEnd(); } @@ -10773,10 +10773,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::write(::apache::thrift::p xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter565; - for (_iter565 = this->success.begin(); _iter565 != this->success.end(); ++_iter565) + std::vector ::const_iterator _iter579; + for (_iter579 = this->success.begin(); _iter579 != this->success.end(); ++_iter579) { - xfer += (*_iter565).write(oprot); + xfer += (*_iter579).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10819,14 +10819,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size566; - ::apache::thrift::protocol::TType _etype569; - xfer += iprot->readListBegin(_etype569, _size566); - (*(this->success)).resize(_size566); - uint32_t _i570; - for (_i570 = 0; _i570 < _size566; ++_i570) + uint32_t _size580; + ::apache::thrift::protocol::TType _etype583; + xfer += iprot->readListBegin(_etype583, _size580); + (*(this->success)).resize(_size580); + uint32_t _i584; + for (_i584 = 0; _i584 < _size580; ++_i584) { - xfer += (*(this->success))[_i570].read(iprot); + xfer += (*(this->success))[_i584].read(iprot); } xfer += iprot->readListEnd(); } @@ -10903,14 +10903,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size571; - ::apache::thrift::protocol::TType _etype574; - xfer += iprot->readListBegin(_etype574, _size571); - this->part_vals.resize(_size571); - uint32_t _i575; - for (_i575 = 0; _i575 < _size571; ++_i575) + uint32_t _size585; + ::apache::thrift::protocol::TType _etype588; + xfer += iprot->readListBegin(_etype588, _size585); + this->part_vals.resize(_size585); + uint32_t _i589; + for (_i589 = 0; _i589 < _size585; ++_i589) { - xfer += iprot->readString(this->part_vals[_i575]); + xfer += iprot->readString(this->part_vals[_i589]); } xfer += iprot->readListEnd(); } @@ -10939,14 +10939,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size576; - ::apache::thrift::protocol::TType _etype579; - xfer += iprot->readListBegin(_etype579, _size576); - this->group_names.resize(_size576); - uint32_t _i580; - for (_i580 = 0; _i580 < _size576; ++_i580) + uint32_t _size590; + ::apache::thrift::protocol::TType _etype593; + xfer += iprot->readListBegin(_etype593, _size590); + this->group_names.resize(_size590); + uint32_t _i594; + for (_i594 = 0; _i594 < _size590; ++_i594) { - xfer += iprot->readString(this->group_names[_i580]); + xfer += iprot->readString(this->group_names[_i594]); } xfer += iprot->readListEnd(); } @@ -10982,10 +10982,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::t xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter581; - for (_iter581 = this->part_vals.begin(); _iter581 != this->part_vals.end(); ++_iter581) + std::vector ::const_iterator _iter595; + for (_iter595 = this->part_vals.begin(); _iter595 != this->part_vals.end(); ++_iter595) { - xfer += oprot->writeString((*_iter581)); + xfer += oprot->writeString((*_iter595)); } xfer += oprot->writeListEnd(); } @@ -11002,10 +11002,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::t xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter582; - for (_iter582 = this->group_names.begin(); _iter582 != this->group_names.end(); ++_iter582) + std::vector ::const_iterator _iter596; + for (_iter596 = this->group_names.begin(); _iter596 != this->group_names.end(); ++_iter596) { - xfer += oprot->writeString((*_iter582)); + xfer += oprot->writeString((*_iter596)); } xfer += oprot->writeListEnd(); } @@ -11031,10 +11031,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache:: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter583; - for (_iter583 = (*(this->part_vals)).begin(); _iter583 != (*(this->part_vals)).end(); ++_iter583) + std::vector ::const_iterator _iter597; + for (_iter597 = (*(this->part_vals)).begin(); _iter597 != (*(this->part_vals)).end(); ++_iter597) { - xfer += oprot->writeString((*_iter583)); + xfer += oprot->writeString((*_iter597)); } xfer += oprot->writeListEnd(); } @@ -11051,10 +11051,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache:: xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter584; - for (_iter584 = (*(this->group_names)).begin(); _iter584 != (*(this->group_names)).end(); ++_iter584) + std::vector ::const_iterator _iter598; + for (_iter598 = (*(this->group_names)).begin(); _iter598 != (*(this->group_names)).end(); ++_iter598) { - xfer += oprot->writeString((*_iter584)); + xfer += oprot->writeString((*_iter598)); } xfer += oprot->writeListEnd(); } @@ -11089,14 +11089,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size585; - ::apache::thrift::protocol::TType _etype588; - xfer += iprot->readListBegin(_etype588, _size585); - this->success.resize(_size585); - uint32_t _i589; - for (_i589 = 0; _i589 < _size585; ++_i589) + uint32_t _size599; + ::apache::thrift::protocol::TType _etype602; + xfer += iprot->readListBegin(_etype602, _size599); + this->success.resize(_size599); + uint32_t _i603; + for (_i603 = 0; _i603 < _size599; ++_i603) { - xfer += this->success[_i589].read(iprot); + xfer += this->success[_i603].read(iprot); } xfer += iprot->readListEnd(); } @@ -11143,10 +11143,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::write(::apache: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter590; - for (_iter590 = this->success.begin(); _iter590 != this->success.end(); ++_iter590) + std::vector ::const_iterator _iter604; + for (_iter604 = this->success.begin(); _iter604 != this->success.end(); ++_iter604) { - xfer += (*_iter590).write(oprot); + xfer += (*_iter604).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11189,14 +11189,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size591; - ::apache::thrift::protocol::TType _etype594; - xfer += iprot->readListBegin(_etype594, _size591); - (*(this->success)).resize(_size591); - uint32_t _i595; - for (_i595 = 0; _i595 < _size591; ++_i595) + uint32_t _size605; + ::apache::thrift::protocol::TType _etype608; + xfer += iprot->readListBegin(_etype608, _size605); + (*(this->success)).resize(_size605); + uint32_t _i609; + for (_i609 = 0; _i609 < _size605; ++_i609) { - xfer += (*(this->success))[_i595].read(iprot); + xfer += (*(this->success))[_i609].read(iprot); } xfer += iprot->readListEnd(); } @@ -11273,14 +11273,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size596; - ::apache::thrift::protocol::TType _etype599; - xfer += iprot->readListBegin(_etype599, _size596); - this->part_vals.resize(_size596); - uint32_t _i600; - for (_i600 = 0; _i600 < _size596; ++_i600) + uint32_t _size610; + ::apache::thrift::protocol::TType _etype613; + xfer += iprot->readListBegin(_etype613, _size610); + this->part_vals.resize(_size610); + uint32_t _i614; + for (_i614 = 0; _i614 < _size610; ++_i614) { - xfer += iprot->readString(this->part_vals[_i600]); + xfer += iprot->readString(this->part_vals[_i614]); } xfer += iprot->readListEnd(); } @@ -11324,10 +11324,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::write(::apache::thrift xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter601; - for (_iter601 = this->part_vals.begin(); _iter601 != this->part_vals.end(); ++_iter601) + std::vector ::const_iterator _iter615; + for (_iter615 = this->part_vals.begin(); _iter615 != this->part_vals.end(); ++_iter615) { - xfer += oprot->writeString((*_iter601)); + xfer += oprot->writeString((*_iter615)); } xfer += oprot->writeListEnd(); } @@ -11357,10 +11357,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_pargs::write(::apache::thrif xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter602; - for (_iter602 = (*(this->part_vals)).begin(); _iter602 != (*(this->part_vals)).end(); ++_iter602) + std::vector ::const_iterator _iter616; + for (_iter616 = (*(this->part_vals)).begin(); _iter616 != (*(this->part_vals)).end(); ++_iter616) { - xfer += oprot->writeString((*_iter602)); + xfer += oprot->writeString((*_iter616)); } xfer += oprot->writeListEnd(); } @@ -11399,14 +11399,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size603; - ::apache::thrift::protocol::TType _etype606; - xfer += iprot->readListBegin(_etype606, _size603); - this->success.resize(_size603); - uint32_t _i607; - for (_i607 = 0; _i607 < _size603; ++_i607) + uint32_t _size617; + ::apache::thrift::protocol::TType _etype620; + xfer += iprot->readListBegin(_etype620, _size617); + this->success.resize(_size617); + uint32_t _i621; + for (_i621 = 0; _i621 < _size617; ++_i621) { - xfer += iprot->readString(this->success[_i607]); + xfer += iprot->readString(this->success[_i621]); } xfer += iprot->readListEnd(); } @@ -11453,10 +11453,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter608; - for (_iter608 = this->success.begin(); _iter608 != this->success.end(); ++_iter608) + std::vector ::const_iterator _iter622; + for (_iter622 = this->success.begin(); _iter622 != this->success.end(); ++_iter622) { - xfer += oprot->writeString((*_iter608)); + xfer += oprot->writeString((*_iter622)); } xfer += oprot->writeListEnd(); } @@ -11499,14 +11499,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size609; - ::apache::thrift::protocol::TType _etype612; - xfer += iprot->readListBegin(_etype612, _size609); - (*(this->success)).resize(_size609); - uint32_t _i613; - for (_i613 = 0; _i613 < _size609; ++_i613) + uint32_t _size623; + ::apache::thrift::protocol::TType _etype626; + xfer += iprot->readListBegin(_etype626, _size623); + (*(this->success)).resize(_size623); + uint32_t _i627; + for (_i627 = 0; _i627 < _size623; ++_i627) { - xfer += iprot->readString((*(this->success))[_i613]); + xfer += iprot->readString((*(this->success))[_i627]); } xfer += iprot->readListEnd(); } @@ -11681,14 +11681,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size614; - ::apache::thrift::protocol::TType _etype617; - xfer += iprot->readListBegin(_etype617, _size614); - this->success.resize(_size614); - uint32_t _i618; - for (_i618 = 0; _i618 < _size614; ++_i618) + uint32_t _size628; + ::apache::thrift::protocol::TType _etype631; + xfer += iprot->readListBegin(_etype631, _size628); + this->success.resize(_size628); + uint32_t _i632; + for (_i632 = 0; _i632 < _size628; ++_i632) { - xfer += this->success[_i618].read(iprot); + xfer += this->success[_i632].read(iprot); } xfer += iprot->readListEnd(); } @@ -11735,10 +11735,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter619; - for (_iter619 = this->success.begin(); _iter619 != this->success.end(); ++_iter619) + std::vector ::const_iterator _iter633; + for (_iter633 = this->success.begin(); _iter633 != this->success.end(); ++_iter633) { - xfer += (*_iter619).write(oprot); + xfer += (*_iter633).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11781,14 +11781,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size620; - ::apache::thrift::protocol::TType _etype623; - xfer += iprot->readListBegin(_etype623, _size620); - (*(this->success)).resize(_size620); - uint32_t _i624; - for (_i624 = 0; _i624 < _size620; ++_i624) + uint32_t _size634; + ::apache::thrift::protocol::TType _etype637; + xfer += iprot->readListBegin(_etype637, _size634); + (*(this->success)).resize(_size634); + uint32_t _i638; + for (_i638 = 0; _i638 < _size634; ++_i638) { - xfer += (*(this->success))[_i624].read(iprot); + xfer += (*(this->success))[_i638].read(iprot); } xfer += iprot->readListEnd(); } @@ -12067,14 +12067,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size625; - ::apache::thrift::protocol::TType _etype628; - xfer += iprot->readListBegin(_etype628, _size625); - this->names.resize(_size625); - uint32_t _i629; - for (_i629 = 0; _i629 < _size625; ++_i629) + uint32_t _size639; + ::apache::thrift::protocol::TType _etype642; + xfer += iprot->readListBegin(_etype642, _size639); + this->names.resize(_size639); + uint32_t _i643; + for (_i643 = 0; _i643 < _size639; ++_i643) { - xfer += iprot->readString(this->names[_i629]); + xfer += iprot->readString(this->names[_i643]); } xfer += iprot->readListEnd(); } @@ -12110,10 +12110,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::write(::apache::thrif xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->names.size())); - std::vector ::const_iterator _iter630; - for (_iter630 = this->names.begin(); _iter630 != this->names.end(); ++_iter630) + std::vector ::const_iterator _iter644; + for (_iter644 = this->names.begin(); _iter644 != this->names.end(); ++_iter644) { - xfer += oprot->writeString((*_iter630)); + xfer += oprot->writeString((*_iter644)); } xfer += oprot->writeListEnd(); } @@ -12139,10 +12139,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->names)).size())); - std::vector ::const_iterator _iter631; - for (_iter631 = (*(this->names)).begin(); _iter631 != (*(this->names)).end(); ++_iter631) + std::vector ::const_iterator _iter645; + for (_iter645 = (*(this->names)).begin(); _iter645 != (*(this->names)).end(); ++_iter645) { - xfer += oprot->writeString((*_iter631)); + xfer += oprot->writeString((*_iter645)); } xfer += oprot->writeListEnd(); } @@ -12177,14 +12177,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size632; - ::apache::thrift::protocol::TType _etype635; - xfer += iprot->readListBegin(_etype635, _size632); - this->success.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->success.resize(_size646); + uint32_t _i650; + for (_i650 = 0; _i650 < _size646; ++_i650) { - xfer += this->success[_i636].read(iprot); + xfer += this->success[_i650].read(iprot); } xfer += iprot->readListEnd(); } @@ -12231,10 +12231,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::write(::apache::thr xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter637; - for (_iter637 = this->success.begin(); _iter637 != this->success.end(); ++_iter637) + std::vector ::const_iterator _iter651; + for (_iter651 = this->success.begin(); _iter651 != this->success.end(); ++_iter651) { - xfer += (*_iter637).write(oprot); + xfer += (*_iter651).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12277,14 +12277,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size638; - ::apache::thrift::protocol::TType _etype641; - xfer += iprot->readListBegin(_etype641, _size638); - (*(this->success)).resize(_size638); - uint32_t _i642; - for (_i642 = 0; _i642 < _size638; ++_i642) + uint32_t _size652; + ::apache::thrift::protocol::TType _etype655; + xfer += iprot->readListBegin(_etype655, _size652); + (*(this->success)).resize(_size652); + uint32_t _i656; + for (_i656 = 0; _i656 < _size652; ++_i656) { - xfer += (*(this->success))[_i642].read(iprot); + xfer += (*(this->success))[_i656].read(iprot); } xfer += iprot->readListEnd(); } @@ -12575,14 +12575,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size643; - ::apache::thrift::protocol::TType _etype646; - xfer += iprot->readListBegin(_etype646, _size643); - this->new_parts.resize(_size643); - uint32_t _i647; - for (_i647 = 0; _i647 < _size643; ++_i647) + uint32_t _size657; + ::apache::thrift::protocol::TType _etype660; + xfer += iprot->readListBegin(_etype660, _size657); + this->new_parts.resize(_size657); + uint32_t _i661; + for (_i661 = 0; _i661 < _size657; ++_i661) { - xfer += this->new_parts[_i647].read(iprot); + xfer += this->new_parts[_i661].read(iprot); } xfer += iprot->readListEnd(); } @@ -12618,10 +12618,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter648; - for (_iter648 = this->new_parts.begin(); _iter648 != this->new_parts.end(); ++_iter648) + std::vector ::const_iterator _iter662; + for (_iter662 = this->new_parts.begin(); _iter662 != this->new_parts.end(); ++_iter662) { - xfer += (*_iter648).write(oprot); + xfer += (*_iter662).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12647,10 +12647,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter649; - for (_iter649 = (*(this->new_parts)).begin(); _iter649 != (*(this->new_parts)).end(); ++_iter649) + std::vector ::const_iterator _iter663; + for (_iter663 = (*(this->new_parts)).begin(); _iter663 != (*(this->new_parts)).end(); ++_iter663) { - xfer += (*_iter649).write(oprot); + xfer += (*_iter663).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13047,14 +13047,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size650; - ::apache::thrift::protocol::TType _etype653; - xfer += iprot->readListBegin(_etype653, _size650); - this->part_vals.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->part_vals.resize(_size664); + uint32_t _i668; + for (_i668 = 0; _i668 < _size664; ++_i668) { - xfer += iprot->readString(this->part_vals[_i654]); + xfer += iprot->readString(this->part_vals[_i668]); } xfer += iprot->readListEnd(); } @@ -13098,10 +13098,10 @@ uint32_t ThriftHiveMetastore_rename_partition_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter655; - for (_iter655 = this->part_vals.begin(); _iter655 != this->part_vals.end(); ++_iter655) + std::vector ::const_iterator _iter669; + for (_iter669 = this->part_vals.begin(); _iter669 != this->part_vals.end(); ++_iter669) { - xfer += oprot->writeString((*_iter655)); + xfer += oprot->writeString((*_iter669)); } xfer += oprot->writeListEnd(); } @@ -13131,10 +13131,10 @@ uint32_t ThriftHiveMetastore_rename_partition_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter656; - for (_iter656 = (*(this->part_vals)).begin(); _iter656 != (*(this->part_vals)).end(); ++_iter656) + std::vector ::const_iterator _iter670; + for (_iter670 = (*(this->part_vals)).begin(); _iter670 != (*(this->part_vals)).end(); ++_iter670) { - xfer += oprot->writeString((*_iter656)); + xfer += oprot->writeString((*_iter670)); } xfer += oprot->writeListEnd(); } @@ -13289,14 +13289,14 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::read(::ap if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _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(); } @@ -13332,10 +13332,10 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::write(::a xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _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(); } @@ -13357,10 +13357,10 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_pargs::write(:: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _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(); } @@ -13779,14 +13779,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size664; - ::apache::thrift::protocol::TType _etype667; - xfer += iprot->readListBegin(_etype667, _size664); - this->success.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->success.resize(_size678); + uint32_t _i682; + for (_i682 = 0; _i682 < _size678; ++_i682) { - xfer += iprot->readString(this->success[_i668]); + xfer += iprot->readString(this->success[_i682]); } xfer += iprot->readListEnd(); } @@ -13825,10 +13825,10 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter669; - for (_iter669 = this->success.begin(); _iter669 != this->success.end(); ++_iter669) + std::vector ::const_iterator _iter683; + for (_iter683 = this->success.begin(); _iter683 != this->success.end(); ++_iter683) { - xfer += oprot->writeString((*_iter669)); + xfer += oprot->writeString((*_iter683)); } xfer += oprot->writeListEnd(); } @@ -13867,14 +13867,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size670; - ::apache::thrift::protocol::TType _etype673; - xfer += iprot->readListBegin(_etype673, _size670); - (*(this->success)).resize(_size670); - uint32_t _i674; - for (_i674 = 0; _i674 < _size670; ++_i674) + uint32_t _size684; + ::apache::thrift::protocol::TType _etype687; + xfer += iprot->readListBegin(_etype687, _size684); + (*(this->success)).resize(_size684); + uint32_t _i688; + for (_i688 = 0; _i688 < _size684; ++_i688) { - xfer += iprot->readString((*(this->success))[_i674]); + xfer += iprot->readString((*(this->success))[_i688]); } xfer += iprot->readListEnd(); } @@ -13993,17 +13993,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size675; - ::apache::thrift::protocol::TType _ktype676; - ::apache::thrift::protocol::TType _vtype677; - xfer += iprot->readMapBegin(_ktype676, _vtype677, _size675); - uint32_t _i679; - for (_i679 = 0; _i679 < _size675; ++_i679) + uint32_t _size689; + ::apache::thrift::protocol::TType _ktype690; + ::apache::thrift::protocol::TType _vtype691; + xfer += iprot->readMapBegin(_ktype690, _vtype691, _size689); + uint32_t _i693; + for (_i693 = 0; _i693 < _size689; ++_i693) { - std::string _key680; - xfer += iprot->readString(_key680); - std::string& _val681 = this->success[_key680]; - xfer += iprot->readString(_val681); + std::string _key694; + xfer += iprot->readString(_key694); + std::string& _val695 = this->success[_key694]; + xfer += iprot->readString(_val695); } xfer += iprot->readMapEnd(); } @@ -14042,11 +14042,11 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::map ::const_iterator _iter682; - for (_iter682 = this->success.begin(); _iter682 != this->success.end(); ++_iter682) + std::map ::const_iterator _iter696; + for (_iter696 = this->success.begin(); _iter696 != this->success.end(); ++_iter696) { - xfer += oprot->writeString(_iter682->first); - xfer += oprot->writeString(_iter682->second); + xfer += oprot->writeString(_iter696->first); + xfer += oprot->writeString(_iter696->second); } xfer += oprot->writeMapEnd(); } @@ -14085,17 +14085,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size683; - ::apache::thrift::protocol::TType _ktype684; - ::apache::thrift::protocol::TType _vtype685; - xfer += iprot->readMapBegin(_ktype684, _vtype685, _size683); - uint32_t _i687; - for (_i687 = 0; _i687 < _size683; ++_i687) + 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) { - std::string _key688; - xfer += iprot->readString(_key688); - std::string& _val689 = (*(this->success))[_key688]; - xfer += iprot->readString(_val689); + std::string _key702; + xfer += iprot->readString(_key702); + std::string& _val703 = (*(this->success))[_key702]; + xfer += iprot->readString(_val703); } xfer += iprot->readMapEnd(); } @@ -14164,17 +14164,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.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->part_vals[_key695]; - xfer += iprot->readString(_val696); + std::string _key709; + xfer += iprot->readString(_key709); + std::string& _val710 = this->part_vals[_key709]; + xfer += iprot->readString(_val710); } xfer += iprot->readMapEnd(); } @@ -14185,9 +14185,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast697; - xfer += iprot->readI32(ecast697); - this->eventType = (PartitionEventType::type)ecast697; + int32_t ecast711; + xfer += iprot->readI32(ecast711); + this->eventType = (PartitionEventType::type)ecast711; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -14220,11 +14220,11 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::write(::apache::thrift: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::map ::const_iterator _iter698; - for (_iter698 = this->part_vals.begin(); _iter698 != this->part_vals.end(); ++_iter698) + std::map ::const_iterator _iter712; + for (_iter712 = this->part_vals.begin(); _iter712 != this->part_vals.end(); ++_iter712) { - xfer += oprot->writeString(_iter698->first); - xfer += oprot->writeString(_iter698->second); + xfer += oprot->writeString(_iter712->first); + xfer += oprot->writeString(_iter712->second); } xfer += oprot->writeMapEnd(); } @@ -14254,11 +14254,11 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_pargs::write(::apache::thrift xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::map ::const_iterator _iter699; - for (_iter699 = (*(this->part_vals)).begin(); _iter699 != (*(this->part_vals)).end(); ++_iter699) + std::map ::const_iterator _iter713; + for (_iter713 = (*(this->part_vals)).begin(); _iter713 != (*(this->part_vals)).end(); ++_iter713) { - xfer += oprot->writeString(_iter699->first); - xfer += oprot->writeString(_iter699->second); + xfer += oprot->writeString(_iter713->first); + xfer += oprot->writeString(_iter713->second); } xfer += oprot->writeMapEnd(); } @@ -14509,17 +14509,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size700; - ::apache::thrift::protocol::TType _ktype701; - ::apache::thrift::protocol::TType _vtype702; - xfer += iprot->readMapBegin(_ktype701, _vtype702, _size700); - uint32_t _i704; - for (_i704 = 0; _i704 < _size700; ++_i704) + uint32_t _size714; + ::apache::thrift::protocol::TType _ktype715; + ::apache::thrift::protocol::TType _vtype716; + xfer += iprot->readMapBegin(_ktype715, _vtype716, _size714); + uint32_t _i718; + for (_i718 = 0; _i718 < _size714; ++_i718) { - std::string _key705; - xfer += iprot->readString(_key705); - std::string& _val706 = this->part_vals[_key705]; - xfer += iprot->readString(_val706); + std::string _key719; + xfer += iprot->readString(_key719); + std::string& _val720 = this->part_vals[_key719]; + xfer += iprot->readString(_val720); } xfer += iprot->readMapEnd(); } @@ -14530,9 +14530,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast707; - xfer += iprot->readI32(ecast707); - this->eventType = (PartitionEventType::type)ecast707; + int32_t ecast721; + xfer += iprot->readI32(ecast721); + this->eventType = (PartitionEventType::type)ecast721; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -14565,11 +14565,11 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::write(::apache::thr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::map ::const_iterator _iter708; - for (_iter708 = this->part_vals.begin(); _iter708 != this->part_vals.end(); ++_iter708) + std::map ::const_iterator _iter722; + for (_iter722 = this->part_vals.begin(); _iter722 != this->part_vals.end(); ++_iter722) { - xfer += oprot->writeString(_iter708->first); - xfer += oprot->writeString(_iter708->second); + xfer += oprot->writeString(_iter722->first); + xfer += oprot->writeString(_iter722->second); } xfer += oprot->writeMapEnd(); } @@ -14599,11 +14599,11 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_pargs::write(::apache::th xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::map ::const_iterator _iter709; - for (_iter709 = (*(this->part_vals)).begin(); _iter709 != (*(this->part_vals)).end(); ++_iter709) + std::map ::const_iterator _iter723; + for (_iter723 = (*(this->part_vals)).begin(); _iter723 != (*(this->part_vals)).end(); ++_iter723) { - xfer += oprot->writeString(_iter709->first); - xfer += oprot->writeString(_iter709->second); + xfer += oprot->writeString(_iter723->first); + xfer += oprot->writeString(_iter723->second); } xfer += oprot->writeMapEnd(); } @@ -15908,14 +15908,14 @@ uint32_t ThriftHiveMetastore_get_indexes_result::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size710; - ::apache::thrift::protocol::TType _etype713; - xfer += iprot->readListBegin(_etype713, _size710); - this->success.resize(_size710); - uint32_t _i714; - for (_i714 = 0; _i714 < _size710; ++_i714) + uint32_t _size724; + ::apache::thrift::protocol::TType _etype727; + xfer += iprot->readListBegin(_etype727, _size724); + this->success.resize(_size724); + uint32_t _i728; + for (_i728 = 0; _i728 < _size724; ++_i728) { - xfer += this->success[_i714].read(iprot); + xfer += this->success[_i728].read(iprot); } xfer += iprot->readListEnd(); } @@ -15962,10 +15962,10 @@ uint32_t ThriftHiveMetastore_get_indexes_result::write(::apache::thrift::protoco xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter715; - for (_iter715 = this->success.begin(); _iter715 != this->success.end(); ++_iter715) + std::vector ::const_iterator _iter729; + for (_iter729 = this->success.begin(); _iter729 != this->success.end(); ++_iter729) { - xfer += (*_iter715).write(oprot); + xfer += (*_iter729).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16008,14 +16008,14 @@ uint32_t ThriftHiveMetastore_get_indexes_presult::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size716; - ::apache::thrift::protocol::TType _etype719; - xfer += iprot->readListBegin(_etype719, _size716); - (*(this->success)).resize(_size716); - uint32_t _i720; - for (_i720 = 0; _i720 < _size716; ++_i720) + uint32_t _size730; + ::apache::thrift::protocol::TType _etype733; + xfer += iprot->readListBegin(_etype733, _size730); + (*(this->success)).resize(_size730); + uint32_t _i734; + for (_i734 = 0; _i734 < _size730; ++_i734) { - xfer += (*(this->success))[_i720].read(iprot); + xfer += (*(this->success))[_i734].read(iprot); } xfer += iprot->readListEnd(); } @@ -16174,14 +16174,14 @@ uint32_t ThriftHiveMetastore_get_index_names_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size721; - ::apache::thrift::protocol::TType _etype724; - xfer += iprot->readListBegin(_etype724, _size721); - this->success.resize(_size721); - uint32_t _i725; - for (_i725 = 0; _i725 < _size721; ++_i725) + uint32_t _size735; + ::apache::thrift::protocol::TType _etype738; + xfer += iprot->readListBegin(_etype738, _size735); + this->success.resize(_size735); + uint32_t _i739; + for (_i739 = 0; _i739 < _size735; ++_i739) { - xfer += iprot->readString(this->success[_i725]); + xfer += iprot->readString(this->success[_i739]); } xfer += iprot->readListEnd(); } @@ -16220,10 +16220,10 @@ uint32_t ThriftHiveMetastore_get_index_names_result::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter726; - for (_iter726 = this->success.begin(); _iter726 != this->success.end(); ++_iter726) + std::vector ::const_iterator _iter740; + for (_iter740 = this->success.begin(); _iter740 != this->success.end(); ++_iter740) { - xfer += oprot->writeString((*_iter726)); + xfer += oprot->writeString((*_iter740)); } xfer += oprot->writeListEnd(); } @@ -16262,14 +16262,14 @@ uint32_t ThriftHiveMetastore_get_index_names_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size727; - ::apache::thrift::protocol::TType _etype730; - xfer += iprot->readListBegin(_etype730, _size727); - (*(this->success)).resize(_size727); - uint32_t _i731; - for (_i731 = 0; _i731 < _size727; ++_i731) + uint32_t _size741; + ::apache::thrift::protocol::TType _etype744; + xfer += iprot->readListBegin(_etype744, _size741); + (*(this->success)).resize(_size741); + uint32_t _i745; + for (_i745 = 0; _i745 < _size741; ++_i745) { - xfer += iprot->readString((*(this->success))[_i731]); + xfer += iprot->readString((*(this->success))[_i745]); } xfer += iprot->readListEnd(); } @@ -19054,14 +19054,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size732; - ::apache::thrift::protocol::TType _etype735; - xfer += iprot->readListBegin(_etype735, _size732); - this->success.resize(_size732); - uint32_t _i736; - for (_i736 = 0; _i736 < _size732; ++_i736) + uint32_t _size746; + ::apache::thrift::protocol::TType _etype749; + xfer += iprot->readListBegin(_etype749, _size746); + this->success.resize(_size746); + uint32_t _i750; + for (_i750 = 0; _i750 < _size746; ++_i750) { - xfer += iprot->readString(this->success[_i736]); + xfer += iprot->readString(this->success[_i750]); } xfer += iprot->readListEnd(); } @@ -19100,10 +19100,10 @@ uint32_t ThriftHiveMetastore_get_functions_result::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter737; - for (_iter737 = this->success.begin(); _iter737 != this->success.end(); ++_iter737) + std::vector ::const_iterator _iter751; + for (_iter751 = this->success.begin(); _iter751 != this->success.end(); ++_iter751) { - xfer += oprot->writeString((*_iter737)); + xfer += oprot->writeString((*_iter751)); } xfer += oprot->writeListEnd(); } @@ -19142,14 +19142,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size738; - ::apache::thrift::protocol::TType _etype741; - xfer += iprot->readListBegin(_etype741, _size738); - (*(this->success)).resize(_size738); - uint32_t _i742; - for (_i742 = 0; _i742 < _size738; ++_i742) + uint32_t _size752; + ::apache::thrift::protocol::TType _etype755; + xfer += iprot->readListBegin(_etype755, _size752); + (*(this->success)).resize(_size752); + uint32_t _i756; + for (_i756 = 0; _i756 < _size752; ++_i756) { - xfer += iprot->readString((*(this->success))[_i742]); + xfer += iprot->readString((*(this->success))[_i756]); } xfer += iprot->readListEnd(); } @@ -19829,14 +19829,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size743; - ::apache::thrift::protocol::TType _etype746; - xfer += iprot->readListBegin(_etype746, _size743); - this->success.resize(_size743); - uint32_t _i747; - for (_i747 = 0; _i747 < _size743; ++_i747) + uint32_t _size757; + ::apache::thrift::protocol::TType _etype760; + xfer += iprot->readListBegin(_etype760, _size757); + this->success.resize(_size757); + uint32_t _i761; + for (_i761 = 0; _i761 < _size757; ++_i761) { - xfer += iprot->readString(this->success[_i747]); + xfer += iprot->readString(this->success[_i761]); } xfer += iprot->readListEnd(); } @@ -19875,10 +19875,10 @@ uint32_t ThriftHiveMetastore_get_role_names_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter748; - for (_iter748 = this->success.begin(); _iter748 != this->success.end(); ++_iter748) + std::vector ::const_iterator _iter762; + for (_iter762 = this->success.begin(); _iter762 != this->success.end(); ++_iter762) { - xfer += oprot->writeString((*_iter748)); + xfer += oprot->writeString((*_iter762)); } xfer += oprot->writeListEnd(); } @@ -19917,14 +19917,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size749; - ::apache::thrift::protocol::TType _etype752; - xfer += iprot->readListBegin(_etype752, _size749); - (*(this->success)).resize(_size749); - uint32_t _i753; - for (_i753 = 0; _i753 < _size749; ++_i753) + uint32_t _size763; + ::apache::thrift::protocol::TType _etype766; + xfer += iprot->readListBegin(_etype766, _size763); + (*(this->success)).resize(_size763); + uint32_t _i767; + for (_i767 = 0; _i767 < _size763; ++_i767) { - xfer += iprot->readString((*(this->success))[_i753]); + xfer += iprot->readString((*(this->success))[_i767]); } xfer += iprot->readListEnd(); } @@ -19991,9 +19991,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast754; - xfer += iprot->readI32(ecast754); - this->principal_type = (PrincipalType::type)ecast754; + int32_t ecast768; + xfer += iprot->readI32(ecast768); + this->principal_type = (PrincipalType::type)ecast768; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -20009,9 +20009,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast755; - xfer += iprot->readI32(ecast755); - this->grantorType = (PrincipalType::type)ecast755; + int32_t ecast769; + xfer += iprot->readI32(ecast769); + this->grantorType = (PrincipalType::type)ecast769; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -20257,9 +20257,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast756; - xfer += iprot->readI32(ecast756); - this->principal_type = (PrincipalType::type)ecast756; + int32_t ecast770; + xfer += iprot->readI32(ecast770); + this->principal_type = (PrincipalType::type)ecast770; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -20465,9 +20465,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast757; - xfer += iprot->readI32(ecast757); - this->principal_type = (PrincipalType::type)ecast757; + int32_t ecast771; + xfer += iprot->readI32(ecast771); + this->principal_type = (PrincipalType::type)ecast771; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -20543,14 +20543,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size758; - ::apache::thrift::protocol::TType _etype761; - xfer += iprot->readListBegin(_etype761, _size758); - this->success.resize(_size758); - uint32_t _i762; - for (_i762 = 0; _i762 < _size758; ++_i762) + uint32_t _size772; + ::apache::thrift::protocol::TType _etype775; + xfer += iprot->readListBegin(_etype775, _size772); + this->success.resize(_size772); + uint32_t _i776; + for (_i776 = 0; _i776 < _size772; ++_i776) { - xfer += this->success[_i762].read(iprot); + xfer += this->success[_i776].read(iprot); } xfer += iprot->readListEnd(); } @@ -20589,10 +20589,10 @@ uint32_t ThriftHiveMetastore_list_roles_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter763; - for (_iter763 = this->success.begin(); _iter763 != this->success.end(); ++_iter763) + std::vector ::const_iterator _iter777; + for (_iter777 = this->success.begin(); _iter777 != this->success.end(); ++_iter777) { - xfer += (*_iter763).write(oprot); + xfer += (*_iter777).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20631,14 +20631,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size764; - ::apache::thrift::protocol::TType _etype767; - xfer += iprot->readListBegin(_etype767, _size764); - (*(this->success)).resize(_size764); - uint32_t _i768; - for (_i768 = 0; _i768 < _size764; ++_i768) + uint32_t _size778; + ::apache::thrift::protocol::TType _etype781; + xfer += iprot->readListBegin(_etype781, _size778); + (*(this->success)).resize(_size778); + uint32_t _i782; + for (_i782 = 0; _i782 < _size778; ++_i782) { - xfer += (*(this->success))[_i768].read(iprot); + xfer += (*(this->success))[_i782].read(iprot); } xfer += iprot->readListEnd(); } @@ -20889,14 +20889,14 @@ uint32_t ThriftHiveMetastore_get_privilege_set_args::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size769; - ::apache::thrift::protocol::TType _etype772; - xfer += iprot->readListBegin(_etype772, _size769); - this->group_names.resize(_size769); - uint32_t _i773; - for (_i773 = 0; _i773 < _size769; ++_i773) + uint32_t _size783; + ::apache::thrift::protocol::TType _etype786; + xfer += iprot->readListBegin(_etype786, _size783); + this->group_names.resize(_size783); + uint32_t _i787; + for (_i787 = 0; _i787 < _size783; ++_i787) { - xfer += iprot->readString(this->group_names[_i773]); + xfer += iprot->readString(this->group_names[_i787]); } xfer += iprot->readListEnd(); } @@ -20932,10 +20932,10 @@ uint32_t ThriftHiveMetastore_get_privilege_set_args::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter774; - for (_iter774 = this->group_names.begin(); _iter774 != this->group_names.end(); ++_iter774) + std::vector ::const_iterator _iter788; + for (_iter788 = this->group_names.begin(); _iter788 != this->group_names.end(); ++_iter788) { - xfer += oprot->writeString((*_iter774)); + xfer += oprot->writeString((*_iter788)); } xfer += oprot->writeListEnd(); } @@ -20961,10 +20961,10 @@ uint32_t ThriftHiveMetastore_get_privilege_set_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter775; - for (_iter775 = (*(this->group_names)).begin(); _iter775 != (*(this->group_names)).end(); ++_iter775) + std::vector ::const_iterator _iter789; + for (_iter789 = (*(this->group_names)).begin(); _iter789 != (*(this->group_names)).end(); ++_iter789) { - xfer += oprot->writeString((*_iter775)); + xfer += oprot->writeString((*_iter789)); } xfer += oprot->writeListEnd(); } @@ -21121,9 +21121,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast776; - xfer += iprot->readI32(ecast776); - this->principal_type = (PrincipalType::type)ecast776; + int32_t ecast790; + xfer += iprot->readI32(ecast790); + this->principal_type = (PrincipalType::type)ecast790; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -21215,14 +21215,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size777; - ::apache::thrift::protocol::TType _etype780; - xfer += iprot->readListBegin(_etype780, _size777); - this->success.resize(_size777); - uint32_t _i781; - for (_i781 = 0; _i781 < _size777; ++_i781) + uint32_t _size791; + ::apache::thrift::protocol::TType _etype794; + xfer += iprot->readListBegin(_etype794, _size791); + this->success.resize(_size791); + uint32_t _i795; + for (_i795 = 0; _i795 < _size791; ++_i795) { - xfer += this->success[_i781].read(iprot); + xfer += this->success[_i795].read(iprot); } xfer += iprot->readListEnd(); } @@ -21261,10 +21261,10 @@ uint32_t ThriftHiveMetastore_list_privileges_result::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter782; - for (_iter782 = this->success.begin(); _iter782 != this->success.end(); ++_iter782) + std::vector ::const_iterator _iter796; + for (_iter796 = this->success.begin(); _iter796 != this->success.end(); ++_iter796) { - xfer += (*_iter782).write(oprot); + xfer += (*_iter796).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21303,14 +21303,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size783; - ::apache::thrift::protocol::TType _etype786; - xfer += iprot->readListBegin(_etype786, _size783); - (*(this->success)).resize(_size783); - uint32_t _i787; - for (_i787 = 0; _i787 < _size783; ++_i787) + uint32_t _size797; + ::apache::thrift::protocol::TType _etype800; + xfer += iprot->readListBegin(_etype800, _size797); + (*(this->success)).resize(_size797); + uint32_t _i801; + for (_i801 = 0; _i801 < _size797; ++_i801) { - xfer += (*(this->success))[_i787].read(iprot); + xfer += (*(this->success))[_i801].read(iprot); } xfer += iprot->readListEnd(); } @@ -21735,14 +21735,14 @@ uint32_t ThriftHiveMetastore_set_ugi_args::read(::apache::thrift::protocol::TPro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size788; - ::apache::thrift::protocol::TType _etype791; - xfer += iprot->readListBegin(_etype791, _size788); - this->group_names.resize(_size788); - uint32_t _i792; - for (_i792 = 0; _i792 < _size788; ++_i792) + uint32_t _size802; + ::apache::thrift::protocol::TType _etype805; + xfer += iprot->readListBegin(_etype805, _size802); + this->group_names.resize(_size802); + uint32_t _i806; + for (_i806 = 0; _i806 < _size802; ++_i806) { - xfer += iprot->readString(this->group_names[_i792]); + xfer += iprot->readString(this->group_names[_i806]); } xfer += iprot->readListEnd(); } @@ -21774,10 +21774,10 @@ uint32_t ThriftHiveMetastore_set_ugi_args::write(::apache::thrift::protocol::TPr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter793; - for (_iter793 = this->group_names.begin(); _iter793 != this->group_names.end(); ++_iter793) + std::vector ::const_iterator _iter807; + for (_iter807 = this->group_names.begin(); _iter807 != this->group_names.end(); ++_iter807) { - xfer += oprot->writeString((*_iter793)); + xfer += oprot->writeString((*_iter807)); } xfer += oprot->writeListEnd(); } @@ -21799,10 +21799,10 @@ uint32_t ThriftHiveMetastore_set_ugi_pargs::write(::apache::thrift::protocol::TP xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter794; - for (_iter794 = (*(this->group_names)).begin(); _iter794 != (*(this->group_names)).end(); ++_iter794) + std::vector ::const_iterator _iter808; + for (_iter808 = (*(this->group_names)).begin(); _iter808 != (*(this->group_names)).end(); ++_iter808) { - xfer += oprot->writeString((*_iter794)); + xfer += oprot->writeString((*_iter808)); } xfer += oprot->writeListEnd(); } @@ -21837,14 +21837,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size795; - ::apache::thrift::protocol::TType _etype798; - xfer += iprot->readListBegin(_etype798, _size795); - this->success.resize(_size795); - uint32_t _i799; - for (_i799 = 0; _i799 < _size795; ++_i799) + uint32_t _size809; + ::apache::thrift::protocol::TType _etype812; + xfer += iprot->readListBegin(_etype812, _size809); + this->success.resize(_size809); + uint32_t _i813; + for (_i813 = 0; _i813 < _size809; ++_i813) { - xfer += iprot->readString(this->success[_i799]); + xfer += iprot->readString(this->success[_i813]); } xfer += iprot->readListEnd(); } @@ -21883,10 +21883,10 @@ uint32_t ThriftHiveMetastore_set_ugi_result::write(::apache::thrift::protocol::T xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter800; - for (_iter800 = this->success.begin(); _iter800 != this->success.end(); ++_iter800) + std::vector ::const_iterator _iter814; + for (_iter814 = this->success.begin(); _iter814 != this->success.end(); ++_iter814) { - xfer += oprot->writeString((*_iter800)); + xfer += oprot->writeString((*_iter814)); } xfer += oprot->writeListEnd(); } @@ -21925,14 +21925,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size801; - ::apache::thrift::protocol::TType _etype804; - xfer += iprot->readListBegin(_etype804, _size801); - (*(this->success)).resize(_size801); - uint32_t _i805; - for (_i805 = 0; _i805 < _size801; ++_i805) + uint32_t _size815; + ::apache::thrift::protocol::TType _etype818; + xfer += iprot->readListBegin(_etype818, _size815); + (*(this->success)).resize(_size815); + uint32_t _i819; + for (_i819 = 0; _i819 < _size815; ++_i819) { - xfer += iprot->readString((*(this->success))[_i805]); + xfer += iprot->readString((*(this->success))[_i819]); } xfer += iprot->readListEnd(); } @@ -24261,6 +24261,168 @@ uint32_t ThriftHiveMetastore_heartbeat_presult::read(::apache::thrift::protocol: 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; @@ -31199,6 +31361,64 @@ void ThriftHiveMetastoreClient::recv_heartbeat() 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); @@ -37507,6 +37727,60 @@ void ThriftHiveMetastoreProcessor::process_heartbeat(int32_t seqid, ::apache::th } } +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; diff --git metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h index ca972ef..71fa4dd 100644 --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h @@ -119,6 +119,7 @@ class ThriftHiveMetastoreIf : virtual public ::facebook::fb303::FacebookService 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; }; @@ -480,6 +481,9 @@ class ThriftHiveMetastoreNull : virtual public ThriftHiveMetastoreIf , virtual p void heartbeat(const HeartbeatRequest& /* ids */) { return; } + void heartbeat_txn_range(HeartbeatTxnRangeResponse& /* _return */, const HeartbeatTxnRangeRequest& /* txns */) { + return; + } void compact(const CompactionRequest& /* rqst */) { return; } @@ -14764,6 +14768,114 @@ class ThriftHiveMetastore_heartbeat_presult { }; +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; @@ -15281,6 +15393,9 @@ class ThriftHiveMetastoreClient : virtual public ThriftHiveMetastoreIf, public 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(); @@ -15400,6 +15515,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP 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: @@ -15509,6 +15625,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP 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; } @@ -16530,6 +16647,16 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi 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; diff --git metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp index d1523ce..780c118 100644 --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp @@ -537,6 +537,11 @@ class ThriftHiveMetastoreHandler : virtual public ThriftHiveMetastoreIf { 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"); diff --git metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp index c7e63fc..c78f619 100644 --- metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp +++ metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp @@ -7523,6 +7523,208 @@ void swap(HeartbeatRequest &a, HeartbeatRequest &b) { 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 _size330; + ::apache::thrift::protocol::TType _etype333; + xfer += iprot->readSetBegin(_etype333, _size330); + uint32_t _i334; + for (_i334 = 0; _i334 < _size330; ++_i334) + { + int64_t _elem335; + xfer += iprot->readI64(_elem335); + this->aborted.insert(_elem335); + } + 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 _size336; + ::apache::thrift::protocol::TType _etype339; + xfer += iprot->readSetBegin(_etype339, _size336); + uint32_t _i340; + for (_i340 = 0; _i340 < _size336; ++_i340) + { + int64_t _elem341; + xfer += iprot->readI64(_elem341); + this->nosuch.insert(_elem341); + } + 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 _iter342; + for (_iter342 = this->aborted.begin(); _iter342 != this->aborted.end(); ++_iter342) + { + xfer += oprot->writeI64((*_iter342)); + } + 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 _iter343; + for (_iter343 = this->nosuch.begin(); _iter343 != this->nosuch.end(); ++_iter343) + { + xfer += oprot->writeI64((*_iter343)); + } + 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}; @@ -7575,9 +7777,9 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast330; - xfer += iprot->readI32(ecast330); - this->type = (CompactionType::type)ecast330; + int32_t ecast344; + xfer += iprot->readI32(ecast344); + this->type = (CompactionType::type)ecast344; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -7752,9 +7954,9 @@ uint32_t ShowCompactResponseElement::read(::apache::thrift::protocol::TProtocol* break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast331; - xfer += iprot->readI32(ecast331); - this->type = (CompactionType::type)ecast331; + int32_t ecast345; + xfer += iprot->readI32(ecast345); + this->type = (CompactionType::type)ecast345; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -7901,14 +8103,14 @@ uint32_t ShowCompactResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->compacts.clear(); - uint32_t _size332; - ::apache::thrift::protocol::TType _etype335; - xfer += iprot->readListBegin(_etype335, _size332); - this->compacts.resize(_size332); - uint32_t _i336; - for (_i336 = 0; _i336 < _size332; ++_i336) + uint32_t _size346; + ::apache::thrift::protocol::TType _etype349; + xfer += iprot->readListBegin(_etype349, _size346); + this->compacts.resize(_size346); + uint32_t _i350; + for (_i350 = 0; _i350 < _size346; ++_i350) { - xfer += this->compacts[_i336].read(iprot); + xfer += this->compacts[_i350].read(iprot); } xfer += iprot->readListEnd(); } @@ -7938,10 +8140,10 @@ uint32_t ShowCompactResponse::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldBegin("compacts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->compacts.size())); - std::vector ::const_iterator _iter337; - for (_iter337 = this->compacts.begin(); _iter337 != this->compacts.end(); ++_iter337) + std::vector ::const_iterator _iter351; + for (_iter351 = this->compacts.begin(); _iter351 != this->compacts.end(); ++_iter351) { - xfer += (*_iter337).write(oprot); + xfer += (*_iter351).write(oprot); } xfer += oprot->writeListEnd(); } diff --git metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h index bed4259..96dbe70 100644 --- metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h +++ metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h @@ -4069,6 +4069,94 @@ class HeartbeatRequest { 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; diff --git 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 index d0c6ef4..41a5928 100644 --- 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 @@ -704,7 +704,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddPartitionsReques struct.parts = 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.parts.add(_elem332); @@ -824,7 +824,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddPartitionsRequest struct.parts = 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.parts.add(_elem337); diff --git 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 index f2da4c0..c17bc89 100644 --- 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 @@ -346,7 +346,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddPartitionsResult struct.partitions = new ArrayList(_list322.size); for (int _i323 = 0; _i323 < _list322.size; ++_i323) { - Partition _elem324; // optional + Partition _elem324; // required _elem324 = new Partition(); _elem324.read(iprot); struct.partitions.add(_elem324); @@ -428,7 +428,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddPartitionsResult struct.partitions = new ArrayList(_list327.size); for (int _i328 = 0; _i328 < _list327.size; ++_i328) { - Partition _elem329; // optional + Partition _elem329; // required _elem329 = new Partition(); _elem329.read(iprot); struct.partitions.add(_elem329); diff --git 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 index 937ef94..1b912c6 100644 --- 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 @@ -451,7 +451,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ColumnStatistics st struct.statsObj = new ArrayList(_list228.size); for (int _i229 = 0; _i229 < _list228.size; ++_i229) { - ColumnStatisticsObj _elem230; // optional + ColumnStatisticsObj _elem230; // required _elem230 = new ColumnStatisticsObj(); _elem230.read(iprot); struct.statsObj.add(_elem230); @@ -531,7 +531,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ColumnStatistics str struct.statsObj = new ArrayList(_list233.size); for (int _i234 = 0; _i234 < _list233.size; ++_i234) { - ColumnStatisticsObj _elem235; // optional + ColumnStatisticsObj _elem235; // required _elem235 = new ColumnStatisticsObj(); _elem235.read(iprot); struct.statsObj.add(_elem235); diff --git 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 index 0bff340..3648050 100644 --- 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 @@ -346,7 +346,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, DropPartitionsResul struct.partitions = 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.partitions.add(_elem340); @@ -428,7 +428,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, DropPartitionsResult struct.partitions = 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.partitions.add(_elem345); diff --git 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 index 7197dc0..c3e7f81 100644 --- 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 @@ -997,7 +997,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Function struct) th struct.resourceUris = new ArrayList(_list362.size); for (int _i363 = 0; _i363 < _list362.size; ++_i363) { - ResourceUri _elem364; // optional + ResourceUri _elem364; // required _elem364 = new ResourceUri(); _elem364.read(iprot); struct.resourceUris.add(_elem364); @@ -1180,7 +1180,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Function struct) thr struct.resourceUris = new ArrayList(_list367.size); for (int _i368 = 0; _i368 < _list367.size; ++_i368) { - ResourceUri _elem369; // optional + ResourceUri _elem369; // required _elem369 = new ResourceUri(); _elem369.read(iprot); struct.resourceUris.add(_elem369); diff --git 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 index c510cdb..90527c7 100644 --- 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 @@ -447,7 +447,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetOpenTxnsInfoResp struct.open_txns = new ArrayList(_list370.size); for (int _i371 = 0; _i371 < _list370.size; ++_i371) { - TxnInfo _elem372; // optional + TxnInfo _elem372; // required _elem372 = new TxnInfo(); _elem372.read(iprot); struct.open_txns.add(_elem372); @@ -524,7 +524,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsInfoRespo struct.open_txns = new ArrayList(_list375.size); for (int _i376 = 0; _i376 < _list375.size; ++_i376) { - TxnInfo _elem377; // optional + TxnInfo _elem377; // required _elem377 = new TxnInfo(); _elem377.read(iprot); struct.open_txns.add(_elem377); diff --git 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 index 06660d9..6c6ee55 100644 --- 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 @@ -447,7 +447,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetOpenTxnsResponse struct.open_txns = new HashSet(2*_set378.size); for (int _i379 = 0; _i379 < _set378.size; ++_i379) { - long _elem380; // optional + long _elem380; // required _elem380 = iprot.readI64(); struct.open_txns.add(_elem380); } @@ -523,7 +523,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsResponse struct.open_txns = new HashSet(2*_set383.size); for (int _i384 = 0; _i384 < _set383.size; ++_i384) { - long _elem385; // optional + long _elem385; // required _elem385 = iprot.readI64(); struct.open_txns.add(_elem385); } diff --git 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 index e5ba412..4587d6f 100644 --- 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 @@ -350,7 +350,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPrincipalsInRole 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); @@ -430,7 +430,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPrincipalsInRoleR 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); diff --git 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 new file mode 100644 index 0000000..062449a --- /dev/null +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeRequest.java @@ -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); + } + } + +} + diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java new file mode 100644 index 0000000..068e2e2 --- /dev/null +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java @@ -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 _set410 = iprot.readSetBegin(); + struct.aborted = new HashSet(2*_set410.size); + for (int _i411 = 0; _i411 < _set410.size; ++_i411) + { + long _elem412; // required + _elem412 = iprot.readI64(); + struct.aborted.add(_elem412); + } + 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 _set413 = iprot.readSetBegin(); + struct.nosuch = new HashSet(2*_set413.size); + for (int _i414 = 0; _i414 < _set413.size; ++_i414) + { + long _elem415; // required + _elem415 = iprot.readI64(); + struct.nosuch.add(_elem415); + } + 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 _iter416 : struct.aborted) + { + oprot.writeI64(_iter416); + } + 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 _iter417 : struct.nosuch) + { + oprot.writeI64(_iter417); + } + 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 _iter418 : struct.aborted) + { + oprot.writeI64(_iter418); + } + } + { + oprot.writeI32(struct.nosuch.size()); + for (long _iter419 : struct.nosuch) + { + oprot.writeI64(_iter419); + } + } + } + + @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 _set420 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.aborted = new HashSet(2*_set420.size); + for (int _i421 = 0; _i421 < _set420.size; ++_i421) + { + long _elem422; // required + _elem422 = iprot.readI64(); + struct.aborted.add(_elem422); + } + } + struct.setAbortedIsSet(true); + { + org.apache.thrift.protocol.TSet _set423 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.nosuch = new HashSet(2*_set423.size); + for (int _i424 = 0; _i424 < _set423.size; ++_i424) + { + long _elem425; // required + _elem425 = iprot.readI64(); + struct.nosuch.add(_elem425); + } + } + struct.setNosuchIsSet(true); + } + } + +} + diff --git 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 index b22b211..997060f 100644 --- 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 @@ -710,7 +710,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, HiveObjectRef struc 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 @@ public void read(org.apache.thrift.protocol.TProtocol prot, HiveObjectRef struct 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); } diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java index dd1da3d..3b563dc 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java @@ -605,7 +605,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, LockRequest struct) struct.component = new ArrayList(_list394.size); for (int _i395 = 0; _i395 < _list394.size; ++_i395) { - LockComponent _elem396; // optional + LockComponent _elem396; // required _elem396 = new LockComponent(); _elem396.read(iprot); struct.component.add(_elem396); @@ -725,7 +725,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) struct.component = new ArrayList(_list399.size); for (int _i400 = 0; _i400 < _list399.size; ++_i400) { - LockComponent _elem401; // optional + LockComponent _elem401; // required _elem401 = new LockComponent(); _elem401.read(iprot); struct.component.add(_elem401); diff --git 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 index 8ac2d6b..d3e7baf 100644 --- 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 @@ -354,7 +354,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, OpenTxnsResponse st struct.txn_ids = new ArrayList(_list386.size); for (int _i387 = 0; _i387 < _list386.size; ++_i387) { - long _elem388; // optional + long _elem388; // required _elem388 = iprot.readI64(); struct.txn_ids.add(_elem388); } @@ -424,7 +424,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, OpenTxnsResponse str struct.txn_ids = new ArrayList(_list391.size); for (int _i392 = 0; _i392 < _list391.size; ++_i392) { - long _elem393; // optional + long _elem393; // required _elem393 = iprot.readI64(); struct.txn_ids.add(_elem393); } diff --git 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 index bdfae38..02f798d 100644 --- 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 @@ -945,7 +945,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Partition struct) t struct.values = new ArrayList(_list200.size); for (int _i201 = 0; _i201 < _list200.size; ++_i201) { - String _elem202; // optional + String _elem202; // required _elem202 = iprot.readString(); struct.values.add(_elem202); } @@ -1184,7 +1184,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Partition struct) th struct.values = new ArrayList(_list211.size); for (int _i212 = 0; _i212 < _list211.size; ++_i212) { - String _elem213; // optional + String _elem213; // required _elem213 = iprot.readString(); struct.values.add(_elem213); } diff --git 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 index 41f27b6..347b5e1 100644 --- 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 @@ -439,7 +439,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsByExprRes struct.partitions = new ArrayList(_list264.size); for (int _i265 = 0; _i265 < _list264.size; ++_i265) { - Partition _elem266; // optional + Partition _elem266; // required _elem266 = new Partition(); _elem266.read(iprot); struct.partitions.add(_elem266); @@ -522,7 +522,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsByExprResu struct.partitions = new ArrayList(_list269.size); for (int _i270 = 0; _i270 < _list269.size; ++_i270) { - Partition _elem271; // optional + Partition _elem271; // required _elem271 = new Partition(); _elem271.read(iprot); struct.partitions.add(_elem271); diff --git 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 index 4ddc0d6..3b1f59c 100644 --- 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 @@ -645,7 +645,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsStatsRequ 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); } @@ -663,7 +663,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsStatsRequ struct.partNames = new ArrayList(_list309.size); for (int _i310 = 0; _i310 < _list309.size; ++_i310) { - String _elem311; // optional + String _elem311; // required _elem311 = iprot.readString(); struct.partNames.add(_elem311); } @@ -768,7 +768,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsReque struct.colNames = new ArrayList(_list316.size); for (int _i317 = 0; _i317 < _list316.size; ++_i317) { - String _elem318; // optional + String _elem318; // required _elem318 = iprot.readString(); struct.colNames.add(_elem318); } @@ -779,7 +779,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsReque struct.partNames = new ArrayList(_list319.size); for (int _i320 = 0; _i320 < _list319.size; ++_i320) { - String _elem321; // optional + String _elem321; // required _elem321 = iprot.readString(); struct.partNames.add(_elem321); } diff --git 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 index c3e276e..d5d18e7 100644 --- 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 @@ -371,7 +371,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsStatsResu _val283 = new ArrayList(_list284.size); for (int _i285 = 0; _i285 < _list284.size; ++_i285) { - ColumnStatisticsObj _elem286; // optional + ColumnStatisticsObj _elem286; // required _elem286 = new ColumnStatisticsObj(); _elem286.read(iprot); _val283.add(_elem286); @@ -469,7 +469,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsResul _val294 = new ArrayList(_list295.size); for (int _i296 = 0; _i296 < _list295.size; ++_i296) { - ColumnStatisticsObj _elem297; // optional + ColumnStatisticsObj _elem297; // required _elem297 = new ColumnStatisticsObj(); _elem297.read(iprot); _val294.add(_elem297); diff --git 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 index 0c9518a..eea86e5 100644 --- 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 @@ -587,7 +587,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PrincipalPrivilegeS _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 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PrincipalPrivilegeS _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 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PrincipalPrivilegeS _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 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PrincipalPrivilegeSe _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 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PrincipalPrivilegeSe _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 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PrincipalPrivilegeSe _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); diff --git 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 index 4285ed8..a4687ad 100644 --- 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 @@ -350,7 +350,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PrivilegeBag struct 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 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PrivilegeBag struct) 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); diff --git 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 index 6b78ffe..1cd794e 100644 --- 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 @@ -169,7 +169,7 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip names = new ArrayList(_list346.size); for (int _i347 = 0; _i347 < _list346.size; ++_i347) { - String _elem348; // optional + String _elem348; // required _elem348 = iprot.readString(); names.add(_elem348); } @@ -188,7 +188,7 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip exprs = new ArrayList(_list349.size); for (int _i350 = 0; _i350 < _list349.size; ++_i350) { - DropPartitionsExpr _elem351; // optional + DropPartitionsExpr _elem351; // required _elem351 = new DropPartitionsExpr(); _elem351.read(iprot); exprs.add(_elem351); @@ -250,7 +250,7 @@ protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot 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); } @@ -264,7 +264,7 @@ protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot 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); diff --git 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 index 0ced725..90a38f4 100644 --- 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 @@ -456,7 +456,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Schema struct) thro struct.fieldSchemas = new ArrayList(_list236.size); for (int _i237 = 0; _i237 < _list236.size; ++_i237) { - FieldSchema _elem238; // optional + FieldSchema _elem238; // required _elem238 = new FieldSchema(); _elem238.read(iprot); struct.fieldSchemas.add(_elem238); @@ -582,7 +582,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Schema struct) throw struct.fieldSchemas = new ArrayList(_list247.size); for (int _i248 = 0; _i248 < _list247.size; ++_i248) { - FieldSchema _elem249; // optional + FieldSchema _elem249; // required _elem249 = new FieldSchema(); _elem249.read(iprot); struct.fieldSchemas.add(_elem249); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java index c06d0bb..f0332eb 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java @@ -350,14 +350,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowCompactResponse case 1: // COMPACTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list410 = iprot.readListBegin(); - struct.compacts = new ArrayList(_list410.size); - for (int _i411 = 0; _i411 < _list410.size; ++_i411) + org.apache.thrift.protocol.TList _list426 = iprot.readListBegin(); + struct.compacts = new ArrayList(_list426.size); + for (int _i427 = 0; _i427 < _list426.size; ++_i427) { - ShowCompactResponseElement _elem412; // optional - _elem412 = new ShowCompactResponseElement(); - _elem412.read(iprot); - struct.compacts.add(_elem412); + ShowCompactResponseElement _elem428; // required + _elem428 = new ShowCompactResponseElement(); + _elem428.read(iprot); + struct.compacts.add(_elem428); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ShowCompactRespons oprot.writeFieldBegin(COMPACTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.compacts.size())); - for (ShowCompactResponseElement _iter413 : struct.compacts) + for (ShowCompactResponseElement _iter429 : struct.compacts) { - _iter413.write(oprot); + _iter429.write(oprot); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.compacts.size()); - for (ShowCompactResponseElement _iter414 : struct.compacts) + for (ShowCompactResponseElement _iter430 : struct.compacts) { - _iter414.write(oprot); + _iter430.write(oprot); } } } @@ -421,14 +421,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse public void read(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list415 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.compacts = new ArrayList(_list415.size); - for (int _i416 = 0; _i416 < _list415.size; ++_i416) + org.apache.thrift.protocol.TList _list431 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.compacts = new ArrayList(_list431.size); + for (int _i432 = 0; _i432 < _list431.size; ++_i432) { - ShowCompactResponseElement _elem417; // optional - _elem417 = new ShowCompactResponseElement(); - _elem417.read(iprot); - struct.compacts.add(_elem417); + ShowCompactResponseElement _elem433; // required + _elem433 = new ShowCompactResponseElement(); + _elem433.read(iprot); + struct.compacts.add(_elem433); } } struct.setCompactsIsSet(true); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java index ef5f6e2..04410c0 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java @@ -350,7 +350,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowLocksResponse s struct.locks = new ArrayList(_list402.size); for (int _i403 = 0; _i403 < _list402.size; ++_i403) { - ShowLocksResponseElement _elem404; // optional + ShowLocksResponseElement _elem404; // required _elem404 = new ShowLocksResponseElement(); _elem404.read(iprot); struct.locks.add(_elem404); @@ -430,7 +430,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ShowLocksResponse st struct.locks = new ArrayList(_list407.size); for (int _i408 = 0; _i408 < _list407.size; ++_i408) { - ShowLocksResponseElement _elem409; // optional + ShowLocksResponseElement _elem409; // required _elem409 = new ShowLocksResponseElement(); _elem409.read(iprot); struct.locks.add(_elem409); diff --git 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 index 33d4b53..7423e13 100644 --- 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 @@ -566,7 +566,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SkewedInfo struct) struct.skewedColNames = new ArrayList(_list106.size); for (int _i107 = 0; _i107 < _list106.size; ++_i107) { - String _elem108; // optional + String _elem108; // required _elem108 = iprot.readString(); struct.skewedColNames.add(_elem108); } @@ -584,13 +584,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SkewedInfo struct) struct.skewedColValues = new ArrayList>(_list109.size); for (int _i110 = 0; _i110 < _list109.size; ++_i110) { - List _elem111; // optional + List _elem111; // required { org.apache.thrift.protocol.TList _list112 = iprot.readListBegin(); _elem111 = new ArrayList(_list112.size); for (int _i113 = 0; _i113 < _list112.size; ++_i113) { - String _elem114; // optional + String _elem114; // required _elem114 = iprot.readString(); _elem111.add(_elem114); } @@ -619,7 +619,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SkewedInfo struct) _key117 = new ArrayList(_list119.size); for (int _i120 = 0; _i120 < _list119.size; ++_i120) { - String _elem121; // optional + String _elem121; // required _elem121 = iprot.readString(); _key117.add(_elem121); } @@ -779,7 +779,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, SkewedInfo struct) t struct.skewedColNames = new ArrayList(_list132.size); for (int _i133 = 0; _i133 < _list132.size; ++_i133) { - String _elem134; // optional + String _elem134; // required _elem134 = iprot.readString(); struct.skewedColNames.add(_elem134); } @@ -792,13 +792,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, SkewedInfo struct) t struct.skewedColValues = new ArrayList>(_list135.size); for (int _i136 = 0; _i136 < _list135.size; ++_i136) { - List _elem137; // optional + List _elem137; // required { org.apache.thrift.protocol.TList _list138 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); _elem137 = new ArrayList(_list138.size); for (int _i139 = 0; _i139 < _list138.size; ++_i139) { - String _elem140; // optional + String _elem140; // required _elem140 = iprot.readString(); _elem137.add(_elem140); } @@ -821,7 +821,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, SkewedInfo struct) t _key143 = new ArrayList(_list145.size); for (int _i146 = 0; _i146 < _list145.size; ++_i146) { - String _elem147; // optional + String _elem147; // required _elem147 = iprot.readString(); _key143.add(_elem147); } diff --git 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 index bd02c5b..aa94423 100644 --- 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 @@ -1304,7 +1304,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, StorageDescriptor s struct.cols = new ArrayList(_list148.size); for (int _i149 = 0; _i149 < _list148.size; ++_i149) { - FieldSchema _elem150; // optional + FieldSchema _elem150; // required _elem150 = new FieldSchema(); _elem150.read(iprot); struct.cols.add(_elem150); @@ -1372,7 +1372,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, StorageDescriptor s struct.bucketCols = new ArrayList(_list151.size); for (int _i152 = 0; _i152 < _list151.size; ++_i152) { - String _elem153; // optional + String _elem153; // required _elem153 = iprot.readString(); struct.bucketCols.add(_elem153); } @@ -1390,7 +1390,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, StorageDescriptor s struct.sortCols = new ArrayList(_list154.size); for (int _i155 = 0; _i155 < _list154.size; ++_i155) { - Order _elem156; // optional + Order _elem156; // required _elem156 = new Order(); _elem156.read(iprot); struct.sortCols.add(_elem156); @@ -1667,7 +1667,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, StorageDescriptor st struct.cols = new ArrayList(_list169.size); for (int _i170 = 0; _i170 < _list169.size; ++_i170) { - FieldSchema _elem171; // optional + FieldSchema _elem171; // required _elem171 = new FieldSchema(); _elem171.read(iprot); struct.cols.add(_elem171); @@ -1706,7 +1706,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, StorageDescriptor st struct.bucketCols = new ArrayList(_list172.size); for (int _i173 = 0; _i173 < _list172.size; ++_i173) { - String _elem174; // optional + String _elem174; // required _elem174 = iprot.readString(); struct.bucketCols.add(_elem174); } @@ -1719,7 +1719,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, StorageDescriptor st struct.sortCols = new ArrayList(_list175.size); for (int _i176 = 0; _i176 < _list175.size; ++_i176) { - Order _elem177; // optional + Order _elem177; // required _elem177 = new Order(); _elem177.read(iprot); struct.sortCols.add(_elem177); diff --git 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 index 97c2724..b006b2e 100644 --- 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 @@ -1403,7 +1403,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Table struct) throw struct.partitionKeys = new ArrayList(_list182.size); for (int _i183 = 0; _i183 < _list182.size; ++_i183) { - FieldSchema _elem184; // optional + FieldSchema _elem184; // required _elem184 = new FieldSchema(); _elem184.read(iprot); struct.partitionKeys.add(_elem184); @@ -1708,7 +1708,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Table struct) throws struct.partitionKeys = new ArrayList(_list193.size); for (int _i194 = 0; _i194 < _list193.size; ++_i194) { - FieldSchema _elem195; // optional + FieldSchema _elem195; // required _elem195 = new FieldSchema(); _elem195.read(iprot); struct.partitionKeys.add(_elem195); diff --git 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 index 0276c19..76ecfaa 100644 --- 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 @@ -540,7 +540,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TableStatsRequest s struct.colNames = new ArrayList(_list298.size); for (int _i299 = 0; _i299 < _list298.size; ++_i299) { - String _elem300; // optional + String _elem300; // required _elem300 = iprot.readString(); struct.colNames.add(_elem300); } @@ -626,7 +626,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TableStatsRequest st struct.colNames = new ArrayList(_list303.size); for (int _i304 = 0; _i304 < _list303.size; ++_i304) { - String _elem305; // optional + String _elem305; // required _elem305 = iprot.readString(); struct.colNames.add(_elem305); } diff --git 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 index b27a979..3976ad9 100644 --- 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 @@ -354,7 +354,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TableStatsResult st struct.tableStats = new ArrayList(_list272.size); for (int _i273 = 0; _i273 < _list272.size; ++_i273) { - ColumnStatisticsObj _elem274; // optional + ColumnStatisticsObj _elem274; // required _elem274 = new ColumnStatisticsObj(); _elem274.read(iprot); struct.tableStats.add(_elem274); @@ -425,7 +425,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TableStatsResult str struct.tableStats = new ArrayList(_list277.size); for (int _i278 = 0; _i278 < _list277.size; ++_i278) { - ColumnStatisticsObj _elem279; // optional + ColumnStatisticsObj _elem279; // required _elem279 = new ColumnStatisticsObj(); _elem279.read(iprot); struct.tableStats.add(_elem279); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java index ad2d1b7..806247d 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java @@ -244,6 +244,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; @@ -458,6 +460,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; @@ -3570,6 +3574,29 @@ public void recv_heartbeat() throws NoSuchLockException, NoSuchTxnException, Txn 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); @@ -7341,6 +7368,38 @@ public void getResult() throws NoSuchLockException, NoSuchTxnException, TxnAbort } } + 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); @@ -7521,6 +7580,7 @@ protected Processor(I iface, Map 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"); @@ -14031,13 +14111,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_databases_resul case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list418 = iprot.readListBegin(); - struct.success = new ArrayList(_list418.size); - for (int _i419 = 0; _i419 < _list418.size; ++_i419) + org.apache.thrift.protocol.TList _list434 = iprot.readListBegin(); + struct.success = new ArrayList(_list434.size); + for (int _i435 = 0; _i435 < _list434.size; ++_i435) { - String _elem420; // optional - _elem420 = iprot.readString(); - struct.success.add(_elem420); + String _elem436; // required + _elem436 = iprot.readString(); + struct.success.add(_elem436); } iprot.readListEnd(); } @@ -14072,9 +14152,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_databases_resu oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter421 : struct.success) + for (String _iter437 : struct.success) { - oprot.writeString(_iter421); + oprot.writeString(_iter437); } oprot.writeListEnd(); } @@ -14113,9 +14193,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter422 : struct.success) + for (String _iter438 : struct.success) { - oprot.writeString(_iter422); + oprot.writeString(_iter438); } } } @@ -14130,13 +14210,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_databases_result BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list423 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = 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.STRING, iprot.readI32()); + struct.success = new ArrayList(_list439.size); + for (int _i440 = 0; _i440 < _list439.size; ++_i440) { - String _elem425; // optional - _elem425 = iprot.readString(); - struct.success.add(_elem425); + String _elem441; // required + _elem441 = iprot.readString(); + struct.success.add(_elem441); } } struct.setSuccessIsSet(true); @@ -14793,13 +14873,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_databases_r case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _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(); } @@ -14834,9 +14914,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_databases_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter429 : struct.success) + for (String _iter445 : struct.success) { - oprot.writeString(_iter429); + oprot.writeString(_iter445); } oprot.writeListEnd(); } @@ -14875,9 +14955,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter430 : struct.success) + for (String _iter446 : struct.success) { - oprot.writeString(_iter430); + oprot.writeString(_iter446); } } } @@ -14892,13 +14972,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_databases_re BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _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); @@ -19505,16 +19585,16 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_type_all_result case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map434 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map434.size); - for (int _i435 = 0; _i435 < _map434.size; ++_i435) + org.apache.thrift.protocol.TMap _map450 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map450.size); + for (int _i451 = 0; _i451 < _map450.size; ++_i451) { - String _key436; // required - Type _val437; // required - _key436 = iprot.readString(); - _val437 = new Type(); - _val437.read(iprot); - struct.success.put(_key436, _val437); + String _key452; // required + Type _val453; // required + _key452 = iprot.readString(); + _val453 = new Type(); + _val453.read(iprot); + struct.success.put(_key452, _val453); } iprot.readMapEnd(); } @@ -19549,10 +19629,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_type_all_resul oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry _iter438 : struct.success.entrySet()) + for (Map.Entry _iter454 : struct.success.entrySet()) { - oprot.writeString(_iter438.getKey()); - _iter438.getValue().write(oprot); + oprot.writeString(_iter454.getKey()); + _iter454.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -19591,10 +19671,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_type_all_result if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter439 : struct.success.entrySet()) + for (Map.Entry _iter455 : struct.success.entrySet()) { - oprot.writeString(_iter439.getKey()); - _iter439.getValue().write(oprot); + oprot.writeString(_iter455.getKey()); + _iter455.getValue().write(oprot); } } } @@ -19609,16 +19689,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_type_all_result BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map440 = 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*_map440.size); - for (int _i441 = 0; _i441 < _map440.size; ++_i441) + org.apache.thrift.protocol.TMap _map456 = 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*_map456.size); + for (int _i457 = 0; _i457 < _map456.size; ++_i457) { - String _key442; // required - Type _val443; // required - _key442 = iprot.readString(); - _val443 = new Type(); - _val443.read(iprot); - struct.success.put(_key442, _val443); + String _key458; // required + Type _val459; // required + _key458 = iprot.readString(); + _val459 = new Type(); + _val459.read(iprot); + struct.success.put(_key458, _val459); } } struct.setSuccessIsSet(true); @@ -20653,14 +20733,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_fields_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list444 = iprot.readListBegin(); - struct.success = new ArrayList(_list444.size); - for (int _i445 = 0; _i445 < _list444.size; ++_i445) + org.apache.thrift.protocol.TList _list460 = iprot.readListBegin(); + struct.success = new ArrayList(_list460.size); + for (int _i461 = 0; _i461 < _list460.size; ++_i461) { - FieldSchema _elem446; // optional - _elem446 = new FieldSchema(); - _elem446.read(iprot); - struct.success.add(_elem446); + FieldSchema _elem462; // required + _elem462 = new FieldSchema(); + _elem462.read(iprot); + struct.success.add(_elem462); } iprot.readListEnd(); } @@ -20713,9 +20793,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_fields_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter447 : struct.success) + for (FieldSchema _iter463 : struct.success) { - _iter447.write(oprot); + _iter463.write(oprot); } oprot.writeListEnd(); } @@ -20770,9 +20850,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter448 : struct.success) + for (FieldSchema _iter464 : struct.success) { - _iter448.write(oprot); + _iter464.write(oprot); } } } @@ -20793,14 +20873,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_fields_result st BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list449 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list449.size); - for (int _i450 = 0; _i450 < _list449.size; ++_i450) + 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) { - FieldSchema _elem451; // optional - _elem451 = new FieldSchema(); - _elem451.read(iprot); - struct.success.add(_elem451); + FieldSchema _elem467; // required + _elem467 = new FieldSchema(); + _elem467.read(iprot); + struct.success.add(_elem467); } } struct.setSuccessIsSet(true); @@ -21845,14 +21925,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _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(); } @@ -21905,9 +21985,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter455 : struct.success) + for (FieldSchema _iter471 : struct.success) { - _iter455.write(oprot); + _iter471.write(oprot); } oprot.writeListEnd(); } @@ -21962,9 +22042,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter456 : struct.success) + for (FieldSchema _iter472 : struct.success) { - _iter456.write(oprot); + _iter472.write(oprot); } } } @@ -21985,14 +22065,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_result st BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _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); @@ -27235,13 +27315,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _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) { - String _elem462; // optional - _elem462 = iprot.readString(); - struct.success.add(_elem462); + String _elem478; // required + _elem478 = iprot.readString(); + struct.success.add(_elem478); } iprot.readListEnd(); } @@ -27276,9 +27356,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter463 : struct.success) + for (String _iter479 : struct.success) { - oprot.writeString(_iter463); + oprot.writeString(_iter479); } oprot.writeListEnd(); } @@ -27317,9 +27397,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter464 : struct.success) + for (String _iter480 : struct.success) { - oprot.writeString(_iter464); + oprot.writeString(_iter480); } } } @@ -27334,13 +27414,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_result st BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list465 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, 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.STRING, iprot.readI32()); + struct.success = new ArrayList(_list481.size); + for (int _i482 = 0; _i482 < _list481.size; ++_i482) { - String _elem467; // optional - _elem467 = iprot.readString(); - struct.success.add(_elem467); + String _elem483; // required + _elem483 = iprot.readString(); + struct.success.add(_elem483); } } struct.setSuccessIsSet(true); @@ -28109,13 +28189,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_tables_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _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(); } @@ -28150,9 +28230,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_tables_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter471 : struct.success) + for (String _iter487 : struct.success) { - oprot.writeString(_iter471); + oprot.writeString(_iter487); } oprot.writeListEnd(); } @@ -28191,9 +28271,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter472 : struct.success) + for (String _iter488 : struct.success) { - oprot.writeString(_iter472); + oprot.writeString(_iter488); } } } @@ -28208,13 +28288,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _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); @@ -29670,13 +29750,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_b case 2: // TBL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list476 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list476.size); - for (int _i477 = 0; _i477 < _list476.size; ++_i477) + org.apache.thrift.protocol.TList _list492 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list492.size); + for (int _i493 = 0; _i493 < _list492.size; ++_i493) { - String _elem478; // optional - _elem478 = iprot.readString(); - struct.tbl_names.add(_elem478); + String _elem494; // required + _elem494 = iprot.readString(); + struct.tbl_names.add(_elem494); } iprot.readListEnd(); } @@ -29707,9 +29787,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_objects_ oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tbl_names.size())); - for (String _iter479 : struct.tbl_names) + for (String _iter495 : struct.tbl_names) { - oprot.writeString(_iter479); + oprot.writeString(_iter495); } oprot.writeListEnd(); } @@ -29746,9 +29826,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetTbl_names()) { { oprot.writeI32(struct.tbl_names.size()); - for (String _iter480 : struct.tbl_names) + for (String _iter496 : struct.tbl_names) { - oprot.writeString(_iter480); + oprot.writeString(_iter496); } } } @@ -29764,13 +29844,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list481 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = 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.tbl_names = new ArrayList(_list497.size); + for (int _i498 = 0; _i498 < _list497.size; ++_i498) { - String _elem483; // optional - _elem483 = iprot.readString(); - struct.tbl_names.add(_elem483); + String _elem499; // required + _elem499 = iprot.readString(); + struct.tbl_names.add(_elem499); } } struct.setTbl_namesIsSet(true); @@ -30338,14 +30418,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_b case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list484 = iprot.readListBegin(); - struct.success = new ArrayList
(_list484.size); - for (int _i485 = 0; _i485 < _list484.size; ++_i485) + org.apache.thrift.protocol.TList _list500 = iprot.readListBegin(); + struct.success = new ArrayList
(_list500.size); + for (int _i501 = 0; _i501 < _list500.size; ++_i501) { - Table _elem486; // optional - _elem486 = new Table(); - _elem486.read(iprot); - struct.success.add(_elem486); + Table _elem502; // required + _elem502 = new Table(); + _elem502.read(iprot); + struct.success.add(_elem502); } iprot.readListEnd(); } @@ -30398,9 +30478,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_objects_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Table _iter487 : struct.success) + for (Table _iter503 : struct.success) { - _iter487.write(oprot); + _iter503.write(oprot); } oprot.writeListEnd(); } @@ -30455,9 +30535,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter488 : struct.success) + for (Table _iter504 : struct.success) { - _iter488.write(oprot); + _iter504.write(oprot); } } } @@ -30478,14 +30558,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list489 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list489.size); - for (int _i490 = 0; _i490 < _list489.size; ++_i490) + org.apache.thrift.protocol.TList _list505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list505.size); + for (int _i506 = 0; _i506 < _list505.size; ++_i506) { - Table _elem491; // optional - _elem491 = new Table(); - _elem491.read(iprot); - struct.success.add(_elem491); + Table _elem507; // required + _elem507 = new Table(); + _elem507.read(iprot); + struct.success.add(_elem507); } } struct.setSuccessIsSet(true); @@ -31634,13 +31714,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_names_by_ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _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) { - String _elem494; // optional - _elem494 = iprot.readString(); - struct.success.add(_elem494); + String _elem510; // required + _elem510 = iprot.readString(); + struct.success.add(_elem510); } iprot.readListEnd(); } @@ -31693,9 +31773,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_names_by oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter495 : struct.success) + for (String _iter511 : struct.success) { - oprot.writeString(_iter495); + oprot.writeString(_iter511); } oprot.writeListEnd(); } @@ -31750,9 +31830,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter496 : struct.success) + for (String _iter512 : struct.success) { - oprot.writeString(_iter496); + oprot.writeString(_iter512); } } } @@ -31773,13 +31853,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_f BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list497 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list497.size); - for (int _i498 = 0; _i498 < _list497.size; ++_i498) + org.apache.thrift.protocol.TList _list513 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list513.size); + for (int _i514 = 0; _i514 < _list513.size; ++_i514) { - String _elem499; // optional - _elem499 = iprot.readString(); - struct.success.add(_elem499); + String _elem515; // required + _elem515 = iprot.readString(); + struct.success.add(_elem515); } } struct.setSuccessIsSet(true); @@ -36499,14 +36579,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, add_partitions_args case 1: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list500 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list500.size); - for (int _i501 = 0; _i501 < _list500.size; ++_i501) + org.apache.thrift.protocol.TList _list516 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list516.size); + for (int _i517 = 0; _i517 < _list516.size; ++_i517) { - Partition _elem502; // optional - _elem502 = new Partition(); - _elem502.read(iprot); - struct.new_parts.add(_elem502); + Partition _elem518; // required + _elem518 = new Partition(); + _elem518.read(iprot); + struct.new_parts.add(_elem518); } iprot.readListEnd(); } @@ -36532,9 +36612,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, add_partitions_arg oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (Partition _iter503 : struct.new_parts) + for (Partition _iter519 : struct.new_parts) { - _iter503.write(oprot); + _iter519.write(oprot); } oprot.writeListEnd(); } @@ -36565,9 +36645,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, add_partitions_args if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter504 : struct.new_parts) + for (Partition _iter520 : struct.new_parts) { - _iter504.write(oprot); + _iter520.write(oprot); } } } @@ -36579,14 +36659,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partitions_args BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = 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.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list521.size); + for (int _i522 = 0; _i522 < _list521.size; ++_i522) { - Partition _elem507; // optional - _elem507 = new Partition(); - _elem507.read(iprot); - struct.new_parts.add(_elem507); + Partition _elem523; // required + _elem523 = new Partition(); + _elem523.read(iprot); + struct.new_parts.add(_elem523); } } struct.setNew_partsIsSet(true); @@ -37765,13 +37845,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, append_partition_ar case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list508 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list508.size); - for (int _i509 = 0; _i509 < _list508.size; ++_i509) + org.apache.thrift.protocol.TList _list524 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list524.size); + for (int _i525 = 0; _i525 < _list524.size; ++_i525) { - String _elem510; // optional - _elem510 = iprot.readString(); - struct.part_vals.add(_elem510); + String _elem526; // required + _elem526 = iprot.readString(); + struct.part_vals.add(_elem526); } iprot.readListEnd(); } @@ -37807,9 +37887,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, append_partition_a oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter511 : struct.part_vals) + for (String _iter527 : struct.part_vals) { - oprot.writeString(_iter511); + oprot.writeString(_iter527); } oprot.writeListEnd(); } @@ -37852,9 +37932,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, append_partition_ar if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter512 : struct.part_vals) + for (String _iter528 : struct.part_vals) { - oprot.writeString(_iter512); + oprot.writeString(_iter528); } } } @@ -37874,13 +37954,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list513 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = 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.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list529.size); + for (int _i530 = 0; _i530 < _list529.size; ++_i530) { - String _elem515; // optional - _elem515 = iprot.readString(); - struct.part_vals.add(_elem515); + String _elem531; // required + _elem531 = iprot.readString(); + struct.part_vals.add(_elem531); } } struct.setPart_valsIsSet(true); @@ -40192,13 +40272,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, append_partition_wi case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _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(); } @@ -40243,9 +40323,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, append_partition_w oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter519 : struct.part_vals) + for (String _iter535 : struct.part_vals) { - oprot.writeString(_iter519); + oprot.writeString(_iter535); } oprot.writeListEnd(); } @@ -40296,9 +40376,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, append_partition_wi if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter520 : struct.part_vals) + for (String _iter536 : struct.part_vals) { - oprot.writeString(_iter520); + oprot.writeString(_iter536); } } } @@ -40321,13 +40401,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } 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); @@ -44200,13 +44280,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_partition_args case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _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(); } @@ -44250,9 +44330,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, drop_partition_arg oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter527 : struct.part_vals) + for (String _iter543 : struct.part_vals) { - oprot.writeString(_iter527); + oprot.writeString(_iter543); } oprot.writeListEnd(); } @@ -44301,9 +44381,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, drop_partition_args if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter528 : struct.part_vals) + for (String _iter544 : struct.part_vals) { - oprot.writeString(_iter528); + oprot.writeString(_iter544); } } } @@ -44326,13 +44406,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } 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); @@ -45574,13 +45654,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_partition_with case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _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(); } @@ -45633,9 +45713,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, drop_partition_wit oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter535 : struct.part_vals) + for (String _iter551 : struct.part_vals) { - oprot.writeString(_iter535); + oprot.writeString(_iter551); } oprot.writeListEnd(); } @@ -45692,9 +45772,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, drop_partition_with if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter536 : struct.part_vals) + for (String _iter552 : struct.part_vals) { - oprot.writeString(_iter536); + oprot.writeString(_iter552); } } } @@ -45720,13 +45800,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } 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); @@ -50331,13 +50411,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_args case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _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(); } @@ -50373,9 +50453,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_args oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter543 : struct.part_vals) + for (String _iter559 : struct.part_vals) { - oprot.writeString(_iter543); + oprot.writeString(_iter559); } oprot.writeListEnd(); } @@ -50418,9 +50498,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_args if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter544 : struct.part_vals) + for (String _iter560 : struct.part_vals) { - oprot.writeString(_iter544); + oprot.writeString(_iter560); } } } @@ -50440,13 +50520,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } 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); @@ -51675,15 +51755,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, exchange_partition_ case 1: // PARTITION_SPECS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map548 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map548.size); - for (int _i549 = 0; _i549 < _map548.size; ++_i549) + org.apache.thrift.protocol.TMap _map564 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map564.size); + for (int _i565 = 0; _i565 < _map564.size; ++_i565) { - String _key550; // required - String _val551; // required - _key550 = iprot.readString(); - _val551 = iprot.readString(); - struct.partitionSpecs.put(_key550, _val551); + String _key566; // required + String _val567; // required + _key566 = iprot.readString(); + _val567 = iprot.readString(); + struct.partitionSpecs.put(_key566, _val567); } iprot.readMapEnd(); } @@ -51741,10 +51821,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exchange_partition oprot.writeFieldBegin(PARTITION_SPECS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.partitionSpecs.size())); - for (Map.Entry _iter552 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter568 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter552.getKey()); - oprot.writeString(_iter552.getValue()); + oprot.writeString(_iter568.getKey()); + oprot.writeString(_iter568.getValue()); } oprot.writeMapEnd(); } @@ -51807,10 +51887,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter553 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter569 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter553.getKey()); - oprot.writeString(_iter553.getValue()); + oprot.writeString(_iter569.getKey()); + oprot.writeString(_iter569.getValue()); } } } @@ -51834,15 +51914,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partition_a BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map554 = 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*_map554.size); - for (int _i555 = 0; _i555 < _map554.size; ++_i555) + org.apache.thrift.protocol.TMap _map570 = 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*_map570.size); + for (int _i571 = 0; _i571 < _map570.size; ++_i571) { - String _key556; // required - String _val557; // required - _key556 = iprot.readString(); - _val557 = iprot.readString(); - struct.partitionSpecs.put(_key556, _val557); + String _key572; // required + String _val573; // required + _key572 = iprot.readString(); + _val573 = iprot.readString(); + struct.partitionSpecs.put(_key572, _val573); } } struct.setPartitionSpecsIsSet(true); @@ -53330,13 +53410,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_ case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list558 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list558.size); - for (int _i559 = 0; _i559 < _list558.size; ++_i559) + org.apache.thrift.protocol.TList _list574 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list574.size); + for (int _i575 = 0; _i575 < _list574.size; ++_i575) { - String _elem560; // optional - _elem560 = iprot.readString(); - struct.part_vals.add(_elem560); + String _elem576; // required + _elem576 = iprot.readString(); + struct.part_vals.add(_elem576); } iprot.readListEnd(); } @@ -53356,13 +53436,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_ case 5: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list561 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list561.size); - for (int _i562 = 0; _i562 < _list561.size; ++_i562) + org.apache.thrift.protocol.TList _list577 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list577.size); + for (int _i578 = 0; _i578 < _list577.size; ++_i578) { - String _elem563; // optional - _elem563 = iprot.readString(); - struct.group_names.add(_elem563); + String _elem579; // required + _elem579 = iprot.readString(); + struct.group_names.add(_elem579); } iprot.readListEnd(); } @@ -53398,9 +53478,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter564 : struct.part_vals) + for (String _iter580 : struct.part_vals) { - oprot.writeString(_iter564); + oprot.writeString(_iter580); } oprot.writeListEnd(); } @@ -53415,9 +53495,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter565 : struct.group_names) + for (String _iter581 : struct.group_names) { - oprot.writeString(_iter565); + oprot.writeString(_iter581); } oprot.writeListEnd(); } @@ -53466,9 +53546,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter566 : struct.part_vals) + for (String _iter582 : struct.part_vals) { - oprot.writeString(_iter566); + oprot.writeString(_iter582); } } } @@ -53478,9 +53558,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_ if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter567 : struct.group_names) + for (String _iter583 : struct.group_names) { - oprot.writeString(_iter567); + oprot.writeString(_iter583); } } } @@ -53500,13 +53580,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list568 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list568.size); - for (int _i569 = 0; _i569 < _list568.size; ++_i569) + org.apache.thrift.protocol.TList _list584 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list584.size); + for (int _i585 = 0; _i585 < _list584.size; ++_i585) { - String _elem570; // optional - _elem570 = iprot.readString(); - struct.part_vals.add(_elem570); + String _elem586; // required + _elem586 = iprot.readString(); + struct.part_vals.add(_elem586); } } struct.setPart_valsIsSet(true); @@ -53517,13 +53597,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list571 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list571.size); - for (int _i572 = 0; _i572 < _list571.size; ++_i572) + org.apache.thrift.protocol.TList _list587 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list587.size); + for (int _i588 = 0; _i588 < _list587.size; ++_i588) { - String _elem573; // optional - _elem573 = iprot.readString(); - struct.group_names.add(_elem573); + String _elem589; // required + _elem589 = iprot.readString(); + struct.group_names.add(_elem589); } } struct.setGroup_namesIsSet(true); @@ -56292,14 +56372,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list574 = iprot.readListBegin(); - struct.success = new ArrayList(_list574.size); - for (int _i575 = 0; _i575 < _list574.size; ++_i575) + org.apache.thrift.protocol.TList _list590 = iprot.readListBegin(); + struct.success = new ArrayList(_list590.size); + for (int _i591 = 0; _i591 < _list590.size; ++_i591) { - Partition _elem576; // optional - _elem576 = new Partition(); - _elem576.read(iprot); - struct.success.add(_elem576); + Partition _elem592; // required + _elem592 = new Partition(); + _elem592.read(iprot); + struct.success.add(_elem592); } iprot.readListEnd(); } @@ -56343,9 +56423,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter577 : struct.success) + for (Partition _iter593 : struct.success) { - _iter577.write(oprot); + _iter593.write(oprot); } oprot.writeListEnd(); } @@ -56392,9 +56472,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter578 : struct.success) + for (Partition _iter594 : struct.success) { - _iter578.write(oprot); + _iter594.write(oprot); } } } @@ -56412,14 +56492,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_resul BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list579 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = 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.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list595.size); + for (int _i596 = 0; _i596 < _list595.size; ++_i596) { - Partition _elem581; // optional - _elem581 = new Partition(); - _elem581.read(iprot); - struct.success.add(_elem581); + Partition _elem597; // required + _elem597 = new Partition(); + _elem597.read(iprot); + struct.success.add(_elem597); } } struct.setSuccessIsSet(true); @@ -57112,13 +57192,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with case 5: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list582 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list582.size); - for (int _i583 = 0; _i583 < _list582.size; ++_i583) + org.apache.thrift.protocol.TList _list598 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list598.size); + for (int _i599 = 0; _i599 < _list598.size; ++_i599) { - String _elem584; // optional - _elem584 = iprot.readString(); - struct.group_names.add(_elem584); + String _elem600; // required + _elem600 = iprot.readString(); + struct.group_names.add(_elem600); } iprot.readListEnd(); } @@ -57162,9 +57242,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_wit oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter585 : struct.group_names) + for (String _iter601 : struct.group_names) { - oprot.writeString(_iter585); + oprot.writeString(_iter601); } oprot.writeListEnd(); } @@ -57219,9 +57299,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter586 : struct.group_names) + for (String _iter602 : struct.group_names) { - oprot.writeString(_iter586); + oprot.writeString(_iter602); } } } @@ -57249,13 +57329,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list587 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = 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.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list603.size); + for (int _i604 = 0; _i604 < _list603.size; ++_i604) { - String _elem589; // optional - _elem589 = iprot.readString(); - struct.group_names.add(_elem589); + String _elem605; // required + _elem605 = iprot.readString(); + struct.group_names.add(_elem605); } } struct.setGroup_namesIsSet(true); @@ -57742,14 +57822,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list590 = iprot.readListBegin(); - struct.success = new ArrayList(_list590.size); - for (int _i591 = 0; _i591 < _list590.size; ++_i591) + org.apache.thrift.protocol.TList _list606 = iprot.readListBegin(); + struct.success = new ArrayList(_list606.size); + for (int _i607 = 0; _i607 < _list606.size; ++_i607) { - Partition _elem592; // optional - _elem592 = new Partition(); - _elem592.read(iprot); - struct.success.add(_elem592); + Partition _elem608; // required + _elem608 = new Partition(); + _elem608.read(iprot); + struct.success.add(_elem608); } iprot.readListEnd(); } @@ -57793,9 +57873,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_wit oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter593 : struct.success) + for (Partition _iter609 : struct.success) { - _iter593.write(oprot); + _iter609.write(oprot); } oprot.writeListEnd(); } @@ -57842,9 +57922,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter594 : struct.success) + for (Partition _iter610 : struct.success) { - _iter594.write(oprot); + _iter610.write(oprot); } } } @@ -57862,14 +57942,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list595 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = 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.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list611.size); + for (int _i612 = 0; _i612 < _list611.size; ++_i612) { - Partition _elem597; // optional - _elem597 = new Partition(); - _elem597.read(iprot); - struct.success.add(_elem597); + Partition _elem613; // required + _elem613 = new Partition(); + _elem613.read(iprot); + struct.success.add(_elem613); } } struct.setSuccessIsSet(true); @@ -58851,13 +58931,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _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) { - String _elem600; // optional - _elem600 = iprot.readString(); - struct.success.add(_elem600); + String _elem616; // required + _elem616 = iprot.readString(); + struct.success.add(_elem616); } iprot.readListEnd(); } @@ -58892,9 +58972,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter601 : struct.success) + for (String _iter617 : struct.success) { - oprot.writeString(_iter601); + oprot.writeString(_iter617); } oprot.writeListEnd(); } @@ -58933,9 +59013,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter602 : struct.success) + for (String _iter618 : struct.success) { - oprot.writeString(_iter602); + oprot.writeString(_iter618); } } } @@ -58950,13 +59030,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list603 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, 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.STRING, iprot.readI32()); + struct.success = new ArrayList(_list619.size); + for (int _i620 = 0; _i620 < _list619.size; ++_i620) { - String _elem605; // optional - _elem605 = iprot.readString(); - struct.success.add(_elem605); + String _elem621; // required + _elem621 = iprot.readString(); + struct.success.add(_elem621); } } struct.setSuccessIsSet(true); @@ -59547,13 +59627,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_a case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list606 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list606.size); - for (int _i607 = 0; _i607 < _list606.size; ++_i607) + org.apache.thrift.protocol.TList _list622 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list622.size); + for (int _i623 = 0; _i623 < _list622.size; ++_i623) { - String _elem608; // optional - _elem608 = iprot.readString(); - struct.part_vals.add(_elem608); + String _elem624; // required + _elem624 = iprot.readString(); + struct.part_vals.add(_elem624); } iprot.readListEnd(); } @@ -59597,9 +59677,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter609 : struct.part_vals) + for (String _iter625 : struct.part_vals) { - oprot.writeString(_iter609); + oprot.writeString(_iter625); } oprot.writeListEnd(); } @@ -59648,9 +59728,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_a if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter610 : struct.part_vals) + for (String _iter626 : struct.part_vals) { - oprot.writeString(_iter610); + oprot.writeString(_iter626); } } } @@ -59673,13 +59753,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list611 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = 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.part_vals = new ArrayList(_list627.size); + for (int _i628 = 0; _i628 < _list627.size; ++_i628) { - String _elem613; // optional - _elem613 = iprot.readString(); - struct.part_vals.add(_elem613); + String _elem629; // required + _elem629 = iprot.readString(); + struct.part_vals.add(_elem629); } } struct.setPart_valsIsSet(true); @@ -60170,14 +60250,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_r case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list614 = iprot.readListBegin(); - struct.success = new ArrayList(_list614.size); - for (int _i615 = 0; _i615 < _list614.size; ++_i615) + org.apache.thrift.protocol.TList _list630 = iprot.readListBegin(); + struct.success = new ArrayList(_list630.size); + for (int _i631 = 0; _i631 < _list630.size; ++_i631) { - Partition _elem616; // optional - _elem616 = new Partition(); - _elem616.read(iprot); - struct.success.add(_elem616); + Partition _elem632; // required + _elem632 = new Partition(); + _elem632.read(iprot); + struct.success.add(_elem632); } iprot.readListEnd(); } @@ -60221,9 +60301,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter617 : struct.success) + for (Partition _iter633 : struct.success) { - _iter617.write(oprot); + _iter633.write(oprot); } oprot.writeListEnd(); } @@ -60270,9 +60350,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter618 : struct.success) + for (Partition _iter634 : struct.success) { - _iter618.write(oprot); + _iter634.write(oprot); } } } @@ -60290,14 +60370,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_re BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _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) + org.apache.thrift.protocol.TList _list635 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list635.size); + for (int _i636 = 0; _i636 < _list635.size; ++_i636) { - Partition _elem621; // optional - _elem621 = new Partition(); - _elem621.read(iprot); - struct.success.add(_elem621); + Partition _elem637; // required + _elem637 = new Partition(); + _elem637.read(iprot); + struct.success.add(_elem637); } } struct.setSuccessIsSet(true); @@ -61075,13 +61155,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list622 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list622.size); - for (int _i623 = 0; _i623 < _list622.size; ++_i623) + org.apache.thrift.protocol.TList _list638 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list638.size); + for (int _i639 = 0; _i639 < _list638.size; ++_i639) { - String _elem624; // optional - _elem624 = iprot.readString(); - struct.part_vals.add(_elem624); + String _elem640; // required + _elem640 = iprot.readString(); + struct.part_vals.add(_elem640); } iprot.readListEnd(); } @@ -61109,13 +61189,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w case 6: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list625 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list625.size); - for (int _i626 = 0; _i626 < _list625.size; ++_i626) + org.apache.thrift.protocol.TList _list641 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list641.size); + for (int _i642 = 0; _i642 < _list641.size; ++_i642) { - String _elem627; // optional - _elem627 = iprot.readString(); - struct.group_names.add(_elem627); + String _elem643; // required + _elem643 = iprot.readString(); + struct.group_names.add(_elem643); } iprot.readListEnd(); } @@ -61151,9 +61231,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter628 : struct.part_vals) + for (String _iter644 : struct.part_vals) { - oprot.writeString(_iter628); + oprot.writeString(_iter644); } oprot.writeListEnd(); } @@ -61171,9 +61251,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter629 : struct.group_names) + for (String _iter645 : struct.group_names) { - oprot.writeString(_iter629); + oprot.writeString(_iter645); } oprot.writeListEnd(); } @@ -61225,9 +61305,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter630 : struct.part_vals) + for (String _iter646 : struct.part_vals) { - oprot.writeString(_iter630); + oprot.writeString(_iter646); } } } @@ -61240,9 +61320,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter631 : struct.group_names) + for (String _iter647 : struct.group_names) { - oprot.writeString(_iter631); + oprot.writeString(_iter647); } } } @@ -61262,13 +61342,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list632 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list632.size); - for (int _i633 = 0; _i633 < _list632.size; ++_i633) + org.apache.thrift.protocol.TList _list648 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list648.size); + for (int _i649 = 0; _i649 < _list648.size; ++_i649) { - String _elem634; // optional - _elem634 = iprot.readString(); - struct.part_vals.add(_elem634); + String _elem650; // required + _elem650 = iprot.readString(); + struct.part_vals.add(_elem650); } } struct.setPart_valsIsSet(true); @@ -61283,13 +61363,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list635 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list635.size); - for (int _i636 = 0; _i636 < _list635.size; ++_i636) + org.apache.thrift.protocol.TList _list651 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list651.size); + for (int _i652 = 0; _i652 < _list651.size; ++_i652) { - String _elem637; // optional - _elem637 = iprot.readString(); - struct.group_names.add(_elem637); + String _elem653; // required + _elem653 = iprot.readString(); + struct.group_names.add(_elem653); } } struct.setGroup_namesIsSet(true); @@ -61776,14 +61856,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list638 = iprot.readListBegin(); - struct.success = new ArrayList(_list638.size); - for (int _i639 = 0; _i639 < _list638.size; ++_i639) + org.apache.thrift.protocol.TList _list654 = iprot.readListBegin(); + struct.success = new ArrayList(_list654.size); + for (int _i655 = 0; _i655 < _list654.size; ++_i655) { - Partition _elem640; // optional - _elem640 = new Partition(); - _elem640.read(iprot); - struct.success.add(_elem640); + Partition _elem656; // required + _elem656 = new Partition(); + _elem656.read(iprot); + struct.success.add(_elem656); } iprot.readListEnd(); } @@ -61827,9 +61907,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter641 : struct.success) + for (Partition _iter657 : struct.success) { - _iter641.write(oprot); + _iter657.write(oprot); } oprot.writeListEnd(); } @@ -61876,9 +61956,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter642 : struct.success) + for (Partition _iter658 : struct.success) { - _iter642.write(oprot); + _iter658.write(oprot); } } } @@ -61896,14 +61976,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _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) + org.apache.thrift.protocol.TList _list659 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list659.size); + for (int _i660 = 0; _i660 < _list659.size; ++_i660) { - Partition _elem645; // optional - _elem645 = new Partition(); - _elem645.read(iprot); - struct.success.add(_elem645); + Partition _elem661; // required + _elem661 = new Partition(); + _elem661.read(iprot); + struct.success.add(_elem661); } } struct.setSuccessIsSet(true); @@ -62499,13 +62579,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list646 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list646.size); - for (int _i647 = 0; _i647 < _list646.size; ++_i647) + org.apache.thrift.protocol.TList _list662 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list662.size); + for (int _i663 = 0; _i663 < _list662.size; ++_i663) { - String _elem648; // optional - _elem648 = iprot.readString(); - struct.part_vals.add(_elem648); + String _elem664; // required + _elem664 = iprot.readString(); + struct.part_vals.add(_elem664); } iprot.readListEnd(); } @@ -62549,9 +62629,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter649 : struct.part_vals) + for (String _iter665 : struct.part_vals) { - oprot.writeString(_iter649); + oprot.writeString(_iter665); } oprot.writeListEnd(); } @@ -62600,9 +62680,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter650 : struct.part_vals) + for (String _iter666 : struct.part_vals) { - oprot.writeString(_iter650); + oprot.writeString(_iter666); } } } @@ -62625,13 +62705,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list651 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list651.size); - for (int _i652 = 0; _i652 < _list651.size; ++_i652) + org.apache.thrift.protocol.TList _list667 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list667.size); + for (int _i668 = 0; _i668 < _list667.size; ++_i668) { - String _elem653; // optional - _elem653 = iprot.readString(); - struct.part_vals.add(_elem653); + String _elem669; // required + _elem669 = iprot.readString(); + struct.part_vals.add(_elem669); } } struct.setPart_valsIsSet(true); @@ -63122,13 +63202,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list654 = iprot.readListBegin(); - struct.success = new ArrayList(_list654.size); - for (int _i655 = 0; _i655 < _list654.size; ++_i655) + org.apache.thrift.protocol.TList _list670 = iprot.readListBegin(); + struct.success = new ArrayList(_list670.size); + for (int _i671 = 0; _i671 < _list670.size; ++_i671) { - String _elem656; // optional - _elem656 = iprot.readString(); - struct.success.add(_elem656); + String _elem672; // required + _elem672 = iprot.readString(); + struct.success.add(_elem672); } iprot.readListEnd(); } @@ -63172,9 +63252,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter657 : struct.success) + for (String _iter673 : struct.success) { - oprot.writeString(_iter657); + oprot.writeString(_iter673); } oprot.writeListEnd(); } @@ -63221,9 +63301,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter658 : struct.success) + for (String _iter674 : struct.success) { - oprot.writeString(_iter658); + oprot.writeString(_iter674); } } } @@ -63241,13 +63321,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list659 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = 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.success = new ArrayList(_list675.size); + for (int _i676 = 0; _i676 < _list675.size; ++_i676) { - String _elem661; // optional - _elem661 = iprot.readString(); - struct.success.add(_elem661); + String _elem677; // required + _elem677 = iprot.readString(); + struct.success.add(_elem677); } } struct.setSuccessIsSet(true); @@ -64414,14 +64494,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_f case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _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) { - Partition _elem664; // optional - _elem664 = new Partition(); - _elem664.read(iprot); - struct.success.add(_elem664); + Partition _elem680; // required + _elem680 = new Partition(); + _elem680.read(iprot); + struct.success.add(_elem680); } iprot.readListEnd(); } @@ -64465,9 +64545,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter665 : struct.success) + for (Partition _iter681 : struct.success) { - _iter665.write(oprot); + _iter681.write(oprot); } oprot.writeListEnd(); } @@ -64514,9 +64594,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter666 : struct.success) + for (Partition _iter682 : struct.success) { - _iter666.write(oprot); + _iter682.write(oprot); } } } @@ -64534,14 +64614,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_fi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _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) + org.apache.thrift.protocol.TList _list683 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list683.size); + for (int _i684 = 0; _i684 < _list683.size; ++_i684) { - Partition _elem669; // optional - _elem669 = new Partition(); - _elem669.read(iprot); - struct.success.add(_elem669); + Partition _elem685; // required + _elem685 = new Partition(); + _elem685.read(iprot); + struct.success.add(_elem685); } } struct.setSuccessIsSet(true); @@ -65992,13 +66072,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_n case 3: // NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list670 = iprot.readListBegin(); - struct.names = new ArrayList(_list670.size); - for (int _i671 = 0; _i671 < _list670.size; ++_i671) + org.apache.thrift.protocol.TList _list686 = iprot.readListBegin(); + struct.names = new ArrayList(_list686.size); + for (int _i687 = 0; _i687 < _list686.size; ++_i687) { - String _elem672; // optional - _elem672 = iprot.readString(); - struct.names.add(_elem672); + String _elem688; // required + _elem688 = iprot.readString(); + struct.names.add(_elem688); } iprot.readListEnd(); } @@ -66034,9 +66114,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.names.size())); - for (String _iter673 : struct.names) + for (String _iter689 : struct.names) { - oprot.writeString(_iter673); + oprot.writeString(_iter689); } oprot.writeListEnd(); } @@ -66079,9 +66159,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter674 : struct.names) + for (String _iter690 : struct.names) { - oprot.writeString(_iter674); + oprot.writeString(_iter690); } } } @@ -66101,13 +66181,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list675 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = 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.STRING, iprot.readI32()); + struct.names = new ArrayList(_list691.size); + for (int _i692 = 0; _i692 < _list691.size; ++_i692) { - String _elem677; // optional - _elem677 = iprot.readString(); - struct.names.add(_elem677); + String _elem693; // required + _elem693 = iprot.readString(); + struct.names.add(_elem693); } } struct.setNamesIsSet(true); @@ -66594,14 +66674,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_n case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list678 = iprot.readListBegin(); - struct.success = new ArrayList(_list678.size); - for (int _i679 = 0; _i679 < _list678.size; ++_i679) + org.apache.thrift.protocol.TList _list694 = iprot.readListBegin(); + struct.success = new ArrayList(_list694.size); + for (int _i695 = 0; _i695 < _list694.size; ++_i695) { - Partition _elem680; // optional - _elem680 = new Partition(); - _elem680.read(iprot); - struct.success.add(_elem680); + Partition _elem696; // required + _elem696 = new Partition(); + _elem696.read(iprot); + struct.success.add(_elem696); } iprot.readListEnd(); } @@ -66645,9 +66725,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter681 : struct.success) + for (Partition _iter697 : struct.success) { - _iter681.write(oprot); + _iter697.write(oprot); } oprot.writeListEnd(); } @@ -66694,9 +66774,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter682 : struct.success) + for (Partition _iter698 : struct.success) { - _iter682.write(oprot); + _iter698.write(oprot); } } } @@ -66714,14 +66794,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list683 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list683.size); - for (int _i684 = 0; _i684 < _list683.size; ++_i684) + org.apache.thrift.protocol.TList _list699 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list699.size); + for (int _i700 = 0; _i700 < _list699.size; ++_i700) { - Partition _elem685; // optional - _elem685 = new Partition(); - _elem685.read(iprot); - struct.success.add(_elem685); + Partition _elem701; // required + _elem701 = new Partition(); + _elem701.read(iprot); + struct.success.add(_elem701); } } struct.setSuccessIsSet(true); @@ -68271,14 +68351,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, alter_partitions_ar case 3: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list686 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list686.size); - for (int _i687 = 0; _i687 < _list686.size; ++_i687) + org.apache.thrift.protocol.TList _list702 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list702.size); + for (int _i703 = 0; _i703 < _list702.size; ++_i703) { - Partition _elem688; // optional - _elem688 = new Partition(); - _elem688.read(iprot); - struct.new_parts.add(_elem688); + Partition _elem704; // required + _elem704 = new Partition(); + _elem704.read(iprot); + struct.new_parts.add(_elem704); } iprot.readListEnd(); } @@ -68314,9 +68394,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, alter_partitions_a oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (Partition _iter689 : struct.new_parts) + for (Partition _iter705 : struct.new_parts) { - _iter689.write(oprot); + _iter705.write(oprot); } oprot.writeListEnd(); } @@ -68359,9 +68439,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, alter_partitions_ar if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter690 : struct.new_parts) + for (Partition _iter706 : struct.new_parts) { - _iter690.write(oprot); + _iter706.write(oprot); } } } @@ -68381,14 +68461,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list691 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = 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.new_parts = new ArrayList(_list707.size); + for (int _i708 = 0; _i708 < _list707.size; ++_i708) { - Partition _elem693; // optional - _elem693 = new Partition(); - _elem693.read(iprot); - struct.new_parts.add(_elem693); + Partition _elem709; // required + _elem709 = new Partition(); + _elem709.read(iprot); + struct.new_parts.add(_elem709); } } struct.setNew_partsIsSet(true); @@ -70587,13 +70667,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, rename_partition_ar case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list694 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list694.size); - for (int _i695 = 0; _i695 < _list694.size; ++_i695) + org.apache.thrift.protocol.TList _list710 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list710.size); + for (int _i711 = 0; _i711 < _list710.size; ++_i711) { - String _elem696; // optional - _elem696 = iprot.readString(); - struct.part_vals.add(_elem696); + String _elem712; // required + _elem712 = iprot.readString(); + struct.part_vals.add(_elem712); } iprot.readListEnd(); } @@ -70638,9 +70718,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, rename_partition_a oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter697 : struct.part_vals) + for (String _iter713 : struct.part_vals) { - oprot.writeString(_iter697); + oprot.writeString(_iter713); } oprot.writeListEnd(); } @@ -70691,9 +70771,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, rename_partition_ar if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter698 : struct.part_vals) + for (String _iter714 : struct.part_vals) { - oprot.writeString(_iter698); + oprot.writeString(_iter714); } } } @@ -70716,13 +70796,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list699 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = 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.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list715.size); + for (int _i716 = 0; _i716 < _list715.size; ++_i716) { - String _elem701; // optional - _elem701 = iprot.readString(); - struct.part_vals.add(_elem701); + String _elem717; // required + _elem717 = iprot.readString(); + struct.part_vals.add(_elem717); } } struct.setPart_valsIsSet(true); @@ -71599,13 +71679,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_has_ case 1: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _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(); } @@ -71639,9 +71719,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_has oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter705 : struct.part_vals) + for (String _iter721 : struct.part_vals) { - oprot.writeString(_iter705); + oprot.writeString(_iter721); } oprot.writeListEnd(); } @@ -71678,9 +71758,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_has_ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter706 : struct.part_vals) + for (String _iter722 : struct.part_vals) { - oprot.writeString(_iter706); + oprot.writeString(_iter722); } } } @@ -71695,13 +71775,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_has_v BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _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); @@ -73859,13 +73939,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_v case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list710 = iprot.readListBegin(); - struct.success = new ArrayList(_list710.size); - for (int _i711 = 0; _i711 < _list710.size; ++_i711) + org.apache.thrift.protocol.TList _list726 = iprot.readListBegin(); + struct.success = new ArrayList(_list726.size); + for (int _i727 = 0; _i727 < _list726.size; ++_i727) { - String _elem712; // optional - _elem712 = iprot.readString(); - struct.success.add(_elem712); + String _elem728; // required + _elem728 = iprot.readString(); + struct.success.add(_elem728); } iprot.readListEnd(); } @@ -73900,9 +73980,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter713 : struct.success) + for (String _iter729 : struct.success) { - oprot.writeString(_iter713); + oprot.writeString(_iter729); } oprot.writeListEnd(); } @@ -73941,9 +74021,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter714 : struct.success) + for (String _iter730 : struct.success) { - oprot.writeString(_iter714); + oprot.writeString(_iter730); } } } @@ -73958,13 +74038,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_va BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list715 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = 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.success = new ArrayList(_list731.size); + for (int _i732 = 0; _i732 < _list731.size; ++_i732) { - String _elem717; // optional - _elem717 = iprot.readString(); - struct.success.add(_elem717); + String _elem733; // required + _elem733 = iprot.readString(); + struct.success.add(_elem733); } } struct.setSuccessIsSet(true); @@ -74738,15 +74818,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map718 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map718.size); - for (int _i719 = 0; _i719 < _map718.size; ++_i719) + org.apache.thrift.protocol.TMap _map734 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map734.size); + for (int _i735 = 0; _i735 < _map734.size; ++_i735) { - String _key720; // required - String _val721; // required - _key720 = iprot.readString(); - _val721 = iprot.readString(); - struct.success.put(_key720, _val721); + String _key736; // required + String _val737; // required + _key736 = iprot.readString(); + _val737 = iprot.readString(); + struct.success.put(_key736, _val737); } iprot.readMapEnd(); } @@ -74781,10 +74861,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (Map.Entry _iter722 : struct.success.entrySet()) + for (Map.Entry _iter738 : struct.success.entrySet()) { - oprot.writeString(_iter722.getKey()); - oprot.writeString(_iter722.getValue()); + oprot.writeString(_iter738.getKey()); + oprot.writeString(_iter738.getValue()); } oprot.writeMapEnd(); } @@ -74823,10 +74903,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter723 : struct.success.entrySet()) + for (Map.Entry _iter739 : struct.success.entrySet()) { - oprot.writeString(_iter723.getKey()); - oprot.writeString(_iter723.getValue()); + oprot.writeString(_iter739.getKey()); + oprot.writeString(_iter739.getValue()); } } } @@ -74841,15 +74921,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_sp BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map724 = 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*_map724.size); - for (int _i725 = 0; _i725 < _map724.size; ++_i725) + org.apache.thrift.protocol.TMap _map740 = 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*_map740.size); + for (int _i741 = 0; _i741 < _map740.size; ++_i741) { - String _key726; // required - String _val727; // required - _key726 = iprot.readString(); - _val727 = iprot.readString(); - struct.success.put(_key726, _val727); + String _key742; // required + String _val743; // required + _key742 = iprot.readString(); + _val743 = iprot.readString(); + struct.success.put(_key742, _val743); } } struct.setSuccessIsSet(true); @@ -75455,15 +75535,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, markPartitionForEve case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map728 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map728.size); - for (int _i729 = 0; _i729 < _map728.size; ++_i729) + org.apache.thrift.protocol.TMap _map744 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map744.size); + for (int _i745 = 0; _i745 < _map744.size; ++_i745) { - String _key730; // required - String _val731; // required - _key730 = iprot.readString(); - _val731 = iprot.readString(); - struct.part_vals.put(_key730, _val731); + String _key746; // required + String _val747; // required + _key746 = iprot.readString(); + _val747 = iprot.readString(); + struct.part_vals.put(_key746, _val747); } iprot.readMapEnd(); } @@ -75507,10 +75587,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, markPartitionForEv oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (Map.Entry _iter732 : struct.part_vals.entrySet()) + for (Map.Entry _iter748 : struct.part_vals.entrySet()) { - oprot.writeString(_iter732.getKey()); - oprot.writeString(_iter732.getValue()); + oprot.writeString(_iter748.getKey()); + oprot.writeString(_iter748.getValue()); } oprot.writeMapEnd(); } @@ -75561,10 +75641,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter733 : struct.part_vals.entrySet()) + for (Map.Entry _iter749 : struct.part_vals.entrySet()) { - oprot.writeString(_iter733.getKey()); - oprot.writeString(_iter733.getValue()); + oprot.writeString(_iter749.getKey()); + oprot.writeString(_iter749.getValue()); } } } @@ -75587,15 +75667,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map734 = 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*_map734.size); - for (int _i735 = 0; _i735 < _map734.size; ++_i735) + org.apache.thrift.protocol.TMap _map750 = 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*_map750.size); + for (int _i751 = 0; _i751 < _map750.size; ++_i751) { - String _key736; // required - String _val737; // required - _key736 = iprot.readString(); - _val737 = iprot.readString(); - struct.part_vals.put(_key736, _val737); + String _key752; // required + String _val753; // required + _key752 = iprot.readString(); + _val753 = iprot.readString(); + struct.part_vals.put(_key752, _val753); } } struct.setPart_valsIsSet(true); @@ -77090,15 +77170,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, isPartitionMarkedFo case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map738 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map738.size); - for (int _i739 = 0; _i739 < _map738.size; ++_i739) + org.apache.thrift.protocol.TMap _map754 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map754.size); + for (int _i755 = 0; _i755 < _map754.size; ++_i755) { - String _key740; // required - String _val741; // required - _key740 = iprot.readString(); - _val741 = iprot.readString(); - struct.part_vals.put(_key740, _val741); + String _key756; // required + String _val757; // required + _key756 = iprot.readString(); + _val757 = iprot.readString(); + struct.part_vals.put(_key756, _val757); } iprot.readMapEnd(); } @@ -77142,10 +77222,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, isPartitionMarkedF oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (Map.Entry _iter742 : struct.part_vals.entrySet()) + for (Map.Entry _iter758 : struct.part_vals.entrySet()) { - oprot.writeString(_iter742.getKey()); - oprot.writeString(_iter742.getValue()); + oprot.writeString(_iter758.getKey()); + oprot.writeString(_iter758.getValue()); } oprot.writeMapEnd(); } @@ -77196,10 +77276,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter743 : struct.part_vals.entrySet()) + for (Map.Entry _iter759 : struct.part_vals.entrySet()) { - oprot.writeString(_iter743.getKey()); - oprot.writeString(_iter743.getValue()); + oprot.writeString(_iter759.getKey()); + oprot.writeString(_iter759.getValue()); } } } @@ -77222,15 +77302,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map744 = 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*_map744.size); - for (int _i745 = 0; _i745 < _map744.size; ++_i745) + org.apache.thrift.protocol.TMap _map760 = 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*_map760.size); + for (int _i761 = 0; _i761 < _map760.size; ++_i761) { - String _key746; // required - String _val747; // required - _key746 = iprot.readString(); - _val747 = iprot.readString(); - struct.part_vals.put(_key746, _val747); + String _key762; // required + String _val763; // required + _key762 = iprot.readString(); + _val763 = iprot.readString(); + struct.part_vals.put(_key762, _val763); } } struct.setPart_valsIsSet(true); @@ -83954,14 +84034,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_indexes_result case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list748 = iprot.readListBegin(); - struct.success = new ArrayList(_list748.size); - for (int _i749 = 0; _i749 < _list748.size; ++_i749) + org.apache.thrift.protocol.TList _list764 = iprot.readListBegin(); + struct.success = new ArrayList(_list764.size); + for (int _i765 = 0; _i765 < _list764.size; ++_i765) { - Index _elem750; // optional - _elem750 = new Index(); - _elem750.read(iprot); - struct.success.add(_elem750); + Index _elem766; // required + _elem766 = new Index(); + _elem766.read(iprot); + struct.success.add(_elem766); } iprot.readListEnd(); } @@ -84005,9 +84085,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_indexes_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Index _iter751 : struct.success) + for (Index _iter767 : struct.success) { - _iter751.write(oprot); + _iter767.write(oprot); } oprot.writeListEnd(); } @@ -84054,9 +84134,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_indexes_result if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Index _iter752 : struct.success) + for (Index _iter768 : struct.success) { - _iter752.write(oprot); + _iter768.write(oprot); } } } @@ -84074,14 +84154,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_indexes_result s BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list753 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list753.size); - for (int _i754 = 0; _i754 < _list753.size; ++_i754) + org.apache.thrift.protocol.TList _list769 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list769.size); + for (int _i770 = 0; _i770 < _list769.size; ++_i770) { - Index _elem755; // optional - _elem755 = new Index(); - _elem755.read(iprot); - struct.success.add(_elem755); + Index _elem771; // required + _elem771 = new Index(); + _elem771.read(iprot); + struct.success.add(_elem771); } } struct.setSuccessIsSet(true); @@ -85063,13 +85143,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_names_res case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _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) { - String _elem758; // optional - _elem758 = iprot.readString(); - struct.success.add(_elem758); + String _elem774; // required + _elem774 = iprot.readString(); + struct.success.add(_elem774); } iprot.readListEnd(); } @@ -85104,9 +85184,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_index_names_re oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter759 : struct.success) + for (String _iter775 : struct.success) { - oprot.writeString(_iter759); + oprot.writeString(_iter775); } oprot.writeListEnd(); } @@ -85145,9 +85225,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_index_names_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter760 : struct.success) + for (String _iter776 : struct.success) { - oprot.writeString(_iter760); + oprot.writeString(_iter776); } } } @@ -85162,13 +85242,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_index_names_resu BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list761 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, 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.STRING, iprot.readI32()); + struct.success = new ArrayList(_list777.size); + for (int _i778 = 0; _i778 < _list777.size; ++_i778) { - String _elem763; // optional - _elem763 = iprot.readString(); - struct.success.add(_elem763); + String _elem779; // required + _elem779 = iprot.readString(); + struct.success.add(_elem779); } } struct.setSuccessIsSet(true); @@ -98823,13 +98903,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_functions_resul case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _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(); } @@ -98864,9 +98944,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_functions_resu oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter767 : struct.success) + for (String _iter783 : struct.success) { - oprot.writeString(_iter767); + oprot.writeString(_iter783); } oprot.writeListEnd(); } @@ -98905,9 +98985,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter768 : struct.success) + for (String _iter784 : struct.success) { - oprot.writeString(_iter768); + oprot.writeString(_iter784); } } } @@ -98922,13 +99002,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_functions_result BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _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); @@ -102271,13 +102351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_role_names_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _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(); } @@ -102312,9 +102392,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_role_names_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter775 : struct.success) + for (String _iter791 : struct.success) { - oprot.writeString(_iter775); + oprot.writeString(_iter791); } oprot.writeListEnd(); } @@ -102353,9 +102433,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter776 : struct.success) + for (String _iter792 : struct.success) { - oprot.writeString(_iter776); + oprot.writeString(_iter792); } } } @@ -102370,13 +102450,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_role_names_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _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); @@ -105667,14 +105747,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, list_roles_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _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) { - Role _elem782; // optional - _elem782 = new Role(); - _elem782.read(iprot); - struct.success.add(_elem782); + Role _elem798; // required + _elem798 = new Role(); + _elem798.read(iprot); + struct.success.add(_elem798); } iprot.readListEnd(); } @@ -105709,9 +105789,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, list_roles_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Role _iter783 : struct.success) + for (Role _iter799 : struct.success) { - _iter783.write(oprot); + _iter799.write(oprot); } oprot.writeListEnd(); } @@ -105750,9 +105830,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter784 : struct.success) + for (Role _iter800 : struct.success) { - _iter784.write(oprot); + _iter800.write(oprot); } } } @@ -105767,14 +105847,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_roles_result st BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list785 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list785.size); - for (int _i786 = 0; _i786 < _list785.size; ++_i786) + org.apache.thrift.protocol.TList _list801 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list801.size); + for (int _i802 = 0; _i802 < _list801.size; ++_i802) { - Role _elem787; // optional - _elem787 = new Role(); - _elem787.read(iprot); - struct.success.add(_elem787); + Role _elem803; // required + _elem803 = new Role(); + _elem803.read(iprot); + struct.success.add(_elem803); } } struct.setSuccessIsSet(true); @@ -107118,13 +107198,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_privilege_set_a case 3: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list788 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list788.size); - for (int _i789 = 0; _i789 < _list788.size; ++_i789) + org.apache.thrift.protocol.TList _list804 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list804.size); + for (int _i805 = 0; _i805 < _list804.size; ++_i805) { - String _elem790; // optional - _elem790 = iprot.readString(); - struct.group_names.add(_elem790); + String _elem806; // required + _elem806 = iprot.readString(); + struct.group_names.add(_elem806); } iprot.readListEnd(); } @@ -107160,9 +107240,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_privilege_set_ oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter791 : struct.group_names) + for (String _iter807 : struct.group_names) { - oprot.writeString(_iter791); + oprot.writeString(_iter807); } oprot.writeListEnd(); } @@ -107205,9 +107285,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_a if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter792 : struct.group_names) + for (String _iter808 : struct.group_names) { - oprot.writeString(_iter792); + oprot.writeString(_iter808); } } } @@ -107228,13 +107308,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list793 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = 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.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list809.size); + for (int _i810 = 0; _i810 < _list809.size; ++_i810) { - String _elem795; // optional - _elem795 = iprot.readString(); - struct.group_names.add(_elem795); + String _elem811; // required + _elem811 = iprot.readString(); + struct.group_names.add(_elem811); } } struct.setGroup_namesIsSet(true); @@ -108692,14 +108772,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, list_privileges_res case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list796 = iprot.readListBegin(); - struct.success = new ArrayList(_list796.size); - for (int _i797 = 0; _i797 < _list796.size; ++_i797) + org.apache.thrift.protocol.TList _list812 = iprot.readListBegin(); + struct.success = new ArrayList(_list812.size); + for (int _i813 = 0; _i813 < _list812.size; ++_i813) { - HiveObjectPrivilege _elem798; // optional - _elem798 = new HiveObjectPrivilege(); - _elem798.read(iprot); - struct.success.add(_elem798); + HiveObjectPrivilege _elem814; // required + _elem814 = new HiveObjectPrivilege(); + _elem814.read(iprot); + struct.success.add(_elem814); } iprot.readListEnd(); } @@ -108734,9 +108814,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, list_privileges_re oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (HiveObjectPrivilege _iter799 : struct.success) + for (HiveObjectPrivilege _iter815 : struct.success) { - _iter799.write(oprot); + _iter815.write(oprot); } oprot.writeListEnd(); } @@ -108775,9 +108855,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter800 : struct.success) + for (HiveObjectPrivilege _iter816 : struct.success) { - _iter800.write(oprot); + _iter816.write(oprot); } } } @@ -108792,14 +108872,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_privileges_resu BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list801 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = 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.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list817.size); + for (int _i818 = 0; _i818 < _list817.size; ++_i818) { - HiveObjectPrivilege _elem803; // optional - _elem803 = new HiveObjectPrivilege(); - _elem803.read(iprot); - struct.success.add(_elem803); + HiveObjectPrivilege _elem819; // required + _elem819 = new HiveObjectPrivilege(); + _elem819.read(iprot); + struct.success.add(_elem819); } } struct.setSuccessIsSet(true); @@ -110872,13 +110952,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, set_ugi_args struct case 2: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list804 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list804.size); - for (int _i805 = 0; _i805 < _list804.size; ++_i805) + org.apache.thrift.protocol.TList _list820 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list820.size); + for (int _i821 = 0; _i821 < _list820.size; ++_i821) { - String _elem806; // optional - _elem806 = iprot.readString(); - struct.group_names.add(_elem806); + String _elem822; // required + _elem822 = iprot.readString(); + struct.group_names.add(_elem822); } iprot.readListEnd(); } @@ -110909,9 +110989,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, set_ugi_args struc oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter807 : struct.group_names) + for (String _iter823 : struct.group_names) { - oprot.writeString(_iter807); + oprot.writeString(_iter823); } oprot.writeListEnd(); } @@ -110948,9 +111028,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter808 : struct.group_names) + for (String _iter824 : struct.group_names) { - oprot.writeString(_iter808); + oprot.writeString(_iter824); } } } @@ -110966,13 +111046,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list809 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = 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.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list825.size); + for (int _i826 = 0; _i826 < _list825.size; ++_i826) { - String _elem811; // optional - _elem811 = iprot.readString(); - struct.group_names.add(_elem811); + String _elem827; // required + _elem827 = iprot.readString(); + struct.group_names.add(_elem827); } } struct.setGroup_namesIsSet(true); @@ -111378,13 +111458,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, set_ugi_result stru case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list812 = iprot.readListBegin(); - struct.success = new ArrayList(_list812.size); - for (int _i813 = 0; _i813 < _list812.size; ++_i813) + org.apache.thrift.protocol.TList _list828 = iprot.readListBegin(); + struct.success = new ArrayList(_list828.size); + for (int _i829 = 0; _i829 < _list828.size; ++_i829) { - String _elem814; // optional - _elem814 = iprot.readString(); - struct.success.add(_elem814); + String _elem830; // required + _elem830 = iprot.readString(); + struct.success.add(_elem830); } iprot.readListEnd(); } @@ -111419,9 +111499,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, set_ugi_result str oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter815 : struct.success) + for (String _iter831 : struct.success) { - oprot.writeString(_iter815); + oprot.writeString(_iter831); } oprot.writeListEnd(); } @@ -111460,9 +111540,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter816 : struct.success) + for (String _iter832 : struct.success) { - oprot.writeString(_iter816); + oprot.writeString(_iter832); } } } @@ -111477,13 +111557,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_result struc BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list817 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list817.size); - for (int _i818 = 0; _i818 < _list817.size; ++_i818) + org.apache.thrift.protocol.TList _list833 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list833.size); + for (int _i834 = 0; _i834 < _list833.size; ++_i834) { - String _elem819; // optional - _elem819 = iprot.readString(); - struct.success.add(_elem819); + String _elem835; // required + _elem835 = iprot.readString(); + struct.success.add(_elem835); } } struct.setSuccessIsSet(true); @@ -121932,6 +122012,732 @@ public void read(org.apache.thrift.protocol.TProtocol prot, heartbeat_result str } + 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"); diff --git 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 index 1882b57..bb81e3c 100644 --- 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 @@ -618,7 +618,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Type struct) throws 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 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Type struct) throws 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); diff --git metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php index 32ce246..21f71cd 100644 --- metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -119,6 +119,7 @@ interface ThriftHiveMetastoreIf extends \FacebookServiceIf { 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); } @@ -6098,6 +6099,57 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas 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); @@ -6947,14 +6999,14 @@ class ThriftHiveMetastore_get_databases_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $xfer += $input->readString($elem375); - $this->success []= $elem375; + $elem391 = null; + $xfer += $input->readString($elem391); + $this->success []= $elem391; } $xfer += $input->readListEnd(); } else { @@ -6990,9 +7042,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter376) + foreach ($this->success as $iter392) { - $xfer += $output->writeString($iter376); + $xfer += $output->writeString($iter392); } } $output->writeListEnd(); @@ -7117,14 +7169,14 @@ class ThriftHiveMetastore_get_all_databases_result { 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 { @@ -7160,9 +7212,9 @@ class ThriftHiveMetastore_get_all_databases_result { { $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(); @@ -8103,18 +8155,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size384 = 0; - $_ktype385 = 0; - $_vtype386 = 0; - $xfer += $input->readMapBegin($_ktype385, $_vtype386, $_size384); - for ($_i388 = 0; $_i388 < $_size384; ++$_i388) + $_size400 = 0; + $_ktype401 = 0; + $_vtype402 = 0; + $xfer += $input->readMapBegin($_ktype401, $_vtype402, $_size400); + for ($_i404 = 0; $_i404 < $_size400; ++$_i404) { - $key389 = ''; - $val390 = new \metastore\Type(); - $xfer += $input->readString($key389); - $val390 = new \metastore\Type(); - $xfer += $val390->read($input); - $this->success[$key389] = $val390; + $key405 = ''; + $val406 = new \metastore\Type(); + $xfer += $input->readString($key405); + $val406 = new \metastore\Type(); + $xfer += $val406->read($input); + $this->success[$key405] = $val406; } $xfer += $input->readMapEnd(); } else { @@ -8150,10 +8202,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter391 => $viter392) + foreach ($this->success as $kiter407 => $viter408) { - $xfer += $output->writeString($kiter391); - $xfer += $viter392->write($output); + $xfer += $output->writeString($kiter407); + $xfer += $viter408->write($output); } } $output->writeMapEnd(); @@ -8339,15 +8391,15 @@ class ThriftHiveMetastore_get_fields_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size393 = 0; - $_etype396 = 0; - $xfer += $input->readListBegin($_etype396, $_size393); - for ($_i397 = 0; $_i397 < $_size393; ++$_i397) + $_size409 = 0; + $_etype412 = 0; + $xfer += $input->readListBegin($_etype412, $_size409); + for ($_i413 = 0; $_i413 < $_size409; ++$_i413) { - $elem398 = null; - $elem398 = new \metastore\FieldSchema(); - $xfer += $elem398->read($input); - $this->success []= $elem398; + $elem414 = null; + $elem414 = new \metastore\FieldSchema(); + $xfer += $elem414->read($input); + $this->success []= $elem414; } $xfer += $input->readListEnd(); } else { @@ -8399,9 +8451,9 @@ class ThriftHiveMetastore_get_fields_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter399) + foreach ($this->success as $iter415) { - $xfer += $iter399->write($output); + $xfer += $iter415->write($output); } } $output->writeListEnd(); @@ -8597,15 +8649,15 @@ class ThriftHiveMetastore_get_schema_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size400 = 0; - $_etype403 = 0; - $xfer += $input->readListBegin($_etype403, $_size400); - for ($_i404 = 0; $_i404 < $_size400; ++$_i404) + $_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 { @@ -8657,9 +8709,9 @@ class ThriftHiveMetastore_get_schema_result { { $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(); @@ -9736,14 +9788,14 @@ class ThriftHiveMetastore_get_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size407 = 0; - $_etype410 = 0; - $xfer += $input->readListBegin($_etype410, $_size407); - for ($_i411 = 0; $_i411 < $_size407; ++$_i411) + $_size423 = 0; + $_etype426 = 0; + $xfer += $input->readListBegin($_etype426, $_size423); + for ($_i427 = 0; $_i427 < $_size423; ++$_i427) { - $elem412 = null; - $xfer += $input->readString($elem412); - $this->success []= $elem412; + $elem428 = null; + $xfer += $input->readString($elem428); + $this->success []= $elem428; } $xfer += $input->readListEnd(); } else { @@ -9779,9 +9831,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter413) + foreach ($this->success as $iter429) { - $xfer += $output->writeString($iter413); + $xfer += $output->writeString($iter429); } } $output->writeListEnd(); @@ -9928,14 +9980,14 @@ class ThriftHiveMetastore_get_all_tables_result { 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 { @@ -9971,9 +10023,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $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(); @@ -10267,14 +10319,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = 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->tbl_names []= $elem426; + $elem442 = null; + $xfer += $input->readString($elem442); + $this->tbl_names []= $elem442; } $xfer += $input->readListEnd(); } else { @@ -10307,9 +10359,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter427) + foreach ($this->tbl_names as $iter443) { - $xfer += $output->writeString($iter427); + $xfer += $output->writeString($iter443); } } $output->writeListEnd(); @@ -10398,15 +10450,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $elem433 = new \metastore\Table(); - $xfer += $elem433->read($input); - $this->success []= $elem433; + $elem449 = null; + $elem449 = new \metastore\Table(); + $xfer += $elem449->read($input); + $this->success []= $elem449; } $xfer += $input->readListEnd(); } else { @@ -10458,9 +10510,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter434) + foreach ($this->success as $iter450) { - $xfer += $iter434->write($output); + $xfer += $iter450->write($output); } } $output->writeListEnd(); @@ -10675,14 +10727,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { 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; - $xfer += $input->readString($elem440); - $this->success []= $elem440; + $elem456 = null; + $xfer += $input->readString($elem456); + $this->success []= $elem456; } $xfer += $input->readListEnd(); } else { @@ -10734,9 +10786,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter441) + foreach ($this->success as $iter457) { - $xfer += $output->writeString($iter441); + $xfer += $output->writeString($iter457); } } $output->writeListEnd(); @@ -11729,15 +11781,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = 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; - $elem447 = new \metastore\Partition(); - $xfer += $elem447->read($input); - $this->new_parts []= $elem447; + $elem463 = null; + $elem463 = new \metastore\Partition(); + $xfer += $elem463->read($input); + $this->new_parts []= $elem463; } $xfer += $input->readListEnd(); } else { @@ -11765,9 +11817,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter448) + foreach ($this->new_parts as $iter464) { - $xfer += $iter448->write($output); + $xfer += $iter464->write($output); } } $output->writeListEnd(); @@ -11996,14 +12048,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = 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; - $xfer += $input->readString($elem454); - $this->part_vals []= $elem454; + $elem470 = null; + $xfer += $input->readString($elem470); + $this->part_vals []= $elem470; } $xfer += $input->readListEnd(); } else { @@ -12041,9 +12093,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter455) + foreach ($this->part_vals as $iter471) { - $xfer += $output->writeString($iter455); + $xfer += $output->writeString($iter471); } } $output->writeListEnd(); @@ -12506,14 +12558,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { 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 { @@ -12559,9 +12611,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { { $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(); @@ -13346,14 +13398,14 @@ class ThriftHiveMetastore_drop_partition_args { 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 { @@ -13398,9 +13450,9 @@ class ThriftHiveMetastore_drop_partition_args { { $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(); @@ -13629,14 +13681,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { 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 { @@ -13689,9 +13741,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $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(); @@ -14630,14 +14682,14 @@ class ThriftHiveMetastore_get_partition_args { 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 { @@ -14675,9 +14727,9 @@ class ThriftHiveMetastore_get_partition_args { { $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(); @@ -14895,17 +14947,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size484 = 0; - $_ktype485 = 0; - $_vtype486 = 0; - $xfer += $input->readMapBegin($_ktype485, $_vtype486, $_size484); - for ($_i488 = 0; $_i488 < $_size484; ++$_i488) + $_size500 = 0; + $_ktype501 = 0; + $_vtype502 = 0; + $xfer += $input->readMapBegin($_ktype501, $_vtype502, $_size500); + for ($_i504 = 0; $_i504 < $_size500; ++$_i504) { - $key489 = ''; - $val490 = ''; - $xfer += $input->readString($key489); - $xfer += $input->readString($val490); - $this->partitionSpecs[$key489] = $val490; + $key505 = ''; + $val506 = ''; + $xfer += $input->readString($key505); + $xfer += $input->readString($val506); + $this->partitionSpecs[$key505] = $val506; } $xfer += $input->readMapEnd(); } else { @@ -14961,10 +15013,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter491 => $viter492) + foreach ($this->partitionSpecs as $kiter507 => $viter508) { - $xfer += $output->writeString($kiter491); - $xfer += $output->writeString($viter492); + $xfer += $output->writeString($kiter507); + $xfer += $output->writeString($viter508); } } $output->writeMapEnd(); @@ -15260,14 +15312,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size493 = 0; - $_etype496 = 0; - $xfer += $input->readListBegin($_etype496, $_size493); - for ($_i497 = 0; $_i497 < $_size493; ++$_i497) + $_size509 = 0; + $_etype512 = 0; + $xfer += $input->readListBegin($_etype512, $_size509); + for ($_i513 = 0; $_i513 < $_size509; ++$_i513) { - $elem498 = null; - $xfer += $input->readString($elem498); - $this->part_vals []= $elem498; + $elem514 = null; + $xfer += $input->readString($elem514); + $this->part_vals []= $elem514; } $xfer += $input->readListEnd(); } else { @@ -15284,14 +15336,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size499 = 0; - $_etype502 = 0; - $xfer += $input->readListBegin($_etype502, $_size499); - for ($_i503 = 0; $_i503 < $_size499; ++$_i503) + $_size515 = 0; + $_etype518 = 0; + $xfer += $input->readListBegin($_etype518, $_size515); + for ($_i519 = 0; $_i519 < $_size515; ++$_i519) { - $elem504 = null; - $xfer += $input->readString($elem504); - $this->group_names []= $elem504; + $elem520 = null; + $xfer += $input->readString($elem520); + $this->group_names []= $elem520; } $xfer += $input->readListEnd(); } else { @@ -15329,9 +15381,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter505) + foreach ($this->part_vals as $iter521) { - $xfer += $output->writeString($iter505); + $xfer += $output->writeString($iter521); } } $output->writeListEnd(); @@ -15351,9 +15403,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter506) + foreach ($this->group_names as $iter522) { - $xfer += $output->writeString($iter506); + $xfer += $output->writeString($iter522); } } $output->writeListEnd(); @@ -15899,15 +15951,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size507 = 0; - $_etype510 = 0; - $xfer += $input->readListBegin($_etype510, $_size507); - for ($_i511 = 0; $_i511 < $_size507; ++$_i511) + $_size523 = 0; + $_etype526 = 0; + $xfer += $input->readListBegin($_etype526, $_size523); + for ($_i527 = 0; $_i527 < $_size523; ++$_i527) { - $elem512 = null; - $elem512 = new \metastore\Partition(); - $xfer += $elem512->read($input); - $this->success []= $elem512; + $elem528 = null; + $elem528 = new \metastore\Partition(); + $xfer += $elem528->read($input); + $this->success []= $elem528; } $xfer += $input->readListEnd(); } else { @@ -15951,9 +16003,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter513) + foreach ($this->success as $iter529) { - $xfer += $iter513->write($output); + $xfer += $iter529->write($output); } } $output->writeListEnd(); @@ -16084,14 +16136,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = 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; - $xfer += $input->readString($elem519); - $this->group_names []= $elem519; + $elem535 = null; + $xfer += $input->readString($elem535); + $this->group_names []= $elem535; } $xfer += $input->readListEnd(); } else { @@ -16139,9 +16191,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter520) + foreach ($this->group_names as $iter536) { - $xfer += $output->writeString($iter520); + $xfer += $output->writeString($iter536); } } $output->writeListEnd(); @@ -16221,15 +16273,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $elem526 = new \metastore\Partition(); - $xfer += $elem526->read($input); - $this->success []= $elem526; + $elem542 = null; + $elem542 = new \metastore\Partition(); + $xfer += $elem542->read($input); + $this->success []= $elem542; } $xfer += $input->readListEnd(); } else { @@ -16273,9 +16325,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter527) + foreach ($this->success as $iter543) { - $xfer += $iter527->write($output); + $xfer += $iter543->write($output); } } $output->writeListEnd(); @@ -16467,14 +16519,14 @@ class ThriftHiveMetastore_get_partition_names_result { 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; - $xfer += $input->readString($elem533); - $this->success []= $elem533; + $elem549 = null; + $xfer += $input->readString($elem549); + $this->success []= $elem549; } $xfer += $input->readListEnd(); } else { @@ -16510,9 +16562,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter534) + foreach ($this->success as $iter550) { - $xfer += $output->writeString($iter534); + $xfer += $output->writeString($iter550); } } $output->writeListEnd(); @@ -16616,14 +16668,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = 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->part_vals []= $elem540; + $elem556 = null; + $xfer += $input->readString($elem556); + $this->part_vals []= $elem556; } $xfer += $input->readListEnd(); } else { @@ -16668,9 +16720,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter541) + foreach ($this->part_vals as $iter557) { - $xfer += $output->writeString($iter541); + $xfer += $output->writeString($iter557); } } $output->writeListEnd(); @@ -16755,15 +16807,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $elem547 = new \metastore\Partition(); - $xfer += $elem547->read($input); - $this->success []= $elem547; + $elem563 = null; + $elem563 = new \metastore\Partition(); + $xfer += $elem563->read($input); + $this->success []= $elem563; } $xfer += $input->readListEnd(); } else { @@ -16807,9 +16859,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter548) + foreach ($this->success as $iter564) { - $xfer += $iter548->write($output); + $xfer += $iter564->write($output); } } $output->writeListEnd(); @@ -16938,14 +16990,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = 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; - $xfer += $input->readString($elem554); - $this->part_vals []= $elem554; + $elem570 = null; + $xfer += $input->readString($elem570); + $this->part_vals []= $elem570; } $xfer += $input->readListEnd(); } else { @@ -16969,14 +17021,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size555 = 0; - $_etype558 = 0; - $xfer += $input->readListBegin($_etype558, $_size555); - for ($_i559 = 0; $_i559 < $_size555; ++$_i559) + $_size571 = 0; + $_etype574 = 0; + $xfer += $input->readListBegin($_etype574, $_size571); + for ($_i575 = 0; $_i575 < $_size571; ++$_i575) { - $elem560 = null; - $xfer += $input->readString($elem560); - $this->group_names []= $elem560; + $elem576 = null; + $xfer += $input->readString($elem576); + $this->group_names []= $elem576; } $xfer += $input->readListEnd(); } else { @@ -17014,9 +17066,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter561) + foreach ($this->part_vals as $iter577) { - $xfer += $output->writeString($iter561); + $xfer += $output->writeString($iter577); } } $output->writeListEnd(); @@ -17041,9 +17093,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter562) + foreach ($this->group_names as $iter578) { - $xfer += $output->writeString($iter562); + $xfer += $output->writeString($iter578); } } $output->writeListEnd(); @@ -17123,15 +17175,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size563 = 0; - $_etype566 = 0; - $xfer += $input->readListBegin($_etype566, $_size563); - for ($_i567 = 0; $_i567 < $_size563; ++$_i567) + $_size579 = 0; + $_etype582 = 0; + $xfer += $input->readListBegin($_etype582, $_size579); + for ($_i583 = 0; $_i583 < $_size579; ++$_i583) { - $elem568 = null; - $elem568 = new \metastore\Partition(); - $xfer += $elem568->read($input); - $this->success []= $elem568; + $elem584 = null; + $elem584 = new \metastore\Partition(); + $xfer += $elem584->read($input); + $this->success []= $elem584; } $xfer += $input->readListEnd(); } else { @@ -17175,9 +17227,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter569) + foreach ($this->success as $iter585) { - $xfer += $iter569->write($output); + $xfer += $iter585->write($output); } } $output->writeListEnd(); @@ -17286,14 +17338,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = 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; - $xfer += $input->readString($elem575); - $this->part_vals []= $elem575; + $elem591 = null; + $xfer += $input->readString($elem591); + $this->part_vals []= $elem591; } $xfer += $input->readListEnd(); } else { @@ -17338,9 +17390,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter576) + foreach ($this->part_vals as $iter592) { - $xfer += $output->writeString($iter576); + $xfer += $output->writeString($iter592); } } $output->writeListEnd(); @@ -17424,14 +17476,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = 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->success []= $elem582; + $elem598 = null; + $xfer += $input->readString($elem598); + $this->success []= $elem598; } $xfer += $input->readListEnd(); } else { @@ -17475,9 +17527,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter583) + foreach ($this->success as $iter599) { - $xfer += $output->writeString($iter583); + $xfer += $output->writeString($iter599); } } $output->writeListEnd(); @@ -17699,15 +17751,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { 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; - $elem589 = new \metastore\Partition(); - $xfer += $elem589->read($input); - $this->success []= $elem589; + $elem605 = null; + $elem605 = new \metastore\Partition(); + $xfer += $elem605->read($input); + $this->success []= $elem605; } $xfer += $input->readListEnd(); } else { @@ -17751,9 +17803,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter590) + foreach ($this->success as $iter606) { - $xfer += $iter590->write($output); + $xfer += $iter606->write($output); } } $output->writeListEnd(); @@ -18052,14 +18104,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = 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; - $xfer += $input->readString($elem596); - $this->names []= $elem596; + $elem612 = null; + $xfer += $input->readString($elem612); + $this->names []= $elem612; } $xfer += $input->readListEnd(); } else { @@ -18097,9 +18149,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter597) + foreach ($this->names as $iter613) { - $xfer += $output->writeString($iter597); + $xfer += $output->writeString($iter613); } } $output->writeListEnd(); @@ -18179,15 +18231,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $elem603 = new \metastore\Partition(); - $xfer += $elem603->read($input); - $this->success []= $elem603; + $elem619 = null; + $elem619 = new \metastore\Partition(); + $xfer += $elem619->read($input); + $this->success []= $elem619; } $xfer += $input->readListEnd(); } else { @@ -18231,9 +18283,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter604) + foreach ($this->success as $iter620) { - $xfer += $iter604->write($output); + $xfer += $iter620->write($output); } } $output->writeListEnd(); @@ -18548,15 +18600,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = 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->new_parts []= $elem610; + $elem626 = null; + $elem626 = new \metastore\Partition(); + $xfer += $elem626->read($input); + $this->new_parts []= $elem626; } $xfer += $input->readListEnd(); } else { @@ -18594,9 +18646,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter611) + foreach ($this->new_parts as $iter627) { - $xfer += $iter611->write($output); + $xfer += $iter627->write($output); } } $output->writeListEnd(); @@ -19030,14 +19082,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = 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; - $xfer += $input->readString($elem617); - $this->part_vals []= $elem617; + $elem633 = null; + $xfer += $input->readString($elem633); + $this->part_vals []= $elem633; } $xfer += $input->readListEnd(); } else { @@ -19083,9 +19135,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter618) + foreach ($this->part_vals as $iter634) { - $xfer += $output->writeString($iter618); + $xfer += $output->writeString($iter634); } } $output->writeListEnd(); @@ -19258,14 +19310,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: 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 { @@ -19300,9 +19352,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $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(); @@ -19729,14 +19781,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = 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->success []= $elem631; + $elem647 = null; + $xfer += $input->readString($elem647); + $this->success []= $elem647; } $xfer += $input->readListEnd(); } else { @@ -19772,9 +19824,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter632) + foreach ($this->success as $iter648) { - $xfer += $output->writeString($iter632); + $xfer += $output->writeString($iter648); } } $output->writeListEnd(); @@ -19925,17 +19977,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size633 = 0; - $_ktype634 = 0; - $_vtype635 = 0; - $xfer += $input->readMapBegin($_ktype634, $_vtype635, $_size633); - for ($_i637 = 0; $_i637 < $_size633; ++$_i637) + $_size649 = 0; + $_ktype650 = 0; + $_vtype651 = 0; + $xfer += $input->readMapBegin($_ktype650, $_vtype651, $_size649); + for ($_i653 = 0; $_i653 < $_size649; ++$_i653) { - $key638 = ''; - $val639 = ''; - $xfer += $input->readString($key638); - $xfer += $input->readString($val639); - $this->success[$key638] = $val639; + $key654 = ''; + $val655 = ''; + $xfer += $input->readString($key654); + $xfer += $input->readString($val655); + $this->success[$key654] = $val655; } $xfer += $input->readMapEnd(); } else { @@ -19971,10 +20023,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter640 => $viter641) + foreach ($this->success as $kiter656 => $viter657) { - $xfer += $output->writeString($kiter640); - $xfer += $output->writeString($viter641); + $xfer += $output->writeString($kiter656); + $xfer += $output->writeString($viter657); } } $output->writeMapEnd(); @@ -20082,17 +20134,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size642 = 0; - $_ktype643 = 0; - $_vtype644 = 0; - $xfer += $input->readMapBegin($_ktype643, $_vtype644, $_size642); - for ($_i646 = 0; $_i646 < $_size642; ++$_i646) + $_size658 = 0; + $_ktype659 = 0; + $_vtype660 = 0; + $xfer += $input->readMapBegin($_ktype659, $_vtype660, $_size658); + for ($_i662 = 0; $_i662 < $_size658; ++$_i662) { - $key647 = ''; - $val648 = ''; - $xfer += $input->readString($key647); - $xfer += $input->readString($val648); - $this->part_vals[$key647] = $val648; + $key663 = ''; + $val664 = ''; + $xfer += $input->readString($key663); + $xfer += $input->readString($val664); + $this->part_vals[$key663] = $val664; } $xfer += $input->readMapEnd(); } else { @@ -20137,10 +20189,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter649 => $viter650) + foreach ($this->part_vals as $kiter665 => $viter666) { - $xfer += $output->writeString($kiter649); - $xfer += $output->writeString($viter650); + $xfer += $output->writeString($kiter665); + $xfer += $output->writeString($viter666); } } $output->writeMapEnd(); @@ -20432,17 +20484,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size651 = 0; - $_ktype652 = 0; - $_vtype653 = 0; - $xfer += $input->readMapBegin($_ktype652, $_vtype653, $_size651); - for ($_i655 = 0; $_i655 < $_size651; ++$_i655) + $_size667 = 0; + $_ktype668 = 0; + $_vtype669 = 0; + $xfer += $input->readMapBegin($_ktype668, $_vtype669, $_size667); + for ($_i671 = 0; $_i671 < $_size667; ++$_i671) { - $key656 = ''; - $val657 = ''; - $xfer += $input->readString($key656); - $xfer += $input->readString($val657); - $this->part_vals[$key656] = $val657; + $key672 = ''; + $val673 = ''; + $xfer += $input->readString($key672); + $xfer += $input->readString($val673); + $this->part_vals[$key672] = $val673; } $xfer += $input->readMapEnd(); } else { @@ -20487,10 +20539,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter658 => $viter659) + foreach ($this->part_vals as $kiter674 => $viter675) { - $xfer += $output->writeString($kiter658); - $xfer += $output->writeString($viter659); + $xfer += $output->writeString($kiter674); + $xfer += $output->writeString($viter675); } } $output->writeMapEnd(); @@ -21850,15 +21902,15 @@ class ThriftHiveMetastore_get_indexes_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size660 = 0; - $_etype663 = 0; - $xfer += $input->readListBegin($_etype663, $_size660); - for ($_i664 = 0; $_i664 < $_size660; ++$_i664) + $_size676 = 0; + $_etype679 = 0; + $xfer += $input->readListBegin($_etype679, $_size676); + for ($_i680 = 0; $_i680 < $_size676; ++$_i680) { - $elem665 = null; - $elem665 = new \metastore\Index(); - $xfer += $elem665->read($input); - $this->success []= $elem665; + $elem681 = null; + $elem681 = new \metastore\Index(); + $xfer += $elem681->read($input); + $this->success []= $elem681; } $xfer += $input->readListEnd(); } else { @@ -21902,9 +21954,9 @@ class ThriftHiveMetastore_get_indexes_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter666) + foreach ($this->success as $iter682) { - $xfer += $iter666->write($output); + $xfer += $iter682->write($output); } } $output->writeListEnd(); @@ -22096,14 +22148,14 @@ class ThriftHiveMetastore_get_index_names_result { 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; - $xfer += $input->readString($elem672); - $this->success []= $elem672; + $elem688 = null; + $xfer += $input->readString($elem688); + $this->success []= $elem688; } $xfer += $input->readListEnd(); } else { @@ -22139,9 +22191,9 @@ class ThriftHiveMetastore_get_index_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter673) + foreach ($this->success as $iter689) { - $xfer += $output->writeString($iter673); + $xfer += $output->writeString($iter689); } } $output->writeListEnd(); @@ -24934,14 +24986,14 @@ class ThriftHiveMetastore_get_functions_result { 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 { @@ -24977,9 +25029,9 @@ class ThriftHiveMetastore_get_functions_result { { $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(); @@ -25654,14 +25706,14 @@ class ThriftHiveMetastore_get_role_names_result { 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 { @@ -25697,9 +25749,9 @@ class ThriftHiveMetastore_get_role_names_result { { $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(); @@ -26339,15 +26391,15 @@ class ThriftHiveMetastore_list_roles_result { 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; - $elem693 = new \metastore\Role(); - $xfer += $elem693->read($input); - $this->success []= $elem693; + $elem709 = null; + $elem709 = new \metastore\Role(); + $xfer += $elem709->read($input); + $this->success []= $elem709; } $xfer += $input->readListEnd(); } else { @@ -26383,9 +26435,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter694) + foreach ($this->success as $iter710) { - $xfer += $iter694->write($output); + $xfer += $iter710->write($output); } } $output->writeListEnd(); @@ -26659,14 +26711,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = 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; - $xfer += $input->readString($elem700); - $this->group_names []= $elem700; + $elem716 = null; + $xfer += $input->readString($elem716); + $this->group_names []= $elem716; } $xfer += $input->readListEnd(); } else { @@ -26707,9 +26759,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter701) + foreach ($this->group_names as $iter717) { - $xfer += $output->writeString($iter701); + $xfer += $output->writeString($iter717); } } $output->writeListEnd(); @@ -26996,15 +27048,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $elem707 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem707->read($input); - $this->success []= $elem707; + $elem723 = null; + $elem723 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem723->read($input); + $this->success []= $elem723; } $xfer += $input->readListEnd(); } else { @@ -27040,9 +27092,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter708) + foreach ($this->success as $iter724) { - $xfer += $iter708->write($output); + $xfer += $iter724->write($output); } } $output->writeListEnd(); @@ -27465,14 +27517,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = 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; - $xfer += $input->readString($elem714); - $this->group_names []= $elem714; + $elem730 = null; + $xfer += $input->readString($elem730); + $this->group_names []= $elem730; } $xfer += $input->readListEnd(); } else { @@ -27505,9 +27557,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter715) + foreach ($this->group_names as $iter731) { - $xfer += $output->writeString($iter715); + $xfer += $output->writeString($iter731); } } $output->writeListEnd(); @@ -27577,14 +27629,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = 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->success []= $elem721; + $elem737 = null; + $xfer += $input->readString($elem737); + $this->success []= $elem737; } $xfer += $input->readListEnd(); } else { @@ -27620,9 +27672,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter722) + foreach ($this->success as $iter738) { - $xfer += $output->writeString($iter722); + $xfer += $output->writeString($iter738); } } $output->writeListEnd(); @@ -29811,6 +29863,160 @@ class ThriftHiveMetastore_heartbeat_result { } +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; diff --git metastore/src/gen/thrift/gen-php/metastore/Types.php metastore/src/gen/thrift/gen-php/metastore/Types.php index 9067cff..954c679 100644 --- metastore/src/gen/thrift/gen-php/metastore/Types.php +++ metastore/src/gen/thrift/gen-php/metastore/Types.php @@ -9512,6 +9512,258 @@ class HeartbeatRequest { } +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(); + $_size363 = 0; + $_etype366 = 0; + $xfer += $input->readSetBegin($_etype366, $_size363); + for ($_i367 = 0; $_i367 < $_size363; ++$_i367) + { + $elem368 = null; + $xfer += $input->readI64($elem368); + if (is_scalar($elem368)) { + $this->aborted[$elem368] = true; + } else { + $this->aborted []= $elem368; + } + } + $xfer += $input->readSetEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::SET) { + $this->nosuch = array(); + $_size369 = 0; + $_etype372 = 0; + $xfer += $input->readSetBegin($_etype372, $_size369); + for ($_i373 = 0; $_i373 < $_size369; ++$_i373) + { + $elem374 = null; + $xfer += $input->readI64($elem374); + if (is_scalar($elem374)) { + $this->nosuch[$elem374] = true; + } else { + $this->nosuch []= $elem374; + } + } + $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 $iter375 => $iter376) + { + if (is_scalar($iter376)) { + $xfer += $output->writeI64($iter375); + } else { + $xfer += $output->writeI64($iter376); + } + } + } + $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 $iter377 => $iter378) + { + if (is_scalar($iter378)) { + $xfer += $output->writeI64($iter377); + } else { + $xfer += $output->writeI64($iter378); + } + } + } + $output->writeSetEnd(); + } + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class CompactionRequest { static $_TSPEC; @@ -9974,15 +10226,15 @@ class ShowCompactResponse { case 1: if ($ftype == TType::LST) { $this->compacts = array(); - $_size363 = 0; - $_etype366 = 0; - $xfer += $input->readListBegin($_etype366, $_size363); - for ($_i367 = 0; $_i367 < $_size363; ++$_i367) + $_size379 = 0; + $_etype382 = 0; + $xfer += $input->readListBegin($_etype382, $_size379); + for ($_i383 = 0; $_i383 < $_size379; ++$_i383) { - $elem368 = null; - $elem368 = new \metastore\ShowCompactResponseElement(); - $xfer += $elem368->read($input); - $this->compacts []= $elem368; + $elem384 = null; + $elem384 = new \metastore\ShowCompactResponseElement(); + $xfer += $elem384->read($input); + $this->compacts []= $elem384; } $xfer += $input->readListEnd(); } else { @@ -10010,9 +10262,9 @@ class ShowCompactResponse { { $output->writeListBegin(TType::STRUCT, count($this->compacts)); { - foreach ($this->compacts as $iter369) + foreach ($this->compacts as $iter385) { - $xfer += $iter369->write($output); + $xfer += $iter385->write($output); } } $output->writeListEnd(); diff --git metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote old mode 100644 new mode 100755 index f7dca4a..aace3de --- metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote +++ metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote @@ -126,6 +126,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': 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 '' @@ -797,6 +798,12 @@ elif cmd == 'heartbeat': 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' diff --git metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py index 3f28df0..6eb877e 100644 --- metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -869,6 +869,13 @@ def heartbeat(self, ids): """ pass + def heartbeat_txn_range(self, txns): + """ + Parameters: + - txns + """ + pass + def compact(self, rqst): """ Parameters: @@ -4631,6 +4638,36 @@ def recv_heartbeat(self, ): 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: @@ -4796,6 +4833,7 @@ def __init__(self, handler): 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 @@ -6478,6 +6516,17 @@ def process_heartbeat(self, seqid, iprot, oprot): 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) @@ -7056,10 +7105,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype372, _size369) = iprot.readListBegin() - for _i373 in xrange(_size369): - _elem374 = iprot.readString(); - self.success.append(_elem374) + (_etype386, _size383) = iprot.readListBegin() + for _i387 in xrange(_size383): + _elem388 = iprot.readString(); + self.success.append(_elem388) iprot.readListEnd() else: iprot.skip(ftype) @@ -7082,8 +7131,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter375 in self.success: - oprot.writeString(iter375) + for iter389 in self.success: + oprot.writeString(iter389) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -7178,10 +7227,10 @@ def read(self, iprot): 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) @@ -7204,8 +7253,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for 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: @@ -7915,12 +7964,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype384, _vtype385, _size383 ) = iprot.readMapBegin() - for _i387 in xrange(_size383): - _key388 = iprot.readString(); - _val389 = Type() - _val389.read(iprot) - self.success[_key388] = _val389 + (_ktype398, _vtype399, _size397 ) = iprot.readMapBegin() + for _i401 in xrange(_size397): + _key402 = iprot.readString(); + _val403 = Type() + _val403.read(iprot) + self.success[_key402] = _val403 iprot.readMapEnd() else: iprot.skip(ftype) @@ -7943,9 +7992,9 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.MAP, 0) oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success)) - for kiter390,viter391 in self.success.items(): - oprot.writeString(kiter390) - viter391.write(oprot) + for kiter404,viter405 in self.success.items(): + oprot.writeString(kiter404) + viter405.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -8076,11 +8125,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype395, _size392) = iprot.readListBegin() - for _i396 in xrange(_size392): - _elem397 = FieldSchema() - _elem397.read(iprot) - self.success.append(_elem397) + (_etype409, _size406) = iprot.readListBegin() + for _i410 in xrange(_size406): + _elem411 = FieldSchema() + _elem411.read(iprot) + self.success.append(_elem411) iprot.readListEnd() else: iprot.skip(ftype) @@ -8115,8 +8164,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter398 in self.success: - iter398.write(oprot) + for iter412 in self.success: + iter412.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -8255,11 +8304,11 @@ def read(self, iprot): 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) @@ -8294,8 +8343,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for 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: @@ -9092,10 +9141,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype409, _size406) = iprot.readListBegin() - for _i410 in xrange(_size406): - _elem411 = iprot.readString(); - self.success.append(_elem411) + (_etype423, _size420) = iprot.readListBegin() + for _i424 in xrange(_size420): + _elem425 = iprot.readString(); + self.success.append(_elem425) iprot.readListEnd() else: iprot.skip(ftype) @@ -9118,8 +9167,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter412 in self.success: - oprot.writeString(iter412) + for iter426 in self.success: + oprot.writeString(iter426) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -9232,10 +9281,10 @@ def read(self, iprot): 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) @@ -9258,8 +9307,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for 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: @@ -9476,10 +9525,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype423, _size420) = iprot.readListBegin() - for _i424 in xrange(_size420): - _elem425 = iprot.readString(); - self.tbl_names.append(_elem425) + (_etype437, _size434) = iprot.readListBegin() + for _i438 in xrange(_size434): + _elem439 = iprot.readString(); + self.tbl_names.append(_elem439) iprot.readListEnd() else: iprot.skip(ftype) @@ -9500,8 +9549,8 @@ def write(self, oprot): if self.tbl_names is not None: oprot.writeFieldBegin('tbl_names', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.tbl_names)) - for iter426 in self.tbl_names: - oprot.writeString(iter426) + for iter440 in self.tbl_names: + oprot.writeString(iter440) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -9556,11 +9605,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype430, _size427) = iprot.readListBegin() - for _i431 in xrange(_size427): - _elem432 = Table() - _elem432.read(iprot) - self.success.append(_elem432) + (_etype444, _size441) = iprot.readListBegin() + for _i445 in xrange(_size441): + _elem446 = Table() + _elem446.read(iprot) + self.success.append(_elem446) iprot.readListEnd() else: iprot.skip(ftype) @@ -9595,8 +9644,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter433 in self.success: - iter433.write(oprot) + for iter447 in self.success: + iter447.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -9747,10 +9796,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype437, _size434) = iprot.readListBegin() - for _i438 in xrange(_size434): - _elem439 = iprot.readString(); - self.success.append(_elem439) + (_etype451, _size448) = iprot.readListBegin() + for _i452 in xrange(_size448): + _elem453 = iprot.readString(); + self.success.append(_elem453) iprot.readListEnd() else: iprot.skip(ftype) @@ -9785,8 +9834,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter440 in self.success: - oprot.writeString(iter440) + for iter454 in self.success: + oprot.writeString(iter454) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -10509,11 +10558,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype444, _size441) = iprot.readListBegin() - for _i445 in xrange(_size441): - _elem446 = Partition() - _elem446.read(iprot) - self.new_parts.append(_elem446) + (_etype458, _size455) = iprot.readListBegin() + for _i459 in xrange(_size455): + _elem460 = Partition() + _elem460.read(iprot) + self.new_parts.append(_elem460) iprot.readListEnd() else: iprot.skip(ftype) @@ -10530,8 +10579,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter447 in self.new_parts: - iter447.write(oprot) + for iter461 in self.new_parts: + iter461.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10692,10 +10741,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype451, _size448) = iprot.readListBegin() - for _i452 in xrange(_size448): - _elem453 = iprot.readString(); - self.part_vals.append(_elem453) + (_etype465, _size462) = iprot.readListBegin() + for _i466 in xrange(_size462): + _elem467 = iprot.readString(); + self.part_vals.append(_elem467) iprot.readListEnd() else: iprot.skip(ftype) @@ -10720,8 +10769,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter454 in self.part_vals: - oprot.writeString(iter454) + for iter468 in self.part_vals: + oprot.writeString(iter468) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11046,10 +11095,10 @@ def read(self, iprot): 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) @@ -11080,8 +11129,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter461 in self.part_vals: - oprot.writeString(iter461) + for iter475 in self.part_vals: + oprot.writeString(iter475) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -11629,10 +11678,10 @@ def read(self, iprot): 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) @@ -11662,8 +11711,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter468 in self.part_vals: - oprot.writeString(iter468) + for iter482 in self.part_vals: + oprot.writeString(iter482) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -11821,10 +11870,10 @@ def read(self, iprot): 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) @@ -11860,8 +11909,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for 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: @@ -12539,10 +12588,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype479, _size476) = iprot.readListBegin() - for _i480 in xrange(_size476): - _elem481 = iprot.readString(); - self.part_vals.append(_elem481) + (_etype493, _size490) = iprot.readListBegin() + for _i494 in xrange(_size490): + _elem495 = iprot.readString(); + self.part_vals.append(_elem495) iprot.readListEnd() else: iprot.skip(ftype) @@ -12567,8 +12616,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter482 in self.part_vals: - oprot.writeString(iter482) + for iter496 in self.part_vals: + oprot.writeString(iter496) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12713,11 +12762,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype484, _vtype485, _size483 ) = iprot.readMapBegin() - for _i487 in xrange(_size483): - _key488 = iprot.readString(); - _val489 = iprot.readString(); - self.partitionSpecs[_key488] = _val489 + (_ktype498, _vtype499, _size497 ) = iprot.readMapBegin() + for _i501 in xrange(_size497): + _key502 = iprot.readString(); + _val503 = iprot.readString(); + self.partitionSpecs[_key502] = _val503 iprot.readMapEnd() else: iprot.skip(ftype) @@ -12754,9 +12803,9 @@ def write(self, oprot): if self.partitionSpecs is not None: oprot.writeFieldBegin('partitionSpecs', TType.MAP, 1) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.partitionSpecs)) - for kiter490,viter491 in self.partitionSpecs.items(): - oprot.writeString(kiter490) - oprot.writeString(viter491) + for kiter504,viter505 in self.partitionSpecs.items(): + oprot.writeString(kiter504) + oprot.writeString(viter505) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -12953,10 +13002,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype495, _size492) = iprot.readListBegin() - for _i496 in xrange(_size492): - _elem497 = iprot.readString(); - self.part_vals.append(_elem497) + (_etype509, _size506) = iprot.readListBegin() + for _i510 in xrange(_size506): + _elem511 = iprot.readString(); + self.part_vals.append(_elem511) iprot.readListEnd() else: iprot.skip(ftype) @@ -12968,10 +13017,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype501, _size498) = iprot.readListBegin() - for _i502 in xrange(_size498): - _elem503 = iprot.readString(); - self.group_names.append(_elem503) + (_etype515, _size512) = iprot.readListBegin() + for _i516 in xrange(_size512): + _elem517 = iprot.readString(); + self.group_names.append(_elem517) iprot.readListEnd() else: iprot.skip(ftype) @@ -12996,8 +13045,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter504 in self.part_vals: - oprot.writeString(iter504) + for iter518 in self.part_vals: + oprot.writeString(iter518) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -13007,8 +13056,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter505 in self.group_names: - oprot.writeString(iter505) + for iter519 in self.group_names: + oprot.writeString(iter519) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13400,11 +13449,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype509, _size506) = iprot.readListBegin() - for _i510 in xrange(_size506): - _elem511 = Partition() - _elem511.read(iprot) - self.success.append(_elem511) + (_etype523, _size520) = iprot.readListBegin() + for _i524 in xrange(_size520): + _elem525 = Partition() + _elem525.read(iprot) + self.success.append(_elem525) iprot.readListEnd() else: iprot.skip(ftype) @@ -13433,8 +13482,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter512 in self.success: - iter512.write(oprot) + for iter526 in self.success: + iter526.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -13521,10 +13570,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype516, _size513) = iprot.readListBegin() - for _i517 in xrange(_size513): - _elem518 = iprot.readString(); - self.group_names.append(_elem518) + (_etype530, _size527) = iprot.readListBegin() + for _i531 in xrange(_size527): + _elem532 = iprot.readString(); + self.group_names.append(_elem532) iprot.readListEnd() else: iprot.skip(ftype) @@ -13557,8 +13606,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter519 in self.group_names: - oprot.writeString(iter519) + for iter533 in self.group_names: + oprot.writeString(iter533) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13610,11 +13659,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype523, _size520) = iprot.readListBegin() - for _i524 in xrange(_size520): - _elem525 = Partition() - _elem525.read(iprot) - self.success.append(_elem525) + (_etype537, _size534) = iprot.readListBegin() + for _i538 in xrange(_size534): + _elem539 = Partition() + _elem539.read(iprot) + self.success.append(_elem539) iprot.readListEnd() else: iprot.skip(ftype) @@ -13643,8 +13692,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter526 in self.success: - iter526.write(oprot) + for iter540 in self.success: + iter540.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -13785,10 +13834,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype530, _size527) = iprot.readListBegin() - for _i531 in xrange(_size527): - _elem532 = iprot.readString(); - self.success.append(_elem532) + (_etype544, _size541) = iprot.readListBegin() + for _i545 in xrange(_size541): + _elem546 = iprot.readString(); + self.success.append(_elem546) iprot.readListEnd() else: iprot.skip(ftype) @@ -13811,8 +13860,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter533 in self.success: - oprot.writeString(iter533) + for iter547 in self.success: + oprot.writeString(iter547) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -13882,10 +13931,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype537, _size534) = iprot.readListBegin() - for _i538 in xrange(_size534): - _elem539 = iprot.readString(); - self.part_vals.append(_elem539) + (_etype551, _size548) = iprot.readListBegin() + for _i552 in xrange(_size548): + _elem553 = iprot.readString(); + self.part_vals.append(_elem553) iprot.readListEnd() else: iprot.skip(ftype) @@ -13915,8 +13964,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter540 in self.part_vals: - oprot.writeString(iter540) + for iter554 in self.part_vals: + oprot.writeString(iter554) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -13972,11 +14021,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype544, _size541) = iprot.readListBegin() - for _i545 in xrange(_size541): - _elem546 = Partition() - _elem546.read(iprot) - self.success.append(_elem546) + (_etype558, _size555) = iprot.readListBegin() + for _i559 in xrange(_size555): + _elem560 = Partition() + _elem560.read(iprot) + self.success.append(_elem560) iprot.readListEnd() else: iprot.skip(ftype) @@ -14005,8 +14054,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter547 in self.success: - iter547.write(oprot) + for iter561 in self.success: + iter561.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14086,10 +14135,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype551, _size548) = iprot.readListBegin() - for _i552 in xrange(_size548): - _elem553 = iprot.readString(); - self.part_vals.append(_elem553) + (_etype565, _size562) = iprot.readListBegin() + for _i566 in xrange(_size562): + _elem567 = iprot.readString(); + self.part_vals.append(_elem567) iprot.readListEnd() else: iprot.skip(ftype) @@ -14106,10 +14155,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype557, _size554) = iprot.readListBegin() - for _i558 in xrange(_size554): - _elem559 = iprot.readString(); - self.group_names.append(_elem559) + (_etype571, _size568) = iprot.readListBegin() + for _i572 in xrange(_size568): + _elem573 = iprot.readString(); + self.group_names.append(_elem573) iprot.readListEnd() else: iprot.skip(ftype) @@ -14134,8 +14183,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter560 in self.part_vals: - oprot.writeString(iter560) + for iter574 in self.part_vals: + oprot.writeString(iter574) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -14149,8 +14198,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 6) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter561 in self.group_names: - oprot.writeString(iter561) + for iter575 in self.group_names: + oprot.writeString(iter575) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14202,11 +14251,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype565, _size562) = iprot.readListBegin() - for _i566 in xrange(_size562): - _elem567 = Partition() - _elem567.read(iprot) - self.success.append(_elem567) + (_etype579, _size576) = iprot.readListBegin() + for _i580 in xrange(_size576): + _elem581 = Partition() + _elem581.read(iprot) + self.success.append(_elem581) iprot.readListEnd() else: iprot.skip(ftype) @@ -14235,8 +14284,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter568 in self.success: - iter568.write(oprot) + for iter582 in self.success: + iter582.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14310,10 +14359,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype572, _size569) = iprot.readListBegin() - for _i573 in xrange(_size569): - _elem574 = iprot.readString(); - self.part_vals.append(_elem574) + (_etype586, _size583) = iprot.readListBegin() + for _i587 in xrange(_size583): + _elem588 = iprot.readString(); + self.part_vals.append(_elem588) iprot.readListEnd() else: iprot.skip(ftype) @@ -14343,8 +14392,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter575 in self.part_vals: - oprot.writeString(iter575) + for iter589 in self.part_vals: + oprot.writeString(iter589) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -14400,10 +14449,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype579, _size576) = iprot.readListBegin() - for _i580 in xrange(_size576): - _elem581 = iprot.readString(); - self.success.append(_elem581) + (_etype593, _size590) = iprot.readListBegin() + for _i594 in xrange(_size590): + _elem595 = iprot.readString(); + self.success.append(_elem595) iprot.readListEnd() else: iprot.skip(ftype) @@ -14432,8 +14481,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter582 in self.success: - oprot.writeString(iter582) + for iter596 in self.success: + oprot.writeString(iter596) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14589,11 +14638,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype586, _size583) = iprot.readListBegin() - for _i587 in xrange(_size583): - _elem588 = Partition() - _elem588.read(iprot) - self.success.append(_elem588) + (_etype600, _size597) = iprot.readListBegin() + for _i601 in xrange(_size597): + _elem602 = Partition() + _elem602.read(iprot) + self.success.append(_elem602) iprot.readListEnd() else: iprot.skip(ftype) @@ -14622,8 +14671,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter589 in self.success: - iter589.write(oprot) + for iter603 in self.success: + iter603.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14841,10 +14890,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype593, _size590) = iprot.readListBegin() - for _i594 in xrange(_size590): - _elem595 = iprot.readString(); - self.names.append(_elem595) + (_etype607, _size604) = iprot.readListBegin() + for _i608 in xrange(_size604): + _elem609 = iprot.readString(); + self.names.append(_elem609) iprot.readListEnd() else: iprot.skip(ftype) @@ -14869,8 +14918,8 @@ def write(self, oprot): if self.names is not None: oprot.writeFieldBegin('names', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.names)) - for iter596 in self.names: - oprot.writeString(iter596) + for iter610 in self.names: + oprot.writeString(iter610) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14922,11 +14971,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype600, _size597) = iprot.readListBegin() - for _i601 in xrange(_size597): - _elem602 = Partition() - _elem602.read(iprot) - self.success.append(_elem602) + (_etype614, _size611) = iprot.readListBegin() + for _i615 in xrange(_size611): + _elem616 = Partition() + _elem616.read(iprot) + self.success.append(_elem616) iprot.readListEnd() else: iprot.skip(ftype) @@ -14955,8 +15004,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter603 in self.success: - iter603.write(oprot) + for iter617 in self.success: + iter617.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15186,11 +15235,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype607, _size604) = iprot.readListBegin() - for _i608 in xrange(_size604): - _elem609 = Partition() - _elem609.read(iprot) - self.new_parts.append(_elem609) + (_etype621, _size618) = iprot.readListBegin() + for _i622 in xrange(_size618): + _elem623 = Partition() + _elem623.read(iprot) + self.new_parts.append(_elem623) iprot.readListEnd() else: iprot.skip(ftype) @@ -15215,8 +15264,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter610 in self.new_parts: - iter610.write(oprot) + for iter624 in self.new_parts: + iter624.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15528,10 +15577,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype614, _size611) = iprot.readListBegin() - for _i615 in xrange(_size611): - _elem616 = iprot.readString(); - self.part_vals.append(_elem616) + (_etype628, _size625) = iprot.readListBegin() + for _i629 in xrange(_size625): + _elem630 = iprot.readString(); + self.part_vals.append(_elem630) iprot.readListEnd() else: iprot.skip(ftype) @@ -15562,8 +15611,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter617 in self.part_vals: - oprot.writeString(iter617) + for iter631 in self.part_vals: + oprot.writeString(iter631) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -15691,10 +15740,10 @@ def read(self, iprot): if fid == 1: 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) @@ -15716,8 +15765,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter624 in self.part_vals: - oprot.writeString(iter624) + for iter638 in self.part_vals: + oprot.writeString(iter638) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -16046,10 +16095,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype628, _size625) = iprot.readListBegin() - for _i629 in xrange(_size625): - _elem630 = iprot.readString(); - self.success.append(_elem630) + (_etype642, _size639) = iprot.readListBegin() + for _i643 in xrange(_size639): + _elem644 = iprot.readString(); + self.success.append(_elem644) iprot.readListEnd() else: iprot.skip(ftype) @@ -16072,8 +16121,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter631 in self.success: - oprot.writeString(iter631) + for iter645 in self.success: + oprot.writeString(iter645) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16186,11 +16235,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype633, _vtype634, _size632 ) = iprot.readMapBegin() - for _i636 in xrange(_size632): - _key637 = iprot.readString(); - _val638 = iprot.readString(); - self.success[_key637] = _val638 + (_ktype647, _vtype648, _size646 ) = iprot.readMapBegin() + for _i650 in xrange(_size646): + _key651 = iprot.readString(); + _val652 = iprot.readString(); + self.success[_key651] = _val652 iprot.readMapEnd() else: iprot.skip(ftype) @@ -16213,9 +16262,9 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.MAP, 0) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.success)) - for kiter639,viter640 in self.success.items(): - oprot.writeString(kiter639) - oprot.writeString(viter640) + for kiter653,viter654 in self.success.items(): + oprot.writeString(kiter653) + oprot.writeString(viter654) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16285,11 +16334,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype642, _vtype643, _size641 ) = iprot.readMapBegin() - for _i645 in xrange(_size641): - _key646 = iprot.readString(); - _val647 = iprot.readString(); - self.part_vals[_key646] = _val647 + (_ktype656, _vtype657, _size655 ) = iprot.readMapBegin() + for _i659 in xrange(_size655): + _key660 = iprot.readString(); + _val661 = iprot.readString(); + self.part_vals[_key660] = _val661 iprot.readMapEnd() else: iprot.skip(ftype) @@ -16319,9 +16368,9 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.MAP, 3) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.part_vals)) - for kiter648,viter649 in self.part_vals.items(): - oprot.writeString(kiter648) - oprot.writeString(viter649) + for kiter662,viter663 in self.part_vals.items(): + oprot.writeString(kiter662) + oprot.writeString(viter663) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -16517,11 +16566,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype651, _vtype652, _size650 ) = iprot.readMapBegin() - for _i654 in xrange(_size650): - _key655 = iprot.readString(); - _val656 = iprot.readString(); - self.part_vals[_key655] = _val656 + (_ktype665, _vtype666, _size664 ) = iprot.readMapBegin() + for _i668 in xrange(_size664): + _key669 = iprot.readString(); + _val670 = iprot.readString(); + self.part_vals[_key669] = _val670 iprot.readMapEnd() else: iprot.skip(ftype) @@ -16551,9 +16600,9 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.MAP, 3) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.part_vals)) - for kiter657,viter658 in self.part_vals.items(): - oprot.writeString(kiter657) - oprot.writeString(viter658) + for kiter671,viter672 in self.part_vals.items(): + oprot.writeString(kiter671) + oprot.writeString(viter672) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -17525,11 +17574,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype662, _size659) = iprot.readListBegin() - for _i663 in xrange(_size659): - _elem664 = Index() - _elem664.read(iprot) - self.success.append(_elem664) + (_etype676, _size673) = iprot.readListBegin() + for _i677 in xrange(_size673): + _elem678 = Index() + _elem678.read(iprot) + self.success.append(_elem678) iprot.readListEnd() else: iprot.skip(ftype) @@ -17558,8 +17607,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter665 in self.success: - iter665.write(oprot) + for iter679 in self.success: + iter679.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17700,10 +17749,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype669, _size666) = iprot.readListBegin() - for _i670 in xrange(_size666): - _elem671 = iprot.readString(); - self.success.append(_elem671) + (_etype683, _size680) = iprot.readListBegin() + for _i684 in xrange(_size680): + _elem685 = iprot.readString(); + self.success.append(_elem685) iprot.readListEnd() else: iprot.skip(ftype) @@ -17726,8 +17775,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter672 in self.success: - oprot.writeString(iter672) + for iter686 in self.success: + oprot.writeString(iter686) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -19762,10 +19811,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype676, _size673) = iprot.readListBegin() - for _i677 in xrange(_size673): - _elem678 = iprot.readString(); - self.success.append(_elem678) + (_etype690, _size687) = iprot.readListBegin() + for _i691 in xrange(_size687): + _elem692 = iprot.readString(); + self.success.append(_elem692) iprot.readListEnd() else: iprot.skip(ftype) @@ -19788,8 +19837,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter679 in self.success: - oprot.writeString(iter679) + for iter693 in self.success: + oprot.writeString(iter693) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20307,10 +20356,10 @@ def read(self, iprot): 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) @@ -20333,8 +20382,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for 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: @@ -20807,11 +20856,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype690, _size687) = iprot.readListBegin() - for _i691 in xrange(_size687): - _elem692 = Role() - _elem692.read(iprot) - self.success.append(_elem692) + (_etype704, _size701) = iprot.readListBegin() + for _i705 in xrange(_size701): + _elem706 = Role() + _elem706.read(iprot) + self.success.append(_elem706) iprot.readListEnd() else: iprot.skip(ftype) @@ -20834,8 +20883,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter693 in self.success: - iter693.write(oprot) + for iter707 in self.success: + iter707.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21037,10 +21086,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype697, _size694) = iprot.readListBegin() - for _i698 in xrange(_size694): - _elem699 = iprot.readString(); - self.group_names.append(_elem699) + (_etype711, _size708) = iprot.readListBegin() + for _i712 in xrange(_size708): + _elem713 = iprot.readString(); + self.group_names.append(_elem713) iprot.readListEnd() else: iprot.skip(ftype) @@ -21065,8 +21114,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter700 in self.group_names: - oprot.writeString(iter700) + for iter714 in self.group_names: + oprot.writeString(iter714) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21273,11 +21322,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype704, _size701) = iprot.readListBegin() - for _i705 in xrange(_size701): - _elem706 = HiveObjectPrivilege() - _elem706.read(iprot) - self.success.append(_elem706) + (_etype718, _size715) = iprot.readListBegin() + for _i719 in xrange(_size715): + _elem720 = HiveObjectPrivilege() + _elem720.read(iprot) + self.success.append(_elem720) iprot.readListEnd() else: iprot.skip(ftype) @@ -21300,8 +21349,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter707 in self.success: - iter707.write(oprot) + for iter721 in self.success: + iter721.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21626,10 +21675,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype711, _size708) = iprot.readListBegin() - for _i712 in xrange(_size708): - _elem713 = iprot.readString(); - self.group_names.append(_elem713) + (_etype725, _size722) = iprot.readListBegin() + for _i726 in xrange(_size722): + _elem727 = iprot.readString(); + self.group_names.append(_elem727) iprot.readListEnd() else: iprot.skip(ftype) @@ -21650,8 +21699,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter714 in self.group_names: - oprot.writeString(iter714) + for iter728 in self.group_names: + oprot.writeString(iter728) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21700,10 +21749,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype718, _size715) = iprot.readListBegin() - for _i719 in xrange(_size715): - _elem720 = iprot.readString(); - self.success.append(_elem720) + (_etype732, _size729) = iprot.readListBegin() + for _i733 in xrange(_size729): + _elem734 = iprot.readString(); + self.success.append(_elem734) iprot.readListEnd() else: iprot.skip(ftype) @@ -21726,8 +21775,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter721 in self.success: - oprot.writeString(iter721) + for iter735 in self.success: + oprot.writeString(iter735) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -23442,6 +23491,127 @@ def __eq__(self, other): 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: diff --git metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py index 6978758..8f81130 100644 --- metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py +++ metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py @@ -6598,6 +6598,174 @@ def __eq__(self, other): 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() + (_etype365, _size362) = iprot.readSetBegin() + for _i366 in xrange(_size362): + _elem367 = iprot.readI64(); + self.aborted.add(_elem367) + iprot.readSetEnd() + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.SET: + self.nosuch = set() + (_etype371, _size368) = iprot.readSetBegin() + for _i372 in xrange(_size368): + _elem373 = iprot.readI64(); + self.nosuch.add(_elem373) + 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 iter374 in self.aborted: + oprot.writeI64(iter374) + oprot.writeSetEnd() + oprot.writeFieldEnd() + if self.nosuch is not None: + oprot.writeFieldBegin('nosuch', TType.SET, 2) + oprot.writeSetBegin(TType.I64, len(self.nosuch)) + for iter375 in self.nosuch: + oprot.writeI64(iter375) + 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: @@ -6940,11 +7108,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.compacts = [] - (_etype365, _size362) = iprot.readListBegin() - for _i366 in xrange(_size362): - _elem367 = ShowCompactResponseElement() - _elem367.read(iprot) - self.compacts.append(_elem367) + (_etype379, _size376) = iprot.readListBegin() + for _i380 in xrange(_size376): + _elem381 = ShowCompactResponseElement() + _elem381.read(iprot) + self.compacts.append(_elem381) iprot.readListEnd() else: iprot.skip(ftype) @@ -6961,8 +7129,8 @@ def write(self, oprot): if self.compacts is not None: oprot.writeFieldBegin('compacts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.compacts)) - for iter368 in self.compacts: - iter368.write(oprot) + for iter382 in self.compacts: + iter382.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() diff --git metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb index 5e0c7d1..f931381 100644 --- metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb +++ metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb @@ -1599,6 +1599,46 @@ class HeartbeatRequest ::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 diff --git metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb index 745c1f5..645fdd7 100644 --- metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb +++ metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb @@ -1750,6 +1750,21 @@ module ThriftHiveMetastore 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() @@ -3135,6 +3150,13 @@ module ThriftHiveMetastore 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() @@ -7136,6 +7158,38 @@ module ThriftHiveMetastore ::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 diff --git metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java index d5c7ba7..b419c7d 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java @@ -81,6 +81,8 @@ import org.apache.hadoop.hive.metastore.api.GetPrincipalsInRoleRequest; import org.apache.hadoop.hive.metastore.api.GetPrincipalsInRoleResponse; 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; @@ -4865,6 +4867,16 @@ public void heartbeat(HeartbeatRequest ids) } @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); diff --git metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java index 0550589..921d109 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java @@ -72,6 +72,8 @@ import org.apache.hadoop.hive.metastore.api.GetPrincipalsInRoleRequest; import org.apache.hadoop.hive.metastore.api.GetPrincipalsInRoleResponse; 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; @@ -1604,6 +1606,13 @@ public void heartbeat(long txnid, long lockid) } @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(); diff --git metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java index 47c49aa..aa6eea5 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java @@ -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; @@ -1230,6 +1231,18 @@ public void heartbeat(long txnid, long lockid) 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 diff --git metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java index 2cc1157..8367021 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java @@ -600,6 +600,43 @@ public void heartbeat(HeartbeatRequest ids) } } + 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 { diff --git metastore/src/test/org/apache/hadoop/hive/metastore/txn/TestTxnHandler.java metastore/src/test/org/apache/hadoop/hive/metastore/txn/TestTxnHandler.java index 71021e3..8287c60 100644 --- metastore/src/test/org/apache/hadoop/hive/metastore/txn/TestTxnHandler.java +++ metastore/src/test/org/apache/hadoop/hive/metastore/txn/TestTxnHandler.java @@ -889,6 +889,48 @@ public void testHeartbeatLock() throws Exception { } @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");