diff --git metastore/scripts/upgrade/derby/058-HIVE-19417.derby.sql metastore/scripts/upgrade/derby/058-HIVE-19417.derby.sql new file mode 100644 index 0000000000..c56fe396ff --- /dev/null +++ metastore/scripts/upgrade/derby/058-HIVE-19417.derby.sql @@ -0,0 +1,15 @@ +CREATE TABLE "APP"."UPD_TXNS" ( + "UPDATE_ID" BIGINT NOT NULL, + "TBL_ID" BIGINT NOT NULL, + "TXN_ID" BIGINT NOT NULL, + "WRITEID_LIST" CLOB +); + +ALTER TABLE "APP"."UPD_TXNS" ADD CONSTRAINT "UPD_TXNS_PK" PRIMARY KEY ("UPDATE_ID"); + +ALTER TABLE "APP"."UPD_TXNS" ADD CONSTRAINT "UPD_TXNS_FK1" FOREIGN KEY ("TBL_ID") REFERENCES "APP"."TBLS" ("TBL_ID") ON DELETE NO ACTION ON UPDATE NO ACTION; + +-- Modify table stats related tables +ALTER TABLE TBLS ADD TXN_ID bigint default 0; +ALTER TABLE PARTITIONS ADD TXN_ID bigint default 0; diff --git standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index a25ebe5c1d..37e50e969c 100644 --- standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp +++ standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp @@ -2107,14 +2107,14 @@ uint32_t ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1200; - ::apache::thrift::protocol::TType _etype1203; - xfer += iprot->readListBegin(_etype1203, _size1200); - this->success.resize(_size1200); - uint32_t _i1204; - for (_i1204 = 0; _i1204 < _size1200; ++_i1204) + uint32_t _size1208; + ::apache::thrift::protocol::TType _etype1211; + xfer += iprot->readListBegin(_etype1211, _size1208); + this->success.resize(_size1208); + uint32_t _i1212; + for (_i1212 = 0; _i1212 < _size1208; ++_i1212) { - xfer += iprot->readString(this->success[_i1204]); + xfer += iprot->readString(this->success[_i1212]); } xfer += iprot->readListEnd(); } @@ -2153,10 +2153,10 @@ uint32_t ThriftHiveMetastore_get_databases_result::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1205; - for (_iter1205 = this->success.begin(); _iter1205 != this->success.end(); ++_iter1205) + std::vector ::const_iterator _iter1213; + for (_iter1213 = this->success.begin(); _iter1213 != this->success.end(); ++_iter1213) { - xfer += oprot->writeString((*_iter1205)); + xfer += oprot->writeString((*_iter1213)); } xfer += oprot->writeListEnd(); } @@ -2201,14 +2201,14 @@ uint32_t ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1206; - ::apache::thrift::protocol::TType _etype1209; - xfer += iprot->readListBegin(_etype1209, _size1206); - (*(this->success)).resize(_size1206); - uint32_t _i1210; - for (_i1210 = 0; _i1210 < _size1206; ++_i1210) + uint32_t _size1214; + ::apache::thrift::protocol::TType _etype1217; + xfer += iprot->readListBegin(_etype1217, _size1214); + (*(this->success)).resize(_size1214); + uint32_t _i1218; + for (_i1218 = 0; _i1218 < _size1214; ++_i1218) { - xfer += iprot->readString((*(this->success))[_i1210]); + xfer += iprot->readString((*(this->success))[_i1218]); } xfer += iprot->readListEnd(); } @@ -2325,14 +2325,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1211; - ::apache::thrift::protocol::TType _etype1214; - xfer += iprot->readListBegin(_etype1214, _size1211); - this->success.resize(_size1211); - uint32_t _i1215; - for (_i1215 = 0; _i1215 < _size1211; ++_i1215) + uint32_t _size1219; + ::apache::thrift::protocol::TType _etype1222; + xfer += iprot->readListBegin(_etype1222, _size1219); + this->success.resize(_size1219); + uint32_t _i1223; + for (_i1223 = 0; _i1223 < _size1219; ++_i1223) { - xfer += iprot->readString(this->success[_i1215]); + xfer += iprot->readString(this->success[_i1223]); } xfer += iprot->readListEnd(); } @@ -2371,10 +2371,10 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::write(::apache::thrift::p xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1216; - for (_iter1216 = this->success.begin(); _iter1216 != this->success.end(); ++_iter1216) + std::vector ::const_iterator _iter1224; + for (_iter1224 = this->success.begin(); _iter1224 != this->success.end(); ++_iter1224) { - xfer += oprot->writeString((*_iter1216)); + xfer += oprot->writeString((*_iter1224)); } xfer += oprot->writeListEnd(); } @@ -2419,14 +2419,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1217; - ::apache::thrift::protocol::TType _etype1220; - xfer += iprot->readListBegin(_etype1220, _size1217); - (*(this->success)).resize(_size1217); - uint32_t _i1221; - for (_i1221 = 0; _i1221 < _size1217; ++_i1221) + uint32_t _size1225; + ::apache::thrift::protocol::TType _etype1228; + xfer += iprot->readListBegin(_etype1228, _size1225); + (*(this->success)).resize(_size1225); + uint32_t _i1229; + for (_i1229 = 0; _i1229 < _size1225; ++_i1229) { - xfer += iprot->readString((*(this->success))[_i1221]); + xfer += iprot->readString((*(this->success))[_i1229]); } xfer += iprot->readListEnd(); } @@ -3488,17 +3488,17 @@ uint32_t ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1222; - ::apache::thrift::protocol::TType _ktype1223; - ::apache::thrift::protocol::TType _vtype1224; - xfer += iprot->readMapBegin(_ktype1223, _vtype1224, _size1222); - uint32_t _i1226; - for (_i1226 = 0; _i1226 < _size1222; ++_i1226) + uint32_t _size1230; + ::apache::thrift::protocol::TType _ktype1231; + ::apache::thrift::protocol::TType _vtype1232; + xfer += iprot->readMapBegin(_ktype1231, _vtype1232, _size1230); + uint32_t _i1234; + for (_i1234 = 0; _i1234 < _size1230; ++_i1234) { - std::string _key1227; - xfer += iprot->readString(_key1227); - Type& _val1228 = this->success[_key1227]; - xfer += _val1228.read(iprot); + std::string _key1235; + xfer += iprot->readString(_key1235); + Type& _val1236 = this->success[_key1235]; + xfer += _val1236.read(iprot); } xfer += iprot->readMapEnd(); } @@ -3537,11 +3537,11 @@ uint32_t ThriftHiveMetastore_get_type_all_result::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::map ::const_iterator _iter1229; - for (_iter1229 = this->success.begin(); _iter1229 != this->success.end(); ++_iter1229) + std::map ::const_iterator _iter1237; + for (_iter1237 = this->success.begin(); _iter1237 != this->success.end(); ++_iter1237) { - xfer += oprot->writeString(_iter1229->first); - xfer += _iter1229->second.write(oprot); + xfer += oprot->writeString(_iter1237->first); + xfer += _iter1237->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -3586,17 +3586,17 @@ uint32_t ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1230; - ::apache::thrift::protocol::TType _ktype1231; - ::apache::thrift::protocol::TType _vtype1232; - xfer += iprot->readMapBegin(_ktype1231, _vtype1232, _size1230); - uint32_t _i1234; - for (_i1234 = 0; _i1234 < _size1230; ++_i1234) + uint32_t _size1238; + ::apache::thrift::protocol::TType _ktype1239; + ::apache::thrift::protocol::TType _vtype1240; + xfer += iprot->readMapBegin(_ktype1239, _vtype1240, _size1238); + uint32_t _i1242; + for (_i1242 = 0; _i1242 < _size1238; ++_i1242) { - std::string _key1235; - xfer += iprot->readString(_key1235); - Type& _val1236 = (*(this->success))[_key1235]; - xfer += _val1236.read(iprot); + std::string _key1243; + xfer += iprot->readString(_key1243); + Type& _val1244 = (*(this->success))[_key1243]; + xfer += _val1244.read(iprot); } xfer += iprot->readMapEnd(); } @@ -3750,14 +3750,14 @@ uint32_t ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1237; - ::apache::thrift::protocol::TType _etype1240; - xfer += iprot->readListBegin(_etype1240, _size1237); - this->success.resize(_size1237); - uint32_t _i1241; - for (_i1241 = 0; _i1241 < _size1237; ++_i1241) + uint32_t _size1245; + ::apache::thrift::protocol::TType _etype1248; + xfer += iprot->readListBegin(_etype1248, _size1245); + this->success.resize(_size1245); + uint32_t _i1249; + for (_i1249 = 0; _i1249 < _size1245; ++_i1249) { - xfer += this->success[_i1241].read(iprot); + xfer += this->success[_i1249].read(iprot); } xfer += iprot->readListEnd(); } @@ -3812,10 +3812,10 @@ uint32_t ThriftHiveMetastore_get_fields_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1242; - for (_iter1242 = this->success.begin(); _iter1242 != this->success.end(); ++_iter1242) + std::vector ::const_iterator _iter1250; + for (_iter1250 = this->success.begin(); _iter1250 != this->success.end(); ++_iter1250) { - xfer += (*_iter1242).write(oprot); + xfer += (*_iter1250).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3868,14 +3868,14 @@ uint32_t ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1243; - ::apache::thrift::protocol::TType _etype1246; - xfer += iprot->readListBegin(_etype1246, _size1243); - (*(this->success)).resize(_size1243); - uint32_t _i1247; - for (_i1247 = 0; _i1247 < _size1243; ++_i1247) + uint32_t _size1251; + ::apache::thrift::protocol::TType _etype1254; + xfer += iprot->readListBegin(_etype1254, _size1251); + (*(this->success)).resize(_size1251); + uint32_t _i1255; + for (_i1255 = 0; _i1255 < _size1251; ++_i1255) { - xfer += (*(this->success))[_i1247].read(iprot); + xfer += (*(this->success))[_i1255].read(iprot); } xfer += iprot->readListEnd(); } @@ -4061,14 +4061,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1248; - ::apache::thrift::protocol::TType _etype1251; - xfer += iprot->readListBegin(_etype1251, _size1248); - this->success.resize(_size1248); - uint32_t _i1252; - for (_i1252 = 0; _i1252 < _size1248; ++_i1252) + uint32_t _size1256; + ::apache::thrift::protocol::TType _etype1259; + xfer += iprot->readListBegin(_etype1259, _size1256); + this->success.resize(_size1256); + uint32_t _i1260; + for (_i1260 = 0; _i1260 < _size1256; ++_i1260) { - xfer += this->success[_i1252].read(iprot); + xfer += this->success[_i1260].read(iprot); } xfer += iprot->readListEnd(); } @@ -4123,10 +4123,10 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::write(: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1253; - for (_iter1253 = this->success.begin(); _iter1253 != this->success.end(); ++_iter1253) + std::vector ::const_iterator _iter1261; + for (_iter1261 = this->success.begin(); _iter1261 != this->success.end(); ++_iter1261) { - xfer += (*_iter1253).write(oprot); + xfer += (*_iter1261).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4179,14 +4179,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1254; - ::apache::thrift::protocol::TType _etype1257; - xfer += iprot->readListBegin(_etype1257, _size1254); - (*(this->success)).resize(_size1254); - uint32_t _i1258; - for (_i1258 = 0; _i1258 < _size1254; ++_i1258) + uint32_t _size1262; + ::apache::thrift::protocol::TType _etype1265; + xfer += iprot->readListBegin(_etype1265, _size1262); + (*(this->success)).resize(_size1262); + uint32_t _i1266; + for (_i1266 = 0; _i1266 < _size1262; ++_i1266) { - xfer += (*(this->success))[_i1258].read(iprot); + xfer += (*(this->success))[_i1266].read(iprot); } xfer += iprot->readListEnd(); } @@ -4356,14 +4356,14 @@ uint32_t ThriftHiveMetastore_get_schema_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1259; - ::apache::thrift::protocol::TType _etype1262; - xfer += iprot->readListBegin(_etype1262, _size1259); - this->success.resize(_size1259); - uint32_t _i1263; - for (_i1263 = 0; _i1263 < _size1259; ++_i1263) + uint32_t _size1267; + ::apache::thrift::protocol::TType _etype1270; + xfer += iprot->readListBegin(_etype1270, _size1267); + this->success.resize(_size1267); + uint32_t _i1271; + for (_i1271 = 0; _i1271 < _size1267; ++_i1271) { - xfer += this->success[_i1263].read(iprot); + xfer += this->success[_i1271].read(iprot); } xfer += iprot->readListEnd(); } @@ -4418,10 +4418,10 @@ uint32_t ThriftHiveMetastore_get_schema_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1264; - for (_iter1264 = this->success.begin(); _iter1264 != this->success.end(); ++_iter1264) + std::vector ::const_iterator _iter1272; + for (_iter1272 = this->success.begin(); _iter1272 != this->success.end(); ++_iter1272) { - xfer += (*_iter1264).write(oprot); + xfer += (*_iter1272).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4474,14 +4474,14 @@ uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1265; - ::apache::thrift::protocol::TType _etype1268; - xfer += iprot->readListBegin(_etype1268, _size1265); - (*(this->success)).resize(_size1265); - uint32_t _i1269; - for (_i1269 = 0; _i1269 < _size1265; ++_i1269) + uint32_t _size1273; + ::apache::thrift::protocol::TType _etype1276; + xfer += iprot->readListBegin(_etype1276, _size1273); + (*(this->success)).resize(_size1273); + uint32_t _i1277; + for (_i1277 = 0; _i1277 < _size1273; ++_i1277) { - xfer += (*(this->success))[_i1269].read(iprot); + xfer += (*(this->success))[_i1277].read(iprot); } xfer += iprot->readListEnd(); } @@ -4667,14 +4667,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1270; - ::apache::thrift::protocol::TType _etype1273; - xfer += iprot->readListBegin(_etype1273, _size1270); - this->success.resize(_size1270); - uint32_t _i1274; - for (_i1274 = 0; _i1274 < _size1270; ++_i1274) + uint32_t _size1278; + ::apache::thrift::protocol::TType _etype1281; + xfer += iprot->readListBegin(_etype1281, _size1278); + this->success.resize(_size1278); + uint32_t _i1282; + for (_i1282 = 0; _i1282 < _size1278; ++_i1282) { - xfer += this->success[_i1274].read(iprot); + xfer += this->success[_i1282].read(iprot); } xfer += iprot->readListEnd(); } @@ -4729,10 +4729,10 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::write(: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1275; - for (_iter1275 = this->success.begin(); _iter1275 != this->success.end(); ++_iter1275) + std::vector ::const_iterator _iter1283; + for (_iter1283 = this->success.begin(); _iter1283 != this->success.end(); ++_iter1283) { - xfer += (*_iter1275).write(oprot); + xfer += (*_iter1283).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4785,14 +4785,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1276; - ::apache::thrift::protocol::TType _etype1279; - xfer += iprot->readListBegin(_etype1279, _size1276); - (*(this->success)).resize(_size1276); - uint32_t _i1280; - for (_i1280 = 0; _i1280 < _size1276; ++_i1280) + uint32_t _size1284; + ::apache::thrift::protocol::TType _etype1287; + xfer += iprot->readListBegin(_etype1287, _size1284); + (*(this->success)).resize(_size1284); + uint32_t _i1288; + for (_i1288 = 0; _i1288 < _size1284; ++_i1288) { - xfer += (*(this->success))[_i1280].read(iprot); + xfer += (*(this->success))[_i1288].read(iprot); } xfer += iprot->readListEnd(); } @@ -5385,14 +5385,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->primaryKeys.clear(); - uint32_t _size1281; - ::apache::thrift::protocol::TType _etype1284; - xfer += iprot->readListBegin(_etype1284, _size1281); - this->primaryKeys.resize(_size1281); - uint32_t _i1285; - for (_i1285 = 0; _i1285 < _size1281; ++_i1285) + uint32_t _size1289; + ::apache::thrift::protocol::TType _etype1292; + xfer += iprot->readListBegin(_etype1292, _size1289); + this->primaryKeys.resize(_size1289); + uint32_t _i1293; + for (_i1293 = 0; _i1293 < _size1289; ++_i1293) { - xfer += this->primaryKeys[_i1285].read(iprot); + xfer += this->primaryKeys[_i1293].read(iprot); } xfer += iprot->readListEnd(); } @@ -5405,14 +5405,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->foreignKeys.clear(); - uint32_t _size1286; - ::apache::thrift::protocol::TType _etype1289; - xfer += iprot->readListBegin(_etype1289, _size1286); - this->foreignKeys.resize(_size1286); - uint32_t _i1290; - for (_i1290 = 0; _i1290 < _size1286; ++_i1290) + uint32_t _size1294; + ::apache::thrift::protocol::TType _etype1297; + xfer += iprot->readListBegin(_etype1297, _size1294); + this->foreignKeys.resize(_size1294); + uint32_t _i1298; + for (_i1298 = 0; _i1298 < _size1294; ++_i1298) { - xfer += this->foreignKeys[_i1290].read(iprot); + xfer += this->foreignKeys[_i1298].read(iprot); } xfer += iprot->readListEnd(); } @@ -5425,14 +5425,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->uniqueConstraints.clear(); - uint32_t _size1291; - ::apache::thrift::protocol::TType _etype1294; - xfer += iprot->readListBegin(_etype1294, _size1291); - this->uniqueConstraints.resize(_size1291); - uint32_t _i1295; - for (_i1295 = 0; _i1295 < _size1291; ++_i1295) + uint32_t _size1299; + ::apache::thrift::protocol::TType _etype1302; + xfer += iprot->readListBegin(_etype1302, _size1299); + this->uniqueConstraints.resize(_size1299); + uint32_t _i1303; + for (_i1303 = 0; _i1303 < _size1299; ++_i1303) { - xfer += this->uniqueConstraints[_i1295].read(iprot); + xfer += this->uniqueConstraints[_i1303].read(iprot); } xfer += iprot->readListEnd(); } @@ -5445,14 +5445,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->notNullConstraints.clear(); - uint32_t _size1296; - ::apache::thrift::protocol::TType _etype1299; - xfer += iprot->readListBegin(_etype1299, _size1296); - this->notNullConstraints.resize(_size1296); - uint32_t _i1300; - for (_i1300 = 0; _i1300 < _size1296; ++_i1300) + uint32_t _size1304; + ::apache::thrift::protocol::TType _etype1307; + xfer += iprot->readListBegin(_etype1307, _size1304); + this->notNullConstraints.resize(_size1304); + uint32_t _i1308; + for (_i1308 = 0; _i1308 < _size1304; ++_i1308) { - xfer += this->notNullConstraints[_i1300].read(iprot); + xfer += this->notNullConstraints[_i1308].read(iprot); } xfer += iprot->readListEnd(); } @@ -5465,14 +5465,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->defaultConstraints.clear(); - uint32_t _size1301; - ::apache::thrift::protocol::TType _etype1304; - xfer += iprot->readListBegin(_etype1304, _size1301); - this->defaultConstraints.resize(_size1301); - uint32_t _i1305; - for (_i1305 = 0; _i1305 < _size1301; ++_i1305) + uint32_t _size1309; + ::apache::thrift::protocol::TType _etype1312; + xfer += iprot->readListBegin(_etype1312, _size1309); + this->defaultConstraints.resize(_size1309); + uint32_t _i1313; + for (_i1313 = 0; _i1313 < _size1309; ++_i1313) { - xfer += this->defaultConstraints[_i1305].read(iprot); + xfer += this->defaultConstraints[_i1313].read(iprot); } xfer += iprot->readListEnd(); } @@ -5485,14 +5485,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->checkConstraints.clear(); - uint32_t _size1306; - ::apache::thrift::protocol::TType _etype1309; - xfer += iprot->readListBegin(_etype1309, _size1306); - this->checkConstraints.resize(_size1306); - uint32_t _i1310; - for (_i1310 = 0; _i1310 < _size1306; ++_i1310) + uint32_t _size1314; + ::apache::thrift::protocol::TType _etype1317; + xfer += iprot->readListBegin(_etype1317, _size1314); + this->checkConstraints.resize(_size1314); + uint32_t _i1318; + for (_i1318 = 0; _i1318 < _size1314; ++_i1318) { - xfer += this->checkConstraints[_i1310].read(iprot); + xfer += this->checkConstraints[_i1318].read(iprot); } xfer += iprot->readListEnd(); } @@ -5525,10 +5525,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("primaryKeys", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->primaryKeys.size())); - std::vector ::const_iterator _iter1311; - for (_iter1311 = this->primaryKeys.begin(); _iter1311 != this->primaryKeys.end(); ++_iter1311) + std::vector ::const_iterator _iter1319; + for (_iter1319 = this->primaryKeys.begin(); _iter1319 != this->primaryKeys.end(); ++_iter1319) { - xfer += (*_iter1311).write(oprot); + xfer += (*_iter1319).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5537,10 +5537,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("foreignKeys", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->foreignKeys.size())); - std::vector ::const_iterator _iter1312; - for (_iter1312 = this->foreignKeys.begin(); _iter1312 != this->foreignKeys.end(); ++_iter1312) + std::vector ::const_iterator _iter1320; + for (_iter1320 = this->foreignKeys.begin(); _iter1320 != this->foreignKeys.end(); ++_iter1320) { - xfer += (*_iter1312).write(oprot); + xfer += (*_iter1320).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5549,10 +5549,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("uniqueConstraints", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->uniqueConstraints.size())); - std::vector ::const_iterator _iter1313; - for (_iter1313 = this->uniqueConstraints.begin(); _iter1313 != this->uniqueConstraints.end(); ++_iter1313) + std::vector ::const_iterator _iter1321; + for (_iter1321 = this->uniqueConstraints.begin(); _iter1321 != this->uniqueConstraints.end(); ++_iter1321) { - xfer += (*_iter1313).write(oprot); + xfer += (*_iter1321).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5561,10 +5561,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("notNullConstraints", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->notNullConstraints.size())); - std::vector ::const_iterator _iter1314; - for (_iter1314 = this->notNullConstraints.begin(); _iter1314 != this->notNullConstraints.end(); ++_iter1314) + std::vector ::const_iterator _iter1322; + for (_iter1322 = this->notNullConstraints.begin(); _iter1322 != this->notNullConstraints.end(); ++_iter1322) { - xfer += (*_iter1314).write(oprot); + xfer += (*_iter1322).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5573,10 +5573,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("defaultConstraints", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->defaultConstraints.size())); - std::vector ::const_iterator _iter1315; - for (_iter1315 = this->defaultConstraints.begin(); _iter1315 != this->defaultConstraints.end(); ++_iter1315) + std::vector ::const_iterator _iter1323; + for (_iter1323 = this->defaultConstraints.begin(); _iter1323 != this->defaultConstraints.end(); ++_iter1323) { - xfer += (*_iter1315).write(oprot); + xfer += (*_iter1323).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5585,10 +5585,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("checkConstraints", ::apache::thrift::protocol::T_LIST, 7); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->checkConstraints.size())); - std::vector ::const_iterator _iter1316; - for (_iter1316 = this->checkConstraints.begin(); _iter1316 != this->checkConstraints.end(); ++_iter1316) + std::vector ::const_iterator _iter1324; + for (_iter1324 = this->checkConstraints.begin(); _iter1324 != this->checkConstraints.end(); ++_iter1324) { - xfer += (*_iter1316).write(oprot); + xfer += (*_iter1324).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5616,10 +5616,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("primaryKeys", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->primaryKeys)).size())); - std::vector ::const_iterator _iter1317; - for (_iter1317 = (*(this->primaryKeys)).begin(); _iter1317 != (*(this->primaryKeys)).end(); ++_iter1317) + std::vector ::const_iterator _iter1325; + for (_iter1325 = (*(this->primaryKeys)).begin(); _iter1325 != (*(this->primaryKeys)).end(); ++_iter1325) { - xfer += (*_iter1317).write(oprot); + xfer += (*_iter1325).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5628,10 +5628,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("foreignKeys", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->foreignKeys)).size())); - std::vector ::const_iterator _iter1318; - for (_iter1318 = (*(this->foreignKeys)).begin(); _iter1318 != (*(this->foreignKeys)).end(); ++_iter1318) + std::vector ::const_iterator _iter1326; + for (_iter1326 = (*(this->foreignKeys)).begin(); _iter1326 != (*(this->foreignKeys)).end(); ++_iter1326) { - xfer += (*_iter1318).write(oprot); + xfer += (*_iter1326).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5640,10 +5640,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("uniqueConstraints", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->uniqueConstraints)).size())); - std::vector ::const_iterator _iter1319; - for (_iter1319 = (*(this->uniqueConstraints)).begin(); _iter1319 != (*(this->uniqueConstraints)).end(); ++_iter1319) + std::vector ::const_iterator _iter1327; + for (_iter1327 = (*(this->uniqueConstraints)).begin(); _iter1327 != (*(this->uniqueConstraints)).end(); ++_iter1327) { - xfer += (*_iter1319).write(oprot); + xfer += (*_iter1327).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5652,10 +5652,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("notNullConstraints", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->notNullConstraints)).size())); - std::vector ::const_iterator _iter1320; - for (_iter1320 = (*(this->notNullConstraints)).begin(); _iter1320 != (*(this->notNullConstraints)).end(); ++_iter1320) + std::vector ::const_iterator _iter1328; + for (_iter1328 = (*(this->notNullConstraints)).begin(); _iter1328 != (*(this->notNullConstraints)).end(); ++_iter1328) { - xfer += (*_iter1320).write(oprot); + xfer += (*_iter1328).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5664,10 +5664,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("defaultConstraints", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->defaultConstraints)).size())); - std::vector ::const_iterator _iter1321; - for (_iter1321 = (*(this->defaultConstraints)).begin(); _iter1321 != (*(this->defaultConstraints)).end(); ++_iter1321) + std::vector ::const_iterator _iter1329; + for (_iter1329 = (*(this->defaultConstraints)).begin(); _iter1329 != (*(this->defaultConstraints)).end(); ++_iter1329) { - xfer += (*_iter1321).write(oprot); + xfer += (*_iter1329).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5676,10 +5676,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("checkConstraints", ::apache::thrift::protocol::T_LIST, 7); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->checkConstraints)).size())); - std::vector ::const_iterator _iter1322; - for (_iter1322 = (*(this->checkConstraints)).begin(); _iter1322 != (*(this->checkConstraints)).end(); ++_iter1322) + std::vector ::const_iterator _iter1330; + for (_iter1330 = (*(this->checkConstraints)).begin(); _iter1330 != (*(this->checkConstraints)).end(); ++_iter1330) { - xfer += (*_iter1322).write(oprot); + xfer += (*_iter1330).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7847,14 +7847,14 @@ uint32_t ThriftHiveMetastore_truncate_table_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partNames.clear(); - uint32_t _size1323; - ::apache::thrift::protocol::TType _etype1326; - xfer += iprot->readListBegin(_etype1326, _size1323); - this->partNames.resize(_size1323); - uint32_t _i1327; - for (_i1327 = 0; _i1327 < _size1323; ++_i1327) + uint32_t _size1331; + ::apache::thrift::protocol::TType _etype1334; + xfer += iprot->readListBegin(_etype1334, _size1331); + this->partNames.resize(_size1331); + uint32_t _i1335; + for (_i1335 = 0; _i1335 < _size1331; ++_i1335) { - xfer += iprot->readString(this->partNames[_i1327]); + xfer += iprot->readString(this->partNames[_i1335]); } xfer += iprot->readListEnd(); } @@ -7891,10 +7891,10 @@ uint32_t ThriftHiveMetastore_truncate_table_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("partNames", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partNames.size())); - std::vector ::const_iterator _iter1328; - for (_iter1328 = this->partNames.begin(); _iter1328 != this->partNames.end(); ++_iter1328) + std::vector ::const_iterator _iter1336; + for (_iter1336 = this->partNames.begin(); _iter1336 != this->partNames.end(); ++_iter1336) { - xfer += oprot->writeString((*_iter1328)); + xfer += oprot->writeString((*_iter1336)); } xfer += oprot->writeListEnd(); } @@ -7926,10 +7926,10 @@ uint32_t ThriftHiveMetastore_truncate_table_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("partNames", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->partNames)).size())); - std::vector ::const_iterator _iter1329; - for (_iter1329 = (*(this->partNames)).begin(); _iter1329 != (*(this->partNames)).end(); ++_iter1329) + std::vector ::const_iterator _iter1337; + for (_iter1337 = (*(this->partNames)).begin(); _iter1337 != (*(this->partNames)).end(); ++_iter1337) { - xfer += oprot->writeString((*_iter1329)); + xfer += oprot->writeString((*_iter1337)); } xfer += oprot->writeListEnd(); } @@ -8173,14 +8173,14 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1330; - ::apache::thrift::protocol::TType _etype1333; - xfer += iprot->readListBegin(_etype1333, _size1330); - this->success.resize(_size1330); - uint32_t _i1334; - for (_i1334 = 0; _i1334 < _size1330; ++_i1334) + uint32_t _size1338; + ::apache::thrift::protocol::TType _etype1341; + xfer += iprot->readListBegin(_etype1341, _size1338); + this->success.resize(_size1338); + uint32_t _i1342; + for (_i1342 = 0; _i1342 < _size1338; ++_i1342) { - xfer += iprot->readString(this->success[_i1334]); + xfer += iprot->readString(this->success[_i1342]); } xfer += iprot->readListEnd(); } @@ -8219,10 +8219,10 @@ uint32_t ThriftHiveMetastore_get_tables_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1335; - for (_iter1335 = this->success.begin(); _iter1335 != this->success.end(); ++_iter1335) + std::vector ::const_iterator _iter1343; + for (_iter1343 = this->success.begin(); _iter1343 != this->success.end(); ++_iter1343) { - xfer += oprot->writeString((*_iter1335)); + xfer += oprot->writeString((*_iter1343)); } xfer += oprot->writeListEnd(); } @@ -8267,14 +8267,14 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1336; - ::apache::thrift::protocol::TType _etype1339; - xfer += iprot->readListBegin(_etype1339, _size1336); - (*(this->success)).resize(_size1336); - uint32_t _i1340; - for (_i1340 = 0; _i1340 < _size1336; ++_i1340) + uint32_t _size1344; + ::apache::thrift::protocol::TType _etype1347; + xfer += iprot->readListBegin(_etype1347, _size1344); + (*(this->success)).resize(_size1344); + uint32_t _i1348; + for (_i1348 = 0; _i1348 < _size1344; ++_i1348) { - xfer += iprot->readString((*(this->success))[_i1340]); + xfer += iprot->readString((*(this->success))[_i1348]); } xfer += iprot->readListEnd(); } @@ -8444,14 +8444,14 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_result::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1341; - ::apache::thrift::protocol::TType _etype1344; - xfer += iprot->readListBegin(_etype1344, _size1341); - this->success.resize(_size1341); - uint32_t _i1345; - for (_i1345 = 0; _i1345 < _size1341; ++_i1345) + uint32_t _size1349; + ::apache::thrift::protocol::TType _etype1352; + xfer += iprot->readListBegin(_etype1352, _size1349); + this->success.resize(_size1349); + uint32_t _i1353; + for (_i1353 = 0; _i1353 < _size1349; ++_i1353) { - xfer += iprot->readString(this->success[_i1345]); + xfer += iprot->readString(this->success[_i1353]); } xfer += iprot->readListEnd(); } @@ -8490,10 +8490,10 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_result::write(::apache::thrift:: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1346; - for (_iter1346 = this->success.begin(); _iter1346 != this->success.end(); ++_iter1346) + std::vector ::const_iterator _iter1354; + for (_iter1354 = this->success.begin(); _iter1354 != this->success.end(); ++_iter1354) { - xfer += oprot->writeString((*_iter1346)); + xfer += oprot->writeString((*_iter1354)); } xfer += oprot->writeListEnd(); } @@ -8538,14 +8538,14 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_presult::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1347; - ::apache::thrift::protocol::TType _etype1350; - xfer += iprot->readListBegin(_etype1350, _size1347); - (*(this->success)).resize(_size1347); - uint32_t _i1351; - for (_i1351 = 0; _i1351 < _size1347; ++_i1351) + uint32_t _size1355; + ::apache::thrift::protocol::TType _etype1358; + xfer += iprot->readListBegin(_etype1358, _size1355); + (*(this->success)).resize(_size1355); + uint32_t _i1359; + for (_i1359 = 0; _i1359 < _size1355; ++_i1359) { - xfer += iprot->readString((*(this->success))[_i1351]); + xfer += iprot->readString((*(this->success))[_i1359]); } xfer += iprot->readListEnd(); } @@ -8683,14 +8683,14 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_result::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1352; - ::apache::thrift::protocol::TType _etype1355; - xfer += iprot->readListBegin(_etype1355, _size1352); - this->success.resize(_size1352); - uint32_t _i1356; - for (_i1356 = 0; _i1356 < _size1352; ++_i1356) + uint32_t _size1360; + ::apache::thrift::protocol::TType _etype1363; + xfer += iprot->readListBegin(_etype1363, _size1360); + this->success.resize(_size1360); + uint32_t _i1364; + for (_i1364 = 0; _i1364 < _size1360; ++_i1364) { - xfer += iprot->readString(this->success[_i1356]); + xfer += iprot->readString(this->success[_i1364]); } xfer += iprot->readListEnd(); } @@ -8729,10 +8729,10 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_result::write( xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1357; - for (_iter1357 = this->success.begin(); _iter1357 != this->success.end(); ++_iter1357) + std::vector ::const_iterator _iter1365; + for (_iter1365 = this->success.begin(); _iter1365 != this->success.end(); ++_iter1365) { - xfer += oprot->writeString((*_iter1357)); + xfer += oprot->writeString((*_iter1365)); } xfer += oprot->writeListEnd(); } @@ -8777,14 +8777,14 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_presult::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1358; - ::apache::thrift::protocol::TType _etype1361; - xfer += iprot->readListBegin(_etype1361, _size1358); - (*(this->success)).resize(_size1358); - uint32_t _i1362; - for (_i1362 = 0; _i1362 < _size1358; ++_i1362) + uint32_t _size1366; + ::apache::thrift::protocol::TType _etype1369; + xfer += iprot->readListBegin(_etype1369, _size1366); + (*(this->success)).resize(_size1366); + uint32_t _i1370; + for (_i1370 = 0; _i1370 < _size1366; ++_i1370) { - xfer += iprot->readString((*(this->success))[_i1362]); + xfer += iprot->readString((*(this->success))[_i1370]); } xfer += iprot->readListEnd(); } @@ -8859,14 +8859,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tbl_types.clear(); - uint32_t _size1363; - ::apache::thrift::protocol::TType _etype1366; - xfer += iprot->readListBegin(_etype1366, _size1363); - this->tbl_types.resize(_size1363); - uint32_t _i1367; - for (_i1367 = 0; _i1367 < _size1363; ++_i1367) + uint32_t _size1371; + ::apache::thrift::protocol::TType _etype1374; + xfer += iprot->readListBegin(_etype1374, _size1371); + this->tbl_types.resize(_size1371); + uint32_t _i1375; + for (_i1375 = 0; _i1375 < _size1371; ++_i1375) { - xfer += iprot->readString(this->tbl_types[_i1367]); + xfer += iprot->readString(this->tbl_types[_i1375]); } xfer += iprot->readListEnd(); } @@ -8903,10 +8903,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("tbl_types", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tbl_types.size())); - std::vector ::const_iterator _iter1368; - for (_iter1368 = this->tbl_types.begin(); _iter1368 != this->tbl_types.end(); ++_iter1368) + std::vector ::const_iterator _iter1376; + for (_iter1376 = this->tbl_types.begin(); _iter1376 != this->tbl_types.end(); ++_iter1376) { - xfer += oprot->writeString((*_iter1368)); + xfer += oprot->writeString((*_iter1376)); } xfer += oprot->writeListEnd(); } @@ -8938,10 +8938,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("tbl_types", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->tbl_types)).size())); - std::vector ::const_iterator _iter1369; - for (_iter1369 = (*(this->tbl_types)).begin(); _iter1369 != (*(this->tbl_types)).end(); ++_iter1369) + std::vector ::const_iterator _iter1377; + for (_iter1377 = (*(this->tbl_types)).begin(); _iter1377 != (*(this->tbl_types)).end(); ++_iter1377) { - xfer += oprot->writeString((*_iter1369)); + xfer += oprot->writeString((*_iter1377)); } xfer += oprot->writeListEnd(); } @@ -8982,14 +8982,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1370; - ::apache::thrift::protocol::TType _etype1373; - xfer += iprot->readListBegin(_etype1373, _size1370); - this->success.resize(_size1370); - uint32_t _i1374; - for (_i1374 = 0; _i1374 < _size1370; ++_i1374) + uint32_t _size1378; + ::apache::thrift::protocol::TType _etype1381; + xfer += iprot->readListBegin(_etype1381, _size1378); + this->success.resize(_size1378); + uint32_t _i1382; + for (_i1382 = 0; _i1382 < _size1378; ++_i1382) { - xfer += this->success[_i1374].read(iprot); + xfer += this->success[_i1382].read(iprot); } xfer += iprot->readListEnd(); } @@ -9028,10 +9028,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1375; - for (_iter1375 = this->success.begin(); _iter1375 != this->success.end(); ++_iter1375) + std::vector ::const_iterator _iter1383; + for (_iter1383 = this->success.begin(); _iter1383 != this->success.end(); ++_iter1383) { - xfer += (*_iter1375).write(oprot); + xfer += (*_iter1383).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9076,14 +9076,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1376; - ::apache::thrift::protocol::TType _etype1379; - xfer += iprot->readListBegin(_etype1379, _size1376); - (*(this->success)).resize(_size1376); - uint32_t _i1380; - for (_i1380 = 0; _i1380 < _size1376; ++_i1380) + uint32_t _size1384; + ::apache::thrift::protocol::TType _etype1387; + xfer += iprot->readListBegin(_etype1387, _size1384); + (*(this->success)).resize(_size1384); + uint32_t _i1388; + for (_i1388 = 0; _i1388 < _size1384; ++_i1388) { - xfer += (*(this->success))[_i1380].read(iprot); + xfer += (*(this->success))[_i1388].read(iprot); } xfer += iprot->readListEnd(); } @@ -9221,14 +9221,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1381; - ::apache::thrift::protocol::TType _etype1384; - xfer += iprot->readListBegin(_etype1384, _size1381); - this->success.resize(_size1381); - uint32_t _i1385; - for (_i1385 = 0; _i1385 < _size1381; ++_i1385) + uint32_t _size1389; + ::apache::thrift::protocol::TType _etype1392; + xfer += iprot->readListBegin(_etype1392, _size1389); + this->success.resize(_size1389); + uint32_t _i1393; + for (_i1393 = 0; _i1393 < _size1389; ++_i1393) { - xfer += iprot->readString(this->success[_i1385]); + xfer += iprot->readString(this->success[_i1393]); } xfer += iprot->readListEnd(); } @@ -9267,10 +9267,10 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1386; - for (_iter1386 = this->success.begin(); _iter1386 != this->success.end(); ++_iter1386) + std::vector ::const_iterator _iter1394; + for (_iter1394 = this->success.begin(); _iter1394 != this->success.end(); ++_iter1394) { - xfer += oprot->writeString((*_iter1386)); + xfer += oprot->writeString((*_iter1394)); } xfer += oprot->writeListEnd(); } @@ -9315,14 +9315,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1387; - ::apache::thrift::protocol::TType _etype1390; - xfer += iprot->readListBegin(_etype1390, _size1387); - (*(this->success)).resize(_size1387); - uint32_t _i1391; - for (_i1391 = 0; _i1391 < _size1387; ++_i1391) + uint32_t _size1395; + ::apache::thrift::protocol::TType _etype1398; + xfer += iprot->readListBegin(_etype1398, _size1395); + (*(this->success)).resize(_size1395); + uint32_t _i1399; + for (_i1399 = 0; _i1399 < _size1395; ++_i1399) { - xfer += iprot->readString((*(this->success))[_i1391]); + xfer += iprot->readString((*(this->success))[_i1399]); } xfer += iprot->readListEnd(); } @@ -9632,14 +9632,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tbl_names.clear(); - uint32_t _size1392; - ::apache::thrift::protocol::TType _etype1395; - xfer += iprot->readListBegin(_etype1395, _size1392); - this->tbl_names.resize(_size1392); - uint32_t _i1396; - for (_i1396 = 0; _i1396 < _size1392; ++_i1396) + uint32_t _size1400; + ::apache::thrift::protocol::TType _etype1403; + xfer += iprot->readListBegin(_etype1403, _size1400); + this->tbl_names.resize(_size1400); + uint32_t _i1404; + for (_i1404 = 0; _i1404 < _size1400; ++_i1404) { - xfer += iprot->readString(this->tbl_names[_i1396]); + xfer += iprot->readString(this->tbl_names[_i1404]); } xfer += iprot->readListEnd(); } @@ -9672,10 +9672,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::write(::apache::thr xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tbl_names.size())); - std::vector ::const_iterator _iter1397; - for (_iter1397 = this->tbl_names.begin(); _iter1397 != this->tbl_names.end(); ++_iter1397) + std::vector ::const_iterator _iter1405; + for (_iter1405 = this->tbl_names.begin(); _iter1405 != this->tbl_names.end(); ++_iter1405) { - xfer += oprot->writeString((*_iter1397)); + xfer += oprot->writeString((*_iter1405)); } xfer += oprot->writeListEnd(); } @@ -9703,10 +9703,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_pargs::write(::apache::th xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->tbl_names)).size())); - std::vector ::const_iterator _iter1398; - for (_iter1398 = (*(this->tbl_names)).begin(); _iter1398 != (*(this->tbl_names)).end(); ++_iter1398) + std::vector ::const_iterator _iter1406; + for (_iter1406 = (*(this->tbl_names)).begin(); _iter1406 != (*(this->tbl_names)).end(); ++_iter1406) { - xfer += oprot->writeString((*_iter1398)); + xfer += oprot->writeString((*_iter1406)); } xfer += oprot->writeListEnd(); } @@ -9747,14 +9747,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1399; - ::apache::thrift::protocol::TType _etype1402; - xfer += iprot->readListBegin(_etype1402, _size1399); - this->success.resize(_size1399); - uint32_t _i1403; - for (_i1403 = 0; _i1403 < _size1399; ++_i1403) + uint32_t _size1407; + ::apache::thrift::protocol::TType _etype1410; + xfer += iprot->readListBegin(_etype1410, _size1407); + this->success.resize(_size1407); + uint32_t _i1411; + for (_i1411 = 0; _i1411 < _size1407; ++_i1411) { - xfer += this->success[_i1403].read(iprot); + xfer += this->success[_i1411].read(iprot); } xfer += iprot->readListEnd(); } @@ -9785,10 +9785,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1404; - for (_iter1404 = this->success.begin(); _iter1404 != this->success.end(); ++_iter1404) + std::vector
::const_iterator _iter1412; + for (_iter1412 = this->success.begin(); _iter1412 != this->success.end(); ++_iter1412) { - xfer += (*_iter1404).write(oprot); + xfer += (*_iter1412).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9829,14 +9829,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1405; - ::apache::thrift::protocol::TType _etype1408; - xfer += iprot->readListBegin(_etype1408, _size1405); - (*(this->success)).resize(_size1405); - uint32_t _i1409; - for (_i1409 = 0; _i1409 < _size1405; ++_i1409) + uint32_t _size1413; + ::apache::thrift::protocol::TType _etype1416; + xfer += iprot->readListBegin(_etype1416, _size1413); + (*(this->success)).resize(_size1413); + uint32_t _i1417; + for (_i1417 = 0; _i1417 < _size1413; ++_i1417) { - xfer += (*(this->success))[_i1409].read(iprot); + xfer += (*(this->success))[_i1417].read(iprot); } xfer += iprot->readListEnd(); } @@ -10369,14 +10369,14 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_args::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tbl_names.clear(); - uint32_t _size1410; - ::apache::thrift::protocol::TType _etype1413; - xfer += iprot->readListBegin(_etype1413, _size1410); - this->tbl_names.resize(_size1410); - uint32_t _i1414; - for (_i1414 = 0; _i1414 < _size1410; ++_i1414) + uint32_t _size1418; + ::apache::thrift::protocol::TType _etype1421; + xfer += iprot->readListBegin(_etype1421, _size1418); + this->tbl_names.resize(_size1418); + uint32_t _i1422; + for (_i1422 = 0; _i1422 < _size1418; ++_i1422) { - xfer += iprot->readString(this->tbl_names[_i1414]); + xfer += iprot->readString(this->tbl_names[_i1422]); } xfer += iprot->readListEnd(); } @@ -10409,10 +10409,10 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_args::write(: xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tbl_names.size())); - std::vector ::const_iterator _iter1415; - for (_iter1415 = this->tbl_names.begin(); _iter1415 != this->tbl_names.end(); ++_iter1415) + std::vector ::const_iterator _iter1423; + for (_iter1423 = this->tbl_names.begin(); _iter1423 != this->tbl_names.end(); ++_iter1423) { - xfer += oprot->writeString((*_iter1415)); + xfer += oprot->writeString((*_iter1423)); } xfer += oprot->writeListEnd(); } @@ -10440,10 +10440,10 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_pargs::write( xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->tbl_names)).size())); - std::vector ::const_iterator _iter1416; - for (_iter1416 = (*(this->tbl_names)).begin(); _iter1416 != (*(this->tbl_names)).end(); ++_iter1416) + std::vector ::const_iterator _iter1424; + for (_iter1424 = (*(this->tbl_names)).begin(); _iter1424 != (*(this->tbl_names)).end(); ++_iter1424) { - xfer += oprot->writeString((*_iter1416)); + xfer += oprot->writeString((*_iter1424)); } xfer += oprot->writeListEnd(); } @@ -10484,17 +10484,17 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_result::read( if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1417; - ::apache::thrift::protocol::TType _ktype1418; - ::apache::thrift::protocol::TType _vtype1419; - xfer += iprot->readMapBegin(_ktype1418, _vtype1419, _size1417); - uint32_t _i1421; - for (_i1421 = 0; _i1421 < _size1417; ++_i1421) + uint32_t _size1425; + ::apache::thrift::protocol::TType _ktype1426; + ::apache::thrift::protocol::TType _vtype1427; + xfer += iprot->readMapBegin(_ktype1426, _vtype1427, _size1425); + uint32_t _i1429; + for (_i1429 = 0; _i1429 < _size1425; ++_i1429) { - std::string _key1422; - xfer += iprot->readString(_key1422); - Materialization& _val1423 = this->success[_key1422]; - xfer += _val1423.read(iprot); + std::string _key1430; + xfer += iprot->readString(_key1430); + Materialization& _val1431 = this->success[_key1430]; + xfer += _val1431.read(iprot); } xfer += iprot->readMapEnd(); } @@ -10549,11 +10549,11 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_result::write xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::map ::const_iterator _iter1424; - for (_iter1424 = this->success.begin(); _iter1424 != this->success.end(); ++_iter1424) + std::map ::const_iterator _iter1432; + for (_iter1432 = this->success.begin(); _iter1432 != this->success.end(); ++_iter1432) { - xfer += oprot->writeString(_iter1424->first); - xfer += _iter1424->second.write(oprot); + xfer += oprot->writeString(_iter1432->first); + xfer += _iter1432->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -10606,17 +10606,17 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_presult::read if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1425; - ::apache::thrift::protocol::TType _ktype1426; - ::apache::thrift::protocol::TType _vtype1427; - xfer += iprot->readMapBegin(_ktype1426, _vtype1427, _size1425); - uint32_t _i1429; - for (_i1429 = 0; _i1429 < _size1425; ++_i1429) + uint32_t _size1433; + ::apache::thrift::protocol::TType _ktype1434; + ::apache::thrift::protocol::TType _vtype1435; + xfer += iprot->readMapBegin(_ktype1434, _vtype1435, _size1433); + uint32_t _i1437; + for (_i1437 = 0; _i1437 < _size1433; ++_i1437) { - std::string _key1430; - xfer += iprot->readString(_key1430); - Materialization& _val1431 = (*(this->success))[_key1430]; - xfer += _val1431.read(iprot); + std::string _key1438; + xfer += iprot->readString(_key1438); + Materialization& _val1439 = (*(this->success))[_key1438]; + xfer += _val1439.read(iprot); } xfer += iprot->readMapEnd(); } @@ -11077,14 +11077,14 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1432; - ::apache::thrift::protocol::TType _etype1435; - xfer += iprot->readListBegin(_etype1435, _size1432); - this->success.resize(_size1432); - uint32_t _i1436; - for (_i1436 = 0; _i1436 < _size1432; ++_i1436) + uint32_t _size1440; + ::apache::thrift::protocol::TType _etype1443; + xfer += iprot->readListBegin(_etype1443, _size1440); + this->success.resize(_size1440); + uint32_t _i1444; + for (_i1444 = 0; _i1444 < _size1440; ++_i1444) { - xfer += iprot->readString(this->success[_i1436]); + xfer += iprot->readString(this->success[_i1444]); } xfer += iprot->readListEnd(); } @@ -11139,10 +11139,10 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1437; - for (_iter1437 = this->success.begin(); _iter1437 != this->success.end(); ++_iter1437) + std::vector ::const_iterator _iter1445; + for (_iter1445 = this->success.begin(); _iter1445 != this->success.end(); ++_iter1445) { - xfer += oprot->writeString((*_iter1437)); + xfer += oprot->writeString((*_iter1445)); } xfer += oprot->writeListEnd(); } @@ -11195,14 +11195,14 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1438; - ::apache::thrift::protocol::TType _etype1441; - xfer += iprot->readListBegin(_etype1441, _size1438); - (*(this->success)).resize(_size1438); - uint32_t _i1442; - for (_i1442 = 0; _i1442 < _size1438; ++_i1442) + uint32_t _size1446; + ::apache::thrift::protocol::TType _etype1449; + xfer += iprot->readListBegin(_etype1449, _size1446); + (*(this->success)).resize(_size1446); + uint32_t _i1450; + for (_i1450 = 0; _i1450 < _size1446; ++_i1450) { - xfer += iprot->readString((*(this->success))[_i1442]); + xfer += iprot->readString((*(this->success))[_i1450]); } xfer += iprot->readListEnd(); } @@ -12536,14 +12536,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1443; - ::apache::thrift::protocol::TType _etype1446; - xfer += iprot->readListBegin(_etype1446, _size1443); - this->new_parts.resize(_size1443); - uint32_t _i1447; - for (_i1447 = 0; _i1447 < _size1443; ++_i1447) + uint32_t _size1451; + ::apache::thrift::protocol::TType _etype1454; + xfer += iprot->readListBegin(_etype1454, _size1451); + this->new_parts.resize(_size1451); + uint32_t _i1455; + for (_i1455 = 0; _i1455 < _size1451; ++_i1455) { - xfer += this->new_parts[_i1447].read(iprot); + xfer += this->new_parts[_i1455].read(iprot); } xfer += iprot->readListEnd(); } @@ -12572,10 +12572,10 @@ uint32_t ThriftHiveMetastore_add_partitions_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter1448; - for (_iter1448 = this->new_parts.begin(); _iter1448 != this->new_parts.end(); ++_iter1448) + std::vector ::const_iterator _iter1456; + for (_iter1456 = this->new_parts.begin(); _iter1456 != this->new_parts.end(); ++_iter1456) { - xfer += (*_iter1448).write(oprot); + xfer += (*_iter1456).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12599,10 +12599,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter1449; - for (_iter1449 = (*(this->new_parts)).begin(); _iter1449 != (*(this->new_parts)).end(); ++_iter1449) + std::vector ::const_iterator _iter1457; + for (_iter1457 = (*(this->new_parts)).begin(); _iter1457 != (*(this->new_parts)).end(); ++_iter1457) { - xfer += (*_iter1449).write(oprot); + xfer += (*_iter1457).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12811,14 +12811,14 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_args::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1450; - ::apache::thrift::protocol::TType _etype1453; - xfer += iprot->readListBegin(_etype1453, _size1450); - this->new_parts.resize(_size1450); - uint32_t _i1454; - for (_i1454 = 0; _i1454 < _size1450; ++_i1454) + uint32_t _size1458; + ::apache::thrift::protocol::TType _etype1461; + xfer += iprot->readListBegin(_etype1461, _size1458); + this->new_parts.resize(_size1458); + uint32_t _i1462; + for (_i1462 = 0; _i1462 < _size1458; ++_i1462) { - xfer += this->new_parts[_i1454].read(iprot); + xfer += this->new_parts[_i1462].read(iprot); } xfer += iprot->readListEnd(); } @@ -12847,10 +12847,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_args::write(::apache::thrift:: xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter1455; - for (_iter1455 = this->new_parts.begin(); _iter1455 != this->new_parts.end(); ++_iter1455) + std::vector ::const_iterator _iter1463; + for (_iter1463 = this->new_parts.begin(); _iter1463 != this->new_parts.end(); ++_iter1463) { - xfer += (*_iter1455).write(oprot); + xfer += (*_iter1463).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12874,10 +12874,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_pargs::write(::apache::thrift: xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter1456; - for (_iter1456 = (*(this->new_parts)).begin(); _iter1456 != (*(this->new_parts)).end(); ++_iter1456) + std::vector ::const_iterator _iter1464; + for (_iter1464 = (*(this->new_parts)).begin(); _iter1464 != (*(this->new_parts)).end(); ++_iter1464) { - xfer += (*_iter1456).write(oprot); + xfer += (*_iter1464).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13102,14 +13102,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1457; - ::apache::thrift::protocol::TType _etype1460; - xfer += iprot->readListBegin(_etype1460, _size1457); - this->part_vals.resize(_size1457); - uint32_t _i1461; - for (_i1461 = 0; _i1461 < _size1457; ++_i1461) + uint32_t _size1465; + ::apache::thrift::protocol::TType _etype1468; + xfer += iprot->readListBegin(_etype1468, _size1465); + this->part_vals.resize(_size1465); + uint32_t _i1469; + for (_i1469 = 0; _i1469 < _size1465; ++_i1469) { - xfer += iprot->readString(this->part_vals[_i1461]); + xfer += iprot->readString(this->part_vals[_i1469]); } xfer += iprot->readListEnd(); } @@ -13146,10 +13146,10 @@ uint32_t ThriftHiveMetastore_append_partition_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1462; - for (_iter1462 = this->part_vals.begin(); _iter1462 != this->part_vals.end(); ++_iter1462) + std::vector ::const_iterator _iter1470; + for (_iter1470 = this->part_vals.begin(); _iter1470 != this->part_vals.end(); ++_iter1470) { - xfer += oprot->writeString((*_iter1462)); + xfer += oprot->writeString((*_iter1470)); } xfer += oprot->writeListEnd(); } @@ -13181,10 +13181,10 @@ uint32_t ThriftHiveMetastore_append_partition_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1463; - for (_iter1463 = (*(this->part_vals)).begin(); _iter1463 != (*(this->part_vals)).end(); ++_iter1463) + std::vector ::const_iterator _iter1471; + for (_iter1471 = (*(this->part_vals)).begin(); _iter1471 != (*(this->part_vals)).end(); ++_iter1471) { - xfer += oprot->writeString((*_iter1463)); + xfer += oprot->writeString((*_iter1471)); } xfer += oprot->writeListEnd(); } @@ -13656,14 +13656,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1464; - ::apache::thrift::protocol::TType _etype1467; - xfer += iprot->readListBegin(_etype1467, _size1464); - this->part_vals.resize(_size1464); - uint32_t _i1468; - for (_i1468 = 0; _i1468 < _size1464; ++_i1468) + uint32_t _size1472; + ::apache::thrift::protocol::TType _etype1475; + xfer += iprot->readListBegin(_etype1475, _size1472); + this->part_vals.resize(_size1472); + uint32_t _i1476; + for (_i1476 = 0; _i1476 < _size1472; ++_i1476) { - xfer += iprot->readString(this->part_vals[_i1468]); + xfer += iprot->readString(this->part_vals[_i1476]); } xfer += iprot->readListEnd(); } @@ -13708,10 +13708,10 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::wri xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1469; - for (_iter1469 = this->part_vals.begin(); _iter1469 != this->part_vals.end(); ++_iter1469) + std::vector ::const_iterator _iter1477; + for (_iter1477 = this->part_vals.begin(); _iter1477 != this->part_vals.end(); ++_iter1477) { - xfer += oprot->writeString((*_iter1469)); + xfer += oprot->writeString((*_iter1477)); } xfer += oprot->writeListEnd(); } @@ -13747,10 +13747,10 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_pargs::wr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1470; - for (_iter1470 = (*(this->part_vals)).begin(); _iter1470 != (*(this->part_vals)).end(); ++_iter1470) + std::vector ::const_iterator _iter1478; + for (_iter1478 = (*(this->part_vals)).begin(); _iter1478 != (*(this->part_vals)).end(); ++_iter1478) { - xfer += oprot->writeString((*_iter1470)); + xfer += oprot->writeString((*_iter1478)); } xfer += oprot->writeListEnd(); } @@ -14553,14 +14553,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1471; - ::apache::thrift::protocol::TType _etype1474; - xfer += iprot->readListBegin(_etype1474, _size1471); - this->part_vals.resize(_size1471); - uint32_t _i1475; - for (_i1475 = 0; _i1475 < _size1471; ++_i1475) + uint32_t _size1479; + ::apache::thrift::protocol::TType _etype1482; + xfer += iprot->readListBegin(_etype1482, _size1479); + this->part_vals.resize(_size1479); + uint32_t _i1483; + for (_i1483 = 0; _i1483 < _size1479; ++_i1483) { - xfer += iprot->readString(this->part_vals[_i1475]); + xfer += iprot->readString(this->part_vals[_i1483]); } xfer += iprot->readListEnd(); } @@ -14605,10 +14605,10 @@ uint32_t ThriftHiveMetastore_drop_partition_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1476; - for (_iter1476 = this->part_vals.begin(); _iter1476 != this->part_vals.end(); ++_iter1476) + std::vector ::const_iterator _iter1484; + for (_iter1484 = this->part_vals.begin(); _iter1484 != this->part_vals.end(); ++_iter1484) { - xfer += oprot->writeString((*_iter1476)); + xfer += oprot->writeString((*_iter1484)); } xfer += oprot->writeListEnd(); } @@ -14644,10 +14644,10 @@ uint32_t ThriftHiveMetastore_drop_partition_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1477; - for (_iter1477 = (*(this->part_vals)).begin(); _iter1477 != (*(this->part_vals)).end(); ++_iter1477) + std::vector ::const_iterator _iter1485; + for (_iter1485 = (*(this->part_vals)).begin(); _iter1485 != (*(this->part_vals)).end(); ++_iter1485) { - xfer += oprot->writeString((*_iter1477)); + xfer += oprot->writeString((*_iter1485)); } xfer += oprot->writeListEnd(); } @@ -14856,14 +14856,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1478; - ::apache::thrift::protocol::TType _etype1481; - xfer += iprot->readListBegin(_etype1481, _size1478); - this->part_vals.resize(_size1478); - uint32_t _i1482; - for (_i1482 = 0; _i1482 < _size1478; ++_i1482) + uint32_t _size1486; + ::apache::thrift::protocol::TType _etype1489; + xfer += iprot->readListBegin(_etype1489, _size1486); + this->part_vals.resize(_size1486); + uint32_t _i1490; + for (_i1490 = 0; _i1490 < _size1486; ++_i1490) { - xfer += iprot->readString(this->part_vals[_i1482]); + xfer += iprot->readString(this->part_vals[_i1490]); } xfer += iprot->readListEnd(); } @@ -14916,10 +14916,10 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::write xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1483; - for (_iter1483 = this->part_vals.begin(); _iter1483 != this->part_vals.end(); ++_iter1483) + std::vector ::const_iterator _iter1491; + for (_iter1491 = this->part_vals.begin(); _iter1491 != this->part_vals.end(); ++_iter1491) { - xfer += oprot->writeString((*_iter1483)); + xfer += oprot->writeString((*_iter1491)); } xfer += oprot->writeListEnd(); } @@ -14959,10 +14959,10 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_pargs::writ xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1484; - for (_iter1484 = (*(this->part_vals)).begin(); _iter1484 != (*(this->part_vals)).end(); ++_iter1484) + std::vector ::const_iterator _iter1492; + for (_iter1492 = (*(this->part_vals)).begin(); _iter1492 != (*(this->part_vals)).end(); ++_iter1492) { - xfer += oprot->writeString((*_iter1484)); + xfer += oprot->writeString((*_iter1492)); } xfer += oprot->writeListEnd(); } @@ -15968,14 +15968,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1485; - ::apache::thrift::protocol::TType _etype1488; - xfer += iprot->readListBegin(_etype1488, _size1485); - this->part_vals.resize(_size1485); - uint32_t _i1489; - for (_i1489 = 0; _i1489 < _size1485; ++_i1489) + uint32_t _size1493; + ::apache::thrift::protocol::TType _etype1496; + xfer += iprot->readListBegin(_etype1496, _size1493); + this->part_vals.resize(_size1493); + uint32_t _i1497; + for (_i1497 = 0; _i1497 < _size1493; ++_i1497) { - xfer += iprot->readString(this->part_vals[_i1489]); + xfer += iprot->readString(this->part_vals[_i1497]); } xfer += iprot->readListEnd(); } @@ -16012,10 +16012,10 @@ uint32_t ThriftHiveMetastore_get_partition_args::write(::apache::thrift::protoco xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1490; - for (_iter1490 = this->part_vals.begin(); _iter1490 != this->part_vals.end(); ++_iter1490) + std::vector ::const_iterator _iter1498; + for (_iter1498 = this->part_vals.begin(); _iter1498 != this->part_vals.end(); ++_iter1498) { - xfer += oprot->writeString((*_iter1490)); + xfer += oprot->writeString((*_iter1498)); } xfer += oprot->writeListEnd(); } @@ -16047,10 +16047,10 @@ uint32_t ThriftHiveMetastore_get_partition_pargs::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1491; - for (_iter1491 = (*(this->part_vals)).begin(); _iter1491 != (*(this->part_vals)).end(); ++_iter1491) + std::vector ::const_iterator _iter1499; + for (_iter1499 = (*(this->part_vals)).begin(); _iter1499 != (*(this->part_vals)).end(); ++_iter1499) { - xfer += oprot->writeString((*_iter1491)); + xfer += oprot->writeString((*_iter1499)); } xfer += oprot->writeListEnd(); } @@ -16239,17 +16239,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size1492; - ::apache::thrift::protocol::TType _ktype1493; - ::apache::thrift::protocol::TType _vtype1494; - xfer += iprot->readMapBegin(_ktype1493, _vtype1494, _size1492); - uint32_t _i1496; - for (_i1496 = 0; _i1496 < _size1492; ++_i1496) + uint32_t _size1500; + ::apache::thrift::protocol::TType _ktype1501; + ::apache::thrift::protocol::TType _vtype1502; + xfer += iprot->readMapBegin(_ktype1501, _vtype1502, _size1500); + uint32_t _i1504; + for (_i1504 = 0; _i1504 < _size1500; ++_i1504) { - std::string _key1497; - xfer += iprot->readString(_key1497); - std::string& _val1498 = this->partitionSpecs[_key1497]; - xfer += iprot->readString(_val1498); + std::string _key1505; + xfer += iprot->readString(_key1505); + std::string& _val1506 = this->partitionSpecs[_key1505]; + xfer += iprot->readString(_val1506); } xfer += iprot->readMapEnd(); } @@ -16310,11 +16310,11 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->partitionSpecs.size())); - std::map ::const_iterator _iter1499; - for (_iter1499 = this->partitionSpecs.begin(); _iter1499 != this->partitionSpecs.end(); ++_iter1499) + std::map ::const_iterator _iter1507; + for (_iter1507 = this->partitionSpecs.begin(); _iter1507 != this->partitionSpecs.end(); ++_iter1507) { - xfer += oprot->writeString(_iter1499->first); - xfer += oprot->writeString(_iter1499->second); + xfer += oprot->writeString(_iter1507->first); + xfer += oprot->writeString(_iter1507->second); } xfer += oprot->writeMapEnd(); } @@ -16354,11 +16354,11 @@ uint32_t ThriftHiveMetastore_exchange_partition_pargs::write(::apache::thrift::p xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->partitionSpecs)).size())); - std::map ::const_iterator _iter1500; - for (_iter1500 = (*(this->partitionSpecs)).begin(); _iter1500 != (*(this->partitionSpecs)).end(); ++_iter1500) + std::map ::const_iterator _iter1508; + for (_iter1508 = (*(this->partitionSpecs)).begin(); _iter1508 != (*(this->partitionSpecs)).end(); ++_iter1508) { - xfer += oprot->writeString(_iter1500->first); - xfer += oprot->writeString(_iter1500->second); + xfer += oprot->writeString(_iter1508->first); + xfer += oprot->writeString(_iter1508->second); } xfer += oprot->writeMapEnd(); } @@ -16603,17 +16603,17 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size1501; - ::apache::thrift::protocol::TType _ktype1502; - ::apache::thrift::protocol::TType _vtype1503; - xfer += iprot->readMapBegin(_ktype1502, _vtype1503, _size1501); - uint32_t _i1505; - for (_i1505 = 0; _i1505 < _size1501; ++_i1505) + uint32_t _size1509; + ::apache::thrift::protocol::TType _ktype1510; + ::apache::thrift::protocol::TType _vtype1511; + xfer += iprot->readMapBegin(_ktype1510, _vtype1511, _size1509); + uint32_t _i1513; + for (_i1513 = 0; _i1513 < _size1509; ++_i1513) { - std::string _key1506; - xfer += iprot->readString(_key1506); - std::string& _val1507 = this->partitionSpecs[_key1506]; - xfer += iprot->readString(_val1507); + std::string _key1514; + xfer += iprot->readString(_key1514); + std::string& _val1515 = this->partitionSpecs[_key1514]; + xfer += iprot->readString(_val1515); } xfer += iprot->readMapEnd(); } @@ -16674,11 +16674,11 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::write(::apache::thrift::p xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->partitionSpecs.size())); - std::map ::const_iterator _iter1508; - for (_iter1508 = this->partitionSpecs.begin(); _iter1508 != this->partitionSpecs.end(); ++_iter1508) + std::map ::const_iterator _iter1516; + for (_iter1516 = this->partitionSpecs.begin(); _iter1516 != this->partitionSpecs.end(); ++_iter1516) { - xfer += oprot->writeString(_iter1508->first); - xfer += oprot->writeString(_iter1508->second); + xfer += oprot->writeString(_iter1516->first); + xfer += oprot->writeString(_iter1516->second); } xfer += oprot->writeMapEnd(); } @@ -16718,11 +16718,11 @@ uint32_t ThriftHiveMetastore_exchange_partitions_pargs::write(::apache::thrift:: xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->partitionSpecs)).size())); - std::map ::const_iterator _iter1509; - for (_iter1509 = (*(this->partitionSpecs)).begin(); _iter1509 != (*(this->partitionSpecs)).end(); ++_iter1509) + std::map ::const_iterator _iter1517; + for (_iter1517 = (*(this->partitionSpecs)).begin(); _iter1517 != (*(this->partitionSpecs)).end(); ++_iter1517) { - xfer += oprot->writeString(_iter1509->first); - xfer += oprot->writeString(_iter1509->second); + xfer += oprot->writeString(_iter1517->first); + xfer += oprot->writeString(_iter1517->second); } xfer += oprot->writeMapEnd(); } @@ -16779,14 +16779,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1510; - ::apache::thrift::protocol::TType _etype1513; - xfer += iprot->readListBegin(_etype1513, _size1510); - this->success.resize(_size1510); - uint32_t _i1514; - for (_i1514 = 0; _i1514 < _size1510; ++_i1514) + uint32_t _size1518; + ::apache::thrift::protocol::TType _etype1521; + xfer += iprot->readListBegin(_etype1521, _size1518); + this->success.resize(_size1518); + uint32_t _i1522; + for (_i1522 = 0; _i1522 < _size1518; ++_i1522) { - xfer += this->success[_i1514].read(iprot); + xfer += this->success[_i1522].read(iprot); } xfer += iprot->readListEnd(); } @@ -16849,10 +16849,10 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::write(::apache::thrift: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1515; - for (_iter1515 = this->success.begin(); _iter1515 != this->success.end(); ++_iter1515) + std::vector ::const_iterator _iter1523; + for (_iter1523 = this->success.begin(); _iter1523 != this->success.end(); ++_iter1523) { - xfer += (*_iter1515).write(oprot); + xfer += (*_iter1523).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16909,14 +16909,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1516; - ::apache::thrift::protocol::TType _etype1519; - xfer += iprot->readListBegin(_etype1519, _size1516); - (*(this->success)).resize(_size1516); - uint32_t _i1520; - for (_i1520 = 0; _i1520 < _size1516; ++_i1520) + uint32_t _size1524; + ::apache::thrift::protocol::TType _etype1527; + xfer += iprot->readListBegin(_etype1527, _size1524); + (*(this->success)).resize(_size1524); + uint32_t _i1528; + for (_i1528 = 0; _i1528 < _size1524; ++_i1528) { - xfer += (*(this->success))[_i1520].read(iprot); + xfer += (*(this->success))[_i1528].read(iprot); } xfer += iprot->readListEnd(); } @@ -17015,14 +17015,14 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1521; - ::apache::thrift::protocol::TType _etype1524; - xfer += iprot->readListBegin(_etype1524, _size1521); - this->part_vals.resize(_size1521); - uint32_t _i1525; - for (_i1525 = 0; _i1525 < _size1521; ++_i1525) + uint32_t _size1529; + ::apache::thrift::protocol::TType _etype1532; + xfer += iprot->readListBegin(_etype1532, _size1529); + this->part_vals.resize(_size1529); + uint32_t _i1533; + for (_i1533 = 0; _i1533 < _size1529; ++_i1533) { - xfer += iprot->readString(this->part_vals[_i1525]); + xfer += iprot->readString(this->part_vals[_i1533]); } xfer += iprot->readListEnd(); } @@ -17043,14 +17043,14 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1526; - ::apache::thrift::protocol::TType _etype1529; - xfer += iprot->readListBegin(_etype1529, _size1526); - this->group_names.resize(_size1526); - uint32_t _i1530; - for (_i1530 = 0; _i1530 < _size1526; ++_i1530) + uint32_t _size1534; + ::apache::thrift::protocol::TType _etype1537; + xfer += iprot->readListBegin(_etype1537, _size1534); + this->group_names.resize(_size1534); + uint32_t _i1538; + for (_i1538 = 0; _i1538 < _size1534; ++_i1538) { - xfer += iprot->readString(this->group_names[_i1530]); + xfer += iprot->readString(this->group_names[_i1538]); } xfer += iprot->readListEnd(); } @@ -17087,10 +17087,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrif xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1531; - for (_iter1531 = this->part_vals.begin(); _iter1531 != this->part_vals.end(); ++_iter1531) + std::vector ::const_iterator _iter1539; + for (_iter1539 = this->part_vals.begin(); _iter1539 != this->part_vals.end(); ++_iter1539) { - xfer += oprot->writeString((*_iter1531)); + xfer += oprot->writeString((*_iter1539)); } xfer += oprot->writeListEnd(); } @@ -17103,10 +17103,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrif xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1532; - for (_iter1532 = this->group_names.begin(); _iter1532 != this->group_names.end(); ++_iter1532) + std::vector ::const_iterator _iter1540; + for (_iter1540 = this->group_names.begin(); _iter1540 != this->group_names.end(); ++_iter1540) { - xfer += oprot->writeString((*_iter1532)); + xfer += oprot->writeString((*_iter1540)); } xfer += oprot->writeListEnd(); } @@ -17138,10 +17138,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1533; - for (_iter1533 = (*(this->part_vals)).begin(); _iter1533 != (*(this->part_vals)).end(); ++_iter1533) + std::vector ::const_iterator _iter1541; + for (_iter1541 = (*(this->part_vals)).begin(); _iter1541 != (*(this->part_vals)).end(); ++_iter1541) { - xfer += oprot->writeString((*_iter1533)); + xfer += oprot->writeString((*_iter1541)); } xfer += oprot->writeListEnd(); } @@ -17154,10 +17154,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1534; - for (_iter1534 = (*(this->group_names)).begin(); _iter1534 != (*(this->group_names)).end(); ++_iter1534) + std::vector ::const_iterator _iter1542; + for (_iter1542 = (*(this->group_names)).begin(); _iter1542 != (*(this->group_names)).end(); ++_iter1542) { - xfer += oprot->writeString((*_iter1534)); + xfer += oprot->writeString((*_iter1542)); } xfer += oprot->writeListEnd(); } @@ -17716,14 +17716,14 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1535; - ::apache::thrift::protocol::TType _etype1538; - xfer += iprot->readListBegin(_etype1538, _size1535); - this->success.resize(_size1535); - uint32_t _i1539; - for (_i1539 = 0; _i1539 < _size1535; ++_i1539) + uint32_t _size1543; + ::apache::thrift::protocol::TType _etype1546; + xfer += iprot->readListBegin(_etype1546, _size1543); + this->success.resize(_size1543); + uint32_t _i1547; + for (_i1547 = 0; _i1547 < _size1543; ++_i1547) { - xfer += this->success[_i1539].read(iprot); + xfer += this->success[_i1547].read(iprot); } xfer += iprot->readListEnd(); } @@ -17770,10 +17770,10 @@ uint32_t ThriftHiveMetastore_get_partitions_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1540; - for (_iter1540 = this->success.begin(); _iter1540 != this->success.end(); ++_iter1540) + std::vector ::const_iterator _iter1548; + for (_iter1548 = this->success.begin(); _iter1548 != this->success.end(); ++_iter1548) { - xfer += (*_iter1540).write(oprot); + xfer += (*_iter1548).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17822,14 +17822,14 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1541; - ::apache::thrift::protocol::TType _etype1544; - xfer += iprot->readListBegin(_etype1544, _size1541); - (*(this->success)).resize(_size1541); - uint32_t _i1545; - for (_i1545 = 0; _i1545 < _size1541; ++_i1545) + uint32_t _size1549; + ::apache::thrift::protocol::TType _etype1552; + xfer += iprot->readListBegin(_etype1552, _size1549); + (*(this->success)).resize(_size1549); + uint32_t _i1553; + for (_i1553 = 0; _i1553 < _size1549; ++_i1553) { - xfer += (*(this->success))[_i1545].read(iprot); + xfer += (*(this->success))[_i1553].read(iprot); } xfer += iprot->readListEnd(); } @@ -17928,14 +17928,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1546; - ::apache::thrift::protocol::TType _etype1549; - xfer += iprot->readListBegin(_etype1549, _size1546); - this->group_names.resize(_size1546); - uint32_t _i1550; - for (_i1550 = 0; _i1550 < _size1546; ++_i1550) + uint32_t _size1554; + ::apache::thrift::protocol::TType _etype1557; + xfer += iprot->readListBegin(_etype1557, _size1554); + this->group_names.resize(_size1554); + uint32_t _i1558; + for (_i1558 = 0; _i1558 < _size1554; ++_i1558) { - xfer += iprot->readString(this->group_names[_i1550]); + xfer += iprot->readString(this->group_names[_i1558]); } xfer += iprot->readListEnd(); } @@ -17980,10 +17980,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::write(::apache::thri xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1551; - for (_iter1551 = this->group_names.begin(); _iter1551 != this->group_names.end(); ++_iter1551) + std::vector ::const_iterator _iter1559; + for (_iter1559 = this->group_names.begin(); _iter1559 != this->group_names.end(); ++_iter1559) { - xfer += oprot->writeString((*_iter1551)); + xfer += oprot->writeString((*_iter1559)); } xfer += oprot->writeListEnd(); } @@ -18023,10 +18023,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_pargs::write(::apache::thr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1552; - for (_iter1552 = (*(this->group_names)).begin(); _iter1552 != (*(this->group_names)).end(); ++_iter1552) + std::vector ::const_iterator _iter1560; + for (_iter1560 = (*(this->group_names)).begin(); _iter1560 != (*(this->group_names)).end(); ++_iter1560) { - xfer += oprot->writeString((*_iter1552)); + xfer += oprot->writeString((*_iter1560)); } xfer += oprot->writeListEnd(); } @@ -18067,14 +18067,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1553; - ::apache::thrift::protocol::TType _etype1556; - xfer += iprot->readListBegin(_etype1556, _size1553); - this->success.resize(_size1553); - uint32_t _i1557; - for (_i1557 = 0; _i1557 < _size1553; ++_i1557) + uint32_t _size1561; + ::apache::thrift::protocol::TType _etype1564; + xfer += iprot->readListBegin(_etype1564, _size1561); + this->success.resize(_size1561); + uint32_t _i1565; + for (_i1565 = 0; _i1565 < _size1561; ++_i1565) { - xfer += this->success[_i1557].read(iprot); + xfer += this->success[_i1565].read(iprot); } xfer += iprot->readListEnd(); } @@ -18121,10 +18121,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1558; - for (_iter1558 = this->success.begin(); _iter1558 != this->success.end(); ++_iter1558) + std::vector ::const_iterator _iter1566; + for (_iter1566 = this->success.begin(); _iter1566 != this->success.end(); ++_iter1566) { - xfer += (*_iter1558).write(oprot); + xfer += (*_iter1566).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18173,14 +18173,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1559; - ::apache::thrift::protocol::TType _etype1562; - xfer += iprot->readListBegin(_etype1562, _size1559); - (*(this->success)).resize(_size1559); - uint32_t _i1563; - for (_i1563 = 0; _i1563 < _size1559; ++_i1563) + uint32_t _size1567; + ::apache::thrift::protocol::TType _etype1570; + xfer += iprot->readListBegin(_etype1570, _size1567); + (*(this->success)).resize(_size1567); + uint32_t _i1571; + for (_i1571 = 0; _i1571 < _size1567; ++_i1571) { - xfer += (*(this->success))[_i1563].read(iprot); + xfer += (*(this->success))[_i1571].read(iprot); } xfer += iprot->readListEnd(); } @@ -18358,14 +18358,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1564; - ::apache::thrift::protocol::TType _etype1567; - xfer += iprot->readListBegin(_etype1567, _size1564); - this->success.resize(_size1564); - uint32_t _i1568; - for (_i1568 = 0; _i1568 < _size1564; ++_i1568) + uint32_t _size1572; + ::apache::thrift::protocol::TType _etype1575; + xfer += iprot->readListBegin(_etype1575, _size1572); + this->success.resize(_size1572); + uint32_t _i1576; + for (_i1576 = 0; _i1576 < _size1572; ++_i1576) { - xfer += this->success[_i1568].read(iprot); + xfer += this->success[_i1576].read(iprot); } xfer += iprot->readListEnd(); } @@ -18412,10 +18412,10 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::write(::apache::thrift xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1569; - for (_iter1569 = this->success.begin(); _iter1569 != this->success.end(); ++_iter1569) + std::vector ::const_iterator _iter1577; + for (_iter1577 = this->success.begin(); _iter1577 != this->success.end(); ++_iter1577) { - xfer += (*_iter1569).write(oprot); + xfer += (*_iter1577).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18464,14 +18464,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_presult::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1570; - ::apache::thrift::protocol::TType _etype1573; - xfer += iprot->readListBegin(_etype1573, _size1570); - (*(this->success)).resize(_size1570); - uint32_t _i1574; - for (_i1574 = 0; _i1574 < _size1570; ++_i1574) + uint32_t _size1578; + ::apache::thrift::protocol::TType _etype1581; + xfer += iprot->readListBegin(_etype1581, _size1578); + (*(this->success)).resize(_size1578); + uint32_t _i1582; + for (_i1582 = 0; _i1582 < _size1578; ++_i1582) { - xfer += (*(this->success))[_i1574].read(iprot); + xfer += (*(this->success))[_i1582].read(iprot); } xfer += iprot->readListEnd(); } @@ -18649,14 +18649,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1575; - ::apache::thrift::protocol::TType _etype1578; - xfer += iprot->readListBegin(_etype1578, _size1575); - this->success.resize(_size1575); - uint32_t _i1579; - for (_i1579 = 0; _i1579 < _size1575; ++_i1579) + uint32_t _size1583; + ::apache::thrift::protocol::TType _etype1586; + xfer += iprot->readListBegin(_etype1586, _size1583); + this->success.resize(_size1583); + uint32_t _i1587; + for (_i1587 = 0; _i1587 < _size1583; ++_i1587) { - xfer += iprot->readString(this->success[_i1579]); + xfer += iprot->readString(this->success[_i1587]); } xfer += iprot->readListEnd(); } @@ -18703,10 +18703,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::write(::apache::thrift: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1580; - for (_iter1580 = this->success.begin(); _iter1580 != this->success.end(); ++_iter1580) + std::vector ::const_iterator _iter1588; + for (_iter1588 = this->success.begin(); _iter1588 != this->success.end(); ++_iter1588) { - xfer += oprot->writeString((*_iter1580)); + xfer += oprot->writeString((*_iter1588)); } xfer += oprot->writeListEnd(); } @@ -18755,14 +18755,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1581; - ::apache::thrift::protocol::TType _etype1584; - xfer += iprot->readListBegin(_etype1584, _size1581); - (*(this->success)).resize(_size1581); - uint32_t _i1585; - for (_i1585 = 0; _i1585 < _size1581; ++_i1585) + uint32_t _size1589; + ::apache::thrift::protocol::TType _etype1592; + xfer += iprot->readListBegin(_etype1592, _size1589); + (*(this->success)).resize(_size1589); + uint32_t _i1593; + for (_i1593 = 0; _i1593 < _size1589; ++_i1593) { - xfer += iprot->readString((*(this->success))[_i1585]); + xfer += iprot->readString((*(this->success))[_i1593]); } xfer += iprot->readListEnd(); } @@ -19072,14 +19072,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1586; - ::apache::thrift::protocol::TType _etype1589; - xfer += iprot->readListBegin(_etype1589, _size1586); - this->part_vals.resize(_size1586); - uint32_t _i1590; - for (_i1590 = 0; _i1590 < _size1586; ++_i1590) + uint32_t _size1594; + ::apache::thrift::protocol::TType _etype1597; + xfer += iprot->readListBegin(_etype1597, _size1594); + this->part_vals.resize(_size1594); + uint32_t _i1598; + for (_i1598 = 0; _i1598 < _size1594; ++_i1598) { - xfer += iprot->readString(this->part_vals[_i1590]); + xfer += iprot->readString(this->part_vals[_i1598]); } xfer += iprot->readListEnd(); } @@ -19124,10 +19124,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1591; - for (_iter1591 = this->part_vals.begin(); _iter1591 != this->part_vals.end(); ++_iter1591) + std::vector ::const_iterator _iter1599; + for (_iter1599 = this->part_vals.begin(); _iter1599 != this->part_vals.end(); ++_iter1599) { - xfer += oprot->writeString((*_iter1591)); + xfer += oprot->writeString((*_iter1599)); } xfer += oprot->writeListEnd(); } @@ -19163,10 +19163,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1592; - for (_iter1592 = (*(this->part_vals)).begin(); _iter1592 != (*(this->part_vals)).end(); ++_iter1592) + std::vector ::const_iterator _iter1600; + for (_iter1600 = (*(this->part_vals)).begin(); _iter1600 != (*(this->part_vals)).end(); ++_iter1600) { - xfer += oprot->writeString((*_iter1592)); + xfer += oprot->writeString((*_iter1600)); } xfer += oprot->writeListEnd(); } @@ -19211,14 +19211,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1593; - ::apache::thrift::protocol::TType _etype1596; - xfer += iprot->readListBegin(_etype1596, _size1593); - this->success.resize(_size1593); - uint32_t _i1597; - for (_i1597 = 0; _i1597 < _size1593; ++_i1597) + uint32_t _size1601; + ::apache::thrift::protocol::TType _etype1604; + xfer += iprot->readListBegin(_etype1604, _size1601); + this->success.resize(_size1601); + uint32_t _i1605; + for (_i1605 = 0; _i1605 < _size1601; ++_i1605) { - xfer += this->success[_i1597].read(iprot); + xfer += this->success[_i1605].read(iprot); } xfer += iprot->readListEnd(); } @@ -19265,10 +19265,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::write(::apache::thrift::p xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1598; - for (_iter1598 = this->success.begin(); _iter1598 != this->success.end(); ++_iter1598) + std::vector ::const_iterator _iter1606; + for (_iter1606 = this->success.begin(); _iter1606 != this->success.end(); ++_iter1606) { - xfer += (*_iter1598).write(oprot); + xfer += (*_iter1606).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19317,14 +19317,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1599; - ::apache::thrift::protocol::TType _etype1602; - xfer += iprot->readListBegin(_etype1602, _size1599); - (*(this->success)).resize(_size1599); - uint32_t _i1603; - for (_i1603 = 0; _i1603 < _size1599; ++_i1603) + uint32_t _size1607; + ::apache::thrift::protocol::TType _etype1610; + xfer += iprot->readListBegin(_etype1610, _size1607); + (*(this->success)).resize(_size1607); + uint32_t _i1611; + for (_i1611 = 0; _i1611 < _size1607; ++_i1611) { - xfer += (*(this->success))[_i1603].read(iprot); + xfer += (*(this->success))[_i1611].read(iprot); } xfer += iprot->readListEnd(); } @@ -19407,14 +19407,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1604; - ::apache::thrift::protocol::TType _etype1607; - xfer += iprot->readListBegin(_etype1607, _size1604); - this->part_vals.resize(_size1604); - uint32_t _i1608; - for (_i1608 = 0; _i1608 < _size1604; ++_i1608) + uint32_t _size1612; + ::apache::thrift::protocol::TType _etype1615; + xfer += iprot->readListBegin(_etype1615, _size1612); + this->part_vals.resize(_size1612); + uint32_t _i1616; + for (_i1616 = 0; _i1616 < _size1612; ++_i1616) { - xfer += iprot->readString(this->part_vals[_i1608]); + xfer += iprot->readString(this->part_vals[_i1616]); } xfer += iprot->readListEnd(); } @@ -19443,14 +19443,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1609; - ::apache::thrift::protocol::TType _etype1612; - xfer += iprot->readListBegin(_etype1612, _size1609); - this->group_names.resize(_size1609); - uint32_t _i1613; - for (_i1613 = 0; _i1613 < _size1609; ++_i1613) + uint32_t _size1617; + ::apache::thrift::protocol::TType _etype1620; + xfer += iprot->readListBegin(_etype1620, _size1617); + this->group_names.resize(_size1617); + uint32_t _i1621; + for (_i1621 = 0; _i1621 < _size1617; ++_i1621) { - xfer += iprot->readString(this->group_names[_i1613]); + xfer += iprot->readString(this->group_names[_i1621]); } xfer += iprot->readListEnd(); } @@ -19487,10 +19487,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::t xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1614; - for (_iter1614 = this->part_vals.begin(); _iter1614 != this->part_vals.end(); ++_iter1614) + std::vector ::const_iterator _iter1622; + for (_iter1622 = this->part_vals.begin(); _iter1622 != this->part_vals.end(); ++_iter1622) { - xfer += oprot->writeString((*_iter1614)); + xfer += oprot->writeString((*_iter1622)); } xfer += oprot->writeListEnd(); } @@ -19507,10 +19507,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::t xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1615; - for (_iter1615 = this->group_names.begin(); _iter1615 != this->group_names.end(); ++_iter1615) + std::vector ::const_iterator _iter1623; + for (_iter1623 = this->group_names.begin(); _iter1623 != this->group_names.end(); ++_iter1623) { - xfer += oprot->writeString((*_iter1615)); + xfer += oprot->writeString((*_iter1623)); } xfer += oprot->writeListEnd(); } @@ -19542,10 +19542,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache:: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1616; - for (_iter1616 = (*(this->part_vals)).begin(); _iter1616 != (*(this->part_vals)).end(); ++_iter1616) + std::vector ::const_iterator _iter1624; + for (_iter1624 = (*(this->part_vals)).begin(); _iter1624 != (*(this->part_vals)).end(); ++_iter1624) { - xfer += oprot->writeString((*_iter1616)); + xfer += oprot->writeString((*_iter1624)); } xfer += oprot->writeListEnd(); } @@ -19562,10 +19562,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache:: xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1617; - for (_iter1617 = (*(this->group_names)).begin(); _iter1617 != (*(this->group_names)).end(); ++_iter1617) + std::vector ::const_iterator _iter1625; + for (_iter1625 = (*(this->group_names)).begin(); _iter1625 != (*(this->group_names)).end(); ++_iter1625) { - xfer += oprot->writeString((*_iter1617)); + xfer += oprot->writeString((*_iter1625)); } xfer += oprot->writeListEnd(); } @@ -19606,14 +19606,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1618; - ::apache::thrift::protocol::TType _etype1621; - xfer += iprot->readListBegin(_etype1621, _size1618); - this->success.resize(_size1618); - uint32_t _i1622; - for (_i1622 = 0; _i1622 < _size1618; ++_i1622) + uint32_t _size1626; + ::apache::thrift::protocol::TType _etype1629; + xfer += iprot->readListBegin(_etype1629, _size1626); + this->success.resize(_size1626); + uint32_t _i1630; + for (_i1630 = 0; _i1630 < _size1626; ++_i1630) { - xfer += this->success[_i1622].read(iprot); + xfer += this->success[_i1630].read(iprot); } xfer += iprot->readListEnd(); } @@ -19660,10 +19660,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::write(::apache: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1623; - for (_iter1623 = this->success.begin(); _iter1623 != this->success.end(); ++_iter1623) + std::vector ::const_iterator _iter1631; + for (_iter1631 = this->success.begin(); _iter1631 != this->success.end(); ++_iter1631) { - xfer += (*_iter1623).write(oprot); + xfer += (*_iter1631).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19712,14 +19712,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1624; - ::apache::thrift::protocol::TType _etype1627; - xfer += iprot->readListBegin(_etype1627, _size1624); - (*(this->success)).resize(_size1624); - uint32_t _i1628; - for (_i1628 = 0; _i1628 < _size1624; ++_i1628) + uint32_t _size1632; + ::apache::thrift::protocol::TType _etype1635; + xfer += iprot->readListBegin(_etype1635, _size1632); + (*(this->success)).resize(_size1632); + uint32_t _i1636; + for (_i1636 = 0; _i1636 < _size1632; ++_i1636) { - xfer += (*(this->success))[_i1628].read(iprot); + xfer += (*(this->success))[_i1636].read(iprot); } xfer += iprot->readListEnd(); } @@ -19802,14 +19802,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1629; - ::apache::thrift::protocol::TType _etype1632; - xfer += iprot->readListBegin(_etype1632, _size1629); - this->part_vals.resize(_size1629); - uint32_t _i1633; - for (_i1633 = 0; _i1633 < _size1629; ++_i1633) + uint32_t _size1637; + ::apache::thrift::protocol::TType _etype1640; + xfer += iprot->readListBegin(_etype1640, _size1637); + this->part_vals.resize(_size1637); + uint32_t _i1641; + for (_i1641 = 0; _i1641 < _size1637; ++_i1641) { - xfer += iprot->readString(this->part_vals[_i1633]); + xfer += iprot->readString(this->part_vals[_i1641]); } xfer += iprot->readListEnd(); } @@ -19854,10 +19854,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::write(::apache::thrift xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1634; - for (_iter1634 = this->part_vals.begin(); _iter1634 != this->part_vals.end(); ++_iter1634) + std::vector ::const_iterator _iter1642; + for (_iter1642 = this->part_vals.begin(); _iter1642 != this->part_vals.end(); ++_iter1642) { - xfer += oprot->writeString((*_iter1634)); + xfer += oprot->writeString((*_iter1642)); } xfer += oprot->writeListEnd(); } @@ -19893,10 +19893,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_pargs::write(::apache::thrif xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1635; - for (_iter1635 = (*(this->part_vals)).begin(); _iter1635 != (*(this->part_vals)).end(); ++_iter1635) + std::vector ::const_iterator _iter1643; + for (_iter1643 = (*(this->part_vals)).begin(); _iter1643 != (*(this->part_vals)).end(); ++_iter1643) { - xfer += oprot->writeString((*_iter1635)); + xfer += oprot->writeString((*_iter1643)); } xfer += oprot->writeListEnd(); } @@ -19941,14 +19941,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1636; - ::apache::thrift::protocol::TType _etype1639; - xfer += iprot->readListBegin(_etype1639, _size1636); - this->success.resize(_size1636); - uint32_t _i1640; - for (_i1640 = 0; _i1640 < _size1636; ++_i1640) + uint32_t _size1644; + ::apache::thrift::protocol::TType _etype1647; + xfer += iprot->readListBegin(_etype1647, _size1644); + this->success.resize(_size1644); + uint32_t _i1648; + for (_i1648 = 0; _i1648 < _size1644; ++_i1648) { - xfer += iprot->readString(this->success[_i1640]); + xfer += iprot->readString(this->success[_i1648]); } xfer += iprot->readListEnd(); } @@ -19995,10 +19995,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1641; - for (_iter1641 = this->success.begin(); _iter1641 != this->success.end(); ++_iter1641) + std::vector ::const_iterator _iter1649; + for (_iter1649 = this->success.begin(); _iter1649 != this->success.end(); ++_iter1649) { - xfer += oprot->writeString((*_iter1641)); + xfer += oprot->writeString((*_iter1649)); } xfer += oprot->writeListEnd(); } @@ -20047,14 +20047,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1642; - ::apache::thrift::protocol::TType _etype1645; - xfer += iprot->readListBegin(_etype1645, _size1642); - (*(this->success)).resize(_size1642); - uint32_t _i1646; - for (_i1646 = 0; _i1646 < _size1642; ++_i1646) + uint32_t _size1650; + ::apache::thrift::protocol::TType _etype1653; + xfer += iprot->readListBegin(_etype1653, _size1650); + (*(this->success)).resize(_size1650); + uint32_t _i1654; + for (_i1654 = 0; _i1654 < _size1650; ++_i1654) { - xfer += iprot->readString((*(this->success))[_i1646]); + xfer += iprot->readString((*(this->success))[_i1654]); } xfer += iprot->readListEnd(); } @@ -20248,14 +20248,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1647; - ::apache::thrift::protocol::TType _etype1650; - xfer += iprot->readListBegin(_etype1650, _size1647); - this->success.resize(_size1647); - uint32_t _i1651; - for (_i1651 = 0; _i1651 < _size1647; ++_i1651) + uint32_t _size1655; + ::apache::thrift::protocol::TType _etype1658; + xfer += iprot->readListBegin(_etype1658, _size1655); + this->success.resize(_size1655); + uint32_t _i1659; + for (_i1659 = 0; _i1659 < _size1655; ++_i1659) { - xfer += this->success[_i1651].read(iprot); + xfer += this->success[_i1659].read(iprot); } xfer += iprot->readListEnd(); } @@ -20302,10 +20302,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1652; - for (_iter1652 = this->success.begin(); _iter1652 != this->success.end(); ++_iter1652) + std::vector ::const_iterator _iter1660; + for (_iter1660 = this->success.begin(); _iter1660 != this->success.end(); ++_iter1660) { - xfer += (*_iter1652).write(oprot); + xfer += (*_iter1660).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20354,14 +20354,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1653; - ::apache::thrift::protocol::TType _etype1656; - xfer += iprot->readListBegin(_etype1656, _size1653); - (*(this->success)).resize(_size1653); - uint32_t _i1657; - for (_i1657 = 0; _i1657 < _size1653; ++_i1657) + uint32_t _size1661; + ::apache::thrift::protocol::TType _etype1664; + xfer += iprot->readListBegin(_etype1664, _size1661); + (*(this->success)).resize(_size1661); + uint32_t _i1665; + for (_i1665 = 0; _i1665 < _size1661; ++_i1665) { - xfer += (*(this->success))[_i1657].read(iprot); + xfer += (*(this->success))[_i1665].read(iprot); } xfer += iprot->readListEnd(); } @@ -20555,14 +20555,14 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1658; - ::apache::thrift::protocol::TType _etype1661; - xfer += iprot->readListBegin(_etype1661, _size1658); - this->success.resize(_size1658); - uint32_t _i1662; - for (_i1662 = 0; _i1662 < _size1658; ++_i1662) + uint32_t _size1666; + ::apache::thrift::protocol::TType _etype1669; + xfer += iprot->readListBegin(_etype1669, _size1666); + this->success.resize(_size1666); + uint32_t _i1670; + for (_i1670 = 0; _i1670 < _size1666; ++_i1670) { - xfer += this->success[_i1662].read(iprot); + xfer += this->success[_i1670].read(iprot); } xfer += iprot->readListEnd(); } @@ -20609,10 +20609,10 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1663; - for (_iter1663 = this->success.begin(); _iter1663 != this->success.end(); ++_iter1663) + std::vector ::const_iterator _iter1671; + for (_iter1671 = this->success.begin(); _iter1671 != this->success.end(); ++_iter1671) { - xfer += (*_iter1663).write(oprot); + xfer += (*_iter1671).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20661,14 +20661,14 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1664; - ::apache::thrift::protocol::TType _etype1667; - xfer += iprot->readListBegin(_etype1667, _size1664); - (*(this->success)).resize(_size1664); - uint32_t _i1668; - for (_i1668 = 0; _i1668 < _size1664; ++_i1668) + uint32_t _size1672; + ::apache::thrift::protocol::TType _etype1675; + xfer += iprot->readListBegin(_etype1675, _size1672); + (*(this->success)).resize(_size1672); + uint32_t _i1676; + for (_i1676 = 0; _i1676 < _size1672; ++_i1676) { - xfer += (*(this->success))[_i1668].read(iprot); + xfer += (*(this->success))[_i1676].read(iprot); } xfer += iprot->readListEnd(); } @@ -21237,14 +21237,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size1669; - ::apache::thrift::protocol::TType _etype1672; - xfer += iprot->readListBegin(_etype1672, _size1669); - this->names.resize(_size1669); - uint32_t _i1673; - for (_i1673 = 0; _i1673 < _size1669; ++_i1673) + uint32_t _size1677; + ::apache::thrift::protocol::TType _etype1680; + xfer += iprot->readListBegin(_etype1680, _size1677); + this->names.resize(_size1677); + uint32_t _i1681; + for (_i1681 = 0; _i1681 < _size1677; ++_i1681) { - xfer += iprot->readString(this->names[_i1673]); + xfer += iprot->readString(this->names[_i1681]); } xfer += iprot->readListEnd(); } @@ -21281,10 +21281,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::write(::apache::thrif xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->names.size())); - std::vector ::const_iterator _iter1674; - for (_iter1674 = this->names.begin(); _iter1674 != this->names.end(); ++_iter1674) + std::vector ::const_iterator _iter1682; + for (_iter1682 = this->names.begin(); _iter1682 != this->names.end(); ++_iter1682) { - xfer += oprot->writeString((*_iter1674)); + xfer += oprot->writeString((*_iter1682)); } xfer += oprot->writeListEnd(); } @@ -21316,10 +21316,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->names)).size())); - std::vector ::const_iterator _iter1675; - for (_iter1675 = (*(this->names)).begin(); _iter1675 != (*(this->names)).end(); ++_iter1675) + std::vector ::const_iterator _iter1683; + for (_iter1683 = (*(this->names)).begin(); _iter1683 != (*(this->names)).end(); ++_iter1683) { - xfer += oprot->writeString((*_iter1675)); + xfer += oprot->writeString((*_iter1683)); } xfer += oprot->writeListEnd(); } @@ -21360,14 +21360,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1676; - ::apache::thrift::protocol::TType _etype1679; - xfer += iprot->readListBegin(_etype1679, _size1676); - this->success.resize(_size1676); - uint32_t _i1680; - for (_i1680 = 0; _i1680 < _size1676; ++_i1680) + uint32_t _size1684; + ::apache::thrift::protocol::TType _etype1687; + xfer += iprot->readListBegin(_etype1687, _size1684); + this->success.resize(_size1684); + uint32_t _i1688; + for (_i1688 = 0; _i1688 < _size1684; ++_i1688) { - xfer += this->success[_i1680].read(iprot); + xfer += this->success[_i1688].read(iprot); } xfer += iprot->readListEnd(); } @@ -21414,10 +21414,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::write(::apache::thr xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1681; - for (_iter1681 = this->success.begin(); _iter1681 != this->success.end(); ++_iter1681) + std::vector ::const_iterator _iter1689; + for (_iter1689 = this->success.begin(); _iter1689 != this->success.end(); ++_iter1689) { - xfer += (*_iter1681).write(oprot); + xfer += (*_iter1689).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21466,14 +21466,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1682; - ::apache::thrift::protocol::TType _etype1685; - xfer += iprot->readListBegin(_etype1685, _size1682); - (*(this->success)).resize(_size1682); - uint32_t _i1686; - for (_i1686 = 0; _i1686 < _size1682; ++_i1686) + uint32_t _size1690; + ::apache::thrift::protocol::TType _etype1693; + xfer += iprot->readListBegin(_etype1693, _size1690); + (*(this->success)).resize(_size1690); + uint32_t _i1694; + for (_i1694 = 0; _i1694 < _size1690; ++_i1694) { - xfer += (*(this->success))[_i1686].read(iprot); + xfer += (*(this->success))[_i1694].read(iprot); } xfer += iprot->readListEnd(); } @@ -21795,14 +21795,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1687; - ::apache::thrift::protocol::TType _etype1690; - xfer += iprot->readListBegin(_etype1690, _size1687); - this->new_parts.resize(_size1687); - uint32_t _i1691; - for (_i1691 = 0; _i1691 < _size1687; ++_i1691) + uint32_t _size1695; + ::apache::thrift::protocol::TType _etype1698; + xfer += iprot->readListBegin(_etype1698, _size1695); + this->new_parts.resize(_size1695); + uint32_t _i1699; + for (_i1699 = 0; _i1699 < _size1695; ++_i1699) { - xfer += this->new_parts[_i1691].read(iprot); + xfer += this->new_parts[_i1699].read(iprot); } xfer += iprot->readListEnd(); } @@ -21839,10 +21839,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter1692; - for (_iter1692 = this->new_parts.begin(); _iter1692 != this->new_parts.end(); ++_iter1692) + std::vector ::const_iterator _iter1700; + for (_iter1700 = this->new_parts.begin(); _iter1700 != this->new_parts.end(); ++_iter1700) { - xfer += (*_iter1692).write(oprot); + xfer += (*_iter1700).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21874,10 +21874,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter1693; - for (_iter1693 = (*(this->new_parts)).begin(); _iter1693 != (*(this->new_parts)).end(); ++_iter1693) + std::vector ::const_iterator _iter1701; + for (_iter1701 = (*(this->new_parts)).begin(); _iter1701 != (*(this->new_parts)).end(); ++_iter1701) { - xfer += (*_iter1693).write(oprot); + xfer += (*_iter1701).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22062,14 +22062,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1694; - ::apache::thrift::protocol::TType _etype1697; - xfer += iprot->readListBegin(_etype1697, _size1694); - this->new_parts.resize(_size1694); - uint32_t _i1698; - for (_i1698 = 0; _i1698 < _size1694; ++_i1698) + uint32_t _size1702; + ::apache::thrift::protocol::TType _etype1705; + xfer += iprot->readListBegin(_etype1705, _size1702); + this->new_parts.resize(_size1702); + uint32_t _i1706; + for (_i1706 = 0; _i1706 < _size1702; ++_i1706) { - xfer += this->new_parts[_i1698].read(iprot); + xfer += this->new_parts[_i1706].read(iprot); } xfer += iprot->readListEnd(); } @@ -22114,10 +22114,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::wri xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter1699; - for (_iter1699 = this->new_parts.begin(); _iter1699 != this->new_parts.end(); ++_iter1699) + std::vector ::const_iterator _iter1707; + for (_iter1707 = this->new_parts.begin(); _iter1707 != this->new_parts.end(); ++_iter1707) { - xfer += (*_iter1699).write(oprot); + xfer += (*_iter1707).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22153,10 +22153,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_pargs::wr xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter1700; - for (_iter1700 = (*(this->new_parts)).begin(); _iter1700 != (*(this->new_parts)).end(); ++_iter1700) + std::vector ::const_iterator _iter1708; + for (_iter1708 = (*(this->new_parts)).begin(); _iter1708 != (*(this->new_parts)).end(); ++_iter1708) { - xfer += (*_iter1700).write(oprot); + xfer += (*_iter1708).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22600,14 +22600,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1701; - ::apache::thrift::protocol::TType _etype1704; - xfer += iprot->readListBegin(_etype1704, _size1701); - this->part_vals.resize(_size1701); - uint32_t _i1705; - for (_i1705 = 0; _i1705 < _size1701; ++_i1705) + uint32_t _size1709; + ::apache::thrift::protocol::TType _etype1712; + xfer += iprot->readListBegin(_etype1712, _size1709); + this->part_vals.resize(_size1709); + uint32_t _i1713; + for (_i1713 = 0; _i1713 < _size1709; ++_i1713) { - xfer += iprot->readString(this->part_vals[_i1705]); + xfer += iprot->readString(this->part_vals[_i1713]); } xfer += iprot->readListEnd(); } @@ -22652,10 +22652,10 @@ uint32_t ThriftHiveMetastore_rename_partition_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1706; - for (_iter1706 = this->part_vals.begin(); _iter1706 != this->part_vals.end(); ++_iter1706) + std::vector ::const_iterator _iter1714; + for (_iter1714 = this->part_vals.begin(); _iter1714 != this->part_vals.end(); ++_iter1714) { - xfer += oprot->writeString((*_iter1706)); + xfer += oprot->writeString((*_iter1714)); } xfer += oprot->writeListEnd(); } @@ -22691,10 +22691,10 @@ uint32_t ThriftHiveMetastore_rename_partition_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1707; - for (_iter1707 = (*(this->part_vals)).begin(); _iter1707 != (*(this->part_vals)).end(); ++_iter1707) + std::vector ::const_iterator _iter1715; + for (_iter1715 = (*(this->part_vals)).begin(); _iter1715 != (*(this->part_vals)).end(); ++_iter1715) { - xfer += oprot->writeString((*_iter1707)); + xfer += oprot->writeString((*_iter1715)); } xfer += oprot->writeListEnd(); } @@ -22867,14 +22867,14 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::read(::ap if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1708; - ::apache::thrift::protocol::TType _etype1711; - xfer += iprot->readListBegin(_etype1711, _size1708); - this->part_vals.resize(_size1708); - uint32_t _i1712; - for (_i1712 = 0; _i1712 < _size1708; ++_i1712) + uint32_t _size1716; + ::apache::thrift::protocol::TType _etype1719; + xfer += iprot->readListBegin(_etype1719, _size1716); + this->part_vals.resize(_size1716); + uint32_t _i1720; + for (_i1720 = 0; _i1720 < _size1716; ++_i1720) { - xfer += iprot->readString(this->part_vals[_i1712]); + xfer += iprot->readString(this->part_vals[_i1720]); } xfer += iprot->readListEnd(); } @@ -22911,10 +22911,10 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::write(::a xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1713; - for (_iter1713 = this->part_vals.begin(); _iter1713 != this->part_vals.end(); ++_iter1713) + std::vector ::const_iterator _iter1721; + for (_iter1721 = this->part_vals.begin(); _iter1721 != this->part_vals.end(); ++_iter1721) { - xfer += oprot->writeString((*_iter1713)); + xfer += oprot->writeString((*_iter1721)); } xfer += oprot->writeListEnd(); } @@ -22942,10 +22942,10 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_pargs::write(:: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1714; - for (_iter1714 = (*(this->part_vals)).begin(); _iter1714 != (*(this->part_vals)).end(); ++_iter1714) + std::vector ::const_iterator _iter1722; + for (_iter1722 = (*(this->part_vals)).begin(); _iter1722 != (*(this->part_vals)).end(); ++_iter1722) { - xfer += oprot->writeString((*_iter1714)); + xfer += oprot->writeString((*_iter1722)); } xfer += oprot->writeListEnd(); } @@ -23420,14 +23420,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1715; - ::apache::thrift::protocol::TType _etype1718; - xfer += iprot->readListBegin(_etype1718, _size1715); - this->success.resize(_size1715); - uint32_t _i1719; - for (_i1719 = 0; _i1719 < _size1715; ++_i1719) + uint32_t _size1723; + ::apache::thrift::protocol::TType _etype1726; + xfer += iprot->readListBegin(_etype1726, _size1723); + this->success.resize(_size1723); + uint32_t _i1727; + for (_i1727 = 0; _i1727 < _size1723; ++_i1727) { - xfer += iprot->readString(this->success[_i1719]); + xfer += iprot->readString(this->success[_i1727]); } xfer += iprot->readListEnd(); } @@ -23466,10 +23466,10 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1720; - for (_iter1720 = this->success.begin(); _iter1720 != this->success.end(); ++_iter1720) + std::vector ::const_iterator _iter1728; + for (_iter1728 = this->success.begin(); _iter1728 != this->success.end(); ++_iter1728) { - xfer += oprot->writeString((*_iter1720)); + xfer += oprot->writeString((*_iter1728)); } xfer += oprot->writeListEnd(); } @@ -23514,14 +23514,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1721; - ::apache::thrift::protocol::TType _etype1724; - xfer += iprot->readListBegin(_etype1724, _size1721); - (*(this->success)).resize(_size1721); - uint32_t _i1725; - for (_i1725 = 0; _i1725 < _size1721; ++_i1725) + uint32_t _size1729; + ::apache::thrift::protocol::TType _etype1732; + xfer += iprot->readListBegin(_etype1732, _size1729); + (*(this->success)).resize(_size1729); + uint32_t _i1733; + for (_i1733 = 0; _i1733 < _size1729; ++_i1733) { - xfer += iprot->readString((*(this->success))[_i1725]); + xfer += iprot->readString((*(this->success))[_i1733]); } xfer += iprot->readListEnd(); } @@ -23659,17 +23659,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1726; - ::apache::thrift::protocol::TType _ktype1727; - ::apache::thrift::protocol::TType _vtype1728; - xfer += iprot->readMapBegin(_ktype1727, _vtype1728, _size1726); - uint32_t _i1730; - for (_i1730 = 0; _i1730 < _size1726; ++_i1730) + uint32_t _size1734; + ::apache::thrift::protocol::TType _ktype1735; + ::apache::thrift::protocol::TType _vtype1736; + xfer += iprot->readMapBegin(_ktype1735, _vtype1736, _size1734); + uint32_t _i1738; + for (_i1738 = 0; _i1738 < _size1734; ++_i1738) { - std::string _key1731; - xfer += iprot->readString(_key1731); - std::string& _val1732 = this->success[_key1731]; - xfer += iprot->readString(_val1732); + std::string _key1739; + xfer += iprot->readString(_key1739); + std::string& _val1740 = this->success[_key1739]; + xfer += iprot->readString(_val1740); } xfer += iprot->readMapEnd(); } @@ -23708,11 +23708,11 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::map ::const_iterator _iter1733; - for (_iter1733 = this->success.begin(); _iter1733 != this->success.end(); ++_iter1733) + std::map ::const_iterator _iter1741; + for (_iter1741 = this->success.begin(); _iter1741 != this->success.end(); ++_iter1741) { - xfer += oprot->writeString(_iter1733->first); - xfer += oprot->writeString(_iter1733->second); + xfer += oprot->writeString(_iter1741->first); + xfer += oprot->writeString(_iter1741->second); } xfer += oprot->writeMapEnd(); } @@ -23757,17 +23757,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1734; - ::apache::thrift::protocol::TType _ktype1735; - ::apache::thrift::protocol::TType _vtype1736; - xfer += iprot->readMapBegin(_ktype1735, _vtype1736, _size1734); - uint32_t _i1738; - for (_i1738 = 0; _i1738 < _size1734; ++_i1738) + uint32_t _size1742; + ::apache::thrift::protocol::TType _ktype1743; + ::apache::thrift::protocol::TType _vtype1744; + xfer += iprot->readMapBegin(_ktype1743, _vtype1744, _size1742); + uint32_t _i1746; + for (_i1746 = 0; _i1746 < _size1742; ++_i1746) { - std::string _key1739; - xfer += iprot->readString(_key1739); - std::string& _val1740 = (*(this->success))[_key1739]; - xfer += iprot->readString(_val1740); + std::string _key1747; + xfer += iprot->readString(_key1747); + std::string& _val1748 = (*(this->success))[_key1747]; + xfer += iprot->readString(_val1748); } xfer += iprot->readMapEnd(); } @@ -23842,17 +23842,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1741; - ::apache::thrift::protocol::TType _ktype1742; - ::apache::thrift::protocol::TType _vtype1743; - xfer += iprot->readMapBegin(_ktype1742, _vtype1743, _size1741); - uint32_t _i1745; - for (_i1745 = 0; _i1745 < _size1741; ++_i1745) + uint32_t _size1749; + ::apache::thrift::protocol::TType _ktype1750; + ::apache::thrift::protocol::TType _vtype1751; + xfer += iprot->readMapBegin(_ktype1750, _vtype1751, _size1749); + uint32_t _i1753; + for (_i1753 = 0; _i1753 < _size1749; ++_i1753) { - std::string _key1746; - xfer += iprot->readString(_key1746); - std::string& _val1747 = this->part_vals[_key1746]; - xfer += iprot->readString(_val1747); + std::string _key1754; + xfer += iprot->readString(_key1754); + std::string& _val1755 = this->part_vals[_key1754]; + xfer += iprot->readString(_val1755); } xfer += iprot->readMapEnd(); } @@ -23863,9 +23863,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1748; - xfer += iprot->readI32(ecast1748); - this->eventType = (PartitionEventType::type)ecast1748; + int32_t ecast1756; + xfer += iprot->readI32(ecast1756); + this->eventType = (PartitionEventType::type)ecast1756; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -23899,11 +23899,11 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::write(::apache::thrift: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::map ::const_iterator _iter1749; - for (_iter1749 = this->part_vals.begin(); _iter1749 != this->part_vals.end(); ++_iter1749) + std::map ::const_iterator _iter1757; + for (_iter1757 = this->part_vals.begin(); _iter1757 != this->part_vals.end(); ++_iter1757) { - xfer += oprot->writeString(_iter1749->first); - xfer += oprot->writeString(_iter1749->second); + xfer += oprot->writeString(_iter1757->first); + xfer += oprot->writeString(_iter1757->second); } xfer += oprot->writeMapEnd(); } @@ -23939,11 +23939,11 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_pargs::write(::apache::thrift xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::map ::const_iterator _iter1750; - for (_iter1750 = (*(this->part_vals)).begin(); _iter1750 != (*(this->part_vals)).end(); ++_iter1750) + std::map ::const_iterator _iter1758; + for (_iter1758 = (*(this->part_vals)).begin(); _iter1758 != (*(this->part_vals)).end(); ++_iter1758) { - xfer += oprot->writeString(_iter1750->first); - xfer += oprot->writeString(_iter1750->second); + xfer += oprot->writeString(_iter1758->first); + xfer += oprot->writeString(_iter1758->second); } xfer += oprot->writeMapEnd(); } @@ -24212,17 +24212,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1751; - ::apache::thrift::protocol::TType _ktype1752; - ::apache::thrift::protocol::TType _vtype1753; - xfer += iprot->readMapBegin(_ktype1752, _vtype1753, _size1751); - uint32_t _i1755; - for (_i1755 = 0; _i1755 < _size1751; ++_i1755) + uint32_t _size1759; + ::apache::thrift::protocol::TType _ktype1760; + ::apache::thrift::protocol::TType _vtype1761; + xfer += iprot->readMapBegin(_ktype1760, _vtype1761, _size1759); + uint32_t _i1763; + for (_i1763 = 0; _i1763 < _size1759; ++_i1763) { - std::string _key1756; - xfer += iprot->readString(_key1756); - std::string& _val1757 = this->part_vals[_key1756]; - xfer += iprot->readString(_val1757); + std::string _key1764; + xfer += iprot->readString(_key1764); + std::string& _val1765 = this->part_vals[_key1764]; + xfer += iprot->readString(_val1765); } xfer += iprot->readMapEnd(); } @@ -24233,9 +24233,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1758; - xfer += iprot->readI32(ecast1758); - this->eventType = (PartitionEventType::type)ecast1758; + int32_t ecast1766; + xfer += iprot->readI32(ecast1766); + this->eventType = (PartitionEventType::type)ecast1766; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -24269,11 +24269,11 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::write(::apache::thr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::map ::const_iterator _iter1759; - for (_iter1759 = this->part_vals.begin(); _iter1759 != this->part_vals.end(); ++_iter1759) + std::map ::const_iterator _iter1767; + for (_iter1767 = this->part_vals.begin(); _iter1767 != this->part_vals.end(); ++_iter1767) { - xfer += oprot->writeString(_iter1759->first); - xfer += oprot->writeString(_iter1759->second); + xfer += oprot->writeString(_iter1767->first); + xfer += oprot->writeString(_iter1767->second); } xfer += oprot->writeMapEnd(); } @@ -24309,11 +24309,11 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_pargs::write(::apache::th xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::map ::const_iterator _iter1760; - for (_iter1760 = (*(this->part_vals)).begin(); _iter1760 != (*(this->part_vals)).end(); ++_iter1760) + std::map ::const_iterator _iter1768; + for (_iter1768 = (*(this->part_vals)).begin(); _iter1768 != (*(this->part_vals)).end(); ++_iter1768) { - xfer += oprot->writeString(_iter1760->first); - xfer += oprot->writeString(_iter1760->second); + xfer += oprot->writeString(_iter1768->first); + xfer += oprot->writeString(_iter1768->second); } xfer += oprot->writeMapEnd(); } @@ -29462,14 +29462,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1761; - ::apache::thrift::protocol::TType _etype1764; - xfer += iprot->readListBegin(_etype1764, _size1761); - this->success.resize(_size1761); - uint32_t _i1765; - for (_i1765 = 0; _i1765 < _size1761; ++_i1765) + uint32_t _size1769; + ::apache::thrift::protocol::TType _etype1772; + xfer += iprot->readListBegin(_etype1772, _size1769); + this->success.resize(_size1769); + uint32_t _i1773; + for (_i1773 = 0; _i1773 < _size1769; ++_i1773) { - xfer += iprot->readString(this->success[_i1765]); + xfer += iprot->readString(this->success[_i1773]); } xfer += iprot->readListEnd(); } @@ -29508,10 +29508,10 @@ uint32_t ThriftHiveMetastore_get_functions_result::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1766; - for (_iter1766 = this->success.begin(); _iter1766 != this->success.end(); ++_iter1766) + std::vector ::const_iterator _iter1774; + for (_iter1774 = this->success.begin(); _iter1774 != this->success.end(); ++_iter1774) { - xfer += oprot->writeString((*_iter1766)); + xfer += oprot->writeString((*_iter1774)); } xfer += oprot->writeListEnd(); } @@ -29556,14 +29556,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1767; - ::apache::thrift::protocol::TType _etype1770; - xfer += iprot->readListBegin(_etype1770, _size1767); - (*(this->success)).resize(_size1767); - uint32_t _i1771; - for (_i1771 = 0; _i1771 < _size1767; ++_i1771) + uint32_t _size1775; + ::apache::thrift::protocol::TType _etype1778; + xfer += iprot->readListBegin(_etype1778, _size1775); + (*(this->success)).resize(_size1775); + uint32_t _i1779; + for (_i1779 = 0; _i1779 < _size1775; ++_i1779) { - xfer += iprot->readString((*(this->success))[_i1771]); + xfer += iprot->readString((*(this->success))[_i1779]); } xfer += iprot->readListEnd(); } @@ -30523,14 +30523,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1772; - ::apache::thrift::protocol::TType _etype1775; - xfer += iprot->readListBegin(_etype1775, _size1772); - this->success.resize(_size1772); - uint32_t _i1776; - for (_i1776 = 0; _i1776 < _size1772; ++_i1776) + uint32_t _size1780; + ::apache::thrift::protocol::TType _etype1783; + xfer += iprot->readListBegin(_etype1783, _size1780); + this->success.resize(_size1780); + uint32_t _i1784; + for (_i1784 = 0; _i1784 < _size1780; ++_i1784) { - xfer += iprot->readString(this->success[_i1776]); + xfer += iprot->readString(this->success[_i1784]); } xfer += iprot->readListEnd(); } @@ -30569,10 +30569,10 @@ uint32_t ThriftHiveMetastore_get_role_names_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1777; - for (_iter1777 = this->success.begin(); _iter1777 != this->success.end(); ++_iter1777) + std::vector ::const_iterator _iter1785; + for (_iter1785 = this->success.begin(); _iter1785 != this->success.end(); ++_iter1785) { - xfer += oprot->writeString((*_iter1777)); + xfer += oprot->writeString((*_iter1785)); } xfer += oprot->writeListEnd(); } @@ -30617,14 +30617,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1778; - ::apache::thrift::protocol::TType _etype1781; - xfer += iprot->readListBegin(_etype1781, _size1778); - (*(this->success)).resize(_size1778); - uint32_t _i1782; - for (_i1782 = 0; _i1782 < _size1778; ++_i1782) + uint32_t _size1786; + ::apache::thrift::protocol::TType _etype1789; + xfer += iprot->readListBegin(_etype1789, _size1786); + (*(this->success)).resize(_size1786); + uint32_t _i1790; + for (_i1790 = 0; _i1790 < _size1786; ++_i1790) { - xfer += iprot->readString((*(this->success))[_i1782]); + xfer += iprot->readString((*(this->success))[_i1790]); } xfer += iprot->readListEnd(); } @@ -30697,9 +30697,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1783; - xfer += iprot->readI32(ecast1783); - this->principal_type = (PrincipalType::type)ecast1783; + int32_t ecast1791; + xfer += iprot->readI32(ecast1791); + this->principal_type = (PrincipalType::type)ecast1791; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -30715,9 +30715,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1784; - xfer += iprot->readI32(ecast1784); - this->grantorType = (PrincipalType::type)ecast1784; + int32_t ecast1792; + xfer += iprot->readI32(ecast1792); + this->grantorType = (PrincipalType::type)ecast1792; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -30988,9 +30988,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1785; - xfer += iprot->readI32(ecast1785); - this->principal_type = (PrincipalType::type)ecast1785; + int32_t ecast1793; + xfer += iprot->readI32(ecast1793); + this->principal_type = (PrincipalType::type)ecast1793; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -31221,9 +31221,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1786; - xfer += iprot->readI32(ecast1786); - this->principal_type = (PrincipalType::type)ecast1786; + int32_t ecast1794; + xfer += iprot->readI32(ecast1794); + this->principal_type = (PrincipalType::type)ecast1794; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -31312,14 +31312,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1787; - ::apache::thrift::protocol::TType _etype1790; - xfer += iprot->readListBegin(_etype1790, _size1787); - this->success.resize(_size1787); - uint32_t _i1791; - for (_i1791 = 0; _i1791 < _size1787; ++_i1791) + uint32_t _size1795; + ::apache::thrift::protocol::TType _etype1798; + xfer += iprot->readListBegin(_etype1798, _size1795); + this->success.resize(_size1795); + uint32_t _i1799; + for (_i1799 = 0; _i1799 < _size1795; ++_i1799) { - xfer += this->success[_i1791].read(iprot); + xfer += this->success[_i1799].read(iprot); } xfer += iprot->readListEnd(); } @@ -31358,10 +31358,10 @@ uint32_t ThriftHiveMetastore_list_roles_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1792; - for (_iter1792 = this->success.begin(); _iter1792 != this->success.end(); ++_iter1792) + std::vector ::const_iterator _iter1800; + for (_iter1800 = this->success.begin(); _iter1800 != this->success.end(); ++_iter1800) { - xfer += (*_iter1792).write(oprot); + xfer += (*_iter1800).write(oprot); } xfer += oprot->writeListEnd(); } @@ -31406,14 +31406,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1793; - ::apache::thrift::protocol::TType _etype1796; - xfer += iprot->readListBegin(_etype1796, _size1793); - (*(this->success)).resize(_size1793); - uint32_t _i1797; - for (_i1797 = 0; _i1797 < _size1793; ++_i1797) + uint32_t _size1801; + ::apache::thrift::protocol::TType _etype1804; + xfer += iprot->readListBegin(_etype1804, _size1801); + (*(this->success)).resize(_size1801); + uint32_t _i1805; + for (_i1805 = 0; _i1805 < _size1801; ++_i1805) { - xfer += (*(this->success))[_i1797].read(iprot); + xfer += (*(this->success))[_i1805].read(iprot); } xfer += iprot->readListEnd(); } @@ -32109,14 +32109,14 @@ uint32_t ThriftHiveMetastore_get_privilege_set_args::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1798; - ::apache::thrift::protocol::TType _etype1801; - xfer += iprot->readListBegin(_etype1801, _size1798); - this->group_names.resize(_size1798); - uint32_t _i1802; - for (_i1802 = 0; _i1802 < _size1798; ++_i1802) + uint32_t _size1806; + ::apache::thrift::protocol::TType _etype1809; + xfer += iprot->readListBegin(_etype1809, _size1806); + this->group_names.resize(_size1806); + uint32_t _i1810; + for (_i1810 = 0; _i1810 < _size1806; ++_i1810) { - xfer += iprot->readString(this->group_names[_i1802]); + xfer += iprot->readString(this->group_names[_i1810]); } xfer += iprot->readListEnd(); } @@ -32153,10 +32153,10 @@ uint32_t ThriftHiveMetastore_get_privilege_set_args::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1803; - for (_iter1803 = this->group_names.begin(); _iter1803 != this->group_names.end(); ++_iter1803) + std::vector ::const_iterator _iter1811; + for (_iter1811 = this->group_names.begin(); _iter1811 != this->group_names.end(); ++_iter1811) { - xfer += oprot->writeString((*_iter1803)); + xfer += oprot->writeString((*_iter1811)); } xfer += oprot->writeListEnd(); } @@ -32188,10 +32188,10 @@ uint32_t ThriftHiveMetastore_get_privilege_set_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1804; - for (_iter1804 = (*(this->group_names)).begin(); _iter1804 != (*(this->group_names)).end(); ++_iter1804) + std::vector ::const_iterator _iter1812; + for (_iter1812 = (*(this->group_names)).begin(); _iter1812 != (*(this->group_names)).end(); ++_iter1812) { - xfer += oprot->writeString((*_iter1804)); + xfer += oprot->writeString((*_iter1812)); } xfer += oprot->writeListEnd(); } @@ -32366,9 +32366,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1805; - xfer += iprot->readI32(ecast1805); - this->principal_type = (PrincipalType::type)ecast1805; + int32_t ecast1813; + xfer += iprot->readI32(ecast1813); + this->principal_type = (PrincipalType::type)ecast1813; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -32473,14 +32473,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1806; - ::apache::thrift::protocol::TType _etype1809; - xfer += iprot->readListBegin(_etype1809, _size1806); - this->success.resize(_size1806); - uint32_t _i1810; - for (_i1810 = 0; _i1810 < _size1806; ++_i1810) + uint32_t _size1814; + ::apache::thrift::protocol::TType _etype1817; + xfer += iprot->readListBegin(_etype1817, _size1814); + this->success.resize(_size1814); + uint32_t _i1818; + for (_i1818 = 0; _i1818 < _size1814; ++_i1818) { - xfer += this->success[_i1810].read(iprot); + xfer += this->success[_i1818].read(iprot); } xfer += iprot->readListEnd(); } @@ -32519,10 +32519,10 @@ uint32_t ThriftHiveMetastore_list_privileges_result::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1811; - for (_iter1811 = this->success.begin(); _iter1811 != this->success.end(); ++_iter1811) + std::vector ::const_iterator _iter1819; + for (_iter1819 = this->success.begin(); _iter1819 != this->success.end(); ++_iter1819) { - xfer += (*_iter1811).write(oprot); + xfer += (*_iter1819).write(oprot); } xfer += oprot->writeListEnd(); } @@ -32567,14 +32567,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1812; - ::apache::thrift::protocol::TType _etype1815; - xfer += iprot->readListBegin(_etype1815, _size1812); - (*(this->success)).resize(_size1812); - uint32_t _i1816; - for (_i1816 = 0; _i1816 < _size1812; ++_i1816) + uint32_t _size1820; + ::apache::thrift::protocol::TType _etype1823; + xfer += iprot->readListBegin(_etype1823, _size1820); + (*(this->success)).resize(_size1820); + uint32_t _i1824; + for (_i1824 = 0; _i1824 < _size1820; ++_i1824) { - xfer += (*(this->success))[_i1816].read(iprot); + xfer += (*(this->success))[_i1824].read(iprot); } xfer += iprot->readListEnd(); } @@ -33485,14 +33485,14 @@ uint32_t ThriftHiveMetastore_set_ugi_args::read(::apache::thrift::protocol::TPro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1817; - ::apache::thrift::protocol::TType _etype1820; - xfer += iprot->readListBegin(_etype1820, _size1817); - this->group_names.resize(_size1817); - uint32_t _i1821; - for (_i1821 = 0; _i1821 < _size1817; ++_i1821) + uint32_t _size1825; + ::apache::thrift::protocol::TType _etype1828; + xfer += iprot->readListBegin(_etype1828, _size1825); + this->group_names.resize(_size1825); + uint32_t _i1829; + for (_i1829 = 0; _i1829 < _size1825; ++_i1829) { - xfer += iprot->readString(this->group_names[_i1821]); + xfer += iprot->readString(this->group_names[_i1829]); } xfer += iprot->readListEnd(); } @@ -33525,10 +33525,10 @@ uint32_t ThriftHiveMetastore_set_ugi_args::write(::apache::thrift::protocol::TPr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1822; - for (_iter1822 = this->group_names.begin(); _iter1822 != this->group_names.end(); ++_iter1822) + std::vector ::const_iterator _iter1830; + for (_iter1830 = this->group_names.begin(); _iter1830 != this->group_names.end(); ++_iter1830) { - xfer += oprot->writeString((*_iter1822)); + xfer += oprot->writeString((*_iter1830)); } xfer += oprot->writeListEnd(); } @@ -33556,10 +33556,10 @@ uint32_t ThriftHiveMetastore_set_ugi_pargs::write(::apache::thrift::protocol::TP xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1823; - for (_iter1823 = (*(this->group_names)).begin(); _iter1823 != (*(this->group_names)).end(); ++_iter1823) + std::vector ::const_iterator _iter1831; + for (_iter1831 = (*(this->group_names)).begin(); _iter1831 != (*(this->group_names)).end(); ++_iter1831) { - xfer += oprot->writeString((*_iter1823)); + xfer += oprot->writeString((*_iter1831)); } xfer += oprot->writeListEnd(); } @@ -33600,14 +33600,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1824; - ::apache::thrift::protocol::TType _etype1827; - xfer += iprot->readListBegin(_etype1827, _size1824); - this->success.resize(_size1824); - uint32_t _i1828; - for (_i1828 = 0; _i1828 < _size1824; ++_i1828) + uint32_t _size1832; + ::apache::thrift::protocol::TType _etype1835; + xfer += iprot->readListBegin(_etype1835, _size1832); + this->success.resize(_size1832); + uint32_t _i1836; + for (_i1836 = 0; _i1836 < _size1832; ++_i1836) { - xfer += iprot->readString(this->success[_i1828]); + xfer += iprot->readString(this->success[_i1836]); } xfer += iprot->readListEnd(); } @@ -33646,10 +33646,10 @@ uint32_t ThriftHiveMetastore_set_ugi_result::write(::apache::thrift::protocol::T xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1829; - for (_iter1829 = this->success.begin(); _iter1829 != this->success.end(); ++_iter1829) + std::vector ::const_iterator _iter1837; + for (_iter1837 = this->success.begin(); _iter1837 != this->success.end(); ++_iter1837) { - xfer += oprot->writeString((*_iter1829)); + xfer += oprot->writeString((*_iter1837)); } xfer += oprot->writeListEnd(); } @@ -33694,14 +33694,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1830; - ::apache::thrift::protocol::TType _etype1833; - xfer += iprot->readListBegin(_etype1833, _size1830); - (*(this->success)).resize(_size1830); - uint32_t _i1834; - for (_i1834 = 0; _i1834 < _size1830; ++_i1834) + uint32_t _size1838; + ::apache::thrift::protocol::TType _etype1841; + xfer += iprot->readListBegin(_etype1841, _size1838); + (*(this->success)).resize(_size1838); + uint32_t _i1842; + for (_i1842 = 0; _i1842 < _size1838; ++_i1842) { - xfer += iprot->readString((*(this->success))[_i1834]); + xfer += iprot->readString((*(this->success))[_i1842]); } xfer += iprot->readListEnd(); } @@ -35012,14 +35012,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1835; - ::apache::thrift::protocol::TType _etype1838; - xfer += iprot->readListBegin(_etype1838, _size1835); - this->success.resize(_size1835); - uint32_t _i1839; - for (_i1839 = 0; _i1839 < _size1835; ++_i1839) + uint32_t _size1843; + ::apache::thrift::protocol::TType _etype1846; + xfer += iprot->readListBegin(_etype1846, _size1843); + this->success.resize(_size1843); + uint32_t _i1847; + for (_i1847 = 0; _i1847 < _size1843; ++_i1847) { - xfer += iprot->readString(this->success[_i1839]); + xfer += iprot->readString(this->success[_i1847]); } xfer += iprot->readListEnd(); } @@ -35050,10 +35050,10 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1840; - for (_iter1840 = this->success.begin(); _iter1840 != this->success.end(); ++_iter1840) + std::vector ::const_iterator _iter1848; + for (_iter1848 = this->success.begin(); _iter1848 != this->success.end(); ++_iter1848) { - xfer += oprot->writeString((*_iter1840)); + xfer += oprot->writeString((*_iter1848)); } xfer += oprot->writeListEnd(); } @@ -35094,14 +35094,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1841; - ::apache::thrift::protocol::TType _etype1844; - xfer += iprot->readListBegin(_etype1844, _size1841); - (*(this->success)).resize(_size1841); - uint32_t _i1845; - for (_i1845 = 0; _i1845 < _size1841; ++_i1845) + uint32_t _size1849; + ::apache::thrift::protocol::TType _etype1852; + xfer += iprot->readListBegin(_etype1852, _size1849); + (*(this->success)).resize(_size1849); + uint32_t _i1853; + for (_i1853 = 0; _i1853 < _size1849; ++_i1853) { - xfer += iprot->readString((*(this->success))[_i1845]); + xfer += iprot->readString((*(this->success))[_i1853]); } xfer += iprot->readListEnd(); } @@ -35827,14 +35827,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1846; - ::apache::thrift::protocol::TType _etype1849; - xfer += iprot->readListBegin(_etype1849, _size1846); - this->success.resize(_size1846); - uint32_t _i1850; - for (_i1850 = 0; _i1850 < _size1846; ++_i1850) + uint32_t _size1854; + ::apache::thrift::protocol::TType _etype1857; + xfer += iprot->readListBegin(_etype1857, _size1854); + this->success.resize(_size1854); + uint32_t _i1858; + for (_i1858 = 0; _i1858 < _size1854; ++_i1858) { - xfer += iprot->readString(this->success[_i1850]); + xfer += iprot->readString(this->success[_i1858]); } xfer += iprot->readListEnd(); } @@ -35865,10 +35865,10 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1851; - for (_iter1851 = this->success.begin(); _iter1851 != this->success.end(); ++_iter1851) + std::vector ::const_iterator _iter1859; + for (_iter1859 = this->success.begin(); _iter1859 != this->success.end(); ++_iter1859) { - xfer += oprot->writeString((*_iter1851)); + xfer += oprot->writeString((*_iter1859)); } xfer += oprot->writeListEnd(); } @@ -35909,14 +35909,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1852; - ::apache::thrift::protocol::TType _etype1855; - xfer += iprot->readListBegin(_etype1855, _size1852); - (*(this->success)).resize(_size1852); - uint32_t _i1856; - for (_i1856 = 0; _i1856 < _size1852; ++_i1856) + uint32_t _size1860; + ::apache::thrift::protocol::TType _etype1863; + xfer += iprot->readListBegin(_etype1863, _size1860); + (*(this->success)).resize(_size1860); + uint32_t _i1864; + for (_i1864 = 0; _i1864 < _size1860; ++_i1864) { - xfer += iprot->readString((*(this->success))[_i1856]); + xfer += iprot->readString((*(this->success))[_i1864]); } xfer += iprot->readListEnd(); } @@ -47713,14 +47713,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1857; - ::apache::thrift::protocol::TType _etype1860; - xfer += iprot->readListBegin(_etype1860, _size1857); - this->success.resize(_size1857); - uint32_t _i1861; - for (_i1861 = 0; _i1861 < _size1857; ++_i1861) + uint32_t _size1865; + ::apache::thrift::protocol::TType _etype1868; + xfer += iprot->readListBegin(_etype1868, _size1865); + this->success.resize(_size1865); + uint32_t _i1869; + for (_i1869 = 0; _i1869 < _size1865; ++_i1869) { - xfer += this->success[_i1861].read(iprot); + xfer += this->success[_i1869].read(iprot); } xfer += iprot->readListEnd(); } @@ -47767,10 +47767,10 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_result::write(::apache::thr xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1862; - for (_iter1862 = this->success.begin(); _iter1862 != this->success.end(); ++_iter1862) + std::vector ::const_iterator _iter1870; + for (_iter1870 = this->success.begin(); _iter1870 != this->success.end(); ++_iter1870) { - xfer += (*_iter1862).write(oprot); + xfer += (*_iter1870).write(oprot); } xfer += oprot->writeListEnd(); } @@ -47819,14 +47819,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1863; - ::apache::thrift::protocol::TType _etype1866; - xfer += iprot->readListBegin(_etype1866, _size1863); - (*(this->success)).resize(_size1863); - uint32_t _i1867; - for (_i1867 = 0; _i1867 < _size1863; ++_i1867) + uint32_t _size1871; + ::apache::thrift::protocol::TType _etype1874; + xfer += iprot->readListBegin(_etype1874, _size1871); + (*(this->success)).resize(_size1871); + uint32_t _i1875; + for (_i1875 = 0; _i1875 < _size1871; ++_i1875) { - xfer += (*(this->success))[_i1867].read(iprot); + xfer += (*(this->success))[_i1875].read(iprot); } xfer += iprot->readListEnd(); } @@ -49879,14 +49879,14 @@ uint32_t ThriftHiveMetastore_get_runtime_stats_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1868; - ::apache::thrift::protocol::TType _etype1871; - xfer += iprot->readListBegin(_etype1871, _size1868); - this->success.resize(_size1868); - uint32_t _i1872; - for (_i1872 = 0; _i1872 < _size1868; ++_i1872) + uint32_t _size1876; + ::apache::thrift::protocol::TType _etype1879; + xfer += iprot->readListBegin(_etype1879, _size1876); + this->success.resize(_size1876); + uint32_t _i1880; + for (_i1880 = 0; _i1880 < _size1876; ++_i1880) { - xfer += this->success[_i1872].read(iprot); + xfer += this->success[_i1880].read(iprot); } xfer += iprot->readListEnd(); } @@ -49925,10 +49925,10 @@ uint32_t ThriftHiveMetastore_get_runtime_stats_result::write(::apache::thrift::p xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1873; - for (_iter1873 = this->success.begin(); _iter1873 != this->success.end(); ++_iter1873) + std::vector ::const_iterator _iter1881; + for (_iter1881 = this->success.begin(); _iter1881 != this->success.end(); ++_iter1881) { - xfer += (*_iter1873).write(oprot); + xfer += (*_iter1881).write(oprot); } xfer += oprot->writeListEnd(); } @@ -49973,14 +49973,14 @@ uint32_t ThriftHiveMetastore_get_runtime_stats_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1874; - ::apache::thrift::protocol::TType _etype1877; - xfer += iprot->readListBegin(_etype1877, _size1874); - (*(this->success)).resize(_size1874); - uint32_t _i1878; - for (_i1878 = 0; _i1878 < _size1874; ++_i1878) + uint32_t _size1882; + ::apache::thrift::protocol::TType _etype1885; + xfer += iprot->readListBegin(_etype1885, _size1882); + (*(this->success)).resize(_size1882); + uint32_t _i1886; + for (_i1886 = 0; _i1886 < _size1882; ++_i1886) { - xfer += (*(this->success))[_i1878].read(iprot); + xfer += (*(this->success))[_i1886].read(iprot); } xfer += iprot->readListEnd(); } diff --git standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp index af975fce1b..29cb7e5322 100644 --- standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp +++ standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp @@ -215,6 +215,18 @@ const char* _kSchemaVersionStateNames[] = { }; const std::map _SchemaVersionState_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(8, _kSchemaVersionStateValues, _kSchemaVersionStateNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL)); +int _kIsolationLevelComplianceValues[] = { + IsolationLevelCompliance::YES, + IsolationLevelCompliance::NO, + IsolationLevelCompliance::UNKNOWN +}; +const char* _kIsolationLevelComplianceNames[] = { + "YES", + "NO", + "UNKNOWN" +}; +const std::map _IsolationLevelCompliance_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(3, _kIsolationLevelComplianceValues, _kIsolationLevelComplianceNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL)); + int _kFunctionTypeValues[] = { FunctionType::JAVA }; @@ -6309,6 +6321,21 @@ void Table::__set_ownerType(const PrincipalType::type val) { __isset.ownerType = true; } +void Table::__set_txnId(const int64_t val) { + this->txnId = val; +__isset.txnId = true; +} + +void Table::__set_validWriteIdList(const std::string& val) { + this->validWriteIdList = val; +__isset.validWriteIdList = true; +} + +void Table::__set_isStatsCompliant(const IsolationLevelCompliance::type val) { + this->isStatsCompliant = val; +__isset.isStatsCompliant = true; +} + uint32_t Table::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); @@ -6503,6 +6530,32 @@ uint32_t Table::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 19: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->txnId); + this->__isset.txnId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 20: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->validWriteIdList); + this->__isset.validWriteIdList = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 21: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast247; + xfer += iprot->readI32(ecast247); + this->isStatsCompliant = (IsolationLevelCompliance::type)ecast247; + this->__isset.isStatsCompliant = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -6551,10 +6604,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 _iter247; - for (_iter247 = this->partitionKeys.begin(); _iter247 != this->partitionKeys.end(); ++_iter247) + std::vector ::const_iterator _iter248; + for (_iter248 = this->partitionKeys.begin(); _iter248 != this->partitionKeys.end(); ++_iter248) { - xfer += (*_iter247).write(oprot); + xfer += (*_iter248).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6563,11 +6616,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 _iter248; - for (_iter248 = this->parameters.begin(); _iter248 != this->parameters.end(); ++_iter248) + std::map ::const_iterator _iter249; + for (_iter249 = this->parameters.begin(); _iter249 != this->parameters.end(); ++_iter249) { - xfer += oprot->writeString(_iter248->first); - xfer += oprot->writeString(_iter248->second); + xfer += oprot->writeString(_iter249->first); + xfer += oprot->writeString(_iter249->second); } xfer += oprot->writeMapEnd(); } @@ -6615,6 +6668,21 @@ uint32_t Table::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeI32((int32_t)this->ownerType); xfer += oprot->writeFieldEnd(); } + if (this->__isset.txnId) { + xfer += oprot->writeFieldBegin("txnId", ::apache::thrift::protocol::T_I64, 19); + xfer += oprot->writeI64(this->txnId); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.validWriteIdList) { + xfer += oprot->writeFieldBegin("validWriteIdList", ::apache::thrift::protocol::T_STRING, 20); + xfer += oprot->writeString(this->validWriteIdList); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.isStatsCompliant) { + xfer += oprot->writeFieldBegin("isStatsCompliant", ::apache::thrift::protocol::T_I32, 21); + xfer += oprot->writeI32((int32_t)this->isStatsCompliant); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -6640,31 +6708,13 @@ void swap(Table &a, Table &b) { swap(a.creationMetadata, b.creationMetadata); swap(a.catName, b.catName); swap(a.ownerType, b.ownerType); + swap(a.txnId, b.txnId); + swap(a.validWriteIdList, b.validWriteIdList); + swap(a.isStatsCompliant, b.isStatsCompliant); swap(a.__isset, b.__isset); } -Table::Table(const Table& other249) { - tableName = other249.tableName; - dbName = other249.dbName; - owner = other249.owner; - createTime = other249.createTime; - lastAccessTime = other249.lastAccessTime; - retention = other249.retention; - sd = other249.sd; - partitionKeys = other249.partitionKeys; - parameters = other249.parameters; - viewOriginalText = other249.viewOriginalText; - viewExpandedText = other249.viewExpandedText; - tableType = other249.tableType; - privileges = other249.privileges; - temporary = other249.temporary; - rewriteEnabled = other249.rewriteEnabled; - creationMetadata = other249.creationMetadata; - catName = other249.catName; - ownerType = other249.ownerType; - __isset = other249.__isset; -} -Table& Table::operator=(const Table& other250) { +Table::Table(const Table& other250) { tableName = other250.tableName; dbName = other250.dbName; owner = other250.owner; @@ -6683,7 +6733,34 @@ Table& Table::operator=(const Table& other250) { creationMetadata = other250.creationMetadata; catName = other250.catName; ownerType = other250.ownerType; + txnId = other250.txnId; + validWriteIdList = other250.validWriteIdList; + isStatsCompliant = other250.isStatsCompliant; __isset = other250.__isset; +} +Table& Table::operator=(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; + txnId = other251.txnId; + validWriteIdList = other251.validWriteIdList; + isStatsCompliant = other251.isStatsCompliant; + __isset = other251.__isset; return *this; } void Table::printTo(std::ostream& out) const { @@ -6707,6 +6784,9 @@ void Table::printTo(std::ostream& out) const { out << ", " << "creationMetadata="; (__isset.creationMetadata ? (out << to_string(creationMetadata)) : (out << "")); out << ", " << "catName="; (__isset.catName ? (out << to_string(catName)) : (out << "")); out << ", " << "ownerType="; (__isset.ownerType ? (out << to_string(ownerType)) : (out << "")); + out << ", " << "txnId="; (__isset.txnId ? (out << to_string(txnId)) : (out << "")); + out << ", " << "validWriteIdList="; (__isset.validWriteIdList ? (out << to_string(validWriteIdList)) : (out << "")); + out << ", " << "isStatsCompliant="; (__isset.isStatsCompliant ? (out << to_string(isStatsCompliant)) : (out << "")); out << ")"; } @@ -6753,6 +6833,21 @@ void Partition::__set_catName(const std::string& val) { __isset.catName = true; } +void Partition::__set_txnId(const int64_t val) { + this->txnId = val; +__isset.txnId = true; +} + +void Partition::__set_validWriteIdList(const std::string& val) { + this->validWriteIdList = val; +__isset.validWriteIdList = true; +} + +void Partition::__set_isStatsCompliant(const IsolationLevelCompliance::type val) { + this->isStatsCompliant = val; +__isset.isStatsCompliant = true; +} + uint32_t Partition::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); @@ -6778,14 +6873,14 @@ uint32_t Partition::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size251; - ::apache::thrift::protocol::TType _etype254; - xfer += iprot->readListBegin(_etype254, _size251); - this->values.resize(_size251); - uint32_t _i255; - for (_i255 = 0; _i255 < _size251; ++_i255) + uint32_t _size252; + ::apache::thrift::protocol::TType _etype255; + xfer += iprot->readListBegin(_etype255, _size252); + this->values.resize(_size252); + uint32_t _i256; + for (_i256 = 0; _i256 < _size252; ++_i256) { - xfer += iprot->readString(this->values[_i255]); + xfer += iprot->readString(this->values[_i256]); } xfer += iprot->readListEnd(); } @@ -6838,17 +6933,17 @@ uint32_t Partition::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->parameters.clear(); - uint32_t _size256; - ::apache::thrift::protocol::TType _ktype257; - ::apache::thrift::protocol::TType _vtype258; - xfer += iprot->readMapBegin(_ktype257, _vtype258, _size256); - uint32_t _i260; - for (_i260 = 0; _i260 < _size256; ++_i260) + uint32_t _size257; + ::apache::thrift::protocol::TType _ktype258; + ::apache::thrift::protocol::TType _vtype259; + xfer += iprot->readMapBegin(_ktype258, _vtype259, _size257); + uint32_t _i261; + for (_i261 = 0; _i261 < _size257; ++_i261) { - std::string _key261; - xfer += iprot->readString(_key261); - std::string& _val262 = this->parameters[_key261]; - xfer += iprot->readString(_val262); + std::string _key262; + xfer += iprot->readString(_key262); + std::string& _val263 = this->parameters[_key262]; + xfer += iprot->readString(_val263); } xfer += iprot->readMapEnd(); } @@ -6873,6 +6968,32 @@ uint32_t Partition::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 10: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->txnId); + this->__isset.txnId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 11: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->validWriteIdList); + this->__isset.validWriteIdList = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 12: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast264; + xfer += iprot->readI32(ecast264); + this->isStatsCompliant = (IsolationLevelCompliance::type)ecast264; + this->__isset.isStatsCompliant = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -6893,10 +7014,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 _iter263; - for (_iter263 = this->values.begin(); _iter263 != this->values.end(); ++_iter263) + std::vector ::const_iterator _iter265; + for (_iter265 = this->values.begin(); _iter265 != this->values.end(); ++_iter265) { - xfer += oprot->writeString((*_iter263)); + xfer += oprot->writeString((*_iter265)); } xfer += oprot->writeListEnd(); } @@ -6925,11 +7046,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 _iter264; - for (_iter264 = this->parameters.begin(); _iter264 != this->parameters.end(); ++_iter264) + std::map ::const_iterator _iter266; + for (_iter266 = this->parameters.begin(); _iter266 != this->parameters.end(); ++_iter266) { - xfer += oprot->writeString(_iter264->first); - xfer += oprot->writeString(_iter264->second); + xfer += oprot->writeString(_iter266->first); + xfer += oprot->writeString(_iter266->second); } xfer += oprot->writeMapEnd(); } @@ -6945,6 +7066,21 @@ uint32_t Partition::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeString(this->catName); xfer += oprot->writeFieldEnd(); } + if (this->__isset.txnId) { + xfer += oprot->writeFieldBegin("txnId", ::apache::thrift::protocol::T_I64, 10); + xfer += oprot->writeI64(this->txnId); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.validWriteIdList) { + xfer += oprot->writeFieldBegin("validWriteIdList", ::apache::thrift::protocol::T_STRING, 11); + xfer += oprot->writeString(this->validWriteIdList); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.isStatsCompliant) { + xfer += oprot->writeFieldBegin("isStatsCompliant", ::apache::thrift::protocol::T_I32, 12); + xfer += oprot->writeI32((int32_t)this->isStatsCompliant); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -6961,32 +7097,41 @@ void swap(Partition &a, Partition &b) { swap(a.parameters, b.parameters); swap(a.privileges, b.privileges); swap(a.catName, b.catName); + swap(a.txnId, b.txnId); + swap(a.validWriteIdList, b.validWriteIdList); + swap(a.isStatsCompliant, b.isStatsCompliant); swap(a.__isset, b.__isset); } -Partition::Partition(const Partition& other265) { - values = other265.values; - dbName = other265.dbName; - tableName = other265.tableName; - createTime = other265.createTime; - lastAccessTime = other265.lastAccessTime; - sd = other265.sd; - parameters = other265.parameters; - privileges = other265.privileges; - catName = other265.catName; - __isset = other265.__isset; -} -Partition& Partition::operator=(const Partition& other266) { - values = other266.values; - dbName = other266.dbName; - tableName = other266.tableName; - createTime = other266.createTime; - lastAccessTime = other266.lastAccessTime; - sd = other266.sd; - parameters = other266.parameters; - privileges = other266.privileges; - catName = other266.catName; - __isset = other266.__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; + txnId = other267.txnId; + validWriteIdList = other267.validWriteIdList; + isStatsCompliant = other267.isStatsCompliant; + __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; + txnId = other268.txnId; + validWriteIdList = other268.validWriteIdList; + isStatsCompliant = other268.isStatsCompliant; + __isset = other268.__isset; return *this; } void Partition::printTo(std::ostream& out) const { @@ -7001,6 +7146,9 @@ void Partition::printTo(std::ostream& out) const { out << ", " << "parameters=" << to_string(parameters); out << ", " << "privileges="; (__isset.privileges ? (out << to_string(privileges)) : (out << "")); out << ", " << "catName="; (__isset.catName ? (out << to_string(catName)) : (out << "")); + out << ", " << "txnId="; (__isset.txnId ? (out << to_string(txnId)) : (out << "")); + out << ", " << "validWriteIdList="; (__isset.validWriteIdList ? (out << to_string(validWriteIdList)) : (out << "")); + out << ", " << "isStatsCompliant="; (__isset.isStatsCompliant ? (out << to_string(isStatsCompliant)) : (out << "")); out << ")"; } @@ -7059,14 +7207,14 @@ uint32_t PartitionWithoutSD::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size267; - ::apache::thrift::protocol::TType _etype270; - xfer += iprot->readListBegin(_etype270, _size267); - this->values.resize(_size267); - uint32_t _i271; - for (_i271 = 0; _i271 < _size267; ++_i271) + 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) { - xfer += iprot->readString(this->values[_i271]); + xfer += iprot->readString(this->values[_i273]); } xfer += iprot->readListEnd(); } @@ -7103,17 +7251,17 @@ uint32_t PartitionWithoutSD::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_MAP) { { this->parameters.clear(); - uint32_t _size272; - ::apache::thrift::protocol::TType _ktype273; - ::apache::thrift::protocol::TType _vtype274; - xfer += iprot->readMapBegin(_ktype273, _vtype274, _size272); - uint32_t _i276; - for (_i276 = 0; _i276 < _size272; ++_i276) + 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) { - std::string _key277; - xfer += iprot->readString(_key277); - std::string& _val278 = this->parameters[_key277]; - xfer += iprot->readString(_val278); + std::string _key279; + xfer += iprot->readString(_key279); + std::string& _val280 = this->parameters[_key279]; + xfer += iprot->readString(_val280); } xfer += iprot->readMapEnd(); } @@ -7150,10 +7298,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 _iter279; - for (_iter279 = this->values.begin(); _iter279 != this->values.end(); ++_iter279) + std::vector ::const_iterator _iter281; + for (_iter281 = this->values.begin(); _iter281 != this->values.end(); ++_iter281) { - xfer += oprot->writeString((*_iter279)); + xfer += oprot->writeString((*_iter281)); } xfer += oprot->writeListEnd(); } @@ -7174,11 +7322,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 _iter280; - for (_iter280 = this->parameters.begin(); _iter280 != this->parameters.end(); ++_iter280) + std::map ::const_iterator _iter282; + for (_iter282 = this->parameters.begin(); _iter282 != this->parameters.end(); ++_iter282) { - xfer += oprot->writeString(_iter280->first); - xfer += oprot->writeString(_iter280->second); + xfer += oprot->writeString(_iter282->first); + xfer += oprot->writeString(_iter282->second); } xfer += oprot->writeMapEnd(); } @@ -7205,23 +7353,23 @@ void swap(PartitionWithoutSD &a, PartitionWithoutSD &b) { swap(a.__isset, b.__isset); } -PartitionWithoutSD::PartitionWithoutSD(const PartitionWithoutSD& other281) { - values = other281.values; - createTime = other281.createTime; - lastAccessTime = other281.lastAccessTime; - relativePath = other281.relativePath; - parameters = other281.parameters; - privileges = other281.privileges; - __isset = other281.__isset; -} -PartitionWithoutSD& PartitionWithoutSD::operator=(const PartitionWithoutSD& other282) { - values = other282.values; - createTime = other282.createTime; - lastAccessTime = other282.lastAccessTime; - relativePath = other282.relativePath; - parameters = other282.parameters; - privileges = other282.privileges; - __isset = other282.__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; return *this; } void PartitionWithoutSD::printTo(std::ostream& out) const { @@ -7274,14 +7422,14 @@ uint32_t PartitionSpecWithSharedSD::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size283; - ::apache::thrift::protocol::TType _etype286; - xfer += iprot->readListBegin(_etype286, _size283); - this->partitions.resize(_size283); - uint32_t _i287; - for (_i287 = 0; _i287 < _size283; ++_i287) + uint32_t _size285; + ::apache::thrift::protocol::TType _etype288; + xfer += iprot->readListBegin(_etype288, _size285); + this->partitions.resize(_size285); + uint32_t _i289; + for (_i289 = 0; _i289 < _size285; ++_i289) { - xfer += this->partitions[_i287].read(iprot); + xfer += this->partitions[_i289].read(iprot); } xfer += iprot->readListEnd(); } @@ -7318,10 +7466,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 _iter288; - for (_iter288 = this->partitions.begin(); _iter288 != this->partitions.end(); ++_iter288) + std::vector ::const_iterator _iter290; + for (_iter290 = this->partitions.begin(); _iter290 != this->partitions.end(); ++_iter290) { - xfer += (*_iter288).write(oprot); + xfer += (*_iter290).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7343,15 +7491,15 @@ void swap(PartitionSpecWithSharedSD &a, PartitionSpecWithSharedSD &b) { swap(a.__isset, b.__isset); } -PartitionSpecWithSharedSD::PartitionSpecWithSharedSD(const PartitionSpecWithSharedSD& other289) { - partitions = other289.partitions; - sd = other289.sd; - __isset = other289.__isset; +PartitionSpecWithSharedSD::PartitionSpecWithSharedSD(const PartitionSpecWithSharedSD& other291) { + partitions = other291.partitions; + sd = other291.sd; + __isset = other291.__isset; } -PartitionSpecWithSharedSD& PartitionSpecWithSharedSD::operator=(const PartitionSpecWithSharedSD& other290) { - partitions = other290.partitions; - sd = other290.sd; - __isset = other290.__isset; +PartitionSpecWithSharedSD& PartitionSpecWithSharedSD::operator=(const PartitionSpecWithSharedSD& other292) { + partitions = other292.partitions; + sd = other292.sd; + __isset = other292.__isset; return *this; } void PartitionSpecWithSharedSD::printTo(std::ostream& out) const { @@ -7396,14 +7544,14 @@ uint32_t PartitionListComposingSpec::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size291; - ::apache::thrift::protocol::TType _etype294; - xfer += iprot->readListBegin(_etype294, _size291); - this->partitions.resize(_size291); - uint32_t _i295; - for (_i295 = 0; _i295 < _size291; ++_i295) + 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) { - xfer += this->partitions[_i295].read(iprot); + xfer += this->partitions[_i297].read(iprot); } xfer += iprot->readListEnd(); } @@ -7432,10 +7580,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 _iter296; - for (_iter296 = this->partitions.begin(); _iter296 != this->partitions.end(); ++_iter296) + std::vector ::const_iterator _iter298; + for (_iter298 = this->partitions.begin(); _iter298 != this->partitions.end(); ++_iter298) { - xfer += (*_iter296).write(oprot); + xfer += (*_iter298).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7452,13 +7600,13 @@ void swap(PartitionListComposingSpec &a, PartitionListComposingSpec &b) { swap(a.__isset, b.__isset); } -PartitionListComposingSpec::PartitionListComposingSpec(const PartitionListComposingSpec& other297) { - partitions = other297.partitions; - __isset = other297.__isset; +PartitionListComposingSpec::PartitionListComposingSpec(const PartitionListComposingSpec& other299) { + partitions = other299.partitions; + __isset = other299.__isset; } -PartitionListComposingSpec& PartitionListComposingSpec::operator=(const PartitionListComposingSpec& other298) { - partitions = other298.partitions; - __isset = other298.__isset; +PartitionListComposingSpec& PartitionListComposingSpec::operator=(const PartitionListComposingSpec& other300) { + partitions = other300.partitions; + __isset = other300.__isset; return *this; } void PartitionListComposingSpec::printTo(std::ostream& out) const { @@ -7500,6 +7648,21 @@ void PartitionSpec::__set_catName(const std::string& val) { __isset.catName = true; } +void PartitionSpec::__set_txnId(const int64_t val) { + this->txnId = val; +__isset.txnId = true; +} + +void PartitionSpec::__set_validWriteIdList(const std::string& val) { + this->validWriteIdList = val; +__isset.validWriteIdList = true; +} + +void PartitionSpec::__set_isStatsCompliant(const IsolationLevelCompliance::type val) { + this->isStatsCompliant = val; +__isset.isStatsCompliant = true; +} + uint32_t PartitionSpec::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); @@ -7569,6 +7732,32 @@ uint32_t PartitionSpec::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 7: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->txnId); + this->__isset.txnId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 8: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->validWriteIdList); + this->__isset.validWriteIdList = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 9: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast301; + xfer += iprot->readI32(ecast301); + this->isStatsCompliant = (IsolationLevelCompliance::type)ecast301; + this->__isset.isStatsCompliant = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -7613,6 +7802,21 @@ uint32_t PartitionSpec::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeString(this->catName); xfer += oprot->writeFieldEnd(); } + if (this->__isset.txnId) { + xfer += oprot->writeFieldBegin("txnId", ::apache::thrift::protocol::T_I64, 7); + xfer += oprot->writeI64(this->txnId); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.validWriteIdList) { + xfer += oprot->writeFieldBegin("validWriteIdList", ::apache::thrift::protocol::T_STRING, 8); + xfer += oprot->writeString(this->validWriteIdList); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.isStatsCompliant) { + xfer += oprot->writeFieldBegin("isStatsCompliant", ::apache::thrift::protocol::T_I32, 9); + xfer += oprot->writeI32((int32_t)this->isStatsCompliant); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -7626,26 +7830,35 @@ void swap(PartitionSpec &a, PartitionSpec &b) { swap(a.sharedSDPartitionSpec, b.sharedSDPartitionSpec); swap(a.partitionList, b.partitionList); swap(a.catName, b.catName); + swap(a.txnId, b.txnId); + swap(a.validWriteIdList, b.validWriteIdList); + swap(a.isStatsCompliant, b.isStatsCompliant); swap(a.__isset, b.__isset); } -PartitionSpec::PartitionSpec(const PartitionSpec& other299) { - dbName = other299.dbName; - tableName = other299.tableName; - rootPath = other299.rootPath; - sharedSDPartitionSpec = other299.sharedSDPartitionSpec; - partitionList = other299.partitionList; - catName = other299.catName; - __isset = other299.__isset; +PartitionSpec::PartitionSpec(const PartitionSpec& other302) { + dbName = other302.dbName; + tableName = other302.tableName; + rootPath = other302.rootPath; + sharedSDPartitionSpec = other302.sharedSDPartitionSpec; + partitionList = other302.partitionList; + catName = other302.catName; + txnId = other302.txnId; + validWriteIdList = other302.validWriteIdList; + isStatsCompliant = other302.isStatsCompliant; + __isset = other302.__isset; } -PartitionSpec& PartitionSpec::operator=(const PartitionSpec& other300) { - dbName = other300.dbName; - tableName = other300.tableName; - rootPath = other300.rootPath; - sharedSDPartitionSpec = other300.sharedSDPartitionSpec; - partitionList = other300.partitionList; - catName = other300.catName; - __isset = other300.__isset; +PartitionSpec& PartitionSpec::operator=(const PartitionSpec& other303) { + dbName = other303.dbName; + tableName = other303.tableName; + rootPath = other303.rootPath; + sharedSDPartitionSpec = other303.sharedSDPartitionSpec; + partitionList = other303.partitionList; + catName = other303.catName; + txnId = other303.txnId; + validWriteIdList = other303.validWriteIdList; + isStatsCompliant = other303.isStatsCompliant; + __isset = other303.__isset; return *this; } void PartitionSpec::printTo(std::ostream& out) const { @@ -7657,6 +7870,9 @@ void PartitionSpec::printTo(std::ostream& out) const { out << ", " << "sharedSDPartitionSpec="; (__isset.sharedSDPartitionSpec ? (out << to_string(sharedSDPartitionSpec)) : (out << "")); out << ", " << "partitionList="; (__isset.partitionList ? (out << to_string(partitionList)) : (out << "")); out << ", " << "catName="; (__isset.catName ? (out << to_string(catName)) : (out << "")); + out << ", " << "txnId="; (__isset.txnId ? (out << to_string(txnId)) : (out << "")); + out << ", " << "validWriteIdList="; (__isset.validWriteIdList ? (out << to_string(validWriteIdList)) : (out << "")); + out << ", " << "isStatsCompliant="; (__isset.isStatsCompliant ? (out << to_string(isStatsCompliant)) : (out << "")); out << ")"; } @@ -7792,19 +8008,19 @@ void swap(BooleanColumnStatsData &a, BooleanColumnStatsData &b) { swap(a.__isset, b.__isset); } -BooleanColumnStatsData::BooleanColumnStatsData(const BooleanColumnStatsData& other301) { - numTrues = other301.numTrues; - numFalses = other301.numFalses; - numNulls = other301.numNulls; - bitVectors = other301.bitVectors; - __isset = other301.__isset; +BooleanColumnStatsData::BooleanColumnStatsData(const BooleanColumnStatsData& other304) { + numTrues = other304.numTrues; + numFalses = other304.numFalses; + numNulls = other304.numNulls; + bitVectors = other304.bitVectors; + __isset = other304.__isset; } -BooleanColumnStatsData& BooleanColumnStatsData::operator=(const BooleanColumnStatsData& other302) { - numTrues = other302.numTrues; - numFalses = other302.numFalses; - numNulls = other302.numNulls; - bitVectors = other302.bitVectors; - __isset = other302.__isset; +BooleanColumnStatsData& BooleanColumnStatsData::operator=(const BooleanColumnStatsData& other305) { + numTrues = other305.numTrues; + numFalses = other305.numFalses; + numNulls = other305.numNulls; + bitVectors = other305.bitVectors; + __isset = other305.__isset; return *this; } void BooleanColumnStatsData::printTo(std::ostream& out) const { @@ -7967,21 +8183,21 @@ void swap(DoubleColumnStatsData &a, DoubleColumnStatsData &b) { swap(a.__isset, b.__isset); } -DoubleColumnStatsData::DoubleColumnStatsData(const DoubleColumnStatsData& other303) { - lowValue = other303.lowValue; - highValue = other303.highValue; - numNulls = other303.numNulls; - numDVs = other303.numDVs; - bitVectors = other303.bitVectors; - __isset = other303.__isset; +DoubleColumnStatsData::DoubleColumnStatsData(const DoubleColumnStatsData& other306) { + lowValue = other306.lowValue; + highValue = other306.highValue; + numNulls = other306.numNulls; + numDVs = other306.numDVs; + bitVectors = other306.bitVectors; + __isset = other306.__isset; } -DoubleColumnStatsData& DoubleColumnStatsData::operator=(const DoubleColumnStatsData& other304) { - lowValue = other304.lowValue; - highValue = other304.highValue; - numNulls = other304.numNulls; - numDVs = other304.numDVs; - bitVectors = other304.bitVectors; - __isset = other304.__isset; +DoubleColumnStatsData& DoubleColumnStatsData::operator=(const DoubleColumnStatsData& other307) { + lowValue = other307.lowValue; + highValue = other307.highValue; + numNulls = other307.numNulls; + numDVs = other307.numDVs; + bitVectors = other307.bitVectors; + __isset = other307.__isset; return *this; } void DoubleColumnStatsData::printTo(std::ostream& out) const { @@ -8145,21 +8361,21 @@ void swap(LongColumnStatsData &a, LongColumnStatsData &b) { swap(a.__isset, b.__isset); } -LongColumnStatsData::LongColumnStatsData(const LongColumnStatsData& other305) { - lowValue = other305.lowValue; - highValue = other305.highValue; - numNulls = other305.numNulls; - numDVs = other305.numDVs; - bitVectors = other305.bitVectors; - __isset = other305.__isset; +LongColumnStatsData::LongColumnStatsData(const LongColumnStatsData& other308) { + lowValue = other308.lowValue; + highValue = other308.highValue; + numNulls = other308.numNulls; + numDVs = other308.numDVs; + bitVectors = other308.bitVectors; + __isset = other308.__isset; } -LongColumnStatsData& LongColumnStatsData::operator=(const LongColumnStatsData& other306) { - lowValue = other306.lowValue; - highValue = other306.highValue; - numNulls = other306.numNulls; - numDVs = other306.numDVs; - bitVectors = other306.bitVectors; - __isset = other306.__isset; +LongColumnStatsData& LongColumnStatsData::operator=(const LongColumnStatsData& other309) { + lowValue = other309.lowValue; + highValue = other309.highValue; + numNulls = other309.numNulls; + numDVs = other309.numDVs; + bitVectors = other309.bitVectors; + __isset = other309.__isset; return *this; } void LongColumnStatsData::printTo(std::ostream& out) const { @@ -8325,21 +8541,21 @@ void swap(StringColumnStatsData &a, StringColumnStatsData &b) { swap(a.__isset, b.__isset); } -StringColumnStatsData::StringColumnStatsData(const StringColumnStatsData& other307) { - maxColLen = other307.maxColLen; - avgColLen = other307.avgColLen; - numNulls = other307.numNulls; - numDVs = other307.numDVs; - bitVectors = other307.bitVectors; - __isset = other307.__isset; +StringColumnStatsData::StringColumnStatsData(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& other308) { - maxColLen = other308.maxColLen; - avgColLen = other308.avgColLen; - numNulls = other308.numNulls; - numDVs = other308.numDVs; - bitVectors = other308.bitVectors; - __isset = other308.__isset; +StringColumnStatsData& StringColumnStatsData::operator=(const StringColumnStatsData& other311) { + maxColLen = other311.maxColLen; + avgColLen = other311.avgColLen; + numNulls = other311.numNulls; + numDVs = other311.numDVs; + bitVectors = other311.bitVectors; + __isset = other311.__isset; return *this; } void StringColumnStatsData::printTo(std::ostream& out) const { @@ -8485,19 +8701,19 @@ void swap(BinaryColumnStatsData &a, BinaryColumnStatsData &b) { swap(a.__isset, b.__isset); } -BinaryColumnStatsData::BinaryColumnStatsData(const BinaryColumnStatsData& other309) { - maxColLen = other309.maxColLen; - avgColLen = other309.avgColLen; - numNulls = other309.numNulls; - bitVectors = other309.bitVectors; - __isset = other309.__isset; +BinaryColumnStatsData::BinaryColumnStatsData(const BinaryColumnStatsData& other312) { + maxColLen = other312.maxColLen; + avgColLen = other312.avgColLen; + numNulls = other312.numNulls; + bitVectors = other312.bitVectors; + __isset = other312.__isset; } -BinaryColumnStatsData& BinaryColumnStatsData::operator=(const BinaryColumnStatsData& other310) { - maxColLen = other310.maxColLen; - avgColLen = other310.avgColLen; - numNulls = other310.numNulls; - bitVectors = other310.bitVectors; - __isset = other310.__isset; +BinaryColumnStatsData& BinaryColumnStatsData::operator=(const BinaryColumnStatsData& other313) { + maxColLen = other313.maxColLen; + avgColLen = other313.avgColLen; + numNulls = other313.numNulls; + bitVectors = other313.bitVectors; + __isset = other313.__isset; return *this; } void BinaryColumnStatsData::printTo(std::ostream& out) const { @@ -8602,13 +8818,13 @@ void swap(Decimal &a, Decimal &b) { swap(a.unscaled, b.unscaled); } -Decimal::Decimal(const Decimal& other311) { - scale = other311.scale; - unscaled = other311.unscaled; +Decimal::Decimal(const Decimal& other314) { + scale = other314.scale; + unscaled = other314.unscaled; } -Decimal& Decimal::operator=(const Decimal& other312) { - scale = other312.scale; - unscaled = other312.unscaled; +Decimal& Decimal::operator=(const Decimal& other315) { + scale = other315.scale; + unscaled = other315.unscaled; return *this; } void Decimal::printTo(std::ostream& out) const { @@ -8769,21 +8985,21 @@ void swap(DecimalColumnStatsData &a, DecimalColumnStatsData &b) { swap(a.__isset, b.__isset); } -DecimalColumnStatsData::DecimalColumnStatsData(const DecimalColumnStatsData& other313) { - lowValue = other313.lowValue; - highValue = other313.highValue; - numNulls = other313.numNulls; - numDVs = other313.numDVs; - bitVectors = other313.bitVectors; - __isset = other313.__isset; +DecimalColumnStatsData::DecimalColumnStatsData(const DecimalColumnStatsData& other316) { + lowValue = other316.lowValue; + highValue = other316.highValue; + numNulls = other316.numNulls; + numDVs = other316.numDVs; + bitVectors = other316.bitVectors; + __isset = other316.__isset; } -DecimalColumnStatsData& DecimalColumnStatsData::operator=(const DecimalColumnStatsData& other314) { - lowValue = other314.lowValue; - highValue = other314.highValue; - numNulls = other314.numNulls; - numDVs = other314.numDVs; - bitVectors = other314.bitVectors; - __isset = other314.__isset; +DecimalColumnStatsData& DecimalColumnStatsData::operator=(const DecimalColumnStatsData& other317) { + lowValue = other317.lowValue; + highValue = other317.highValue; + numNulls = other317.numNulls; + numDVs = other317.numDVs; + bitVectors = other317.bitVectors; + __isset = other317.__isset; return *this; } void DecimalColumnStatsData::printTo(std::ostream& out) const { @@ -8869,11 +9085,11 @@ void swap(Date &a, Date &b) { swap(a.daysSinceEpoch, b.daysSinceEpoch); } -Date::Date(const Date& other315) { - daysSinceEpoch = other315.daysSinceEpoch; +Date::Date(const Date& other318) { + daysSinceEpoch = other318.daysSinceEpoch; } -Date& Date::operator=(const Date& other316) { - daysSinceEpoch = other316.daysSinceEpoch; +Date& Date::operator=(const Date& other319) { + daysSinceEpoch = other319.daysSinceEpoch; return *this; } void Date::printTo(std::ostream& out) const { @@ -9033,21 +9249,21 @@ void swap(DateColumnStatsData &a, DateColumnStatsData &b) { swap(a.__isset, b.__isset); } -DateColumnStatsData::DateColumnStatsData(const DateColumnStatsData& other317) { - lowValue = other317.lowValue; - highValue = other317.highValue; - numNulls = other317.numNulls; - numDVs = other317.numDVs; - bitVectors = other317.bitVectors; - __isset = other317.__isset; +DateColumnStatsData::DateColumnStatsData(const DateColumnStatsData& other320) { + lowValue = other320.lowValue; + highValue = other320.highValue; + numNulls = other320.numNulls; + numDVs = other320.numDVs; + bitVectors = other320.bitVectors; + __isset = other320.__isset; } -DateColumnStatsData& DateColumnStatsData::operator=(const DateColumnStatsData& other318) { - lowValue = other318.lowValue; - highValue = other318.highValue; - numNulls = other318.numNulls; - numDVs = other318.numDVs; - bitVectors = other318.bitVectors; - __isset = other318.__isset; +DateColumnStatsData& DateColumnStatsData::operator=(const DateColumnStatsData& other321) { + lowValue = other321.lowValue; + highValue = other321.highValue; + numNulls = other321.numNulls; + numDVs = other321.numDVs; + bitVectors = other321.bitVectors; + __isset = other321.__isset; return *this; } void DateColumnStatsData::printTo(std::ostream& out) const { @@ -9233,25 +9449,25 @@ void swap(ColumnStatisticsData &a, ColumnStatisticsData &b) { swap(a.__isset, b.__isset); } -ColumnStatisticsData::ColumnStatisticsData(const ColumnStatisticsData& other319) { - booleanStats = other319.booleanStats; - longStats = other319.longStats; - doubleStats = other319.doubleStats; - stringStats = other319.stringStats; - binaryStats = other319.binaryStats; - decimalStats = other319.decimalStats; - dateStats = other319.dateStats; - __isset = other319.__isset; -} -ColumnStatisticsData& ColumnStatisticsData::operator=(const ColumnStatisticsData& other320) { - booleanStats = other320.booleanStats; - longStats = other320.longStats; - doubleStats = other320.doubleStats; - stringStats = other320.stringStats; - binaryStats = other320.binaryStats; - decimalStats = other320.decimalStats; - dateStats = other320.dateStats; - __isset = other320.__isset; +ColumnStatisticsData::ColumnStatisticsData(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::operator=(const ColumnStatisticsData& other323) { + booleanStats = other323.booleanStats; + longStats = other323.longStats; + doubleStats = other323.doubleStats; + stringStats = other323.stringStats; + binaryStats = other323.binaryStats; + decimalStats = other323.decimalStats; + dateStats = other323.dateStats; + __isset = other323.__isset; return *this; } void ColumnStatisticsData::printTo(std::ostream& out) const { @@ -9379,15 +9595,15 @@ void swap(ColumnStatisticsObj &a, ColumnStatisticsObj &b) { swap(a.statsData, b.statsData); } -ColumnStatisticsObj::ColumnStatisticsObj(const ColumnStatisticsObj& other321) { - colName = other321.colName; - colType = other321.colType; - statsData = other321.statsData; +ColumnStatisticsObj::ColumnStatisticsObj(const ColumnStatisticsObj& other324) { + colName = other324.colName; + colType = other324.colType; + statsData = other324.statsData; } -ColumnStatisticsObj& ColumnStatisticsObj::operator=(const ColumnStatisticsObj& other322) { - colName = other322.colName; - colType = other322.colType; - statsData = other322.statsData; +ColumnStatisticsObj& ColumnStatisticsObj::operator=(const ColumnStatisticsObj& other325) { + colName = other325.colName; + colType = other325.colType; + statsData = other325.statsData; return *this; } void ColumnStatisticsObj::printTo(std::ostream& out) const { @@ -9569,23 +9785,23 @@ void swap(ColumnStatisticsDesc &a, ColumnStatisticsDesc &b) { swap(a.__isset, b.__isset); } -ColumnStatisticsDesc::ColumnStatisticsDesc(const ColumnStatisticsDesc& other323) { - isTblLevel = other323.isTblLevel; - dbName = other323.dbName; - tableName = other323.tableName; - partName = other323.partName; - lastAnalyzed = other323.lastAnalyzed; - catName = other323.catName; - __isset = other323.__isset; -} -ColumnStatisticsDesc& ColumnStatisticsDesc::operator=(const ColumnStatisticsDesc& other324) { - isTblLevel = other324.isTblLevel; - dbName = other324.dbName; - tableName = other324.tableName; - partName = other324.partName; - lastAnalyzed = other324.lastAnalyzed; - catName = other324.catName; - __isset = other324.__isset; +ColumnStatisticsDesc::ColumnStatisticsDesc(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::operator=(const ColumnStatisticsDesc& other327) { + isTblLevel = other327.isTblLevel; + dbName = other327.dbName; + tableName = other327.tableName; + partName = other327.partName; + lastAnalyzed = other327.lastAnalyzed; + catName = other327.catName; + __isset = other327.__isset; return *this; } void ColumnStatisticsDesc::printTo(std::ostream& out) const { @@ -9613,6 +9829,21 @@ void ColumnStatistics::__set_statsObj(const std::vector & v this->statsObj = val; } +void ColumnStatistics::__set_txnId(const int64_t val) { + this->txnId = val; +__isset.txnId = true; +} + +void ColumnStatistics::__set_validWriteIdList(const std::string& val) { + this->validWriteIdList = val; +__isset.validWriteIdList = true; +} + +void ColumnStatistics::__set_isStatsCompliant(const IsolationLevelCompliance::type val) { + this->isStatsCompliant = val; +__isset.isStatsCompliant = true; +} + uint32_t ColumnStatistics::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); @@ -9648,14 +9879,14 @@ uint32_t ColumnStatistics::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->statsObj.clear(); - uint32_t _size325; - ::apache::thrift::protocol::TType _etype328; - xfer += iprot->readListBegin(_etype328, _size325); - this->statsObj.resize(_size325); - uint32_t _i329; - for (_i329 = 0; _i329 < _size325; ++_i329) + uint32_t _size328; + ::apache::thrift::protocol::TType _etype331; + xfer += iprot->readListBegin(_etype331, _size328); + this->statsObj.resize(_size328); + uint32_t _i332; + for (_i332 = 0; _i332 < _size328; ++_i332) { - xfer += this->statsObj[_i329].read(iprot); + xfer += this->statsObj[_i332].read(iprot); } xfer += iprot->readListEnd(); } @@ -9664,6 +9895,32 @@ uint32_t ColumnStatistics::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 3: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->txnId); + this->__isset.txnId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->validWriteIdList); + this->__isset.validWriteIdList = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast333; + xfer += iprot->readI32(ecast333); + this->isStatsCompliant = (IsolationLevelCompliance::type)ecast333; + this->__isset.isStatsCompliant = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -9692,15 +9949,30 @@ 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 _iter330; - for (_iter330 = this->statsObj.begin(); _iter330 != this->statsObj.end(); ++_iter330) + std::vector ::const_iterator _iter334; + for (_iter334 = this->statsObj.begin(); _iter334 != this->statsObj.end(); ++_iter334) { - xfer += (*_iter330).write(oprot); + xfer += (*_iter334).write(oprot); } xfer += oprot->writeListEnd(); } xfer += oprot->writeFieldEnd(); + if (this->__isset.txnId) { + xfer += oprot->writeFieldBegin("txnId", ::apache::thrift::protocol::T_I64, 3); + xfer += oprot->writeI64(this->txnId); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.validWriteIdList) { + xfer += oprot->writeFieldBegin("validWriteIdList", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString(this->validWriteIdList); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.isStatsCompliant) { + xfer += oprot->writeFieldBegin("isStatsCompliant", ::apache::thrift::protocol::T_I32, 5); + xfer += oprot->writeI32((int32_t)this->isStatsCompliant); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -9710,15 +9982,27 @@ void swap(ColumnStatistics &a, ColumnStatistics &b) { using ::std::swap; swap(a.statsDesc, b.statsDesc); swap(a.statsObj, b.statsObj); + swap(a.txnId, b.txnId); + swap(a.validWriteIdList, b.validWriteIdList); + swap(a.isStatsCompliant, b.isStatsCompliant); + swap(a.__isset, b.__isset); } -ColumnStatistics::ColumnStatistics(const ColumnStatistics& other331) { - statsDesc = other331.statsDesc; - statsObj = other331.statsObj; -} -ColumnStatistics& ColumnStatistics::operator=(const ColumnStatistics& other332) { - statsDesc = other332.statsDesc; - statsObj = other332.statsObj; +ColumnStatistics::ColumnStatistics(const ColumnStatistics& other335) { + statsDesc = other335.statsDesc; + statsObj = other335.statsObj; + txnId = other335.txnId; + validWriteIdList = other335.validWriteIdList; + isStatsCompliant = other335.isStatsCompliant; + __isset = other335.__isset; +} +ColumnStatistics& ColumnStatistics::operator=(const ColumnStatistics& other336) { + statsDesc = other336.statsDesc; + statsObj = other336.statsObj; + txnId = other336.txnId; + validWriteIdList = other336.validWriteIdList; + isStatsCompliant = other336.isStatsCompliant; + __isset = other336.__isset; return *this; } void ColumnStatistics::printTo(std::ostream& out) const { @@ -9726,6 +10010,9 @@ void ColumnStatistics::printTo(std::ostream& out) const { out << "ColumnStatistics("; out << "statsDesc=" << to_string(statsDesc); out << ", " << "statsObj=" << to_string(statsObj); + out << ", " << "txnId="; (__isset.txnId ? (out << to_string(txnId)) : (out << "")); + out << ", " << "validWriteIdList="; (__isset.validWriteIdList ? (out << to_string(validWriteIdList)) : (out << "")); + out << ", " << "isStatsCompliant="; (__isset.isStatsCompliant ? (out << to_string(isStatsCompliant)) : (out << "")); out << ")"; } @@ -9742,6 +10029,11 @@ void AggrStats::__set_partsFound(const int64_t val) { this->partsFound = val; } +void AggrStats::__set_isStatsCompliant(const IsolationLevelCompliance::type val) { + this->isStatsCompliant = val; +__isset.isStatsCompliant = true; +} + uint32_t AggrStats::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); @@ -9769,14 +10061,14 @@ uint32_t AggrStats::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->colStats.clear(); - uint32_t _size333; - ::apache::thrift::protocol::TType _etype336; - xfer += iprot->readListBegin(_etype336, _size333); - this->colStats.resize(_size333); - uint32_t _i337; - for (_i337 = 0; _i337 < _size333; ++_i337) + uint32_t _size337; + ::apache::thrift::protocol::TType _etype340; + xfer += iprot->readListBegin(_etype340, _size337); + this->colStats.resize(_size337); + uint32_t _i341; + for (_i341 = 0; _i341 < _size337; ++_i341) { - xfer += this->colStats[_i337].read(iprot); + xfer += this->colStats[_i341].read(iprot); } xfer += iprot->readListEnd(); } @@ -9793,6 +10085,16 @@ uint32_t AggrStats::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 3: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast342; + xfer += iprot->readI32(ecast342); + this->isStatsCompliant = (IsolationLevelCompliance::type)ecast342; + this->__isset.isStatsCompliant = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -9817,10 +10119,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 _iter338; - for (_iter338 = this->colStats.begin(); _iter338 != this->colStats.end(); ++_iter338) + std::vector ::const_iterator _iter343; + for (_iter343 = this->colStats.begin(); _iter343 != this->colStats.end(); ++_iter343) { - xfer += (*_iter338).write(oprot); + xfer += (*_iter343).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9830,6 +10132,11 @@ uint32_t AggrStats::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeI64(this->partsFound); xfer += oprot->writeFieldEnd(); + if (this->__isset.isStatsCompliant) { + xfer += oprot->writeFieldBegin("isStatsCompliant", ::apache::thrift::protocol::T_I32, 3); + xfer += oprot->writeI32((int32_t)this->isStatsCompliant); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -9839,15 +10146,21 @@ void swap(AggrStats &a, AggrStats &b) { using ::std::swap; swap(a.colStats, b.colStats); swap(a.partsFound, b.partsFound); + swap(a.isStatsCompliant, b.isStatsCompliant); + swap(a.__isset, b.__isset); } -AggrStats::AggrStats(const AggrStats& other339) { - colStats = other339.colStats; - partsFound = other339.partsFound; +AggrStats::AggrStats(const AggrStats& other344) { + colStats = other344.colStats; + partsFound = other344.partsFound; + isStatsCompliant = other344.isStatsCompliant; + __isset = other344.__isset; } -AggrStats& AggrStats::operator=(const AggrStats& other340) { - colStats = other340.colStats; - partsFound = other340.partsFound; +AggrStats& AggrStats::operator=(const AggrStats& other345) { + colStats = other345.colStats; + partsFound = other345.partsFound; + isStatsCompliant = other345.isStatsCompliant; + __isset = other345.__isset; return *this; } void AggrStats::printTo(std::ostream& out) const { @@ -9855,6 +10168,7 @@ void AggrStats::printTo(std::ostream& out) const { out << "AggrStats("; out << "colStats=" << to_string(colStats); out << ", " << "partsFound=" << to_string(partsFound); + out << ", " << "isStatsCompliant="; (__isset.isStatsCompliant ? (out << to_string(isStatsCompliant)) : (out << "")); out << ")"; } @@ -9872,6 +10186,16 @@ void SetPartitionsStatsRequest::__set_needMerge(const bool val) { __isset.needMerge = true; } +void SetPartitionsStatsRequest::__set_txnId(const int64_t val) { + this->txnId = val; +__isset.txnId = true; +} + +void SetPartitionsStatsRequest::__set_validWriteIdList(const std::string& val) { + this->validWriteIdList = val; +__isset.validWriteIdList = true; +} + uint32_t SetPartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); @@ -9898,14 +10222,14 @@ uint32_t SetPartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->colStats.clear(); - uint32_t _size341; - ::apache::thrift::protocol::TType _etype344; - xfer += iprot->readListBegin(_etype344, _size341); - this->colStats.resize(_size341); - uint32_t _i345; - for (_i345 = 0; _i345 < _size341; ++_i345) + uint32_t _size346; + ::apache::thrift::protocol::TType _etype349; + xfer += iprot->readListBegin(_etype349, _size346); + this->colStats.resize(_size346); + uint32_t _i350; + for (_i350 = 0; _i350 < _size346; ++_i350) { - xfer += this->colStats[_i345].read(iprot); + xfer += this->colStats[_i350].read(iprot); } xfer += iprot->readListEnd(); } @@ -9922,6 +10246,22 @@ uint32_t SetPartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* xfer += iprot->skip(ftype); } break; + case 3: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->txnId); + this->__isset.txnId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->validWriteIdList); + this->__isset.validWriteIdList = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -9944,10 +10284,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 _iter346; - for (_iter346 = this->colStats.begin(); _iter346 != this->colStats.end(); ++_iter346) + std::vector ::const_iterator _iter351; + for (_iter351 = this->colStats.begin(); _iter351 != this->colStats.end(); ++_iter351) { - xfer += (*_iter346).write(oprot); + xfer += (*_iter351).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9958,6 +10298,16 @@ uint32_t SetPartitionsStatsRequest::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeBool(this->needMerge); xfer += oprot->writeFieldEnd(); } + if (this->__isset.txnId) { + xfer += oprot->writeFieldBegin("txnId", ::apache::thrift::protocol::T_I64, 3); + xfer += oprot->writeI64(this->txnId); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.validWriteIdList) { + xfer += oprot->writeFieldBegin("validWriteIdList", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString(this->validWriteIdList); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -9967,18 +10317,24 @@ void swap(SetPartitionsStatsRequest &a, SetPartitionsStatsRequest &b) { using ::std::swap; swap(a.colStats, b.colStats); swap(a.needMerge, b.needMerge); + swap(a.txnId, b.txnId); + swap(a.validWriteIdList, b.validWriteIdList); swap(a.__isset, b.__isset); } -SetPartitionsStatsRequest::SetPartitionsStatsRequest(const SetPartitionsStatsRequest& other347) { - colStats = other347.colStats; - needMerge = other347.needMerge; - __isset = other347.__isset; +SetPartitionsStatsRequest::SetPartitionsStatsRequest(const SetPartitionsStatsRequest& other352) { + colStats = other352.colStats; + needMerge = other352.needMerge; + txnId = other352.txnId; + validWriteIdList = other352.validWriteIdList; + __isset = other352.__isset; } -SetPartitionsStatsRequest& SetPartitionsStatsRequest::operator=(const SetPartitionsStatsRequest& other348) { - colStats = other348.colStats; - needMerge = other348.needMerge; - __isset = other348.__isset; +SetPartitionsStatsRequest& SetPartitionsStatsRequest::operator=(const SetPartitionsStatsRequest& other353) { + colStats = other353.colStats; + needMerge = other353.needMerge; + txnId = other353.txnId; + validWriteIdList = other353.validWriteIdList; + __isset = other353.__isset; return *this; } void SetPartitionsStatsRequest::printTo(std::ostream& out) const { @@ -9986,6 +10342,8 @@ void SetPartitionsStatsRequest::printTo(std::ostream& out) const { out << "SetPartitionsStatsRequest("; out << "colStats=" << to_string(colStats); out << ", " << "needMerge="; (__isset.needMerge ? (out << to_string(needMerge)) : (out << "")); + out << ", " << "txnId="; (__isset.txnId ? (out << to_string(txnId)) : (out << "")); + out << ", " << "validWriteIdList="; (__isset.validWriteIdList ? (out << to_string(validWriteIdList)) : (out << "")); out << ")"; } @@ -10027,14 +10385,14 @@ uint32_t Schema::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fieldSchemas.clear(); - uint32_t _size349; - ::apache::thrift::protocol::TType _etype352; - xfer += iprot->readListBegin(_etype352, _size349); - this->fieldSchemas.resize(_size349); - uint32_t _i353; - for (_i353 = 0; _i353 < _size349; ++_i353) + uint32_t _size354; + ::apache::thrift::protocol::TType _etype357; + xfer += iprot->readListBegin(_etype357, _size354); + this->fieldSchemas.resize(_size354); + uint32_t _i358; + for (_i358 = 0; _i358 < _size354; ++_i358) { - xfer += this->fieldSchemas[_i353].read(iprot); + xfer += this->fieldSchemas[_i358].read(iprot); } xfer += iprot->readListEnd(); } @@ -10047,17 +10405,17 @@ uint32_t Schema::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - uint32_t _size354; - ::apache::thrift::protocol::TType _ktype355; - ::apache::thrift::protocol::TType _vtype356; - xfer += iprot->readMapBegin(_ktype355, _vtype356, _size354); - uint32_t _i358; - for (_i358 = 0; _i358 < _size354; ++_i358) + uint32_t _size359; + ::apache::thrift::protocol::TType _ktype360; + ::apache::thrift::protocol::TType _vtype361; + xfer += iprot->readMapBegin(_ktype360, _vtype361, _size359); + uint32_t _i363; + for (_i363 = 0; _i363 < _size359; ++_i363) { - std::string _key359; - xfer += iprot->readString(_key359); - std::string& _val360 = this->properties[_key359]; - xfer += iprot->readString(_val360); + std::string _key364; + xfer += iprot->readString(_key364); + std::string& _val365 = this->properties[_key364]; + xfer += iprot->readString(_val365); } xfer += iprot->readMapEnd(); } @@ -10086,10 +10444,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 _iter361; - for (_iter361 = this->fieldSchemas.begin(); _iter361 != this->fieldSchemas.end(); ++_iter361) + std::vector ::const_iterator _iter366; + for (_iter366 = this->fieldSchemas.begin(); _iter366 != this->fieldSchemas.end(); ++_iter366) { - xfer += (*_iter361).write(oprot); + xfer += (*_iter366).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10098,11 +10456,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 _iter362; - for (_iter362 = this->properties.begin(); _iter362 != this->properties.end(); ++_iter362) + std::map ::const_iterator _iter367; + for (_iter367 = this->properties.begin(); _iter367 != this->properties.end(); ++_iter367) { - xfer += oprot->writeString(_iter362->first); - xfer += oprot->writeString(_iter362->second); + xfer += oprot->writeString(_iter367->first); + xfer += oprot->writeString(_iter367->second); } xfer += oprot->writeMapEnd(); } @@ -10120,15 +10478,15 @@ void swap(Schema &a, Schema &b) { swap(a.__isset, b.__isset); } -Schema::Schema(const Schema& other363) { - fieldSchemas = other363.fieldSchemas; - properties = other363.properties; - __isset = other363.__isset; +Schema::Schema(const Schema& other368) { + fieldSchemas = other368.fieldSchemas; + properties = other368.properties; + __isset = other368.__isset; } -Schema& Schema::operator=(const Schema& other364) { - fieldSchemas = other364.fieldSchemas; - properties = other364.properties; - __isset = other364.__isset; +Schema& Schema::operator=(const Schema& other369) { + fieldSchemas = other369.fieldSchemas; + properties = other369.properties; + __isset = other369.__isset; return *this; } void Schema::printTo(std::ostream& out) const { @@ -10173,17 +10531,17 @@ uint32_t EnvironmentContext::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - 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) + uint32_t _size370; + ::apache::thrift::protocol::TType _ktype371; + ::apache::thrift::protocol::TType _vtype372; + xfer += iprot->readMapBegin(_ktype371, _vtype372, _size370); + uint32_t _i374; + for (_i374 = 0; _i374 < _size370; ++_i374) { - std::string _key370; - xfer += iprot->readString(_key370); - std::string& _val371 = this->properties[_key370]; - xfer += iprot->readString(_val371); + std::string _key375; + xfer += iprot->readString(_key375); + std::string& _val376 = this->properties[_key375]; + xfer += iprot->readString(_val376); } xfer += iprot->readMapEnd(); } @@ -10212,11 +10570,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 _iter372; - for (_iter372 = this->properties.begin(); _iter372 != this->properties.end(); ++_iter372) + std::map ::const_iterator _iter377; + for (_iter377 = this->properties.begin(); _iter377 != this->properties.end(); ++_iter377) { - xfer += oprot->writeString(_iter372->first); - xfer += oprot->writeString(_iter372->second); + xfer += oprot->writeString(_iter377->first); + xfer += oprot->writeString(_iter377->second); } xfer += oprot->writeMapEnd(); } @@ -10233,13 +10591,13 @@ void swap(EnvironmentContext &a, EnvironmentContext &b) { swap(a.__isset, b.__isset); } -EnvironmentContext::EnvironmentContext(const EnvironmentContext& other373) { - properties = other373.properties; - __isset = other373.__isset; +EnvironmentContext::EnvironmentContext(const EnvironmentContext& other378) { + properties = other378.properties; + __isset = other378.__isset; } -EnvironmentContext& EnvironmentContext::operator=(const EnvironmentContext& other374) { - properties = other374.properties; - __isset = other374.__isset; +EnvironmentContext& EnvironmentContext::operator=(const EnvironmentContext& other379) { + properties = other379.properties; + __isset = other379.__isset; return *this; } void EnvironmentContext::printTo(std::ostream& out) const { @@ -10361,17 +10719,17 @@ void swap(PrimaryKeysRequest &a, PrimaryKeysRequest &b) { swap(a.__isset, b.__isset); } -PrimaryKeysRequest::PrimaryKeysRequest(const PrimaryKeysRequest& other375) { - db_name = other375.db_name; - tbl_name = other375.tbl_name; - catName = other375.catName; - __isset = other375.__isset; +PrimaryKeysRequest::PrimaryKeysRequest(const PrimaryKeysRequest& other380) { + db_name = other380.db_name; + tbl_name = other380.tbl_name; + catName = other380.catName; + __isset = other380.__isset; } -PrimaryKeysRequest& PrimaryKeysRequest::operator=(const PrimaryKeysRequest& other376) { - db_name = other376.db_name; - tbl_name = other376.tbl_name; - catName = other376.catName; - __isset = other376.__isset; +PrimaryKeysRequest& PrimaryKeysRequest::operator=(const PrimaryKeysRequest& other381) { + db_name = other381.db_name; + tbl_name = other381.tbl_name; + catName = other381.catName; + __isset = other381.__isset; return *this; } void PrimaryKeysRequest::printTo(std::ostream& out) const { @@ -10418,14 +10776,14 @@ uint32_t PrimaryKeysResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->primaryKeys.clear(); - uint32_t _size377; - ::apache::thrift::protocol::TType _etype380; - xfer += iprot->readListBegin(_etype380, _size377); - this->primaryKeys.resize(_size377); - uint32_t _i381; - for (_i381 = 0; _i381 < _size377; ++_i381) + uint32_t _size382; + ::apache::thrift::protocol::TType _etype385; + xfer += iprot->readListBegin(_etype385, _size382); + this->primaryKeys.resize(_size382); + uint32_t _i386; + for (_i386 = 0; _i386 < _size382; ++_i386) { - xfer += this->primaryKeys[_i381].read(iprot); + xfer += this->primaryKeys[_i386].read(iprot); } xfer += iprot->readListEnd(); } @@ -10456,10 +10814,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 _iter382; - for (_iter382 = this->primaryKeys.begin(); _iter382 != this->primaryKeys.end(); ++_iter382) + std::vector ::const_iterator _iter387; + for (_iter387 = this->primaryKeys.begin(); _iter387 != this->primaryKeys.end(); ++_iter387) { - xfer += (*_iter382).write(oprot); + xfer += (*_iter387).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10475,11 +10833,11 @@ void swap(PrimaryKeysResponse &a, PrimaryKeysResponse &b) { swap(a.primaryKeys, b.primaryKeys); } -PrimaryKeysResponse::PrimaryKeysResponse(const PrimaryKeysResponse& other383) { - primaryKeys = other383.primaryKeys; +PrimaryKeysResponse::PrimaryKeysResponse(const PrimaryKeysResponse& other388) { + primaryKeys = other388.primaryKeys; } -PrimaryKeysResponse& PrimaryKeysResponse::operator=(const PrimaryKeysResponse& other384) { - primaryKeys = other384.primaryKeys; +PrimaryKeysResponse& PrimaryKeysResponse::operator=(const PrimaryKeysResponse& other389) { + primaryKeys = other389.primaryKeys; return *this; } void PrimaryKeysResponse::printTo(std::ostream& out) const { @@ -10629,21 +10987,21 @@ void swap(ForeignKeysRequest &a, ForeignKeysRequest &b) { swap(a.__isset, b.__isset); } -ForeignKeysRequest::ForeignKeysRequest(const ForeignKeysRequest& other385) { - parent_db_name = other385.parent_db_name; - parent_tbl_name = other385.parent_tbl_name; - foreign_db_name = other385.foreign_db_name; - foreign_tbl_name = other385.foreign_tbl_name; - catName = other385.catName; - __isset = other385.__isset; -} -ForeignKeysRequest& ForeignKeysRequest::operator=(const ForeignKeysRequest& other386) { - parent_db_name = other386.parent_db_name; - parent_tbl_name = other386.parent_tbl_name; - foreign_db_name = other386.foreign_db_name; - foreign_tbl_name = other386.foreign_tbl_name; - catName = other386.catName; - __isset = other386.__isset; +ForeignKeysRequest::ForeignKeysRequest(const ForeignKeysRequest& other390) { + parent_db_name = other390.parent_db_name; + parent_tbl_name = other390.parent_tbl_name; + foreign_db_name = other390.foreign_db_name; + foreign_tbl_name = other390.foreign_tbl_name; + catName = other390.catName; + __isset = other390.__isset; +} +ForeignKeysRequest& ForeignKeysRequest::operator=(const ForeignKeysRequest& other391) { + parent_db_name = other391.parent_db_name; + parent_tbl_name = other391.parent_tbl_name; + foreign_db_name = other391.foreign_db_name; + foreign_tbl_name = other391.foreign_tbl_name; + catName = other391.catName; + __isset = other391.__isset; return *this; } void ForeignKeysRequest::printTo(std::ostream& out) const { @@ -10692,14 +11050,14 @@ uint32_t ForeignKeysResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->foreignKeys.clear(); - uint32_t _size387; - ::apache::thrift::protocol::TType _etype390; - xfer += iprot->readListBegin(_etype390, _size387); - this->foreignKeys.resize(_size387); - uint32_t _i391; - for (_i391 = 0; _i391 < _size387; ++_i391) + uint32_t _size392; + ::apache::thrift::protocol::TType _etype395; + xfer += iprot->readListBegin(_etype395, _size392); + this->foreignKeys.resize(_size392); + uint32_t _i396; + for (_i396 = 0; _i396 < _size392; ++_i396) { - xfer += this->foreignKeys[_i391].read(iprot); + xfer += this->foreignKeys[_i396].read(iprot); } xfer += iprot->readListEnd(); } @@ -10730,10 +11088,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 _iter392; - for (_iter392 = this->foreignKeys.begin(); _iter392 != this->foreignKeys.end(); ++_iter392) + std::vector ::const_iterator _iter397; + for (_iter397 = this->foreignKeys.begin(); _iter397 != this->foreignKeys.end(); ++_iter397) { - xfer += (*_iter392).write(oprot); + xfer += (*_iter397).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10749,11 +11107,11 @@ void swap(ForeignKeysResponse &a, ForeignKeysResponse &b) { swap(a.foreignKeys, b.foreignKeys); } -ForeignKeysResponse::ForeignKeysResponse(const ForeignKeysResponse& other393) { - foreignKeys = other393.foreignKeys; +ForeignKeysResponse::ForeignKeysResponse(const ForeignKeysResponse& other398) { + foreignKeys = other398.foreignKeys; } -ForeignKeysResponse& ForeignKeysResponse::operator=(const ForeignKeysResponse& other394) { - foreignKeys = other394.foreignKeys; +ForeignKeysResponse& ForeignKeysResponse::operator=(const ForeignKeysResponse& other399) { + foreignKeys = other399.foreignKeys; return *this; } void ForeignKeysResponse::printTo(std::ostream& out) const { @@ -10875,15 +11233,15 @@ void swap(UniqueConstraintsRequest &a, UniqueConstraintsRequest &b) { swap(a.tbl_name, b.tbl_name); } -UniqueConstraintsRequest::UniqueConstraintsRequest(const UniqueConstraintsRequest& other395) { - catName = other395.catName; - db_name = other395.db_name; - tbl_name = other395.tbl_name; +UniqueConstraintsRequest::UniqueConstraintsRequest(const UniqueConstraintsRequest& other400) { + catName = other400.catName; + db_name = other400.db_name; + tbl_name = other400.tbl_name; } -UniqueConstraintsRequest& UniqueConstraintsRequest::operator=(const UniqueConstraintsRequest& other396) { - catName = other396.catName; - db_name = other396.db_name; - tbl_name = other396.tbl_name; +UniqueConstraintsRequest& UniqueConstraintsRequest::operator=(const UniqueConstraintsRequest& other401) { + catName = other401.catName; + db_name = other401.db_name; + tbl_name = other401.tbl_name; return *this; } void UniqueConstraintsRequest::printTo(std::ostream& out) const { @@ -10930,14 +11288,14 @@ uint32_t UniqueConstraintsResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->uniqueConstraints.clear(); - uint32_t _size397; - ::apache::thrift::protocol::TType _etype400; - xfer += iprot->readListBegin(_etype400, _size397); - this->uniqueConstraints.resize(_size397); - uint32_t _i401; - for (_i401 = 0; _i401 < _size397; ++_i401) + uint32_t _size402; + ::apache::thrift::protocol::TType _etype405; + xfer += iprot->readListBegin(_etype405, _size402); + this->uniqueConstraints.resize(_size402); + uint32_t _i406; + for (_i406 = 0; _i406 < _size402; ++_i406) { - xfer += this->uniqueConstraints[_i401].read(iprot); + xfer += this->uniqueConstraints[_i406].read(iprot); } xfer += iprot->readListEnd(); } @@ -10968,10 +11326,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 _iter402; - for (_iter402 = this->uniqueConstraints.begin(); _iter402 != this->uniqueConstraints.end(); ++_iter402) + std::vector ::const_iterator _iter407; + for (_iter407 = this->uniqueConstraints.begin(); _iter407 != this->uniqueConstraints.end(); ++_iter407) { - xfer += (*_iter402).write(oprot); + xfer += (*_iter407).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10987,11 +11345,11 @@ void swap(UniqueConstraintsResponse &a, UniqueConstraintsResponse &b) { swap(a.uniqueConstraints, b.uniqueConstraints); } -UniqueConstraintsResponse::UniqueConstraintsResponse(const UniqueConstraintsResponse& other403) { - uniqueConstraints = other403.uniqueConstraints; +UniqueConstraintsResponse::UniqueConstraintsResponse(const UniqueConstraintsResponse& other408) { + uniqueConstraints = other408.uniqueConstraints; } -UniqueConstraintsResponse& UniqueConstraintsResponse::operator=(const UniqueConstraintsResponse& other404) { - uniqueConstraints = other404.uniqueConstraints; +UniqueConstraintsResponse& UniqueConstraintsResponse::operator=(const UniqueConstraintsResponse& other409) { + uniqueConstraints = other409.uniqueConstraints; return *this; } void UniqueConstraintsResponse::printTo(std::ostream& out) const { @@ -11113,15 +11471,15 @@ void swap(NotNullConstraintsRequest &a, NotNullConstraintsRequest &b) { swap(a.tbl_name, b.tbl_name); } -NotNullConstraintsRequest::NotNullConstraintsRequest(const NotNullConstraintsRequest& other405) { - catName = other405.catName; - db_name = other405.db_name; - tbl_name = other405.tbl_name; +NotNullConstraintsRequest::NotNullConstraintsRequest(const NotNullConstraintsRequest& other410) { + catName = other410.catName; + db_name = other410.db_name; + tbl_name = other410.tbl_name; } -NotNullConstraintsRequest& NotNullConstraintsRequest::operator=(const NotNullConstraintsRequest& other406) { - catName = other406.catName; - db_name = other406.db_name; - tbl_name = other406.tbl_name; +NotNullConstraintsRequest& NotNullConstraintsRequest::operator=(const NotNullConstraintsRequest& other411) { + catName = other411.catName; + db_name = other411.db_name; + tbl_name = other411.tbl_name; return *this; } void NotNullConstraintsRequest::printTo(std::ostream& out) const { @@ -11168,14 +11526,14 @@ uint32_t NotNullConstraintsResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->notNullConstraints.clear(); - uint32_t _size407; - ::apache::thrift::protocol::TType _etype410; - xfer += iprot->readListBegin(_etype410, _size407); - this->notNullConstraints.resize(_size407); - uint32_t _i411; - for (_i411 = 0; _i411 < _size407; ++_i411) + uint32_t _size412; + ::apache::thrift::protocol::TType _etype415; + xfer += iprot->readListBegin(_etype415, _size412); + this->notNullConstraints.resize(_size412); + uint32_t _i416; + for (_i416 = 0; _i416 < _size412; ++_i416) { - xfer += this->notNullConstraints[_i411].read(iprot); + xfer += this->notNullConstraints[_i416].read(iprot); } xfer += iprot->readListEnd(); } @@ -11206,10 +11564,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 _iter412; - for (_iter412 = this->notNullConstraints.begin(); _iter412 != this->notNullConstraints.end(); ++_iter412) + std::vector ::const_iterator _iter417; + for (_iter417 = this->notNullConstraints.begin(); _iter417 != this->notNullConstraints.end(); ++_iter417) { - xfer += (*_iter412).write(oprot); + xfer += (*_iter417).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11225,11 +11583,11 @@ void swap(NotNullConstraintsResponse &a, NotNullConstraintsResponse &b) { swap(a.notNullConstraints, b.notNullConstraints); } -NotNullConstraintsResponse::NotNullConstraintsResponse(const NotNullConstraintsResponse& other413) { - notNullConstraints = other413.notNullConstraints; +NotNullConstraintsResponse::NotNullConstraintsResponse(const NotNullConstraintsResponse& other418) { + notNullConstraints = other418.notNullConstraints; } -NotNullConstraintsResponse& NotNullConstraintsResponse::operator=(const NotNullConstraintsResponse& other414) { - notNullConstraints = other414.notNullConstraints; +NotNullConstraintsResponse& NotNullConstraintsResponse::operator=(const NotNullConstraintsResponse& other419) { + notNullConstraints = other419.notNullConstraints; return *this; } void NotNullConstraintsResponse::printTo(std::ostream& out) const { @@ -11351,15 +11709,15 @@ void swap(DefaultConstraintsRequest &a, DefaultConstraintsRequest &b) { swap(a.tbl_name, b.tbl_name); } -DefaultConstraintsRequest::DefaultConstraintsRequest(const DefaultConstraintsRequest& other415) { - catName = other415.catName; - db_name = other415.db_name; - tbl_name = other415.tbl_name; +DefaultConstraintsRequest::DefaultConstraintsRequest(const DefaultConstraintsRequest& other420) { + catName = other420.catName; + db_name = other420.db_name; + tbl_name = other420.tbl_name; } -DefaultConstraintsRequest& DefaultConstraintsRequest::operator=(const DefaultConstraintsRequest& other416) { - catName = other416.catName; - db_name = other416.db_name; - tbl_name = other416.tbl_name; +DefaultConstraintsRequest& DefaultConstraintsRequest::operator=(const DefaultConstraintsRequest& other421) { + catName = other421.catName; + db_name = other421.db_name; + tbl_name = other421.tbl_name; return *this; } void DefaultConstraintsRequest::printTo(std::ostream& out) const { @@ -11406,14 +11764,14 @@ uint32_t DefaultConstraintsResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->defaultConstraints.clear(); - uint32_t _size417; - ::apache::thrift::protocol::TType _etype420; - xfer += iprot->readListBegin(_etype420, _size417); - this->defaultConstraints.resize(_size417); - uint32_t _i421; - for (_i421 = 0; _i421 < _size417; ++_i421) + uint32_t _size422; + ::apache::thrift::protocol::TType _etype425; + xfer += iprot->readListBegin(_etype425, _size422); + this->defaultConstraints.resize(_size422); + uint32_t _i426; + for (_i426 = 0; _i426 < _size422; ++_i426) { - xfer += this->defaultConstraints[_i421].read(iprot); + xfer += this->defaultConstraints[_i426].read(iprot); } xfer += iprot->readListEnd(); } @@ -11444,10 +11802,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 _iter422; - for (_iter422 = this->defaultConstraints.begin(); _iter422 != this->defaultConstraints.end(); ++_iter422) + std::vector ::const_iterator _iter427; + for (_iter427 = this->defaultConstraints.begin(); _iter427 != this->defaultConstraints.end(); ++_iter427) { - xfer += (*_iter422).write(oprot); + xfer += (*_iter427).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11463,11 +11821,11 @@ void swap(DefaultConstraintsResponse &a, DefaultConstraintsResponse &b) { swap(a.defaultConstraints, b.defaultConstraints); } -DefaultConstraintsResponse::DefaultConstraintsResponse(const DefaultConstraintsResponse& other423) { - defaultConstraints = other423.defaultConstraints; +DefaultConstraintsResponse::DefaultConstraintsResponse(const DefaultConstraintsResponse& other428) { + defaultConstraints = other428.defaultConstraints; } -DefaultConstraintsResponse& DefaultConstraintsResponse::operator=(const DefaultConstraintsResponse& other424) { - defaultConstraints = other424.defaultConstraints; +DefaultConstraintsResponse& DefaultConstraintsResponse::operator=(const DefaultConstraintsResponse& other429) { + defaultConstraints = other429.defaultConstraints; return *this; } void DefaultConstraintsResponse::printTo(std::ostream& out) const { @@ -11589,15 +11947,15 @@ void swap(CheckConstraintsRequest &a, CheckConstraintsRequest &b) { swap(a.tbl_name, b.tbl_name); } -CheckConstraintsRequest::CheckConstraintsRequest(const CheckConstraintsRequest& other425) { - catName = other425.catName; - db_name = other425.db_name; - tbl_name = other425.tbl_name; +CheckConstraintsRequest::CheckConstraintsRequest(const CheckConstraintsRequest& other430) { + catName = other430.catName; + db_name = other430.db_name; + tbl_name = other430.tbl_name; } -CheckConstraintsRequest& CheckConstraintsRequest::operator=(const CheckConstraintsRequest& other426) { - catName = other426.catName; - db_name = other426.db_name; - tbl_name = other426.tbl_name; +CheckConstraintsRequest& CheckConstraintsRequest::operator=(const CheckConstraintsRequest& other431) { + catName = other431.catName; + db_name = other431.db_name; + tbl_name = other431.tbl_name; return *this; } void CheckConstraintsRequest::printTo(std::ostream& out) const { @@ -11644,14 +12002,14 @@ uint32_t CheckConstraintsResponse::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->checkConstraints.clear(); - uint32_t _size427; - ::apache::thrift::protocol::TType _etype430; - xfer += iprot->readListBegin(_etype430, _size427); - this->checkConstraints.resize(_size427); - uint32_t _i431; - for (_i431 = 0; _i431 < _size427; ++_i431) + uint32_t _size432; + ::apache::thrift::protocol::TType _etype435; + xfer += iprot->readListBegin(_etype435, _size432); + this->checkConstraints.resize(_size432); + uint32_t _i436; + for (_i436 = 0; _i436 < _size432; ++_i436) { - xfer += this->checkConstraints[_i431].read(iprot); + xfer += this->checkConstraints[_i436].read(iprot); } xfer += iprot->readListEnd(); } @@ -11682,10 +12040,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 _iter432; - for (_iter432 = this->checkConstraints.begin(); _iter432 != this->checkConstraints.end(); ++_iter432) + std::vector ::const_iterator _iter437; + for (_iter437 = this->checkConstraints.begin(); _iter437 != this->checkConstraints.end(); ++_iter437) { - xfer += (*_iter432).write(oprot); + xfer += (*_iter437).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11701,11 +12059,11 @@ void swap(CheckConstraintsResponse &a, CheckConstraintsResponse &b) { swap(a.checkConstraints, b.checkConstraints); } -CheckConstraintsResponse::CheckConstraintsResponse(const CheckConstraintsResponse& other433) { - checkConstraints = other433.checkConstraints; +CheckConstraintsResponse::CheckConstraintsResponse(const CheckConstraintsResponse& other438) { + checkConstraints = other438.checkConstraints; } -CheckConstraintsResponse& CheckConstraintsResponse::operator=(const CheckConstraintsResponse& other434) { - checkConstraints = other434.checkConstraints; +CheckConstraintsResponse& CheckConstraintsResponse::operator=(const CheckConstraintsResponse& other439) { + checkConstraints = other439.checkConstraints; return *this; } void CheckConstraintsResponse::printTo(std::ostream& out) const { @@ -11847,19 +12205,19 @@ void swap(DropConstraintRequest &a, DropConstraintRequest &b) { swap(a.__isset, b.__isset); } -DropConstraintRequest::DropConstraintRequest(const DropConstraintRequest& other435) { - dbname = other435.dbname; - tablename = other435.tablename; - constraintname = other435.constraintname; - catName = other435.catName; - __isset = other435.__isset; +DropConstraintRequest::DropConstraintRequest(const DropConstraintRequest& other440) { + dbname = other440.dbname; + tablename = other440.tablename; + constraintname = other440.constraintname; + catName = other440.catName; + __isset = other440.__isset; } -DropConstraintRequest& DropConstraintRequest::operator=(const DropConstraintRequest& other436) { - dbname = other436.dbname; - tablename = other436.tablename; - constraintname = other436.constraintname; - catName = other436.catName; - __isset = other436.__isset; +DropConstraintRequest& DropConstraintRequest::operator=(const DropConstraintRequest& other441) { + dbname = other441.dbname; + tablename = other441.tablename; + constraintname = other441.constraintname; + catName = other441.catName; + __isset = other441.__isset; return *this; } void DropConstraintRequest::printTo(std::ostream& out) const { @@ -11907,14 +12265,14 @@ uint32_t AddPrimaryKeyRequest::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->primaryKeyCols.clear(); - uint32_t _size437; - ::apache::thrift::protocol::TType _etype440; - xfer += iprot->readListBegin(_etype440, _size437); - this->primaryKeyCols.resize(_size437); - uint32_t _i441; - for (_i441 = 0; _i441 < _size437; ++_i441) + uint32_t _size442; + ::apache::thrift::protocol::TType _etype445; + xfer += iprot->readListBegin(_etype445, _size442); + this->primaryKeyCols.resize(_size442); + uint32_t _i446; + for (_i446 = 0; _i446 < _size442; ++_i446) { - xfer += this->primaryKeyCols[_i441].read(iprot); + xfer += this->primaryKeyCols[_i446].read(iprot); } xfer += iprot->readListEnd(); } @@ -11945,10 +12303,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 _iter442; - for (_iter442 = this->primaryKeyCols.begin(); _iter442 != this->primaryKeyCols.end(); ++_iter442) + std::vector ::const_iterator _iter447; + for (_iter447 = this->primaryKeyCols.begin(); _iter447 != this->primaryKeyCols.end(); ++_iter447) { - xfer += (*_iter442).write(oprot); + xfer += (*_iter447).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11964,11 +12322,11 @@ void swap(AddPrimaryKeyRequest &a, AddPrimaryKeyRequest &b) { swap(a.primaryKeyCols, b.primaryKeyCols); } -AddPrimaryKeyRequest::AddPrimaryKeyRequest(const AddPrimaryKeyRequest& other443) { - primaryKeyCols = other443.primaryKeyCols; +AddPrimaryKeyRequest::AddPrimaryKeyRequest(const AddPrimaryKeyRequest& other448) { + primaryKeyCols = other448.primaryKeyCols; } -AddPrimaryKeyRequest& AddPrimaryKeyRequest::operator=(const AddPrimaryKeyRequest& other444) { - primaryKeyCols = other444.primaryKeyCols; +AddPrimaryKeyRequest& AddPrimaryKeyRequest::operator=(const AddPrimaryKeyRequest& other449) { + primaryKeyCols = other449.primaryKeyCols; return *this; } void AddPrimaryKeyRequest::printTo(std::ostream& out) const { @@ -12013,14 +12371,14 @@ uint32_t AddForeignKeyRequest::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->foreignKeyCols.clear(); - uint32_t _size445; - ::apache::thrift::protocol::TType _etype448; - xfer += iprot->readListBegin(_etype448, _size445); - this->foreignKeyCols.resize(_size445); - uint32_t _i449; - for (_i449 = 0; _i449 < _size445; ++_i449) + uint32_t _size450; + ::apache::thrift::protocol::TType _etype453; + xfer += iprot->readListBegin(_etype453, _size450); + this->foreignKeyCols.resize(_size450); + uint32_t _i454; + for (_i454 = 0; _i454 < _size450; ++_i454) { - xfer += this->foreignKeyCols[_i449].read(iprot); + xfer += this->foreignKeyCols[_i454].read(iprot); } xfer += iprot->readListEnd(); } @@ -12051,10 +12409,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 _iter450; - for (_iter450 = this->foreignKeyCols.begin(); _iter450 != this->foreignKeyCols.end(); ++_iter450) + std::vector ::const_iterator _iter455; + for (_iter455 = this->foreignKeyCols.begin(); _iter455 != this->foreignKeyCols.end(); ++_iter455) { - xfer += (*_iter450).write(oprot); + xfer += (*_iter455).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12070,11 +12428,11 @@ void swap(AddForeignKeyRequest &a, AddForeignKeyRequest &b) { swap(a.foreignKeyCols, b.foreignKeyCols); } -AddForeignKeyRequest::AddForeignKeyRequest(const AddForeignKeyRequest& other451) { - foreignKeyCols = other451.foreignKeyCols; +AddForeignKeyRequest::AddForeignKeyRequest(const AddForeignKeyRequest& other456) { + foreignKeyCols = other456.foreignKeyCols; } -AddForeignKeyRequest& AddForeignKeyRequest::operator=(const AddForeignKeyRequest& other452) { - foreignKeyCols = other452.foreignKeyCols; +AddForeignKeyRequest& AddForeignKeyRequest::operator=(const AddForeignKeyRequest& other457) { + foreignKeyCols = other457.foreignKeyCols; return *this; } void AddForeignKeyRequest::printTo(std::ostream& out) const { @@ -12119,14 +12477,14 @@ uint32_t AddUniqueConstraintRequest::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->uniqueConstraintCols.clear(); - uint32_t _size453; - ::apache::thrift::protocol::TType _etype456; - xfer += iprot->readListBegin(_etype456, _size453); - this->uniqueConstraintCols.resize(_size453); - uint32_t _i457; - for (_i457 = 0; _i457 < _size453; ++_i457) + uint32_t _size458; + ::apache::thrift::protocol::TType _etype461; + xfer += iprot->readListBegin(_etype461, _size458); + this->uniqueConstraintCols.resize(_size458); + uint32_t _i462; + for (_i462 = 0; _i462 < _size458; ++_i462) { - xfer += this->uniqueConstraintCols[_i457].read(iprot); + xfer += this->uniqueConstraintCols[_i462].read(iprot); } xfer += iprot->readListEnd(); } @@ -12157,10 +12515,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 _iter458; - for (_iter458 = this->uniqueConstraintCols.begin(); _iter458 != this->uniqueConstraintCols.end(); ++_iter458) + std::vector ::const_iterator _iter463; + for (_iter463 = this->uniqueConstraintCols.begin(); _iter463 != this->uniqueConstraintCols.end(); ++_iter463) { - xfer += (*_iter458).write(oprot); + xfer += (*_iter463).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12176,11 +12534,11 @@ void swap(AddUniqueConstraintRequest &a, AddUniqueConstraintRequest &b) { swap(a.uniqueConstraintCols, b.uniqueConstraintCols); } -AddUniqueConstraintRequest::AddUniqueConstraintRequest(const AddUniqueConstraintRequest& other459) { - uniqueConstraintCols = other459.uniqueConstraintCols; +AddUniqueConstraintRequest::AddUniqueConstraintRequest(const AddUniqueConstraintRequest& other464) { + uniqueConstraintCols = other464.uniqueConstraintCols; } -AddUniqueConstraintRequest& AddUniqueConstraintRequest::operator=(const AddUniqueConstraintRequest& other460) { - uniqueConstraintCols = other460.uniqueConstraintCols; +AddUniqueConstraintRequest& AddUniqueConstraintRequest::operator=(const AddUniqueConstraintRequest& other465) { + uniqueConstraintCols = other465.uniqueConstraintCols; return *this; } void AddUniqueConstraintRequest::printTo(std::ostream& out) const { @@ -12225,14 +12583,14 @@ uint32_t AddNotNullConstraintRequest::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->notNullConstraintCols.clear(); - uint32_t _size461; - ::apache::thrift::protocol::TType _etype464; - xfer += iprot->readListBegin(_etype464, _size461); - this->notNullConstraintCols.resize(_size461); - uint32_t _i465; - for (_i465 = 0; _i465 < _size461; ++_i465) + uint32_t _size466; + ::apache::thrift::protocol::TType _etype469; + xfer += iprot->readListBegin(_etype469, _size466); + this->notNullConstraintCols.resize(_size466); + uint32_t _i470; + for (_i470 = 0; _i470 < _size466; ++_i470) { - xfer += this->notNullConstraintCols[_i465].read(iprot); + xfer += this->notNullConstraintCols[_i470].read(iprot); } xfer += iprot->readListEnd(); } @@ -12263,10 +12621,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 _iter466; - for (_iter466 = this->notNullConstraintCols.begin(); _iter466 != this->notNullConstraintCols.end(); ++_iter466) + std::vector ::const_iterator _iter471; + for (_iter471 = this->notNullConstraintCols.begin(); _iter471 != this->notNullConstraintCols.end(); ++_iter471) { - xfer += (*_iter466).write(oprot); + xfer += (*_iter471).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12282,11 +12640,11 @@ void swap(AddNotNullConstraintRequest &a, AddNotNullConstraintRequest &b) { swap(a.notNullConstraintCols, b.notNullConstraintCols); } -AddNotNullConstraintRequest::AddNotNullConstraintRequest(const AddNotNullConstraintRequest& other467) { - notNullConstraintCols = other467.notNullConstraintCols; +AddNotNullConstraintRequest::AddNotNullConstraintRequest(const AddNotNullConstraintRequest& other472) { + notNullConstraintCols = other472.notNullConstraintCols; } -AddNotNullConstraintRequest& AddNotNullConstraintRequest::operator=(const AddNotNullConstraintRequest& other468) { - notNullConstraintCols = other468.notNullConstraintCols; +AddNotNullConstraintRequest& AddNotNullConstraintRequest::operator=(const AddNotNullConstraintRequest& other473) { + notNullConstraintCols = other473.notNullConstraintCols; return *this; } void AddNotNullConstraintRequest::printTo(std::ostream& out) const { @@ -12331,14 +12689,14 @@ uint32_t AddDefaultConstraintRequest::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->defaultConstraintCols.clear(); - uint32_t _size469; - ::apache::thrift::protocol::TType _etype472; - xfer += iprot->readListBegin(_etype472, _size469); - this->defaultConstraintCols.resize(_size469); - uint32_t _i473; - for (_i473 = 0; _i473 < _size469; ++_i473) + uint32_t _size474; + ::apache::thrift::protocol::TType _etype477; + xfer += iprot->readListBegin(_etype477, _size474); + this->defaultConstraintCols.resize(_size474); + uint32_t _i478; + for (_i478 = 0; _i478 < _size474; ++_i478) { - xfer += this->defaultConstraintCols[_i473].read(iprot); + xfer += this->defaultConstraintCols[_i478].read(iprot); } xfer += iprot->readListEnd(); } @@ -12369,10 +12727,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 _iter474; - for (_iter474 = this->defaultConstraintCols.begin(); _iter474 != this->defaultConstraintCols.end(); ++_iter474) + std::vector ::const_iterator _iter479; + for (_iter479 = this->defaultConstraintCols.begin(); _iter479 != this->defaultConstraintCols.end(); ++_iter479) { - xfer += (*_iter474).write(oprot); + xfer += (*_iter479).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12388,11 +12746,11 @@ void swap(AddDefaultConstraintRequest &a, AddDefaultConstraintRequest &b) { swap(a.defaultConstraintCols, b.defaultConstraintCols); } -AddDefaultConstraintRequest::AddDefaultConstraintRequest(const AddDefaultConstraintRequest& other475) { - defaultConstraintCols = other475.defaultConstraintCols; +AddDefaultConstraintRequest::AddDefaultConstraintRequest(const AddDefaultConstraintRequest& other480) { + defaultConstraintCols = other480.defaultConstraintCols; } -AddDefaultConstraintRequest& AddDefaultConstraintRequest::operator=(const AddDefaultConstraintRequest& other476) { - defaultConstraintCols = other476.defaultConstraintCols; +AddDefaultConstraintRequest& AddDefaultConstraintRequest::operator=(const AddDefaultConstraintRequest& other481) { + defaultConstraintCols = other481.defaultConstraintCols; return *this; } void AddDefaultConstraintRequest::printTo(std::ostream& out) const { @@ -12437,14 +12795,14 @@ uint32_t AddCheckConstraintRequest::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->checkConstraintCols.clear(); - uint32_t _size477; - ::apache::thrift::protocol::TType _etype480; - xfer += iprot->readListBegin(_etype480, _size477); - this->checkConstraintCols.resize(_size477); - uint32_t _i481; - for (_i481 = 0; _i481 < _size477; ++_i481) + uint32_t _size482; + ::apache::thrift::protocol::TType _etype485; + xfer += iprot->readListBegin(_etype485, _size482); + this->checkConstraintCols.resize(_size482); + uint32_t _i486; + for (_i486 = 0; _i486 < _size482; ++_i486) { - xfer += this->checkConstraintCols[_i481].read(iprot); + xfer += this->checkConstraintCols[_i486].read(iprot); } xfer += iprot->readListEnd(); } @@ -12475,10 +12833,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 _iter482; - for (_iter482 = this->checkConstraintCols.begin(); _iter482 != this->checkConstraintCols.end(); ++_iter482) + std::vector ::const_iterator _iter487; + for (_iter487 = this->checkConstraintCols.begin(); _iter487 != this->checkConstraintCols.end(); ++_iter487) { - xfer += (*_iter482).write(oprot); + xfer += (*_iter487).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12494,11 +12852,11 @@ void swap(AddCheckConstraintRequest &a, AddCheckConstraintRequest &b) { swap(a.checkConstraintCols, b.checkConstraintCols); } -AddCheckConstraintRequest::AddCheckConstraintRequest(const AddCheckConstraintRequest& other483) { - checkConstraintCols = other483.checkConstraintCols; +AddCheckConstraintRequest::AddCheckConstraintRequest(const AddCheckConstraintRequest& other488) { + checkConstraintCols = other488.checkConstraintCols; } -AddCheckConstraintRequest& AddCheckConstraintRequest::operator=(const AddCheckConstraintRequest& other484) { - checkConstraintCols = other484.checkConstraintCols; +AddCheckConstraintRequest& AddCheckConstraintRequest::operator=(const AddCheckConstraintRequest& other489) { + checkConstraintCols = other489.checkConstraintCols; return *this; } void AddCheckConstraintRequest::printTo(std::ostream& out) const { @@ -12548,14 +12906,14 @@ uint32_t PartitionsByExprResult::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size485; - ::apache::thrift::protocol::TType _etype488; - xfer += iprot->readListBegin(_etype488, _size485); - this->partitions.resize(_size485); - uint32_t _i489; - for (_i489 = 0; _i489 < _size485; ++_i489) + uint32_t _size490; + ::apache::thrift::protocol::TType _etype493; + xfer += iprot->readListBegin(_etype493, _size490); + this->partitions.resize(_size490); + uint32_t _i494; + for (_i494 = 0; _i494 < _size490; ++_i494) { - xfer += this->partitions[_i489].read(iprot); + xfer += this->partitions[_i494].read(iprot); } xfer += iprot->readListEnd(); } @@ -12596,10 +12954,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 _iter490; - for (_iter490 = this->partitions.begin(); _iter490 != this->partitions.end(); ++_iter490) + std::vector ::const_iterator _iter495; + for (_iter495 = this->partitions.begin(); _iter495 != this->partitions.end(); ++_iter495) { - xfer += (*_iter490).write(oprot); + xfer += (*_iter495).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12620,13 +12978,13 @@ void swap(PartitionsByExprResult &a, PartitionsByExprResult &b) { swap(a.hasUnknownPartitions, b.hasUnknownPartitions); } -PartitionsByExprResult::PartitionsByExprResult(const PartitionsByExprResult& other491) { - partitions = other491.partitions; - hasUnknownPartitions = other491.hasUnknownPartitions; +PartitionsByExprResult::PartitionsByExprResult(const PartitionsByExprResult& other496) { + partitions = other496.partitions; + hasUnknownPartitions = other496.hasUnknownPartitions; } -PartitionsByExprResult& PartitionsByExprResult::operator=(const PartitionsByExprResult& other492) { - partitions = other492.partitions; - hasUnknownPartitions = other492.hasUnknownPartitions; +PartitionsByExprResult& PartitionsByExprResult::operator=(const PartitionsByExprResult& other497) { + partitions = other497.partitions; + hasUnknownPartitions = other497.hasUnknownPartitions; return *this; } void PartitionsByExprResult::printTo(std::ostream& out) const { @@ -12807,23 +13165,23 @@ void swap(PartitionsByExprRequest &a, PartitionsByExprRequest &b) { swap(a.__isset, b.__isset); } -PartitionsByExprRequest::PartitionsByExprRequest(const PartitionsByExprRequest& other493) { - dbName = other493.dbName; - tblName = other493.tblName; - expr = other493.expr; - defaultPartitionName = other493.defaultPartitionName; - maxParts = other493.maxParts; - catName = other493.catName; - __isset = other493.__isset; -} -PartitionsByExprRequest& PartitionsByExprRequest::operator=(const PartitionsByExprRequest& other494) { - dbName = other494.dbName; - tblName = other494.tblName; - expr = other494.expr; - defaultPartitionName = other494.defaultPartitionName; - maxParts = other494.maxParts; - catName = other494.catName; - __isset = other494.__isset; +PartitionsByExprRequest::PartitionsByExprRequest(const PartitionsByExprRequest& other498) { + dbName = other498.dbName; + tblName = other498.tblName; + expr = other498.expr; + defaultPartitionName = other498.defaultPartitionName; + maxParts = other498.maxParts; + catName = other498.catName; + __isset = other498.__isset; +} +PartitionsByExprRequest& PartitionsByExprRequest::operator=(const PartitionsByExprRequest& other499) { + dbName = other499.dbName; + tblName = other499.tblName; + expr = other499.expr; + defaultPartitionName = other499.defaultPartitionName; + maxParts = other499.maxParts; + catName = other499.catName; + __isset = other499.__isset; return *this; } void PartitionsByExprRequest::printTo(std::ostream& out) const { @@ -12847,6 +13205,11 @@ void TableStatsResult::__set_tableStats(const std::vector & this->tableStats = val; } +void TableStatsResult::__set_isStatsCompliant(const IsolationLevelCompliance::type val) { + this->isStatsCompliant = val; +__isset.isStatsCompliant = true; +} + uint32_t TableStatsResult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); @@ -12873,14 +13236,14 @@ uint32_t TableStatsResult::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tableStats.clear(); - uint32_t _size495; - ::apache::thrift::protocol::TType _etype498; - xfer += iprot->readListBegin(_etype498, _size495); - this->tableStats.resize(_size495); - uint32_t _i499; - for (_i499 = 0; _i499 < _size495; ++_i499) + uint32_t _size500; + ::apache::thrift::protocol::TType _etype503; + xfer += iprot->readListBegin(_etype503, _size500); + this->tableStats.resize(_size500); + uint32_t _i504; + for (_i504 = 0; _i504 < _size500; ++_i504) { - xfer += this->tableStats[_i499].read(iprot); + xfer += this->tableStats[_i504].read(iprot); } xfer += iprot->readListEnd(); } @@ -12889,6 +13252,16 @@ uint32_t TableStatsResult::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast505; + xfer += iprot->readI32(ecast505); + this->isStatsCompliant = (IsolationLevelCompliance::type)ecast505; + this->__isset.isStatsCompliant = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -12911,15 +13284,20 @@ 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 _iter500; - for (_iter500 = this->tableStats.begin(); _iter500 != this->tableStats.end(); ++_iter500) + std::vector ::const_iterator _iter506; + for (_iter506 = this->tableStats.begin(); _iter506 != this->tableStats.end(); ++_iter506) { - xfer += (*_iter500).write(oprot); + xfer += (*_iter506).write(oprot); } xfer += oprot->writeListEnd(); } xfer += oprot->writeFieldEnd(); + if (this->__isset.isStatsCompliant) { + xfer += oprot->writeFieldBegin("isStatsCompliant", ::apache::thrift::protocol::T_I32, 2); + xfer += oprot->writeI32((int32_t)this->isStatsCompliant); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -12928,19 +13306,26 @@ uint32_t TableStatsResult::write(::apache::thrift::protocol::TProtocol* oprot) c void swap(TableStatsResult &a, TableStatsResult &b) { using ::std::swap; swap(a.tableStats, b.tableStats); + swap(a.isStatsCompliant, b.isStatsCompliant); + swap(a.__isset, b.__isset); } -TableStatsResult::TableStatsResult(const TableStatsResult& other501) { - tableStats = other501.tableStats; +TableStatsResult::TableStatsResult(const TableStatsResult& other507) { + tableStats = other507.tableStats; + isStatsCompliant = other507.isStatsCompliant; + __isset = other507.__isset; } -TableStatsResult& TableStatsResult::operator=(const TableStatsResult& other502) { - tableStats = other502.tableStats; +TableStatsResult& TableStatsResult::operator=(const TableStatsResult& other508) { + tableStats = other508.tableStats; + isStatsCompliant = other508.isStatsCompliant; + __isset = other508.__isset; return *this; } void TableStatsResult::printTo(std::ostream& out) const { using ::apache::thrift::to_string; out << "TableStatsResult("; out << "tableStats=" << to_string(tableStats); + out << ", " << "isStatsCompliant="; (__isset.isStatsCompliant ? (out << to_string(isStatsCompliant)) : (out << "")); out << ")"; } @@ -12953,6 +13338,11 @@ void PartitionsStatsResult::__set_partStats(const std::mappartStats = val; } +void PartitionsStatsResult::__set_isStatsCompliant(const IsolationLevelCompliance::type val) { + this->isStatsCompliant = val; +__isset.isStatsCompliant = true; +} + uint32_t PartitionsStatsResult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); @@ -12979,26 +13369,26 @@ uint32_t PartitionsStatsResult::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partStats.clear(); - uint32_t _size503; - ::apache::thrift::protocol::TType _ktype504; - ::apache::thrift::protocol::TType _vtype505; - xfer += iprot->readMapBegin(_ktype504, _vtype505, _size503); - uint32_t _i507; - for (_i507 = 0; _i507 < _size503; ++_i507) + uint32_t _size509; + ::apache::thrift::protocol::TType _ktype510; + ::apache::thrift::protocol::TType _vtype511; + xfer += iprot->readMapBegin(_ktype510, _vtype511, _size509); + uint32_t _i513; + for (_i513 = 0; _i513 < _size509; ++_i513) { - std::string _key508; - xfer += iprot->readString(_key508); - std::vector & _val509 = this->partStats[_key508]; + std::string _key514; + xfer += iprot->readString(_key514); + std::vector & _val515 = this->partStats[_key514]; { - _val509.clear(); - uint32_t _size510; - ::apache::thrift::protocol::TType _etype513; - xfer += iprot->readListBegin(_etype513, _size510); - _val509.resize(_size510); - uint32_t _i514; - for (_i514 = 0; _i514 < _size510; ++_i514) + _val515.clear(); + uint32_t _size516; + ::apache::thrift::protocol::TType _etype519; + xfer += iprot->readListBegin(_etype519, _size516); + _val515.resize(_size516); + uint32_t _i520; + for (_i520 = 0; _i520 < _size516; ++_i520) { - xfer += _val509[_i514].read(iprot); + xfer += _val515[_i520].read(iprot); } xfer += iprot->readListEnd(); } @@ -13010,6 +13400,16 @@ uint32_t PartitionsStatsResult::read(::apache::thrift::protocol::TProtocol* ipro xfer += iprot->skip(ftype); } break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast521; + xfer += iprot->readI32(ecast521); + this->isStatsCompliant = (IsolationLevelCompliance::type)ecast521; + this->__isset.isStatsCompliant = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -13032,16 +13432,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 _iter515; - for (_iter515 = this->partStats.begin(); _iter515 != this->partStats.end(); ++_iter515) + std::map > ::const_iterator _iter522; + for (_iter522 = this->partStats.begin(); _iter522 != this->partStats.end(); ++_iter522) { - xfer += oprot->writeString(_iter515->first); + xfer += oprot->writeString(_iter522->first); { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter515->second.size())); - std::vector ::const_iterator _iter516; - for (_iter516 = _iter515->second.begin(); _iter516 != _iter515->second.end(); ++_iter516) + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter522->second.size())); + std::vector ::const_iterator _iter523; + for (_iter523 = _iter522->second.begin(); _iter523 != _iter522->second.end(); ++_iter523) { - xfer += (*_iter516).write(oprot); + xfer += (*_iter523).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13050,6 +13450,11 @@ uint32_t PartitionsStatsResult::write(::apache::thrift::protocol::TProtocol* opr } xfer += oprot->writeFieldEnd(); + if (this->__isset.isStatsCompliant) { + xfer += oprot->writeFieldBegin("isStatsCompliant", ::apache::thrift::protocol::T_I32, 2); + xfer += oprot->writeI32((int32_t)this->isStatsCompliant); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -13058,19 +13463,26 @@ uint32_t PartitionsStatsResult::write(::apache::thrift::protocol::TProtocol* opr void swap(PartitionsStatsResult &a, PartitionsStatsResult &b) { using ::std::swap; swap(a.partStats, b.partStats); + swap(a.isStatsCompliant, b.isStatsCompliant); + swap(a.__isset, b.__isset); } -PartitionsStatsResult::PartitionsStatsResult(const PartitionsStatsResult& other517) { - partStats = other517.partStats; +PartitionsStatsResult::PartitionsStatsResult(const PartitionsStatsResult& other524) { + partStats = other524.partStats; + isStatsCompliant = other524.isStatsCompliant; + __isset = other524.__isset; } -PartitionsStatsResult& PartitionsStatsResult::operator=(const PartitionsStatsResult& other518) { - partStats = other518.partStats; +PartitionsStatsResult& PartitionsStatsResult::operator=(const PartitionsStatsResult& other525) { + partStats = other525.partStats; + isStatsCompliant = other525.isStatsCompliant; + __isset = other525.__isset; return *this; } void PartitionsStatsResult::printTo(std::ostream& out) const { using ::apache::thrift::to_string; out << "PartitionsStatsResult("; out << "partStats=" << to_string(partStats); + out << ", " << "isStatsCompliant="; (__isset.isStatsCompliant ? (out << to_string(isStatsCompliant)) : (out << "")); out << ")"; } @@ -13096,6 +13508,16 @@ void TableStatsRequest::__set_catName(const std::string& val) { __isset.catName = true; } +void TableStatsRequest::__set_txnId(const int64_t val) { + this->txnId = val; +__isset.txnId = true; +} + +void TableStatsRequest::__set_validWriteIdList(const std::string& val) { + this->validWriteIdList = val; +__isset.validWriteIdList = true; +} + uint32_t TableStatsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); @@ -13140,14 +13562,14 @@ uint32_t TableStatsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->colNames.clear(); - uint32_t _size519; - ::apache::thrift::protocol::TType _etype522; - xfer += iprot->readListBegin(_etype522, _size519); - this->colNames.resize(_size519); - uint32_t _i523; - for (_i523 = 0; _i523 < _size519; ++_i523) + uint32_t _size526; + ::apache::thrift::protocol::TType _etype529; + xfer += iprot->readListBegin(_etype529, _size526); + this->colNames.resize(_size526); + uint32_t _i530; + for (_i530 = 0; _i530 < _size526; ++_i530) { - xfer += iprot->readString(this->colNames[_i523]); + xfer += iprot->readString(this->colNames[_i530]); } xfer += iprot->readListEnd(); } @@ -13164,6 +13586,22 @@ uint32_t TableStatsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 5: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->txnId); + this->__isset.txnId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->validWriteIdList); + this->__isset.validWriteIdList = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -13198,10 +13636,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 _iter524; - for (_iter524 = this->colNames.begin(); _iter524 != this->colNames.end(); ++_iter524) + std::vector ::const_iterator _iter531; + for (_iter531 = this->colNames.begin(); _iter531 != this->colNames.end(); ++_iter531) { - xfer += oprot->writeString((*_iter524)); + xfer += oprot->writeString((*_iter531)); } xfer += oprot->writeListEnd(); } @@ -13212,6 +13650,16 @@ uint32_t TableStatsRequest::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeString(this->catName); xfer += oprot->writeFieldEnd(); } + if (this->__isset.txnId) { + xfer += oprot->writeFieldBegin("txnId", ::apache::thrift::protocol::T_I64, 5); + xfer += oprot->writeI64(this->txnId); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.validWriteIdList) { + xfer += oprot->writeFieldBegin("validWriteIdList", ::apache::thrift::protocol::T_STRING, 6); + xfer += oprot->writeString(this->validWriteIdList); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -13223,22 +13671,28 @@ void swap(TableStatsRequest &a, TableStatsRequest &b) { swap(a.tblName, b.tblName); swap(a.colNames, b.colNames); swap(a.catName, b.catName); + swap(a.txnId, b.txnId); + swap(a.validWriteIdList, b.validWriteIdList); swap(a.__isset, b.__isset); } -TableStatsRequest::TableStatsRequest(const TableStatsRequest& other525) { - dbName = other525.dbName; - tblName = other525.tblName; - colNames = other525.colNames; - catName = other525.catName; - __isset = other525.__isset; -} -TableStatsRequest& TableStatsRequest::operator=(const TableStatsRequest& other526) { - dbName = other526.dbName; - tblName = other526.tblName; - colNames = other526.colNames; - catName = other526.catName; - __isset = other526.__isset; +TableStatsRequest::TableStatsRequest(const TableStatsRequest& other532) { + dbName = other532.dbName; + tblName = other532.tblName; + colNames = other532.colNames; + catName = other532.catName; + txnId = other532.txnId; + validWriteIdList = other532.validWriteIdList; + __isset = other532.__isset; +} +TableStatsRequest& TableStatsRequest::operator=(const TableStatsRequest& other533) { + dbName = other533.dbName; + tblName = other533.tblName; + colNames = other533.colNames; + catName = other533.catName; + txnId = other533.txnId; + validWriteIdList = other533.validWriteIdList; + __isset = other533.__isset; return *this; } void TableStatsRequest::printTo(std::ostream& out) const { @@ -13248,6 +13702,8 @@ void TableStatsRequest::printTo(std::ostream& out) const { out << ", " << "tblName=" << to_string(tblName); out << ", " << "colNames=" << to_string(colNames); out << ", " << "catName="; (__isset.catName ? (out << to_string(catName)) : (out << "")); + out << ", " << "txnId="; (__isset.txnId ? (out << to_string(txnId)) : (out << "")); + out << ", " << "validWriteIdList="; (__isset.validWriteIdList ? (out << to_string(validWriteIdList)) : (out << "")); out << ")"; } @@ -13277,6 +13733,16 @@ void PartitionsStatsRequest::__set_catName(const std::string& val) { __isset.catName = true; } +void PartitionsStatsRequest::__set_txnId(const int64_t val) { + this->txnId = val; +__isset.txnId = true; +} + +void PartitionsStatsRequest::__set_validWriteIdList(const std::string& val) { + this->validWriteIdList = val; +__isset.validWriteIdList = true; +} + uint32_t PartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); @@ -13322,14 +13788,14 @@ uint32_t PartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->colNames.clear(); - uint32_t _size527; - ::apache::thrift::protocol::TType _etype530; - xfer += iprot->readListBegin(_etype530, _size527); - this->colNames.resize(_size527); - uint32_t _i531; - for (_i531 = 0; _i531 < _size527; ++_i531) + uint32_t _size534; + ::apache::thrift::protocol::TType _etype537; + xfer += iprot->readListBegin(_etype537, _size534); + this->colNames.resize(_size534); + uint32_t _i538; + for (_i538 = 0; _i538 < _size534; ++_i538) { - xfer += iprot->readString(this->colNames[_i531]); + xfer += iprot->readString(this->colNames[_i538]); } xfer += iprot->readListEnd(); } @@ -13342,14 +13808,14 @@ uint32_t PartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partNames.clear(); - uint32_t _size532; - ::apache::thrift::protocol::TType _etype535; - xfer += iprot->readListBegin(_etype535, _size532); - this->partNames.resize(_size532); - uint32_t _i536; - for (_i536 = 0; _i536 < _size532; ++_i536) + uint32_t _size539; + ::apache::thrift::protocol::TType _etype542; + xfer += iprot->readListBegin(_etype542, _size539); + this->partNames.resize(_size539); + uint32_t _i543; + for (_i543 = 0; _i543 < _size539; ++_i543) { - xfer += iprot->readString(this->partNames[_i536]); + xfer += iprot->readString(this->partNames[_i543]); } xfer += iprot->readListEnd(); } @@ -13366,6 +13832,22 @@ uint32_t PartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* ipr xfer += iprot->skip(ftype); } break; + case 6: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->txnId); + this->__isset.txnId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 7: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->validWriteIdList); + this->__isset.validWriteIdList = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -13402,10 +13884,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 _iter537; - for (_iter537 = this->colNames.begin(); _iter537 != this->colNames.end(); ++_iter537) + std::vector ::const_iterator _iter544; + for (_iter544 = this->colNames.begin(); _iter544 != this->colNames.end(); ++_iter544) { - xfer += oprot->writeString((*_iter537)); + xfer += oprot->writeString((*_iter544)); } xfer += oprot->writeListEnd(); } @@ -13414,10 +13896,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 _iter538; - for (_iter538 = this->partNames.begin(); _iter538 != this->partNames.end(); ++_iter538) + std::vector ::const_iterator _iter545; + for (_iter545 = this->partNames.begin(); _iter545 != this->partNames.end(); ++_iter545) { - xfer += oprot->writeString((*_iter538)); + xfer += oprot->writeString((*_iter545)); } xfer += oprot->writeListEnd(); } @@ -13428,6 +13910,16 @@ uint32_t PartitionsStatsRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeString(this->catName); xfer += oprot->writeFieldEnd(); } + if (this->__isset.txnId) { + xfer += oprot->writeFieldBegin("txnId", ::apache::thrift::protocol::T_I64, 6); + xfer += oprot->writeI64(this->txnId); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.validWriteIdList) { + xfer += oprot->writeFieldBegin("validWriteIdList", ::apache::thrift::protocol::T_STRING, 7); + xfer += oprot->writeString(this->validWriteIdList); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -13440,24 +13932,30 @@ void swap(PartitionsStatsRequest &a, PartitionsStatsRequest &b) { swap(a.colNames, b.colNames); swap(a.partNames, b.partNames); swap(a.catName, b.catName); + swap(a.txnId, b.txnId); + swap(a.validWriteIdList, b.validWriteIdList); swap(a.__isset, b.__isset); } -PartitionsStatsRequest::PartitionsStatsRequest(const PartitionsStatsRequest& other539) { - dbName = other539.dbName; - tblName = other539.tblName; - colNames = other539.colNames; - partNames = other539.partNames; - catName = other539.catName; - __isset = other539.__isset; -} -PartitionsStatsRequest& PartitionsStatsRequest::operator=(const PartitionsStatsRequest& other540) { - dbName = other540.dbName; - tblName = other540.tblName; - colNames = other540.colNames; - partNames = other540.partNames; - catName = other540.catName; - __isset = other540.__isset; +PartitionsStatsRequest::PartitionsStatsRequest(const PartitionsStatsRequest& other546) { + dbName = other546.dbName; + tblName = other546.tblName; + colNames = other546.colNames; + partNames = other546.partNames; + catName = other546.catName; + txnId = other546.txnId; + validWriteIdList = other546.validWriteIdList; + __isset = other546.__isset; +} +PartitionsStatsRequest& PartitionsStatsRequest::operator=(const PartitionsStatsRequest& other547) { + dbName = other547.dbName; + tblName = other547.tblName; + colNames = other547.colNames; + partNames = other547.partNames; + catName = other547.catName; + txnId = other547.txnId; + validWriteIdList = other547.validWriteIdList; + __isset = other547.__isset; return *this; } void PartitionsStatsRequest::printTo(std::ostream& out) const { @@ -13468,6 +13966,8 @@ void PartitionsStatsRequest::printTo(std::ostream& out) const { out << ", " << "colNames=" << to_string(colNames); out << ", " << "partNames=" << to_string(partNames); out << ", " << "catName="; (__isset.catName ? (out << to_string(catName)) : (out << "")); + out << ", " << "txnId="; (__isset.txnId ? (out << to_string(txnId)) : (out << "")); + out << ", " << "validWriteIdList="; (__isset.validWriteIdList ? (out << to_string(validWriteIdList)) : (out << "")); out << ")"; } @@ -13506,14 +14006,14 @@ uint32_t AddPartitionsResult::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size541; - ::apache::thrift::protocol::TType _etype544; - xfer += iprot->readListBegin(_etype544, _size541); - this->partitions.resize(_size541); - uint32_t _i545; - for (_i545 = 0; _i545 < _size541; ++_i545) + uint32_t _size548; + ::apache::thrift::protocol::TType _etype551; + xfer += iprot->readListBegin(_etype551, _size548); + this->partitions.resize(_size548); + uint32_t _i552; + for (_i552 = 0; _i552 < _size548; ++_i552) { - xfer += this->partitions[_i545].read(iprot); + xfer += this->partitions[_i552].read(iprot); } xfer += iprot->readListEnd(); } @@ -13543,10 +14043,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 _iter546; - for (_iter546 = this->partitions.begin(); _iter546 != this->partitions.end(); ++_iter546) + std::vector ::const_iterator _iter553; + for (_iter553 = this->partitions.begin(); _iter553 != this->partitions.end(); ++_iter553) { - xfer += (*_iter546).write(oprot); + xfer += (*_iter553).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13563,13 +14063,13 @@ void swap(AddPartitionsResult &a, AddPartitionsResult &b) { swap(a.__isset, b.__isset); } -AddPartitionsResult::AddPartitionsResult(const AddPartitionsResult& other547) { - partitions = other547.partitions; - __isset = other547.__isset; +AddPartitionsResult::AddPartitionsResult(const AddPartitionsResult& other554) { + partitions = other554.partitions; + __isset = other554.__isset; } -AddPartitionsResult& AddPartitionsResult::operator=(const AddPartitionsResult& other548) { - partitions = other548.partitions; - __isset = other548.__isset; +AddPartitionsResult& AddPartitionsResult::operator=(const AddPartitionsResult& other555) { + partitions = other555.partitions; + __isset = other555.__isset; return *this; } void AddPartitionsResult::printTo(std::ostream& out) const { @@ -13655,14 +14155,14 @@ uint32_t AddPartitionsRequest::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->parts.clear(); - uint32_t _size549; - ::apache::thrift::protocol::TType _etype552; - xfer += iprot->readListBegin(_etype552, _size549); - this->parts.resize(_size549); - uint32_t _i553; - for (_i553 = 0; _i553 < _size549; ++_i553) + uint32_t _size556; + ::apache::thrift::protocol::TType _etype559; + xfer += iprot->readListBegin(_etype559, _size556); + this->parts.resize(_size556); + uint32_t _i560; + for (_i560 = 0; _i560 < _size556; ++_i560) { - xfer += this->parts[_i553].read(iprot); + xfer += this->parts[_i560].read(iprot); } xfer += iprot->readListEnd(); } @@ -13731,10 +14231,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 _iter554; - for (_iter554 = this->parts.begin(); _iter554 != this->parts.end(); ++_iter554) + std::vector ::const_iterator _iter561; + for (_iter561 = this->parts.begin(); _iter561 != this->parts.end(); ++_iter561) { - xfer += (*_iter554).write(oprot); + xfer += (*_iter561).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13770,23 +14270,23 @@ void swap(AddPartitionsRequest &a, AddPartitionsRequest &b) { swap(a.__isset, b.__isset); } -AddPartitionsRequest::AddPartitionsRequest(const AddPartitionsRequest& other555) { - dbName = other555.dbName; - tblName = other555.tblName; - parts = other555.parts; - ifNotExists = other555.ifNotExists; - needResult = other555.needResult; - catName = other555.catName; - __isset = other555.__isset; -} -AddPartitionsRequest& AddPartitionsRequest::operator=(const AddPartitionsRequest& other556) { - dbName = other556.dbName; - tblName = other556.tblName; - parts = other556.parts; - ifNotExists = other556.ifNotExists; - needResult = other556.needResult; - catName = other556.catName; - __isset = other556.__isset; +AddPartitionsRequest::AddPartitionsRequest(const AddPartitionsRequest& other562) { + dbName = other562.dbName; + tblName = other562.tblName; + parts = other562.parts; + ifNotExists = other562.ifNotExists; + needResult = other562.needResult; + catName = other562.catName; + __isset = other562.__isset; +} +AddPartitionsRequest& AddPartitionsRequest::operator=(const AddPartitionsRequest& other563) { + dbName = other563.dbName; + tblName = other563.tblName; + parts = other563.parts; + ifNotExists = other563.ifNotExists; + needResult = other563.needResult; + catName = other563.catName; + __isset = other563.__isset; return *this; } void AddPartitionsRequest::printTo(std::ostream& out) const { @@ -13836,14 +14336,14 @@ uint32_t DropPartitionsResult::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size557; - ::apache::thrift::protocol::TType _etype560; - xfer += iprot->readListBegin(_etype560, _size557); - this->partitions.resize(_size557); - uint32_t _i561; - for (_i561 = 0; _i561 < _size557; ++_i561) + uint32_t _size564; + ::apache::thrift::protocol::TType _etype567; + xfer += iprot->readListBegin(_etype567, _size564); + this->partitions.resize(_size564); + uint32_t _i568; + for (_i568 = 0; _i568 < _size564; ++_i568) { - xfer += this->partitions[_i561].read(iprot); + xfer += this->partitions[_i568].read(iprot); } xfer += iprot->readListEnd(); } @@ -13873,10 +14373,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 _iter562; - for (_iter562 = this->partitions.begin(); _iter562 != this->partitions.end(); ++_iter562) + std::vector ::const_iterator _iter569; + for (_iter569 = this->partitions.begin(); _iter569 != this->partitions.end(); ++_iter569) { - xfer += (*_iter562).write(oprot); + xfer += (*_iter569).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13893,13 +14393,13 @@ void swap(DropPartitionsResult &a, DropPartitionsResult &b) { swap(a.__isset, b.__isset); } -DropPartitionsResult::DropPartitionsResult(const DropPartitionsResult& other563) { - partitions = other563.partitions; - __isset = other563.__isset; +DropPartitionsResult::DropPartitionsResult(const DropPartitionsResult& other570) { + partitions = other570.partitions; + __isset = other570.__isset; } -DropPartitionsResult& DropPartitionsResult::operator=(const DropPartitionsResult& other564) { - partitions = other564.partitions; - __isset = other564.__isset; +DropPartitionsResult& DropPartitionsResult::operator=(const DropPartitionsResult& other571) { + partitions = other571.partitions; + __isset = other571.__isset; return *this; } void DropPartitionsResult::printTo(std::ostream& out) const { @@ -14001,15 +14501,15 @@ void swap(DropPartitionsExpr &a, DropPartitionsExpr &b) { swap(a.__isset, b.__isset); } -DropPartitionsExpr::DropPartitionsExpr(const DropPartitionsExpr& other565) { - expr = other565.expr; - partArchiveLevel = other565.partArchiveLevel; - __isset = other565.__isset; +DropPartitionsExpr::DropPartitionsExpr(const DropPartitionsExpr& other572) { + expr = other572.expr; + partArchiveLevel = other572.partArchiveLevel; + __isset = other572.__isset; } -DropPartitionsExpr& DropPartitionsExpr::operator=(const DropPartitionsExpr& other566) { - expr = other566.expr; - partArchiveLevel = other566.partArchiveLevel; - __isset = other566.__isset; +DropPartitionsExpr& DropPartitionsExpr::operator=(const DropPartitionsExpr& other573) { + expr = other573.expr; + partArchiveLevel = other573.partArchiveLevel; + __isset = other573.__isset; return *this; } void DropPartitionsExpr::printTo(std::ostream& out) const { @@ -14058,14 +14558,14 @@ uint32_t RequestPartsSpec::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size567; - ::apache::thrift::protocol::TType _etype570; - xfer += iprot->readListBegin(_etype570, _size567); - this->names.resize(_size567); - uint32_t _i571; - for (_i571 = 0; _i571 < _size567; ++_i571) + uint32_t _size574; + ::apache::thrift::protocol::TType _etype577; + xfer += iprot->readListBegin(_etype577, _size574); + this->names.resize(_size574); + uint32_t _i578; + for (_i578 = 0; _i578 < _size574; ++_i578) { - xfer += iprot->readString(this->names[_i571]); + xfer += iprot->readString(this->names[_i578]); } xfer += iprot->readListEnd(); } @@ -14078,14 +14578,14 @@ uint32_t RequestPartsSpec::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->exprs.clear(); - uint32_t _size572; - ::apache::thrift::protocol::TType _etype575; - xfer += iprot->readListBegin(_etype575, _size572); - this->exprs.resize(_size572); - uint32_t _i576; - for (_i576 = 0; _i576 < _size572; ++_i576) + uint32_t _size579; + ::apache::thrift::protocol::TType _etype582; + xfer += iprot->readListBegin(_etype582, _size579); + this->exprs.resize(_size579); + uint32_t _i583; + for (_i583 = 0; _i583 < _size579; ++_i583) { - xfer += this->exprs[_i576].read(iprot); + xfer += this->exprs[_i583].read(iprot); } xfer += iprot->readListEnd(); } @@ -14114,10 +14614,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 _iter577; - for (_iter577 = this->names.begin(); _iter577 != this->names.end(); ++_iter577) + std::vector ::const_iterator _iter584; + for (_iter584 = this->names.begin(); _iter584 != this->names.end(); ++_iter584) { - xfer += oprot->writeString((*_iter577)); + xfer += oprot->writeString((*_iter584)); } xfer += oprot->writeListEnd(); } @@ -14126,10 +14626,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 _iter578; - for (_iter578 = this->exprs.begin(); _iter578 != this->exprs.end(); ++_iter578) + std::vector ::const_iterator _iter585; + for (_iter585 = this->exprs.begin(); _iter585 != this->exprs.end(); ++_iter585) { - xfer += (*_iter578).write(oprot); + xfer += (*_iter585).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14147,15 +14647,15 @@ void swap(RequestPartsSpec &a, RequestPartsSpec &b) { swap(a.__isset, b.__isset); } -RequestPartsSpec::RequestPartsSpec(const RequestPartsSpec& other579) { - names = other579.names; - exprs = other579.exprs; - __isset = other579.__isset; +RequestPartsSpec::RequestPartsSpec(const RequestPartsSpec& other586) { + names = other586.names; + exprs = other586.exprs; + __isset = other586.__isset; } -RequestPartsSpec& RequestPartsSpec::operator=(const RequestPartsSpec& other580) { - names = other580.names; - exprs = other580.exprs; - __isset = other580.__isset; +RequestPartsSpec& RequestPartsSpec::operator=(const RequestPartsSpec& other587) { + names = other587.names; + exprs = other587.exprs; + __isset = other587.__isset; return *this; } void RequestPartsSpec::printTo(std::ostream& out) const { @@ -14393,29 +14893,29 @@ void swap(DropPartitionsRequest &a, DropPartitionsRequest &b) { swap(a.__isset, b.__isset); } -DropPartitionsRequest::DropPartitionsRequest(const DropPartitionsRequest& other581) { - dbName = other581.dbName; - tblName = other581.tblName; - parts = other581.parts; - deleteData = other581.deleteData; - ifExists = other581.ifExists; - ignoreProtection = other581.ignoreProtection; - environmentContext = other581.environmentContext; - needResult = other581.needResult; - catName = other581.catName; - __isset = other581.__isset; -} -DropPartitionsRequest& DropPartitionsRequest::operator=(const DropPartitionsRequest& other582) { - dbName = other582.dbName; - tblName = other582.tblName; - parts = other582.parts; - deleteData = other582.deleteData; - ifExists = other582.ifExists; - ignoreProtection = other582.ignoreProtection; - environmentContext = other582.environmentContext; - needResult = other582.needResult; - catName = other582.catName; - __isset = other582.__isset; +DropPartitionsRequest::DropPartitionsRequest(const DropPartitionsRequest& other588) { + dbName = other588.dbName; + tblName = other588.tblName; + parts = other588.parts; + deleteData = other588.deleteData; + ifExists = other588.ifExists; + ignoreProtection = other588.ignoreProtection; + environmentContext = other588.environmentContext; + needResult = other588.needResult; + catName = other588.catName; + __isset = other588.__isset; +} +DropPartitionsRequest& DropPartitionsRequest::operator=(const DropPartitionsRequest& other589) { + dbName = other589.dbName; + tblName = other589.tblName; + parts = other589.parts; + deleteData = other589.deleteData; + ifExists = other589.ifExists; + ignoreProtection = other589.ignoreProtection; + environmentContext = other589.environmentContext; + needResult = other589.needResult; + catName = other589.catName; + __isset = other589.__isset; return *this; } void DropPartitionsRequest::printTo(std::ostream& out) const { @@ -14524,14 +15024,14 @@ uint32_t PartitionValuesRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionKeys.clear(); - uint32_t _size583; - ::apache::thrift::protocol::TType _etype586; - xfer += iprot->readListBegin(_etype586, _size583); - this->partitionKeys.resize(_size583); - uint32_t _i587; - for (_i587 = 0; _i587 < _size583; ++_i587) + uint32_t _size590; + ::apache::thrift::protocol::TType _etype593; + xfer += iprot->readListBegin(_etype593, _size590); + this->partitionKeys.resize(_size590); + uint32_t _i594; + for (_i594 = 0; _i594 < _size590; ++_i594) { - xfer += this->partitionKeys[_i587].read(iprot); + xfer += this->partitionKeys[_i594].read(iprot); } xfer += iprot->readListEnd(); } @@ -14560,14 +15060,14 @@ uint32_t PartitionValuesRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionOrder.clear(); - uint32_t _size588; - ::apache::thrift::protocol::TType _etype591; - xfer += iprot->readListBegin(_etype591, _size588); - this->partitionOrder.resize(_size588); - uint32_t _i592; - for (_i592 = 0; _i592 < _size588; ++_i592) + uint32_t _size595; + ::apache::thrift::protocol::TType _etype598; + xfer += iprot->readListBegin(_etype598, _size595); + this->partitionOrder.resize(_size595); + uint32_t _i599; + for (_i599 = 0; _i599 < _size595; ++_i599) { - xfer += this->partitionOrder[_i592].read(iprot); + xfer += this->partitionOrder[_i599].read(iprot); } xfer += iprot->readListEnd(); } @@ -14634,10 +15134,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 _iter593; - for (_iter593 = this->partitionKeys.begin(); _iter593 != this->partitionKeys.end(); ++_iter593) + std::vector ::const_iterator _iter600; + for (_iter600 = this->partitionKeys.begin(); _iter600 != this->partitionKeys.end(); ++_iter600) { - xfer += (*_iter593).write(oprot); + xfer += (*_iter600).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14657,10 +15157,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 _iter594; - for (_iter594 = this->partitionOrder.begin(); _iter594 != this->partitionOrder.end(); ++_iter594) + std::vector ::const_iterator _iter601; + for (_iter601 = this->partitionOrder.begin(); _iter601 != this->partitionOrder.end(); ++_iter601) { - xfer += (*_iter594).write(oprot); + xfer += (*_iter601).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14700,29 +15200,29 @@ void swap(PartitionValuesRequest &a, PartitionValuesRequest &b) { swap(a.__isset, b.__isset); } -PartitionValuesRequest::PartitionValuesRequest(const PartitionValuesRequest& other595) { - dbName = other595.dbName; - tblName = other595.tblName; - partitionKeys = other595.partitionKeys; - applyDistinct = other595.applyDistinct; - filter = other595.filter; - partitionOrder = other595.partitionOrder; - ascending = other595.ascending; - maxParts = other595.maxParts; - catName = other595.catName; - __isset = other595.__isset; -} -PartitionValuesRequest& PartitionValuesRequest::operator=(const PartitionValuesRequest& other596) { - dbName = other596.dbName; - tblName = other596.tblName; - partitionKeys = other596.partitionKeys; - applyDistinct = other596.applyDistinct; - filter = other596.filter; - partitionOrder = other596.partitionOrder; - ascending = other596.ascending; - maxParts = other596.maxParts; - catName = other596.catName; - __isset = other596.__isset; +PartitionValuesRequest::PartitionValuesRequest(const PartitionValuesRequest& other602) { + dbName = other602.dbName; + tblName = other602.tblName; + partitionKeys = other602.partitionKeys; + applyDistinct = other602.applyDistinct; + filter = other602.filter; + partitionOrder = other602.partitionOrder; + ascending = other602.ascending; + maxParts = other602.maxParts; + catName = other602.catName; + __isset = other602.__isset; +} +PartitionValuesRequest& PartitionValuesRequest::operator=(const PartitionValuesRequest& other603) { + dbName = other603.dbName; + tblName = other603.tblName; + partitionKeys = other603.partitionKeys; + applyDistinct = other603.applyDistinct; + filter = other603.filter; + partitionOrder = other603.partitionOrder; + ascending = other603.ascending; + maxParts = other603.maxParts; + catName = other603.catName; + __isset = other603.__isset; return *this; } void PartitionValuesRequest::printTo(std::ostream& out) const { @@ -14775,14 +15275,14 @@ uint32_t PartitionValuesRow::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->row.clear(); - uint32_t _size597; - ::apache::thrift::protocol::TType _etype600; - xfer += iprot->readListBegin(_etype600, _size597); - this->row.resize(_size597); - uint32_t _i601; - for (_i601 = 0; _i601 < _size597; ++_i601) + uint32_t _size604; + ::apache::thrift::protocol::TType _etype607; + xfer += iprot->readListBegin(_etype607, _size604); + this->row.resize(_size604); + uint32_t _i608; + for (_i608 = 0; _i608 < _size604; ++_i608) { - xfer += iprot->readString(this->row[_i601]); + xfer += iprot->readString(this->row[_i608]); } xfer += iprot->readListEnd(); } @@ -14813,10 +15313,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 _iter602; - for (_iter602 = this->row.begin(); _iter602 != this->row.end(); ++_iter602) + std::vector ::const_iterator _iter609; + for (_iter609 = this->row.begin(); _iter609 != this->row.end(); ++_iter609) { - xfer += oprot->writeString((*_iter602)); + xfer += oprot->writeString((*_iter609)); } xfer += oprot->writeListEnd(); } @@ -14832,11 +15332,11 @@ void swap(PartitionValuesRow &a, PartitionValuesRow &b) { swap(a.row, b.row); } -PartitionValuesRow::PartitionValuesRow(const PartitionValuesRow& other603) { - row = other603.row; +PartitionValuesRow::PartitionValuesRow(const PartitionValuesRow& other610) { + row = other610.row; } -PartitionValuesRow& PartitionValuesRow::operator=(const PartitionValuesRow& other604) { - row = other604.row; +PartitionValuesRow& PartitionValuesRow::operator=(const PartitionValuesRow& other611) { + row = other611.row; return *this; } void PartitionValuesRow::printTo(std::ostream& out) const { @@ -14881,14 +15381,14 @@ uint32_t PartitionValuesResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionValues.clear(); - uint32_t _size605; - ::apache::thrift::protocol::TType _etype608; - xfer += iprot->readListBegin(_etype608, _size605); - this->partitionValues.resize(_size605); - uint32_t _i609; - for (_i609 = 0; _i609 < _size605; ++_i609) + uint32_t _size612; + ::apache::thrift::protocol::TType _etype615; + xfer += iprot->readListBegin(_etype615, _size612); + this->partitionValues.resize(_size612); + uint32_t _i616; + for (_i616 = 0; _i616 < _size612; ++_i616) { - xfer += this->partitionValues[_i609].read(iprot); + xfer += this->partitionValues[_i616].read(iprot); } xfer += iprot->readListEnd(); } @@ -14919,10 +15419,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 _iter610; - for (_iter610 = this->partitionValues.begin(); _iter610 != this->partitionValues.end(); ++_iter610) + std::vector ::const_iterator _iter617; + for (_iter617 = this->partitionValues.begin(); _iter617 != this->partitionValues.end(); ++_iter617) { - xfer += (*_iter610).write(oprot); + xfer += (*_iter617).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14938,11 +15438,11 @@ void swap(PartitionValuesResponse &a, PartitionValuesResponse &b) { swap(a.partitionValues, b.partitionValues); } -PartitionValuesResponse::PartitionValuesResponse(const PartitionValuesResponse& other611) { - partitionValues = other611.partitionValues; +PartitionValuesResponse::PartitionValuesResponse(const PartitionValuesResponse& other618) { + partitionValues = other618.partitionValues; } -PartitionValuesResponse& PartitionValuesResponse::operator=(const PartitionValuesResponse& other612) { - partitionValues = other612.partitionValues; +PartitionValuesResponse& PartitionValuesResponse::operator=(const PartitionValuesResponse& other619) { + partitionValues = other619.partitionValues; return *this; } void PartitionValuesResponse::printTo(std::ostream& out) const { @@ -14988,9 +15488,9 @@ uint32_t ResourceUri::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast613; - xfer += iprot->readI32(ecast613); - this->resourceType = (ResourceType::type)ecast613; + int32_t ecast620; + xfer += iprot->readI32(ecast620); + this->resourceType = (ResourceType::type)ecast620; this->__isset.resourceType = true; } else { xfer += iprot->skip(ftype); @@ -15041,15 +15541,15 @@ void swap(ResourceUri &a, ResourceUri &b) { swap(a.__isset, b.__isset); } -ResourceUri::ResourceUri(const ResourceUri& other614) { - resourceType = other614.resourceType; - uri = other614.uri; - __isset = other614.__isset; +ResourceUri::ResourceUri(const ResourceUri& other621) { + resourceType = other621.resourceType; + uri = other621.uri; + __isset = other621.__isset; } -ResourceUri& ResourceUri::operator=(const ResourceUri& other615) { - resourceType = other615.resourceType; - uri = other615.uri; - __isset = other615.__isset; +ResourceUri& ResourceUri::operator=(const ResourceUri& other622) { + resourceType = other622.resourceType; + uri = other622.uri; + __isset = other622.__isset; return *this; } void ResourceUri::printTo(std::ostream& out) const { @@ -15157,9 +15657,9 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast616; - xfer += iprot->readI32(ecast616); - this->ownerType = (PrincipalType::type)ecast616; + int32_t ecast623; + xfer += iprot->readI32(ecast623); + this->ownerType = (PrincipalType::type)ecast623; this->__isset.ownerType = true; } else { xfer += iprot->skip(ftype); @@ -15175,9 +15675,9 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 7: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast617; - xfer += iprot->readI32(ecast617); - this->functionType = (FunctionType::type)ecast617; + int32_t ecast624; + xfer += iprot->readI32(ecast624); + this->functionType = (FunctionType::type)ecast624; this->__isset.functionType = true; } else { xfer += iprot->skip(ftype); @@ -15187,14 +15687,14 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->resourceUris.clear(); - uint32_t _size618; - ::apache::thrift::protocol::TType _etype621; - xfer += iprot->readListBegin(_etype621, _size618); - this->resourceUris.resize(_size618); - uint32_t _i622; - for (_i622 = 0; _i622 < _size618; ++_i622) + uint32_t _size625; + ::apache::thrift::protocol::TType _etype628; + xfer += iprot->readListBegin(_etype628, _size625); + this->resourceUris.resize(_size625); + uint32_t _i629; + for (_i629 = 0; _i629 < _size625; ++_i629) { - xfer += this->resourceUris[_i622].read(iprot); + xfer += this->resourceUris[_i629].read(iprot); } xfer += iprot->readListEnd(); } @@ -15259,10 +15759,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 _iter623; - for (_iter623 = this->resourceUris.begin(); _iter623 != this->resourceUris.end(); ++_iter623) + std::vector ::const_iterator _iter630; + for (_iter630 = this->resourceUris.begin(); _iter630 != this->resourceUris.end(); ++_iter630) { - xfer += (*_iter623).write(oprot); + xfer += (*_iter630).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15292,29 +15792,29 @@ void swap(Function &a, Function &b) { swap(a.__isset, b.__isset); } -Function::Function(const Function& other624) { - functionName = other624.functionName; - dbName = other624.dbName; - className = other624.className; - ownerName = other624.ownerName; - ownerType = other624.ownerType; - createTime = other624.createTime; - functionType = other624.functionType; - resourceUris = other624.resourceUris; - catName = other624.catName; - __isset = other624.__isset; -} -Function& Function::operator=(const Function& other625) { - functionName = other625.functionName; - dbName = other625.dbName; - className = other625.className; - ownerName = other625.ownerName; - ownerType = other625.ownerType; - createTime = other625.createTime; - functionType = other625.functionType; - resourceUris = other625.resourceUris; - catName = other625.catName; - __isset = other625.__isset; +Function::Function(const Function& other631) { + functionName = other631.functionName; + dbName = other631.dbName; + className = other631.className; + ownerName = other631.ownerName; + ownerType = other631.ownerType; + createTime = other631.createTime; + functionType = other631.functionType; + resourceUris = other631.resourceUris; + catName = other631.catName; + __isset = other631.__isset; +} +Function& Function::operator=(const Function& other632) { + functionName = other632.functionName; + dbName = other632.dbName; + className = other632.className; + ownerName = other632.ownerName; + ownerType = other632.ownerType; + createTime = other632.createTime; + functionType = other632.functionType; + resourceUris = other632.resourceUris; + catName = other632.catName; + __isset = other632.__isset; return *this; } void Function::printTo(std::ostream& out) const { @@ -15413,9 +15913,9 @@ uint32_t TxnInfo::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast626; - xfer += iprot->readI32(ecast626); - this->state = (TxnState::type)ecast626; + int32_t ecast633; + xfer += iprot->readI32(ecast633); + this->state = (TxnState::type)ecast633; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -15562,29 +16062,29 @@ void swap(TxnInfo &a, TxnInfo &b) { swap(a.__isset, b.__isset); } -TxnInfo::TxnInfo(const TxnInfo& other627) { - id = other627.id; - state = other627.state; - user = other627.user; - hostname = other627.hostname; - agentInfo = other627.agentInfo; - heartbeatCount = other627.heartbeatCount; - metaInfo = other627.metaInfo; - startedTime = other627.startedTime; - lastHeartbeatTime = other627.lastHeartbeatTime; - __isset = other627.__isset; -} -TxnInfo& TxnInfo::operator=(const TxnInfo& other628) { - id = other628.id; - state = other628.state; - user = other628.user; - hostname = other628.hostname; - agentInfo = other628.agentInfo; - heartbeatCount = other628.heartbeatCount; - metaInfo = other628.metaInfo; - startedTime = other628.startedTime; - lastHeartbeatTime = other628.lastHeartbeatTime; - __isset = other628.__isset; +TxnInfo::TxnInfo(const TxnInfo& other634) { + id = other634.id; + state = other634.state; + user = other634.user; + hostname = other634.hostname; + agentInfo = other634.agentInfo; + heartbeatCount = other634.heartbeatCount; + metaInfo = other634.metaInfo; + startedTime = other634.startedTime; + lastHeartbeatTime = other634.lastHeartbeatTime; + __isset = other634.__isset; +} +TxnInfo& TxnInfo::operator=(const TxnInfo& other635) { + id = other635.id; + state = other635.state; + user = other635.user; + hostname = other635.hostname; + agentInfo = other635.agentInfo; + heartbeatCount = other635.heartbeatCount; + metaInfo = other635.metaInfo; + startedTime = other635.startedTime; + lastHeartbeatTime = other635.lastHeartbeatTime; + __isset = other635.__isset; return *this; } void TxnInfo::printTo(std::ostream& out) const { @@ -15650,14 +16150,14 @@ uint32_t GetOpenTxnsInfoResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->open_txns.clear(); - uint32_t _size629; - ::apache::thrift::protocol::TType _etype632; - xfer += iprot->readListBegin(_etype632, _size629); - this->open_txns.resize(_size629); - uint32_t _i633; - for (_i633 = 0; _i633 < _size629; ++_i633) + uint32_t _size636; + ::apache::thrift::protocol::TType _etype639; + xfer += iprot->readListBegin(_etype639, _size636); + this->open_txns.resize(_size636); + uint32_t _i640; + for (_i640 = 0; _i640 < _size636; ++_i640) { - xfer += this->open_txns[_i633].read(iprot); + xfer += this->open_txns[_i640].read(iprot); } xfer += iprot->readListEnd(); } @@ -15694,10 +16194,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 _iter634; - for (_iter634 = this->open_txns.begin(); _iter634 != this->open_txns.end(); ++_iter634) + std::vector ::const_iterator _iter641; + for (_iter641 = this->open_txns.begin(); _iter641 != this->open_txns.end(); ++_iter641) { - xfer += (*_iter634).write(oprot); + xfer += (*_iter641).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15714,13 +16214,13 @@ void swap(GetOpenTxnsInfoResponse &a, GetOpenTxnsInfoResponse &b) { swap(a.open_txns, b.open_txns); } -GetOpenTxnsInfoResponse::GetOpenTxnsInfoResponse(const GetOpenTxnsInfoResponse& other635) { - txn_high_water_mark = other635.txn_high_water_mark; - open_txns = other635.open_txns; +GetOpenTxnsInfoResponse::GetOpenTxnsInfoResponse(const GetOpenTxnsInfoResponse& other642) { + txn_high_water_mark = other642.txn_high_water_mark; + open_txns = other642.open_txns; } -GetOpenTxnsInfoResponse& GetOpenTxnsInfoResponse::operator=(const GetOpenTxnsInfoResponse& other636) { - txn_high_water_mark = other636.txn_high_water_mark; - open_txns = other636.open_txns; +GetOpenTxnsInfoResponse& GetOpenTxnsInfoResponse::operator=(const GetOpenTxnsInfoResponse& other643) { + txn_high_water_mark = other643.txn_high_water_mark; + open_txns = other643.open_txns; return *this; } void GetOpenTxnsInfoResponse::printTo(std::ostream& out) const { @@ -15789,14 +16289,14 @@ uint32_t GetOpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->open_txns.clear(); - uint32_t _size637; - ::apache::thrift::protocol::TType _etype640; - xfer += iprot->readListBegin(_etype640, _size637); - this->open_txns.resize(_size637); - uint32_t _i641; - for (_i641 = 0; _i641 < _size637; ++_i641) + uint32_t _size644; + ::apache::thrift::protocol::TType _etype647; + xfer += iprot->readListBegin(_etype647, _size644); + this->open_txns.resize(_size644); + uint32_t _i648; + for (_i648 = 0; _i648 < _size644; ++_i648) { - xfer += iprot->readI64(this->open_txns[_i641]); + xfer += iprot->readI64(this->open_txns[_i648]); } xfer += iprot->readListEnd(); } @@ -15851,10 +16351,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 _iter642; - for (_iter642 = this->open_txns.begin(); _iter642 != this->open_txns.end(); ++_iter642) + std::vector ::const_iterator _iter649; + for (_iter649 = this->open_txns.begin(); _iter649 != this->open_txns.end(); ++_iter649) { - xfer += oprot->writeI64((*_iter642)); + xfer += oprot->writeI64((*_iter649)); } xfer += oprot->writeListEnd(); } @@ -15883,19 +16383,19 @@ void swap(GetOpenTxnsResponse &a, GetOpenTxnsResponse &b) { swap(a.__isset, b.__isset); } -GetOpenTxnsResponse::GetOpenTxnsResponse(const GetOpenTxnsResponse& other643) { - txn_high_water_mark = other643.txn_high_water_mark; - open_txns = other643.open_txns; - min_open_txn = other643.min_open_txn; - abortedBits = other643.abortedBits; - __isset = other643.__isset; -} -GetOpenTxnsResponse& GetOpenTxnsResponse::operator=(const GetOpenTxnsResponse& other644) { - txn_high_water_mark = other644.txn_high_water_mark; - open_txns = other644.open_txns; - min_open_txn = other644.min_open_txn; - abortedBits = other644.abortedBits; - __isset = other644.__isset; +GetOpenTxnsResponse::GetOpenTxnsResponse(const GetOpenTxnsResponse& other650) { + txn_high_water_mark = other650.txn_high_water_mark; + open_txns = other650.open_txns; + min_open_txn = other650.min_open_txn; + abortedBits = other650.abortedBits; + __isset = other650.__isset; +} +GetOpenTxnsResponse& GetOpenTxnsResponse::operator=(const GetOpenTxnsResponse& other651) { + txn_high_water_mark = other651.txn_high_water_mark; + open_txns = other651.open_txns; + min_open_txn = other651.min_open_txn; + abortedBits = other651.abortedBits; + __isset = other651.__isset; return *this; } void GetOpenTxnsResponse::printTo(std::ostream& out) const { @@ -16008,14 +16508,14 @@ uint32_t OpenTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->replSrcTxnIds.clear(); - uint32_t _size645; - ::apache::thrift::protocol::TType _etype648; - xfer += iprot->readListBegin(_etype648, _size645); - this->replSrcTxnIds.resize(_size645); - uint32_t _i649; - for (_i649 = 0; _i649 < _size645; ++_i649) + uint32_t _size652; + ::apache::thrift::protocol::TType _etype655; + xfer += iprot->readListBegin(_etype655, _size652); + this->replSrcTxnIds.resize(_size652); + uint32_t _i656; + for (_i656 = 0; _i656 < _size652; ++_i656) { - xfer += iprot->readI64(this->replSrcTxnIds[_i649]); + xfer += iprot->readI64(this->replSrcTxnIds[_i656]); } xfer += iprot->readListEnd(); } @@ -16073,10 +16573,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 _iter650; - for (_iter650 = this->replSrcTxnIds.begin(); _iter650 != this->replSrcTxnIds.end(); ++_iter650) + std::vector ::const_iterator _iter657; + for (_iter657 = this->replSrcTxnIds.begin(); _iter657 != this->replSrcTxnIds.end(); ++_iter657) { - xfer += oprot->writeI64((*_iter650)); + xfer += oprot->writeI64((*_iter657)); } xfer += oprot->writeListEnd(); } @@ -16098,23 +16598,23 @@ void swap(OpenTxnRequest &a, OpenTxnRequest &b) { swap(a.__isset, b.__isset); } -OpenTxnRequest::OpenTxnRequest(const OpenTxnRequest& other651) { - num_txns = other651.num_txns; - user = other651.user; - hostname = other651.hostname; - agentInfo = other651.agentInfo; - replPolicy = other651.replPolicy; - replSrcTxnIds = other651.replSrcTxnIds; - __isset = other651.__isset; -} -OpenTxnRequest& OpenTxnRequest::operator=(const OpenTxnRequest& other652) { - num_txns = other652.num_txns; - user = other652.user; - hostname = other652.hostname; - agentInfo = other652.agentInfo; - replPolicy = other652.replPolicy; - replSrcTxnIds = other652.replSrcTxnIds; - __isset = other652.__isset; +OpenTxnRequest::OpenTxnRequest(const OpenTxnRequest& other658) { + num_txns = other658.num_txns; + user = other658.user; + hostname = other658.hostname; + agentInfo = other658.agentInfo; + replPolicy = other658.replPolicy; + replSrcTxnIds = other658.replSrcTxnIds; + __isset = other658.__isset; +} +OpenTxnRequest& OpenTxnRequest::operator=(const OpenTxnRequest& other659) { + num_txns = other659.num_txns; + user = other659.user; + hostname = other659.hostname; + agentInfo = other659.agentInfo; + replPolicy = other659.replPolicy; + replSrcTxnIds = other659.replSrcTxnIds; + __isset = other659.__isset; return *this; } void OpenTxnRequest::printTo(std::ostream& out) const { @@ -16164,14 +16664,14 @@ uint32_t OpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txn_ids.clear(); - uint32_t _size653; - ::apache::thrift::protocol::TType _etype656; - xfer += iprot->readListBegin(_etype656, _size653); - this->txn_ids.resize(_size653); - uint32_t _i657; - for (_i657 = 0; _i657 < _size653; ++_i657) + uint32_t _size660; + ::apache::thrift::protocol::TType _etype663; + xfer += iprot->readListBegin(_etype663, _size660); + this->txn_ids.resize(_size660); + uint32_t _i664; + for (_i664 = 0; _i664 < _size660; ++_i664) { - xfer += iprot->readI64(this->txn_ids[_i657]); + xfer += iprot->readI64(this->txn_ids[_i664]); } xfer += iprot->readListEnd(); } @@ -16202,10 +16702,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 _iter658; - for (_iter658 = this->txn_ids.begin(); _iter658 != this->txn_ids.end(); ++_iter658) + std::vector ::const_iterator _iter665; + for (_iter665 = this->txn_ids.begin(); _iter665 != this->txn_ids.end(); ++_iter665) { - xfer += oprot->writeI64((*_iter658)); + xfer += oprot->writeI64((*_iter665)); } xfer += oprot->writeListEnd(); } @@ -16221,11 +16721,11 @@ void swap(OpenTxnsResponse &a, OpenTxnsResponse &b) { swap(a.txn_ids, b.txn_ids); } -OpenTxnsResponse::OpenTxnsResponse(const OpenTxnsResponse& other659) { - txn_ids = other659.txn_ids; +OpenTxnsResponse::OpenTxnsResponse(const OpenTxnsResponse& other666) { + txn_ids = other666.txn_ids; } -OpenTxnsResponse& OpenTxnsResponse::operator=(const OpenTxnsResponse& other660) { - txn_ids = other660.txn_ids; +OpenTxnsResponse& OpenTxnsResponse::operator=(const OpenTxnsResponse& other667) { + txn_ids = other667.txn_ids; return *this; } void OpenTxnsResponse::printTo(std::ostream& out) const { @@ -16327,15 +16827,15 @@ void swap(AbortTxnRequest &a, AbortTxnRequest &b) { swap(a.__isset, b.__isset); } -AbortTxnRequest::AbortTxnRequest(const AbortTxnRequest& other661) { - txnid = other661.txnid; - replPolicy = other661.replPolicy; - __isset = other661.__isset; +AbortTxnRequest::AbortTxnRequest(const AbortTxnRequest& other668) { + txnid = other668.txnid; + replPolicy = other668.replPolicy; + __isset = other668.__isset; } -AbortTxnRequest& AbortTxnRequest::operator=(const AbortTxnRequest& other662) { - txnid = other662.txnid; - replPolicy = other662.replPolicy; - __isset = other662.__isset; +AbortTxnRequest& AbortTxnRequest::operator=(const AbortTxnRequest& other669) { + txnid = other669.txnid; + replPolicy = other669.replPolicy; + __isset = other669.__isset; return *this; } void AbortTxnRequest::printTo(std::ostream& out) const { @@ -16381,14 +16881,14 @@ uint32_t AbortTxnsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txn_ids.clear(); - uint32_t _size663; - ::apache::thrift::protocol::TType _etype666; - xfer += iprot->readListBegin(_etype666, _size663); - this->txn_ids.resize(_size663); - uint32_t _i667; - for (_i667 = 0; _i667 < _size663; ++_i667) + uint32_t _size670; + ::apache::thrift::protocol::TType _etype673; + xfer += iprot->readListBegin(_etype673, _size670); + this->txn_ids.resize(_size670); + uint32_t _i674; + for (_i674 = 0; _i674 < _size670; ++_i674) { - xfer += iprot->readI64(this->txn_ids[_i667]); + xfer += iprot->readI64(this->txn_ids[_i674]); } xfer += iprot->readListEnd(); } @@ -16419,10 +16919,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 _iter668; - for (_iter668 = this->txn_ids.begin(); _iter668 != this->txn_ids.end(); ++_iter668) + std::vector ::const_iterator _iter675; + for (_iter675 = this->txn_ids.begin(); _iter675 != this->txn_ids.end(); ++_iter675) { - xfer += oprot->writeI64((*_iter668)); + xfer += oprot->writeI64((*_iter675)); } xfer += oprot->writeListEnd(); } @@ -16438,11 +16938,11 @@ void swap(AbortTxnsRequest &a, AbortTxnsRequest &b) { swap(a.txn_ids, b.txn_ids); } -AbortTxnsRequest::AbortTxnsRequest(const AbortTxnsRequest& other669) { - txn_ids = other669.txn_ids; +AbortTxnsRequest::AbortTxnsRequest(const AbortTxnsRequest& other676) { + txn_ids = other676.txn_ids; } -AbortTxnsRequest& AbortTxnsRequest::operator=(const AbortTxnsRequest& other670) { - txn_ids = other670.txn_ids; +AbortTxnsRequest& AbortTxnsRequest::operator=(const AbortTxnsRequest& other677) { + txn_ids = other677.txn_ids; return *this; } void AbortTxnsRequest::printTo(std::ostream& out) const { @@ -16544,15 +17044,15 @@ void swap(CommitTxnRequest &a, CommitTxnRequest &b) { swap(a.__isset, b.__isset); } -CommitTxnRequest::CommitTxnRequest(const CommitTxnRequest& other671) { - txnid = other671.txnid; - replPolicy = other671.replPolicy; - __isset = other671.__isset; +CommitTxnRequest::CommitTxnRequest(const CommitTxnRequest& other678) { + txnid = other678.txnid; + replPolicy = other678.replPolicy; + __isset = other678.__isset; } -CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other672) { - txnid = other672.txnid; - replPolicy = other672.replPolicy; - __isset = other672.__isset; +CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other679) { + txnid = other679.txnid; + replPolicy = other679.replPolicy; + __isset = other679.__isset; return *this; } void CommitTxnRequest::printTo(std::ostream& out) const { @@ -16663,14 +17163,14 @@ uint32_t ReplTblWriteIdStateRequest::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partNames.clear(); - uint32_t _size673; - ::apache::thrift::protocol::TType _etype676; - xfer += iprot->readListBegin(_etype676, _size673); - this->partNames.resize(_size673); - uint32_t _i677; - for (_i677 = 0; _i677 < _size673; ++_i677) + uint32_t _size680; + ::apache::thrift::protocol::TType _etype683; + xfer += iprot->readListBegin(_etype683, _size680); + this->partNames.resize(_size680); + uint32_t _i684; + for (_i684 = 0; _i684 < _size680; ++_i684) { - xfer += iprot->readString(this->partNames[_i677]); + xfer += iprot->readString(this->partNames[_i684]); } xfer += iprot->readListEnd(); } @@ -16730,10 +17230,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 _iter678; - for (_iter678 = this->partNames.begin(); _iter678 != this->partNames.end(); ++_iter678) + std::vector ::const_iterator _iter685; + for (_iter685 = this->partNames.begin(); _iter685 != this->partNames.end(); ++_iter685) { - xfer += oprot->writeString((*_iter678)); + xfer += oprot->writeString((*_iter685)); } xfer += oprot->writeListEnd(); } @@ -16755,23 +17255,23 @@ void swap(ReplTblWriteIdStateRequest &a, ReplTblWriteIdStateRequest &b) { swap(a.__isset, b.__isset); } -ReplTblWriteIdStateRequest::ReplTblWriteIdStateRequest(const ReplTblWriteIdStateRequest& other679) { - validWriteIdlist = other679.validWriteIdlist; - user = other679.user; - hostName = other679.hostName; - dbName = other679.dbName; - tableName = other679.tableName; - partNames = other679.partNames; - __isset = other679.__isset; -} -ReplTblWriteIdStateRequest& ReplTblWriteIdStateRequest::operator=(const ReplTblWriteIdStateRequest& other680) { - validWriteIdlist = other680.validWriteIdlist; - user = other680.user; - hostName = other680.hostName; - dbName = other680.dbName; - tableName = other680.tableName; - partNames = other680.partNames; - __isset = other680.__isset; +ReplTblWriteIdStateRequest::ReplTblWriteIdStateRequest(const ReplTblWriteIdStateRequest& other686) { + validWriteIdlist = other686.validWriteIdlist; + user = other686.user; + hostName = other686.hostName; + dbName = other686.dbName; + tableName = other686.tableName; + partNames = other686.partNames; + __isset = other686.__isset; +} +ReplTblWriteIdStateRequest& ReplTblWriteIdStateRequest::operator=(const ReplTblWriteIdStateRequest& other687) { + validWriteIdlist = other687.validWriteIdlist; + user = other687.user; + hostName = other687.hostName; + dbName = other687.dbName; + tableName = other687.tableName; + partNames = other687.partNames; + __isset = other687.__isset; return *this; } void ReplTblWriteIdStateRequest::printTo(std::ostream& out) const { @@ -16826,14 +17326,14 @@ uint32_t GetValidWriteIdsRequest::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fullTableNames.clear(); - uint32_t _size681; - ::apache::thrift::protocol::TType _etype684; - xfer += iprot->readListBegin(_etype684, _size681); - this->fullTableNames.resize(_size681); - uint32_t _i685; - for (_i685 = 0; _i685 < _size681; ++_i685) + uint32_t _size688; + ::apache::thrift::protocol::TType _etype691; + xfer += iprot->readListBegin(_etype691, _size688); + this->fullTableNames.resize(_size688); + uint32_t _i692; + for (_i692 = 0; _i692 < _size688; ++_i692) { - xfer += iprot->readString(this->fullTableNames[_i685]); + xfer += iprot->readString(this->fullTableNames[_i692]); } xfer += iprot->readListEnd(); } @@ -16874,10 +17374,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 _iter686; - for (_iter686 = this->fullTableNames.begin(); _iter686 != this->fullTableNames.end(); ++_iter686) + std::vector ::const_iterator _iter693; + for (_iter693 = this->fullTableNames.begin(); _iter693 != this->fullTableNames.end(); ++_iter693) { - xfer += oprot->writeString((*_iter686)); + xfer += oprot->writeString((*_iter693)); } xfer += oprot->writeListEnd(); } @@ -16898,13 +17398,13 @@ void swap(GetValidWriteIdsRequest &a, GetValidWriteIdsRequest &b) { swap(a.validTxnList, b.validTxnList); } -GetValidWriteIdsRequest::GetValidWriteIdsRequest(const GetValidWriteIdsRequest& other687) { - fullTableNames = other687.fullTableNames; - validTxnList = other687.validTxnList; +GetValidWriteIdsRequest::GetValidWriteIdsRequest(const GetValidWriteIdsRequest& other694) { + fullTableNames = other694.fullTableNames; + validTxnList = other694.validTxnList; } -GetValidWriteIdsRequest& GetValidWriteIdsRequest::operator=(const GetValidWriteIdsRequest& other688) { - fullTableNames = other688.fullTableNames; - validTxnList = other688.validTxnList; +GetValidWriteIdsRequest& GetValidWriteIdsRequest::operator=(const GetValidWriteIdsRequest& other695) { + fullTableNames = other695.fullTableNames; + validTxnList = other695.validTxnList; return *this; } void GetValidWriteIdsRequest::printTo(std::ostream& out) const { @@ -16986,14 +17486,14 @@ uint32_t TableValidWriteIds::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->invalidWriteIds.clear(); - uint32_t _size689; - ::apache::thrift::protocol::TType _etype692; - xfer += iprot->readListBegin(_etype692, _size689); - this->invalidWriteIds.resize(_size689); - uint32_t _i693; - for (_i693 = 0; _i693 < _size689; ++_i693) + uint32_t _size696; + ::apache::thrift::protocol::TType _etype699; + xfer += iprot->readListBegin(_etype699, _size696); + this->invalidWriteIds.resize(_size696); + uint32_t _i700; + for (_i700 = 0; _i700 < _size696; ++_i700) { - xfer += iprot->readI64(this->invalidWriteIds[_i693]); + xfer += iprot->readI64(this->invalidWriteIds[_i700]); } xfer += iprot->readListEnd(); } @@ -17054,10 +17554,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 _iter694; - for (_iter694 = this->invalidWriteIds.begin(); _iter694 != this->invalidWriteIds.end(); ++_iter694) + std::vector ::const_iterator _iter701; + for (_iter701 = this->invalidWriteIds.begin(); _iter701 != this->invalidWriteIds.end(); ++_iter701) { - xfer += oprot->writeI64((*_iter694)); + xfer += oprot->writeI64((*_iter701)); } xfer += oprot->writeListEnd(); } @@ -17087,21 +17587,21 @@ void swap(TableValidWriteIds &a, TableValidWriteIds &b) { swap(a.__isset, b.__isset); } -TableValidWriteIds::TableValidWriteIds(const TableValidWriteIds& other695) { - fullTableName = other695.fullTableName; - writeIdHighWaterMark = other695.writeIdHighWaterMark; - invalidWriteIds = other695.invalidWriteIds; - minOpenWriteId = other695.minOpenWriteId; - abortedBits = other695.abortedBits; - __isset = other695.__isset; -} -TableValidWriteIds& TableValidWriteIds::operator=(const TableValidWriteIds& other696) { - fullTableName = other696.fullTableName; - writeIdHighWaterMark = other696.writeIdHighWaterMark; - invalidWriteIds = other696.invalidWriteIds; - minOpenWriteId = other696.minOpenWriteId; - abortedBits = other696.abortedBits; - __isset = other696.__isset; +TableValidWriteIds::TableValidWriteIds(const TableValidWriteIds& other702) { + fullTableName = other702.fullTableName; + writeIdHighWaterMark = other702.writeIdHighWaterMark; + invalidWriteIds = other702.invalidWriteIds; + minOpenWriteId = other702.minOpenWriteId; + abortedBits = other702.abortedBits; + __isset = other702.__isset; +} +TableValidWriteIds& TableValidWriteIds::operator=(const TableValidWriteIds& other703) { + fullTableName = other703.fullTableName; + writeIdHighWaterMark = other703.writeIdHighWaterMark; + invalidWriteIds = other703.invalidWriteIds; + minOpenWriteId = other703.minOpenWriteId; + abortedBits = other703.abortedBits; + __isset = other703.__isset; return *this; } void TableValidWriteIds::printTo(std::ostream& out) const { @@ -17150,14 +17650,14 @@ uint32_t GetValidWriteIdsResponse::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tblValidWriteIds.clear(); - uint32_t _size697; - ::apache::thrift::protocol::TType _etype700; - xfer += iprot->readListBegin(_etype700, _size697); - this->tblValidWriteIds.resize(_size697); - uint32_t _i701; - for (_i701 = 0; _i701 < _size697; ++_i701) + uint32_t _size704; + ::apache::thrift::protocol::TType _etype707; + xfer += iprot->readListBegin(_etype707, _size704); + this->tblValidWriteIds.resize(_size704); + uint32_t _i708; + for (_i708 = 0; _i708 < _size704; ++_i708) { - xfer += this->tblValidWriteIds[_i701].read(iprot); + xfer += this->tblValidWriteIds[_i708].read(iprot); } xfer += iprot->readListEnd(); } @@ -17188,10 +17688,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 _iter702; - for (_iter702 = this->tblValidWriteIds.begin(); _iter702 != this->tblValidWriteIds.end(); ++_iter702) + std::vector ::const_iterator _iter709; + for (_iter709 = this->tblValidWriteIds.begin(); _iter709 != this->tblValidWriteIds.end(); ++_iter709) { - xfer += (*_iter702).write(oprot); + xfer += (*_iter709).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17207,11 +17707,11 @@ void swap(GetValidWriteIdsResponse &a, GetValidWriteIdsResponse &b) { swap(a.tblValidWriteIds, b.tblValidWriteIds); } -GetValidWriteIdsResponse::GetValidWriteIdsResponse(const GetValidWriteIdsResponse& other703) { - tblValidWriteIds = other703.tblValidWriteIds; +GetValidWriteIdsResponse::GetValidWriteIdsResponse(const GetValidWriteIdsResponse& other710) { + tblValidWriteIds = other710.tblValidWriteIds; } -GetValidWriteIdsResponse& GetValidWriteIdsResponse::operator=(const GetValidWriteIdsResponse& other704) { - tblValidWriteIds = other704.tblValidWriteIds; +GetValidWriteIdsResponse& GetValidWriteIdsResponse::operator=(const GetValidWriteIdsResponse& other711) { + tblValidWriteIds = other711.tblValidWriteIds; return *this; } void GetValidWriteIdsResponse::printTo(std::ostream& out) const { @@ -17292,14 +17792,14 @@ uint32_t AllocateTableWriteIdsRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txnIds.clear(); - uint32_t _size705; - ::apache::thrift::protocol::TType _etype708; - xfer += iprot->readListBegin(_etype708, _size705); - this->txnIds.resize(_size705); - uint32_t _i709; - for (_i709 = 0; _i709 < _size705; ++_i709) + uint32_t _size712; + ::apache::thrift::protocol::TType _etype715; + xfer += iprot->readListBegin(_etype715, _size712); + this->txnIds.resize(_size712); + uint32_t _i716; + for (_i716 = 0; _i716 < _size712; ++_i716) { - xfer += iprot->readI64(this->txnIds[_i709]); + xfer += iprot->readI64(this->txnIds[_i716]); } xfer += iprot->readListEnd(); } @@ -17320,14 +17820,14 @@ uint32_t AllocateTableWriteIdsRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->srcTxnToWriteIdList.clear(); - uint32_t _size710; - ::apache::thrift::protocol::TType _etype713; - xfer += iprot->readListBegin(_etype713, _size710); - this->srcTxnToWriteIdList.resize(_size710); - uint32_t _i714; - for (_i714 = 0; _i714 < _size710; ++_i714) + uint32_t _size717; + ::apache::thrift::protocol::TType _etype720; + xfer += iprot->readListBegin(_etype720, _size717); + this->srcTxnToWriteIdList.resize(_size717); + uint32_t _i721; + for (_i721 = 0; _i721 < _size717; ++_i721) { - xfer += this->srcTxnToWriteIdList[_i714].read(iprot); + xfer += this->srcTxnToWriteIdList[_i721].read(iprot); } xfer += iprot->readListEnd(); } @@ -17369,10 +17869,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 _iter715; - for (_iter715 = this->txnIds.begin(); _iter715 != this->txnIds.end(); ++_iter715) + std::vector ::const_iterator _iter722; + for (_iter722 = this->txnIds.begin(); _iter722 != this->txnIds.end(); ++_iter722) { - xfer += oprot->writeI64((*_iter715)); + xfer += oprot->writeI64((*_iter722)); } xfer += oprot->writeListEnd(); } @@ -17387,10 +17887,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 _iter716; - for (_iter716 = this->srcTxnToWriteIdList.begin(); _iter716 != this->srcTxnToWriteIdList.end(); ++_iter716) + std::vector ::const_iterator _iter723; + for (_iter723 = this->srcTxnToWriteIdList.begin(); _iter723 != this->srcTxnToWriteIdList.end(); ++_iter723) { - xfer += (*_iter716).write(oprot); + xfer += (*_iter723).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17411,21 +17911,21 @@ void swap(AllocateTableWriteIdsRequest &a, AllocateTableWriteIdsRequest &b) { swap(a.__isset, b.__isset); } -AllocateTableWriteIdsRequest::AllocateTableWriteIdsRequest(const AllocateTableWriteIdsRequest& other717) { - dbName = other717.dbName; - tableName = other717.tableName; - txnIds = other717.txnIds; - replPolicy = other717.replPolicy; - srcTxnToWriteIdList = other717.srcTxnToWriteIdList; - __isset = other717.__isset; -} -AllocateTableWriteIdsRequest& AllocateTableWriteIdsRequest::operator=(const AllocateTableWriteIdsRequest& other718) { - dbName = other718.dbName; - tableName = other718.tableName; - txnIds = other718.txnIds; - replPolicy = other718.replPolicy; - srcTxnToWriteIdList = other718.srcTxnToWriteIdList; - __isset = other718.__isset; +AllocateTableWriteIdsRequest::AllocateTableWriteIdsRequest(const AllocateTableWriteIdsRequest& other724) { + dbName = other724.dbName; + tableName = other724.tableName; + txnIds = other724.txnIds; + replPolicy = other724.replPolicy; + srcTxnToWriteIdList = other724.srcTxnToWriteIdList; + __isset = other724.__isset; +} +AllocateTableWriteIdsRequest& AllocateTableWriteIdsRequest::operator=(const AllocateTableWriteIdsRequest& other725) { + dbName = other725.dbName; + tableName = other725.tableName; + txnIds = other725.txnIds; + replPolicy = other725.replPolicy; + srcTxnToWriteIdList = other725.srcTxnToWriteIdList; + __isset = other725.__isset; return *this; } void AllocateTableWriteIdsRequest::printTo(std::ostream& out) const { @@ -17531,13 +18031,13 @@ void swap(TxnToWriteId &a, TxnToWriteId &b) { swap(a.writeId, b.writeId); } -TxnToWriteId::TxnToWriteId(const TxnToWriteId& other719) { - txnId = other719.txnId; - writeId = other719.writeId; +TxnToWriteId::TxnToWriteId(const TxnToWriteId& other726) { + txnId = other726.txnId; + writeId = other726.writeId; } -TxnToWriteId& TxnToWriteId::operator=(const TxnToWriteId& other720) { - txnId = other720.txnId; - writeId = other720.writeId; +TxnToWriteId& TxnToWriteId::operator=(const TxnToWriteId& other727) { + txnId = other727.txnId; + writeId = other727.writeId; return *this; } void TxnToWriteId::printTo(std::ostream& out) const { @@ -17583,14 +18083,14 @@ uint32_t AllocateTableWriteIdsResponse::read(::apache::thrift::protocol::TProtoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txnToWriteIds.clear(); - uint32_t _size721; - ::apache::thrift::protocol::TType _etype724; - xfer += iprot->readListBegin(_etype724, _size721); - this->txnToWriteIds.resize(_size721); - uint32_t _i725; - for (_i725 = 0; _i725 < _size721; ++_i725) + uint32_t _size728; + ::apache::thrift::protocol::TType _etype731; + xfer += iprot->readListBegin(_etype731, _size728); + this->txnToWriteIds.resize(_size728); + uint32_t _i732; + for (_i732 = 0; _i732 < _size728; ++_i732) { - xfer += this->txnToWriteIds[_i725].read(iprot); + xfer += this->txnToWriteIds[_i732].read(iprot); } xfer += iprot->readListEnd(); } @@ -17621,10 +18121,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 _iter726; - for (_iter726 = this->txnToWriteIds.begin(); _iter726 != this->txnToWriteIds.end(); ++_iter726) + std::vector ::const_iterator _iter733; + for (_iter733 = this->txnToWriteIds.begin(); _iter733 != this->txnToWriteIds.end(); ++_iter733) { - xfer += (*_iter726).write(oprot); + xfer += (*_iter733).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17640,11 +18140,11 @@ void swap(AllocateTableWriteIdsResponse &a, AllocateTableWriteIdsResponse &b) { swap(a.txnToWriteIds, b.txnToWriteIds); } -AllocateTableWriteIdsResponse::AllocateTableWriteIdsResponse(const AllocateTableWriteIdsResponse& other727) { - txnToWriteIds = other727.txnToWriteIds; +AllocateTableWriteIdsResponse::AllocateTableWriteIdsResponse(const AllocateTableWriteIdsResponse& other734) { + txnToWriteIds = other734.txnToWriteIds; } -AllocateTableWriteIdsResponse& AllocateTableWriteIdsResponse::operator=(const AllocateTableWriteIdsResponse& other728) { - txnToWriteIds = other728.txnToWriteIds; +AllocateTableWriteIdsResponse& AllocateTableWriteIdsResponse::operator=(const AllocateTableWriteIdsResponse& other735) { + txnToWriteIds = other735.txnToWriteIds; return *this; } void AllocateTableWriteIdsResponse::printTo(std::ostream& out) const { @@ -17722,9 +18222,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast729; - xfer += iprot->readI32(ecast729); - this->type = (LockType::type)ecast729; + int32_t ecast736; + xfer += iprot->readI32(ecast736); + this->type = (LockType::type)ecast736; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -17732,9 +18232,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast730; - xfer += iprot->readI32(ecast730); - this->level = (LockLevel::type)ecast730; + int32_t ecast737; + xfer += iprot->readI32(ecast737); + this->level = (LockLevel::type)ecast737; isset_level = true; } else { xfer += iprot->skip(ftype); @@ -17766,9 +18266,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast731; - xfer += iprot->readI32(ecast731); - this->operationType = (DataOperationType::type)ecast731; + int32_t ecast738; + xfer += iprot->readI32(ecast738); + this->operationType = (DataOperationType::type)ecast738; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -17868,27 +18368,27 @@ void swap(LockComponent &a, LockComponent &b) { swap(a.__isset, b.__isset); } -LockComponent::LockComponent(const LockComponent& other732) { - type = other732.type; - level = other732.level; - dbname = other732.dbname; - tablename = other732.tablename; - partitionname = other732.partitionname; - operationType = other732.operationType; - isTransactional = other732.isTransactional; - isDynamicPartitionWrite = other732.isDynamicPartitionWrite; - __isset = other732.__isset; -} -LockComponent& LockComponent::operator=(const LockComponent& other733) { - type = other733.type; - level = other733.level; - dbname = other733.dbname; - tablename = other733.tablename; - partitionname = other733.partitionname; - operationType = other733.operationType; - isTransactional = other733.isTransactional; - isDynamicPartitionWrite = other733.isDynamicPartitionWrite; - __isset = other733.__isset; +LockComponent::LockComponent(const LockComponent& other739) { + type = other739.type; + level = other739.level; + dbname = other739.dbname; + tablename = other739.tablename; + partitionname = other739.partitionname; + operationType = other739.operationType; + isTransactional = other739.isTransactional; + isDynamicPartitionWrite = other739.isDynamicPartitionWrite; + __isset = other739.__isset; +} +LockComponent& LockComponent::operator=(const LockComponent& other740) { + type = other740.type; + level = other740.level; + dbname = other740.dbname; + tablename = other740.tablename; + partitionname = other740.partitionname; + operationType = other740.operationType; + isTransactional = other740.isTransactional; + isDynamicPartitionWrite = other740.isDynamicPartitionWrite; + __isset = other740.__isset; return *this; } void LockComponent::printTo(std::ostream& out) const { @@ -17960,14 +18460,14 @@ uint32_t LockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->component.clear(); - uint32_t _size734; - ::apache::thrift::protocol::TType _etype737; - xfer += iprot->readListBegin(_etype737, _size734); - this->component.resize(_size734); - uint32_t _i738; - for (_i738 = 0; _i738 < _size734; ++_i738) + uint32_t _size741; + ::apache::thrift::protocol::TType _etype744; + xfer += iprot->readListBegin(_etype744, _size741); + this->component.resize(_size741); + uint32_t _i745; + for (_i745 = 0; _i745 < _size741; ++_i745) { - xfer += this->component[_i738].read(iprot); + xfer += this->component[_i745].read(iprot); } xfer += iprot->readListEnd(); } @@ -18034,10 +18534,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 _iter739; - for (_iter739 = this->component.begin(); _iter739 != this->component.end(); ++_iter739) + std::vector ::const_iterator _iter746; + for (_iter746 = this->component.begin(); _iter746 != this->component.end(); ++_iter746) { - xfer += (*_iter739).write(oprot); + xfer += (*_iter746).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18076,21 +18576,21 @@ void swap(LockRequest &a, LockRequest &b) { swap(a.__isset, b.__isset); } -LockRequest::LockRequest(const LockRequest& other740) { - component = other740.component; - txnid = other740.txnid; - user = other740.user; - hostname = other740.hostname; - agentInfo = other740.agentInfo; - __isset = other740.__isset; -} -LockRequest& LockRequest::operator=(const LockRequest& other741) { - component = other741.component; - txnid = other741.txnid; - user = other741.user; - hostname = other741.hostname; - agentInfo = other741.agentInfo; - __isset = other741.__isset; +LockRequest::LockRequest(const LockRequest& other747) { + component = other747.component; + txnid = other747.txnid; + user = other747.user; + hostname = other747.hostname; + agentInfo = other747.agentInfo; + __isset = other747.__isset; +} +LockRequest& LockRequest::operator=(const LockRequest& other748) { + component = other748.component; + txnid = other748.txnid; + user = other748.user; + hostname = other748.hostname; + agentInfo = other748.agentInfo; + __isset = other748.__isset; return *this; } void LockRequest::printTo(std::ostream& out) const { @@ -18150,9 +18650,9 @@ uint32_t LockResponse::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast742; - xfer += iprot->readI32(ecast742); - this->state = (LockState::type)ecast742; + int32_t ecast749; + xfer += iprot->readI32(ecast749); + this->state = (LockState::type)ecast749; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -18198,13 +18698,13 @@ void swap(LockResponse &a, LockResponse &b) { swap(a.state, b.state); } -LockResponse::LockResponse(const LockResponse& other743) { - lockid = other743.lockid; - state = other743.state; +LockResponse::LockResponse(const LockResponse& other750) { + lockid = other750.lockid; + state = other750.state; } -LockResponse& LockResponse::operator=(const LockResponse& other744) { - lockid = other744.lockid; - state = other744.state; +LockResponse& LockResponse::operator=(const LockResponse& other751) { + lockid = other751.lockid; + state = other751.state; return *this; } void LockResponse::printTo(std::ostream& out) const { @@ -18326,17 +18826,17 @@ void swap(CheckLockRequest &a, CheckLockRequest &b) { swap(a.__isset, b.__isset); } -CheckLockRequest::CheckLockRequest(const CheckLockRequest& other745) { - lockid = other745.lockid; - txnid = other745.txnid; - elapsed_ms = other745.elapsed_ms; - __isset = other745.__isset; +CheckLockRequest::CheckLockRequest(const CheckLockRequest& other752) { + lockid = other752.lockid; + txnid = other752.txnid; + elapsed_ms = other752.elapsed_ms; + __isset = other752.__isset; } -CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other746) { - lockid = other746.lockid; - txnid = other746.txnid; - elapsed_ms = other746.elapsed_ms; - __isset = other746.__isset; +CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other753) { + lockid = other753.lockid; + txnid = other753.txnid; + elapsed_ms = other753.elapsed_ms; + __isset = other753.__isset; return *this; } void CheckLockRequest::printTo(std::ostream& out) const { @@ -18420,11 +18920,11 @@ void swap(UnlockRequest &a, UnlockRequest &b) { swap(a.lockid, b.lockid); } -UnlockRequest::UnlockRequest(const UnlockRequest& other747) { - lockid = other747.lockid; +UnlockRequest::UnlockRequest(const UnlockRequest& other754) { + lockid = other754.lockid; } -UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other748) { - lockid = other748.lockid; +UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other755) { + lockid = other755.lockid; return *this; } void UnlockRequest::printTo(std::ostream& out) const { @@ -18563,19 +19063,19 @@ void swap(ShowLocksRequest &a, ShowLocksRequest &b) { swap(a.__isset, b.__isset); } -ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other749) { - dbname = other749.dbname; - tablename = other749.tablename; - partname = other749.partname; - isExtended = other749.isExtended; - __isset = other749.__isset; +ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other756) { + dbname = other756.dbname; + tablename = other756.tablename; + partname = other756.partname; + isExtended = other756.isExtended; + __isset = other756.__isset; } -ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other750) { - dbname = other750.dbname; - tablename = other750.tablename; - partname = other750.partname; - isExtended = other750.isExtended; - __isset = other750.__isset; +ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other757) { + dbname = other757.dbname; + tablename = other757.tablename; + partname = other757.partname; + isExtended = other757.isExtended; + __isset = other757.__isset; return *this; } void ShowLocksRequest::printTo(std::ostream& out) const { @@ -18728,9 +19228,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast751; - xfer += iprot->readI32(ecast751); - this->state = (LockState::type)ecast751; + int32_t ecast758; + xfer += iprot->readI32(ecast758); + this->state = (LockState::type)ecast758; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -18738,9 +19238,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast752; - xfer += iprot->readI32(ecast752); - this->type = (LockType::type)ecast752; + int32_t ecast759; + xfer += iprot->readI32(ecast759); + this->type = (LockType::type)ecast759; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -18956,43 +19456,43 @@ void swap(ShowLocksResponseElement &a, ShowLocksResponseElement &b) { swap(a.__isset, b.__isset); } -ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other753) { - lockid = other753.lockid; - dbname = other753.dbname; - tablename = other753.tablename; - partname = other753.partname; - state = other753.state; - type = other753.type; - txnid = other753.txnid; - lastheartbeat = other753.lastheartbeat; - acquiredat = other753.acquiredat; - user = other753.user; - hostname = other753.hostname; - heartbeatCount = other753.heartbeatCount; - agentInfo = other753.agentInfo; - blockedByExtId = other753.blockedByExtId; - blockedByIntId = other753.blockedByIntId; - lockIdInternal = other753.lockIdInternal; - __isset = other753.__isset; -} -ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other754) { - lockid = other754.lockid; - dbname = other754.dbname; - tablename = other754.tablename; - partname = other754.partname; - state = other754.state; - type = other754.type; - txnid = other754.txnid; - lastheartbeat = other754.lastheartbeat; - acquiredat = other754.acquiredat; - user = other754.user; - hostname = other754.hostname; - heartbeatCount = other754.heartbeatCount; - agentInfo = other754.agentInfo; - blockedByExtId = other754.blockedByExtId; - blockedByIntId = other754.blockedByIntId; - lockIdInternal = other754.lockIdInternal; - __isset = other754.__isset; +ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other760) { + lockid = other760.lockid; + dbname = other760.dbname; + tablename = other760.tablename; + partname = other760.partname; + state = other760.state; + type = other760.type; + txnid = other760.txnid; + lastheartbeat = other760.lastheartbeat; + acquiredat = other760.acquiredat; + user = other760.user; + hostname = other760.hostname; + heartbeatCount = other760.heartbeatCount; + agentInfo = other760.agentInfo; + blockedByExtId = other760.blockedByExtId; + blockedByIntId = other760.blockedByIntId; + lockIdInternal = other760.lockIdInternal; + __isset = other760.__isset; +} +ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other761) { + lockid = other761.lockid; + dbname = other761.dbname; + tablename = other761.tablename; + partname = other761.partname; + state = other761.state; + type = other761.type; + txnid = other761.txnid; + lastheartbeat = other761.lastheartbeat; + acquiredat = other761.acquiredat; + user = other761.user; + hostname = other761.hostname; + heartbeatCount = other761.heartbeatCount; + agentInfo = other761.agentInfo; + blockedByExtId = other761.blockedByExtId; + blockedByIntId = other761.blockedByIntId; + lockIdInternal = other761.lockIdInternal; + __isset = other761.__isset; return *this; } void ShowLocksResponseElement::printTo(std::ostream& out) const { @@ -19051,14 +19551,14 @@ uint32_t ShowLocksResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->locks.clear(); - uint32_t _size755; - ::apache::thrift::protocol::TType _etype758; - xfer += iprot->readListBegin(_etype758, _size755); - this->locks.resize(_size755); - uint32_t _i759; - for (_i759 = 0; _i759 < _size755; ++_i759) + uint32_t _size762; + ::apache::thrift::protocol::TType _etype765; + xfer += iprot->readListBegin(_etype765, _size762); + this->locks.resize(_size762); + uint32_t _i766; + for (_i766 = 0; _i766 < _size762; ++_i766) { - xfer += this->locks[_i759].read(iprot); + xfer += this->locks[_i766].read(iprot); } xfer += iprot->readListEnd(); } @@ -19087,10 +19587,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 _iter760; - for (_iter760 = this->locks.begin(); _iter760 != this->locks.end(); ++_iter760) + std::vector ::const_iterator _iter767; + for (_iter767 = this->locks.begin(); _iter767 != this->locks.end(); ++_iter767) { - xfer += (*_iter760).write(oprot); + xfer += (*_iter767).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19107,13 +19607,13 @@ void swap(ShowLocksResponse &a, ShowLocksResponse &b) { swap(a.__isset, b.__isset); } -ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other761) { - locks = other761.locks; - __isset = other761.__isset; +ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other768) { + locks = other768.locks; + __isset = other768.__isset; } -ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other762) { - locks = other762.locks; - __isset = other762.__isset; +ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other769) { + locks = other769.locks; + __isset = other769.__isset; return *this; } void ShowLocksResponse::printTo(std::ostream& out) const { @@ -19214,15 +19714,15 @@ void swap(HeartbeatRequest &a, HeartbeatRequest &b) { swap(a.__isset, b.__isset); } -HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other763) { - lockid = other763.lockid; - txnid = other763.txnid; - __isset = other763.__isset; +HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other770) { + lockid = other770.lockid; + txnid = other770.txnid; + __isset = other770.__isset; } -HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other764) { - lockid = other764.lockid; - txnid = other764.txnid; - __isset = other764.__isset; +HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other771) { + lockid = other771.lockid; + txnid = other771.txnid; + __isset = other771.__isset; return *this; } void HeartbeatRequest::printTo(std::ostream& out) const { @@ -19325,13 +19825,13 @@ void swap(HeartbeatTxnRangeRequest &a, HeartbeatTxnRangeRequest &b) { swap(a.max, b.max); } -HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other765) { - min = other765.min; - max = other765.max; +HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other772) { + min = other772.min; + max = other772.max; } -HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other766) { - min = other766.min; - max = other766.max; +HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other773) { + min = other773.min; + max = other773.max; return *this; } void HeartbeatTxnRangeRequest::printTo(std::ostream& out) const { @@ -19382,15 +19882,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->aborted.clear(); - uint32_t _size767; - ::apache::thrift::protocol::TType _etype770; - xfer += iprot->readSetBegin(_etype770, _size767); - uint32_t _i771; - for (_i771 = 0; _i771 < _size767; ++_i771) + uint32_t _size774; + ::apache::thrift::protocol::TType _etype777; + xfer += iprot->readSetBegin(_etype777, _size774); + uint32_t _i778; + for (_i778 = 0; _i778 < _size774; ++_i778) { - int64_t _elem772; - xfer += iprot->readI64(_elem772); - this->aborted.insert(_elem772); + int64_t _elem779; + xfer += iprot->readI64(_elem779); + this->aborted.insert(_elem779); } xfer += iprot->readSetEnd(); } @@ -19403,15 +19903,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->nosuch.clear(); - uint32_t _size773; - ::apache::thrift::protocol::TType _etype776; - xfer += iprot->readSetBegin(_etype776, _size773); - uint32_t _i777; - for (_i777 = 0; _i777 < _size773; ++_i777) + uint32_t _size780; + ::apache::thrift::protocol::TType _etype783; + xfer += iprot->readSetBegin(_etype783, _size780); + uint32_t _i784; + for (_i784 = 0; _i784 < _size780; ++_i784) { - int64_t _elem778; - xfer += iprot->readI64(_elem778); - this->nosuch.insert(_elem778); + int64_t _elem785; + xfer += iprot->readI64(_elem785); + this->nosuch.insert(_elem785); } xfer += iprot->readSetEnd(); } @@ -19444,10 +19944,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 _iter779; - for (_iter779 = this->aborted.begin(); _iter779 != this->aborted.end(); ++_iter779) + std::set ::const_iterator _iter786; + for (_iter786 = this->aborted.begin(); _iter786 != this->aborted.end(); ++_iter786) { - xfer += oprot->writeI64((*_iter779)); + xfer += oprot->writeI64((*_iter786)); } xfer += oprot->writeSetEnd(); } @@ -19456,10 +19956,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 _iter780; - for (_iter780 = this->nosuch.begin(); _iter780 != this->nosuch.end(); ++_iter780) + std::set ::const_iterator _iter787; + for (_iter787 = this->nosuch.begin(); _iter787 != this->nosuch.end(); ++_iter787) { - xfer += oprot->writeI64((*_iter780)); + xfer += oprot->writeI64((*_iter787)); } xfer += oprot->writeSetEnd(); } @@ -19476,13 +19976,13 @@ void swap(HeartbeatTxnRangeResponse &a, HeartbeatTxnRangeResponse &b) { swap(a.nosuch, b.nosuch); } -HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other781) { - aborted = other781.aborted; - nosuch = other781.nosuch; +HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other788) { + aborted = other788.aborted; + nosuch = other788.nosuch; } -HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other782) { - aborted = other782.aborted; - nosuch = other782.nosuch; +HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other789) { + aborted = other789.aborted; + nosuch = other789.nosuch; return *this; } void HeartbeatTxnRangeResponse::printTo(std::ostream& out) const { @@ -19575,9 +20075,9 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast783; - xfer += iprot->readI32(ecast783); - this->type = (CompactionType::type)ecast783; + int32_t ecast790; + xfer += iprot->readI32(ecast790); + this->type = (CompactionType::type)ecast790; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -19595,17 +20095,17 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - uint32_t _size784; - ::apache::thrift::protocol::TType _ktype785; - ::apache::thrift::protocol::TType _vtype786; - xfer += iprot->readMapBegin(_ktype785, _vtype786, _size784); - uint32_t _i788; - for (_i788 = 0; _i788 < _size784; ++_i788) + uint32_t _size791; + ::apache::thrift::protocol::TType _ktype792; + ::apache::thrift::protocol::TType _vtype793; + xfer += iprot->readMapBegin(_ktype792, _vtype793, _size791); + uint32_t _i795; + for (_i795 = 0; _i795 < _size791; ++_i795) { - std::string _key789; - xfer += iprot->readString(_key789); - std::string& _val790 = this->properties[_key789]; - xfer += iprot->readString(_val790); + std::string _key796; + xfer += iprot->readString(_key796); + std::string& _val797 = this->properties[_key796]; + xfer += iprot->readString(_val797); } xfer += iprot->readMapEnd(); } @@ -19663,11 +20163,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 _iter791; - for (_iter791 = this->properties.begin(); _iter791 != this->properties.end(); ++_iter791) + std::map ::const_iterator _iter798; + for (_iter798 = this->properties.begin(); _iter798 != this->properties.end(); ++_iter798) { - xfer += oprot->writeString(_iter791->first); - xfer += oprot->writeString(_iter791->second); + xfer += oprot->writeString(_iter798->first); + xfer += oprot->writeString(_iter798->second); } xfer += oprot->writeMapEnd(); } @@ -19689,23 +20189,23 @@ void swap(CompactionRequest &a, CompactionRequest &b) { swap(a.__isset, b.__isset); } -CompactionRequest::CompactionRequest(const CompactionRequest& other792) { - dbname = other792.dbname; - tablename = other792.tablename; - partitionname = other792.partitionname; - type = other792.type; - runas = other792.runas; - properties = other792.properties; - __isset = other792.__isset; -} -CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other793) { - dbname = other793.dbname; - tablename = other793.tablename; - partitionname = other793.partitionname; - type = other793.type; - runas = other793.runas; - properties = other793.properties; - __isset = other793.__isset; +CompactionRequest::CompactionRequest(const CompactionRequest& other799) { + dbname = other799.dbname; + tablename = other799.tablename; + partitionname = other799.partitionname; + type = other799.type; + runas = other799.runas; + properties = other799.properties; + __isset = other799.__isset; +} +CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other800) { + dbname = other800.dbname; + tablename = other800.tablename; + partitionname = other800.partitionname; + type = other800.type; + runas = other800.runas; + properties = other800.properties; + __isset = other800.__isset; return *this; } void CompactionRequest::printTo(std::ostream& out) const { @@ -19832,15 +20332,15 @@ void swap(CompactionResponse &a, CompactionResponse &b) { swap(a.accepted, b.accepted); } -CompactionResponse::CompactionResponse(const CompactionResponse& other794) { - id = other794.id; - state = other794.state; - accepted = other794.accepted; +CompactionResponse::CompactionResponse(const CompactionResponse& other801) { + id = other801.id; + state = other801.state; + accepted = other801.accepted; } -CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other795) { - id = other795.id; - state = other795.state; - accepted = other795.accepted; +CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other802) { + id = other802.id; + state = other802.state; + accepted = other802.accepted; return *this; } void CompactionResponse::printTo(std::ostream& out) const { @@ -19901,11 +20401,11 @@ void swap(ShowCompactRequest &a, ShowCompactRequest &b) { (void) b; } -ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other796) { - (void) other796; +ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other803) { + (void) other803; } -ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other797) { - (void) other797; +ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other804) { + (void) other804; return *this; } void ShowCompactRequest::printTo(std::ostream& out) const { @@ -20031,9 +20531,9 @@ uint32_t ShowCompactResponseElement::read(::apache::thrift::protocol::TProtocol* break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast798; - xfer += iprot->readI32(ecast798); - this->type = (CompactionType::type)ecast798; + int32_t ecast805; + xfer += iprot->readI32(ecast805); + this->type = (CompactionType::type)ecast805; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -20220,37 +20720,37 @@ void swap(ShowCompactResponseElement &a, ShowCompactResponseElement &b) { swap(a.__isset, b.__isset); } -ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other799) { - dbname = other799.dbname; - tablename = other799.tablename; - partitionname = other799.partitionname; - type = other799.type; - state = other799.state; - workerid = other799.workerid; - start = other799.start; - runAs = other799.runAs; - hightestTxnId = other799.hightestTxnId; - metaInfo = other799.metaInfo; - endTime = other799.endTime; - hadoopJobId = other799.hadoopJobId; - id = other799.id; - __isset = other799.__isset; -} -ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other800) { - dbname = other800.dbname; - tablename = other800.tablename; - partitionname = other800.partitionname; - type = other800.type; - state = other800.state; - workerid = other800.workerid; - start = other800.start; - runAs = other800.runAs; - hightestTxnId = other800.hightestTxnId; - metaInfo = other800.metaInfo; - endTime = other800.endTime; - hadoopJobId = other800.hadoopJobId; - id = other800.id; - __isset = other800.__isset; +ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other806) { + dbname = other806.dbname; + tablename = other806.tablename; + partitionname = other806.partitionname; + type = other806.type; + state = other806.state; + workerid = other806.workerid; + start = other806.start; + runAs = other806.runAs; + hightestTxnId = other806.hightestTxnId; + metaInfo = other806.metaInfo; + endTime = other806.endTime; + hadoopJobId = other806.hadoopJobId; + id = other806.id; + __isset = other806.__isset; +} +ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other807) { + dbname = other807.dbname; + tablename = other807.tablename; + partitionname = other807.partitionname; + type = other807.type; + state = other807.state; + workerid = other807.workerid; + start = other807.start; + runAs = other807.runAs; + hightestTxnId = other807.hightestTxnId; + metaInfo = other807.metaInfo; + endTime = other807.endTime; + hadoopJobId = other807.hadoopJobId; + id = other807.id; + __isset = other807.__isset; return *this; } void ShowCompactResponseElement::printTo(std::ostream& out) const { @@ -20307,14 +20807,14 @@ uint32_t ShowCompactResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->compacts.clear(); - uint32_t _size801; - ::apache::thrift::protocol::TType _etype804; - xfer += iprot->readListBegin(_etype804, _size801); - this->compacts.resize(_size801); - uint32_t _i805; - for (_i805 = 0; _i805 < _size801; ++_i805) + uint32_t _size808; + ::apache::thrift::protocol::TType _etype811; + xfer += iprot->readListBegin(_etype811, _size808); + this->compacts.resize(_size808); + uint32_t _i812; + for (_i812 = 0; _i812 < _size808; ++_i812) { - xfer += this->compacts[_i805].read(iprot); + xfer += this->compacts[_i812].read(iprot); } xfer += iprot->readListEnd(); } @@ -20345,10 +20845,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 _iter806; - for (_iter806 = this->compacts.begin(); _iter806 != this->compacts.end(); ++_iter806) + std::vector ::const_iterator _iter813; + for (_iter813 = this->compacts.begin(); _iter813 != this->compacts.end(); ++_iter813) { - xfer += (*_iter806).write(oprot); + xfer += (*_iter813).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20364,11 +20864,11 @@ void swap(ShowCompactResponse &a, ShowCompactResponse &b) { swap(a.compacts, b.compacts); } -ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other807) { - compacts = other807.compacts; +ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other814) { + compacts = other814.compacts; } -ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other808) { - compacts = other808.compacts; +ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other815) { + compacts = other815.compacts; return *this; } void ShowCompactResponse::printTo(std::ostream& out) const { @@ -20470,14 +20970,14 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionnames.clear(); - uint32_t _size809; - ::apache::thrift::protocol::TType _etype812; - xfer += iprot->readListBegin(_etype812, _size809); - this->partitionnames.resize(_size809); - uint32_t _i813; - for (_i813 = 0; _i813 < _size809; ++_i813) + uint32_t _size816; + ::apache::thrift::protocol::TType _etype819; + xfer += iprot->readListBegin(_etype819, _size816); + this->partitionnames.resize(_size816); + uint32_t _i820; + for (_i820 = 0; _i820 < _size816; ++_i820) { - xfer += iprot->readString(this->partitionnames[_i813]); + xfer += iprot->readString(this->partitionnames[_i820]); } xfer += iprot->readListEnd(); } @@ -20488,9 +20988,9 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast814; - xfer += iprot->readI32(ecast814); - this->operationType = (DataOperationType::type)ecast814; + int32_t ecast821; + xfer += iprot->readI32(ecast821); + this->operationType = (DataOperationType::type)ecast821; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -20542,10 +21042,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 _iter815; - for (_iter815 = this->partitionnames.begin(); _iter815 != this->partitionnames.end(); ++_iter815) + std::vector ::const_iterator _iter822; + for (_iter822 = this->partitionnames.begin(); _iter822 != this->partitionnames.end(); ++_iter822) { - xfer += oprot->writeString((*_iter815)); + xfer += oprot->writeString((*_iter822)); } xfer += oprot->writeListEnd(); } @@ -20572,23 +21072,23 @@ void swap(AddDynamicPartitions &a, AddDynamicPartitions &b) { swap(a.__isset, b.__isset); } -AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other816) { - txnid = other816.txnid; - writeid = other816.writeid; - dbname = other816.dbname; - tablename = other816.tablename; - partitionnames = other816.partitionnames; - operationType = other816.operationType; - __isset = other816.__isset; -} -AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other817) { - txnid = other817.txnid; - writeid = other817.writeid; - dbname = other817.dbname; - tablename = other817.tablename; - partitionnames = other817.partitionnames; - operationType = other817.operationType; - __isset = other817.__isset; +AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other823) { + txnid = other823.txnid; + writeid = other823.writeid; + dbname = other823.dbname; + tablename = other823.tablename; + partitionnames = other823.partitionnames; + operationType = other823.operationType; + __isset = other823.__isset; +} +AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other824) { + txnid = other824.txnid; + writeid = other824.writeid; + dbname = other824.dbname; + tablename = other824.tablename; + partitionnames = other824.partitionnames; + operationType = other824.operationType; + __isset = other824.__isset; return *this; } void AddDynamicPartitions::printTo(std::ostream& out) const { @@ -20771,23 +21271,23 @@ void swap(BasicTxnInfo &a, BasicTxnInfo &b) { swap(a.__isset, b.__isset); } -BasicTxnInfo::BasicTxnInfo(const BasicTxnInfo& other818) { - isnull = other818.isnull; - time = other818.time; - txnid = other818.txnid; - dbname = other818.dbname; - tablename = other818.tablename; - partitionname = other818.partitionname; - __isset = other818.__isset; -} -BasicTxnInfo& BasicTxnInfo::operator=(const BasicTxnInfo& other819) { - isnull = other819.isnull; - time = other819.time; - txnid = other819.txnid; - dbname = other819.dbname; - tablename = other819.tablename; - partitionname = other819.partitionname; - __isset = other819.__isset; +BasicTxnInfo::BasicTxnInfo(const BasicTxnInfo& other825) { + isnull = other825.isnull; + time = other825.time; + txnid = other825.txnid; + dbname = other825.dbname; + tablename = other825.tablename; + partitionname = other825.partitionname; + __isset = other825.__isset; +} +BasicTxnInfo& BasicTxnInfo::operator=(const BasicTxnInfo& other826) { + isnull = other826.isnull; + time = other826.time; + txnid = other826.txnid; + dbname = other826.dbname; + tablename = other826.tablename; + partitionname = other826.partitionname; + __isset = other826.__isset; return *this; } void BasicTxnInfo::printTo(std::ostream& out) const { @@ -20881,15 +21381,15 @@ uint32_t CreationMetadata::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_SET) { { this->tablesUsed.clear(); - uint32_t _size820; - ::apache::thrift::protocol::TType _etype823; - xfer += iprot->readSetBegin(_etype823, _size820); - uint32_t _i824; - for (_i824 = 0; _i824 < _size820; ++_i824) + uint32_t _size827; + ::apache::thrift::protocol::TType _etype830; + xfer += iprot->readSetBegin(_etype830, _size827); + uint32_t _i831; + for (_i831 = 0; _i831 < _size827; ++_i831) { - std::string _elem825; - xfer += iprot->readString(_elem825); - this->tablesUsed.insert(_elem825); + std::string _elem832; + xfer += iprot->readString(_elem832); + this->tablesUsed.insert(_elem832); } xfer += iprot->readSetEnd(); } @@ -20946,10 +21446,10 @@ uint32_t CreationMetadata::write(::apache::thrift::protocol::TProtocol* oprot) c 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 _iter826; - for (_iter826 = this->tablesUsed.begin(); _iter826 != this->tablesUsed.end(); ++_iter826) + std::set ::const_iterator _iter833; + for (_iter833 = this->tablesUsed.begin(); _iter833 != this->tablesUsed.end(); ++_iter833) { - xfer += oprot->writeString((*_iter826)); + xfer += oprot->writeString((*_iter833)); } xfer += oprot->writeSetEnd(); } @@ -20975,21 +21475,21 @@ void swap(CreationMetadata &a, CreationMetadata &b) { swap(a.__isset, b.__isset); } -CreationMetadata::CreationMetadata(const CreationMetadata& other827) { - catName = other827.catName; - dbName = other827.dbName; - tblName = other827.tblName; - tablesUsed = other827.tablesUsed; - validTxnList = other827.validTxnList; - __isset = other827.__isset; -} -CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other828) { - catName = other828.catName; - dbName = other828.dbName; - tblName = other828.tblName; - tablesUsed = other828.tablesUsed; - validTxnList = other828.validTxnList; - __isset = other828.__isset; +CreationMetadata::CreationMetadata(const CreationMetadata& other834) { + catName = other834.catName; + dbName = other834.dbName; + tblName = other834.tblName; + tablesUsed = other834.tablesUsed; + validTxnList = other834.validTxnList; + __isset = other834.__isset; +} +CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other835) { + catName = other835.catName; + dbName = other835.dbName; + tblName = other835.tblName; + tablesUsed = other835.tablesUsed; + validTxnList = other835.validTxnList; + __isset = other835.__isset; return *this; } void CreationMetadata::printTo(std::ostream& out) const { @@ -21095,15 +21595,15 @@ void swap(NotificationEventRequest &a, NotificationEventRequest &b) { swap(a.__isset, b.__isset); } -NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other829) { - lastEvent = other829.lastEvent; - maxEvents = other829.maxEvents; - __isset = other829.__isset; +NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other836) { + lastEvent = other836.lastEvent; + maxEvents = other836.maxEvents; + __isset = other836.__isset; } -NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other830) { - lastEvent = other830.lastEvent; - maxEvents = other830.maxEvents; - __isset = other830.__isset; +NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other837) { + lastEvent = other837.lastEvent; + maxEvents = other837.maxEvents; + __isset = other837.__isset; return *this; } void NotificationEventRequest::printTo(std::ostream& out) const { @@ -21323,27 +21823,27 @@ void swap(NotificationEvent &a, NotificationEvent &b) { swap(a.__isset, b.__isset); } -NotificationEvent::NotificationEvent(const NotificationEvent& other831) { - eventId = other831.eventId; - eventTime = other831.eventTime; - eventType = other831.eventType; - dbName = other831.dbName; - tableName = other831.tableName; - message = other831.message; - messageFormat = other831.messageFormat; - catName = other831.catName; - __isset = other831.__isset; -} -NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other832) { - eventId = other832.eventId; - eventTime = other832.eventTime; - eventType = other832.eventType; - dbName = other832.dbName; - tableName = other832.tableName; - message = other832.message; - messageFormat = other832.messageFormat; - catName = other832.catName; - __isset = other832.__isset; +NotificationEvent::NotificationEvent(const NotificationEvent& other838) { + eventId = other838.eventId; + eventTime = other838.eventTime; + eventType = other838.eventType; + dbName = other838.dbName; + tableName = other838.tableName; + message = other838.message; + messageFormat = other838.messageFormat; + catName = other838.catName; + __isset = other838.__isset; +} +NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other839) { + eventId = other839.eventId; + eventTime = other839.eventTime; + eventType = other839.eventType; + dbName = other839.dbName; + tableName = other839.tableName; + message = other839.message; + messageFormat = other839.messageFormat; + catName = other839.catName; + __isset = other839.__isset; return *this; } void NotificationEvent::printTo(std::ostream& out) const { @@ -21395,14 +21895,14 @@ uint32_t NotificationEventResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->events.clear(); - uint32_t _size833; - ::apache::thrift::protocol::TType _etype836; - xfer += iprot->readListBegin(_etype836, _size833); - this->events.resize(_size833); - uint32_t _i837; - for (_i837 = 0; _i837 < _size833; ++_i837) + uint32_t _size840; + ::apache::thrift::protocol::TType _etype843; + xfer += iprot->readListBegin(_etype843, _size840); + this->events.resize(_size840); + uint32_t _i844; + for (_i844 = 0; _i844 < _size840; ++_i844) { - xfer += this->events[_i837].read(iprot); + xfer += this->events[_i844].read(iprot); } xfer += iprot->readListEnd(); } @@ -21433,10 +21933,10 @@ uint32_t NotificationEventResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("events", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->events.size())); - std::vector ::const_iterator _iter838; - for (_iter838 = this->events.begin(); _iter838 != this->events.end(); ++_iter838) + std::vector ::const_iterator _iter845; + for (_iter845 = this->events.begin(); _iter845 != this->events.end(); ++_iter845) { - xfer += (*_iter838).write(oprot); + xfer += (*_iter845).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21452,11 +21952,11 @@ void swap(NotificationEventResponse &a, NotificationEventResponse &b) { swap(a.events, b.events); } -NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other839) { - events = other839.events; +NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other846) { + events = other846.events; } -NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other840) { - events = other840.events; +NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other847) { + events = other847.events; return *this; } void NotificationEventResponse::printTo(std::ostream& out) const { @@ -21538,11 +22038,11 @@ void swap(CurrentNotificationEventId &a, CurrentNotificationEventId &b) { swap(a.eventId, b.eventId); } -CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other841) { - eventId = other841.eventId; +CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other848) { + eventId = other848.eventId; } -CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other842) { - eventId = other842.eventId; +CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other849) { + eventId = other849.eventId; return *this; } void CurrentNotificationEventId::printTo(std::ostream& out) const { @@ -21664,17 +22164,17 @@ void swap(NotificationEventsCountRequest &a, NotificationEventsCountRequest &b) swap(a.__isset, b.__isset); } -NotificationEventsCountRequest::NotificationEventsCountRequest(const NotificationEventsCountRequest& other843) { - fromEventId = other843.fromEventId; - dbName = other843.dbName; - catName = other843.catName; - __isset = other843.__isset; +NotificationEventsCountRequest::NotificationEventsCountRequest(const NotificationEventsCountRequest& other850) { + fromEventId = other850.fromEventId; + dbName = other850.dbName; + catName = other850.catName; + __isset = other850.__isset; } -NotificationEventsCountRequest& NotificationEventsCountRequest::operator=(const NotificationEventsCountRequest& other844) { - fromEventId = other844.fromEventId; - dbName = other844.dbName; - catName = other844.catName; - __isset = other844.__isset; +NotificationEventsCountRequest& NotificationEventsCountRequest::operator=(const NotificationEventsCountRequest& other851) { + fromEventId = other851.fromEventId; + dbName = other851.dbName; + catName = other851.catName; + __isset = other851.__isset; return *this; } void NotificationEventsCountRequest::printTo(std::ostream& out) const { @@ -21758,11 +22258,11 @@ void swap(NotificationEventsCountResponse &a, NotificationEventsCountResponse &b swap(a.eventsCount, b.eventsCount); } -NotificationEventsCountResponse::NotificationEventsCountResponse(const NotificationEventsCountResponse& other845) { - eventsCount = other845.eventsCount; +NotificationEventsCountResponse::NotificationEventsCountResponse(const NotificationEventsCountResponse& other852) { + eventsCount = other852.eventsCount; } -NotificationEventsCountResponse& NotificationEventsCountResponse::operator=(const NotificationEventsCountResponse& other846) { - eventsCount = other846.eventsCount; +NotificationEventsCountResponse& NotificationEventsCountResponse::operator=(const NotificationEventsCountResponse& other853) { + eventsCount = other853.eventsCount; return *this; } void NotificationEventsCountResponse::printTo(std::ostream& out) const { @@ -21825,14 +22325,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAdded.clear(); - uint32_t _size847; - ::apache::thrift::protocol::TType _etype850; - xfer += iprot->readListBegin(_etype850, _size847); - this->filesAdded.resize(_size847); - uint32_t _i851; - for (_i851 = 0; _i851 < _size847; ++_i851) + uint32_t _size854; + ::apache::thrift::protocol::TType _etype857; + xfer += iprot->readListBegin(_etype857, _size854); + this->filesAdded.resize(_size854); + uint32_t _i858; + for (_i858 = 0; _i858 < _size854; ++_i858) { - xfer += iprot->readString(this->filesAdded[_i851]); + xfer += iprot->readString(this->filesAdded[_i858]); } xfer += iprot->readListEnd(); } @@ -21845,14 +22345,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAddedChecksum.clear(); - uint32_t _size852; - ::apache::thrift::protocol::TType _etype855; - xfer += iprot->readListBegin(_etype855, _size852); - this->filesAddedChecksum.resize(_size852); - uint32_t _i856; - for (_i856 = 0; _i856 < _size852; ++_i856) + uint32_t _size859; + ::apache::thrift::protocol::TType _etype862; + xfer += iprot->readListBegin(_etype862, _size859); + this->filesAddedChecksum.resize(_size859); + uint32_t _i863; + for (_i863 = 0; _i863 < _size859; ++_i863) { - xfer += iprot->readString(this->filesAddedChecksum[_i856]); + xfer += iprot->readString(this->filesAddedChecksum[_i863]); } xfer += iprot->readListEnd(); } @@ -21888,10 +22388,10 @@ uint32_t InsertEventRequestData::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("filesAdded", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->filesAdded.size())); - std::vector ::const_iterator _iter857; - for (_iter857 = this->filesAdded.begin(); _iter857 != this->filesAdded.end(); ++_iter857) + std::vector ::const_iterator _iter864; + for (_iter864 = this->filesAdded.begin(); _iter864 != this->filesAdded.end(); ++_iter864) { - xfer += oprot->writeString((*_iter857)); + xfer += oprot->writeString((*_iter864)); } xfer += oprot->writeListEnd(); } @@ -21901,10 +22401,10 @@ uint32_t InsertEventRequestData::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("filesAddedChecksum", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->filesAddedChecksum.size())); - std::vector ::const_iterator _iter858; - for (_iter858 = this->filesAddedChecksum.begin(); _iter858 != this->filesAddedChecksum.end(); ++_iter858) + std::vector ::const_iterator _iter865; + for (_iter865 = this->filesAddedChecksum.begin(); _iter865 != this->filesAddedChecksum.end(); ++_iter865) { - xfer += oprot->writeString((*_iter858)); + xfer += oprot->writeString((*_iter865)); } xfer += oprot->writeListEnd(); } @@ -21923,17 +22423,17 @@ void swap(InsertEventRequestData &a, InsertEventRequestData &b) { swap(a.__isset, b.__isset); } -InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other859) { - replace = other859.replace; - filesAdded = other859.filesAdded; - filesAddedChecksum = other859.filesAddedChecksum; - __isset = other859.__isset; +InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other866) { + replace = other866.replace; + filesAdded = other866.filesAdded; + filesAddedChecksum = other866.filesAddedChecksum; + __isset = other866.__isset; } -InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other860) { - replace = other860.replace; - filesAdded = other860.filesAdded; - filesAddedChecksum = other860.filesAddedChecksum; - __isset = other860.__isset; +InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other867) { + replace = other867.replace; + filesAdded = other867.filesAdded; + filesAddedChecksum = other867.filesAddedChecksum; + __isset = other867.__isset; return *this; } void InsertEventRequestData::printTo(std::ostream& out) const { @@ -22015,13 +22515,13 @@ void swap(FireEventRequestData &a, FireEventRequestData &b) { swap(a.__isset, b.__isset); } -FireEventRequestData::FireEventRequestData(const FireEventRequestData& other861) { - insertData = other861.insertData; - __isset = other861.__isset; +FireEventRequestData::FireEventRequestData(const FireEventRequestData& other868) { + insertData = other868.insertData; + __isset = other868.__isset; } -FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other862) { - insertData = other862.insertData; - __isset = other862.__isset; +FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other869) { + insertData = other869.insertData; + __isset = other869.__isset; return *this; } void FireEventRequestData::printTo(std::ostream& out) const { @@ -22123,14 +22623,14 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionVals.clear(); - uint32_t _size863; - ::apache::thrift::protocol::TType _etype866; - xfer += iprot->readListBegin(_etype866, _size863); - this->partitionVals.resize(_size863); - uint32_t _i867; - for (_i867 = 0; _i867 < _size863; ++_i867) + uint32_t _size870; + ::apache::thrift::protocol::TType _etype873; + xfer += iprot->readListBegin(_etype873, _size870); + this->partitionVals.resize(_size870); + uint32_t _i874; + for (_i874 = 0; _i874 < _size870; ++_i874) { - xfer += iprot->readString(this->partitionVals[_i867]); + xfer += iprot->readString(this->partitionVals[_i874]); } xfer += iprot->readListEnd(); } @@ -22190,10 +22690,10 @@ uint32_t FireEventRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("partitionVals", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partitionVals.size())); - std::vector ::const_iterator _iter868; - for (_iter868 = this->partitionVals.begin(); _iter868 != this->partitionVals.end(); ++_iter868) + std::vector ::const_iterator _iter875; + for (_iter875 = this->partitionVals.begin(); _iter875 != this->partitionVals.end(); ++_iter875) { - xfer += oprot->writeString((*_iter868)); + xfer += oprot->writeString((*_iter875)); } xfer += oprot->writeListEnd(); } @@ -22220,23 +22720,23 @@ void swap(FireEventRequest &a, FireEventRequest &b) { swap(a.__isset, b.__isset); } -FireEventRequest::FireEventRequest(const FireEventRequest& other869) { - successful = other869.successful; - data = other869.data; - dbName = other869.dbName; - tableName = other869.tableName; - partitionVals = other869.partitionVals; - catName = other869.catName; - __isset = other869.__isset; -} -FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other870) { - successful = other870.successful; - data = other870.data; - dbName = other870.dbName; - tableName = other870.tableName; - partitionVals = other870.partitionVals; - catName = other870.catName; - __isset = other870.__isset; +FireEventRequest::FireEventRequest(const FireEventRequest& other876) { + successful = other876.successful; + data = other876.data; + dbName = other876.dbName; + tableName = other876.tableName; + partitionVals = other876.partitionVals; + catName = other876.catName; + __isset = other876.__isset; +} +FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other877) { + successful = other877.successful; + data = other877.data; + dbName = other877.dbName; + tableName = other877.tableName; + partitionVals = other877.partitionVals; + catName = other877.catName; + __isset = other877.__isset; return *this; } void FireEventRequest::printTo(std::ostream& out) const { @@ -22300,11 +22800,11 @@ void swap(FireEventResponse &a, FireEventResponse &b) { (void) b; } -FireEventResponse::FireEventResponse(const FireEventResponse& other871) { - (void) other871; +FireEventResponse::FireEventResponse(const FireEventResponse& other878) { + (void) other878; } -FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other872) { - (void) other872; +FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other879) { + (void) other879; return *this; } void FireEventResponse::printTo(std::ostream& out) const { @@ -22404,15 +22904,15 @@ void swap(MetadataPpdResult &a, MetadataPpdResult &b) { swap(a.__isset, b.__isset); } -MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other873) { - metadata = other873.metadata; - includeBitset = other873.includeBitset; - __isset = other873.__isset; +MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other880) { + metadata = other880.metadata; + includeBitset = other880.includeBitset; + __isset = other880.__isset; } -MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other874) { - metadata = other874.metadata; - includeBitset = other874.includeBitset; - __isset = other874.__isset; +MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other881) { + metadata = other881.metadata; + includeBitset = other881.includeBitset; + __isset = other881.__isset; return *this; } void MetadataPpdResult::printTo(std::ostream& out) const { @@ -22463,17 +22963,17 @@ uint32_t GetFileMetadataByExprResult::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size875; - ::apache::thrift::protocol::TType _ktype876; - ::apache::thrift::protocol::TType _vtype877; - xfer += iprot->readMapBegin(_ktype876, _vtype877, _size875); - uint32_t _i879; - for (_i879 = 0; _i879 < _size875; ++_i879) + uint32_t _size882; + ::apache::thrift::protocol::TType _ktype883; + ::apache::thrift::protocol::TType _vtype884; + xfer += iprot->readMapBegin(_ktype883, _vtype884, _size882); + uint32_t _i886; + for (_i886 = 0; _i886 < _size882; ++_i886) { - int64_t _key880; - xfer += iprot->readI64(_key880); - MetadataPpdResult& _val881 = this->metadata[_key880]; - xfer += _val881.read(iprot); + int64_t _key887; + xfer += iprot->readI64(_key887); + MetadataPpdResult& _val888 = this->metadata[_key887]; + xfer += _val888.read(iprot); } xfer += iprot->readMapEnd(); } @@ -22514,11 +23014,11 @@ uint32_t GetFileMetadataByExprResult::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldBegin("metadata", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I64, ::apache::thrift::protocol::T_STRUCT, static_cast(this->metadata.size())); - std::map ::const_iterator _iter882; - for (_iter882 = this->metadata.begin(); _iter882 != this->metadata.end(); ++_iter882) + std::map ::const_iterator _iter889; + for (_iter889 = this->metadata.begin(); _iter889 != this->metadata.end(); ++_iter889) { - xfer += oprot->writeI64(_iter882->first); - xfer += _iter882->second.write(oprot); + xfer += oprot->writeI64(_iter889->first); + xfer += _iter889->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -22539,13 +23039,13 @@ void swap(GetFileMetadataByExprResult &a, GetFileMetadataByExprResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other883) { - metadata = other883.metadata; - isSupported = other883.isSupported; +GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other890) { + metadata = other890.metadata; + isSupported = other890.isSupported; } -GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other884) { - metadata = other884.metadata; - isSupported = other884.isSupported; +GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other891) { + metadata = other891.metadata; + isSupported = other891.isSupported; return *this; } void GetFileMetadataByExprResult::printTo(std::ostream& out) const { @@ -22606,14 +23106,14 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size885; - ::apache::thrift::protocol::TType _etype888; - xfer += iprot->readListBegin(_etype888, _size885); - this->fileIds.resize(_size885); - uint32_t _i889; - for (_i889 = 0; _i889 < _size885; ++_i889) + uint32_t _size892; + ::apache::thrift::protocol::TType _etype895; + xfer += iprot->readListBegin(_etype895, _size892); + this->fileIds.resize(_size892); + uint32_t _i896; + for (_i896 = 0; _i896 < _size892; ++_i896) { - xfer += iprot->readI64(this->fileIds[_i889]); + xfer += iprot->readI64(this->fileIds[_i896]); } xfer += iprot->readListEnd(); } @@ -22640,9 +23140,9 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast890; - xfer += iprot->readI32(ecast890); - this->type = (FileMetadataExprType::type)ecast890; + int32_t ecast897; + xfer += iprot->readI32(ecast897); + this->type = (FileMetadataExprType::type)ecast897; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -22672,10 +23172,10 @@ uint32_t GetFileMetadataByExprRequest::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter891; - for (_iter891 = this->fileIds.begin(); _iter891 != this->fileIds.end(); ++_iter891) + std::vector ::const_iterator _iter898; + for (_iter898 = this->fileIds.begin(); _iter898 != this->fileIds.end(); ++_iter898) { - xfer += oprot->writeI64((*_iter891)); + xfer += oprot->writeI64((*_iter898)); } xfer += oprot->writeListEnd(); } @@ -22709,19 +23209,19 @@ void swap(GetFileMetadataByExprRequest &a, GetFileMetadataByExprRequest &b) { swap(a.__isset, b.__isset); } -GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other892) { - fileIds = other892.fileIds; - expr = other892.expr; - doGetFooters = other892.doGetFooters; - type = other892.type; - __isset = other892.__isset; +GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other899) { + fileIds = other899.fileIds; + expr = other899.expr; + doGetFooters = other899.doGetFooters; + type = other899.type; + __isset = other899.__isset; } -GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other893) { - fileIds = other893.fileIds; - expr = other893.expr; - doGetFooters = other893.doGetFooters; - type = other893.type; - __isset = other893.__isset; +GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other900) { + fileIds = other900.fileIds; + expr = other900.expr; + doGetFooters = other900.doGetFooters; + type = other900.type; + __isset = other900.__isset; return *this; } void GetFileMetadataByExprRequest::printTo(std::ostream& out) const { @@ -22774,17 +23274,17 @@ uint32_t GetFileMetadataResult::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size894; - ::apache::thrift::protocol::TType _ktype895; - ::apache::thrift::protocol::TType _vtype896; - xfer += iprot->readMapBegin(_ktype895, _vtype896, _size894); - uint32_t _i898; - for (_i898 = 0; _i898 < _size894; ++_i898) + uint32_t _size901; + ::apache::thrift::protocol::TType _ktype902; + ::apache::thrift::protocol::TType _vtype903; + xfer += iprot->readMapBegin(_ktype902, _vtype903, _size901); + uint32_t _i905; + for (_i905 = 0; _i905 < _size901; ++_i905) { - int64_t _key899; - xfer += iprot->readI64(_key899); - std::string& _val900 = this->metadata[_key899]; - xfer += iprot->readBinary(_val900); + int64_t _key906; + xfer += iprot->readI64(_key906); + std::string& _val907 = this->metadata[_key906]; + xfer += iprot->readBinary(_val907); } xfer += iprot->readMapEnd(); } @@ -22825,11 +23325,11 @@ uint32_t GetFileMetadataResult::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldBegin("metadata", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I64, ::apache::thrift::protocol::T_STRING, static_cast(this->metadata.size())); - std::map ::const_iterator _iter901; - for (_iter901 = this->metadata.begin(); _iter901 != this->metadata.end(); ++_iter901) + std::map ::const_iterator _iter908; + for (_iter908 = this->metadata.begin(); _iter908 != this->metadata.end(); ++_iter908) { - xfer += oprot->writeI64(_iter901->first); - xfer += oprot->writeBinary(_iter901->second); + xfer += oprot->writeI64(_iter908->first); + xfer += oprot->writeBinary(_iter908->second); } xfer += oprot->writeMapEnd(); } @@ -22850,13 +23350,13 @@ void swap(GetFileMetadataResult &a, GetFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other902) { - metadata = other902.metadata; - isSupported = other902.isSupported; +GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other909) { + metadata = other909.metadata; + isSupported = other909.isSupported; } -GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other903) { - metadata = other903.metadata; - isSupported = other903.isSupported; +GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other910) { + metadata = other910.metadata; + isSupported = other910.isSupported; return *this; } void GetFileMetadataResult::printTo(std::ostream& out) const { @@ -22902,14 +23402,14 @@ uint32_t GetFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size904; - ::apache::thrift::protocol::TType _etype907; - xfer += iprot->readListBegin(_etype907, _size904); - this->fileIds.resize(_size904); - uint32_t _i908; - for (_i908 = 0; _i908 < _size904; ++_i908) + uint32_t _size911; + ::apache::thrift::protocol::TType _etype914; + xfer += iprot->readListBegin(_etype914, _size911); + this->fileIds.resize(_size911); + uint32_t _i915; + for (_i915 = 0; _i915 < _size911; ++_i915) { - xfer += iprot->readI64(this->fileIds[_i908]); + xfer += iprot->readI64(this->fileIds[_i915]); } xfer += iprot->readListEnd(); } @@ -22940,10 +23440,10 @@ uint32_t GetFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter909; - for (_iter909 = this->fileIds.begin(); _iter909 != this->fileIds.end(); ++_iter909) + std::vector ::const_iterator _iter916; + for (_iter916 = this->fileIds.begin(); _iter916 != this->fileIds.end(); ++_iter916) { - xfer += oprot->writeI64((*_iter909)); + xfer += oprot->writeI64((*_iter916)); } xfer += oprot->writeListEnd(); } @@ -22959,11 +23459,11 @@ void swap(GetFileMetadataRequest &a, GetFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other910) { - fileIds = other910.fileIds; +GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other917) { + fileIds = other917.fileIds; } -GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other911) { - fileIds = other911.fileIds; +GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other918) { + fileIds = other918.fileIds; return *this; } void GetFileMetadataRequest::printTo(std::ostream& out) const { @@ -23022,11 +23522,11 @@ void swap(PutFileMetadataResult &a, PutFileMetadataResult &b) { (void) b; } -PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other912) { - (void) other912; +PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other919) { + (void) other919; } -PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other913) { - (void) other913; +PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other920) { + (void) other920; return *this; } void PutFileMetadataResult::printTo(std::ostream& out) const { @@ -23080,14 +23580,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size914; - ::apache::thrift::protocol::TType _etype917; - xfer += iprot->readListBegin(_etype917, _size914); - this->fileIds.resize(_size914); - uint32_t _i918; - for (_i918 = 0; _i918 < _size914; ++_i918) + uint32_t _size921; + ::apache::thrift::protocol::TType _etype924; + xfer += iprot->readListBegin(_etype924, _size921); + this->fileIds.resize(_size921); + uint32_t _i925; + for (_i925 = 0; _i925 < _size921; ++_i925) { - xfer += iprot->readI64(this->fileIds[_i918]); + xfer += iprot->readI64(this->fileIds[_i925]); } xfer += iprot->readListEnd(); } @@ -23100,14 +23600,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->metadata.clear(); - uint32_t _size919; - ::apache::thrift::protocol::TType _etype922; - xfer += iprot->readListBegin(_etype922, _size919); - this->metadata.resize(_size919); - uint32_t _i923; - for (_i923 = 0; _i923 < _size919; ++_i923) + uint32_t _size926; + ::apache::thrift::protocol::TType _etype929; + xfer += iprot->readListBegin(_etype929, _size926); + this->metadata.resize(_size926); + uint32_t _i930; + for (_i930 = 0; _i930 < _size926; ++_i930) { - xfer += iprot->readBinary(this->metadata[_i923]); + xfer += iprot->readBinary(this->metadata[_i930]); } xfer += iprot->readListEnd(); } @@ -23118,9 +23618,9 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast924; - xfer += iprot->readI32(ecast924); - this->type = (FileMetadataExprType::type)ecast924; + int32_t ecast931; + xfer += iprot->readI32(ecast931); + this->type = (FileMetadataExprType::type)ecast931; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -23150,10 +23650,10 @@ uint32_t PutFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter925; - for (_iter925 = this->fileIds.begin(); _iter925 != this->fileIds.end(); ++_iter925) + std::vector ::const_iterator _iter932; + for (_iter932 = this->fileIds.begin(); _iter932 != this->fileIds.end(); ++_iter932) { - xfer += oprot->writeI64((*_iter925)); + xfer += oprot->writeI64((*_iter932)); } xfer += oprot->writeListEnd(); } @@ -23162,10 +23662,10 @@ uint32_t PutFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("metadata", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->metadata.size())); - std::vector ::const_iterator _iter926; - for (_iter926 = this->metadata.begin(); _iter926 != this->metadata.end(); ++_iter926) + std::vector ::const_iterator _iter933; + for (_iter933 = this->metadata.begin(); _iter933 != this->metadata.end(); ++_iter933) { - xfer += oprot->writeBinary((*_iter926)); + xfer += oprot->writeBinary((*_iter933)); } xfer += oprot->writeListEnd(); } @@ -23189,17 +23689,17 @@ void swap(PutFileMetadataRequest &a, PutFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other927) { - fileIds = other927.fileIds; - metadata = other927.metadata; - type = other927.type; - __isset = other927.__isset; +PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other934) { + fileIds = other934.fileIds; + metadata = other934.metadata; + type = other934.type; + __isset = other934.__isset; } -PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other928) { - fileIds = other928.fileIds; - metadata = other928.metadata; - type = other928.type; - __isset = other928.__isset; +PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other935) { + fileIds = other935.fileIds; + metadata = other935.metadata; + type = other935.type; + __isset = other935.__isset; return *this; } void PutFileMetadataRequest::printTo(std::ostream& out) const { @@ -23260,11 +23760,11 @@ void swap(ClearFileMetadataResult &a, ClearFileMetadataResult &b) { (void) b; } -ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other929) { - (void) other929; +ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other936) { + (void) other936; } -ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other930) { - (void) other930; +ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other937) { + (void) other937; return *this; } void ClearFileMetadataResult::printTo(std::ostream& out) const { @@ -23308,14 +23808,14 @@ uint32_t ClearFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size931; - ::apache::thrift::protocol::TType _etype934; - xfer += iprot->readListBegin(_etype934, _size931); - this->fileIds.resize(_size931); - uint32_t _i935; - for (_i935 = 0; _i935 < _size931; ++_i935) + uint32_t _size938; + ::apache::thrift::protocol::TType _etype941; + xfer += iprot->readListBegin(_etype941, _size938); + this->fileIds.resize(_size938); + uint32_t _i942; + for (_i942 = 0; _i942 < _size938; ++_i942) { - xfer += iprot->readI64(this->fileIds[_i935]); + xfer += iprot->readI64(this->fileIds[_i942]); } xfer += iprot->readListEnd(); } @@ -23346,10 +23846,10 @@ uint32_t ClearFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter936; - for (_iter936 = this->fileIds.begin(); _iter936 != this->fileIds.end(); ++_iter936) + std::vector ::const_iterator _iter943; + for (_iter943 = this->fileIds.begin(); _iter943 != this->fileIds.end(); ++_iter943) { - xfer += oprot->writeI64((*_iter936)); + xfer += oprot->writeI64((*_iter943)); } xfer += oprot->writeListEnd(); } @@ -23365,11 +23865,11 @@ void swap(ClearFileMetadataRequest &a, ClearFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other937) { - fileIds = other937.fileIds; +ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other944) { + fileIds = other944.fileIds; } -ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other938) { - fileIds = other938.fileIds; +ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other945) { + fileIds = other945.fileIds; return *this; } void ClearFileMetadataRequest::printTo(std::ostream& out) const { @@ -23451,11 +23951,11 @@ void swap(CacheFileMetadataResult &a, CacheFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other939) { - isSupported = other939.isSupported; +CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other946) { + isSupported = other946.isSupported; } -CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other940) { - isSupported = other940.isSupported; +CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other947) { + isSupported = other947.isSupported; return *this; } void CacheFileMetadataResult::printTo(std::ostream& out) const { @@ -23596,19 +24096,19 @@ void swap(CacheFileMetadataRequest &a, CacheFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other941) { - dbName = other941.dbName; - tblName = other941.tblName; - partName = other941.partName; - isAllParts = other941.isAllParts; - __isset = other941.__isset; +CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other948) { + dbName = other948.dbName; + tblName = other948.tblName; + partName = other948.partName; + isAllParts = other948.isAllParts; + __isset = other948.__isset; } -CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other942) { - dbName = other942.dbName; - tblName = other942.tblName; - partName = other942.partName; - isAllParts = other942.isAllParts; - __isset = other942.__isset; +CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other949) { + dbName = other949.dbName; + tblName = other949.tblName; + partName = other949.partName; + isAllParts = other949.isAllParts; + __isset = other949.__isset; return *this; } void CacheFileMetadataRequest::printTo(std::ostream& out) const { @@ -23656,14 +24156,14 @@ uint32_t GetAllFunctionsResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->functions.clear(); - uint32_t _size943; - ::apache::thrift::protocol::TType _etype946; - xfer += iprot->readListBegin(_etype946, _size943); - this->functions.resize(_size943); - uint32_t _i947; - for (_i947 = 0; _i947 < _size943; ++_i947) + uint32_t _size950; + ::apache::thrift::protocol::TType _etype953; + xfer += iprot->readListBegin(_etype953, _size950); + this->functions.resize(_size950); + uint32_t _i954; + for (_i954 = 0; _i954 < _size950; ++_i954) { - xfer += this->functions[_i947].read(iprot); + xfer += this->functions[_i954].read(iprot); } xfer += iprot->readListEnd(); } @@ -23693,10 +24193,10 @@ uint32_t GetAllFunctionsResponse::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldBegin("functions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->functions.size())); - std::vector ::const_iterator _iter948; - for (_iter948 = this->functions.begin(); _iter948 != this->functions.end(); ++_iter948) + std::vector ::const_iterator _iter955; + for (_iter955 = this->functions.begin(); _iter955 != this->functions.end(); ++_iter955) { - xfer += (*_iter948).write(oprot); + xfer += (*_iter955).write(oprot); } xfer += oprot->writeListEnd(); } @@ -23713,13 +24213,13 @@ void swap(GetAllFunctionsResponse &a, GetAllFunctionsResponse &b) { swap(a.__isset, b.__isset); } -GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other949) { - functions = other949.functions; - __isset = other949.__isset; +GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other956) { + functions = other956.functions; + __isset = other956.__isset; } -GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other950) { - functions = other950.functions; - __isset = other950.__isset; +GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other957) { + functions = other957.functions; + __isset = other957.__isset; return *this; } void GetAllFunctionsResponse::printTo(std::ostream& out) const { @@ -23764,16 +24264,16 @@ uint32_t ClientCapabilities::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size951; - ::apache::thrift::protocol::TType _etype954; - xfer += iprot->readListBegin(_etype954, _size951); - this->values.resize(_size951); - uint32_t _i955; - for (_i955 = 0; _i955 < _size951; ++_i955) + uint32_t _size958; + ::apache::thrift::protocol::TType _etype961; + xfer += iprot->readListBegin(_etype961, _size958); + this->values.resize(_size958); + uint32_t _i962; + for (_i962 = 0; _i962 < _size958; ++_i962) { - int32_t ecast956; - xfer += iprot->readI32(ecast956); - this->values[_i955] = (ClientCapability::type)ecast956; + int32_t ecast963; + xfer += iprot->readI32(ecast963); + this->values[_i962] = (ClientCapability::type)ecast963; } xfer += iprot->readListEnd(); } @@ -23804,10 +24304,10 @@ uint32_t ClientCapabilities::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I32, static_cast(this->values.size())); - std::vector ::const_iterator _iter957; - for (_iter957 = this->values.begin(); _iter957 != this->values.end(); ++_iter957) + std::vector ::const_iterator _iter964; + for (_iter964 = this->values.begin(); _iter964 != this->values.end(); ++_iter964) { - xfer += oprot->writeI32((int32_t)(*_iter957)); + xfer += oprot->writeI32((int32_t)(*_iter964)); } xfer += oprot->writeListEnd(); } @@ -23823,11 +24323,11 @@ void swap(ClientCapabilities &a, ClientCapabilities &b) { swap(a.values, b.values); } -ClientCapabilities::ClientCapabilities(const ClientCapabilities& other958) { - values = other958.values; +ClientCapabilities::ClientCapabilities(const ClientCapabilities& other965) { + values = other965.values; } -ClientCapabilities& ClientCapabilities::operator=(const ClientCapabilities& other959) { - values = other959.values; +ClientCapabilities& ClientCapabilities::operator=(const ClientCapabilities& other966) { + values = other966.values; return *this; } void ClientCapabilities::printTo(std::ostream& out) const { @@ -23860,6 +24360,16 @@ void GetTableRequest::__set_catName(const std::string& val) { __isset.catName = true; } +void GetTableRequest::__set_txnId(const int64_t val) { + this->txnId = val; +__isset.txnId = true; +} + +void GetTableRequest::__set_validWriteIdList(const std::string& val) { + this->validWriteIdList = val; +__isset.validWriteIdList = true; +} + uint32_t GetTableRequest::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); @@ -23915,6 +24425,22 @@ uint32_t GetTableRequest::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 5: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->txnId); + this->__isset.txnId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->validWriteIdList); + this->__isset.validWriteIdList = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -23954,6 +24480,16 @@ uint32_t GetTableRequest::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeString(this->catName); xfer += oprot->writeFieldEnd(); } + if (this->__isset.txnId) { + xfer += oprot->writeFieldBegin("txnId", ::apache::thrift::protocol::T_I64, 5); + xfer += oprot->writeI64(this->txnId); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.validWriteIdList) { + xfer += oprot->writeFieldBegin("validWriteIdList", ::apache::thrift::protocol::T_STRING, 6); + xfer += oprot->writeString(this->validWriteIdList); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -23965,22 +24501,28 @@ void swap(GetTableRequest &a, GetTableRequest &b) { swap(a.tblName, b.tblName); swap(a.capabilities, b.capabilities); swap(a.catName, b.catName); + swap(a.txnId, b.txnId); + swap(a.validWriteIdList, b.validWriteIdList); swap(a.__isset, b.__isset); } -GetTableRequest::GetTableRequest(const GetTableRequest& other960) { - dbName = other960.dbName; - tblName = other960.tblName; - capabilities = other960.capabilities; - catName = other960.catName; - __isset = other960.__isset; -} -GetTableRequest& GetTableRequest::operator=(const GetTableRequest& other961) { - dbName = other961.dbName; - tblName = other961.tblName; - capabilities = other961.capabilities; - catName = other961.catName; - __isset = other961.__isset; +GetTableRequest::GetTableRequest(const GetTableRequest& other967) { + dbName = other967.dbName; + tblName = other967.tblName; + capabilities = other967.capabilities; + catName = other967.catName; + txnId = other967.txnId; + validWriteIdList = other967.validWriteIdList; + __isset = other967.__isset; +} +GetTableRequest& GetTableRequest::operator=(const GetTableRequest& other968) { + dbName = other968.dbName; + tblName = other968.tblName; + capabilities = other968.capabilities; + catName = other968.catName; + txnId = other968.txnId; + validWriteIdList = other968.validWriteIdList; + __isset = other968.__isset; return *this; } void GetTableRequest::printTo(std::ostream& out) const { @@ -23990,6 +24532,8 @@ void GetTableRequest::printTo(std::ostream& out) const { out << ", " << "tblName=" << to_string(tblName); out << ", " << "capabilities="; (__isset.capabilities ? (out << to_string(capabilities)) : (out << "")); out << ", " << "catName="; (__isset.catName ? (out << to_string(catName)) : (out << "")); + out << ", " << "txnId="; (__isset.txnId ? (out << to_string(txnId)) : (out << "")); + out << ", " << "validWriteIdList="; (__isset.validWriteIdList ? (out << to_string(validWriteIdList)) : (out << "")); out << ")"; } @@ -24002,6 +24546,11 @@ void GetTableResult::__set_table(const Table& val) { this->table = val; } +void GetTableResult::__set_isStatsCompliant(const IsolationLevelCompliance::type val) { + this->isStatsCompliant = val; +__isset.isStatsCompliant = true; +} + uint32_t GetTableResult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); @@ -24032,6 +24581,16 @@ uint32_t GetTableResult::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I32) { + int32_t ecast969; + xfer += iprot->readI32(ecast969); + this->isStatsCompliant = (IsolationLevelCompliance::type)ecast969; + this->__isset.isStatsCompliant = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -24055,6 +24614,11 @@ uint32_t GetTableResult::write(::apache::thrift::protocol::TProtocol* oprot) con xfer += this->table.write(oprot); xfer += oprot->writeFieldEnd(); + if (this->__isset.isStatsCompliant) { + xfer += oprot->writeFieldBegin("isStatsCompliant", ::apache::thrift::protocol::T_I32, 2); + xfer += oprot->writeI32((int32_t)this->isStatsCompliant); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -24063,19 +24627,26 @@ uint32_t GetTableResult::write(::apache::thrift::protocol::TProtocol* oprot) con void swap(GetTableResult &a, GetTableResult &b) { using ::std::swap; swap(a.table, b.table); + swap(a.isStatsCompliant, b.isStatsCompliant); + swap(a.__isset, b.__isset); } -GetTableResult::GetTableResult(const GetTableResult& other962) { - table = other962.table; +GetTableResult::GetTableResult(const GetTableResult& other970) { + table = other970.table; + isStatsCompliant = other970.isStatsCompliant; + __isset = other970.__isset; } -GetTableResult& GetTableResult::operator=(const GetTableResult& other963) { - table = other963.table; +GetTableResult& GetTableResult::operator=(const GetTableResult& other971) { + table = other971.table; + isStatsCompliant = other971.isStatsCompliant; + __isset = other971.__isset; return *this; } void GetTableResult::printTo(std::ostream& out) const { using ::apache::thrift::to_string; out << "GetTableResult("; out << "table=" << to_string(table); + out << ", " << "isStatsCompliant="; (__isset.isStatsCompliant ? (out << to_string(isStatsCompliant)) : (out << "")); out << ")"; } @@ -24137,14 +24708,14 @@ uint32_t GetTablesRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tblNames.clear(); - uint32_t _size964; - ::apache::thrift::protocol::TType _etype967; - xfer += iprot->readListBegin(_etype967, _size964); - this->tblNames.resize(_size964); - uint32_t _i968; - for (_i968 = 0; _i968 < _size964; ++_i968) + uint32_t _size972; + ::apache::thrift::protocol::TType _etype975; + xfer += iprot->readListBegin(_etype975, _size972); + this->tblNames.resize(_size972); + uint32_t _i976; + for (_i976 = 0; _i976 < _size972; ++_i976) { - xfer += iprot->readString(this->tblNames[_i968]); + xfer += iprot->readString(this->tblNames[_i976]); } xfer += iprot->readListEnd(); } @@ -24196,10 +24767,10 @@ uint32_t GetTablesRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("tblNames", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tblNames.size())); - std::vector ::const_iterator _iter969; - for (_iter969 = this->tblNames.begin(); _iter969 != this->tblNames.end(); ++_iter969) + std::vector ::const_iterator _iter977; + for (_iter977 = this->tblNames.begin(); _iter977 != this->tblNames.end(); ++_iter977) { - xfer += oprot->writeString((*_iter969)); + xfer += oprot->writeString((*_iter977)); } xfer += oprot->writeListEnd(); } @@ -24229,19 +24800,19 @@ void swap(GetTablesRequest &a, GetTablesRequest &b) { swap(a.__isset, b.__isset); } -GetTablesRequest::GetTablesRequest(const GetTablesRequest& other970) { - dbName = other970.dbName; - tblNames = other970.tblNames; - capabilities = other970.capabilities; - catName = other970.catName; - __isset = other970.__isset; +GetTablesRequest::GetTablesRequest(const GetTablesRequest& other978) { + dbName = other978.dbName; + tblNames = other978.tblNames; + capabilities = other978.capabilities; + catName = other978.catName; + __isset = other978.__isset; } -GetTablesRequest& GetTablesRequest::operator=(const GetTablesRequest& other971) { - dbName = other971.dbName; - tblNames = other971.tblNames; - capabilities = other971.capabilities; - catName = other971.catName; - __isset = other971.__isset; +GetTablesRequest& GetTablesRequest::operator=(const GetTablesRequest& other979) { + dbName = other979.dbName; + tblNames = other979.tblNames; + capabilities = other979.capabilities; + catName = other979.catName; + __isset = other979.__isset; return *this; } void GetTablesRequest::printTo(std::ostream& out) const { @@ -24289,14 +24860,14 @@ uint32_t GetTablesResult::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tables.clear(); - uint32_t _size972; - ::apache::thrift::protocol::TType _etype975; - xfer += iprot->readListBegin(_etype975, _size972); - this->tables.resize(_size972); - uint32_t _i976; - for (_i976 = 0; _i976 < _size972; ++_i976) + uint32_t _size980; + ::apache::thrift::protocol::TType _etype983; + xfer += iprot->readListBegin(_etype983, _size980); + this->tables.resize(_size980); + uint32_t _i984; + for (_i984 = 0; _i984 < _size980; ++_i984) { - xfer += this->tables[_i976].read(iprot); + xfer += this->tables[_i984].read(iprot); } xfer += iprot->readListEnd(); } @@ -24327,10 +24898,10 @@ uint32_t GetTablesResult::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeFieldBegin("tables", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->tables.size())); - std::vector
::const_iterator _iter977; - for (_iter977 = this->tables.begin(); _iter977 != this->tables.end(); ++_iter977) + std::vector
::const_iterator _iter985; + for (_iter985 = this->tables.begin(); _iter985 != this->tables.end(); ++_iter985) { - xfer += (*_iter977).write(oprot); + xfer += (*_iter985).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24346,11 +24917,11 @@ void swap(GetTablesResult &a, GetTablesResult &b) { swap(a.tables, b.tables); } -GetTablesResult::GetTablesResult(const GetTablesResult& other978) { - tables = other978.tables; +GetTablesResult::GetTablesResult(const GetTablesResult& other986) { + tables = other986.tables; } -GetTablesResult& GetTablesResult::operator=(const GetTablesResult& other979) { - tables = other979.tables; +GetTablesResult& GetTablesResult::operator=(const GetTablesResult& other987) { + tables = other987.tables; return *this; } void GetTablesResult::printTo(std::ostream& out) const { @@ -24452,13 +25023,13 @@ void swap(CmRecycleRequest &a, CmRecycleRequest &b) { swap(a.purge, b.purge); } -CmRecycleRequest::CmRecycleRequest(const CmRecycleRequest& other980) { - dataPath = other980.dataPath; - purge = other980.purge; +CmRecycleRequest::CmRecycleRequest(const CmRecycleRequest& other988) { + dataPath = other988.dataPath; + purge = other988.purge; } -CmRecycleRequest& CmRecycleRequest::operator=(const CmRecycleRequest& other981) { - dataPath = other981.dataPath; - purge = other981.purge; +CmRecycleRequest& CmRecycleRequest::operator=(const CmRecycleRequest& other989) { + dataPath = other989.dataPath; + purge = other989.purge; return *this; } void CmRecycleRequest::printTo(std::ostream& out) const { @@ -24518,11 +25089,11 @@ void swap(CmRecycleResponse &a, CmRecycleResponse &b) { (void) b; } -CmRecycleResponse::CmRecycleResponse(const CmRecycleResponse& other982) { - (void) other982; +CmRecycleResponse::CmRecycleResponse(const CmRecycleResponse& other990) { + (void) other990; } -CmRecycleResponse& CmRecycleResponse::operator=(const CmRecycleResponse& other983) { - (void) other983; +CmRecycleResponse& CmRecycleResponse::operator=(const CmRecycleResponse& other991) { + (void) other991; return *this; } void CmRecycleResponse::printTo(std::ostream& out) const { @@ -24682,21 +25253,21 @@ void swap(TableMeta &a, TableMeta &b) { swap(a.__isset, b.__isset); } -TableMeta::TableMeta(const TableMeta& other984) { - dbName = other984.dbName; - tableName = other984.tableName; - tableType = other984.tableType; - comments = other984.comments; - catName = other984.catName; - __isset = other984.__isset; -} -TableMeta& TableMeta::operator=(const TableMeta& other985) { - dbName = other985.dbName; - tableName = other985.tableName; - tableType = other985.tableType; - comments = other985.comments; - catName = other985.catName; - __isset = other985.__isset; +TableMeta::TableMeta(const TableMeta& other992) { + dbName = other992.dbName; + tableName = other992.tableName; + tableType = other992.tableType; + comments = other992.comments; + catName = other992.catName; + __isset = other992.__isset; +} +TableMeta& TableMeta::operator=(const TableMeta& other993) { + dbName = other993.dbName; + tableName = other993.tableName; + tableType = other993.tableType; + comments = other993.comments; + catName = other993.catName; + __isset = other993.__isset; return *this; } void TableMeta::printTo(std::ostream& out) const { @@ -24760,15 +25331,15 @@ uint32_t Materialization::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_SET) { { this->tablesUsed.clear(); - uint32_t _size986; - ::apache::thrift::protocol::TType _etype989; - xfer += iprot->readSetBegin(_etype989, _size986); - uint32_t _i990; - for (_i990 = 0; _i990 < _size986; ++_i990) + uint32_t _size994; + ::apache::thrift::protocol::TType _etype997; + xfer += iprot->readSetBegin(_etype997, _size994); + uint32_t _i998; + for (_i998 = 0; _i998 < _size994; ++_i998) { - std::string _elem991; - xfer += iprot->readString(_elem991); - this->tablesUsed.insert(_elem991); + std::string _elem999; + xfer += iprot->readString(_elem999); + this->tablesUsed.insert(_elem999); } xfer += iprot->readSetEnd(); } @@ -24823,10 +25394,10 @@ uint32_t Materialization::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeFieldBegin("tablesUsed", ::apache::thrift::protocol::T_SET, 1); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tablesUsed.size())); - std::set ::const_iterator _iter992; - for (_iter992 = this->tablesUsed.begin(); _iter992 != this->tablesUsed.end(); ++_iter992) + std::set ::const_iterator _iter1000; + for (_iter1000 = this->tablesUsed.begin(); _iter1000 != this->tablesUsed.end(); ++_iter1000) { - xfer += oprot->writeString((*_iter992)); + xfer += oprot->writeString((*_iter1000)); } xfer += oprot->writeSetEnd(); } @@ -24861,19 +25432,19 @@ void swap(Materialization &a, Materialization &b) { swap(a.__isset, b.__isset); } -Materialization::Materialization(const Materialization& other993) { - tablesUsed = other993.tablesUsed; - validTxnList = other993.validTxnList; - invalidationTime = other993.invalidationTime; - sourceTablesUpdateDeleteModified = other993.sourceTablesUpdateDeleteModified; - __isset = other993.__isset; +Materialization::Materialization(const Materialization& other1001) { + tablesUsed = other1001.tablesUsed; + validTxnList = other1001.validTxnList; + invalidationTime = other1001.invalidationTime; + sourceTablesUpdateDeleteModified = other1001.sourceTablesUpdateDeleteModified; + __isset = other1001.__isset; } -Materialization& Materialization::operator=(const Materialization& other994) { - tablesUsed = other994.tablesUsed; - validTxnList = other994.validTxnList; - invalidationTime = other994.invalidationTime; - sourceTablesUpdateDeleteModified = other994.sourceTablesUpdateDeleteModified; - __isset = other994.__isset; +Materialization& Materialization::operator=(const Materialization& other1002) { + tablesUsed = other1002.tablesUsed; + validTxnList = other1002.validTxnList; + invalidationTime = other1002.invalidationTime; + sourceTablesUpdateDeleteModified = other1002.sourceTablesUpdateDeleteModified; + __isset = other1002.__isset; return *this; } void Materialization::printTo(std::ostream& out) const { @@ -24942,9 +25513,9 @@ uint32_t WMResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast995; - xfer += iprot->readI32(ecast995); - this->status = (WMResourcePlanStatus::type)ecast995; + int32_t ecast1003; + xfer += iprot->readI32(ecast1003); + this->status = (WMResourcePlanStatus::type)ecast1003; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -25018,19 +25589,19 @@ void swap(WMResourcePlan &a, WMResourcePlan &b) { swap(a.__isset, b.__isset); } -WMResourcePlan::WMResourcePlan(const WMResourcePlan& other996) { - name = other996.name; - status = other996.status; - queryParallelism = other996.queryParallelism; - defaultPoolPath = other996.defaultPoolPath; - __isset = other996.__isset; +WMResourcePlan::WMResourcePlan(const WMResourcePlan& other1004) { + name = other1004.name; + status = other1004.status; + queryParallelism = other1004.queryParallelism; + defaultPoolPath = other1004.defaultPoolPath; + __isset = other1004.__isset; } -WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other997) { - name = other997.name; - status = other997.status; - queryParallelism = other997.queryParallelism; - defaultPoolPath = other997.defaultPoolPath; - __isset = other997.__isset; +WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other1005) { + name = other1005.name; + status = other1005.status; + queryParallelism = other1005.queryParallelism; + defaultPoolPath = other1005.defaultPoolPath; + __isset = other1005.__isset; return *this; } void WMResourcePlan::printTo(std::ostream& out) const { @@ -25109,9 +25680,9 @@ uint32_t WMNullableResourcePlan::read(::apache::thrift::protocol::TProtocol* ipr break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast998; - xfer += iprot->readI32(ecast998); - this->status = (WMResourcePlanStatus::type)ecast998; + int32_t ecast1006; + xfer += iprot->readI32(ecast1006); + this->status = (WMResourcePlanStatus::type)ecast1006; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -25212,23 +25783,23 @@ void swap(WMNullableResourcePlan &a, WMNullableResourcePlan &b) { swap(a.__isset, b.__isset); } -WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other999) { - name = other999.name; - status = other999.status; - queryParallelism = other999.queryParallelism; - isSetQueryParallelism = other999.isSetQueryParallelism; - defaultPoolPath = other999.defaultPoolPath; - isSetDefaultPoolPath = other999.isSetDefaultPoolPath; - __isset = other999.__isset; -} -WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other1000) { - name = other1000.name; - status = other1000.status; - queryParallelism = other1000.queryParallelism; - isSetQueryParallelism = other1000.isSetQueryParallelism; - defaultPoolPath = other1000.defaultPoolPath; - isSetDefaultPoolPath = other1000.isSetDefaultPoolPath; - __isset = other1000.__isset; +WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other1007) { + name = other1007.name; + status = other1007.status; + queryParallelism = other1007.queryParallelism; + isSetQueryParallelism = other1007.isSetQueryParallelism; + defaultPoolPath = other1007.defaultPoolPath; + isSetDefaultPoolPath = other1007.isSetDefaultPoolPath; + __isset = other1007.__isset; +} +WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other1008) { + name = other1008.name; + status = other1008.status; + queryParallelism = other1008.queryParallelism; + isSetQueryParallelism = other1008.isSetQueryParallelism; + defaultPoolPath = other1008.defaultPoolPath; + isSetDefaultPoolPath = other1008.isSetDefaultPoolPath; + __isset = other1008.__isset; return *this; } void WMNullableResourcePlan::printTo(std::ostream& out) const { @@ -25393,21 +25964,21 @@ void swap(WMPool &a, WMPool &b) { swap(a.__isset, b.__isset); } -WMPool::WMPool(const WMPool& other1001) { - resourcePlanName = other1001.resourcePlanName; - poolPath = other1001.poolPath; - allocFraction = other1001.allocFraction; - queryParallelism = other1001.queryParallelism; - schedulingPolicy = other1001.schedulingPolicy; - __isset = other1001.__isset; -} -WMPool& WMPool::operator=(const WMPool& other1002) { - resourcePlanName = other1002.resourcePlanName; - poolPath = other1002.poolPath; - allocFraction = other1002.allocFraction; - queryParallelism = other1002.queryParallelism; - schedulingPolicy = other1002.schedulingPolicy; - __isset = other1002.__isset; +WMPool::WMPool(const WMPool& other1009) { + resourcePlanName = other1009.resourcePlanName; + poolPath = other1009.poolPath; + allocFraction = other1009.allocFraction; + queryParallelism = other1009.queryParallelism; + schedulingPolicy = other1009.schedulingPolicy; + __isset = other1009.__isset; +} +WMPool& WMPool::operator=(const WMPool& other1010) { + resourcePlanName = other1010.resourcePlanName; + poolPath = other1010.poolPath; + allocFraction = other1010.allocFraction; + queryParallelism = other1010.queryParallelism; + schedulingPolicy = other1010.schedulingPolicy; + __isset = other1010.__isset; return *this; } void WMPool::printTo(std::ostream& out) const { @@ -25590,23 +26161,23 @@ void swap(WMNullablePool &a, WMNullablePool &b) { swap(a.__isset, b.__isset); } -WMNullablePool::WMNullablePool(const WMNullablePool& other1003) { - resourcePlanName = other1003.resourcePlanName; - poolPath = other1003.poolPath; - allocFraction = other1003.allocFraction; - queryParallelism = other1003.queryParallelism; - schedulingPolicy = other1003.schedulingPolicy; - isSetSchedulingPolicy = other1003.isSetSchedulingPolicy; - __isset = other1003.__isset; -} -WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other1004) { - resourcePlanName = other1004.resourcePlanName; - poolPath = other1004.poolPath; - allocFraction = other1004.allocFraction; - queryParallelism = other1004.queryParallelism; - schedulingPolicy = other1004.schedulingPolicy; - isSetSchedulingPolicy = other1004.isSetSchedulingPolicy; - __isset = other1004.__isset; +WMNullablePool::WMNullablePool(const WMNullablePool& other1011) { + resourcePlanName = other1011.resourcePlanName; + poolPath = other1011.poolPath; + allocFraction = other1011.allocFraction; + queryParallelism = other1011.queryParallelism; + schedulingPolicy = other1011.schedulingPolicy; + isSetSchedulingPolicy = other1011.isSetSchedulingPolicy; + __isset = other1011.__isset; +} +WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other1012) { + resourcePlanName = other1012.resourcePlanName; + poolPath = other1012.poolPath; + allocFraction = other1012.allocFraction; + queryParallelism = other1012.queryParallelism; + schedulingPolicy = other1012.schedulingPolicy; + isSetSchedulingPolicy = other1012.isSetSchedulingPolicy; + __isset = other1012.__isset; return *this; } void WMNullablePool::printTo(std::ostream& out) const { @@ -25771,21 +26342,21 @@ void swap(WMTrigger &a, WMTrigger &b) { swap(a.__isset, b.__isset); } -WMTrigger::WMTrigger(const WMTrigger& other1005) { - resourcePlanName = other1005.resourcePlanName; - triggerName = other1005.triggerName; - triggerExpression = other1005.triggerExpression; - actionExpression = other1005.actionExpression; - isInUnmanaged = other1005.isInUnmanaged; - __isset = other1005.__isset; -} -WMTrigger& WMTrigger::operator=(const WMTrigger& other1006) { - resourcePlanName = other1006.resourcePlanName; - triggerName = other1006.triggerName; - triggerExpression = other1006.triggerExpression; - actionExpression = other1006.actionExpression; - isInUnmanaged = other1006.isInUnmanaged; - __isset = other1006.__isset; +WMTrigger::WMTrigger(const WMTrigger& other1013) { + resourcePlanName = other1013.resourcePlanName; + triggerName = other1013.triggerName; + triggerExpression = other1013.triggerExpression; + actionExpression = other1013.actionExpression; + isInUnmanaged = other1013.isInUnmanaged; + __isset = other1013.__isset; +} +WMTrigger& WMTrigger::operator=(const WMTrigger& other1014) { + resourcePlanName = other1014.resourcePlanName; + triggerName = other1014.triggerName; + triggerExpression = other1014.triggerExpression; + actionExpression = other1014.actionExpression; + isInUnmanaged = other1014.isInUnmanaged; + __isset = other1014.__isset; return *this; } void WMTrigger::printTo(std::ostream& out) const { @@ -25950,21 +26521,21 @@ void swap(WMMapping &a, WMMapping &b) { swap(a.__isset, b.__isset); } -WMMapping::WMMapping(const WMMapping& other1007) { - resourcePlanName = other1007.resourcePlanName; - entityType = other1007.entityType; - entityName = other1007.entityName; - poolPath = other1007.poolPath; - ordering = other1007.ordering; - __isset = other1007.__isset; -} -WMMapping& WMMapping::operator=(const WMMapping& other1008) { - resourcePlanName = other1008.resourcePlanName; - entityType = other1008.entityType; - entityName = other1008.entityName; - poolPath = other1008.poolPath; - ordering = other1008.ordering; - __isset = other1008.__isset; +WMMapping::WMMapping(const WMMapping& other1015) { + resourcePlanName = other1015.resourcePlanName; + entityType = other1015.entityType; + entityName = other1015.entityName; + poolPath = other1015.poolPath; + ordering = other1015.ordering; + __isset = other1015.__isset; +} +WMMapping& WMMapping::operator=(const WMMapping& other1016) { + resourcePlanName = other1016.resourcePlanName; + entityType = other1016.entityType; + entityName = other1016.entityName; + poolPath = other1016.poolPath; + ordering = other1016.ordering; + __isset = other1016.__isset; return *this; } void WMMapping::printTo(std::ostream& out) const { @@ -26070,13 +26641,13 @@ void swap(WMPoolTrigger &a, WMPoolTrigger &b) { swap(a.trigger, b.trigger); } -WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other1009) { - pool = other1009.pool; - trigger = other1009.trigger; +WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other1017) { + pool = other1017.pool; + trigger = other1017.trigger; } -WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other1010) { - pool = other1010.pool; - trigger = other1010.trigger; +WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other1018) { + pool = other1018.pool; + trigger = other1018.trigger; return *this; } void WMPoolTrigger::printTo(std::ostream& out) const { @@ -26150,14 +26721,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->pools.clear(); - uint32_t _size1011; - ::apache::thrift::protocol::TType _etype1014; - xfer += iprot->readListBegin(_etype1014, _size1011); - this->pools.resize(_size1011); - uint32_t _i1015; - for (_i1015 = 0; _i1015 < _size1011; ++_i1015) + uint32_t _size1019; + ::apache::thrift::protocol::TType _etype1022; + xfer += iprot->readListBegin(_etype1022, _size1019); + this->pools.resize(_size1019); + uint32_t _i1023; + for (_i1023 = 0; _i1023 < _size1019; ++_i1023) { - xfer += this->pools[_i1015].read(iprot); + xfer += this->pools[_i1023].read(iprot); } xfer += iprot->readListEnd(); } @@ -26170,14 +26741,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->mappings.clear(); - uint32_t _size1016; - ::apache::thrift::protocol::TType _etype1019; - xfer += iprot->readListBegin(_etype1019, _size1016); - this->mappings.resize(_size1016); - uint32_t _i1020; - for (_i1020 = 0; _i1020 < _size1016; ++_i1020) + uint32_t _size1024; + ::apache::thrift::protocol::TType _etype1027; + xfer += iprot->readListBegin(_etype1027, _size1024); + this->mappings.resize(_size1024); + uint32_t _i1028; + for (_i1028 = 0; _i1028 < _size1024; ++_i1028) { - xfer += this->mappings[_i1020].read(iprot); + xfer += this->mappings[_i1028].read(iprot); } xfer += iprot->readListEnd(); } @@ -26190,14 +26761,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size1021; - ::apache::thrift::protocol::TType _etype1024; - xfer += iprot->readListBegin(_etype1024, _size1021); - this->triggers.resize(_size1021); - uint32_t _i1025; - for (_i1025 = 0; _i1025 < _size1021; ++_i1025) + uint32_t _size1029; + ::apache::thrift::protocol::TType _etype1032; + xfer += iprot->readListBegin(_etype1032, _size1029); + this->triggers.resize(_size1029); + uint32_t _i1033; + for (_i1033 = 0; _i1033 < _size1029; ++_i1033) { - xfer += this->triggers[_i1025].read(iprot); + xfer += this->triggers[_i1033].read(iprot); } xfer += iprot->readListEnd(); } @@ -26210,14 +26781,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->poolTriggers.clear(); - uint32_t _size1026; - ::apache::thrift::protocol::TType _etype1029; - xfer += iprot->readListBegin(_etype1029, _size1026); - this->poolTriggers.resize(_size1026); - uint32_t _i1030; - for (_i1030 = 0; _i1030 < _size1026; ++_i1030) + uint32_t _size1034; + ::apache::thrift::protocol::TType _etype1037; + xfer += iprot->readListBegin(_etype1037, _size1034); + this->poolTriggers.resize(_size1034); + uint32_t _i1038; + for (_i1038 = 0; _i1038 < _size1034; ++_i1038) { - xfer += this->poolTriggers[_i1030].read(iprot); + xfer += this->poolTriggers[_i1038].read(iprot); } xfer += iprot->readListEnd(); } @@ -26254,10 +26825,10 @@ uint32_t WMFullResourcePlan::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("pools", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->pools.size())); - std::vector ::const_iterator _iter1031; - for (_iter1031 = this->pools.begin(); _iter1031 != this->pools.end(); ++_iter1031) + std::vector ::const_iterator _iter1039; + for (_iter1039 = this->pools.begin(); _iter1039 != this->pools.end(); ++_iter1039) { - xfer += (*_iter1031).write(oprot); + xfer += (*_iter1039).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26267,10 +26838,10 @@ uint32_t WMFullResourcePlan::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("mappings", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->mappings.size())); - std::vector ::const_iterator _iter1032; - for (_iter1032 = this->mappings.begin(); _iter1032 != this->mappings.end(); ++_iter1032) + std::vector ::const_iterator _iter1040; + for (_iter1040 = this->mappings.begin(); _iter1040 != this->mappings.end(); ++_iter1040) { - xfer += (*_iter1032).write(oprot); + xfer += (*_iter1040).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26280,10 +26851,10 @@ uint32_t WMFullResourcePlan::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("triggers", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->triggers.size())); - std::vector ::const_iterator _iter1033; - for (_iter1033 = this->triggers.begin(); _iter1033 != this->triggers.end(); ++_iter1033) + std::vector ::const_iterator _iter1041; + for (_iter1041 = this->triggers.begin(); _iter1041 != this->triggers.end(); ++_iter1041) { - xfer += (*_iter1033).write(oprot); + xfer += (*_iter1041).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26293,10 +26864,10 @@ uint32_t WMFullResourcePlan::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("poolTriggers", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->poolTriggers.size())); - std::vector ::const_iterator _iter1034; - for (_iter1034 = this->poolTriggers.begin(); _iter1034 != this->poolTriggers.end(); ++_iter1034) + std::vector ::const_iterator _iter1042; + for (_iter1042 = this->poolTriggers.begin(); _iter1042 != this->poolTriggers.end(); ++_iter1042) { - xfer += (*_iter1034).write(oprot); + xfer += (*_iter1042).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26317,21 +26888,21 @@ void swap(WMFullResourcePlan &a, WMFullResourcePlan &b) { swap(a.__isset, b.__isset); } -WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other1035) { - plan = other1035.plan; - pools = other1035.pools; - mappings = other1035.mappings; - triggers = other1035.triggers; - poolTriggers = other1035.poolTriggers; - __isset = other1035.__isset; -} -WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other1036) { - plan = other1036.plan; - pools = other1036.pools; - mappings = other1036.mappings; - triggers = other1036.triggers; - poolTriggers = other1036.poolTriggers; - __isset = other1036.__isset; +WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other1043) { + plan = other1043.plan; + pools = other1043.pools; + mappings = other1043.mappings; + triggers = other1043.triggers; + poolTriggers = other1043.poolTriggers; + __isset = other1043.__isset; +} +WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other1044) { + plan = other1044.plan; + pools = other1044.pools; + mappings = other1044.mappings; + triggers = other1044.triggers; + poolTriggers = other1044.poolTriggers; + __isset = other1044.__isset; return *this; } void WMFullResourcePlan::printTo(std::ostream& out) const { @@ -26436,15 +27007,15 @@ void swap(WMCreateResourcePlanRequest &a, WMCreateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other1037) { - resourcePlan = other1037.resourcePlan; - copyFrom = other1037.copyFrom; - __isset = other1037.__isset; +WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other1045) { + resourcePlan = other1045.resourcePlan; + copyFrom = other1045.copyFrom; + __isset = other1045.__isset; } -WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other1038) { - resourcePlan = other1038.resourcePlan; - copyFrom = other1038.copyFrom; - __isset = other1038.__isset; +WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other1046) { + resourcePlan = other1046.resourcePlan; + copyFrom = other1046.copyFrom; + __isset = other1046.__isset; return *this; } void WMCreateResourcePlanRequest::printTo(std::ostream& out) const { @@ -26504,11 +27075,11 @@ void swap(WMCreateResourcePlanResponse &a, WMCreateResourcePlanResponse &b) { (void) b; } -WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other1039) { - (void) other1039; +WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other1047) { + (void) other1047; } -WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other1040) { - (void) other1040; +WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other1048) { + (void) other1048; return *this; } void WMCreateResourcePlanResponse::printTo(std::ostream& out) const { @@ -26566,11 +27137,11 @@ void swap(WMGetActiveResourcePlanRequest &a, WMGetActiveResourcePlanRequest &b) (void) b; } -WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other1041) { - (void) other1041; +WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other1049) { + (void) other1049; } -WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other1042) { - (void) other1042; +WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other1050) { + (void) other1050; return *this; } void WMGetActiveResourcePlanRequest::printTo(std::ostream& out) const { @@ -26651,13 +27222,13 @@ void swap(WMGetActiveResourcePlanResponse &a, WMGetActiveResourcePlanResponse &b swap(a.__isset, b.__isset); } -WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other1043) { - resourcePlan = other1043.resourcePlan; - __isset = other1043.__isset; +WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other1051) { + resourcePlan = other1051.resourcePlan; + __isset = other1051.__isset; } -WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other1044) { - resourcePlan = other1044.resourcePlan; - __isset = other1044.__isset; +WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other1052) { + resourcePlan = other1052.resourcePlan; + __isset = other1052.__isset; return *this; } void WMGetActiveResourcePlanResponse::printTo(std::ostream& out) const { @@ -26739,13 +27310,13 @@ void swap(WMGetResourcePlanRequest &a, WMGetResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other1045) { - resourcePlanName = other1045.resourcePlanName; - __isset = other1045.__isset; +WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other1053) { + resourcePlanName = other1053.resourcePlanName; + __isset = other1053.__isset; } -WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other1046) { - resourcePlanName = other1046.resourcePlanName; - __isset = other1046.__isset; +WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other1054) { + resourcePlanName = other1054.resourcePlanName; + __isset = other1054.__isset; return *this; } void WMGetResourcePlanRequest::printTo(std::ostream& out) const { @@ -26827,13 +27398,13 @@ void swap(WMGetResourcePlanResponse &a, WMGetResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other1047) { - resourcePlan = other1047.resourcePlan; - __isset = other1047.__isset; +WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other1055) { + resourcePlan = other1055.resourcePlan; + __isset = other1055.__isset; } -WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other1048) { - resourcePlan = other1048.resourcePlan; - __isset = other1048.__isset; +WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other1056) { + resourcePlan = other1056.resourcePlan; + __isset = other1056.__isset; return *this; } void WMGetResourcePlanResponse::printTo(std::ostream& out) const { @@ -26892,11 +27463,11 @@ void swap(WMGetAllResourcePlanRequest &a, WMGetAllResourcePlanRequest &b) { (void) b; } -WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other1049) { - (void) other1049; +WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other1057) { + (void) other1057; } -WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other1050) { - (void) other1050; +WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other1058) { + (void) other1058; return *this; } void WMGetAllResourcePlanRequest::printTo(std::ostream& out) const { @@ -26940,14 +27511,14 @@ uint32_t WMGetAllResourcePlanResponse::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->resourcePlans.clear(); - uint32_t _size1051; - ::apache::thrift::protocol::TType _etype1054; - xfer += iprot->readListBegin(_etype1054, _size1051); - this->resourcePlans.resize(_size1051); - uint32_t _i1055; - for (_i1055 = 0; _i1055 < _size1051; ++_i1055) + uint32_t _size1059; + ::apache::thrift::protocol::TType _etype1062; + xfer += iprot->readListBegin(_etype1062, _size1059); + this->resourcePlans.resize(_size1059); + uint32_t _i1063; + for (_i1063 = 0; _i1063 < _size1059; ++_i1063) { - xfer += this->resourcePlans[_i1055].read(iprot); + xfer += this->resourcePlans[_i1063].read(iprot); } xfer += iprot->readListEnd(); } @@ -26977,10 +27548,10 @@ uint32_t WMGetAllResourcePlanResponse::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldBegin("resourcePlans", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->resourcePlans.size())); - std::vector ::const_iterator _iter1056; - for (_iter1056 = this->resourcePlans.begin(); _iter1056 != this->resourcePlans.end(); ++_iter1056) + std::vector ::const_iterator _iter1064; + for (_iter1064 = this->resourcePlans.begin(); _iter1064 != this->resourcePlans.end(); ++_iter1064) { - xfer += (*_iter1056).write(oprot); + xfer += (*_iter1064).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26997,13 +27568,13 @@ void swap(WMGetAllResourcePlanResponse &a, WMGetAllResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other1057) { - resourcePlans = other1057.resourcePlans; - __isset = other1057.__isset; +WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other1065) { + resourcePlans = other1065.resourcePlans; + __isset = other1065.__isset; } -WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other1058) { - resourcePlans = other1058.resourcePlans; - __isset = other1058.__isset; +WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other1066) { + resourcePlans = other1066.resourcePlans; + __isset = other1066.__isset; return *this; } void WMGetAllResourcePlanResponse::printTo(std::ostream& out) const { @@ -27161,21 +27732,21 @@ void swap(WMAlterResourcePlanRequest &a, WMAlterResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other1059) { - resourcePlanName = other1059.resourcePlanName; - resourcePlan = other1059.resourcePlan; - isEnableAndActivate = other1059.isEnableAndActivate; - isForceDeactivate = other1059.isForceDeactivate; - isReplace = other1059.isReplace; - __isset = other1059.__isset; -} -WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other1060) { - resourcePlanName = other1060.resourcePlanName; - resourcePlan = other1060.resourcePlan; - isEnableAndActivate = other1060.isEnableAndActivate; - isForceDeactivate = other1060.isForceDeactivate; - isReplace = other1060.isReplace; - __isset = other1060.__isset; +WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other1067) { + resourcePlanName = other1067.resourcePlanName; + resourcePlan = other1067.resourcePlan; + isEnableAndActivate = other1067.isEnableAndActivate; + isForceDeactivate = other1067.isForceDeactivate; + isReplace = other1067.isReplace; + __isset = other1067.__isset; +} +WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other1068) { + resourcePlanName = other1068.resourcePlanName; + resourcePlan = other1068.resourcePlan; + isEnableAndActivate = other1068.isEnableAndActivate; + isForceDeactivate = other1068.isForceDeactivate; + isReplace = other1068.isReplace; + __isset = other1068.__isset; return *this; } void WMAlterResourcePlanRequest::printTo(std::ostream& out) const { @@ -27261,13 +27832,13 @@ void swap(WMAlterResourcePlanResponse &a, WMAlterResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other1061) { - fullResourcePlan = other1061.fullResourcePlan; - __isset = other1061.__isset; +WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other1069) { + fullResourcePlan = other1069.fullResourcePlan; + __isset = other1069.__isset; } -WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other1062) { - fullResourcePlan = other1062.fullResourcePlan; - __isset = other1062.__isset; +WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other1070) { + fullResourcePlan = other1070.fullResourcePlan; + __isset = other1070.__isset; return *this; } void WMAlterResourcePlanResponse::printTo(std::ostream& out) const { @@ -27349,13 +27920,13 @@ void swap(WMValidateResourcePlanRequest &a, WMValidateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other1063) { - resourcePlanName = other1063.resourcePlanName; - __isset = other1063.__isset; +WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other1071) { + resourcePlanName = other1071.resourcePlanName; + __isset = other1071.__isset; } -WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other1064) { - resourcePlanName = other1064.resourcePlanName; - __isset = other1064.__isset; +WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other1072) { + resourcePlanName = other1072.resourcePlanName; + __isset = other1072.__isset; return *this; } void WMValidateResourcePlanRequest::printTo(std::ostream& out) const { @@ -27405,14 +27976,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->errors.clear(); - uint32_t _size1065; - ::apache::thrift::protocol::TType _etype1068; - xfer += iprot->readListBegin(_etype1068, _size1065); - this->errors.resize(_size1065); - uint32_t _i1069; - for (_i1069 = 0; _i1069 < _size1065; ++_i1069) + uint32_t _size1073; + ::apache::thrift::protocol::TType _etype1076; + xfer += iprot->readListBegin(_etype1076, _size1073); + this->errors.resize(_size1073); + uint32_t _i1077; + for (_i1077 = 0; _i1077 < _size1073; ++_i1077) { - xfer += iprot->readString(this->errors[_i1069]); + xfer += iprot->readString(this->errors[_i1077]); } xfer += iprot->readListEnd(); } @@ -27425,14 +27996,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->warnings.clear(); - uint32_t _size1070; - ::apache::thrift::protocol::TType _etype1073; - xfer += iprot->readListBegin(_etype1073, _size1070); - this->warnings.resize(_size1070); - uint32_t _i1074; - for (_i1074 = 0; _i1074 < _size1070; ++_i1074) + uint32_t _size1078; + ::apache::thrift::protocol::TType _etype1081; + xfer += iprot->readListBegin(_etype1081, _size1078); + this->warnings.resize(_size1078); + uint32_t _i1082; + for (_i1082 = 0; _i1082 < _size1078; ++_i1082) { - xfer += iprot->readString(this->warnings[_i1074]); + xfer += iprot->readString(this->warnings[_i1082]); } xfer += iprot->readListEnd(); } @@ -27462,10 +28033,10 @@ uint32_t WMValidateResourcePlanResponse::write(::apache::thrift::protocol::TProt xfer += oprot->writeFieldBegin("errors", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->errors.size())); - std::vector ::const_iterator _iter1075; - for (_iter1075 = this->errors.begin(); _iter1075 != this->errors.end(); ++_iter1075) + std::vector ::const_iterator _iter1083; + for (_iter1083 = this->errors.begin(); _iter1083 != this->errors.end(); ++_iter1083) { - xfer += oprot->writeString((*_iter1075)); + xfer += oprot->writeString((*_iter1083)); } xfer += oprot->writeListEnd(); } @@ -27475,10 +28046,10 @@ uint32_t WMValidateResourcePlanResponse::write(::apache::thrift::protocol::TProt xfer += oprot->writeFieldBegin("warnings", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->warnings.size())); - std::vector ::const_iterator _iter1076; - for (_iter1076 = this->warnings.begin(); _iter1076 != this->warnings.end(); ++_iter1076) + std::vector ::const_iterator _iter1084; + for (_iter1084 = this->warnings.begin(); _iter1084 != this->warnings.end(); ++_iter1084) { - xfer += oprot->writeString((*_iter1076)); + xfer += oprot->writeString((*_iter1084)); } xfer += oprot->writeListEnd(); } @@ -27496,15 +28067,15 @@ void swap(WMValidateResourcePlanResponse &a, WMValidateResourcePlanResponse &b) swap(a.__isset, b.__isset); } -WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1077) { - errors = other1077.errors; - warnings = other1077.warnings; - __isset = other1077.__isset; +WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1085) { + errors = other1085.errors; + warnings = other1085.warnings; + __isset = other1085.__isset; } -WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1078) { - errors = other1078.errors; - warnings = other1078.warnings; - __isset = other1078.__isset; +WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1086) { + errors = other1086.errors; + warnings = other1086.warnings; + __isset = other1086.__isset; return *this; } void WMValidateResourcePlanResponse::printTo(std::ostream& out) const { @@ -27587,13 +28158,13 @@ void swap(WMDropResourcePlanRequest &a, WMDropResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1079) { - resourcePlanName = other1079.resourcePlanName; - __isset = other1079.__isset; +WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1087) { + resourcePlanName = other1087.resourcePlanName; + __isset = other1087.__isset; } -WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1080) { - resourcePlanName = other1080.resourcePlanName; - __isset = other1080.__isset; +WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1088) { + resourcePlanName = other1088.resourcePlanName; + __isset = other1088.__isset; return *this; } void WMDropResourcePlanRequest::printTo(std::ostream& out) const { @@ -27652,11 +28223,11 @@ void swap(WMDropResourcePlanResponse &a, WMDropResourcePlanResponse &b) { (void) b; } -WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1081) { - (void) other1081; +WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1089) { + (void) other1089; } -WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1082) { - (void) other1082; +WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1090) { + (void) other1090; return *this; } void WMDropResourcePlanResponse::printTo(std::ostream& out) const { @@ -27737,13 +28308,13 @@ void swap(WMCreateTriggerRequest &a, WMCreateTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1083) { - trigger = other1083.trigger; - __isset = other1083.__isset; +WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1091) { + trigger = other1091.trigger; + __isset = other1091.__isset; } -WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1084) { - trigger = other1084.trigger; - __isset = other1084.__isset; +WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1092) { + trigger = other1092.trigger; + __isset = other1092.__isset; return *this; } void WMCreateTriggerRequest::printTo(std::ostream& out) const { @@ -27802,11 +28373,11 @@ void swap(WMCreateTriggerResponse &a, WMCreateTriggerResponse &b) { (void) b; } -WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1085) { - (void) other1085; +WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1093) { + (void) other1093; } -WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1086) { - (void) other1086; +WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1094) { + (void) other1094; return *this; } void WMCreateTriggerResponse::printTo(std::ostream& out) const { @@ -27887,13 +28458,13 @@ void swap(WMAlterTriggerRequest &a, WMAlterTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1087) { - trigger = other1087.trigger; - __isset = other1087.__isset; +WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1095) { + trigger = other1095.trigger; + __isset = other1095.__isset; } -WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1088) { - trigger = other1088.trigger; - __isset = other1088.__isset; +WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1096) { + trigger = other1096.trigger; + __isset = other1096.__isset; return *this; } void WMAlterTriggerRequest::printTo(std::ostream& out) const { @@ -27952,11 +28523,11 @@ void swap(WMAlterTriggerResponse &a, WMAlterTriggerResponse &b) { (void) b; } -WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1089) { - (void) other1089; +WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1097) { + (void) other1097; } -WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1090) { - (void) other1090; +WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1098) { + (void) other1098; return *this; } void WMAlterTriggerResponse::printTo(std::ostream& out) const { @@ -28056,15 +28627,15 @@ void swap(WMDropTriggerRequest &a, WMDropTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1091) { - resourcePlanName = other1091.resourcePlanName; - triggerName = other1091.triggerName; - __isset = other1091.__isset; +WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1099) { + resourcePlanName = other1099.resourcePlanName; + triggerName = other1099.triggerName; + __isset = other1099.__isset; } -WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1092) { - resourcePlanName = other1092.resourcePlanName; - triggerName = other1092.triggerName; - __isset = other1092.__isset; +WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1100) { + resourcePlanName = other1100.resourcePlanName; + triggerName = other1100.triggerName; + __isset = other1100.__isset; return *this; } void WMDropTriggerRequest::printTo(std::ostream& out) const { @@ -28124,11 +28695,11 @@ void swap(WMDropTriggerResponse &a, WMDropTriggerResponse &b) { (void) b; } -WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1093) { - (void) other1093; +WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1101) { + (void) other1101; } -WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1094) { - (void) other1094; +WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1102) { + (void) other1102; return *this; } void WMDropTriggerResponse::printTo(std::ostream& out) const { @@ -28209,13 +28780,13 @@ void swap(WMGetTriggersForResourePlanRequest &a, WMGetTriggersForResourePlanRequ swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1095) { - resourcePlanName = other1095.resourcePlanName; - __isset = other1095.__isset; +WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1103) { + resourcePlanName = other1103.resourcePlanName; + __isset = other1103.__isset; } -WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1096) { - resourcePlanName = other1096.resourcePlanName; - __isset = other1096.__isset; +WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1104) { + resourcePlanName = other1104.resourcePlanName; + __isset = other1104.__isset; return *this; } void WMGetTriggersForResourePlanRequest::printTo(std::ostream& out) const { @@ -28260,14 +28831,14 @@ uint32_t WMGetTriggersForResourePlanResponse::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size1097; - ::apache::thrift::protocol::TType _etype1100; - xfer += iprot->readListBegin(_etype1100, _size1097); - this->triggers.resize(_size1097); - uint32_t _i1101; - for (_i1101 = 0; _i1101 < _size1097; ++_i1101) + uint32_t _size1105; + ::apache::thrift::protocol::TType _etype1108; + xfer += iprot->readListBegin(_etype1108, _size1105); + this->triggers.resize(_size1105); + uint32_t _i1109; + for (_i1109 = 0; _i1109 < _size1105; ++_i1109) { - xfer += this->triggers[_i1101].read(iprot); + xfer += this->triggers[_i1109].read(iprot); } xfer += iprot->readListEnd(); } @@ -28297,10 +28868,10 @@ uint32_t WMGetTriggersForResourePlanResponse::write(::apache::thrift::protocol:: xfer += oprot->writeFieldBegin("triggers", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->triggers.size())); - std::vector ::const_iterator _iter1102; - for (_iter1102 = this->triggers.begin(); _iter1102 != this->triggers.end(); ++_iter1102) + std::vector ::const_iterator _iter1110; + for (_iter1110 = this->triggers.begin(); _iter1110 != this->triggers.end(); ++_iter1110) { - xfer += (*_iter1102).write(oprot); + xfer += (*_iter1110).write(oprot); } xfer += oprot->writeListEnd(); } @@ -28317,13 +28888,13 @@ void swap(WMGetTriggersForResourePlanResponse &a, WMGetTriggersForResourePlanRes swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1103) { - triggers = other1103.triggers; - __isset = other1103.__isset; +WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1111) { + triggers = other1111.triggers; + __isset = other1111.__isset; } -WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1104) { - triggers = other1104.triggers; - __isset = other1104.__isset; +WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1112) { + triggers = other1112.triggers; + __isset = other1112.__isset; return *this; } void WMGetTriggersForResourePlanResponse::printTo(std::ostream& out) const { @@ -28405,13 +28976,13 @@ void swap(WMCreatePoolRequest &a, WMCreatePoolRequest &b) { swap(a.__isset, b.__isset); } -WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1105) { - pool = other1105.pool; - __isset = other1105.__isset; +WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1113) { + pool = other1113.pool; + __isset = other1113.__isset; } -WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1106) { - pool = other1106.pool; - __isset = other1106.__isset; +WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1114) { + pool = other1114.pool; + __isset = other1114.__isset; return *this; } void WMCreatePoolRequest::printTo(std::ostream& out) const { @@ -28470,11 +29041,11 @@ void swap(WMCreatePoolResponse &a, WMCreatePoolResponse &b) { (void) b; } -WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1107) { - (void) other1107; +WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1115) { + (void) other1115; } -WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1108) { - (void) other1108; +WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1116) { + (void) other1116; return *this; } void WMCreatePoolResponse::printTo(std::ostream& out) const { @@ -28574,15 +29145,15 @@ void swap(WMAlterPoolRequest &a, WMAlterPoolRequest &b) { swap(a.__isset, b.__isset); } -WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1109) { - pool = other1109.pool; - poolPath = other1109.poolPath; - __isset = other1109.__isset; +WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1117) { + pool = other1117.pool; + poolPath = other1117.poolPath; + __isset = other1117.__isset; } -WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1110) { - pool = other1110.pool; - poolPath = other1110.poolPath; - __isset = other1110.__isset; +WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1118) { + pool = other1118.pool; + poolPath = other1118.poolPath; + __isset = other1118.__isset; return *this; } void WMAlterPoolRequest::printTo(std::ostream& out) const { @@ -28642,11 +29213,11 @@ void swap(WMAlterPoolResponse &a, WMAlterPoolResponse &b) { (void) b; } -WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1111) { - (void) other1111; +WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1119) { + (void) other1119; } -WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1112) { - (void) other1112; +WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1120) { + (void) other1120; return *this; } void WMAlterPoolResponse::printTo(std::ostream& out) const { @@ -28746,15 +29317,15 @@ void swap(WMDropPoolRequest &a, WMDropPoolRequest &b) { swap(a.__isset, b.__isset); } -WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1113) { - resourcePlanName = other1113.resourcePlanName; - poolPath = other1113.poolPath; - __isset = other1113.__isset; +WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1121) { + resourcePlanName = other1121.resourcePlanName; + poolPath = other1121.poolPath; + __isset = other1121.__isset; } -WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1114) { - resourcePlanName = other1114.resourcePlanName; - poolPath = other1114.poolPath; - __isset = other1114.__isset; +WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1122) { + resourcePlanName = other1122.resourcePlanName; + poolPath = other1122.poolPath; + __isset = other1122.__isset; return *this; } void WMDropPoolRequest::printTo(std::ostream& out) const { @@ -28814,11 +29385,11 @@ void swap(WMDropPoolResponse &a, WMDropPoolResponse &b) { (void) b; } -WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1115) { - (void) other1115; +WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1123) { + (void) other1123; } -WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1116) { - (void) other1116; +WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1124) { + (void) other1124; return *this; } void WMDropPoolResponse::printTo(std::ostream& out) const { @@ -28918,15 +29489,15 @@ void swap(WMCreateOrUpdateMappingRequest &a, WMCreateOrUpdateMappingRequest &b) swap(a.__isset, b.__isset); } -WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1117) { - mapping = other1117.mapping; - update = other1117.update; - __isset = other1117.__isset; +WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1125) { + mapping = other1125.mapping; + update = other1125.update; + __isset = other1125.__isset; } -WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1118) { - mapping = other1118.mapping; - update = other1118.update; - __isset = other1118.__isset; +WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1126) { + mapping = other1126.mapping; + update = other1126.update; + __isset = other1126.__isset; return *this; } void WMCreateOrUpdateMappingRequest::printTo(std::ostream& out) const { @@ -28986,11 +29557,11 @@ void swap(WMCreateOrUpdateMappingResponse &a, WMCreateOrUpdateMappingResponse &b (void) b; } -WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1119) { - (void) other1119; +WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1127) { + (void) other1127; } -WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1120) { - (void) other1120; +WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1128) { + (void) other1128; return *this; } void WMCreateOrUpdateMappingResponse::printTo(std::ostream& out) const { @@ -29071,13 +29642,13 @@ void swap(WMDropMappingRequest &a, WMDropMappingRequest &b) { swap(a.__isset, b.__isset); } -WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1121) { - mapping = other1121.mapping; - __isset = other1121.__isset; +WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1129) { + mapping = other1129.mapping; + __isset = other1129.__isset; } -WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1122) { - mapping = other1122.mapping; - __isset = other1122.__isset; +WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1130) { + mapping = other1130.mapping; + __isset = other1130.__isset; return *this; } void WMDropMappingRequest::printTo(std::ostream& out) const { @@ -29136,11 +29707,11 @@ void swap(WMDropMappingResponse &a, WMDropMappingResponse &b) { (void) b; } -WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1123) { - (void) other1123; +WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1131) { + (void) other1131; } -WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1124) { - (void) other1124; +WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1132) { + (void) other1132; return *this; } void WMDropMappingResponse::printTo(std::ostream& out) const { @@ -29278,19 +29849,19 @@ void swap(WMCreateOrDropTriggerToPoolMappingRequest &a, WMCreateOrDropTriggerToP swap(a.__isset, b.__isset); } -WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1125) { - resourcePlanName = other1125.resourcePlanName; - triggerName = other1125.triggerName; - poolPath = other1125.poolPath; - drop = other1125.drop; - __isset = other1125.__isset; +WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1133) { + resourcePlanName = other1133.resourcePlanName; + triggerName = other1133.triggerName; + poolPath = other1133.poolPath; + drop = other1133.drop; + __isset = other1133.__isset; } -WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1126) { - resourcePlanName = other1126.resourcePlanName; - triggerName = other1126.triggerName; - poolPath = other1126.poolPath; - drop = other1126.drop; - __isset = other1126.__isset; +WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1134) { + resourcePlanName = other1134.resourcePlanName; + triggerName = other1134.triggerName; + poolPath = other1134.poolPath; + drop = other1134.drop; + __isset = other1134.__isset; return *this; } void WMCreateOrDropTriggerToPoolMappingRequest::printTo(std::ostream& out) const { @@ -29352,11 +29923,11 @@ void swap(WMCreateOrDropTriggerToPoolMappingResponse &a, WMCreateOrDropTriggerTo (void) b; } -WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1127) { - (void) other1127; +WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1135) { + (void) other1135; } -WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1128) { - (void) other1128; +WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1136) { + (void) other1136; return *this; } void WMCreateOrDropTriggerToPoolMappingResponse::printTo(std::ostream& out) const { @@ -29431,9 +30002,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1129; - xfer += iprot->readI32(ecast1129); - this->schemaType = (SchemaType::type)ecast1129; + int32_t ecast1137; + xfer += iprot->readI32(ecast1137); + this->schemaType = (SchemaType::type)ecast1137; this->__isset.schemaType = true; } else { xfer += iprot->skip(ftype); @@ -29465,9 +30036,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1130; - xfer += iprot->readI32(ecast1130); - this->compatibility = (SchemaCompatibility::type)ecast1130; + int32_t ecast1138; + xfer += iprot->readI32(ecast1138); + this->compatibility = (SchemaCompatibility::type)ecast1138; this->__isset.compatibility = true; } else { xfer += iprot->skip(ftype); @@ -29475,9 +30046,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1131; - xfer += iprot->readI32(ecast1131); - this->validationLevel = (SchemaValidation::type)ecast1131; + int32_t ecast1139; + xfer += iprot->readI32(ecast1139); + this->validationLevel = (SchemaValidation::type)ecast1139; this->__isset.validationLevel = true; } else { xfer += iprot->skip(ftype); @@ -29581,29 +30152,29 @@ void swap(ISchema &a, ISchema &b) { swap(a.__isset, b.__isset); } -ISchema::ISchema(const ISchema& other1132) { - schemaType = other1132.schemaType; - name = other1132.name; - catName = other1132.catName; - dbName = other1132.dbName; - compatibility = other1132.compatibility; - validationLevel = other1132.validationLevel; - canEvolve = other1132.canEvolve; - schemaGroup = other1132.schemaGroup; - description = other1132.description; - __isset = other1132.__isset; -} -ISchema& ISchema::operator=(const ISchema& other1133) { - schemaType = other1133.schemaType; - name = other1133.name; - catName = other1133.catName; - dbName = other1133.dbName; - compatibility = other1133.compatibility; - validationLevel = other1133.validationLevel; - canEvolve = other1133.canEvolve; - schemaGroup = other1133.schemaGroup; - description = other1133.description; - __isset = other1133.__isset; +ISchema::ISchema(const ISchema& other1140) { + schemaType = other1140.schemaType; + name = other1140.name; + catName = other1140.catName; + dbName = other1140.dbName; + compatibility = other1140.compatibility; + validationLevel = other1140.validationLevel; + canEvolve = other1140.canEvolve; + schemaGroup = other1140.schemaGroup; + description = other1140.description; + __isset = other1140.__isset; +} +ISchema& ISchema::operator=(const ISchema& other1141) { + schemaType = other1141.schemaType; + name = other1141.name; + catName = other1141.catName; + dbName = other1141.dbName; + compatibility = other1141.compatibility; + validationLevel = other1141.validationLevel; + canEvolve = other1141.canEvolve; + schemaGroup = other1141.schemaGroup; + description = other1141.description; + __isset = other1141.__isset; return *this; } void ISchema::printTo(std::ostream& out) const { @@ -29725,17 +30296,17 @@ void swap(ISchemaName &a, ISchemaName &b) { swap(a.__isset, b.__isset); } -ISchemaName::ISchemaName(const ISchemaName& other1134) { - catName = other1134.catName; - dbName = other1134.dbName; - schemaName = other1134.schemaName; - __isset = other1134.__isset; +ISchemaName::ISchemaName(const ISchemaName& other1142) { + catName = other1142.catName; + dbName = other1142.dbName; + schemaName = other1142.schemaName; + __isset = other1142.__isset; } -ISchemaName& ISchemaName::operator=(const ISchemaName& other1135) { - catName = other1135.catName; - dbName = other1135.dbName; - schemaName = other1135.schemaName; - __isset = other1135.__isset; +ISchemaName& ISchemaName::operator=(const ISchemaName& other1143) { + catName = other1143.catName; + dbName = other1143.dbName; + schemaName = other1143.schemaName; + __isset = other1143.__isset; return *this; } void ISchemaName::printTo(std::ostream& out) const { @@ -29834,15 +30405,15 @@ void swap(AlterISchemaRequest &a, AlterISchemaRequest &b) { swap(a.__isset, b.__isset); } -AlterISchemaRequest::AlterISchemaRequest(const AlterISchemaRequest& other1136) { - name = other1136.name; - newSchema = other1136.newSchema; - __isset = other1136.__isset; +AlterISchemaRequest::AlterISchemaRequest(const AlterISchemaRequest& other1144) { + name = other1144.name; + newSchema = other1144.newSchema; + __isset = other1144.__isset; } -AlterISchemaRequest& AlterISchemaRequest::operator=(const AlterISchemaRequest& other1137) { - name = other1137.name; - newSchema = other1137.newSchema; - __isset = other1137.__isset; +AlterISchemaRequest& AlterISchemaRequest::operator=(const AlterISchemaRequest& other1145) { + name = other1145.name; + newSchema = other1145.newSchema; + __isset = other1145.__isset; return *this; } void AlterISchemaRequest::printTo(std::ostream& out) const { @@ -29953,14 +30524,14 @@ uint32_t SchemaVersion::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->cols.clear(); - uint32_t _size1138; - ::apache::thrift::protocol::TType _etype1141; - xfer += iprot->readListBegin(_etype1141, _size1138); - this->cols.resize(_size1138); - uint32_t _i1142; - for (_i1142 = 0; _i1142 < _size1138; ++_i1142) + uint32_t _size1146; + ::apache::thrift::protocol::TType _etype1149; + xfer += iprot->readListBegin(_etype1149, _size1146); + this->cols.resize(_size1146); + uint32_t _i1150; + for (_i1150 = 0; _i1150 < _size1146; ++_i1150) { - xfer += this->cols[_i1142].read(iprot); + xfer += this->cols[_i1150].read(iprot); } xfer += iprot->readListEnd(); } @@ -29971,9 +30542,9 @@ uint32_t SchemaVersion::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1143; - xfer += iprot->readI32(ecast1143); - this->state = (SchemaVersionState::type)ecast1143; + int32_t ecast1151; + xfer += iprot->readI32(ecast1151); + this->state = (SchemaVersionState::type)ecast1151; this->__isset.state = true; } else { xfer += iprot->skip(ftype); @@ -30051,10 +30622,10 @@ uint32_t SchemaVersion::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldBegin("cols", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->cols.size())); - std::vector ::const_iterator _iter1144; - for (_iter1144 = this->cols.begin(); _iter1144 != this->cols.end(); ++_iter1144) + std::vector ::const_iterator _iter1152; + for (_iter1152 = this->cols.begin(); _iter1152 != this->cols.end(); ++_iter1152) { - xfer += (*_iter1144).write(oprot); + xfer += (*_iter1152).write(oprot); } xfer += oprot->writeListEnd(); } @@ -30110,31 +30681,31 @@ void swap(SchemaVersion &a, SchemaVersion &b) { swap(a.__isset, b.__isset); } -SchemaVersion::SchemaVersion(const SchemaVersion& other1145) { - schema = other1145.schema; - version = other1145.version; - createdAt = other1145.createdAt; - cols = other1145.cols; - state = other1145.state; - description = other1145.description; - schemaText = other1145.schemaText; - fingerprint = other1145.fingerprint; - name = other1145.name; - serDe = other1145.serDe; - __isset = other1145.__isset; -} -SchemaVersion& SchemaVersion::operator=(const SchemaVersion& other1146) { - schema = other1146.schema; - version = other1146.version; - createdAt = other1146.createdAt; - cols = other1146.cols; - state = other1146.state; - description = other1146.description; - schemaText = other1146.schemaText; - fingerprint = other1146.fingerprint; - name = other1146.name; - serDe = other1146.serDe; - __isset = other1146.__isset; +SchemaVersion::SchemaVersion(const SchemaVersion& other1153) { + schema = other1153.schema; + version = other1153.version; + createdAt = other1153.createdAt; + cols = other1153.cols; + state = other1153.state; + description = other1153.description; + schemaText = other1153.schemaText; + fingerprint = other1153.fingerprint; + name = other1153.name; + serDe = other1153.serDe; + __isset = other1153.__isset; +} +SchemaVersion& SchemaVersion::operator=(const SchemaVersion& other1154) { + schema = other1154.schema; + version = other1154.version; + createdAt = other1154.createdAt; + cols = other1154.cols; + state = other1154.state; + description = other1154.description; + schemaText = other1154.schemaText; + fingerprint = other1154.fingerprint; + name = other1154.name; + serDe = other1154.serDe; + __isset = other1154.__isset; return *this; } void SchemaVersion::printTo(std::ostream& out) const { @@ -30240,15 +30811,15 @@ void swap(SchemaVersionDescriptor &a, SchemaVersionDescriptor &b) { swap(a.__isset, b.__isset); } -SchemaVersionDescriptor::SchemaVersionDescriptor(const SchemaVersionDescriptor& other1147) { - schema = other1147.schema; - version = other1147.version; - __isset = other1147.__isset; +SchemaVersionDescriptor::SchemaVersionDescriptor(const SchemaVersionDescriptor& other1155) { + schema = other1155.schema; + version = other1155.version; + __isset = other1155.__isset; } -SchemaVersionDescriptor& SchemaVersionDescriptor::operator=(const SchemaVersionDescriptor& other1148) { - schema = other1148.schema; - version = other1148.version; - __isset = other1148.__isset; +SchemaVersionDescriptor& SchemaVersionDescriptor::operator=(const SchemaVersionDescriptor& other1156) { + schema = other1156.schema; + version = other1156.version; + __isset = other1156.__isset; return *this; } void SchemaVersionDescriptor::printTo(std::ostream& out) const { @@ -30369,17 +30940,17 @@ void swap(FindSchemasByColsRqst &a, FindSchemasByColsRqst &b) { swap(a.__isset, b.__isset); } -FindSchemasByColsRqst::FindSchemasByColsRqst(const FindSchemasByColsRqst& other1149) { - colName = other1149.colName; - colNamespace = other1149.colNamespace; - type = other1149.type; - __isset = other1149.__isset; +FindSchemasByColsRqst::FindSchemasByColsRqst(const FindSchemasByColsRqst& other1157) { + colName = other1157.colName; + colNamespace = other1157.colNamespace; + type = other1157.type; + __isset = other1157.__isset; } -FindSchemasByColsRqst& FindSchemasByColsRqst::operator=(const FindSchemasByColsRqst& other1150) { - colName = other1150.colName; - colNamespace = other1150.colNamespace; - type = other1150.type; - __isset = other1150.__isset; +FindSchemasByColsRqst& FindSchemasByColsRqst::operator=(const FindSchemasByColsRqst& other1158) { + colName = other1158.colName; + colNamespace = other1158.colNamespace; + type = other1158.type; + __isset = other1158.__isset; return *this; } void FindSchemasByColsRqst::printTo(std::ostream& out) const { @@ -30425,14 +30996,14 @@ uint32_t FindSchemasByColsResp::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->schemaVersions.clear(); - uint32_t _size1151; - ::apache::thrift::protocol::TType _etype1154; - xfer += iprot->readListBegin(_etype1154, _size1151); - this->schemaVersions.resize(_size1151); - uint32_t _i1155; - for (_i1155 = 0; _i1155 < _size1151; ++_i1155) + uint32_t _size1159; + ::apache::thrift::protocol::TType _etype1162; + xfer += iprot->readListBegin(_etype1162, _size1159); + this->schemaVersions.resize(_size1159); + uint32_t _i1163; + for (_i1163 = 0; _i1163 < _size1159; ++_i1163) { - xfer += this->schemaVersions[_i1155].read(iprot); + xfer += this->schemaVersions[_i1163].read(iprot); } xfer += iprot->readListEnd(); } @@ -30461,10 +31032,10 @@ uint32_t FindSchemasByColsResp::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldBegin("schemaVersions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->schemaVersions.size())); - std::vector ::const_iterator _iter1156; - for (_iter1156 = this->schemaVersions.begin(); _iter1156 != this->schemaVersions.end(); ++_iter1156) + std::vector ::const_iterator _iter1164; + for (_iter1164 = this->schemaVersions.begin(); _iter1164 != this->schemaVersions.end(); ++_iter1164) { - xfer += (*_iter1156).write(oprot); + xfer += (*_iter1164).write(oprot); } xfer += oprot->writeListEnd(); } @@ -30481,13 +31052,13 @@ void swap(FindSchemasByColsResp &a, FindSchemasByColsResp &b) { swap(a.__isset, b.__isset); } -FindSchemasByColsResp::FindSchemasByColsResp(const FindSchemasByColsResp& other1157) { - schemaVersions = other1157.schemaVersions; - __isset = other1157.__isset; +FindSchemasByColsResp::FindSchemasByColsResp(const FindSchemasByColsResp& other1165) { + schemaVersions = other1165.schemaVersions; + __isset = other1165.__isset; } -FindSchemasByColsResp& FindSchemasByColsResp::operator=(const FindSchemasByColsResp& other1158) { - schemaVersions = other1158.schemaVersions; - __isset = other1158.__isset; +FindSchemasByColsResp& FindSchemasByColsResp::operator=(const FindSchemasByColsResp& other1166) { + schemaVersions = other1166.schemaVersions; + __isset = other1166.__isset; return *this; } void FindSchemasByColsResp::printTo(std::ostream& out) const { @@ -30584,15 +31155,15 @@ void swap(MapSchemaVersionToSerdeRequest &a, MapSchemaVersionToSerdeRequest &b) swap(a.__isset, b.__isset); } -MapSchemaVersionToSerdeRequest::MapSchemaVersionToSerdeRequest(const MapSchemaVersionToSerdeRequest& other1159) { - schemaVersion = other1159.schemaVersion; - serdeName = other1159.serdeName; - __isset = other1159.__isset; +MapSchemaVersionToSerdeRequest::MapSchemaVersionToSerdeRequest(const MapSchemaVersionToSerdeRequest& other1167) { + schemaVersion = other1167.schemaVersion; + serdeName = other1167.serdeName; + __isset = other1167.__isset; } -MapSchemaVersionToSerdeRequest& MapSchemaVersionToSerdeRequest::operator=(const MapSchemaVersionToSerdeRequest& other1160) { - schemaVersion = other1160.schemaVersion; - serdeName = other1160.serdeName; - __isset = other1160.__isset; +MapSchemaVersionToSerdeRequest& MapSchemaVersionToSerdeRequest::operator=(const MapSchemaVersionToSerdeRequest& other1168) { + schemaVersion = other1168.schemaVersion; + serdeName = other1168.serdeName; + __isset = other1168.__isset; return *this; } void MapSchemaVersionToSerdeRequest::printTo(std::ostream& out) const { @@ -30647,9 +31218,9 @@ uint32_t SetSchemaVersionStateRequest::read(::apache::thrift::protocol::TProtoco break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1161; - xfer += iprot->readI32(ecast1161); - this->state = (SchemaVersionState::type)ecast1161; + int32_t ecast1169; + xfer += iprot->readI32(ecast1169); + this->state = (SchemaVersionState::type)ecast1169; this->__isset.state = true; } else { xfer += iprot->skip(ftype); @@ -30692,15 +31263,15 @@ void swap(SetSchemaVersionStateRequest &a, SetSchemaVersionStateRequest &b) { swap(a.__isset, b.__isset); } -SetSchemaVersionStateRequest::SetSchemaVersionStateRequest(const SetSchemaVersionStateRequest& other1162) { - schemaVersion = other1162.schemaVersion; - state = other1162.state; - __isset = other1162.__isset; +SetSchemaVersionStateRequest::SetSchemaVersionStateRequest(const SetSchemaVersionStateRequest& other1170) { + schemaVersion = other1170.schemaVersion; + state = other1170.state; + __isset = other1170.__isset; } -SetSchemaVersionStateRequest& SetSchemaVersionStateRequest::operator=(const SetSchemaVersionStateRequest& other1163) { - schemaVersion = other1163.schemaVersion; - state = other1163.state; - __isset = other1163.__isset; +SetSchemaVersionStateRequest& SetSchemaVersionStateRequest::operator=(const SetSchemaVersionStateRequest& other1171) { + schemaVersion = other1171.schemaVersion; + state = other1171.state; + __isset = other1171.__isset; return *this; } void SetSchemaVersionStateRequest::printTo(std::ostream& out) const { @@ -30781,13 +31352,13 @@ void swap(GetSerdeRequest &a, GetSerdeRequest &b) { swap(a.__isset, b.__isset); } -GetSerdeRequest::GetSerdeRequest(const GetSerdeRequest& other1164) { - serdeName = other1164.serdeName; - __isset = other1164.__isset; +GetSerdeRequest::GetSerdeRequest(const GetSerdeRequest& other1172) { + serdeName = other1172.serdeName; + __isset = other1172.__isset; } -GetSerdeRequest& GetSerdeRequest::operator=(const GetSerdeRequest& other1165) { - serdeName = other1165.serdeName; - __isset = other1165.__isset; +GetSerdeRequest& GetSerdeRequest::operator=(const GetSerdeRequest& other1173) { + serdeName = other1173.serdeName; + __isset = other1173.__isset; return *this; } void GetSerdeRequest::printTo(std::ostream& out) const { @@ -30909,17 +31480,17 @@ void swap(RuntimeStat &a, RuntimeStat &b) { swap(a.__isset, b.__isset); } -RuntimeStat::RuntimeStat(const RuntimeStat& other1166) { - createTime = other1166.createTime; - weight = other1166.weight; - payload = other1166.payload; - __isset = other1166.__isset; +RuntimeStat::RuntimeStat(const RuntimeStat& other1174) { + createTime = other1174.createTime; + weight = other1174.weight; + payload = other1174.payload; + __isset = other1174.__isset; } -RuntimeStat& RuntimeStat::operator=(const RuntimeStat& other1167) { - createTime = other1167.createTime; - weight = other1167.weight; - payload = other1167.payload; - __isset = other1167.__isset; +RuntimeStat& RuntimeStat::operator=(const RuntimeStat& other1175) { + createTime = other1175.createTime; + weight = other1175.weight; + payload = other1175.payload; + __isset = other1175.__isset; return *this; } void RuntimeStat::printTo(std::ostream& out) const { @@ -31023,13 +31594,13 @@ void swap(GetRuntimeStatsRequest &a, GetRuntimeStatsRequest &b) { swap(a.maxCreateTime, b.maxCreateTime); } -GetRuntimeStatsRequest::GetRuntimeStatsRequest(const GetRuntimeStatsRequest& other1168) { - maxWeight = other1168.maxWeight; - maxCreateTime = other1168.maxCreateTime; +GetRuntimeStatsRequest::GetRuntimeStatsRequest(const GetRuntimeStatsRequest& other1176) { + maxWeight = other1176.maxWeight; + maxCreateTime = other1176.maxCreateTime; } -GetRuntimeStatsRequest& GetRuntimeStatsRequest::operator=(const GetRuntimeStatsRequest& other1169) { - maxWeight = other1169.maxWeight; - maxCreateTime = other1169.maxCreateTime; +GetRuntimeStatsRequest& GetRuntimeStatsRequest::operator=(const GetRuntimeStatsRequest& other1177) { + maxWeight = other1177.maxWeight; + maxCreateTime = other1177.maxCreateTime; return *this; } void GetRuntimeStatsRequest::printTo(std::ostream& out) const { @@ -31110,13 +31681,13 @@ void swap(MetaException &a, MetaException &b) { swap(a.__isset, b.__isset); } -MetaException::MetaException(const MetaException& other1170) : TException() { - message = other1170.message; - __isset = other1170.__isset; +MetaException::MetaException(const MetaException& other1178) : TException() { + message = other1178.message; + __isset = other1178.__isset; } -MetaException& MetaException::operator=(const MetaException& other1171) { - message = other1171.message; - __isset = other1171.__isset; +MetaException& MetaException::operator=(const MetaException& other1179) { + message = other1179.message; + __isset = other1179.__isset; return *this; } void MetaException::printTo(std::ostream& out) const { @@ -31207,13 +31778,13 @@ void swap(UnknownTableException &a, UnknownTableException &b) { swap(a.__isset, b.__isset); } -UnknownTableException::UnknownTableException(const UnknownTableException& other1172) : TException() { - message = other1172.message; - __isset = other1172.__isset; +UnknownTableException::UnknownTableException(const UnknownTableException& other1180) : TException() { + message = other1180.message; + __isset = other1180.__isset; } -UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1173) { - message = other1173.message; - __isset = other1173.__isset; +UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1181) { + message = other1181.message; + __isset = other1181.__isset; return *this; } void UnknownTableException::printTo(std::ostream& out) const { @@ -31304,13 +31875,13 @@ void swap(UnknownDBException &a, UnknownDBException &b) { swap(a.__isset, b.__isset); } -UnknownDBException::UnknownDBException(const UnknownDBException& other1174) : TException() { - message = other1174.message; - __isset = other1174.__isset; +UnknownDBException::UnknownDBException(const UnknownDBException& other1182) : TException() { + message = other1182.message; + __isset = other1182.__isset; } -UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1175) { - message = other1175.message; - __isset = other1175.__isset; +UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1183) { + message = other1183.message; + __isset = other1183.__isset; return *this; } void UnknownDBException::printTo(std::ostream& out) const { @@ -31401,13 +31972,13 @@ void swap(AlreadyExistsException &a, AlreadyExistsException &b) { swap(a.__isset, b.__isset); } -AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1176) : TException() { - message = other1176.message; - __isset = other1176.__isset; +AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1184) : TException() { + message = other1184.message; + __isset = other1184.__isset; } -AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1177) { - message = other1177.message; - __isset = other1177.__isset; +AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1185) { + message = other1185.message; + __isset = other1185.__isset; return *this; } void AlreadyExistsException::printTo(std::ostream& out) const { @@ -31498,13 +32069,13 @@ void swap(InvalidPartitionException &a, InvalidPartitionException &b) { swap(a.__isset, b.__isset); } -InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1178) : TException() { - message = other1178.message; - __isset = other1178.__isset; +InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1186) : TException() { + message = other1186.message; + __isset = other1186.__isset; } -InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1179) { - message = other1179.message; - __isset = other1179.__isset; +InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1187) { + message = other1187.message; + __isset = other1187.__isset; return *this; } void InvalidPartitionException::printTo(std::ostream& out) const { @@ -31595,13 +32166,13 @@ void swap(UnknownPartitionException &a, UnknownPartitionException &b) { swap(a.__isset, b.__isset); } -UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1180) : TException() { - message = other1180.message; - __isset = other1180.__isset; +UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1188) : TException() { + message = other1188.message; + __isset = other1188.__isset; } -UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1181) { - message = other1181.message; - __isset = other1181.__isset; +UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1189) { + message = other1189.message; + __isset = other1189.__isset; return *this; } void UnknownPartitionException::printTo(std::ostream& out) const { @@ -31692,13 +32263,13 @@ void swap(InvalidObjectException &a, InvalidObjectException &b) { swap(a.__isset, b.__isset); } -InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1182) : TException() { - message = other1182.message; - __isset = other1182.__isset; +InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1190) : TException() { + message = other1190.message; + __isset = other1190.__isset; } -InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1183) { - message = other1183.message; - __isset = other1183.__isset; +InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1191) { + message = other1191.message; + __isset = other1191.__isset; return *this; } void InvalidObjectException::printTo(std::ostream& out) const { @@ -31789,13 +32360,13 @@ void swap(NoSuchObjectException &a, NoSuchObjectException &b) { swap(a.__isset, b.__isset); } -NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1184) : TException() { - message = other1184.message; - __isset = other1184.__isset; +NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1192) : TException() { + message = other1192.message; + __isset = other1192.__isset; } -NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1185) { - message = other1185.message; - __isset = other1185.__isset; +NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1193) { + message = other1193.message; + __isset = other1193.__isset; return *this; } void NoSuchObjectException::printTo(std::ostream& out) const { @@ -31886,13 +32457,13 @@ void swap(InvalidOperationException &a, InvalidOperationException &b) { swap(a.__isset, b.__isset); } -InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1186) : TException() { - message = other1186.message; - __isset = other1186.__isset; +InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1194) : TException() { + message = other1194.message; + __isset = other1194.__isset; } -InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1187) { - message = other1187.message; - __isset = other1187.__isset; +InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1195) { + message = other1195.message; + __isset = other1195.__isset; return *this; } void InvalidOperationException::printTo(std::ostream& out) const { @@ -31983,13 +32554,13 @@ void swap(ConfigValSecurityException &a, ConfigValSecurityException &b) { swap(a.__isset, b.__isset); } -ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1188) : TException() { - message = other1188.message; - __isset = other1188.__isset; +ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1196) : TException() { + message = other1196.message; + __isset = other1196.__isset; } -ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1189) { - message = other1189.message; - __isset = other1189.__isset; +ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1197) { + message = other1197.message; + __isset = other1197.__isset; return *this; } void ConfigValSecurityException::printTo(std::ostream& out) const { @@ -32080,13 +32651,13 @@ void swap(InvalidInputException &a, InvalidInputException &b) { swap(a.__isset, b.__isset); } -InvalidInputException::InvalidInputException(const InvalidInputException& other1190) : TException() { - message = other1190.message; - __isset = other1190.__isset; +InvalidInputException::InvalidInputException(const InvalidInputException& other1198) : TException() { + message = other1198.message; + __isset = other1198.__isset; } -InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1191) { - message = other1191.message; - __isset = other1191.__isset; +InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1199) { + message = other1199.message; + __isset = other1199.__isset; return *this; } void InvalidInputException::printTo(std::ostream& out) const { @@ -32177,13 +32748,13 @@ void swap(NoSuchTxnException &a, NoSuchTxnException &b) { swap(a.__isset, b.__isset); } -NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1192) : TException() { - message = other1192.message; - __isset = other1192.__isset; +NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1200) : TException() { + message = other1200.message; + __isset = other1200.__isset; } -NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1193) { - message = other1193.message; - __isset = other1193.__isset; +NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1201) { + message = other1201.message; + __isset = other1201.__isset; return *this; } void NoSuchTxnException::printTo(std::ostream& out) const { @@ -32274,13 +32845,13 @@ void swap(TxnAbortedException &a, TxnAbortedException &b) { swap(a.__isset, b.__isset); } -TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1194) : TException() { - message = other1194.message; - __isset = other1194.__isset; +TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1202) : TException() { + message = other1202.message; + __isset = other1202.__isset; } -TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1195) { - message = other1195.message; - __isset = other1195.__isset; +TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1203) { + message = other1203.message; + __isset = other1203.__isset; return *this; } void TxnAbortedException::printTo(std::ostream& out) const { @@ -32371,13 +32942,13 @@ void swap(TxnOpenException &a, TxnOpenException &b) { swap(a.__isset, b.__isset); } -TxnOpenException::TxnOpenException(const TxnOpenException& other1196) : TException() { - message = other1196.message; - __isset = other1196.__isset; +TxnOpenException::TxnOpenException(const TxnOpenException& other1204) : TException() { + message = other1204.message; + __isset = other1204.__isset; } -TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1197) { - message = other1197.message; - __isset = other1197.__isset; +TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1205) { + message = other1205.message; + __isset = other1205.__isset; return *this; } void TxnOpenException::printTo(std::ostream& out) const { @@ -32468,13 +33039,13 @@ void swap(NoSuchLockException &a, NoSuchLockException &b) { swap(a.__isset, b.__isset); } -NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1198) : TException() { - message = other1198.message; - __isset = other1198.__isset; +NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1206) : TException() { + message = other1206.message; + __isset = other1206.__isset; } -NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1199) { - message = other1199.message; - __isset = other1199.__isset; +NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1207) { + message = other1207.message; + __isset = other1207.__isset; return *this; } void NoSuchLockException::printTo(std::ostream& out) const { diff --git standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h index 7b42182d60..46c1127cf9 100644 --- standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h +++ standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h @@ -185,6 +185,16 @@ struct SchemaVersionState { extern const std::map _SchemaVersionState_VALUES_TO_NAMES; +struct IsolationLevelCompliance { + enum type { + YES = 1, + NO = 2, + UNKNOWN = 3 + }; +}; + +extern const std::map _IsolationLevelCompliance_VALUES_TO_NAMES; + struct FunctionType { enum type { JAVA = 1 @@ -3041,7 +3051,7 @@ inline std::ostream& operator<<(std::ostream& out, const StorageDescriptor& obj) } 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) {} + _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), txnId(true), validWriteIdList(false), isStatsCompliant(false) {} bool tableName :1; bool dbName :1; bool owner :1; @@ -3060,6 +3070,9 @@ typedef struct _Table__isset { bool creationMetadata :1; bool catName :1; bool ownerType :1; + bool txnId :1; + bool validWriteIdList :1; + bool isStatsCompliant :1; } _Table__isset; class Table { @@ -3067,7 +3080,7 @@ class Table { Table(const Table&); Table& operator=(const Table&); - Table() : tableName(), dbName(), owner(), createTime(0), lastAccessTime(0), retention(0), viewOriginalText(), viewExpandedText(), tableType(), temporary(false), rewriteEnabled(0), catName(), ownerType((PrincipalType::type)1) { + Table() : tableName(), dbName(), owner(), createTime(0), lastAccessTime(0), retention(0), viewOriginalText(), viewExpandedText(), tableType(), temporary(false), rewriteEnabled(0), catName(), ownerType((PrincipalType::type)1), txnId(-1LL), validWriteIdList(), isStatsCompliant((IsolationLevelCompliance::type)0) { ownerType = (PrincipalType::type)1; } @@ -3091,6 +3104,9 @@ class Table { CreationMetadata creationMetadata; std::string catName; PrincipalType::type ownerType; + int64_t txnId; + std::string validWriteIdList; + IsolationLevelCompliance::type isStatsCompliant; _Table__isset __isset; @@ -3130,6 +3146,12 @@ class Table { void __set_ownerType(const PrincipalType::type val); + void __set_txnId(const int64_t val); + + void __set_validWriteIdList(const std::string& val); + + void __set_isStatsCompliant(const IsolationLevelCompliance::type val); + bool operator == (const Table & rhs) const { if (!(tableName == rhs.tableName)) @@ -3180,6 +3202,18 @@ class Table { return false; else if (__isset.ownerType && !(ownerType == rhs.ownerType)) return false; + if (__isset.txnId != rhs.__isset.txnId) + return false; + else if (__isset.txnId && !(txnId == rhs.txnId)) + return false; + if (__isset.validWriteIdList != rhs.__isset.validWriteIdList) + return false; + else if (__isset.validWriteIdList && !(validWriteIdList == rhs.validWriteIdList)) + return false; + if (__isset.isStatsCompliant != rhs.__isset.isStatsCompliant) + return false; + else if (__isset.isStatsCompliant && !(isStatsCompliant == rhs.isStatsCompliant)) + return false; return true; } bool operator != (const Table &rhs) const { @@ -3203,7 +3237,7 @@ inline std::ostream& operator<<(std::ostream& out, const Table& obj) } typedef struct _Partition__isset { - _Partition__isset() : values(false), dbName(false), tableName(false), createTime(false), lastAccessTime(false), sd(false), parameters(false), privileges(false), catName(false) {} + _Partition__isset() : values(false), dbName(false), tableName(false), createTime(false), lastAccessTime(false), sd(false), parameters(false), privileges(false), catName(false), txnId(true), validWriteIdList(false), isStatsCompliant(false) {} bool values :1; bool dbName :1; bool tableName :1; @@ -3213,6 +3247,9 @@ typedef struct _Partition__isset { bool parameters :1; bool privileges :1; bool catName :1; + bool txnId :1; + bool validWriteIdList :1; + bool isStatsCompliant :1; } _Partition__isset; class Partition { @@ -3220,7 +3257,7 @@ class Partition { Partition(const Partition&); Partition& operator=(const Partition&); - Partition() : dbName(), tableName(), createTime(0), lastAccessTime(0), catName() { + Partition() : dbName(), tableName(), createTime(0), lastAccessTime(0), catName(), txnId(-1LL), validWriteIdList(), isStatsCompliant((IsolationLevelCompliance::type)0) { } virtual ~Partition() throw(); @@ -3233,6 +3270,9 @@ class Partition { std::map parameters; PrincipalPrivilegeSet privileges; std::string catName; + int64_t txnId; + std::string validWriteIdList; + IsolationLevelCompliance::type isStatsCompliant; _Partition__isset __isset; @@ -3254,6 +3294,12 @@ class Partition { void __set_catName(const std::string& val); + void __set_txnId(const int64_t val); + + void __set_validWriteIdList(const std::string& val); + + void __set_isStatsCompliant(const IsolationLevelCompliance::type val); + bool operator == (const Partition & rhs) const { if (!(values == rhs.values)) @@ -3278,6 +3324,18 @@ class Partition { return false; else if (__isset.catName && !(catName == rhs.catName)) return false; + if (__isset.txnId != rhs.__isset.txnId) + return false; + else if (__isset.txnId && !(txnId == rhs.txnId)) + return false; + if (__isset.validWriteIdList != rhs.__isset.validWriteIdList) + return false; + else if (__isset.validWriteIdList && !(validWriteIdList == rhs.validWriteIdList)) + return false; + if (__isset.isStatsCompliant != rhs.__isset.isStatsCompliant) + return false; + else if (__isset.isStatsCompliant && !(isStatsCompliant == rhs.isStatsCompliant)) + return false; return true; } bool operator != (const Partition &rhs) const { @@ -3477,13 +3535,16 @@ inline std::ostream& operator<<(std::ostream& out, const PartitionListComposingS } typedef struct _PartitionSpec__isset { - _PartitionSpec__isset() : dbName(false), tableName(false), rootPath(false), sharedSDPartitionSpec(false), partitionList(false), catName(false) {} + _PartitionSpec__isset() : dbName(false), tableName(false), rootPath(false), sharedSDPartitionSpec(false), partitionList(false), catName(false), txnId(true), validWriteIdList(false), isStatsCompliant(false) {} bool dbName :1; bool tableName :1; bool rootPath :1; bool sharedSDPartitionSpec :1; bool partitionList :1; bool catName :1; + bool txnId :1; + bool validWriteIdList :1; + bool isStatsCompliant :1; } _PartitionSpec__isset; class PartitionSpec { @@ -3491,7 +3552,7 @@ class PartitionSpec { PartitionSpec(const PartitionSpec&); PartitionSpec& operator=(const PartitionSpec&); - PartitionSpec() : dbName(), tableName(), rootPath(), catName() { + PartitionSpec() : dbName(), tableName(), rootPath(), catName(), txnId(-1LL), validWriteIdList(), isStatsCompliant((IsolationLevelCompliance::type)0) { } virtual ~PartitionSpec() throw(); @@ -3501,6 +3562,9 @@ class PartitionSpec { PartitionSpecWithSharedSD sharedSDPartitionSpec; PartitionListComposingSpec partitionList; std::string catName; + int64_t txnId; + std::string validWriteIdList; + IsolationLevelCompliance::type isStatsCompliant; _PartitionSpec__isset __isset; @@ -3516,6 +3580,12 @@ class PartitionSpec { void __set_catName(const std::string& val); + void __set_txnId(const int64_t val); + + void __set_validWriteIdList(const std::string& val); + + void __set_isStatsCompliant(const IsolationLevelCompliance::type val); + bool operator == (const PartitionSpec & rhs) const { if (!(dbName == rhs.dbName)) @@ -3536,6 +3606,18 @@ class PartitionSpec { return false; else if (__isset.catName && !(catName == rhs.catName)) return false; + if (__isset.txnId != rhs.__isset.txnId) + return false; + else if (__isset.txnId && !(txnId == rhs.txnId)) + return false; + if (__isset.validWriteIdList != rhs.__isset.validWriteIdList) + return false; + else if (__isset.validWriteIdList && !(validWriteIdList == rhs.validWriteIdList)) + return false; + if (__isset.isStatsCompliant != rhs.__isset.isStatsCompliant) + return false; + else if (__isset.isStatsCompliant && !(isStatsCompliant == rhs.isStatsCompliant)) + return false; return true; } bool operator != (const PartitionSpec &rhs) const { @@ -4344,29 +4426,58 @@ inline std::ostream& operator<<(std::ostream& out, const ColumnStatisticsDesc& o return out; } +typedef struct _ColumnStatistics__isset { + _ColumnStatistics__isset() : txnId(true), validWriteIdList(false), isStatsCompliant(false) {} + bool txnId :1; + bool validWriteIdList :1; + bool isStatsCompliant :1; +} _ColumnStatistics__isset; class ColumnStatistics { public: ColumnStatistics(const ColumnStatistics&); ColumnStatistics& operator=(const ColumnStatistics&); - ColumnStatistics() { + ColumnStatistics() : txnId(-1LL), validWriteIdList(), isStatsCompliant((IsolationLevelCompliance::type)0) { } virtual ~ColumnStatistics() throw(); ColumnStatisticsDesc statsDesc; std::vector statsObj; + int64_t txnId; + std::string validWriteIdList; + IsolationLevelCompliance::type isStatsCompliant; + + _ColumnStatistics__isset __isset; void __set_statsDesc(const ColumnStatisticsDesc& val); void __set_statsObj(const std::vector & val); + void __set_txnId(const int64_t val); + + void __set_validWriteIdList(const std::string& val); + + void __set_isStatsCompliant(const IsolationLevelCompliance::type val); + bool operator == (const ColumnStatistics & rhs) const { if (!(statsDesc == rhs.statsDesc)) return false; if (!(statsObj == rhs.statsObj)) return false; + if (__isset.txnId != rhs.__isset.txnId) + return false; + else if (__isset.txnId && !(txnId == rhs.txnId)) + return false; + if (__isset.validWriteIdList != rhs.__isset.validWriteIdList) + return false; + else if (__isset.validWriteIdList && !(validWriteIdList == rhs.validWriteIdList)) + return false; + if (__isset.isStatsCompliant != rhs.__isset.isStatsCompliant) + return false; + else if (__isset.isStatsCompliant && !(isStatsCompliant == rhs.isStatsCompliant)) + return false; return true; } bool operator != (const ColumnStatistics &rhs) const { @@ -4389,29 +4500,42 @@ inline std::ostream& operator<<(std::ostream& out, const ColumnStatistics& obj) return out; } +typedef struct _AggrStats__isset { + _AggrStats__isset() : isStatsCompliant(false) {} + bool isStatsCompliant :1; +} _AggrStats__isset; class AggrStats { public: AggrStats(const AggrStats&); AggrStats& operator=(const AggrStats&); - AggrStats() : partsFound(0) { + AggrStats() : partsFound(0), isStatsCompliant((IsolationLevelCompliance::type)0) { } virtual ~AggrStats() throw(); std::vector colStats; int64_t partsFound; + IsolationLevelCompliance::type isStatsCompliant; + + _AggrStats__isset __isset; void __set_colStats(const std::vector & val); void __set_partsFound(const int64_t val); + void __set_isStatsCompliant(const IsolationLevelCompliance::type val); + bool operator == (const AggrStats & rhs) const { if (!(colStats == rhs.colStats)) return false; if (!(partsFound == rhs.partsFound)) return false; + if (__isset.isStatsCompliant != rhs.__isset.isStatsCompliant) + return false; + else if (__isset.isStatsCompliant && !(isStatsCompliant == rhs.isStatsCompliant)) + return false; return true; } bool operator != (const AggrStats &rhs) const { @@ -4435,8 +4559,10 @@ inline std::ostream& operator<<(std::ostream& out, const AggrStats& obj) } typedef struct _SetPartitionsStatsRequest__isset { - _SetPartitionsStatsRequest__isset() : needMerge(false) {} + _SetPartitionsStatsRequest__isset() : needMerge(false), txnId(true), validWriteIdList(false) {} bool needMerge :1; + bool txnId :1; + bool validWriteIdList :1; } _SetPartitionsStatsRequest__isset; class SetPartitionsStatsRequest { @@ -4444,12 +4570,14 @@ class SetPartitionsStatsRequest { SetPartitionsStatsRequest(const SetPartitionsStatsRequest&); SetPartitionsStatsRequest& operator=(const SetPartitionsStatsRequest&); - SetPartitionsStatsRequest() : needMerge(0) { + SetPartitionsStatsRequest() : needMerge(0), txnId(-1LL), validWriteIdList() { } virtual ~SetPartitionsStatsRequest() throw(); std::vector colStats; bool needMerge; + int64_t txnId; + std::string validWriteIdList; _SetPartitionsStatsRequest__isset __isset; @@ -4457,6 +4585,10 @@ class SetPartitionsStatsRequest { void __set_needMerge(const bool val); + void __set_txnId(const int64_t val); + + void __set_validWriteIdList(const std::string& val); + bool operator == (const SetPartitionsStatsRequest & rhs) const { if (!(colStats == rhs.colStats)) @@ -4465,6 +4597,14 @@ class SetPartitionsStatsRequest { return false; else if (__isset.needMerge && !(needMerge == rhs.needMerge)) return false; + if (__isset.txnId != rhs.__isset.txnId) + return false; + else if (__isset.txnId && !(txnId == rhs.txnId)) + return false; + if (__isset.validWriteIdList != rhs.__isset.validWriteIdList) + return false; + else if (__isset.validWriteIdList && !(validWriteIdList == rhs.validWriteIdList)) + return false; return true; } bool operator != (const SetPartitionsStatsRequest &rhs) const { @@ -5582,24 +5722,37 @@ inline std::ostream& operator<<(std::ostream& out, const PartitionsByExprRequest return out; } +typedef struct _TableStatsResult__isset { + _TableStatsResult__isset() : isStatsCompliant(false) {} + bool isStatsCompliant :1; +} _TableStatsResult__isset; class TableStatsResult { public: TableStatsResult(const TableStatsResult&); TableStatsResult& operator=(const TableStatsResult&); - TableStatsResult() { + TableStatsResult() : isStatsCompliant((IsolationLevelCompliance::type)0) { } virtual ~TableStatsResult() throw(); std::vector tableStats; + IsolationLevelCompliance::type isStatsCompliant; + + _TableStatsResult__isset __isset; void __set_tableStats(const std::vector & val); + void __set_isStatsCompliant(const IsolationLevelCompliance::type val); + bool operator == (const TableStatsResult & rhs) const { if (!(tableStats == rhs.tableStats)) return false; + if (__isset.isStatsCompliant != rhs.__isset.isStatsCompliant) + return false; + else if (__isset.isStatsCompliant && !(isStatsCompliant == rhs.isStatsCompliant)) + return false; return true; } bool operator != (const TableStatsResult &rhs) const { @@ -5622,24 +5775,37 @@ inline std::ostream& operator<<(std::ostream& out, const TableStatsResult& obj) return out; } +typedef struct _PartitionsStatsResult__isset { + _PartitionsStatsResult__isset() : isStatsCompliant(false) {} + bool isStatsCompliant :1; +} _PartitionsStatsResult__isset; class PartitionsStatsResult { public: PartitionsStatsResult(const PartitionsStatsResult&); PartitionsStatsResult& operator=(const PartitionsStatsResult&); - PartitionsStatsResult() { + PartitionsStatsResult() : isStatsCompliant((IsolationLevelCompliance::type)0) { } virtual ~PartitionsStatsResult() throw(); std::map > partStats; + IsolationLevelCompliance::type isStatsCompliant; + + _PartitionsStatsResult__isset __isset; void __set_partStats(const std::map > & val); + void __set_isStatsCompliant(const IsolationLevelCompliance::type val); + bool operator == (const PartitionsStatsResult & rhs) const { if (!(partStats == rhs.partStats)) return false; + if (__isset.isStatsCompliant != rhs.__isset.isStatsCompliant) + return false; + else if (__isset.isStatsCompliant && !(isStatsCompliant == rhs.isStatsCompliant)) + return false; return true; } bool operator != (const PartitionsStatsResult &rhs) const { @@ -5663,8 +5829,10 @@ inline std::ostream& operator<<(std::ostream& out, const PartitionsStatsResult& } typedef struct _TableStatsRequest__isset { - _TableStatsRequest__isset() : catName(false) {} + _TableStatsRequest__isset() : catName(false), txnId(true), validWriteIdList(false) {} bool catName :1; + bool txnId :1; + bool validWriteIdList :1; } _TableStatsRequest__isset; class TableStatsRequest { @@ -5672,7 +5840,7 @@ class TableStatsRequest { TableStatsRequest(const TableStatsRequest&); TableStatsRequest& operator=(const TableStatsRequest&); - TableStatsRequest() : dbName(), tblName(), catName() { + TableStatsRequest() : dbName(), tblName(), catName(), txnId(-1LL), validWriteIdList() { } virtual ~TableStatsRequest() throw(); @@ -5680,6 +5848,8 @@ class TableStatsRequest { std::string tblName; std::vector colNames; std::string catName; + int64_t txnId; + std::string validWriteIdList; _TableStatsRequest__isset __isset; @@ -5691,6 +5861,10 @@ class TableStatsRequest { void __set_catName(const std::string& val); + void __set_txnId(const int64_t val); + + void __set_validWriteIdList(const std::string& val); + bool operator == (const TableStatsRequest & rhs) const { if (!(dbName == rhs.dbName)) @@ -5703,6 +5877,14 @@ class TableStatsRequest { return false; else if (__isset.catName && !(catName == rhs.catName)) return false; + if (__isset.txnId != rhs.__isset.txnId) + return false; + else if (__isset.txnId && !(txnId == rhs.txnId)) + return false; + if (__isset.validWriteIdList != rhs.__isset.validWriteIdList) + return false; + else if (__isset.validWriteIdList && !(validWriteIdList == rhs.validWriteIdList)) + return false; return true; } bool operator != (const TableStatsRequest &rhs) const { @@ -5726,8 +5908,10 @@ inline std::ostream& operator<<(std::ostream& out, const TableStatsRequest& obj) } typedef struct _PartitionsStatsRequest__isset { - _PartitionsStatsRequest__isset() : catName(false) {} + _PartitionsStatsRequest__isset() : catName(false), txnId(true), validWriteIdList(false) {} bool catName :1; + bool txnId :1; + bool validWriteIdList :1; } _PartitionsStatsRequest__isset; class PartitionsStatsRequest { @@ -5735,7 +5919,7 @@ class PartitionsStatsRequest { PartitionsStatsRequest(const PartitionsStatsRequest&); PartitionsStatsRequest& operator=(const PartitionsStatsRequest&); - PartitionsStatsRequest() : dbName(), tblName(), catName() { + PartitionsStatsRequest() : dbName(), tblName(), catName(), txnId(-1LL), validWriteIdList() { } virtual ~PartitionsStatsRequest() throw(); @@ -5744,6 +5928,8 @@ class PartitionsStatsRequest { std::vector colNames; std::vector partNames; std::string catName; + int64_t txnId; + std::string validWriteIdList; _PartitionsStatsRequest__isset __isset; @@ -5757,6 +5943,10 @@ class PartitionsStatsRequest { void __set_catName(const std::string& val); + void __set_txnId(const int64_t val); + + void __set_validWriteIdList(const std::string& val); + bool operator == (const PartitionsStatsRequest & rhs) const { if (!(dbName == rhs.dbName)) @@ -5771,6 +5961,14 @@ class PartitionsStatsRequest { return false; else if (__isset.catName && !(catName == rhs.catName)) return false; + if (__isset.txnId != rhs.__isset.txnId) + return false; + else if (__isset.txnId && !(txnId == rhs.txnId)) + return false; + if (__isset.validWriteIdList != rhs.__isset.validWriteIdList) + return false; + else if (__isset.validWriteIdList && !(validWriteIdList == rhs.validWriteIdList)) + return false; return true; } bool operator != (const PartitionsStatsRequest &rhs) const { @@ -9813,9 +10011,11 @@ inline std::ostream& operator<<(std::ostream& out, const ClientCapabilities& obj } typedef struct _GetTableRequest__isset { - _GetTableRequest__isset() : capabilities(false), catName(false) {} + _GetTableRequest__isset() : capabilities(false), catName(false), txnId(true), validWriteIdList(false) {} bool capabilities :1; bool catName :1; + bool txnId :1; + bool validWriteIdList :1; } _GetTableRequest__isset; class GetTableRequest { @@ -9823,7 +10023,7 @@ class GetTableRequest { GetTableRequest(const GetTableRequest&); GetTableRequest& operator=(const GetTableRequest&); - GetTableRequest() : dbName(), tblName(), catName() { + GetTableRequest() : dbName(), tblName(), catName(), txnId(-1LL), validWriteIdList() { } virtual ~GetTableRequest() throw(); @@ -9831,6 +10031,8 @@ class GetTableRequest { std::string tblName; ClientCapabilities capabilities; std::string catName; + int64_t txnId; + std::string validWriteIdList; _GetTableRequest__isset __isset; @@ -9842,6 +10044,10 @@ class GetTableRequest { void __set_catName(const std::string& val); + void __set_txnId(const int64_t val); + + void __set_validWriteIdList(const std::string& val); + bool operator == (const GetTableRequest & rhs) const { if (!(dbName == rhs.dbName)) @@ -9856,6 +10062,14 @@ class GetTableRequest { return false; else if (__isset.catName && !(catName == rhs.catName)) return false; + if (__isset.txnId != rhs.__isset.txnId) + return false; + else if (__isset.txnId && !(txnId == rhs.txnId)) + return false; + if (__isset.validWriteIdList != rhs.__isset.validWriteIdList) + return false; + else if (__isset.validWriteIdList && !(validWriteIdList == rhs.validWriteIdList)) + return false; return true; } bool operator != (const GetTableRequest &rhs) const { @@ -9878,24 +10092,37 @@ inline std::ostream& operator<<(std::ostream& out, const GetTableRequest& obj) return out; } +typedef struct _GetTableResult__isset { + _GetTableResult__isset() : isStatsCompliant(false) {} + bool isStatsCompliant :1; +} _GetTableResult__isset; class GetTableResult { public: GetTableResult(const GetTableResult&); GetTableResult& operator=(const GetTableResult&); - GetTableResult() { + GetTableResult() : isStatsCompliant((IsolationLevelCompliance::type)0) { } virtual ~GetTableResult() throw(); Table table; + IsolationLevelCompliance::type isStatsCompliant; + + _GetTableResult__isset __isset; void __set_table(const Table& val); + void __set_isStatsCompliant(const IsolationLevelCompliance::type val); + bool operator == (const GetTableResult & rhs) const { if (!(table == rhs.table)) return false; + if (__isset.isStatsCompliant != rhs.__isset.isStatsCompliant) + return false; + else if (__isset.isStatsCompliant && !(isStatsCompliant == rhs.isStatsCompliant)) + return false; return true; } bool operator != (const GetTableResult &rhs) const { diff --git standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java index fff212dfd4..fea95c33ae 100644 --- standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java +++ standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java @@ -40,6 +40,7 @@ private static final org.apache.thrift.protocol.TField COL_STATS_FIELD_DESC = new org.apache.thrift.protocol.TField("colStats", org.apache.thrift.protocol.TType.LIST, (short)1); private static final org.apache.thrift.protocol.TField PARTS_FOUND_FIELD_DESC = new org.apache.thrift.protocol.TField("partsFound", org.apache.thrift.protocol.TType.I64, (short)2); + private static final org.apache.thrift.protocol.TField IS_STATS_COMPLIANT_FIELD_DESC = new org.apache.thrift.protocol.TField("isStatsCompliant", org.apache.thrift.protocol.TType.I32, (short)3); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -49,11 +50,17 @@ private List colStats; // required private long partsFound; // required + private IsolationLevelCompliance isStatsCompliant; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { COL_STATS((short)1, "colStats"), - PARTS_FOUND((short)2, "partsFound"); + PARTS_FOUND((short)2, "partsFound"), + /** + * + * @see IsolationLevelCompliance + */ + IS_STATS_COMPLIANT((short)3, "isStatsCompliant"); private static final Map byName = new HashMap(); @@ -72,6 +79,8 @@ public static _Fields findByThriftId(int fieldId) { return COL_STATS; case 2: // PARTS_FOUND return PARTS_FOUND; + case 3: // IS_STATS_COMPLIANT + return IS_STATS_COMPLIANT; default: return null; } @@ -114,6 +123,7 @@ public String getFieldName() { // isset id assignments private static final int __PARTSFOUND_ISSET_ID = 0; private byte __isset_bitfield = 0; + private static final _Fields optionals[] = {_Fields.IS_STATS_COMPLIANT}; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); @@ -122,6 +132,8 @@ public String getFieldName() { new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ColumnStatisticsObj.class)))); tmpMap.put(_Fields.PARTS_FOUND, new org.apache.thrift.meta_data.FieldMetaData("partsFound", org.apache.thrift.TFieldRequirementType.REQUIRED, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.IS_STATS_COMPLIANT, new org.apache.thrift.meta_data.FieldMetaData("isStatsCompliant", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, IsolationLevelCompliance.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(AggrStats.class, metaDataMap); } @@ -152,6 +164,9 @@ public AggrStats(AggrStats other) { this.colStats = __this__colStats; } this.partsFound = other.partsFound; + if (other.isSetIsStatsCompliant()) { + this.isStatsCompliant = other.isStatsCompliant; + } } public AggrStats deepCopy() { @@ -163,6 +178,7 @@ public void clear() { this.colStats = null; setPartsFoundIsSet(false); this.partsFound = 0; + this.isStatsCompliant = null; } public int getColStatsSize() { @@ -225,6 +241,37 @@ public void setPartsFoundIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __PARTSFOUND_ISSET_ID, value); } + /** + * + * @see IsolationLevelCompliance + */ + public IsolationLevelCompliance getIsStatsCompliant() { + return this.isStatsCompliant; + } + + /** + * + * @see IsolationLevelCompliance + */ + public void setIsStatsCompliant(IsolationLevelCompliance isStatsCompliant) { + this.isStatsCompliant = isStatsCompliant; + } + + public void unsetIsStatsCompliant() { + this.isStatsCompliant = null; + } + + /** Returns true if field isStatsCompliant is set (has been assigned a value) and false otherwise */ + public boolean isSetIsStatsCompliant() { + return this.isStatsCompliant != null; + } + + public void setIsStatsCompliantIsSet(boolean value) { + if (!value) { + this.isStatsCompliant = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case COL_STATS: @@ -243,6 +290,14 @@ public void setFieldValue(_Fields field, Object value) { } break; + case IS_STATS_COMPLIANT: + if (value == null) { + unsetIsStatsCompliant(); + } else { + setIsStatsCompliant((IsolationLevelCompliance)value); + } + break; + } } @@ -254,6 +309,9 @@ public Object getFieldValue(_Fields field) { case PARTS_FOUND: return getPartsFound(); + case IS_STATS_COMPLIANT: + return getIsStatsCompliant(); + } throw new IllegalStateException(); } @@ -269,6 +327,8 @@ public boolean isSet(_Fields field) { return isSetColStats(); case PARTS_FOUND: return isSetPartsFound(); + case IS_STATS_COMPLIANT: + return isSetIsStatsCompliant(); } throw new IllegalStateException(); } @@ -304,6 +364,15 @@ public boolean equals(AggrStats that) { return false; } + boolean this_present_isStatsCompliant = true && this.isSetIsStatsCompliant(); + boolean that_present_isStatsCompliant = true && that.isSetIsStatsCompliant(); + if (this_present_isStatsCompliant || that_present_isStatsCompliant) { + if (!(this_present_isStatsCompliant && that_present_isStatsCompliant)) + return false; + if (!this.isStatsCompliant.equals(that.isStatsCompliant)) + return false; + } + return true; } @@ -321,6 +390,11 @@ public int hashCode() { if (present_partsFound) list.add(partsFound); + boolean present_isStatsCompliant = true && (isSetIsStatsCompliant()); + list.add(present_isStatsCompliant); + if (present_isStatsCompliant) + list.add(isStatsCompliant.getValue()); + return list.hashCode(); } @@ -352,6 +426,16 @@ public int compareTo(AggrStats other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetIsStatsCompliant()).compareTo(other.isSetIsStatsCompliant()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetIsStatsCompliant()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isStatsCompliant, other.isStatsCompliant); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -383,6 +467,16 @@ public String toString() { sb.append("partsFound:"); sb.append(this.partsFound); first = false; + if (isSetIsStatsCompliant()) { + if (!first) sb.append(", "); + sb.append("isStatsCompliant:"); + if (this.isStatsCompliant == null) { + sb.append("null"); + } else { + sb.append(this.isStatsCompliant); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -463,6 +557,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AggrStats struct) t org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 3: // IS_STATS_COMPLIANT + if (schemeField.type == org.apache.thrift.protocol.TType.I32) { + struct.isStatsCompliant = org.apache.hadoop.hive.metastore.api.IsolationLevelCompliance.findByValue(iprot.readI32()); + struct.setIsStatsCompliantIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -491,6 +593,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AggrStats struct) oprot.writeFieldBegin(PARTS_FOUND_FIELD_DESC); oprot.writeI64(struct.partsFound); oprot.writeFieldEnd(); + if (struct.isStatsCompliant != null) { + if (struct.isSetIsStatsCompliant()) { + oprot.writeFieldBegin(IS_STATS_COMPLIANT_FIELD_DESC); + oprot.writeI32(struct.isStatsCompliant.getValue()); + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -516,6 +625,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AggrStats struct) t } } oprot.writeI64(struct.partsFound); + BitSet optionals = new BitSet(); + if (struct.isSetIsStatsCompliant()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetIsStatsCompliant()) { + oprot.writeI32(struct.isStatsCompliant.getValue()); + } } @Override @@ -535,6 +652,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AggrStats struct) th struct.setColStatsIsSet(true); struct.partsFound = iprot.readI64(); struct.setPartsFoundIsSet(true); + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.isStatsCompliant = org.apache.hadoop.hive.metastore.api.IsolationLevelCompliance.findByValue(iprot.readI32()); + struct.setIsStatsCompliantIsSet(true); + } } } diff --git standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java index 6ce7214c9d..9fd43cc32e 100644 --- standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java +++ standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java @@ -40,6 +40,9 @@ private static final org.apache.thrift.protocol.TField STATS_DESC_FIELD_DESC = new org.apache.thrift.protocol.TField("statsDesc", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField STATS_OBJ_FIELD_DESC = new org.apache.thrift.protocol.TField("statsObj", org.apache.thrift.protocol.TType.LIST, (short)2); + private static final org.apache.thrift.protocol.TField TXN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("txnId", org.apache.thrift.protocol.TType.I64, (short)3); + private static final org.apache.thrift.protocol.TField VALID_WRITE_ID_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("validWriteIdList", org.apache.thrift.protocol.TType.STRING, (short)4); + private static final org.apache.thrift.protocol.TField IS_STATS_COMPLIANT_FIELD_DESC = new org.apache.thrift.protocol.TField("isStatsCompliant", org.apache.thrift.protocol.TType.I32, (short)5); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -49,11 +52,21 @@ private ColumnStatisticsDesc statsDesc; // required private List statsObj; // required + private long txnId; // optional + private String validWriteIdList; // optional + private IsolationLevelCompliance isStatsCompliant; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { STATS_DESC((short)1, "statsDesc"), - STATS_OBJ((short)2, "statsObj"); + STATS_OBJ((short)2, "statsObj"), + TXN_ID((short)3, "txnId"), + VALID_WRITE_ID_LIST((short)4, "validWriteIdList"), + /** + * + * @see IsolationLevelCompliance + */ + IS_STATS_COMPLIANT((short)5, "isStatsCompliant"); private static final Map byName = new HashMap(); @@ -72,6 +85,12 @@ public static _Fields findByThriftId(int fieldId) { return STATS_DESC; case 2: // STATS_OBJ return STATS_OBJ; + case 3: // TXN_ID + return TXN_ID; + case 4: // VALID_WRITE_ID_LIST + return VALID_WRITE_ID_LIST; + case 5: // IS_STATS_COMPLIANT + return IS_STATS_COMPLIANT; default: return null; } @@ -112,6 +131,9 @@ public String getFieldName() { } // isset id assignments + private static final int __TXNID_ISSET_ID = 0; + private byte __isset_bitfield = 0; + private static final _Fields optionals[] = {_Fields.TXN_ID,_Fields.VALID_WRITE_ID_LIST,_Fields.IS_STATS_COMPLIANT}; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); @@ -120,11 +142,19 @@ public String getFieldName() { tmpMap.put(_Fields.STATS_OBJ, new org.apache.thrift.meta_data.FieldMetaData("statsObj", org.apache.thrift.TFieldRequirementType.REQUIRED, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ColumnStatisticsObj.class)))); + tmpMap.put(_Fields.TXN_ID, new org.apache.thrift.meta_data.FieldMetaData("txnId", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.VALID_WRITE_ID_LIST, new org.apache.thrift.meta_data.FieldMetaData("validWriteIdList", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.IS_STATS_COMPLIANT, new org.apache.thrift.meta_data.FieldMetaData("isStatsCompliant", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, IsolationLevelCompliance.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ColumnStatistics.class, metaDataMap); } public ColumnStatistics() { + this.txnId = -1L; + } public ColumnStatistics( @@ -140,6 +170,7 @@ public ColumnStatistics( * Performs a deep copy on other. */ public ColumnStatistics(ColumnStatistics other) { + __isset_bitfield = other.__isset_bitfield; if (other.isSetStatsDesc()) { this.statsDesc = new ColumnStatisticsDesc(other.statsDesc); } @@ -150,6 +181,13 @@ public ColumnStatistics(ColumnStatistics other) { } this.statsObj = __this__statsObj; } + this.txnId = other.txnId; + if (other.isSetValidWriteIdList()) { + this.validWriteIdList = other.validWriteIdList; + } + if (other.isSetIsStatsCompliant()) { + this.isStatsCompliant = other.isStatsCompliant; + } } public ColumnStatistics deepCopy() { @@ -160,6 +198,10 @@ public ColumnStatistics deepCopy() { public void clear() { this.statsDesc = null; this.statsObj = null; + this.txnId = -1L; + + this.validWriteIdList = null; + this.isStatsCompliant = null; } public ColumnStatisticsDesc getStatsDesc() { @@ -223,6 +265,82 @@ public void setStatsObjIsSet(boolean value) { } } + public long getTxnId() { + return this.txnId; + } + + public void setTxnId(long txnId) { + this.txnId = txnId; + setTxnIdIsSet(true); + } + + public void unsetTxnId() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TXNID_ISSET_ID); + } + + /** Returns true if field txnId is set (has been assigned a value) and false otherwise */ + public boolean isSetTxnId() { + return EncodingUtils.testBit(__isset_bitfield, __TXNID_ISSET_ID); + } + + public void setTxnIdIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TXNID_ISSET_ID, value); + } + + public String getValidWriteIdList() { + return this.validWriteIdList; + } + + public void setValidWriteIdList(String validWriteIdList) { + this.validWriteIdList = validWriteIdList; + } + + public void unsetValidWriteIdList() { + this.validWriteIdList = null; + } + + /** Returns true if field validWriteIdList is set (has been assigned a value) and false otherwise */ + public boolean isSetValidWriteIdList() { + return this.validWriteIdList != null; + } + + public void setValidWriteIdListIsSet(boolean value) { + if (!value) { + this.validWriteIdList = null; + } + } + + /** + * + * @see IsolationLevelCompliance + */ + public IsolationLevelCompliance getIsStatsCompliant() { + return this.isStatsCompliant; + } + + /** + * + * @see IsolationLevelCompliance + */ + public void setIsStatsCompliant(IsolationLevelCompliance isStatsCompliant) { + this.isStatsCompliant = isStatsCompliant; + } + + public void unsetIsStatsCompliant() { + this.isStatsCompliant = null; + } + + /** Returns true if field isStatsCompliant is set (has been assigned a value) and false otherwise */ + public boolean isSetIsStatsCompliant() { + return this.isStatsCompliant != null; + } + + public void setIsStatsCompliantIsSet(boolean value) { + if (!value) { + this.isStatsCompliant = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case STATS_DESC: @@ -241,6 +359,30 @@ public void setFieldValue(_Fields field, Object value) { } break; + case TXN_ID: + if (value == null) { + unsetTxnId(); + } else { + setTxnId((Long)value); + } + break; + + case VALID_WRITE_ID_LIST: + if (value == null) { + unsetValidWriteIdList(); + } else { + setValidWriteIdList((String)value); + } + break; + + case IS_STATS_COMPLIANT: + if (value == null) { + unsetIsStatsCompliant(); + } else { + setIsStatsCompliant((IsolationLevelCompliance)value); + } + break; + } } @@ -252,6 +394,15 @@ public Object getFieldValue(_Fields field) { case STATS_OBJ: return getStatsObj(); + case TXN_ID: + return getTxnId(); + + case VALID_WRITE_ID_LIST: + return getValidWriteIdList(); + + case IS_STATS_COMPLIANT: + return getIsStatsCompliant(); + } throw new IllegalStateException(); } @@ -267,6 +418,12 @@ public boolean isSet(_Fields field) { return isSetStatsDesc(); case STATS_OBJ: return isSetStatsObj(); + case TXN_ID: + return isSetTxnId(); + case VALID_WRITE_ID_LIST: + return isSetValidWriteIdList(); + case IS_STATS_COMPLIANT: + return isSetIsStatsCompliant(); } throw new IllegalStateException(); } @@ -302,6 +459,33 @@ public boolean equals(ColumnStatistics that) { return false; } + boolean this_present_txnId = true && this.isSetTxnId(); + boolean that_present_txnId = true && that.isSetTxnId(); + if (this_present_txnId || that_present_txnId) { + if (!(this_present_txnId && that_present_txnId)) + return false; + if (this.txnId != that.txnId) + return false; + } + + boolean this_present_validWriteIdList = true && this.isSetValidWriteIdList(); + boolean that_present_validWriteIdList = true && that.isSetValidWriteIdList(); + if (this_present_validWriteIdList || that_present_validWriteIdList) { + if (!(this_present_validWriteIdList && that_present_validWriteIdList)) + return false; + if (!this.validWriteIdList.equals(that.validWriteIdList)) + return false; + } + + boolean this_present_isStatsCompliant = true && this.isSetIsStatsCompliant(); + boolean that_present_isStatsCompliant = true && that.isSetIsStatsCompliant(); + if (this_present_isStatsCompliant || that_present_isStatsCompliant) { + if (!(this_present_isStatsCompliant && that_present_isStatsCompliant)) + return false; + if (!this.isStatsCompliant.equals(that.isStatsCompliant)) + return false; + } + return true; } @@ -319,6 +503,21 @@ public int hashCode() { if (present_statsObj) list.add(statsObj); + boolean present_txnId = true && (isSetTxnId()); + list.add(present_txnId); + if (present_txnId) + list.add(txnId); + + boolean present_validWriteIdList = true && (isSetValidWriteIdList()); + list.add(present_validWriteIdList); + if (present_validWriteIdList) + list.add(validWriteIdList); + + boolean present_isStatsCompliant = true && (isSetIsStatsCompliant()); + list.add(present_isStatsCompliant); + if (present_isStatsCompliant) + list.add(isStatsCompliant.getValue()); + return list.hashCode(); } @@ -350,6 +549,36 @@ public int compareTo(ColumnStatistics other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetTxnId()).compareTo(other.isSetTxnId()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTxnId()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnId, other.txnId); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetValidWriteIdList()).compareTo(other.isSetValidWriteIdList()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetValidWriteIdList()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.validWriteIdList, other.validWriteIdList); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetIsStatsCompliant()).compareTo(other.isSetIsStatsCompliant()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetIsStatsCompliant()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isStatsCompliant, other.isStatsCompliant); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -385,6 +614,32 @@ public String toString() { sb.append(this.statsObj); } first = false; + if (isSetTxnId()) { + if (!first) sb.append(", "); + sb.append("txnId:"); + sb.append(this.txnId); + first = false; + } + if (isSetValidWriteIdList()) { + if (!first) sb.append(", "); + sb.append("validWriteIdList:"); + if (this.validWriteIdList == null) { + sb.append("null"); + } else { + sb.append(this.validWriteIdList); + } + first = false; + } + if (isSetIsStatsCompliant()) { + if (!first) sb.append(", "); + sb.append("isStatsCompliant:"); + if (this.isStatsCompliant == null) { + sb.append("null"); + } else { + sb.append(this.isStatsCompliant); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -415,6 +670,8 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); @@ -467,6 +724,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ColumnStatistics st org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 3: // TXN_ID + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.txnId = iprot.readI64(); + struct.setTxnIdIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // VALID_WRITE_ID_LIST + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.validWriteIdList = iprot.readString(); + struct.setValidWriteIdListIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // IS_STATS_COMPLIANT + if (schemeField.type == org.apache.thrift.protocol.TType.I32) { + struct.isStatsCompliant = org.apache.hadoop.hive.metastore.api.IsolationLevelCompliance.findByValue(iprot.readI32()); + struct.setIsStatsCompliantIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -497,6 +778,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ColumnStatistics s } oprot.writeFieldEnd(); } + if (struct.isSetTxnId()) { + oprot.writeFieldBegin(TXN_ID_FIELD_DESC); + oprot.writeI64(struct.txnId); + oprot.writeFieldEnd(); + } + if (struct.validWriteIdList != null) { + if (struct.isSetValidWriteIdList()) { + oprot.writeFieldBegin(VALID_WRITE_ID_LIST_FIELD_DESC); + oprot.writeString(struct.validWriteIdList); + oprot.writeFieldEnd(); + } + } + if (struct.isStatsCompliant != null) { + if (struct.isSetIsStatsCompliant()) { + oprot.writeFieldBegin(IS_STATS_COMPLIANT_FIELD_DESC); + oprot.writeI32(struct.isStatsCompliant.getValue()); + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -522,6 +822,26 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ColumnStatistics st _iter272.write(oprot); } } + BitSet optionals = new BitSet(); + if (struct.isSetTxnId()) { + optionals.set(0); + } + if (struct.isSetValidWriteIdList()) { + optionals.set(1); + } + if (struct.isSetIsStatsCompliant()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); + if (struct.isSetTxnId()) { + oprot.writeI64(struct.txnId); + } + if (struct.isSetValidWriteIdList()) { + oprot.writeString(struct.validWriteIdList); + } + if (struct.isSetIsStatsCompliant()) { + oprot.writeI32(struct.isStatsCompliant.getValue()); + } } @Override @@ -542,6 +862,19 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ColumnStatistics str } } struct.setStatsObjIsSet(true); + BitSet incoming = iprot.readBitSet(3); + if (incoming.get(0)) { + struct.txnId = iprot.readI64(); + struct.setTxnIdIsSet(true); + } + if (incoming.get(1)) { + struct.validWriteIdList = iprot.readString(); + struct.setValidWriteIdListIsSet(true); + } + if (incoming.get(2)) { + struct.isStatsCompliant = org.apache.hadoop.hive.metastore.api.IsolationLevelCompliance.findByValue(iprot.readI32()); + struct.setIsStatsCompliantIsSet(true); + } } } diff --git standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTableRequest.java standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTableRequest.java index 3c88d8fc6d..821049e11f 100644 --- standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTableRequest.java +++ standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTableRequest.java @@ -42,6 +42,8 @@ private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tblName", org.apache.thrift.protocol.TType.STRING, (short)2); private static final org.apache.thrift.protocol.TField CAPABILITIES_FIELD_DESC = new org.apache.thrift.protocol.TField("capabilities", org.apache.thrift.protocol.TType.STRUCT, (short)3); private static final org.apache.thrift.protocol.TField CAT_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("catName", org.apache.thrift.protocol.TType.STRING, (short)4); + private static final org.apache.thrift.protocol.TField TXN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("txnId", org.apache.thrift.protocol.TType.I64, (short)5); + private static final org.apache.thrift.protocol.TField VALID_WRITE_ID_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("validWriteIdList", org.apache.thrift.protocol.TType.STRING, (short)6); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -53,13 +55,17 @@ private String tblName; // required private ClientCapabilities capabilities; // optional private String catName; // optional + private long txnId; // optional + private String validWriteIdList; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { DB_NAME((short)1, "dbName"), TBL_NAME((short)2, "tblName"), CAPABILITIES((short)3, "capabilities"), - CAT_NAME((short)4, "catName"); + CAT_NAME((short)4, "catName"), + TXN_ID((short)5, "txnId"), + VALID_WRITE_ID_LIST((short)6, "validWriteIdList"); private static final Map byName = new HashMap(); @@ -82,6 +88,10 @@ public static _Fields findByThriftId(int fieldId) { return CAPABILITIES; case 4: // CAT_NAME return CAT_NAME; + case 5: // TXN_ID + return TXN_ID; + case 6: // VALID_WRITE_ID_LIST + return VALID_WRITE_ID_LIST; default: return null; } @@ -122,7 +132,9 @@ public String getFieldName() { } // isset id assignments - private static final _Fields optionals[] = {_Fields.CAPABILITIES,_Fields.CAT_NAME}; + private static final int __TXNID_ISSET_ID = 0; + private byte __isset_bitfield = 0; + private static final _Fields optionals[] = {_Fields.CAPABILITIES,_Fields.CAT_NAME,_Fields.TXN_ID,_Fields.VALID_WRITE_ID_LIST}; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); @@ -134,11 +146,17 @@ public String getFieldName() { new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ClientCapabilities.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.TXN_ID, new org.apache.thrift.meta_data.FieldMetaData("txnId", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.VALID_WRITE_ID_LIST, new org.apache.thrift.meta_data.FieldMetaData("validWriteIdList", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(GetTableRequest.class, metaDataMap); } public GetTableRequest() { + this.txnId = -1L; + } public GetTableRequest( @@ -154,6 +172,7 @@ public GetTableRequest( * Performs a deep copy on other. */ public GetTableRequest(GetTableRequest other) { + __isset_bitfield = other.__isset_bitfield; if (other.isSetDbName()) { this.dbName = other.dbName; } @@ -166,6 +185,10 @@ public GetTableRequest(GetTableRequest other) { if (other.isSetCatName()) { this.catName = other.catName; } + this.txnId = other.txnId; + if (other.isSetValidWriteIdList()) { + this.validWriteIdList = other.validWriteIdList; + } } public GetTableRequest deepCopy() { @@ -178,6 +201,9 @@ public void clear() { this.tblName = null; this.capabilities = null; this.catName = null; + this.txnId = -1L; + + this.validWriteIdList = null; } public String getDbName() { @@ -272,6 +298,51 @@ public void setCatNameIsSet(boolean value) { } } + public long getTxnId() { + return this.txnId; + } + + public void setTxnId(long txnId) { + this.txnId = txnId; + setTxnIdIsSet(true); + } + + public void unsetTxnId() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TXNID_ISSET_ID); + } + + /** Returns true if field txnId is set (has been assigned a value) and false otherwise */ + public boolean isSetTxnId() { + return EncodingUtils.testBit(__isset_bitfield, __TXNID_ISSET_ID); + } + + public void setTxnIdIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TXNID_ISSET_ID, value); + } + + public String getValidWriteIdList() { + return this.validWriteIdList; + } + + public void setValidWriteIdList(String validWriteIdList) { + this.validWriteIdList = validWriteIdList; + } + + public void unsetValidWriteIdList() { + this.validWriteIdList = null; + } + + /** Returns true if field validWriteIdList is set (has been assigned a value) and false otherwise */ + public boolean isSetValidWriteIdList() { + return this.validWriteIdList != null; + } + + public void setValidWriteIdListIsSet(boolean value) { + if (!value) { + this.validWriteIdList = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case DB_NAME: @@ -306,6 +377,22 @@ public void setFieldValue(_Fields field, Object value) { } break; + case TXN_ID: + if (value == null) { + unsetTxnId(); + } else { + setTxnId((Long)value); + } + break; + + case VALID_WRITE_ID_LIST: + if (value == null) { + unsetValidWriteIdList(); + } else { + setValidWriteIdList((String)value); + } + break; + } } @@ -323,6 +410,12 @@ public Object getFieldValue(_Fields field) { case CAT_NAME: return getCatName(); + case TXN_ID: + return getTxnId(); + + case VALID_WRITE_ID_LIST: + return getValidWriteIdList(); + } throw new IllegalStateException(); } @@ -342,6 +435,10 @@ public boolean isSet(_Fields field) { return isSetCapabilities(); case CAT_NAME: return isSetCatName(); + case TXN_ID: + return isSetTxnId(); + case VALID_WRITE_ID_LIST: + return isSetValidWriteIdList(); } throw new IllegalStateException(); } @@ -395,6 +492,24 @@ public boolean equals(GetTableRequest that) { return false; } + boolean this_present_txnId = true && this.isSetTxnId(); + boolean that_present_txnId = true && that.isSetTxnId(); + if (this_present_txnId || that_present_txnId) { + if (!(this_present_txnId && that_present_txnId)) + return false; + if (this.txnId != that.txnId) + return false; + } + + boolean this_present_validWriteIdList = true && this.isSetValidWriteIdList(); + boolean that_present_validWriteIdList = true && that.isSetValidWriteIdList(); + if (this_present_validWriteIdList || that_present_validWriteIdList) { + if (!(this_present_validWriteIdList && that_present_validWriteIdList)) + return false; + if (!this.validWriteIdList.equals(that.validWriteIdList)) + return false; + } + return true; } @@ -422,6 +537,16 @@ public int hashCode() { if (present_catName) list.add(catName); + boolean present_txnId = true && (isSetTxnId()); + list.add(present_txnId); + if (present_txnId) + list.add(txnId); + + boolean present_validWriteIdList = true && (isSetValidWriteIdList()); + list.add(present_validWriteIdList); + if (present_validWriteIdList) + list.add(validWriteIdList); + return list.hashCode(); } @@ -473,6 +598,26 @@ public int compareTo(GetTableRequest other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetTxnId()).compareTo(other.isSetTxnId()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTxnId()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnId, other.txnId); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetValidWriteIdList()).compareTo(other.isSetValidWriteIdList()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetValidWriteIdList()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.validWriteIdList, other.validWriteIdList); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -528,6 +673,22 @@ public String toString() { } first = false; } + if (isSetTxnId()) { + if (!first) sb.append(", "); + sb.append("txnId:"); + sb.append(this.txnId); + first = false; + } + if (isSetValidWriteIdList()) { + if (!first) sb.append(", "); + sb.append("validWriteIdList:"); + if (this.validWriteIdList == null) { + sb.append("null"); + } else { + sb.append(this.validWriteIdList); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -558,6 +719,8 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); @@ -615,6 +778,22 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetTableRequest str org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 5: // TXN_ID + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.txnId = iprot.readI64(); + struct.setTxnIdIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // VALID_WRITE_ID_LIST + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.validWriteIdList = iprot.readString(); + struct.setValidWriteIdListIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -652,6 +831,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetTableRequest st oprot.writeFieldEnd(); } } + if (struct.isSetTxnId()) { + oprot.writeFieldBegin(TXN_ID_FIELD_DESC); + oprot.writeI64(struct.txnId); + oprot.writeFieldEnd(); + } + if (struct.validWriteIdList != null) { + if (struct.isSetValidWriteIdList()) { + oprot.writeFieldBegin(VALID_WRITE_ID_LIST_FIELD_DESC); + oprot.writeString(struct.validWriteIdList); + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -678,13 +869,25 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTableRequest str if (struct.isSetCatName()) { optionals.set(1); } - oprot.writeBitSet(optionals, 2); + if (struct.isSetTxnId()) { + optionals.set(2); + } + if (struct.isSetValidWriteIdList()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); if (struct.isSetCapabilities()) { struct.capabilities.write(oprot); } if (struct.isSetCatName()) { oprot.writeString(struct.catName); } + if (struct.isSetTxnId()) { + oprot.writeI64(struct.txnId); + } + if (struct.isSetValidWriteIdList()) { + oprot.writeString(struct.validWriteIdList); + } } @Override @@ -694,7 +897,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTableRequest stru struct.setDbNameIsSet(true); struct.tblName = iprot.readString(); struct.setTblNameIsSet(true); - BitSet incoming = iprot.readBitSet(2); + BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.capabilities = new ClientCapabilities(); struct.capabilities.read(iprot); @@ -704,6 +907,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTableRequest stru struct.catName = iprot.readString(); struct.setCatNameIsSet(true); } + if (incoming.get(2)) { + struct.txnId = iprot.readI64(); + struct.setTxnIdIsSet(true); + } + if (incoming.get(3)) { + struct.validWriteIdList = iprot.readString(); + struct.setValidWriteIdListIsSet(true); + } } } diff --git standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTableResult.java standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTableResult.java index 968e250f0b..80aff928ac 100644 --- standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTableResult.java +++ standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTableResult.java @@ -39,6 +39,7 @@ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GetTableResult"); private static final org.apache.thrift.protocol.TField TABLE_FIELD_DESC = new org.apache.thrift.protocol.TField("table", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.thrift.protocol.TField IS_STATS_COMPLIANT_FIELD_DESC = new org.apache.thrift.protocol.TField("isStatsCompliant", org.apache.thrift.protocol.TType.I32, (short)2); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -47,10 +48,16 @@ } private Table table; // required + private IsolationLevelCompliance isStatsCompliant; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - TABLE((short)1, "table"); + TABLE((short)1, "table"), + /** + * + * @see IsolationLevelCompliance + */ + IS_STATS_COMPLIANT((short)2, "isStatsCompliant"); private static final Map byName = new HashMap(); @@ -67,6 +74,8 @@ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE return TABLE; + case 2: // IS_STATS_COMPLIANT + return IS_STATS_COMPLIANT; default: return null; } @@ -107,11 +116,14 @@ public String getFieldName() { } // isset id assignments + private static final _Fields optionals[] = {_Fields.IS_STATS_COMPLIANT}; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.TABLE, new org.apache.thrift.meta_data.FieldMetaData("table", org.apache.thrift.TFieldRequirementType.REQUIRED, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Table.class))); + tmpMap.put(_Fields.IS_STATS_COMPLIANT, new org.apache.thrift.meta_data.FieldMetaData("isStatsCompliant", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, IsolationLevelCompliance.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(GetTableResult.class, metaDataMap); } @@ -133,6 +145,9 @@ public GetTableResult(GetTableResult other) { if (other.isSetTable()) { this.table = new Table(other.table); } + if (other.isSetIsStatsCompliant()) { + this.isStatsCompliant = other.isStatsCompliant; + } } public GetTableResult deepCopy() { @@ -142,6 +157,7 @@ public GetTableResult deepCopy() { @Override public void clear() { this.table = null; + this.isStatsCompliant = null; } public Table getTable() { @@ -167,6 +183,37 @@ public void setTableIsSet(boolean value) { } } + /** + * + * @see IsolationLevelCompliance + */ + public IsolationLevelCompliance getIsStatsCompliant() { + return this.isStatsCompliant; + } + + /** + * + * @see IsolationLevelCompliance + */ + public void setIsStatsCompliant(IsolationLevelCompliance isStatsCompliant) { + this.isStatsCompliant = isStatsCompliant; + } + + public void unsetIsStatsCompliant() { + this.isStatsCompliant = null; + } + + /** Returns true if field isStatsCompliant is set (has been assigned a value) and false otherwise */ + public boolean isSetIsStatsCompliant() { + return this.isStatsCompliant != null; + } + + public void setIsStatsCompliantIsSet(boolean value) { + if (!value) { + this.isStatsCompliant = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case TABLE: @@ -177,6 +224,14 @@ public void setFieldValue(_Fields field, Object value) { } break; + case IS_STATS_COMPLIANT: + if (value == null) { + unsetIsStatsCompliant(); + } else { + setIsStatsCompliant((IsolationLevelCompliance)value); + } + break; + } } @@ -185,6 +240,9 @@ public Object getFieldValue(_Fields field) { case TABLE: return getTable(); + case IS_STATS_COMPLIANT: + return getIsStatsCompliant(); + } throw new IllegalStateException(); } @@ -198,6 +256,8 @@ public boolean isSet(_Fields field) { switch (field) { case TABLE: return isSetTable(); + case IS_STATS_COMPLIANT: + return isSetIsStatsCompliant(); } throw new IllegalStateException(); } @@ -224,6 +284,15 @@ public boolean equals(GetTableResult that) { return false; } + boolean this_present_isStatsCompliant = true && this.isSetIsStatsCompliant(); + boolean that_present_isStatsCompliant = true && that.isSetIsStatsCompliant(); + if (this_present_isStatsCompliant || that_present_isStatsCompliant) { + if (!(this_present_isStatsCompliant && that_present_isStatsCompliant)) + return false; + if (!this.isStatsCompliant.equals(that.isStatsCompliant)) + return false; + } + return true; } @@ -236,6 +305,11 @@ public int hashCode() { if (present_table) list.add(table); + boolean present_isStatsCompliant = true && (isSetIsStatsCompliant()); + list.add(present_isStatsCompliant); + if (present_isStatsCompliant) + list.add(isStatsCompliant.getValue()); + return list.hashCode(); } @@ -257,6 +331,16 @@ public int compareTo(GetTableResult other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetIsStatsCompliant()).compareTo(other.isSetIsStatsCompliant()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetIsStatsCompliant()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isStatsCompliant, other.isStatsCompliant); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -284,6 +368,16 @@ public String toString() { sb.append(this.table); } first = false; + if (isSetIsStatsCompliant()) { + if (!first) sb.append(", "); + sb.append("isStatsCompliant:"); + if (this.isStatsCompliant == null) { + sb.append("null"); + } else { + sb.append(this.isStatsCompliant); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -343,6 +437,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetTableResult stru org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 2: // IS_STATS_COMPLIANT + if (schemeField.type == org.apache.thrift.protocol.TType.I32) { + struct.isStatsCompliant = org.apache.hadoop.hive.metastore.api.IsolationLevelCompliance.findByValue(iprot.readI32()); + struct.setIsStatsCompliantIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -361,6 +463,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetTableResult str struct.table.write(oprot); oprot.writeFieldEnd(); } + if (struct.isStatsCompliant != null) { + if (struct.isSetIsStatsCompliant()) { + oprot.writeFieldBegin(IS_STATS_COMPLIANT_FIELD_DESC); + oprot.writeI32(struct.isStatsCompliant.getValue()); + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -379,6 +488,14 @@ public GetTableResultTupleScheme getScheme() { public void write(org.apache.thrift.protocol.TProtocol prot, GetTableResult struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.table.write(oprot); + BitSet optionals = new BitSet(); + if (struct.isSetIsStatsCompliant()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetIsStatsCompliant()) { + oprot.writeI32(struct.isStatsCompliant.getValue()); + } } @Override @@ -387,6 +504,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTableResult struc struct.table = new Table(); struct.table.read(iprot); struct.setTableIsSet(true); + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.isStatsCompliant = org.apache.hadoop.hive.metastore.api.IsolationLevelCompliance.findByValue(iprot.readI32()); + struct.setIsStatsCompliantIsSet(true); + } } } diff --git standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/IsolationLevelCompliance.java standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/IsolationLevelCompliance.java new file mode 100644 index 0000000000..cb2559f439 --- /dev/null +++ standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/IsolationLevelCompliance.java @@ -0,0 +1,48 @@ +/** + * Autogenerated by Thrift Compiler (0.9.3) + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +package org.apache.hadoop.hive.metastore.api; + + +import java.util.Map; +import java.util.HashMap; +import org.apache.thrift.TEnum; + +public enum IsolationLevelCompliance implements org.apache.thrift.TEnum { + YES(1), + NO(2), + UNKNOWN(3); + + private final int value; + + private IsolationLevelCompliance(int value) { + this.value = value; + } + + /** + * Get the integer value of this enum value, as defined in the Thrift IDL. + */ + public int getValue() { + return value; + } + + /** + * Find a the enum type by its integer value, as defined in the Thrift IDL. + * @return null if the value is not found. + */ + public static IsolationLevelCompliance findByValue(int value) { + switch (value) { + case 1: + return YES; + case 2: + return NO; + case 3: + return UNKNOWN; + default: + return null; + } + } +} diff --git standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java index c58e1cb7d9..5b9de5ed49 100644 --- standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java +++ standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java @@ -47,6 +47,9 @@ private static final org.apache.thrift.protocol.TField PARAMETERS_FIELD_DESC = new org.apache.thrift.protocol.TField("parameters", org.apache.thrift.protocol.TType.MAP, (short)7); private static final org.apache.thrift.protocol.TField PRIVILEGES_FIELD_DESC = new org.apache.thrift.protocol.TField("privileges", org.apache.thrift.protocol.TType.STRUCT, (short)8); private static final org.apache.thrift.protocol.TField CAT_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("catName", org.apache.thrift.protocol.TType.STRING, (short)9); + private static final org.apache.thrift.protocol.TField TXN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("txnId", org.apache.thrift.protocol.TType.I64, (short)10); + private static final org.apache.thrift.protocol.TField VALID_WRITE_ID_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("validWriteIdList", org.apache.thrift.protocol.TType.STRING, (short)11); + private static final org.apache.thrift.protocol.TField IS_STATS_COMPLIANT_FIELD_DESC = new org.apache.thrift.protocol.TField("isStatsCompliant", org.apache.thrift.protocol.TType.I32, (short)12); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -63,6 +66,9 @@ private Map parameters; // required private PrincipalPrivilegeSet privileges; // optional private String catName; // optional + private long txnId; // optional + private String validWriteIdList; // optional + private IsolationLevelCompliance isStatsCompliant; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { @@ -74,7 +80,14 @@ SD((short)6, "sd"), PARAMETERS((short)7, "parameters"), PRIVILEGES((short)8, "privileges"), - CAT_NAME((short)9, "catName"); + CAT_NAME((short)9, "catName"), + TXN_ID((short)10, "txnId"), + VALID_WRITE_ID_LIST((short)11, "validWriteIdList"), + /** + * + * @see IsolationLevelCompliance + */ + IS_STATS_COMPLIANT((short)12, "isStatsCompliant"); private static final Map byName = new HashMap(); @@ -107,6 +120,12 @@ public static _Fields findByThriftId(int fieldId) { return PRIVILEGES; case 9: // CAT_NAME return CAT_NAME; + case 10: // TXN_ID + return TXN_ID; + case 11: // VALID_WRITE_ID_LIST + return VALID_WRITE_ID_LIST; + case 12: // IS_STATS_COMPLIANT + return IS_STATS_COMPLIANT; default: return null; } @@ -149,8 +168,9 @@ public String getFieldName() { // isset id assignments private static final int __CREATETIME_ISSET_ID = 0; private static final int __LASTACCESSTIME_ISSET_ID = 1; + private static final int __TXNID_ISSET_ID = 2; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.PRIVILEGES,_Fields.CAT_NAME}; + private static final _Fields optionals[] = {_Fields.PRIVILEGES,_Fields.CAT_NAME,_Fields.TXN_ID,_Fields.VALID_WRITE_ID_LIST,_Fields.IS_STATS_COMPLIANT}; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); @@ -175,11 +195,19 @@ public String getFieldName() { new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PrincipalPrivilegeSet.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.TXN_ID, new org.apache.thrift.meta_data.FieldMetaData("txnId", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.VALID_WRITE_ID_LIST, new org.apache.thrift.meta_data.FieldMetaData("validWriteIdList", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.IS_STATS_COMPLIANT, new org.apache.thrift.meta_data.FieldMetaData("isStatsCompliant", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, IsolationLevelCompliance.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Partition.class, metaDataMap); } public Partition() { + this.txnId = -1L; + } public Partition( @@ -233,6 +261,13 @@ public Partition(Partition other) { if (other.isSetCatName()) { this.catName = other.catName; } + this.txnId = other.txnId; + if (other.isSetValidWriteIdList()) { + this.validWriteIdList = other.validWriteIdList; + } + if (other.isSetIsStatsCompliant()) { + this.isStatsCompliant = other.isStatsCompliant; + } } public Partition deepCopy() { @@ -252,6 +287,10 @@ public void clear() { this.parameters = null; this.privileges = null; this.catName = null; + this.txnId = -1L; + + this.validWriteIdList = null; + this.isStatsCompliant = null; } public int getValuesSize() { @@ -485,6 +524,82 @@ public void setCatNameIsSet(boolean value) { } } + public long getTxnId() { + return this.txnId; + } + + public void setTxnId(long txnId) { + this.txnId = txnId; + setTxnIdIsSet(true); + } + + public void unsetTxnId() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TXNID_ISSET_ID); + } + + /** Returns true if field txnId is set (has been assigned a value) and false otherwise */ + public boolean isSetTxnId() { + return EncodingUtils.testBit(__isset_bitfield, __TXNID_ISSET_ID); + } + + public void setTxnIdIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TXNID_ISSET_ID, value); + } + + public String getValidWriteIdList() { + return this.validWriteIdList; + } + + public void setValidWriteIdList(String validWriteIdList) { + this.validWriteIdList = validWriteIdList; + } + + public void unsetValidWriteIdList() { + this.validWriteIdList = null; + } + + /** Returns true if field validWriteIdList is set (has been assigned a value) and false otherwise */ + public boolean isSetValidWriteIdList() { + return this.validWriteIdList != null; + } + + public void setValidWriteIdListIsSet(boolean value) { + if (!value) { + this.validWriteIdList = null; + } + } + + /** + * + * @see IsolationLevelCompliance + */ + public IsolationLevelCompliance getIsStatsCompliant() { + return this.isStatsCompliant; + } + + /** + * + * @see IsolationLevelCompliance + */ + public void setIsStatsCompliant(IsolationLevelCompliance isStatsCompliant) { + this.isStatsCompliant = isStatsCompliant; + } + + public void unsetIsStatsCompliant() { + this.isStatsCompliant = null; + } + + /** Returns true if field isStatsCompliant is set (has been assigned a value) and false otherwise */ + public boolean isSetIsStatsCompliant() { + return this.isStatsCompliant != null; + } + + public void setIsStatsCompliantIsSet(boolean value) { + if (!value) { + this.isStatsCompliant = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case VALUES: @@ -559,6 +674,30 @@ public void setFieldValue(_Fields field, Object value) { } break; + case TXN_ID: + if (value == null) { + unsetTxnId(); + } else { + setTxnId((Long)value); + } + break; + + case VALID_WRITE_ID_LIST: + if (value == null) { + unsetValidWriteIdList(); + } else { + setValidWriteIdList((String)value); + } + break; + + case IS_STATS_COMPLIANT: + if (value == null) { + unsetIsStatsCompliant(); + } else { + setIsStatsCompliant((IsolationLevelCompliance)value); + } + break; + } } @@ -591,6 +730,15 @@ public Object getFieldValue(_Fields field) { case CAT_NAME: return getCatName(); + case TXN_ID: + return getTxnId(); + + case VALID_WRITE_ID_LIST: + return getValidWriteIdList(); + + case IS_STATS_COMPLIANT: + return getIsStatsCompliant(); + } throw new IllegalStateException(); } @@ -620,6 +768,12 @@ public boolean isSet(_Fields field) { return isSetPrivileges(); case CAT_NAME: return isSetCatName(); + case TXN_ID: + return isSetTxnId(); + case VALID_WRITE_ID_LIST: + return isSetValidWriteIdList(); + case IS_STATS_COMPLIANT: + return isSetIsStatsCompliant(); } throw new IllegalStateException(); } @@ -718,6 +872,33 @@ public boolean equals(Partition that) { return false; } + boolean this_present_txnId = true && this.isSetTxnId(); + boolean that_present_txnId = true && that.isSetTxnId(); + if (this_present_txnId || that_present_txnId) { + if (!(this_present_txnId && that_present_txnId)) + return false; + if (this.txnId != that.txnId) + return false; + } + + boolean this_present_validWriteIdList = true && this.isSetValidWriteIdList(); + boolean that_present_validWriteIdList = true && that.isSetValidWriteIdList(); + if (this_present_validWriteIdList || that_present_validWriteIdList) { + if (!(this_present_validWriteIdList && that_present_validWriteIdList)) + return false; + if (!this.validWriteIdList.equals(that.validWriteIdList)) + return false; + } + + boolean this_present_isStatsCompliant = true && this.isSetIsStatsCompliant(); + boolean that_present_isStatsCompliant = true && that.isSetIsStatsCompliant(); + if (this_present_isStatsCompliant || that_present_isStatsCompliant) { + if (!(this_present_isStatsCompliant && that_present_isStatsCompliant)) + return false; + if (!this.isStatsCompliant.equals(that.isStatsCompliant)) + return false; + } + return true; } @@ -770,6 +951,21 @@ public int hashCode() { if (present_catName) list.add(catName); + boolean present_txnId = true && (isSetTxnId()); + list.add(present_txnId); + if (present_txnId) + list.add(txnId); + + boolean present_validWriteIdList = true && (isSetValidWriteIdList()); + list.add(present_validWriteIdList); + if (present_validWriteIdList) + list.add(validWriteIdList); + + boolean present_isStatsCompliant = true && (isSetIsStatsCompliant()); + list.add(present_isStatsCompliant); + if (present_isStatsCompliant) + list.add(isStatsCompliant.getValue()); + return list.hashCode(); } @@ -871,6 +1067,36 @@ public int compareTo(Partition other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetTxnId()).compareTo(other.isSetTxnId()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTxnId()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnId, other.txnId); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetValidWriteIdList()).compareTo(other.isSetValidWriteIdList()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetValidWriteIdList()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.validWriteIdList, other.validWriteIdList); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetIsStatsCompliant()).compareTo(other.isSetIsStatsCompliant()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetIsStatsCompliant()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isStatsCompliant, other.isStatsCompliant); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -958,6 +1184,32 @@ public String toString() { } first = false; } + if (isSetTxnId()) { + if (!first) sb.append(", "); + sb.append("txnId:"); + sb.append(this.txnId); + first = false; + } + if (isSetValidWriteIdList()) { + if (!first) sb.append(", "); + sb.append("validWriteIdList:"); + if (this.validWriteIdList == null) { + sb.append("null"); + } else { + sb.append(this.validWriteIdList); + } + first = false; + } + if (isSetIsStatsCompliant()) { + if (!first) sb.append(", "); + sb.append("isStatsCompliant:"); + if (this.isStatsCompliant == null) { + sb.append("null"); + } else { + sb.append(this.isStatsCompliant); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -1105,6 +1357,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Partition struct) t org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 10: // TXN_ID + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.txnId = iprot.readI64(); + struct.setTxnIdIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 11: // VALID_WRITE_ID_LIST + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.validWriteIdList = iprot.readString(); + struct.setValidWriteIdListIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 12: // IS_STATS_COMPLIANT + if (schemeField.type == org.apache.thrift.protocol.TType.I32) { + struct.isStatsCompliant = org.apache.hadoop.hive.metastore.api.IsolationLevelCompliance.findByValue(iprot.readI32()); + struct.setIsStatsCompliantIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -1178,6 +1454,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Partition struct) oprot.writeFieldEnd(); } } + if (struct.isSetTxnId()) { + oprot.writeFieldBegin(TXN_ID_FIELD_DESC); + oprot.writeI64(struct.txnId); + oprot.writeFieldEnd(); + } + if (struct.validWriteIdList != null) { + if (struct.isSetValidWriteIdList()) { + oprot.writeFieldBegin(VALID_WRITE_ID_LIST_FIELD_DESC); + oprot.writeString(struct.validWriteIdList); + oprot.writeFieldEnd(); + } + } + if (struct.isStatsCompliant != null) { + if (struct.isSetIsStatsCompliant()) { + oprot.writeFieldBegin(IS_STATS_COMPLIANT_FIELD_DESC); + oprot.writeI32(struct.isStatsCompliant.getValue()); + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -1223,7 +1518,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Partition struct) t if (struct.isSetCatName()) { optionals.set(8); } - oprot.writeBitSet(optionals, 9); + if (struct.isSetTxnId()) { + optionals.set(9); + } + if (struct.isSetValidWriteIdList()) { + optionals.set(10); + } + if (struct.isSetIsStatsCompliant()) { + optionals.set(11); + } + oprot.writeBitSet(optionals, 12); if (struct.isSetValues()) { { oprot.writeI32(struct.values.size()); @@ -1264,12 +1568,21 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Partition struct) t if (struct.isSetCatName()) { oprot.writeString(struct.catName); } + if (struct.isSetTxnId()) { + oprot.writeI64(struct.txnId); + } + if (struct.isSetValidWriteIdList()) { + oprot.writeString(struct.validWriteIdList); + } + if (struct.isSetIsStatsCompliant()) { + oprot.writeI32(struct.isStatsCompliant.getValue()); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, Partition struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(9); + BitSet incoming = iprot.readBitSet(12); if (incoming.get(0)) { { org.apache.thrift.protocol.TList _list227 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); @@ -1328,6 +1641,18 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Partition struct) th struct.catName = iprot.readString(); struct.setCatNameIsSet(true); } + if (incoming.get(9)) { + struct.txnId = iprot.readI64(); + struct.setTxnIdIsSet(true); + } + if (incoming.get(10)) { + struct.validWriteIdList = iprot.readString(); + struct.setValidWriteIdListIsSet(true); + } + if (incoming.get(11)) { + struct.isStatsCompliant = org.apache.hadoop.hive.metastore.api.IsolationLevelCompliance.findByValue(iprot.readI32()); + struct.setIsStatsCompliantIsSet(true); + } } } diff --git standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpec.java standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpec.java index 247fdaa5ac..bc625b04a6 100644 --- standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpec.java +++ standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpec.java @@ -44,6 +44,9 @@ private static final org.apache.thrift.protocol.TField SHARED_SDPARTITION_SPEC_FIELD_DESC = new org.apache.thrift.protocol.TField("sharedSDPartitionSpec", org.apache.thrift.protocol.TType.STRUCT, (short)4); private static final org.apache.thrift.protocol.TField PARTITION_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("partitionList", org.apache.thrift.protocol.TType.STRUCT, (short)5); private static final org.apache.thrift.protocol.TField CAT_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("catName", org.apache.thrift.protocol.TType.STRING, (short)6); + private static final org.apache.thrift.protocol.TField TXN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("txnId", org.apache.thrift.protocol.TType.I64, (short)7); + private static final org.apache.thrift.protocol.TField VALID_WRITE_ID_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("validWriteIdList", org.apache.thrift.protocol.TType.STRING, (short)8); + private static final org.apache.thrift.protocol.TField IS_STATS_COMPLIANT_FIELD_DESC = new org.apache.thrift.protocol.TField("isStatsCompliant", org.apache.thrift.protocol.TType.I32, (short)9); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -57,6 +60,9 @@ private PartitionSpecWithSharedSD sharedSDPartitionSpec; // optional private PartitionListComposingSpec partitionList; // optional private String catName; // optional + private long txnId; // optional + private String validWriteIdList; // optional + private IsolationLevelCompliance isStatsCompliant; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { @@ -65,7 +71,14 @@ ROOT_PATH((short)3, "rootPath"), SHARED_SDPARTITION_SPEC((short)4, "sharedSDPartitionSpec"), PARTITION_LIST((short)5, "partitionList"), - CAT_NAME((short)6, "catName"); + CAT_NAME((short)6, "catName"), + TXN_ID((short)7, "txnId"), + VALID_WRITE_ID_LIST((short)8, "validWriteIdList"), + /** + * + * @see IsolationLevelCompliance + */ + IS_STATS_COMPLIANT((short)9, "isStatsCompliant"); private static final Map byName = new HashMap(); @@ -92,6 +105,12 @@ public static _Fields findByThriftId(int fieldId) { return PARTITION_LIST; case 6: // CAT_NAME return CAT_NAME; + case 7: // TXN_ID + return TXN_ID; + case 8: // VALID_WRITE_ID_LIST + return VALID_WRITE_ID_LIST; + case 9: // IS_STATS_COMPLIANT + return IS_STATS_COMPLIANT; default: return null; } @@ -132,7 +151,9 @@ public String getFieldName() { } // isset id assignments - private static final _Fields optionals[] = {_Fields.SHARED_SDPARTITION_SPEC,_Fields.PARTITION_LIST,_Fields.CAT_NAME}; + private static final int __TXNID_ISSET_ID = 0; + private byte __isset_bitfield = 0; + private static final _Fields optionals[] = {_Fields.SHARED_SDPARTITION_SPEC,_Fields.PARTITION_LIST,_Fields.CAT_NAME,_Fields.TXN_ID,_Fields.VALID_WRITE_ID_LIST,_Fields.IS_STATS_COMPLIANT}; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); @@ -148,11 +169,19 @@ public String getFieldName() { new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PartitionListComposingSpec.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.TXN_ID, new org.apache.thrift.meta_data.FieldMetaData("txnId", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.VALID_WRITE_ID_LIST, new org.apache.thrift.meta_data.FieldMetaData("validWriteIdList", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.IS_STATS_COMPLIANT, new org.apache.thrift.meta_data.FieldMetaData("isStatsCompliant", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, IsolationLevelCompliance.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(PartitionSpec.class, metaDataMap); } public PartitionSpec() { + this.txnId = -1L; + } public PartitionSpec( @@ -170,6 +199,7 @@ public PartitionSpec( * Performs a deep copy on other. */ public PartitionSpec(PartitionSpec other) { + __isset_bitfield = other.__isset_bitfield; if (other.isSetDbName()) { this.dbName = other.dbName; } @@ -188,6 +218,13 @@ public PartitionSpec(PartitionSpec other) { if (other.isSetCatName()) { this.catName = other.catName; } + this.txnId = other.txnId; + if (other.isSetValidWriteIdList()) { + this.validWriteIdList = other.validWriteIdList; + } + if (other.isSetIsStatsCompliant()) { + this.isStatsCompliant = other.isStatsCompliant; + } } public PartitionSpec deepCopy() { @@ -202,6 +239,10 @@ public void clear() { this.sharedSDPartitionSpec = null; this.partitionList = null; this.catName = null; + this.txnId = -1L; + + this.validWriteIdList = null; + this.isStatsCompliant = null; } public String getDbName() { @@ -342,6 +383,82 @@ public void setCatNameIsSet(boolean value) { } } + public long getTxnId() { + return this.txnId; + } + + public void setTxnId(long txnId) { + this.txnId = txnId; + setTxnIdIsSet(true); + } + + public void unsetTxnId() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TXNID_ISSET_ID); + } + + /** Returns true if field txnId is set (has been assigned a value) and false otherwise */ + public boolean isSetTxnId() { + return EncodingUtils.testBit(__isset_bitfield, __TXNID_ISSET_ID); + } + + public void setTxnIdIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TXNID_ISSET_ID, value); + } + + public String getValidWriteIdList() { + return this.validWriteIdList; + } + + public void setValidWriteIdList(String validWriteIdList) { + this.validWriteIdList = validWriteIdList; + } + + public void unsetValidWriteIdList() { + this.validWriteIdList = null; + } + + /** Returns true if field validWriteIdList is set (has been assigned a value) and false otherwise */ + public boolean isSetValidWriteIdList() { + return this.validWriteIdList != null; + } + + public void setValidWriteIdListIsSet(boolean value) { + if (!value) { + this.validWriteIdList = null; + } + } + + /** + * + * @see IsolationLevelCompliance + */ + public IsolationLevelCompliance getIsStatsCompliant() { + return this.isStatsCompliant; + } + + /** + * + * @see IsolationLevelCompliance + */ + public void setIsStatsCompliant(IsolationLevelCompliance isStatsCompliant) { + this.isStatsCompliant = isStatsCompliant; + } + + public void unsetIsStatsCompliant() { + this.isStatsCompliant = null; + } + + /** Returns true if field isStatsCompliant is set (has been assigned a value) and false otherwise */ + public boolean isSetIsStatsCompliant() { + return this.isStatsCompliant != null; + } + + public void setIsStatsCompliantIsSet(boolean value) { + if (!value) { + this.isStatsCompliant = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case DB_NAME: @@ -392,6 +509,30 @@ public void setFieldValue(_Fields field, Object value) { } break; + case TXN_ID: + if (value == null) { + unsetTxnId(); + } else { + setTxnId((Long)value); + } + break; + + case VALID_WRITE_ID_LIST: + if (value == null) { + unsetValidWriteIdList(); + } else { + setValidWriteIdList((String)value); + } + break; + + case IS_STATS_COMPLIANT: + if (value == null) { + unsetIsStatsCompliant(); + } else { + setIsStatsCompliant((IsolationLevelCompliance)value); + } + break; + } } @@ -415,6 +556,15 @@ public Object getFieldValue(_Fields field) { case CAT_NAME: return getCatName(); + case TXN_ID: + return getTxnId(); + + case VALID_WRITE_ID_LIST: + return getValidWriteIdList(); + + case IS_STATS_COMPLIANT: + return getIsStatsCompliant(); + } throw new IllegalStateException(); } @@ -438,6 +588,12 @@ public boolean isSet(_Fields field) { return isSetPartitionList(); case CAT_NAME: return isSetCatName(); + case TXN_ID: + return isSetTxnId(); + case VALID_WRITE_ID_LIST: + return isSetValidWriteIdList(); + case IS_STATS_COMPLIANT: + return isSetIsStatsCompliant(); } throw new IllegalStateException(); } @@ -509,6 +665,33 @@ public boolean equals(PartitionSpec that) { return false; } + boolean this_present_txnId = true && this.isSetTxnId(); + boolean that_present_txnId = true && that.isSetTxnId(); + if (this_present_txnId || that_present_txnId) { + if (!(this_present_txnId && that_present_txnId)) + return false; + if (this.txnId != that.txnId) + return false; + } + + boolean this_present_validWriteIdList = true && this.isSetValidWriteIdList(); + boolean that_present_validWriteIdList = true && that.isSetValidWriteIdList(); + if (this_present_validWriteIdList || that_present_validWriteIdList) { + if (!(this_present_validWriteIdList && that_present_validWriteIdList)) + return false; + if (!this.validWriteIdList.equals(that.validWriteIdList)) + return false; + } + + boolean this_present_isStatsCompliant = true && this.isSetIsStatsCompliant(); + boolean that_present_isStatsCompliant = true && that.isSetIsStatsCompliant(); + if (this_present_isStatsCompliant || that_present_isStatsCompliant) { + if (!(this_present_isStatsCompliant && that_present_isStatsCompliant)) + return false; + if (!this.isStatsCompliant.equals(that.isStatsCompliant)) + return false; + } + return true; } @@ -546,6 +729,21 @@ public int hashCode() { if (present_catName) list.add(catName); + boolean present_txnId = true && (isSetTxnId()); + list.add(present_txnId); + if (present_txnId) + list.add(txnId); + + boolean present_validWriteIdList = true && (isSetValidWriteIdList()); + list.add(present_validWriteIdList); + if (present_validWriteIdList) + list.add(validWriteIdList); + + boolean present_isStatsCompliant = true && (isSetIsStatsCompliant()); + list.add(present_isStatsCompliant); + if (present_isStatsCompliant) + list.add(isStatsCompliant.getValue()); + return list.hashCode(); } @@ -617,6 +815,36 @@ public int compareTo(PartitionSpec other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetTxnId()).compareTo(other.isSetTxnId()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTxnId()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnId, other.txnId); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetValidWriteIdList()).compareTo(other.isSetValidWriteIdList()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetValidWriteIdList()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.validWriteIdList, other.validWriteIdList); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetIsStatsCompliant()).compareTo(other.isSetIsStatsCompliant()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetIsStatsCompliant()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isStatsCompliant, other.isStatsCompliant); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -690,6 +918,32 @@ public String toString() { } first = false; } + if (isSetTxnId()) { + if (!first) sb.append(", "); + sb.append("txnId:"); + sb.append(this.txnId); + first = false; + } + if (isSetValidWriteIdList()) { + if (!first) sb.append(", "); + sb.append("validWriteIdList:"); + if (this.validWriteIdList == null) { + sb.append("null"); + } else { + sb.append(this.validWriteIdList); + } + first = false; + } + if (isSetIsStatsCompliant()) { + if (!first) sb.append(", "); + sb.append("isStatsCompliant:"); + if (this.isStatsCompliant == null) { + sb.append("null"); + } else { + sb.append(this.isStatsCompliant); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -715,6 +969,8 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); @@ -789,6 +1045,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionSpec struc org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 7: // TXN_ID + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.txnId = iprot.readI64(); + struct.setTxnIdIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 8: // VALID_WRITE_ID_LIST + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.validWriteIdList = iprot.readString(); + struct.setValidWriteIdListIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 9: // IS_STATS_COMPLIANT + if (schemeField.type == org.apache.thrift.protocol.TType.I32) { + struct.isStatsCompliant = org.apache.hadoop.hive.metastore.api.IsolationLevelCompliance.findByValue(iprot.readI32()); + struct.setIsStatsCompliantIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -838,6 +1118,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionSpec stru oprot.writeFieldEnd(); } } + if (struct.isSetTxnId()) { + oprot.writeFieldBegin(TXN_ID_FIELD_DESC); + oprot.writeI64(struct.txnId); + oprot.writeFieldEnd(); + } + if (struct.validWriteIdList != null) { + if (struct.isSetValidWriteIdList()) { + oprot.writeFieldBegin(VALID_WRITE_ID_LIST_FIELD_DESC); + oprot.writeString(struct.validWriteIdList); + oprot.writeFieldEnd(); + } + } + if (struct.isStatsCompliant != null) { + if (struct.isSetIsStatsCompliant()) { + oprot.writeFieldBegin(IS_STATS_COMPLIANT_FIELD_DESC); + oprot.writeI32(struct.isStatsCompliant.getValue()); + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -874,7 +1173,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionSpec struc if (struct.isSetCatName()) { optionals.set(5); } - oprot.writeBitSet(optionals, 6); + if (struct.isSetTxnId()) { + optionals.set(6); + } + if (struct.isSetValidWriteIdList()) { + optionals.set(7); + } + if (struct.isSetIsStatsCompliant()) { + optionals.set(8); + } + oprot.writeBitSet(optionals, 9); if (struct.isSetDbName()) { oprot.writeString(struct.dbName); } @@ -893,12 +1201,21 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionSpec struc if (struct.isSetCatName()) { oprot.writeString(struct.catName); } + if (struct.isSetTxnId()) { + oprot.writeI64(struct.txnId); + } + if (struct.isSetValidWriteIdList()) { + oprot.writeString(struct.validWriteIdList); + } + if (struct.isSetIsStatsCompliant()) { + oprot.writeI32(struct.isStatsCompliant.getValue()); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, PartitionSpec struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(9); if (incoming.get(0)) { struct.dbName = iprot.readString(); struct.setDbNameIsSet(true); @@ -925,6 +1242,18 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionSpec struct struct.catName = iprot.readString(); struct.setCatNameIsSet(true); } + if (incoming.get(6)) { + struct.txnId = iprot.readI64(); + struct.setTxnIdIsSet(true); + } + if (incoming.get(7)) { + struct.validWriteIdList = iprot.readString(); + struct.setValidWriteIdListIsSet(true); + } + if (incoming.get(8)) { + struct.isStatsCompliant = org.apache.hadoop.hive.metastore.api.IsolationLevelCompliance.findByValue(iprot.readI32()); + struct.setIsStatsCompliantIsSet(true); + } } } diff --git standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java index 91cf567e74..a298b89925 100644 --- standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java +++ standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java @@ -43,6 +43,8 @@ private static final org.apache.thrift.protocol.TField COL_NAMES_FIELD_DESC = new org.apache.thrift.protocol.TField("colNames", org.apache.thrift.protocol.TType.LIST, (short)3); private static final org.apache.thrift.protocol.TField PART_NAMES_FIELD_DESC = new org.apache.thrift.protocol.TField("partNames", org.apache.thrift.protocol.TType.LIST, (short)4); private static final org.apache.thrift.protocol.TField CAT_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("catName", org.apache.thrift.protocol.TType.STRING, (short)5); + private static final org.apache.thrift.protocol.TField TXN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("txnId", org.apache.thrift.protocol.TType.I64, (short)6); + private static final org.apache.thrift.protocol.TField VALID_WRITE_ID_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("validWriteIdList", org.apache.thrift.protocol.TType.STRING, (short)7); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -55,6 +57,8 @@ private List colNames; // required private List partNames; // required private String catName; // optional + private long txnId; // optional + private String validWriteIdList; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { @@ -62,7 +66,9 @@ TBL_NAME((short)2, "tblName"), COL_NAMES((short)3, "colNames"), PART_NAMES((short)4, "partNames"), - CAT_NAME((short)5, "catName"); + CAT_NAME((short)5, "catName"), + TXN_ID((short)6, "txnId"), + VALID_WRITE_ID_LIST((short)7, "validWriteIdList"); private static final Map byName = new HashMap(); @@ -87,6 +93,10 @@ public static _Fields findByThriftId(int fieldId) { return PART_NAMES; case 5: // CAT_NAME return CAT_NAME; + case 6: // TXN_ID + return TXN_ID; + case 7: // VALID_WRITE_ID_LIST + return VALID_WRITE_ID_LIST; default: return null; } @@ -127,7 +137,9 @@ public String getFieldName() { } // isset id assignments - private static final _Fields optionals[] = {_Fields.CAT_NAME}; + private static final int __TXNID_ISSET_ID = 0; + private byte __isset_bitfield = 0; + private static final _Fields optionals[] = {_Fields.CAT_NAME,_Fields.TXN_ID,_Fields.VALID_WRITE_ID_LIST}; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); @@ -143,11 +155,17 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); 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.TXN_ID, new org.apache.thrift.meta_data.FieldMetaData("txnId", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.VALID_WRITE_ID_LIST, new org.apache.thrift.meta_data.FieldMetaData("validWriteIdList", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(PartitionsStatsRequest.class, metaDataMap); } public PartitionsStatsRequest() { + this.txnId = -1L; + } public PartitionsStatsRequest( @@ -167,6 +185,7 @@ public PartitionsStatsRequest( * Performs a deep copy on other. */ public PartitionsStatsRequest(PartitionsStatsRequest other) { + __isset_bitfield = other.__isset_bitfield; if (other.isSetDbName()) { this.dbName = other.dbName; } @@ -184,6 +203,10 @@ public PartitionsStatsRequest(PartitionsStatsRequest other) { if (other.isSetCatName()) { this.catName = other.catName; } + this.txnId = other.txnId; + if (other.isSetValidWriteIdList()) { + this.validWriteIdList = other.validWriteIdList; + } } public PartitionsStatsRequest deepCopy() { @@ -197,6 +220,9 @@ public void clear() { this.colNames = null; this.partNames = null; this.catName = null; + this.txnId = -1L; + + this.validWriteIdList = null; } public String getDbName() { @@ -344,6 +370,51 @@ public void setCatNameIsSet(boolean value) { } } + public long getTxnId() { + return this.txnId; + } + + public void setTxnId(long txnId) { + this.txnId = txnId; + setTxnIdIsSet(true); + } + + public void unsetTxnId() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TXNID_ISSET_ID); + } + + /** Returns true if field txnId is set (has been assigned a value) and false otherwise */ + public boolean isSetTxnId() { + return EncodingUtils.testBit(__isset_bitfield, __TXNID_ISSET_ID); + } + + public void setTxnIdIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TXNID_ISSET_ID, value); + } + + public String getValidWriteIdList() { + return this.validWriteIdList; + } + + public void setValidWriteIdList(String validWriteIdList) { + this.validWriteIdList = validWriteIdList; + } + + public void unsetValidWriteIdList() { + this.validWriteIdList = null; + } + + /** Returns true if field validWriteIdList is set (has been assigned a value) and false otherwise */ + public boolean isSetValidWriteIdList() { + return this.validWriteIdList != null; + } + + public void setValidWriteIdListIsSet(boolean value) { + if (!value) { + this.validWriteIdList = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case DB_NAME: @@ -386,6 +457,22 @@ public void setFieldValue(_Fields field, Object value) { } break; + case TXN_ID: + if (value == null) { + unsetTxnId(); + } else { + setTxnId((Long)value); + } + break; + + case VALID_WRITE_ID_LIST: + if (value == null) { + unsetValidWriteIdList(); + } else { + setValidWriteIdList((String)value); + } + break; + } } @@ -406,6 +493,12 @@ public Object getFieldValue(_Fields field) { case CAT_NAME: return getCatName(); + case TXN_ID: + return getTxnId(); + + case VALID_WRITE_ID_LIST: + return getValidWriteIdList(); + } throw new IllegalStateException(); } @@ -427,6 +520,10 @@ public boolean isSet(_Fields field) { return isSetPartNames(); case CAT_NAME: return isSetCatName(); + case TXN_ID: + return isSetTxnId(); + case VALID_WRITE_ID_LIST: + return isSetValidWriteIdList(); } throw new IllegalStateException(); } @@ -489,6 +586,24 @@ public boolean equals(PartitionsStatsRequest that) { return false; } + boolean this_present_txnId = true && this.isSetTxnId(); + boolean that_present_txnId = true && that.isSetTxnId(); + if (this_present_txnId || that_present_txnId) { + if (!(this_present_txnId && that_present_txnId)) + return false; + if (this.txnId != that.txnId) + return false; + } + + boolean this_present_validWriteIdList = true && this.isSetValidWriteIdList(); + boolean that_present_validWriteIdList = true && that.isSetValidWriteIdList(); + if (this_present_validWriteIdList || that_present_validWriteIdList) { + if (!(this_present_validWriteIdList && that_present_validWriteIdList)) + return false; + if (!this.validWriteIdList.equals(that.validWriteIdList)) + return false; + } + return true; } @@ -521,6 +636,16 @@ public int hashCode() { if (present_catName) list.add(catName); + boolean present_txnId = true && (isSetTxnId()); + list.add(present_txnId); + if (present_txnId) + list.add(txnId); + + boolean present_validWriteIdList = true && (isSetValidWriteIdList()); + list.add(present_validWriteIdList); + if (present_validWriteIdList) + list.add(validWriteIdList); + return list.hashCode(); } @@ -582,6 +707,26 @@ public int compareTo(PartitionsStatsRequest other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetTxnId()).compareTo(other.isSetTxnId()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTxnId()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnId, other.txnId); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetValidWriteIdList()).compareTo(other.isSetValidWriteIdList()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetValidWriteIdList()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.validWriteIdList, other.validWriteIdList); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -643,6 +788,22 @@ public String toString() { } first = false; } + if (isSetTxnId()) { + if (!first) sb.append(", "); + sb.append("txnId:"); + sb.append(this.txnId); + first = false; + } + if (isSetValidWriteIdList()) { + if (!first) sb.append(", "); + sb.append("validWriteIdList:"); + if (this.validWriteIdList == null) { + sb.append("null"); + } else { + sb.append(this.validWriteIdList); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -678,6 +839,8 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); @@ -762,6 +925,22 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsStatsRequ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 6: // TXN_ID + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.txnId = iprot.readI64(); + struct.setTxnIdIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 7: // VALID_WRITE_ID_LIST + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.validWriteIdList = iprot.readString(); + struct.setValidWriteIdListIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -816,6 +995,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionsStatsReq oprot.writeFieldEnd(); } } + if (struct.isSetTxnId()) { + oprot.writeFieldBegin(TXN_ID_FIELD_DESC); + oprot.writeI64(struct.txnId); + oprot.writeFieldEnd(); + } + if (struct.validWriteIdList != null) { + if (struct.isSetValidWriteIdList()) { + oprot.writeFieldBegin(VALID_WRITE_ID_LIST_FIELD_DESC); + oprot.writeString(struct.validWriteIdList); + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -853,10 +1044,22 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsRequ if (struct.isSetCatName()) { optionals.set(0); } - oprot.writeBitSet(optionals, 1); + if (struct.isSetTxnId()) { + optionals.set(1); + } + if (struct.isSetValidWriteIdList()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); if (struct.isSetCatName()) { oprot.writeString(struct.catName); } + if (struct.isSetTxnId()) { + oprot.writeI64(struct.txnId); + } + if (struct.isSetValidWriteIdList()) { + oprot.writeString(struct.validWriteIdList); + } } @Override @@ -888,11 +1091,19 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsReque } } struct.setPartNamesIsSet(true); - BitSet incoming = iprot.readBitSet(1); + BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.catName = iprot.readString(); struct.setCatNameIsSet(true); } + if (incoming.get(1)) { + struct.txnId = iprot.readI64(); + struct.setTxnIdIsSet(true); + } + if (incoming.get(2)) { + struct.validWriteIdList = iprot.readString(); + struct.setValidWriteIdListIsSet(true); + } } } diff --git standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java index 4caec8fa7e..2414399c3e 100644 --- standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java +++ standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java @@ -39,6 +39,7 @@ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PartitionsStatsResult"); private static final org.apache.thrift.protocol.TField PART_STATS_FIELD_DESC = new org.apache.thrift.protocol.TField("partStats", org.apache.thrift.protocol.TType.MAP, (short)1); + private static final org.apache.thrift.protocol.TField IS_STATS_COMPLIANT_FIELD_DESC = new org.apache.thrift.protocol.TField("isStatsCompliant", org.apache.thrift.protocol.TType.I32, (short)2); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -47,10 +48,16 @@ } private Map> partStats; // required + private IsolationLevelCompliance isStatsCompliant; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - PART_STATS((short)1, "partStats"); + PART_STATS((short)1, "partStats"), + /** + * + * @see IsolationLevelCompliance + */ + IS_STATS_COMPLIANT((short)2, "isStatsCompliant"); private static final Map byName = new HashMap(); @@ -67,6 +74,8 @@ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // PART_STATS return PART_STATS; + case 2: // IS_STATS_COMPLIANT + return IS_STATS_COMPLIANT; default: return null; } @@ -107,6 +116,7 @@ public String getFieldName() { } // isset id assignments + private static final _Fields optionals[] = {_Fields.IS_STATS_COMPLIANT}; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); @@ -115,6 +125,8 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ColumnStatisticsObj.class))))); + tmpMap.put(_Fields.IS_STATS_COMPLIANT, new org.apache.thrift.meta_data.FieldMetaData("isStatsCompliant", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, IsolationLevelCompliance.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(PartitionsStatsResult.class, metaDataMap); } @@ -151,6 +163,9 @@ public PartitionsStatsResult(PartitionsStatsResult other) { } this.partStats = __this__partStats; } + if (other.isSetIsStatsCompliant()) { + this.isStatsCompliant = other.isStatsCompliant; + } } public PartitionsStatsResult deepCopy() { @@ -160,6 +175,7 @@ public PartitionsStatsResult deepCopy() { @Override public void clear() { this.partStats = null; + this.isStatsCompliant = null; } public int getPartStatsSize() { @@ -196,6 +212,37 @@ public void setPartStatsIsSet(boolean value) { } } + /** + * + * @see IsolationLevelCompliance + */ + public IsolationLevelCompliance getIsStatsCompliant() { + return this.isStatsCompliant; + } + + /** + * + * @see IsolationLevelCompliance + */ + public void setIsStatsCompliant(IsolationLevelCompliance isStatsCompliant) { + this.isStatsCompliant = isStatsCompliant; + } + + public void unsetIsStatsCompliant() { + this.isStatsCompliant = null; + } + + /** Returns true if field isStatsCompliant is set (has been assigned a value) and false otherwise */ + public boolean isSetIsStatsCompliant() { + return this.isStatsCompliant != null; + } + + public void setIsStatsCompliantIsSet(boolean value) { + if (!value) { + this.isStatsCompliant = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case PART_STATS: @@ -206,6 +253,14 @@ public void setFieldValue(_Fields field, Object value) { } break; + case IS_STATS_COMPLIANT: + if (value == null) { + unsetIsStatsCompliant(); + } else { + setIsStatsCompliant((IsolationLevelCompliance)value); + } + break; + } } @@ -214,6 +269,9 @@ public Object getFieldValue(_Fields field) { case PART_STATS: return getPartStats(); + case IS_STATS_COMPLIANT: + return getIsStatsCompliant(); + } throw new IllegalStateException(); } @@ -227,6 +285,8 @@ public boolean isSet(_Fields field) { switch (field) { case PART_STATS: return isSetPartStats(); + case IS_STATS_COMPLIANT: + return isSetIsStatsCompliant(); } throw new IllegalStateException(); } @@ -253,6 +313,15 @@ public boolean equals(PartitionsStatsResult that) { return false; } + boolean this_present_isStatsCompliant = true && this.isSetIsStatsCompliant(); + boolean that_present_isStatsCompliant = true && that.isSetIsStatsCompliant(); + if (this_present_isStatsCompliant || that_present_isStatsCompliant) { + if (!(this_present_isStatsCompliant && that_present_isStatsCompliant)) + return false; + if (!this.isStatsCompliant.equals(that.isStatsCompliant)) + return false; + } + return true; } @@ -265,6 +334,11 @@ public int hashCode() { if (present_partStats) list.add(partStats); + boolean present_isStatsCompliant = true && (isSetIsStatsCompliant()); + list.add(present_isStatsCompliant); + if (present_isStatsCompliant) + list.add(isStatsCompliant.getValue()); + return list.hashCode(); } @@ -286,6 +360,16 @@ public int compareTo(PartitionsStatsResult other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetIsStatsCompliant()).compareTo(other.isSetIsStatsCompliant()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetIsStatsCompliant()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isStatsCompliant, other.isStatsCompliant); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -313,6 +397,16 @@ public String toString() { sb.append(this.partStats); } first = false; + if (isSetIsStatsCompliant()) { + if (!first) sb.append(", "); + sb.append("isStatsCompliant:"); + if (this.isStatsCompliant == null) { + sb.append("null"); + } else { + sb.append(this.isStatsCompliant); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -391,6 +485,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsStatsResu org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 2: // IS_STATS_COMPLIANT + if (schemeField.type == org.apache.thrift.protocol.TType.I32) { + struct.isStatsCompliant = org.apache.hadoop.hive.metastore.api.IsolationLevelCompliance.findByValue(iprot.readI32()); + struct.setIsStatsCompliantIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -424,6 +526,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionsStatsRes } oprot.writeFieldEnd(); } + if (struct.isStatsCompliant != null) { + if (struct.isSetIsStatsCompliant()) { + oprot.writeFieldBegin(IS_STATS_COMPLIANT_FIELD_DESC); + oprot.writeI32(struct.isStatsCompliant.getValue()); + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -455,6 +564,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsResu } } } + BitSet optionals = new BitSet(); + if (struct.isSetIsStatsCompliant()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetIsStatsCompliant()) { + oprot.writeI32(struct.isStatsCompliant.getValue()); + } } @Override @@ -483,6 +600,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsResul } } struct.setPartStatsIsSet(true); + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.isStatsCompliant = org.apache.hadoop.hive.metastore.api.IsolationLevelCompliance.findByValue(iprot.readI32()); + struct.setIsStatsCompliantIsSet(true); + } } } diff --git standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java index a0ae84e760..8f460129f5 100644 --- standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java +++ standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java @@ -40,6 +40,8 @@ private static final org.apache.thrift.protocol.TField COL_STATS_FIELD_DESC = new org.apache.thrift.protocol.TField("colStats", org.apache.thrift.protocol.TType.LIST, (short)1); private static final org.apache.thrift.protocol.TField NEED_MERGE_FIELD_DESC = new org.apache.thrift.protocol.TField("needMerge", org.apache.thrift.protocol.TType.BOOL, (short)2); + private static final org.apache.thrift.protocol.TField TXN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("txnId", org.apache.thrift.protocol.TType.I64, (short)3); + private static final org.apache.thrift.protocol.TField VALID_WRITE_ID_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("validWriteIdList", org.apache.thrift.protocol.TType.STRING, (short)4); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -49,11 +51,15 @@ private List colStats; // required private boolean needMerge; // optional + private long txnId; // optional + private String validWriteIdList; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { COL_STATS((short)1, "colStats"), - NEED_MERGE((short)2, "needMerge"); + NEED_MERGE((short)2, "needMerge"), + TXN_ID((short)3, "txnId"), + VALID_WRITE_ID_LIST((short)4, "validWriteIdList"); private static final Map byName = new HashMap(); @@ -72,6 +78,10 @@ public static _Fields findByThriftId(int fieldId) { return COL_STATS; case 2: // NEED_MERGE return NEED_MERGE; + case 3: // TXN_ID + return TXN_ID; + case 4: // VALID_WRITE_ID_LIST + return VALID_WRITE_ID_LIST; default: return null; } @@ -113,8 +123,9 @@ public String getFieldName() { // isset id assignments private static final int __NEEDMERGE_ISSET_ID = 0; + private static final int __TXNID_ISSET_ID = 1; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.NEED_MERGE}; + private static final _Fields optionals[] = {_Fields.NEED_MERGE,_Fields.TXN_ID,_Fields.VALID_WRITE_ID_LIST}; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); @@ -123,11 +134,17 @@ public String getFieldName() { new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ColumnStatistics.class)))); tmpMap.put(_Fields.NEED_MERGE, new org.apache.thrift.meta_data.FieldMetaData("needMerge", org.apache.thrift.TFieldRequirementType.OPTIONAL, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.TXN_ID, new org.apache.thrift.meta_data.FieldMetaData("txnId", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.VALID_WRITE_ID_LIST, new org.apache.thrift.meta_data.FieldMetaData("validWriteIdList", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(SetPartitionsStatsRequest.class, metaDataMap); } public SetPartitionsStatsRequest() { + this.txnId = -1L; + } public SetPartitionsStatsRequest( @@ -150,6 +167,10 @@ public SetPartitionsStatsRequest(SetPartitionsStatsRequest other) { this.colStats = __this__colStats; } this.needMerge = other.needMerge; + this.txnId = other.txnId; + if (other.isSetValidWriteIdList()) { + this.validWriteIdList = other.validWriteIdList; + } } public SetPartitionsStatsRequest deepCopy() { @@ -161,6 +182,9 @@ public void clear() { this.colStats = null; setNeedMergeIsSet(false); this.needMerge = false; + this.txnId = -1L; + + this.validWriteIdList = null; } public int getColStatsSize() { @@ -223,6 +247,51 @@ public void setNeedMergeIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __NEEDMERGE_ISSET_ID, value); } + public long getTxnId() { + return this.txnId; + } + + public void setTxnId(long txnId) { + this.txnId = txnId; + setTxnIdIsSet(true); + } + + public void unsetTxnId() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TXNID_ISSET_ID); + } + + /** Returns true if field txnId is set (has been assigned a value) and false otherwise */ + public boolean isSetTxnId() { + return EncodingUtils.testBit(__isset_bitfield, __TXNID_ISSET_ID); + } + + public void setTxnIdIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TXNID_ISSET_ID, value); + } + + public String getValidWriteIdList() { + return this.validWriteIdList; + } + + public void setValidWriteIdList(String validWriteIdList) { + this.validWriteIdList = validWriteIdList; + } + + public void unsetValidWriteIdList() { + this.validWriteIdList = null; + } + + /** Returns true if field validWriteIdList is set (has been assigned a value) and false otherwise */ + public boolean isSetValidWriteIdList() { + return this.validWriteIdList != null; + } + + public void setValidWriteIdListIsSet(boolean value) { + if (!value) { + this.validWriteIdList = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case COL_STATS: @@ -241,6 +310,22 @@ public void setFieldValue(_Fields field, Object value) { } break; + case TXN_ID: + if (value == null) { + unsetTxnId(); + } else { + setTxnId((Long)value); + } + break; + + case VALID_WRITE_ID_LIST: + if (value == null) { + unsetValidWriteIdList(); + } else { + setValidWriteIdList((String)value); + } + break; + } } @@ -252,6 +337,12 @@ public Object getFieldValue(_Fields field) { case NEED_MERGE: return isNeedMerge(); + case TXN_ID: + return getTxnId(); + + case VALID_WRITE_ID_LIST: + return getValidWriteIdList(); + } throw new IllegalStateException(); } @@ -267,6 +358,10 @@ public boolean isSet(_Fields field) { return isSetColStats(); case NEED_MERGE: return isSetNeedMerge(); + case TXN_ID: + return isSetTxnId(); + case VALID_WRITE_ID_LIST: + return isSetValidWriteIdList(); } throw new IllegalStateException(); } @@ -302,6 +397,24 @@ public boolean equals(SetPartitionsStatsRequest that) { return false; } + boolean this_present_txnId = true && this.isSetTxnId(); + boolean that_present_txnId = true && that.isSetTxnId(); + if (this_present_txnId || that_present_txnId) { + if (!(this_present_txnId && that_present_txnId)) + return false; + if (this.txnId != that.txnId) + return false; + } + + boolean this_present_validWriteIdList = true && this.isSetValidWriteIdList(); + boolean that_present_validWriteIdList = true && that.isSetValidWriteIdList(); + if (this_present_validWriteIdList || that_present_validWriteIdList) { + if (!(this_present_validWriteIdList && that_present_validWriteIdList)) + return false; + if (!this.validWriteIdList.equals(that.validWriteIdList)) + return false; + } + return true; } @@ -319,6 +432,16 @@ public int hashCode() { if (present_needMerge) list.add(needMerge); + boolean present_txnId = true && (isSetTxnId()); + list.add(present_txnId); + if (present_txnId) + list.add(txnId); + + boolean present_validWriteIdList = true && (isSetValidWriteIdList()); + list.add(present_validWriteIdList); + if (present_validWriteIdList) + list.add(validWriteIdList); + return list.hashCode(); } @@ -350,6 +473,26 @@ public int compareTo(SetPartitionsStatsRequest other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetTxnId()).compareTo(other.isSetTxnId()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTxnId()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnId, other.txnId); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetValidWriteIdList()).compareTo(other.isSetValidWriteIdList()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetValidWriteIdList()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.validWriteIdList, other.validWriteIdList); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -383,6 +526,22 @@ public String toString() { sb.append(this.needMerge); first = false; } + if (isSetTxnId()) { + if (!first) sb.append(", "); + sb.append("txnId:"); + sb.append(this.txnId); + first = false; + } + if (isSetValidWriteIdList()) { + if (!first) sb.append(", "); + sb.append("validWriteIdList:"); + if (this.validWriteIdList == null) { + sb.append("null"); + } else { + sb.append(this.validWriteIdList); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -459,6 +618,22 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SetPartitionsStatsR org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 3: // TXN_ID + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.txnId = iprot.readI64(); + struct.setTxnIdIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // VALID_WRITE_ID_LIST + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.validWriteIdList = iprot.readString(); + struct.setValidWriteIdListIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -489,6 +664,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, SetPartitionsStats oprot.writeBool(struct.needMerge); oprot.writeFieldEnd(); } + if (struct.isSetTxnId()) { + oprot.writeFieldBegin(TXN_ID_FIELD_DESC); + oprot.writeI64(struct.txnId); + oprot.writeFieldEnd(); + } + if (struct.validWriteIdList != null) { + if (struct.isSetValidWriteIdList()) { + oprot.writeFieldBegin(VALID_WRITE_ID_LIST_FIELD_DESC); + oprot.writeString(struct.validWriteIdList); + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -517,10 +704,22 @@ public void write(org.apache.thrift.protocol.TProtocol prot, SetPartitionsStatsR if (struct.isSetNeedMerge()) { optionals.set(0); } - oprot.writeBitSet(optionals, 1); + if (struct.isSetTxnId()) { + optionals.set(1); + } + if (struct.isSetValidWriteIdList()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); if (struct.isSetNeedMerge()) { oprot.writeBool(struct.needMerge); } + if (struct.isSetTxnId()) { + oprot.writeI64(struct.txnId); + } + if (struct.isSetValidWriteIdList()) { + oprot.writeString(struct.validWriteIdList); + } } @Override @@ -538,11 +737,19 @@ public void read(org.apache.thrift.protocol.TProtocol prot, SetPartitionsStatsRe } } struct.setColStatsIsSet(true); - BitSet incoming = iprot.readBitSet(1); + BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.needMerge = iprot.readBool(); struct.setNeedMergeIsSet(true); } + if (incoming.get(1)) { + struct.txnId = iprot.readI64(); + struct.setTxnIdIsSet(true); + } + if (incoming.get(2)) { + struct.validWriteIdList = iprot.readString(); + struct.setValidWriteIdListIsSet(true); + } } } diff --git standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java index 38d4f64f64..d9f17cc53a 100644 --- standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java +++ standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java @@ -56,6 +56,9 @@ private static final org.apache.thrift.protocol.TField CREATION_METADATA_FIELD_DESC = new org.apache.thrift.protocol.TField("creationMetadata", org.apache.thrift.protocol.TType.STRUCT, (short)16); private static final org.apache.thrift.protocol.TField CAT_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("catName", org.apache.thrift.protocol.TType.STRING, (short)17); private static final org.apache.thrift.protocol.TField OWNER_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("ownerType", org.apache.thrift.protocol.TType.I32, (short)18); + private static final org.apache.thrift.protocol.TField TXN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("txnId", org.apache.thrift.protocol.TType.I64, (short)19); + private static final org.apache.thrift.protocol.TField VALID_WRITE_ID_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("validWriteIdList", org.apache.thrift.protocol.TType.STRING, (short)20); + private static final org.apache.thrift.protocol.TField IS_STATS_COMPLIANT_FIELD_DESC = new org.apache.thrift.protocol.TField("isStatsCompliant", org.apache.thrift.protocol.TType.I32, (short)21); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -81,6 +84,9 @@ private CreationMetadata creationMetadata; // optional private String catName; // optional private PrincipalType ownerType; // optional + private long txnId; // optional + private String validWriteIdList; // optional + private IsolationLevelCompliance isStatsCompliant; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { @@ -105,7 +111,14 @@ * * @see PrincipalType */ - OWNER_TYPE((short)18, "ownerType"); + OWNER_TYPE((short)18, "ownerType"), + TXN_ID((short)19, "txnId"), + VALID_WRITE_ID_LIST((short)20, "validWriteIdList"), + /** + * + * @see IsolationLevelCompliance + */ + IS_STATS_COMPLIANT((short)21, "isStatsCompliant"); private static final Map byName = new HashMap(); @@ -156,6 +169,12 @@ public static _Fields findByThriftId(int fieldId) { return CAT_NAME; case 18: // OWNER_TYPE return OWNER_TYPE; + case 19: // TXN_ID + return TXN_ID; + case 20: // VALID_WRITE_ID_LIST + return VALID_WRITE_ID_LIST; + case 21: // IS_STATS_COMPLIANT + return IS_STATS_COMPLIANT; default: return null; } @@ -201,8 +220,9 @@ public String getFieldName() { private static final int __RETENTION_ISSET_ID = 2; private static final int __TEMPORARY_ISSET_ID = 3; private static final int __REWRITEENABLED_ISSET_ID = 4; + private static final int __TXNID_ISSET_ID = 5; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.PRIVILEGES,_Fields.TEMPORARY,_Fields.REWRITE_ENABLED,_Fields.CREATION_METADATA,_Fields.CAT_NAME,_Fields.OWNER_TYPE}; + private static final _Fields optionals[] = {_Fields.PRIVILEGES,_Fields.TEMPORARY,_Fields.REWRITE_ENABLED,_Fields.CREATION_METADATA,_Fields.CAT_NAME,_Fields.OWNER_TYPE,_Fields.TXN_ID,_Fields.VALID_WRITE_ID_LIST,_Fields.IS_STATS_COMPLIANT}; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); @@ -245,6 +265,12 @@ public String getFieldName() { 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, new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, PrincipalType.class))); + tmpMap.put(_Fields.TXN_ID, new org.apache.thrift.meta_data.FieldMetaData("txnId", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.VALID_WRITE_ID_LIST, new org.apache.thrift.meta_data.FieldMetaData("validWriteIdList", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.IS_STATS_COMPLIANT, new org.apache.thrift.meta_data.FieldMetaData("isStatsCompliant", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, IsolationLevelCompliance.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Table.class, metaDataMap); } @@ -254,6 +280,8 @@ public Table() { this.ownerType = org.apache.hadoop.hive.metastore.api.PrincipalType.USER; + this.txnId = -1L; + } public Table( @@ -342,6 +370,13 @@ public Table(Table other) { if (other.isSetOwnerType()) { this.ownerType = other.ownerType; } + this.txnId = other.txnId; + if (other.isSetValidWriteIdList()) { + this.validWriteIdList = other.validWriteIdList; + } + if (other.isSetIsStatsCompliant()) { + this.isStatsCompliant = other.isStatsCompliant; + } } public Table deepCopy() { @@ -374,6 +409,10 @@ public void clear() { this.catName = null; this.ownerType = org.apache.hadoop.hive.metastore.api.PrincipalType.USER; + this.txnId = -1L; + + this.validWriteIdList = null; + this.isStatsCompliant = null; } public String getTableName() { @@ -819,6 +858,82 @@ public void setOwnerTypeIsSet(boolean value) { } } + public long getTxnId() { + return this.txnId; + } + + public void setTxnId(long txnId) { + this.txnId = txnId; + setTxnIdIsSet(true); + } + + public void unsetTxnId() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TXNID_ISSET_ID); + } + + /** Returns true if field txnId is set (has been assigned a value) and false otherwise */ + public boolean isSetTxnId() { + return EncodingUtils.testBit(__isset_bitfield, __TXNID_ISSET_ID); + } + + public void setTxnIdIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TXNID_ISSET_ID, value); + } + + public String getValidWriteIdList() { + return this.validWriteIdList; + } + + public void setValidWriteIdList(String validWriteIdList) { + this.validWriteIdList = validWriteIdList; + } + + public void unsetValidWriteIdList() { + this.validWriteIdList = null; + } + + /** Returns true if field validWriteIdList is set (has been assigned a value) and false otherwise */ + public boolean isSetValidWriteIdList() { + return this.validWriteIdList != null; + } + + public void setValidWriteIdListIsSet(boolean value) { + if (!value) { + this.validWriteIdList = null; + } + } + + /** + * + * @see IsolationLevelCompliance + */ + public IsolationLevelCompliance getIsStatsCompliant() { + return this.isStatsCompliant; + } + + /** + * + * @see IsolationLevelCompliance + */ + public void setIsStatsCompliant(IsolationLevelCompliance isStatsCompliant) { + this.isStatsCompliant = isStatsCompliant; + } + + public void unsetIsStatsCompliant() { + this.isStatsCompliant = null; + } + + /** Returns true if field isStatsCompliant is set (has been assigned a value) and false otherwise */ + public boolean isSetIsStatsCompliant() { + return this.isStatsCompliant != null; + } + + public void setIsStatsCompliantIsSet(boolean value) { + if (!value) { + this.isStatsCompliant = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case TABLE_NAME: @@ -965,6 +1080,30 @@ public void setFieldValue(_Fields field, Object value) { } break; + case TXN_ID: + if (value == null) { + unsetTxnId(); + } else { + setTxnId((Long)value); + } + break; + + case VALID_WRITE_ID_LIST: + if (value == null) { + unsetValidWriteIdList(); + } else { + setValidWriteIdList((String)value); + } + break; + + case IS_STATS_COMPLIANT: + if (value == null) { + unsetIsStatsCompliant(); + } else { + setIsStatsCompliant((IsolationLevelCompliance)value); + } + break; + } } @@ -1024,6 +1163,15 @@ public Object getFieldValue(_Fields field) { case OWNER_TYPE: return getOwnerType(); + case TXN_ID: + return getTxnId(); + + case VALID_WRITE_ID_LIST: + return getValidWriteIdList(); + + case IS_STATS_COMPLIANT: + return getIsStatsCompliant(); + } throw new IllegalStateException(); } @@ -1071,6 +1219,12 @@ public boolean isSet(_Fields field) { return isSetCatName(); case OWNER_TYPE: return isSetOwnerType(); + case TXN_ID: + return isSetTxnId(); + case VALID_WRITE_ID_LIST: + return isSetValidWriteIdList(); + case IS_STATS_COMPLIANT: + return isSetIsStatsCompliant(); } throw new IllegalStateException(); } @@ -1250,6 +1404,33 @@ public boolean equals(Table that) { return false; } + boolean this_present_txnId = true && this.isSetTxnId(); + boolean that_present_txnId = true && that.isSetTxnId(); + if (this_present_txnId || that_present_txnId) { + if (!(this_present_txnId && that_present_txnId)) + return false; + if (this.txnId != that.txnId) + return false; + } + + boolean this_present_validWriteIdList = true && this.isSetValidWriteIdList(); + boolean that_present_validWriteIdList = true && that.isSetValidWriteIdList(); + if (this_present_validWriteIdList || that_present_validWriteIdList) { + if (!(this_present_validWriteIdList && that_present_validWriteIdList)) + return false; + if (!this.validWriteIdList.equals(that.validWriteIdList)) + return false; + } + + boolean this_present_isStatsCompliant = true && this.isSetIsStatsCompliant(); + boolean that_present_isStatsCompliant = true && that.isSetIsStatsCompliant(); + if (this_present_isStatsCompliant || that_present_isStatsCompliant) { + if (!(this_present_isStatsCompliant && that_present_isStatsCompliant)) + return false; + if (!this.isStatsCompliant.equals(that.isStatsCompliant)) + return false; + } + return true; } @@ -1347,6 +1528,21 @@ public int hashCode() { if (present_ownerType) list.add(ownerType.getValue()); + boolean present_txnId = true && (isSetTxnId()); + list.add(present_txnId); + if (present_txnId) + list.add(txnId); + + boolean present_validWriteIdList = true && (isSetValidWriteIdList()); + list.add(present_validWriteIdList); + if (present_validWriteIdList) + list.add(validWriteIdList); + + boolean present_isStatsCompliant = true && (isSetIsStatsCompliant()); + list.add(present_isStatsCompliant); + if (present_isStatsCompliant) + list.add(isStatsCompliant.getValue()); + return list.hashCode(); } @@ -1538,6 +1734,36 @@ public int compareTo(Table other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetTxnId()).compareTo(other.isSetTxnId()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTxnId()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnId, other.txnId); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetValidWriteIdList()).compareTo(other.isSetValidWriteIdList()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetValidWriteIdList()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.validWriteIdList, other.validWriteIdList); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetIsStatsCompliant()).compareTo(other.isSetIsStatsCompliant()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetIsStatsCompliant()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isStatsCompliant, other.isStatsCompliant); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -1693,6 +1919,32 @@ public String toString() { } first = false; } + if (isSetTxnId()) { + if (!first) sb.append(", "); + sb.append("txnId:"); + sb.append(this.txnId); + first = false; + } + if (isSetValidWriteIdList()) { + if (!first) sb.append(", "); + sb.append("validWriteIdList:"); + if (this.validWriteIdList == null) { + sb.append("null"); + } else { + sb.append(this.validWriteIdList); + } + first = false; + } + if (isSetIsStatsCompliant()) { + if (!first) sb.append(", "); + sb.append("isStatsCompliant:"); + if (this.isStatsCompliant == null) { + sb.append("null"); + } else { + sb.append(this.isStatsCompliant); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -1914,6 +2166,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Table struct) throw org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 19: // TXN_ID + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.txnId = iprot.readI64(); + struct.setTxnIdIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 20: // VALID_WRITE_ID_LIST + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.validWriteIdList = iprot.readString(); + struct.setValidWriteIdListIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 21: // IS_STATS_COMPLIANT + if (schemeField.type == org.apache.thrift.protocol.TType.I32) { + struct.isStatsCompliant = org.apache.hadoop.hive.metastore.api.IsolationLevelCompliance.findByValue(iprot.readI32()); + struct.setIsStatsCompliantIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -2034,6 +2310,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Table struct) thro oprot.writeFieldEnd(); } } + if (struct.isSetTxnId()) { + oprot.writeFieldBegin(TXN_ID_FIELD_DESC); + oprot.writeI64(struct.txnId); + oprot.writeFieldEnd(); + } + if (struct.validWriteIdList != null) { + if (struct.isSetValidWriteIdList()) { + oprot.writeFieldBegin(VALID_WRITE_ID_LIST_FIELD_DESC); + oprot.writeString(struct.validWriteIdList); + oprot.writeFieldEnd(); + } + } + if (struct.isStatsCompliant != null) { + if (struct.isSetIsStatsCompliant()) { + oprot.writeFieldBegin(IS_STATS_COMPLIANT_FIELD_DESC); + oprot.writeI32(struct.isStatsCompliant.getValue()); + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -2106,7 +2401,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Table struct) throw if (struct.isSetOwnerType()) { optionals.set(17); } - oprot.writeBitSet(optionals, 18); + if (struct.isSetTxnId()) { + optionals.set(18); + } + if (struct.isSetValidWriteIdList()) { + optionals.set(19); + } + if (struct.isSetIsStatsCompliant()) { + optionals.set(20); + } + oprot.writeBitSet(optionals, 21); if (struct.isSetTableName()) { oprot.writeString(struct.tableName); } @@ -2174,12 +2478,21 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Table struct) throw if (struct.isSetOwnerType()) { oprot.writeI32(struct.ownerType.getValue()); } + if (struct.isSetTxnId()) { + oprot.writeI64(struct.txnId); + } + if (struct.isSetValidWriteIdList()) { + oprot.writeString(struct.validWriteIdList); + } + if (struct.isSetIsStatsCompliant()) { + oprot.writeI32(struct.isStatsCompliant.getValue()); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, Table struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(18); + BitSet incoming = iprot.readBitSet(21); if (incoming.get(0)) { struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); @@ -2276,6 +2589,18 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Table struct) throws struct.ownerType = org.apache.hadoop.hive.metastore.api.PrincipalType.findByValue(iprot.readI32()); struct.setOwnerTypeIsSet(true); } + if (incoming.get(18)) { + struct.txnId = iprot.readI64(); + struct.setTxnIdIsSet(true); + } + if (incoming.get(19)) { + struct.validWriteIdList = iprot.readString(); + struct.setValidWriteIdListIsSet(true); + } + if (incoming.get(20)) { + struct.isStatsCompliant = org.apache.hadoop.hive.metastore.api.IsolationLevelCompliance.findByValue(iprot.readI32()); + struct.setIsStatsCompliantIsSet(true); + } } } diff --git standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java index a663a64c67..c9b70a4456 100644 --- standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java +++ standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java @@ -42,6 +42,8 @@ private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tblName", org.apache.thrift.protocol.TType.STRING, (short)2); private static final org.apache.thrift.protocol.TField COL_NAMES_FIELD_DESC = new org.apache.thrift.protocol.TField("colNames", org.apache.thrift.protocol.TType.LIST, (short)3); private static final org.apache.thrift.protocol.TField CAT_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("catName", org.apache.thrift.protocol.TType.STRING, (short)4); + private static final org.apache.thrift.protocol.TField TXN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("txnId", org.apache.thrift.protocol.TType.I64, (short)5); + private static final org.apache.thrift.protocol.TField VALID_WRITE_ID_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("validWriteIdList", org.apache.thrift.protocol.TType.STRING, (short)6); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -53,13 +55,17 @@ private String tblName; // required private List colNames; // required private String catName; // optional + private long txnId; // optional + private String validWriteIdList; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { DB_NAME((short)1, "dbName"), TBL_NAME((short)2, "tblName"), COL_NAMES((short)3, "colNames"), - CAT_NAME((short)4, "catName"); + CAT_NAME((short)4, "catName"), + TXN_ID((short)5, "txnId"), + VALID_WRITE_ID_LIST((short)6, "validWriteIdList"); private static final Map byName = new HashMap(); @@ -82,6 +88,10 @@ public static _Fields findByThriftId(int fieldId) { return COL_NAMES; case 4: // CAT_NAME return CAT_NAME; + case 5: // TXN_ID + return TXN_ID; + case 6: // VALID_WRITE_ID_LIST + return VALID_WRITE_ID_LIST; default: return null; } @@ -122,7 +132,9 @@ public String getFieldName() { } // isset id assignments - private static final _Fields optionals[] = {_Fields.CAT_NAME}; + private static final int __TXNID_ISSET_ID = 0; + private byte __isset_bitfield = 0; + private static final _Fields optionals[] = {_Fields.CAT_NAME,_Fields.TXN_ID,_Fields.VALID_WRITE_ID_LIST}; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); @@ -135,11 +147,17 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); 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.TXN_ID, new org.apache.thrift.meta_data.FieldMetaData("txnId", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.VALID_WRITE_ID_LIST, new org.apache.thrift.meta_data.FieldMetaData("validWriteIdList", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TableStatsRequest.class, metaDataMap); } public TableStatsRequest() { + this.txnId = -1L; + } public TableStatsRequest( @@ -157,6 +175,7 @@ public TableStatsRequest( * Performs a deep copy on other. */ public TableStatsRequest(TableStatsRequest other) { + __isset_bitfield = other.__isset_bitfield; if (other.isSetDbName()) { this.dbName = other.dbName; } @@ -170,6 +189,10 @@ public TableStatsRequest(TableStatsRequest other) { if (other.isSetCatName()) { this.catName = other.catName; } + this.txnId = other.txnId; + if (other.isSetValidWriteIdList()) { + this.validWriteIdList = other.validWriteIdList; + } } public TableStatsRequest deepCopy() { @@ -182,6 +205,9 @@ public void clear() { this.tblName = null; this.colNames = null; this.catName = null; + this.txnId = -1L; + + this.validWriteIdList = null; } public String getDbName() { @@ -291,6 +317,51 @@ public void setCatNameIsSet(boolean value) { } } + public long getTxnId() { + return this.txnId; + } + + public void setTxnId(long txnId) { + this.txnId = txnId; + setTxnIdIsSet(true); + } + + public void unsetTxnId() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TXNID_ISSET_ID); + } + + /** Returns true if field txnId is set (has been assigned a value) and false otherwise */ + public boolean isSetTxnId() { + return EncodingUtils.testBit(__isset_bitfield, __TXNID_ISSET_ID); + } + + public void setTxnIdIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TXNID_ISSET_ID, value); + } + + public String getValidWriteIdList() { + return this.validWriteIdList; + } + + public void setValidWriteIdList(String validWriteIdList) { + this.validWriteIdList = validWriteIdList; + } + + public void unsetValidWriteIdList() { + this.validWriteIdList = null; + } + + /** Returns true if field validWriteIdList is set (has been assigned a value) and false otherwise */ + public boolean isSetValidWriteIdList() { + return this.validWriteIdList != null; + } + + public void setValidWriteIdListIsSet(boolean value) { + if (!value) { + this.validWriteIdList = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case DB_NAME: @@ -325,6 +396,22 @@ public void setFieldValue(_Fields field, Object value) { } break; + case TXN_ID: + if (value == null) { + unsetTxnId(); + } else { + setTxnId((Long)value); + } + break; + + case VALID_WRITE_ID_LIST: + if (value == null) { + unsetValidWriteIdList(); + } else { + setValidWriteIdList((String)value); + } + break; + } } @@ -342,6 +429,12 @@ public Object getFieldValue(_Fields field) { case CAT_NAME: return getCatName(); + case TXN_ID: + return getTxnId(); + + case VALID_WRITE_ID_LIST: + return getValidWriteIdList(); + } throw new IllegalStateException(); } @@ -361,6 +454,10 @@ public boolean isSet(_Fields field) { return isSetColNames(); case CAT_NAME: return isSetCatName(); + case TXN_ID: + return isSetTxnId(); + case VALID_WRITE_ID_LIST: + return isSetValidWriteIdList(); } throw new IllegalStateException(); } @@ -414,6 +511,24 @@ public boolean equals(TableStatsRequest that) { return false; } + boolean this_present_txnId = true && this.isSetTxnId(); + boolean that_present_txnId = true && that.isSetTxnId(); + if (this_present_txnId || that_present_txnId) { + if (!(this_present_txnId && that_present_txnId)) + return false; + if (this.txnId != that.txnId) + return false; + } + + boolean this_present_validWriteIdList = true && this.isSetValidWriteIdList(); + boolean that_present_validWriteIdList = true && that.isSetValidWriteIdList(); + if (this_present_validWriteIdList || that_present_validWriteIdList) { + if (!(this_present_validWriteIdList && that_present_validWriteIdList)) + return false; + if (!this.validWriteIdList.equals(that.validWriteIdList)) + return false; + } + return true; } @@ -441,6 +556,16 @@ public int hashCode() { if (present_catName) list.add(catName); + boolean present_txnId = true && (isSetTxnId()); + list.add(present_txnId); + if (present_txnId) + list.add(txnId); + + boolean present_validWriteIdList = true && (isSetValidWriteIdList()); + list.add(present_validWriteIdList); + if (present_validWriteIdList) + list.add(validWriteIdList); + return list.hashCode(); } @@ -492,6 +617,26 @@ public int compareTo(TableStatsRequest other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetTxnId()).compareTo(other.isSetTxnId()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTxnId()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnId, other.txnId); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetValidWriteIdList()).compareTo(other.isSetValidWriteIdList()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetValidWriteIdList()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.validWriteIdList, other.validWriteIdList); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -545,6 +690,22 @@ public String toString() { } first = false; } + if (isSetTxnId()) { + if (!first) sb.append(", "); + sb.append("txnId:"); + sb.append(this.txnId); + first = false; + } + if (isSetValidWriteIdList()) { + if (!first) sb.append(", "); + sb.append("validWriteIdList:"); + if (this.validWriteIdList == null) { + sb.append("null"); + } else { + sb.append(this.validWriteIdList); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -576,6 +737,8 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); @@ -642,6 +805,22 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TableStatsRequest s org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 5: // TXN_ID + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.txnId = iprot.readI64(); + struct.setTxnIdIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // VALID_WRITE_ID_LIST + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.validWriteIdList = iprot.readString(); + struct.setValidWriteIdListIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -684,6 +863,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TableStatsRequest oprot.writeFieldEnd(); } } + if (struct.isSetTxnId()) { + oprot.writeFieldBegin(TXN_ID_FIELD_DESC); + oprot.writeI64(struct.txnId); + oprot.writeFieldEnd(); + } + if (struct.validWriteIdList != null) { + if (struct.isSetValidWriteIdList()) { + oprot.writeFieldBegin(VALID_WRITE_ID_LIST_FIELD_DESC); + oprot.writeString(struct.validWriteIdList); + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -714,10 +905,22 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TableStatsRequest s if (struct.isSetCatName()) { optionals.set(0); } - oprot.writeBitSet(optionals, 1); + if (struct.isSetTxnId()) { + optionals.set(1); + } + if (struct.isSetValidWriteIdList()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); if (struct.isSetCatName()) { oprot.writeString(struct.catName); } + if (struct.isSetTxnId()) { + oprot.writeI64(struct.txnId); + } + if (struct.isSetValidWriteIdList()) { + oprot.writeString(struct.validWriteIdList); + } } @Override @@ -738,11 +941,19 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TableStatsRequest st } } struct.setColNamesIsSet(true); - BitSet incoming = iprot.readBitSet(1); + BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.catName = iprot.readString(); struct.setCatNameIsSet(true); } + if (incoming.get(1)) { + struct.txnId = iprot.readI64(); + struct.setTxnIdIsSet(true); + } + if (incoming.get(2)) { + struct.validWriteIdList = iprot.readString(); + struct.setValidWriteIdListIsSet(true); + } } } diff --git standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java index dff7d5c204..4864f68133 100644 --- standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java +++ standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java @@ -39,6 +39,7 @@ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TableStatsResult"); private static final org.apache.thrift.protocol.TField TABLE_STATS_FIELD_DESC = new org.apache.thrift.protocol.TField("tableStats", org.apache.thrift.protocol.TType.LIST, (short)1); + private static final org.apache.thrift.protocol.TField IS_STATS_COMPLIANT_FIELD_DESC = new org.apache.thrift.protocol.TField("isStatsCompliant", org.apache.thrift.protocol.TType.I32, (short)2); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -47,10 +48,16 @@ } private List tableStats; // required + private IsolationLevelCompliance isStatsCompliant; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - TABLE_STATS((short)1, "tableStats"); + TABLE_STATS((short)1, "tableStats"), + /** + * + * @see IsolationLevelCompliance + */ + IS_STATS_COMPLIANT((short)2, "isStatsCompliant"); private static final Map byName = new HashMap(); @@ -67,6 +74,8 @@ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TABLE_STATS return TABLE_STATS; + case 2: // IS_STATS_COMPLIANT + return IS_STATS_COMPLIANT; default: return null; } @@ -107,12 +116,15 @@ public String getFieldName() { } // isset id assignments + private static final _Fields optionals[] = {_Fields.IS_STATS_COMPLIANT}; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.TABLE_STATS, new org.apache.thrift.meta_data.FieldMetaData("tableStats", org.apache.thrift.TFieldRequirementType.REQUIRED, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ColumnStatisticsObj.class)))); + tmpMap.put(_Fields.IS_STATS_COMPLIANT, new org.apache.thrift.meta_data.FieldMetaData("isStatsCompliant", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, IsolationLevelCompliance.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TableStatsResult.class, metaDataMap); } @@ -138,6 +150,9 @@ public TableStatsResult(TableStatsResult other) { } this.tableStats = __this__tableStats; } + if (other.isSetIsStatsCompliant()) { + this.isStatsCompliant = other.isStatsCompliant; + } } public TableStatsResult deepCopy() { @@ -147,6 +162,7 @@ public TableStatsResult deepCopy() { @Override public void clear() { this.tableStats = null; + this.isStatsCompliant = null; } public int getTableStatsSize() { @@ -187,6 +203,37 @@ public void setTableStatsIsSet(boolean value) { } } + /** + * + * @see IsolationLevelCompliance + */ + public IsolationLevelCompliance getIsStatsCompliant() { + return this.isStatsCompliant; + } + + /** + * + * @see IsolationLevelCompliance + */ + public void setIsStatsCompliant(IsolationLevelCompliance isStatsCompliant) { + this.isStatsCompliant = isStatsCompliant; + } + + public void unsetIsStatsCompliant() { + this.isStatsCompliant = null; + } + + /** Returns true if field isStatsCompliant is set (has been assigned a value) and false otherwise */ + public boolean isSetIsStatsCompliant() { + return this.isStatsCompliant != null; + } + + public void setIsStatsCompliantIsSet(boolean value) { + if (!value) { + this.isStatsCompliant = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case TABLE_STATS: @@ -197,6 +244,14 @@ public void setFieldValue(_Fields field, Object value) { } break; + case IS_STATS_COMPLIANT: + if (value == null) { + unsetIsStatsCompliant(); + } else { + setIsStatsCompliant((IsolationLevelCompliance)value); + } + break; + } } @@ -205,6 +260,9 @@ public Object getFieldValue(_Fields field) { case TABLE_STATS: return getTableStats(); + case IS_STATS_COMPLIANT: + return getIsStatsCompliant(); + } throw new IllegalStateException(); } @@ -218,6 +276,8 @@ public boolean isSet(_Fields field) { switch (field) { case TABLE_STATS: return isSetTableStats(); + case IS_STATS_COMPLIANT: + return isSetIsStatsCompliant(); } throw new IllegalStateException(); } @@ -244,6 +304,15 @@ public boolean equals(TableStatsResult that) { return false; } + boolean this_present_isStatsCompliant = true && this.isSetIsStatsCompliant(); + boolean that_present_isStatsCompliant = true && that.isSetIsStatsCompliant(); + if (this_present_isStatsCompliant || that_present_isStatsCompliant) { + if (!(this_present_isStatsCompliant && that_present_isStatsCompliant)) + return false; + if (!this.isStatsCompliant.equals(that.isStatsCompliant)) + return false; + } + return true; } @@ -256,6 +325,11 @@ public int hashCode() { if (present_tableStats) list.add(tableStats); + boolean present_isStatsCompliant = true && (isSetIsStatsCompliant()); + list.add(present_isStatsCompliant); + if (present_isStatsCompliant) + list.add(isStatsCompliant.getValue()); + return list.hashCode(); } @@ -277,6 +351,16 @@ public int compareTo(TableStatsResult other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetIsStatsCompliant()).compareTo(other.isSetIsStatsCompliant()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetIsStatsCompliant()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isStatsCompliant, other.isStatsCompliant); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -304,6 +388,16 @@ public String toString() { sb.append(this.tableStats); } first = false; + if (isSetIsStatsCompliant()) { + if (!first) sb.append(", "); + sb.append("isStatsCompliant:"); + if (this.isStatsCompliant == null) { + sb.append("null"); + } else { + sb.append(this.isStatsCompliant); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -370,6 +464,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TableStatsResult st org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 2: // IS_STATS_COMPLIANT + if (schemeField.type == org.apache.thrift.protocol.TType.I32) { + struct.isStatsCompliant = org.apache.hadoop.hive.metastore.api.IsolationLevelCompliance.findByValue(iprot.readI32()); + struct.setIsStatsCompliantIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -395,6 +497,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TableStatsResult s } oprot.writeFieldEnd(); } + if (struct.isStatsCompliant != null) { + if (struct.isSetIsStatsCompliant()) { + oprot.writeFieldBegin(IS_STATS_COMPLIANT_FIELD_DESC); + oprot.writeI32(struct.isStatsCompliant.getValue()); + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -419,6 +528,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TableStatsResult st _iter428.write(oprot); } } + BitSet optionals = new BitSet(); + if (struct.isSetIsStatsCompliant()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetIsStatsCompliant()) { + oprot.writeI32(struct.isStatsCompliant.getValue()); + } } @Override @@ -436,6 +553,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TableStatsResult str } } struct.setTableStatsIsSet(true); + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.isStatsCompliant = org.apache.hadoop.hive.metastore.api.IsolationLevelCompliance.findByValue(iprot.readI32()); + struct.setIsStatsCompliantIsSet(true); + } } } diff --git standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php index 353c0deb91..61a2c3f707 100644 --- standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php +++ standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php @@ -203,6 +203,17 @@ final class SchemaVersionState { ); } +final class IsolationLevelCompliance { + const YES = 1; + const NO = 2; + const UNKNOWN = 3; + static public $__names = array( + 1 => 'YES', + 2 => 'NO', + 3 => 'UNKNOWN', + ); +} + final class FunctionType { const JAVA = 1; static public $__names = array( @@ -6391,6 +6402,18 @@ class Table { * @var int */ public $ownerType = 1; + /** + * @var int + */ + public $txnId = -1; + /** + * @var string + */ + public $validWriteIdList = null; + /** + * @var int + */ + public $isStatsCompliant = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -6483,6 +6506,18 @@ class Table { 'var' => 'ownerType', 'type' => TType::I32, ), + 19 => array( + 'var' => 'txnId', + 'type' => TType::I64, + ), + 20 => array( + 'var' => 'validWriteIdList', + 'type' => TType::STRING, + ), + 21 => array( + 'var' => 'isStatsCompliant', + 'type' => TType::I32, + ), ); } if (is_array($vals)) { @@ -6540,6 +6575,15 @@ class Table { if (isset($vals['ownerType'])) { $this->ownerType = $vals['ownerType']; } + if (isset($vals['txnId'])) { + $this->txnId = $vals['txnId']; + } + if (isset($vals['validWriteIdList'])) { + $this->validWriteIdList = $vals['validWriteIdList']; + } + if (isset($vals['isStatsCompliant'])) { + $this->isStatsCompliant = $vals['isStatsCompliant']; + } } } @@ -6715,6 +6759,27 @@ class Table { $xfer += $input->skip($ftype); } break; + case 19: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->txnId); + } else { + $xfer += $input->skip($ftype); + } + break; + case 20: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->validWriteIdList); + } else { + $xfer += $input->skip($ftype); + } + break; + case 21: + if ($ftype == TType::I32) { + $xfer += $input->readI32($this->isStatsCompliant); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -6852,6 +6917,21 @@ class Table { $xfer += $output->writeI32($this->ownerType); $xfer += $output->writeFieldEnd(); } + if ($this->txnId !== null) { + $xfer += $output->writeFieldBegin('txnId', TType::I64, 19); + $xfer += $output->writeI64($this->txnId); + $xfer += $output->writeFieldEnd(); + } + if ($this->validWriteIdList !== null) { + $xfer += $output->writeFieldBegin('validWriteIdList', TType::STRING, 20); + $xfer += $output->writeString($this->validWriteIdList); + $xfer += $output->writeFieldEnd(); + } + if ($this->isStatsCompliant !== null) { + $xfer += $output->writeFieldBegin('isStatsCompliant', TType::I32, 21); + $xfer += $output->writeI32($this->isStatsCompliant); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -6898,6 +6978,18 @@ class Partition { * @var string */ public $catName = null; + /** + * @var int + */ + public $txnId = -1; + /** + * @var string + */ + public $validWriteIdList = null; + /** + * @var int + */ + public $isStatsCompliant = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -6952,6 +7044,18 @@ class Partition { 'var' => 'catName', 'type' => TType::STRING, ), + 10 => array( + 'var' => 'txnId', + 'type' => TType::I64, + ), + 11 => array( + 'var' => 'validWriteIdList', + 'type' => TType::STRING, + ), + 12 => array( + 'var' => 'isStatsCompliant', + 'type' => TType::I32, + ), ); } if (is_array($vals)) { @@ -6982,6 +7086,15 @@ class Partition { if (isset($vals['catName'])) { $this->catName = $vals['catName']; } + if (isset($vals['txnId'])) { + $this->txnId = $vals['txnId']; + } + if (isset($vals['validWriteIdList'])) { + $this->validWriteIdList = $vals['validWriteIdList']; + } + if (isset($vals['isStatsCompliant'])) { + $this->isStatsCompliant = $vals['isStatsCompliant']; + } } } @@ -7092,6 +7205,27 @@ class Partition { $xfer += $input->skip($ftype); } break; + case 10: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->txnId); + } else { + $xfer += $input->skip($ftype); + } + break; + case 11: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->validWriteIdList); + } else { + $xfer += $input->skip($ftype); + } + break; + case 12: + if ($ftype == TType::I32) { + $xfer += $input->readI32($this->isStatsCompliant); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -7181,6 +7315,21 @@ class Partition { $xfer += $output->writeString($this->catName); $xfer += $output->writeFieldEnd(); } + if ($this->txnId !== null) { + $xfer += $output->writeFieldBegin('txnId', TType::I64, 10); + $xfer += $output->writeI64($this->txnId); + $xfer += $output->writeFieldEnd(); + } + if ($this->validWriteIdList !== null) { + $xfer += $output->writeFieldBegin('validWriteIdList', TType::STRING, 11); + $xfer += $output->writeString($this->validWriteIdList); + $xfer += $output->writeFieldEnd(); + } + if ($this->isStatsCompliant !== null) { + $xfer += $output->writeFieldBegin('isStatsCompliant', TType::I32, 12); + $xfer += $output->writeI32($this->isStatsCompliant); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -7704,6 +7853,18 @@ class PartitionSpec { * @var string */ public $catName = null; + /** + * @var int + */ + public $txnId = -1; + /** + * @var string + */ + public $validWriteIdList = null; + /** + * @var int + */ + public $isStatsCompliant = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -7734,6 +7895,18 @@ class PartitionSpec { 'var' => 'catName', 'type' => TType::STRING, ), + 7 => array( + 'var' => 'txnId', + 'type' => TType::I64, + ), + 8 => array( + 'var' => 'validWriteIdList', + 'type' => TType::STRING, + ), + 9 => array( + 'var' => 'isStatsCompliant', + 'type' => TType::I32, + ), ); } if (is_array($vals)) { @@ -7755,6 +7928,15 @@ class PartitionSpec { if (isset($vals['catName'])) { $this->catName = $vals['catName']; } + if (isset($vals['txnId'])) { + $this->txnId = $vals['txnId']; + } + if (isset($vals['validWriteIdList'])) { + $this->validWriteIdList = $vals['validWriteIdList']; + } + if (isset($vals['isStatsCompliant'])) { + $this->isStatsCompliant = $vals['isStatsCompliant']; + } } } @@ -7821,6 +8003,27 @@ class PartitionSpec { $xfer += $input->skip($ftype); } break; + case 7: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->txnId); + } else { + $xfer += $input->skip($ftype); + } + break; + case 8: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->validWriteIdList); + } else { + $xfer += $input->skip($ftype); + } + break; + case 9: + if ($ftype == TType::I32) { + $xfer += $input->readI32($this->isStatsCompliant); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -7870,6 +8073,21 @@ class PartitionSpec { $xfer += $output->writeString($this->catName); $xfer += $output->writeFieldEnd(); } + if ($this->txnId !== null) { + $xfer += $output->writeFieldBegin('txnId', TType::I64, 7); + $xfer += $output->writeI64($this->txnId); + $xfer += $output->writeFieldEnd(); + } + if ($this->validWriteIdList !== null) { + $xfer += $output->writeFieldBegin('validWriteIdList', TType::STRING, 8); + $xfer += $output->writeString($this->validWriteIdList); + $xfer += $output->writeFieldEnd(); + } + if ($this->isStatsCompliant !== null) { + $xfer += $output->writeFieldBegin('isStatsCompliant', TType::I32, 9); + $xfer += $output->writeI32($this->isStatsCompliant); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -9768,6 +9986,18 @@ class ColumnStatistics { * @var \metastore\ColumnStatisticsObj[] */ public $statsObj = null; + /** + * @var int + */ + public $txnId = -1; + /** + * @var string + */ + public $validWriteIdList = null; + /** + * @var int + */ + public $isStatsCompliant = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -9786,6 +10016,18 @@ class ColumnStatistics { 'class' => '\metastore\ColumnStatisticsObj', ), ), + 3 => array( + 'var' => 'txnId', + 'type' => TType::I64, + ), + 4 => array( + 'var' => 'validWriteIdList', + 'type' => TType::STRING, + ), + 5 => array( + 'var' => 'isStatsCompliant', + 'type' => TType::I32, + ), ); } if (is_array($vals)) { @@ -9795,6 +10037,15 @@ class ColumnStatistics { if (isset($vals['statsObj'])) { $this->statsObj = $vals['statsObj']; } + if (isset($vals['txnId'])) { + $this->txnId = $vals['txnId']; + } + if (isset($vals['validWriteIdList'])) { + $this->validWriteIdList = $vals['validWriteIdList']; + } + if (isset($vals['isStatsCompliant'])) { + $this->isStatsCompliant = $vals['isStatsCompliant']; + } } } @@ -9843,6 +10094,27 @@ class ColumnStatistics { $xfer += $input->skip($ftype); } break; + case 3: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->txnId); + } else { + $xfer += $input->skip($ftype); + } + break; + case 4: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->validWriteIdList); + } else { + $xfer += $input->skip($ftype); + } + break; + case 5: + if ($ftype == TType::I32) { + $xfer += $input->readI32($this->isStatsCompliant); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -9881,6 +10153,21 @@ class ColumnStatistics { } $xfer += $output->writeFieldEnd(); } + if ($this->txnId !== null) { + $xfer += $output->writeFieldBegin('txnId', TType::I64, 3); + $xfer += $output->writeI64($this->txnId); + $xfer += $output->writeFieldEnd(); + } + if ($this->validWriteIdList !== null) { + $xfer += $output->writeFieldBegin('validWriteIdList', TType::STRING, 4); + $xfer += $output->writeString($this->validWriteIdList); + $xfer += $output->writeFieldEnd(); + } + if ($this->isStatsCompliant !== null) { + $xfer += $output->writeFieldBegin('isStatsCompliant', TType::I32, 5); + $xfer += $output->writeI32($this->isStatsCompliant); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -9899,6 +10186,10 @@ class AggrStats { * @var int */ public $partsFound = null; + /** + * @var int + */ + public $isStatsCompliant = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -9916,6 +10207,10 @@ class AggrStats { 'var' => 'partsFound', 'type' => TType::I64, ), + 3 => array( + 'var' => 'isStatsCompliant', + 'type' => TType::I32, + ), ); } if (is_array($vals)) { @@ -9925,6 +10220,9 @@ class AggrStats { if (isset($vals['partsFound'])) { $this->partsFound = $vals['partsFound']; } + if (isset($vals['isStatsCompliant'])) { + $this->isStatsCompliant = $vals['isStatsCompliant']; + } } } @@ -9972,6 +10270,13 @@ class AggrStats { $xfer += $input->skip($ftype); } break; + case 3: + if ($ftype == TType::I32) { + $xfer += $input->readI32($this->isStatsCompliant); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -10007,6 +10312,11 @@ class AggrStats { $xfer += $output->writeI64($this->partsFound); $xfer += $output->writeFieldEnd(); } + if ($this->isStatsCompliant !== null) { + $xfer += $output->writeFieldBegin('isStatsCompliant', TType::I32, 3); + $xfer += $output->writeI32($this->isStatsCompliant); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -10025,6 +10335,14 @@ class SetPartitionsStatsRequest { * @var bool */ public $needMerge = null; + /** + * @var int + */ + public $txnId = -1; + /** + * @var string + */ + public $validWriteIdList = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -10042,6 +10360,14 @@ class SetPartitionsStatsRequest { 'var' => 'needMerge', 'type' => TType::BOOL, ), + 3 => array( + 'var' => 'txnId', + 'type' => TType::I64, + ), + 4 => array( + 'var' => 'validWriteIdList', + 'type' => TType::STRING, + ), ); } if (is_array($vals)) { @@ -10051,6 +10377,12 @@ class SetPartitionsStatsRequest { if (isset($vals['needMerge'])) { $this->needMerge = $vals['needMerge']; } + if (isset($vals['txnId'])) { + $this->txnId = $vals['txnId']; + } + if (isset($vals['validWriteIdList'])) { + $this->validWriteIdList = $vals['validWriteIdList']; + } } } @@ -10098,6 +10430,20 @@ class SetPartitionsStatsRequest { $xfer += $input->skip($ftype); } break; + case 3: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->txnId); + } else { + $xfer += $input->skip($ftype); + } + break; + case 4: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->validWriteIdList); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -10133,6 +10479,16 @@ class SetPartitionsStatsRequest { $xfer += $output->writeBool($this->needMerge); $xfer += $output->writeFieldEnd(); } + if ($this->txnId !== null) { + $xfer += $output->writeFieldBegin('txnId', TType::I64, 3); + $xfer += $output->writeI64($this->txnId); + $xfer += $output->writeFieldEnd(); + } + if ($this->validWriteIdList !== null) { + $xfer += $output->writeFieldBegin('validWriteIdList', TType::STRING, 4); + $xfer += $output->writeString($this->validWriteIdList); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -12884,6 +13240,10 @@ class TableStatsResult { * @var \metastore\ColumnStatisticsObj[] */ public $tableStats = null; + /** + * @var int + */ + public $isStatsCompliant = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -12897,12 +13257,19 @@ class TableStatsResult { 'class' => '\metastore\ColumnStatisticsObj', ), ), + 2 => array( + 'var' => 'isStatsCompliant', + 'type' => TType::I32, + ), ); } if (is_array($vals)) { if (isset($vals['tableStats'])) { $this->tableStats = $vals['tableStats']; } + if (isset($vals['isStatsCompliant'])) { + $this->isStatsCompliant = $vals['isStatsCompliant']; + } } } @@ -12943,6 +13310,13 @@ class TableStatsResult { $xfer += $input->skip($ftype); } break; + case 2: + if ($ftype == TType::I32) { + $xfer += $input->readI32($this->isStatsCompliant); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -12973,6 +13347,11 @@ class TableStatsResult { } $xfer += $output->writeFieldEnd(); } + if ($this->isStatsCompliant !== null) { + $xfer += $output->writeFieldBegin('isStatsCompliant', TType::I32, 2); + $xfer += $output->writeI32($this->isStatsCompliant); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -12987,6 +13366,10 @@ class PartitionsStatsResult { * @var array */ public $partStats = null; + /** + * @var int + */ + public $isStatsCompliant = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -13008,12 +13391,19 @@ class PartitionsStatsResult { ), ), ), + 2 => array( + 'var' => 'isStatsCompliant', + 'type' => TType::I32, + ), ); } if (is_array($vals)) { if (isset($vals['partStats'])) { $this->partStats = $vals['partStats']; } + if (isset($vals['isStatsCompliant'])) { + $this->isStatsCompliant = $vals['isStatsCompliant']; + } } } @@ -13067,6 +13457,13 @@ class PartitionsStatsResult { $xfer += $input->skip($ftype); } break; + case 2: + if ($ftype == TType::I32) { + $xfer += $input->readI32($this->isStatsCompliant); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -13107,6 +13504,11 @@ class PartitionsStatsResult { } $xfer += $output->writeFieldEnd(); } + if ($this->isStatsCompliant !== null) { + $xfer += $output->writeFieldBegin('isStatsCompliant', TType::I32, 2); + $xfer += $output->writeI32($this->isStatsCompliant); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -13133,6 +13535,14 @@ class TableStatsRequest { * @var string */ public $catName = null; + /** + * @var int + */ + public $txnId = -1; + /** + * @var string + */ + public $validWriteIdList = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -13157,6 +13567,14 @@ class TableStatsRequest { 'var' => 'catName', 'type' => TType::STRING, ), + 5 => array( + 'var' => 'txnId', + 'type' => TType::I64, + ), + 6 => array( + 'var' => 'validWriteIdList', + 'type' => TType::STRING, + ), ); } if (is_array($vals)) { @@ -13172,6 +13590,12 @@ class TableStatsRequest { if (isset($vals['catName'])) { $this->catName = $vals['catName']; } + if (isset($vals['txnId'])) { + $this->txnId = $vals['txnId']; + } + if (isset($vals['validWriteIdList'])) { + $this->validWriteIdList = $vals['validWriteIdList']; + } } } @@ -13232,6 +13656,20 @@ class TableStatsRequest { $xfer += $input->skip($ftype); } break; + case 5: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->txnId); + } else { + $xfer += $input->skip($ftype); + } + break; + case 6: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->validWriteIdList); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -13277,6 +13715,16 @@ class TableStatsRequest { $xfer += $output->writeString($this->catName); $xfer += $output->writeFieldEnd(); } + if ($this->txnId !== null) { + $xfer += $output->writeFieldBegin('txnId', TType::I64, 5); + $xfer += $output->writeI64($this->txnId); + $xfer += $output->writeFieldEnd(); + } + if ($this->validWriteIdList !== null) { + $xfer += $output->writeFieldBegin('validWriteIdList', TType::STRING, 6); + $xfer += $output->writeString($this->validWriteIdList); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -13307,6 +13755,14 @@ class PartitionsStatsRequest { * @var string */ public $catName = null; + /** + * @var int + */ + public $txnId = -1; + /** + * @var string + */ + public $validWriteIdList = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -13339,6 +13795,14 @@ class PartitionsStatsRequest { 'var' => 'catName', 'type' => TType::STRING, ), + 6 => array( + 'var' => 'txnId', + 'type' => TType::I64, + ), + 7 => array( + 'var' => 'validWriteIdList', + 'type' => TType::STRING, + ), ); } if (is_array($vals)) { @@ -13357,6 +13821,12 @@ class PartitionsStatsRequest { if (isset($vals['catName'])) { $this->catName = $vals['catName']; } + if (isset($vals['txnId'])) { + $this->txnId = $vals['txnId']; + } + if (isset($vals['validWriteIdList'])) { + $this->validWriteIdList = $vals['validWriteIdList']; + } } } @@ -13434,6 +13904,20 @@ class PartitionsStatsRequest { $xfer += $input->skip($ftype); } break; + case 6: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->txnId); + } else { + $xfer += $input->skip($ftype); + } + break; + case 7: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->validWriteIdList); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -13496,6 +13980,16 @@ class PartitionsStatsRequest { $xfer += $output->writeString($this->catName); $xfer += $output->writeFieldEnd(); } + if ($this->txnId !== null) { + $xfer += $output->writeFieldBegin('txnId', TType::I64, 6); + $xfer += $output->writeI64($this->txnId); + $xfer += $output->writeFieldEnd(); + } + if ($this->validWriteIdList !== null) { + $xfer += $output->writeFieldBegin('validWriteIdList', TType::STRING, 7); + $xfer += $output->writeString($this->validWriteIdList); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -23470,6 +23964,14 @@ class GetTableRequest { * @var string */ public $catName = null; + /** + * @var int + */ + public $txnId = -1; + /** + * @var string + */ + public $validWriteIdList = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -23491,6 +23993,14 @@ class GetTableRequest { 'var' => 'catName', 'type' => TType::STRING, ), + 5 => array( + 'var' => 'txnId', + 'type' => TType::I64, + ), + 6 => array( + 'var' => 'validWriteIdList', + 'type' => TType::STRING, + ), ); } if (is_array($vals)) { @@ -23506,6 +24016,12 @@ class GetTableRequest { if (isset($vals['catName'])) { $this->catName = $vals['catName']; } + if (isset($vals['txnId'])) { + $this->txnId = $vals['txnId']; + } + if (isset($vals['validWriteIdList'])) { + $this->validWriteIdList = $vals['validWriteIdList']; + } } } @@ -23557,6 +24073,20 @@ class GetTableRequest { $xfer += $input->skip($ftype); } break; + case 5: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->txnId); + } else { + $xfer += $input->skip($ftype); + } + break; + case 6: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->validWriteIdList); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -23593,6 +24123,16 @@ class GetTableRequest { $xfer += $output->writeString($this->catName); $xfer += $output->writeFieldEnd(); } + if ($this->txnId !== null) { + $xfer += $output->writeFieldBegin('txnId', TType::I64, 5); + $xfer += $output->writeI64($this->txnId); + $xfer += $output->writeFieldEnd(); + } + if ($this->validWriteIdList !== null) { + $xfer += $output->writeFieldBegin('validWriteIdList', TType::STRING, 6); + $xfer += $output->writeString($this->validWriteIdList); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -23607,6 +24147,10 @@ class GetTableResult { * @var \metastore\Table */ public $table = null; + /** + * @var int + */ + public $isStatsCompliant = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -23616,12 +24160,19 @@ class GetTableResult { 'type' => TType::STRUCT, 'class' => '\metastore\Table', ), + 2 => array( + 'var' => 'isStatsCompliant', + 'type' => TType::I32, + ), ); } if (is_array($vals)) { if (isset($vals['table'])) { $this->table = $vals['table']; } + if (isset($vals['isStatsCompliant'])) { + $this->isStatsCompliant = $vals['isStatsCompliant']; + } } } @@ -23652,6 +24203,13 @@ class GetTableResult { $xfer += $input->skip($ftype); } break; + case 2: + if ($ftype == TType::I32) { + $xfer += $input->readI32($this->isStatsCompliant); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -23673,6 +24231,11 @@ class GetTableResult { $xfer += $this->table->write($output); $xfer += $output->writeFieldEnd(); } + if ($this->isStatsCompliant !== null) { + $xfer += $output->writeFieldBegin('isStatsCompliant', TType::I32, 2); + $xfer += $output->writeI32($this->isStatsCompliant); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; diff --git standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py index fdec32e10c..6a36af0f6a 100644 --- standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py +++ standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py @@ -305,6 +305,23 @@ class SchemaVersionState: "DELETED": 8, } +class IsolationLevelCompliance: + YES = 1 + NO = 2 + UNKNOWN = 3 + + _VALUES_TO_NAMES = { + 1: "YES", + 2: "NO", + 3: "UNKNOWN", + } + + _NAMES_TO_VALUES = { + "YES": 1, + "NO": 2, + "UNKNOWN": 3, + } + class FunctionType: JAVA = 1 @@ -4458,6 +4475,9 @@ class Table: - creationMetadata - catName - ownerType + - txnId + - validWriteIdList + - isStatsCompliant """ thrift_spec = ( @@ -4480,9 +4500,12 @@ class Table: (16, TType.STRUCT, 'creationMetadata', (CreationMetadata, CreationMetadata.thrift_spec), None, ), # 16 (17, TType.STRING, 'catName', None, None, ), # 17 (18, TType.I32, 'ownerType', None, 1, ), # 18 + (19, TType.I64, 'txnId', None, -1, ), # 19 + (20, TType.STRING, 'validWriteIdList', None, None, ), # 20 + (21, TType.I32, 'isStatsCompliant', None, None, ), # 21 ) - def __init__(self, tableName=None, dbName=None, owner=None, createTime=None, lastAccessTime=None, retention=None, sd=None, partitionKeys=None, parameters=None, viewOriginalText=None, viewExpandedText=None, tableType=None, privileges=None, temporary=thrift_spec[14][4], rewriteEnabled=None, creationMetadata=None, catName=None, ownerType=thrift_spec[18][4],): + def __init__(self, tableName=None, dbName=None, owner=None, createTime=None, lastAccessTime=None, retention=None, sd=None, partitionKeys=None, parameters=None, viewOriginalText=None, viewExpandedText=None, tableType=None, privileges=None, temporary=thrift_spec[14][4], rewriteEnabled=None, creationMetadata=None, catName=None, ownerType=thrift_spec[18][4], txnId=thrift_spec[19][4], validWriteIdList=None, isStatsCompliant=None,): self.tableName = tableName self.dbName = dbName self.owner = owner @@ -4501,6 +4524,9 @@ def __init__(self, tableName=None, dbName=None, owner=None, createTime=None, las self.creationMetadata = creationMetadata self.catName = catName self.ownerType = ownerType + self.txnId = txnId + self.validWriteIdList = validWriteIdList + self.isStatsCompliant = isStatsCompliant 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: @@ -4616,6 +4642,21 @@ def read(self, iprot): self.ownerType = iprot.readI32() else: iprot.skip(ftype) + elif fid == 19: + if ftype == TType.I64: + self.txnId = iprot.readI64() + else: + iprot.skip(ftype) + elif fid == 20: + if ftype == TType.STRING: + self.validWriteIdList = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 21: + if ftype == TType.I32: + self.isStatsCompliant = iprot.readI32() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -4705,6 +4746,18 @@ def write(self, oprot): oprot.writeFieldBegin('ownerType', TType.I32, 18) oprot.writeI32(self.ownerType) oprot.writeFieldEnd() + if self.txnId is not None: + oprot.writeFieldBegin('txnId', TType.I64, 19) + oprot.writeI64(self.txnId) + oprot.writeFieldEnd() + if self.validWriteIdList is not None: + oprot.writeFieldBegin('validWriteIdList', TType.STRING, 20) + oprot.writeString(self.validWriteIdList) + oprot.writeFieldEnd() + if self.isStatsCompliant is not None: + oprot.writeFieldBegin('isStatsCompliant', TType.I32, 21) + oprot.writeI32(self.isStatsCompliant) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -4732,6 +4785,9 @@ def __hash__(self): value = (value * 31) ^ hash(self.creationMetadata) value = (value * 31) ^ hash(self.catName) value = (value * 31) ^ hash(self.ownerType) + value = (value * 31) ^ hash(self.txnId) + value = (value * 31) ^ hash(self.validWriteIdList) + value = (value * 31) ^ hash(self.isStatsCompliant) return value def __repr__(self): @@ -4757,6 +4813,9 @@ class Partition: - parameters - privileges - catName + - txnId + - validWriteIdList + - isStatsCompliant """ thrift_spec = ( @@ -4770,9 +4829,12 @@ class Partition: (7, TType.MAP, 'parameters', (TType.STRING,None,TType.STRING,None), None, ), # 7 (8, TType.STRUCT, 'privileges', (PrincipalPrivilegeSet, PrincipalPrivilegeSet.thrift_spec), None, ), # 8 (9, TType.STRING, 'catName', None, None, ), # 9 + (10, TType.I64, 'txnId', None, -1, ), # 10 + (11, TType.STRING, 'validWriteIdList', None, None, ), # 11 + (12, TType.I32, 'isStatsCompliant', None, None, ), # 12 ) - def __init__(self, values=None, dbName=None, tableName=None, createTime=None, lastAccessTime=None, sd=None, parameters=None, privileges=None, catName=None,): + def __init__(self, values=None, dbName=None, tableName=None, createTime=None, lastAccessTime=None, sd=None, parameters=None, privileges=None, catName=None, txnId=thrift_spec[10][4], validWriteIdList=None, isStatsCompliant=None,): self.values = values self.dbName = dbName self.tableName = tableName @@ -4782,6 +4844,9 @@ def __init__(self, values=None, dbName=None, tableName=None, createTime=None, la self.parameters = parameters self.privileges = privileges self.catName = catName + self.txnId = txnId + self.validWriteIdList = validWriteIdList + self.isStatsCompliant = isStatsCompliant 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: @@ -4850,6 +4915,21 @@ def read(self, iprot): self.catName = iprot.readString() else: iprot.skip(ftype) + elif fid == 10: + if ftype == TType.I64: + self.txnId = iprot.readI64() + else: + iprot.skip(ftype) + elif fid == 11: + if ftype == TType.STRING: + self.validWriteIdList = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 12: + if ftype == TType.I32: + self.isStatsCompliant = iprot.readI32() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -4903,6 +4983,18 @@ def write(self, oprot): oprot.writeFieldBegin('catName', TType.STRING, 9) oprot.writeString(self.catName) oprot.writeFieldEnd() + if self.txnId is not None: + oprot.writeFieldBegin('txnId', TType.I64, 10) + oprot.writeI64(self.txnId) + oprot.writeFieldEnd() + if self.validWriteIdList is not None: + oprot.writeFieldBegin('validWriteIdList', TType.STRING, 11) + oprot.writeString(self.validWriteIdList) + oprot.writeFieldEnd() + if self.isStatsCompliant is not None: + oprot.writeFieldBegin('isStatsCompliant', TType.I32, 12) + oprot.writeI32(self.isStatsCompliant) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -4921,6 +5013,9 @@ def __hash__(self): value = (value * 31) ^ hash(self.parameters) value = (value * 31) ^ hash(self.privileges) value = (value * 31) ^ hash(self.catName) + value = (value * 31) ^ hash(self.txnId) + value = (value * 31) ^ hash(self.validWriteIdList) + value = (value * 31) ^ hash(self.isStatsCompliant) return value def __repr__(self): @@ -5254,6 +5349,9 @@ class PartitionSpec: - sharedSDPartitionSpec - partitionList - catName + - txnId + - validWriteIdList + - isStatsCompliant """ thrift_spec = ( @@ -5264,15 +5362,21 @@ class PartitionSpec: (4, TType.STRUCT, 'sharedSDPartitionSpec', (PartitionSpecWithSharedSD, PartitionSpecWithSharedSD.thrift_spec), None, ), # 4 (5, TType.STRUCT, 'partitionList', (PartitionListComposingSpec, PartitionListComposingSpec.thrift_spec), None, ), # 5 (6, TType.STRING, 'catName', None, None, ), # 6 + (7, TType.I64, 'txnId', None, -1, ), # 7 + (8, TType.STRING, 'validWriteIdList', None, None, ), # 8 + (9, TType.I32, 'isStatsCompliant', None, None, ), # 9 ) - def __init__(self, dbName=None, tableName=None, rootPath=None, sharedSDPartitionSpec=None, partitionList=None, catName=None,): + def __init__(self, dbName=None, tableName=None, rootPath=None, sharedSDPartitionSpec=None, partitionList=None, catName=None, txnId=thrift_spec[7][4], validWriteIdList=None, isStatsCompliant=None,): self.dbName = dbName self.tableName = tableName self.rootPath = rootPath self.sharedSDPartitionSpec = sharedSDPartitionSpec self.partitionList = partitionList self.catName = catName + self.txnId = txnId + self.validWriteIdList = validWriteIdList + self.isStatsCompliant = isStatsCompliant 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: @@ -5315,6 +5419,21 @@ def read(self, iprot): self.catName = iprot.readString() else: iprot.skip(ftype) + elif fid == 7: + if ftype == TType.I64: + self.txnId = iprot.readI64() + else: + iprot.skip(ftype) + elif fid == 8: + if ftype == TType.STRING: + self.validWriteIdList = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 9: + if ftype == TType.I32: + self.isStatsCompliant = iprot.readI32() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -5349,6 +5468,18 @@ def write(self, oprot): oprot.writeFieldBegin('catName', TType.STRING, 6) oprot.writeString(self.catName) oprot.writeFieldEnd() + if self.txnId is not None: + oprot.writeFieldBegin('txnId', TType.I64, 7) + oprot.writeI64(self.txnId) + oprot.writeFieldEnd() + if self.validWriteIdList is not None: + oprot.writeFieldBegin('validWriteIdList', TType.STRING, 8) + oprot.writeString(self.validWriteIdList) + oprot.writeFieldEnd() + if self.isStatsCompliant is not None: + oprot.writeFieldBegin('isStatsCompliant', TType.I32, 9) + oprot.writeI32(self.isStatsCompliant) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -5364,6 +5495,9 @@ def __hash__(self): value = (value * 31) ^ hash(self.sharedSDPartitionSpec) value = (value * 31) ^ hash(self.partitionList) value = (value * 31) ^ hash(self.catName) + value = (value * 31) ^ hash(self.txnId) + value = (value * 31) ^ hash(self.validWriteIdList) + value = (value * 31) ^ hash(self.isStatsCompliant) return value def __repr__(self): @@ -6749,17 +6883,26 @@ class ColumnStatistics: Attributes: - statsDesc - statsObj + - txnId + - validWriteIdList + - isStatsCompliant """ thrift_spec = ( None, # 0 (1, TType.STRUCT, 'statsDesc', (ColumnStatisticsDesc, ColumnStatisticsDesc.thrift_spec), None, ), # 1 (2, TType.LIST, 'statsObj', (TType.STRUCT,(ColumnStatisticsObj, ColumnStatisticsObj.thrift_spec)), None, ), # 2 + (3, TType.I64, 'txnId', None, -1, ), # 3 + (4, TType.STRING, 'validWriteIdList', None, None, ), # 4 + (5, TType.I32, 'isStatsCompliant', None, None, ), # 5 ) - def __init__(self, statsDesc=None, statsObj=None,): + def __init__(self, statsDesc=None, statsObj=None, txnId=thrift_spec[3][4], validWriteIdList=None, isStatsCompliant=None,): self.statsDesc = statsDesc self.statsObj = statsObj + self.txnId = txnId + self.validWriteIdList = validWriteIdList + self.isStatsCompliant = isStatsCompliant 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: @@ -6787,6 +6930,21 @@ def read(self, iprot): iprot.readListEnd() else: iprot.skip(ftype) + elif fid == 3: + if ftype == TType.I64: + self.txnId = iprot.readI64() + else: + iprot.skip(ftype) + elif fid == 4: + if ftype == TType.STRING: + self.validWriteIdList = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 5: + if ftype == TType.I32: + self.isStatsCompliant = iprot.readI32() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -6808,6 +6966,18 @@ def write(self, oprot): iter243.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() + if self.txnId is not None: + oprot.writeFieldBegin('txnId', TType.I64, 3) + oprot.writeI64(self.txnId) + oprot.writeFieldEnd() + if self.validWriteIdList is not None: + oprot.writeFieldBegin('validWriteIdList', TType.STRING, 4) + oprot.writeString(self.validWriteIdList) + oprot.writeFieldEnd() + if self.isStatsCompliant is not None: + oprot.writeFieldBegin('isStatsCompliant', TType.I32, 5) + oprot.writeI32(self.isStatsCompliant) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -6823,6 +6993,9 @@ def __hash__(self): value = 17 value = (value * 31) ^ hash(self.statsDesc) value = (value * 31) ^ hash(self.statsObj) + value = (value * 31) ^ hash(self.txnId) + value = (value * 31) ^ hash(self.validWriteIdList) + value = (value * 31) ^ hash(self.isStatsCompliant) return value def __repr__(self): @@ -6841,17 +7014,20 @@ class AggrStats: Attributes: - colStats - partsFound + - isStatsCompliant """ thrift_spec = ( None, # 0 (1, TType.LIST, 'colStats', (TType.STRUCT,(ColumnStatisticsObj, ColumnStatisticsObj.thrift_spec)), None, ), # 1 (2, TType.I64, 'partsFound', None, None, ), # 2 + (3, TType.I32, 'isStatsCompliant', None, None, ), # 3 ) - def __init__(self, colStats=None, partsFound=None,): + def __init__(self, colStats=None, partsFound=None, isStatsCompliant=None,): self.colStats = colStats self.partsFound = partsFound + self.isStatsCompliant = isStatsCompliant 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: @@ -6878,6 +7054,11 @@ def read(self, iprot): self.partsFound = iprot.readI64() else: iprot.skip(ftype) + elif fid == 3: + if ftype == TType.I32: + self.isStatsCompliant = iprot.readI32() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -6899,6 +7080,10 @@ def write(self, oprot): oprot.writeFieldBegin('partsFound', TType.I64, 2) oprot.writeI64(self.partsFound) oprot.writeFieldEnd() + if self.isStatsCompliant is not None: + oprot.writeFieldBegin('isStatsCompliant', TType.I32, 3) + oprot.writeI32(self.isStatsCompliant) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -6914,6 +7099,7 @@ def __hash__(self): value = 17 value = (value * 31) ^ hash(self.colStats) value = (value * 31) ^ hash(self.partsFound) + value = (value * 31) ^ hash(self.isStatsCompliant) return value def __repr__(self): @@ -6932,17 +7118,23 @@ class SetPartitionsStatsRequest: Attributes: - colStats - needMerge + - txnId + - validWriteIdList """ thrift_spec = ( None, # 0 (1, TType.LIST, 'colStats', (TType.STRUCT,(ColumnStatistics, ColumnStatistics.thrift_spec)), None, ), # 1 (2, TType.BOOL, 'needMerge', None, None, ), # 2 + (3, TType.I64, 'txnId', None, -1, ), # 3 + (4, TType.STRING, 'validWriteIdList', None, None, ), # 4 ) - def __init__(self, colStats=None, needMerge=None,): + def __init__(self, colStats=None, needMerge=None, txnId=thrift_spec[3][4], validWriteIdList=None,): self.colStats = colStats self.needMerge = needMerge + self.txnId = txnId + self.validWriteIdList = validWriteIdList 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: @@ -6969,6 +7161,16 @@ def read(self, iprot): self.needMerge = iprot.readBool() else: iprot.skip(ftype) + elif fid == 3: + if ftype == TType.I64: + self.txnId = iprot.readI64() + else: + iprot.skip(ftype) + elif fid == 4: + if ftype == TType.STRING: + self.validWriteIdList = iprot.readString() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -6990,6 +7192,14 @@ def write(self, oprot): oprot.writeFieldBegin('needMerge', TType.BOOL, 2) oprot.writeBool(self.needMerge) oprot.writeFieldEnd() + if self.txnId is not None: + oprot.writeFieldBegin('txnId', TType.I64, 3) + oprot.writeI64(self.txnId) + oprot.writeFieldEnd() + if self.validWriteIdList is not None: + oprot.writeFieldBegin('validWriteIdList', TType.STRING, 4) + oprot.writeString(self.validWriteIdList) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -7003,6 +7213,8 @@ def __hash__(self): value = 17 value = (value * 31) ^ hash(self.colStats) value = (value * 31) ^ hash(self.needMerge) + value = (value * 31) ^ hash(self.txnId) + value = (value * 31) ^ hash(self.validWriteIdList) return value def __repr__(self): @@ -9041,15 +9253,18 @@ class TableStatsResult: """ Attributes: - tableStats + - isStatsCompliant """ thrift_spec = ( None, # 0 (1, TType.LIST, 'tableStats', (TType.STRUCT,(ColumnStatisticsObj, ColumnStatisticsObj.thrift_spec)), None, ), # 1 + (2, TType.I32, 'isStatsCompliant', None, None, ), # 2 ) - def __init__(self, tableStats=None,): + def __init__(self, tableStats=None, isStatsCompliant=None,): self.tableStats = tableStats + self.isStatsCompliant = isStatsCompliant 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: @@ -9071,6 +9286,11 @@ def read(self, iprot): iprot.readListEnd() else: iprot.skip(ftype) + elif fid == 2: + if ftype == TType.I32: + self.isStatsCompliant = iprot.readI32() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -9088,6 +9308,10 @@ def write(self, oprot): iter380.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() + if self.isStatsCompliant is not None: + oprot.writeFieldBegin('isStatsCompliant', TType.I32, 2) + oprot.writeI32(self.isStatsCompliant) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -9100,6 +9324,7 @@ def validate(self): def __hash__(self): value = 17 value = (value * 31) ^ hash(self.tableStats) + value = (value * 31) ^ hash(self.isStatsCompliant) return value def __repr__(self): @@ -9117,15 +9342,18 @@ class PartitionsStatsResult: """ Attributes: - partStats + - isStatsCompliant """ thrift_spec = ( None, # 0 (1, TType.MAP, 'partStats', (TType.STRING,None,TType.LIST,(TType.STRUCT,(ColumnStatisticsObj, ColumnStatisticsObj.thrift_spec))), None, ), # 1 + (2, TType.I32, 'isStatsCompliant', None, None, ), # 2 ) - def __init__(self, partStats=None,): + def __init__(self, partStats=None, isStatsCompliant=None,): self.partStats = partStats + self.isStatsCompliant = isStatsCompliant 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: @@ -9153,6 +9381,11 @@ def read(self, iprot): iprot.readMapEnd() else: iprot.skip(ftype) + elif fid == 2: + if ftype == TType.I32: + self.isStatsCompliant = iprot.readI32() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -9174,6 +9407,10 @@ def write(self, oprot): oprot.writeListEnd() oprot.writeMapEnd() oprot.writeFieldEnd() + if self.isStatsCompliant is not None: + oprot.writeFieldBegin('isStatsCompliant', TType.I32, 2) + oprot.writeI32(self.isStatsCompliant) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -9186,6 +9423,7 @@ def validate(self): def __hash__(self): value = 17 value = (value * 31) ^ hash(self.partStats) + value = (value * 31) ^ hash(self.isStatsCompliant) return value def __repr__(self): @@ -9206,6 +9444,8 @@ class TableStatsRequest: - tblName - colNames - catName + - txnId + - validWriteIdList """ thrift_spec = ( @@ -9214,13 +9454,17 @@ class TableStatsRequest: (2, TType.STRING, 'tblName', None, None, ), # 2 (3, TType.LIST, 'colNames', (TType.STRING,None), None, ), # 3 (4, TType.STRING, 'catName', None, None, ), # 4 + (5, TType.I64, 'txnId', None, -1, ), # 5 + (6, TType.STRING, 'validWriteIdList', None, None, ), # 6 ) - def __init__(self, dbName=None, tblName=None, colNames=None, catName=None,): + def __init__(self, dbName=None, tblName=None, colNames=None, catName=None, txnId=thrift_spec[5][4], validWriteIdList=None,): self.dbName = dbName self.tblName = tblName self.colNames = colNames self.catName = catName + self.txnId = txnId + self.validWriteIdList = validWriteIdList 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: @@ -9256,6 +9500,16 @@ def read(self, iprot): self.catName = iprot.readString() else: iprot.skip(ftype) + elif fid == 5: + if ftype == TType.I64: + self.txnId = iprot.readI64() + else: + iprot.skip(ftype) + elif fid == 6: + if ftype == TType.STRING: + self.validWriteIdList = iprot.readString() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -9285,6 +9539,14 @@ def write(self, oprot): oprot.writeFieldBegin('catName', TType.STRING, 4) oprot.writeString(self.catName) oprot.writeFieldEnd() + if self.txnId is not None: + oprot.writeFieldBegin('txnId', TType.I64, 5) + oprot.writeI64(self.txnId) + oprot.writeFieldEnd() + if self.validWriteIdList is not None: + oprot.writeFieldBegin('validWriteIdList', TType.STRING, 6) + oprot.writeString(self.validWriteIdList) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -9304,6 +9566,8 @@ def __hash__(self): value = (value * 31) ^ hash(self.tblName) value = (value * 31) ^ hash(self.colNames) value = (value * 31) ^ hash(self.catName) + value = (value * 31) ^ hash(self.txnId) + value = (value * 31) ^ hash(self.validWriteIdList) return value def __repr__(self): @@ -9325,6 +9589,8 @@ class PartitionsStatsRequest: - colNames - partNames - catName + - txnId + - validWriteIdList """ thrift_spec = ( @@ -9334,14 +9600,18 @@ class PartitionsStatsRequest: (3, TType.LIST, 'colNames', (TType.STRING,None), None, ), # 3 (4, TType.LIST, 'partNames', (TType.STRING,None), None, ), # 4 (5, TType.STRING, 'catName', None, None, ), # 5 + (6, TType.I64, 'txnId', None, -1, ), # 6 + (7, TType.STRING, 'validWriteIdList', None, None, ), # 7 ) - def __init__(self, dbName=None, tblName=None, colNames=None, partNames=None, catName=None,): + def __init__(self, dbName=None, tblName=None, colNames=None, partNames=None, catName=None, txnId=thrift_spec[6][4], validWriteIdList=None,): self.dbName = dbName self.tblName = tblName self.colNames = colNames self.partNames = partNames self.catName = catName + self.txnId = txnId + self.validWriteIdList = validWriteIdList 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: @@ -9387,6 +9657,16 @@ def read(self, iprot): self.catName = iprot.readString() else: iprot.skip(ftype) + elif fid == 6: + if ftype == TType.I64: + self.txnId = iprot.readI64() + else: + iprot.skip(ftype) + elif fid == 7: + if ftype == TType.STRING: + self.validWriteIdList = iprot.readString() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -9423,6 +9703,14 @@ def write(self, oprot): oprot.writeFieldBegin('catName', TType.STRING, 5) oprot.writeString(self.catName) oprot.writeFieldEnd() + if self.txnId is not None: + oprot.writeFieldBegin('txnId', TType.I64, 6) + oprot.writeI64(self.txnId) + oprot.writeFieldEnd() + if self.validWriteIdList is not None: + oprot.writeFieldBegin('validWriteIdList', TType.STRING, 7) + oprot.writeString(self.validWriteIdList) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -9445,6 +9733,8 @@ def __hash__(self): value = (value * 31) ^ hash(self.colNames) value = (value * 31) ^ hash(self.partNames) value = (value * 31) ^ hash(self.catName) + value = (value * 31) ^ hash(self.txnId) + value = (value * 31) ^ hash(self.validWriteIdList) return value def __repr__(self): @@ -16517,6 +16807,8 @@ class GetTableRequest: - tblName - capabilities - catName + - txnId + - validWriteIdList """ thrift_spec = ( @@ -16525,13 +16817,17 @@ class GetTableRequest: (2, TType.STRING, 'tblName', None, None, ), # 2 (3, TType.STRUCT, 'capabilities', (ClientCapabilities, ClientCapabilities.thrift_spec), None, ), # 3 (4, TType.STRING, 'catName', None, None, ), # 4 + (5, TType.I64, 'txnId', None, -1, ), # 5 + (6, TType.STRING, 'validWriteIdList', None, None, ), # 6 ) - def __init__(self, dbName=None, tblName=None, capabilities=None, catName=None,): + def __init__(self, dbName=None, tblName=None, capabilities=None, catName=None, txnId=thrift_spec[5][4], validWriteIdList=None,): self.dbName = dbName self.tblName = tblName self.capabilities = capabilities self.catName = catName + self.txnId = txnId + self.validWriteIdList = validWriteIdList 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: @@ -16563,6 +16859,16 @@ def read(self, iprot): self.catName = iprot.readString() else: iprot.skip(ftype) + elif fid == 5: + if ftype == TType.I64: + self.txnId = iprot.readI64() + else: + iprot.skip(ftype) + elif fid == 6: + if ftype == TType.STRING: + self.validWriteIdList = iprot.readString() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -16589,6 +16895,14 @@ def write(self, oprot): oprot.writeFieldBegin('catName', TType.STRING, 4) oprot.writeString(self.catName) oprot.writeFieldEnd() + if self.txnId is not None: + oprot.writeFieldBegin('txnId', TType.I64, 5) + oprot.writeI64(self.txnId) + oprot.writeFieldEnd() + if self.validWriteIdList is not None: + oprot.writeFieldBegin('validWriteIdList', TType.STRING, 6) + oprot.writeString(self.validWriteIdList) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -16606,6 +16920,8 @@ def __hash__(self): value = (value * 31) ^ hash(self.tblName) value = (value * 31) ^ hash(self.capabilities) value = (value * 31) ^ hash(self.catName) + value = (value * 31) ^ hash(self.txnId) + value = (value * 31) ^ hash(self.validWriteIdList) return value def __repr__(self): @@ -16623,15 +16939,18 @@ class GetTableResult: """ Attributes: - table + - isStatsCompliant """ thrift_spec = ( None, # 0 (1, TType.STRUCT, 'table', (Table, Table.thrift_spec), None, ), # 1 + (2, TType.I32, 'isStatsCompliant', None, None, ), # 2 ) - def __init__(self, table=None,): + def __init__(self, table=None, isStatsCompliant=None,): self.table = table + self.isStatsCompliant = isStatsCompliant 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: @@ -16648,6 +16967,11 @@ def read(self, iprot): self.table.read(iprot) else: iprot.skip(ftype) + elif fid == 2: + if ftype == TType.I32: + self.isStatsCompliant = iprot.readI32() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -16662,6 +16986,10 @@ def write(self, oprot): oprot.writeFieldBegin('table', TType.STRUCT, 1) self.table.write(oprot) oprot.writeFieldEnd() + if self.isStatsCompliant is not None: + oprot.writeFieldBegin('isStatsCompliant', TType.I32, 2) + oprot.writeI32(self.isStatsCompliant) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -16674,6 +17002,7 @@ def validate(self): def __hash__(self): value = 17 value = (value * 31) ^ hash(self.table) + value = (value * 31) ^ hash(self.isStatsCompliant) return value def __repr__(self): diff --git standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb index fb73b28f62..f641a8a730 100644 --- standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb +++ standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb @@ -141,6 +141,14 @@ module SchemaVersionState VALID_VALUES = Set.new([INITIATED, START_REVIEW, CHANGES_REQUIRED, REVIEWED, ENABLED, DISABLED, ARCHIVED, DELETED]).freeze end +module IsolationLevelCompliance + YES = 1 + NO = 2 + UNKNOWN = 3 + VALUE_MAP = {1 => "YES", 2 => "NO", 3 => "UNKNOWN"} + VALID_VALUES = Set.new([YES, NO, UNKNOWN]).freeze +end + module FunctionType JAVA = 1 VALUE_MAP = {1 => "JAVA"} @@ -1042,6 +1050,9 @@ class Table CREATIONMETADATA = 16 CATNAME = 17 OWNERTYPE = 18 + TXNID = 19 + VALIDWRITEIDLIST = 20 + ISSTATSCOMPLIANT = 21 FIELDS = { TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName'}, @@ -1061,7 +1072,10 @@ class Table REWRITEENABLED => {:type => ::Thrift::Types::BOOL, :name => 'rewriteEnabled', :optional => true}, CREATIONMETADATA => {:type => ::Thrift::Types::STRUCT, :name => 'creationMetadata', :class => ::CreationMetadata, :optional => true}, CATNAME => {:type => ::Thrift::Types::STRING, :name => 'catName', :optional => true}, - OWNERTYPE => {:type => ::Thrift::Types::I32, :name => 'ownerType', :default => 1, :optional => true, :enum_class => ::PrincipalType} + OWNERTYPE => {:type => ::Thrift::Types::I32, :name => 'ownerType', :default => 1, :optional => true, :enum_class => ::PrincipalType}, + TXNID => {:type => ::Thrift::Types::I64, :name => 'txnId', :default => -1, :optional => true}, + VALIDWRITEIDLIST => {:type => ::Thrift::Types::STRING, :name => 'validWriteIdList', :optional => true}, + ISSTATSCOMPLIANT => {:type => ::Thrift::Types::I32, :name => 'isStatsCompliant', :optional => true, :enum_class => ::IsolationLevelCompliance} } def struct_fields; FIELDS; end @@ -1070,6 +1084,9 @@ class Table unless @ownerType.nil? || ::PrincipalType::VALID_VALUES.include?(@ownerType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field ownerType!') end + unless @isStatsCompliant.nil? || ::IsolationLevelCompliance::VALID_VALUES.include?(@isStatsCompliant) + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field isStatsCompliant!') + end end ::Thrift::Struct.generate_accessors self @@ -1086,6 +1103,9 @@ class Partition PARAMETERS = 7 PRIVILEGES = 8 CATNAME = 9 + TXNID = 10 + VALIDWRITEIDLIST = 11 + ISSTATSCOMPLIANT = 12 FIELDS = { VALUES => {:type => ::Thrift::Types::LIST, :name => 'values', :element => {:type => ::Thrift::Types::STRING}}, @@ -1096,12 +1116,18 @@ class Partition SD => {:type => ::Thrift::Types::STRUCT, :name => 'sd', :class => ::StorageDescriptor}, PARAMETERS => {:type => ::Thrift::Types::MAP, :name => 'parameters', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}}, PRIVILEGES => {:type => ::Thrift::Types::STRUCT, :name => 'privileges', :class => ::PrincipalPrivilegeSet, :optional => true}, - CATNAME => {:type => ::Thrift::Types::STRING, :name => 'catName', :optional => true} + CATNAME => {:type => ::Thrift::Types::STRING, :name => 'catName', :optional => true}, + TXNID => {:type => ::Thrift::Types::I64, :name => 'txnId', :default => -1, :optional => true}, + VALIDWRITEIDLIST => {:type => ::Thrift::Types::STRING, :name => 'validWriteIdList', :optional => true}, + ISSTATSCOMPLIANT => {:type => ::Thrift::Types::I32, :name => 'isStatsCompliant', :optional => true, :enum_class => ::IsolationLevelCompliance} } def struct_fields; FIELDS; end def validate + unless @isStatsCompliant.nil? || ::IsolationLevelCompliance::VALID_VALUES.include?(@isStatsCompliant) + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field isStatsCompliant!') + end end ::Thrift::Struct.generate_accessors self @@ -1175,6 +1201,9 @@ class PartitionSpec SHAREDSDPARTITIONSPEC = 4 PARTITIONLIST = 5 CATNAME = 6 + TXNID = 7 + VALIDWRITEIDLIST = 8 + ISSTATSCOMPLIANT = 9 FIELDS = { DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'}, @@ -1182,12 +1211,18 @@ class PartitionSpec ROOTPATH => {:type => ::Thrift::Types::STRING, :name => 'rootPath'}, SHAREDSDPARTITIONSPEC => {:type => ::Thrift::Types::STRUCT, :name => 'sharedSDPartitionSpec', :class => ::PartitionSpecWithSharedSD, :optional => true}, PARTITIONLIST => {:type => ::Thrift::Types::STRUCT, :name => 'partitionList', :class => ::PartitionListComposingSpec, :optional => true}, - CATNAME => {:type => ::Thrift::Types::STRING, :name => 'catName', :optional => true} + CATNAME => {:type => ::Thrift::Types::STRING, :name => 'catName', :optional => true}, + TXNID => {:type => ::Thrift::Types::I64, :name => 'txnId', :default => -1, :optional => true}, + VALIDWRITEIDLIST => {:type => ::Thrift::Types::STRING, :name => 'validWriteIdList', :optional => true}, + ISSTATSCOMPLIANT => {:type => ::Thrift::Types::I32, :name => 'isStatsCompliant', :optional => true, :enum_class => ::IsolationLevelCompliance} } def struct_fields; FIELDS; end def validate + unless @isStatsCompliant.nil? || ::IsolationLevelCompliance::VALID_VALUES.include?(@isStatsCompliant) + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field isStatsCompliant!') + end end ::Thrift::Struct.generate_accessors self @@ -1527,10 +1562,16 @@ class ColumnStatistics include ::Thrift::Struct, ::Thrift::Struct_Union STATSDESC = 1 STATSOBJ = 2 + TXNID = 3 + VALIDWRITEIDLIST = 4 + ISSTATSCOMPLIANT = 5 FIELDS = { STATSDESC => {:type => ::Thrift::Types::STRUCT, :name => 'statsDesc', :class => ::ColumnStatisticsDesc}, - STATSOBJ => {:type => ::Thrift::Types::LIST, :name => 'statsObj', :element => {:type => ::Thrift::Types::STRUCT, :class => ::ColumnStatisticsObj}} + STATSOBJ => {:type => ::Thrift::Types::LIST, :name => 'statsObj', :element => {:type => ::Thrift::Types::STRUCT, :class => ::ColumnStatisticsObj}}, + TXNID => {:type => ::Thrift::Types::I64, :name => 'txnId', :default => -1, :optional => true}, + VALIDWRITEIDLIST => {:type => ::Thrift::Types::STRING, :name => 'validWriteIdList', :optional => true}, + ISSTATSCOMPLIANT => {:type => ::Thrift::Types::I32, :name => 'isStatsCompliant', :optional => true, :enum_class => ::IsolationLevelCompliance} } def struct_fields; FIELDS; end @@ -1538,6 +1579,9 @@ class ColumnStatistics def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field statsDesc is unset!') unless @statsDesc raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field statsObj is unset!') unless @statsObj + unless @isStatsCompliant.nil? || ::IsolationLevelCompliance::VALID_VALUES.include?(@isStatsCompliant) + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field isStatsCompliant!') + end end ::Thrift::Struct.generate_accessors self @@ -1547,10 +1591,12 @@ class AggrStats include ::Thrift::Struct, ::Thrift::Struct_Union COLSTATS = 1 PARTSFOUND = 2 + ISSTATSCOMPLIANT = 3 FIELDS = { COLSTATS => {:type => ::Thrift::Types::LIST, :name => 'colStats', :element => {:type => ::Thrift::Types::STRUCT, :class => ::ColumnStatisticsObj}}, - PARTSFOUND => {:type => ::Thrift::Types::I64, :name => 'partsFound'} + PARTSFOUND => {:type => ::Thrift::Types::I64, :name => 'partsFound'}, + ISSTATSCOMPLIANT => {:type => ::Thrift::Types::I32, :name => 'isStatsCompliant', :optional => true, :enum_class => ::IsolationLevelCompliance} } def struct_fields; FIELDS; end @@ -1558,6 +1604,9 @@ class AggrStats def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field colStats is unset!') unless @colStats raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field partsFound is unset!') unless @partsFound + unless @isStatsCompliant.nil? || ::IsolationLevelCompliance::VALID_VALUES.include?(@isStatsCompliant) + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field isStatsCompliant!') + end end ::Thrift::Struct.generate_accessors self @@ -1567,10 +1616,14 @@ class SetPartitionsStatsRequest include ::Thrift::Struct, ::Thrift::Struct_Union COLSTATS = 1 NEEDMERGE = 2 + TXNID = 3 + VALIDWRITEIDLIST = 4 FIELDS = { COLSTATS => {:type => ::Thrift::Types::LIST, :name => 'colStats', :element => {:type => ::Thrift::Types::STRUCT, :class => ::ColumnStatistics}}, - NEEDMERGE => {:type => ::Thrift::Types::BOOL, :name => 'needMerge', :optional => true} + NEEDMERGE => {:type => ::Thrift::Types::BOOL, :name => 'needMerge', :optional => true}, + TXNID => {:type => ::Thrift::Types::I64, :name => 'txnId', :default => -1, :optional => true}, + VALIDWRITEIDLIST => {:type => ::Thrift::Types::STRING, :name => 'validWriteIdList', :optional => true} } def struct_fields; FIELDS; end @@ -2035,15 +2088,20 @@ end class TableStatsResult include ::Thrift::Struct, ::Thrift::Struct_Union TABLESTATS = 1 + ISSTATSCOMPLIANT = 2 FIELDS = { - TABLESTATS => {:type => ::Thrift::Types::LIST, :name => 'tableStats', :element => {:type => ::Thrift::Types::STRUCT, :class => ::ColumnStatisticsObj}} + TABLESTATS => {:type => ::Thrift::Types::LIST, :name => 'tableStats', :element => {:type => ::Thrift::Types::STRUCT, :class => ::ColumnStatisticsObj}}, + ISSTATSCOMPLIANT => {:type => ::Thrift::Types::I32, :name => 'isStatsCompliant', :optional => true, :enum_class => ::IsolationLevelCompliance} } def struct_fields; FIELDS; end def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field tableStats is unset!') unless @tableStats + unless @isStatsCompliant.nil? || ::IsolationLevelCompliance::VALID_VALUES.include?(@isStatsCompliant) + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field isStatsCompliant!') + end end ::Thrift::Struct.generate_accessors self @@ -2052,15 +2110,20 @@ end class PartitionsStatsResult include ::Thrift::Struct, ::Thrift::Struct_Union PARTSTATS = 1 + ISSTATSCOMPLIANT = 2 FIELDS = { - PARTSTATS => {:type => ::Thrift::Types::MAP, :name => 'partStats', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::STRUCT, :class => ::ColumnStatisticsObj}}} + PARTSTATS => {:type => ::Thrift::Types::MAP, :name => 'partStats', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::STRUCT, :class => ::ColumnStatisticsObj}}}, + ISSTATSCOMPLIANT => {:type => ::Thrift::Types::I32, :name => 'isStatsCompliant', :optional => true, :enum_class => ::IsolationLevelCompliance} } def struct_fields; FIELDS; end def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field partStats is unset!') unless @partStats + unless @isStatsCompliant.nil? || ::IsolationLevelCompliance::VALID_VALUES.include?(@isStatsCompliant) + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field isStatsCompliant!') + end end ::Thrift::Struct.generate_accessors self @@ -2072,12 +2135,16 @@ class TableStatsRequest TBLNAME = 2 COLNAMES = 3 CATNAME = 4 + TXNID = 5 + VALIDWRITEIDLIST = 6 FIELDS = { DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'}, TBLNAME => {:type => ::Thrift::Types::STRING, :name => 'tblName'}, COLNAMES => {:type => ::Thrift::Types::LIST, :name => 'colNames', :element => {:type => ::Thrift::Types::STRING}}, - CATNAME => {:type => ::Thrift::Types::STRING, :name => 'catName', :optional => true} + CATNAME => {:type => ::Thrift::Types::STRING, :name => 'catName', :optional => true}, + TXNID => {:type => ::Thrift::Types::I64, :name => 'txnId', :default => -1, :optional => true}, + VALIDWRITEIDLIST => {:type => ::Thrift::Types::STRING, :name => 'validWriteIdList', :optional => true} } def struct_fields; FIELDS; end @@ -2098,13 +2165,17 @@ class PartitionsStatsRequest COLNAMES = 3 PARTNAMES = 4 CATNAME = 5 + TXNID = 6 + VALIDWRITEIDLIST = 7 FIELDS = { DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'}, TBLNAME => {:type => ::Thrift::Types::STRING, :name => 'tblName'}, COLNAMES => {:type => ::Thrift::Types::LIST, :name => 'colNames', :element => {:type => ::Thrift::Types::STRING}}, PARTNAMES => {:type => ::Thrift::Types::LIST, :name => 'partNames', :element => {:type => ::Thrift::Types::STRING}}, - CATNAME => {:type => ::Thrift::Types::STRING, :name => 'catName', :optional => true} + CATNAME => {:type => ::Thrift::Types::STRING, :name => 'catName', :optional => true}, + TXNID => {:type => ::Thrift::Types::I64, :name => 'txnId', :default => -1, :optional => true}, + VALIDWRITEIDLIST => {:type => ::Thrift::Types::STRING, :name => 'validWriteIdList', :optional => true} } def struct_fields; FIELDS; end @@ -3711,12 +3782,16 @@ class GetTableRequest TBLNAME = 2 CAPABILITIES = 3 CATNAME = 4 + TXNID = 5 + VALIDWRITEIDLIST = 6 FIELDS = { DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'}, TBLNAME => {:type => ::Thrift::Types::STRING, :name => 'tblName'}, CAPABILITIES => {:type => ::Thrift::Types::STRUCT, :name => 'capabilities', :class => ::ClientCapabilities, :optional => true}, - CATNAME => {:type => ::Thrift::Types::STRING, :name => 'catName', :optional => true} + CATNAME => {:type => ::Thrift::Types::STRING, :name => 'catName', :optional => true}, + TXNID => {:type => ::Thrift::Types::I64, :name => 'txnId', :default => -1, :optional => true}, + VALIDWRITEIDLIST => {:type => ::Thrift::Types::STRING, :name => 'validWriteIdList', :optional => true} } def struct_fields; FIELDS; end @@ -3732,15 +3807,20 @@ end class GetTableResult include ::Thrift::Struct, ::Thrift::Struct_Union TABLE = 1 + ISSTATSCOMPLIANT = 2 FIELDS = { - TABLE => {:type => ::Thrift::Types::STRUCT, :name => 'table', :class => ::Table} + TABLE => {:type => ::Thrift::Types::STRUCT, :name => 'table', :class => ::Table}, + ISSTATSCOMPLIANT => {:type => ::Thrift::Types::I32, :name => 'isStatsCompliant', :optional => true, :enum_class => ::IsolationLevelCompliance} } def struct_fields; FIELDS; end def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field table is unset!') unless @table + unless @isStatsCompliant.nil? || ::IsolationLevelCompliance::VALID_VALUES.include?(@isStatsCompliant) + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field isStatsCompliant!') + end end ::Thrift::Struct.generate_accessors self diff --git standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MPartition.java standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MPartition.java index 4a97f891fe..9811430b1c 100644 --- standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MPartition.java +++ standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MPartition.java @@ -30,7 +30,7 @@ private int lastAccessTime; private MStorageDescriptor sd; private Map parameters; - + private long txnId; public MPartition() {} @@ -152,4 +152,11 @@ public void setCreateTime(int createTime) { this.createTime = createTime; } + public long getTxnId() { + return txnId; + } + + public void setTxnId(long txnId) { + this.txnId = txnId; + } } diff --git standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MTable.java standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MTable.java index 38ad47915b..2cedd8e0f3 100644 --- standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MTable.java +++ standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MTable.java @@ -37,6 +37,7 @@ private String viewExpandedText; private boolean rewriteEnabled; private String tableType; + private long txnId; public MTable() {} @@ -270,4 +271,12 @@ public void setTableType(String tableType) { public String getTableType() { return tableType; } + + public long getTxnId() { + return txnId; + } + + public void setTxnId(long txnId) { + this.txnId = txnId; + } } diff --git standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MUpdaterTransaction.java standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MUpdaterTransaction.java new file mode 100644 index 0000000000..33061cdaf9 --- /dev/null +++ standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MUpdaterTransaction.java @@ -0,0 +1,96 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.hadoop.hive.metastore.model; + +import java.sql.Timestamp; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class MUpdaterTransaction { + private MTable table; + private Timestamp creationTime; + private char state; // The state of a transactional stats table snapshot. + private long txnId; // The corresponding column name is TXN_ID. + private String writeIdList; + // Column UPDATE_ID is used as database identity. + + public MUpdaterTransaction() {} + + public MUpdaterTransaction( + MTable table, + char state, + long txnId, + String writeIdList) { + this.table = table; + this.state = state; + this.txnId = txnId; + this.writeIdList = writeIdList; + } + + public MUpdaterTransaction( + MTable table, + long txnId, + char state) { + this.table = table; + this.txnId = txnId; + this.state = state; + } + + public Timestamp getCreationTime() { + return creationTime; + } + + public void setCreationTime(Timestamp creationTime) { + this.creationTime = creationTime; + } + + public char getState() { + return state; + } + + public void setState(char state) { + this.state = state; + } + + public MTable getMTable() { + return table; + } + + public void setMTable(MTable table) { + this.table = table; + } + + public long getTxnId() { + return txnId; + } + + public void setTxnId(long txnId) { + this.txnId = txnId; + } + + public String getWriteIdList() { + return writeIdList; + } + + public void setWriteIdList(String writeIdList) { + this.writeIdList = writeIdList; + } +} + diff --git standalone-metastore/src/main/resources/package.jdo standalone-metastore/src/main/resources/package.jdo index 2d2cb19991..aa9b977dc8 100644 --- standalone-metastore/src/main/resources/package.jdo +++ standalone-metastore/src/main/resources/package.jdo @@ -210,6 +210,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + @@ -489,6 +513,9 @@ + + + diff --git standalone-metastore/src/main/sql/derby/hive-schema-3.0.0.derby.sql standalone-metastore/src/main/sql/derby/hive-schema-3.0.0.derby.sql index 8e097553c3..70b90625b3 100644 --- standalone-metastore/src/main/sql/derby/hive-schema-3.0.0.derby.sql +++ standalone-metastore/src/main/sql/derby/hive-schema-3.0.0.derby.sql @@ -47,7 +47,7 @@ CREATE TABLE "APP"."IDXS" ("INDEX_ID" BIGINT NOT NULL, "CREATE_TIME" INTEGER NOT CREATE TABLE "APP"."INDEX_PARAMS" ("INDEX_ID" BIGINT NOT NULL, "PARAM_KEY" VARCHAR(256) NOT NULL, "PARAM_VALUE" VARCHAR(4000)); -CREATE TABLE "APP"."PARTITIONS" ("PART_ID" BIGINT NOT NULL, "CREATE_TIME" INTEGER NOT NULL, "LAST_ACCESS_TIME" INTEGER NOT NULL, "PART_NAME" VARCHAR(767), "SD_ID" BIGINT, "TBL_ID" BIGINT); +CREATE TABLE "APP"."PARTITIONS" ("PART_ID" BIGINT NOT NULL, "CREATE_TIME" INTEGER NOT NULL, "LAST_ACCESS_TIME" INTEGER NOT NULL, "PART_NAME" VARCHAR(767), "SD_ID" BIGINT, "TBL_ID" BIGINT, "TXN_ID" BIGINT DEFAULT 0); CREATE TABLE "APP"."SERDES" ("SERDE_ID" BIGINT NOT NULL, "NAME" VARCHAR(128), "SLIB" VARCHAR(4000), "DESCRIPTION" VARCHAR(4000), "SERIALIZER_CLASS" VARCHAR(4000), "DESERIALIZER_CLASS" VARCHAR(4000), SERDE_TYPE INTEGER); @@ -75,7 +75,7 @@ CREATE TABLE "APP"."COLUMNS" ("SD_ID" BIGINT NOT NULL, "COMMENT" VARCHAR(256), " CREATE TABLE "APP"."ROLES" ("ROLE_ID" BIGINT NOT NULL, "CREATE_TIME" INTEGER NOT NULL, "OWNER_NAME" VARCHAR(128), "ROLE_NAME" VARCHAR(128)); -CREATE TABLE "APP"."TBLS" ("TBL_ID" BIGINT NOT NULL, "CREATE_TIME" INTEGER NOT NULL, "DB_ID" BIGINT, "LAST_ACCESS_TIME" INTEGER NOT NULL, "OWNER" VARCHAR(767), "OWNER_TYPE" VARCHAR(10), "RETENTION" INTEGER NOT NULL, "SD_ID" BIGINT, "TBL_NAME" VARCHAR(256), "TBL_TYPE" VARCHAR(128), "VIEW_EXPANDED_TEXT" LONG VARCHAR, "VIEW_ORIGINAL_TEXT" LONG VARCHAR, "IS_REWRITE_ENABLED" CHAR(1) NOT NULL DEFAULT 'N'); +CREATE TABLE "APP"."TBLS" ("TBL_ID" BIGINT NOT NULL, "CREATE_TIME" INTEGER NOT NULL, "DB_ID" BIGINT, "LAST_ACCESS_TIME" INTEGER NOT NULL, "OWNER" VARCHAR(767), "OWNER_TYPE" VARCHAR(10), "RETENTION" INTEGER NOT NULL, "SD_ID" BIGINT, "TBL_NAME" VARCHAR(256), "TBL_TYPE" VARCHAR(128), "VIEW_EXPANDED_TEXT" LONG VARCHAR, "VIEW_ORIGINAL_TEXT" LONG VARCHAR, "IS_REWRITE_ENABLED" CHAR(1) NOT NULL DEFAULT 'N', "TXN_ID" BIGINT DEFAULT 0); CREATE TABLE "APP"."PARTITION_KEYS" ("TBL_ID" BIGINT NOT NULL, "PKEY_COMMENT" VARCHAR(4000), "PKEY_NAME" VARCHAR(128) NOT NULL, "PKEY_TYPE" VARCHAR(767) NOT NULL, "INTEGER_IDX" INTEGER NOT NULL); @@ -211,6 +211,14 @@ CREATE TABLE "APP"."CTLGS" ( "DESC" VARCHAR(4000), "LOCATION_URI" VARCHAR(4000) NOT NULL); +CREATE TABLE "APP"."UPD_TXNS" ( + "UPDATE_ID" BIGINT NOT NULL, + "TBL_ID" BIGINT NOT NULL, + "STATE" CHAR(1) NOT NULL, + "TXN_ID" BIGINT NOT NULL, + "WRITEID_LIST" CLOB +); + -- ---------------------------------------------- -- DML Statements -- ---------------------------------------------- @@ -373,6 +381,7 @@ ALTER TABLE "APP"."MV_CREATION_METADATA" ADD CONSTRAINT "MV_CREATION_METADATA_PK ALTER TABLE "APP"."CTLGS" ADD CONSTRAINT "CTLG_PK" PRIMARY KEY ("CTLG_ID"); +ALTER TABLE "APP"."UPD_TXNS" ADD CONSTRAINT "UPD_TXNS_PK" PRIMARY KEY ("UPDATE_ID"); -- foreign ALTER TABLE "APP"."IDXS" ADD CONSTRAINT "IDXS_FK1" FOREIGN KEY ("ORIG_TBL_ID") REFERENCES "APP"."TBLS" ("TBL_ID") ON DELETE NO ACTION ON UPDATE NO ACTION; @@ -483,6 +492,8 @@ ALTER TABLE "APP"."MV_TABLES_USED" ADD CONSTRAINT "MV_TABLES_USED_FK2" FOREIGN K ALTER TABLE "APP"."DBS" ADD CONSTRAINT "DBS_CTLG_FK" FOREIGN KEY ("CTLG_NAME") REFERENCES "APP"."CTLGS" ("NAME") ON DELETE NO ACTION ON UPDATE NO ACTION; +ALTER TABLE "APP"."UPD_TXNS" ADD CONSTRAINT "UPD_TXNS_FK1" FOREIGN KEY ("TBL_ID") REFERENCES "APP"."TBLS" ("TBL_ID") ON DELETE NO ACTION ON UPDATE NO ACTION; + -- ---------------------------------------------- -- DDL Statements for checks -- ---------------------------------------------- diff --git standalone-metastore/src/main/sql/derby/upgrade-2.3.0-to-3.0.0.derby.sql standalone-metastore/src/main/sql/derby/upgrade-2.3.0-to-3.0.0.derby.sql index 73bef36d68..2cd28e708c 100644 --- standalone-metastore/src/main/sql/derby/upgrade-2.3.0-to-3.0.0.derby.sql +++ standalone-metastore/src/main/sql/derby/upgrade-2.3.0-to-3.0.0.derby.sql @@ -254,6 +254,21 @@ CREATE TABLE "APP"."RUNTIME_STATS" ( CREATE INDEX IDX_RUNTIME_STATS_CREATE_TIME ON RUNTIME_STATS(CREATE_TIME); +-- HIVE-19416 +CREATE TABLE "APP"."UPD_TXNS" ( + "UPDATE_ID" BIGINT NOT NULL, + "TBL_ID" BIGINT NOT NULL, + "STATE" CHAR(1) NOT NULL, + "TXN_ID" BIGINT NOT NULL, + "WRITEID_LIST" CLOB +); + +ALTER TABLE "APP"."UPD_TXNS" ADD CONSTRAINT "UPD_TXNS_PK" PRIMARY KEY ("UPDATE_ID"); + +ALTER TABLE "APP"."UPD_TXNS" ADD CONSTRAINT "UPD_TXNS_FK1" FOREIGN KEY ("TBL_ID") REFERENCES "APP"."TBLS" ("TBL_ID") ON DELETE NO ACTION ON UPDATE NO ACTION; + +ALTER TABLE "APP"."TBLS" ADD TXN_ID bigint DEFAULT 0; +ALTER TABLE "APP"."PARTITIONS" ADD TXN_ID bigint DEFAULT 0; -- This needs to be the last thing done. Insert any changes above this line. UPDATE "APP".VERSION SET SCHEMA_VERSION='3.0.0', VERSION_COMMENT='Hive release version 3.0.0' where VER_ID=1; diff --git standalone-metastore/src/main/sql/derby/upgrade.order.derby standalone-metastore/src/main/sql/derby/upgrade.order.derby index d7091b5228..f43da9af19 100644 --- standalone-metastore/src/main/sql/derby/upgrade.order.derby +++ standalone-metastore/src/main/sql/derby/upgrade.order.derby @@ -14,3 +14,4 @@ 2.1.0-to-2.2.0 2.2.0-to-2.3.0 2.3.0-to-3.0.0 +3.0.0-to-3.1.0 diff --git standalone-metastore/src/main/sql/mssql/hive-schema-3.0.0.mssql.sql standalone-metastore/src/main/sql/mssql/hive-schema-3.0.0.mssql.sql index 51df92cff1..e561361236 100644 --- standalone-metastore/src/main/sql/mssql/hive-schema-3.0.0.mssql.sql +++ standalone-metastore/src/main/sql/mssql/hive-schema-3.0.0.mssql.sql @@ -144,7 +144,8 @@ CREATE TABLE PARTITIONS LAST_ACCESS_TIME int NOT NULL, PART_NAME nvarchar(767) NULL, SD_ID bigint NULL, - TBL_ID bigint NULL + TBL_ID bigint NULL, + TXN_ID bigint NULL ); ALTER TABLE PARTITIONS ADD CONSTRAINT PARTITIONS_PK PRIMARY KEY (PART_ID); @@ -369,7 +370,8 @@ CREATE TABLE TBLS TBL_TYPE nvarchar(128) NULL, VIEW_EXPANDED_TEXT text NULL, VIEW_ORIGINAL_TEXT text NULL, - IS_REWRITE_ENABLED bit NOT NULL DEFAULT 0 + IS_REWRITE_ENABLED bit NOT NULL DEFAULT 0, + TXN_ID bigint NULL ); ALTER TABLE TBLS ADD CONSTRAINT TBLS_PK PRIMARY KEY (TBL_ID); @@ -1240,6 +1242,18 @@ CREATE TABLE RUNTIME_STATS ( CREATE INDEX IDX_RUNTIME_STATS_CREATE_TIME ON RUNTIME_STATS(CREATE_TIME); +CREATE TABLE "UPD_TXNS" ( + "UPDATE_ID" bigint NOT NULL, + "TBL_ID" bigint NOT NULL, + "STATE" CHAR(1) NOT NULL, + "TXN_ID" bigint NOT NULL, + "WRITEID_LIST" text NULL +); + +ALTER TABLE "UPD_TXNS" ADD CONSTRAINT "UPD_TXNS_PK" PRIMARY KEY ("UPDATE_ID"); + +ALTER TABLE "UPD_TXNS" WITH CHECK ADD FOREIGN KEY("TBL_ID") REFERENCES "TBLS" ("TBL_ID"); + -- ----------------------------------------------------------------- -- Record schema version. Should be the last step in the init script -- ----------------------------------------------------------------- diff --git standalone-metastore/src/main/sql/mssql/upgrade-2.3.0-to-3.0.0.mssql.sql standalone-metastore/src/main/sql/mssql/upgrade-2.3.0-to-3.0.0.mssql.sql index a7232dd443..6c1e079130 100644 --- standalone-metastore/src/main/sql/mssql/upgrade-2.3.0-to-3.0.0.mssql.sql +++ standalone-metastore/src/main/sql/mssql/upgrade-2.3.0-to-3.0.0.mssql.sql @@ -321,6 +321,22 @@ CREATE TABLE RUNTIME_STATS ( CREATE INDEX IDX_RUNTIME_STATS_CREATE_TIME ON RUNTIME_STATS(CREATE_TIME); +-- HIVE-19416 +CREATE TABLE "UPD_TXNS" ( + "UPDATE_ID" bigint NOT NULL, + "TBL_ID" bigint NOT NULL, + "STATE" CHAR(1) NOT NULL, + "TXN_ID" bigint NOT NULL, + "WRITEID_LIST" text NULL +); + +ALTER TABLE "UPD_TXNS" ADD CONSTRAINT "UPD_TXNS_PK" PRIMARY KEY ("UPDATE_ID"); + +ALTER TABLE "UPD_TXNS" WITH CHECK ADD FOREIGN KEY("TBL_ID") REFERENCES "TBLS" ("TBL_ID"); + +ALTER TABLE TBLS ADD TXN_ID bigint NULL; +ALTER TABLE PARTITIONS ADD TXN_ID bigint NULL; + -- These lines need to be last. Insert any changes above. UPDATE VERSION SET SCHEMA_VERSION='3.0.0', VERSION_COMMENT='Hive release version 3.0.0' where VER_ID=1; SELECT 'Finished upgrading MetaStore schema from 2.3.0 to 3.0.0' AS MESSAGE; diff --git standalone-metastore/src/main/sql/mysql/hive-schema-3.0.0.mysql.sql standalone-metastore/src/main/sql/mysql/hive-schema-3.0.0.mysql.sql index 8e55e94374..d1d2a393f3 100644 --- standalone-metastore/src/main/sql/mysql/hive-schema-3.0.0.mysql.sql +++ standalone-metastore/src/main/sql/mysql/hive-schema-3.0.0.mysql.sql @@ -222,6 +222,7 @@ CREATE TABLE IF NOT EXISTS `PARTITIONS` ( `PART_NAME` varchar(767) CHARACTER SET latin1 COLLATE latin1_bin DEFAULT NULL, `SD_ID` bigint(20) DEFAULT NULL, `TBL_ID` bigint(20) DEFAULT NULL, + `TXN_ID` bigint(20) DEFAULT 0, PRIMARY KEY (`PART_ID`), UNIQUE KEY `UNIQUEPARTITION` (`PART_NAME`,`TBL_ID`), KEY `PARTITIONS_N49` (`TBL_ID`), @@ -625,6 +626,7 @@ CREATE TABLE IF NOT EXISTS `TBLS` ( `VIEW_EXPANDED_TEXT` mediumtext, `VIEW_ORIGINAL_TEXT` mediumtext, `IS_REWRITE_ENABLED` bit(1) NOT NULL DEFAULT 0, + `TXN_ID` bigint(20) DEFAULT 0, PRIMARY KEY (`TBL_ID`), UNIQUE KEY `UNIQUETABLE` (`TBL_NAME`,`DB_ID`), KEY `TBLS_N50` (`SD_ID`), @@ -1165,6 +1167,16 @@ CREATE TABLE RUNTIME_STATS ( CREATE INDEX IDX_RUNTIME_STATS_CREATE_TIME ON RUNTIME_STATS(CREATE_TIME); +CREATE TABLE `UPD_TXNS` ( + `UPDATE_ID` bigint(20) NOT NULL, + `TBL_ID` bigint(20) NOT NULL, + `STATE` char(1) NOT NULL, + `TXN_ID` bigint(20) NOT NULL, + `WRITEID_LIST` TEXT DEFAULT NULL, + PRIMARY KEY (`UPDATE_ID`), + CONSTRAINT `UPD_TXNS_FK1` FOREIGN KEY (`TBL_ID`) REFERENCES `TBLS` (`TBL_ID`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + -- ----------------------------------------------------------------- -- Record schema version. Should be the last step in the init script -- ----------------------------------------------------------------- diff --git standalone-metastore/src/main/sql/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql standalone-metastore/src/main/sql/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql index 9a48346c5c..afb951a4ea 100644 --- standalone-metastore/src/main/sql/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql +++ standalone-metastore/src/main/sql/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql @@ -292,8 +292,24 @@ CREATE TABLE RUNTIME_STATS ( CREATE INDEX IDX_RUNTIME_STATS_CREATE_TIME ON RUNTIME_STATS(CREATE_TIME); +-- HIVE-19416 +CREATE TABLE "APP"."UPD_TXNS" ( + "UPDATE_ID" BIGINT NOT NULL, + "DB_NAME" VARCHAR(128) NOT NULL, + "STATE" CHAR(1) NOT NULL, + "WRITE_ID" BIGINT NOT NULL, + "WRITEID_LIST" CLOB +); + +ALTER TABLE "APP"."UPD_TXNS" ADD CONSTRAINT "UPD_TXNS_PK" PRIMARY KEY ("UPDATE_ID"); + +ALTER TABLE "APP"."UPD_TXNS" ADD CONSTRAINT "UPD_TXNS_FK1" FOREIGN KEY ("TBL_ID") REFERENCES "APP"."TBLS" ("TBL_ID") ON DELETE NO ACTION ON UPDATE NO ACTION; + +ALTER TABLE TBLS ADD TXN_ID bigint; +ALTER TABLE PARTITIONS ADD TXN_ID bigint; + -- These lines need to be last. Insert any changes above. UPDATE VERSION SET SCHEMA_VERSION='3.0.0', VERSION_COMMENT='Hive release version 3.0.0' where VER_ID=1; SELECT 'Finished upgrading MetaStore schema from 2.3.0 to 3.0.0' AS ' '; -ALTER TABLE `TBLS` ADD COLUMN `OWNER_TYPE` VARCHAR(10) CHARACTER SET latin1 COLLATE latin1_bin DEFAULT NULL; \ No newline at end of file +ALTER TABLE `TBLS` ADD COLUMN `OWNER_TYPE` VARCHAR(10) CHARACTER SET latin1 COLLATE latin1_bin DEFAULT NULL; diff --git standalone-metastore/src/main/sql/oracle/hive-schema-3.0.0.oracle.sql standalone-metastore/src/main/sql/oracle/hive-schema-3.0.0.oracle.sql index 3a12e087a6..80f4933587 100644 --- standalone-metastore/src/main/sql/oracle/hive-schema-3.0.0.oracle.sql +++ standalone-metastore/src/main/sql/oracle/hive-schema-3.0.0.oracle.sql @@ -162,7 +162,8 @@ CREATE TABLE PARTITIONS LAST_ACCESS_TIME NUMBER (10) NOT NULL, PART_NAME VARCHAR2(767) NULL, SD_ID NUMBER NULL, - TBL_ID NUMBER NULL + TBL_ID NUMBER NULL, + TXN_ID NUMBER NULL ); ALTER TABLE PARTITIONS ADD CONSTRAINT PARTITIONS_PK PRIMARY KEY (PART_ID); @@ -392,7 +393,8 @@ CREATE TABLE TBLS TBL_TYPE VARCHAR2(128) NULL, VIEW_EXPANDED_TEXT CLOB NULL, VIEW_ORIGINAL_TEXT CLOB NULL, - IS_REWRITE_ENABLED NUMBER(1) DEFAULT 0 NOT NULL CHECK (IS_REWRITE_ENABLED IN (1,0)) + IS_REWRITE_ENABLED NUMBER(1) DEFAULT 0 NOT NULL CHECK (IS_REWRITE_ENABLED IN (1,0)), + TXN_ID NUMBER NULL ); ALTER TABLE TBLS ADD CONSTRAINT TBLS_PK PRIMARY KEY (TBL_ID); @@ -1134,6 +1136,17 @@ CREATE TABLE RUNTIME_STATS ( CREATE INDEX IDX_RUNTIME_STATS_CREATE_TIME ON RUNTIME_STATS(CREATE_TIME); +CREATE TABLE "UPD_TXNS" ( + "UPDATE_ID" number NOT NULL, + "TBL_ID" number NOT NULL, + "STATE" CHAR(1) NOT NULL, + "WRITE_ID" number NOT NULL, + "WRITEID_LIST" CLOB NULL +); + +ALTER TABLE "UPD_TXNS" ADD CONSTRAINT "UPD_TXNS_PK" PRIMARY KEY ("UPDATE_ID"); + +ALTER TABLE "UPD_TXNS" ADD CONSTRAINT "UPD_TXNS_FK1" FOREIGN KEY("TBL_ID") REFERENCES "TBLS" ("TBL_ID") INITIALLY DEFERRED ; -- ----------------------------------------------------------------- -- Record schema version. Should be the last step in the init script diff --git standalone-metastore/src/main/sql/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql standalone-metastore/src/main/sql/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql index 3be7e65713..608795bdd4 100644 --- standalone-metastore/src/main/sql/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql +++ standalone-metastore/src/main/sql/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql @@ -310,8 +310,23 @@ CREATE TABLE RUNTIME_STATS ( CREATE INDEX IDX_RUNTIME_STATS_CREATE_TIME ON RUNTIME_STATS(CREATE_TIME); +CREATE TABLE "UPD_TXNS" ( + "UPDATE_ID" number NOT NULL, + "TBL_ID" number NOT NULL, + "STATE" CHAR(1) NOT NULL, + "TXN_ID" number NOT NULL, + "WRITEID_LIST" CLOB NULL +); + +ALTER TABLE "UPD_TXNS" ADD CONSTRAINT "UPD_TXNS_PK" PRIMARY KEY ("UPDATE_ID"); + +ALTER TABLE "UPD_TXNS" ADD CONSTRAINT "UPD_TXNS_FK1" FOREIGN KEY("TBL_ID") REFERENCES "TBLS" ("TBL_ID") INITIALLY DEFERRED ; + +ALTER TABLE TBLS ADD TXN_ID number NULL; +ALTER TABLE PARTITIONS ADD TXN_ID number NULL; + -- These lines need to be last. Insert any changes above. UPDATE VERSION SET SCHEMA_VERSION='3.0.0', VERSION_COMMENT='Hive release version 3.0.0' where VER_ID=1; SELECT 'Finished upgrading MetaStore schema from 2.3.0 to 3.0.0' AS Status from dual; -ALTER TABLE TBLS ADD OWNER_TYPE VARCHAR2(10) NULL; \ No newline at end of file +ALTER TABLE TBLS ADD OWNER_TYPE VARCHAR2(10) NULL; diff --git standalone-metastore/src/main/sql/postgres/hive-schema-3.0.0.postgres.sql standalone-metastore/src/main/sql/postgres/hive-schema-3.0.0.postgres.sql index 0152f48050..7545eb2da9 100644 --- standalone-metastore/src/main/sql/postgres/hive-schema-3.0.0.postgres.sql +++ standalone-metastore/src/main/sql/postgres/hive-schema-3.0.0.postgres.sql @@ -166,7 +166,8 @@ CREATE TABLE "PARTITIONS" ( "LAST_ACCESS_TIME" bigint NOT NULL, "PART_NAME" character varying(767) DEFAULT NULL::character varying, "SD_ID" bigint, - "TBL_ID" bigint + "TBL_ID" bigint, + "TXN_ID" bigint ); @@ -388,7 +389,8 @@ CREATE TABLE "TBLS" ( "TBL_TYPE" character varying(128) DEFAULT NULL::character varying, "VIEW_EXPANDED_TEXT" text, "VIEW_ORIGINAL_TEXT" text, - "IS_REWRITE_ENABLED" boolean NOT NULL DEFAULT false + "IS_REWRITE_ENABLED" boolean NOT NULL DEFAULT false, + "TXN_ID" bigint ); -- @@ -698,6 +700,14 @@ CREATE TABLE "WM_MAPPING" ( "ORDERING" integer ); +CREATE TABLE "APP"."UPD_TXNS" ( + "UPDATE_ID" BIGINT NOT NULL, + "TBL_ID" BIGINT NOT NULL, + "STATE" CHAR(1) NOT NULL, + "TXN_ID" BIGINT NOT NULL, + "WRITEID_LIST" text +); + -- -- Name: BUCKETING_COLS_pkey; Type: CONSTRAINT; Schema: public; Owner: hiveuser; Tablespace: -- @@ -1074,6 +1084,11 @@ ALTER TABLE ONLY "WM_MAPPING" ALTER TABLE ONLY "WM_MAPPING" ADD CONSTRAINT "UNIQUE_WM_MAPPING" UNIQUE ("RP_ID", "ENTITY_TYPE", "ENTITY_NAME"); +-- Transactional table stats PK constraints + +ALTER TABLE ONLY "UPD_TXNS" + ADD CONSTRAINT "UPD_TXNS_PK" PRIMARY KEY ("UPDATE_ID"); + -- -- Name: BUCKETING_COLS_N49; Type: INDEX; Schema: public; Owner: hiveuser; Tablespace: -- @@ -1618,6 +1633,11 @@ ALTER TABLE ONLY "MV_TABLES_USED" ALTER TABLE ONLY "MV_TABLES_USED" ADD CONSTRAINT "MV_TABLES_USED_FK2" FOREIGN KEY ("TBL_ID") REFERENCES "TBLS" ("TBL_ID") DEFERRABLE; +-- Transactional table stats FK constraints + +ALTER TABLE ONLY "UPD_TXNS" + ADD CONSTRAINT "UPD_TXNS_FK1" FOREIGN KEY ("TBL_ID") REFERENCES "TBLS" ("TBL_ID") DEFERRABLE; + -- -- Name: public; Type: ACL; Schema: -; Owner: hiveuser -- @@ -1822,7 +1842,6 @@ CREATE TABLE RUNTIME_STATS ( CREATE INDEX IDX_RUNTIME_STATS_CREATE_TIME ON RUNTIME_STATS(CREATE_TIME); - -- ----------------------------------------------------------------- -- Record schema version. Should be the last step in the init script -- ----------------------------------------------------------------- diff --git standalone-metastore/src/main/sql/postgres/upgrade-2.3.0-to-3.0.0.postgres.sql standalone-metastore/src/main/sql/postgres/upgrade-2.3.0-to-3.0.0.postgres.sql index fed8a93ed6..0877f67c95 100644 --- standalone-metastore/src/main/sql/postgres/upgrade-2.3.0-to-3.0.0.postgres.sql +++ standalone-metastore/src/main/sql/postgres/upgrade-2.3.0-to-3.0.0.postgres.sql @@ -329,6 +329,25 @@ CREATE TABLE RUNTIME_STATS ( CREATE INDEX IDX_RUNTIME_STATS_CREATE_TIME ON RUNTIME_STATS(CREATE_TIME); +-- HIVE-19416 + +CREATE TABLE "UPD_TXNS" ( + "UPDATE_ID" BIGINT NOT NULL, + "TBL_ID" BIGINT NOT NULL, + "STATE" CHAR(1) NOT NULL, + "TXN_ID" BIGINT NOT NULL, + "WRITEID_LIST" text +); + +ALTER TABLE ONLY "UPD_TXNS" + ADD CONSTRAINT "UPD_TXNS_PK" PRIMARY KEY ("UPDATE_ID"); + +ALTER TABLE ONLY "UPD_TXNS" + ADD CONSTRAINT "UPD_TXNS_FK1" FOREIGN KEY ("TBL_ID") REFERENCES "TBLS" ("TBL_ID") DEFERRABLE; + +ALTER TABLE "TBLS" ADD "TXN_ID" bigint; +ALTER TABLE "PARTITIONS" ADD "TXN_ID" bigint; + -- These lines need to be last. Insert any changes above. UPDATE "VERSION" SET "SCHEMA_VERSION"='3.0.0', "VERSION_COMMENT"='Hive release version 3.0.0' where "VER_ID"=1; SELECT 'Finished upgrading MetaStore schema from 2.3.0 to 3.0.0'; diff --git standalone-metastore/src/main/thrift/hive_metastore.thrift standalone-metastore/src/main/thrift/hive_metastore.thrift index 19d4433078..73677619fc 100644 --- standalone-metastore/src/main/thrift/hive_metastore.thrift +++ standalone-metastore/src/main/thrift/hive_metastore.thrift @@ -233,6 +233,12 @@ enum SchemaVersionState { DELETED = 8 } +enum IsolationLevelCompliance { + YES = 1, + NO = 2, + UNKNOWN = 3 +} + struct HiveObjectRef{ 1: HiveObjectType objectType, 2: string dbName, @@ -424,7 +430,10 @@ struct Table { 15: optional bool rewriteEnabled, // rewrite enabled or not 16: optional CreationMetadata creationMetadata, // only for MVs, it stores table names used and txn list at MV creation 17: optional string catName, // Name of the catalog the table is in - 18: optional PrincipalType ownerType = PrincipalType.USER // owner type of this table (default to USER for backward compatibility) + 18: optional PrincipalType ownerType = PrincipalType.USER, // owner type of this table (default to USER for backward compatibility) + 19: optional i64 txnId=-1, + 20: optional string validWriteIdList, + 21: optional IsolationLevelCompliance isStatsCompliant } struct Partition { @@ -436,7 +445,10 @@ struct Partition { 6: StorageDescriptor sd, 7: map parameters, 8: optional PrincipalPrivilegeSet privileges, - 9: optional string catName + 9: optional string catName, + 10: optional i64 txnId=-1, + 11: optional string validWriteIdList, + 12: optional IsolationLevelCompliance isStatsCompliant } struct PartitionWithoutSD { @@ -450,7 +462,7 @@ struct PartitionWithoutSD { struct PartitionSpecWithSharedSD { 1: list partitions, - 2: StorageDescriptor sd, + 2: StorageDescriptor sd } struct PartitionListComposingSpec { @@ -463,7 +475,10 @@ struct PartitionSpec { 3: string rootPath, 4: optional PartitionSpecWithSharedSD sharedSDPartitionSpec, 5: optional PartitionListComposingSpec partitionList, - 6: optional string catName + 6: optional string catName, + 7: optional i64 txnId=-1, + 8: optional string validWriteIdList, + 9: optional IsolationLevelCompliance isStatsCompliant } // column statistics @@ -558,17 +573,23 @@ struct ColumnStatisticsDesc { struct ColumnStatistics { 1: required ColumnStatisticsDesc statsDesc, -2: required list statsObj; +2: required list statsObj, +3: optional i64 txnId=-1, +4: optional string validWriteIdList, +5: optional IsolationLevelCompliance isStatsCompliant } struct AggrStats { 1: required list colStats, -2: required i64 partsFound // number of partitions for which stats were found +2: required i64 partsFound, // number of partitions for which stats were found +3: optional IsolationLevelCompliance isStatsCompliant } struct SetPartitionsStatsRequest { 1: required list colStats, -2: optional bool needMerge //stats need to be merged with the existing stats +2: optional bool needMerge, //stats need to be merged with the existing stats +3: optional i64 txnId=-1, +4: optional string validWriteIdList } // schema of the table/query results etc. @@ -697,18 +718,22 @@ struct PartitionsByExprRequest { } struct TableStatsResult { - 1: required list tableStats + 1: required list tableStats, + 2: optional IsolationLevelCompliance isStatsCompliant } struct PartitionsStatsResult { - 1: required map> partStats + 1: required map> partStats, + 2: optional IsolationLevelCompliance isStatsCompliant } struct TableStatsRequest { 1: required string dbName, 2: required string tblName, 3: required list colNames - 4: optional string catName + 4: optional string catName, + 5: optional i64 txnId=-1, + 6: optional string validWriteIdList } struct PartitionsStatsRequest { @@ -716,7 +741,9 @@ struct PartitionsStatsRequest { 2: required string tblName, 3: required list colNames, 4: required list partNames, - 5: optional string catName + 5: optional string catName, + 6: optional i64 txnId=-1, + 7: optional string validWriteIdList } // Return type for add_partitions_req @@ -1203,11 +1230,14 @@ struct GetTableRequest { 1: required string dbName, 2: required string tblName, 3: optional ClientCapabilities capabilities, - 4: optional string catName + 4: optional string catName, + 5: optional i64 txnId=-1, + 6: optional string validWriteIdList } struct GetTableResult { - 1: required Table table + 1: required Table table, + 2: optional IsolationLevelCompliance isStatsCompliant } struct GetTablesRequest {