commit 87570b913f084212c034996cf91a2b2915a2668d Author: Vihang Karajgaonkar Date: Tue Apr 16 13:04:18 2019 -0700 HIVE-21586 : Thrift generated cpp files for metastore do not compile (Vihang Karajgaonkar reviewed by Peter Vary) diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp index b848718bd9a2b049365dc796ce8cf3d3d30d6a94..5f2948e343f8017ca6d9979ea2d53281312c5d95 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp +++ b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp @@ -6397,6 +6397,229 @@ void StorageDescriptor::printTo(std::ostream& out) const { } +CreationMetadata::~CreationMetadata() throw() { +} + + +void CreationMetadata::__set_catName(const std::string& val) { + this->catName = val; +} + +void CreationMetadata::__set_dbName(const std::string& val) { + this->dbName = val; +} + +void CreationMetadata::__set_tblName(const std::string& val) { + this->tblName = val; +} + +void CreationMetadata::__set_tablesUsed(const std::set & val) { + this->tablesUsed = val; +} + +void CreationMetadata::__set_validTxnList(const std::string& val) { + this->validTxnList = val; +__isset.validTxnList = true; +} + +void CreationMetadata::__set_materializationTime(const int64_t val) { + this->materializationTime = val; +__isset.materializationTime = true; +} + +uint32_t CreationMetadata::read(::apache::thrift::protocol::TProtocol* iprot) { + + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + bool isset_catName = false; + bool isset_dbName = false; + bool isset_tblName = false; + bool isset_tablesUsed = false; + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->catName); + isset_catName = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->dbName); + isset_dbName = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->tblName); + isset_tblName = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_SET) { + { + this->tablesUsed.clear(); + uint32_t _size236; + ::apache::thrift::protocol::TType _etype239; + xfer += iprot->readSetBegin(_etype239, _size236); + uint32_t _i240; + for (_i240 = 0; _i240 < _size236; ++_i240) + { + std::string _elem241; + xfer += iprot->readString(_elem241); + this->tablesUsed.insert(_elem241); + } + xfer += iprot->readSetEnd(); + } + isset_tablesUsed = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->validTxnList); + this->__isset.validTxnList = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->materializationTime); + this->__isset.materializationTime = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + if (!isset_catName) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_dbName) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_tblName) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_tablesUsed) + throw TProtocolException(TProtocolException::INVALID_DATA); + return xfer; +} + +uint32_t CreationMetadata::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("CreationMetadata"); + + xfer += oprot->writeFieldBegin("catName", ::apache::thrift::protocol::T_STRING, 1); + xfer += oprot->writeString(this->catName); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->dbName); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("tblName", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->tblName); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("tablesUsed", ::apache::thrift::protocol::T_SET, 4); + { + xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tablesUsed.size())); + std::set ::const_iterator _iter242; + for (_iter242 = this->tablesUsed.begin(); _iter242 != this->tablesUsed.end(); ++_iter242) + { + xfer += oprot->writeString((*_iter242)); + } + xfer += oprot->writeSetEnd(); + } + xfer += oprot->writeFieldEnd(); + + if (this->__isset.validTxnList) { + xfer += oprot->writeFieldBegin("validTxnList", ::apache::thrift::protocol::T_STRING, 5); + xfer += oprot->writeString(this->validTxnList); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.materializationTime) { + xfer += oprot->writeFieldBegin("materializationTime", ::apache::thrift::protocol::T_I64, 6); + xfer += oprot->writeI64(this->materializationTime); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(CreationMetadata &a, CreationMetadata &b) { + using ::std::swap; + swap(a.catName, b.catName); + swap(a.dbName, b.dbName); + swap(a.tblName, b.tblName); + swap(a.tablesUsed, b.tablesUsed); + swap(a.validTxnList, b.validTxnList); + swap(a.materializationTime, b.materializationTime); + swap(a.__isset, b.__isset); +} + +CreationMetadata::CreationMetadata(const CreationMetadata& other243) { + catName = other243.catName; + dbName = other243.dbName; + tblName = other243.tblName; + tablesUsed = other243.tablesUsed; + validTxnList = other243.validTxnList; + materializationTime = other243.materializationTime; + __isset = other243.__isset; +} +CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other244) { + catName = other244.catName; + dbName = other244.dbName; + tblName = other244.tblName; + tablesUsed = other244.tablesUsed; + validTxnList = other244.validTxnList; + materializationTime = other244.materializationTime; + __isset = other244.__isset; + return *this; +} +void CreationMetadata::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "CreationMetadata("; + out << "catName=" << to_string(catName); + out << ", " << "dbName=" << to_string(dbName); + out << ", " << "tblName=" << to_string(tblName); + out << ", " << "tablesUsed=" << to_string(tablesUsed); + out << ", " << "validTxnList="; (__isset.validTxnList ? (out << to_string(validTxnList)) : (out << "")); + out << ", " << "materializationTime="; (__isset.materializationTime ? (out << to_string(materializationTime)) : (out << "")); + out << ")"; +} + + Table::~Table() throw() { } @@ -6560,14 +6783,14 @@ uint32_t Table::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionKeys.clear(); - uint32_t _size236; - ::apache::thrift::protocol::TType _etype239; - xfer += iprot->readListBegin(_etype239, _size236); - this->partitionKeys.resize(_size236); - uint32_t _i240; - for (_i240 = 0; _i240 < _size236; ++_i240) + uint32_t _size245; + ::apache::thrift::protocol::TType _etype248; + xfer += iprot->readListBegin(_etype248, _size245); + this->partitionKeys.resize(_size245); + uint32_t _i249; + for (_i249 = 0; _i249 < _size245; ++_i249) { - xfer += this->partitionKeys[_i240].read(iprot); + xfer += this->partitionKeys[_i249].read(iprot); } xfer += iprot->readListEnd(); } @@ -6580,17 +6803,17 @@ uint32_t Table::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->parameters.clear(); - uint32_t _size241; - ::apache::thrift::protocol::TType _ktype242; - ::apache::thrift::protocol::TType _vtype243; - xfer += iprot->readMapBegin(_ktype242, _vtype243, _size241); - uint32_t _i245; - for (_i245 = 0; _i245 < _size241; ++_i245) + uint32_t _size250; + ::apache::thrift::protocol::TType _ktype251; + ::apache::thrift::protocol::TType _vtype252; + xfer += iprot->readMapBegin(_ktype251, _vtype252, _size250); + uint32_t _i254; + for (_i254 = 0; _i254 < _size250; ++_i254) { - std::string _key246; - xfer += iprot->readString(_key246); - std::string& _val247 = this->parameters[_key246]; - xfer += iprot->readString(_val247); + std::string _key255; + xfer += iprot->readString(_key255); + std::string& _val256 = this->parameters[_key255]; + xfer += iprot->readString(_val256); } xfer += iprot->readMapEnd(); } @@ -6665,9 +6888,9 @@ uint32_t Table::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 18: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast248; - xfer += iprot->readI32(ecast248); - this->ownerType = (PrincipalType::type)ecast248; + int32_t ecast257; + xfer += iprot->readI32(ecast257); + this->ownerType = (PrincipalType::type)ecast257; this->__isset.ownerType = true; } else { xfer += iprot->skip(ftype); @@ -6721,10 +6944,10 @@ uint32_t Table::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("partitionKeys", ::apache::thrift::protocol::T_LIST, 8); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitionKeys.size())); - std::vector ::const_iterator _iter249; - for (_iter249 = this->partitionKeys.begin(); _iter249 != this->partitionKeys.end(); ++_iter249) + std::vector ::const_iterator _iter258; + for (_iter258 = this->partitionKeys.begin(); _iter258 != this->partitionKeys.end(); ++_iter258) { - xfer += (*_iter249).write(oprot); + xfer += (*_iter258).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6733,11 +6956,11 @@ uint32_t Table::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 9); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->parameters.size())); - std::map ::const_iterator _iter250; - for (_iter250 = this->parameters.begin(); _iter250 != this->parameters.end(); ++_iter250) + std::map ::const_iterator _iter259; + for (_iter259 = this->parameters.begin(); _iter259 != this->parameters.end(); ++_iter259) { - xfer += oprot->writeString(_iter250->first); - xfer += oprot->writeString(_iter250->second); + xfer += oprot->writeString(_iter259->first); + xfer += oprot->writeString(_iter259->second); } xfer += oprot->writeMapEnd(); } @@ -6813,47 +7036,47 @@ void swap(Table &a, Table &b) { swap(a.__isset, b.__isset); } -Table::Table(const Table& other251) { - tableName = other251.tableName; - dbName = other251.dbName; - owner = other251.owner; - createTime = other251.createTime; - lastAccessTime = other251.lastAccessTime; - retention = other251.retention; - sd = other251.sd; - partitionKeys = other251.partitionKeys; - parameters = other251.parameters; - viewOriginalText = other251.viewOriginalText; - viewExpandedText = other251.viewExpandedText; - tableType = other251.tableType; - privileges = other251.privileges; - temporary = other251.temporary; - rewriteEnabled = other251.rewriteEnabled; - creationMetadata = other251.creationMetadata; - catName = other251.catName; - ownerType = other251.ownerType; - __isset = other251.__isset; -} -Table& Table::operator=(const Table& other252) { - tableName = other252.tableName; - dbName = other252.dbName; - owner = other252.owner; - createTime = other252.createTime; - lastAccessTime = other252.lastAccessTime; - retention = other252.retention; - sd = other252.sd; - partitionKeys = other252.partitionKeys; - parameters = other252.parameters; - viewOriginalText = other252.viewOriginalText; - viewExpandedText = other252.viewExpandedText; - tableType = other252.tableType; - privileges = other252.privileges; - temporary = other252.temporary; - rewriteEnabled = other252.rewriteEnabled; - creationMetadata = other252.creationMetadata; - catName = other252.catName; - ownerType = other252.ownerType; - __isset = other252.__isset; +Table::Table(const Table& other260) { + tableName = other260.tableName; + dbName = other260.dbName; + owner = other260.owner; + createTime = other260.createTime; + lastAccessTime = other260.lastAccessTime; + retention = other260.retention; + sd = other260.sd; + partitionKeys = other260.partitionKeys; + parameters = other260.parameters; + viewOriginalText = other260.viewOriginalText; + viewExpandedText = other260.viewExpandedText; + tableType = other260.tableType; + privileges = other260.privileges; + temporary = other260.temporary; + rewriteEnabled = other260.rewriteEnabled; + creationMetadata = other260.creationMetadata; + catName = other260.catName; + ownerType = other260.ownerType; + __isset = other260.__isset; +} +Table& Table::operator=(const Table& other261) { + tableName = other261.tableName; + dbName = other261.dbName; + owner = other261.owner; + createTime = other261.createTime; + lastAccessTime = other261.lastAccessTime; + retention = other261.retention; + sd = other261.sd; + partitionKeys = other261.partitionKeys; + parameters = other261.parameters; + viewOriginalText = other261.viewOriginalText; + viewExpandedText = other261.viewExpandedText; + tableType = other261.tableType; + privileges = other261.privileges; + temporary = other261.temporary; + rewriteEnabled = other261.rewriteEnabled; + creationMetadata = other261.creationMetadata; + catName = other261.catName; + ownerType = other261.ownerType; + __isset = other261.__isset; return *this; } void Table::printTo(std::ostream& out) const { @@ -6948,14 +7171,14 @@ uint32_t Partition::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size253; - ::apache::thrift::protocol::TType _etype256; - xfer += iprot->readListBegin(_etype256, _size253); - this->values.resize(_size253); - uint32_t _i257; - for (_i257 = 0; _i257 < _size253; ++_i257) + uint32_t _size262; + ::apache::thrift::protocol::TType _etype265; + xfer += iprot->readListBegin(_etype265, _size262); + this->values.resize(_size262); + uint32_t _i266; + for (_i266 = 0; _i266 < _size262; ++_i266) { - xfer += iprot->readString(this->values[_i257]); + xfer += iprot->readString(this->values[_i266]); } xfer += iprot->readListEnd(); } @@ -7008,17 +7231,17 @@ uint32_t Partition::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->parameters.clear(); - uint32_t _size258; - ::apache::thrift::protocol::TType _ktype259; - ::apache::thrift::protocol::TType _vtype260; - xfer += iprot->readMapBegin(_ktype259, _vtype260, _size258); - uint32_t _i262; - for (_i262 = 0; _i262 < _size258; ++_i262) + uint32_t _size267; + ::apache::thrift::protocol::TType _ktype268; + ::apache::thrift::protocol::TType _vtype269; + xfer += iprot->readMapBegin(_ktype268, _vtype269, _size267); + uint32_t _i271; + for (_i271 = 0; _i271 < _size267; ++_i271) { - std::string _key263; - xfer += iprot->readString(_key263); - std::string& _val264 = this->parameters[_key263]; - xfer += iprot->readString(_val264); + std::string _key272; + xfer += iprot->readString(_key272); + std::string& _val273 = this->parameters[_key272]; + xfer += iprot->readString(_val273); } xfer += iprot->readMapEnd(); } @@ -7063,10 +7286,10 @@ uint32_t Partition::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->values.size())); - std::vector ::const_iterator _iter265; - for (_iter265 = this->values.begin(); _iter265 != this->values.end(); ++_iter265) + std::vector ::const_iterator _iter274; + for (_iter274 = this->values.begin(); _iter274 != this->values.end(); ++_iter274) { - xfer += oprot->writeString((*_iter265)); + xfer += oprot->writeString((*_iter274)); } xfer += oprot->writeListEnd(); } @@ -7095,11 +7318,11 @@ uint32_t Partition::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 7); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->parameters.size())); - std::map ::const_iterator _iter266; - for (_iter266 = this->parameters.begin(); _iter266 != this->parameters.end(); ++_iter266) + std::map ::const_iterator _iter275; + for (_iter275 = this->parameters.begin(); _iter275 != this->parameters.end(); ++_iter275) { - xfer += oprot->writeString(_iter266->first); - xfer += oprot->writeString(_iter266->second); + xfer += oprot->writeString(_iter275->first); + xfer += oprot->writeString(_iter275->second); } xfer += oprot->writeMapEnd(); } @@ -7134,29 +7357,29 @@ void swap(Partition &a, Partition &b) { swap(a.__isset, b.__isset); } -Partition::Partition(const Partition& other267) { - values = other267.values; - dbName = other267.dbName; - tableName = other267.tableName; - createTime = other267.createTime; - lastAccessTime = other267.lastAccessTime; - sd = other267.sd; - parameters = other267.parameters; - privileges = other267.privileges; - catName = other267.catName; - __isset = other267.__isset; -} -Partition& Partition::operator=(const Partition& other268) { - values = other268.values; - dbName = other268.dbName; - tableName = other268.tableName; - createTime = other268.createTime; - lastAccessTime = other268.lastAccessTime; - sd = other268.sd; - parameters = other268.parameters; - privileges = other268.privileges; - catName = other268.catName; - __isset = other268.__isset; +Partition::Partition(const Partition& other276) { + values = other276.values; + dbName = other276.dbName; + tableName = other276.tableName; + createTime = other276.createTime; + lastAccessTime = other276.lastAccessTime; + sd = other276.sd; + parameters = other276.parameters; + privileges = other276.privileges; + catName = other276.catName; + __isset = other276.__isset; +} +Partition& Partition::operator=(const Partition& other277) { + values = other277.values; + dbName = other277.dbName; + tableName = other277.tableName; + createTime = other277.createTime; + lastAccessTime = other277.lastAccessTime; + sd = other277.sd; + parameters = other277.parameters; + privileges = other277.privileges; + catName = other277.catName; + __isset = other277.__isset; return *this; } void Partition::printTo(std::ostream& out) const { @@ -7229,14 +7452,14 @@ uint32_t PartitionWithoutSD::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size269; - ::apache::thrift::protocol::TType _etype272; - xfer += iprot->readListBegin(_etype272, _size269); - this->values.resize(_size269); - uint32_t _i273; - for (_i273 = 0; _i273 < _size269; ++_i273) + uint32_t _size278; + ::apache::thrift::protocol::TType _etype281; + xfer += iprot->readListBegin(_etype281, _size278); + this->values.resize(_size278); + uint32_t _i282; + for (_i282 = 0; _i282 < _size278; ++_i282) { - xfer += iprot->readString(this->values[_i273]); + xfer += iprot->readString(this->values[_i282]); } xfer += iprot->readListEnd(); } @@ -7273,17 +7496,17 @@ uint32_t PartitionWithoutSD::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_MAP) { { this->parameters.clear(); - uint32_t _size274; - ::apache::thrift::protocol::TType _ktype275; - ::apache::thrift::protocol::TType _vtype276; - xfer += iprot->readMapBegin(_ktype275, _vtype276, _size274); - uint32_t _i278; - for (_i278 = 0; _i278 < _size274; ++_i278) + uint32_t _size283; + ::apache::thrift::protocol::TType _ktype284; + ::apache::thrift::protocol::TType _vtype285; + xfer += iprot->readMapBegin(_ktype284, _vtype285, _size283); + uint32_t _i287; + for (_i287 = 0; _i287 < _size283; ++_i287) { - std::string _key279; - xfer += iprot->readString(_key279); - std::string& _val280 = this->parameters[_key279]; - xfer += iprot->readString(_val280); + std::string _key288; + xfer += iprot->readString(_key288); + std::string& _val289 = this->parameters[_key288]; + xfer += iprot->readString(_val289); } xfer += iprot->readMapEnd(); } @@ -7320,10 +7543,10 @@ uint32_t PartitionWithoutSD::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->values.size())); - std::vector ::const_iterator _iter281; - for (_iter281 = this->values.begin(); _iter281 != this->values.end(); ++_iter281) + std::vector ::const_iterator _iter290; + for (_iter290 = this->values.begin(); _iter290 != this->values.end(); ++_iter290) { - xfer += oprot->writeString((*_iter281)); + xfer += oprot->writeString((*_iter290)); } xfer += oprot->writeListEnd(); } @@ -7344,11 +7567,11 @@ uint32_t PartitionWithoutSD::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 5); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->parameters.size())); - std::map ::const_iterator _iter282; - for (_iter282 = this->parameters.begin(); _iter282 != this->parameters.end(); ++_iter282) + std::map ::const_iterator _iter291; + for (_iter291 = this->parameters.begin(); _iter291 != this->parameters.end(); ++_iter291) { - xfer += oprot->writeString(_iter282->first); - xfer += oprot->writeString(_iter282->second); + xfer += oprot->writeString(_iter291->first); + xfer += oprot->writeString(_iter291->second); } xfer += oprot->writeMapEnd(); } @@ -7375,23 +7598,23 @@ void swap(PartitionWithoutSD &a, PartitionWithoutSD &b) { swap(a.__isset, b.__isset); } -PartitionWithoutSD::PartitionWithoutSD(const PartitionWithoutSD& other283) { - values = other283.values; - createTime = other283.createTime; - lastAccessTime = other283.lastAccessTime; - relativePath = other283.relativePath; - parameters = other283.parameters; - privileges = other283.privileges; - __isset = other283.__isset; -} -PartitionWithoutSD& PartitionWithoutSD::operator=(const PartitionWithoutSD& other284) { - values = other284.values; - createTime = other284.createTime; - lastAccessTime = other284.lastAccessTime; - relativePath = other284.relativePath; - parameters = other284.parameters; - privileges = other284.privileges; - __isset = other284.__isset; +PartitionWithoutSD::PartitionWithoutSD(const PartitionWithoutSD& other292) { + values = other292.values; + createTime = other292.createTime; + lastAccessTime = other292.lastAccessTime; + relativePath = other292.relativePath; + parameters = other292.parameters; + privileges = other292.privileges; + __isset = other292.__isset; +} +PartitionWithoutSD& PartitionWithoutSD::operator=(const PartitionWithoutSD& other293) { + values = other293.values; + createTime = other293.createTime; + lastAccessTime = other293.lastAccessTime; + relativePath = other293.relativePath; + parameters = other293.parameters; + privileges = other293.privileges; + __isset = other293.__isset; return *this; } void PartitionWithoutSD::printTo(std::ostream& out) const { @@ -7444,14 +7667,14 @@ uint32_t PartitionSpecWithSharedSD::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size285; - ::apache::thrift::protocol::TType _etype288; - xfer += iprot->readListBegin(_etype288, _size285); - this->partitions.resize(_size285); - uint32_t _i289; - for (_i289 = 0; _i289 < _size285; ++_i289) + uint32_t _size294; + ::apache::thrift::protocol::TType _etype297; + xfer += iprot->readListBegin(_etype297, _size294); + this->partitions.resize(_size294); + uint32_t _i298; + for (_i298 = 0; _i298 < _size294; ++_i298) { - xfer += this->partitions[_i289].read(iprot); + xfer += this->partitions[_i298].read(iprot); } xfer += iprot->readListEnd(); } @@ -7488,10 +7711,10 @@ uint32_t PartitionSpecWithSharedSD::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitions.size())); - std::vector ::const_iterator _iter290; - for (_iter290 = this->partitions.begin(); _iter290 != this->partitions.end(); ++_iter290) + std::vector ::const_iterator _iter299; + for (_iter299 = this->partitions.begin(); _iter299 != this->partitions.end(); ++_iter299) { - xfer += (*_iter290).write(oprot); + xfer += (*_iter299).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7513,15 +7736,15 @@ void swap(PartitionSpecWithSharedSD &a, PartitionSpecWithSharedSD &b) { swap(a.__isset, b.__isset); } -PartitionSpecWithSharedSD::PartitionSpecWithSharedSD(const PartitionSpecWithSharedSD& other291) { - partitions = other291.partitions; - sd = other291.sd; - __isset = other291.__isset; +PartitionSpecWithSharedSD::PartitionSpecWithSharedSD(const PartitionSpecWithSharedSD& other300) { + partitions = other300.partitions; + sd = other300.sd; + __isset = other300.__isset; } -PartitionSpecWithSharedSD& PartitionSpecWithSharedSD::operator=(const PartitionSpecWithSharedSD& other292) { - partitions = other292.partitions; - sd = other292.sd; - __isset = other292.__isset; +PartitionSpecWithSharedSD& PartitionSpecWithSharedSD::operator=(const PartitionSpecWithSharedSD& other301) { + partitions = other301.partitions; + sd = other301.sd; + __isset = other301.__isset; return *this; } void PartitionSpecWithSharedSD::printTo(std::ostream& out) const { @@ -7566,14 +7789,14 @@ uint32_t PartitionListComposingSpec::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size293; - ::apache::thrift::protocol::TType _etype296; - xfer += iprot->readListBegin(_etype296, _size293); - this->partitions.resize(_size293); - uint32_t _i297; - for (_i297 = 0; _i297 < _size293; ++_i297) + uint32_t _size302; + ::apache::thrift::protocol::TType _etype305; + xfer += iprot->readListBegin(_etype305, _size302); + this->partitions.resize(_size302); + uint32_t _i306; + for (_i306 = 0; _i306 < _size302; ++_i306) { - xfer += this->partitions[_i297].read(iprot); + xfer += this->partitions[_i306].read(iprot); } xfer += iprot->readListEnd(); } @@ -7602,10 +7825,10 @@ uint32_t PartitionListComposingSpec::write(::apache::thrift::protocol::TProtocol xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitions.size())); - std::vector ::const_iterator _iter298; - for (_iter298 = this->partitions.begin(); _iter298 != this->partitions.end(); ++_iter298) + std::vector ::const_iterator _iter307; + for (_iter307 = this->partitions.begin(); _iter307 != this->partitions.end(); ++_iter307) { - xfer += (*_iter298).write(oprot); + xfer += (*_iter307).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7622,13 +7845,13 @@ void swap(PartitionListComposingSpec &a, PartitionListComposingSpec &b) { swap(a.__isset, b.__isset); } -PartitionListComposingSpec::PartitionListComposingSpec(const PartitionListComposingSpec& other299) { - partitions = other299.partitions; - __isset = other299.__isset; +PartitionListComposingSpec::PartitionListComposingSpec(const PartitionListComposingSpec& other308) { + partitions = other308.partitions; + __isset = other308.__isset; } -PartitionListComposingSpec& PartitionListComposingSpec::operator=(const PartitionListComposingSpec& other300) { - partitions = other300.partitions; - __isset = other300.__isset; +PartitionListComposingSpec& PartitionListComposingSpec::operator=(const PartitionListComposingSpec& other309) { + partitions = other309.partitions; + __isset = other309.__isset; return *this; } void PartitionListComposingSpec::printTo(std::ostream& out) const { @@ -7799,23 +8022,23 @@ void swap(PartitionSpec &a, PartitionSpec &b) { swap(a.__isset, b.__isset); } -PartitionSpec::PartitionSpec(const PartitionSpec& other301) { - dbName = other301.dbName; - tableName = other301.tableName; - rootPath = other301.rootPath; - sharedSDPartitionSpec = other301.sharedSDPartitionSpec; - partitionList = other301.partitionList; - catName = other301.catName; - __isset = other301.__isset; +PartitionSpec::PartitionSpec(const PartitionSpec& other310) { + dbName = other310.dbName; + tableName = other310.tableName; + rootPath = other310.rootPath; + sharedSDPartitionSpec = other310.sharedSDPartitionSpec; + partitionList = other310.partitionList; + catName = other310.catName; + __isset = other310.__isset; } -PartitionSpec& PartitionSpec::operator=(const PartitionSpec& other302) { - dbName = other302.dbName; - tableName = other302.tableName; - rootPath = other302.rootPath; - sharedSDPartitionSpec = other302.sharedSDPartitionSpec; - partitionList = other302.partitionList; - catName = other302.catName; - __isset = other302.__isset; +PartitionSpec& PartitionSpec::operator=(const PartitionSpec& other311) { + dbName = other311.dbName; + tableName = other311.tableName; + rootPath = other311.rootPath; + sharedSDPartitionSpec = other311.sharedSDPartitionSpec; + partitionList = other311.partitionList; + catName = other311.catName; + __isset = other311.__isset; return *this; } void PartitionSpec::printTo(std::ostream& out) const { @@ -7962,19 +8185,19 @@ void swap(BooleanColumnStatsData &a, BooleanColumnStatsData &b) { swap(a.__isset, b.__isset); } -BooleanColumnStatsData::BooleanColumnStatsData(const BooleanColumnStatsData& other303) { - numTrues = other303.numTrues; - numFalses = other303.numFalses; - numNulls = other303.numNulls; - bitVectors = other303.bitVectors; - __isset = other303.__isset; +BooleanColumnStatsData::BooleanColumnStatsData(const BooleanColumnStatsData& other312) { + numTrues = other312.numTrues; + numFalses = other312.numFalses; + numNulls = other312.numNulls; + bitVectors = other312.bitVectors; + __isset = other312.__isset; } -BooleanColumnStatsData& BooleanColumnStatsData::operator=(const BooleanColumnStatsData& other304) { - numTrues = other304.numTrues; - numFalses = other304.numFalses; - numNulls = other304.numNulls; - bitVectors = other304.bitVectors; - __isset = other304.__isset; +BooleanColumnStatsData& BooleanColumnStatsData::operator=(const BooleanColumnStatsData& other313) { + numTrues = other313.numTrues; + numFalses = other313.numFalses; + numNulls = other313.numNulls; + bitVectors = other313.bitVectors; + __isset = other313.__isset; return *this; } void BooleanColumnStatsData::printTo(std::ostream& out) const { @@ -8137,21 +8360,21 @@ void swap(DoubleColumnStatsData &a, DoubleColumnStatsData &b) { swap(a.__isset, b.__isset); } -DoubleColumnStatsData::DoubleColumnStatsData(const DoubleColumnStatsData& other305) { - lowValue = other305.lowValue; - highValue = other305.highValue; - numNulls = other305.numNulls; - numDVs = other305.numDVs; - bitVectors = other305.bitVectors; - __isset = other305.__isset; -} -DoubleColumnStatsData& DoubleColumnStatsData::operator=(const DoubleColumnStatsData& other306) { - lowValue = other306.lowValue; - highValue = other306.highValue; - numNulls = other306.numNulls; - numDVs = other306.numDVs; - bitVectors = other306.bitVectors; - __isset = other306.__isset; +DoubleColumnStatsData::DoubleColumnStatsData(const DoubleColumnStatsData& other314) { + lowValue = other314.lowValue; + highValue = other314.highValue; + numNulls = other314.numNulls; + numDVs = other314.numDVs; + bitVectors = other314.bitVectors; + __isset = other314.__isset; +} +DoubleColumnStatsData& DoubleColumnStatsData::operator=(const DoubleColumnStatsData& other315) { + lowValue = other315.lowValue; + highValue = other315.highValue; + numNulls = other315.numNulls; + numDVs = other315.numDVs; + bitVectors = other315.bitVectors; + __isset = other315.__isset; return *this; } void DoubleColumnStatsData::printTo(std::ostream& out) const { @@ -8315,21 +8538,21 @@ void swap(LongColumnStatsData &a, LongColumnStatsData &b) { swap(a.__isset, b.__isset); } -LongColumnStatsData::LongColumnStatsData(const LongColumnStatsData& other307) { - lowValue = other307.lowValue; - highValue = other307.highValue; - numNulls = other307.numNulls; - numDVs = other307.numDVs; - bitVectors = other307.bitVectors; - __isset = other307.__isset; -} -LongColumnStatsData& LongColumnStatsData::operator=(const LongColumnStatsData& other308) { - lowValue = other308.lowValue; - highValue = other308.highValue; - numNulls = other308.numNulls; - numDVs = other308.numDVs; - bitVectors = other308.bitVectors; - __isset = other308.__isset; +LongColumnStatsData::LongColumnStatsData(const LongColumnStatsData& other316) { + lowValue = other316.lowValue; + highValue = other316.highValue; + numNulls = other316.numNulls; + numDVs = other316.numDVs; + bitVectors = other316.bitVectors; + __isset = other316.__isset; +} +LongColumnStatsData& LongColumnStatsData::operator=(const LongColumnStatsData& other317) { + lowValue = other317.lowValue; + highValue = other317.highValue; + numNulls = other317.numNulls; + numDVs = other317.numDVs; + bitVectors = other317.bitVectors; + __isset = other317.__isset; return *this; } void LongColumnStatsData::printTo(std::ostream& out) const { @@ -8495,21 +8718,21 @@ void swap(StringColumnStatsData &a, StringColumnStatsData &b) { swap(a.__isset, b.__isset); } -StringColumnStatsData::StringColumnStatsData(const StringColumnStatsData& other309) { - maxColLen = other309.maxColLen; - avgColLen = other309.avgColLen; - numNulls = other309.numNulls; - numDVs = other309.numDVs; - bitVectors = other309.bitVectors; - __isset = other309.__isset; +StringColumnStatsData::StringColumnStatsData(const StringColumnStatsData& other318) { + maxColLen = other318.maxColLen; + avgColLen = other318.avgColLen; + numNulls = other318.numNulls; + numDVs = other318.numDVs; + bitVectors = other318.bitVectors; + __isset = other318.__isset; } -StringColumnStatsData& StringColumnStatsData::operator=(const StringColumnStatsData& other310) { - maxColLen = other310.maxColLen; - avgColLen = other310.avgColLen; - numNulls = other310.numNulls; - numDVs = other310.numDVs; - bitVectors = other310.bitVectors; - __isset = other310.__isset; +StringColumnStatsData& StringColumnStatsData::operator=(const StringColumnStatsData& other319) { + maxColLen = other319.maxColLen; + avgColLen = other319.avgColLen; + numNulls = other319.numNulls; + numDVs = other319.numDVs; + bitVectors = other319.bitVectors; + __isset = other319.__isset; return *this; } void StringColumnStatsData::printTo(std::ostream& out) const { @@ -8655,19 +8878,19 @@ void swap(BinaryColumnStatsData &a, BinaryColumnStatsData &b) { swap(a.__isset, b.__isset); } -BinaryColumnStatsData::BinaryColumnStatsData(const BinaryColumnStatsData& other311) { - maxColLen = other311.maxColLen; - avgColLen = other311.avgColLen; - numNulls = other311.numNulls; - bitVectors = other311.bitVectors; - __isset = other311.__isset; +BinaryColumnStatsData::BinaryColumnStatsData(const BinaryColumnStatsData& other320) { + maxColLen = other320.maxColLen; + avgColLen = other320.avgColLen; + numNulls = other320.numNulls; + bitVectors = other320.bitVectors; + __isset = other320.__isset; } -BinaryColumnStatsData& BinaryColumnStatsData::operator=(const BinaryColumnStatsData& other312) { - maxColLen = other312.maxColLen; - avgColLen = other312.avgColLen; - numNulls = other312.numNulls; - bitVectors = other312.bitVectors; - __isset = other312.__isset; +BinaryColumnStatsData& BinaryColumnStatsData::operator=(const BinaryColumnStatsData& other321) { + maxColLen = other321.maxColLen; + avgColLen = other321.avgColLen; + numNulls = other321.numNulls; + bitVectors = other321.bitVectors; + __isset = other321.__isset; return *this; } void BinaryColumnStatsData::printTo(std::ostream& out) const { @@ -8772,13 +8995,13 @@ void swap(Decimal &a, Decimal &b) { swap(a.unscaled, b.unscaled); } -Decimal::Decimal(const Decimal& other313) { - scale = other313.scale; - unscaled = other313.unscaled; +Decimal::Decimal(const Decimal& other322) { + scale = other322.scale; + unscaled = other322.unscaled; } -Decimal& Decimal::operator=(const Decimal& other314) { - scale = other314.scale; - unscaled = other314.unscaled; +Decimal& Decimal::operator=(const Decimal& other323) { + scale = other323.scale; + unscaled = other323.unscaled; return *this; } void Decimal::printTo(std::ostream& out) const { @@ -8939,22 +9162,22 @@ void swap(DecimalColumnStatsData &a, DecimalColumnStatsData &b) { swap(a.__isset, b.__isset); } -DecimalColumnStatsData::DecimalColumnStatsData(const DecimalColumnStatsData& other315) { - lowValue = other315.lowValue; - highValue = other315.highValue; - numNulls = other315.numNulls; - numDVs = other315.numDVs; - bitVectors = other315.bitVectors; - __isset = other315.__isset; -} -DecimalColumnStatsData& DecimalColumnStatsData::operator=(const DecimalColumnStatsData& other316) { - lowValue = other316.lowValue; - highValue = other316.highValue; - numNulls = other316.numNulls; - numDVs = other316.numDVs; - bitVectors = other316.bitVectors; - __isset = other316.__isset; - return *this; +DecimalColumnStatsData::DecimalColumnStatsData(const DecimalColumnStatsData& other324) { + lowValue = other324.lowValue; + highValue = other324.highValue; + numNulls = other324.numNulls; + numDVs = other324.numDVs; + bitVectors = other324.bitVectors; + __isset = other324.__isset; +} +DecimalColumnStatsData& DecimalColumnStatsData::operator=(const DecimalColumnStatsData& other325) { + lowValue = other325.lowValue; + highValue = other325.highValue; + numNulls = other325.numNulls; + numDVs = other325.numDVs; + bitVectors = other325.bitVectors; + __isset = other325.__isset; + return *this; } void DecimalColumnStatsData::printTo(std::ostream& out) const { using ::apache::thrift::to_string; @@ -9039,11 +9262,11 @@ void swap(Date &a, Date &b) { swap(a.daysSinceEpoch, b.daysSinceEpoch); } -Date::Date(const Date& other317) { - daysSinceEpoch = other317.daysSinceEpoch; +Date::Date(const Date& other326) { + daysSinceEpoch = other326.daysSinceEpoch; } -Date& Date::operator=(const Date& other318) { - daysSinceEpoch = other318.daysSinceEpoch; +Date& Date::operator=(const Date& other327) { + daysSinceEpoch = other327.daysSinceEpoch; return *this; } void Date::printTo(std::ostream& out) const { @@ -9203,21 +9426,21 @@ void swap(DateColumnStatsData &a, DateColumnStatsData &b) { swap(a.__isset, b.__isset); } -DateColumnStatsData::DateColumnStatsData(const DateColumnStatsData& other319) { - lowValue = other319.lowValue; - highValue = other319.highValue; - numNulls = other319.numNulls; - numDVs = other319.numDVs; - bitVectors = other319.bitVectors; - __isset = other319.__isset; -} -DateColumnStatsData& DateColumnStatsData::operator=(const DateColumnStatsData& other320) { - lowValue = other320.lowValue; - highValue = other320.highValue; - numNulls = other320.numNulls; - numDVs = other320.numDVs; - bitVectors = other320.bitVectors; - __isset = other320.__isset; +DateColumnStatsData::DateColumnStatsData(const DateColumnStatsData& other328) { + lowValue = other328.lowValue; + highValue = other328.highValue; + numNulls = other328.numNulls; + numDVs = other328.numDVs; + bitVectors = other328.bitVectors; + __isset = other328.__isset; +} +DateColumnStatsData& DateColumnStatsData::operator=(const DateColumnStatsData& other329) { + lowValue = other329.lowValue; + highValue = other329.highValue; + numNulls = other329.numNulls; + numDVs = other329.numDVs; + bitVectors = other329.bitVectors; + __isset = other329.__isset; return *this; } void DateColumnStatsData::printTo(std::ostream& out) const { @@ -9403,25 +9626,25 @@ void swap(ColumnStatisticsData &a, ColumnStatisticsData &b) { swap(a.__isset, b.__isset); } -ColumnStatisticsData::ColumnStatisticsData(const ColumnStatisticsData& other321) { - booleanStats = other321.booleanStats; - longStats = other321.longStats; - doubleStats = other321.doubleStats; - stringStats = other321.stringStats; - binaryStats = other321.binaryStats; - decimalStats = other321.decimalStats; - dateStats = other321.dateStats; - __isset = other321.__isset; -} -ColumnStatisticsData& ColumnStatisticsData::operator=(const ColumnStatisticsData& other322) { - booleanStats = other322.booleanStats; - longStats = other322.longStats; - doubleStats = other322.doubleStats; - stringStats = other322.stringStats; - binaryStats = other322.binaryStats; - decimalStats = other322.decimalStats; - dateStats = other322.dateStats; - __isset = other322.__isset; +ColumnStatisticsData::ColumnStatisticsData(const ColumnStatisticsData& other330) { + booleanStats = other330.booleanStats; + longStats = other330.longStats; + doubleStats = other330.doubleStats; + stringStats = other330.stringStats; + binaryStats = other330.binaryStats; + decimalStats = other330.decimalStats; + dateStats = other330.dateStats; + __isset = other330.__isset; +} +ColumnStatisticsData& ColumnStatisticsData::operator=(const ColumnStatisticsData& other331) { + booleanStats = other331.booleanStats; + longStats = other331.longStats; + doubleStats = other331.doubleStats; + stringStats = other331.stringStats; + binaryStats = other331.binaryStats; + decimalStats = other331.decimalStats; + dateStats = other331.dateStats; + __isset = other331.__isset; return *this; } void ColumnStatisticsData::printTo(std::ostream& out) const { @@ -9549,15 +9772,15 @@ void swap(ColumnStatisticsObj &a, ColumnStatisticsObj &b) { swap(a.statsData, b.statsData); } -ColumnStatisticsObj::ColumnStatisticsObj(const ColumnStatisticsObj& other323) { - colName = other323.colName; - colType = other323.colType; - statsData = other323.statsData; +ColumnStatisticsObj::ColumnStatisticsObj(const ColumnStatisticsObj& other332) { + colName = other332.colName; + colType = other332.colType; + statsData = other332.statsData; } -ColumnStatisticsObj& ColumnStatisticsObj::operator=(const ColumnStatisticsObj& other324) { - colName = other324.colName; - colType = other324.colType; - statsData = other324.statsData; +ColumnStatisticsObj& ColumnStatisticsObj::operator=(const ColumnStatisticsObj& other333) { + colName = other333.colName; + colType = other333.colType; + statsData = other333.statsData; return *this; } void ColumnStatisticsObj::printTo(std::ostream& out) const { @@ -9739,23 +9962,23 @@ void swap(ColumnStatisticsDesc &a, ColumnStatisticsDesc &b) { swap(a.__isset, b.__isset); } -ColumnStatisticsDesc::ColumnStatisticsDesc(const ColumnStatisticsDesc& other325) { - isTblLevel = other325.isTblLevel; - dbName = other325.dbName; - tableName = other325.tableName; - partName = other325.partName; - lastAnalyzed = other325.lastAnalyzed; - catName = other325.catName; - __isset = other325.__isset; -} -ColumnStatisticsDesc& ColumnStatisticsDesc::operator=(const ColumnStatisticsDesc& other326) { - isTblLevel = other326.isTblLevel; - dbName = other326.dbName; - tableName = other326.tableName; - partName = other326.partName; - lastAnalyzed = other326.lastAnalyzed; - catName = other326.catName; - __isset = other326.__isset; +ColumnStatisticsDesc::ColumnStatisticsDesc(const ColumnStatisticsDesc& other334) { + isTblLevel = other334.isTblLevel; + dbName = other334.dbName; + tableName = other334.tableName; + partName = other334.partName; + lastAnalyzed = other334.lastAnalyzed; + catName = other334.catName; + __isset = other334.__isset; +} +ColumnStatisticsDesc& ColumnStatisticsDesc::operator=(const ColumnStatisticsDesc& other335) { + isTblLevel = other335.isTblLevel; + dbName = other335.dbName; + tableName = other335.tableName; + partName = other335.partName; + lastAnalyzed = other335.lastAnalyzed; + catName = other335.catName; + __isset = other335.__isset; return *this; } void ColumnStatisticsDesc::printTo(std::ostream& out) const { @@ -9818,14 +10041,14 @@ uint32_t ColumnStatistics::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->statsObj.clear(); - uint32_t _size327; - ::apache::thrift::protocol::TType _etype330; - xfer += iprot->readListBegin(_etype330, _size327); - this->statsObj.resize(_size327); - uint32_t _i331; - for (_i331 = 0; _i331 < _size327; ++_i331) + uint32_t _size336; + ::apache::thrift::protocol::TType _etype339; + xfer += iprot->readListBegin(_etype339, _size336); + this->statsObj.resize(_size336); + uint32_t _i340; + for (_i340 = 0; _i340 < _size336; ++_i340) { - xfer += this->statsObj[_i331].read(iprot); + xfer += this->statsObj[_i340].read(iprot); } xfer += iprot->readListEnd(); } @@ -9862,10 +10085,10 @@ uint32_t ColumnStatistics::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("statsObj", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->statsObj.size())); - std::vector ::const_iterator _iter332; - for (_iter332 = this->statsObj.begin(); _iter332 != this->statsObj.end(); ++_iter332) + std::vector ::const_iterator _iter341; + for (_iter341 = this->statsObj.begin(); _iter341 != this->statsObj.end(); ++_iter341) { - xfer += (*_iter332).write(oprot); + xfer += (*_iter341).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9882,13 +10105,13 @@ void swap(ColumnStatistics &a, ColumnStatistics &b) { swap(a.statsObj, b.statsObj); } -ColumnStatistics::ColumnStatistics(const ColumnStatistics& other333) { - statsDesc = other333.statsDesc; - statsObj = other333.statsObj; +ColumnStatistics::ColumnStatistics(const ColumnStatistics& other342) { + statsDesc = other342.statsDesc; + statsObj = other342.statsObj; } -ColumnStatistics& ColumnStatistics::operator=(const ColumnStatistics& other334) { - statsDesc = other334.statsDesc; - statsObj = other334.statsObj; +ColumnStatistics& ColumnStatistics::operator=(const ColumnStatistics& other343) { + statsDesc = other343.statsDesc; + statsObj = other343.statsObj; return *this; } void ColumnStatistics::printTo(std::ostream& out) const { @@ -9939,14 +10162,14 @@ uint32_t AggrStats::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->colStats.clear(); - uint32_t _size335; - ::apache::thrift::protocol::TType _etype338; - xfer += iprot->readListBegin(_etype338, _size335); - this->colStats.resize(_size335); - uint32_t _i339; - for (_i339 = 0; _i339 < _size335; ++_i339) + uint32_t _size344; + ::apache::thrift::protocol::TType _etype347; + xfer += iprot->readListBegin(_etype347, _size344); + this->colStats.resize(_size344); + uint32_t _i348; + for (_i348 = 0; _i348 < _size344; ++_i348) { - xfer += this->colStats[_i339].read(iprot); + xfer += this->colStats[_i348].read(iprot); } xfer += iprot->readListEnd(); } @@ -9987,10 +10210,10 @@ uint32_t AggrStats::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("colStats", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->colStats.size())); - std::vector ::const_iterator _iter340; - for (_iter340 = this->colStats.begin(); _iter340 != this->colStats.end(); ++_iter340) + std::vector ::const_iterator _iter349; + for (_iter349 = this->colStats.begin(); _iter349 != this->colStats.end(); ++_iter349) { - xfer += (*_iter340).write(oprot); + xfer += (*_iter349).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10011,13 +10234,13 @@ void swap(AggrStats &a, AggrStats &b) { swap(a.partsFound, b.partsFound); } -AggrStats::AggrStats(const AggrStats& other341) { - colStats = other341.colStats; - partsFound = other341.partsFound; +AggrStats::AggrStats(const AggrStats& other350) { + colStats = other350.colStats; + partsFound = other350.partsFound; } -AggrStats& AggrStats::operator=(const AggrStats& other342) { - colStats = other342.colStats; - partsFound = other342.partsFound; +AggrStats& AggrStats::operator=(const AggrStats& other351) { + colStats = other351.colStats; + partsFound = other351.partsFound; return *this; } void AggrStats::printTo(std::ostream& out) const { @@ -10068,14 +10291,14 @@ uint32_t SetPartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->colStats.clear(); - uint32_t _size343; - ::apache::thrift::protocol::TType _etype346; - xfer += iprot->readListBegin(_etype346, _size343); - this->colStats.resize(_size343); - uint32_t _i347; - for (_i347 = 0; _i347 < _size343; ++_i347) + uint32_t _size352; + ::apache::thrift::protocol::TType _etype355; + xfer += iprot->readListBegin(_etype355, _size352); + this->colStats.resize(_size352); + uint32_t _i356; + for (_i356 = 0; _i356 < _size352; ++_i356) { - xfer += this->colStats[_i347].read(iprot); + xfer += this->colStats[_i356].read(iprot); } xfer += iprot->readListEnd(); } @@ -10114,10 +10337,10 @@ uint32_t SetPartitionsStatsRequest::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("colStats", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->colStats.size())); - std::vector ::const_iterator _iter348; - for (_iter348 = this->colStats.begin(); _iter348 != this->colStats.end(); ++_iter348) + std::vector ::const_iterator _iter357; + for (_iter357 = this->colStats.begin(); _iter357 != this->colStats.end(); ++_iter357) { - xfer += (*_iter348).write(oprot); + xfer += (*_iter357).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10140,15 +10363,15 @@ void swap(SetPartitionsStatsRequest &a, SetPartitionsStatsRequest &b) { swap(a.__isset, b.__isset); } -SetPartitionsStatsRequest::SetPartitionsStatsRequest(const SetPartitionsStatsRequest& other349) { - colStats = other349.colStats; - needMerge = other349.needMerge; - __isset = other349.__isset; +SetPartitionsStatsRequest::SetPartitionsStatsRequest(const SetPartitionsStatsRequest& other358) { + colStats = other358.colStats; + needMerge = other358.needMerge; + __isset = other358.__isset; } -SetPartitionsStatsRequest& SetPartitionsStatsRequest::operator=(const SetPartitionsStatsRequest& other350) { - colStats = other350.colStats; - needMerge = other350.needMerge; - __isset = other350.__isset; +SetPartitionsStatsRequest& SetPartitionsStatsRequest::operator=(const SetPartitionsStatsRequest& other359) { + colStats = other359.colStats; + needMerge = other359.needMerge; + __isset = other359.__isset; return *this; } void SetPartitionsStatsRequest::printTo(std::ostream& out) const { @@ -10197,14 +10420,14 @@ uint32_t Schema::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fieldSchemas.clear(); - uint32_t _size351; - ::apache::thrift::protocol::TType _etype354; - xfer += iprot->readListBegin(_etype354, _size351); - this->fieldSchemas.resize(_size351); - uint32_t _i355; - for (_i355 = 0; _i355 < _size351; ++_i355) + uint32_t _size360; + ::apache::thrift::protocol::TType _etype363; + xfer += iprot->readListBegin(_etype363, _size360); + this->fieldSchemas.resize(_size360); + uint32_t _i364; + for (_i364 = 0; _i364 < _size360; ++_i364) { - xfer += this->fieldSchemas[_i355].read(iprot); + xfer += this->fieldSchemas[_i364].read(iprot); } xfer += iprot->readListEnd(); } @@ -10217,17 +10440,17 @@ uint32_t Schema::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - uint32_t _size356; - ::apache::thrift::protocol::TType _ktype357; - ::apache::thrift::protocol::TType _vtype358; - xfer += iprot->readMapBegin(_ktype357, _vtype358, _size356); - uint32_t _i360; - for (_i360 = 0; _i360 < _size356; ++_i360) + uint32_t _size365; + ::apache::thrift::protocol::TType _ktype366; + ::apache::thrift::protocol::TType _vtype367; + xfer += iprot->readMapBegin(_ktype366, _vtype367, _size365); + uint32_t _i369; + for (_i369 = 0; _i369 < _size365; ++_i369) { - std::string _key361; - xfer += iprot->readString(_key361); - std::string& _val362 = this->properties[_key361]; - xfer += iprot->readString(_val362); + std::string _key370; + xfer += iprot->readString(_key370); + std::string& _val371 = this->properties[_key370]; + xfer += iprot->readString(_val371); } xfer += iprot->readMapEnd(); } @@ -10256,10 +10479,10 @@ uint32_t Schema::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("fieldSchemas", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->fieldSchemas.size())); - std::vector ::const_iterator _iter363; - for (_iter363 = this->fieldSchemas.begin(); _iter363 != this->fieldSchemas.end(); ++_iter363) + std::vector ::const_iterator _iter372; + for (_iter372 = this->fieldSchemas.begin(); _iter372 != this->fieldSchemas.end(); ++_iter372) { - xfer += (*_iter363).write(oprot); + xfer += (*_iter372).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10268,11 +10491,11 @@ uint32_t Schema::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("properties", ::apache::thrift::protocol::T_MAP, 2); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->properties.size())); - std::map ::const_iterator _iter364; - for (_iter364 = this->properties.begin(); _iter364 != this->properties.end(); ++_iter364) + std::map ::const_iterator _iter373; + for (_iter373 = this->properties.begin(); _iter373 != this->properties.end(); ++_iter373) { - xfer += oprot->writeString(_iter364->first); - xfer += oprot->writeString(_iter364->second); + xfer += oprot->writeString(_iter373->first); + xfer += oprot->writeString(_iter373->second); } xfer += oprot->writeMapEnd(); } @@ -10290,15 +10513,15 @@ void swap(Schema &a, Schema &b) { swap(a.__isset, b.__isset); } -Schema::Schema(const Schema& other365) { - fieldSchemas = other365.fieldSchemas; - properties = other365.properties; - __isset = other365.__isset; +Schema::Schema(const Schema& other374) { + fieldSchemas = other374.fieldSchemas; + properties = other374.properties; + __isset = other374.__isset; } -Schema& Schema::operator=(const Schema& other366) { - fieldSchemas = other366.fieldSchemas; - properties = other366.properties; - __isset = other366.__isset; +Schema& Schema::operator=(const Schema& other375) { + fieldSchemas = other375.fieldSchemas; + properties = other375.properties; + __isset = other375.__isset; return *this; } void Schema::printTo(std::ostream& out) const { @@ -10343,17 +10566,17 @@ uint32_t EnvironmentContext::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - uint32_t _size367; - ::apache::thrift::protocol::TType _ktype368; - ::apache::thrift::protocol::TType _vtype369; - xfer += iprot->readMapBegin(_ktype368, _vtype369, _size367); - uint32_t _i371; - for (_i371 = 0; _i371 < _size367; ++_i371) + uint32_t _size376; + ::apache::thrift::protocol::TType _ktype377; + ::apache::thrift::protocol::TType _vtype378; + xfer += iprot->readMapBegin(_ktype377, _vtype378, _size376); + uint32_t _i380; + for (_i380 = 0; _i380 < _size376; ++_i380) { - std::string _key372; - xfer += iprot->readString(_key372); - std::string& _val373 = this->properties[_key372]; - xfer += iprot->readString(_val373); + std::string _key381; + xfer += iprot->readString(_key381); + std::string& _val382 = this->properties[_key381]; + xfer += iprot->readString(_val382); } xfer += iprot->readMapEnd(); } @@ -10382,11 +10605,11 @@ uint32_t EnvironmentContext::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("properties", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->properties.size())); - std::map ::const_iterator _iter374; - for (_iter374 = this->properties.begin(); _iter374 != this->properties.end(); ++_iter374) + std::map ::const_iterator _iter383; + for (_iter383 = this->properties.begin(); _iter383 != this->properties.end(); ++_iter383) { - xfer += oprot->writeString(_iter374->first); - xfer += oprot->writeString(_iter374->second); + xfer += oprot->writeString(_iter383->first); + xfer += oprot->writeString(_iter383->second); } xfer += oprot->writeMapEnd(); } @@ -10403,13 +10626,13 @@ void swap(EnvironmentContext &a, EnvironmentContext &b) { swap(a.__isset, b.__isset); } -EnvironmentContext::EnvironmentContext(const EnvironmentContext& other375) { - properties = other375.properties; - __isset = other375.__isset; +EnvironmentContext::EnvironmentContext(const EnvironmentContext& other384) { + properties = other384.properties; + __isset = other384.__isset; } -EnvironmentContext& EnvironmentContext::operator=(const EnvironmentContext& other376) { - properties = other376.properties; - __isset = other376.__isset; +EnvironmentContext& EnvironmentContext::operator=(const EnvironmentContext& other385) { + properties = other385.properties; + __isset = other385.__isset; return *this; } void EnvironmentContext::printTo(std::ostream& out) const { @@ -10531,17 +10754,17 @@ void swap(PrimaryKeysRequest &a, PrimaryKeysRequest &b) { swap(a.__isset, b.__isset); } -PrimaryKeysRequest::PrimaryKeysRequest(const PrimaryKeysRequest& other377) { - db_name = other377.db_name; - tbl_name = other377.tbl_name; - catName = other377.catName; - __isset = other377.__isset; +PrimaryKeysRequest::PrimaryKeysRequest(const PrimaryKeysRequest& other386) { + db_name = other386.db_name; + tbl_name = other386.tbl_name; + catName = other386.catName; + __isset = other386.__isset; } -PrimaryKeysRequest& PrimaryKeysRequest::operator=(const PrimaryKeysRequest& other378) { - db_name = other378.db_name; - tbl_name = other378.tbl_name; - catName = other378.catName; - __isset = other378.__isset; +PrimaryKeysRequest& PrimaryKeysRequest::operator=(const PrimaryKeysRequest& other387) { + db_name = other387.db_name; + tbl_name = other387.tbl_name; + catName = other387.catName; + __isset = other387.__isset; return *this; } void PrimaryKeysRequest::printTo(std::ostream& out) const { @@ -10588,14 +10811,14 @@ uint32_t PrimaryKeysResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->primaryKeys.clear(); - uint32_t _size379; - ::apache::thrift::protocol::TType _etype382; - xfer += iprot->readListBegin(_etype382, _size379); - this->primaryKeys.resize(_size379); - uint32_t _i383; - for (_i383 = 0; _i383 < _size379; ++_i383) + uint32_t _size388; + ::apache::thrift::protocol::TType _etype391; + xfer += iprot->readListBegin(_etype391, _size388); + this->primaryKeys.resize(_size388); + uint32_t _i392; + for (_i392 = 0; _i392 < _size388; ++_i392) { - xfer += this->primaryKeys[_i383].read(iprot); + xfer += this->primaryKeys[_i392].read(iprot); } xfer += iprot->readListEnd(); } @@ -10626,10 +10849,10 @@ uint32_t PrimaryKeysResponse::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldBegin("primaryKeys", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->primaryKeys.size())); - std::vector ::const_iterator _iter384; - for (_iter384 = this->primaryKeys.begin(); _iter384 != this->primaryKeys.end(); ++_iter384) + std::vector ::const_iterator _iter393; + for (_iter393 = this->primaryKeys.begin(); _iter393 != this->primaryKeys.end(); ++_iter393) { - xfer += (*_iter384).write(oprot); + xfer += (*_iter393).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10645,11 +10868,11 @@ void swap(PrimaryKeysResponse &a, PrimaryKeysResponse &b) { swap(a.primaryKeys, b.primaryKeys); } -PrimaryKeysResponse::PrimaryKeysResponse(const PrimaryKeysResponse& other385) { - primaryKeys = other385.primaryKeys; +PrimaryKeysResponse::PrimaryKeysResponse(const PrimaryKeysResponse& other394) { + primaryKeys = other394.primaryKeys; } -PrimaryKeysResponse& PrimaryKeysResponse::operator=(const PrimaryKeysResponse& other386) { - primaryKeys = other386.primaryKeys; +PrimaryKeysResponse& PrimaryKeysResponse::operator=(const PrimaryKeysResponse& other395) { + primaryKeys = other395.primaryKeys; return *this; } void PrimaryKeysResponse::printTo(std::ostream& out) const { @@ -10799,21 +11022,21 @@ void swap(ForeignKeysRequest &a, ForeignKeysRequest &b) { swap(a.__isset, b.__isset); } -ForeignKeysRequest::ForeignKeysRequest(const ForeignKeysRequest& other387) { - parent_db_name = other387.parent_db_name; - parent_tbl_name = other387.parent_tbl_name; - foreign_db_name = other387.foreign_db_name; - foreign_tbl_name = other387.foreign_tbl_name; - catName = other387.catName; - __isset = other387.__isset; +ForeignKeysRequest::ForeignKeysRequest(const ForeignKeysRequest& other396) { + parent_db_name = other396.parent_db_name; + parent_tbl_name = other396.parent_tbl_name; + foreign_db_name = other396.foreign_db_name; + foreign_tbl_name = other396.foreign_tbl_name; + catName = other396.catName; + __isset = other396.__isset; } -ForeignKeysRequest& ForeignKeysRequest::operator=(const ForeignKeysRequest& other388) { - parent_db_name = other388.parent_db_name; - parent_tbl_name = other388.parent_tbl_name; - foreign_db_name = other388.foreign_db_name; - foreign_tbl_name = other388.foreign_tbl_name; - catName = other388.catName; - __isset = other388.__isset; +ForeignKeysRequest& ForeignKeysRequest::operator=(const ForeignKeysRequest& other397) { + parent_db_name = other397.parent_db_name; + parent_tbl_name = other397.parent_tbl_name; + foreign_db_name = other397.foreign_db_name; + foreign_tbl_name = other397.foreign_tbl_name; + catName = other397.catName; + __isset = other397.__isset; return *this; } void ForeignKeysRequest::printTo(std::ostream& out) const { @@ -10862,14 +11085,14 @@ uint32_t ForeignKeysResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->foreignKeys.clear(); - uint32_t _size389; - ::apache::thrift::protocol::TType _etype392; - xfer += iprot->readListBegin(_etype392, _size389); - this->foreignKeys.resize(_size389); - uint32_t _i393; - for (_i393 = 0; _i393 < _size389; ++_i393) + uint32_t _size398; + ::apache::thrift::protocol::TType _etype401; + xfer += iprot->readListBegin(_etype401, _size398); + this->foreignKeys.resize(_size398); + uint32_t _i402; + for (_i402 = 0; _i402 < _size398; ++_i402) { - xfer += this->foreignKeys[_i393].read(iprot); + xfer += this->foreignKeys[_i402].read(iprot); } xfer += iprot->readListEnd(); } @@ -10900,10 +11123,10 @@ uint32_t ForeignKeysResponse::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldBegin("foreignKeys", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->foreignKeys.size())); - std::vector ::const_iterator _iter394; - for (_iter394 = this->foreignKeys.begin(); _iter394 != this->foreignKeys.end(); ++_iter394) + std::vector ::const_iterator _iter403; + for (_iter403 = this->foreignKeys.begin(); _iter403 != this->foreignKeys.end(); ++_iter403) { - xfer += (*_iter394).write(oprot); + xfer += (*_iter403).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10919,11 +11142,11 @@ void swap(ForeignKeysResponse &a, ForeignKeysResponse &b) { swap(a.foreignKeys, b.foreignKeys); } -ForeignKeysResponse::ForeignKeysResponse(const ForeignKeysResponse& other395) { - foreignKeys = other395.foreignKeys; +ForeignKeysResponse::ForeignKeysResponse(const ForeignKeysResponse& other404) { + foreignKeys = other404.foreignKeys; } -ForeignKeysResponse& ForeignKeysResponse::operator=(const ForeignKeysResponse& other396) { - foreignKeys = other396.foreignKeys; +ForeignKeysResponse& ForeignKeysResponse::operator=(const ForeignKeysResponse& other405) { + foreignKeys = other405.foreignKeys; return *this; } void ForeignKeysResponse::printTo(std::ostream& out) const { @@ -11045,15 +11268,15 @@ void swap(UniqueConstraintsRequest &a, UniqueConstraintsRequest &b) { swap(a.tbl_name, b.tbl_name); } -UniqueConstraintsRequest::UniqueConstraintsRequest(const UniqueConstraintsRequest& other397) { - catName = other397.catName; - db_name = other397.db_name; - tbl_name = other397.tbl_name; +UniqueConstraintsRequest::UniqueConstraintsRequest(const UniqueConstraintsRequest& other406) { + catName = other406.catName; + db_name = other406.db_name; + tbl_name = other406.tbl_name; } -UniqueConstraintsRequest& UniqueConstraintsRequest::operator=(const UniqueConstraintsRequest& other398) { - catName = other398.catName; - db_name = other398.db_name; - tbl_name = other398.tbl_name; +UniqueConstraintsRequest& UniqueConstraintsRequest::operator=(const UniqueConstraintsRequest& other407) { + catName = other407.catName; + db_name = other407.db_name; + tbl_name = other407.tbl_name; return *this; } void UniqueConstraintsRequest::printTo(std::ostream& out) const { @@ -11100,14 +11323,14 @@ uint32_t UniqueConstraintsResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->uniqueConstraints.clear(); - uint32_t _size399; - ::apache::thrift::protocol::TType _etype402; - xfer += iprot->readListBegin(_etype402, _size399); - this->uniqueConstraints.resize(_size399); - uint32_t _i403; - for (_i403 = 0; _i403 < _size399; ++_i403) + uint32_t _size408; + ::apache::thrift::protocol::TType _etype411; + xfer += iprot->readListBegin(_etype411, _size408); + this->uniqueConstraints.resize(_size408); + uint32_t _i412; + for (_i412 = 0; _i412 < _size408; ++_i412) { - xfer += this->uniqueConstraints[_i403].read(iprot); + xfer += this->uniqueConstraints[_i412].read(iprot); } xfer += iprot->readListEnd(); } @@ -11138,10 +11361,10 @@ uint32_t UniqueConstraintsResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("uniqueConstraints", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->uniqueConstraints.size())); - std::vector ::const_iterator _iter404; - for (_iter404 = this->uniqueConstraints.begin(); _iter404 != this->uniqueConstraints.end(); ++_iter404) + std::vector ::const_iterator _iter413; + for (_iter413 = this->uniqueConstraints.begin(); _iter413 != this->uniqueConstraints.end(); ++_iter413) { - xfer += (*_iter404).write(oprot); + xfer += (*_iter413).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11157,11 +11380,11 @@ void swap(UniqueConstraintsResponse &a, UniqueConstraintsResponse &b) { swap(a.uniqueConstraints, b.uniqueConstraints); } -UniqueConstraintsResponse::UniqueConstraintsResponse(const UniqueConstraintsResponse& other405) { - uniqueConstraints = other405.uniqueConstraints; +UniqueConstraintsResponse::UniqueConstraintsResponse(const UniqueConstraintsResponse& other414) { + uniqueConstraints = other414.uniqueConstraints; } -UniqueConstraintsResponse& UniqueConstraintsResponse::operator=(const UniqueConstraintsResponse& other406) { - uniqueConstraints = other406.uniqueConstraints; +UniqueConstraintsResponse& UniqueConstraintsResponse::operator=(const UniqueConstraintsResponse& other415) { + uniqueConstraints = other415.uniqueConstraints; return *this; } void UniqueConstraintsResponse::printTo(std::ostream& out) const { @@ -11283,15 +11506,15 @@ void swap(NotNullConstraintsRequest &a, NotNullConstraintsRequest &b) { swap(a.tbl_name, b.tbl_name); } -NotNullConstraintsRequest::NotNullConstraintsRequest(const NotNullConstraintsRequest& other407) { - catName = other407.catName; - db_name = other407.db_name; - tbl_name = other407.tbl_name; +NotNullConstraintsRequest::NotNullConstraintsRequest(const NotNullConstraintsRequest& other416) { + catName = other416.catName; + db_name = other416.db_name; + tbl_name = other416.tbl_name; } -NotNullConstraintsRequest& NotNullConstraintsRequest::operator=(const NotNullConstraintsRequest& other408) { - catName = other408.catName; - db_name = other408.db_name; - tbl_name = other408.tbl_name; +NotNullConstraintsRequest& NotNullConstraintsRequest::operator=(const NotNullConstraintsRequest& other417) { + catName = other417.catName; + db_name = other417.db_name; + tbl_name = other417.tbl_name; return *this; } void NotNullConstraintsRequest::printTo(std::ostream& out) const { @@ -11338,14 +11561,14 @@ uint32_t NotNullConstraintsResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->notNullConstraints.clear(); - uint32_t _size409; - ::apache::thrift::protocol::TType _etype412; - xfer += iprot->readListBegin(_etype412, _size409); - this->notNullConstraints.resize(_size409); - uint32_t _i413; - for (_i413 = 0; _i413 < _size409; ++_i413) + uint32_t _size418; + ::apache::thrift::protocol::TType _etype421; + xfer += iprot->readListBegin(_etype421, _size418); + this->notNullConstraints.resize(_size418); + uint32_t _i422; + for (_i422 = 0; _i422 < _size418; ++_i422) { - xfer += this->notNullConstraints[_i413].read(iprot); + xfer += this->notNullConstraints[_i422].read(iprot); } xfer += iprot->readListEnd(); } @@ -11376,10 +11599,10 @@ uint32_t NotNullConstraintsResponse::write(::apache::thrift::protocol::TProtocol xfer += oprot->writeFieldBegin("notNullConstraints", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->notNullConstraints.size())); - std::vector ::const_iterator _iter414; - for (_iter414 = this->notNullConstraints.begin(); _iter414 != this->notNullConstraints.end(); ++_iter414) + std::vector ::const_iterator _iter423; + for (_iter423 = this->notNullConstraints.begin(); _iter423 != this->notNullConstraints.end(); ++_iter423) { - xfer += (*_iter414).write(oprot); + xfer += (*_iter423).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11395,11 +11618,11 @@ void swap(NotNullConstraintsResponse &a, NotNullConstraintsResponse &b) { swap(a.notNullConstraints, b.notNullConstraints); } -NotNullConstraintsResponse::NotNullConstraintsResponse(const NotNullConstraintsResponse& other415) { - notNullConstraints = other415.notNullConstraints; +NotNullConstraintsResponse::NotNullConstraintsResponse(const NotNullConstraintsResponse& other424) { + notNullConstraints = other424.notNullConstraints; } -NotNullConstraintsResponse& NotNullConstraintsResponse::operator=(const NotNullConstraintsResponse& other416) { - notNullConstraints = other416.notNullConstraints; +NotNullConstraintsResponse& NotNullConstraintsResponse::operator=(const NotNullConstraintsResponse& other425) { + notNullConstraints = other425.notNullConstraints; return *this; } void NotNullConstraintsResponse::printTo(std::ostream& out) const { @@ -11521,15 +11744,15 @@ void swap(DefaultConstraintsRequest &a, DefaultConstraintsRequest &b) { swap(a.tbl_name, b.tbl_name); } -DefaultConstraintsRequest::DefaultConstraintsRequest(const DefaultConstraintsRequest& other417) { - catName = other417.catName; - db_name = other417.db_name; - tbl_name = other417.tbl_name; +DefaultConstraintsRequest::DefaultConstraintsRequest(const DefaultConstraintsRequest& other426) { + catName = other426.catName; + db_name = other426.db_name; + tbl_name = other426.tbl_name; } -DefaultConstraintsRequest& DefaultConstraintsRequest::operator=(const DefaultConstraintsRequest& other418) { - catName = other418.catName; - db_name = other418.db_name; - tbl_name = other418.tbl_name; +DefaultConstraintsRequest& DefaultConstraintsRequest::operator=(const DefaultConstraintsRequest& other427) { + catName = other427.catName; + db_name = other427.db_name; + tbl_name = other427.tbl_name; return *this; } void DefaultConstraintsRequest::printTo(std::ostream& out) const { @@ -11576,14 +11799,14 @@ uint32_t DefaultConstraintsResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->defaultConstraints.clear(); - uint32_t _size419; - ::apache::thrift::protocol::TType _etype422; - xfer += iprot->readListBegin(_etype422, _size419); - this->defaultConstraints.resize(_size419); - uint32_t _i423; - for (_i423 = 0; _i423 < _size419; ++_i423) + uint32_t _size428; + ::apache::thrift::protocol::TType _etype431; + xfer += iprot->readListBegin(_etype431, _size428); + this->defaultConstraints.resize(_size428); + uint32_t _i432; + for (_i432 = 0; _i432 < _size428; ++_i432) { - xfer += this->defaultConstraints[_i423].read(iprot); + xfer += this->defaultConstraints[_i432].read(iprot); } xfer += iprot->readListEnd(); } @@ -11614,10 +11837,10 @@ uint32_t DefaultConstraintsResponse::write(::apache::thrift::protocol::TProtocol xfer += oprot->writeFieldBegin("defaultConstraints", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->defaultConstraints.size())); - std::vector ::const_iterator _iter424; - for (_iter424 = this->defaultConstraints.begin(); _iter424 != this->defaultConstraints.end(); ++_iter424) + std::vector ::const_iterator _iter433; + for (_iter433 = this->defaultConstraints.begin(); _iter433 != this->defaultConstraints.end(); ++_iter433) { - xfer += (*_iter424).write(oprot); + xfer += (*_iter433).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11633,11 +11856,11 @@ void swap(DefaultConstraintsResponse &a, DefaultConstraintsResponse &b) { swap(a.defaultConstraints, b.defaultConstraints); } -DefaultConstraintsResponse::DefaultConstraintsResponse(const DefaultConstraintsResponse& other425) { - defaultConstraints = other425.defaultConstraints; +DefaultConstraintsResponse::DefaultConstraintsResponse(const DefaultConstraintsResponse& other434) { + defaultConstraints = other434.defaultConstraints; } -DefaultConstraintsResponse& DefaultConstraintsResponse::operator=(const DefaultConstraintsResponse& other426) { - defaultConstraints = other426.defaultConstraints; +DefaultConstraintsResponse& DefaultConstraintsResponse::operator=(const DefaultConstraintsResponse& other435) { + defaultConstraints = other435.defaultConstraints; return *this; } void DefaultConstraintsResponse::printTo(std::ostream& out) const { @@ -11759,15 +11982,15 @@ void swap(CheckConstraintsRequest &a, CheckConstraintsRequest &b) { swap(a.tbl_name, b.tbl_name); } -CheckConstraintsRequest::CheckConstraintsRequest(const CheckConstraintsRequest& other427) { - catName = other427.catName; - db_name = other427.db_name; - tbl_name = other427.tbl_name; +CheckConstraintsRequest::CheckConstraintsRequest(const CheckConstraintsRequest& other436) { + catName = other436.catName; + db_name = other436.db_name; + tbl_name = other436.tbl_name; } -CheckConstraintsRequest& CheckConstraintsRequest::operator=(const CheckConstraintsRequest& other428) { - catName = other428.catName; - db_name = other428.db_name; - tbl_name = other428.tbl_name; +CheckConstraintsRequest& CheckConstraintsRequest::operator=(const CheckConstraintsRequest& other437) { + catName = other437.catName; + db_name = other437.db_name; + tbl_name = other437.tbl_name; return *this; } void CheckConstraintsRequest::printTo(std::ostream& out) const { @@ -11814,14 +12037,14 @@ uint32_t CheckConstraintsResponse::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->checkConstraints.clear(); - uint32_t _size429; - ::apache::thrift::protocol::TType _etype432; - xfer += iprot->readListBegin(_etype432, _size429); - this->checkConstraints.resize(_size429); - uint32_t _i433; - for (_i433 = 0; _i433 < _size429; ++_i433) + uint32_t _size438; + ::apache::thrift::protocol::TType _etype441; + xfer += iprot->readListBegin(_etype441, _size438); + this->checkConstraints.resize(_size438); + uint32_t _i442; + for (_i442 = 0; _i442 < _size438; ++_i442) { - xfer += this->checkConstraints[_i433].read(iprot); + xfer += this->checkConstraints[_i442].read(iprot); } xfer += iprot->readListEnd(); } @@ -11852,10 +12075,10 @@ uint32_t CheckConstraintsResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("checkConstraints", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->checkConstraints.size())); - std::vector ::const_iterator _iter434; - for (_iter434 = this->checkConstraints.begin(); _iter434 != this->checkConstraints.end(); ++_iter434) + std::vector ::const_iterator _iter443; + for (_iter443 = this->checkConstraints.begin(); _iter443 != this->checkConstraints.end(); ++_iter443) { - xfer += (*_iter434).write(oprot); + xfer += (*_iter443).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11871,11 +12094,11 @@ void swap(CheckConstraintsResponse &a, CheckConstraintsResponse &b) { swap(a.checkConstraints, b.checkConstraints); } -CheckConstraintsResponse::CheckConstraintsResponse(const CheckConstraintsResponse& other435) { - checkConstraints = other435.checkConstraints; +CheckConstraintsResponse::CheckConstraintsResponse(const CheckConstraintsResponse& other444) { + checkConstraints = other444.checkConstraints; } -CheckConstraintsResponse& CheckConstraintsResponse::operator=(const CheckConstraintsResponse& other436) { - checkConstraints = other436.checkConstraints; +CheckConstraintsResponse& CheckConstraintsResponse::operator=(const CheckConstraintsResponse& other445) { + checkConstraints = other445.checkConstraints; return *this; } void CheckConstraintsResponse::printTo(std::ostream& out) const { @@ -12017,19 +12240,19 @@ void swap(DropConstraintRequest &a, DropConstraintRequest &b) { swap(a.__isset, b.__isset); } -DropConstraintRequest::DropConstraintRequest(const DropConstraintRequest& other437) { - dbname = other437.dbname; - tablename = other437.tablename; - constraintname = other437.constraintname; - catName = other437.catName; - __isset = other437.__isset; -} -DropConstraintRequest& DropConstraintRequest::operator=(const DropConstraintRequest& other438) { - dbname = other438.dbname; - tablename = other438.tablename; - constraintname = other438.constraintname; - catName = other438.catName; - __isset = other438.__isset; +DropConstraintRequest::DropConstraintRequest(const DropConstraintRequest& other446) { + dbname = other446.dbname; + tablename = other446.tablename; + constraintname = other446.constraintname; + catName = other446.catName; + __isset = other446.__isset; +} +DropConstraintRequest& DropConstraintRequest::operator=(const DropConstraintRequest& other447) { + dbname = other447.dbname; + tablename = other447.tablename; + constraintname = other447.constraintname; + catName = other447.catName; + __isset = other447.__isset; return *this; } void DropConstraintRequest::printTo(std::ostream& out) const { @@ -12077,14 +12300,14 @@ uint32_t AddPrimaryKeyRequest::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->primaryKeyCols.clear(); - uint32_t _size439; - ::apache::thrift::protocol::TType _etype442; - xfer += iprot->readListBegin(_etype442, _size439); - this->primaryKeyCols.resize(_size439); - uint32_t _i443; - for (_i443 = 0; _i443 < _size439; ++_i443) + uint32_t _size448; + ::apache::thrift::protocol::TType _etype451; + xfer += iprot->readListBegin(_etype451, _size448); + this->primaryKeyCols.resize(_size448); + uint32_t _i452; + for (_i452 = 0; _i452 < _size448; ++_i452) { - xfer += this->primaryKeyCols[_i443].read(iprot); + xfer += this->primaryKeyCols[_i452].read(iprot); } xfer += iprot->readListEnd(); } @@ -12115,10 +12338,10 @@ uint32_t AddPrimaryKeyRequest::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("primaryKeyCols", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->primaryKeyCols.size())); - std::vector ::const_iterator _iter444; - for (_iter444 = this->primaryKeyCols.begin(); _iter444 != this->primaryKeyCols.end(); ++_iter444) + std::vector ::const_iterator _iter453; + for (_iter453 = this->primaryKeyCols.begin(); _iter453 != this->primaryKeyCols.end(); ++_iter453) { - xfer += (*_iter444).write(oprot); + xfer += (*_iter453).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12134,11 +12357,11 @@ void swap(AddPrimaryKeyRequest &a, AddPrimaryKeyRequest &b) { swap(a.primaryKeyCols, b.primaryKeyCols); } -AddPrimaryKeyRequest::AddPrimaryKeyRequest(const AddPrimaryKeyRequest& other445) { - primaryKeyCols = other445.primaryKeyCols; +AddPrimaryKeyRequest::AddPrimaryKeyRequest(const AddPrimaryKeyRequest& other454) { + primaryKeyCols = other454.primaryKeyCols; } -AddPrimaryKeyRequest& AddPrimaryKeyRequest::operator=(const AddPrimaryKeyRequest& other446) { - primaryKeyCols = other446.primaryKeyCols; +AddPrimaryKeyRequest& AddPrimaryKeyRequest::operator=(const AddPrimaryKeyRequest& other455) { + primaryKeyCols = other455.primaryKeyCols; return *this; } void AddPrimaryKeyRequest::printTo(std::ostream& out) const { @@ -12183,14 +12406,14 @@ uint32_t AddForeignKeyRequest::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->foreignKeyCols.clear(); - uint32_t _size447; - ::apache::thrift::protocol::TType _etype450; - xfer += iprot->readListBegin(_etype450, _size447); - this->foreignKeyCols.resize(_size447); - uint32_t _i451; - for (_i451 = 0; _i451 < _size447; ++_i451) + uint32_t _size456; + ::apache::thrift::protocol::TType _etype459; + xfer += iprot->readListBegin(_etype459, _size456); + this->foreignKeyCols.resize(_size456); + uint32_t _i460; + for (_i460 = 0; _i460 < _size456; ++_i460) { - xfer += this->foreignKeyCols[_i451].read(iprot); + xfer += this->foreignKeyCols[_i460].read(iprot); } xfer += iprot->readListEnd(); } @@ -12221,10 +12444,10 @@ uint32_t AddForeignKeyRequest::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("foreignKeyCols", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->foreignKeyCols.size())); - std::vector ::const_iterator _iter452; - for (_iter452 = this->foreignKeyCols.begin(); _iter452 != this->foreignKeyCols.end(); ++_iter452) + std::vector ::const_iterator _iter461; + for (_iter461 = this->foreignKeyCols.begin(); _iter461 != this->foreignKeyCols.end(); ++_iter461) { - xfer += (*_iter452).write(oprot); + xfer += (*_iter461).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12240,11 +12463,11 @@ void swap(AddForeignKeyRequest &a, AddForeignKeyRequest &b) { swap(a.foreignKeyCols, b.foreignKeyCols); } -AddForeignKeyRequest::AddForeignKeyRequest(const AddForeignKeyRequest& other453) { - foreignKeyCols = other453.foreignKeyCols; +AddForeignKeyRequest::AddForeignKeyRequest(const AddForeignKeyRequest& other462) { + foreignKeyCols = other462.foreignKeyCols; } -AddForeignKeyRequest& AddForeignKeyRequest::operator=(const AddForeignKeyRequest& other454) { - foreignKeyCols = other454.foreignKeyCols; +AddForeignKeyRequest& AddForeignKeyRequest::operator=(const AddForeignKeyRequest& other463) { + foreignKeyCols = other463.foreignKeyCols; return *this; } void AddForeignKeyRequest::printTo(std::ostream& out) const { @@ -12289,14 +12512,14 @@ uint32_t AddUniqueConstraintRequest::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->uniqueConstraintCols.clear(); - uint32_t _size455; - ::apache::thrift::protocol::TType _etype458; - xfer += iprot->readListBegin(_etype458, _size455); - this->uniqueConstraintCols.resize(_size455); - uint32_t _i459; - for (_i459 = 0; _i459 < _size455; ++_i459) + uint32_t _size464; + ::apache::thrift::protocol::TType _etype467; + xfer += iprot->readListBegin(_etype467, _size464); + this->uniqueConstraintCols.resize(_size464); + uint32_t _i468; + for (_i468 = 0; _i468 < _size464; ++_i468) { - xfer += this->uniqueConstraintCols[_i459].read(iprot); + xfer += this->uniqueConstraintCols[_i468].read(iprot); } xfer += iprot->readListEnd(); } @@ -12327,10 +12550,10 @@ uint32_t AddUniqueConstraintRequest::write(::apache::thrift::protocol::TProtocol xfer += oprot->writeFieldBegin("uniqueConstraintCols", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->uniqueConstraintCols.size())); - std::vector ::const_iterator _iter460; - for (_iter460 = this->uniqueConstraintCols.begin(); _iter460 != this->uniqueConstraintCols.end(); ++_iter460) + std::vector ::const_iterator _iter469; + for (_iter469 = this->uniqueConstraintCols.begin(); _iter469 != this->uniqueConstraintCols.end(); ++_iter469) { - xfer += (*_iter460).write(oprot); + xfer += (*_iter469).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12346,11 +12569,11 @@ void swap(AddUniqueConstraintRequest &a, AddUniqueConstraintRequest &b) { swap(a.uniqueConstraintCols, b.uniqueConstraintCols); } -AddUniqueConstraintRequest::AddUniqueConstraintRequest(const AddUniqueConstraintRequest& other461) { - uniqueConstraintCols = other461.uniqueConstraintCols; +AddUniqueConstraintRequest::AddUniqueConstraintRequest(const AddUniqueConstraintRequest& other470) { + uniqueConstraintCols = other470.uniqueConstraintCols; } -AddUniqueConstraintRequest& AddUniqueConstraintRequest::operator=(const AddUniqueConstraintRequest& other462) { - uniqueConstraintCols = other462.uniqueConstraintCols; +AddUniqueConstraintRequest& AddUniqueConstraintRequest::operator=(const AddUniqueConstraintRequest& other471) { + uniqueConstraintCols = other471.uniqueConstraintCols; return *this; } void AddUniqueConstraintRequest::printTo(std::ostream& out) const { @@ -12395,14 +12618,14 @@ uint32_t AddNotNullConstraintRequest::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->notNullConstraintCols.clear(); - uint32_t _size463; - ::apache::thrift::protocol::TType _etype466; - xfer += iprot->readListBegin(_etype466, _size463); - this->notNullConstraintCols.resize(_size463); - uint32_t _i467; - for (_i467 = 0; _i467 < _size463; ++_i467) + uint32_t _size472; + ::apache::thrift::protocol::TType _etype475; + xfer += iprot->readListBegin(_etype475, _size472); + this->notNullConstraintCols.resize(_size472); + uint32_t _i476; + for (_i476 = 0; _i476 < _size472; ++_i476) { - xfer += this->notNullConstraintCols[_i467].read(iprot); + xfer += this->notNullConstraintCols[_i476].read(iprot); } xfer += iprot->readListEnd(); } @@ -12433,10 +12656,10 @@ uint32_t AddNotNullConstraintRequest::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldBegin("notNullConstraintCols", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->notNullConstraintCols.size())); - std::vector ::const_iterator _iter468; - for (_iter468 = this->notNullConstraintCols.begin(); _iter468 != this->notNullConstraintCols.end(); ++_iter468) + std::vector ::const_iterator _iter477; + for (_iter477 = this->notNullConstraintCols.begin(); _iter477 != this->notNullConstraintCols.end(); ++_iter477) { - xfer += (*_iter468).write(oprot); + xfer += (*_iter477).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12452,11 +12675,11 @@ void swap(AddNotNullConstraintRequest &a, AddNotNullConstraintRequest &b) { swap(a.notNullConstraintCols, b.notNullConstraintCols); } -AddNotNullConstraintRequest::AddNotNullConstraintRequest(const AddNotNullConstraintRequest& other469) { - notNullConstraintCols = other469.notNullConstraintCols; +AddNotNullConstraintRequest::AddNotNullConstraintRequest(const AddNotNullConstraintRequest& other478) { + notNullConstraintCols = other478.notNullConstraintCols; } -AddNotNullConstraintRequest& AddNotNullConstraintRequest::operator=(const AddNotNullConstraintRequest& other470) { - notNullConstraintCols = other470.notNullConstraintCols; +AddNotNullConstraintRequest& AddNotNullConstraintRequest::operator=(const AddNotNullConstraintRequest& other479) { + notNullConstraintCols = other479.notNullConstraintCols; return *this; } void AddNotNullConstraintRequest::printTo(std::ostream& out) const { @@ -12501,14 +12724,14 @@ uint32_t AddDefaultConstraintRequest::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->defaultConstraintCols.clear(); - uint32_t _size471; - ::apache::thrift::protocol::TType _etype474; - xfer += iprot->readListBegin(_etype474, _size471); - this->defaultConstraintCols.resize(_size471); - uint32_t _i475; - for (_i475 = 0; _i475 < _size471; ++_i475) + uint32_t _size480; + ::apache::thrift::protocol::TType _etype483; + xfer += iprot->readListBegin(_etype483, _size480); + this->defaultConstraintCols.resize(_size480); + uint32_t _i484; + for (_i484 = 0; _i484 < _size480; ++_i484) { - xfer += this->defaultConstraintCols[_i475].read(iprot); + xfer += this->defaultConstraintCols[_i484].read(iprot); } xfer += iprot->readListEnd(); } @@ -12539,10 +12762,10 @@ uint32_t AddDefaultConstraintRequest::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldBegin("defaultConstraintCols", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->defaultConstraintCols.size())); - std::vector ::const_iterator _iter476; - for (_iter476 = this->defaultConstraintCols.begin(); _iter476 != this->defaultConstraintCols.end(); ++_iter476) + std::vector ::const_iterator _iter485; + for (_iter485 = this->defaultConstraintCols.begin(); _iter485 != this->defaultConstraintCols.end(); ++_iter485) { - xfer += (*_iter476).write(oprot); + xfer += (*_iter485).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12558,11 +12781,11 @@ void swap(AddDefaultConstraintRequest &a, AddDefaultConstraintRequest &b) { swap(a.defaultConstraintCols, b.defaultConstraintCols); } -AddDefaultConstraintRequest::AddDefaultConstraintRequest(const AddDefaultConstraintRequest& other477) { - defaultConstraintCols = other477.defaultConstraintCols; +AddDefaultConstraintRequest::AddDefaultConstraintRequest(const AddDefaultConstraintRequest& other486) { + defaultConstraintCols = other486.defaultConstraintCols; } -AddDefaultConstraintRequest& AddDefaultConstraintRequest::operator=(const AddDefaultConstraintRequest& other478) { - defaultConstraintCols = other478.defaultConstraintCols; +AddDefaultConstraintRequest& AddDefaultConstraintRequest::operator=(const AddDefaultConstraintRequest& other487) { + defaultConstraintCols = other487.defaultConstraintCols; return *this; } void AddDefaultConstraintRequest::printTo(std::ostream& out) const { @@ -12607,14 +12830,14 @@ uint32_t AddCheckConstraintRequest::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->checkConstraintCols.clear(); - uint32_t _size479; - ::apache::thrift::protocol::TType _etype482; - xfer += iprot->readListBegin(_etype482, _size479); - this->checkConstraintCols.resize(_size479); - uint32_t _i483; - for (_i483 = 0; _i483 < _size479; ++_i483) + uint32_t _size488; + ::apache::thrift::protocol::TType _etype491; + xfer += iprot->readListBegin(_etype491, _size488); + this->checkConstraintCols.resize(_size488); + uint32_t _i492; + for (_i492 = 0; _i492 < _size488; ++_i492) { - xfer += this->checkConstraintCols[_i483].read(iprot); + xfer += this->checkConstraintCols[_i492].read(iprot); } xfer += iprot->readListEnd(); } @@ -12645,10 +12868,10 @@ uint32_t AddCheckConstraintRequest::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("checkConstraintCols", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->checkConstraintCols.size())); - std::vector ::const_iterator _iter484; - for (_iter484 = this->checkConstraintCols.begin(); _iter484 != this->checkConstraintCols.end(); ++_iter484) + std::vector ::const_iterator _iter493; + for (_iter493 = this->checkConstraintCols.begin(); _iter493 != this->checkConstraintCols.end(); ++_iter493) { - xfer += (*_iter484).write(oprot); + xfer += (*_iter493).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12664,11 +12887,11 @@ void swap(AddCheckConstraintRequest &a, AddCheckConstraintRequest &b) { swap(a.checkConstraintCols, b.checkConstraintCols); } -AddCheckConstraintRequest::AddCheckConstraintRequest(const AddCheckConstraintRequest& other485) { - checkConstraintCols = other485.checkConstraintCols; +AddCheckConstraintRequest::AddCheckConstraintRequest(const AddCheckConstraintRequest& other494) { + checkConstraintCols = other494.checkConstraintCols; } -AddCheckConstraintRequest& AddCheckConstraintRequest::operator=(const AddCheckConstraintRequest& other486) { - checkConstraintCols = other486.checkConstraintCols; +AddCheckConstraintRequest& AddCheckConstraintRequest::operator=(const AddCheckConstraintRequest& other495) { + checkConstraintCols = other495.checkConstraintCols; return *this; } void AddCheckConstraintRequest::printTo(std::ostream& out) const { @@ -12718,14 +12941,14 @@ uint32_t PartitionsByExprResult::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size487; - ::apache::thrift::protocol::TType _etype490; - xfer += iprot->readListBegin(_etype490, _size487); - this->partitions.resize(_size487); - uint32_t _i491; - for (_i491 = 0; _i491 < _size487; ++_i491) + uint32_t _size496; + ::apache::thrift::protocol::TType _etype499; + xfer += iprot->readListBegin(_etype499, _size496); + this->partitions.resize(_size496); + uint32_t _i500; + for (_i500 = 0; _i500 < _size496; ++_i500) { - xfer += this->partitions[_i491].read(iprot); + xfer += this->partitions[_i500].read(iprot); } xfer += iprot->readListEnd(); } @@ -12766,10 +12989,10 @@ uint32_t PartitionsByExprResult::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitions.size())); - std::vector ::const_iterator _iter492; - for (_iter492 = this->partitions.begin(); _iter492 != this->partitions.end(); ++_iter492) + std::vector ::const_iterator _iter501; + for (_iter501 = this->partitions.begin(); _iter501 != this->partitions.end(); ++_iter501) { - xfer += (*_iter492).write(oprot); + xfer += (*_iter501).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12790,13 +13013,13 @@ void swap(PartitionsByExprResult &a, PartitionsByExprResult &b) { swap(a.hasUnknownPartitions, b.hasUnknownPartitions); } -PartitionsByExprResult::PartitionsByExprResult(const PartitionsByExprResult& other493) { - partitions = other493.partitions; - hasUnknownPartitions = other493.hasUnknownPartitions; +PartitionsByExprResult::PartitionsByExprResult(const PartitionsByExprResult& other502) { + partitions = other502.partitions; + hasUnknownPartitions = other502.hasUnknownPartitions; } -PartitionsByExprResult& PartitionsByExprResult::operator=(const PartitionsByExprResult& other494) { - partitions = other494.partitions; - hasUnknownPartitions = other494.hasUnknownPartitions; +PartitionsByExprResult& PartitionsByExprResult::operator=(const PartitionsByExprResult& other503) { + partitions = other503.partitions; + hasUnknownPartitions = other503.hasUnknownPartitions; return *this; } void PartitionsByExprResult::printTo(std::ostream& out) const { @@ -12977,23 +13200,23 @@ void swap(PartitionsByExprRequest &a, PartitionsByExprRequest &b) { swap(a.__isset, b.__isset); } -PartitionsByExprRequest::PartitionsByExprRequest(const PartitionsByExprRequest& other495) { - dbName = other495.dbName; - tblName = other495.tblName; - expr = other495.expr; - defaultPartitionName = other495.defaultPartitionName; - maxParts = other495.maxParts; - catName = other495.catName; - __isset = other495.__isset; -} -PartitionsByExprRequest& PartitionsByExprRequest::operator=(const PartitionsByExprRequest& other496) { - dbName = other496.dbName; - tblName = other496.tblName; - expr = other496.expr; - defaultPartitionName = other496.defaultPartitionName; - maxParts = other496.maxParts; - catName = other496.catName; - __isset = other496.__isset; +PartitionsByExprRequest::PartitionsByExprRequest(const PartitionsByExprRequest& other504) { + dbName = other504.dbName; + tblName = other504.tblName; + expr = other504.expr; + defaultPartitionName = other504.defaultPartitionName; + maxParts = other504.maxParts; + catName = other504.catName; + __isset = other504.__isset; +} +PartitionsByExprRequest& PartitionsByExprRequest::operator=(const PartitionsByExprRequest& other505) { + dbName = other505.dbName; + tblName = other505.tblName; + expr = other505.expr; + defaultPartitionName = other505.defaultPartitionName; + maxParts = other505.maxParts; + catName = other505.catName; + __isset = other505.__isset; return *this; } void PartitionsByExprRequest::printTo(std::ostream& out) const { @@ -13043,14 +13266,14 @@ uint32_t TableStatsResult::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tableStats.clear(); - uint32_t _size497; - ::apache::thrift::protocol::TType _etype500; - xfer += iprot->readListBegin(_etype500, _size497); - this->tableStats.resize(_size497); - uint32_t _i501; - for (_i501 = 0; _i501 < _size497; ++_i501) + uint32_t _size506; + ::apache::thrift::protocol::TType _etype509; + xfer += iprot->readListBegin(_etype509, _size506); + this->tableStats.resize(_size506); + uint32_t _i510; + for (_i510 = 0; _i510 < _size506; ++_i510) { - xfer += this->tableStats[_i501].read(iprot); + xfer += this->tableStats[_i510].read(iprot); } xfer += iprot->readListEnd(); } @@ -13081,10 +13304,10 @@ uint32_t TableStatsResult::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("tableStats", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->tableStats.size())); - std::vector ::const_iterator _iter502; - for (_iter502 = this->tableStats.begin(); _iter502 != this->tableStats.end(); ++_iter502) + std::vector ::const_iterator _iter511; + for (_iter511 = this->tableStats.begin(); _iter511 != this->tableStats.end(); ++_iter511) { - xfer += (*_iter502).write(oprot); + xfer += (*_iter511).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13100,11 +13323,11 @@ void swap(TableStatsResult &a, TableStatsResult &b) { swap(a.tableStats, b.tableStats); } -TableStatsResult::TableStatsResult(const TableStatsResult& other503) { - tableStats = other503.tableStats; +TableStatsResult::TableStatsResult(const TableStatsResult& other512) { + tableStats = other512.tableStats; } -TableStatsResult& TableStatsResult::operator=(const TableStatsResult& other504) { - tableStats = other504.tableStats; +TableStatsResult& TableStatsResult::operator=(const TableStatsResult& other513) { + tableStats = other513.tableStats; return *this; } void TableStatsResult::printTo(std::ostream& out) const { @@ -13149,26 +13372,26 @@ uint32_t PartitionsStatsResult::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partStats.clear(); - uint32_t _size505; - ::apache::thrift::protocol::TType _ktype506; - ::apache::thrift::protocol::TType _vtype507; - xfer += iprot->readMapBegin(_ktype506, _vtype507, _size505); - uint32_t _i509; - for (_i509 = 0; _i509 < _size505; ++_i509) + uint32_t _size514; + ::apache::thrift::protocol::TType _ktype515; + ::apache::thrift::protocol::TType _vtype516; + xfer += iprot->readMapBegin(_ktype515, _vtype516, _size514); + uint32_t _i518; + for (_i518 = 0; _i518 < _size514; ++_i518) { - std::string _key510; - xfer += iprot->readString(_key510); - std::vector & _val511 = this->partStats[_key510]; + std::string _key519; + xfer += iprot->readString(_key519); + std::vector & _val520 = this->partStats[_key519]; { - _val511.clear(); - uint32_t _size512; - ::apache::thrift::protocol::TType _etype515; - xfer += iprot->readListBegin(_etype515, _size512); - _val511.resize(_size512); - uint32_t _i516; - for (_i516 = 0; _i516 < _size512; ++_i516) + _val520.clear(); + uint32_t _size521; + ::apache::thrift::protocol::TType _etype524; + xfer += iprot->readListBegin(_etype524, _size521); + _val520.resize(_size521); + uint32_t _i525; + for (_i525 = 0; _i525 < _size521; ++_i525) { - xfer += _val511[_i516].read(iprot); + xfer += _val520[_i525].read(iprot); } xfer += iprot->readListEnd(); } @@ -13202,16 +13425,16 @@ uint32_t PartitionsStatsResult::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldBegin("partStats", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_LIST, static_cast(this->partStats.size())); - std::map > ::const_iterator _iter517; - for (_iter517 = this->partStats.begin(); _iter517 != this->partStats.end(); ++_iter517) + std::map > ::const_iterator _iter526; + for (_iter526 = this->partStats.begin(); _iter526 != this->partStats.end(); ++_iter526) { - xfer += oprot->writeString(_iter517->first); + xfer += oprot->writeString(_iter526->first); { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter517->second.size())); - std::vector ::const_iterator _iter518; - for (_iter518 = _iter517->second.begin(); _iter518 != _iter517->second.end(); ++_iter518) + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter526->second.size())); + std::vector ::const_iterator _iter527; + for (_iter527 = _iter526->second.begin(); _iter527 != _iter526->second.end(); ++_iter527) { - xfer += (*_iter518).write(oprot); + xfer += (*_iter527).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13230,11 +13453,11 @@ void swap(PartitionsStatsResult &a, PartitionsStatsResult &b) { swap(a.partStats, b.partStats); } -PartitionsStatsResult::PartitionsStatsResult(const PartitionsStatsResult& other519) { - partStats = other519.partStats; +PartitionsStatsResult::PartitionsStatsResult(const PartitionsStatsResult& other528) { + partStats = other528.partStats; } -PartitionsStatsResult& PartitionsStatsResult::operator=(const PartitionsStatsResult& other520) { - partStats = other520.partStats; +PartitionsStatsResult& PartitionsStatsResult::operator=(const PartitionsStatsResult& other529) { + partStats = other529.partStats; return *this; } void PartitionsStatsResult::printTo(std::ostream& out) const { @@ -13310,14 +13533,14 @@ uint32_t TableStatsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->colNames.clear(); - uint32_t _size521; - ::apache::thrift::protocol::TType _etype524; - xfer += iprot->readListBegin(_etype524, _size521); - this->colNames.resize(_size521); - uint32_t _i525; - for (_i525 = 0; _i525 < _size521; ++_i525) + uint32_t _size530; + ::apache::thrift::protocol::TType _etype533; + xfer += iprot->readListBegin(_etype533, _size530); + this->colNames.resize(_size530); + uint32_t _i534; + for (_i534 = 0; _i534 < _size530; ++_i534) { - xfer += iprot->readString(this->colNames[_i525]); + xfer += iprot->readString(this->colNames[_i534]); } xfer += iprot->readListEnd(); } @@ -13368,10 +13591,10 @@ uint32_t TableStatsRequest::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("colNames", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->colNames.size())); - std::vector ::const_iterator _iter526; - for (_iter526 = this->colNames.begin(); _iter526 != this->colNames.end(); ++_iter526) + std::vector ::const_iterator _iter535; + for (_iter535 = this->colNames.begin(); _iter535 != this->colNames.end(); ++_iter535) { - xfer += oprot->writeString((*_iter526)); + xfer += oprot->writeString((*_iter535)); } xfer += oprot->writeListEnd(); } @@ -13396,19 +13619,19 @@ void swap(TableStatsRequest &a, TableStatsRequest &b) { swap(a.__isset, b.__isset); } -TableStatsRequest::TableStatsRequest(const TableStatsRequest& other527) { - dbName = other527.dbName; - tblName = other527.tblName; - colNames = other527.colNames; - catName = other527.catName; - __isset = other527.__isset; +TableStatsRequest::TableStatsRequest(const TableStatsRequest& other536) { + dbName = other536.dbName; + tblName = other536.tblName; + colNames = other536.colNames; + catName = other536.catName; + __isset = other536.__isset; } -TableStatsRequest& TableStatsRequest::operator=(const TableStatsRequest& other528) { - dbName = other528.dbName; - tblName = other528.tblName; - colNames = other528.colNames; - catName = other528.catName; - __isset = other528.__isset; +TableStatsRequest& TableStatsRequest::operator=(const TableStatsRequest& other537) { + dbName = other537.dbName; + tblName = other537.tblName; + colNames = other537.colNames; + catName = other537.catName; + __isset = other537.__isset; return *this; } void TableStatsRequest::printTo(std::ostream& out) const { @@ -13492,14 +13715,14 @@ uint32_t PartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->colNames.clear(); - uint32_t _size529; - ::apache::thrift::protocol::TType _etype532; - xfer += iprot->readListBegin(_etype532, _size529); - this->colNames.resize(_size529); - uint32_t _i533; - for (_i533 = 0; _i533 < _size529; ++_i533) + uint32_t _size538; + ::apache::thrift::protocol::TType _etype541; + xfer += iprot->readListBegin(_etype541, _size538); + this->colNames.resize(_size538); + uint32_t _i542; + for (_i542 = 0; _i542 < _size538; ++_i542) { - xfer += iprot->readString(this->colNames[_i533]); + xfer += iprot->readString(this->colNames[_i542]); } xfer += iprot->readListEnd(); } @@ -13512,14 +13735,14 @@ uint32_t PartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partNames.clear(); - uint32_t _size534; - ::apache::thrift::protocol::TType _etype537; - xfer += iprot->readListBegin(_etype537, _size534); - this->partNames.resize(_size534); - uint32_t _i538; - for (_i538 = 0; _i538 < _size534; ++_i538) + uint32_t _size543; + ::apache::thrift::protocol::TType _etype546; + xfer += iprot->readListBegin(_etype546, _size543); + this->partNames.resize(_size543); + uint32_t _i547; + for (_i547 = 0; _i547 < _size543; ++_i547) { - xfer += iprot->readString(this->partNames[_i538]); + xfer += iprot->readString(this->partNames[_i547]); } xfer += iprot->readListEnd(); } @@ -13572,10 +13795,10 @@ uint32_t PartitionsStatsRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("colNames", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->colNames.size())); - std::vector ::const_iterator _iter539; - for (_iter539 = this->colNames.begin(); _iter539 != this->colNames.end(); ++_iter539) + std::vector ::const_iterator _iter548; + for (_iter548 = this->colNames.begin(); _iter548 != this->colNames.end(); ++_iter548) { - xfer += oprot->writeString((*_iter539)); + xfer += oprot->writeString((*_iter548)); } xfer += oprot->writeListEnd(); } @@ -13584,10 +13807,10 @@ uint32_t PartitionsStatsRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("partNames", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partNames.size())); - std::vector ::const_iterator _iter540; - for (_iter540 = this->partNames.begin(); _iter540 != this->partNames.end(); ++_iter540) + std::vector ::const_iterator _iter549; + for (_iter549 = this->partNames.begin(); _iter549 != this->partNames.end(); ++_iter549) { - xfer += oprot->writeString((*_iter540)); + xfer += oprot->writeString((*_iter549)); } xfer += oprot->writeListEnd(); } @@ -13613,21 +13836,21 @@ void swap(PartitionsStatsRequest &a, PartitionsStatsRequest &b) { swap(a.__isset, b.__isset); } -PartitionsStatsRequest::PartitionsStatsRequest(const PartitionsStatsRequest& other541) { - dbName = other541.dbName; - tblName = other541.tblName; - colNames = other541.colNames; - partNames = other541.partNames; - catName = other541.catName; - __isset = other541.__isset; -} -PartitionsStatsRequest& PartitionsStatsRequest::operator=(const PartitionsStatsRequest& other542) { - dbName = other542.dbName; - tblName = other542.tblName; - colNames = other542.colNames; - partNames = other542.partNames; - catName = other542.catName; - __isset = other542.__isset; +PartitionsStatsRequest::PartitionsStatsRequest(const PartitionsStatsRequest& other550) { + dbName = other550.dbName; + tblName = other550.tblName; + colNames = other550.colNames; + partNames = other550.partNames; + catName = other550.catName; + __isset = other550.__isset; +} +PartitionsStatsRequest& PartitionsStatsRequest::operator=(const PartitionsStatsRequest& other551) { + dbName = other551.dbName; + tblName = other551.tblName; + colNames = other551.colNames; + partNames = other551.partNames; + catName = other551.catName; + __isset = other551.__isset; return *this; } void PartitionsStatsRequest::printTo(std::ostream& out) const { @@ -13676,14 +13899,14 @@ uint32_t AddPartitionsResult::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size543; - ::apache::thrift::protocol::TType _etype546; - xfer += iprot->readListBegin(_etype546, _size543); - this->partitions.resize(_size543); - uint32_t _i547; - for (_i547 = 0; _i547 < _size543; ++_i547) + uint32_t _size552; + ::apache::thrift::protocol::TType _etype555; + xfer += iprot->readListBegin(_etype555, _size552); + this->partitions.resize(_size552); + uint32_t _i556; + for (_i556 = 0; _i556 < _size552; ++_i556) { - xfer += this->partitions[_i547].read(iprot); + xfer += this->partitions[_i556].read(iprot); } xfer += iprot->readListEnd(); } @@ -13713,10 +13936,10 @@ uint32_t AddPartitionsResult::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitions.size())); - std::vector ::const_iterator _iter548; - for (_iter548 = this->partitions.begin(); _iter548 != this->partitions.end(); ++_iter548) + std::vector ::const_iterator _iter557; + for (_iter557 = this->partitions.begin(); _iter557 != this->partitions.end(); ++_iter557) { - xfer += (*_iter548).write(oprot); + xfer += (*_iter557).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13733,13 +13956,13 @@ void swap(AddPartitionsResult &a, AddPartitionsResult &b) { swap(a.__isset, b.__isset); } -AddPartitionsResult::AddPartitionsResult(const AddPartitionsResult& other549) { - partitions = other549.partitions; - __isset = other549.__isset; +AddPartitionsResult::AddPartitionsResult(const AddPartitionsResult& other558) { + partitions = other558.partitions; + __isset = other558.__isset; } -AddPartitionsResult& AddPartitionsResult::operator=(const AddPartitionsResult& other550) { - partitions = other550.partitions; - __isset = other550.__isset; +AddPartitionsResult& AddPartitionsResult::operator=(const AddPartitionsResult& other559) { + partitions = other559.partitions; + __isset = other559.__isset; return *this; } void AddPartitionsResult::printTo(std::ostream& out) const { @@ -13825,14 +14048,14 @@ uint32_t AddPartitionsRequest::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->parts.clear(); - uint32_t _size551; - ::apache::thrift::protocol::TType _etype554; - xfer += iprot->readListBegin(_etype554, _size551); - this->parts.resize(_size551); - uint32_t _i555; - for (_i555 = 0; _i555 < _size551; ++_i555) + uint32_t _size560; + ::apache::thrift::protocol::TType _etype563; + xfer += iprot->readListBegin(_etype563, _size560); + this->parts.resize(_size560); + uint32_t _i564; + for (_i564 = 0; _i564 < _size560; ++_i564) { - xfer += this->parts[_i555].read(iprot); + xfer += this->parts[_i564].read(iprot); } xfer += iprot->readListEnd(); } @@ -13901,10 +14124,10 @@ uint32_t AddPartitionsRequest::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->parts.size())); - std::vector ::const_iterator _iter556; - for (_iter556 = this->parts.begin(); _iter556 != this->parts.end(); ++_iter556) + std::vector ::const_iterator _iter565; + for (_iter565 = this->parts.begin(); _iter565 != this->parts.end(); ++_iter565) { - xfer += (*_iter556).write(oprot); + xfer += (*_iter565).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13940,23 +14163,23 @@ void swap(AddPartitionsRequest &a, AddPartitionsRequest &b) { swap(a.__isset, b.__isset); } -AddPartitionsRequest::AddPartitionsRequest(const AddPartitionsRequest& other557) { - dbName = other557.dbName; - tblName = other557.tblName; - parts = other557.parts; - ifNotExists = other557.ifNotExists; - needResult = other557.needResult; - catName = other557.catName; - __isset = other557.__isset; -} -AddPartitionsRequest& AddPartitionsRequest::operator=(const AddPartitionsRequest& other558) { - dbName = other558.dbName; - tblName = other558.tblName; - parts = other558.parts; - ifNotExists = other558.ifNotExists; - needResult = other558.needResult; - catName = other558.catName; - __isset = other558.__isset; +AddPartitionsRequest::AddPartitionsRequest(const AddPartitionsRequest& other566) { + dbName = other566.dbName; + tblName = other566.tblName; + parts = other566.parts; + ifNotExists = other566.ifNotExists; + needResult = other566.needResult; + catName = other566.catName; + __isset = other566.__isset; +} +AddPartitionsRequest& AddPartitionsRequest::operator=(const AddPartitionsRequest& other567) { + dbName = other567.dbName; + tblName = other567.tblName; + parts = other567.parts; + ifNotExists = other567.ifNotExists; + needResult = other567.needResult; + catName = other567.catName; + __isset = other567.__isset; return *this; } void AddPartitionsRequest::printTo(std::ostream& out) const { @@ -14006,14 +14229,14 @@ uint32_t DropPartitionsResult::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size559; - ::apache::thrift::protocol::TType _etype562; - xfer += iprot->readListBegin(_etype562, _size559); - this->partitions.resize(_size559); - uint32_t _i563; - for (_i563 = 0; _i563 < _size559; ++_i563) + uint32_t _size568; + ::apache::thrift::protocol::TType _etype571; + xfer += iprot->readListBegin(_etype571, _size568); + this->partitions.resize(_size568); + uint32_t _i572; + for (_i572 = 0; _i572 < _size568; ++_i572) { - xfer += this->partitions[_i563].read(iprot); + xfer += this->partitions[_i572].read(iprot); } xfer += iprot->readListEnd(); } @@ -14043,10 +14266,10 @@ uint32_t DropPartitionsResult::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitions.size())); - std::vector ::const_iterator _iter564; - for (_iter564 = this->partitions.begin(); _iter564 != this->partitions.end(); ++_iter564) + std::vector ::const_iterator _iter573; + for (_iter573 = this->partitions.begin(); _iter573 != this->partitions.end(); ++_iter573) { - xfer += (*_iter564).write(oprot); + xfer += (*_iter573).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14063,13 +14286,13 @@ void swap(DropPartitionsResult &a, DropPartitionsResult &b) { swap(a.__isset, b.__isset); } -DropPartitionsResult::DropPartitionsResult(const DropPartitionsResult& other565) { - partitions = other565.partitions; - __isset = other565.__isset; +DropPartitionsResult::DropPartitionsResult(const DropPartitionsResult& other574) { + partitions = other574.partitions; + __isset = other574.__isset; } -DropPartitionsResult& DropPartitionsResult::operator=(const DropPartitionsResult& other566) { - partitions = other566.partitions; - __isset = other566.__isset; +DropPartitionsResult& DropPartitionsResult::operator=(const DropPartitionsResult& other575) { + partitions = other575.partitions; + __isset = other575.__isset; return *this; } void DropPartitionsResult::printTo(std::ostream& out) const { @@ -14171,15 +14394,15 @@ void swap(DropPartitionsExpr &a, DropPartitionsExpr &b) { swap(a.__isset, b.__isset); } -DropPartitionsExpr::DropPartitionsExpr(const DropPartitionsExpr& other567) { - expr = other567.expr; - partArchiveLevel = other567.partArchiveLevel; - __isset = other567.__isset; +DropPartitionsExpr::DropPartitionsExpr(const DropPartitionsExpr& other576) { + expr = other576.expr; + partArchiveLevel = other576.partArchiveLevel; + __isset = other576.__isset; } -DropPartitionsExpr& DropPartitionsExpr::operator=(const DropPartitionsExpr& other568) { - expr = other568.expr; - partArchiveLevel = other568.partArchiveLevel; - __isset = other568.__isset; +DropPartitionsExpr& DropPartitionsExpr::operator=(const DropPartitionsExpr& other577) { + expr = other577.expr; + partArchiveLevel = other577.partArchiveLevel; + __isset = other577.__isset; return *this; } void DropPartitionsExpr::printTo(std::ostream& out) const { @@ -14228,14 +14451,14 @@ uint32_t RequestPartsSpec::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size569; - ::apache::thrift::protocol::TType _etype572; - xfer += iprot->readListBegin(_etype572, _size569); - this->names.resize(_size569); - uint32_t _i573; - for (_i573 = 0; _i573 < _size569; ++_i573) + uint32_t _size578; + ::apache::thrift::protocol::TType _etype581; + xfer += iprot->readListBegin(_etype581, _size578); + this->names.resize(_size578); + uint32_t _i582; + for (_i582 = 0; _i582 < _size578; ++_i582) { - xfer += iprot->readString(this->names[_i573]); + xfer += iprot->readString(this->names[_i582]); } xfer += iprot->readListEnd(); } @@ -14248,14 +14471,14 @@ uint32_t RequestPartsSpec::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->exprs.clear(); - uint32_t _size574; - ::apache::thrift::protocol::TType _etype577; - xfer += iprot->readListBegin(_etype577, _size574); - this->exprs.resize(_size574); - uint32_t _i578; - for (_i578 = 0; _i578 < _size574; ++_i578) + uint32_t _size583; + ::apache::thrift::protocol::TType _etype586; + xfer += iprot->readListBegin(_etype586, _size583); + this->exprs.resize(_size583); + uint32_t _i587; + for (_i587 = 0; _i587 < _size583; ++_i587) { - xfer += this->exprs[_i578].read(iprot); + xfer += this->exprs[_i587].read(iprot); } xfer += iprot->readListEnd(); } @@ -14284,10 +14507,10 @@ uint32_t RequestPartsSpec::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->names.size())); - std::vector ::const_iterator _iter579; - for (_iter579 = this->names.begin(); _iter579 != this->names.end(); ++_iter579) + std::vector ::const_iterator _iter588; + for (_iter588 = this->names.begin(); _iter588 != this->names.end(); ++_iter588) { - xfer += oprot->writeString((*_iter579)); + xfer += oprot->writeString((*_iter588)); } xfer += oprot->writeListEnd(); } @@ -14296,10 +14519,10 @@ uint32_t RequestPartsSpec::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("exprs", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->exprs.size())); - std::vector ::const_iterator _iter580; - for (_iter580 = this->exprs.begin(); _iter580 != this->exprs.end(); ++_iter580) + std::vector ::const_iterator _iter589; + for (_iter589 = this->exprs.begin(); _iter589 != this->exprs.end(); ++_iter589) { - xfer += (*_iter580).write(oprot); + xfer += (*_iter589).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14317,15 +14540,15 @@ void swap(RequestPartsSpec &a, RequestPartsSpec &b) { swap(a.__isset, b.__isset); } -RequestPartsSpec::RequestPartsSpec(const RequestPartsSpec& other581) { - names = other581.names; - exprs = other581.exprs; - __isset = other581.__isset; +RequestPartsSpec::RequestPartsSpec(const RequestPartsSpec& other590) { + names = other590.names; + exprs = other590.exprs; + __isset = other590.__isset; } -RequestPartsSpec& RequestPartsSpec::operator=(const RequestPartsSpec& other582) { - names = other582.names; - exprs = other582.exprs; - __isset = other582.__isset; +RequestPartsSpec& RequestPartsSpec::operator=(const RequestPartsSpec& other591) { + names = other591.names; + exprs = other591.exprs; + __isset = other591.__isset; return *this; } void RequestPartsSpec::printTo(std::ostream& out) const { @@ -14563,29 +14786,29 @@ void swap(DropPartitionsRequest &a, DropPartitionsRequest &b) { swap(a.__isset, b.__isset); } -DropPartitionsRequest::DropPartitionsRequest(const DropPartitionsRequest& other583) { - dbName = other583.dbName; - tblName = other583.tblName; - parts = other583.parts; - deleteData = other583.deleteData; - ifExists = other583.ifExists; - ignoreProtection = other583.ignoreProtection; - environmentContext = other583.environmentContext; - needResult = other583.needResult; - catName = other583.catName; - __isset = other583.__isset; -} -DropPartitionsRequest& DropPartitionsRequest::operator=(const DropPartitionsRequest& other584) { - dbName = other584.dbName; - tblName = other584.tblName; - parts = other584.parts; - deleteData = other584.deleteData; - ifExists = other584.ifExists; - ignoreProtection = other584.ignoreProtection; - environmentContext = other584.environmentContext; - needResult = other584.needResult; - catName = other584.catName; - __isset = other584.__isset; +DropPartitionsRequest::DropPartitionsRequest(const DropPartitionsRequest& other592) { + dbName = other592.dbName; + tblName = other592.tblName; + parts = other592.parts; + deleteData = other592.deleteData; + ifExists = other592.ifExists; + ignoreProtection = other592.ignoreProtection; + environmentContext = other592.environmentContext; + needResult = other592.needResult; + catName = other592.catName; + __isset = other592.__isset; +} +DropPartitionsRequest& DropPartitionsRequest::operator=(const DropPartitionsRequest& other593) { + dbName = other593.dbName; + tblName = other593.tblName; + parts = other593.parts; + deleteData = other593.deleteData; + ifExists = other593.ifExists; + ignoreProtection = other593.ignoreProtection; + environmentContext = other593.environmentContext; + needResult = other593.needResult; + catName = other593.catName; + __isset = other593.__isset; return *this; } void DropPartitionsRequest::printTo(std::ostream& out) const { @@ -14694,14 +14917,14 @@ uint32_t PartitionValuesRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionKeys.clear(); - uint32_t _size585; - ::apache::thrift::protocol::TType _etype588; - xfer += iprot->readListBegin(_etype588, _size585); - this->partitionKeys.resize(_size585); - uint32_t _i589; - for (_i589 = 0; _i589 < _size585; ++_i589) + uint32_t _size594; + ::apache::thrift::protocol::TType _etype597; + xfer += iprot->readListBegin(_etype597, _size594); + this->partitionKeys.resize(_size594); + uint32_t _i598; + for (_i598 = 0; _i598 < _size594; ++_i598) { - xfer += this->partitionKeys[_i589].read(iprot); + xfer += this->partitionKeys[_i598].read(iprot); } xfer += iprot->readListEnd(); } @@ -14730,14 +14953,14 @@ uint32_t PartitionValuesRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionOrder.clear(); - uint32_t _size590; - ::apache::thrift::protocol::TType _etype593; - xfer += iprot->readListBegin(_etype593, _size590); - this->partitionOrder.resize(_size590); - uint32_t _i594; - for (_i594 = 0; _i594 < _size590; ++_i594) + uint32_t _size599; + ::apache::thrift::protocol::TType _etype602; + xfer += iprot->readListBegin(_etype602, _size599); + this->partitionOrder.resize(_size599); + uint32_t _i603; + for (_i603 = 0; _i603 < _size599; ++_i603) { - xfer += this->partitionOrder[_i594].read(iprot); + xfer += this->partitionOrder[_i603].read(iprot); } xfer += iprot->readListEnd(); } @@ -14804,10 +15027,10 @@ uint32_t PartitionValuesRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("partitionKeys", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitionKeys.size())); - std::vector ::const_iterator _iter595; - for (_iter595 = this->partitionKeys.begin(); _iter595 != this->partitionKeys.end(); ++_iter595) + std::vector ::const_iterator _iter604; + for (_iter604 = this->partitionKeys.begin(); _iter604 != this->partitionKeys.end(); ++_iter604) { - xfer += (*_iter595).write(oprot); + xfer += (*_iter604).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14827,10 +15050,10 @@ uint32_t PartitionValuesRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("partitionOrder", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitionOrder.size())); - std::vector ::const_iterator _iter596; - for (_iter596 = this->partitionOrder.begin(); _iter596 != this->partitionOrder.end(); ++_iter596) + std::vector ::const_iterator _iter605; + for (_iter605 = this->partitionOrder.begin(); _iter605 != this->partitionOrder.end(); ++_iter605) { - xfer += (*_iter596).write(oprot); + xfer += (*_iter605).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14870,29 +15093,29 @@ void swap(PartitionValuesRequest &a, PartitionValuesRequest &b) { swap(a.__isset, b.__isset); } -PartitionValuesRequest::PartitionValuesRequest(const PartitionValuesRequest& other597) { - dbName = other597.dbName; - tblName = other597.tblName; - partitionKeys = other597.partitionKeys; - applyDistinct = other597.applyDistinct; - filter = other597.filter; - partitionOrder = other597.partitionOrder; - ascending = other597.ascending; - maxParts = other597.maxParts; - catName = other597.catName; - __isset = other597.__isset; -} -PartitionValuesRequest& PartitionValuesRequest::operator=(const PartitionValuesRequest& other598) { - dbName = other598.dbName; - tblName = other598.tblName; - partitionKeys = other598.partitionKeys; - applyDistinct = other598.applyDistinct; - filter = other598.filter; - partitionOrder = other598.partitionOrder; - ascending = other598.ascending; - maxParts = other598.maxParts; - catName = other598.catName; - __isset = other598.__isset; +PartitionValuesRequest::PartitionValuesRequest(const PartitionValuesRequest& other606) { + dbName = other606.dbName; + tblName = other606.tblName; + partitionKeys = other606.partitionKeys; + applyDistinct = other606.applyDistinct; + filter = other606.filter; + partitionOrder = other606.partitionOrder; + ascending = other606.ascending; + maxParts = other606.maxParts; + catName = other606.catName; + __isset = other606.__isset; +} +PartitionValuesRequest& PartitionValuesRequest::operator=(const PartitionValuesRequest& other607) { + dbName = other607.dbName; + tblName = other607.tblName; + partitionKeys = other607.partitionKeys; + applyDistinct = other607.applyDistinct; + filter = other607.filter; + partitionOrder = other607.partitionOrder; + ascending = other607.ascending; + maxParts = other607.maxParts; + catName = other607.catName; + __isset = other607.__isset; return *this; } void PartitionValuesRequest::printTo(std::ostream& out) const { @@ -14945,14 +15168,14 @@ uint32_t PartitionValuesRow::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->row.clear(); - uint32_t _size599; - ::apache::thrift::protocol::TType _etype602; - xfer += iprot->readListBegin(_etype602, _size599); - this->row.resize(_size599); - uint32_t _i603; - for (_i603 = 0; _i603 < _size599; ++_i603) + uint32_t _size608; + ::apache::thrift::protocol::TType _etype611; + xfer += iprot->readListBegin(_etype611, _size608); + this->row.resize(_size608); + uint32_t _i612; + for (_i612 = 0; _i612 < _size608; ++_i612) { - xfer += iprot->readString(this->row[_i603]); + xfer += iprot->readString(this->row[_i612]); } xfer += iprot->readListEnd(); } @@ -14983,10 +15206,10 @@ uint32_t PartitionValuesRow::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("row", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->row.size())); - std::vector ::const_iterator _iter604; - for (_iter604 = this->row.begin(); _iter604 != this->row.end(); ++_iter604) + std::vector ::const_iterator _iter613; + for (_iter613 = this->row.begin(); _iter613 != this->row.end(); ++_iter613) { - xfer += oprot->writeString((*_iter604)); + xfer += oprot->writeString((*_iter613)); } xfer += oprot->writeListEnd(); } @@ -15002,11 +15225,11 @@ void swap(PartitionValuesRow &a, PartitionValuesRow &b) { swap(a.row, b.row); } -PartitionValuesRow::PartitionValuesRow(const PartitionValuesRow& other605) { - row = other605.row; +PartitionValuesRow::PartitionValuesRow(const PartitionValuesRow& other614) { + row = other614.row; } -PartitionValuesRow& PartitionValuesRow::operator=(const PartitionValuesRow& other606) { - row = other606.row; +PartitionValuesRow& PartitionValuesRow::operator=(const PartitionValuesRow& other615) { + row = other615.row; return *this; } void PartitionValuesRow::printTo(std::ostream& out) const { @@ -15051,14 +15274,14 @@ uint32_t PartitionValuesResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionValues.clear(); - uint32_t _size607; - ::apache::thrift::protocol::TType _etype610; - xfer += iprot->readListBegin(_etype610, _size607); - this->partitionValues.resize(_size607); - uint32_t _i611; - for (_i611 = 0; _i611 < _size607; ++_i611) + uint32_t _size616; + ::apache::thrift::protocol::TType _etype619; + xfer += iprot->readListBegin(_etype619, _size616); + this->partitionValues.resize(_size616); + uint32_t _i620; + for (_i620 = 0; _i620 < _size616; ++_i620) { - xfer += this->partitionValues[_i611].read(iprot); + xfer += this->partitionValues[_i620].read(iprot); } xfer += iprot->readListEnd(); } @@ -15089,10 +15312,10 @@ uint32_t PartitionValuesResponse::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldBegin("partitionValues", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitionValues.size())); - std::vector ::const_iterator _iter612; - for (_iter612 = this->partitionValues.begin(); _iter612 != this->partitionValues.end(); ++_iter612) + std::vector ::const_iterator _iter621; + for (_iter621 = this->partitionValues.begin(); _iter621 != this->partitionValues.end(); ++_iter621) { - xfer += (*_iter612).write(oprot); + xfer += (*_iter621).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15108,11 +15331,11 @@ void swap(PartitionValuesResponse &a, PartitionValuesResponse &b) { swap(a.partitionValues, b.partitionValues); } -PartitionValuesResponse::PartitionValuesResponse(const PartitionValuesResponse& other613) { - partitionValues = other613.partitionValues; +PartitionValuesResponse::PartitionValuesResponse(const PartitionValuesResponse& other622) { + partitionValues = other622.partitionValues; } -PartitionValuesResponse& PartitionValuesResponse::operator=(const PartitionValuesResponse& other614) { - partitionValues = other614.partitionValues; +PartitionValuesResponse& PartitionValuesResponse::operator=(const PartitionValuesResponse& other623) { + partitionValues = other623.partitionValues; return *this; } void PartitionValuesResponse::printTo(std::ostream& out) const { @@ -15158,9 +15381,9 @@ uint32_t ResourceUri::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast615; - xfer += iprot->readI32(ecast615); - this->resourceType = (ResourceType::type)ecast615; + int32_t ecast624; + xfer += iprot->readI32(ecast624); + this->resourceType = (ResourceType::type)ecast624; this->__isset.resourceType = true; } else { xfer += iprot->skip(ftype); @@ -15211,15 +15434,15 @@ void swap(ResourceUri &a, ResourceUri &b) { swap(a.__isset, b.__isset); } -ResourceUri::ResourceUri(const ResourceUri& other616) { - resourceType = other616.resourceType; - uri = other616.uri; - __isset = other616.__isset; +ResourceUri::ResourceUri(const ResourceUri& other625) { + resourceType = other625.resourceType; + uri = other625.uri; + __isset = other625.__isset; } -ResourceUri& ResourceUri::operator=(const ResourceUri& other617) { - resourceType = other617.resourceType; - uri = other617.uri; - __isset = other617.__isset; +ResourceUri& ResourceUri::operator=(const ResourceUri& other626) { + resourceType = other626.resourceType; + uri = other626.uri; + __isset = other626.__isset; return *this; } void ResourceUri::printTo(std::ostream& out) const { @@ -15327,9 +15550,9 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast618; - xfer += iprot->readI32(ecast618); - this->ownerType = (PrincipalType::type)ecast618; + int32_t ecast627; + xfer += iprot->readI32(ecast627); + this->ownerType = (PrincipalType::type)ecast627; this->__isset.ownerType = true; } else { xfer += iprot->skip(ftype); @@ -15345,9 +15568,9 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 7: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast619; - xfer += iprot->readI32(ecast619); - this->functionType = (FunctionType::type)ecast619; + int32_t ecast628; + xfer += iprot->readI32(ecast628); + this->functionType = (FunctionType::type)ecast628; this->__isset.functionType = true; } else { xfer += iprot->skip(ftype); @@ -15357,14 +15580,14 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->resourceUris.clear(); - uint32_t _size620; - ::apache::thrift::protocol::TType _etype623; - xfer += iprot->readListBegin(_etype623, _size620); - this->resourceUris.resize(_size620); - uint32_t _i624; - for (_i624 = 0; _i624 < _size620; ++_i624) + uint32_t _size629; + ::apache::thrift::protocol::TType _etype632; + xfer += iprot->readListBegin(_etype632, _size629); + this->resourceUris.resize(_size629); + uint32_t _i633; + for (_i633 = 0; _i633 < _size629; ++_i633) { - xfer += this->resourceUris[_i624].read(iprot); + xfer += this->resourceUris[_i633].read(iprot); } xfer += iprot->readListEnd(); } @@ -15429,10 +15652,10 @@ uint32_t Function::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("resourceUris", ::apache::thrift::protocol::T_LIST, 8); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->resourceUris.size())); - std::vector ::const_iterator _iter625; - for (_iter625 = this->resourceUris.begin(); _iter625 != this->resourceUris.end(); ++_iter625) + std::vector ::const_iterator _iter634; + for (_iter634 = this->resourceUris.begin(); _iter634 != this->resourceUris.end(); ++_iter634) { - xfer += (*_iter625).write(oprot); + xfer += (*_iter634).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15462,29 +15685,29 @@ void swap(Function &a, Function &b) { swap(a.__isset, b.__isset); } -Function::Function(const Function& other626) { - functionName = other626.functionName; - dbName = other626.dbName; - className = other626.className; - ownerName = other626.ownerName; - ownerType = other626.ownerType; - createTime = other626.createTime; - functionType = other626.functionType; - resourceUris = other626.resourceUris; - catName = other626.catName; - __isset = other626.__isset; -} -Function& Function::operator=(const Function& other627) { - functionName = other627.functionName; - dbName = other627.dbName; - className = other627.className; - ownerName = other627.ownerName; - ownerType = other627.ownerType; - createTime = other627.createTime; - functionType = other627.functionType; - resourceUris = other627.resourceUris; - catName = other627.catName; - __isset = other627.__isset; +Function::Function(const Function& other635) { + functionName = other635.functionName; + dbName = other635.dbName; + className = other635.className; + ownerName = other635.ownerName; + ownerType = other635.ownerType; + createTime = other635.createTime; + functionType = other635.functionType; + resourceUris = other635.resourceUris; + catName = other635.catName; + __isset = other635.__isset; +} +Function& Function::operator=(const Function& other636) { + functionName = other636.functionName; + dbName = other636.dbName; + className = other636.className; + ownerName = other636.ownerName; + ownerType = other636.ownerType; + createTime = other636.createTime; + functionType = other636.functionType; + resourceUris = other636.resourceUris; + catName = other636.catName; + __isset = other636.__isset; return *this; } void Function::printTo(std::ostream& out) const { @@ -15583,9 +15806,9 @@ uint32_t TxnInfo::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast628; - xfer += iprot->readI32(ecast628); - this->state = (TxnState::type)ecast628; + int32_t ecast637; + xfer += iprot->readI32(ecast637); + this->state = (TxnState::type)ecast637; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -15732,29 +15955,29 @@ void swap(TxnInfo &a, TxnInfo &b) { swap(a.__isset, b.__isset); } -TxnInfo::TxnInfo(const TxnInfo& other629) { - id = other629.id; - state = other629.state; - user = other629.user; - hostname = other629.hostname; - agentInfo = other629.agentInfo; - heartbeatCount = other629.heartbeatCount; - metaInfo = other629.metaInfo; - startedTime = other629.startedTime; - lastHeartbeatTime = other629.lastHeartbeatTime; - __isset = other629.__isset; -} -TxnInfo& TxnInfo::operator=(const TxnInfo& other630) { - id = other630.id; - state = other630.state; - user = other630.user; - hostname = other630.hostname; - agentInfo = other630.agentInfo; - heartbeatCount = other630.heartbeatCount; - metaInfo = other630.metaInfo; - startedTime = other630.startedTime; - lastHeartbeatTime = other630.lastHeartbeatTime; - __isset = other630.__isset; +TxnInfo::TxnInfo(const TxnInfo& other638) { + id = other638.id; + state = other638.state; + user = other638.user; + hostname = other638.hostname; + agentInfo = other638.agentInfo; + heartbeatCount = other638.heartbeatCount; + metaInfo = other638.metaInfo; + startedTime = other638.startedTime; + lastHeartbeatTime = other638.lastHeartbeatTime; + __isset = other638.__isset; +} +TxnInfo& TxnInfo::operator=(const TxnInfo& other639) { + id = other639.id; + state = other639.state; + user = other639.user; + hostname = other639.hostname; + agentInfo = other639.agentInfo; + heartbeatCount = other639.heartbeatCount; + metaInfo = other639.metaInfo; + startedTime = other639.startedTime; + lastHeartbeatTime = other639.lastHeartbeatTime; + __isset = other639.__isset; return *this; } void TxnInfo::printTo(std::ostream& out) const { @@ -15820,14 +16043,14 @@ uint32_t GetOpenTxnsInfoResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->open_txns.clear(); - uint32_t _size631; - ::apache::thrift::protocol::TType _etype634; - xfer += iprot->readListBegin(_etype634, _size631); - this->open_txns.resize(_size631); - uint32_t _i635; - for (_i635 = 0; _i635 < _size631; ++_i635) + uint32_t _size640; + ::apache::thrift::protocol::TType _etype643; + xfer += iprot->readListBegin(_etype643, _size640); + this->open_txns.resize(_size640); + uint32_t _i644; + for (_i644 = 0; _i644 < _size640; ++_i644) { - xfer += this->open_txns[_i635].read(iprot); + xfer += this->open_txns[_i644].read(iprot); } xfer += iprot->readListEnd(); } @@ -15864,10 +16087,10 @@ uint32_t GetOpenTxnsInfoResponse::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldBegin("open_txns", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->open_txns.size())); - std::vector ::const_iterator _iter636; - for (_iter636 = this->open_txns.begin(); _iter636 != this->open_txns.end(); ++_iter636) + std::vector ::const_iterator _iter645; + for (_iter645 = this->open_txns.begin(); _iter645 != this->open_txns.end(); ++_iter645) { - xfer += (*_iter636).write(oprot); + xfer += (*_iter645).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15884,13 +16107,13 @@ void swap(GetOpenTxnsInfoResponse &a, GetOpenTxnsInfoResponse &b) { swap(a.open_txns, b.open_txns); } -GetOpenTxnsInfoResponse::GetOpenTxnsInfoResponse(const GetOpenTxnsInfoResponse& other637) { - txn_high_water_mark = other637.txn_high_water_mark; - open_txns = other637.open_txns; +GetOpenTxnsInfoResponse::GetOpenTxnsInfoResponse(const GetOpenTxnsInfoResponse& other646) { + txn_high_water_mark = other646.txn_high_water_mark; + open_txns = other646.open_txns; } -GetOpenTxnsInfoResponse& GetOpenTxnsInfoResponse::operator=(const GetOpenTxnsInfoResponse& other638) { - txn_high_water_mark = other638.txn_high_water_mark; - open_txns = other638.open_txns; +GetOpenTxnsInfoResponse& GetOpenTxnsInfoResponse::operator=(const GetOpenTxnsInfoResponse& other647) { + txn_high_water_mark = other647.txn_high_water_mark; + open_txns = other647.open_txns; return *this; } void GetOpenTxnsInfoResponse::printTo(std::ostream& out) const { @@ -15959,14 +16182,14 @@ uint32_t GetOpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->open_txns.clear(); - uint32_t _size639; - ::apache::thrift::protocol::TType _etype642; - xfer += iprot->readListBegin(_etype642, _size639); - this->open_txns.resize(_size639); - uint32_t _i643; - for (_i643 = 0; _i643 < _size639; ++_i643) + uint32_t _size648; + ::apache::thrift::protocol::TType _etype651; + xfer += iprot->readListBegin(_etype651, _size648); + this->open_txns.resize(_size648); + uint32_t _i652; + for (_i652 = 0; _i652 < _size648; ++_i652) { - xfer += iprot->readI64(this->open_txns[_i643]); + xfer += iprot->readI64(this->open_txns[_i652]); } xfer += iprot->readListEnd(); } @@ -16021,10 +16244,10 @@ uint32_t GetOpenTxnsResponse::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldBegin("open_txns", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->open_txns.size())); - std::vector ::const_iterator _iter644; - for (_iter644 = this->open_txns.begin(); _iter644 != this->open_txns.end(); ++_iter644) + std::vector ::const_iterator _iter653; + for (_iter653 = this->open_txns.begin(); _iter653 != this->open_txns.end(); ++_iter653) { - xfer += oprot->writeI64((*_iter644)); + xfer += oprot->writeI64((*_iter653)); } xfer += oprot->writeListEnd(); } @@ -16053,19 +16276,19 @@ void swap(GetOpenTxnsResponse &a, GetOpenTxnsResponse &b) { swap(a.__isset, b.__isset); } -GetOpenTxnsResponse::GetOpenTxnsResponse(const GetOpenTxnsResponse& other645) { - txn_high_water_mark = other645.txn_high_water_mark; - open_txns = other645.open_txns; - min_open_txn = other645.min_open_txn; - abortedBits = other645.abortedBits; - __isset = other645.__isset; +GetOpenTxnsResponse::GetOpenTxnsResponse(const GetOpenTxnsResponse& other654) { + txn_high_water_mark = other654.txn_high_water_mark; + open_txns = other654.open_txns; + min_open_txn = other654.min_open_txn; + abortedBits = other654.abortedBits; + __isset = other654.__isset; } -GetOpenTxnsResponse& GetOpenTxnsResponse::operator=(const GetOpenTxnsResponse& other646) { - txn_high_water_mark = other646.txn_high_water_mark; - open_txns = other646.open_txns; - min_open_txn = other646.min_open_txn; - abortedBits = other646.abortedBits; - __isset = other646.__isset; +GetOpenTxnsResponse& GetOpenTxnsResponse::operator=(const GetOpenTxnsResponse& other655) { + txn_high_water_mark = other655.txn_high_water_mark; + open_txns = other655.open_txns; + min_open_txn = other655.min_open_txn; + abortedBits = other655.abortedBits; + __isset = other655.__isset; return *this; } void GetOpenTxnsResponse::printTo(std::ostream& out) const { @@ -16178,14 +16401,14 @@ uint32_t OpenTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->replSrcTxnIds.clear(); - uint32_t _size647; - ::apache::thrift::protocol::TType _etype650; - xfer += iprot->readListBegin(_etype650, _size647); - this->replSrcTxnIds.resize(_size647); - uint32_t _i651; - for (_i651 = 0; _i651 < _size647; ++_i651) + uint32_t _size656; + ::apache::thrift::protocol::TType _etype659; + xfer += iprot->readListBegin(_etype659, _size656); + this->replSrcTxnIds.resize(_size656); + uint32_t _i660; + for (_i660 = 0; _i660 < _size656; ++_i660) { - xfer += iprot->readI64(this->replSrcTxnIds[_i651]); + xfer += iprot->readI64(this->replSrcTxnIds[_i660]); } xfer += iprot->readListEnd(); } @@ -16243,10 +16466,10 @@ uint32_t OpenTxnRequest::write(::apache::thrift::protocol::TProtocol* oprot) con xfer += oprot->writeFieldBegin("replSrcTxnIds", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->replSrcTxnIds.size())); - std::vector ::const_iterator _iter652; - for (_iter652 = this->replSrcTxnIds.begin(); _iter652 != this->replSrcTxnIds.end(); ++_iter652) + std::vector ::const_iterator _iter661; + for (_iter661 = this->replSrcTxnIds.begin(); _iter661 != this->replSrcTxnIds.end(); ++_iter661) { - xfer += oprot->writeI64((*_iter652)); + xfer += oprot->writeI64((*_iter661)); } xfer += oprot->writeListEnd(); } @@ -16268,23 +16491,23 @@ void swap(OpenTxnRequest &a, OpenTxnRequest &b) { swap(a.__isset, b.__isset); } -OpenTxnRequest::OpenTxnRequest(const OpenTxnRequest& other653) { - num_txns = other653.num_txns; - user = other653.user; - hostname = other653.hostname; - agentInfo = other653.agentInfo; - replPolicy = other653.replPolicy; - replSrcTxnIds = other653.replSrcTxnIds; - __isset = other653.__isset; -} -OpenTxnRequest& OpenTxnRequest::operator=(const OpenTxnRequest& other654) { - num_txns = other654.num_txns; - user = other654.user; - hostname = other654.hostname; - agentInfo = other654.agentInfo; - replPolicy = other654.replPolicy; - replSrcTxnIds = other654.replSrcTxnIds; - __isset = other654.__isset; +OpenTxnRequest::OpenTxnRequest(const OpenTxnRequest& other662) { + num_txns = other662.num_txns; + user = other662.user; + hostname = other662.hostname; + agentInfo = other662.agentInfo; + replPolicy = other662.replPolicy; + replSrcTxnIds = other662.replSrcTxnIds; + __isset = other662.__isset; +} +OpenTxnRequest& OpenTxnRequest::operator=(const OpenTxnRequest& other663) { + num_txns = other663.num_txns; + user = other663.user; + hostname = other663.hostname; + agentInfo = other663.agentInfo; + replPolicy = other663.replPolicy; + replSrcTxnIds = other663.replSrcTxnIds; + __isset = other663.__isset; return *this; } void OpenTxnRequest::printTo(std::ostream& out) const { @@ -16334,14 +16557,14 @@ uint32_t OpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txn_ids.clear(); - uint32_t _size655; - ::apache::thrift::protocol::TType _etype658; - xfer += iprot->readListBegin(_etype658, _size655); - this->txn_ids.resize(_size655); - uint32_t _i659; - for (_i659 = 0; _i659 < _size655; ++_i659) + uint32_t _size664; + ::apache::thrift::protocol::TType _etype667; + xfer += iprot->readListBegin(_etype667, _size664); + this->txn_ids.resize(_size664); + uint32_t _i668; + for (_i668 = 0; _i668 < _size664; ++_i668) { - xfer += iprot->readI64(this->txn_ids[_i659]); + xfer += iprot->readI64(this->txn_ids[_i668]); } xfer += iprot->readListEnd(); } @@ -16372,10 +16595,10 @@ uint32_t OpenTxnsResponse::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("txn_ids", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->txn_ids.size())); - std::vector ::const_iterator _iter660; - for (_iter660 = this->txn_ids.begin(); _iter660 != this->txn_ids.end(); ++_iter660) + std::vector ::const_iterator _iter669; + for (_iter669 = this->txn_ids.begin(); _iter669 != this->txn_ids.end(); ++_iter669) { - xfer += oprot->writeI64((*_iter660)); + xfer += oprot->writeI64((*_iter669)); } xfer += oprot->writeListEnd(); } @@ -16391,11 +16614,11 @@ void swap(OpenTxnsResponse &a, OpenTxnsResponse &b) { swap(a.txn_ids, b.txn_ids); } -OpenTxnsResponse::OpenTxnsResponse(const OpenTxnsResponse& other661) { - txn_ids = other661.txn_ids; +OpenTxnsResponse::OpenTxnsResponse(const OpenTxnsResponse& other670) { + txn_ids = other670.txn_ids; } -OpenTxnsResponse& OpenTxnsResponse::operator=(const OpenTxnsResponse& other662) { - txn_ids = other662.txn_ids; +OpenTxnsResponse& OpenTxnsResponse::operator=(const OpenTxnsResponse& other671) { + txn_ids = other671.txn_ids; return *this; } void OpenTxnsResponse::printTo(std::ostream& out) const { @@ -16497,15 +16720,15 @@ void swap(AbortTxnRequest &a, AbortTxnRequest &b) { swap(a.__isset, b.__isset); } -AbortTxnRequest::AbortTxnRequest(const AbortTxnRequest& other663) { - txnid = other663.txnid; - replPolicy = other663.replPolicy; - __isset = other663.__isset; +AbortTxnRequest::AbortTxnRequest(const AbortTxnRequest& other672) { + txnid = other672.txnid; + replPolicy = other672.replPolicy; + __isset = other672.__isset; } -AbortTxnRequest& AbortTxnRequest::operator=(const AbortTxnRequest& other664) { - txnid = other664.txnid; - replPolicy = other664.replPolicy; - __isset = other664.__isset; +AbortTxnRequest& AbortTxnRequest::operator=(const AbortTxnRequest& other673) { + txnid = other673.txnid; + replPolicy = other673.replPolicy; + __isset = other673.__isset; return *this; } void AbortTxnRequest::printTo(std::ostream& out) const { @@ -16551,14 +16774,14 @@ uint32_t AbortTxnsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txn_ids.clear(); - uint32_t _size665; - ::apache::thrift::protocol::TType _etype668; - xfer += iprot->readListBegin(_etype668, _size665); - this->txn_ids.resize(_size665); - uint32_t _i669; - for (_i669 = 0; _i669 < _size665; ++_i669) + uint32_t _size674; + ::apache::thrift::protocol::TType _etype677; + xfer += iprot->readListBegin(_etype677, _size674); + this->txn_ids.resize(_size674); + uint32_t _i678; + for (_i678 = 0; _i678 < _size674; ++_i678) { - xfer += iprot->readI64(this->txn_ids[_i669]); + xfer += iprot->readI64(this->txn_ids[_i678]); } xfer += iprot->readListEnd(); } @@ -16589,10 +16812,10 @@ uint32_t AbortTxnsRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("txn_ids", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->txn_ids.size())); - std::vector ::const_iterator _iter670; - for (_iter670 = this->txn_ids.begin(); _iter670 != this->txn_ids.end(); ++_iter670) + std::vector ::const_iterator _iter679; + for (_iter679 = this->txn_ids.begin(); _iter679 != this->txn_ids.end(); ++_iter679) { - xfer += oprot->writeI64((*_iter670)); + xfer += oprot->writeI64((*_iter679)); } xfer += oprot->writeListEnd(); } @@ -16608,11 +16831,11 @@ void swap(AbortTxnsRequest &a, AbortTxnsRequest &b) { swap(a.txn_ids, b.txn_ids); } -AbortTxnsRequest::AbortTxnsRequest(const AbortTxnsRequest& other671) { - txn_ids = other671.txn_ids; +AbortTxnsRequest::AbortTxnsRequest(const AbortTxnsRequest& other680) { + txn_ids = other680.txn_ids; } -AbortTxnsRequest& AbortTxnsRequest::operator=(const AbortTxnsRequest& other672) { - txn_ids = other672.txn_ids; +AbortTxnsRequest& AbortTxnsRequest::operator=(const AbortTxnsRequest& other681) { + txn_ids = other681.txn_ids; return *this; } void AbortTxnsRequest::printTo(std::ostream& out) const { @@ -16623,159 +16846,6 @@ void AbortTxnsRequest::printTo(std::ostream& out) const { } -CommitTxnRequest::~CommitTxnRequest() throw() { -} - - -void CommitTxnRequest::__set_txnid(const int64_t val) { - this->txnid = val; -} - -void CommitTxnRequest::__set_replPolicy(const std::string& val) { - this->replPolicy = val; -__isset.replPolicy = true; -} - -void CommitTxnRequest::__set_writeEventInfos(const std::vector & val) { - this->writeEventInfos = val; -__isset.writeEventInfos = true; -} - -uint32_t CommitTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { - - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - bool isset_txnid = 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->txnid); - isset_txnid = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->replPolicy); - this->__isset.replPolicy = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - this->writeEventInfos.clear(); - uint32_t _size673; - ::apache::thrift::protocol::TType _etype676; - xfer += iprot->readListBegin(_etype676, _size673); - this->writeEventInfos.resize(_size673); - uint32_t _i677; - for (_i677 = 0; _i677 < _size673; ++_i677) - { - xfer += this->writeEventInfos[_i677].read(iprot); - } - xfer += iprot->readListEnd(); - } - this->__isset.writeEventInfos = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - if (!isset_txnid) - throw TProtocolException(TProtocolException::INVALID_DATA); - return xfer; -} - -uint32_t CommitTxnRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("CommitTxnRequest"); - - xfer += oprot->writeFieldBegin("txnid", ::apache::thrift::protocol::T_I64, 1); - xfer += oprot->writeI64(this->txnid); - xfer += oprot->writeFieldEnd(); - - if (this->__isset.replPolicy) { - xfer += oprot->writeFieldBegin("replPolicy", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString(this->replPolicy); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.writeEventInfos) { - xfer += oprot->writeFieldBegin("writeEventInfos", ::apache::thrift::protocol::T_LIST, 3); - { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->writeEventInfos.size())); - std::vector ::const_iterator _iter678; - for (_iter678 = this->writeEventInfos.begin(); _iter678 != this->writeEventInfos.end(); ++_iter678) - { - xfer += (*_iter678).write(oprot); - } - xfer += oprot->writeListEnd(); - } - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(CommitTxnRequest &a, CommitTxnRequest &b) { - using ::std::swap; - swap(a.txnid, b.txnid); - swap(a.replPolicy, b.replPolicy); - swap(a.writeEventInfos, b.writeEventInfos); - swap(a.__isset, b.__isset); -} - -CommitTxnRequest::CommitTxnRequest(const CommitTxnRequest& other679) { - txnid = other679.txnid; - replPolicy = other679.replPolicy; - writeEventInfos = other679.writeEventInfos; - __isset = other679.__isset; -} -CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other680) { - txnid = other680.txnid; - replPolicy = other680.replPolicy; - writeEventInfos = other680.writeEventInfos; - __isset = other680.__isset; - return *this; -} -void CommitTxnRequest::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "CommitTxnRequest("; - out << "txnid=" << to_string(txnid); - out << ", " << "replPolicy="; (__isset.replPolicy ? (out << to_string(replPolicy)) : (out << "")); - out << ", " << "writeEventInfos="; (__isset.writeEventInfos ? (out << to_string(writeEventInfos)) : (out << "")); - out << ")"; -} - - WriteEventInfo::~WriteEventInfo() throw() { } @@ -16965,17 +17035,7 @@ void swap(WriteEventInfo &a, WriteEventInfo &b) { swap(a.__isset, b.__isset); } -WriteEventInfo::WriteEventInfo(const WriteEventInfo& other681) { - writeId = other681.writeId; - database = other681.database; - table = other681.table; - files = other681.files; - partition = other681.partition; - tableObj = other681.tableObj; - partitionObj = other681.partitionObj; - __isset = other681.__isset; -} -WriteEventInfo& WriteEventInfo::operator=(const WriteEventInfo& other682) { +WriteEventInfo::WriteEventInfo(const WriteEventInfo& other682) { writeId = other682.writeId; database = other682.database; table = other682.table; @@ -16984,6 +17044,16 @@ WriteEventInfo& WriteEventInfo::operator=(const WriteEventInfo& other682) { tableObj = other682.tableObj; partitionObj = other682.partitionObj; __isset = other682.__isset; +} +WriteEventInfo& WriteEventInfo::operator=(const WriteEventInfo& other683) { + writeId = other683.writeId; + database = other683.database; + table = other683.table; + files = other683.files; + partition = other683.partition; + tableObj = other683.tableObj; + partitionObj = other683.partitionObj; + __isset = other683.__isset; return *this; } void WriteEventInfo::printTo(std::ostream& out) const { @@ -17000,25 +17070,178 @@ void WriteEventInfo::printTo(std::ostream& out) const { } -ReplTblWriteIdStateRequest::~ReplTblWriteIdStateRequest() throw() { +CommitTxnRequest::~CommitTxnRequest() throw() { } -void ReplTblWriteIdStateRequest::__set_validWriteIdlist(const std::string& val) { - this->validWriteIdlist = val; +void CommitTxnRequest::__set_txnid(const int64_t val) { + this->txnid = val; } -void ReplTblWriteIdStateRequest::__set_user(const std::string& val) { - this->user = val; +void CommitTxnRequest::__set_replPolicy(const std::string& val) { + this->replPolicy = val; +__isset.replPolicy = true; } -void ReplTblWriteIdStateRequest::__set_hostName(const std::string& val) { - this->hostName = val; +void CommitTxnRequest::__set_writeEventInfos(const std::vector & val) { + this->writeEventInfos = val; +__isset.writeEventInfos = true; } -void ReplTblWriteIdStateRequest::__set_dbName(const std::string& val) { - this->dbName = val; -} +uint32_t CommitTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + bool isset_txnid = 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->txnid); + isset_txnid = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->replPolicy); + this->__isset.replPolicy = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->writeEventInfos.clear(); + uint32_t _size684; + ::apache::thrift::protocol::TType _etype687; + xfer += iprot->readListBegin(_etype687, _size684); + this->writeEventInfos.resize(_size684); + uint32_t _i688; + for (_i688 = 0; _i688 < _size684; ++_i688) + { + xfer += this->writeEventInfos[_i688].read(iprot); + } + xfer += iprot->readListEnd(); + } + this->__isset.writeEventInfos = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + if (!isset_txnid) + throw TProtocolException(TProtocolException::INVALID_DATA); + return xfer; +} + +uint32_t CommitTxnRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("CommitTxnRequest"); + + xfer += oprot->writeFieldBegin("txnid", ::apache::thrift::protocol::T_I64, 1); + xfer += oprot->writeI64(this->txnid); + xfer += oprot->writeFieldEnd(); + + if (this->__isset.replPolicy) { + xfer += oprot->writeFieldBegin("replPolicy", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->replPolicy); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.writeEventInfos) { + xfer += oprot->writeFieldBegin("writeEventInfos", ::apache::thrift::protocol::T_LIST, 3); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->writeEventInfos.size())); + std::vector ::const_iterator _iter689; + for (_iter689 = this->writeEventInfos.begin(); _iter689 != this->writeEventInfos.end(); ++_iter689) + { + xfer += (*_iter689).write(oprot); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(CommitTxnRequest &a, CommitTxnRequest &b) { + using ::std::swap; + swap(a.txnid, b.txnid); + swap(a.replPolicy, b.replPolicy); + swap(a.writeEventInfos, b.writeEventInfos); + swap(a.__isset, b.__isset); +} + +CommitTxnRequest::CommitTxnRequest(const CommitTxnRequest& other690) { + txnid = other690.txnid; + replPolicy = other690.replPolicy; + writeEventInfos = other690.writeEventInfos; + __isset = other690.__isset; +} +CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other691) { + txnid = other691.txnid; + replPolicy = other691.replPolicy; + writeEventInfos = other691.writeEventInfos; + __isset = other691.__isset; + return *this; +} +void CommitTxnRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "CommitTxnRequest("; + out << "txnid=" << to_string(txnid); + out << ", " << "replPolicy="; (__isset.replPolicy ? (out << to_string(replPolicy)) : (out << "")); + out << ", " << "writeEventInfos="; (__isset.writeEventInfos ? (out << to_string(writeEventInfos)) : (out << "")); + out << ")"; +} + + +ReplTblWriteIdStateRequest::~ReplTblWriteIdStateRequest() throw() { +} + + +void ReplTblWriteIdStateRequest::__set_validWriteIdlist(const std::string& val) { + this->validWriteIdlist = val; +} + +void ReplTblWriteIdStateRequest::__set_user(const std::string& val) { + this->user = val; +} + +void ReplTblWriteIdStateRequest::__set_hostName(const std::string& val) { + this->hostName = val; +} + +void ReplTblWriteIdStateRequest::__set_dbName(const std::string& val) { + this->dbName = val; +} void ReplTblWriteIdStateRequest::__set_tableName(const std::string& val) { this->tableName = val; @@ -17099,14 +17322,14 @@ uint32_t ReplTblWriteIdStateRequest::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partNames.clear(); - uint32_t _size683; - ::apache::thrift::protocol::TType _etype686; - xfer += iprot->readListBegin(_etype686, _size683); - this->partNames.resize(_size683); - uint32_t _i687; - for (_i687 = 0; _i687 < _size683; ++_i687) + uint32_t _size692; + ::apache::thrift::protocol::TType _etype695; + xfer += iprot->readListBegin(_etype695, _size692); + this->partNames.resize(_size692); + uint32_t _i696; + for (_i696 = 0; _i696 < _size692; ++_i696) { - xfer += iprot->readString(this->partNames[_i687]); + xfer += iprot->readString(this->partNames[_i696]); } xfer += iprot->readListEnd(); } @@ -17166,10 +17389,10 @@ uint32_t ReplTblWriteIdStateRequest::write(::apache::thrift::protocol::TProtocol xfer += oprot->writeFieldBegin("partNames", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partNames.size())); - std::vector ::const_iterator _iter688; - for (_iter688 = this->partNames.begin(); _iter688 != this->partNames.end(); ++_iter688) + std::vector ::const_iterator _iter697; + for (_iter697 = this->partNames.begin(); _iter697 != this->partNames.end(); ++_iter697) { - xfer += oprot->writeString((*_iter688)); + xfer += oprot->writeString((*_iter697)); } xfer += oprot->writeListEnd(); } @@ -17191,23 +17414,23 @@ void swap(ReplTblWriteIdStateRequest &a, ReplTblWriteIdStateRequest &b) { swap(a.__isset, b.__isset); } -ReplTblWriteIdStateRequest::ReplTblWriteIdStateRequest(const ReplTblWriteIdStateRequest& other689) { - validWriteIdlist = other689.validWriteIdlist; - user = other689.user; - hostName = other689.hostName; - dbName = other689.dbName; - tableName = other689.tableName; - partNames = other689.partNames; - __isset = other689.__isset; -} -ReplTblWriteIdStateRequest& ReplTblWriteIdStateRequest::operator=(const ReplTblWriteIdStateRequest& other690) { - validWriteIdlist = other690.validWriteIdlist; - user = other690.user; - hostName = other690.hostName; - dbName = other690.dbName; - tableName = other690.tableName; - partNames = other690.partNames; - __isset = other690.__isset; +ReplTblWriteIdStateRequest::ReplTblWriteIdStateRequest(const ReplTblWriteIdStateRequest& other698) { + validWriteIdlist = other698.validWriteIdlist; + user = other698.user; + hostName = other698.hostName; + dbName = other698.dbName; + tableName = other698.tableName; + partNames = other698.partNames; + __isset = other698.__isset; +} +ReplTblWriteIdStateRequest& ReplTblWriteIdStateRequest::operator=(const ReplTblWriteIdStateRequest& other699) { + validWriteIdlist = other699.validWriteIdlist; + user = other699.user; + hostName = other699.hostName; + dbName = other699.dbName; + tableName = other699.tableName; + partNames = other699.partNames; + __isset = other699.__isset; return *this; } void ReplTblWriteIdStateRequest::printTo(std::ostream& out) const { @@ -17262,14 +17485,14 @@ uint32_t GetValidWriteIdsRequest::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fullTableNames.clear(); - uint32_t _size691; - ::apache::thrift::protocol::TType _etype694; - xfer += iprot->readListBegin(_etype694, _size691); - this->fullTableNames.resize(_size691); - uint32_t _i695; - for (_i695 = 0; _i695 < _size691; ++_i695) + uint32_t _size700; + ::apache::thrift::protocol::TType _etype703; + xfer += iprot->readListBegin(_etype703, _size700); + this->fullTableNames.resize(_size700); + uint32_t _i704; + for (_i704 = 0; _i704 < _size700; ++_i704) { - xfer += iprot->readString(this->fullTableNames[_i695]); + xfer += iprot->readString(this->fullTableNames[_i704]); } xfer += iprot->readListEnd(); } @@ -17310,10 +17533,10 @@ uint32_t GetValidWriteIdsRequest::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldBegin("fullTableNames", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->fullTableNames.size())); - std::vector ::const_iterator _iter696; - for (_iter696 = this->fullTableNames.begin(); _iter696 != this->fullTableNames.end(); ++_iter696) + std::vector ::const_iterator _iter705; + for (_iter705 = this->fullTableNames.begin(); _iter705 != this->fullTableNames.end(); ++_iter705) { - xfer += oprot->writeString((*_iter696)); + xfer += oprot->writeString((*_iter705)); } xfer += oprot->writeListEnd(); } @@ -17334,13 +17557,13 @@ void swap(GetValidWriteIdsRequest &a, GetValidWriteIdsRequest &b) { swap(a.validTxnList, b.validTxnList); } -GetValidWriteIdsRequest::GetValidWriteIdsRequest(const GetValidWriteIdsRequest& other697) { - fullTableNames = other697.fullTableNames; - validTxnList = other697.validTxnList; +GetValidWriteIdsRequest::GetValidWriteIdsRequest(const GetValidWriteIdsRequest& other706) { + fullTableNames = other706.fullTableNames; + validTxnList = other706.validTxnList; } -GetValidWriteIdsRequest& GetValidWriteIdsRequest::operator=(const GetValidWriteIdsRequest& other698) { - fullTableNames = other698.fullTableNames; - validTxnList = other698.validTxnList; +GetValidWriteIdsRequest& GetValidWriteIdsRequest::operator=(const GetValidWriteIdsRequest& other707) { + fullTableNames = other707.fullTableNames; + validTxnList = other707.validTxnList; return *this; } void GetValidWriteIdsRequest::printTo(std::ostream& out) const { @@ -17422,14 +17645,14 @@ uint32_t TableValidWriteIds::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->invalidWriteIds.clear(); - uint32_t _size699; - ::apache::thrift::protocol::TType _etype702; - xfer += iprot->readListBegin(_etype702, _size699); - this->invalidWriteIds.resize(_size699); - uint32_t _i703; - for (_i703 = 0; _i703 < _size699; ++_i703) + uint32_t _size708; + ::apache::thrift::protocol::TType _etype711; + xfer += iprot->readListBegin(_etype711, _size708); + this->invalidWriteIds.resize(_size708); + uint32_t _i712; + for (_i712 = 0; _i712 < _size708; ++_i712) { - xfer += iprot->readI64(this->invalidWriteIds[_i703]); + xfer += iprot->readI64(this->invalidWriteIds[_i712]); } xfer += iprot->readListEnd(); } @@ -17490,10 +17713,10 @@ uint32_t TableValidWriteIds::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("invalidWriteIds", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->invalidWriteIds.size())); - std::vector ::const_iterator _iter704; - for (_iter704 = this->invalidWriteIds.begin(); _iter704 != this->invalidWriteIds.end(); ++_iter704) + std::vector ::const_iterator _iter713; + for (_iter713 = this->invalidWriteIds.begin(); _iter713 != this->invalidWriteIds.end(); ++_iter713) { - xfer += oprot->writeI64((*_iter704)); + xfer += oprot->writeI64((*_iter713)); } xfer += oprot->writeListEnd(); } @@ -17523,21 +17746,21 @@ void swap(TableValidWriteIds &a, TableValidWriteIds &b) { swap(a.__isset, b.__isset); } -TableValidWriteIds::TableValidWriteIds(const TableValidWriteIds& other705) { - fullTableName = other705.fullTableName; - writeIdHighWaterMark = other705.writeIdHighWaterMark; - invalidWriteIds = other705.invalidWriteIds; - minOpenWriteId = other705.minOpenWriteId; - abortedBits = other705.abortedBits; - __isset = other705.__isset; -} -TableValidWriteIds& TableValidWriteIds::operator=(const TableValidWriteIds& other706) { - fullTableName = other706.fullTableName; - writeIdHighWaterMark = other706.writeIdHighWaterMark; - invalidWriteIds = other706.invalidWriteIds; - minOpenWriteId = other706.minOpenWriteId; - abortedBits = other706.abortedBits; - __isset = other706.__isset; +TableValidWriteIds::TableValidWriteIds(const TableValidWriteIds& other714) { + fullTableName = other714.fullTableName; + writeIdHighWaterMark = other714.writeIdHighWaterMark; + invalidWriteIds = other714.invalidWriteIds; + minOpenWriteId = other714.minOpenWriteId; + abortedBits = other714.abortedBits; + __isset = other714.__isset; +} +TableValidWriteIds& TableValidWriteIds::operator=(const TableValidWriteIds& other715) { + fullTableName = other715.fullTableName; + writeIdHighWaterMark = other715.writeIdHighWaterMark; + invalidWriteIds = other715.invalidWriteIds; + minOpenWriteId = other715.minOpenWriteId; + abortedBits = other715.abortedBits; + __isset = other715.__isset; return *this; } void TableValidWriteIds::printTo(std::ostream& out) const { @@ -17586,14 +17809,14 @@ uint32_t GetValidWriteIdsResponse::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tblValidWriteIds.clear(); - uint32_t _size707; - ::apache::thrift::protocol::TType _etype710; - xfer += iprot->readListBegin(_etype710, _size707); - this->tblValidWriteIds.resize(_size707); - uint32_t _i711; - for (_i711 = 0; _i711 < _size707; ++_i711) + uint32_t _size716; + ::apache::thrift::protocol::TType _etype719; + xfer += iprot->readListBegin(_etype719, _size716); + this->tblValidWriteIds.resize(_size716); + uint32_t _i720; + for (_i720 = 0; _i720 < _size716; ++_i720) { - xfer += this->tblValidWriteIds[_i711].read(iprot); + xfer += this->tblValidWriteIds[_i720].read(iprot); } xfer += iprot->readListEnd(); } @@ -17624,10 +17847,10 @@ uint32_t GetValidWriteIdsResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("tblValidWriteIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->tblValidWriteIds.size())); - std::vector ::const_iterator _iter712; - for (_iter712 = this->tblValidWriteIds.begin(); _iter712 != this->tblValidWriteIds.end(); ++_iter712) + std::vector ::const_iterator _iter721; + for (_iter721 = this->tblValidWriteIds.begin(); _iter721 != this->tblValidWriteIds.end(); ++_iter721) { - xfer += (*_iter712).write(oprot); + xfer += (*_iter721).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17643,11 +17866,11 @@ void swap(GetValidWriteIdsResponse &a, GetValidWriteIdsResponse &b) { swap(a.tblValidWriteIds, b.tblValidWriteIds); } -GetValidWriteIdsResponse::GetValidWriteIdsResponse(const GetValidWriteIdsResponse& other713) { - tblValidWriteIds = other713.tblValidWriteIds; +GetValidWriteIdsResponse::GetValidWriteIdsResponse(const GetValidWriteIdsResponse& other722) { + tblValidWriteIds = other722.tblValidWriteIds; } -GetValidWriteIdsResponse& GetValidWriteIdsResponse::operator=(const GetValidWriteIdsResponse& other714) { - tblValidWriteIds = other714.tblValidWriteIds; +GetValidWriteIdsResponse& GetValidWriteIdsResponse::operator=(const GetValidWriteIdsResponse& other723) { + tblValidWriteIds = other723.tblValidWriteIds; return *this; } void GetValidWriteIdsResponse::printTo(std::ostream& out) const { @@ -17658,6 +17881,115 @@ void GetValidWriteIdsResponse::printTo(std::ostream& out) const { } +TxnToWriteId::~TxnToWriteId() throw() { +} + + +void TxnToWriteId::__set_txnId(const int64_t val) { + this->txnId = val; +} + +void TxnToWriteId::__set_writeId(const int64_t val) { + this->writeId = val; +} + +uint32_t TxnToWriteId::read(::apache::thrift::protocol::TProtocol* iprot) { + + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + bool isset_txnId = false; + bool isset_writeId = 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->txnId); + isset_txnId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->writeId); + isset_writeId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + if (!isset_txnId) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_writeId) + throw TProtocolException(TProtocolException::INVALID_DATA); + return xfer; +} + +uint32_t TxnToWriteId::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("TxnToWriteId"); + + xfer += oprot->writeFieldBegin("txnId", ::apache::thrift::protocol::T_I64, 1); + xfer += oprot->writeI64(this->txnId); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("writeId", ::apache::thrift::protocol::T_I64, 2); + xfer += oprot->writeI64(this->writeId); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(TxnToWriteId &a, TxnToWriteId &b) { + using ::std::swap; + swap(a.txnId, b.txnId); + swap(a.writeId, b.writeId); +} + +TxnToWriteId::TxnToWriteId(const TxnToWriteId& other724) { + txnId = other724.txnId; + writeId = other724.writeId; +} +TxnToWriteId& TxnToWriteId::operator=(const TxnToWriteId& other725) { + txnId = other725.txnId; + writeId = other725.writeId; + return *this; +} +void TxnToWriteId::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "TxnToWriteId("; + out << "txnId=" << to_string(txnId); + out << ", " << "writeId=" << to_string(writeId); + out << ")"; +} + + AllocateTableWriteIdsRequest::~AllocateTableWriteIdsRequest() throw() { } @@ -17728,14 +18060,14 @@ uint32_t AllocateTableWriteIdsRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txnIds.clear(); - uint32_t _size715; - ::apache::thrift::protocol::TType _etype718; - xfer += iprot->readListBegin(_etype718, _size715); - this->txnIds.resize(_size715); - uint32_t _i719; - for (_i719 = 0; _i719 < _size715; ++_i719) + uint32_t _size726; + ::apache::thrift::protocol::TType _etype729; + xfer += iprot->readListBegin(_etype729, _size726); + this->txnIds.resize(_size726); + uint32_t _i730; + for (_i730 = 0; _i730 < _size726; ++_i730) { - xfer += iprot->readI64(this->txnIds[_i719]); + xfer += iprot->readI64(this->txnIds[_i730]); } xfer += iprot->readListEnd(); } @@ -17756,14 +18088,14 @@ uint32_t AllocateTableWriteIdsRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->srcTxnToWriteIdList.clear(); - uint32_t _size720; - ::apache::thrift::protocol::TType _etype723; - xfer += iprot->readListBegin(_etype723, _size720); - this->srcTxnToWriteIdList.resize(_size720); - uint32_t _i724; - for (_i724 = 0; _i724 < _size720; ++_i724) + uint32_t _size731; + ::apache::thrift::protocol::TType _etype734; + xfer += iprot->readListBegin(_etype734, _size731); + this->srcTxnToWriteIdList.resize(_size731); + uint32_t _i735; + for (_i735 = 0; _i735 < _size731; ++_i735) { - xfer += this->srcTxnToWriteIdList[_i724].read(iprot); + xfer += this->srcTxnToWriteIdList[_i735].read(iprot); } xfer += iprot->readListEnd(); } @@ -17805,10 +18137,10 @@ uint32_t AllocateTableWriteIdsRequest::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldBegin("txnIds", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->txnIds.size())); - std::vector ::const_iterator _iter725; - for (_iter725 = this->txnIds.begin(); _iter725 != this->txnIds.end(); ++_iter725) + std::vector ::const_iterator _iter736; + for (_iter736 = this->txnIds.begin(); _iter736 != this->txnIds.end(); ++_iter736) { - xfer += oprot->writeI64((*_iter725)); + xfer += oprot->writeI64((*_iter736)); } xfer += oprot->writeListEnd(); } @@ -17823,10 +18155,10 @@ uint32_t AllocateTableWriteIdsRequest::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldBegin("srcTxnToWriteIdList", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->srcTxnToWriteIdList.size())); - std::vector ::const_iterator _iter726; - for (_iter726 = this->srcTxnToWriteIdList.begin(); _iter726 != this->srcTxnToWriteIdList.end(); ++_iter726) + std::vector ::const_iterator _iter737; + for (_iter737 = this->srcTxnToWriteIdList.begin(); _iter737 != this->srcTxnToWriteIdList.end(); ++_iter737) { - xfer += (*_iter726).write(oprot); + xfer += (*_iter737).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17840,147 +18172,38 @@ uint32_t AllocateTableWriteIdsRequest::write(::apache::thrift::protocol::TProtoc void swap(AllocateTableWriteIdsRequest &a, AllocateTableWriteIdsRequest &b) { using ::std::swap; swap(a.dbName, b.dbName); - swap(a.tableName, b.tableName); - swap(a.txnIds, b.txnIds); - swap(a.replPolicy, b.replPolicy); - swap(a.srcTxnToWriteIdList, b.srcTxnToWriteIdList); - swap(a.__isset, b.__isset); -} - -AllocateTableWriteIdsRequest::AllocateTableWriteIdsRequest(const AllocateTableWriteIdsRequest& other727) { - dbName = other727.dbName; - tableName = other727.tableName; - txnIds = other727.txnIds; - replPolicy = other727.replPolicy; - srcTxnToWriteIdList = other727.srcTxnToWriteIdList; - __isset = other727.__isset; -} -AllocateTableWriteIdsRequest& AllocateTableWriteIdsRequest::operator=(const AllocateTableWriteIdsRequest& other728) { - dbName = other728.dbName; - tableName = other728.tableName; - txnIds = other728.txnIds; - replPolicy = other728.replPolicy; - srcTxnToWriteIdList = other728.srcTxnToWriteIdList; - __isset = other728.__isset; - return *this; -} -void AllocateTableWriteIdsRequest::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "AllocateTableWriteIdsRequest("; - out << "dbName=" << to_string(dbName); - out << ", " << "tableName=" << to_string(tableName); - out << ", " << "txnIds="; (__isset.txnIds ? (out << to_string(txnIds)) : (out << "")); - out << ", " << "replPolicy="; (__isset.replPolicy ? (out << to_string(replPolicy)) : (out << "")); - out << ", " << "srcTxnToWriteIdList="; (__isset.srcTxnToWriteIdList ? (out << to_string(srcTxnToWriteIdList)) : (out << "")); - out << ")"; -} - - -TxnToWriteId::~TxnToWriteId() throw() { -} - - -void TxnToWriteId::__set_txnId(const int64_t val) { - this->txnId = val; -} - -void TxnToWriteId::__set_writeId(const int64_t val) { - this->writeId = val; -} - -uint32_t TxnToWriteId::read(::apache::thrift::protocol::TProtocol* iprot) { - - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - bool isset_txnId = false; - bool isset_writeId = 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->txnId); - isset_txnId = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_I64) { - xfer += iprot->readI64(this->writeId); - isset_writeId = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - if (!isset_txnId) - throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_writeId) - throw TProtocolException(TProtocolException::INVALID_DATA); - return xfer; -} - -uint32_t TxnToWriteId::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("TxnToWriteId"); - - xfer += oprot->writeFieldBegin("txnId", ::apache::thrift::protocol::T_I64, 1); - xfer += oprot->writeI64(this->txnId); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("writeId", ::apache::thrift::protocol::T_I64, 2); - xfer += oprot->writeI64(this->writeId); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(TxnToWriteId &a, TxnToWriteId &b) { - using ::std::swap; - swap(a.txnId, b.txnId); - swap(a.writeId, b.writeId); + swap(a.tableName, b.tableName); + swap(a.txnIds, b.txnIds); + swap(a.replPolicy, b.replPolicy); + swap(a.srcTxnToWriteIdList, b.srcTxnToWriteIdList); + swap(a.__isset, b.__isset); } -TxnToWriteId::TxnToWriteId(const TxnToWriteId& other729) { - txnId = other729.txnId; - writeId = other729.writeId; -} -TxnToWriteId& TxnToWriteId::operator=(const TxnToWriteId& other730) { - txnId = other730.txnId; - writeId = other730.writeId; +AllocateTableWriteIdsRequest::AllocateTableWriteIdsRequest(const AllocateTableWriteIdsRequest& other738) { + dbName = other738.dbName; + tableName = other738.tableName; + txnIds = other738.txnIds; + replPolicy = other738.replPolicy; + srcTxnToWriteIdList = other738.srcTxnToWriteIdList; + __isset = other738.__isset; +} +AllocateTableWriteIdsRequest& AllocateTableWriteIdsRequest::operator=(const AllocateTableWriteIdsRequest& other739) { + dbName = other739.dbName; + tableName = other739.tableName; + txnIds = other739.txnIds; + replPolicy = other739.replPolicy; + srcTxnToWriteIdList = other739.srcTxnToWriteIdList; + __isset = other739.__isset; return *this; } -void TxnToWriteId::printTo(std::ostream& out) const { +void AllocateTableWriteIdsRequest::printTo(std::ostream& out) const { using ::apache::thrift::to_string; - out << "TxnToWriteId("; - out << "txnId=" << to_string(txnId); - out << ", " << "writeId=" << to_string(writeId); + out << "AllocateTableWriteIdsRequest("; + out << "dbName=" << to_string(dbName); + out << ", " << "tableName=" << to_string(tableName); + out << ", " << "txnIds="; (__isset.txnIds ? (out << to_string(txnIds)) : (out << "")); + out << ", " << "replPolicy="; (__isset.replPolicy ? (out << to_string(replPolicy)) : (out << "")); + out << ", " << "srcTxnToWriteIdList="; (__isset.srcTxnToWriteIdList ? (out << to_string(srcTxnToWriteIdList)) : (out << "")); out << ")"; } @@ -18019,14 +18242,14 @@ uint32_t AllocateTableWriteIdsResponse::read(::apache::thrift::protocol::TProtoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txnToWriteIds.clear(); - uint32_t _size731; - ::apache::thrift::protocol::TType _etype734; - xfer += iprot->readListBegin(_etype734, _size731); - this->txnToWriteIds.resize(_size731); - uint32_t _i735; - for (_i735 = 0; _i735 < _size731; ++_i735) + uint32_t _size740; + ::apache::thrift::protocol::TType _etype743; + xfer += iprot->readListBegin(_etype743, _size740); + this->txnToWriteIds.resize(_size740); + uint32_t _i744; + for (_i744 = 0; _i744 < _size740; ++_i744) { - xfer += this->txnToWriteIds[_i735].read(iprot); + xfer += this->txnToWriteIds[_i744].read(iprot); } xfer += iprot->readListEnd(); } @@ -18057,10 +18280,10 @@ uint32_t AllocateTableWriteIdsResponse::write(::apache::thrift::protocol::TProto xfer += oprot->writeFieldBegin("txnToWriteIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->txnToWriteIds.size())); - std::vector ::const_iterator _iter736; - for (_iter736 = this->txnToWriteIds.begin(); _iter736 != this->txnToWriteIds.end(); ++_iter736) + std::vector ::const_iterator _iter745; + for (_iter745 = this->txnToWriteIds.begin(); _iter745 != this->txnToWriteIds.end(); ++_iter745) { - xfer += (*_iter736).write(oprot); + xfer += (*_iter745).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18076,11 +18299,11 @@ void swap(AllocateTableWriteIdsResponse &a, AllocateTableWriteIdsResponse &b) { swap(a.txnToWriteIds, b.txnToWriteIds); } -AllocateTableWriteIdsResponse::AllocateTableWriteIdsResponse(const AllocateTableWriteIdsResponse& other737) { - txnToWriteIds = other737.txnToWriteIds; +AllocateTableWriteIdsResponse::AllocateTableWriteIdsResponse(const AllocateTableWriteIdsResponse& other746) { + txnToWriteIds = other746.txnToWriteIds; } -AllocateTableWriteIdsResponse& AllocateTableWriteIdsResponse::operator=(const AllocateTableWriteIdsResponse& other738) { - txnToWriteIds = other738.txnToWriteIds; +AllocateTableWriteIdsResponse& AllocateTableWriteIdsResponse::operator=(const AllocateTableWriteIdsResponse& other747) { + txnToWriteIds = other747.txnToWriteIds; return *this; } void AllocateTableWriteIdsResponse::printTo(std::ostream& out) const { @@ -18158,9 +18381,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast739; - xfer += iprot->readI32(ecast739); - this->type = (LockType::type)ecast739; + int32_t ecast748; + xfer += iprot->readI32(ecast748); + this->type = (LockType::type)ecast748; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -18168,9 +18391,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast740; - xfer += iprot->readI32(ecast740); - this->level = (LockLevel::type)ecast740; + int32_t ecast749; + xfer += iprot->readI32(ecast749); + this->level = (LockLevel::type)ecast749; isset_level = true; } else { xfer += iprot->skip(ftype); @@ -18202,9 +18425,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast741; - xfer += iprot->readI32(ecast741); - this->operationType = (DataOperationType::type)ecast741; + int32_t ecast750; + xfer += iprot->readI32(ecast750); + this->operationType = (DataOperationType::type)ecast750; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -18304,27 +18527,27 @@ void swap(LockComponent &a, LockComponent &b) { swap(a.__isset, b.__isset); } -LockComponent::LockComponent(const LockComponent& other742) { - type = other742.type; - level = other742.level; - dbname = other742.dbname; - tablename = other742.tablename; - partitionname = other742.partitionname; - operationType = other742.operationType; - isTransactional = other742.isTransactional; - isDynamicPartitionWrite = other742.isDynamicPartitionWrite; - __isset = other742.__isset; -} -LockComponent& LockComponent::operator=(const LockComponent& other743) { - type = other743.type; - level = other743.level; - dbname = other743.dbname; - tablename = other743.tablename; - partitionname = other743.partitionname; - operationType = other743.operationType; - isTransactional = other743.isTransactional; - isDynamicPartitionWrite = other743.isDynamicPartitionWrite; - __isset = other743.__isset; +LockComponent::LockComponent(const LockComponent& other751) { + type = other751.type; + level = other751.level; + dbname = other751.dbname; + tablename = other751.tablename; + partitionname = other751.partitionname; + operationType = other751.operationType; + isTransactional = other751.isTransactional; + isDynamicPartitionWrite = other751.isDynamicPartitionWrite; + __isset = other751.__isset; +} +LockComponent& LockComponent::operator=(const LockComponent& other752) { + type = other752.type; + level = other752.level; + dbname = other752.dbname; + tablename = other752.tablename; + partitionname = other752.partitionname; + operationType = other752.operationType; + isTransactional = other752.isTransactional; + isDynamicPartitionWrite = other752.isDynamicPartitionWrite; + __isset = other752.__isset; return *this; } void LockComponent::printTo(std::ostream& out) const { @@ -18396,14 +18619,14 @@ uint32_t LockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->component.clear(); - uint32_t _size744; - ::apache::thrift::protocol::TType _etype747; - xfer += iprot->readListBegin(_etype747, _size744); - this->component.resize(_size744); - uint32_t _i748; - for (_i748 = 0; _i748 < _size744; ++_i748) + uint32_t _size753; + ::apache::thrift::protocol::TType _etype756; + xfer += iprot->readListBegin(_etype756, _size753); + this->component.resize(_size753); + uint32_t _i757; + for (_i757 = 0; _i757 < _size753; ++_i757) { - xfer += this->component[_i748].read(iprot); + xfer += this->component[_i757].read(iprot); } xfer += iprot->readListEnd(); } @@ -18470,10 +18693,10 @@ uint32_t LockRequest::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldBegin("component", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->component.size())); - std::vector ::const_iterator _iter749; - for (_iter749 = this->component.begin(); _iter749 != this->component.end(); ++_iter749) + std::vector ::const_iterator _iter758; + for (_iter758 = this->component.begin(); _iter758 != this->component.end(); ++_iter758) { - xfer += (*_iter749).write(oprot); + xfer += (*_iter758).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18512,21 +18735,21 @@ void swap(LockRequest &a, LockRequest &b) { swap(a.__isset, b.__isset); } -LockRequest::LockRequest(const LockRequest& other750) { - component = other750.component; - txnid = other750.txnid; - user = other750.user; - hostname = other750.hostname; - agentInfo = other750.agentInfo; - __isset = other750.__isset; -} -LockRequest& LockRequest::operator=(const LockRequest& other751) { - component = other751.component; - txnid = other751.txnid; - user = other751.user; - hostname = other751.hostname; - agentInfo = other751.agentInfo; - __isset = other751.__isset; +LockRequest::LockRequest(const LockRequest& other759) { + component = other759.component; + txnid = other759.txnid; + user = other759.user; + hostname = other759.hostname; + agentInfo = other759.agentInfo; + __isset = other759.__isset; +} +LockRequest& LockRequest::operator=(const LockRequest& other760) { + component = other760.component; + txnid = other760.txnid; + user = other760.user; + hostname = other760.hostname; + agentInfo = other760.agentInfo; + __isset = other760.__isset; return *this; } void LockRequest::printTo(std::ostream& out) const { @@ -18586,9 +18809,9 @@ uint32_t LockResponse::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast752; - xfer += iprot->readI32(ecast752); - this->state = (LockState::type)ecast752; + int32_t ecast761; + xfer += iprot->readI32(ecast761); + this->state = (LockState::type)ecast761; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -18634,13 +18857,13 @@ void swap(LockResponse &a, LockResponse &b) { swap(a.state, b.state); } -LockResponse::LockResponse(const LockResponse& other753) { - lockid = other753.lockid; - state = other753.state; +LockResponse::LockResponse(const LockResponse& other762) { + lockid = other762.lockid; + state = other762.state; } -LockResponse& LockResponse::operator=(const LockResponse& other754) { - lockid = other754.lockid; - state = other754.state; +LockResponse& LockResponse::operator=(const LockResponse& other763) { + lockid = other763.lockid; + state = other763.state; return *this; } void LockResponse::printTo(std::ostream& out) const { @@ -18762,17 +18985,17 @@ void swap(CheckLockRequest &a, CheckLockRequest &b) { swap(a.__isset, b.__isset); } -CheckLockRequest::CheckLockRequest(const CheckLockRequest& other755) { - lockid = other755.lockid; - txnid = other755.txnid; - elapsed_ms = other755.elapsed_ms; - __isset = other755.__isset; +CheckLockRequest::CheckLockRequest(const CheckLockRequest& other764) { + lockid = other764.lockid; + txnid = other764.txnid; + elapsed_ms = other764.elapsed_ms; + __isset = other764.__isset; } -CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other756) { - lockid = other756.lockid; - txnid = other756.txnid; - elapsed_ms = other756.elapsed_ms; - __isset = other756.__isset; +CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other765) { + lockid = other765.lockid; + txnid = other765.txnid; + elapsed_ms = other765.elapsed_ms; + __isset = other765.__isset; return *this; } void CheckLockRequest::printTo(std::ostream& out) const { @@ -18856,11 +19079,11 @@ void swap(UnlockRequest &a, UnlockRequest &b) { swap(a.lockid, b.lockid); } -UnlockRequest::UnlockRequest(const UnlockRequest& other757) { - lockid = other757.lockid; +UnlockRequest::UnlockRequest(const UnlockRequest& other766) { + lockid = other766.lockid; } -UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other758) { - lockid = other758.lockid; +UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other767) { + lockid = other767.lockid; return *this; } void UnlockRequest::printTo(std::ostream& out) const { @@ -18999,19 +19222,19 @@ void swap(ShowLocksRequest &a, ShowLocksRequest &b) { swap(a.__isset, b.__isset); } -ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other759) { - dbname = other759.dbname; - tablename = other759.tablename; - partname = other759.partname; - isExtended = other759.isExtended; - __isset = other759.__isset; +ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other768) { + dbname = other768.dbname; + tablename = other768.tablename; + partname = other768.partname; + isExtended = other768.isExtended; + __isset = other768.__isset; } -ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other760) { - dbname = other760.dbname; - tablename = other760.tablename; - partname = other760.partname; - isExtended = other760.isExtended; - __isset = other760.__isset; +ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other769) { + dbname = other769.dbname; + tablename = other769.tablename; + partname = other769.partname; + isExtended = other769.isExtended; + __isset = other769.__isset; return *this; } void ShowLocksRequest::printTo(std::ostream& out) const { @@ -19164,9 +19387,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast761; - xfer += iprot->readI32(ecast761); - this->state = (LockState::type)ecast761; + int32_t ecast770; + xfer += iprot->readI32(ecast770); + this->state = (LockState::type)ecast770; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -19174,9 +19397,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast762; - xfer += iprot->readI32(ecast762); - this->type = (LockType::type)ecast762; + int32_t ecast771; + xfer += iprot->readI32(ecast771); + this->type = (LockType::type)ecast771; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -19392,43 +19615,43 @@ void swap(ShowLocksResponseElement &a, ShowLocksResponseElement &b) { swap(a.__isset, b.__isset); } -ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other763) { - lockid = other763.lockid; - dbname = other763.dbname; - tablename = other763.tablename; - partname = other763.partname; - state = other763.state; - type = other763.type; - txnid = other763.txnid; - lastheartbeat = other763.lastheartbeat; - acquiredat = other763.acquiredat; - user = other763.user; - hostname = other763.hostname; - heartbeatCount = other763.heartbeatCount; - agentInfo = other763.agentInfo; - blockedByExtId = other763.blockedByExtId; - blockedByIntId = other763.blockedByIntId; - lockIdInternal = other763.lockIdInternal; - __isset = other763.__isset; -} -ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other764) { - lockid = other764.lockid; - dbname = other764.dbname; - tablename = other764.tablename; - partname = other764.partname; - state = other764.state; - type = other764.type; - txnid = other764.txnid; - lastheartbeat = other764.lastheartbeat; - acquiredat = other764.acquiredat; - user = other764.user; - hostname = other764.hostname; - heartbeatCount = other764.heartbeatCount; - agentInfo = other764.agentInfo; - blockedByExtId = other764.blockedByExtId; - blockedByIntId = other764.blockedByIntId; - lockIdInternal = other764.lockIdInternal; - __isset = other764.__isset; +ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other772) { + lockid = other772.lockid; + dbname = other772.dbname; + tablename = other772.tablename; + partname = other772.partname; + state = other772.state; + type = other772.type; + txnid = other772.txnid; + lastheartbeat = other772.lastheartbeat; + acquiredat = other772.acquiredat; + user = other772.user; + hostname = other772.hostname; + heartbeatCount = other772.heartbeatCount; + agentInfo = other772.agentInfo; + blockedByExtId = other772.blockedByExtId; + blockedByIntId = other772.blockedByIntId; + lockIdInternal = other772.lockIdInternal; + __isset = other772.__isset; +} +ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other773) { + lockid = other773.lockid; + dbname = other773.dbname; + tablename = other773.tablename; + partname = other773.partname; + state = other773.state; + type = other773.type; + txnid = other773.txnid; + lastheartbeat = other773.lastheartbeat; + acquiredat = other773.acquiredat; + user = other773.user; + hostname = other773.hostname; + heartbeatCount = other773.heartbeatCount; + agentInfo = other773.agentInfo; + blockedByExtId = other773.blockedByExtId; + blockedByIntId = other773.blockedByIntId; + lockIdInternal = other773.lockIdInternal; + __isset = other773.__isset; return *this; } void ShowLocksResponseElement::printTo(std::ostream& out) const { @@ -19487,14 +19710,14 @@ uint32_t ShowLocksResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->locks.clear(); - uint32_t _size765; - ::apache::thrift::protocol::TType _etype768; - xfer += iprot->readListBegin(_etype768, _size765); - this->locks.resize(_size765); - uint32_t _i769; - for (_i769 = 0; _i769 < _size765; ++_i769) + uint32_t _size774; + ::apache::thrift::protocol::TType _etype777; + xfer += iprot->readListBegin(_etype777, _size774); + this->locks.resize(_size774); + uint32_t _i778; + for (_i778 = 0; _i778 < _size774; ++_i778) { - xfer += this->locks[_i769].read(iprot); + xfer += this->locks[_i778].read(iprot); } xfer += iprot->readListEnd(); } @@ -19523,10 +19746,10 @@ uint32_t ShowLocksResponse::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("locks", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->locks.size())); - std::vector ::const_iterator _iter770; - for (_iter770 = this->locks.begin(); _iter770 != this->locks.end(); ++_iter770) + std::vector ::const_iterator _iter779; + for (_iter779 = this->locks.begin(); _iter779 != this->locks.end(); ++_iter779) { - xfer += (*_iter770).write(oprot); + xfer += (*_iter779).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19543,13 +19766,13 @@ void swap(ShowLocksResponse &a, ShowLocksResponse &b) { swap(a.__isset, b.__isset); } -ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other771) { - locks = other771.locks; - __isset = other771.__isset; +ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other780) { + locks = other780.locks; + __isset = other780.__isset; } -ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other772) { - locks = other772.locks; - __isset = other772.__isset; +ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other781) { + locks = other781.locks; + __isset = other781.__isset; return *this; } void ShowLocksResponse::printTo(std::ostream& out) const { @@ -19650,15 +19873,15 @@ void swap(HeartbeatRequest &a, HeartbeatRequest &b) { swap(a.__isset, b.__isset); } -HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other773) { - lockid = other773.lockid; - txnid = other773.txnid; - __isset = other773.__isset; +HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other782) { + lockid = other782.lockid; + txnid = other782.txnid; + __isset = other782.__isset; } -HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other774) { - lockid = other774.lockid; - txnid = other774.txnid; - __isset = other774.__isset; +HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other783) { + lockid = other783.lockid; + txnid = other783.txnid; + __isset = other783.__isset; return *this; } void HeartbeatRequest::printTo(std::ostream& out) const { @@ -19761,13 +19984,13 @@ void swap(HeartbeatTxnRangeRequest &a, HeartbeatTxnRangeRequest &b) { swap(a.max, b.max); } -HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other775) { - min = other775.min; - max = other775.max; +HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other784) { + min = other784.min; + max = other784.max; } -HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other776) { - min = other776.min; - max = other776.max; +HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other785) { + min = other785.min; + max = other785.max; return *this; } void HeartbeatTxnRangeRequest::printTo(std::ostream& out) const { @@ -19818,15 +20041,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->aborted.clear(); - uint32_t _size777; - ::apache::thrift::protocol::TType _etype780; - xfer += iprot->readSetBegin(_etype780, _size777); - uint32_t _i781; - for (_i781 = 0; _i781 < _size777; ++_i781) + uint32_t _size786; + ::apache::thrift::protocol::TType _etype789; + xfer += iprot->readSetBegin(_etype789, _size786); + uint32_t _i790; + for (_i790 = 0; _i790 < _size786; ++_i790) { - int64_t _elem782; - xfer += iprot->readI64(_elem782); - this->aborted.insert(_elem782); + int64_t _elem791; + xfer += iprot->readI64(_elem791); + this->aborted.insert(_elem791); } xfer += iprot->readSetEnd(); } @@ -19839,15 +20062,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->nosuch.clear(); - uint32_t _size783; - ::apache::thrift::protocol::TType _etype786; - xfer += iprot->readSetBegin(_etype786, _size783); - uint32_t _i787; - for (_i787 = 0; _i787 < _size783; ++_i787) + uint32_t _size792; + ::apache::thrift::protocol::TType _etype795; + xfer += iprot->readSetBegin(_etype795, _size792); + uint32_t _i796; + for (_i796 = 0; _i796 < _size792; ++_i796) { - int64_t _elem788; - xfer += iprot->readI64(_elem788); - this->nosuch.insert(_elem788); + int64_t _elem797; + xfer += iprot->readI64(_elem797); + this->nosuch.insert(_elem797); } xfer += iprot->readSetEnd(); } @@ -19880,10 +20103,10 @@ uint32_t HeartbeatTxnRangeResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("aborted", ::apache::thrift::protocol::T_SET, 1); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I64, static_cast(this->aborted.size())); - std::set ::const_iterator _iter789; - for (_iter789 = this->aborted.begin(); _iter789 != this->aborted.end(); ++_iter789) + std::set ::const_iterator _iter798; + for (_iter798 = this->aborted.begin(); _iter798 != this->aborted.end(); ++_iter798) { - xfer += oprot->writeI64((*_iter789)); + xfer += oprot->writeI64((*_iter798)); } xfer += oprot->writeSetEnd(); } @@ -19892,10 +20115,10 @@ uint32_t HeartbeatTxnRangeResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("nosuch", ::apache::thrift::protocol::T_SET, 2); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I64, static_cast(this->nosuch.size())); - std::set ::const_iterator _iter790; - for (_iter790 = this->nosuch.begin(); _iter790 != this->nosuch.end(); ++_iter790) + std::set ::const_iterator _iter799; + for (_iter799 = this->nosuch.begin(); _iter799 != this->nosuch.end(); ++_iter799) { - xfer += oprot->writeI64((*_iter790)); + xfer += oprot->writeI64((*_iter799)); } xfer += oprot->writeSetEnd(); } @@ -19912,13 +20135,13 @@ void swap(HeartbeatTxnRangeResponse &a, HeartbeatTxnRangeResponse &b) { swap(a.nosuch, b.nosuch); } -HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other791) { - aborted = other791.aborted; - nosuch = other791.nosuch; +HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other800) { + aborted = other800.aborted; + nosuch = other800.nosuch; } -HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other792) { - aborted = other792.aborted; - nosuch = other792.nosuch; +HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other801) { + aborted = other801.aborted; + nosuch = other801.nosuch; return *this; } void HeartbeatTxnRangeResponse::printTo(std::ostream& out) const { @@ -20011,9 +20234,9 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast793; - xfer += iprot->readI32(ecast793); - this->type = (CompactionType::type)ecast793; + int32_t ecast802; + xfer += iprot->readI32(ecast802); + this->type = (CompactionType::type)ecast802; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -20031,17 +20254,17 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - uint32_t _size794; - ::apache::thrift::protocol::TType _ktype795; - ::apache::thrift::protocol::TType _vtype796; - xfer += iprot->readMapBegin(_ktype795, _vtype796, _size794); - uint32_t _i798; - for (_i798 = 0; _i798 < _size794; ++_i798) + uint32_t _size803; + ::apache::thrift::protocol::TType _ktype804; + ::apache::thrift::protocol::TType _vtype805; + xfer += iprot->readMapBegin(_ktype804, _vtype805, _size803); + uint32_t _i807; + for (_i807 = 0; _i807 < _size803; ++_i807) { - std::string _key799; - xfer += iprot->readString(_key799); - std::string& _val800 = this->properties[_key799]; - xfer += iprot->readString(_val800); + std::string _key808; + xfer += iprot->readString(_key808); + std::string& _val809 = this->properties[_key808]; + xfer += iprot->readString(_val809); } xfer += iprot->readMapEnd(); } @@ -20099,11 +20322,11 @@ uint32_t CompactionRequest::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("properties", ::apache::thrift::protocol::T_MAP, 6); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->properties.size())); - std::map ::const_iterator _iter801; - for (_iter801 = this->properties.begin(); _iter801 != this->properties.end(); ++_iter801) + std::map ::const_iterator _iter810; + for (_iter810 = this->properties.begin(); _iter810 != this->properties.end(); ++_iter810) { - xfer += oprot->writeString(_iter801->first); - xfer += oprot->writeString(_iter801->second); + xfer += oprot->writeString(_iter810->first); + xfer += oprot->writeString(_iter810->second); } xfer += oprot->writeMapEnd(); } @@ -20125,23 +20348,23 @@ void swap(CompactionRequest &a, CompactionRequest &b) { swap(a.__isset, b.__isset); } -CompactionRequest::CompactionRequest(const CompactionRequest& other802) { - dbname = other802.dbname; - tablename = other802.tablename; - partitionname = other802.partitionname; - type = other802.type; - runas = other802.runas; - properties = other802.properties; - __isset = other802.__isset; -} -CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other803) { - dbname = other803.dbname; - tablename = other803.tablename; - partitionname = other803.partitionname; - type = other803.type; - runas = other803.runas; - properties = other803.properties; - __isset = other803.__isset; +CompactionRequest::CompactionRequest(const CompactionRequest& other811) { + dbname = other811.dbname; + tablename = other811.tablename; + partitionname = other811.partitionname; + type = other811.type; + runas = other811.runas; + properties = other811.properties; + __isset = other811.__isset; +} +CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other812) { + dbname = other812.dbname; + tablename = other812.tablename; + partitionname = other812.partitionname; + type = other812.type; + runas = other812.runas; + properties = other812.properties; + __isset = other812.__isset; return *this; } void CompactionRequest::printTo(std::ostream& out) const { @@ -20268,15 +20491,15 @@ void swap(CompactionResponse &a, CompactionResponse &b) { swap(a.accepted, b.accepted); } -CompactionResponse::CompactionResponse(const CompactionResponse& other804) { - id = other804.id; - state = other804.state; - accepted = other804.accepted; +CompactionResponse::CompactionResponse(const CompactionResponse& other813) { + id = other813.id; + state = other813.state; + accepted = other813.accepted; } -CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other805) { - id = other805.id; - state = other805.state; - accepted = other805.accepted; +CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other814) { + id = other814.id; + state = other814.state; + accepted = other814.accepted; return *this; } void CompactionResponse::printTo(std::ostream& out) const { @@ -20337,11 +20560,11 @@ void swap(ShowCompactRequest &a, ShowCompactRequest &b) { (void) b; } -ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other806) { - (void) other806; +ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other815) { + (void) other815; } -ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other807) { - (void) other807; +ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other816) { + (void) other816; return *this; } void ShowCompactRequest::printTo(std::ostream& out) const { @@ -20467,9 +20690,9 @@ uint32_t ShowCompactResponseElement::read(::apache::thrift::protocol::TProtocol* break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast808; - xfer += iprot->readI32(ecast808); - this->type = (CompactionType::type)ecast808; + int32_t ecast817; + xfer += iprot->readI32(ecast817); + this->type = (CompactionType::type)ecast817; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -20656,37 +20879,37 @@ void swap(ShowCompactResponseElement &a, ShowCompactResponseElement &b) { swap(a.__isset, b.__isset); } -ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other809) { - dbname = other809.dbname; - tablename = other809.tablename; - partitionname = other809.partitionname; - type = other809.type; - state = other809.state; - workerid = other809.workerid; - start = other809.start; - runAs = other809.runAs; - hightestTxnId = other809.hightestTxnId; - metaInfo = other809.metaInfo; - endTime = other809.endTime; - hadoopJobId = other809.hadoopJobId; - id = other809.id; - __isset = other809.__isset; -} -ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other810) { - dbname = other810.dbname; - tablename = other810.tablename; - partitionname = other810.partitionname; - type = other810.type; - state = other810.state; - workerid = other810.workerid; - start = other810.start; - runAs = other810.runAs; - hightestTxnId = other810.hightestTxnId; - metaInfo = other810.metaInfo; - endTime = other810.endTime; - hadoopJobId = other810.hadoopJobId; - id = other810.id; - __isset = other810.__isset; +ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other818) { + dbname = other818.dbname; + tablename = other818.tablename; + partitionname = other818.partitionname; + type = other818.type; + state = other818.state; + workerid = other818.workerid; + start = other818.start; + runAs = other818.runAs; + hightestTxnId = other818.hightestTxnId; + metaInfo = other818.metaInfo; + endTime = other818.endTime; + hadoopJobId = other818.hadoopJobId; + id = other818.id; + __isset = other818.__isset; +} +ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other819) { + dbname = other819.dbname; + tablename = other819.tablename; + partitionname = other819.partitionname; + type = other819.type; + state = other819.state; + workerid = other819.workerid; + start = other819.start; + runAs = other819.runAs; + hightestTxnId = other819.hightestTxnId; + metaInfo = other819.metaInfo; + endTime = other819.endTime; + hadoopJobId = other819.hadoopJobId; + id = other819.id; + __isset = other819.__isset; return *this; } void ShowCompactResponseElement::printTo(std::ostream& out) const { @@ -20743,14 +20966,14 @@ uint32_t ShowCompactResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->compacts.clear(); - uint32_t _size811; - ::apache::thrift::protocol::TType _etype814; - xfer += iprot->readListBegin(_etype814, _size811); - this->compacts.resize(_size811); - uint32_t _i815; - for (_i815 = 0; _i815 < _size811; ++_i815) + uint32_t _size820; + ::apache::thrift::protocol::TType _etype823; + xfer += iprot->readListBegin(_etype823, _size820); + this->compacts.resize(_size820); + uint32_t _i824; + for (_i824 = 0; _i824 < _size820; ++_i824) { - xfer += this->compacts[_i815].read(iprot); + xfer += this->compacts[_i824].read(iprot); } xfer += iprot->readListEnd(); } @@ -20781,10 +21004,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 _iter816; - for (_iter816 = this->compacts.begin(); _iter816 != this->compacts.end(); ++_iter816) + std::vector ::const_iterator _iter825; + for (_iter825 = this->compacts.begin(); _iter825 != this->compacts.end(); ++_iter825) { - xfer += (*_iter816).write(oprot); + xfer += (*_iter825).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20800,11 +21023,11 @@ void swap(ShowCompactResponse &a, ShowCompactResponse &b) { swap(a.compacts, b.compacts); } -ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other817) { - compacts = other817.compacts; +ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other826) { + compacts = other826.compacts; } -ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other818) { - compacts = other818.compacts; +ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other827) { + compacts = other827.compacts; return *this; } void ShowCompactResponse::printTo(std::ostream& out) const { @@ -20906,14 +21129,14 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionnames.clear(); - uint32_t _size819; - ::apache::thrift::protocol::TType _etype822; - xfer += iprot->readListBegin(_etype822, _size819); - this->partitionnames.resize(_size819); - uint32_t _i823; - for (_i823 = 0; _i823 < _size819; ++_i823) + uint32_t _size828; + ::apache::thrift::protocol::TType _etype831; + xfer += iprot->readListBegin(_etype831, _size828); + this->partitionnames.resize(_size828); + uint32_t _i832; + for (_i832 = 0; _i832 < _size828; ++_i832) { - xfer += iprot->readString(this->partitionnames[_i823]); + xfer += iprot->readString(this->partitionnames[_i832]); } xfer += iprot->readListEnd(); } @@ -20924,9 +21147,9 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast824; - xfer += iprot->readI32(ecast824); - this->operationType = (DataOperationType::type)ecast824; + int32_t ecast833; + xfer += iprot->readI32(ecast833); + this->operationType = (DataOperationType::type)ecast833; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -20978,10 +21201,10 @@ uint32_t AddDynamicPartitions::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("partitionnames", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partitionnames.size())); - std::vector ::const_iterator _iter825; - for (_iter825 = this->partitionnames.begin(); _iter825 != this->partitionnames.end(); ++_iter825) + std::vector ::const_iterator _iter834; + for (_iter834 = this->partitionnames.begin(); _iter834 != this->partitionnames.end(); ++_iter834) { - xfer += oprot->writeString((*_iter825)); + xfer += oprot->writeString((*_iter834)); } xfer += oprot->writeListEnd(); } @@ -21008,23 +21231,23 @@ void swap(AddDynamicPartitions &a, AddDynamicPartitions &b) { swap(a.__isset, b.__isset); } -AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other826) { - txnid = other826.txnid; - writeid = other826.writeid; - dbname = other826.dbname; - tablename = other826.tablename; - partitionnames = other826.partitionnames; - operationType = other826.operationType; - __isset = other826.__isset; -} -AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other827) { - txnid = other827.txnid; - writeid = other827.writeid; - dbname = other827.dbname; - tablename = other827.tablename; - partitionnames = other827.partitionnames; - operationType = other827.operationType; - __isset = other827.__isset; +AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other835) { + txnid = other835.txnid; + writeid = other835.writeid; + dbname = other835.dbname; + tablename = other835.tablename; + partitionnames = other835.partitionnames; + operationType = other835.operationType; + __isset = other835.__isset; +} +AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other836) { + txnid = other836.txnid; + writeid = other836.writeid; + dbname = other836.dbname; + tablename = other836.tablename; + partitionnames = other836.partitionnames; + operationType = other836.operationType; + __isset = other836.__isset; return *this; } void AddDynamicPartitions::printTo(std::ostream& out) const { @@ -21207,23 +21430,23 @@ void swap(BasicTxnInfo &a, BasicTxnInfo &b) { swap(a.__isset, b.__isset); } -BasicTxnInfo::BasicTxnInfo(const BasicTxnInfo& other828) { - isnull = other828.isnull; - time = other828.time; - txnid = other828.txnid; - dbname = other828.dbname; - tablename = other828.tablename; - partitionname = other828.partitionname; - __isset = other828.__isset; -} -BasicTxnInfo& BasicTxnInfo::operator=(const BasicTxnInfo& other829) { - isnull = other829.isnull; - time = other829.time; - txnid = other829.txnid; - dbname = other829.dbname; - tablename = other829.tablename; - partitionname = other829.partitionname; - __isset = other829.__isset; +BasicTxnInfo::BasicTxnInfo(const BasicTxnInfo& other837) { + isnull = other837.isnull; + time = other837.time; + txnid = other837.txnid; + dbname = other837.dbname; + tablename = other837.tablename; + partitionname = other837.partitionname; + __isset = other837.__isset; +} +BasicTxnInfo& BasicTxnInfo::operator=(const BasicTxnInfo& other838) { + isnull = other838.isnull; + time = other838.time; + txnid = other838.txnid; + dbname = other838.dbname; + tablename = other838.tablename; + partitionname = other838.partitionname; + __isset = other838.__isset; return *this; } void BasicTxnInfo::printTo(std::ostream& out) const { @@ -21239,229 +21462,6 @@ void BasicTxnInfo::printTo(std::ostream& out) const { } -CreationMetadata::~CreationMetadata() throw() { -} - - -void CreationMetadata::__set_catName(const std::string& val) { - this->catName = val; -} - -void CreationMetadata::__set_dbName(const std::string& val) { - this->dbName = val; -} - -void CreationMetadata::__set_tblName(const std::string& val) { - this->tblName = val; -} - -void CreationMetadata::__set_tablesUsed(const std::set & val) { - this->tablesUsed = val; -} - -void CreationMetadata::__set_validTxnList(const std::string& val) { - this->validTxnList = val; -__isset.validTxnList = true; -} - -void CreationMetadata::__set_materializationTime(const int64_t val) { - this->materializationTime = val; -__isset.materializationTime = true; -} - -uint32_t CreationMetadata::read(::apache::thrift::protocol::TProtocol* iprot) { - - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - bool isset_catName = false; - bool isset_dbName = false; - bool isset_tblName = false; - bool isset_tablesUsed = false; - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->catName); - isset_catName = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->dbName); - isset_dbName = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->tblName); - isset_tblName = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 4: - if (ftype == ::apache::thrift::protocol::T_SET) { - { - this->tablesUsed.clear(); - uint32_t _size830; - ::apache::thrift::protocol::TType _etype833; - xfer += iprot->readSetBegin(_etype833, _size830); - uint32_t _i834; - for (_i834 = 0; _i834 < _size830; ++_i834) - { - std::string _elem835; - xfer += iprot->readString(_elem835); - this->tablesUsed.insert(_elem835); - } - xfer += iprot->readSetEnd(); - } - isset_tablesUsed = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 5: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->validTxnList); - this->__isset.validTxnList = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 6: - if (ftype == ::apache::thrift::protocol::T_I64) { - xfer += iprot->readI64(this->materializationTime); - this->__isset.materializationTime = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - if (!isset_catName) - throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_dbName) - throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_tblName) - throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_tablesUsed) - throw TProtocolException(TProtocolException::INVALID_DATA); - return xfer; -} - -uint32_t CreationMetadata::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("CreationMetadata"); - - xfer += oprot->writeFieldBegin("catName", ::apache::thrift::protocol::T_STRING, 1); - xfer += oprot->writeString(this->catName); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString(this->dbName); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("tblName", ::apache::thrift::protocol::T_STRING, 3); - xfer += oprot->writeString(this->tblName); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("tablesUsed", ::apache::thrift::protocol::T_SET, 4); - { - xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tablesUsed.size())); - std::set ::const_iterator _iter836; - for (_iter836 = this->tablesUsed.begin(); _iter836 != this->tablesUsed.end(); ++_iter836) - { - xfer += oprot->writeString((*_iter836)); - } - xfer += oprot->writeSetEnd(); - } - xfer += oprot->writeFieldEnd(); - - if (this->__isset.validTxnList) { - xfer += oprot->writeFieldBegin("validTxnList", ::apache::thrift::protocol::T_STRING, 5); - xfer += oprot->writeString(this->validTxnList); - xfer += oprot->writeFieldEnd(); - } - if (this->__isset.materializationTime) { - xfer += oprot->writeFieldBegin("materializationTime", ::apache::thrift::protocol::T_I64, 6); - xfer += oprot->writeI64(this->materializationTime); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(CreationMetadata &a, CreationMetadata &b) { - using ::std::swap; - swap(a.catName, b.catName); - swap(a.dbName, b.dbName); - swap(a.tblName, b.tblName); - swap(a.tablesUsed, b.tablesUsed); - swap(a.validTxnList, b.validTxnList); - swap(a.materializationTime, b.materializationTime); - swap(a.__isset, b.__isset); -} - -CreationMetadata::CreationMetadata(const CreationMetadata& other837) { - catName = other837.catName; - dbName = other837.dbName; - tblName = other837.tblName; - tablesUsed = other837.tablesUsed; - validTxnList = other837.validTxnList; - materializationTime = other837.materializationTime; - __isset = other837.__isset; -} -CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other838) { - catName = other838.catName; - dbName = other838.dbName; - tblName = other838.tblName; - tablesUsed = other838.tablesUsed; - validTxnList = other838.validTxnList; - materializationTime = other838.materializationTime; - __isset = other838.__isset; - return *this; -} -void CreationMetadata::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "CreationMetadata("; - out << "catName=" << to_string(catName); - out << ", " << "dbName=" << to_string(dbName); - out << ", " << "tblName=" << to_string(tblName); - out << ", " << "tablesUsed=" << to_string(tablesUsed); - out << ", " << "validTxnList="; (__isset.validTxnList ? (out << to_string(validTxnList)) : (out << "")); - out << ", " << "materializationTime="; (__isset.materializationTime ? (out << to_string(materializationTime)) : (out << "")); - out << ")"; -} - - NotificationEventRequest::~NotificationEventRequest() throw() { } diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h index a4e36d2a0270040c55bb1dc9dc8d27337053a65c..fb86c97a63bf0ec2e8973d27b6f69974f0088ae3 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h +++ b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h @@ -311,6 +311,8 @@ class SkewedInfo; class StorageDescriptor; +class CreationMetadata; + class Table; class Partition; @@ -443,10 +445,10 @@ class AbortTxnRequest; class AbortTxnsRequest; -class CommitTxnRequest; - class WriteEventInfo; +class CommitTxnRequest; + class ReplTblWriteIdStateRequest; class GetValidWriteIdsRequest; @@ -455,10 +457,10 @@ class TableValidWriteIds; class GetValidWriteIdsResponse; -class AllocateTableWriteIdsRequest; - class TxnToWriteId; +class AllocateTableWriteIdsRequest; + class AllocateTableWriteIdsResponse; class LockComponent; @@ -497,8 +499,6 @@ class AddDynamicPartitions; class BasicTxnInfo; -class CreationMetadata; - class NotificationEventRequest; class NotificationEvent; @@ -3122,6 +3122,82 @@ inline std::ostream& operator<<(std::ostream& out, const StorageDescriptor& obj) return out; } +typedef struct _CreationMetadata__isset { + _CreationMetadata__isset() : validTxnList(false), materializationTime(false) {} + bool validTxnList :1; + bool materializationTime :1; +} _CreationMetadata__isset; + +class CreationMetadata { + public: + + CreationMetadata(const CreationMetadata&); + CreationMetadata& operator=(const CreationMetadata&); + CreationMetadata() : catName(), dbName(), tblName(), validTxnList(), materializationTime(0) { + } + + virtual ~CreationMetadata() throw(); + std::string catName; + std::string dbName; + std::string tblName; + std::set tablesUsed; + std::string validTxnList; + int64_t materializationTime; + + _CreationMetadata__isset __isset; + + void __set_catName(const std::string& val); + + void __set_dbName(const std::string& val); + + void __set_tblName(const std::string& val); + + void __set_tablesUsed(const std::set & val); + + void __set_validTxnList(const std::string& val); + + void __set_materializationTime(const int64_t val); + + bool operator == (const CreationMetadata & rhs) const + { + if (!(catName == rhs.catName)) + return false; + if (!(dbName == rhs.dbName)) + return false; + if (!(tblName == rhs.tblName)) + return false; + if (!(tablesUsed == rhs.tablesUsed)) + return false; + if (__isset.validTxnList != rhs.__isset.validTxnList) + return false; + else if (__isset.validTxnList && !(validTxnList == rhs.validTxnList)) + return false; + if (__isset.materializationTime != rhs.__isset.materializationTime) + return false; + else if (__isset.materializationTime && !(materializationTime == rhs.materializationTime)) + return false; + return true; + } + bool operator != (const CreationMetadata &rhs) const { + return !(*this == rhs); + } + + bool operator < (const CreationMetadata & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(CreationMetadata &a, CreationMetadata &b); + +inline std::ostream& operator<<(std::ostream& out, const CreationMetadata& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _Table__isset { _Table__isset() : tableName(false), dbName(false), owner(false), createTime(false), lastAccessTime(false), retention(false), sd(false), partitionKeys(false), parameters(false), viewOriginalText(false), viewExpandedText(false), tableType(false), privileges(false), temporary(true), rewriteEnabled(false), creationMetadata(false), catName(false), ownerType(true) {} bool tableName :1; @@ -7006,67 +7082,6 @@ inline std::ostream& operator<<(std::ostream& out, const AbortTxnsRequest& obj) return out; } -typedef struct _CommitTxnRequest__isset { - _CommitTxnRequest__isset() : replPolicy(false), writeEventInfos(false) {} - bool replPolicy :1; - bool writeEventInfos :1; -} _CommitTxnRequest__isset; - -class CommitTxnRequest { - public: - - CommitTxnRequest(const CommitTxnRequest&); - CommitTxnRequest& operator=(const CommitTxnRequest&); - CommitTxnRequest() : txnid(0), replPolicy() { - } - - virtual ~CommitTxnRequest() throw(); - int64_t txnid; - std::string replPolicy; - std::vector writeEventInfos; - - _CommitTxnRequest__isset __isset; - - void __set_txnid(const int64_t val); - - void __set_replPolicy(const std::string& val); - - void __set_writeEventInfos(const std::vector & val); - - bool operator == (const CommitTxnRequest & rhs) const - { - if (!(txnid == rhs.txnid)) - return false; - if (__isset.replPolicy != rhs.__isset.replPolicy) - return false; - else if (__isset.replPolicy && !(replPolicy == rhs.replPolicy)) - return false; - if (__isset.writeEventInfos != rhs.__isset.writeEventInfos) - return false; - else if (__isset.writeEventInfos && !(writeEventInfos == rhs.writeEventInfos)) - return false; - return true; - } - bool operator != (const CommitTxnRequest &rhs) const { - return !(*this == rhs); - } - - bool operator < (const CommitTxnRequest & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(CommitTxnRequest &a, CommitTxnRequest &b); - -inline std::ostream& operator<<(std::ostream& out, const CommitTxnRequest& obj) -{ - obj.printTo(out); - return out; -} - typedef struct _WriteEventInfo__isset { _WriteEventInfo__isset() : partition(false), tableObj(false), partitionObj(false) {} bool partition :1; @@ -7151,6 +7166,67 @@ inline std::ostream& operator<<(std::ostream& out, const WriteEventInfo& obj) return out; } +typedef struct _CommitTxnRequest__isset { + _CommitTxnRequest__isset() : replPolicy(false), writeEventInfos(false) {} + bool replPolicy :1; + bool writeEventInfos :1; +} _CommitTxnRequest__isset; + +class CommitTxnRequest { + public: + + CommitTxnRequest(const CommitTxnRequest&); + CommitTxnRequest& operator=(const CommitTxnRequest&); + CommitTxnRequest() : txnid(0), replPolicy() { + } + + virtual ~CommitTxnRequest() throw(); + int64_t txnid; + std::string replPolicy; + std::vector writeEventInfos; + + _CommitTxnRequest__isset __isset; + + void __set_txnid(const int64_t val); + + void __set_replPolicy(const std::string& val); + + void __set_writeEventInfos(const std::vector & val); + + bool operator == (const CommitTxnRequest & rhs) const + { + if (!(txnid == rhs.txnid)) + return false; + if (__isset.replPolicy != rhs.__isset.replPolicy) + return false; + else if (__isset.replPolicy && !(replPolicy == rhs.replPolicy)) + return false; + if (__isset.writeEventInfos != rhs.__isset.writeEventInfos) + return false; + else if (__isset.writeEventInfos && !(writeEventInfos == rhs.writeEventInfos)) + return false; + return true; + } + bool operator != (const CommitTxnRequest &rhs) const { + return !(*this == rhs); + } + + bool operator < (const CommitTxnRequest & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(CommitTxnRequest &a, CommitTxnRequest &b); + +inline std::ostream& operator<<(std::ostream& out, const CommitTxnRequest& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _ReplTblWriteIdStateRequest__isset { _ReplTblWriteIdStateRequest__isset() : partNames(false) {} bool partNames :1; @@ -7377,6 +7453,51 @@ inline std::ostream& operator<<(std::ostream& out, const GetValidWriteIdsRespons return out; } + +class TxnToWriteId { + public: + + TxnToWriteId(const TxnToWriteId&); + TxnToWriteId& operator=(const TxnToWriteId&); + TxnToWriteId() : txnId(0), writeId(0) { + } + + virtual ~TxnToWriteId() throw(); + int64_t txnId; + int64_t writeId; + + void __set_txnId(const int64_t val); + + void __set_writeId(const int64_t val); + + bool operator == (const TxnToWriteId & rhs) const + { + if (!(txnId == rhs.txnId)) + return false; + if (!(writeId == rhs.writeId)) + return false; + return true; + } + bool operator != (const TxnToWriteId &rhs) const { + return !(*this == rhs); + } + + bool operator < (const TxnToWriteId & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(TxnToWriteId &a, TxnToWriteId &b); + +inline std::ostream& operator<<(std::ostream& out, const TxnToWriteId& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _AllocateTableWriteIdsRequest__isset { _AllocateTableWriteIdsRequest__isset() : txnIds(false), replPolicy(false), srcTxnToWriteIdList(false) {} bool txnIds :1; @@ -7452,51 +7573,6 @@ inline std::ostream& operator<<(std::ostream& out, const AllocateTableWriteIdsRe } -class TxnToWriteId { - public: - - TxnToWriteId(const TxnToWriteId&); - TxnToWriteId& operator=(const TxnToWriteId&); - TxnToWriteId() : txnId(0), writeId(0) { - } - - virtual ~TxnToWriteId() throw(); - int64_t txnId; - int64_t writeId; - - void __set_txnId(const int64_t val); - - void __set_writeId(const int64_t val); - - bool operator == (const TxnToWriteId & rhs) const - { - if (!(txnId == rhs.txnId)) - return false; - if (!(writeId == rhs.writeId)) - return false; - return true; - } - bool operator != (const TxnToWriteId &rhs) const { - return !(*this == rhs); - } - - bool operator < (const TxnToWriteId & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(TxnToWriteId &a, TxnToWriteId &b); - -inline std::ostream& operator<<(std::ostream& out, const TxnToWriteId& obj) -{ - obj.printTo(out); - return out; -} - - class AllocateTableWriteIdsResponse { public: @@ -8757,82 +8833,6 @@ inline std::ostream& operator<<(std::ostream& out, const BasicTxnInfo& obj) return out; } -typedef struct _CreationMetadata__isset { - _CreationMetadata__isset() : validTxnList(false), materializationTime(false) {} - bool validTxnList :1; - bool materializationTime :1; -} _CreationMetadata__isset; - -class CreationMetadata { - public: - - CreationMetadata(const CreationMetadata&); - CreationMetadata& operator=(const CreationMetadata&); - CreationMetadata() : catName(), dbName(), tblName(), validTxnList(), materializationTime(0) { - } - - virtual ~CreationMetadata() throw(); - std::string catName; - std::string dbName; - std::string tblName; - std::set tablesUsed; - std::string validTxnList; - int64_t materializationTime; - - _CreationMetadata__isset __isset; - - void __set_catName(const std::string& val); - - void __set_dbName(const std::string& val); - - void __set_tblName(const std::string& val); - - void __set_tablesUsed(const std::set & val); - - void __set_validTxnList(const std::string& val); - - void __set_materializationTime(const int64_t val); - - bool operator == (const CreationMetadata & rhs) const - { - if (!(catName == rhs.catName)) - return false; - if (!(dbName == rhs.dbName)) - return false; - if (!(tblName == rhs.tblName)) - return false; - if (!(tablesUsed == rhs.tablesUsed)) - return false; - if (__isset.validTxnList != rhs.__isset.validTxnList) - return false; - else if (__isset.validTxnList && !(validTxnList == rhs.validTxnList)) - return false; - if (__isset.materializationTime != rhs.__isset.materializationTime) - return false; - else if (__isset.materializationTime && !(materializationTime == rhs.materializationTime)) - return false; - return true; - } - bool operator != (const CreationMetadata &rhs) const { - return !(*this == rhs); - } - - bool operator < (const CreationMetadata & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(CreationMetadata &a, CreationMetadata &b); - -inline std::ostream& operator<<(std::ostream& out, const CreationMetadata& obj) -{ - obj.printTo(out); - return out; -} - typedef struct _NotificationEventRequest__isset { _NotificationEventRequest__isset() : maxEvents(false) {} bool maxEvents :1; diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java index 3ee337003d058d693724e864113fdd0ee694772f..7dcfc170cc86f237398aad1536c3fbd79561d5a9 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AbortTxnsRequest st case 1: // TXN_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list586 = iprot.readListBegin(); - struct.txn_ids = new ArrayList(_list586.size); - long _elem587; - for (int _i588 = 0; _i588 < _list586.size; ++_i588) + org.apache.thrift.protocol.TList _list594 = iprot.readListBegin(); + struct.txn_ids = new ArrayList(_list594.size); + long _elem595; + for (int _i596 = 0; _i596 < _list594.size; ++_i596) { - _elem587 = iprot.readI64(); - struct.txn_ids.add(_elem587); + _elem595 = iprot.readI64(); + struct.txn_ids.add(_elem595); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AbortTxnsRequest s oprot.writeFieldBegin(TXN_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.txn_ids.size())); - for (long _iter589 : struct.txn_ids) + for (long _iter597 : struct.txn_ids) { - oprot.writeI64(_iter589); + oprot.writeI64(_iter597); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AbortTxnsRequest st TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.txn_ids.size()); - for (long _iter590 : struct.txn_ids) + for (long _iter598 : struct.txn_ids) { - oprot.writeI64(_iter590); + oprot.writeI64(_iter598); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AbortTxnsRequest st public void read(org.apache.thrift.protocol.TProtocol prot, AbortTxnsRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list591 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txn_ids = new ArrayList(_list591.size); - long _elem592; - for (int _i593 = 0; _i593 < _list591.size; ++_i593) + org.apache.thrift.protocol.TList _list599 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txn_ids = new ArrayList(_list599.size); + long _elem600; + for (int _i601 = 0; _i601 < _list599.size; ++_i601) { - _elem592 = iprot.readI64(); - struct.txn_ids.add(_elem592); + _elem600 = iprot.readI64(); + struct.txn_ids.add(_elem600); } } struct.setTxn_idsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddCheckConstraintRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddCheckConstraintRequest.java index 02d552d0cad396c1850c2d79d04ac712b9290792..8ece410555619626797770206e7d959cd6c31e6f 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddCheckConstraintRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddCheckConstraintRequest.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddCheckConstraintR case 1: // CHECK_CONSTRAINT_COLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list408 = iprot.readListBegin(); - struct.checkConstraintCols = new ArrayList(_list408.size); - SQLCheckConstraint _elem409; - for (int _i410 = 0; _i410 < _list408.size; ++_i410) + org.apache.thrift.protocol.TList _list416 = iprot.readListBegin(); + struct.checkConstraintCols = new ArrayList(_list416.size); + SQLCheckConstraint _elem417; + for (int _i418 = 0; _i418 < _list416.size; ++_i418) { - _elem409 = new SQLCheckConstraint(); - _elem409.read(iprot); - struct.checkConstraintCols.add(_elem409); + _elem417 = new SQLCheckConstraint(); + _elem417.read(iprot); + struct.checkConstraintCols.add(_elem417); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddCheckConstraint oprot.writeFieldBegin(CHECK_CONSTRAINT_COLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.checkConstraintCols.size())); - for (SQLCheckConstraint _iter411 : struct.checkConstraintCols) + for (SQLCheckConstraint _iter419 : struct.checkConstraintCols) { - _iter411.write(oprot); + _iter419.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddCheckConstraintR TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.checkConstraintCols.size()); - for (SQLCheckConstraint _iter412 : struct.checkConstraintCols) + for (SQLCheckConstraint _iter420 : struct.checkConstraintCols) { - _iter412.write(oprot); + _iter420.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddCheckConstraintR public void read(org.apache.thrift.protocol.TProtocol prot, AddCheckConstraintRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list413 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.checkConstraintCols = new ArrayList(_list413.size); - SQLCheckConstraint _elem414; - for (int _i415 = 0; _i415 < _list413.size; ++_i415) + org.apache.thrift.protocol.TList _list421 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.checkConstraintCols = new ArrayList(_list421.size); + SQLCheckConstraint _elem422; + for (int _i423 = 0; _i423 < _list421.size; ++_i423) { - _elem414 = new SQLCheckConstraint(); - _elem414.read(iprot); - struct.checkConstraintCols.add(_elem414); + _elem422 = new SQLCheckConstraint(); + _elem422.read(iprot); + struct.checkConstraintCols.add(_elem422); } } struct.setCheckConstraintColsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDefaultConstraintRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDefaultConstraintRequest.java index 6acc6f818f926ab2951357feaa9e329dde14aa48..8a125d854edea766610eca8fe7a8a8f1ed3f5594 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDefaultConstraintRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDefaultConstraintRequest.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddDefaultConstrain case 1: // DEFAULT_CONSTRAINT_COLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list400 = iprot.readListBegin(); - struct.defaultConstraintCols = new ArrayList(_list400.size); - SQLDefaultConstraint _elem401; - for (int _i402 = 0; _i402 < _list400.size; ++_i402) + org.apache.thrift.protocol.TList _list408 = iprot.readListBegin(); + struct.defaultConstraintCols = new ArrayList(_list408.size); + SQLDefaultConstraint _elem409; + for (int _i410 = 0; _i410 < _list408.size; ++_i410) { - _elem401 = new SQLDefaultConstraint(); - _elem401.read(iprot); - struct.defaultConstraintCols.add(_elem401); + _elem409 = new SQLDefaultConstraint(); + _elem409.read(iprot); + struct.defaultConstraintCols.add(_elem409); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddDefaultConstrai oprot.writeFieldBegin(DEFAULT_CONSTRAINT_COLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.defaultConstraintCols.size())); - for (SQLDefaultConstraint _iter403 : struct.defaultConstraintCols) + for (SQLDefaultConstraint _iter411 : struct.defaultConstraintCols) { - _iter403.write(oprot); + _iter411.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddDefaultConstrain TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.defaultConstraintCols.size()); - for (SQLDefaultConstraint _iter404 : struct.defaultConstraintCols) + for (SQLDefaultConstraint _iter412 : struct.defaultConstraintCols) { - _iter404.write(oprot); + _iter412.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddDefaultConstrain public void read(org.apache.thrift.protocol.TProtocol prot, AddDefaultConstraintRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list405 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.defaultConstraintCols = new ArrayList(_list405.size); - SQLDefaultConstraint _elem406; - for (int _i407 = 0; _i407 < _list405.size; ++_i407) + org.apache.thrift.protocol.TList _list413 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.defaultConstraintCols = new ArrayList(_list413.size); + SQLDefaultConstraint _elem414; + for (int _i415 = 0; _i415 < _list413.size; ++_i415) { - _elem406 = new SQLDefaultConstraint(); - _elem406.read(iprot); - struct.defaultConstraintCols.add(_elem406); + _elem414 = new SQLDefaultConstraint(); + _elem414.read(iprot); + struct.defaultConstraintCols.add(_elem414); } } struct.setDefaultConstraintColsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java index 3ce72e9ce6187a5a095b042fc52b1c4a4139c77a..45618e781cea1a8090a75dfadb56262041e3a0cd 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java @@ -816,13 +816,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddDynamicPartition case 5: // PARTITIONNAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list708 = iprot.readListBegin(); - struct.partitionnames = new ArrayList(_list708.size); - String _elem709; - for (int _i710 = 0; _i710 < _list708.size; ++_i710) + org.apache.thrift.protocol.TList _list716 = iprot.readListBegin(); + struct.partitionnames = new ArrayList(_list716.size); + String _elem717; + for (int _i718 = 0; _i718 < _list716.size; ++_i718) { - _elem709 = iprot.readString(); - struct.partitionnames.add(_elem709); + _elem717 = iprot.readString(); + struct.partitionnames.add(_elem717); } iprot.readListEnd(); } @@ -872,9 +872,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddDynamicPartitio oprot.writeFieldBegin(PARTITIONNAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionnames.size())); - for (String _iter711 : struct.partitionnames) + for (String _iter719 : struct.partitionnames) { - oprot.writeString(_iter711); + oprot.writeString(_iter719); } oprot.writeListEnd(); } @@ -910,9 +910,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartition oprot.writeString(struct.tablename); { oprot.writeI32(struct.partitionnames.size()); - for (String _iter712 : struct.partitionnames) + for (String _iter720 : struct.partitionnames) { - oprot.writeString(_iter712); + oprot.writeString(_iter720); } } BitSet optionals = new BitSet(); @@ -937,13 +937,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartitions struct.tablename = iprot.readString(); struct.setTablenameIsSet(true); { - org.apache.thrift.protocol.TList _list713 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionnames = new ArrayList(_list713.size); - String _elem714; - for (int _i715 = 0; _i715 < _list713.size; ++_i715) + org.apache.thrift.protocol.TList _list721 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionnames = new ArrayList(_list721.size); + String _elem722; + for (int _i723 = 0; _i723 < _list721.size; ++_i723) { - _elem714 = iprot.readString(); - struct.partitionnames.add(_elem714); + _elem722 = iprot.readString(); + struct.partitionnames.add(_elem722); } } struct.setPartitionnamesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddForeignKeyRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddForeignKeyRequest.java index f57eb3bdae57c451cc2f00c3098b838d971a13fb..0f443d4f60ae6b2f55ea5d1902708d005b53cac0 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddForeignKeyRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddForeignKeyRequest.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddForeignKeyReques case 1: // FOREIGN_KEY_COLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list376 = iprot.readListBegin(); - struct.foreignKeyCols = new ArrayList(_list376.size); - SQLForeignKey _elem377; - for (int _i378 = 0; _i378 < _list376.size; ++_i378) + org.apache.thrift.protocol.TList _list384 = iprot.readListBegin(); + struct.foreignKeyCols = new ArrayList(_list384.size); + SQLForeignKey _elem385; + for (int _i386 = 0; _i386 < _list384.size; ++_i386) { - _elem377 = new SQLForeignKey(); - _elem377.read(iprot); - struct.foreignKeyCols.add(_elem377); + _elem385 = new SQLForeignKey(); + _elem385.read(iprot); + struct.foreignKeyCols.add(_elem385); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddForeignKeyReque oprot.writeFieldBegin(FOREIGN_KEY_COLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.foreignKeyCols.size())); - for (SQLForeignKey _iter379 : struct.foreignKeyCols) + for (SQLForeignKey _iter387 : struct.foreignKeyCols) { - _iter379.write(oprot); + _iter387.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddForeignKeyReques TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.foreignKeyCols.size()); - for (SQLForeignKey _iter380 : struct.foreignKeyCols) + for (SQLForeignKey _iter388 : struct.foreignKeyCols) { - _iter380.write(oprot); + _iter388.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddForeignKeyReques public void read(org.apache.thrift.protocol.TProtocol prot, AddForeignKeyRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list381 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.foreignKeyCols = new ArrayList(_list381.size); - SQLForeignKey _elem382; - for (int _i383 = 0; _i383 < _list381.size; ++_i383) + org.apache.thrift.protocol.TList _list389 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.foreignKeyCols = new ArrayList(_list389.size); + SQLForeignKey _elem390; + for (int _i391 = 0; _i391 < _list389.size; ++_i391) { - _elem382 = new SQLForeignKey(); - _elem382.read(iprot); - struct.foreignKeyCols.add(_elem382); + _elem390 = new SQLForeignKey(); + _elem390.read(iprot); + struct.foreignKeyCols.add(_elem390); } } struct.setForeignKeyColsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddNotNullConstraintRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddNotNullConstraintRequest.java index e6bac167823ef60f96bfe7f474975fe24ad473c8..0266bba2b0b9c347bc555ee7b40b4c2794e3ad41 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddNotNullConstraintRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddNotNullConstraintRequest.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddNotNullConstrain case 1: // NOT_NULL_CONSTRAINT_COLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list392 = iprot.readListBegin(); - struct.notNullConstraintCols = new ArrayList(_list392.size); - SQLNotNullConstraint _elem393; - for (int _i394 = 0; _i394 < _list392.size; ++_i394) + org.apache.thrift.protocol.TList _list400 = iprot.readListBegin(); + struct.notNullConstraintCols = new ArrayList(_list400.size); + SQLNotNullConstraint _elem401; + for (int _i402 = 0; _i402 < _list400.size; ++_i402) { - _elem393 = new SQLNotNullConstraint(); - _elem393.read(iprot); - struct.notNullConstraintCols.add(_elem393); + _elem401 = new SQLNotNullConstraint(); + _elem401.read(iprot); + struct.notNullConstraintCols.add(_elem401); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddNotNullConstrai oprot.writeFieldBegin(NOT_NULL_CONSTRAINT_COLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.notNullConstraintCols.size())); - for (SQLNotNullConstraint _iter395 : struct.notNullConstraintCols) + for (SQLNotNullConstraint _iter403 : struct.notNullConstraintCols) { - _iter395.write(oprot); + _iter403.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddNotNullConstrain TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.notNullConstraintCols.size()); - for (SQLNotNullConstraint _iter396 : struct.notNullConstraintCols) + for (SQLNotNullConstraint _iter404 : struct.notNullConstraintCols) { - _iter396.write(oprot); + _iter404.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddNotNullConstrain public void read(org.apache.thrift.protocol.TProtocol prot, AddNotNullConstraintRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list397 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.notNullConstraintCols = new ArrayList(_list397.size); - SQLNotNullConstraint _elem398; - for (int _i399 = 0; _i399 < _list397.size; ++_i399) + org.apache.thrift.protocol.TList _list405 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.notNullConstraintCols = new ArrayList(_list405.size); + SQLNotNullConstraint _elem406; + for (int _i407 = 0; _i407 < _list405.size; ++_i407) { - _elem398 = new SQLNotNullConstraint(); - _elem398.read(iprot); - struct.notNullConstraintCols.add(_elem398); + _elem406 = new SQLNotNullConstraint(); + _elem406.read(iprot); + struct.notNullConstraintCols.add(_elem406); } } struct.setNotNullConstraintColsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java index dd3a127013af7d13fa5b2345dfda80e47bb88403..be6cb8234e1d64223de24b279a0725beca618258 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java @@ -785,14 +785,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddPartitionsReques case 3: // PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list482 = iprot.readListBegin(); - struct.parts = new ArrayList(_list482.size); - Partition _elem483; - for (int _i484 = 0; _i484 < _list482.size; ++_i484) + org.apache.thrift.protocol.TList _list490 = iprot.readListBegin(); + struct.parts = new ArrayList(_list490.size); + Partition _elem491; + for (int _i492 = 0; _i492 < _list490.size; ++_i492) { - _elem483 = new Partition(); - _elem483.read(iprot); - struct.parts.add(_elem483); + _elem491 = new Partition(); + _elem491.read(iprot); + struct.parts.add(_elem491); } iprot.readListEnd(); } @@ -852,9 +852,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddPartitionsReque oprot.writeFieldBegin(PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.parts.size())); - for (Partition _iter485 : struct.parts) + for (Partition _iter493 : struct.parts) { - _iter485.write(oprot); + _iter493.write(oprot); } oprot.writeListEnd(); } @@ -896,9 +896,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddPartitionsReques oprot.writeString(struct.tblName); { oprot.writeI32(struct.parts.size()); - for (Partition _iter486 : struct.parts) + for (Partition _iter494 : struct.parts) { - _iter486.write(oprot); + _iter494.write(oprot); } } oprot.writeBool(struct.ifNotExists); @@ -926,14 +926,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddPartitionsRequest struct.tblName = iprot.readString(); struct.setTblNameIsSet(true); { - org.apache.thrift.protocol.TList _list487 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.parts = new ArrayList(_list487.size); - Partition _elem488; - for (int _i489 = 0; _i489 < _list487.size; ++_i489) + org.apache.thrift.protocol.TList _list495 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.parts = new ArrayList(_list495.size); + Partition _elem496; + for (int _i497 = 0; _i497 < _list495.size; ++_i497) { - _elem488 = new Partition(); - _elem488.read(iprot); - struct.parts.add(_elem488); + _elem496 = new Partition(); + _elem496.read(iprot); + struct.parts.add(_elem496); } } struct.setPartsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java index fe41b8c711ff1cdecac38986d76949e859a3c5dc..173a38fb7282edee1ee1c1a61f7b33abc14502da 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java @@ -346,14 +346,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddPartitionsResult case 1: // PARTITIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list474 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list474.size); - Partition _elem475; - for (int _i476 = 0; _i476 < _list474.size; ++_i476) + org.apache.thrift.protocol.TList _list482 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list482.size); + Partition _elem483; + for (int _i484 = 0; _i484 < _list482.size; ++_i484) { - _elem475 = new Partition(); - _elem475.read(iprot); - struct.partitions.add(_elem475); + _elem483 = new Partition(); + _elem483.read(iprot); + struct.partitions.add(_elem483); } iprot.readListEnd(); } @@ -380,9 +380,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddPartitionsResul oprot.writeFieldBegin(PARTITIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size())); - for (Partition _iter477 : struct.partitions) + for (Partition _iter485 : struct.partitions) { - _iter477.write(oprot); + _iter485.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddPartitionsResult if (struct.isSetPartitions()) { { oprot.writeI32(struct.partitions.size()); - for (Partition _iter478 : struct.partitions) + for (Partition _iter486 : struct.partitions) { - _iter478.write(oprot); + _iter486.write(oprot); } } } @@ -428,14 +428,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddPartitionsResult BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list479 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitions = new ArrayList(_list479.size); - Partition _elem480; - for (int _i481 = 0; _i481 < _list479.size; ++_i481) + org.apache.thrift.protocol.TList _list487 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitions = new ArrayList(_list487.size); + Partition _elem488; + for (int _i489 = 0; _i489 < _list487.size; ++_i489) { - _elem480 = new Partition(); - _elem480.read(iprot); - struct.partitions.add(_elem480); + _elem488 = new Partition(); + _elem488.read(iprot); + struct.partitions.add(_elem488); } } struct.setPartitionsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPrimaryKeyRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPrimaryKeyRequest.java index 39bb6be891598fd8f0f032d347dd1452f39aa616..9069a419ec6f6d0fba3428e556f9cd815aa714cb 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPrimaryKeyRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPrimaryKeyRequest.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddPrimaryKeyReques case 1: // PRIMARY_KEY_COLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list368 = iprot.readListBegin(); - struct.primaryKeyCols = new ArrayList(_list368.size); - SQLPrimaryKey _elem369; - for (int _i370 = 0; _i370 < _list368.size; ++_i370) + org.apache.thrift.protocol.TList _list376 = iprot.readListBegin(); + struct.primaryKeyCols = new ArrayList(_list376.size); + SQLPrimaryKey _elem377; + for (int _i378 = 0; _i378 < _list376.size; ++_i378) { - _elem369 = new SQLPrimaryKey(); - _elem369.read(iprot); - struct.primaryKeyCols.add(_elem369); + _elem377 = new SQLPrimaryKey(); + _elem377.read(iprot); + struct.primaryKeyCols.add(_elem377); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddPrimaryKeyReque oprot.writeFieldBegin(PRIMARY_KEY_COLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.primaryKeyCols.size())); - for (SQLPrimaryKey _iter371 : struct.primaryKeyCols) + for (SQLPrimaryKey _iter379 : struct.primaryKeyCols) { - _iter371.write(oprot); + _iter379.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddPrimaryKeyReques TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.primaryKeyCols.size()); - for (SQLPrimaryKey _iter372 : struct.primaryKeyCols) + for (SQLPrimaryKey _iter380 : struct.primaryKeyCols) { - _iter372.write(oprot); + _iter380.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddPrimaryKeyReques public void read(org.apache.thrift.protocol.TProtocol prot, AddPrimaryKeyRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list373 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.primaryKeyCols = new ArrayList(_list373.size); - SQLPrimaryKey _elem374; - for (int _i375 = 0; _i375 < _list373.size; ++_i375) + org.apache.thrift.protocol.TList _list381 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.primaryKeyCols = new ArrayList(_list381.size); + SQLPrimaryKey _elem382; + for (int _i383 = 0; _i383 < _list381.size; ++_i383) { - _elem374 = new SQLPrimaryKey(); - _elem374.read(iprot); - struct.primaryKeyCols.add(_elem374); + _elem382 = new SQLPrimaryKey(); + _elem382.read(iprot); + struct.primaryKeyCols.add(_elem382); } } struct.setPrimaryKeyColsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddUniqueConstraintRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddUniqueConstraintRequest.java index bcb1e6b847086e3ef647fb5737e357ed17013e67..c47db4a91082df50169388b3d58c067069b790b4 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddUniqueConstraintRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddUniqueConstraintRequest.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddUniqueConstraint case 1: // UNIQUE_CONSTRAINT_COLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list384 = iprot.readListBegin(); - struct.uniqueConstraintCols = new ArrayList(_list384.size); - SQLUniqueConstraint _elem385; - for (int _i386 = 0; _i386 < _list384.size; ++_i386) + org.apache.thrift.protocol.TList _list392 = iprot.readListBegin(); + struct.uniqueConstraintCols = new ArrayList(_list392.size); + SQLUniqueConstraint _elem393; + for (int _i394 = 0; _i394 < _list392.size; ++_i394) { - _elem385 = new SQLUniqueConstraint(); - _elem385.read(iprot); - struct.uniqueConstraintCols.add(_elem385); + _elem393 = new SQLUniqueConstraint(); + _elem393.read(iprot); + struct.uniqueConstraintCols.add(_elem393); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddUniqueConstrain oprot.writeFieldBegin(UNIQUE_CONSTRAINT_COLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.uniqueConstraintCols.size())); - for (SQLUniqueConstraint _iter387 : struct.uniqueConstraintCols) + for (SQLUniqueConstraint _iter395 : struct.uniqueConstraintCols) { - _iter387.write(oprot); + _iter395.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddUniqueConstraint TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.uniqueConstraintCols.size()); - for (SQLUniqueConstraint _iter388 : struct.uniqueConstraintCols) + for (SQLUniqueConstraint _iter396 : struct.uniqueConstraintCols) { - _iter388.write(oprot); + _iter396.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddUniqueConstraint public void read(org.apache.thrift.protocol.TProtocol prot, AddUniqueConstraintRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list389 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.uniqueConstraintCols = new ArrayList(_list389.size); - SQLUniqueConstraint _elem390; - for (int _i391 = 0; _i391 < _list389.size; ++_i391) + org.apache.thrift.protocol.TList _list397 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.uniqueConstraintCols = new ArrayList(_list397.size); + SQLUniqueConstraint _elem398; + for (int _i399 = 0; _i399 < _list397.size; ++_i399) { - _elem390 = new SQLUniqueConstraint(); - _elem390.read(iprot); - struct.uniqueConstraintCols.add(_elem390); + _elem398 = new SQLUniqueConstraint(); + _elem398.read(iprot); + struct.uniqueConstraintCols.add(_elem398); } } struct.setUniqueConstraintColsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java index fff212dfd48fd9f2b92933ea5245c37ca06a6c57..47bb863ad7b18299193f2d5a17965a7ae4d31fac 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java @@ -439,14 +439,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AggrStats struct) t case 1: // COL_STATS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list276 = iprot.readListBegin(); - struct.colStats = new ArrayList(_list276.size); - ColumnStatisticsObj _elem277; - for (int _i278 = 0; _i278 < _list276.size; ++_i278) + org.apache.thrift.protocol.TList _list284 = iprot.readListBegin(); + struct.colStats = new ArrayList(_list284.size); + ColumnStatisticsObj _elem285; + for (int _i286 = 0; _i286 < _list284.size; ++_i286) { - _elem277 = new ColumnStatisticsObj(); - _elem277.read(iprot); - struct.colStats.add(_elem277); + _elem285 = new ColumnStatisticsObj(); + _elem285.read(iprot); + struct.colStats.add(_elem285); } iprot.readListEnd(); } @@ -480,9 +480,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AggrStats struct) oprot.writeFieldBegin(COL_STATS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.colStats.size())); - for (ColumnStatisticsObj _iter279 : struct.colStats) + for (ColumnStatisticsObj _iter287 : struct.colStats) { - _iter279.write(oprot); + _iter287.write(oprot); } oprot.writeListEnd(); } @@ -510,9 +510,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AggrStats struct) t TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.colStats.size()); - for (ColumnStatisticsObj _iter280 : struct.colStats) + for (ColumnStatisticsObj _iter288 : struct.colStats) { - _iter280.write(oprot); + _iter288.write(oprot); } } oprot.writeI64(struct.partsFound); @@ -522,14 +522,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AggrStats struct) t public void read(org.apache.thrift.protocol.TProtocol prot, AggrStats struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list281 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.colStats = new ArrayList(_list281.size); - ColumnStatisticsObj _elem282; - for (int _i283 = 0; _i283 < _list281.size; ++_i283) + org.apache.thrift.protocol.TList _list289 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.colStats = new ArrayList(_list289.size); + ColumnStatisticsObj _elem290; + for (int _i291 = 0; _i291 < _list289.size; ++_i291) { - _elem282 = new ColumnStatisticsObj(); - _elem282.read(iprot); - struct.colStats.add(_elem282); + _elem290 = new ColumnStatisticsObj(); + _elem290.read(iprot); + struct.colStats.add(_elem290); } } struct.setColStatsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsRequest.java index a0b47a9c67b84ac89cba388adb2ff27f134c05ce..20fecf41b8d0b8e22cf505ee174ba4f5acc164de 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsRequest.java @@ -142,7 +142,7 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.SRC_TXN_TO_WRITE_ID_LIST, new org.apache.thrift.meta_data.FieldMetaData("srcTxnToWriteIdList", org.apache.thrift.TFieldRequirementType.OPTIONAL, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT , "TxnToWriteId")))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TxnToWriteId.class)))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(AllocateTableWriteIdsRequest.class, metaDataMap); } @@ -179,7 +179,7 @@ public AllocateTableWriteIdsRequest(AllocateTableWriteIdsRequest other) { if (other.isSetSrcTxnToWriteIdList()) { List __this__srcTxnToWriteIdList = new ArrayList(other.srcTxnToWriteIdList.size()); for (TxnToWriteId other_element : other.srcTxnToWriteIdList) { - __this__srcTxnToWriteIdList.add(other_element); + __this__srcTxnToWriteIdList.add(new TxnToWriteId(other_element)); } this.srcTxnToWriteIdList = __this__srcTxnToWriteIdList; } @@ -716,13 +716,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AllocateTableWriteI case 3: // TXN_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list634 = iprot.readListBegin(); - struct.txnIds = new ArrayList(_list634.size); - long _elem635; - for (int _i636 = 0; _i636 < _list634.size; ++_i636) + org.apache.thrift.protocol.TList _list642 = iprot.readListBegin(); + struct.txnIds = new ArrayList(_list642.size); + long _elem643; + for (int _i644 = 0; _i644 < _list642.size; ++_i644) { - _elem635 = iprot.readI64(); - struct.txnIds.add(_elem635); + _elem643 = iprot.readI64(); + struct.txnIds.add(_elem643); } iprot.readListEnd(); } @@ -742,14 +742,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AllocateTableWriteI case 5: // SRC_TXN_TO_WRITE_ID_LIST if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list637 = iprot.readListBegin(); - struct.srcTxnToWriteIdList = new ArrayList(_list637.size); - TxnToWriteId _elem638; - for (int _i639 = 0; _i639 < _list637.size; ++_i639) + org.apache.thrift.protocol.TList _list645 = iprot.readListBegin(); + struct.srcTxnToWriteIdList = new ArrayList(_list645.size); + TxnToWriteId _elem646; + for (int _i647 = 0; _i647 < _list645.size; ++_i647) { - _elem638 = new TxnToWriteId(); - _elem638.read(iprot); - struct.srcTxnToWriteIdList.add(_elem638); + _elem646 = new TxnToWriteId(); + _elem646.read(iprot); + struct.srcTxnToWriteIdList.add(_elem646); } iprot.readListEnd(); } @@ -786,9 +786,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AllocateTableWrite oprot.writeFieldBegin(TXN_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.txnIds.size())); - for (long _iter640 : struct.txnIds) + for (long _iter648 : struct.txnIds) { - oprot.writeI64(_iter640); + oprot.writeI64(_iter648); } oprot.writeListEnd(); } @@ -807,9 +807,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AllocateTableWrite oprot.writeFieldBegin(SRC_TXN_TO_WRITE_ID_LIST_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.srcTxnToWriteIdList.size())); - for (TxnToWriteId _iter641 : struct.srcTxnToWriteIdList) + for (TxnToWriteId _iter649 : struct.srcTxnToWriteIdList) { - _iter641.write(oprot); + _iter649.write(oprot); } oprot.writeListEnd(); } @@ -849,9 +849,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteI if (struct.isSetTxnIds()) { { oprot.writeI32(struct.txnIds.size()); - for (long _iter642 : struct.txnIds) + for (long _iter650 : struct.txnIds) { - oprot.writeI64(_iter642); + oprot.writeI64(_iter650); } } } @@ -861,9 +861,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteI if (struct.isSetSrcTxnToWriteIdList()) { { oprot.writeI32(struct.srcTxnToWriteIdList.size()); - for (TxnToWriteId _iter643 : struct.srcTxnToWriteIdList) + for (TxnToWriteId _iter651 : struct.srcTxnToWriteIdList) { - _iter643.write(oprot); + _iter651.write(oprot); } } } @@ -879,13 +879,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteId BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list644 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txnIds = new ArrayList(_list644.size); - long _elem645; - for (int _i646 = 0; _i646 < _list644.size; ++_i646) + org.apache.thrift.protocol.TList _list652 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txnIds = new ArrayList(_list652.size); + long _elem653; + for (int _i654 = 0; _i654 < _list652.size; ++_i654) { - _elem645 = iprot.readI64(); - struct.txnIds.add(_elem645); + _elem653 = iprot.readI64(); + struct.txnIds.add(_elem653); } } struct.setTxnIdsIsSet(true); @@ -896,14 +896,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteId } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list647 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.srcTxnToWriteIdList = new ArrayList(_list647.size); - TxnToWriteId _elem648; - for (int _i649 = 0; _i649 < _list647.size; ++_i649) + org.apache.thrift.protocol.TList _list655 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.srcTxnToWriteIdList = new ArrayList(_list655.size); + TxnToWriteId _elem656; + for (int _i657 = 0; _i657 < _list655.size; ++_i657) { - _elem648 = new TxnToWriteId(); - _elem648.read(iprot); - struct.srcTxnToWriteIdList.add(_elem648); + _elem656 = new TxnToWriteId(); + _elem656.read(iprot); + struct.srcTxnToWriteIdList.add(_elem656); } } struct.setSrcTxnToWriteIdListIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsResponse.java index 13df26d5fd5fa6766344982d605dc4854e6ccbfe..2a13eba708f177b26bbbd7455ce71101a33ea0b5 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AllocateTableWriteI case 1: // TXN_TO_WRITE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list650 = iprot.readListBegin(); - struct.txnToWriteIds = new ArrayList(_list650.size); - TxnToWriteId _elem651; - for (int _i652 = 0; _i652 < _list650.size; ++_i652) + org.apache.thrift.protocol.TList _list658 = iprot.readListBegin(); + struct.txnToWriteIds = new ArrayList(_list658.size); + TxnToWriteId _elem659; + for (int _i660 = 0; _i660 < _list658.size; ++_i660) { - _elem651 = new TxnToWriteId(); - _elem651.read(iprot); - struct.txnToWriteIds.add(_elem651); + _elem659 = new TxnToWriteId(); + _elem659.read(iprot); + struct.txnToWriteIds.add(_elem659); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AllocateTableWrite oprot.writeFieldBegin(TXN_TO_WRITE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.txnToWriteIds.size())); - for (TxnToWriteId _iter653 : struct.txnToWriteIds) + for (TxnToWriteId _iter661 : struct.txnToWriteIds) { - _iter653.write(oprot); + _iter661.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteI TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.txnToWriteIds.size()); - for (TxnToWriteId _iter654 : struct.txnToWriteIds) + for (TxnToWriteId _iter662 : struct.txnToWriteIds) { - _iter654.write(oprot); + _iter662.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteI public void read(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteIdsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list655 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.txnToWriteIds = new ArrayList(_list655.size); - TxnToWriteId _elem656; - for (int _i657 = 0; _i657 < _list655.size; ++_i657) + org.apache.thrift.protocol.TList _list663 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.txnToWriteIds = new ArrayList(_list663.size); + TxnToWriteId _elem664; + for (int _i665 = 0; _i665 < _list663.size; ++_i665) { - _elem656 = new TxnToWriteId(); - _elem656.read(iprot); - struct.txnToWriteIds.add(_elem656); + _elem664 = new TxnToWriteId(); + _elem664.read(iprot); + struct.txnToWriteIds.add(_elem664); } } struct.setTxnToWriteIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckConstraintsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckConstraintsResponse.java index 8d4f7be8fa9aab0a7cfc8dee7d1f3e27812ec250..68582058ab159126dab71e68a665a81ba9781231 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckConstraintsResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckConstraintsResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CheckConstraintsRes case 1: // CHECK_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list360 = iprot.readListBegin(); - struct.checkConstraints = new ArrayList(_list360.size); - SQLCheckConstraint _elem361; - for (int _i362 = 0; _i362 < _list360.size; ++_i362) + org.apache.thrift.protocol.TList _list368 = iprot.readListBegin(); + struct.checkConstraints = new ArrayList(_list368.size); + SQLCheckConstraint _elem369; + for (int _i370 = 0; _i370 < _list368.size; ++_i370) { - _elem361 = new SQLCheckConstraint(); - _elem361.read(iprot); - struct.checkConstraints.add(_elem361); + _elem369 = new SQLCheckConstraint(); + _elem369.read(iprot); + struct.checkConstraints.add(_elem369); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CheckConstraintsRe oprot.writeFieldBegin(CHECK_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.checkConstraints.size())); - for (SQLCheckConstraint _iter363 : struct.checkConstraints) + for (SQLCheckConstraint _iter371 : struct.checkConstraints) { - _iter363.write(oprot); + _iter371.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, CheckConstraintsRes TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.checkConstraints.size()); - for (SQLCheckConstraint _iter364 : struct.checkConstraints) + for (SQLCheckConstraint _iter372 : struct.checkConstraints) { - _iter364.write(oprot); + _iter372.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, CheckConstraintsRes public void read(org.apache.thrift.protocol.TProtocol prot, CheckConstraintsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list365 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.checkConstraints = new ArrayList(_list365.size); - SQLCheckConstraint _elem366; - for (int _i367 = 0; _i367 < _list365.size; ++_i367) + org.apache.thrift.protocol.TList _list373 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.checkConstraints = new ArrayList(_list373.size); + SQLCheckConstraint _elem374; + for (int _i375 = 0; _i375 < _list373.size; ++_i375) { - _elem366 = new SQLCheckConstraint(); - _elem366.read(iprot); - struct.checkConstraints.add(_elem366); + _elem374 = new SQLCheckConstraint(); + _elem374.read(iprot); + struct.checkConstraints.add(_elem374); } } struct.setCheckConstraintsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java index 6ce7214c9d8b989b6008ae7b2ca1d3878a84af32..cb755007d6e878251a82d9bfc402cbd754cd77e8 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java @@ -451,14 +451,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ColumnStatistics st case 2: // STATS_OBJ if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list268 = iprot.readListBegin(); - struct.statsObj = new ArrayList(_list268.size); - ColumnStatisticsObj _elem269; - for (int _i270 = 0; _i270 < _list268.size; ++_i270) + org.apache.thrift.protocol.TList _list276 = iprot.readListBegin(); + struct.statsObj = new ArrayList(_list276.size); + ColumnStatisticsObj _elem277; + for (int _i278 = 0; _i278 < _list276.size; ++_i278) { - _elem269 = new ColumnStatisticsObj(); - _elem269.read(iprot); - struct.statsObj.add(_elem269); + _elem277 = new ColumnStatisticsObj(); + _elem277.read(iprot); + struct.statsObj.add(_elem277); } iprot.readListEnd(); } @@ -489,9 +489,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ColumnStatistics s oprot.writeFieldBegin(STATS_OBJ_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.statsObj.size())); - for (ColumnStatisticsObj _iter271 : struct.statsObj) + for (ColumnStatisticsObj _iter279 : struct.statsObj) { - _iter271.write(oprot); + _iter279.write(oprot); } oprot.writeListEnd(); } @@ -517,9 +517,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ColumnStatistics st struct.statsDesc.write(oprot); { oprot.writeI32(struct.statsObj.size()); - for (ColumnStatisticsObj _iter272 : struct.statsObj) + for (ColumnStatisticsObj _iter280 : struct.statsObj) { - _iter272.write(oprot); + _iter280.write(oprot); } } } @@ -531,14 +531,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ColumnStatistics str struct.statsDesc.read(iprot); struct.setStatsDescIsSet(true); { - org.apache.thrift.protocol.TList _list273 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.statsObj = new ArrayList(_list273.size); - ColumnStatisticsObj _elem274; - for (int _i275 = 0; _i275 < _list273.size; ++_i275) + org.apache.thrift.protocol.TList _list281 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.statsObj = new ArrayList(_list281.size); + ColumnStatisticsObj _elem282; + for (int _i283 = 0; _i283 < _list281.size; ++_i283) { - _elem274 = new ColumnStatisticsObj(); - _elem274.read(iprot); - struct.statsObj.add(_elem274); + _elem282 = new ColumnStatisticsObj(); + _elem282.read(iprot); + struct.statsObj.add(_elem282); } } struct.setStatsObjIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java index f29595886b3f0cae3ef6d0e64624db15f1a9a435..cdebe56e762f3c8a445a8e6b7a4e1220172a15b4 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java @@ -129,7 +129,7 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.WRITE_EVENT_INFOS, new org.apache.thrift.meta_data.FieldMetaData("writeEventInfos", org.apache.thrift.TFieldRequirementType.OPTIONAL, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT , "WriteEventInfo")))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, WriteEventInfo.class)))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(CommitTxnRequest.class, metaDataMap); } @@ -157,7 +157,7 @@ public CommitTxnRequest(CommitTxnRequest other) { if (other.isSetWriteEventInfos()) { List __this__writeEventInfos = new ArrayList(other.writeEventInfos.size()); for (WriteEventInfo other_element : other.writeEventInfos) { - __this__writeEventInfos.add(other_element); + __this__writeEventInfos.add(new WriteEventInfo(other_element)); } this.writeEventInfos = __this__writeEventInfos; } @@ -533,14 +533,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CommitTxnRequest st case 3: // WRITE_EVENT_INFOS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list594 = iprot.readListBegin(); - struct.writeEventInfos = new ArrayList(_list594.size); - WriteEventInfo _elem595; - for (int _i596 = 0; _i596 < _list594.size; ++_i596) + org.apache.thrift.protocol.TList _list602 = iprot.readListBegin(); + struct.writeEventInfos = new ArrayList(_list602.size); + WriteEventInfo _elem603; + for (int _i604 = 0; _i604 < _list602.size; ++_i604) { - _elem595 = new WriteEventInfo(); - _elem595.read(iprot); - struct.writeEventInfos.add(_elem595); + _elem603 = new WriteEventInfo(); + _elem603.read(iprot); + struct.writeEventInfos.add(_elem603); } iprot.readListEnd(); } @@ -577,9 +577,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CommitTxnRequest s oprot.writeFieldBegin(WRITE_EVENT_INFOS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.writeEventInfos.size())); - for (WriteEventInfo _iter597 : struct.writeEventInfos) + for (WriteEventInfo _iter605 : struct.writeEventInfos) { - _iter597.write(oprot); + _iter605.write(oprot); } oprot.writeListEnd(); } @@ -618,9 +618,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, CommitTxnRequest st if (struct.isSetWriteEventInfos()) { { oprot.writeI32(struct.writeEventInfos.size()); - for (WriteEventInfo _iter598 : struct.writeEventInfos) + for (WriteEventInfo _iter606 : struct.writeEventInfos) { - _iter598.write(oprot); + _iter606.write(oprot); } } } @@ -638,14 +638,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CommitTxnRequest str } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list599 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.writeEventInfos = new ArrayList(_list599.size); - WriteEventInfo _elem600; - for (int _i601 = 0; _i601 < _list599.size; ++_i601) + org.apache.thrift.protocol.TList _list607 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.writeEventInfos = new ArrayList(_list607.size); + WriteEventInfo _elem608; + for (int _i609 = 0; _i609 < _list607.size; ++_i609) { - _elem600 = new WriteEventInfo(); - _elem600.read(iprot); - struct.writeEventInfos.add(_elem600); + _elem608 = new WriteEventInfo(); + _elem608.read(iprot); + struct.writeEventInfos.add(_elem608); } } struct.setWriteEventInfosIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java index 57eb5efffb6fbee24095a2d070cf57f196f0306d..dd6df744cb60f35cff5cb58e7679e4a2b8d19ffc 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java @@ -814,15 +814,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CompactionRequest s case 6: // PROPERTIES if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map690 = iprot.readMapBegin(); - struct.properties = new HashMap(2*_map690.size); - String _key691; - String _val692; - for (int _i693 = 0; _i693 < _map690.size; ++_i693) + org.apache.thrift.protocol.TMap _map698 = iprot.readMapBegin(); + struct.properties = new HashMap(2*_map698.size); + String _key699; + String _val700; + for (int _i701 = 0; _i701 < _map698.size; ++_i701) { - _key691 = iprot.readString(); - _val692 = iprot.readString(); - struct.properties.put(_key691, _val692); + _key699 = iprot.readString(); + _val700 = iprot.readString(); + struct.properties.put(_key699, _val700); } iprot.readMapEnd(); } @@ -878,10 +878,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CompactionRequest oprot.writeFieldBegin(PROPERTIES_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.properties.size())); - for (Map.Entry _iter694 : struct.properties.entrySet()) + for (Map.Entry _iter702 : struct.properties.entrySet()) { - oprot.writeString(_iter694.getKey()); - oprot.writeString(_iter694.getValue()); + oprot.writeString(_iter702.getKey()); + oprot.writeString(_iter702.getValue()); } oprot.writeMapEnd(); } @@ -928,10 +928,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, CompactionRequest s if (struct.isSetProperties()) { { oprot.writeI32(struct.properties.size()); - for (Map.Entry _iter695 : struct.properties.entrySet()) + for (Map.Entry _iter703 : struct.properties.entrySet()) { - oprot.writeString(_iter695.getKey()); - oprot.writeString(_iter695.getValue()); + oprot.writeString(_iter703.getKey()); + oprot.writeString(_iter703.getValue()); } } } @@ -957,15 +957,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CompactionRequest st } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map696 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.properties = new HashMap(2*_map696.size); - String _key697; - String _val698; - for (int _i699 = 0; _i699 < _map696.size; ++_i699) + org.apache.thrift.protocol.TMap _map704 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.properties = new HashMap(2*_map704.size); + String _key705; + String _val706; + for (int _i707 = 0; _i707 < _map704.size; ++_i707) { - _key697 = iprot.readString(); - _val698 = iprot.readString(); - struct.properties.put(_key697, _val698); + _key705 = iprot.readString(); + _val706 = iprot.readString(); + struct.properties.put(_key705, _val706); } } struct.setPropertiesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java index 281dada8a6084791e2604e8bde9615651b48ec13..5e2478417752b0ae23f1e4810b752faf0b3f99ca 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java @@ -792,13 +792,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CreationMetadata st case 4: // TABLES_USED if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set716 = iprot.readSetBegin(); - struct.tablesUsed = new HashSet(2*_set716.size); - String _elem717; - for (int _i718 = 0; _i718 < _set716.size; ++_i718) + org.apache.thrift.protocol.TSet _set198 = iprot.readSetBegin(); + struct.tablesUsed = new HashSet(2*_set198.size); + String _elem199; + for (int _i200 = 0; _i200 < _set198.size; ++_i200) { - _elem717 = iprot.readString(); - struct.tablesUsed.add(_elem717); + _elem199 = iprot.readString(); + struct.tablesUsed.add(_elem199); } iprot.readSetEnd(); } @@ -855,9 +855,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CreationMetadata s oprot.writeFieldBegin(TABLES_USED_FIELD_DESC); { oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, struct.tablesUsed.size())); - for (String _iter719 : struct.tablesUsed) + for (String _iter201 : struct.tablesUsed) { - oprot.writeString(_iter719); + oprot.writeString(_iter201); } oprot.writeSetEnd(); } @@ -897,9 +897,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, CreationMetadata st oprot.writeString(struct.tblName); { oprot.writeI32(struct.tablesUsed.size()); - for (String _iter720 : struct.tablesUsed) + for (String _iter202 : struct.tablesUsed) { - oprot.writeString(_iter720); + oprot.writeString(_iter202); } } BitSet optionals = new BitSet(); @@ -928,13 +928,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CreationMetadata str struct.tblName = iprot.readString(); struct.setTblNameIsSet(true); { - org.apache.thrift.protocol.TSet _set721 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tablesUsed = new HashSet(2*_set721.size); - String _elem722; - for (int _i723 = 0; _i723 < _set721.size; ++_i723) + org.apache.thrift.protocol.TSet _set203 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tablesUsed = new HashSet(2*_set203.size); + String _elem204; + for (int _i205 = 0; _i205 < _set203.size; ++_i205) { - _elem722 = iprot.readString(); - struct.tablesUsed.add(_elem722); + _elem204 = iprot.readString(); + struct.tablesUsed.add(_elem204); } } struct.setTablesUsedIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DefaultConstraintsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DefaultConstraintsResponse.java index 47b8d1cef059ac7e8a61d8cb5baa5468f5d2593b..e29932c5abe88217414c31c81d431dfc519e2969 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DefaultConstraintsResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DefaultConstraintsResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, DefaultConstraintsR case 1: // DEFAULT_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list352 = iprot.readListBegin(); - struct.defaultConstraints = new ArrayList(_list352.size); - SQLDefaultConstraint _elem353; - for (int _i354 = 0; _i354 < _list352.size; ++_i354) + org.apache.thrift.protocol.TList _list360 = iprot.readListBegin(); + struct.defaultConstraints = new ArrayList(_list360.size); + SQLDefaultConstraint _elem361; + for (int _i362 = 0; _i362 < _list360.size; ++_i362) { - _elem353 = new SQLDefaultConstraint(); - _elem353.read(iprot); - struct.defaultConstraints.add(_elem353); + _elem361 = new SQLDefaultConstraint(); + _elem361.read(iprot); + struct.defaultConstraints.add(_elem361); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, DefaultConstraints oprot.writeFieldBegin(DEFAULT_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.defaultConstraints.size())); - for (SQLDefaultConstraint _iter355 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter363 : struct.defaultConstraints) { - _iter355.write(oprot); + _iter363.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, DefaultConstraintsR TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.defaultConstraints.size()); - for (SQLDefaultConstraint _iter356 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter364 : struct.defaultConstraints) { - _iter356.write(oprot); + _iter364.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, DefaultConstraintsR public void read(org.apache.thrift.protocol.TProtocol prot, DefaultConstraintsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list357 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.defaultConstraints = new ArrayList(_list357.size); - SQLDefaultConstraint _elem358; - for (int _i359 = 0; _i359 < _list357.size; ++_i359) + org.apache.thrift.protocol.TList _list365 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.defaultConstraints = new ArrayList(_list365.size); + SQLDefaultConstraint _elem366; + for (int _i367 = 0; _i367 < _list365.size; ++_i367) { - _elem358 = new SQLDefaultConstraint(); - _elem358.read(iprot); - struct.defaultConstraints.add(_elem358); + _elem366 = new SQLDefaultConstraint(); + _elem366.read(iprot); + struct.defaultConstraints.add(_elem366); } } struct.setDefaultConstraintsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java index 0f2216866400eb03b7be4dbebea1e5e3d500e92f..0a7d3b5bca893f7c673bc60fd16b655f362a33e2 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java @@ -346,14 +346,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, DropPartitionsResul case 1: // PARTITIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list490 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list490.size); - Partition _elem491; - for (int _i492 = 0; _i492 < _list490.size; ++_i492) + org.apache.thrift.protocol.TList _list498 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list498.size); + Partition _elem499; + for (int _i500 = 0; _i500 < _list498.size; ++_i500) { - _elem491 = new Partition(); - _elem491.read(iprot); - struct.partitions.add(_elem491); + _elem499 = new Partition(); + _elem499.read(iprot); + struct.partitions.add(_elem499); } iprot.readListEnd(); } @@ -380,9 +380,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, DropPartitionsResu oprot.writeFieldBegin(PARTITIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size())); - for (Partition _iter493 : struct.partitions) + for (Partition _iter501 : struct.partitions) { - _iter493.write(oprot); + _iter501.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, DropPartitionsResul if (struct.isSetPartitions()) { { oprot.writeI32(struct.partitions.size()); - for (Partition _iter494 : struct.partitions) + for (Partition _iter502 : struct.partitions) { - _iter494.write(oprot); + _iter502.write(oprot); } } } @@ -428,14 +428,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, DropPartitionsResult BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list495 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitions = new ArrayList(_list495.size); - Partition _elem496; - for (int _i497 = 0; _i497 < _list495.size; ++_i497) + org.apache.thrift.protocol.TList _list503 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitions = new ArrayList(_list503.size); + Partition _elem504; + for (int _i505 = 0; _i505 < _list503.size; ++_i505) { - _elem496 = new Partition(); - _elem496.read(iprot); - struct.partitions.add(_elem496); + _elem504 = new Partition(); + _elem504.read(iprot); + struct.partitions.add(_elem504); } } struct.setPartitionsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java index 52fae262130804f21c2bcf90565ed79a015c0ba1..a128dacd898ea548b535373ffdd87d8b5398056c 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java @@ -344,15 +344,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, EnvironmentContext case 1: // PROPERTIES if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map310 = iprot.readMapBegin(); - struct.properties = new HashMap(2*_map310.size); - String _key311; - String _val312; - for (int _i313 = 0; _i313 < _map310.size; ++_i313) + org.apache.thrift.protocol.TMap _map318 = iprot.readMapBegin(); + struct.properties = new HashMap(2*_map318.size); + String _key319; + String _val320; + for (int _i321 = 0; _i321 < _map318.size; ++_i321) { - _key311 = iprot.readString(); - _val312 = iprot.readString(); - struct.properties.put(_key311, _val312); + _key319 = iprot.readString(); + _val320 = iprot.readString(); + struct.properties.put(_key319, _val320); } iprot.readMapEnd(); } @@ -378,10 +378,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, EnvironmentContext oprot.writeFieldBegin(PROPERTIES_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.properties.size())); - for (Map.Entry _iter314 : struct.properties.entrySet()) + for (Map.Entry _iter322 : struct.properties.entrySet()) { - oprot.writeString(_iter314.getKey()); - oprot.writeString(_iter314.getValue()); + oprot.writeString(_iter322.getKey()); + oprot.writeString(_iter322.getValue()); } oprot.writeMapEnd(); } @@ -412,10 +412,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, EnvironmentContext if (struct.isSetProperties()) { { oprot.writeI32(struct.properties.size()); - for (Map.Entry _iter315 : struct.properties.entrySet()) + for (Map.Entry _iter323 : struct.properties.entrySet()) { - oprot.writeString(_iter315.getKey()); - oprot.writeString(_iter315.getValue()); + oprot.writeString(_iter323.getKey()); + oprot.writeString(_iter323.getValue()); } } } @@ -427,15 +427,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, EnvironmentContext s BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map316 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.properties = new HashMap(2*_map316.size); - String _key317; - String _val318; - for (int _i319 = 0; _i319 < _map316.size; ++_i319) + org.apache.thrift.protocol.TMap _map324 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.properties = new HashMap(2*_map324.size); + String _key325; + String _val326; + for (int _i327 = 0; _i327 < _map324.size; ++_i327) { - _key317 = iprot.readString(); - _val318 = iprot.readString(); - struct.properties.put(_key317, _val318); + _key325 = iprot.readString(); + _val326 = iprot.readString(); + struct.properties.put(_key325, _val326); } } struct.setPropertiesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ForeignKeysResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ForeignKeysResponse.java index 289050645347b5937d900b75a9ac490dfcbd005e..8fae31cba03951f423c4a5a1d59cb2ae2f0a3b2c 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ForeignKeysResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ForeignKeysResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ForeignKeysResponse case 1: // FOREIGN_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list328 = iprot.readListBegin(); - struct.foreignKeys = new ArrayList(_list328.size); - SQLForeignKey _elem329; - for (int _i330 = 0; _i330 < _list328.size; ++_i330) + org.apache.thrift.protocol.TList _list336 = iprot.readListBegin(); + struct.foreignKeys = new ArrayList(_list336.size); + SQLForeignKey _elem337; + for (int _i338 = 0; _i338 < _list336.size; ++_i338) { - _elem329 = new SQLForeignKey(); - _elem329.read(iprot); - struct.foreignKeys.add(_elem329); + _elem337 = new SQLForeignKey(); + _elem337.read(iprot); + struct.foreignKeys.add(_elem337); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ForeignKeysRespons oprot.writeFieldBegin(FOREIGN_KEYS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.foreignKeys.size())); - for (SQLForeignKey _iter331 : struct.foreignKeys) + for (SQLForeignKey _iter339 : struct.foreignKeys) { - _iter331.write(oprot); + _iter339.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ForeignKeysResponse TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.foreignKeys.size()); - for (SQLForeignKey _iter332 : struct.foreignKeys) + for (SQLForeignKey _iter340 : struct.foreignKeys) { - _iter332.write(oprot); + _iter340.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ForeignKeysResponse public void read(org.apache.thrift.protocol.TProtocol prot, ForeignKeysResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list333 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.foreignKeys = new ArrayList(_list333.size); - SQLForeignKey _elem334; - for (int _i335 = 0; _i335 < _list333.size; ++_i335) + org.apache.thrift.protocol.TList _list341 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.foreignKeys = new ArrayList(_list341.size); + SQLForeignKey _elem342; + for (int _i343 = 0; _i343 < _list341.size; ++_i343) { - _elem334 = new SQLForeignKey(); - _elem334.read(iprot); - struct.foreignKeys.add(_elem334); + _elem342 = new SQLForeignKey(); + _elem342.read(iprot); + struct.foreignKeys.add(_elem342); } } struct.setForeignKeysIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java index a1c0de95bd334a3f67986e7d7a2acbebc15584e7..ce0feb929d705bef7bcc50f02d7e9910df9708a5 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java @@ -1079,14 +1079,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Function struct) th case 8: // RESOURCE_URIS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list546 = iprot.readListBegin(); - struct.resourceUris = new ArrayList(_list546.size); - ResourceUri _elem547; - for (int _i548 = 0; _i548 < _list546.size; ++_i548) + org.apache.thrift.protocol.TList _list554 = iprot.readListBegin(); + struct.resourceUris = new ArrayList(_list554.size); + ResourceUri _elem555; + for (int _i556 = 0; _i556 < _list554.size; ++_i556) { - _elem547 = new ResourceUri(); - _elem547.read(iprot); - struct.resourceUris.add(_elem547); + _elem555 = new ResourceUri(); + _elem555.read(iprot); + struct.resourceUris.add(_elem555); } iprot.readListEnd(); } @@ -1153,9 +1153,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Function struct) t oprot.writeFieldBegin(RESOURCE_URIS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.resourceUris.size())); - for (ResourceUri _iter549 : struct.resourceUris) + for (ResourceUri _iter557 : struct.resourceUris) { - _iter549.write(oprot); + _iter557.write(oprot); } oprot.writeListEnd(); } @@ -1238,9 +1238,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Function struct) th if (struct.isSetResourceUris()) { { oprot.writeI32(struct.resourceUris.size()); - for (ResourceUri _iter550 : struct.resourceUris) + for (ResourceUri _iter558 : struct.resourceUris) { - _iter550.write(oprot); + _iter558.write(oprot); } } } @@ -1283,14 +1283,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Function struct) thr } if (incoming.get(7)) { { - org.apache.thrift.protocol.TList _list551 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.resourceUris = new ArrayList(_list551.size); - ResourceUri _elem552; - for (int _i553 = 0; _i553 < _list551.size; ++_i553) + org.apache.thrift.protocol.TList _list559 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.resourceUris = new ArrayList(_list559.size); + ResourceUri _elem560; + for (int _i561 = 0; _i561 < _list559.size; ++_i561) { - _elem552 = new ResourceUri(); - _elem552.read(iprot); - struct.resourceUris.add(_elem552); + _elem560 = new ResourceUri(); + _elem560.read(iprot); + struct.resourceUris.add(_elem560); } } struct.setResourceUrisIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java index 56f239eef9952150543a36889e6383a05278c869..93ca30315749eab599871b8303d6b022cdf91d98 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java @@ -447,14 +447,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetOpenTxnsInfoResp case 2: // OPEN_TXNS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list554 = iprot.readListBegin(); - struct.open_txns = new ArrayList(_list554.size); - TxnInfo _elem555; - for (int _i556 = 0; _i556 < _list554.size; ++_i556) + org.apache.thrift.protocol.TList _list562 = iprot.readListBegin(); + struct.open_txns = new ArrayList(_list562.size); + TxnInfo _elem563; + for (int _i564 = 0; _i564 < _list562.size; ++_i564) { - _elem555 = new TxnInfo(); - _elem555.read(iprot); - struct.open_txns.add(_elem555); + _elem563 = new TxnInfo(); + _elem563.read(iprot); + struct.open_txns.add(_elem563); } iprot.readListEnd(); } @@ -483,9 +483,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetOpenTxnsInfoRes oprot.writeFieldBegin(OPEN_TXNS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.open_txns.size())); - for (TxnInfo _iter557 : struct.open_txns) + for (TxnInfo _iter565 : struct.open_txns) { - _iter557.write(oprot); + _iter565.write(oprot); } oprot.writeListEnd(); } @@ -511,9 +511,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsInfoResp oprot.writeI64(struct.txn_high_water_mark); { oprot.writeI32(struct.open_txns.size()); - for (TxnInfo _iter558 : struct.open_txns) + for (TxnInfo _iter566 : struct.open_txns) { - _iter558.write(oprot); + _iter566.write(oprot); } } } @@ -524,14 +524,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsInfoRespo struct.txn_high_water_mark = iprot.readI64(); struct.setTxn_high_water_markIsSet(true); { - org.apache.thrift.protocol.TList _list559 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.open_txns = new ArrayList(_list559.size); - TxnInfo _elem560; - for (int _i561 = 0; _i561 < _list559.size; ++_i561) + org.apache.thrift.protocol.TList _list567 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.open_txns = new ArrayList(_list567.size); + TxnInfo _elem568; + for (int _i569 = 0; _i569 < _list567.size; ++_i569) { - _elem560 = new TxnInfo(); - _elem560.read(iprot); - struct.open_txns.add(_elem560); + _elem568 = new TxnInfo(); + _elem568.read(iprot); + struct.open_txns.add(_elem568); } } struct.setOpen_txnsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java index 9688297b811f0af3051a2c087cabf1fcc4624cd5..c152a0aab70ec496d3e84d7ac9d37f211f97e873 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java @@ -615,13 +615,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetOpenTxnsResponse case 2: // OPEN_TXNS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list562 = iprot.readListBegin(); - struct.open_txns = new ArrayList(_list562.size); - long _elem563; - for (int _i564 = 0; _i564 < _list562.size; ++_i564) + org.apache.thrift.protocol.TList _list570 = iprot.readListBegin(); + struct.open_txns = new ArrayList(_list570.size); + long _elem571; + for (int _i572 = 0; _i572 < _list570.size; ++_i572) { - _elem563 = iprot.readI64(); - struct.open_txns.add(_elem563); + _elem571 = iprot.readI64(); + struct.open_txns.add(_elem571); } iprot.readListEnd(); } @@ -666,9 +666,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetOpenTxnsRespons oprot.writeFieldBegin(OPEN_TXNS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.open_txns.size())); - for (long _iter565 : struct.open_txns) + for (long _iter573 : struct.open_txns) { - oprot.writeI64(_iter565); + oprot.writeI64(_iter573); } oprot.writeListEnd(); } @@ -704,9 +704,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsResponse oprot.writeI64(struct.txn_high_water_mark); { oprot.writeI32(struct.open_txns.size()); - for (long _iter566 : struct.open_txns) + for (long _iter574 : struct.open_txns) { - oprot.writeI64(_iter566); + oprot.writeI64(_iter574); } } oprot.writeBinary(struct.abortedBits); @@ -726,13 +726,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsResponse struct.txn_high_water_mark = iprot.readI64(); struct.setTxn_high_water_markIsSet(true); { - org.apache.thrift.protocol.TList _list567 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.open_txns = new ArrayList(_list567.size); - long _elem568; - for (int _i569 = 0; _i569 < _list567.size; ++_i569) + org.apache.thrift.protocol.TList _list575 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.open_txns = new ArrayList(_list575.size); + long _elem576; + for (int _i577 = 0; _i577 < _list575.size; ++_i577) { - _elem568 = iprot.readI64(); - struct.open_txns.add(_elem568); + _elem576 = iprot.readI64(); + struct.open_txns.add(_elem576); } } struct.setOpen_txnsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsRequest.java index af62ca14ed71704105f63bc18b0a284a43df2c42..a5bbb86af1f05c0181debdaec4787c192f31157f 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsRequest.java @@ -436,13 +436,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetValidWriteIdsReq case 1: // FULL_TABLE_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list610 = iprot.readListBegin(); - struct.fullTableNames = new ArrayList(_list610.size); - String _elem611; - for (int _i612 = 0; _i612 < _list610.size; ++_i612) + org.apache.thrift.protocol.TList _list618 = iprot.readListBegin(); + struct.fullTableNames = new ArrayList(_list618.size); + String _elem619; + for (int _i620 = 0; _i620 < _list618.size; ++_i620) { - _elem611 = iprot.readString(); - struct.fullTableNames.add(_elem611); + _elem619 = iprot.readString(); + struct.fullTableNames.add(_elem619); } iprot.readListEnd(); } @@ -476,9 +476,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetValidWriteIdsRe oprot.writeFieldBegin(FULL_TABLE_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.fullTableNames.size())); - for (String _iter613 : struct.fullTableNames) + for (String _iter621 : struct.fullTableNames) { - oprot.writeString(_iter613); + oprot.writeString(_iter621); } oprot.writeListEnd(); } @@ -508,9 +508,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsReq TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fullTableNames.size()); - for (String _iter614 : struct.fullTableNames) + for (String _iter622 : struct.fullTableNames) { - oprot.writeString(_iter614); + oprot.writeString(_iter622); } } oprot.writeString(struct.validTxnList); @@ -520,13 +520,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsReq public void read(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list615 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.fullTableNames = new ArrayList(_list615.size); - String _elem616; - for (int _i617 = 0; _i617 < _list615.size; ++_i617) + org.apache.thrift.protocol.TList _list623 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.fullTableNames = new ArrayList(_list623.size); + String _elem624; + for (int _i625 = 0; _i625 < _list623.size; ++_i625) { - _elem616 = iprot.readString(); - struct.fullTableNames.add(_elem616); + _elem624 = iprot.readString(); + struct.fullTableNames.add(_elem624); } } struct.setFullTableNamesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsResponse.java index 615a422256be3c8312d6d82108ef21073a67e777..96a6a00572de5079d3d0687b00d3c8229018cedf 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetValidWriteIdsRes case 1: // TBL_VALID_WRITE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list626 = iprot.readListBegin(); - struct.tblValidWriteIds = new ArrayList(_list626.size); - TableValidWriteIds _elem627; - for (int _i628 = 0; _i628 < _list626.size; ++_i628) + org.apache.thrift.protocol.TList _list634 = iprot.readListBegin(); + struct.tblValidWriteIds = new ArrayList(_list634.size); + TableValidWriteIds _elem635; + for (int _i636 = 0; _i636 < _list634.size; ++_i636) { - _elem627 = new TableValidWriteIds(); - _elem627.read(iprot); - struct.tblValidWriteIds.add(_elem627); + _elem635 = new TableValidWriteIds(); + _elem635.read(iprot); + struct.tblValidWriteIds.add(_elem635); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetValidWriteIdsRe oprot.writeFieldBegin(TBL_VALID_WRITE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.tblValidWriteIds.size())); - for (TableValidWriteIds _iter629 : struct.tblValidWriteIds) + for (TableValidWriteIds _iter637 : struct.tblValidWriteIds) { - _iter629.write(oprot); + _iter637.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsRes TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.tblValidWriteIds.size()); - for (TableValidWriteIds _iter630 : struct.tblValidWriteIds) + for (TableValidWriteIds _iter638 : struct.tblValidWriteIds) { - _iter630.write(oprot); + _iter638.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsRes public void read(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list631 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tblValidWriteIds = new ArrayList(_list631.size); - TableValidWriteIds _elem632; - for (int _i633 = 0; _i633 < _list631.size; ++_i633) + org.apache.thrift.protocol.TList _list639 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.tblValidWriteIds = new ArrayList(_list639.size); + TableValidWriteIds _elem640; + for (int _i641 = 0; _i641 < _list639.size; ++_i641) { - _elem632 = new TableValidWriteIds(); - _elem632.read(iprot); - struct.tblValidWriteIds.add(_elem632); + _elem640 = new TableValidWriteIds(); + _elem640.read(iprot); + struct.tblValidWriteIds.add(_elem640); } } struct.setTblValidWriteIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java index a3dceab951eef327df4591980de5a5404e891a7f..a6535aa8fc07e188ad53ff8bf6ef8d20ff5caa21 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java @@ -453,13 +453,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, HeartbeatTxnRangeRe case 1: // ABORTED if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set674 = iprot.readSetBegin(); - struct.aborted = new HashSet(2*_set674.size); - long _elem675; - for (int _i676 = 0; _i676 < _set674.size; ++_i676) + org.apache.thrift.protocol.TSet _set682 = iprot.readSetBegin(); + struct.aborted = new HashSet(2*_set682.size); + long _elem683; + for (int _i684 = 0; _i684 < _set682.size; ++_i684) { - _elem675 = iprot.readI64(); - struct.aborted.add(_elem675); + _elem683 = iprot.readI64(); + struct.aborted.add(_elem683); } iprot.readSetEnd(); } @@ -471,13 +471,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, HeartbeatTxnRangeRe case 2: // NOSUCH if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set677 = iprot.readSetBegin(); - struct.nosuch = new HashSet(2*_set677.size); - long _elem678; - for (int _i679 = 0; _i679 < _set677.size; ++_i679) + org.apache.thrift.protocol.TSet _set685 = iprot.readSetBegin(); + struct.nosuch = new HashSet(2*_set685.size); + long _elem686; + for (int _i687 = 0; _i687 < _set685.size; ++_i687) { - _elem678 = iprot.readI64(); - struct.nosuch.add(_elem678); + _elem686 = iprot.readI64(); + struct.nosuch.add(_elem686); } iprot.readSetEnd(); } @@ -503,9 +503,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, HeartbeatTxnRangeR oprot.writeFieldBegin(ABORTED_FIELD_DESC); { oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.aborted.size())); - for (long _iter680 : struct.aborted) + for (long _iter688 : struct.aborted) { - oprot.writeI64(_iter680); + oprot.writeI64(_iter688); } oprot.writeSetEnd(); } @@ -515,9 +515,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, HeartbeatTxnRangeR oprot.writeFieldBegin(NOSUCH_FIELD_DESC); { oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.nosuch.size())); - for (long _iter681 : struct.nosuch) + for (long _iter689 : struct.nosuch) { - oprot.writeI64(_iter681); + oprot.writeI64(_iter689); } oprot.writeSetEnd(); } @@ -542,16 +542,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeRe TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.aborted.size()); - for (long _iter682 : struct.aborted) + for (long _iter690 : struct.aborted) { - oprot.writeI64(_iter682); + oprot.writeI64(_iter690); } } { oprot.writeI32(struct.nosuch.size()); - for (long _iter683 : struct.nosuch) + for (long _iter691 : struct.nosuch) { - oprot.writeI64(_iter683); + oprot.writeI64(_iter691); } } } @@ -560,24 +560,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeRe public void read(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TSet _set684 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.aborted = new HashSet(2*_set684.size); - long _elem685; - for (int _i686 = 0; _i686 < _set684.size; ++_i686) + org.apache.thrift.protocol.TSet _set692 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.aborted = new HashSet(2*_set692.size); + long _elem693; + for (int _i694 = 0; _i694 < _set692.size; ++_i694) { - _elem685 = iprot.readI64(); - struct.aborted.add(_elem685); + _elem693 = iprot.readI64(); + struct.aborted.add(_elem693); } } struct.setAbortedIsSet(true); { - org.apache.thrift.protocol.TSet _set687 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.nosuch = new HashSet(2*_set687.size); - long _elem688; - for (int _i689 = 0; _i689 < _set687.size; ++_i689) + org.apache.thrift.protocol.TSet _set695 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.nosuch = new HashSet(2*_set695.size); + long _elem696; + for (int _i697 = 0; _i697 < _set695.size; ++_i697) { - _elem688 = iprot.readI64(); - struct.nosuch.add(_elem688); + _elem696 = iprot.readI64(); + struct.nosuch.add(_elem696); } } struct.setNosuchIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java index d4eed3254ca54c2dc1d83de0e65038789f1ece71..cabed5af7247e559a76456745da6c94d2fad67ba 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java @@ -689,14 +689,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, LockRequest struct) case 1: // COMPONENT if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list658 = iprot.readListBegin(); - struct.component = new ArrayList(_list658.size); - LockComponent _elem659; - for (int _i660 = 0; _i660 < _list658.size; ++_i660) + org.apache.thrift.protocol.TList _list666 = iprot.readListBegin(); + struct.component = new ArrayList(_list666.size); + LockComponent _elem667; + for (int _i668 = 0; _i668 < _list666.size; ++_i668) { - _elem659 = new LockComponent(); - _elem659.read(iprot); - struct.component.add(_elem659); + _elem667 = new LockComponent(); + _elem667.read(iprot); + struct.component.add(_elem667); } iprot.readListEnd(); } @@ -754,9 +754,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, LockRequest struct oprot.writeFieldBegin(COMPONENT_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.component.size())); - for (LockComponent _iter661 : struct.component) + for (LockComponent _iter669 : struct.component) { - _iter661.write(oprot); + _iter669.write(oprot); } oprot.writeListEnd(); } @@ -803,9 +803,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.component.size()); - for (LockComponent _iter662 : struct.component) + for (LockComponent _iter670 : struct.component) { - _iter662.write(oprot); + _iter670.write(oprot); } } oprot.writeString(struct.user); @@ -830,14 +830,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) public void read(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list663 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.component = new ArrayList(_list663.size); - LockComponent _elem664; - for (int _i665 = 0; _i665 < _list663.size; ++_i665) + org.apache.thrift.protocol.TList _list671 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.component = new ArrayList(_list671.size); + LockComponent _elem672; + for (int _i673 = 0; _i673 < _list671.size; ++_i673) { - _elem664 = new LockComponent(); - _elem664.read(iprot); - struct.component.add(_elem664); + _elem672 = new LockComponent(); + _elem672.read(iprot); + struct.component.add(_elem672); } } struct.setComponentIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotNullConstraintsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotNullConstraintsResponse.java index 002ca13211334ec732b74337df9abd7397b58871..54070adee31f76f741324317220893d05c9f3f0e 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotNullConstraintsResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotNullConstraintsResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, NotNullConstraintsR case 1: // NOT_NULL_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list344 = iprot.readListBegin(); - struct.notNullConstraints = new ArrayList(_list344.size); - SQLNotNullConstraint _elem345; - for (int _i346 = 0; _i346 < _list344.size; ++_i346) + org.apache.thrift.protocol.TList _list352 = iprot.readListBegin(); + struct.notNullConstraints = new ArrayList(_list352.size); + SQLNotNullConstraint _elem353; + for (int _i354 = 0; _i354 < _list352.size; ++_i354) { - _elem345 = new SQLNotNullConstraint(); - _elem345.read(iprot); - struct.notNullConstraints.add(_elem345); + _elem353 = new SQLNotNullConstraint(); + _elem353.read(iprot); + struct.notNullConstraints.add(_elem353); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, NotNullConstraints oprot.writeFieldBegin(NOT_NULL_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.notNullConstraints.size())); - for (SQLNotNullConstraint _iter347 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter355 : struct.notNullConstraints) { - _iter347.write(oprot); + _iter355.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotNullConstraintsR TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.notNullConstraints.size()); - for (SQLNotNullConstraint _iter348 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter356 : struct.notNullConstraints) { - _iter348.write(oprot); + _iter356.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotNullConstraintsR public void read(org.apache.thrift.protocol.TProtocol prot, NotNullConstraintsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list349 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.notNullConstraints = new ArrayList(_list349.size); - SQLNotNullConstraint _elem350; - for (int _i351 = 0; _i351 < _list349.size; ++_i351) + org.apache.thrift.protocol.TList _list357 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.notNullConstraints = new ArrayList(_list357.size); + SQLNotNullConstraint _elem358; + for (int _i359 = 0; _i359 < _list357.size; ++_i359) { - _elem350 = new SQLNotNullConstraint(); - _elem350.read(iprot); - struct.notNullConstraints.add(_elem350); + _elem358 = new SQLNotNullConstraint(); + _elem358.read(iprot); + struct.notNullConstraints.add(_elem358); } } struct.setNotNullConstraintsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java index 2dae2e952b040e27fb727acd34bc06adccb45310..19b2c01b3a7cd03ee336914e493987e2c376e962 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java @@ -808,13 +808,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, OpenTxnRequest stru case 6: // REPL_SRC_TXN_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list570 = iprot.readListBegin(); - struct.replSrcTxnIds = new ArrayList(_list570.size); - long _elem571; - for (int _i572 = 0; _i572 < _list570.size; ++_i572) + org.apache.thrift.protocol.TList _list578 = iprot.readListBegin(); + struct.replSrcTxnIds = new ArrayList(_list578.size); + long _elem579; + for (int _i580 = 0; _i580 < _list578.size; ++_i580) { - _elem571 = iprot.readI64(); - struct.replSrcTxnIds.add(_elem571); + _elem579 = iprot.readI64(); + struct.replSrcTxnIds.add(_elem579); } iprot.readListEnd(); } @@ -868,9 +868,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, OpenTxnRequest str oprot.writeFieldBegin(REPL_SRC_TXN_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.replSrcTxnIds.size())); - for (long _iter573 : struct.replSrcTxnIds) + for (long _iter581 : struct.replSrcTxnIds) { - oprot.writeI64(_iter573); + oprot.writeI64(_iter581); } oprot.writeListEnd(); } @@ -917,9 +917,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, OpenTxnRequest stru if (struct.isSetReplSrcTxnIds()) { { oprot.writeI32(struct.replSrcTxnIds.size()); - for (long _iter574 : struct.replSrcTxnIds) + for (long _iter582 : struct.replSrcTxnIds) { - oprot.writeI64(_iter574); + oprot.writeI64(_iter582); } } } @@ -945,13 +945,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, OpenTxnRequest struc } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list575 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.replSrcTxnIds = new ArrayList(_list575.size); - long _elem576; - for (int _i577 = 0; _i577 < _list575.size; ++_i577) + org.apache.thrift.protocol.TList _list583 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.replSrcTxnIds = new ArrayList(_list583.size); + long _elem584; + for (int _i585 = 0; _i585 < _list583.size; ++_i585) { - _elem576 = iprot.readI64(); - struct.replSrcTxnIds.add(_elem576); + _elem584 = iprot.readI64(); + struct.replSrcTxnIds.add(_elem584); } } struct.setReplSrcTxnIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java index 9e38d6cb708c446bef3983722d6188f9ee10c6b6..71a2c4fd8064d3ea55f3df68006464eda27446a3 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, OpenTxnsResponse st case 1: // TXN_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list578 = iprot.readListBegin(); - struct.txn_ids = new ArrayList(_list578.size); - long _elem579; - for (int _i580 = 0; _i580 < _list578.size; ++_i580) + org.apache.thrift.protocol.TList _list586 = iprot.readListBegin(); + struct.txn_ids = new ArrayList(_list586.size); + long _elem587; + for (int _i588 = 0; _i588 < _list586.size; ++_i588) { - _elem579 = iprot.readI64(); - struct.txn_ids.add(_elem579); + _elem587 = iprot.readI64(); + struct.txn_ids.add(_elem587); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, OpenTxnsResponse s oprot.writeFieldBegin(TXN_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.txn_ids.size())); - for (long _iter581 : struct.txn_ids) + for (long _iter589 : struct.txn_ids) { - oprot.writeI64(_iter581); + oprot.writeI64(_iter589); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, OpenTxnsResponse st TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.txn_ids.size()); - for (long _iter582 : struct.txn_ids) + for (long _iter590 : struct.txn_ids) { - oprot.writeI64(_iter582); + oprot.writeI64(_iter590); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, OpenTxnsResponse st public void read(org.apache.thrift.protocol.TProtocol prot, OpenTxnsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list583 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txn_ids = new ArrayList(_list583.size); - long _elem584; - for (int _i585 = 0; _i585 < _list583.size; ++_i585) + org.apache.thrift.protocol.TList _list591 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txn_ids = new ArrayList(_list591.size); + long _elem592; + for (int _i593 = 0; _i593 < _list591.size; ++_i593) { - _elem584 = iprot.readI64(); - struct.txn_ids.add(_elem584); + _elem592 = iprot.readI64(); + struct.txn_ids.add(_elem592); } } struct.setTxn_idsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java index c58e1cb7d93d2db13ee7e2d7ceddd62f1d8b81ff..a939d33a9f71b90a8b2e7a10318edd3804755367 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java @@ -1012,13 +1012,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Partition struct) t case 1: // VALUES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list216 = iprot.readListBegin(); - struct.values = new ArrayList(_list216.size); - String _elem217; - for (int _i218 = 0; _i218 < _list216.size; ++_i218) + org.apache.thrift.protocol.TList _list224 = iprot.readListBegin(); + struct.values = new ArrayList(_list224.size); + String _elem225; + for (int _i226 = 0; _i226 < _list224.size; ++_i226) { - _elem217 = iprot.readString(); - struct.values.add(_elem217); + _elem225 = iprot.readString(); + struct.values.add(_elem225); } iprot.readListEnd(); } @@ -1071,15 +1071,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Partition struct) t case 7: // PARAMETERS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map219 = iprot.readMapBegin(); - struct.parameters = new HashMap(2*_map219.size); - String _key220; - String _val221; - for (int _i222 = 0; _i222 < _map219.size; ++_i222) + org.apache.thrift.protocol.TMap _map227 = iprot.readMapBegin(); + struct.parameters = new HashMap(2*_map227.size); + String _key228; + String _val229; + for (int _i230 = 0; _i230 < _map227.size; ++_i230) { - _key220 = iprot.readString(); - _val221 = iprot.readString(); - struct.parameters.put(_key220, _val221); + _key228 = iprot.readString(); + _val229 = iprot.readString(); + struct.parameters.put(_key228, _val229); } iprot.readMapEnd(); } @@ -1122,9 +1122,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Partition struct) oprot.writeFieldBegin(VALUES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.values.size())); - for (String _iter223 : struct.values) + for (String _iter231 : struct.values) { - oprot.writeString(_iter223); + oprot.writeString(_iter231); } oprot.writeListEnd(); } @@ -1155,10 +1155,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Partition struct) oprot.writeFieldBegin(PARAMETERS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.parameters.size())); - for (Map.Entry _iter224 : struct.parameters.entrySet()) + for (Map.Entry _iter232 : struct.parameters.entrySet()) { - oprot.writeString(_iter224.getKey()); - oprot.writeString(_iter224.getValue()); + oprot.writeString(_iter232.getKey()); + oprot.writeString(_iter232.getValue()); } oprot.writeMapEnd(); } @@ -1227,9 +1227,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Partition struct) t if (struct.isSetValues()) { { oprot.writeI32(struct.values.size()); - for (String _iter225 : struct.values) + for (String _iter233 : struct.values) { - oprot.writeString(_iter225); + oprot.writeString(_iter233); } } } @@ -1251,10 +1251,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Partition struct) t if (struct.isSetParameters()) { { oprot.writeI32(struct.parameters.size()); - for (Map.Entry _iter226 : struct.parameters.entrySet()) + for (Map.Entry _iter234 : struct.parameters.entrySet()) { - oprot.writeString(_iter226.getKey()); - oprot.writeString(_iter226.getValue()); + oprot.writeString(_iter234.getKey()); + oprot.writeString(_iter234.getValue()); } } } @@ -1272,13 +1272,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Partition struct) th BitSet incoming = iprot.readBitSet(9); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list227 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.values = new ArrayList(_list227.size); - String _elem228; - for (int _i229 = 0; _i229 < _list227.size; ++_i229) + org.apache.thrift.protocol.TList _list235 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.values = new ArrayList(_list235.size); + String _elem236; + for (int _i237 = 0; _i237 < _list235.size; ++_i237) { - _elem228 = iprot.readString(); - struct.values.add(_elem228); + _elem236 = iprot.readString(); + struct.values.add(_elem236); } } struct.setValuesIsSet(true); @@ -1306,15 +1306,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Partition struct) th } if (incoming.get(6)) { { - org.apache.thrift.protocol.TMap _map230 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.parameters = new HashMap(2*_map230.size); - String _key231; - String _val232; - for (int _i233 = 0; _i233 < _map230.size; ++_i233) + org.apache.thrift.protocol.TMap _map238 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.parameters = new HashMap(2*_map238.size); + String _key239; + String _val240; + for (int _i241 = 0; _i241 < _map238.size; ++_i241) { - _key231 = iprot.readString(); - _val232 = iprot.readString(); - struct.parameters.put(_key231, _val232); + _key239 = iprot.readString(); + _val240 = iprot.readString(); + struct.parameters.put(_key239, _val240); } } struct.parameters = org.apache.hadoop.hive.metastore.utils.StringUtils.intern(struct.parameters); struct.setParametersIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java index 1f32e38e6276f660d3a5784abbc4ac3283875a60..e1f4021f017b7790d1a8521fd0d70838a2dfacf6 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java @@ -350,14 +350,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionListCompos case 1: // PARTITIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list260 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list260.size); - Partition _elem261; - for (int _i262 = 0; _i262 < _list260.size; ++_i262) + org.apache.thrift.protocol.TList _list268 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list268.size); + Partition _elem269; + for (int _i270 = 0; _i270 < _list268.size; ++_i270) { - _elem261 = new Partition(); - _elem261.read(iprot); - struct.partitions.add(_elem261); + _elem269 = new Partition(); + _elem269.read(iprot); + struct.partitions.add(_elem269); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionListCompo oprot.writeFieldBegin(PARTITIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size())); - for (Partition _iter263 : struct.partitions) + for (Partition _iter271 : struct.partitions) { - _iter263.write(oprot); + _iter271.write(oprot); } oprot.writeListEnd(); } @@ -416,9 +416,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionListCompos if (struct.isSetPartitions()) { { oprot.writeI32(struct.partitions.size()); - for (Partition _iter264 : struct.partitions) + for (Partition _iter272 : struct.partitions) { - _iter264.write(oprot); + _iter272.write(oprot); } } } @@ -430,14 +430,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionListComposi BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list265 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitions = new ArrayList(_list265.size); - Partition _elem266; - for (int _i267 = 0; _i267 < _list265.size; ++_i267) + org.apache.thrift.protocol.TList _list273 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitions = new ArrayList(_list273.size); + Partition _elem274; + for (int _i275 = 0; _i275 < _list273.size; ++_i275) { - _elem266 = new Partition(); - _elem266.read(iprot); - struct.partitions.add(_elem266); + _elem274 = new Partition(); + _elem274.read(iprot); + struct.partitions.add(_elem274); } } struct.setPartitionsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java index a450cd4fc26510db705af400e48d7a12ba15258d..c3fa2a2399e5bc3e42845d8f949e0ce05f13e14c 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java @@ -434,14 +434,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionSpecWithSh case 1: // PARTITIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list252 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list252.size); - PartitionWithoutSD _elem253; - for (int _i254 = 0; _i254 < _list252.size; ++_i254) + org.apache.thrift.protocol.TList _list260 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list260.size); + PartitionWithoutSD _elem261; + for (int _i262 = 0; _i262 < _list260.size; ++_i262) { - _elem253 = new PartitionWithoutSD(); - _elem253.read(iprot); - struct.partitions.add(_elem253); + _elem261 = new PartitionWithoutSD(); + _elem261.read(iprot); + struct.partitions.add(_elem261); } iprot.readListEnd(); } @@ -476,9 +476,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionSpecWithS oprot.writeFieldBegin(PARTITIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size())); - for (PartitionWithoutSD _iter255 : struct.partitions) + for (PartitionWithoutSD _iter263 : struct.partitions) { - _iter255.write(oprot); + _iter263.write(oprot); } oprot.writeListEnd(); } @@ -517,9 +517,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionSpecWithSh if (struct.isSetPartitions()) { { oprot.writeI32(struct.partitions.size()); - for (PartitionWithoutSD _iter256 : struct.partitions) + for (PartitionWithoutSD _iter264 : struct.partitions) { - _iter256.write(oprot); + _iter264.write(oprot); } } } @@ -534,14 +534,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionSpecWithSha BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list257 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitions = new ArrayList(_list257.size); - PartitionWithoutSD _elem258; - for (int _i259 = 0; _i259 < _list257.size; ++_i259) + org.apache.thrift.protocol.TList _list265 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitions = new ArrayList(_list265.size); + PartitionWithoutSD _elem266; + for (int _i267 = 0; _i267 < _list265.size; ++_i267) { - _elem258 = new PartitionWithoutSD(); - _elem258.read(iprot); - struct.partitions.add(_elem258); + _elem266 = new PartitionWithoutSD(); + _elem266.read(iprot); + struct.partitions.add(_elem266); } } struct.setPartitionsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRequest.java index c8707ca26df7cc10ec4930c9862f963073fa8178..8309769eee0da93f8427b7fc6e02a96ae3787611 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRequest.java @@ -1042,14 +1042,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionValuesRequ case 3: // PARTITION_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list514 = iprot.readListBegin(); - struct.partitionKeys = new ArrayList(_list514.size); - FieldSchema _elem515; - for (int _i516 = 0; _i516 < _list514.size; ++_i516) + org.apache.thrift.protocol.TList _list522 = iprot.readListBegin(); + struct.partitionKeys = new ArrayList(_list522.size); + FieldSchema _elem523; + for (int _i524 = 0; _i524 < _list522.size; ++_i524) { - _elem515 = new FieldSchema(); - _elem515.read(iprot); - struct.partitionKeys.add(_elem515); + _elem523 = new FieldSchema(); + _elem523.read(iprot); + struct.partitionKeys.add(_elem523); } iprot.readListEnd(); } @@ -1077,14 +1077,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionValuesRequ case 6: // PARTITION_ORDER if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list517 = iprot.readListBegin(); - struct.partitionOrder = new ArrayList(_list517.size); - FieldSchema _elem518; - for (int _i519 = 0; _i519 < _list517.size; ++_i519) + org.apache.thrift.protocol.TList _list525 = iprot.readListBegin(); + struct.partitionOrder = new ArrayList(_list525.size); + FieldSchema _elem526; + for (int _i527 = 0; _i527 < _list525.size; ++_i527) { - _elem518 = new FieldSchema(); - _elem518.read(iprot); - struct.partitionOrder.add(_elem518); + _elem526 = new FieldSchema(); + _elem526.read(iprot); + struct.partitionOrder.add(_elem526); } iprot.readListEnd(); } @@ -1144,9 +1144,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionValuesReq oprot.writeFieldBegin(PARTITION_KEYS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitionKeys.size())); - for (FieldSchema _iter520 : struct.partitionKeys) + for (FieldSchema _iter528 : struct.partitionKeys) { - _iter520.write(oprot); + _iter528.write(oprot); } oprot.writeListEnd(); } @@ -1169,9 +1169,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionValuesReq oprot.writeFieldBegin(PARTITION_ORDER_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitionOrder.size())); - for (FieldSchema _iter521 : struct.partitionOrder) + for (FieldSchema _iter529 : struct.partitionOrder) { - _iter521.write(oprot); + _iter529.write(oprot); } oprot.writeListEnd(); } @@ -1216,9 +1216,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionValuesRequ oprot.writeString(struct.tblName); { oprot.writeI32(struct.partitionKeys.size()); - for (FieldSchema _iter522 : struct.partitionKeys) + for (FieldSchema _iter530 : struct.partitionKeys) { - _iter522.write(oprot); + _iter530.write(oprot); } } BitSet optionals = new BitSet(); @@ -1250,9 +1250,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionValuesRequ if (struct.isSetPartitionOrder()) { { oprot.writeI32(struct.partitionOrder.size()); - for (FieldSchema _iter523 : struct.partitionOrder) + for (FieldSchema _iter531 : struct.partitionOrder) { - _iter523.write(oprot); + _iter531.write(oprot); } } } @@ -1275,14 +1275,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionValuesReque struct.tblName = iprot.readString(); struct.setTblNameIsSet(true); { - org.apache.thrift.protocol.TList _list524 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitionKeys = new ArrayList(_list524.size); - FieldSchema _elem525; - for (int _i526 = 0; _i526 < _list524.size; ++_i526) + org.apache.thrift.protocol.TList _list532 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitionKeys = new ArrayList(_list532.size); + FieldSchema _elem533; + for (int _i534 = 0; _i534 < _list532.size; ++_i534) { - _elem525 = new FieldSchema(); - _elem525.read(iprot); - struct.partitionKeys.add(_elem525); + _elem533 = new FieldSchema(); + _elem533.read(iprot); + struct.partitionKeys.add(_elem533); } } struct.setPartitionKeysIsSet(true); @@ -1297,14 +1297,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionValuesReque } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list527 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitionOrder = new ArrayList(_list527.size); - FieldSchema _elem528; - for (int _i529 = 0; _i529 < _list527.size; ++_i529) + org.apache.thrift.protocol.TList _list535 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitionOrder = new ArrayList(_list535.size); + FieldSchema _elem536; + for (int _i537 = 0; _i537 < _list535.size; ++_i537) { - _elem528 = new FieldSchema(); - _elem528.read(iprot); - struct.partitionOrder.add(_elem528); + _elem536 = new FieldSchema(); + _elem536.read(iprot); + struct.partitionOrder.add(_elem536); } } struct.setPartitionOrderIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesResponse.java index e336aa1218c6a9d2ec80f52b6f2c5e7006c443e6..7bf1c61a425750aff7c4f16b013e0ef3aed1e658 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionValuesResp case 1: // PARTITION_VALUES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list538 = iprot.readListBegin(); - struct.partitionValues = new ArrayList(_list538.size); - PartitionValuesRow _elem539; - for (int _i540 = 0; _i540 < _list538.size; ++_i540) + org.apache.thrift.protocol.TList _list546 = iprot.readListBegin(); + struct.partitionValues = new ArrayList(_list546.size); + PartitionValuesRow _elem547; + for (int _i548 = 0; _i548 < _list546.size; ++_i548) { - _elem539 = new PartitionValuesRow(); - _elem539.read(iprot); - struct.partitionValues.add(_elem539); + _elem547 = new PartitionValuesRow(); + _elem547.read(iprot); + struct.partitionValues.add(_elem547); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionValuesRes oprot.writeFieldBegin(PARTITION_VALUES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitionValues.size())); - for (PartitionValuesRow _iter541 : struct.partitionValues) + for (PartitionValuesRow _iter549 : struct.partitionValues) { - _iter541.write(oprot); + _iter549.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionValuesResp TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.partitionValues.size()); - for (PartitionValuesRow _iter542 : struct.partitionValues) + for (PartitionValuesRow _iter550 : struct.partitionValues) { - _iter542.write(oprot); + _iter550.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionValuesResp public void read(org.apache.thrift.protocol.TProtocol prot, PartitionValuesResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list543 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitionValues = new ArrayList(_list543.size); - PartitionValuesRow _elem544; - for (int _i545 = 0; _i545 < _list543.size; ++_i545) + org.apache.thrift.protocol.TList _list551 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitionValues = new ArrayList(_list551.size); + PartitionValuesRow _elem552; + for (int _i553 = 0; _i553 < _list551.size; ++_i553) { - _elem544 = new PartitionValuesRow(); - _elem544.read(iprot); - struct.partitionValues.add(_elem544); + _elem552 = new PartitionValuesRow(); + _elem552.read(iprot); + struct.partitionValues.add(_elem552); } } struct.setPartitionValuesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRow.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRow.java index 082c6c2b431e2ba3acbc80964e4ae596147c9eb5..4c384f6408e9f1cac8dd47c2d23deab840470969 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRow.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRow.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionValuesRow case 1: // ROW if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list530 = iprot.readListBegin(); - struct.row = new ArrayList(_list530.size); - String _elem531; - for (int _i532 = 0; _i532 < _list530.size; ++_i532) + org.apache.thrift.protocol.TList _list538 = iprot.readListBegin(); + struct.row = new ArrayList(_list538.size); + String _elem539; + for (int _i540 = 0; _i540 < _list538.size; ++_i540) { - _elem531 = iprot.readString(); - struct.row.add(_elem531); + _elem539 = iprot.readString(); + struct.row.add(_elem539); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionValuesRow oprot.writeFieldBegin(ROW_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.row.size())); - for (String _iter533 : struct.row) + for (String _iter541 : struct.row) { - oprot.writeString(_iter533); + oprot.writeString(_iter541); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionValuesRow TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.row.size()); - for (String _iter534 : struct.row) + for (String _iter542 : struct.row) { - oprot.writeString(_iter534); + oprot.writeString(_iter542); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionValuesRow public void read(org.apache.thrift.protocol.TProtocol prot, PartitionValuesRow struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list535 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.row = new ArrayList(_list535.size); - String _elem536; - for (int _i537 = 0; _i537 < _list535.size; ++_i537) + org.apache.thrift.protocol.TList _list543 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.row = new ArrayList(_list543.size); + String _elem544; + for (int _i545 = 0; _i545 < _list543.size; ++_i545) { - _elem536 = iprot.readString(); - struct.row.add(_elem536); + _elem544 = iprot.readString(); + struct.row.add(_elem544); } } struct.setRowIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java index 5807618b02d257a7f81d5e4618ed0a678390708d..d43be205b21563c7cfa87bb0057aff2cd785adb0 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java @@ -766,13 +766,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionWithoutSD case 1: // VALUES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list234 = iprot.readListBegin(); - struct.values = new ArrayList(_list234.size); - String _elem235; - for (int _i236 = 0; _i236 < _list234.size; ++_i236) + org.apache.thrift.protocol.TList _list242 = iprot.readListBegin(); + struct.values = new ArrayList(_list242.size); + String _elem243; + for (int _i244 = 0; _i244 < _list242.size; ++_i244) { - _elem235 = iprot.readString(); - struct.values.add(_elem235); + _elem243 = iprot.readString(); + struct.values.add(_elem243); } iprot.readListEnd(); } @@ -808,15 +808,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionWithoutSD case 5: // PARAMETERS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map237 = iprot.readMapBegin(); - struct.parameters = new HashMap(2*_map237.size); - String _key238; - String _val239; - for (int _i240 = 0; _i240 < _map237.size; ++_i240) + org.apache.thrift.protocol.TMap _map245 = iprot.readMapBegin(); + struct.parameters = new HashMap(2*_map245.size); + String _key246; + String _val247; + for (int _i248 = 0; _i248 < _map245.size; ++_i248) { - _key238 = iprot.readString(); - _val239 = iprot.readString(); - struct.parameters.put(_key238, _val239); + _key246 = iprot.readString(); + _val247 = iprot.readString(); + struct.parameters.put(_key246, _val247); } iprot.readMapEnd(); } @@ -851,9 +851,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionWithoutSD oprot.writeFieldBegin(VALUES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.values.size())); - for (String _iter241 : struct.values) + for (String _iter249 : struct.values) { - oprot.writeString(_iter241); + oprot.writeString(_iter249); } oprot.writeListEnd(); } @@ -874,10 +874,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionWithoutSD oprot.writeFieldBegin(PARAMETERS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.parameters.size())); - for (Map.Entry _iter242 : struct.parameters.entrySet()) + for (Map.Entry _iter250 : struct.parameters.entrySet()) { - oprot.writeString(_iter242.getKey()); - oprot.writeString(_iter242.getValue()); + oprot.writeString(_iter250.getKey()); + oprot.writeString(_iter250.getValue()); } oprot.writeMapEnd(); } @@ -930,9 +930,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionWithoutSD if (struct.isSetValues()) { { oprot.writeI32(struct.values.size()); - for (String _iter243 : struct.values) + for (String _iter251 : struct.values) { - oprot.writeString(_iter243); + oprot.writeString(_iter251); } } } @@ -948,10 +948,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionWithoutSD if (struct.isSetParameters()) { { oprot.writeI32(struct.parameters.size()); - for (Map.Entry _iter244 : struct.parameters.entrySet()) + for (Map.Entry _iter252 : struct.parameters.entrySet()) { - oprot.writeString(_iter244.getKey()); - oprot.writeString(_iter244.getValue()); + oprot.writeString(_iter252.getKey()); + oprot.writeString(_iter252.getValue()); } } } @@ -966,13 +966,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionWithoutSD s BitSet incoming = iprot.readBitSet(6); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list245 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.values = new ArrayList(_list245.size); - String _elem246; - for (int _i247 = 0; _i247 < _list245.size; ++_i247) + org.apache.thrift.protocol.TList _list253 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.values = new ArrayList(_list253.size); + String _elem254; + for (int _i255 = 0; _i255 < _list253.size; ++_i255) { - _elem246 = iprot.readString(); - struct.values.add(_elem246); + _elem254 = iprot.readString(); + struct.values.add(_elem254); } } struct.setValuesIsSet(true); @@ -991,15 +991,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionWithoutSD s } if (incoming.get(4)) { { - org.apache.thrift.protocol.TMap _map248 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.parameters = new HashMap(2*_map248.size); - String _key249; - String _val250; - for (int _i251 = 0; _i251 < _map248.size; ++_i251) + org.apache.thrift.protocol.TMap _map256 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.parameters = new HashMap(2*_map256.size); + String _key257; + String _val258; + for (int _i259 = 0; _i259 < _map256.size; ++_i259) { - _key249 = iprot.readString(); - _val250 = iprot.readString(); - struct.parameters.put(_key249, _val250); + _key257 = iprot.readString(); + _val258 = iprot.readString(); + struct.parameters.put(_key257, _val258); } } struct.setParametersIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java index 3f2ddcc330f5e3c4d1229b5dc712814f7c1423e8..27cdac609ad975f5f07bdac9e0b262d6e4142bb0 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java @@ -439,14 +439,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsByExprRes case 1: // PARTITIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list416 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list416.size); - Partition _elem417; - for (int _i418 = 0; _i418 < _list416.size; ++_i418) + org.apache.thrift.protocol.TList _list424 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list424.size); + Partition _elem425; + for (int _i426 = 0; _i426 < _list424.size; ++_i426) { - _elem417 = new Partition(); - _elem417.read(iprot); - struct.partitions.add(_elem417); + _elem425 = new Partition(); + _elem425.read(iprot); + struct.partitions.add(_elem425); } iprot.readListEnd(); } @@ -480,9 +480,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionsByExprRe oprot.writeFieldBegin(PARTITIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size())); - for (Partition _iter419 : struct.partitions) + for (Partition _iter427 : struct.partitions) { - _iter419.write(oprot); + _iter427.write(oprot); } oprot.writeListEnd(); } @@ -510,9 +510,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionsByExprRes TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.partitions.size()); - for (Partition _iter420 : struct.partitions) + for (Partition _iter428 : struct.partitions) { - _iter420.write(oprot); + _iter428.write(oprot); } } oprot.writeBool(struct.hasUnknownPartitions); @@ -522,14 +522,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionsByExprRes public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsByExprResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list421 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitions = new ArrayList(_list421.size); - Partition _elem422; - for (int _i423 = 0; _i423 < _list421.size; ++_i423) + org.apache.thrift.protocol.TList _list429 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitions = new ArrayList(_list429.size); + Partition _elem430; + for (int _i431 = 0; _i431 < _list429.size; ++_i431) { - _elem422 = new Partition(); - _elem422.read(iprot); - struct.partitions.add(_elem422); + _elem430 = new Partition(); + _elem430.read(iprot); + struct.partitions.add(_elem430); } } struct.setPartitionsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java index 91cf567e746c9da1c2db39ea1bf229b5f219b1ef..8bdbd21bff2289ae67f08250d2f6805572fafb52 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java @@ -721,13 +721,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsStatsRequ case 3: // COL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list458 = iprot.readListBegin(); - struct.colNames = new ArrayList(_list458.size); - String _elem459; - for (int _i460 = 0; _i460 < _list458.size; ++_i460) + org.apache.thrift.protocol.TList _list466 = iprot.readListBegin(); + struct.colNames = new ArrayList(_list466.size); + String _elem467; + for (int _i468 = 0; _i468 < _list466.size; ++_i468) { - _elem459 = iprot.readString(); - struct.colNames.add(_elem459); + _elem467 = iprot.readString(); + struct.colNames.add(_elem467); } iprot.readListEnd(); } @@ -739,13 +739,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsStatsRequ case 4: // PART_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list461 = iprot.readListBegin(); - struct.partNames = new ArrayList(_list461.size); - String _elem462; - for (int _i463 = 0; _i463 < _list461.size; ++_i463) + org.apache.thrift.protocol.TList _list469 = iprot.readListBegin(); + struct.partNames = new ArrayList(_list469.size); + String _elem470; + for (int _i471 = 0; _i471 < _list469.size; ++_i471) { - _elem462 = iprot.readString(); - struct.partNames.add(_elem462); + _elem470 = iprot.readString(); + struct.partNames.add(_elem470); } iprot.readListEnd(); } @@ -789,9 +789,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionsStatsReq oprot.writeFieldBegin(COL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.colNames.size())); - for (String _iter464 : struct.colNames) + for (String _iter472 : struct.colNames) { - oprot.writeString(_iter464); + oprot.writeString(_iter472); } oprot.writeListEnd(); } @@ -801,9 +801,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionsStatsReq oprot.writeFieldBegin(PART_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partNames.size())); - for (String _iter465 : struct.partNames) + for (String _iter473 : struct.partNames) { - oprot.writeString(_iter465); + oprot.writeString(_iter473); } oprot.writeListEnd(); } @@ -837,16 +837,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsRequ oprot.writeString(struct.tblName); { oprot.writeI32(struct.colNames.size()); - for (String _iter466 : struct.colNames) + for (String _iter474 : struct.colNames) { - oprot.writeString(_iter466); + oprot.writeString(_iter474); } } { oprot.writeI32(struct.partNames.size()); - for (String _iter467 : struct.partNames) + for (String _iter475 : struct.partNames) { - oprot.writeString(_iter467); + oprot.writeString(_iter475); } } BitSet optionals = new BitSet(); @@ -867,24 +867,24 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsReque struct.tblName = iprot.readString(); struct.setTblNameIsSet(true); { - org.apache.thrift.protocol.TList _list468 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.colNames = new ArrayList(_list468.size); - String _elem469; - for (int _i470 = 0; _i470 < _list468.size; ++_i470) + org.apache.thrift.protocol.TList _list476 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.colNames = new ArrayList(_list476.size); + String _elem477; + for (int _i478 = 0; _i478 < _list476.size; ++_i478) { - _elem469 = iprot.readString(); - struct.colNames.add(_elem469); + _elem477 = iprot.readString(); + struct.colNames.add(_elem477); } } struct.setColNamesIsSet(true); { - org.apache.thrift.protocol.TList _list471 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partNames = new ArrayList(_list471.size); - String _elem472; - for (int _i473 = 0; _i473 < _list471.size; ++_i473) + org.apache.thrift.protocol.TList _list479 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partNames = new ArrayList(_list479.size); + String _elem480; + for (int _i481 = 0; _i481 < _list479.size; ++_i481) { - _elem472 = iprot.readString(); - struct.partNames.add(_elem472); + _elem480 = iprot.readString(); + struct.partNames.add(_elem480); } } struct.setPartNamesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java index 4caec8fa7edddb0e83018c3079295693fa869920..8d4d6ab6c7db3c61b1ca8754faace6c9b64a963f 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java @@ -363,26 +363,26 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsStatsResu case 1: // PART_STATS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map432 = iprot.readMapBegin(); - struct.partStats = new HashMap>(2*_map432.size); - String _key433; - List _val434; - for (int _i435 = 0; _i435 < _map432.size; ++_i435) + org.apache.thrift.protocol.TMap _map440 = iprot.readMapBegin(); + struct.partStats = new HashMap>(2*_map440.size); + String _key441; + List _val442; + for (int _i443 = 0; _i443 < _map440.size; ++_i443) { - _key433 = iprot.readString(); + _key441 = iprot.readString(); { - org.apache.thrift.protocol.TList _list436 = iprot.readListBegin(); - _val434 = new ArrayList(_list436.size); - ColumnStatisticsObj _elem437; - for (int _i438 = 0; _i438 < _list436.size; ++_i438) + org.apache.thrift.protocol.TList _list444 = iprot.readListBegin(); + _val442 = new ArrayList(_list444.size); + ColumnStatisticsObj _elem445; + for (int _i446 = 0; _i446 < _list444.size; ++_i446) { - _elem437 = new ColumnStatisticsObj(); - _elem437.read(iprot); - _val434.add(_elem437); + _elem445 = new ColumnStatisticsObj(); + _elem445.read(iprot); + _val442.add(_elem445); } iprot.readListEnd(); } - struct.partStats.put(_key433, _val434); + struct.partStats.put(_key441, _val442); } iprot.readMapEnd(); } @@ -408,14 +408,14 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionsStatsRes oprot.writeFieldBegin(PART_STATS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, struct.partStats.size())); - for (Map.Entry> _iter439 : struct.partStats.entrySet()) + for (Map.Entry> _iter447 : struct.partStats.entrySet()) { - oprot.writeString(_iter439.getKey()); + oprot.writeString(_iter447.getKey()); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter439.getValue().size())); - for (ColumnStatisticsObj _iter440 : _iter439.getValue()) + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter447.getValue().size())); + for (ColumnStatisticsObj _iter448 : _iter447.getValue()) { - _iter440.write(oprot); + _iter448.write(oprot); } oprot.writeListEnd(); } @@ -443,14 +443,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsResu TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.partStats.size()); - for (Map.Entry> _iter441 : struct.partStats.entrySet()) + for (Map.Entry> _iter449 : struct.partStats.entrySet()) { - oprot.writeString(_iter441.getKey()); + oprot.writeString(_iter449.getKey()); { - oprot.writeI32(_iter441.getValue().size()); - for (ColumnStatisticsObj _iter442 : _iter441.getValue()) + oprot.writeI32(_iter449.getValue().size()); + for (ColumnStatisticsObj _iter450 : _iter449.getValue()) { - _iter442.write(oprot); + _iter450.write(oprot); } } } @@ -461,25 +461,25 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsResu public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TMap _map443 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, iprot.readI32()); - struct.partStats = new HashMap>(2*_map443.size); - String _key444; - List _val445; - for (int _i446 = 0; _i446 < _map443.size; ++_i446) + org.apache.thrift.protocol.TMap _map451 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, iprot.readI32()); + struct.partStats = new HashMap>(2*_map451.size); + String _key452; + List _val453; + for (int _i454 = 0; _i454 < _map451.size; ++_i454) { - _key444 = iprot.readString(); + _key452 = iprot.readString(); { - org.apache.thrift.protocol.TList _list447 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val445 = new ArrayList(_list447.size); - ColumnStatisticsObj _elem448; - for (int _i449 = 0; _i449 < _list447.size; ++_i449) + org.apache.thrift.protocol.TList _list455 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + _val453 = new ArrayList(_list455.size); + ColumnStatisticsObj _elem456; + for (int _i457 = 0; _i457 < _list455.size; ++_i457) { - _elem448 = new ColumnStatisticsObj(); - _elem448.read(iprot); - _val445.add(_elem448); + _elem456 = new ColumnStatisticsObj(); + _elem456.read(iprot); + _val453.add(_elem456); } } - struct.partStats.put(_key444, _val445); + struct.partStats.put(_key452, _val453); } } struct.setPartStatsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrimaryKeysResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrimaryKeysResponse.java index 0b776fb4c9f2bfcfd22e5bdc032d89c48bfc536c..db265ea4f426ff56b78f9f0081675d1115de3839 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrimaryKeysResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrimaryKeysResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PrimaryKeysResponse case 1: // PRIMARY_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list320 = iprot.readListBegin(); - struct.primaryKeys = new ArrayList(_list320.size); - SQLPrimaryKey _elem321; - for (int _i322 = 0; _i322 < _list320.size; ++_i322) + org.apache.thrift.protocol.TList _list328 = iprot.readListBegin(); + struct.primaryKeys = new ArrayList(_list328.size); + SQLPrimaryKey _elem329; + for (int _i330 = 0; _i330 < _list328.size; ++_i330) { - _elem321 = new SQLPrimaryKey(); - _elem321.read(iprot); - struct.primaryKeys.add(_elem321); + _elem329 = new SQLPrimaryKey(); + _elem329.read(iprot); + struct.primaryKeys.add(_elem329); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PrimaryKeysRespons oprot.writeFieldBegin(PRIMARY_KEYS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.primaryKeys.size())); - for (SQLPrimaryKey _iter323 : struct.primaryKeys) + for (SQLPrimaryKey _iter331 : struct.primaryKeys) { - _iter323.write(oprot); + _iter331.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PrimaryKeysResponse TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.primaryKeys.size()); - for (SQLPrimaryKey _iter324 : struct.primaryKeys) + for (SQLPrimaryKey _iter332 : struct.primaryKeys) { - _iter324.write(oprot); + _iter332.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PrimaryKeysResponse public void read(org.apache.thrift.protocol.TProtocol prot, PrimaryKeysResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list325 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.primaryKeys = new ArrayList(_list325.size); - SQLPrimaryKey _elem326; - for (int _i327 = 0; _i327 < _list325.size; ++_i327) + org.apache.thrift.protocol.TList _list333 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.primaryKeys = new ArrayList(_list333.size); + SQLPrimaryKey _elem334; + for (int _i335 = 0; _i335 < _list333.size; ++_i335) { - _elem326 = new SQLPrimaryKey(); - _elem326.read(iprot); - struct.primaryKeys.add(_elem326); + _elem334 = new SQLPrimaryKey(); + _elem334.read(iprot); + struct.primaryKeys.add(_elem334); } } struct.setPrimaryKeysIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ReplTblWriteIdStateRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ReplTblWriteIdStateRequest.java index 0aeca145db66b746085f80f56e21e7c9bb005b3b..f637d519f44500cab25d071416c272a1cf5c4f6a 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ReplTblWriteIdStateRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ReplTblWriteIdStateRequest.java @@ -813,13 +813,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ReplTblWriteIdState case 6: // PART_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list602 = iprot.readListBegin(); - struct.partNames = new ArrayList(_list602.size); - String _elem603; - for (int _i604 = 0; _i604 < _list602.size; ++_i604) + org.apache.thrift.protocol.TList _list610 = iprot.readListBegin(); + struct.partNames = new ArrayList(_list610.size); + String _elem611; + for (int _i612 = 0; _i612 < _list610.size; ++_i612) { - _elem603 = iprot.readString(); - struct.partNames.add(_elem603); + _elem611 = iprot.readString(); + struct.partNames.add(_elem611); } iprot.readListEnd(); } @@ -871,9 +871,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ReplTblWriteIdStat oprot.writeFieldBegin(PART_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partNames.size())); - for (String _iter605 : struct.partNames) + for (String _iter613 : struct.partNames) { - oprot.writeString(_iter605); + oprot.writeString(_iter613); } oprot.writeListEnd(); } @@ -910,9 +910,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ReplTblWriteIdState if (struct.isSetPartNames()) { { oprot.writeI32(struct.partNames.size()); - for (String _iter606 : struct.partNames) + for (String _iter614 : struct.partNames) { - oprot.writeString(_iter606); + oprot.writeString(_iter614); } } } @@ -934,13 +934,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ReplTblWriteIdStateR BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list607 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partNames = new ArrayList(_list607.size); - String _elem608; - for (int _i609 = 0; _i609 < _list607.size; ++_i609) + org.apache.thrift.protocol.TList _list615 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partNames = new ArrayList(_list615.size); + String _elem616; + for (int _i617 = 0; _i617 < _list615.size; ++_i617) { - _elem608 = iprot.readString(); - struct.partNames.add(_elem608); + _elem616 = iprot.readString(); + struct.partNames.add(_elem616); } } struct.setPartNamesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java index bad44add62caa85ae19d03e7263df7a9969d752d..19de923dcb62594f1154b561c26a310f49688eef 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java @@ -168,13 +168,13 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip if (field.type == NAMES_FIELD_DESC.type) { List names; { - org.apache.thrift.protocol.TList _list498 = iprot.readListBegin(); - names = new ArrayList(_list498.size); - String _elem499; - for (int _i500 = 0; _i500 < _list498.size; ++_i500) + org.apache.thrift.protocol.TList _list506 = iprot.readListBegin(); + names = new ArrayList(_list506.size); + String _elem507; + for (int _i508 = 0; _i508 < _list506.size; ++_i508) { - _elem499 = iprot.readString(); - names.add(_elem499); + _elem507 = iprot.readString(); + names.add(_elem507); } iprot.readListEnd(); } @@ -187,14 +187,14 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip if (field.type == EXPRS_FIELD_DESC.type) { List exprs; { - org.apache.thrift.protocol.TList _list501 = iprot.readListBegin(); - exprs = new ArrayList(_list501.size); - DropPartitionsExpr _elem502; - for (int _i503 = 0; _i503 < _list501.size; ++_i503) + org.apache.thrift.protocol.TList _list509 = iprot.readListBegin(); + exprs = new ArrayList(_list509.size); + DropPartitionsExpr _elem510; + for (int _i511 = 0; _i511 < _list509.size; ++_i511) { - _elem502 = new DropPartitionsExpr(); - _elem502.read(iprot); - exprs.add(_elem502); + _elem510 = new DropPartitionsExpr(); + _elem510.read(iprot); + exprs.add(_elem510); } iprot.readListEnd(); } @@ -219,9 +219,9 @@ protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol opr List names = (List)value_; { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, names.size())); - for (String _iter504 : names) + for (String _iter512 : names) { - oprot.writeString(_iter504); + oprot.writeString(_iter512); } oprot.writeListEnd(); } @@ -230,9 +230,9 @@ protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol opr List exprs = (List)value_; { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, exprs.size())); - for (DropPartitionsExpr _iter505 : exprs) + for (DropPartitionsExpr _iter513 : exprs) { - _iter505.write(oprot); + _iter513.write(oprot); } oprot.writeListEnd(); } @@ -250,13 +250,13 @@ protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot case NAMES: List names; { - org.apache.thrift.protocol.TList _list506 = iprot.readListBegin(); - names = new ArrayList(_list506.size); - String _elem507; - for (int _i508 = 0; _i508 < _list506.size; ++_i508) + org.apache.thrift.protocol.TList _list514 = iprot.readListBegin(); + names = new ArrayList(_list514.size); + String _elem515; + for (int _i516 = 0; _i516 < _list514.size; ++_i516) { - _elem507 = iprot.readString(); - names.add(_elem507); + _elem515 = iprot.readString(); + names.add(_elem515); } iprot.readListEnd(); } @@ -264,14 +264,14 @@ protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot case EXPRS: List exprs; { - org.apache.thrift.protocol.TList _list509 = iprot.readListBegin(); - exprs = new ArrayList(_list509.size); - DropPartitionsExpr _elem510; - for (int _i511 = 0; _i511 < _list509.size; ++_i511) + org.apache.thrift.protocol.TList _list517 = iprot.readListBegin(); + exprs = new ArrayList(_list517.size); + DropPartitionsExpr _elem518; + for (int _i519 = 0; _i519 < _list517.size; ++_i519) { - _elem510 = new DropPartitionsExpr(); - _elem510.read(iprot); - exprs.add(_elem510); + _elem518 = new DropPartitionsExpr(); + _elem518.read(iprot); + exprs.add(_elem518); } iprot.readListEnd(); } @@ -291,9 +291,9 @@ protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) List names = (List)value_; { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, names.size())); - for (String _iter512 : names) + for (String _iter520 : names) { - oprot.writeString(_iter512); + oprot.writeString(_iter520); } oprot.writeListEnd(); } @@ -302,9 +302,9 @@ protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) List exprs = (List)value_; { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, exprs.size())); - for (DropPartitionsExpr _iter513 : exprs) + for (DropPartitionsExpr _iter521 : exprs) { - _iter513.write(oprot); + _iter521.write(oprot); } oprot.writeListEnd(); } diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java index d49f1c41a7942aa5d4c8607943c476972266e2bb..b4cd16f8cf08f587f7890c48aea2a52077fdc610 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java @@ -445,14 +445,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Schema struct) thro case 1: // FIELD_SCHEMAS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list292 = iprot.readListBegin(); - struct.fieldSchemas = new ArrayList(_list292.size); - FieldSchema _elem293; - for (int _i294 = 0; _i294 < _list292.size; ++_i294) + org.apache.thrift.protocol.TList _list300 = iprot.readListBegin(); + struct.fieldSchemas = new ArrayList(_list300.size); + FieldSchema _elem301; + for (int _i302 = 0; _i302 < _list300.size; ++_i302) { - _elem293 = new FieldSchema(); - _elem293.read(iprot); - struct.fieldSchemas.add(_elem293); + _elem301 = new FieldSchema(); + _elem301.read(iprot); + struct.fieldSchemas.add(_elem301); } iprot.readListEnd(); } @@ -464,15 +464,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Schema struct) thro case 2: // PROPERTIES if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map295 = iprot.readMapBegin(); - struct.properties = new HashMap(2*_map295.size); - String _key296; - String _val297; - for (int _i298 = 0; _i298 < _map295.size; ++_i298) + org.apache.thrift.protocol.TMap _map303 = iprot.readMapBegin(); + struct.properties = new HashMap(2*_map303.size); + String _key304; + String _val305; + for (int _i306 = 0; _i306 < _map303.size; ++_i306) { - _key296 = iprot.readString(); - _val297 = iprot.readString(); - struct.properties.put(_key296, _val297); + _key304 = iprot.readString(); + _val305 = iprot.readString(); + struct.properties.put(_key304, _val305); } iprot.readMapEnd(); } @@ -498,9 +498,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Schema struct) thr oprot.writeFieldBegin(FIELD_SCHEMAS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.fieldSchemas.size())); - for (FieldSchema _iter299 : struct.fieldSchemas) + for (FieldSchema _iter307 : struct.fieldSchemas) { - _iter299.write(oprot); + _iter307.write(oprot); } oprot.writeListEnd(); } @@ -510,10 +510,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Schema struct) thr oprot.writeFieldBegin(PROPERTIES_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.properties.size())); - for (Map.Entry _iter300 : struct.properties.entrySet()) + for (Map.Entry _iter308 : struct.properties.entrySet()) { - oprot.writeString(_iter300.getKey()); - oprot.writeString(_iter300.getValue()); + oprot.writeString(_iter308.getKey()); + oprot.writeString(_iter308.getValue()); } oprot.writeMapEnd(); } @@ -547,19 +547,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Schema struct) thro if (struct.isSetFieldSchemas()) { { oprot.writeI32(struct.fieldSchemas.size()); - for (FieldSchema _iter301 : struct.fieldSchemas) + for (FieldSchema _iter309 : struct.fieldSchemas) { - _iter301.write(oprot); + _iter309.write(oprot); } } } if (struct.isSetProperties()) { { oprot.writeI32(struct.properties.size()); - for (Map.Entry _iter302 : struct.properties.entrySet()) + for (Map.Entry _iter310 : struct.properties.entrySet()) { - oprot.writeString(_iter302.getKey()); - oprot.writeString(_iter302.getValue()); + oprot.writeString(_iter310.getKey()); + oprot.writeString(_iter310.getValue()); } } } @@ -571,29 +571,29 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Schema struct) throw BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list303 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.fieldSchemas = new ArrayList(_list303.size); - FieldSchema _elem304; - for (int _i305 = 0; _i305 < _list303.size; ++_i305) + org.apache.thrift.protocol.TList _list311 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.fieldSchemas = new ArrayList(_list311.size); + FieldSchema _elem312; + for (int _i313 = 0; _i313 < _list311.size; ++_i313) { - _elem304 = new FieldSchema(); - _elem304.read(iprot); - struct.fieldSchemas.add(_elem304); + _elem312 = new FieldSchema(); + _elem312.read(iprot); + struct.fieldSchemas.add(_elem312); } } struct.setFieldSchemasIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TMap _map306 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.properties = new HashMap(2*_map306.size); - String _key307; - String _val308; - for (int _i309 = 0; _i309 < _map306.size; ++_i309) + org.apache.thrift.protocol.TMap _map314 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.properties = new HashMap(2*_map314.size); + String _key315; + String _val316; + for (int _i317 = 0; _i317 < _map314.size; ++_i317) { - _key307 = iprot.readString(); - _val308 = iprot.readString(); - struct.properties.put(_key307, _val308); + _key315 = iprot.readString(); + _val316 = iprot.readString(); + struct.properties.put(_key315, _val316); } } struct.setPropertiesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java index a0ae84e760dce39827043d8298861085dfda2398..a4e3fe7ce83c9ff541d218c0c169c6f677cac215 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java @@ -435,14 +435,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SetPartitionsStatsR case 1: // COL_STATS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list284 = iprot.readListBegin(); - struct.colStats = new ArrayList(_list284.size); - ColumnStatistics _elem285; - for (int _i286 = 0; _i286 < _list284.size; ++_i286) + org.apache.thrift.protocol.TList _list292 = iprot.readListBegin(); + struct.colStats = new ArrayList(_list292.size); + ColumnStatistics _elem293; + for (int _i294 = 0; _i294 < _list292.size; ++_i294) { - _elem285 = new ColumnStatistics(); - _elem285.read(iprot); - struct.colStats.add(_elem285); + _elem293 = new ColumnStatistics(); + _elem293.read(iprot); + struct.colStats.add(_elem293); } iprot.readListEnd(); } @@ -476,9 +476,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, SetPartitionsStats oprot.writeFieldBegin(COL_STATS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.colStats.size())); - for (ColumnStatistics _iter287 : struct.colStats) + for (ColumnStatistics _iter295 : struct.colStats) { - _iter287.write(oprot); + _iter295.write(oprot); } oprot.writeListEnd(); } @@ -508,9 +508,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, SetPartitionsStatsR TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.colStats.size()); - for (ColumnStatistics _iter288 : struct.colStats) + for (ColumnStatistics _iter296 : struct.colStats) { - _iter288.write(oprot); + _iter296.write(oprot); } } BitSet optionals = new BitSet(); @@ -527,14 +527,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, SetPartitionsStatsR public void read(org.apache.thrift.protocol.TProtocol prot, SetPartitionsStatsRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list289 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.colStats = new ArrayList(_list289.size); - ColumnStatistics _elem290; - for (int _i291 = 0; _i291 < _list289.size; ++_i291) + org.apache.thrift.protocol.TList _list297 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.colStats = new ArrayList(_list297.size); + ColumnStatistics _elem298; + for (int _i299 = 0; _i299 < _list297.size; ++_i299) { - _elem290 = new ColumnStatistics(); - _elem290.read(iprot); - struct.colStats.add(_elem290); + _elem298 = new ColumnStatistics(); + _elem298.read(iprot); + struct.colStats.add(_elem298); } } struct.setColStatsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java index 9fb037f6b8b2056a431ae5f9888e413684075437..c58885f22a7bbfb9e75f650120b850883e888e4e 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowCompactResponse case 1: // COMPACTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list700 = iprot.readListBegin(); - struct.compacts = new ArrayList(_list700.size); - ShowCompactResponseElement _elem701; - for (int _i702 = 0; _i702 < _list700.size; ++_i702) + org.apache.thrift.protocol.TList _list708 = iprot.readListBegin(); + struct.compacts = new ArrayList(_list708.size); + ShowCompactResponseElement _elem709; + for (int _i710 = 0; _i710 < _list708.size; ++_i710) { - _elem701 = new ShowCompactResponseElement(); - _elem701.read(iprot); - struct.compacts.add(_elem701); + _elem709 = new ShowCompactResponseElement(); + _elem709.read(iprot); + struct.compacts.add(_elem709); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ShowCompactRespons oprot.writeFieldBegin(COMPACTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.compacts.size())); - for (ShowCompactResponseElement _iter703 : struct.compacts) + for (ShowCompactResponseElement _iter711 : struct.compacts) { - _iter703.write(oprot); + _iter711.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.compacts.size()); - for (ShowCompactResponseElement _iter704 : struct.compacts) + for (ShowCompactResponseElement _iter712 : struct.compacts) { - _iter704.write(oprot); + _iter712.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse public void read(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list705 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.compacts = new ArrayList(_list705.size); - ShowCompactResponseElement _elem706; - for (int _i707 = 0; _i707 < _list705.size; ++_i707) + org.apache.thrift.protocol.TList _list713 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.compacts = new ArrayList(_list713.size); + ShowCompactResponseElement _elem714; + for (int _i715 = 0; _i715 < _list713.size; ++_i715) { - _elem706 = new ShowCompactResponseElement(); - _elem706.read(iprot); - struct.compacts.add(_elem706); + _elem714 = new ShowCompactResponseElement(); + _elem714.read(iprot); + struct.compacts.add(_elem714); } } struct.setCompactsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java index e0db2f789cdcdabef59815522157dc8aaf01f770..4bbc8e7766922455bd4ad960c49599146a2e84c6 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java @@ -350,14 +350,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowLocksResponse s case 1: // LOCKS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list666 = iprot.readListBegin(); - struct.locks = new ArrayList(_list666.size); - ShowLocksResponseElement _elem667; - for (int _i668 = 0; _i668 < _list666.size; ++_i668) + org.apache.thrift.protocol.TList _list674 = iprot.readListBegin(); + struct.locks = new ArrayList(_list674.size); + ShowLocksResponseElement _elem675; + for (int _i676 = 0; _i676 < _list674.size; ++_i676) { - _elem667 = new ShowLocksResponseElement(); - _elem667.read(iprot); - struct.locks.add(_elem667); + _elem675 = new ShowLocksResponseElement(); + _elem675.read(iprot); + struct.locks.add(_elem675); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ShowLocksResponse oprot.writeFieldBegin(LOCKS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.locks.size())); - for (ShowLocksResponseElement _iter669 : struct.locks) + for (ShowLocksResponseElement _iter677 : struct.locks) { - _iter669.write(oprot); + _iter677.write(oprot); } oprot.writeListEnd(); } @@ -416,9 +416,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowLocksResponse s if (struct.isSetLocks()) { { oprot.writeI32(struct.locks.size()); - for (ShowLocksResponseElement _iter670 : struct.locks) + for (ShowLocksResponseElement _iter678 : struct.locks) { - _iter670.write(oprot); + _iter678.write(oprot); } } } @@ -430,14 +430,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ShowLocksResponse st BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list671 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.locks = new ArrayList(_list671.size); - ShowLocksResponseElement _elem672; - for (int _i673 = 0; _i673 < _list671.size; ++_i673) + org.apache.thrift.protocol.TList _list679 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.locks = new ArrayList(_list679.size); + ShowLocksResponseElement _elem680; + for (int _i681 = 0; _i681 < _list679.size; ++_i681) { - _elem672 = new ShowLocksResponseElement(); - _elem672.read(iprot); - struct.locks.add(_elem672); + _elem680 = new ShowLocksResponseElement(); + _elem680.read(iprot); + struct.locks.add(_elem680); } } struct.setLocksIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java index 38d4f64f647c300dde25180eec5063163ab6b831..c027762dde605e66c70489a912868f90ffd223f0 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java @@ -240,7 +240,7 @@ public String getFieldName() { tmpMap.put(_Fields.REWRITE_ENABLED, new org.apache.thrift.meta_data.FieldMetaData("rewriteEnabled", org.apache.thrift.TFieldRequirementType.OPTIONAL, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); tmpMap.put(_Fields.CREATION_METADATA, new org.apache.thrift.meta_data.FieldMetaData("creationMetadata", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT , "CreationMetadata"))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, CreationMetadata.class))); tmpMap.put(_Fields.CAT_NAME, new org.apache.thrift.meta_data.FieldMetaData("catName", org.apache.thrift.TFieldRequirementType.OPTIONAL, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.OWNER_TYPE, new org.apache.thrift.meta_data.FieldMetaData("ownerType", org.apache.thrift.TFieldRequirementType.OPTIONAL, @@ -334,7 +334,7 @@ public Table(Table other) { this.temporary = other.temporary; this.rewriteEnabled = other.rewriteEnabled; if (other.isSetCreationMetadata()) { - this.creationMetadata = other.creationMetadata; + this.creationMetadata = new CreationMetadata(other.creationMetadata); } if (other.isSetCatName()) { this.catName = other.catName; @@ -1706,6 +1706,9 @@ public void validate() throws org.apache.thrift.TException { if (privileges != null) { privileges.validate(); } + if (creationMetadata != null) { + creationMetadata.validate(); + } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -1804,14 +1807,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Table struct) throw case 8: // PARTITION_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list198 = iprot.readListBegin(); - struct.partitionKeys = new ArrayList(_list198.size); - FieldSchema _elem199; - for (int _i200 = 0; _i200 < _list198.size; ++_i200) + org.apache.thrift.protocol.TList _list206 = iprot.readListBegin(); + struct.partitionKeys = new ArrayList(_list206.size); + FieldSchema _elem207; + for (int _i208 = 0; _i208 < _list206.size; ++_i208) { - _elem199 = new FieldSchema(); - _elem199.read(iprot); - struct.partitionKeys.add(_elem199); + _elem207 = new FieldSchema(); + _elem207.read(iprot); + struct.partitionKeys.add(_elem207); } iprot.readListEnd(); } @@ -1823,15 +1826,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Table struct) throw case 9: // PARAMETERS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map201 = iprot.readMapBegin(); - struct.parameters = new HashMap(2*_map201.size); - String _key202; - String _val203; - for (int _i204 = 0; _i204 < _map201.size; ++_i204) + org.apache.thrift.protocol.TMap _map209 = iprot.readMapBegin(); + struct.parameters = new HashMap(2*_map209.size); + String _key210; + String _val211; + for (int _i212 = 0; _i212 < _map209.size; ++_i212) { - _key202 = iprot.readString(); - _val203 = iprot.readString(); - struct.parameters.put(_key202, _val203); + _key210 = iprot.readString(); + _val211 = iprot.readString(); + struct.parameters.put(_key210, _val211); } iprot.readMapEnd(); } @@ -1960,9 +1963,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Table struct) thro oprot.writeFieldBegin(PARTITION_KEYS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitionKeys.size())); - for (FieldSchema _iter205 : struct.partitionKeys) + for (FieldSchema _iter213 : struct.partitionKeys) { - _iter205.write(oprot); + _iter213.write(oprot); } oprot.writeListEnd(); } @@ -1972,10 +1975,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Table struct) thro oprot.writeFieldBegin(PARAMETERS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.parameters.size())); - for (Map.Entry _iter206 : struct.parameters.entrySet()) + for (Map.Entry _iter214 : struct.parameters.entrySet()) { - oprot.writeString(_iter206.getKey()); - oprot.writeString(_iter206.getValue()); + oprot.writeString(_iter214.getKey()); + oprot.writeString(_iter214.getValue()); } oprot.writeMapEnd(); } @@ -2131,19 +2134,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Table struct) throw if (struct.isSetPartitionKeys()) { { oprot.writeI32(struct.partitionKeys.size()); - for (FieldSchema _iter207 : struct.partitionKeys) + for (FieldSchema _iter215 : struct.partitionKeys) { - _iter207.write(oprot); + _iter215.write(oprot); } } } if (struct.isSetParameters()) { { oprot.writeI32(struct.parameters.size()); - for (Map.Entry _iter208 : struct.parameters.entrySet()) + for (Map.Entry _iter216 : struct.parameters.entrySet()) { - oprot.writeString(_iter208.getKey()); - oprot.writeString(_iter208.getValue()); + oprot.writeString(_iter216.getKey()); + oprot.writeString(_iter216.getValue()); } } } @@ -2211,29 +2214,29 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Table struct) throws } if (incoming.get(7)) { { - org.apache.thrift.protocol.TList _list209 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitionKeys = new ArrayList(_list209.size); - FieldSchema _elem210; - for (int _i211 = 0; _i211 < _list209.size; ++_i211) + org.apache.thrift.protocol.TList _list217 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitionKeys = new ArrayList(_list217.size); + FieldSchema _elem218; + for (int _i219 = 0; _i219 < _list217.size; ++_i219) { - _elem210 = new FieldSchema(); - _elem210.read(iprot); - struct.partitionKeys.add(_elem210); + _elem218 = new FieldSchema(); + _elem218.read(iprot); + struct.partitionKeys.add(_elem218); } } struct.setPartitionKeysIsSet(true); } if (incoming.get(8)) { { - org.apache.thrift.protocol.TMap _map212 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.parameters = new HashMap(2*_map212.size); - String _key213; - String _val214; - for (int _i215 = 0; _i215 < _map212.size; ++_i215) + org.apache.thrift.protocol.TMap _map220 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.parameters = new HashMap(2*_map220.size); + String _key221; + String _val222; + for (int _i223 = 0; _i223 < _map220.size; ++_i223) { - _key213 = iprot.readString(); - _val214 = iprot.readString(); - struct.parameters.put(_key213, _val214); + _key221 = iprot.readString(); + _val222 = iprot.readString(); + struct.parameters.put(_key221, _val222); } } struct.setParametersIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java index a663a64c677663dcde05d6160771024120cdb1f1..07e005fbb721465fddc5393e9fced80e17a8f3a5 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java @@ -619,13 +619,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TableStatsRequest s case 3: // COL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list450 = iprot.readListBegin(); - struct.colNames = new ArrayList(_list450.size); - String _elem451; - for (int _i452 = 0; _i452 < _list450.size; ++_i452) + org.apache.thrift.protocol.TList _list458 = iprot.readListBegin(); + struct.colNames = new ArrayList(_list458.size); + String _elem459; + for (int _i460 = 0; _i460 < _list458.size; ++_i460) { - _elem451 = iprot.readString(); - struct.colNames.add(_elem451); + _elem459 = iprot.readString(); + struct.colNames.add(_elem459); } iprot.readListEnd(); } @@ -669,9 +669,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TableStatsRequest oprot.writeFieldBegin(COL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.colNames.size())); - for (String _iter453 : struct.colNames) + for (String _iter461 : struct.colNames) { - oprot.writeString(_iter453); + oprot.writeString(_iter461); } oprot.writeListEnd(); } @@ -705,9 +705,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TableStatsRequest s oprot.writeString(struct.tblName); { oprot.writeI32(struct.colNames.size()); - for (String _iter454 : struct.colNames) + for (String _iter462 : struct.colNames) { - oprot.writeString(_iter454); + oprot.writeString(_iter462); } } BitSet optionals = new BitSet(); @@ -728,13 +728,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TableStatsRequest st struct.tblName = iprot.readString(); struct.setTblNameIsSet(true); { - org.apache.thrift.protocol.TList _list455 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.colNames = new ArrayList(_list455.size); - String _elem456; - for (int _i457 = 0; _i457 < _list455.size; ++_i457) + org.apache.thrift.protocol.TList _list463 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.colNames = new ArrayList(_list463.size); + String _elem464; + for (int _i465 = 0; _i465 < _list463.size; ++_i465) { - _elem456 = iprot.readString(); - struct.colNames.add(_elem456); + _elem464 = iprot.readString(); + struct.colNames.add(_elem464); } } struct.setColNamesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java index dff7d5c2048ab331e0282035ffc74d50e49e066b..df056ca5632878b4f3880376c6b93f5c9f6a6107 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TableStatsResult st case 1: // TABLE_STATS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list424 = iprot.readListBegin(); - struct.tableStats = new ArrayList(_list424.size); - ColumnStatisticsObj _elem425; - for (int _i426 = 0; _i426 < _list424.size; ++_i426) + org.apache.thrift.protocol.TList _list432 = iprot.readListBegin(); + struct.tableStats = new ArrayList(_list432.size); + ColumnStatisticsObj _elem433; + for (int _i434 = 0; _i434 < _list432.size; ++_i434) { - _elem425 = new ColumnStatisticsObj(); - _elem425.read(iprot); - struct.tableStats.add(_elem425); + _elem433 = new ColumnStatisticsObj(); + _elem433.read(iprot); + struct.tableStats.add(_elem433); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TableStatsResult s oprot.writeFieldBegin(TABLE_STATS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.tableStats.size())); - for (ColumnStatisticsObj _iter427 : struct.tableStats) + for (ColumnStatisticsObj _iter435 : struct.tableStats) { - _iter427.write(oprot); + _iter435.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TableStatsResult st TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.tableStats.size()); - for (ColumnStatisticsObj _iter428 : struct.tableStats) + for (ColumnStatisticsObj _iter436 : struct.tableStats) { - _iter428.write(oprot); + _iter436.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TableStatsResult st public void read(org.apache.thrift.protocol.TProtocol prot, TableStatsResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list429 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tableStats = new ArrayList(_list429.size); - ColumnStatisticsObj _elem430; - for (int _i431 = 0; _i431 < _list429.size; ++_i431) + org.apache.thrift.protocol.TList _list437 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.tableStats = new ArrayList(_list437.size); + ColumnStatisticsObj _elem438; + for (int _i439 = 0; _i439 < _list437.size; ++_i439) { - _elem430 = new ColumnStatisticsObj(); - _elem430.read(iprot); - struct.tableStats.add(_elem430); + _elem438 = new ColumnStatisticsObj(); + _elem438.read(iprot); + struct.tableStats.add(_elem438); } } struct.setTableStatsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableValidWriteIds.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableValidWriteIds.java index de15fc6be2a400923a831a7c3781d2fe63a11386..9c6ee51b26d62a06dcac63547a51106fbe4da760 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableValidWriteIds.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableValidWriteIds.java @@ -708,13 +708,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TableValidWriteIds case 3: // INVALID_WRITE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list618 = iprot.readListBegin(); - struct.invalidWriteIds = new ArrayList(_list618.size); - long _elem619; - for (int _i620 = 0; _i620 < _list618.size; ++_i620) + org.apache.thrift.protocol.TList _list626 = iprot.readListBegin(); + struct.invalidWriteIds = new ArrayList(_list626.size); + long _elem627; + for (int _i628 = 0; _i628 < _list626.size; ++_i628) { - _elem619 = iprot.readI64(); - struct.invalidWriteIds.add(_elem619); + _elem627 = iprot.readI64(); + struct.invalidWriteIds.add(_elem627); } iprot.readListEnd(); } @@ -764,9 +764,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TableValidWriteIds oprot.writeFieldBegin(INVALID_WRITE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.invalidWriteIds.size())); - for (long _iter621 : struct.invalidWriteIds) + for (long _iter629 : struct.invalidWriteIds) { - oprot.writeI64(_iter621); + oprot.writeI64(_iter629); } oprot.writeListEnd(); } @@ -803,9 +803,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TableValidWriteIds oprot.writeI64(struct.writeIdHighWaterMark); { oprot.writeI32(struct.invalidWriteIds.size()); - for (long _iter622 : struct.invalidWriteIds) + for (long _iter630 : struct.invalidWriteIds) { - oprot.writeI64(_iter622); + oprot.writeI64(_iter630); } } oprot.writeBinary(struct.abortedBits); @@ -827,13 +827,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TableValidWriteIds s struct.writeIdHighWaterMark = iprot.readI64(); struct.setWriteIdHighWaterMarkIsSet(true); { - org.apache.thrift.protocol.TList _list623 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.invalidWriteIds = new ArrayList(_list623.size); - long _elem624; - for (int _i625 = 0; _i625 < _list623.size; ++_i625) + org.apache.thrift.protocol.TList _list631 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.invalidWriteIds = new ArrayList(_list631.size); + long _elem632; + for (int _i633 = 0; _i633 < _list631.size; ++_i633) { - _elem624 = iprot.readI64(); - struct.invalidWriteIds.add(_elem624); + _elem632 = iprot.readI64(); + struct.invalidWriteIds.add(_elem632); } } struct.setInvalidWriteIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UniqueConstraintsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UniqueConstraintsResponse.java index 80dea833bbfae24e7b92c4cfebf7f8cfd775b34b..1acf6f4b4ed9d4e6bce4010b534dccb52ecd6f3b 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UniqueConstraintsResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UniqueConstraintsResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, UniqueConstraintsRe case 1: // UNIQUE_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list336 = iprot.readListBegin(); - struct.uniqueConstraints = new ArrayList(_list336.size); - SQLUniqueConstraint _elem337; - for (int _i338 = 0; _i338 < _list336.size; ++_i338) + org.apache.thrift.protocol.TList _list344 = iprot.readListBegin(); + struct.uniqueConstraints = new ArrayList(_list344.size); + SQLUniqueConstraint _elem345; + for (int _i346 = 0; _i346 < _list344.size; ++_i346) { - _elem337 = new SQLUniqueConstraint(); - _elem337.read(iprot); - struct.uniqueConstraints.add(_elem337); + _elem345 = new SQLUniqueConstraint(); + _elem345.read(iprot); + struct.uniqueConstraints.add(_elem345); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, UniqueConstraintsR oprot.writeFieldBegin(UNIQUE_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.uniqueConstraints.size())); - for (SQLUniqueConstraint _iter339 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter347 : struct.uniqueConstraints) { - _iter339.write(oprot); + _iter347.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, UniqueConstraintsRe TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.uniqueConstraints.size()); - for (SQLUniqueConstraint _iter340 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter348 : struct.uniqueConstraints) { - _iter340.write(oprot); + _iter348.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, UniqueConstraintsRe public void read(org.apache.thrift.protocol.TProtocol prot, UniqueConstraintsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list341 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.uniqueConstraints = new ArrayList(_list341.size); - SQLUniqueConstraint _elem342; - for (int _i343 = 0; _i343 < _list341.size; ++_i343) + org.apache.thrift.protocol.TList _list349 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.uniqueConstraints = new ArrayList(_list349.size); + SQLUniqueConstraint _elem350; + for (int _i351 = 0; _i351 < _list349.size; ++_i351) { - _elem342 = new SQLUniqueConstraint(); - _elem342.read(iprot); - struct.uniqueConstraints.add(_elem342); + _elem350 = new SQLUniqueConstraint(); + _elem350.read(iprot); + struct.uniqueConstraints.add(_elem350); } } struct.setUniqueConstraintsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php b/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php index bd84cf7c7be5a054149f2e978de2ca196a2c2198..688574e6db9cf378269db0de60d126a9aa6ccee9 100644 --- a/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php +++ b/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php @@ -6488,6 +6488,230 @@ class StorageDescriptor { } +class CreationMetadata { + static $_TSPEC; + + /** + * @var string + */ + public $catName = null; + /** + * @var string + */ + public $dbName = null; + /** + * @var string + */ + public $tblName = null; + /** + * @var string[] + */ + public $tablesUsed = null; + /** + * @var string + */ + public $validTxnList = null; + /** + * @var int + */ + public $materializationTime = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'catName', + 'type' => TType::STRING, + ), + 2 => array( + 'var' => 'dbName', + 'type' => TType::STRING, + ), + 3 => array( + 'var' => 'tblName', + 'type' => TType::STRING, + ), + 4 => array( + 'var' => 'tablesUsed', + 'type' => TType::SET, + 'etype' => TType::STRING, + 'elem' => array( + 'type' => TType::STRING, + ), + ), + 5 => array( + 'var' => 'validTxnList', + 'type' => TType::STRING, + ), + 6 => array( + 'var' => 'materializationTime', + 'type' => TType::I64, + ), + ); + } + if (is_array($vals)) { + if (isset($vals['catName'])) { + $this->catName = $vals['catName']; + } + if (isset($vals['dbName'])) { + $this->dbName = $vals['dbName']; + } + if (isset($vals['tblName'])) { + $this->tblName = $vals['tblName']; + } + if (isset($vals['tablesUsed'])) { + $this->tablesUsed = $vals['tablesUsed']; + } + if (isset($vals['validTxnList'])) { + $this->validTxnList = $vals['validTxnList']; + } + if (isset($vals['materializationTime'])) { + $this->materializationTime = $vals['materializationTime']; + } + } + } + + public function getName() { + return 'CreationMetadata'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 1: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->catName); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->dbName); + } else { + $xfer += $input->skip($ftype); + } + break; + case 3: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->tblName); + } else { + $xfer += $input->skip($ftype); + } + break; + case 4: + if ($ftype == TType::SET) { + $this->tablesUsed = array(); + $_size175 = 0; + $_etype178 = 0; + $xfer += $input->readSetBegin($_etype178, $_size175); + for ($_i179 = 0; $_i179 < $_size175; ++$_i179) + { + $elem180 = null; + $xfer += $input->readString($elem180); + if (is_scalar($elem180)) { + $this->tablesUsed[$elem180] = true; + } else { + $this->tablesUsed []= $elem180; + } + } + $xfer += $input->readSetEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + case 5: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->validTxnList); + } else { + $xfer += $input->skip($ftype); + } + break; + case 6: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->materializationTime); + } 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('CreationMetadata'); + if ($this->catName !== null) { + $xfer += $output->writeFieldBegin('catName', TType::STRING, 1); + $xfer += $output->writeString($this->catName); + $xfer += $output->writeFieldEnd(); + } + if ($this->dbName !== null) { + $xfer += $output->writeFieldBegin('dbName', TType::STRING, 2); + $xfer += $output->writeString($this->dbName); + $xfer += $output->writeFieldEnd(); + } + if ($this->tblName !== null) { + $xfer += $output->writeFieldBegin('tblName', TType::STRING, 3); + $xfer += $output->writeString($this->tblName); + $xfer += $output->writeFieldEnd(); + } + if ($this->tablesUsed !== null) { + if (!is_array($this->tablesUsed)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('tablesUsed', TType::SET, 4); + { + $output->writeSetBegin(TType::STRING, count($this->tablesUsed)); + { + foreach ($this->tablesUsed as $iter181 => $iter182) + { + if (is_scalar($iter182)) { + $xfer += $output->writeString($iter181); + } else { + $xfer += $output->writeString($iter182); + } + } + } + $output->writeSetEnd(); + } + $xfer += $output->writeFieldEnd(); + } + if ($this->validTxnList !== null) { + $xfer += $output->writeFieldBegin('validTxnList', TType::STRING, 5); + $xfer += $output->writeString($this->validTxnList); + $xfer += $output->writeFieldEnd(); + } + if ($this->materializationTime !== null) { + $xfer += $output->writeFieldBegin('materializationTime', TType::I64, 6); + $xfer += $output->writeI64($this->materializationTime); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class Table { static $_TSPEC; @@ -6787,15 +7011,15 @@ class Table { case 8: if ($ftype == TType::LST) { $this->partitionKeys = array(); - $_size175 = 0; - $_etype178 = 0; - $xfer += $input->readListBegin($_etype178, $_size175); - for ($_i179 = 0; $_i179 < $_size175; ++$_i179) + $_size183 = 0; + $_etype186 = 0; + $xfer += $input->readListBegin($_etype186, $_size183); + for ($_i187 = 0; $_i187 < $_size183; ++$_i187) { - $elem180 = null; - $elem180 = new \metastore\FieldSchema(); - $xfer += $elem180->read($input); - $this->partitionKeys []= $elem180; + $elem188 = null; + $elem188 = new \metastore\FieldSchema(); + $xfer += $elem188->read($input); + $this->partitionKeys []= $elem188; } $xfer += $input->readListEnd(); } else { @@ -6805,17 +7029,17 @@ class Table { case 9: if ($ftype == TType::MAP) { $this->parameters = array(); - $_size181 = 0; - $_ktype182 = 0; - $_vtype183 = 0; - $xfer += $input->readMapBegin($_ktype182, $_vtype183, $_size181); - for ($_i185 = 0; $_i185 < $_size181; ++$_i185) + $_size189 = 0; + $_ktype190 = 0; + $_vtype191 = 0; + $xfer += $input->readMapBegin($_ktype190, $_vtype191, $_size189); + for ($_i193 = 0; $_i193 < $_size189; ++$_i193) { - $key186 = ''; - $val187 = ''; - $xfer += $input->readString($key186); - $xfer += $input->readString($val187); - $this->parameters[$key186] = $val187; + $key194 = ''; + $val195 = ''; + $xfer += $input->readString($key194); + $xfer += $input->readString($val195); + $this->parameters[$key194] = $val195; } $xfer += $input->readMapEnd(); } else { @@ -6946,9 +7170,9 @@ class Table { { $output->writeListBegin(TType::STRUCT, count($this->partitionKeys)); { - foreach ($this->partitionKeys as $iter188) + foreach ($this->partitionKeys as $iter196) { - $xfer += $iter188->write($output); + $xfer += $iter196->write($output); } } $output->writeListEnd(); @@ -6963,10 +7187,10 @@ class Table { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->parameters)); { - foreach ($this->parameters as $kiter189 => $viter190) + foreach ($this->parameters as $kiter197 => $viter198) { - $xfer += $output->writeString($kiter189); - $xfer += $output->writeString($viter190); + $xfer += $output->writeString($kiter197); + $xfer += $output->writeString($viter198); } } $output->writeMapEnd(); @@ -7179,14 +7403,14 @@ class Partition { case 1: if ($ftype == TType::LST) { $this->values = array(); - $_size191 = 0; - $_etype194 = 0; - $xfer += $input->readListBegin($_etype194, $_size191); - for ($_i195 = 0; $_i195 < $_size191; ++$_i195) + $_size199 = 0; + $_etype202 = 0; + $xfer += $input->readListBegin($_etype202, $_size199); + for ($_i203 = 0; $_i203 < $_size199; ++$_i203) { - $elem196 = null; - $xfer += $input->readString($elem196); - $this->values []= $elem196; + $elem204 = null; + $xfer += $input->readString($elem204); + $this->values []= $elem204; } $xfer += $input->readListEnd(); } else { @@ -7232,17 +7456,17 @@ class Partition { case 7: if ($ftype == TType::MAP) { $this->parameters = array(); - $_size197 = 0; - $_ktype198 = 0; - $_vtype199 = 0; - $xfer += $input->readMapBegin($_ktype198, $_vtype199, $_size197); - for ($_i201 = 0; $_i201 < $_size197; ++$_i201) + $_size205 = 0; + $_ktype206 = 0; + $_vtype207 = 0; + $xfer += $input->readMapBegin($_ktype206, $_vtype207, $_size205); + for ($_i209 = 0; $_i209 < $_size205; ++$_i209) { - $key202 = ''; - $val203 = ''; - $xfer += $input->readString($key202); - $xfer += $input->readString($val203); - $this->parameters[$key202] = $val203; + $key210 = ''; + $val211 = ''; + $xfer += $input->readString($key210); + $xfer += $input->readString($val211); + $this->parameters[$key210] = $val211; } $xfer += $input->readMapEnd(); } else { @@ -7285,9 +7509,9 @@ class Partition { { $output->writeListBegin(TType::STRING, count($this->values)); { - foreach ($this->values as $iter204) + foreach ($this->values as $iter212) { - $xfer += $output->writeString($iter204); + $xfer += $output->writeString($iter212); } } $output->writeListEnd(); @@ -7330,10 +7554,10 @@ class Partition { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->parameters)); { - foreach ($this->parameters as $kiter205 => $viter206) + foreach ($this->parameters as $kiter213 => $viter214) { - $xfer += $output->writeString($kiter205); - $xfer += $output->writeString($viter206); + $xfer += $output->writeString($kiter213); + $xfer += $output->writeString($viter214); } } $output->writeMapEnd(); @@ -7474,14 +7698,14 @@ class PartitionWithoutSD { case 1: if ($ftype == TType::LST) { $this->values = array(); - $_size207 = 0; - $_etype210 = 0; - $xfer += $input->readListBegin($_etype210, $_size207); - for ($_i211 = 0; $_i211 < $_size207; ++$_i211) + $_size215 = 0; + $_etype218 = 0; + $xfer += $input->readListBegin($_etype218, $_size215); + for ($_i219 = 0; $_i219 < $_size215; ++$_i219) { - $elem212 = null; - $xfer += $input->readString($elem212); - $this->values []= $elem212; + $elem220 = null; + $xfer += $input->readString($elem220); + $this->values []= $elem220; } $xfer += $input->readListEnd(); } else { @@ -7512,17 +7736,17 @@ class PartitionWithoutSD { case 5: if ($ftype == TType::MAP) { $this->parameters = array(); - $_size213 = 0; - $_ktype214 = 0; - $_vtype215 = 0; - $xfer += $input->readMapBegin($_ktype214, $_vtype215, $_size213); - for ($_i217 = 0; $_i217 < $_size213; ++$_i217) + $_size221 = 0; + $_ktype222 = 0; + $_vtype223 = 0; + $xfer += $input->readMapBegin($_ktype222, $_vtype223, $_size221); + for ($_i225 = 0; $_i225 < $_size221; ++$_i225) { - $key218 = ''; - $val219 = ''; - $xfer += $input->readString($key218); - $xfer += $input->readString($val219); - $this->parameters[$key218] = $val219; + $key226 = ''; + $val227 = ''; + $xfer += $input->readString($key226); + $xfer += $input->readString($val227); + $this->parameters[$key226] = $val227; } $xfer += $input->readMapEnd(); } else { @@ -7558,9 +7782,9 @@ class PartitionWithoutSD { { $output->writeListBegin(TType::STRING, count($this->values)); { - foreach ($this->values as $iter220) + foreach ($this->values as $iter228) { - $xfer += $output->writeString($iter220); + $xfer += $output->writeString($iter228); } } $output->writeListEnd(); @@ -7590,10 +7814,10 @@ class PartitionWithoutSD { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->parameters)); { - foreach ($this->parameters as $kiter221 => $viter222) + foreach ($this->parameters as $kiter229 => $viter230) { - $xfer += $output->writeString($kiter221); - $xfer += $output->writeString($viter222); + $xfer += $output->writeString($kiter229); + $xfer += $output->writeString($viter230); } } $output->writeMapEnd(); @@ -7678,15 +7902,15 @@ class PartitionSpecWithSharedSD { case 1: if ($ftype == TType::LST) { $this->partitions = array(); - $_size223 = 0; - $_etype226 = 0; - $xfer += $input->readListBegin($_etype226, $_size223); - for ($_i227 = 0; $_i227 < $_size223; ++$_i227) + $_size231 = 0; + $_etype234 = 0; + $xfer += $input->readListBegin($_etype234, $_size231); + for ($_i235 = 0; $_i235 < $_size231; ++$_i235) { - $elem228 = null; - $elem228 = new \metastore\PartitionWithoutSD(); - $xfer += $elem228->read($input); - $this->partitions []= $elem228; + $elem236 = null; + $elem236 = new \metastore\PartitionWithoutSD(); + $xfer += $elem236->read($input); + $this->partitions []= $elem236; } $xfer += $input->readListEnd(); } else { @@ -7722,9 +7946,9 @@ class PartitionSpecWithSharedSD { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter229) + foreach ($this->partitions as $iter237) { - $xfer += $iter229->write($output); + $xfer += $iter237->write($output); } } $output->writeListEnd(); @@ -7797,15 +8021,15 @@ class PartitionListComposingSpec { case 1: if ($ftype == TType::LST) { $this->partitions = array(); - $_size230 = 0; - $_etype233 = 0; - $xfer += $input->readListBegin($_etype233, $_size230); - for ($_i234 = 0; $_i234 < $_size230; ++$_i234) + $_size238 = 0; + $_etype241 = 0; + $xfer += $input->readListBegin($_etype241, $_size238); + for ($_i242 = 0; $_i242 < $_size238; ++$_i242) { - $elem235 = null; - $elem235 = new \metastore\Partition(); - $xfer += $elem235->read($input); - $this->partitions []= $elem235; + $elem243 = null; + $elem243 = new \metastore\Partition(); + $xfer += $elem243->read($input); + $this->partitions []= $elem243; } $xfer += $input->readListEnd(); } else { @@ -7833,9 +8057,9 @@ class PartitionListComposingSpec { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter236) + foreach ($this->partitions as $iter244) { - $xfer += $iter236->write($output); + $xfer += $iter244->write($output); } } $output->writeListEnd(); @@ -10000,15 +10224,15 @@ class ColumnStatistics { case 2: if ($ftype == TType::LST) { $this->statsObj = array(); - $_size237 = 0; - $_etype240 = 0; - $xfer += $input->readListBegin($_etype240, $_size237); - for ($_i241 = 0; $_i241 < $_size237; ++$_i241) + $_size245 = 0; + $_etype248 = 0; + $xfer += $input->readListBegin($_etype248, $_size245); + for ($_i249 = 0; $_i249 < $_size245; ++$_i249) { - $elem242 = null; - $elem242 = new \metastore\ColumnStatisticsObj(); - $xfer += $elem242->read($input); - $this->statsObj []= $elem242; + $elem250 = null; + $elem250 = new \metastore\ColumnStatisticsObj(); + $xfer += $elem250->read($input); + $this->statsObj []= $elem250; } $xfer += $input->readListEnd(); } else { @@ -10044,9 +10268,9 @@ class ColumnStatistics { { $output->writeListBegin(TType::STRUCT, count($this->statsObj)); { - foreach ($this->statsObj as $iter243) + foreach ($this->statsObj as $iter251) { - $xfer += $iter243->write($output); + $xfer += $iter251->write($output); } } $output->writeListEnd(); @@ -10122,15 +10346,15 @@ class AggrStats { case 1: if ($ftype == TType::LST) { $this->colStats = array(); - $_size244 = 0; - $_etype247 = 0; - $xfer += $input->readListBegin($_etype247, $_size244); - for ($_i248 = 0; $_i248 < $_size244; ++$_i248) + $_size252 = 0; + $_etype255 = 0; + $xfer += $input->readListBegin($_etype255, $_size252); + for ($_i256 = 0; $_i256 < $_size252; ++$_i256) { - $elem249 = null; - $elem249 = new \metastore\ColumnStatisticsObj(); - $xfer += $elem249->read($input); - $this->colStats []= $elem249; + $elem257 = null; + $elem257 = new \metastore\ColumnStatisticsObj(); + $xfer += $elem257->read($input); + $this->colStats []= $elem257; } $xfer += $input->readListEnd(); } else { @@ -10165,9 +10389,9 @@ class AggrStats { { $output->writeListBegin(TType::STRUCT, count($this->colStats)); { - foreach ($this->colStats as $iter250) + foreach ($this->colStats as $iter258) { - $xfer += $iter250->write($output); + $xfer += $iter258->write($output); } } $output->writeListEnd(); @@ -10248,15 +10472,15 @@ class SetPartitionsStatsRequest { case 1: if ($ftype == TType::LST) { $this->colStats = array(); - $_size251 = 0; - $_etype254 = 0; - $xfer += $input->readListBegin($_etype254, $_size251); - for ($_i255 = 0; $_i255 < $_size251; ++$_i255) + $_size259 = 0; + $_etype262 = 0; + $xfer += $input->readListBegin($_etype262, $_size259); + for ($_i263 = 0; $_i263 < $_size259; ++$_i263) { - $elem256 = null; - $elem256 = new \metastore\ColumnStatistics(); - $xfer += $elem256->read($input); - $this->colStats []= $elem256; + $elem264 = null; + $elem264 = new \metastore\ColumnStatistics(); + $xfer += $elem264->read($input); + $this->colStats []= $elem264; } $xfer += $input->readListEnd(); } else { @@ -10291,9 +10515,9 @@ class SetPartitionsStatsRequest { { $output->writeListBegin(TType::STRUCT, count($this->colStats)); { - foreach ($this->colStats as $iter257) + foreach ($this->colStats as $iter265) { - $xfer += $iter257->write($output); + $xfer += $iter265->write($output); } } $output->writeListEnd(); @@ -10382,15 +10606,15 @@ class Schema { case 1: if ($ftype == TType::LST) { $this->fieldSchemas = array(); - $_size258 = 0; - $_etype261 = 0; - $xfer += $input->readListBegin($_etype261, $_size258); - for ($_i262 = 0; $_i262 < $_size258; ++$_i262) + $_size266 = 0; + $_etype269 = 0; + $xfer += $input->readListBegin($_etype269, $_size266); + for ($_i270 = 0; $_i270 < $_size266; ++$_i270) { - $elem263 = null; - $elem263 = new \metastore\FieldSchema(); - $xfer += $elem263->read($input); - $this->fieldSchemas []= $elem263; + $elem271 = null; + $elem271 = new \metastore\FieldSchema(); + $xfer += $elem271->read($input); + $this->fieldSchemas []= $elem271; } $xfer += $input->readListEnd(); } else { @@ -10400,17 +10624,17 @@ class Schema { case 2: if ($ftype == TType::MAP) { $this->properties = array(); - $_size264 = 0; - $_ktype265 = 0; - $_vtype266 = 0; - $xfer += $input->readMapBegin($_ktype265, $_vtype266, $_size264); - for ($_i268 = 0; $_i268 < $_size264; ++$_i268) + $_size272 = 0; + $_ktype273 = 0; + $_vtype274 = 0; + $xfer += $input->readMapBegin($_ktype273, $_vtype274, $_size272); + for ($_i276 = 0; $_i276 < $_size272; ++$_i276) { - $key269 = ''; - $val270 = ''; - $xfer += $input->readString($key269); - $xfer += $input->readString($val270); - $this->properties[$key269] = $val270; + $key277 = ''; + $val278 = ''; + $xfer += $input->readString($key277); + $xfer += $input->readString($val278); + $this->properties[$key277] = $val278; } $xfer += $input->readMapEnd(); } else { @@ -10438,9 +10662,9 @@ class Schema { { $output->writeListBegin(TType::STRUCT, count($this->fieldSchemas)); { - foreach ($this->fieldSchemas as $iter271) + foreach ($this->fieldSchemas as $iter279) { - $xfer += $iter271->write($output); + $xfer += $iter279->write($output); } } $output->writeListEnd(); @@ -10455,10 +10679,10 @@ class Schema { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->properties)); { - foreach ($this->properties as $kiter272 => $viter273) + foreach ($this->properties as $kiter280 => $viter281) { - $xfer += $output->writeString($kiter272); - $xfer += $output->writeString($viter273); + $xfer += $output->writeString($kiter280); + $xfer += $output->writeString($viter281); } } $output->writeMapEnd(); @@ -10526,17 +10750,17 @@ class EnvironmentContext { case 1: if ($ftype == TType::MAP) { $this->properties = array(); - $_size274 = 0; - $_ktype275 = 0; - $_vtype276 = 0; - $xfer += $input->readMapBegin($_ktype275, $_vtype276, $_size274); - for ($_i278 = 0; $_i278 < $_size274; ++$_i278) + $_size282 = 0; + $_ktype283 = 0; + $_vtype284 = 0; + $xfer += $input->readMapBegin($_ktype283, $_vtype284, $_size282); + for ($_i286 = 0; $_i286 < $_size282; ++$_i286) { - $key279 = ''; - $val280 = ''; - $xfer += $input->readString($key279); - $xfer += $input->readString($val280); - $this->properties[$key279] = $val280; + $key287 = ''; + $val288 = ''; + $xfer += $input->readString($key287); + $xfer += $input->readString($val288); + $this->properties[$key287] = $val288; } $xfer += $input->readMapEnd(); } else { @@ -10564,10 +10788,10 @@ class EnvironmentContext { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->properties)); { - foreach ($this->properties as $kiter281 => $viter282) + foreach ($this->properties as $kiter289 => $viter290) { - $xfer += $output->writeString($kiter281); - $xfer += $output->writeString($viter282); + $xfer += $output->writeString($kiter289); + $xfer += $output->writeString($viter290); } } $output->writeMapEnd(); @@ -10753,15 +10977,15 @@ class PrimaryKeysResponse { case 1: if ($ftype == TType::LST) { $this->primaryKeys = array(); - $_size283 = 0; - $_etype286 = 0; - $xfer += $input->readListBegin($_etype286, $_size283); - for ($_i287 = 0; $_i287 < $_size283; ++$_i287) + $_size291 = 0; + $_etype294 = 0; + $xfer += $input->readListBegin($_etype294, $_size291); + for ($_i295 = 0; $_i295 < $_size291; ++$_i295) { - $elem288 = null; - $elem288 = new \metastore\SQLPrimaryKey(); - $xfer += $elem288->read($input); - $this->primaryKeys []= $elem288; + $elem296 = null; + $elem296 = new \metastore\SQLPrimaryKey(); + $xfer += $elem296->read($input); + $this->primaryKeys []= $elem296; } $xfer += $input->readListEnd(); } else { @@ -10789,9 +11013,9 @@ class PrimaryKeysResponse { { $output->writeListBegin(TType::STRUCT, count($this->primaryKeys)); { - foreach ($this->primaryKeys as $iter289) + foreach ($this->primaryKeys as $iter297) { - $xfer += $iter289->write($output); + $xfer += $iter297->write($output); } } $output->writeListEnd(); @@ -11023,15 +11247,15 @@ class ForeignKeysResponse { case 1: if ($ftype == TType::LST) { $this->foreignKeys = array(); - $_size290 = 0; - $_etype293 = 0; - $xfer += $input->readListBegin($_etype293, $_size290); - for ($_i294 = 0; $_i294 < $_size290; ++$_i294) + $_size298 = 0; + $_etype301 = 0; + $xfer += $input->readListBegin($_etype301, $_size298); + for ($_i302 = 0; $_i302 < $_size298; ++$_i302) { - $elem295 = null; - $elem295 = new \metastore\SQLForeignKey(); - $xfer += $elem295->read($input); - $this->foreignKeys []= $elem295; + $elem303 = null; + $elem303 = new \metastore\SQLForeignKey(); + $xfer += $elem303->read($input); + $this->foreignKeys []= $elem303; } $xfer += $input->readListEnd(); } else { @@ -11059,9 +11283,9 @@ class ForeignKeysResponse { { $output->writeListBegin(TType::STRUCT, count($this->foreignKeys)); { - foreach ($this->foreignKeys as $iter296) + foreach ($this->foreignKeys as $iter304) { - $xfer += $iter296->write($output); + $xfer += $iter304->write($output); } } $output->writeListEnd(); @@ -11247,15 +11471,15 @@ class UniqueConstraintsResponse { case 1: if ($ftype == TType::LST) { $this->uniqueConstraints = array(); - $_size297 = 0; - $_etype300 = 0; - $xfer += $input->readListBegin($_etype300, $_size297); - for ($_i301 = 0; $_i301 < $_size297; ++$_i301) + $_size305 = 0; + $_etype308 = 0; + $xfer += $input->readListBegin($_etype308, $_size305); + for ($_i309 = 0; $_i309 < $_size305; ++$_i309) { - $elem302 = null; - $elem302 = new \metastore\SQLUniqueConstraint(); - $xfer += $elem302->read($input); - $this->uniqueConstraints []= $elem302; + $elem310 = null; + $elem310 = new \metastore\SQLUniqueConstraint(); + $xfer += $elem310->read($input); + $this->uniqueConstraints []= $elem310; } $xfer += $input->readListEnd(); } else { @@ -11283,9 +11507,9 @@ class UniqueConstraintsResponse { { $output->writeListBegin(TType::STRUCT, count($this->uniqueConstraints)); { - foreach ($this->uniqueConstraints as $iter303) + foreach ($this->uniqueConstraints as $iter311) { - $xfer += $iter303->write($output); + $xfer += $iter311->write($output); } } $output->writeListEnd(); @@ -11471,15 +11695,15 @@ class NotNullConstraintsResponse { case 1: if ($ftype == TType::LST) { $this->notNullConstraints = array(); - $_size304 = 0; - $_etype307 = 0; - $xfer += $input->readListBegin($_etype307, $_size304); - for ($_i308 = 0; $_i308 < $_size304; ++$_i308) + $_size312 = 0; + $_etype315 = 0; + $xfer += $input->readListBegin($_etype315, $_size312); + for ($_i316 = 0; $_i316 < $_size312; ++$_i316) { - $elem309 = null; - $elem309 = new \metastore\SQLNotNullConstraint(); - $xfer += $elem309->read($input); - $this->notNullConstraints []= $elem309; + $elem317 = null; + $elem317 = new \metastore\SQLNotNullConstraint(); + $xfer += $elem317->read($input); + $this->notNullConstraints []= $elem317; } $xfer += $input->readListEnd(); } else { @@ -11507,9 +11731,9 @@ class NotNullConstraintsResponse { { $output->writeListBegin(TType::STRUCT, count($this->notNullConstraints)); { - foreach ($this->notNullConstraints as $iter310) + foreach ($this->notNullConstraints as $iter318) { - $xfer += $iter310->write($output); + $xfer += $iter318->write($output); } } $output->writeListEnd(); @@ -11695,15 +11919,15 @@ class DefaultConstraintsResponse { case 1: if ($ftype == TType::LST) { $this->defaultConstraints = array(); - $_size311 = 0; - $_etype314 = 0; - $xfer += $input->readListBegin($_etype314, $_size311); - for ($_i315 = 0; $_i315 < $_size311; ++$_i315) + $_size319 = 0; + $_etype322 = 0; + $xfer += $input->readListBegin($_etype322, $_size319); + for ($_i323 = 0; $_i323 < $_size319; ++$_i323) { - $elem316 = null; - $elem316 = new \metastore\SQLDefaultConstraint(); - $xfer += $elem316->read($input); - $this->defaultConstraints []= $elem316; + $elem324 = null; + $elem324 = new \metastore\SQLDefaultConstraint(); + $xfer += $elem324->read($input); + $this->defaultConstraints []= $elem324; } $xfer += $input->readListEnd(); } else { @@ -11731,9 +11955,9 @@ class DefaultConstraintsResponse { { $output->writeListBegin(TType::STRUCT, count($this->defaultConstraints)); { - foreach ($this->defaultConstraints as $iter317) + foreach ($this->defaultConstraints as $iter325) { - $xfer += $iter317->write($output); + $xfer += $iter325->write($output); } } $output->writeListEnd(); @@ -11919,15 +12143,15 @@ class CheckConstraintsResponse { case 1: if ($ftype == TType::LST) { $this->checkConstraints = array(); - $_size318 = 0; - $_etype321 = 0; - $xfer += $input->readListBegin($_etype321, $_size318); - for ($_i322 = 0; $_i322 < $_size318; ++$_i322) + $_size326 = 0; + $_etype329 = 0; + $xfer += $input->readListBegin($_etype329, $_size326); + for ($_i330 = 0; $_i330 < $_size326; ++$_i330) { - $elem323 = null; - $elem323 = new \metastore\SQLCheckConstraint(); - $xfer += $elem323->read($input); - $this->checkConstraints []= $elem323; + $elem331 = null; + $elem331 = new \metastore\SQLCheckConstraint(); + $xfer += $elem331->read($input); + $this->checkConstraints []= $elem331; } $xfer += $input->readListEnd(); } else { @@ -11955,9 +12179,9 @@ class CheckConstraintsResponse { { $output->writeListBegin(TType::STRUCT, count($this->checkConstraints)); { - foreach ($this->checkConstraints as $iter324) + foreach ($this->checkConstraints as $iter332) { - $xfer += $iter324->write($output); + $xfer += $iter332->write($output); } } $output->writeListEnd(); @@ -12166,15 +12390,15 @@ class AddPrimaryKeyRequest { case 1: if ($ftype == TType::LST) { $this->primaryKeyCols = array(); - $_size325 = 0; - $_etype328 = 0; - $xfer += $input->readListBegin($_etype328, $_size325); - for ($_i329 = 0; $_i329 < $_size325; ++$_i329) + $_size333 = 0; + $_etype336 = 0; + $xfer += $input->readListBegin($_etype336, $_size333); + for ($_i337 = 0; $_i337 < $_size333; ++$_i337) { - $elem330 = null; - $elem330 = new \metastore\SQLPrimaryKey(); - $xfer += $elem330->read($input); - $this->primaryKeyCols []= $elem330; + $elem338 = null; + $elem338 = new \metastore\SQLPrimaryKey(); + $xfer += $elem338->read($input); + $this->primaryKeyCols []= $elem338; } $xfer += $input->readListEnd(); } else { @@ -12202,9 +12426,9 @@ class AddPrimaryKeyRequest { { $output->writeListBegin(TType::STRUCT, count($this->primaryKeyCols)); { - foreach ($this->primaryKeyCols as $iter331) + foreach ($this->primaryKeyCols as $iter339) { - $xfer += $iter331->write($output); + $xfer += $iter339->write($output); } } $output->writeListEnd(); @@ -12269,15 +12493,15 @@ class AddForeignKeyRequest { case 1: if ($ftype == TType::LST) { $this->foreignKeyCols = array(); - $_size332 = 0; - $_etype335 = 0; - $xfer += $input->readListBegin($_etype335, $_size332); - for ($_i336 = 0; $_i336 < $_size332; ++$_i336) + $_size340 = 0; + $_etype343 = 0; + $xfer += $input->readListBegin($_etype343, $_size340); + for ($_i344 = 0; $_i344 < $_size340; ++$_i344) { - $elem337 = null; - $elem337 = new \metastore\SQLForeignKey(); - $xfer += $elem337->read($input); - $this->foreignKeyCols []= $elem337; + $elem345 = null; + $elem345 = new \metastore\SQLForeignKey(); + $xfer += $elem345->read($input); + $this->foreignKeyCols []= $elem345; } $xfer += $input->readListEnd(); } else { @@ -12305,9 +12529,9 @@ class AddForeignKeyRequest { { $output->writeListBegin(TType::STRUCT, count($this->foreignKeyCols)); { - foreach ($this->foreignKeyCols as $iter338) + foreach ($this->foreignKeyCols as $iter346) { - $xfer += $iter338->write($output); + $xfer += $iter346->write($output); } } $output->writeListEnd(); @@ -12372,15 +12596,15 @@ class AddUniqueConstraintRequest { case 1: if ($ftype == TType::LST) { $this->uniqueConstraintCols = array(); - $_size339 = 0; - $_etype342 = 0; - $xfer += $input->readListBegin($_etype342, $_size339); - for ($_i343 = 0; $_i343 < $_size339; ++$_i343) + $_size347 = 0; + $_etype350 = 0; + $xfer += $input->readListBegin($_etype350, $_size347); + for ($_i351 = 0; $_i351 < $_size347; ++$_i351) { - $elem344 = null; - $elem344 = new \metastore\SQLUniqueConstraint(); - $xfer += $elem344->read($input); - $this->uniqueConstraintCols []= $elem344; + $elem352 = null; + $elem352 = new \metastore\SQLUniqueConstraint(); + $xfer += $elem352->read($input); + $this->uniqueConstraintCols []= $elem352; } $xfer += $input->readListEnd(); } else { @@ -12408,9 +12632,9 @@ class AddUniqueConstraintRequest { { $output->writeListBegin(TType::STRUCT, count($this->uniqueConstraintCols)); { - foreach ($this->uniqueConstraintCols as $iter345) + foreach ($this->uniqueConstraintCols as $iter353) { - $xfer += $iter345->write($output); + $xfer += $iter353->write($output); } } $output->writeListEnd(); @@ -12475,15 +12699,15 @@ class AddNotNullConstraintRequest { case 1: if ($ftype == TType::LST) { $this->notNullConstraintCols = array(); - $_size346 = 0; - $_etype349 = 0; - $xfer += $input->readListBegin($_etype349, $_size346); - for ($_i350 = 0; $_i350 < $_size346; ++$_i350) + $_size354 = 0; + $_etype357 = 0; + $xfer += $input->readListBegin($_etype357, $_size354); + for ($_i358 = 0; $_i358 < $_size354; ++$_i358) { - $elem351 = null; - $elem351 = new \metastore\SQLNotNullConstraint(); - $xfer += $elem351->read($input); - $this->notNullConstraintCols []= $elem351; + $elem359 = null; + $elem359 = new \metastore\SQLNotNullConstraint(); + $xfer += $elem359->read($input); + $this->notNullConstraintCols []= $elem359; } $xfer += $input->readListEnd(); } else { @@ -12511,9 +12735,9 @@ class AddNotNullConstraintRequest { { $output->writeListBegin(TType::STRUCT, count($this->notNullConstraintCols)); { - foreach ($this->notNullConstraintCols as $iter352) + foreach ($this->notNullConstraintCols as $iter360) { - $xfer += $iter352->write($output); + $xfer += $iter360->write($output); } } $output->writeListEnd(); @@ -12578,15 +12802,15 @@ class AddDefaultConstraintRequest { case 1: if ($ftype == TType::LST) { $this->defaultConstraintCols = array(); - $_size353 = 0; - $_etype356 = 0; - $xfer += $input->readListBegin($_etype356, $_size353); - for ($_i357 = 0; $_i357 < $_size353; ++$_i357) + $_size361 = 0; + $_etype364 = 0; + $xfer += $input->readListBegin($_etype364, $_size361); + for ($_i365 = 0; $_i365 < $_size361; ++$_i365) { - $elem358 = null; - $elem358 = new \metastore\SQLDefaultConstraint(); - $xfer += $elem358->read($input); - $this->defaultConstraintCols []= $elem358; + $elem366 = null; + $elem366 = new \metastore\SQLDefaultConstraint(); + $xfer += $elem366->read($input); + $this->defaultConstraintCols []= $elem366; } $xfer += $input->readListEnd(); } else { @@ -12614,9 +12838,9 @@ class AddDefaultConstraintRequest { { $output->writeListBegin(TType::STRUCT, count($this->defaultConstraintCols)); { - foreach ($this->defaultConstraintCols as $iter359) + foreach ($this->defaultConstraintCols as $iter367) { - $xfer += $iter359->write($output); + $xfer += $iter367->write($output); } } $output->writeListEnd(); @@ -12681,15 +12905,15 @@ class AddCheckConstraintRequest { case 1: if ($ftype == TType::LST) { $this->checkConstraintCols = array(); - $_size360 = 0; - $_etype363 = 0; - $xfer += $input->readListBegin($_etype363, $_size360); - for ($_i364 = 0; $_i364 < $_size360; ++$_i364) + $_size368 = 0; + $_etype371 = 0; + $xfer += $input->readListBegin($_etype371, $_size368); + for ($_i372 = 0; $_i372 < $_size368; ++$_i372) { - $elem365 = null; - $elem365 = new \metastore\SQLCheckConstraint(); - $xfer += $elem365->read($input); - $this->checkConstraintCols []= $elem365; + $elem373 = null; + $elem373 = new \metastore\SQLCheckConstraint(); + $xfer += $elem373->read($input); + $this->checkConstraintCols []= $elem373; } $xfer += $input->readListEnd(); } else { @@ -12717,9 +12941,9 @@ class AddCheckConstraintRequest { { $output->writeListBegin(TType::STRUCT, count($this->checkConstraintCols)); { - foreach ($this->checkConstraintCols as $iter366) + foreach ($this->checkConstraintCols as $iter374) { - $xfer += $iter366->write($output); + $xfer += $iter374->write($output); } } $output->writeListEnd(); @@ -12795,15 +13019,15 @@ class PartitionsByExprResult { case 1: if ($ftype == TType::LST) { $this->partitions = array(); - $_size367 = 0; - $_etype370 = 0; - $xfer += $input->readListBegin($_etype370, $_size367); - for ($_i371 = 0; $_i371 < $_size367; ++$_i371) + $_size375 = 0; + $_etype378 = 0; + $xfer += $input->readListBegin($_etype378, $_size375); + for ($_i379 = 0; $_i379 < $_size375; ++$_i379) { - $elem372 = null; - $elem372 = new \metastore\Partition(); - $xfer += $elem372->read($input); - $this->partitions []= $elem372; + $elem380 = null; + $elem380 = new \metastore\Partition(); + $xfer += $elem380->read($input); + $this->partitions []= $elem380; } $xfer += $input->readListEnd(); } else { @@ -12838,9 +13062,9 @@ class PartitionsByExprResult { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter373) + foreach ($this->partitions as $iter381) { - $xfer += $iter373->write($output); + $xfer += $iter381->write($output); } } $output->writeListEnd(); @@ -13100,15 +13324,15 @@ class TableStatsResult { case 1: if ($ftype == TType::LST) { $this->tableStats = array(); - $_size374 = 0; - $_etype377 = 0; - $xfer += $input->readListBegin($_etype377, $_size374); - for ($_i378 = 0; $_i378 < $_size374; ++$_i378) + $_size382 = 0; + $_etype385 = 0; + $xfer += $input->readListBegin($_etype385, $_size382); + for ($_i386 = 0; $_i386 < $_size382; ++$_i386) { - $elem379 = null; - $elem379 = new \metastore\ColumnStatisticsObj(); - $xfer += $elem379->read($input); - $this->tableStats []= $elem379; + $elem387 = null; + $elem387 = new \metastore\ColumnStatisticsObj(); + $xfer += $elem387->read($input); + $this->tableStats []= $elem387; } $xfer += $input->readListEnd(); } else { @@ -13136,9 +13360,9 @@ class TableStatsResult { { $output->writeListBegin(TType::STRUCT, count($this->tableStats)); { - foreach ($this->tableStats as $iter380) + foreach ($this->tableStats as $iter388) { - $xfer += $iter380->write($output); + $xfer += $iter388->write($output); } } $output->writeListEnd(); @@ -13211,28 +13435,28 @@ class PartitionsStatsResult { case 1: if ($ftype == TType::MAP) { $this->partStats = array(); - $_size381 = 0; - $_ktype382 = 0; - $_vtype383 = 0; - $xfer += $input->readMapBegin($_ktype382, $_vtype383, $_size381); - for ($_i385 = 0; $_i385 < $_size381; ++$_i385) + $_size389 = 0; + $_ktype390 = 0; + $_vtype391 = 0; + $xfer += $input->readMapBegin($_ktype390, $_vtype391, $_size389); + for ($_i393 = 0; $_i393 < $_size389; ++$_i393) { - $key386 = ''; - $val387 = array(); - $xfer += $input->readString($key386); - $val387 = array(); - $_size388 = 0; - $_etype391 = 0; - $xfer += $input->readListBegin($_etype391, $_size388); - for ($_i392 = 0; $_i392 < $_size388; ++$_i392) + $key394 = ''; + $val395 = array(); + $xfer += $input->readString($key394); + $val395 = array(); + $_size396 = 0; + $_etype399 = 0; + $xfer += $input->readListBegin($_etype399, $_size396); + for ($_i400 = 0; $_i400 < $_size396; ++$_i400) { - $elem393 = null; - $elem393 = new \metastore\ColumnStatisticsObj(); - $xfer += $elem393->read($input); - $val387 []= $elem393; + $elem401 = null; + $elem401 = new \metastore\ColumnStatisticsObj(); + $xfer += $elem401->read($input); + $val395 []= $elem401; } $xfer += $input->readListEnd(); - $this->partStats[$key386] = $val387; + $this->partStats[$key394] = $val395; } $xfer += $input->readMapEnd(); } else { @@ -13260,15 +13484,15 @@ class PartitionsStatsResult { { $output->writeMapBegin(TType::STRING, TType::LST, count($this->partStats)); { - foreach ($this->partStats as $kiter394 => $viter395) + foreach ($this->partStats as $kiter402 => $viter403) { - $xfer += $output->writeString($kiter394); + $xfer += $output->writeString($kiter402); { - $output->writeListBegin(TType::STRUCT, count($viter395)); + $output->writeListBegin(TType::STRUCT, count($viter403)); { - foreach ($viter395 as $iter396) + foreach ($viter403 as $iter404) { - $xfer += $iter396->write($output); + $xfer += $iter404->write($output); } } $output->writeListEnd(); @@ -13383,14 +13607,14 @@ class TableStatsRequest { case 3: if ($ftype == TType::LST) { $this->colNames = array(); - $_size397 = 0; - $_etype400 = 0; - $xfer += $input->readListBegin($_etype400, $_size397); - for ($_i401 = 0; $_i401 < $_size397; ++$_i401) + $_size405 = 0; + $_etype408 = 0; + $xfer += $input->readListBegin($_etype408, $_size405); + for ($_i409 = 0; $_i409 < $_size405; ++$_i409) { - $elem402 = null; - $xfer += $input->readString($elem402); - $this->colNames []= $elem402; + $elem410 = null; + $xfer += $input->readString($elem410); + $this->colNames []= $elem410; } $xfer += $input->readListEnd(); } else { @@ -13435,9 +13659,9 @@ class TableStatsRequest { { $output->writeListBegin(TType::STRING, count($this->colNames)); { - foreach ($this->colNames as $iter403) + foreach ($this->colNames as $iter411) { - $xfer += $output->writeString($iter403); + $xfer += $output->writeString($iter411); } } $output->writeListEnd(); @@ -13568,14 +13792,14 @@ class PartitionsStatsRequest { case 3: if ($ftype == TType::LST) { $this->colNames = array(); - $_size404 = 0; - $_etype407 = 0; - $xfer += $input->readListBegin($_etype407, $_size404); - for ($_i408 = 0; $_i408 < $_size404; ++$_i408) + $_size412 = 0; + $_etype415 = 0; + $xfer += $input->readListBegin($_etype415, $_size412); + for ($_i416 = 0; $_i416 < $_size412; ++$_i416) { - $elem409 = null; - $xfer += $input->readString($elem409); - $this->colNames []= $elem409; + $elem417 = null; + $xfer += $input->readString($elem417); + $this->colNames []= $elem417; } $xfer += $input->readListEnd(); } else { @@ -13585,14 +13809,14 @@ class PartitionsStatsRequest { case 4: if ($ftype == TType::LST) { $this->partNames = array(); - $_size410 = 0; - $_etype413 = 0; - $xfer += $input->readListBegin($_etype413, $_size410); - for ($_i414 = 0; $_i414 < $_size410; ++$_i414) + $_size418 = 0; + $_etype421 = 0; + $xfer += $input->readListBegin($_etype421, $_size418); + for ($_i422 = 0; $_i422 < $_size418; ++$_i422) { - $elem415 = null; - $xfer += $input->readString($elem415); - $this->partNames []= $elem415; + $elem423 = null; + $xfer += $input->readString($elem423); + $this->partNames []= $elem423; } $xfer += $input->readListEnd(); } else { @@ -13637,9 +13861,9 @@ class PartitionsStatsRequest { { $output->writeListBegin(TType::STRING, count($this->colNames)); { - foreach ($this->colNames as $iter416) + foreach ($this->colNames as $iter424) { - $xfer += $output->writeString($iter416); + $xfer += $output->writeString($iter424); } } $output->writeListEnd(); @@ -13654,9 +13878,9 @@ class PartitionsStatsRequest { { $output->writeListBegin(TType::STRING, count($this->partNames)); { - foreach ($this->partNames as $iter417) + foreach ($this->partNames as $iter425) { - $xfer += $output->writeString($iter417); + $xfer += $output->writeString($iter425); } } $output->writeListEnd(); @@ -13726,15 +13950,15 @@ class AddPartitionsResult { case 1: if ($ftype == TType::LST) { $this->partitions = array(); - $_size418 = 0; - $_etype421 = 0; - $xfer += $input->readListBegin($_etype421, $_size418); - for ($_i422 = 0; $_i422 < $_size418; ++$_i422) + $_size426 = 0; + $_etype429 = 0; + $xfer += $input->readListBegin($_etype429, $_size426); + for ($_i430 = 0; $_i430 < $_size426; ++$_i430) { - $elem423 = null; - $elem423 = new \metastore\Partition(); - $xfer += $elem423->read($input); - $this->partitions []= $elem423; + $elem431 = null; + $elem431 = new \metastore\Partition(); + $xfer += $elem431->read($input); + $this->partitions []= $elem431; } $xfer += $input->readListEnd(); } else { @@ -13762,9 +13986,9 @@ class AddPartitionsResult { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter424) + foreach ($this->partitions as $iter432) { - $xfer += $iter424->write($output); + $xfer += $iter432->write($output); } } $output->writeListEnd(); @@ -13898,15 +14122,15 @@ class AddPartitionsRequest { case 3: if ($ftype == TType::LST) { $this->parts = array(); - $_size425 = 0; - $_etype428 = 0; - $xfer += $input->readListBegin($_etype428, $_size425); - for ($_i429 = 0; $_i429 < $_size425; ++$_i429) + $_size433 = 0; + $_etype436 = 0; + $xfer += $input->readListBegin($_etype436, $_size433); + for ($_i437 = 0; $_i437 < $_size433; ++$_i437) { - $elem430 = null; - $elem430 = new \metastore\Partition(); - $xfer += $elem430->read($input); - $this->parts []= $elem430; + $elem438 = null; + $elem438 = new \metastore\Partition(); + $xfer += $elem438->read($input); + $this->parts []= $elem438; } $xfer += $input->readListEnd(); } else { @@ -13965,9 +14189,9 @@ class AddPartitionsRequest { { $output->writeListBegin(TType::STRUCT, count($this->parts)); { - foreach ($this->parts as $iter431) + foreach ($this->parts as $iter439) { - $xfer += $iter431->write($output); + $xfer += $iter439->write($output); } } $output->writeListEnd(); @@ -14047,15 +14271,15 @@ class DropPartitionsResult { case 1: if ($ftype == TType::LST) { $this->partitions = array(); - $_size432 = 0; - $_etype435 = 0; - $xfer += $input->readListBegin($_etype435, $_size432); - for ($_i436 = 0; $_i436 < $_size432; ++$_i436) + $_size440 = 0; + $_etype443 = 0; + $xfer += $input->readListBegin($_etype443, $_size440); + for ($_i444 = 0; $_i444 < $_size440; ++$_i444) { - $elem437 = null; - $elem437 = new \metastore\Partition(); - $xfer += $elem437->read($input); - $this->partitions []= $elem437; + $elem445 = null; + $elem445 = new \metastore\Partition(); + $xfer += $elem445->read($input); + $this->partitions []= $elem445; } $xfer += $input->readListEnd(); } else { @@ -14083,9 +14307,9 @@ class DropPartitionsResult { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter438) + foreach ($this->partitions as $iter446) { - $xfer += $iter438->write($output); + $xfer += $iter446->write($output); } } $output->writeListEnd(); @@ -14263,14 +14487,14 @@ class RequestPartsSpec { case 1: if ($ftype == TType::LST) { $this->names = array(); - $_size439 = 0; - $_etype442 = 0; - $xfer += $input->readListBegin($_etype442, $_size439); - for ($_i443 = 0; $_i443 < $_size439; ++$_i443) + $_size447 = 0; + $_etype450 = 0; + $xfer += $input->readListBegin($_etype450, $_size447); + for ($_i451 = 0; $_i451 < $_size447; ++$_i451) { - $elem444 = null; - $xfer += $input->readString($elem444); - $this->names []= $elem444; + $elem452 = null; + $xfer += $input->readString($elem452); + $this->names []= $elem452; } $xfer += $input->readListEnd(); } else { @@ -14280,15 +14504,15 @@ class RequestPartsSpec { case 2: if ($ftype == TType::LST) { $this->exprs = array(); - $_size445 = 0; - $_etype448 = 0; - $xfer += $input->readListBegin($_etype448, $_size445); - for ($_i449 = 0; $_i449 < $_size445; ++$_i449) + $_size453 = 0; + $_etype456 = 0; + $xfer += $input->readListBegin($_etype456, $_size453); + for ($_i457 = 0; $_i457 < $_size453; ++$_i457) { - $elem450 = null; - $elem450 = new \metastore\DropPartitionsExpr(); - $xfer += $elem450->read($input); - $this->exprs []= $elem450; + $elem458 = null; + $elem458 = new \metastore\DropPartitionsExpr(); + $xfer += $elem458->read($input); + $this->exprs []= $elem458; } $xfer += $input->readListEnd(); } else { @@ -14316,9 +14540,9 @@ class RequestPartsSpec { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter451) + foreach ($this->names as $iter459) { - $xfer += $output->writeString($iter451); + $xfer += $output->writeString($iter459); } } $output->writeListEnd(); @@ -14333,9 +14557,9 @@ class RequestPartsSpec { { $output->writeListBegin(TType::STRUCT, count($this->exprs)); { - foreach ($this->exprs as $iter452) + foreach ($this->exprs as $iter460) { - $xfer += $iter452->write($output); + $xfer += $iter460->write($output); } } $output->writeListEnd(); @@ -14776,15 +15000,15 @@ class PartitionValuesRequest { case 3: if ($ftype == TType::LST) { $this->partitionKeys = array(); - $_size453 = 0; - $_etype456 = 0; - $xfer += $input->readListBegin($_etype456, $_size453); - for ($_i457 = 0; $_i457 < $_size453; ++$_i457) + $_size461 = 0; + $_etype464 = 0; + $xfer += $input->readListBegin($_etype464, $_size461); + for ($_i465 = 0; $_i465 < $_size461; ++$_i465) { - $elem458 = null; - $elem458 = new \metastore\FieldSchema(); - $xfer += $elem458->read($input); - $this->partitionKeys []= $elem458; + $elem466 = null; + $elem466 = new \metastore\FieldSchema(); + $xfer += $elem466->read($input); + $this->partitionKeys []= $elem466; } $xfer += $input->readListEnd(); } else { @@ -14808,15 +15032,15 @@ class PartitionValuesRequest { case 6: if ($ftype == TType::LST) { $this->partitionOrder = array(); - $_size459 = 0; - $_etype462 = 0; - $xfer += $input->readListBegin($_etype462, $_size459); - for ($_i463 = 0; $_i463 < $_size459; ++$_i463) + $_size467 = 0; + $_etype470 = 0; + $xfer += $input->readListBegin($_etype470, $_size467); + for ($_i471 = 0; $_i471 < $_size467; ++$_i471) { - $elem464 = null; - $elem464 = new \metastore\FieldSchema(); - $xfer += $elem464->read($input); - $this->partitionOrder []= $elem464; + $elem472 = null; + $elem472 = new \metastore\FieldSchema(); + $xfer += $elem472->read($input); + $this->partitionOrder []= $elem472; } $xfer += $input->readListEnd(); } else { @@ -14875,9 +15099,9 @@ class PartitionValuesRequest { { $output->writeListBegin(TType::STRUCT, count($this->partitionKeys)); { - foreach ($this->partitionKeys as $iter465) + foreach ($this->partitionKeys as $iter473) { - $xfer += $iter465->write($output); + $xfer += $iter473->write($output); } } $output->writeListEnd(); @@ -14902,9 +15126,9 @@ class PartitionValuesRequest { { $output->writeListBegin(TType::STRUCT, count($this->partitionOrder)); { - foreach ($this->partitionOrder as $iter466) + foreach ($this->partitionOrder as $iter474) { - $xfer += $iter466->write($output); + $xfer += $iter474->write($output); } } $output->writeListEnd(); @@ -14983,14 +15207,14 @@ class PartitionValuesRow { case 1: if ($ftype == TType::LST) { $this->row = array(); - $_size467 = 0; - $_etype470 = 0; - $xfer += $input->readListBegin($_etype470, $_size467); - for ($_i471 = 0; $_i471 < $_size467; ++$_i471) + $_size475 = 0; + $_etype478 = 0; + $xfer += $input->readListBegin($_etype478, $_size475); + for ($_i479 = 0; $_i479 < $_size475; ++$_i479) { - $elem472 = null; - $xfer += $input->readString($elem472); - $this->row []= $elem472; + $elem480 = null; + $xfer += $input->readString($elem480); + $this->row []= $elem480; } $xfer += $input->readListEnd(); } else { @@ -15018,9 +15242,9 @@ class PartitionValuesRow { { $output->writeListBegin(TType::STRING, count($this->row)); { - foreach ($this->row as $iter473) + foreach ($this->row as $iter481) { - $xfer += $output->writeString($iter473); + $xfer += $output->writeString($iter481); } } $output->writeListEnd(); @@ -15085,15 +15309,15 @@ class PartitionValuesResponse { case 1: if ($ftype == TType::LST) { $this->partitionValues = array(); - $_size474 = 0; - $_etype477 = 0; - $xfer += $input->readListBegin($_etype477, $_size474); - for ($_i478 = 0; $_i478 < $_size474; ++$_i478) + $_size482 = 0; + $_etype485 = 0; + $xfer += $input->readListBegin($_etype485, $_size482); + for ($_i486 = 0; $_i486 < $_size482; ++$_i486) { - $elem479 = null; - $elem479 = new \metastore\PartitionValuesRow(); - $xfer += $elem479->read($input); - $this->partitionValues []= $elem479; + $elem487 = null; + $elem487 = new \metastore\PartitionValuesRow(); + $xfer += $elem487->read($input); + $this->partitionValues []= $elem487; } $xfer += $input->readListEnd(); } else { @@ -15121,9 +15345,9 @@ class PartitionValuesResponse { { $output->writeListBegin(TType::STRUCT, count($this->partitionValues)); { - foreach ($this->partitionValues as $iter480) + foreach ($this->partitionValues as $iter488) { - $xfer += $iter480->write($output); + $xfer += $iter488->write($output); } } $output->writeListEnd(); @@ -15423,15 +15647,15 @@ class Function { case 8: if ($ftype == TType::LST) { $this->resourceUris = array(); - $_size481 = 0; - $_etype484 = 0; - $xfer += $input->readListBegin($_etype484, $_size481); - for ($_i485 = 0; $_i485 < $_size481; ++$_i485) + $_size489 = 0; + $_etype492 = 0; + $xfer += $input->readListBegin($_etype492, $_size489); + for ($_i493 = 0; $_i493 < $_size489; ++$_i493) { - $elem486 = null; - $elem486 = new \metastore\ResourceUri(); - $xfer += $elem486->read($input); - $this->resourceUris []= $elem486; + $elem494 = null; + $elem494 = new \metastore\ResourceUri(); + $xfer += $elem494->read($input); + $this->resourceUris []= $elem494; } $xfer += $input->readListEnd(); } else { @@ -15501,9 +15725,9 @@ class Function { { $output->writeListBegin(TType::STRUCT, count($this->resourceUris)); { - foreach ($this->resourceUris as $iter487) + foreach ($this->resourceUris as $iter495) { - $xfer += $iter487->write($output); + $xfer += $iter495->write($output); } } $output->writeListEnd(); @@ -15850,15 +16074,15 @@ class GetOpenTxnsInfoResponse { case 2: if ($ftype == TType::LST) { $this->open_txns = array(); - $_size488 = 0; - $_etype491 = 0; - $xfer += $input->readListBegin($_etype491, $_size488); - for ($_i492 = 0; $_i492 < $_size488; ++$_i492) + $_size496 = 0; + $_etype499 = 0; + $xfer += $input->readListBegin($_etype499, $_size496); + for ($_i500 = 0; $_i500 < $_size496; ++$_i500) { - $elem493 = null; - $elem493 = new \metastore\TxnInfo(); - $xfer += $elem493->read($input); - $this->open_txns []= $elem493; + $elem501 = null; + $elem501 = new \metastore\TxnInfo(); + $xfer += $elem501->read($input); + $this->open_txns []= $elem501; } $xfer += $input->readListEnd(); } else { @@ -15891,9 +16115,9 @@ class GetOpenTxnsInfoResponse { { $output->writeListBegin(TType::STRUCT, count($this->open_txns)); { - foreach ($this->open_txns as $iter494) + foreach ($this->open_txns as $iter502) { - $xfer += $iter494->write($output); + $xfer += $iter502->write($output); } } $output->writeListEnd(); @@ -15997,14 +16221,14 @@ class GetOpenTxnsResponse { case 2: if ($ftype == TType::LST) { $this->open_txns = array(); - $_size495 = 0; - $_etype498 = 0; - $xfer += $input->readListBegin($_etype498, $_size495); - for ($_i499 = 0; $_i499 < $_size495; ++$_i499) + $_size503 = 0; + $_etype506 = 0; + $xfer += $input->readListBegin($_etype506, $_size503); + for ($_i507 = 0; $_i507 < $_size503; ++$_i507) { - $elem500 = null; - $xfer += $input->readI64($elem500); - $this->open_txns []= $elem500; + $elem508 = null; + $xfer += $input->readI64($elem508); + $this->open_txns []= $elem508; } $xfer += $input->readListEnd(); } else { @@ -16051,9 +16275,9 @@ class GetOpenTxnsResponse { { $output->writeListBegin(TType::I64, count($this->open_txns)); { - foreach ($this->open_txns as $iter501) + foreach ($this->open_txns as $iter509) { - $xfer += $output->writeI64($iter501); + $xfer += $output->writeI64($iter509); } } $output->writeListEnd(); @@ -16217,14 +16441,14 @@ class OpenTxnRequest { case 6: if ($ftype == TType::LST) { $this->replSrcTxnIds = array(); - $_size502 = 0; - $_etype505 = 0; - $xfer += $input->readListBegin($_etype505, $_size502); - for ($_i506 = 0; $_i506 < $_size502; ++$_i506) + $_size510 = 0; + $_etype513 = 0; + $xfer += $input->readListBegin($_etype513, $_size510); + for ($_i514 = 0; $_i514 < $_size510; ++$_i514) { - $elem507 = null; - $xfer += $input->readI64($elem507); - $this->replSrcTxnIds []= $elem507; + $elem515 = null; + $xfer += $input->readI64($elem515); + $this->replSrcTxnIds []= $elem515; } $xfer += $input->readListEnd(); } else { @@ -16277,9 +16501,9 @@ class OpenTxnRequest { { $output->writeListBegin(TType::I64, count($this->replSrcTxnIds)); { - foreach ($this->replSrcTxnIds as $iter508) + foreach ($this->replSrcTxnIds as $iter516) { - $xfer += $output->writeI64($iter508); + $xfer += $output->writeI64($iter516); } } $output->writeListEnd(); @@ -16343,14 +16567,14 @@ class OpenTxnsResponse { case 1: if ($ftype == TType::LST) { $this->txn_ids = array(); - $_size509 = 0; - $_etype512 = 0; - $xfer += $input->readListBegin($_etype512, $_size509); - for ($_i513 = 0; $_i513 < $_size509; ++$_i513) + $_size517 = 0; + $_etype520 = 0; + $xfer += $input->readListBegin($_etype520, $_size517); + for ($_i521 = 0; $_i521 < $_size517; ++$_i521) { - $elem514 = null; - $xfer += $input->readI64($elem514); - $this->txn_ids []= $elem514; + $elem522 = null; + $xfer += $input->readI64($elem522); + $this->txn_ids []= $elem522; } $xfer += $input->readListEnd(); } else { @@ -16378,9 +16602,9 @@ class OpenTxnsResponse { { $output->writeListBegin(TType::I64, count($this->txn_ids)); { - foreach ($this->txn_ids as $iter515) + foreach ($this->txn_ids as $iter523) { - $xfer += $output->writeI64($iter515); + $xfer += $output->writeI64($iter523); } } $output->writeListEnd(); @@ -16542,14 +16766,14 @@ class AbortTxnsRequest { case 1: if ($ftype == TType::LST) { $this->txn_ids = array(); - $_size516 = 0; - $_etype519 = 0; - $xfer += $input->readListBegin($_etype519, $_size516); - for ($_i520 = 0; $_i520 < $_size516; ++$_i520) + $_size524 = 0; + $_etype527 = 0; + $xfer += $input->readListBegin($_etype527, $_size524); + for ($_i528 = 0; $_i528 < $_size524; ++$_i528) { - $elem521 = null; - $xfer += $input->readI64($elem521); - $this->txn_ids []= $elem521; + $elem529 = null; + $xfer += $input->readI64($elem529); + $this->txn_ids []= $elem529; } $xfer += $input->readListEnd(); } else { @@ -16577,9 +16801,9 @@ class AbortTxnsRequest { { $output->writeListBegin(TType::I64, count($this->txn_ids)); { - foreach ($this->txn_ids as $iter522) + foreach ($this->txn_ids as $iter530) { - $xfer += $output->writeI64($iter522); + $xfer += $output->writeI64($iter530); } } $output->writeListEnd(); @@ -16593,162 +16817,13 @@ class AbortTxnsRequest { } -class CommitTxnRequest { +class WriteEventInfo { static $_TSPEC; /** * @var int */ - public $txnid = null; - /** - * @var string - */ - public $replPolicy = null; - /** - * @var \metastore\WriteEventInfo[] - */ - public $writeEventInfos = null; - - public function __construct($vals=null) { - if (!isset(self::$_TSPEC)) { - self::$_TSPEC = array( - 1 => array( - 'var' => 'txnid', - 'type' => TType::I64, - ), - 2 => array( - 'var' => 'replPolicy', - 'type' => TType::STRING, - ), - 3 => array( - 'var' => 'writeEventInfos', - 'type' => TType::LST, - 'etype' => TType::STRUCT, - 'elem' => array( - 'type' => TType::STRUCT, - 'class' => '\metastore\WriteEventInfo', - ), - ), - ); - } - if (is_array($vals)) { - if (isset($vals['txnid'])) { - $this->txnid = $vals['txnid']; - } - if (isset($vals['replPolicy'])) { - $this->replPolicy = $vals['replPolicy']; - } - if (isset($vals['writeEventInfos'])) { - $this->writeEventInfos = $vals['writeEventInfos']; - } - } - } - - public function getName() { - return 'CommitTxnRequest'; - } - - 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->txnid); - } else { - $xfer += $input->skip($ftype); - } - break; - case 2: - if ($ftype == TType::STRING) { - $xfer += $input->readString($this->replPolicy); - } else { - $xfer += $input->skip($ftype); - } - break; - case 3: - if ($ftype == TType::LST) { - $this->writeEventInfos = array(); - $_size523 = 0; - $_etype526 = 0; - $xfer += $input->readListBegin($_etype526, $_size523); - for ($_i527 = 0; $_i527 < $_size523; ++$_i527) - { - $elem528 = null; - $elem528 = new \metastore\WriteEventInfo(); - $xfer += $elem528->read($input); - $this->writeEventInfos []= $elem528; - } - $xfer += $input->readListEnd(); - } else { - $xfer += $input->skip($ftype); - } - break; - default: - $xfer += $input->skip($ftype); - break; - } - $xfer += $input->readFieldEnd(); - } - $xfer += $input->readStructEnd(); - return $xfer; - } - - public function write($output) { - $xfer = 0; - $xfer += $output->writeStructBegin('CommitTxnRequest'); - if ($this->txnid !== null) { - $xfer += $output->writeFieldBegin('txnid', TType::I64, 1); - $xfer += $output->writeI64($this->txnid); - $xfer += $output->writeFieldEnd(); - } - if ($this->replPolicy !== null) { - $xfer += $output->writeFieldBegin('replPolicy', TType::STRING, 2); - $xfer += $output->writeString($this->replPolicy); - $xfer += $output->writeFieldEnd(); - } - if ($this->writeEventInfos !== null) { - if (!is_array($this->writeEventInfos)) { - throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); - } - $xfer += $output->writeFieldBegin('writeEventInfos', TType::LST, 3); - { - $output->writeListBegin(TType::STRUCT, count($this->writeEventInfos)); - { - foreach ($this->writeEventInfos as $iter529) - { - $xfer += $iter529->write($output); - } - } - $output->writeListEnd(); - } - $xfer += $output->writeFieldEnd(); - } - $xfer += $output->writeFieldStop(); - $xfer += $output->writeStructEnd(); - return $xfer; - } - -} - -class WriteEventInfo { - static $_TSPEC; - - /** - * @var int - */ - public $writeId = null; + public $writeId = null; /** * @var string */ @@ -16955,6 +17030,155 @@ class WriteEventInfo { } +class CommitTxnRequest { + static $_TSPEC; + + /** + * @var int + */ + public $txnid = null; + /** + * @var string + */ + public $replPolicy = null; + /** + * @var \metastore\WriteEventInfo[] + */ + public $writeEventInfos = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'txnid', + 'type' => TType::I64, + ), + 2 => array( + 'var' => 'replPolicy', + 'type' => TType::STRING, + ), + 3 => array( + 'var' => 'writeEventInfos', + 'type' => TType::LST, + 'etype' => TType::STRUCT, + 'elem' => array( + 'type' => TType::STRUCT, + 'class' => '\metastore\WriteEventInfo', + ), + ), + ); + } + if (is_array($vals)) { + if (isset($vals['txnid'])) { + $this->txnid = $vals['txnid']; + } + if (isset($vals['replPolicy'])) { + $this->replPolicy = $vals['replPolicy']; + } + if (isset($vals['writeEventInfos'])) { + $this->writeEventInfos = $vals['writeEventInfos']; + } + } + } + + public function getName() { + return 'CommitTxnRequest'; + } + + 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->txnid); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->replPolicy); + } else { + $xfer += $input->skip($ftype); + } + break; + case 3: + if ($ftype == TType::LST) { + $this->writeEventInfos = array(); + $_size531 = 0; + $_etype534 = 0; + $xfer += $input->readListBegin($_etype534, $_size531); + for ($_i535 = 0; $_i535 < $_size531; ++$_i535) + { + $elem536 = null; + $elem536 = new \metastore\WriteEventInfo(); + $xfer += $elem536->read($input); + $this->writeEventInfos []= $elem536; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('CommitTxnRequest'); + if ($this->txnid !== null) { + $xfer += $output->writeFieldBegin('txnid', TType::I64, 1); + $xfer += $output->writeI64($this->txnid); + $xfer += $output->writeFieldEnd(); + } + if ($this->replPolicy !== null) { + $xfer += $output->writeFieldBegin('replPolicy', TType::STRING, 2); + $xfer += $output->writeString($this->replPolicy); + $xfer += $output->writeFieldEnd(); + } + if ($this->writeEventInfos !== null) { + if (!is_array($this->writeEventInfos)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('writeEventInfos', TType::LST, 3); + { + $output->writeListBegin(TType::STRUCT, count($this->writeEventInfos)); + { + foreach ($this->writeEventInfos as $iter537) + { + $xfer += $iter537->write($output); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class ReplTblWriteIdStateRequest { static $_TSPEC; @@ -17095,14 +17319,14 @@ class ReplTblWriteIdStateRequest { case 6: if ($ftype == TType::LST) { $this->partNames = array(); - $_size530 = 0; - $_etype533 = 0; - $xfer += $input->readListBegin($_etype533, $_size530); - for ($_i534 = 0; $_i534 < $_size530; ++$_i534) + $_size538 = 0; + $_etype541 = 0; + $xfer += $input->readListBegin($_etype541, $_size538); + for ($_i542 = 0; $_i542 < $_size538; ++$_i542) { - $elem535 = null; - $xfer += $input->readString($elem535); - $this->partNames []= $elem535; + $elem543 = null; + $xfer += $input->readString($elem543); + $this->partNames []= $elem543; } $xfer += $input->readListEnd(); } else { @@ -17155,9 +17379,9 @@ class ReplTblWriteIdStateRequest { { $output->writeListBegin(TType::STRING, count($this->partNames)); { - foreach ($this->partNames as $iter536) + foreach ($this->partNames as $iter544) { - $xfer += $output->writeString($iter536); + $xfer += $output->writeString($iter544); } } $output->writeListEnd(); @@ -17232,14 +17456,14 @@ class GetValidWriteIdsRequest { case 1: if ($ftype == TType::LST) { $this->fullTableNames = array(); - $_size537 = 0; - $_etype540 = 0; - $xfer += $input->readListBegin($_etype540, $_size537); - for ($_i541 = 0; $_i541 < $_size537; ++$_i541) + $_size545 = 0; + $_etype548 = 0; + $xfer += $input->readListBegin($_etype548, $_size545); + for ($_i549 = 0; $_i549 < $_size545; ++$_i549) { - $elem542 = null; - $xfer += $input->readString($elem542); - $this->fullTableNames []= $elem542; + $elem550 = null; + $xfer += $input->readString($elem550); + $this->fullTableNames []= $elem550; } $xfer += $input->readListEnd(); } else { @@ -17274,9 +17498,9 @@ class GetValidWriteIdsRequest { { $output->writeListBegin(TType::STRING, count($this->fullTableNames)); { - foreach ($this->fullTableNames as $iter543) + foreach ($this->fullTableNames as $iter551) { - $xfer += $output->writeString($iter543); + $xfer += $output->writeString($iter551); } } $output->writeListEnd(); @@ -17403,14 +17627,14 @@ class TableValidWriteIds { case 3: if ($ftype == TType::LST) { $this->invalidWriteIds = array(); - $_size544 = 0; - $_etype547 = 0; - $xfer += $input->readListBegin($_etype547, $_size544); - for ($_i548 = 0; $_i548 < $_size544; ++$_i548) + $_size552 = 0; + $_etype555 = 0; + $xfer += $input->readListBegin($_etype555, $_size552); + for ($_i556 = 0; $_i556 < $_size552; ++$_i556) { - $elem549 = null; - $xfer += $input->readI64($elem549); - $this->invalidWriteIds []= $elem549; + $elem557 = null; + $xfer += $input->readI64($elem557); + $this->invalidWriteIds []= $elem557; } $xfer += $input->readListEnd(); } else { @@ -17462,9 +17686,9 @@ class TableValidWriteIds { { $output->writeListBegin(TType::I64, count($this->invalidWriteIds)); { - foreach ($this->invalidWriteIds as $iter550) + foreach ($this->invalidWriteIds as $iter558) { - $xfer += $output->writeI64($iter550); + $xfer += $output->writeI64($iter558); } } $output->writeListEnd(); @@ -17539,15 +17763,15 @@ class GetValidWriteIdsResponse { case 1: if ($ftype == TType::LST) { $this->tblValidWriteIds = array(); - $_size551 = 0; - $_etype554 = 0; - $xfer += $input->readListBegin($_etype554, $_size551); - for ($_i555 = 0; $_i555 < $_size551; ++$_i555) + $_size559 = 0; + $_etype562 = 0; + $xfer += $input->readListBegin($_etype562, $_size559); + for ($_i563 = 0; $_i563 < $_size559; ++$_i563) { - $elem556 = null; - $elem556 = new \metastore\TableValidWriteIds(); - $xfer += $elem556->read($input); - $this->tblValidWriteIds []= $elem556; + $elem564 = null; + $elem564 = new \metastore\TableValidWriteIds(); + $xfer += $elem564->read($input); + $this->tblValidWriteIds []= $elem564; } $xfer += $input->readListEnd(); } else { @@ -17575,9 +17799,9 @@ class GetValidWriteIdsResponse { { $output->writeListBegin(TType::STRUCT, count($this->tblValidWriteIds)); { - foreach ($this->tblValidWriteIds as $iter557) + foreach ($this->tblValidWriteIds as $iter565) { - $xfer += $iter557->write($output); + $xfer += $iter565->write($output); } } $output->writeListEnd(); @@ -17591,6 +17815,104 @@ class GetValidWriteIdsResponse { } +class TxnToWriteId { + static $_TSPEC; + + /** + * @var int + */ + public $txnId = null; + /** + * @var int + */ + public $writeId = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'txnId', + 'type' => TType::I64, + ), + 2 => array( + 'var' => 'writeId', + 'type' => TType::I64, + ), + ); + } + if (is_array($vals)) { + if (isset($vals['txnId'])) { + $this->txnId = $vals['txnId']; + } + if (isset($vals['writeId'])) { + $this->writeId = $vals['writeId']; + } + } + } + + public function getName() { + return 'TxnToWriteId'; + } + + 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->txnId); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->writeId); + } 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('TxnToWriteId'); + if ($this->txnId !== null) { + $xfer += $output->writeFieldBegin('txnId', TType::I64, 1); + $xfer += $output->writeI64($this->txnId); + $xfer += $output->writeFieldEnd(); + } + if ($this->writeId !== null) { + $xfer += $output->writeFieldBegin('writeId', TType::I64, 2); + $xfer += $output->writeI64($this->writeId); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class AllocateTableWriteIdsRequest { static $_TSPEC; @@ -17704,14 +18026,14 @@ class AllocateTableWriteIdsRequest { case 3: if ($ftype == TType::LST) { $this->txnIds = array(); - $_size558 = 0; - $_etype561 = 0; - $xfer += $input->readListBegin($_etype561, $_size558); - for ($_i562 = 0; $_i562 < $_size558; ++$_i562) + $_size566 = 0; + $_etype569 = 0; + $xfer += $input->readListBegin($_etype569, $_size566); + for ($_i570 = 0; $_i570 < $_size566; ++$_i570) { - $elem563 = null; - $xfer += $input->readI64($elem563); - $this->txnIds []= $elem563; + $elem571 = null; + $xfer += $input->readI64($elem571); + $this->txnIds []= $elem571; } $xfer += $input->readListEnd(); } else { @@ -17728,15 +18050,15 @@ class AllocateTableWriteIdsRequest { case 5: if ($ftype == TType::LST) { $this->srcTxnToWriteIdList = array(); - $_size564 = 0; - $_etype567 = 0; - $xfer += $input->readListBegin($_etype567, $_size564); - for ($_i568 = 0; $_i568 < $_size564; ++$_i568) + $_size572 = 0; + $_etype575 = 0; + $xfer += $input->readListBegin($_etype575, $_size572); + for ($_i576 = 0; $_i576 < $_size572; ++$_i576) { - $elem569 = null; - $elem569 = new \metastore\TxnToWriteId(); - $xfer += $elem569->read($input); - $this->srcTxnToWriteIdList []= $elem569; + $elem577 = null; + $elem577 = new \metastore\TxnToWriteId(); + $xfer += $elem577->read($input); + $this->srcTxnToWriteIdList []= $elem577; } $xfer += $input->readListEnd(); } else { @@ -17773,134 +18095,36 @@ class AllocateTableWriteIdsRequest { $xfer += $output->writeFieldBegin('txnIds', TType::LST, 3); { $output->writeListBegin(TType::I64, count($this->txnIds)); - { - foreach ($this->txnIds as $iter570) - { - $xfer += $output->writeI64($iter570); - } - } - $output->writeListEnd(); - } - $xfer += $output->writeFieldEnd(); - } - if ($this->replPolicy !== null) { - $xfer += $output->writeFieldBegin('replPolicy', TType::STRING, 4); - $xfer += $output->writeString($this->replPolicy); - $xfer += $output->writeFieldEnd(); - } - if ($this->srcTxnToWriteIdList !== null) { - if (!is_array($this->srcTxnToWriteIdList)) { - throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); - } - $xfer += $output->writeFieldBegin('srcTxnToWriteIdList', TType::LST, 5); - { - $output->writeListBegin(TType::STRUCT, count($this->srcTxnToWriteIdList)); - { - foreach ($this->srcTxnToWriteIdList as $iter571) - { - $xfer += $iter571->write($output); - } - } - $output->writeListEnd(); - } - $xfer += $output->writeFieldEnd(); - } - $xfer += $output->writeFieldStop(); - $xfer += $output->writeStructEnd(); - return $xfer; - } - -} - -class TxnToWriteId { - static $_TSPEC; - - /** - * @var int - */ - public $txnId = null; - /** - * @var int - */ - public $writeId = null; - - public function __construct($vals=null) { - if (!isset(self::$_TSPEC)) { - self::$_TSPEC = array( - 1 => array( - 'var' => 'txnId', - 'type' => TType::I64, - ), - 2 => array( - 'var' => 'writeId', - 'type' => TType::I64, - ), - ); - } - if (is_array($vals)) { - if (isset($vals['txnId'])) { - $this->txnId = $vals['txnId']; - } - if (isset($vals['writeId'])) { - $this->writeId = $vals['writeId']; - } - } - } - - public function getName() { - return 'TxnToWriteId'; - } - - 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->txnId); - } else { - $xfer += $input->skip($ftype); - } - break; - case 2: - if ($ftype == TType::I64) { - $xfer += $input->readI64($this->writeId); - } else { - $xfer += $input->skip($ftype); - } - break; - default: - $xfer += $input->skip($ftype); - break; + { + foreach ($this->txnIds as $iter578) + { + $xfer += $output->writeI64($iter578); + } + } + $output->writeListEnd(); } - $xfer += $input->readFieldEnd(); + $xfer += $output->writeFieldEnd(); } - $xfer += $input->readStructEnd(); - return $xfer; - } - - public function write($output) { - $xfer = 0; - $xfer += $output->writeStructBegin('TxnToWriteId'); - if ($this->txnId !== null) { - $xfer += $output->writeFieldBegin('txnId', TType::I64, 1); - $xfer += $output->writeI64($this->txnId); + if ($this->replPolicy !== null) { + $xfer += $output->writeFieldBegin('replPolicy', TType::STRING, 4); + $xfer += $output->writeString($this->replPolicy); $xfer += $output->writeFieldEnd(); } - if ($this->writeId !== null) { - $xfer += $output->writeFieldBegin('writeId', TType::I64, 2); - $xfer += $output->writeI64($this->writeId); + if ($this->srcTxnToWriteIdList !== null) { + if (!is_array($this->srcTxnToWriteIdList)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('srcTxnToWriteIdList', TType::LST, 5); + { + $output->writeListBegin(TType::STRUCT, count($this->srcTxnToWriteIdList)); + { + foreach ($this->srcTxnToWriteIdList as $iter579) + { + $xfer += $iter579->write($output); + } + } + $output->writeListEnd(); + } $xfer += $output->writeFieldEnd(); } $xfer += $output->writeFieldStop(); @@ -17961,15 +18185,15 @@ class AllocateTableWriteIdsResponse { case 1: if ($ftype == TType::LST) { $this->txnToWriteIds = array(); - $_size572 = 0; - $_etype575 = 0; - $xfer += $input->readListBegin($_etype575, $_size572); - for ($_i576 = 0; $_i576 < $_size572; ++$_i576) + $_size580 = 0; + $_etype583 = 0; + $xfer += $input->readListBegin($_etype583, $_size580); + for ($_i584 = 0; $_i584 < $_size580; ++$_i584) { - $elem577 = null; - $elem577 = new \metastore\TxnToWriteId(); - $xfer += $elem577->read($input); - $this->txnToWriteIds []= $elem577; + $elem585 = null; + $elem585 = new \metastore\TxnToWriteId(); + $xfer += $elem585->read($input); + $this->txnToWriteIds []= $elem585; } $xfer += $input->readListEnd(); } else { @@ -17997,9 +18221,9 @@ class AllocateTableWriteIdsResponse { { $output->writeListBegin(TType::STRUCT, count($this->txnToWriteIds)); { - foreach ($this->txnToWriteIds as $iter578) + foreach ($this->txnToWriteIds as $iter586) { - $xfer += $iter578->write($output); + $xfer += $iter586->write($output); } } $output->writeListEnd(); @@ -18344,15 +18568,15 @@ class LockRequest { case 1: if ($ftype == TType::LST) { $this->component = array(); - $_size579 = 0; - $_etype582 = 0; - $xfer += $input->readListBegin($_etype582, $_size579); - for ($_i583 = 0; $_i583 < $_size579; ++$_i583) + $_size587 = 0; + $_etype590 = 0; + $xfer += $input->readListBegin($_etype590, $_size587); + for ($_i591 = 0; $_i591 < $_size587; ++$_i591) { - $elem584 = null; - $elem584 = new \metastore\LockComponent(); - $xfer += $elem584->read($input); - $this->component []= $elem584; + $elem592 = null; + $elem592 = new \metastore\LockComponent(); + $xfer += $elem592->read($input); + $this->component []= $elem592; } $xfer += $input->readListEnd(); } else { @@ -18408,9 +18632,9 @@ class LockRequest { { $output->writeListBegin(TType::STRUCT, count($this->component)); { - foreach ($this->component as $iter585) + foreach ($this->component as $iter593) { - $xfer += $iter585->write($output); + $xfer += $iter593->write($output); } } $output->writeListEnd(); @@ -19353,15 +19577,15 @@ class ShowLocksResponse { case 1: if ($ftype == TType::LST) { $this->locks = array(); - $_size586 = 0; - $_etype589 = 0; - $xfer += $input->readListBegin($_etype589, $_size586); - for ($_i590 = 0; $_i590 < $_size586; ++$_i590) + $_size594 = 0; + $_etype597 = 0; + $xfer += $input->readListBegin($_etype597, $_size594); + for ($_i598 = 0; $_i598 < $_size594; ++$_i598) { - $elem591 = null; - $elem591 = new \metastore\ShowLocksResponseElement(); - $xfer += $elem591->read($input); - $this->locks []= $elem591; + $elem599 = null; + $elem599 = new \metastore\ShowLocksResponseElement(); + $xfer += $elem599->read($input); + $this->locks []= $elem599; } $xfer += $input->readListEnd(); } else { @@ -19389,9 +19613,9 @@ class ShowLocksResponse { { $output->writeListBegin(TType::STRUCT, count($this->locks)); { - foreach ($this->locks as $iter592) + foreach ($this->locks as $iter600) { - $xfer += $iter592->write($output); + $xfer += $iter600->write($output); } } $output->writeListEnd(); @@ -19666,17 +19890,17 @@ class HeartbeatTxnRangeResponse { case 1: if ($ftype == TType::SET) { $this->aborted = array(); - $_size593 = 0; - $_etype596 = 0; - $xfer += $input->readSetBegin($_etype596, $_size593); - for ($_i597 = 0; $_i597 < $_size593; ++$_i597) + $_size601 = 0; + $_etype604 = 0; + $xfer += $input->readSetBegin($_etype604, $_size601); + for ($_i605 = 0; $_i605 < $_size601; ++$_i605) { - $elem598 = null; - $xfer += $input->readI64($elem598); - if (is_scalar($elem598)) { - $this->aborted[$elem598] = true; + $elem606 = null; + $xfer += $input->readI64($elem606); + if (is_scalar($elem606)) { + $this->aborted[$elem606] = true; } else { - $this->aborted []= $elem598; + $this->aborted []= $elem606; } } $xfer += $input->readSetEnd(); @@ -19687,17 +19911,17 @@ class HeartbeatTxnRangeResponse { case 2: if ($ftype == TType::SET) { $this->nosuch = array(); - $_size599 = 0; - $_etype602 = 0; - $xfer += $input->readSetBegin($_etype602, $_size599); - for ($_i603 = 0; $_i603 < $_size599; ++$_i603) + $_size607 = 0; + $_etype610 = 0; + $xfer += $input->readSetBegin($_etype610, $_size607); + for ($_i611 = 0; $_i611 < $_size607; ++$_i611) { - $elem604 = null; - $xfer += $input->readI64($elem604); - if (is_scalar($elem604)) { - $this->nosuch[$elem604] = true; + $elem612 = null; + $xfer += $input->readI64($elem612); + if (is_scalar($elem612)) { + $this->nosuch[$elem612] = true; } else { - $this->nosuch []= $elem604; + $this->nosuch []= $elem612; } } $xfer += $input->readSetEnd(); @@ -19726,12 +19950,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->aborted)); { - foreach ($this->aborted as $iter605 => $iter606) + foreach ($this->aborted as $iter613 => $iter614) { - if (is_scalar($iter606)) { - $xfer += $output->writeI64($iter605); + if (is_scalar($iter614)) { + $xfer += $output->writeI64($iter613); } else { - $xfer += $output->writeI64($iter606); + $xfer += $output->writeI64($iter614); } } } @@ -19747,12 +19971,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->nosuch)); { - foreach ($this->nosuch as $iter607 => $iter608) + foreach ($this->nosuch as $iter615 => $iter616) { - if (is_scalar($iter608)) { - $xfer += $output->writeI64($iter607); + if (is_scalar($iter616)) { + $xfer += $output->writeI64($iter615); } else { - $xfer += $output->writeI64($iter608); + $xfer += $output->writeI64($iter616); } } } @@ -19911,17 +20135,17 @@ class CompactionRequest { case 6: if ($ftype == TType::MAP) { $this->properties = array(); - $_size609 = 0; - $_ktype610 = 0; - $_vtype611 = 0; - $xfer += $input->readMapBegin($_ktype610, $_vtype611, $_size609); - for ($_i613 = 0; $_i613 < $_size609; ++$_i613) + $_size617 = 0; + $_ktype618 = 0; + $_vtype619 = 0; + $xfer += $input->readMapBegin($_ktype618, $_vtype619, $_size617); + for ($_i621 = 0; $_i621 < $_size617; ++$_i621) { - $key614 = ''; - $val615 = ''; - $xfer += $input->readString($key614); - $xfer += $input->readString($val615); - $this->properties[$key614] = $val615; + $key622 = ''; + $val623 = ''; + $xfer += $input->readString($key622); + $xfer += $input->readString($val623); + $this->properties[$key622] = $val623; } $xfer += $input->readMapEnd(); } else { @@ -19974,10 +20198,10 @@ class CompactionRequest { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->properties)); { - foreach ($this->properties as $kiter616 => $viter617) + foreach ($this->properties as $kiter624 => $viter625) { - $xfer += $output->writeString($kiter616); - $xfer += $output->writeString($viter617); + $xfer += $output->writeString($kiter624); + $xfer += $output->writeString($viter625); } } $output->writeMapEnd(); @@ -20564,15 +20788,15 @@ class ShowCompactResponse { case 1: if ($ftype == TType::LST) { $this->compacts = array(); - $_size618 = 0; - $_etype621 = 0; - $xfer += $input->readListBegin($_etype621, $_size618); - for ($_i622 = 0; $_i622 < $_size618; ++$_i622) + $_size626 = 0; + $_etype629 = 0; + $xfer += $input->readListBegin($_etype629, $_size626); + for ($_i630 = 0; $_i630 < $_size626; ++$_i630) { - $elem623 = null; - $elem623 = new \metastore\ShowCompactResponseElement(); - $xfer += $elem623->read($input); - $this->compacts []= $elem623; + $elem631 = null; + $elem631 = new \metastore\ShowCompactResponseElement(); + $xfer += $elem631->read($input); + $this->compacts []= $elem631; } $xfer += $input->readListEnd(); } else { @@ -20600,9 +20824,9 @@ class ShowCompactResponse { { $output->writeListBegin(TType::STRUCT, count($this->compacts)); { - foreach ($this->compacts as $iter624) + foreach ($this->compacts as $iter632) { - $xfer += $iter624->write($output); + $xfer += $iter632->write($output); } } $output->writeListEnd(); @@ -20749,14 +20973,14 @@ class AddDynamicPartitions { case 5: if ($ftype == TType::LST) { $this->partitionnames = array(); - $_size625 = 0; - $_etype628 = 0; - $xfer += $input->readListBegin($_etype628, $_size625); - for ($_i629 = 0; $_i629 < $_size625; ++$_i629) + $_size633 = 0; + $_etype636 = 0; + $xfer += $input->readListBegin($_etype636, $_size633); + for ($_i637 = 0; $_i637 < $_size633; ++$_i637) { - $elem630 = null; - $xfer += $input->readString($elem630); - $this->partitionnames []= $elem630; + $elem638 = null; + $xfer += $input->readString($elem638); + $this->partitionnames []= $elem638; } $xfer += $input->readListEnd(); } else { @@ -20811,9 +21035,9 @@ class AddDynamicPartitions { { $output->writeListBegin(TType::STRING, count($this->partitionnames)); { - foreach ($this->partitionnames as $iter631) + foreach ($this->partitionnames as $iter639) { - $xfer += $output->writeString($iter631); + $xfer += $output->writeString($iter639); } } $output->writeListEnd(); @@ -21022,230 +21246,6 @@ class BasicTxnInfo { } -class CreationMetadata { - static $_TSPEC; - - /** - * @var string - */ - public $catName = null; - /** - * @var string - */ - public $dbName = null; - /** - * @var string - */ - public $tblName = null; - /** - * @var string[] - */ - public $tablesUsed = null; - /** - * @var string - */ - public $validTxnList = null; - /** - * @var int - */ - public $materializationTime = null; - - public function __construct($vals=null) { - if (!isset(self::$_TSPEC)) { - self::$_TSPEC = array( - 1 => array( - 'var' => 'catName', - 'type' => TType::STRING, - ), - 2 => array( - 'var' => 'dbName', - 'type' => TType::STRING, - ), - 3 => array( - 'var' => 'tblName', - 'type' => TType::STRING, - ), - 4 => array( - 'var' => 'tablesUsed', - 'type' => TType::SET, - 'etype' => TType::STRING, - 'elem' => array( - 'type' => TType::STRING, - ), - ), - 5 => array( - 'var' => 'validTxnList', - 'type' => TType::STRING, - ), - 6 => array( - 'var' => 'materializationTime', - 'type' => TType::I64, - ), - ); - } - if (is_array($vals)) { - if (isset($vals['catName'])) { - $this->catName = $vals['catName']; - } - if (isset($vals['dbName'])) { - $this->dbName = $vals['dbName']; - } - if (isset($vals['tblName'])) { - $this->tblName = $vals['tblName']; - } - if (isset($vals['tablesUsed'])) { - $this->tablesUsed = $vals['tablesUsed']; - } - if (isset($vals['validTxnList'])) { - $this->validTxnList = $vals['validTxnList']; - } - if (isset($vals['materializationTime'])) { - $this->materializationTime = $vals['materializationTime']; - } - } - } - - public function getName() { - return 'CreationMetadata'; - } - - public function read($input) - { - $xfer = 0; - $fname = null; - $ftype = 0; - $fid = 0; - $xfer += $input->readStructBegin($fname); - while (true) - { - $xfer += $input->readFieldBegin($fname, $ftype, $fid); - if ($ftype == TType::STOP) { - break; - } - switch ($fid) - { - case 1: - if ($ftype == TType::STRING) { - $xfer += $input->readString($this->catName); - } else { - $xfer += $input->skip($ftype); - } - break; - case 2: - if ($ftype == TType::STRING) { - $xfer += $input->readString($this->dbName); - } else { - $xfer += $input->skip($ftype); - } - break; - case 3: - if ($ftype == TType::STRING) { - $xfer += $input->readString($this->tblName); - } else { - $xfer += $input->skip($ftype); - } - break; - case 4: - if ($ftype == TType::SET) { - $this->tablesUsed = array(); - $_size632 = 0; - $_etype635 = 0; - $xfer += $input->readSetBegin($_etype635, $_size632); - for ($_i636 = 0; $_i636 < $_size632; ++$_i636) - { - $elem637 = null; - $xfer += $input->readString($elem637); - if (is_scalar($elem637)) { - $this->tablesUsed[$elem637] = true; - } else { - $this->tablesUsed []= $elem637; - } - } - $xfer += $input->readSetEnd(); - } else { - $xfer += $input->skip($ftype); - } - break; - case 5: - if ($ftype == TType::STRING) { - $xfer += $input->readString($this->validTxnList); - } else { - $xfer += $input->skip($ftype); - } - break; - case 6: - if ($ftype == TType::I64) { - $xfer += $input->readI64($this->materializationTime); - } 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('CreationMetadata'); - if ($this->catName !== null) { - $xfer += $output->writeFieldBegin('catName', TType::STRING, 1); - $xfer += $output->writeString($this->catName); - $xfer += $output->writeFieldEnd(); - } - if ($this->dbName !== null) { - $xfer += $output->writeFieldBegin('dbName', TType::STRING, 2); - $xfer += $output->writeString($this->dbName); - $xfer += $output->writeFieldEnd(); - } - if ($this->tblName !== null) { - $xfer += $output->writeFieldBegin('tblName', TType::STRING, 3); - $xfer += $output->writeString($this->tblName); - $xfer += $output->writeFieldEnd(); - } - if ($this->tablesUsed !== null) { - if (!is_array($this->tablesUsed)) { - throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); - } - $xfer += $output->writeFieldBegin('tablesUsed', TType::SET, 4); - { - $output->writeSetBegin(TType::STRING, count($this->tablesUsed)); - { - foreach ($this->tablesUsed as $iter638 => $iter639) - { - if (is_scalar($iter639)) { - $xfer += $output->writeString($iter638); - } else { - $xfer += $output->writeString($iter639); - } - } - } - $output->writeSetEnd(); - } - $xfer += $output->writeFieldEnd(); - } - if ($this->validTxnList !== null) { - $xfer += $output->writeFieldBegin('validTxnList', TType::STRING, 5); - $xfer += $output->writeString($this->validTxnList); - $xfer += $output->writeFieldEnd(); - } - if ($this->materializationTime !== null) { - $xfer += $output->writeFieldBegin('materializationTime', TType::I64, 6); - $xfer += $output->writeI64($this->materializationTime); - $xfer += $output->writeFieldEnd(); - } - $xfer += $output->writeFieldStop(); - $xfer += $output->writeStructEnd(); - return $xfer; - } - -} - class NotificationEventRequest { static $_TSPEC; diff --git a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py index 583f7de3c5774c101c68362836dbcb9a51048d43..e4297184484f3aa91f443387fbef7d3d2bea0573 100644 --- a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py +++ b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py @@ -4555,6 +4555,152 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class CreationMetadata: + """ + Attributes: + - catName + - dbName + - tblName + - tablesUsed + - validTxnList + - materializationTime + """ + + thrift_spec = ( + None, # 0 + (1, TType.STRING, 'catName', None, None, ), # 1 + (2, TType.STRING, 'dbName', None, None, ), # 2 + (3, TType.STRING, 'tblName', None, None, ), # 3 + (4, TType.SET, 'tablesUsed', (TType.STRING,None), None, ), # 4 + (5, TType.STRING, 'validTxnList', None, None, ), # 5 + (6, TType.I64, 'materializationTime', None, None, ), # 6 + ) + + def __init__(self, catName=None, dbName=None, tblName=None, tablesUsed=None, validTxnList=None, materializationTime=None,): + self.catName = catName + self.dbName = dbName + self.tblName = tblName + self.tablesUsed = tablesUsed + self.validTxnList = validTxnList + self.materializationTime = materializationTime + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + if fid == 1: + if ftype == TType.STRING: + self.catName = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.STRING: + self.dbName = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 3: + if ftype == TType.STRING: + self.tblName = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 4: + if ftype == TType.SET: + self.tablesUsed = set() + (_etype178, _size175) = iprot.readSetBegin() + for _i179 in xrange(_size175): + _elem180 = iprot.readString() + self.tablesUsed.add(_elem180) + iprot.readSetEnd() + else: + iprot.skip(ftype) + elif fid == 5: + if ftype == TType.STRING: + self.validTxnList = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 6: + if ftype == TType.I64: + self.materializationTime = 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('CreationMetadata') + if self.catName is not None: + oprot.writeFieldBegin('catName', TType.STRING, 1) + oprot.writeString(self.catName) + oprot.writeFieldEnd() + if self.dbName is not None: + oprot.writeFieldBegin('dbName', TType.STRING, 2) + oprot.writeString(self.dbName) + oprot.writeFieldEnd() + if self.tblName is not None: + oprot.writeFieldBegin('tblName', TType.STRING, 3) + oprot.writeString(self.tblName) + oprot.writeFieldEnd() + if self.tablesUsed is not None: + oprot.writeFieldBegin('tablesUsed', TType.SET, 4) + oprot.writeSetBegin(TType.STRING, len(self.tablesUsed)) + for iter181 in self.tablesUsed: + oprot.writeString(iter181) + oprot.writeSetEnd() + oprot.writeFieldEnd() + if self.validTxnList is not None: + oprot.writeFieldBegin('validTxnList', TType.STRING, 5) + oprot.writeString(self.validTxnList) + oprot.writeFieldEnd() + if self.materializationTime is not None: + oprot.writeFieldBegin('materializationTime', TType.I64, 6) + oprot.writeI64(self.materializationTime) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + if self.catName is None: + raise TProtocol.TProtocolException(message='Required field catName is unset!') + if self.dbName is None: + raise TProtocol.TProtocolException(message='Required field dbName is unset!') + if self.tblName is None: + raise TProtocol.TProtocolException(message='Required field tblName is unset!') + if self.tablesUsed is None: + raise TProtocol.TProtocolException(message='Required field tablesUsed is unset!') + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.catName) + value = (value * 31) ^ hash(self.dbName) + value = (value * 31) ^ hash(self.tblName) + value = (value * 31) ^ hash(self.tablesUsed) + value = (value * 31) ^ hash(self.validTxnList) + value = (value * 31) ^ hash(self.materializationTime) + return value + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + class Table: """ Attributes: @@ -4668,22 +4814,22 @@ def read(self, iprot): elif fid == 8: if ftype == TType.LIST: self.partitionKeys = [] - (_etype178, _size175) = iprot.readListBegin() - for _i179 in xrange(_size175): - _elem180 = FieldSchema() - _elem180.read(iprot) - self.partitionKeys.append(_elem180) + (_etype185, _size182) = iprot.readListBegin() + for _i186 in xrange(_size182): + _elem187 = FieldSchema() + _elem187.read(iprot) + self.partitionKeys.append(_elem187) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 9: if ftype == TType.MAP: self.parameters = {} - (_ktype182, _vtype183, _size181 ) = iprot.readMapBegin() - for _i185 in xrange(_size181): - _key186 = iprot.readString() - _val187 = iprot.readString() - self.parameters[_key186] = _val187 + (_ktype189, _vtype190, _size188 ) = iprot.readMapBegin() + for _i192 in xrange(_size188): + _key193 = iprot.readString() + _val194 = iprot.readString() + self.parameters[_key193] = _val194 iprot.readMapEnd() else: iprot.skip(ftype) @@ -4775,16 +4921,16 @@ def write(self, oprot): if self.partitionKeys is not None: oprot.writeFieldBegin('partitionKeys', TType.LIST, 8) oprot.writeListBegin(TType.STRUCT, len(self.partitionKeys)) - for iter188 in self.partitionKeys: - iter188.write(oprot) + for iter195 in self.partitionKeys: + iter195.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.parameters is not None: oprot.writeFieldBegin('parameters', TType.MAP, 9) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.parameters)) - for kiter189,viter190 in self.parameters.items(): - oprot.writeString(kiter189) - oprot.writeString(viter190) + for kiter196,viter197 in self.parameters.items(): + oprot.writeString(kiter196) + oprot.writeString(viter197) oprot.writeMapEnd() oprot.writeFieldEnd() if self.viewOriginalText is not None: @@ -4913,10 +5059,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.values = [] - (_etype194, _size191) = iprot.readListBegin() - for _i195 in xrange(_size191): - _elem196 = iprot.readString() - self.values.append(_elem196) + (_etype201, _size198) = iprot.readListBegin() + for _i202 in xrange(_size198): + _elem203 = iprot.readString() + self.values.append(_elem203) iprot.readListEnd() else: iprot.skip(ftype) @@ -4949,11 +5095,11 @@ def read(self, iprot): elif fid == 7: if ftype == TType.MAP: self.parameters = {} - (_ktype198, _vtype199, _size197 ) = iprot.readMapBegin() - for _i201 in xrange(_size197): - _key202 = iprot.readString() - _val203 = iprot.readString() - self.parameters[_key202] = _val203 + (_ktype205, _vtype206, _size204 ) = iprot.readMapBegin() + for _i208 in xrange(_size204): + _key209 = iprot.readString() + _val210 = iprot.readString() + self.parameters[_key209] = _val210 iprot.readMapEnd() else: iprot.skip(ftype) @@ -4981,8 +5127,8 @@ def write(self, oprot): if self.values is not None: oprot.writeFieldBegin('values', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.values)) - for iter204 in self.values: - oprot.writeString(iter204) + for iter211 in self.values: + oprot.writeString(iter211) oprot.writeListEnd() oprot.writeFieldEnd() if self.dbName is not None: @@ -5008,9 +5154,9 @@ def write(self, oprot): if self.parameters is not None: oprot.writeFieldBegin('parameters', TType.MAP, 7) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.parameters)) - for kiter205,viter206 in self.parameters.items(): - oprot.writeString(kiter205) - oprot.writeString(viter206) + for kiter212,viter213 in self.parameters.items(): + oprot.writeString(kiter212) + oprot.writeString(viter213) oprot.writeMapEnd() oprot.writeFieldEnd() if self.privileges is not None: @@ -5093,10 +5239,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.values = [] - (_etype210, _size207) = iprot.readListBegin() - for _i211 in xrange(_size207): - _elem212 = iprot.readString() - self.values.append(_elem212) + (_etype217, _size214) = iprot.readListBegin() + for _i218 in xrange(_size214): + _elem219 = iprot.readString() + self.values.append(_elem219) iprot.readListEnd() else: iprot.skip(ftype) @@ -5118,11 +5264,11 @@ def read(self, iprot): elif fid == 5: if ftype == TType.MAP: self.parameters = {} - (_ktype214, _vtype215, _size213 ) = iprot.readMapBegin() - for _i217 in xrange(_size213): - _key218 = iprot.readString() - _val219 = iprot.readString() - self.parameters[_key218] = _val219 + (_ktype221, _vtype222, _size220 ) = iprot.readMapBegin() + for _i224 in xrange(_size220): + _key225 = iprot.readString() + _val226 = iprot.readString() + self.parameters[_key225] = _val226 iprot.readMapEnd() else: iprot.skip(ftype) @@ -5145,8 +5291,8 @@ def write(self, oprot): if self.values is not None: oprot.writeFieldBegin('values', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.values)) - for iter220 in self.values: - oprot.writeString(iter220) + for iter227 in self.values: + oprot.writeString(iter227) oprot.writeListEnd() oprot.writeFieldEnd() if self.createTime is not None: @@ -5164,9 +5310,9 @@ def write(self, oprot): if self.parameters is not None: oprot.writeFieldBegin('parameters', TType.MAP, 5) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.parameters)) - for kiter221,viter222 in self.parameters.items(): - oprot.writeString(kiter221) - oprot.writeString(viter222) + for kiter228,viter229 in self.parameters.items(): + oprot.writeString(kiter228) + oprot.writeString(viter229) oprot.writeMapEnd() oprot.writeFieldEnd() if self.privileges is not None: @@ -5230,11 +5376,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitions = [] - (_etype226, _size223) = iprot.readListBegin() - for _i227 in xrange(_size223): - _elem228 = PartitionWithoutSD() - _elem228.read(iprot) - self.partitions.append(_elem228) + (_etype233, _size230) = iprot.readListBegin() + for _i234 in xrange(_size230): + _elem235 = PartitionWithoutSD() + _elem235.read(iprot) + self.partitions.append(_elem235) iprot.readListEnd() else: iprot.skip(ftype) @@ -5257,8 +5403,8 @@ def write(self, oprot): if self.partitions is not None: oprot.writeFieldBegin('partitions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.partitions)) - for iter229 in self.partitions: - iter229.write(oprot) + for iter236 in self.partitions: + iter236.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.sd is not None: @@ -5315,11 +5461,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitions = [] - (_etype233, _size230) = iprot.readListBegin() - for _i234 in xrange(_size230): - _elem235 = Partition() - _elem235.read(iprot) - self.partitions.append(_elem235) + (_etype240, _size237) = iprot.readListBegin() + for _i241 in xrange(_size237): + _elem242 = Partition() + _elem242.read(iprot) + self.partitions.append(_elem242) iprot.readListEnd() else: iprot.skip(ftype) @@ -5336,8 +5482,8 @@ def write(self, oprot): if self.partitions is not None: oprot.writeFieldBegin('partitions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.partitions)) - for iter236 in self.partitions: - iter236.write(oprot) + for iter243 in self.partitions: + iter243.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -6897,11 +7043,11 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.statsObj = [] - (_etype240, _size237) = iprot.readListBegin() - for _i241 in xrange(_size237): - _elem242 = ColumnStatisticsObj() - _elem242.read(iprot) - self.statsObj.append(_elem242) + (_etype247, _size244) = iprot.readListBegin() + for _i248 in xrange(_size244): + _elem249 = ColumnStatisticsObj() + _elem249.read(iprot) + self.statsObj.append(_elem249) iprot.readListEnd() else: iprot.skip(ftype) @@ -6922,8 +7068,8 @@ def write(self, oprot): if self.statsObj is not None: oprot.writeFieldBegin('statsObj', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.statsObj)) - for iter243 in self.statsObj: - iter243.write(oprot) + for iter250 in self.statsObj: + iter250.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -6983,11 +7129,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.colStats = [] - (_etype247, _size244) = iprot.readListBegin() - for _i248 in xrange(_size244): - _elem249 = ColumnStatisticsObj() - _elem249.read(iprot) - self.colStats.append(_elem249) + (_etype254, _size251) = iprot.readListBegin() + for _i255 in xrange(_size251): + _elem256 = ColumnStatisticsObj() + _elem256.read(iprot) + self.colStats.append(_elem256) iprot.readListEnd() else: iprot.skip(ftype) @@ -7009,8 +7155,8 @@ def write(self, oprot): if self.colStats is not None: oprot.writeFieldBegin('colStats', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.colStats)) - for iter250 in self.colStats: - iter250.write(oprot) + for iter257 in self.colStats: + iter257.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.partsFound is not None: @@ -7074,11 +7220,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.colStats = [] - (_etype254, _size251) = iprot.readListBegin() - for _i255 in xrange(_size251): - _elem256 = ColumnStatistics() - _elem256.read(iprot) - self.colStats.append(_elem256) + (_etype261, _size258) = iprot.readListBegin() + for _i262 in xrange(_size258): + _elem263 = ColumnStatistics() + _elem263.read(iprot) + self.colStats.append(_elem263) iprot.readListEnd() else: iprot.skip(ftype) @@ -7100,8 +7246,8 @@ def write(self, oprot): if self.colStats is not None: oprot.writeFieldBegin('colStats', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.colStats)) - for iter257 in self.colStats: - iter257.write(oprot) + for iter264 in self.colStats: + iter264.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.needMerge is not None: @@ -7163,22 +7309,22 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fieldSchemas = [] - (_etype261, _size258) = iprot.readListBegin() - for _i262 in xrange(_size258): - _elem263 = FieldSchema() - _elem263.read(iprot) - self.fieldSchemas.append(_elem263) + (_etype268, _size265) = iprot.readListBegin() + for _i269 in xrange(_size265): + _elem270 = FieldSchema() + _elem270.read(iprot) + self.fieldSchemas.append(_elem270) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.MAP: self.properties = {} - (_ktype265, _vtype266, _size264 ) = iprot.readMapBegin() - for _i268 in xrange(_size264): - _key269 = iprot.readString() - _val270 = iprot.readString() - self.properties[_key269] = _val270 + (_ktype272, _vtype273, _size271 ) = iprot.readMapBegin() + for _i275 in xrange(_size271): + _key276 = iprot.readString() + _val277 = iprot.readString() + self.properties[_key276] = _val277 iprot.readMapEnd() else: iprot.skip(ftype) @@ -7195,16 +7341,16 @@ def write(self, oprot): if self.fieldSchemas is not None: oprot.writeFieldBegin('fieldSchemas', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.fieldSchemas)) - for iter271 in self.fieldSchemas: - iter271.write(oprot) + for iter278 in self.fieldSchemas: + iter278.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.properties is not None: oprot.writeFieldBegin('properties', TType.MAP, 2) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.properties)) - for kiter272,viter273 in self.properties.items(): - oprot.writeString(kiter272) - oprot.writeString(viter273) + for kiter279,viter280 in self.properties.items(): + oprot.writeString(kiter279) + oprot.writeString(viter280) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -7257,11 +7403,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.properties = {} - (_ktype275, _vtype276, _size274 ) = iprot.readMapBegin() - for _i278 in xrange(_size274): - _key279 = iprot.readString() - _val280 = iprot.readString() - self.properties[_key279] = _val280 + (_ktype282, _vtype283, _size281 ) = iprot.readMapBegin() + for _i285 in xrange(_size281): + _key286 = iprot.readString() + _val287 = iprot.readString() + self.properties[_key286] = _val287 iprot.readMapEnd() else: iprot.skip(ftype) @@ -7278,9 +7424,9 @@ def write(self, oprot): if self.properties is not None: oprot.writeFieldBegin('properties', TType.MAP, 1) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.properties)) - for kiter281,viter282 in self.properties.items(): - oprot.writeString(kiter281) - oprot.writeString(viter282) + for kiter288,viter289 in self.properties.items(): + oprot.writeString(kiter288) + oprot.writeString(viter289) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -7427,11 +7573,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.primaryKeys = [] - (_etype286, _size283) = iprot.readListBegin() - for _i287 in xrange(_size283): - _elem288 = SQLPrimaryKey() - _elem288.read(iprot) - self.primaryKeys.append(_elem288) + (_etype293, _size290) = iprot.readListBegin() + for _i294 in xrange(_size290): + _elem295 = SQLPrimaryKey() + _elem295.read(iprot) + self.primaryKeys.append(_elem295) iprot.readListEnd() else: iprot.skip(ftype) @@ -7448,8 +7594,8 @@ def write(self, oprot): if self.primaryKeys is not None: oprot.writeFieldBegin('primaryKeys', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.primaryKeys)) - for iter289 in self.primaryKeys: - iter289.write(oprot) + for iter296 in self.primaryKeys: + iter296.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -7620,11 +7766,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.foreignKeys = [] - (_etype293, _size290) = iprot.readListBegin() - for _i294 in xrange(_size290): - _elem295 = SQLForeignKey() - _elem295.read(iprot) - self.foreignKeys.append(_elem295) + (_etype300, _size297) = iprot.readListBegin() + for _i301 in xrange(_size297): + _elem302 = SQLForeignKey() + _elem302.read(iprot) + self.foreignKeys.append(_elem302) iprot.readListEnd() else: iprot.skip(ftype) @@ -7641,8 +7787,8 @@ def write(self, oprot): if self.foreignKeys is not None: oprot.writeFieldBegin('foreignKeys', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.foreignKeys)) - for iter296 in self.foreignKeys: - iter296.write(oprot) + for iter303 in self.foreignKeys: + iter303.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -7793,11 +7939,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.uniqueConstraints = [] - (_etype300, _size297) = iprot.readListBegin() - for _i301 in xrange(_size297): - _elem302 = SQLUniqueConstraint() - _elem302.read(iprot) - self.uniqueConstraints.append(_elem302) + (_etype307, _size304) = iprot.readListBegin() + for _i308 in xrange(_size304): + _elem309 = SQLUniqueConstraint() + _elem309.read(iprot) + self.uniqueConstraints.append(_elem309) iprot.readListEnd() else: iprot.skip(ftype) @@ -7814,8 +7960,8 @@ def write(self, oprot): if self.uniqueConstraints is not None: oprot.writeFieldBegin('uniqueConstraints', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.uniqueConstraints)) - for iter303 in self.uniqueConstraints: - iter303.write(oprot) + for iter310 in self.uniqueConstraints: + iter310.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -7966,11 +8112,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.notNullConstraints = [] - (_etype307, _size304) = iprot.readListBegin() - for _i308 in xrange(_size304): - _elem309 = SQLNotNullConstraint() - _elem309.read(iprot) - self.notNullConstraints.append(_elem309) + (_etype314, _size311) = iprot.readListBegin() + for _i315 in xrange(_size311): + _elem316 = SQLNotNullConstraint() + _elem316.read(iprot) + self.notNullConstraints.append(_elem316) iprot.readListEnd() else: iprot.skip(ftype) @@ -7987,8 +8133,8 @@ def write(self, oprot): if self.notNullConstraints is not None: oprot.writeFieldBegin('notNullConstraints', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.notNullConstraints)) - for iter310 in self.notNullConstraints: - iter310.write(oprot) + for iter317 in self.notNullConstraints: + iter317.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -8139,11 +8285,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.defaultConstraints = [] - (_etype314, _size311) = iprot.readListBegin() - for _i315 in xrange(_size311): - _elem316 = SQLDefaultConstraint() - _elem316.read(iprot) - self.defaultConstraints.append(_elem316) + (_etype321, _size318) = iprot.readListBegin() + for _i322 in xrange(_size318): + _elem323 = SQLDefaultConstraint() + _elem323.read(iprot) + self.defaultConstraints.append(_elem323) iprot.readListEnd() else: iprot.skip(ftype) @@ -8160,8 +8306,8 @@ def write(self, oprot): if self.defaultConstraints is not None: oprot.writeFieldBegin('defaultConstraints', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.defaultConstraints)) - for iter317 in self.defaultConstraints: - iter317.write(oprot) + for iter324 in self.defaultConstraints: + iter324.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -8312,11 +8458,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.checkConstraints = [] - (_etype321, _size318) = iprot.readListBegin() - for _i322 in xrange(_size318): - _elem323 = SQLCheckConstraint() - _elem323.read(iprot) - self.checkConstraints.append(_elem323) + (_etype328, _size325) = iprot.readListBegin() + for _i329 in xrange(_size325): + _elem330 = SQLCheckConstraint() + _elem330.read(iprot) + self.checkConstraints.append(_elem330) iprot.readListEnd() else: iprot.skip(ftype) @@ -8333,8 +8479,8 @@ def write(self, oprot): if self.checkConstraints is not None: oprot.writeFieldBegin('checkConstraints', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.checkConstraints)) - for iter324 in self.checkConstraints: - iter324.write(oprot) + for iter331 in self.checkConstraints: + iter331.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -8498,11 +8644,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.primaryKeyCols = [] - (_etype328, _size325) = iprot.readListBegin() - for _i329 in xrange(_size325): - _elem330 = SQLPrimaryKey() - _elem330.read(iprot) - self.primaryKeyCols.append(_elem330) + (_etype335, _size332) = iprot.readListBegin() + for _i336 in xrange(_size332): + _elem337 = SQLPrimaryKey() + _elem337.read(iprot) + self.primaryKeyCols.append(_elem337) iprot.readListEnd() else: iprot.skip(ftype) @@ -8519,8 +8665,8 @@ def write(self, oprot): if self.primaryKeyCols is not None: oprot.writeFieldBegin('primaryKeyCols', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.primaryKeyCols)) - for iter331 in self.primaryKeyCols: - iter331.write(oprot) + for iter338 in self.primaryKeyCols: + iter338.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -8574,11 +8720,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.foreignKeyCols = [] - (_etype335, _size332) = iprot.readListBegin() - for _i336 in xrange(_size332): - _elem337 = SQLForeignKey() - _elem337.read(iprot) - self.foreignKeyCols.append(_elem337) + (_etype342, _size339) = iprot.readListBegin() + for _i343 in xrange(_size339): + _elem344 = SQLForeignKey() + _elem344.read(iprot) + self.foreignKeyCols.append(_elem344) iprot.readListEnd() else: iprot.skip(ftype) @@ -8595,8 +8741,8 @@ def write(self, oprot): if self.foreignKeyCols is not None: oprot.writeFieldBegin('foreignKeyCols', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.foreignKeyCols)) - for iter338 in self.foreignKeyCols: - iter338.write(oprot) + for iter345 in self.foreignKeyCols: + iter345.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -8650,11 +8796,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.uniqueConstraintCols = [] - (_etype342, _size339) = iprot.readListBegin() - for _i343 in xrange(_size339): - _elem344 = SQLUniqueConstraint() - _elem344.read(iprot) - self.uniqueConstraintCols.append(_elem344) + (_etype349, _size346) = iprot.readListBegin() + for _i350 in xrange(_size346): + _elem351 = SQLUniqueConstraint() + _elem351.read(iprot) + self.uniqueConstraintCols.append(_elem351) iprot.readListEnd() else: iprot.skip(ftype) @@ -8671,8 +8817,8 @@ def write(self, oprot): if self.uniqueConstraintCols is not None: oprot.writeFieldBegin('uniqueConstraintCols', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.uniqueConstraintCols)) - for iter345 in self.uniqueConstraintCols: - iter345.write(oprot) + for iter352 in self.uniqueConstraintCols: + iter352.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -8726,11 +8872,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.notNullConstraintCols = [] - (_etype349, _size346) = iprot.readListBegin() - for _i350 in xrange(_size346): - _elem351 = SQLNotNullConstraint() - _elem351.read(iprot) - self.notNullConstraintCols.append(_elem351) + (_etype356, _size353) = iprot.readListBegin() + for _i357 in xrange(_size353): + _elem358 = SQLNotNullConstraint() + _elem358.read(iprot) + self.notNullConstraintCols.append(_elem358) iprot.readListEnd() else: iprot.skip(ftype) @@ -8747,8 +8893,8 @@ def write(self, oprot): if self.notNullConstraintCols is not None: oprot.writeFieldBegin('notNullConstraintCols', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.notNullConstraintCols)) - for iter352 in self.notNullConstraintCols: - iter352.write(oprot) + for iter359 in self.notNullConstraintCols: + iter359.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -8802,11 +8948,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.defaultConstraintCols = [] - (_etype356, _size353) = iprot.readListBegin() - for _i357 in xrange(_size353): - _elem358 = SQLDefaultConstraint() - _elem358.read(iprot) - self.defaultConstraintCols.append(_elem358) + (_etype363, _size360) = iprot.readListBegin() + for _i364 in xrange(_size360): + _elem365 = SQLDefaultConstraint() + _elem365.read(iprot) + self.defaultConstraintCols.append(_elem365) iprot.readListEnd() else: iprot.skip(ftype) @@ -8823,8 +8969,8 @@ def write(self, oprot): if self.defaultConstraintCols is not None: oprot.writeFieldBegin('defaultConstraintCols', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.defaultConstraintCols)) - for iter359 in self.defaultConstraintCols: - iter359.write(oprot) + for iter366 in self.defaultConstraintCols: + iter366.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -8878,11 +9024,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.checkConstraintCols = [] - (_etype363, _size360) = iprot.readListBegin() - for _i364 in xrange(_size360): - _elem365 = SQLCheckConstraint() - _elem365.read(iprot) - self.checkConstraintCols.append(_elem365) + (_etype370, _size367) = iprot.readListBegin() + for _i371 in xrange(_size367): + _elem372 = SQLCheckConstraint() + _elem372.read(iprot) + self.checkConstraintCols.append(_elem372) iprot.readListEnd() else: iprot.skip(ftype) @@ -8899,8 +9045,8 @@ def write(self, oprot): if self.checkConstraintCols is not None: oprot.writeFieldBegin('checkConstraintCols', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.checkConstraintCols)) - for iter366 in self.checkConstraintCols: - iter366.write(oprot) + for iter373 in self.checkConstraintCols: + iter373.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -8957,11 +9103,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitions = [] - (_etype370, _size367) = iprot.readListBegin() - for _i371 in xrange(_size367): - _elem372 = Partition() - _elem372.read(iprot) - self.partitions.append(_elem372) + (_etype377, _size374) = iprot.readListBegin() + for _i378 in xrange(_size374): + _elem379 = Partition() + _elem379.read(iprot) + self.partitions.append(_elem379) iprot.readListEnd() else: iprot.skip(ftype) @@ -8983,8 +9129,8 @@ def write(self, oprot): if self.partitions is not None: oprot.writeFieldBegin('partitions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.partitions)) - for iter373 in self.partitions: - iter373.write(oprot) + for iter380 in self.partitions: + iter380.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.hasUnknownPartitions is not None: @@ -9181,11 +9327,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tableStats = [] - (_etype377, _size374) = iprot.readListBegin() - for _i378 in xrange(_size374): - _elem379 = ColumnStatisticsObj() - _elem379.read(iprot) - self.tableStats.append(_elem379) + (_etype384, _size381) = iprot.readListBegin() + for _i385 in xrange(_size381): + _elem386 = ColumnStatisticsObj() + _elem386.read(iprot) + self.tableStats.append(_elem386) iprot.readListEnd() else: iprot.skip(ftype) @@ -9202,8 +9348,8 @@ def write(self, oprot): if self.tableStats is not None: oprot.writeFieldBegin('tableStats', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.tableStats)) - for iter380 in self.tableStats: - iter380.write(oprot) + for iter387 in self.tableStats: + iter387.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -9257,17 +9403,17 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partStats = {} - (_ktype382, _vtype383, _size381 ) = iprot.readMapBegin() - for _i385 in xrange(_size381): - _key386 = iprot.readString() - _val387 = [] - (_etype391, _size388) = iprot.readListBegin() - for _i392 in xrange(_size388): - _elem393 = ColumnStatisticsObj() - _elem393.read(iprot) - _val387.append(_elem393) + (_ktype389, _vtype390, _size388 ) = iprot.readMapBegin() + for _i392 in xrange(_size388): + _key393 = iprot.readString() + _val394 = [] + (_etype398, _size395) = iprot.readListBegin() + for _i399 in xrange(_size395): + _elem400 = ColumnStatisticsObj() + _elem400.read(iprot) + _val394.append(_elem400) iprot.readListEnd() - self.partStats[_key386] = _val387 + self.partStats[_key393] = _val394 iprot.readMapEnd() else: iprot.skip(ftype) @@ -9284,11 +9430,11 @@ def write(self, oprot): if self.partStats is not None: oprot.writeFieldBegin('partStats', TType.MAP, 1) oprot.writeMapBegin(TType.STRING, TType.LIST, len(self.partStats)) - for kiter394,viter395 in self.partStats.items(): - oprot.writeString(kiter394) - oprot.writeListBegin(TType.STRUCT, len(viter395)) - for iter396 in viter395: - iter396.write(oprot) + for kiter401,viter402 in self.partStats.items(): + oprot.writeString(kiter401) + oprot.writeListBegin(TType.STRUCT, len(viter402)) + for iter403 in viter402: + iter403.write(oprot) oprot.writeListEnd() oprot.writeMapEnd() oprot.writeFieldEnd() @@ -9362,10 +9508,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.colNames = [] - (_etype400, _size397) = iprot.readListBegin() - for _i401 in xrange(_size397): - _elem402 = iprot.readString() - self.colNames.append(_elem402) + (_etype407, _size404) = iprot.readListBegin() + for _i408 in xrange(_size404): + _elem409 = iprot.readString() + self.colNames.append(_elem409) iprot.readListEnd() else: iprot.skip(ftype) @@ -9395,8 +9541,8 @@ def write(self, oprot): if self.colNames is not None: oprot.writeFieldBegin('colNames', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.colNames)) - for iter403 in self.colNames: - oprot.writeString(iter403) + for iter410 in self.colNames: + oprot.writeString(iter410) oprot.writeListEnd() oprot.writeFieldEnd() if self.catName is not None: @@ -9483,20 +9629,20 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.colNames = [] - (_etype407, _size404) = iprot.readListBegin() - for _i408 in xrange(_size404): - _elem409 = iprot.readString() - self.colNames.append(_elem409) + (_etype414, _size411) = iprot.readListBegin() + for _i415 in xrange(_size411): + _elem416 = iprot.readString() + self.colNames.append(_elem416) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.partNames = [] - (_etype413, _size410) = iprot.readListBegin() - for _i414 in xrange(_size410): - _elem415 = iprot.readString() - self.partNames.append(_elem415) + (_etype420, _size417) = iprot.readListBegin() + for _i421 in xrange(_size417): + _elem422 = iprot.readString() + self.partNames.append(_elem422) iprot.readListEnd() else: iprot.skip(ftype) @@ -9526,15 +9672,15 @@ def write(self, oprot): if self.colNames is not None: oprot.writeFieldBegin('colNames', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.colNames)) - for iter416 in self.colNames: - oprot.writeString(iter416) + for iter423 in self.colNames: + oprot.writeString(iter423) oprot.writeListEnd() oprot.writeFieldEnd() if self.partNames is not None: oprot.writeFieldBegin('partNames', TType.LIST, 4) oprot.writeListBegin(TType.STRING, len(self.partNames)) - for iter417 in self.partNames: - oprot.writeString(iter417) + for iter424 in self.partNames: + oprot.writeString(iter424) oprot.writeListEnd() oprot.writeFieldEnd() if self.catName is not None: @@ -9602,11 +9748,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitions = [] - (_etype421, _size418) = iprot.readListBegin() - for _i422 in xrange(_size418): - _elem423 = Partition() - _elem423.read(iprot) - self.partitions.append(_elem423) + (_etype428, _size425) = iprot.readListBegin() + for _i429 in xrange(_size425): + _elem430 = Partition() + _elem430.read(iprot) + self.partitions.append(_elem430) iprot.readListEnd() else: iprot.skip(ftype) @@ -9623,8 +9769,8 @@ def write(self, oprot): if self.partitions is not None: oprot.writeFieldBegin('partitions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.partitions)) - for iter424 in self.partitions: - iter424.write(oprot) + for iter431 in self.partitions: + iter431.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -9701,11 +9847,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.parts = [] - (_etype428, _size425) = iprot.readListBegin() - for _i429 in xrange(_size425): - _elem430 = Partition() - _elem430.read(iprot) - self.parts.append(_elem430) + (_etype435, _size432) = iprot.readListBegin() + for _i436 in xrange(_size432): + _elem437 = Partition() + _elem437.read(iprot) + self.parts.append(_elem437) iprot.readListEnd() else: iprot.skip(ftype) @@ -9745,8 +9891,8 @@ def write(self, oprot): if self.parts is not None: oprot.writeFieldBegin('parts', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.parts)) - for iter431 in self.parts: - iter431.write(oprot) + for iter438 in self.parts: + iter438.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.ifNotExists is not None: @@ -9823,11 +9969,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitions = [] - (_etype435, _size432) = iprot.readListBegin() - for _i436 in xrange(_size432): - _elem437 = Partition() - _elem437.read(iprot) - self.partitions.append(_elem437) + (_etype442, _size439) = iprot.readListBegin() + for _i443 in xrange(_size439): + _elem444 = Partition() + _elem444.read(iprot) + self.partitions.append(_elem444) iprot.readListEnd() else: iprot.skip(ftype) @@ -9844,8 +9990,8 @@ def write(self, oprot): if self.partitions is not None: oprot.writeFieldBegin('partitions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.partitions)) - for iter438 in self.partitions: - iter438.write(oprot) + for iter445 in self.partitions: + iter445.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -9980,21 +10126,21 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.names = [] - (_etype442, _size439) = iprot.readListBegin() - for _i443 in xrange(_size439): - _elem444 = iprot.readString() - self.names.append(_elem444) + (_etype449, _size446) = iprot.readListBegin() + for _i450 in xrange(_size446): + _elem451 = iprot.readString() + self.names.append(_elem451) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.exprs = [] - (_etype448, _size445) = iprot.readListBegin() - for _i449 in xrange(_size445): - _elem450 = DropPartitionsExpr() - _elem450.read(iprot) - self.exprs.append(_elem450) + (_etype455, _size452) = iprot.readListBegin() + for _i456 in xrange(_size452): + _elem457 = DropPartitionsExpr() + _elem457.read(iprot) + self.exprs.append(_elem457) iprot.readListEnd() else: iprot.skip(ftype) @@ -10011,15 +10157,15 @@ def write(self, oprot): if self.names is not None: oprot.writeFieldBegin('names', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.names)) - for iter451 in self.names: - oprot.writeString(iter451) + for iter458 in self.names: + oprot.writeString(iter458) oprot.writeListEnd() oprot.writeFieldEnd() if self.exprs is not None: oprot.writeFieldBegin('exprs', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.exprs)) - for iter452 in self.exprs: - iter452.write(oprot) + for iter459 in self.exprs: + iter459.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10283,11 +10429,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.partitionKeys = [] - (_etype456, _size453) = iprot.readListBegin() - for _i457 in xrange(_size453): - _elem458 = FieldSchema() - _elem458.read(iprot) - self.partitionKeys.append(_elem458) + (_etype463, _size460) = iprot.readListBegin() + for _i464 in xrange(_size460): + _elem465 = FieldSchema() + _elem465.read(iprot) + self.partitionKeys.append(_elem465) iprot.readListEnd() else: iprot.skip(ftype) @@ -10304,11 +10450,11 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.partitionOrder = [] - (_etype462, _size459) = iprot.readListBegin() - for _i463 in xrange(_size459): - _elem464 = FieldSchema() - _elem464.read(iprot) - self.partitionOrder.append(_elem464) + (_etype469, _size466) = iprot.readListBegin() + for _i470 in xrange(_size466): + _elem471 = FieldSchema() + _elem471.read(iprot) + self.partitionOrder.append(_elem471) iprot.readListEnd() else: iprot.skip(ftype) @@ -10348,8 +10494,8 @@ def write(self, oprot): if self.partitionKeys is not None: oprot.writeFieldBegin('partitionKeys', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.partitionKeys)) - for iter465 in self.partitionKeys: - iter465.write(oprot) + for iter472 in self.partitionKeys: + iter472.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.applyDistinct is not None: @@ -10363,8 +10509,8 @@ def write(self, oprot): if self.partitionOrder is not None: oprot.writeFieldBegin('partitionOrder', TType.LIST, 6) oprot.writeListBegin(TType.STRUCT, len(self.partitionOrder)) - for iter466 in self.partitionOrder: - iter466.write(oprot) + for iter473 in self.partitionOrder: + iter473.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.ascending is not None: @@ -10442,10 +10588,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.row = [] - (_etype470, _size467) = iprot.readListBegin() - for _i471 in xrange(_size467): - _elem472 = iprot.readString() - self.row.append(_elem472) + (_etype477, _size474) = iprot.readListBegin() + for _i478 in xrange(_size474): + _elem479 = iprot.readString() + self.row.append(_elem479) iprot.readListEnd() else: iprot.skip(ftype) @@ -10462,8 +10608,8 @@ def write(self, oprot): if self.row is not None: oprot.writeFieldBegin('row', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.row)) - for iter473 in self.row: - oprot.writeString(iter473) + for iter480 in self.row: + oprot.writeString(iter480) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10517,11 +10663,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitionValues = [] - (_etype477, _size474) = iprot.readListBegin() - for _i478 in xrange(_size474): - _elem479 = PartitionValuesRow() - _elem479.read(iprot) - self.partitionValues.append(_elem479) + (_etype484, _size481) = iprot.readListBegin() + for _i485 in xrange(_size481): + _elem486 = PartitionValuesRow() + _elem486.read(iprot) + self.partitionValues.append(_elem486) iprot.readListEnd() else: iprot.skip(ftype) @@ -10538,8 +10684,8 @@ def write(self, oprot): if self.partitionValues is not None: oprot.writeFieldBegin('partitionValues', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.partitionValues)) - for iter480 in self.partitionValues: - iter480.write(oprot) + for iter487 in self.partitionValues: + iter487.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10730,11 +10876,11 @@ def read(self, iprot): elif fid == 8: if ftype == TType.LIST: self.resourceUris = [] - (_etype484, _size481) = iprot.readListBegin() - for _i485 in xrange(_size481): - _elem486 = ResourceUri() - _elem486.read(iprot) - self.resourceUris.append(_elem486) + (_etype491, _size488) = iprot.readListBegin() + for _i492 in xrange(_size488): + _elem493 = ResourceUri() + _elem493.read(iprot) + self.resourceUris.append(_elem493) iprot.readListEnd() else: iprot.skip(ftype) @@ -10784,8 +10930,8 @@ def write(self, oprot): if self.resourceUris is not None: oprot.writeFieldBegin('resourceUris', TType.LIST, 8) oprot.writeListBegin(TType.STRUCT, len(self.resourceUris)) - for iter487 in self.resourceUris: - iter487.write(oprot) + for iter494 in self.resourceUris: + iter494.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.catName is not None: @@ -11034,11 +11180,11 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.open_txns = [] - (_etype491, _size488) = iprot.readListBegin() - for _i492 in xrange(_size488): - _elem493 = TxnInfo() - _elem493.read(iprot) - self.open_txns.append(_elem493) + (_etype498, _size495) = iprot.readListBegin() + for _i499 in xrange(_size495): + _elem500 = TxnInfo() + _elem500.read(iprot) + self.open_txns.append(_elem500) iprot.readListEnd() else: iprot.skip(ftype) @@ -11059,8 +11205,8 @@ def write(self, oprot): if self.open_txns is not None: oprot.writeFieldBegin('open_txns', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.open_txns)) - for iter494 in self.open_txns: - iter494.write(oprot) + for iter501 in self.open_txns: + iter501.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11131,10 +11277,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.open_txns = [] - (_etype498, _size495) = iprot.readListBegin() - for _i499 in xrange(_size495): - _elem500 = iprot.readI64() - self.open_txns.append(_elem500) + (_etype505, _size502) = iprot.readListBegin() + for _i506 in xrange(_size502): + _elem507 = iprot.readI64() + self.open_txns.append(_elem507) iprot.readListEnd() else: iprot.skip(ftype) @@ -11165,8 +11311,8 @@ def write(self, oprot): if self.open_txns is not None: oprot.writeFieldBegin('open_txns', TType.LIST, 2) oprot.writeListBegin(TType.I64, len(self.open_txns)) - for iter501 in self.open_txns: - oprot.writeI64(iter501) + for iter508 in self.open_txns: + oprot.writeI64(iter508) oprot.writeListEnd() oprot.writeFieldEnd() if self.min_open_txn is not None: @@ -11275,10 +11421,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.replSrcTxnIds = [] - (_etype505, _size502) = iprot.readListBegin() - for _i506 in xrange(_size502): - _elem507 = iprot.readI64() - self.replSrcTxnIds.append(_elem507) + (_etype512, _size509) = iprot.readListBegin() + for _i513 in xrange(_size509): + _elem514 = iprot.readI64() + self.replSrcTxnIds.append(_elem514) iprot.readListEnd() else: iprot.skip(ftype) @@ -11315,8 +11461,8 @@ def write(self, oprot): if self.replSrcTxnIds is not None: oprot.writeFieldBegin('replSrcTxnIds', TType.LIST, 6) oprot.writeListBegin(TType.I64, len(self.replSrcTxnIds)) - for iter508 in self.replSrcTxnIds: - oprot.writeI64(iter508) + for iter515 in self.replSrcTxnIds: + oprot.writeI64(iter515) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11379,10 +11525,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txn_ids = [] - (_etype512, _size509) = iprot.readListBegin() - for _i513 in xrange(_size509): - _elem514 = iprot.readI64() - self.txn_ids.append(_elem514) + (_etype519, _size516) = iprot.readListBegin() + for _i520 in xrange(_size516): + _elem521 = iprot.readI64() + self.txn_ids.append(_elem521) iprot.readListEnd() else: iprot.skip(ftype) @@ -11399,8 +11545,8 @@ def write(self, oprot): if self.txn_ids is not None: oprot.writeFieldBegin('txn_ids', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.txn_ids)) - for iter515 in self.txn_ids: - oprot.writeI64(iter515) + for iter522 in self.txn_ids: + oprot.writeI64(iter522) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11534,10 +11680,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txn_ids = [] - (_etype519, _size516) = iprot.readListBegin() - for _i520 in xrange(_size516): - _elem521 = iprot.readI64() - self.txn_ids.append(_elem521) + (_etype526, _size523) = iprot.readListBegin() + for _i527 in xrange(_size523): + _elem528 = iprot.readI64() + self.txn_ids.append(_elem528) iprot.readListEnd() else: iprot.skip(ftype) @@ -11554,8 +11700,8 @@ def write(self, oprot): if self.txn_ids is not None: oprot.writeFieldBegin('txn_ids', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.txn_ids)) - for iter522 in self.txn_ids: - oprot.writeI64(iter522) + for iter529 in self.txn_ids: + oprot.writeI64(iter529) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11583,108 +11729,6 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) -class CommitTxnRequest: - """ - Attributes: - - txnid - - replPolicy - - writeEventInfos - """ - - thrift_spec = ( - None, # 0 - (1, TType.I64, 'txnid', None, None, ), # 1 - (2, TType.STRING, 'replPolicy', None, None, ), # 2 - (3, TType.LIST, 'writeEventInfos', (TType.STRUCT,(WriteEventInfo, WriteEventInfo.thrift_spec)), None, ), # 3 - ) - - def __init__(self, txnid=None, replPolicy=None, writeEventInfos=None,): - self.txnid = txnid - self.replPolicy = replPolicy - self.writeEventInfos = writeEventInfos - - 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.txnid = iprot.readI64() - else: - iprot.skip(ftype) - elif fid == 2: - if ftype == TType.STRING: - self.replPolicy = iprot.readString() - else: - iprot.skip(ftype) - elif fid == 3: - if ftype == TType.LIST: - self.writeEventInfos = [] - (_etype526, _size523) = iprot.readListBegin() - for _i527 in xrange(_size523): - _elem528 = WriteEventInfo() - _elem528.read(iprot) - self.writeEventInfos.append(_elem528) - iprot.readListEnd() - else: - iprot.skip(ftype) - else: - iprot.skip(ftype) - iprot.readFieldEnd() - iprot.readStructEnd() - - def write(self, oprot): - if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: - oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) - return - oprot.writeStructBegin('CommitTxnRequest') - if self.txnid is not None: - oprot.writeFieldBegin('txnid', TType.I64, 1) - oprot.writeI64(self.txnid) - oprot.writeFieldEnd() - if self.replPolicy is not None: - oprot.writeFieldBegin('replPolicy', TType.STRING, 2) - oprot.writeString(self.replPolicy) - oprot.writeFieldEnd() - if self.writeEventInfos is not None: - oprot.writeFieldBegin('writeEventInfos', TType.LIST, 3) - oprot.writeListBegin(TType.STRUCT, len(self.writeEventInfos)) - for iter529 in self.writeEventInfos: - iter529.write(oprot) - oprot.writeListEnd() - oprot.writeFieldEnd() - oprot.writeFieldStop() - oprot.writeStructEnd() - - def validate(self): - if self.txnid is None: - raise TProtocol.TProtocolException(message='Required field txnid is unset!') - return - - - def __hash__(self): - value = 17 - value = (value * 31) ^ hash(self.txnid) - value = (value * 31) ^ hash(self.replPolicy) - value = (value * 31) ^ hash(self.writeEventInfos) - return value - - def __repr__(self): - L = ['%s=%r' % (key, value) - for key, value in self.__dict__.iteritems()] - return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) - - def __eq__(self, other): - return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ - - def __ne__(self, other): - return not (self == other) - class WriteEventInfo: """ Attributes: @@ -11836,36 +11880,138 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) -class ReplTblWriteIdStateRequest: +class CommitTxnRequest: """ Attributes: - - validWriteIdlist - - user - - hostName - - dbName - - tableName - - partNames + - txnid + - replPolicy + - writeEventInfos """ thrift_spec = ( None, # 0 - (1, TType.STRING, 'validWriteIdlist', None, None, ), # 1 - (2, TType.STRING, 'user', None, None, ), # 2 - (3, TType.STRING, 'hostName', None, None, ), # 3 - (4, TType.STRING, 'dbName', None, None, ), # 4 - (5, TType.STRING, 'tableName', None, None, ), # 5 - (6, TType.LIST, 'partNames', (TType.STRING,None), None, ), # 6 + (1, TType.I64, 'txnid', None, None, ), # 1 + (2, TType.STRING, 'replPolicy', None, None, ), # 2 + (3, TType.LIST, 'writeEventInfos', (TType.STRUCT,(WriteEventInfo, WriteEventInfo.thrift_spec)), None, ), # 3 ) - def __init__(self, validWriteIdlist=None, user=None, hostName=None, dbName=None, tableName=None, partNames=None,): - self.validWriteIdlist = validWriteIdlist - self.user = user - self.hostName = hostName - self.dbName = dbName - self.tableName = tableName - self.partNames = partNames - - def read(self, iprot): + def __init__(self, txnid=None, replPolicy=None, writeEventInfos=None,): + self.txnid = txnid + self.replPolicy = replPolicy + self.writeEventInfos = writeEventInfos + + 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.txnid = iprot.readI64() + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.STRING: + self.replPolicy = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 3: + if ftype == TType.LIST: + self.writeEventInfos = [] + (_etype533, _size530) = iprot.readListBegin() + for _i534 in xrange(_size530): + _elem535 = WriteEventInfo() + _elem535.read(iprot) + self.writeEventInfos.append(_elem535) + iprot.readListEnd() + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('CommitTxnRequest') + if self.txnid is not None: + oprot.writeFieldBegin('txnid', TType.I64, 1) + oprot.writeI64(self.txnid) + oprot.writeFieldEnd() + if self.replPolicy is not None: + oprot.writeFieldBegin('replPolicy', TType.STRING, 2) + oprot.writeString(self.replPolicy) + oprot.writeFieldEnd() + if self.writeEventInfos is not None: + oprot.writeFieldBegin('writeEventInfos', TType.LIST, 3) + oprot.writeListBegin(TType.STRUCT, len(self.writeEventInfos)) + for iter536 in self.writeEventInfos: + iter536.write(oprot) + oprot.writeListEnd() + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + if self.txnid is None: + raise TProtocol.TProtocolException(message='Required field txnid is unset!') + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.txnid) + value = (value * 31) ^ hash(self.replPolicy) + value = (value * 31) ^ hash(self.writeEventInfos) + return value + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + +class ReplTblWriteIdStateRequest: + """ + Attributes: + - validWriteIdlist + - user + - hostName + - dbName + - tableName + - partNames + """ + + thrift_spec = ( + None, # 0 + (1, TType.STRING, 'validWriteIdlist', None, None, ), # 1 + (2, TType.STRING, 'user', None, None, ), # 2 + (3, TType.STRING, 'hostName', None, None, ), # 3 + (4, TType.STRING, 'dbName', None, None, ), # 4 + (5, TType.STRING, 'tableName', None, None, ), # 5 + (6, TType.LIST, 'partNames', (TType.STRING,None), None, ), # 6 + ) + + def __init__(self, validWriteIdlist=None, user=None, hostName=None, dbName=None, tableName=None, partNames=None,): + self.validWriteIdlist = validWriteIdlist + self.user = user + self.hostName = hostName + self.dbName = dbName + self.tableName = tableName + self.partNames = partNames + + 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 @@ -11902,10 +12048,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.partNames = [] - (_etype533, _size530) = iprot.readListBegin() - for _i534 in xrange(_size530): - _elem535 = iprot.readString() - self.partNames.append(_elem535) + (_etype540, _size537) = iprot.readListBegin() + for _i541 in xrange(_size537): + _elem542 = iprot.readString() + self.partNames.append(_elem542) iprot.readListEnd() else: iprot.skip(ftype) @@ -11942,8 +12088,8 @@ def write(self, oprot): if self.partNames is not None: oprot.writeFieldBegin('partNames', TType.LIST, 6) oprot.writeListBegin(TType.STRING, len(self.partNames)) - for iter536 in self.partNames: - oprot.writeString(iter536) + for iter543 in self.partNames: + oprot.writeString(iter543) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12013,10 +12159,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fullTableNames = [] - (_etype540, _size537) = iprot.readListBegin() - for _i541 in xrange(_size537): - _elem542 = iprot.readString() - self.fullTableNames.append(_elem542) + (_etype547, _size544) = iprot.readListBegin() + for _i548 in xrange(_size544): + _elem549 = iprot.readString() + self.fullTableNames.append(_elem549) iprot.readListEnd() else: iprot.skip(ftype) @@ -12038,8 +12184,8 @@ def write(self, oprot): if self.fullTableNames is not None: oprot.writeFieldBegin('fullTableNames', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.fullTableNames)) - for iter543 in self.fullTableNames: - oprot.writeString(iter543) + for iter550 in self.fullTableNames: + oprot.writeString(iter550) oprot.writeListEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -12122,10 +12268,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.invalidWriteIds = [] - (_etype547, _size544) = iprot.readListBegin() - for _i548 in xrange(_size544): - _elem549 = iprot.readI64() - self.invalidWriteIds.append(_elem549) + (_etype554, _size551) = iprot.readListBegin() + for _i555 in xrange(_size551): + _elem556 = iprot.readI64() + self.invalidWriteIds.append(_elem556) iprot.readListEnd() else: iprot.skip(ftype) @@ -12160,8 +12306,8 @@ def write(self, oprot): if self.invalidWriteIds is not None: oprot.writeFieldBegin('invalidWriteIds', TType.LIST, 3) oprot.writeListBegin(TType.I64, len(self.invalidWriteIds)) - for iter550 in self.invalidWriteIds: - oprot.writeI64(iter550) + for iter557 in self.invalidWriteIds: + oprot.writeI64(iter557) oprot.writeListEnd() oprot.writeFieldEnd() if self.minOpenWriteId is not None: @@ -12233,11 +12379,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tblValidWriteIds = [] - (_etype554, _size551) = iprot.readListBegin() - for _i555 in xrange(_size551): - _elem556 = TableValidWriteIds() - _elem556.read(iprot) - self.tblValidWriteIds.append(_elem556) + (_etype561, _size558) = iprot.readListBegin() + for _i562 in xrange(_size558): + _elem563 = TableValidWriteIds() + _elem563.read(iprot) + self.tblValidWriteIds.append(_elem563) iprot.readListEnd() else: iprot.skip(ftype) @@ -12254,8 +12400,8 @@ def write(self, oprot): if self.tblValidWriteIds is not None: oprot.writeFieldBegin('tblValidWriteIds', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.tblValidWriteIds)) - for iter557 in self.tblValidWriteIds: - iter557.write(oprot) + for iter564 in self.tblValidWriteIds: + iter564.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12283,6 +12429,88 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class TxnToWriteId: + """ + Attributes: + - txnId + - writeId + """ + + thrift_spec = ( + None, # 0 + (1, TType.I64, 'txnId', None, None, ), # 1 + (2, TType.I64, 'writeId', None, None, ), # 2 + ) + + def __init__(self, txnId=None, writeId=None,): + self.txnId = txnId + self.writeId = writeId + + 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.txnId = iprot.readI64() + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.I64: + self.writeId = 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('TxnToWriteId') + if self.txnId is not None: + oprot.writeFieldBegin('txnId', TType.I64, 1) + oprot.writeI64(self.txnId) + oprot.writeFieldEnd() + if self.writeId is not None: + oprot.writeFieldBegin('writeId', TType.I64, 2) + oprot.writeI64(self.writeId) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + if self.txnId is None: + raise TProtocol.TProtocolException(message='Required field txnId is unset!') + if self.writeId is None: + raise TProtocol.TProtocolException(message='Required field writeId is unset!') + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.txnId) + value = (value * 31) ^ hash(self.writeId) + return value + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + class AllocateTableWriteIdsRequest: """ Attributes: @@ -12331,10 +12559,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.txnIds = [] - (_etype561, _size558) = iprot.readListBegin() - for _i562 in xrange(_size558): - _elem563 = iprot.readI64() - self.txnIds.append(_elem563) + (_etype568, _size565) = iprot.readListBegin() + for _i569 in xrange(_size565): + _elem570 = iprot.readI64() + self.txnIds.append(_elem570) iprot.readListEnd() else: iprot.skip(ftype) @@ -12346,11 +12574,11 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.srcTxnToWriteIdList = [] - (_etype567, _size564) = iprot.readListBegin() - for _i568 in xrange(_size564): - _elem569 = TxnToWriteId() - _elem569.read(iprot) - self.srcTxnToWriteIdList.append(_elem569) + (_etype574, _size571) = iprot.readListBegin() + for _i575 in xrange(_size571): + _elem576 = TxnToWriteId() + _elem576.read(iprot) + self.srcTxnToWriteIdList.append(_elem576) iprot.readListEnd() else: iprot.skip(ftype) @@ -12375,8 +12603,8 @@ def write(self, oprot): if self.txnIds is not None: oprot.writeFieldBegin('txnIds', TType.LIST, 3) oprot.writeListBegin(TType.I64, len(self.txnIds)) - for iter570 in self.txnIds: - oprot.writeI64(iter570) + for iter577 in self.txnIds: + oprot.writeI64(iter577) oprot.writeListEnd() oprot.writeFieldEnd() if self.replPolicy is not None: @@ -12386,8 +12614,8 @@ def write(self, oprot): if self.srcTxnToWriteIdList is not None: oprot.writeFieldBegin('srcTxnToWriteIdList', TType.LIST, 5) oprot.writeListBegin(TType.STRUCT, len(self.srcTxnToWriteIdList)) - for iter571 in self.srcTxnToWriteIdList: - iter571.write(oprot) + for iter578 in self.srcTxnToWriteIdList: + iter578.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12421,88 +12649,6 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) -class TxnToWriteId: - """ - Attributes: - - txnId - - writeId - """ - - thrift_spec = ( - None, # 0 - (1, TType.I64, 'txnId', None, None, ), # 1 - (2, TType.I64, 'writeId', None, None, ), # 2 - ) - - def __init__(self, txnId=None, writeId=None,): - self.txnId = txnId - self.writeId = writeId - - 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.txnId = iprot.readI64() - else: - iprot.skip(ftype) - elif fid == 2: - if ftype == TType.I64: - self.writeId = 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('TxnToWriteId') - if self.txnId is not None: - oprot.writeFieldBegin('txnId', TType.I64, 1) - oprot.writeI64(self.txnId) - oprot.writeFieldEnd() - if self.writeId is not None: - oprot.writeFieldBegin('writeId', TType.I64, 2) - oprot.writeI64(self.writeId) - oprot.writeFieldEnd() - oprot.writeFieldStop() - oprot.writeStructEnd() - - def validate(self): - if self.txnId is None: - raise TProtocol.TProtocolException(message='Required field txnId is unset!') - if self.writeId is None: - raise TProtocol.TProtocolException(message='Required field writeId is unset!') - return - - - def __hash__(self): - value = 17 - value = (value * 31) ^ hash(self.txnId) - value = (value * 31) ^ hash(self.writeId) - return value - - def __repr__(self): - L = ['%s=%r' % (key, value) - for key, value in self.__dict__.iteritems()] - return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) - - def __eq__(self, other): - return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ - - def __ne__(self, other): - return not (self == other) - class AllocateTableWriteIdsResponse: """ Attributes: @@ -12529,11 +12675,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txnToWriteIds = [] - (_etype575, _size572) = iprot.readListBegin() - for _i576 in xrange(_size572): - _elem577 = TxnToWriteId() - _elem577.read(iprot) - self.txnToWriteIds.append(_elem577) + (_etype582, _size579) = iprot.readListBegin() + for _i583 in xrange(_size579): + _elem584 = TxnToWriteId() + _elem584.read(iprot) + self.txnToWriteIds.append(_elem584) iprot.readListEnd() else: iprot.skip(ftype) @@ -12550,8 +12696,8 @@ def write(self, oprot): if self.txnToWriteIds is not None: oprot.writeFieldBegin('txnToWriteIds', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.txnToWriteIds)) - for iter578 in self.txnToWriteIds: - iter578.write(oprot) + for iter585 in self.txnToWriteIds: + iter585.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12779,11 +12925,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.component = [] - (_etype582, _size579) = iprot.readListBegin() - for _i583 in xrange(_size579): - _elem584 = LockComponent() - _elem584.read(iprot) - self.component.append(_elem584) + (_etype589, _size586) = iprot.readListBegin() + for _i590 in xrange(_size586): + _elem591 = LockComponent() + _elem591.read(iprot) + self.component.append(_elem591) iprot.readListEnd() else: iprot.skip(ftype) @@ -12820,8 +12966,8 @@ def write(self, oprot): if self.component is not None: oprot.writeFieldBegin('component', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.component)) - for iter585 in self.component: - iter585.write(oprot) + for iter592 in self.component: + iter592.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.txnid is not None: @@ -13519,11 +13665,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.locks = [] - (_etype589, _size586) = iprot.readListBegin() - for _i590 in xrange(_size586): - _elem591 = ShowLocksResponseElement() - _elem591.read(iprot) - self.locks.append(_elem591) + (_etype596, _size593) = iprot.readListBegin() + for _i597 in xrange(_size593): + _elem598 = ShowLocksResponseElement() + _elem598.read(iprot) + self.locks.append(_elem598) iprot.readListEnd() else: iprot.skip(ftype) @@ -13540,8 +13686,8 @@ def write(self, oprot): if self.locks is not None: oprot.writeFieldBegin('locks', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.locks)) - for iter592 in self.locks: - iter592.write(oprot) + for iter599 in self.locks: + iter599.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13756,20 +13902,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.aborted = set() - (_etype596, _size593) = iprot.readSetBegin() - for _i597 in xrange(_size593): - _elem598 = iprot.readI64() - self.aborted.add(_elem598) + (_etype603, _size600) = iprot.readSetBegin() + for _i604 in xrange(_size600): + _elem605 = iprot.readI64() + self.aborted.add(_elem605) iprot.readSetEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.SET: self.nosuch = set() - (_etype602, _size599) = iprot.readSetBegin() - for _i603 in xrange(_size599): - _elem604 = iprot.readI64() - self.nosuch.add(_elem604) + (_etype609, _size606) = iprot.readSetBegin() + for _i610 in xrange(_size606): + _elem611 = iprot.readI64() + self.nosuch.add(_elem611) iprot.readSetEnd() else: iprot.skip(ftype) @@ -13786,15 +13932,15 @@ def write(self, oprot): if self.aborted is not None: oprot.writeFieldBegin('aborted', TType.SET, 1) oprot.writeSetBegin(TType.I64, len(self.aborted)) - for iter605 in self.aborted: - oprot.writeI64(iter605) + for iter612 in self.aborted: + oprot.writeI64(iter612) oprot.writeSetEnd() oprot.writeFieldEnd() if self.nosuch is not None: oprot.writeFieldBegin('nosuch', TType.SET, 2) oprot.writeSetBegin(TType.I64, len(self.nosuch)) - for iter606 in self.nosuch: - oprot.writeI64(iter606) + for iter613 in self.nosuch: + oprot.writeI64(iter613) oprot.writeSetEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13891,11 +14037,11 @@ def read(self, iprot): elif fid == 6: if ftype == TType.MAP: self.properties = {} - (_ktype608, _vtype609, _size607 ) = iprot.readMapBegin() - for _i611 in xrange(_size607): - _key612 = iprot.readString() - _val613 = iprot.readString() - self.properties[_key612] = _val613 + (_ktype615, _vtype616, _size614 ) = iprot.readMapBegin() + for _i618 in xrange(_size614): + _key619 = iprot.readString() + _val620 = iprot.readString() + self.properties[_key619] = _val620 iprot.readMapEnd() else: iprot.skip(ftype) @@ -13932,9 +14078,9 @@ def write(self, oprot): if self.properties is not None: oprot.writeFieldBegin('properties', TType.MAP, 6) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.properties)) - for kiter614,viter615 in self.properties.items(): - oprot.writeString(kiter614) - oprot.writeString(viter615) + for kiter621,viter622 in self.properties.items(): + oprot.writeString(kiter621) + oprot.writeString(viter622) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14369,11 +14515,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.compacts = [] - (_etype619, _size616) = iprot.readListBegin() - for _i620 in xrange(_size616): - _elem621 = ShowCompactResponseElement() - _elem621.read(iprot) - self.compacts.append(_elem621) + (_etype626, _size623) = iprot.readListBegin() + for _i627 in xrange(_size623): + _elem628 = ShowCompactResponseElement() + _elem628.read(iprot) + self.compacts.append(_elem628) iprot.readListEnd() else: iprot.skip(ftype) @@ -14390,8 +14536,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 iter622 in self.compacts: - iter622.write(oprot) + for iter629 in self.compacts: + iter629.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14480,10 +14626,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionnames = [] - (_etype626, _size623) = iprot.readListBegin() - for _i627 in xrange(_size623): - _elem628 = iprot.readString() - self.partitionnames.append(_elem628) + (_etype633, _size630) = iprot.readListBegin() + for _i634 in xrange(_size630): + _elem635 = iprot.readString() + self.partitionnames.append(_elem635) iprot.readListEnd() else: iprot.skip(ftype) @@ -14521,8 +14667,8 @@ def write(self, oprot): if self.partitionnames is not None: oprot.writeFieldBegin('partitionnames', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.partitionnames)) - for iter629 in self.partitionnames: - oprot.writeString(iter629) + for iter636 in self.partitionnames: + oprot.writeString(iter636) oprot.writeListEnd() oprot.writeFieldEnd() if self.operationType is not None: @@ -14699,152 +14845,6 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) -class CreationMetadata: - """ - Attributes: - - catName - - dbName - - tblName - - tablesUsed - - validTxnList - - materializationTime - """ - - thrift_spec = ( - None, # 0 - (1, TType.STRING, 'catName', None, None, ), # 1 - (2, TType.STRING, 'dbName', None, None, ), # 2 - (3, TType.STRING, 'tblName', None, None, ), # 3 - (4, TType.SET, 'tablesUsed', (TType.STRING,None), None, ), # 4 - (5, TType.STRING, 'validTxnList', None, None, ), # 5 - (6, TType.I64, 'materializationTime', None, None, ), # 6 - ) - - def __init__(self, catName=None, dbName=None, tblName=None, tablesUsed=None, validTxnList=None, materializationTime=None,): - self.catName = catName - self.dbName = dbName - self.tblName = tblName - self.tablesUsed = tablesUsed - self.validTxnList = validTxnList - self.materializationTime = materializationTime - - def read(self, iprot): - if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: - fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) - return - iprot.readStructBegin() - while True: - (fname, ftype, fid) = iprot.readFieldBegin() - if ftype == TType.STOP: - break - if fid == 1: - if ftype == TType.STRING: - self.catName = iprot.readString() - else: - iprot.skip(ftype) - elif fid == 2: - if ftype == TType.STRING: - self.dbName = iprot.readString() - else: - iprot.skip(ftype) - elif fid == 3: - if ftype == TType.STRING: - self.tblName = iprot.readString() - else: - iprot.skip(ftype) - elif fid == 4: - if ftype == TType.SET: - self.tablesUsed = set() - (_etype633, _size630) = iprot.readSetBegin() - for _i634 in xrange(_size630): - _elem635 = iprot.readString() - self.tablesUsed.add(_elem635) - iprot.readSetEnd() - else: - iprot.skip(ftype) - elif fid == 5: - if ftype == TType.STRING: - self.validTxnList = iprot.readString() - else: - iprot.skip(ftype) - elif fid == 6: - if ftype == TType.I64: - self.materializationTime = 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('CreationMetadata') - if self.catName is not None: - oprot.writeFieldBegin('catName', TType.STRING, 1) - oprot.writeString(self.catName) - oprot.writeFieldEnd() - if self.dbName is not None: - oprot.writeFieldBegin('dbName', TType.STRING, 2) - oprot.writeString(self.dbName) - oprot.writeFieldEnd() - if self.tblName is not None: - oprot.writeFieldBegin('tblName', TType.STRING, 3) - oprot.writeString(self.tblName) - oprot.writeFieldEnd() - if self.tablesUsed is not None: - oprot.writeFieldBegin('tablesUsed', TType.SET, 4) - oprot.writeSetBegin(TType.STRING, len(self.tablesUsed)) - for iter636 in self.tablesUsed: - oprot.writeString(iter636) - oprot.writeSetEnd() - oprot.writeFieldEnd() - if self.validTxnList is not None: - oprot.writeFieldBegin('validTxnList', TType.STRING, 5) - oprot.writeString(self.validTxnList) - oprot.writeFieldEnd() - if self.materializationTime is not None: - oprot.writeFieldBegin('materializationTime', TType.I64, 6) - oprot.writeI64(self.materializationTime) - oprot.writeFieldEnd() - oprot.writeFieldStop() - oprot.writeStructEnd() - - def validate(self): - if self.catName is None: - raise TProtocol.TProtocolException(message='Required field catName is unset!') - if self.dbName is None: - raise TProtocol.TProtocolException(message='Required field dbName is unset!') - if self.tblName is None: - raise TProtocol.TProtocolException(message='Required field tblName is unset!') - if self.tablesUsed is None: - raise TProtocol.TProtocolException(message='Required field tablesUsed is unset!') - return - - - def __hash__(self): - value = 17 - value = (value * 31) ^ hash(self.catName) - value = (value * 31) ^ hash(self.dbName) - value = (value * 31) ^ hash(self.tblName) - value = (value * 31) ^ hash(self.tablesUsed) - value = (value * 31) ^ hash(self.validTxnList) - value = (value * 31) ^ hash(self.materializationTime) - return value - - def __repr__(self): - L = ['%s=%r' % (key, value) - for key, value in self.__dict__.iteritems()] - return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) - - def __eq__(self, other): - return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ - - def __ne__(self, other): - return not (self == other) - class NotificationEventRequest: """ Attributes: diff --git a/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb b/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb index 2ef68207da447a2dcc475aab3b64df69dddd17f4..674a94e41339b01593009760719f8a756e2810f2 100644 --- a/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb +++ b/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb @@ -1046,6 +1046,36 @@ class StorageDescriptor ::Thrift::Struct.generate_accessors self end +class CreationMetadata + include ::Thrift::Struct, ::Thrift::Struct_Union + CATNAME = 1 + DBNAME = 2 + TBLNAME = 3 + TABLESUSED = 4 + VALIDTXNLIST = 5 + MATERIALIZATIONTIME = 6 + + FIELDS = { + CATNAME => {:type => ::Thrift::Types::STRING, :name => 'catName'}, + DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'}, + TBLNAME => {:type => ::Thrift::Types::STRING, :name => 'tblName'}, + TABLESUSED => {:type => ::Thrift::Types::SET, :name => 'tablesUsed', :element => {:type => ::Thrift::Types::STRING}}, + VALIDTXNLIST => {:type => ::Thrift::Types::STRING, :name => 'validTxnList', :optional => true}, + MATERIALIZATIONTIME => {:type => ::Thrift::Types::I64, :name => 'materializationTime', :optional => true} + } + + def struct_fields; FIELDS; end + + def validate + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field catName is unset!') unless @catName + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field dbName is unset!') unless @dbName + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field tblName is unset!') unless @tblName + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field tablesUsed is unset!') unless @tablesUsed + end + + ::Thrift::Struct.generate_accessors self +end + class Table include ::Thrift::Struct, ::Thrift::Struct_Union TABLENAME = 1 @@ -2582,27 +2612,6 @@ class AbortTxnsRequest ::Thrift::Struct.generate_accessors self end -class CommitTxnRequest - include ::Thrift::Struct, ::Thrift::Struct_Union - TXNID = 1 - REPLPOLICY = 2 - WRITEEVENTINFOS = 3 - - FIELDS = { - TXNID => {:type => ::Thrift::Types::I64, :name => 'txnid'}, - REPLPOLICY => {:type => ::Thrift::Types::STRING, :name => 'replPolicy', :optional => true}, - WRITEEVENTINFOS => {:type => ::Thrift::Types::LIST, :name => 'writeEventInfos', :element => {:type => ::Thrift::Types::STRUCT, :class => ::WriteEventInfo}, :optional => true} - } - - def struct_fields; FIELDS; end - - def validate - raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field txnid is unset!') unless @txnid - end - - ::Thrift::Struct.generate_accessors self -end - class WriteEventInfo include ::Thrift::Struct, ::Thrift::Struct_Union WRITEID = 1 @@ -2635,6 +2644,27 @@ class WriteEventInfo ::Thrift::Struct.generate_accessors self end +class CommitTxnRequest + include ::Thrift::Struct, ::Thrift::Struct_Union + TXNID = 1 + REPLPOLICY = 2 + WRITEEVENTINFOS = 3 + + FIELDS = { + TXNID => {:type => ::Thrift::Types::I64, :name => 'txnid'}, + REPLPOLICY => {:type => ::Thrift::Types::STRING, :name => 'replPolicy', :optional => true}, + WRITEEVENTINFOS => {:type => ::Thrift::Types::LIST, :name => 'writeEventInfos', :element => {:type => ::Thrift::Types::STRUCT, :class => ::WriteEventInfo}, :optional => true} + } + + def struct_fields; FIELDS; end + + def validate + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field txnid is unset!') unless @txnid + end + + ::Thrift::Struct.generate_accessors self +end + class ReplTblWriteIdStateRequest include ::Thrift::Struct, ::Thrift::Struct_Union VALIDWRITEIDLIST = 1 @@ -2731,47 +2761,47 @@ class GetValidWriteIdsResponse ::Thrift::Struct.generate_accessors self end -class AllocateTableWriteIdsRequest +class TxnToWriteId include ::Thrift::Struct, ::Thrift::Struct_Union - DBNAME = 1 - TABLENAME = 2 - TXNIDS = 3 - REPLPOLICY = 4 - SRCTXNTOWRITEIDLIST = 5 + TXNID = 1 + WRITEID = 2 FIELDS = { - DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'}, - TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName'}, - TXNIDS => {:type => ::Thrift::Types::LIST, :name => 'txnIds', :element => {:type => ::Thrift::Types::I64}, :optional => true}, - REPLPOLICY => {:type => ::Thrift::Types::STRING, :name => 'replPolicy', :optional => true}, - SRCTXNTOWRITEIDLIST => {:type => ::Thrift::Types::LIST, :name => 'srcTxnToWriteIdList', :element => {:type => ::Thrift::Types::STRUCT, :class => ::TxnToWriteId}, :optional => true} + TXNID => {:type => ::Thrift::Types::I64, :name => 'txnId'}, + WRITEID => {:type => ::Thrift::Types::I64, :name => 'writeId'} } def struct_fields; FIELDS; end def validate - raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field dbName is unset!') unless @dbName - raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field tableName is unset!') unless @tableName + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field txnId is unset!') unless @txnId + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field writeId is unset!') unless @writeId end ::Thrift::Struct.generate_accessors self end -class TxnToWriteId +class AllocateTableWriteIdsRequest include ::Thrift::Struct, ::Thrift::Struct_Union - TXNID = 1 - WRITEID = 2 + DBNAME = 1 + TABLENAME = 2 + TXNIDS = 3 + REPLPOLICY = 4 + SRCTXNTOWRITEIDLIST = 5 FIELDS = { - TXNID => {:type => ::Thrift::Types::I64, :name => 'txnId'}, - WRITEID => {:type => ::Thrift::Types::I64, :name => 'writeId'} + DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'}, + TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName'}, + TXNIDS => {:type => ::Thrift::Types::LIST, :name => 'txnIds', :element => {:type => ::Thrift::Types::I64}, :optional => true}, + REPLPOLICY => {:type => ::Thrift::Types::STRING, :name => 'replPolicy', :optional => true}, + SRCTXNTOWRITEIDLIST => {:type => ::Thrift::Types::LIST, :name => 'srcTxnToWriteIdList', :element => {:type => ::Thrift::Types::STRUCT, :class => ::TxnToWriteId}, :optional => true} } def struct_fields; FIELDS; end def validate - raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field txnId is unset!') unless @txnId - raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field writeId is unset!') unless @writeId + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field dbName is unset!') unless @dbName + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field tableName is unset!') unless @tableName end ::Thrift::Struct.generate_accessors self @@ -3274,36 +3304,6 @@ class BasicTxnInfo ::Thrift::Struct.generate_accessors self end -class CreationMetadata - include ::Thrift::Struct, ::Thrift::Struct_Union - CATNAME = 1 - DBNAME = 2 - TBLNAME = 3 - TABLESUSED = 4 - VALIDTXNLIST = 5 - MATERIALIZATIONTIME = 6 - - FIELDS = { - CATNAME => {:type => ::Thrift::Types::STRING, :name => 'catName'}, - DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'}, - TBLNAME => {:type => ::Thrift::Types::STRING, :name => 'tblName'}, - TABLESUSED => {:type => ::Thrift::Types::SET, :name => 'tablesUsed', :element => {:type => ::Thrift::Types::STRING}}, - VALIDTXNLIST => {:type => ::Thrift::Types::STRING, :name => 'validTxnList', :optional => true}, - MATERIALIZATIONTIME => {:type => ::Thrift::Types::I64, :name => 'materializationTime', :optional => true} - } - - def struct_fields; FIELDS; end - - def validate - raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field catName is unset!') unless @catName - raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field dbName is unset!') unless @dbName - raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field tblName is unset!') unless @tblName - raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field tablesUsed is unset!') unless @tablesUsed - end - - ::Thrift::Struct.generate_accessors self -end - class NotificationEventRequest include ::Thrift::Struct, ::Thrift::Struct_Union LASTEVENT = 1 diff --git a/standalone-metastore/src/main/thrift/hive_metastore.thrift b/standalone-metastore/src/main/thrift/hive_metastore.thrift index 46930214b8cbeb369b3d633be6505c2dd908ee0f..b3ffcb729aaf603acd56470079b5b2a2dfe929ab 100644 --- a/standalone-metastore/src/main/thrift/hive_metastore.thrift +++ b/standalone-metastore/src/main/thrift/hive_metastore.thrift @@ -413,6 +413,15 @@ struct StorageDescriptor { 12: optional bool storedAsSubDirectories // stored as subdirectories or not } +struct CreationMetadata { + 1: required string catName + 2: required string dbName, + 3: required string tblName, + 4: required set tablesUsed, + 5: optional string validTxnList, + 6: optional i64 materializationTime +} + // table information struct Table { 1: string tableName, // name of the table @@ -866,13 +875,6 @@ struct AbortTxnsRequest { 1: required list txn_ids, } -struct CommitTxnRequest { - 1: required i64 txnid, - 2: optional string replPolicy, - // Information related to write operations done in this transaction. - 3: optional list writeEventInfos, -} - struct WriteEventInfo { 1: required i64 writeId, 2: required string database, @@ -883,6 +885,13 @@ struct WriteEventInfo { 7: optional string partitionObj, } +struct CommitTxnRequest { + 1: required i64 txnid, + 2: optional string replPolicy, + // Information related to write operations done in this transaction. + 3: optional list writeEventInfos, +} + struct ReplTblWriteIdStateRequest { 1: required string validWriteIdlist, 2: required string user, @@ -912,6 +921,12 @@ struct GetValidWriteIdsResponse { 1: required list tblValidWriteIds, } +// Map for allocated write id against the txn for which it is allocated +struct TxnToWriteId { + 1: required i64 txnId, + 2: required i64 writeId, +} + // Request msg to allocate table write ids for the given list of txns struct AllocateTableWriteIdsRequest { 1: required string dbName, @@ -924,12 +939,6 @@ struct AllocateTableWriteIdsRequest { 5: optional list srcTxnToWriteIdList, } -// Map for allocated write id against the txn for which it is allocated -struct TxnToWriteId { - 1: required i64 txnId, - 2: required i64 writeId, -} - struct AllocateTableWriteIdsResponse { 1: required list txnToWriteIds, } @@ -1069,14 +1078,6 @@ struct BasicTxnInfo { 6: optional string partitionname } -struct CreationMetadata { - 1: required string catName - 2: required string dbName, - 3: required string tblName, - 4: required set tablesUsed, - 5: optional string validTxnList, - 6: optional i64 materializationTime -} struct NotificationEventRequest { 1: required i64 lastEvent,