diff --git itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStore.java itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStore.java index 06c6b76..5a344bb 100644 --- itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStore.java +++ itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStore.java @@ -51,6 +51,7 @@ import org.apache.hadoop.hive.metastore.api.FieldSchema; import org.apache.hadoop.hive.metastore.api.Function; import org.apache.hadoop.hive.metastore.api.FunctionType; +import org.apache.hadoop.hive.metastore.api.GetAllFunctionsResponse; import org.apache.hadoop.hive.metastore.api.InvalidObjectException; import org.apache.hadoop.hive.metastore.api.InvalidOperationException; import org.apache.hadoop.hive.metastore.api.MetaException; @@ -2533,6 +2534,7 @@ public void testSimpleFunction() throws Exception { String funcName = "test_func"; String className = "org.apache.hadoop.hive.ql.udf.generic.GenericUDFUpper"; String owner = "test_owner"; + final int N_FUNCTIONS = 5; PrincipalType ownerType = PrincipalType.USER; int createTime = (int) (System.currentTimeMillis() / 1000); FunctionType funcType = FunctionType.JAVA; @@ -2542,14 +2544,16 @@ public void testSimpleFunction() throws Exception { createDb(dbName); - createFunction(dbName, funcName, className, owner, ownerType, createTime, funcType, null); + for (int i = 0; i < N_FUNCTIONS; i++) { + createFunction(dbName, funcName + "_" + i, className, owner, ownerType, createTime, funcType, null); + } // Try the different getters // getFunction() - Function func = client.getFunction(dbName, funcName); + Function func = client.getFunction(dbName, funcName + "_0"); assertEquals("function db name", dbName, func.getDbName()); - assertEquals("function name", funcName, func.getFunctionName()); + assertEquals("function name", funcName + "_0", func.getFunctionName()); assertEquals("function class name", className, func.getClassName()); assertEquals("function owner name", owner, func.getOwnerName()); assertEquals("function owner type", PrincipalType.USER, func.getOwnerType()); @@ -2566,21 +2570,31 @@ public void testSimpleFunction() throws Exception { } assertEquals(true, gotException); + // getAllFunctions() + GetAllFunctionsResponse response = client.getAllFunctions(); + List allFunctions = response.getFunctions(); + assertEquals(N_FUNCTIONS, allFunctions.size()); + assertEquals(funcName + "_3", allFunctions.get(3).getFunctionName()); + // getFunctions() - List funcs = client.getFunctions(dbName, "*_func"); - assertEquals(1, funcs.size()); - assertEquals(funcName, funcs.get(0)); + List funcs = client.getFunctions(dbName, "*_func_*"); + assertEquals(N_FUNCTIONS, funcs.size()); + assertEquals(funcName + "_0", funcs.get(0)); funcs = client.getFunctions(dbName, "nonexistent_func"); assertEquals(0, funcs.size()); // dropFunction() - client.dropFunction(dbName, funcName); + for (int i = 0; i < N_FUNCTIONS; i++) { + client.dropFunction(dbName, funcName + "_" + i); + } // Confirm that the function is now gone funcs = client.getFunctions(dbName, funcName); assertEquals(0, funcs.size()); - + response = client.getAllFunctions(); + allFunctions = response.getFunctions(); + assertEquals(0, allFunctions.size()); } catch (Exception e) { System.err.println(StringUtils.stringifyException(e)); System.err.println("testConcurrentMetastores() failed."); diff --git metastore/if/hive_metastore.thrift metastore/if/hive_metastore.thrift index adf4830..d651195 100755 --- metastore/if/hive_metastore.thrift +++ metastore/if/hive_metastore.thrift @@ -715,6 +715,9 @@ struct FireEventResponse { } +struct GetAllFunctionsResponse { + 1: optional list functions +} exception MetaException { 1: string message @@ -1114,6 +1117,8 @@ service ThriftHiveMetastore extends fb303.FacebookService Function get_function(1:string dbName, 2:string funcName) throws (1:MetaException o1, 2:NoSuchObjectException o2) + GetAllFunctionsResponse get_all_functions() throws (1:MetaException o1) + //authorization privileges bool create_role(1:Role role) throws(1:MetaException o1) diff --git metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index a0b34cb..9186ce4 100644 --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp @@ -1096,14 +1096,14 @@ uint32_t ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size425; - ::apache::thrift::protocol::TType _etype428; - xfer += iprot->readListBegin(_etype428, _size425); - this->success.resize(_size425); - uint32_t _i429; - for (_i429 = 0; _i429 < _size425; ++_i429) + uint32_t _size431; + ::apache::thrift::protocol::TType _etype434; + xfer += iprot->readListBegin(_etype434, _size431); + this->success.resize(_size431); + uint32_t _i435; + for (_i435 = 0; _i435 < _size431; ++_i435) { - xfer += iprot->readString(this->success[_i429]); + xfer += iprot->readString(this->success[_i435]); } xfer += iprot->readListEnd(); } @@ -1142,10 +1142,10 @@ uint32_t ThriftHiveMetastore_get_databases_result::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter430; - for (_iter430 = this->success.begin(); _iter430 != this->success.end(); ++_iter430) + std::vector ::const_iterator _iter436; + for (_iter436 = this->success.begin(); _iter436 != this->success.end(); ++_iter436) { - xfer += oprot->writeString((*_iter430)); + xfer += oprot->writeString((*_iter436)); } xfer += oprot->writeListEnd(); } @@ -1184,14 +1184,14 @@ uint32_t ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size431; - ::apache::thrift::protocol::TType _etype434; - xfer += iprot->readListBegin(_etype434, _size431); - (*(this->success)).resize(_size431); - uint32_t _i435; - for (_i435 = 0; _i435 < _size431; ++_i435) + uint32_t _size437; + ::apache::thrift::protocol::TType _etype440; + xfer += iprot->readListBegin(_etype440, _size437); + (*(this->success)).resize(_size437); + uint32_t _i441; + for (_i441 = 0; _i441 < _size437; ++_i441) { - xfer += iprot->readString((*(this->success))[_i435]); + xfer += iprot->readString((*(this->success))[_i441]); } xfer += iprot->readListEnd(); } @@ -1289,14 +1289,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size436; - ::apache::thrift::protocol::TType _etype439; - xfer += iprot->readListBegin(_etype439, _size436); - this->success.resize(_size436); - uint32_t _i440; - for (_i440 = 0; _i440 < _size436; ++_i440) + uint32_t _size442; + ::apache::thrift::protocol::TType _etype445; + xfer += iprot->readListBegin(_etype445, _size442); + this->success.resize(_size442); + uint32_t _i446; + for (_i446 = 0; _i446 < _size442; ++_i446) { - xfer += iprot->readString(this->success[_i440]); + xfer += iprot->readString(this->success[_i446]); } xfer += iprot->readListEnd(); } @@ -1335,10 +1335,10 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::write(::apache::thrift::p xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter441; - for (_iter441 = this->success.begin(); _iter441 != this->success.end(); ++_iter441) + std::vector ::const_iterator _iter447; + for (_iter447 = this->success.begin(); _iter447 != this->success.end(); ++_iter447) { - xfer += oprot->writeString((*_iter441)); + xfer += oprot->writeString((*_iter447)); } xfer += oprot->writeListEnd(); } @@ -1377,14 +1377,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size442; - ::apache::thrift::protocol::TType _etype445; - xfer += iprot->readListBegin(_etype445, _size442); - (*(this->success)).resize(_size442); - uint32_t _i446; - for (_i446 = 0; _i446 < _size442; ++_i446) + uint32_t _size448; + ::apache::thrift::protocol::TType _etype451; + xfer += iprot->readListBegin(_etype451, _size448); + (*(this->success)).resize(_size448); + uint32_t _i452; + for (_i452 = 0; _i452 < _size448; ++_i452) { - xfer += iprot->readString((*(this->success))[_i446]); + xfer += iprot->readString((*(this->success))[_i452]); } xfer += iprot->readListEnd(); } @@ -2327,17 +2327,17 @@ uint32_t ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size447; - ::apache::thrift::protocol::TType _ktype448; - ::apache::thrift::protocol::TType _vtype449; - xfer += iprot->readMapBegin(_ktype448, _vtype449, _size447); - uint32_t _i451; - for (_i451 = 0; _i451 < _size447; ++_i451) + uint32_t _size453; + ::apache::thrift::protocol::TType _ktype454; + ::apache::thrift::protocol::TType _vtype455; + xfer += iprot->readMapBegin(_ktype454, _vtype455, _size453); + uint32_t _i457; + for (_i457 = 0; _i457 < _size453; ++_i457) { - std::string _key452; - xfer += iprot->readString(_key452); - Type& _val453 = this->success[_key452]; - xfer += _val453.read(iprot); + std::string _key458; + xfer += iprot->readString(_key458); + Type& _val459 = this->success[_key458]; + xfer += _val459.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2376,11 +2376,11 @@ uint32_t ThriftHiveMetastore_get_type_all_result::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::map ::const_iterator _iter454; - for (_iter454 = this->success.begin(); _iter454 != this->success.end(); ++_iter454) + std::map ::const_iterator _iter460; + for (_iter460 = this->success.begin(); _iter460 != this->success.end(); ++_iter460) { - xfer += oprot->writeString(_iter454->first); - xfer += _iter454->second.write(oprot); + xfer += oprot->writeString(_iter460->first); + xfer += _iter460->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -2419,17 +2419,17 @@ uint32_t ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size455; - ::apache::thrift::protocol::TType _ktype456; - ::apache::thrift::protocol::TType _vtype457; - xfer += iprot->readMapBegin(_ktype456, _vtype457, _size455); - uint32_t _i459; - for (_i459 = 0; _i459 < _size455; ++_i459) + uint32_t _size461; + ::apache::thrift::protocol::TType _ktype462; + ::apache::thrift::protocol::TType _vtype463; + xfer += iprot->readMapBegin(_ktype462, _vtype463, _size461); + uint32_t _i465; + for (_i465 = 0; _i465 < _size461; ++_i465) { - std::string _key460; - xfer += iprot->readString(_key460); - Type& _val461 = (*(this->success))[_key460]; - xfer += _val461.read(iprot); + std::string _key466; + xfer += iprot->readString(_key466); + Type& _val467 = (*(this->success))[_key466]; + xfer += _val467.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2564,14 +2564,14 @@ uint32_t ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size462; - ::apache::thrift::protocol::TType _etype465; - xfer += iprot->readListBegin(_etype465, _size462); - this->success.resize(_size462); - uint32_t _i466; - for (_i466 = 0; _i466 < _size462; ++_i466) + uint32_t _size468; + ::apache::thrift::protocol::TType _etype471; + xfer += iprot->readListBegin(_etype471, _size468); + this->success.resize(_size468); + uint32_t _i472; + for (_i472 = 0; _i472 < _size468; ++_i472) { - xfer += this->success[_i466].read(iprot); + xfer += this->success[_i472].read(iprot); } xfer += iprot->readListEnd(); } @@ -2626,10 +2626,10 @@ uint32_t ThriftHiveMetastore_get_fields_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter467; - for (_iter467 = this->success.begin(); _iter467 != this->success.end(); ++_iter467) + std::vector ::const_iterator _iter473; + for (_iter473 = this->success.begin(); _iter473 != this->success.end(); ++_iter473) { - xfer += (*_iter467).write(oprot); + xfer += (*_iter473).write(oprot); } xfer += oprot->writeListEnd(); } @@ -2676,14 +2676,14 @@ uint32_t ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size468; - ::apache::thrift::protocol::TType _etype471; - xfer += iprot->readListBegin(_etype471, _size468); - (*(this->success)).resize(_size468); - uint32_t _i472; - for (_i472 = 0; _i472 < _size468; ++_i472) + uint32_t _size474; + ::apache::thrift::protocol::TType _etype477; + xfer += iprot->readListBegin(_etype477, _size474); + (*(this->success)).resize(_size474); + uint32_t _i478; + for (_i478 = 0; _i478 < _size474; ++_i478) { - xfer += (*(this->success))[_i472].read(iprot); + xfer += (*(this->success))[_i478].read(iprot); } xfer += iprot->readListEnd(); } @@ -2850,14 +2850,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size473; - ::apache::thrift::protocol::TType _etype476; - xfer += iprot->readListBegin(_etype476, _size473); - this->success.resize(_size473); - uint32_t _i477; - for (_i477 = 0; _i477 < _size473; ++_i477) + uint32_t _size479; + ::apache::thrift::protocol::TType _etype482; + xfer += iprot->readListBegin(_etype482, _size479); + this->success.resize(_size479); + uint32_t _i483; + for (_i483 = 0; _i483 < _size479; ++_i483) { - xfer += this->success[_i477].read(iprot); + xfer += this->success[_i483].read(iprot); } xfer += iprot->readListEnd(); } @@ -2912,10 +2912,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 _iter478; - for (_iter478 = this->success.begin(); _iter478 != this->success.end(); ++_iter478) + std::vector ::const_iterator _iter484; + for (_iter484 = this->success.begin(); _iter484 != this->success.end(); ++_iter484) { - xfer += (*_iter478).write(oprot); + xfer += (*_iter484).write(oprot); } xfer += oprot->writeListEnd(); } @@ -2962,14 +2962,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size479; - ::apache::thrift::protocol::TType _etype482; - xfer += iprot->readListBegin(_etype482, _size479); - (*(this->success)).resize(_size479); - uint32_t _i483; - for (_i483 = 0; _i483 < _size479; ++_i483) + uint32_t _size485; + ::apache::thrift::protocol::TType _etype488; + xfer += iprot->readListBegin(_etype488, _size485); + (*(this->success)).resize(_size485); + uint32_t _i489; + for (_i489 = 0; _i489 < _size485; ++_i489) { - xfer += (*(this->success))[_i483].read(iprot); + xfer += (*(this->success))[_i489].read(iprot); } xfer += iprot->readListEnd(); } @@ -3120,14 +3120,14 @@ uint32_t ThriftHiveMetastore_get_schema_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size484; - ::apache::thrift::protocol::TType _etype487; - xfer += iprot->readListBegin(_etype487, _size484); - this->success.resize(_size484); - uint32_t _i488; - for (_i488 = 0; _i488 < _size484; ++_i488) + uint32_t _size490; + ::apache::thrift::protocol::TType _etype493; + xfer += iprot->readListBegin(_etype493, _size490); + this->success.resize(_size490); + uint32_t _i494; + for (_i494 = 0; _i494 < _size490; ++_i494) { - xfer += this->success[_i488].read(iprot); + xfer += this->success[_i494].read(iprot); } xfer += iprot->readListEnd(); } @@ -3182,10 +3182,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 _iter489; - for (_iter489 = this->success.begin(); _iter489 != this->success.end(); ++_iter489) + std::vector ::const_iterator _iter495; + for (_iter495 = this->success.begin(); _iter495 != this->success.end(); ++_iter495) { - xfer += (*_iter489).write(oprot); + xfer += (*_iter495).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3232,14 +3232,14 @@ uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size490; - ::apache::thrift::protocol::TType _etype493; - xfer += iprot->readListBegin(_etype493, _size490); - (*(this->success)).resize(_size490); - uint32_t _i494; - for (_i494 = 0; _i494 < _size490; ++_i494) + uint32_t _size496; + ::apache::thrift::protocol::TType _etype499; + xfer += iprot->readListBegin(_etype499, _size496); + (*(this->success)).resize(_size496); + uint32_t _i500; + for (_i500 = 0; _i500 < _size496; ++_i500) { - xfer += (*(this->success))[_i494].read(iprot); + xfer += (*(this->success))[_i500].read(iprot); } xfer += iprot->readListEnd(); } @@ -3406,14 +3406,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size495; - ::apache::thrift::protocol::TType _etype498; - xfer += iprot->readListBegin(_etype498, _size495); - this->success.resize(_size495); - uint32_t _i499; - for (_i499 = 0; _i499 < _size495; ++_i499) + uint32_t _size501; + ::apache::thrift::protocol::TType _etype504; + xfer += iprot->readListBegin(_etype504, _size501); + this->success.resize(_size501); + uint32_t _i505; + for (_i505 = 0; _i505 < _size501; ++_i505) { - xfer += this->success[_i499].read(iprot); + xfer += this->success[_i505].read(iprot); } xfer += iprot->readListEnd(); } @@ -3468,10 +3468,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 _iter500; - for (_iter500 = this->success.begin(); _iter500 != this->success.end(); ++_iter500) + std::vector ::const_iterator _iter506; + for (_iter506 = this->success.begin(); _iter506 != this->success.end(); ++_iter506) { - xfer += (*_iter500).write(oprot); + xfer += (*_iter506).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3518,14 +3518,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size501; - ::apache::thrift::protocol::TType _etype504; - xfer += iprot->readListBegin(_etype504, _size501); - (*(this->success)).resize(_size501); - uint32_t _i505; - for (_i505 = 0; _i505 < _size501; ++_i505) + uint32_t _size507; + ::apache::thrift::protocol::TType _etype510; + xfer += iprot->readListBegin(_etype510, _size507); + (*(this->success)).resize(_size507); + uint32_t _i511; + for (_i511 = 0; _i511 < _size507; ++_i511) { - xfer += (*(this->success))[_i505].read(iprot); + xfer += (*(this->success))[_i511].read(iprot); } xfer += iprot->readListEnd(); } @@ -4580,14 +4580,14 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size506; - ::apache::thrift::protocol::TType _etype509; - xfer += iprot->readListBegin(_etype509, _size506); - this->success.resize(_size506); - uint32_t _i510; - for (_i510 = 0; _i510 < _size506; ++_i510) + uint32_t _size512; + ::apache::thrift::protocol::TType _etype515; + xfer += iprot->readListBegin(_etype515, _size512); + this->success.resize(_size512); + uint32_t _i516; + for (_i516 = 0; _i516 < _size512; ++_i516) { - xfer += iprot->readString(this->success[_i510]); + xfer += iprot->readString(this->success[_i516]); } xfer += iprot->readListEnd(); } @@ -4626,10 +4626,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 _iter511; - for (_iter511 = this->success.begin(); _iter511 != this->success.end(); ++_iter511) + std::vector ::const_iterator _iter517; + for (_iter517 = this->success.begin(); _iter517 != this->success.end(); ++_iter517) { - xfer += oprot->writeString((*_iter511)); + xfer += oprot->writeString((*_iter517)); } xfer += oprot->writeListEnd(); } @@ -4668,14 +4668,14 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size512; - ::apache::thrift::protocol::TType _etype515; - xfer += iprot->readListBegin(_etype515, _size512); - (*(this->success)).resize(_size512); - uint32_t _i516; - for (_i516 = 0; _i516 < _size512; ++_i516) + uint32_t _size518; + ::apache::thrift::protocol::TType _etype521; + xfer += iprot->readListBegin(_etype521, _size518); + (*(this->success)).resize(_size518); + uint32_t _i522; + for (_i522 = 0; _i522 < _size518; ++_i522) { - xfer += iprot->readString((*(this->success))[_i516]); + xfer += iprot->readString((*(this->success))[_i522]); } xfer += iprot->readListEnd(); } @@ -4794,14 +4794,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size517; - ::apache::thrift::protocol::TType _etype520; - xfer += iprot->readListBegin(_etype520, _size517); - this->success.resize(_size517); - uint32_t _i521; - for (_i521 = 0; _i521 < _size517; ++_i521) + uint32_t _size523; + ::apache::thrift::protocol::TType _etype526; + xfer += iprot->readListBegin(_etype526, _size523); + this->success.resize(_size523); + uint32_t _i527; + for (_i527 = 0; _i527 < _size523; ++_i527) { - xfer += iprot->readString(this->success[_i521]); + xfer += iprot->readString(this->success[_i527]); } xfer += iprot->readListEnd(); } @@ -4840,10 +4840,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 _iter522; - for (_iter522 = this->success.begin(); _iter522 != this->success.end(); ++_iter522) + std::vector ::const_iterator _iter528; + for (_iter528 = this->success.begin(); _iter528 != this->success.end(); ++_iter528) { - xfer += oprot->writeString((*_iter522)); + xfer += oprot->writeString((*_iter528)); } xfer += oprot->writeListEnd(); } @@ -4882,14 +4882,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size523; - ::apache::thrift::protocol::TType _etype526; - xfer += iprot->readListBegin(_etype526, _size523); - (*(this->success)).resize(_size523); - uint32_t _i527; - for (_i527 = 0; _i527 < _size523; ++_i527) + uint32_t _size529; + ::apache::thrift::protocol::TType _etype532; + xfer += iprot->readListBegin(_etype532, _size529); + (*(this->success)).resize(_size529); + uint32_t _i533; + for (_i533 = 0; _i533 < _size529; ++_i533) { - xfer += iprot->readString((*(this->success))[_i527]); + xfer += iprot->readString((*(this->success))[_i533]); } xfer += iprot->readListEnd(); } @@ -5168,14 +5168,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 _size528; - ::apache::thrift::protocol::TType _etype531; - xfer += iprot->readListBegin(_etype531, _size528); - this->tbl_names.resize(_size528); - uint32_t _i532; - for (_i532 = 0; _i532 < _size528; ++_i532) + uint32_t _size534; + ::apache::thrift::protocol::TType _etype537; + xfer += iprot->readListBegin(_etype537, _size534); + this->tbl_names.resize(_size534); + uint32_t _i538; + for (_i538 = 0; _i538 < _size534; ++_i538) { - xfer += iprot->readString(this->tbl_names[_i532]); + xfer += iprot->readString(this->tbl_names[_i538]); } xfer += iprot->readListEnd(); } @@ -5207,10 +5207,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 _iter533; - for (_iter533 = this->tbl_names.begin(); _iter533 != this->tbl_names.end(); ++_iter533) + std::vector ::const_iterator _iter539; + for (_iter539 = this->tbl_names.begin(); _iter539 != this->tbl_names.end(); ++_iter539) { - xfer += oprot->writeString((*_iter533)); + xfer += oprot->writeString((*_iter539)); } xfer += oprot->writeListEnd(); } @@ -5232,10 +5232,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 _iter534; - for (_iter534 = (*(this->tbl_names)).begin(); _iter534 != (*(this->tbl_names)).end(); ++_iter534) + std::vector ::const_iterator _iter540; + for (_iter540 = (*(this->tbl_names)).begin(); _iter540 != (*(this->tbl_names)).end(); ++_iter540) { - xfer += oprot->writeString((*_iter534)); + xfer += oprot->writeString((*_iter540)); } xfer += oprot->writeListEnd(); } @@ -5270,14 +5270,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 _size535; - ::apache::thrift::protocol::TType _etype538; - xfer += iprot->readListBegin(_etype538, _size535); - this->success.resize(_size535); - uint32_t _i539; - for (_i539 = 0; _i539 < _size535; ++_i539) + uint32_t _size541; + ::apache::thrift::protocol::TType _etype544; + xfer += iprot->readListBegin(_etype544, _size541); + this->success.resize(_size541); + uint32_t _i545; + for (_i545 = 0; _i545 < _size541; ++_i545) { - xfer += this->success[_i539].read(iprot); + xfer += this->success[_i545].read(iprot); } xfer += iprot->readListEnd(); } @@ -5332,10 +5332,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 _iter540; - for (_iter540 = this->success.begin(); _iter540 != this->success.end(); ++_iter540) + std::vector
::const_iterator _iter546; + for (_iter546 = this->success.begin(); _iter546 != this->success.end(); ++_iter546) { - xfer += (*_iter540).write(oprot); + xfer += (*_iter546).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5382,14 +5382,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 _size541; - ::apache::thrift::protocol::TType _etype544; - xfer += iprot->readListBegin(_etype544, _size541); - (*(this->success)).resize(_size541); - uint32_t _i545; - for (_i545 = 0; _i545 < _size541; ++_i545) + uint32_t _size547; + ::apache::thrift::protocol::TType _etype550; + xfer += iprot->readListBegin(_etype550, _size547); + (*(this->success)).resize(_size547); + uint32_t _i551; + for (_i551 = 0; _i551 < _size547; ++_i551) { - xfer += (*(this->success))[_i545].read(iprot); + xfer += (*(this->success))[_i551].read(iprot); } xfer += iprot->readListEnd(); } @@ -5556,14 +5556,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 _size546; - ::apache::thrift::protocol::TType _etype549; - xfer += iprot->readListBegin(_etype549, _size546); - this->success.resize(_size546); - uint32_t _i550; - for (_i550 = 0; _i550 < _size546; ++_i550) + uint32_t _size552; + ::apache::thrift::protocol::TType _etype555; + xfer += iprot->readListBegin(_etype555, _size552); + this->success.resize(_size552); + uint32_t _i556; + for (_i556 = 0; _i556 < _size552; ++_i556) { - xfer += iprot->readString(this->success[_i550]); + xfer += iprot->readString(this->success[_i556]); } xfer += iprot->readListEnd(); } @@ -5618,10 +5618,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 _iter551; - for (_iter551 = this->success.begin(); _iter551 != this->success.end(); ++_iter551) + std::vector ::const_iterator _iter557; + for (_iter557 = this->success.begin(); _iter557 != this->success.end(); ++_iter557) { - xfer += oprot->writeString((*_iter551)); + xfer += oprot->writeString((*_iter557)); } xfer += oprot->writeListEnd(); } @@ -5668,14 +5668,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 _size552; - ::apache::thrift::protocol::TType _etype555; - xfer += iprot->readListBegin(_etype555, _size552); - (*(this->success)).resize(_size552); - uint32_t _i556; - for (_i556 = 0; _i556 < _size552; ++_i556) + uint32_t _size558; + ::apache::thrift::protocol::TType _etype561; + xfer += iprot->readListBegin(_etype561, _size558); + (*(this->success)).resize(_size558); + uint32_t _i562; + for (_i562 = 0; _i562 < _size558; ++_i562) { - xfer += iprot->readString((*(this->success))[_i556]); + xfer += iprot->readString((*(this->success))[_i562]); } xfer += iprot->readListEnd(); } @@ -6878,14 +6878,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size557; - ::apache::thrift::protocol::TType _etype560; - xfer += iprot->readListBegin(_etype560, _size557); - this->new_parts.resize(_size557); - uint32_t _i561; - for (_i561 = 0; _i561 < _size557; ++_i561) + uint32_t _size563; + ::apache::thrift::protocol::TType _etype566; + xfer += iprot->readListBegin(_etype566, _size563); + this->new_parts.resize(_size563); + uint32_t _i567; + for (_i567 = 0; _i567 < _size563; ++_i567) { - xfer += this->new_parts[_i561].read(iprot); + xfer += this->new_parts[_i567].read(iprot); } xfer += iprot->readListEnd(); } @@ -6913,10 +6913,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 _iter562; - for (_iter562 = this->new_parts.begin(); _iter562 != this->new_parts.end(); ++_iter562) + std::vector ::const_iterator _iter568; + for (_iter568 = this->new_parts.begin(); _iter568 != this->new_parts.end(); ++_iter568) { - xfer += (*_iter562).write(oprot); + xfer += (*_iter568).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6934,10 +6934,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 _iter563; - for (_iter563 = (*(this->new_parts)).begin(); _iter563 != (*(this->new_parts)).end(); ++_iter563) + std::vector ::const_iterator _iter569; + for (_iter569 = (*(this->new_parts)).begin(); _iter569 != (*(this->new_parts)).end(); ++_iter569) { - xfer += (*_iter563).write(oprot); + xfer += (*_iter569).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7128,14 +7128,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 _size564; - ::apache::thrift::protocol::TType _etype567; - xfer += iprot->readListBegin(_etype567, _size564); - this->new_parts.resize(_size564); - uint32_t _i568; - for (_i568 = 0; _i568 < _size564; ++_i568) + uint32_t _size570; + ::apache::thrift::protocol::TType _etype573; + xfer += iprot->readListBegin(_etype573, _size570); + this->new_parts.resize(_size570); + uint32_t _i574; + for (_i574 = 0; _i574 < _size570; ++_i574) { - xfer += this->new_parts[_i568].read(iprot); + xfer += this->new_parts[_i574].read(iprot); } xfer += iprot->readListEnd(); } @@ -7163,10 +7163,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 _iter569; - for (_iter569 = this->new_parts.begin(); _iter569 != this->new_parts.end(); ++_iter569) + std::vector ::const_iterator _iter575; + for (_iter575 = this->new_parts.begin(); _iter575 != this->new_parts.end(); ++_iter575) { - xfer += (*_iter569).write(oprot); + xfer += (*_iter575).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7184,10 +7184,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 _iter570; - for (_iter570 = (*(this->new_parts)).begin(); _iter570 != (*(this->new_parts)).end(); ++_iter570) + std::vector ::const_iterator _iter576; + for (_iter576 = (*(this->new_parts)).begin(); _iter576 != (*(this->new_parts)).end(); ++_iter576) { - xfer += (*_iter570).write(oprot); + xfer += (*_iter576).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7394,14 +7394,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size571; - ::apache::thrift::protocol::TType _etype574; - xfer += iprot->readListBegin(_etype574, _size571); - this->part_vals.resize(_size571); - uint32_t _i575; - for (_i575 = 0; _i575 < _size571; ++_i575) + uint32_t _size577; + ::apache::thrift::protocol::TType _etype580; + xfer += iprot->readListBegin(_etype580, _size577); + this->part_vals.resize(_size577); + uint32_t _i581; + for (_i581 = 0; _i581 < _size577; ++_i581) { - xfer += iprot->readString(this->part_vals[_i575]); + xfer += iprot->readString(this->part_vals[_i581]); } xfer += iprot->readListEnd(); } @@ -7437,10 +7437,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 _iter576; - for (_iter576 = this->part_vals.begin(); _iter576 != this->part_vals.end(); ++_iter576) + std::vector ::const_iterator _iter582; + for (_iter582 = this->part_vals.begin(); _iter582 != this->part_vals.end(); ++_iter582) { - xfer += oprot->writeString((*_iter576)); + xfer += oprot->writeString((*_iter582)); } xfer += oprot->writeListEnd(); } @@ -7466,10 +7466,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 _iter577; - for (_iter577 = (*(this->part_vals)).begin(); _iter577 != (*(this->part_vals)).end(); ++_iter577) + std::vector ::const_iterator _iter583; + for (_iter583 = (*(this->part_vals)).begin(); _iter583 != (*(this->part_vals)).end(); ++_iter583) { - xfer += oprot->writeString((*_iter577)); + xfer += oprot->writeString((*_iter583)); } xfer += oprot->writeListEnd(); } @@ -7898,14 +7898,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size578; - ::apache::thrift::protocol::TType _etype581; - xfer += iprot->readListBegin(_etype581, _size578); - this->part_vals.resize(_size578); - uint32_t _i582; - for (_i582 = 0; _i582 < _size578; ++_i582) + uint32_t _size584; + ::apache::thrift::protocol::TType _etype587; + xfer += iprot->readListBegin(_etype587, _size584); + this->part_vals.resize(_size584); + uint32_t _i588; + for (_i588 = 0; _i588 < _size584; ++_i588) { - xfer += iprot->readString(this->part_vals[_i582]); + xfer += iprot->readString(this->part_vals[_i588]); } xfer += iprot->readListEnd(); } @@ -7949,10 +7949,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 _iter583; - for (_iter583 = this->part_vals.begin(); _iter583 != this->part_vals.end(); ++_iter583) + std::vector ::const_iterator _iter589; + for (_iter589 = this->part_vals.begin(); _iter589 != this->part_vals.end(); ++_iter589) { - xfer += oprot->writeString((*_iter583)); + xfer += oprot->writeString((*_iter589)); } xfer += oprot->writeListEnd(); } @@ -7982,10 +7982,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 _iter584; - for (_iter584 = (*(this->part_vals)).begin(); _iter584 != (*(this->part_vals)).end(); ++_iter584) + std::vector ::const_iterator _iter590; + for (_iter590 = (*(this->part_vals)).begin(); _iter590 != (*(this->part_vals)).end(); ++_iter590) { - xfer += oprot->writeString((*_iter584)); + xfer += oprot->writeString((*_iter590)); } xfer += oprot->writeListEnd(); } @@ -8720,14 +8720,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size585; - ::apache::thrift::protocol::TType _etype588; - xfer += iprot->readListBegin(_etype588, _size585); - this->part_vals.resize(_size585); - uint32_t _i589; - for (_i589 = 0; _i589 < _size585; ++_i589) + uint32_t _size591; + ::apache::thrift::protocol::TType _etype594; + xfer += iprot->readListBegin(_etype594, _size591); + this->part_vals.resize(_size591); + uint32_t _i595; + for (_i595 = 0; _i595 < _size591; ++_i595) { - xfer += iprot->readString(this->part_vals[_i589]); + xfer += iprot->readString(this->part_vals[_i595]); } xfer += iprot->readListEnd(); } @@ -8771,10 +8771,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 _iter590; - for (_iter590 = this->part_vals.begin(); _iter590 != this->part_vals.end(); ++_iter590) + std::vector ::const_iterator _iter596; + for (_iter596 = this->part_vals.begin(); _iter596 != this->part_vals.end(); ++_iter596) { - xfer += oprot->writeString((*_iter590)); + xfer += oprot->writeString((*_iter596)); } xfer += oprot->writeListEnd(); } @@ -8804,10 +8804,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 _iter591; - for (_iter591 = (*(this->part_vals)).begin(); _iter591 != (*(this->part_vals)).end(); ++_iter591) + std::vector ::const_iterator _iter597; + for (_iter597 = (*(this->part_vals)).begin(); _iter597 != (*(this->part_vals)).end(); ++_iter597) { - xfer += oprot->writeString((*_iter591)); + xfer += oprot->writeString((*_iter597)); } xfer += oprot->writeListEnd(); } @@ -8998,14 +8998,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size592; - ::apache::thrift::protocol::TType _etype595; - xfer += iprot->readListBegin(_etype595, _size592); - this->part_vals.resize(_size592); - uint32_t _i596; - for (_i596 = 0; _i596 < _size592; ++_i596) + uint32_t _size598; + ::apache::thrift::protocol::TType _etype601; + xfer += iprot->readListBegin(_etype601, _size598); + this->part_vals.resize(_size598); + uint32_t _i602; + for (_i602 = 0; _i602 < _size598; ++_i602) { - xfer += iprot->readString(this->part_vals[_i596]); + xfer += iprot->readString(this->part_vals[_i602]); } xfer += iprot->readListEnd(); } @@ -9057,10 +9057,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 _iter597; - for (_iter597 = this->part_vals.begin(); _iter597 != this->part_vals.end(); ++_iter597) + std::vector ::const_iterator _iter603; + for (_iter603 = this->part_vals.begin(); _iter603 != this->part_vals.end(); ++_iter603) { - xfer += oprot->writeString((*_iter597)); + xfer += oprot->writeString((*_iter603)); } xfer += oprot->writeListEnd(); } @@ -9094,10 +9094,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 _iter598; - for (_iter598 = (*(this->part_vals)).begin(); _iter598 != (*(this->part_vals)).end(); ++_iter598) + std::vector ::const_iterator _iter604; + for (_iter604 = (*(this->part_vals)).begin(); _iter604 != (*(this->part_vals)).end(); ++_iter604) { - xfer += oprot->writeString((*_iter598)); + xfer += oprot->writeString((*_iter604)); } xfer += oprot->writeListEnd(); } @@ -10010,14 +10010,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size599; - ::apache::thrift::protocol::TType _etype602; - xfer += iprot->readListBegin(_etype602, _size599); - this->part_vals.resize(_size599); - uint32_t _i603; - for (_i603 = 0; _i603 < _size599; ++_i603) + uint32_t _size605; + ::apache::thrift::protocol::TType _etype608; + xfer += iprot->readListBegin(_etype608, _size605); + this->part_vals.resize(_size605); + uint32_t _i609; + for (_i609 = 0; _i609 < _size605; ++_i609) { - xfer += iprot->readString(this->part_vals[_i603]); + xfer += iprot->readString(this->part_vals[_i609]); } xfer += iprot->readListEnd(); } @@ -10053,10 +10053,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 _iter604; - for (_iter604 = this->part_vals.begin(); _iter604 != this->part_vals.end(); ++_iter604) + std::vector ::const_iterator _iter610; + for (_iter610 = this->part_vals.begin(); _iter610 != this->part_vals.end(); ++_iter610) { - xfer += oprot->writeString((*_iter604)); + xfer += oprot->writeString((*_iter610)); } xfer += oprot->writeListEnd(); } @@ -10082,10 +10082,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 _iter605; - for (_iter605 = (*(this->part_vals)).begin(); _iter605 != (*(this->part_vals)).end(); ++_iter605) + std::vector ::const_iterator _iter611; + for (_iter611 = (*(this->part_vals)).begin(); _iter611 != (*(this->part_vals)).end(); ++_iter611) { - xfer += oprot->writeString((*_iter605)); + xfer += oprot->writeString((*_iter611)); } xfer += oprot->writeListEnd(); } @@ -10256,17 +10256,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size606; - ::apache::thrift::protocol::TType _ktype607; - ::apache::thrift::protocol::TType _vtype608; - xfer += iprot->readMapBegin(_ktype607, _vtype608, _size606); - uint32_t _i610; - for (_i610 = 0; _i610 < _size606; ++_i610) + uint32_t _size612; + ::apache::thrift::protocol::TType _ktype613; + ::apache::thrift::protocol::TType _vtype614; + xfer += iprot->readMapBegin(_ktype613, _vtype614, _size612); + uint32_t _i616; + for (_i616 = 0; _i616 < _size612; ++_i616) { - std::string _key611; - xfer += iprot->readString(_key611); - std::string& _val612 = this->partitionSpecs[_key611]; - xfer += iprot->readString(_val612); + std::string _key617; + xfer += iprot->readString(_key617); + std::string& _val618 = this->partitionSpecs[_key617]; + xfer += iprot->readString(_val618); } xfer += iprot->readMapEnd(); } @@ -10326,11 +10326,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 _iter613; - for (_iter613 = this->partitionSpecs.begin(); _iter613 != this->partitionSpecs.end(); ++_iter613) + std::map ::const_iterator _iter619; + for (_iter619 = this->partitionSpecs.begin(); _iter619 != this->partitionSpecs.end(); ++_iter619) { - xfer += oprot->writeString(_iter613->first); - xfer += oprot->writeString(_iter613->second); + xfer += oprot->writeString(_iter619->first); + xfer += oprot->writeString(_iter619->second); } xfer += oprot->writeMapEnd(); } @@ -10364,11 +10364,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 _iter614; - for (_iter614 = (*(this->partitionSpecs)).begin(); _iter614 != (*(this->partitionSpecs)).end(); ++_iter614) + std::map ::const_iterator _iter620; + for (_iter620 = (*(this->partitionSpecs)).begin(); _iter620 != (*(this->partitionSpecs)).end(); ++_iter620) { - xfer += oprot->writeString(_iter614->first); - xfer += oprot->writeString(_iter614->second); + xfer += oprot->writeString(_iter620->first); + xfer += oprot->writeString(_iter620->second); } xfer += oprot->writeMapEnd(); } @@ -10611,14 +10611,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 _size615; - ::apache::thrift::protocol::TType _etype618; - xfer += iprot->readListBegin(_etype618, _size615); - this->part_vals.resize(_size615); - uint32_t _i619; - for (_i619 = 0; _i619 < _size615; ++_i619) + uint32_t _size621; + ::apache::thrift::protocol::TType _etype624; + xfer += iprot->readListBegin(_etype624, _size621); + this->part_vals.resize(_size621); + uint32_t _i625; + for (_i625 = 0; _i625 < _size621; ++_i625) { - xfer += iprot->readString(this->part_vals[_i619]); + xfer += iprot->readString(this->part_vals[_i625]); } xfer += iprot->readListEnd(); } @@ -10639,14 +10639,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 _size620; - ::apache::thrift::protocol::TType _etype623; - xfer += iprot->readListBegin(_etype623, _size620); - this->group_names.resize(_size620); - uint32_t _i624; - for (_i624 = 0; _i624 < _size620; ++_i624) + uint32_t _size626; + ::apache::thrift::protocol::TType _etype629; + xfer += iprot->readListBegin(_etype629, _size626); + this->group_names.resize(_size626); + uint32_t _i630; + for (_i630 = 0; _i630 < _size626; ++_i630) { - xfer += iprot->readString(this->group_names[_i624]); + xfer += iprot->readString(this->group_names[_i630]); } xfer += iprot->readListEnd(); } @@ -10682,10 +10682,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 _iter625; - for (_iter625 = this->part_vals.begin(); _iter625 != this->part_vals.end(); ++_iter625) + std::vector ::const_iterator _iter631; + for (_iter631 = this->part_vals.begin(); _iter631 != this->part_vals.end(); ++_iter631) { - xfer += oprot->writeString((*_iter625)); + xfer += oprot->writeString((*_iter631)); } xfer += oprot->writeListEnd(); } @@ -10698,10 +10698,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 _iter626; - for (_iter626 = this->group_names.begin(); _iter626 != this->group_names.end(); ++_iter626) + std::vector ::const_iterator _iter632; + for (_iter632 = this->group_names.begin(); _iter632 != this->group_names.end(); ++_iter632) { - xfer += oprot->writeString((*_iter626)); + xfer += oprot->writeString((*_iter632)); } xfer += oprot->writeListEnd(); } @@ -10727,10 +10727,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 _iter627; - for (_iter627 = (*(this->part_vals)).begin(); _iter627 != (*(this->part_vals)).end(); ++_iter627) + std::vector ::const_iterator _iter633; + for (_iter633 = (*(this->part_vals)).begin(); _iter633 != (*(this->part_vals)).end(); ++_iter633) { - xfer += oprot->writeString((*_iter627)); + xfer += oprot->writeString((*_iter633)); } xfer += oprot->writeListEnd(); } @@ -10743,10 +10743,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 _iter628; - for (_iter628 = (*(this->group_names)).begin(); _iter628 != (*(this->group_names)).end(); ++_iter628) + std::vector ::const_iterator _iter634; + for (_iter634 = (*(this->group_names)).begin(); _iter634 != (*(this->group_names)).end(); ++_iter634) { - xfer += oprot->writeString((*_iter628)); + xfer += oprot->writeString((*_iter634)); } xfer += oprot->writeListEnd(); } @@ -11249,14 +11249,14 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size629; - ::apache::thrift::protocol::TType _etype632; - xfer += iprot->readListBegin(_etype632, _size629); - this->success.resize(_size629); - uint32_t _i633; - for (_i633 = 0; _i633 < _size629; ++_i633) + uint32_t _size635; + ::apache::thrift::protocol::TType _etype638; + xfer += iprot->readListBegin(_etype638, _size635); + this->success.resize(_size635); + uint32_t _i639; + for (_i639 = 0; _i639 < _size635; ++_i639) { - xfer += this->success[_i633].read(iprot); + xfer += this->success[_i639].read(iprot); } xfer += iprot->readListEnd(); } @@ -11303,10 +11303,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 _iter634; - for (_iter634 = this->success.begin(); _iter634 != this->success.end(); ++_iter634) + std::vector ::const_iterator _iter640; + for (_iter640 = this->success.begin(); _iter640 != this->success.end(); ++_iter640) { - xfer += (*_iter634).write(oprot); + xfer += (*_iter640).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11349,14 +11349,14 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size635; - ::apache::thrift::protocol::TType _etype638; - xfer += iprot->readListBegin(_etype638, _size635); - (*(this->success)).resize(_size635); - uint32_t _i639; - for (_i639 = 0; _i639 < _size635; ++_i639) + uint32_t _size641; + ::apache::thrift::protocol::TType _etype644; + xfer += iprot->readListBegin(_etype644, _size641); + (*(this->success)).resize(_size641); + uint32_t _i645; + for (_i645 = 0; _i645 < _size641; ++_i645) { - xfer += (*(this->success))[_i639].read(iprot); + xfer += (*(this->success))[_i645].read(iprot); } xfer += iprot->readListEnd(); } @@ -11449,14 +11449,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 _size640; - ::apache::thrift::protocol::TType _etype643; - xfer += iprot->readListBegin(_etype643, _size640); - this->group_names.resize(_size640); - uint32_t _i644; - for (_i644 = 0; _i644 < _size640; ++_i644) + uint32_t _size646; + ::apache::thrift::protocol::TType _etype649; + xfer += iprot->readListBegin(_etype649, _size646); + this->group_names.resize(_size646); + uint32_t _i650; + for (_i650 = 0; _i650 < _size646; ++_i650) { - xfer += iprot->readString(this->group_names[_i644]); + xfer += iprot->readString(this->group_names[_i650]); } xfer += iprot->readListEnd(); } @@ -11500,10 +11500,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 _iter645; - for (_iter645 = this->group_names.begin(); _iter645 != this->group_names.end(); ++_iter645) + std::vector ::const_iterator _iter651; + for (_iter651 = this->group_names.begin(); _iter651 != this->group_names.end(); ++_iter651) { - xfer += oprot->writeString((*_iter645)); + xfer += oprot->writeString((*_iter651)); } xfer += oprot->writeListEnd(); } @@ -11537,10 +11537,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 _iter646; - for (_iter646 = (*(this->group_names)).begin(); _iter646 != (*(this->group_names)).end(); ++_iter646) + std::vector ::const_iterator _iter652; + for (_iter652 = (*(this->group_names)).begin(); _iter652 != (*(this->group_names)).end(); ++_iter652) { - xfer += oprot->writeString((*_iter646)); + xfer += oprot->writeString((*_iter652)); } xfer += oprot->writeListEnd(); } @@ -11575,14 +11575,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size647; - ::apache::thrift::protocol::TType _etype650; - xfer += iprot->readListBegin(_etype650, _size647); - this->success.resize(_size647); - uint32_t _i651; - for (_i651 = 0; _i651 < _size647; ++_i651) + uint32_t _size653; + ::apache::thrift::protocol::TType _etype656; + xfer += iprot->readListBegin(_etype656, _size653); + this->success.resize(_size653); + uint32_t _i657; + for (_i657 = 0; _i657 < _size653; ++_i657) { - xfer += this->success[_i651].read(iprot); + xfer += this->success[_i657].read(iprot); } xfer += iprot->readListEnd(); } @@ -11629,10 +11629,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 _iter652; - for (_iter652 = this->success.begin(); _iter652 != this->success.end(); ++_iter652) + std::vector ::const_iterator _iter658; + for (_iter658 = this->success.begin(); _iter658 != this->success.end(); ++_iter658) { - xfer += (*_iter652).write(oprot); + xfer += (*_iter658).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11675,14 +11675,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size653; - ::apache::thrift::protocol::TType _etype656; - xfer += iprot->readListBegin(_etype656, _size653); - (*(this->success)).resize(_size653); - uint32_t _i657; - for (_i657 = 0; _i657 < _size653; ++_i657) + uint32_t _size659; + ::apache::thrift::protocol::TType _etype662; + xfer += iprot->readListBegin(_etype662, _size659); + (*(this->success)).resize(_size659); + uint32_t _i663; + for (_i663 = 0; _i663 < _size659; ++_i663) { - xfer += (*(this->success))[_i657].read(iprot); + xfer += (*(this->success))[_i663].read(iprot); } xfer += iprot->readListEnd(); } @@ -11841,14 +11841,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size658; - ::apache::thrift::protocol::TType _etype661; - xfer += iprot->readListBegin(_etype661, _size658); - this->success.resize(_size658); - uint32_t _i662; - for (_i662 = 0; _i662 < _size658; ++_i662) + uint32_t _size664; + ::apache::thrift::protocol::TType _etype667; + xfer += iprot->readListBegin(_etype667, _size664); + this->success.resize(_size664); + uint32_t _i668; + for (_i668 = 0; _i668 < _size664; ++_i668) { - xfer += this->success[_i662].read(iprot); + xfer += this->success[_i668].read(iprot); } xfer += iprot->readListEnd(); } @@ -11895,10 +11895,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 _iter663; - for (_iter663 = this->success.begin(); _iter663 != this->success.end(); ++_iter663) + std::vector ::const_iterator _iter669; + for (_iter669 = this->success.begin(); _iter669 != this->success.end(); ++_iter669) { - xfer += (*_iter663).write(oprot); + xfer += (*_iter669).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11941,14 +11941,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_presult::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size664; - ::apache::thrift::protocol::TType _etype667; - xfer += iprot->readListBegin(_etype667, _size664); - (*(this->success)).resize(_size664); - uint32_t _i668; - for (_i668 = 0; _i668 < _size664; ++_i668) + uint32_t _size670; + ::apache::thrift::protocol::TType _etype673; + xfer += iprot->readListBegin(_etype673, _size670); + (*(this->success)).resize(_size670); + uint32_t _i674; + for (_i674 = 0; _i674 < _size670; ++_i674) { - xfer += (*(this->success))[_i668].read(iprot); + xfer += (*(this->success))[_i674].read(iprot); } xfer += iprot->readListEnd(); } @@ -12107,14 +12107,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size669; - ::apache::thrift::protocol::TType _etype672; - xfer += iprot->readListBegin(_etype672, _size669); - this->success.resize(_size669); - uint32_t _i673; - for (_i673 = 0; _i673 < _size669; ++_i673) + uint32_t _size675; + ::apache::thrift::protocol::TType _etype678; + xfer += iprot->readListBegin(_etype678, _size675); + this->success.resize(_size675); + uint32_t _i679; + for (_i679 = 0; _i679 < _size675; ++_i679) { - xfer += iprot->readString(this->success[_i673]); + xfer += iprot->readString(this->success[_i679]); } xfer += iprot->readListEnd(); } @@ -12153,10 +12153,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 _iter674; - for (_iter674 = this->success.begin(); _iter674 != this->success.end(); ++_iter674) + std::vector ::const_iterator _iter680; + for (_iter680 = this->success.begin(); _iter680 != this->success.end(); ++_iter680) { - xfer += oprot->writeString((*_iter674)); + xfer += oprot->writeString((*_iter680)); } xfer += oprot->writeListEnd(); } @@ -12195,14 +12195,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size675; - ::apache::thrift::protocol::TType _etype678; - xfer += iprot->readListBegin(_etype678, _size675); - (*(this->success)).resize(_size675); - uint32_t _i679; - for (_i679 = 0; _i679 < _size675; ++_i679) + uint32_t _size681; + ::apache::thrift::protocol::TType _etype684; + xfer += iprot->readListBegin(_etype684, _size681); + (*(this->success)).resize(_size681); + uint32_t _i685; + for (_i685 = 0; _i685 < _size681; ++_i685) { - xfer += iprot->readString((*(this->success))[_i679]); + xfer += iprot->readString((*(this->success))[_i685]); } xfer += iprot->readListEnd(); } @@ -12271,14 +12271,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 _size680; - ::apache::thrift::protocol::TType _etype683; - xfer += iprot->readListBegin(_etype683, _size680); - this->part_vals.resize(_size680); - uint32_t _i684; - for (_i684 = 0; _i684 < _size680; ++_i684) + uint32_t _size686; + ::apache::thrift::protocol::TType _etype689; + xfer += iprot->readListBegin(_etype689, _size686); + this->part_vals.resize(_size686); + uint32_t _i690; + for (_i690 = 0; _i690 < _size686; ++_i690) { - xfer += iprot->readString(this->part_vals[_i684]); + xfer += iprot->readString(this->part_vals[_i690]); } xfer += iprot->readListEnd(); } @@ -12322,10 +12322,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 _iter685; - for (_iter685 = this->part_vals.begin(); _iter685 != this->part_vals.end(); ++_iter685) + std::vector ::const_iterator _iter691; + for (_iter691 = this->part_vals.begin(); _iter691 != this->part_vals.end(); ++_iter691) { - xfer += oprot->writeString((*_iter685)); + xfer += oprot->writeString((*_iter691)); } xfer += oprot->writeListEnd(); } @@ -12355,10 +12355,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 _iter686; - for (_iter686 = (*(this->part_vals)).begin(); _iter686 != (*(this->part_vals)).end(); ++_iter686) + std::vector ::const_iterator _iter692; + for (_iter692 = (*(this->part_vals)).begin(); _iter692 != (*(this->part_vals)).end(); ++_iter692) { - xfer += oprot->writeString((*_iter686)); + xfer += oprot->writeString((*_iter692)); } xfer += oprot->writeListEnd(); } @@ -12397,14 +12397,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size687; - ::apache::thrift::protocol::TType _etype690; - xfer += iprot->readListBegin(_etype690, _size687); - this->success.resize(_size687); - uint32_t _i691; - for (_i691 = 0; _i691 < _size687; ++_i691) + uint32_t _size693; + ::apache::thrift::protocol::TType _etype696; + xfer += iprot->readListBegin(_etype696, _size693); + this->success.resize(_size693); + uint32_t _i697; + for (_i697 = 0; _i697 < _size693; ++_i697) { - xfer += this->success[_i691].read(iprot); + xfer += this->success[_i697].read(iprot); } xfer += iprot->readListEnd(); } @@ -12451,10 +12451,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 _iter692; - for (_iter692 = this->success.begin(); _iter692 != this->success.end(); ++_iter692) + std::vector ::const_iterator _iter698; + for (_iter698 = this->success.begin(); _iter698 != this->success.end(); ++_iter698) { - xfer += (*_iter692).write(oprot); + xfer += (*_iter698).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12497,14 +12497,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size693; - ::apache::thrift::protocol::TType _etype696; - xfer += iprot->readListBegin(_etype696, _size693); - (*(this->success)).resize(_size693); - uint32_t _i697; - for (_i697 = 0; _i697 < _size693; ++_i697) + uint32_t _size699; + ::apache::thrift::protocol::TType _etype702; + xfer += iprot->readListBegin(_etype702, _size699); + (*(this->success)).resize(_size699); + uint32_t _i703; + for (_i703 = 0; _i703 < _size699; ++_i703) { - xfer += (*(this->success))[_i697].read(iprot); + xfer += (*(this->success))[_i703].read(iprot); } xfer += iprot->readListEnd(); } @@ -12581,14 +12581,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 _size698; - ::apache::thrift::protocol::TType _etype701; - xfer += iprot->readListBegin(_etype701, _size698); - this->part_vals.resize(_size698); - uint32_t _i702; - for (_i702 = 0; _i702 < _size698; ++_i702) + uint32_t _size704; + ::apache::thrift::protocol::TType _etype707; + xfer += iprot->readListBegin(_etype707, _size704); + this->part_vals.resize(_size704); + uint32_t _i708; + for (_i708 = 0; _i708 < _size704; ++_i708) { - xfer += iprot->readString(this->part_vals[_i702]); + xfer += iprot->readString(this->part_vals[_i708]); } xfer += iprot->readListEnd(); } @@ -12617,14 +12617,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 _size703; - ::apache::thrift::protocol::TType _etype706; - xfer += iprot->readListBegin(_etype706, _size703); - this->group_names.resize(_size703); - uint32_t _i707; - for (_i707 = 0; _i707 < _size703; ++_i707) + uint32_t _size709; + ::apache::thrift::protocol::TType _etype712; + xfer += iprot->readListBegin(_etype712, _size709); + this->group_names.resize(_size709); + uint32_t _i713; + for (_i713 = 0; _i713 < _size709; ++_i713) { - xfer += iprot->readString(this->group_names[_i707]); + xfer += iprot->readString(this->group_names[_i713]); } xfer += iprot->readListEnd(); } @@ -12660,10 +12660,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 _iter708; - for (_iter708 = this->part_vals.begin(); _iter708 != this->part_vals.end(); ++_iter708) + std::vector ::const_iterator _iter714; + for (_iter714 = this->part_vals.begin(); _iter714 != this->part_vals.end(); ++_iter714) { - xfer += oprot->writeString((*_iter708)); + xfer += oprot->writeString((*_iter714)); } xfer += oprot->writeListEnd(); } @@ -12680,10 +12680,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 _iter709; - for (_iter709 = this->group_names.begin(); _iter709 != this->group_names.end(); ++_iter709) + std::vector ::const_iterator _iter715; + for (_iter715 = this->group_names.begin(); _iter715 != this->group_names.end(); ++_iter715) { - xfer += oprot->writeString((*_iter709)); + xfer += oprot->writeString((*_iter715)); } xfer += oprot->writeListEnd(); } @@ -12709,10 +12709,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 _iter710; - for (_iter710 = (*(this->part_vals)).begin(); _iter710 != (*(this->part_vals)).end(); ++_iter710) + std::vector ::const_iterator _iter716; + for (_iter716 = (*(this->part_vals)).begin(); _iter716 != (*(this->part_vals)).end(); ++_iter716) { - xfer += oprot->writeString((*_iter710)); + xfer += oprot->writeString((*_iter716)); } xfer += oprot->writeListEnd(); } @@ -12729,10 +12729,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 _iter711; - for (_iter711 = (*(this->group_names)).begin(); _iter711 != (*(this->group_names)).end(); ++_iter711) + std::vector ::const_iterator _iter717; + for (_iter717 = (*(this->group_names)).begin(); _iter717 != (*(this->group_names)).end(); ++_iter717) { - xfer += oprot->writeString((*_iter711)); + xfer += oprot->writeString((*_iter717)); } xfer += oprot->writeListEnd(); } @@ -12767,14 +12767,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size712; - ::apache::thrift::protocol::TType _etype715; - xfer += iprot->readListBegin(_etype715, _size712); - this->success.resize(_size712); - uint32_t _i716; - for (_i716 = 0; _i716 < _size712; ++_i716) + uint32_t _size718; + ::apache::thrift::protocol::TType _etype721; + xfer += iprot->readListBegin(_etype721, _size718); + this->success.resize(_size718); + uint32_t _i722; + for (_i722 = 0; _i722 < _size718; ++_i722) { - xfer += this->success[_i716].read(iprot); + xfer += this->success[_i722].read(iprot); } xfer += iprot->readListEnd(); } @@ -12821,10 +12821,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 _iter717; - for (_iter717 = this->success.begin(); _iter717 != this->success.end(); ++_iter717) + std::vector ::const_iterator _iter723; + for (_iter723 = this->success.begin(); _iter723 != this->success.end(); ++_iter723) { - xfer += (*_iter717).write(oprot); + xfer += (*_iter723).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12867,14 +12867,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size718; - ::apache::thrift::protocol::TType _etype721; - xfer += iprot->readListBegin(_etype721, _size718); - (*(this->success)).resize(_size718); - uint32_t _i722; - for (_i722 = 0; _i722 < _size718; ++_i722) + uint32_t _size724; + ::apache::thrift::protocol::TType _etype727; + xfer += iprot->readListBegin(_etype727, _size724); + (*(this->success)).resize(_size724); + uint32_t _i728; + for (_i728 = 0; _i728 < _size724; ++_i728) { - xfer += (*(this->success))[_i722].read(iprot); + xfer += (*(this->success))[_i728].read(iprot); } xfer += iprot->readListEnd(); } @@ -12951,14 +12951,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 _size723; - ::apache::thrift::protocol::TType _etype726; - xfer += iprot->readListBegin(_etype726, _size723); - this->part_vals.resize(_size723); - uint32_t _i727; - for (_i727 = 0; _i727 < _size723; ++_i727) + uint32_t _size729; + ::apache::thrift::protocol::TType _etype732; + xfer += iprot->readListBegin(_etype732, _size729); + this->part_vals.resize(_size729); + uint32_t _i733; + for (_i733 = 0; _i733 < _size729; ++_i733) { - xfer += iprot->readString(this->part_vals[_i727]); + xfer += iprot->readString(this->part_vals[_i733]); } xfer += iprot->readListEnd(); } @@ -13002,10 +13002,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 _iter728; - for (_iter728 = this->part_vals.begin(); _iter728 != this->part_vals.end(); ++_iter728) + std::vector ::const_iterator _iter734; + for (_iter734 = this->part_vals.begin(); _iter734 != this->part_vals.end(); ++_iter734) { - xfer += oprot->writeString((*_iter728)); + xfer += oprot->writeString((*_iter734)); } xfer += oprot->writeListEnd(); } @@ -13035,10 +13035,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 _iter729; - for (_iter729 = (*(this->part_vals)).begin(); _iter729 != (*(this->part_vals)).end(); ++_iter729) + std::vector ::const_iterator _iter735; + for (_iter735 = (*(this->part_vals)).begin(); _iter735 != (*(this->part_vals)).end(); ++_iter735) { - xfer += oprot->writeString((*_iter729)); + xfer += oprot->writeString((*_iter735)); } xfer += oprot->writeListEnd(); } @@ -13077,14 +13077,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size730; - ::apache::thrift::protocol::TType _etype733; - xfer += iprot->readListBegin(_etype733, _size730); - this->success.resize(_size730); - uint32_t _i734; - for (_i734 = 0; _i734 < _size730; ++_i734) + uint32_t _size736; + ::apache::thrift::protocol::TType _etype739; + xfer += iprot->readListBegin(_etype739, _size736); + this->success.resize(_size736); + uint32_t _i740; + for (_i740 = 0; _i740 < _size736; ++_i740) { - xfer += iprot->readString(this->success[_i734]); + xfer += iprot->readString(this->success[_i740]); } xfer += iprot->readListEnd(); } @@ -13131,10 +13131,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 _iter735; - for (_iter735 = this->success.begin(); _iter735 != this->success.end(); ++_iter735) + std::vector ::const_iterator _iter741; + for (_iter741 = this->success.begin(); _iter741 != this->success.end(); ++_iter741) { - xfer += oprot->writeString((*_iter735)); + xfer += oprot->writeString((*_iter741)); } xfer += oprot->writeListEnd(); } @@ -13177,14 +13177,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size736; - ::apache::thrift::protocol::TType _etype739; - xfer += iprot->readListBegin(_etype739, _size736); - (*(this->success)).resize(_size736); - uint32_t _i740; - for (_i740 = 0; _i740 < _size736; ++_i740) + uint32_t _size742; + ::apache::thrift::protocol::TType _etype745; + xfer += iprot->readListBegin(_etype745, _size742); + (*(this->success)).resize(_size742); + uint32_t _i746; + for (_i746 = 0; _i746 < _size742; ++_i746) { - xfer += iprot->readString((*(this->success))[_i740]); + xfer += iprot->readString((*(this->success))[_i746]); } xfer += iprot->readListEnd(); } @@ -13359,14 +13359,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size741; - ::apache::thrift::protocol::TType _etype744; - xfer += iprot->readListBegin(_etype744, _size741); - this->success.resize(_size741); - uint32_t _i745; - for (_i745 = 0; _i745 < _size741; ++_i745) + uint32_t _size747; + ::apache::thrift::protocol::TType _etype750; + xfer += iprot->readListBegin(_etype750, _size747); + this->success.resize(_size747); + uint32_t _i751; + for (_i751 = 0; _i751 < _size747; ++_i751) { - xfer += this->success[_i745].read(iprot); + xfer += this->success[_i751].read(iprot); } xfer += iprot->readListEnd(); } @@ -13413,10 +13413,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 _iter746; - for (_iter746 = this->success.begin(); _iter746 != this->success.end(); ++_iter746) + std::vector ::const_iterator _iter752; + for (_iter752 = this->success.begin(); _iter752 != this->success.end(); ++_iter752) { - xfer += (*_iter746).write(oprot); + xfer += (*_iter752).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13459,14 +13459,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size747; - ::apache::thrift::protocol::TType _etype750; - xfer += iprot->readListBegin(_etype750, _size747); - (*(this->success)).resize(_size747); - uint32_t _i751; - for (_i751 = 0; _i751 < _size747; ++_i751) + uint32_t _size753; + ::apache::thrift::protocol::TType _etype756; + xfer += iprot->readListBegin(_etype756, _size753); + (*(this->success)).resize(_size753); + uint32_t _i757; + for (_i757 = 0; _i757 < _size753; ++_i757) { - xfer += (*(this->success))[_i751].read(iprot); + xfer += (*(this->success))[_i757].read(iprot); } xfer += iprot->readListEnd(); } @@ -13641,14 +13641,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 _size752; - ::apache::thrift::protocol::TType _etype755; - xfer += iprot->readListBegin(_etype755, _size752); - this->success.resize(_size752); - uint32_t _i756; - for (_i756 = 0; _i756 < _size752; ++_i756) + uint32_t _size758; + ::apache::thrift::protocol::TType _etype761; + xfer += iprot->readListBegin(_etype761, _size758); + this->success.resize(_size758); + uint32_t _i762; + for (_i762 = 0; _i762 < _size758; ++_i762) { - xfer += this->success[_i756].read(iprot); + xfer += this->success[_i762].read(iprot); } xfer += iprot->readListEnd(); } @@ -13695,10 +13695,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 _iter757; - for (_iter757 = this->success.begin(); _iter757 != this->success.end(); ++_iter757) + std::vector ::const_iterator _iter763; + for (_iter763 = this->success.begin(); _iter763 != this->success.end(); ++_iter763) { - xfer += (*_iter757).write(oprot); + xfer += (*_iter763).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13741,14 +13741,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 _size758; - ::apache::thrift::protocol::TType _etype761; - xfer += iprot->readListBegin(_etype761, _size758); - (*(this->success)).resize(_size758); - uint32_t _i762; - for (_i762 = 0; _i762 < _size758; ++_i762) + uint32_t _size764; + ::apache::thrift::protocol::TType _etype767; + xfer += iprot->readListBegin(_etype767, _size764); + (*(this->success)).resize(_size764); + uint32_t _i768; + for (_i768 = 0; _i768 < _size764; ++_i768) { - xfer += (*(this->success))[_i762].read(iprot); + xfer += (*(this->success))[_i768].read(iprot); } xfer += iprot->readListEnd(); } @@ -14027,14 +14027,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size763; - ::apache::thrift::protocol::TType _etype766; - xfer += iprot->readListBegin(_etype766, _size763); - this->names.resize(_size763); - uint32_t _i767; - for (_i767 = 0; _i767 < _size763; ++_i767) + uint32_t _size769; + ::apache::thrift::protocol::TType _etype772; + xfer += iprot->readListBegin(_etype772, _size769); + this->names.resize(_size769); + uint32_t _i773; + for (_i773 = 0; _i773 < _size769; ++_i773) { - xfer += iprot->readString(this->names[_i767]); + xfer += iprot->readString(this->names[_i773]); } xfer += iprot->readListEnd(); } @@ -14070,10 +14070,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 _iter768; - for (_iter768 = this->names.begin(); _iter768 != this->names.end(); ++_iter768) + std::vector ::const_iterator _iter774; + for (_iter774 = this->names.begin(); _iter774 != this->names.end(); ++_iter774) { - xfer += oprot->writeString((*_iter768)); + xfer += oprot->writeString((*_iter774)); } xfer += oprot->writeListEnd(); } @@ -14099,10 +14099,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 _iter769; - for (_iter769 = (*(this->names)).begin(); _iter769 != (*(this->names)).end(); ++_iter769) + std::vector ::const_iterator _iter775; + for (_iter775 = (*(this->names)).begin(); _iter775 != (*(this->names)).end(); ++_iter775) { - xfer += oprot->writeString((*_iter769)); + xfer += oprot->writeString((*_iter775)); } xfer += oprot->writeListEnd(); } @@ -14137,14 +14137,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size770; - ::apache::thrift::protocol::TType _etype773; - xfer += iprot->readListBegin(_etype773, _size770); - this->success.resize(_size770); - uint32_t _i774; - for (_i774 = 0; _i774 < _size770; ++_i774) + uint32_t _size776; + ::apache::thrift::protocol::TType _etype779; + xfer += iprot->readListBegin(_etype779, _size776); + this->success.resize(_size776); + uint32_t _i780; + for (_i780 = 0; _i780 < _size776; ++_i780) { - xfer += this->success[_i774].read(iprot); + xfer += this->success[_i780].read(iprot); } xfer += iprot->readListEnd(); } @@ -14191,10 +14191,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 _iter775; - for (_iter775 = this->success.begin(); _iter775 != this->success.end(); ++_iter775) + std::vector ::const_iterator _iter781; + for (_iter781 = this->success.begin(); _iter781 != this->success.end(); ++_iter781) { - xfer += (*_iter775).write(oprot); + xfer += (*_iter781).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14237,14 +14237,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size776; - ::apache::thrift::protocol::TType _etype779; - xfer += iprot->readListBegin(_etype779, _size776); - (*(this->success)).resize(_size776); - uint32_t _i780; - for (_i780 = 0; _i780 < _size776; ++_i780) + uint32_t _size782; + ::apache::thrift::protocol::TType _etype785; + xfer += iprot->readListBegin(_etype785, _size782); + (*(this->success)).resize(_size782); + uint32_t _i786; + for (_i786 = 0; _i786 < _size782; ++_i786) { - xfer += (*(this->success))[_i780].read(iprot); + xfer += (*(this->success))[_i786].read(iprot); } xfer += iprot->readListEnd(); } @@ -14535,14 +14535,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size781; - ::apache::thrift::protocol::TType _etype784; - xfer += iprot->readListBegin(_etype784, _size781); - this->new_parts.resize(_size781); - uint32_t _i785; - for (_i785 = 0; _i785 < _size781; ++_i785) + uint32_t _size787; + ::apache::thrift::protocol::TType _etype790; + xfer += iprot->readListBegin(_etype790, _size787); + this->new_parts.resize(_size787); + uint32_t _i791; + for (_i791 = 0; _i791 < _size787; ++_i791) { - xfer += this->new_parts[_i785].read(iprot); + xfer += this->new_parts[_i791].read(iprot); } xfer += iprot->readListEnd(); } @@ -14578,10 +14578,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 _iter786; - for (_iter786 = this->new_parts.begin(); _iter786 != this->new_parts.end(); ++_iter786) + std::vector ::const_iterator _iter792; + for (_iter792 = this->new_parts.begin(); _iter792 != this->new_parts.end(); ++_iter792) { - xfer += (*_iter786).write(oprot); + xfer += (*_iter792).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14607,10 +14607,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 _iter787; - for (_iter787 = (*(this->new_parts)).begin(); _iter787 != (*(this->new_parts)).end(); ++_iter787) + std::vector ::const_iterator _iter793; + for (_iter793 = (*(this->new_parts)).begin(); _iter793 != (*(this->new_parts)).end(); ++_iter793) { - xfer += (*_iter787).write(oprot); + xfer += (*_iter793).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15007,14 +15007,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size788; - ::apache::thrift::protocol::TType _etype791; - xfer += iprot->readListBegin(_etype791, _size788); - this->part_vals.resize(_size788); - uint32_t _i792; - for (_i792 = 0; _i792 < _size788; ++_i792) + uint32_t _size794; + ::apache::thrift::protocol::TType _etype797; + xfer += iprot->readListBegin(_etype797, _size794); + this->part_vals.resize(_size794); + uint32_t _i798; + for (_i798 = 0; _i798 < _size794; ++_i798) { - xfer += iprot->readString(this->part_vals[_i792]); + xfer += iprot->readString(this->part_vals[_i798]); } xfer += iprot->readListEnd(); } @@ -15058,10 +15058,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 _iter793; - for (_iter793 = this->part_vals.begin(); _iter793 != this->part_vals.end(); ++_iter793) + std::vector ::const_iterator _iter799; + for (_iter799 = this->part_vals.begin(); _iter799 != this->part_vals.end(); ++_iter799) { - xfer += oprot->writeString((*_iter793)); + xfer += oprot->writeString((*_iter799)); } xfer += oprot->writeListEnd(); } @@ -15091,10 +15091,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 _iter794; - for (_iter794 = (*(this->part_vals)).begin(); _iter794 != (*(this->part_vals)).end(); ++_iter794) + std::vector ::const_iterator _iter800; + for (_iter800 = (*(this->part_vals)).begin(); _iter800 != (*(this->part_vals)).end(); ++_iter800) { - xfer += oprot->writeString((*_iter794)); + xfer += oprot->writeString((*_iter800)); } xfer += oprot->writeListEnd(); } @@ -15249,14 +15249,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 _size795; - ::apache::thrift::protocol::TType _etype798; - xfer += iprot->readListBegin(_etype798, _size795); - this->part_vals.resize(_size795); - uint32_t _i799; - for (_i799 = 0; _i799 < _size795; ++_i799) + uint32_t _size801; + ::apache::thrift::protocol::TType _etype804; + xfer += iprot->readListBegin(_etype804, _size801); + this->part_vals.resize(_size801); + uint32_t _i805; + for (_i805 = 0; _i805 < _size801; ++_i805) { - xfer += iprot->readString(this->part_vals[_i799]); + xfer += iprot->readString(this->part_vals[_i805]); } xfer += iprot->readListEnd(); } @@ -15292,10 +15292,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 _iter800; - for (_iter800 = this->part_vals.begin(); _iter800 != this->part_vals.end(); ++_iter800) + std::vector ::const_iterator _iter806; + for (_iter806 = this->part_vals.begin(); _iter806 != this->part_vals.end(); ++_iter806) { - xfer += oprot->writeString((*_iter800)); + xfer += oprot->writeString((*_iter806)); } xfer += oprot->writeListEnd(); } @@ -15317,10 +15317,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 _iter801; - for (_iter801 = (*(this->part_vals)).begin(); _iter801 != (*(this->part_vals)).end(); ++_iter801) + std::vector ::const_iterator _iter807; + for (_iter807 = (*(this->part_vals)).begin(); _iter807 != (*(this->part_vals)).end(); ++_iter807) { - xfer += oprot->writeString((*_iter801)); + xfer += oprot->writeString((*_iter807)); } xfer += oprot->writeListEnd(); } @@ -15739,14 +15739,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size802; - ::apache::thrift::protocol::TType _etype805; - xfer += iprot->readListBegin(_etype805, _size802); - this->success.resize(_size802); - uint32_t _i806; - for (_i806 = 0; _i806 < _size802; ++_i806) + uint32_t _size808; + ::apache::thrift::protocol::TType _etype811; + xfer += iprot->readListBegin(_etype811, _size808); + this->success.resize(_size808); + uint32_t _i812; + for (_i812 = 0; _i812 < _size808; ++_i812) { - xfer += iprot->readString(this->success[_i806]); + xfer += iprot->readString(this->success[_i812]); } xfer += iprot->readListEnd(); } @@ -15785,10 +15785,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 _iter807; - for (_iter807 = this->success.begin(); _iter807 != this->success.end(); ++_iter807) + std::vector ::const_iterator _iter813; + for (_iter813 = this->success.begin(); _iter813 != this->success.end(); ++_iter813) { - xfer += oprot->writeString((*_iter807)); + xfer += oprot->writeString((*_iter813)); } xfer += oprot->writeListEnd(); } @@ -15827,14 +15827,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size808; - ::apache::thrift::protocol::TType _etype811; - xfer += iprot->readListBegin(_etype811, _size808); - (*(this->success)).resize(_size808); - uint32_t _i812; - for (_i812 = 0; _i812 < _size808; ++_i812) + uint32_t _size814; + ::apache::thrift::protocol::TType _etype817; + xfer += iprot->readListBegin(_etype817, _size814); + (*(this->success)).resize(_size814); + uint32_t _i818; + for (_i818 = 0; _i818 < _size814; ++_i818) { - xfer += iprot->readString((*(this->success))[_i812]); + xfer += iprot->readString((*(this->success))[_i818]); } xfer += iprot->readListEnd(); } @@ -15953,17 +15953,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size813; - ::apache::thrift::protocol::TType _ktype814; - ::apache::thrift::protocol::TType _vtype815; - xfer += iprot->readMapBegin(_ktype814, _vtype815, _size813); - uint32_t _i817; - for (_i817 = 0; _i817 < _size813; ++_i817) + uint32_t _size819; + ::apache::thrift::protocol::TType _ktype820; + ::apache::thrift::protocol::TType _vtype821; + xfer += iprot->readMapBegin(_ktype820, _vtype821, _size819); + uint32_t _i823; + for (_i823 = 0; _i823 < _size819; ++_i823) { - std::string _key818; - xfer += iprot->readString(_key818); - std::string& _val819 = this->success[_key818]; - xfer += iprot->readString(_val819); + std::string _key824; + xfer += iprot->readString(_key824); + std::string& _val825 = this->success[_key824]; + xfer += iprot->readString(_val825); } xfer += iprot->readMapEnd(); } @@ -16002,11 +16002,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 _iter820; - for (_iter820 = this->success.begin(); _iter820 != this->success.end(); ++_iter820) + std::map ::const_iterator _iter826; + for (_iter826 = this->success.begin(); _iter826 != this->success.end(); ++_iter826) { - xfer += oprot->writeString(_iter820->first); - xfer += oprot->writeString(_iter820->second); + xfer += oprot->writeString(_iter826->first); + xfer += oprot->writeString(_iter826->second); } xfer += oprot->writeMapEnd(); } @@ -16045,17 +16045,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size821; - ::apache::thrift::protocol::TType _ktype822; - ::apache::thrift::protocol::TType _vtype823; - xfer += iprot->readMapBegin(_ktype822, _vtype823, _size821); - uint32_t _i825; - for (_i825 = 0; _i825 < _size821; ++_i825) + uint32_t _size827; + ::apache::thrift::protocol::TType _ktype828; + ::apache::thrift::protocol::TType _vtype829; + xfer += iprot->readMapBegin(_ktype828, _vtype829, _size827); + uint32_t _i831; + for (_i831 = 0; _i831 < _size827; ++_i831) { - std::string _key826; - xfer += iprot->readString(_key826); - std::string& _val827 = (*(this->success))[_key826]; - xfer += iprot->readString(_val827); + std::string _key832; + xfer += iprot->readString(_key832); + std::string& _val833 = (*(this->success))[_key832]; + xfer += iprot->readString(_val833); } xfer += iprot->readMapEnd(); } @@ -16124,17 +16124,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size828; - ::apache::thrift::protocol::TType _ktype829; - ::apache::thrift::protocol::TType _vtype830; - xfer += iprot->readMapBegin(_ktype829, _vtype830, _size828); - uint32_t _i832; - for (_i832 = 0; _i832 < _size828; ++_i832) + uint32_t _size834; + ::apache::thrift::protocol::TType _ktype835; + ::apache::thrift::protocol::TType _vtype836; + xfer += iprot->readMapBegin(_ktype835, _vtype836, _size834); + uint32_t _i838; + for (_i838 = 0; _i838 < _size834; ++_i838) { - std::string _key833; - xfer += iprot->readString(_key833); - std::string& _val834 = this->part_vals[_key833]; - xfer += iprot->readString(_val834); + std::string _key839; + xfer += iprot->readString(_key839); + std::string& _val840 = this->part_vals[_key839]; + xfer += iprot->readString(_val840); } xfer += iprot->readMapEnd(); } @@ -16145,9 +16145,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast835; - xfer += iprot->readI32(ecast835); - this->eventType = (PartitionEventType::type)ecast835; + int32_t ecast841; + xfer += iprot->readI32(ecast841); + this->eventType = (PartitionEventType::type)ecast841; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -16180,11 +16180,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 _iter836; - for (_iter836 = this->part_vals.begin(); _iter836 != this->part_vals.end(); ++_iter836) + std::map ::const_iterator _iter842; + for (_iter842 = this->part_vals.begin(); _iter842 != this->part_vals.end(); ++_iter842) { - xfer += oprot->writeString(_iter836->first); - xfer += oprot->writeString(_iter836->second); + xfer += oprot->writeString(_iter842->first); + xfer += oprot->writeString(_iter842->second); } xfer += oprot->writeMapEnd(); } @@ -16214,11 +16214,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 _iter837; - for (_iter837 = (*(this->part_vals)).begin(); _iter837 != (*(this->part_vals)).end(); ++_iter837) + std::map ::const_iterator _iter843; + for (_iter843 = (*(this->part_vals)).begin(); _iter843 != (*(this->part_vals)).end(); ++_iter843) { - xfer += oprot->writeString(_iter837->first); - xfer += oprot->writeString(_iter837->second); + xfer += oprot->writeString(_iter843->first); + xfer += oprot->writeString(_iter843->second); } xfer += oprot->writeMapEnd(); } @@ -16469,17 +16469,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size838; - ::apache::thrift::protocol::TType _ktype839; - ::apache::thrift::protocol::TType _vtype840; - xfer += iprot->readMapBegin(_ktype839, _vtype840, _size838); - uint32_t _i842; - for (_i842 = 0; _i842 < _size838; ++_i842) + uint32_t _size844; + ::apache::thrift::protocol::TType _ktype845; + ::apache::thrift::protocol::TType _vtype846; + xfer += iprot->readMapBegin(_ktype845, _vtype846, _size844); + uint32_t _i848; + for (_i848 = 0; _i848 < _size844; ++_i848) { - std::string _key843; - xfer += iprot->readString(_key843); - std::string& _val844 = this->part_vals[_key843]; - xfer += iprot->readString(_val844); + std::string _key849; + xfer += iprot->readString(_key849); + std::string& _val850 = this->part_vals[_key849]; + xfer += iprot->readString(_val850); } xfer += iprot->readMapEnd(); } @@ -16490,9 +16490,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast845; - xfer += iprot->readI32(ecast845); - this->eventType = (PartitionEventType::type)ecast845; + int32_t ecast851; + xfer += iprot->readI32(ecast851); + this->eventType = (PartitionEventType::type)ecast851; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -16525,11 +16525,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 _iter846; - for (_iter846 = this->part_vals.begin(); _iter846 != this->part_vals.end(); ++_iter846) + std::map ::const_iterator _iter852; + for (_iter852 = this->part_vals.begin(); _iter852 != this->part_vals.end(); ++_iter852) { - xfer += oprot->writeString(_iter846->first); - xfer += oprot->writeString(_iter846->second); + xfer += oprot->writeString(_iter852->first); + xfer += oprot->writeString(_iter852->second); } xfer += oprot->writeMapEnd(); } @@ -16559,11 +16559,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 _iter847; - for (_iter847 = (*(this->part_vals)).begin(); _iter847 != (*(this->part_vals)).end(); ++_iter847) + std::map ::const_iterator _iter853; + for (_iter853 = (*(this->part_vals)).begin(); _iter853 != (*(this->part_vals)).end(); ++_iter853) { - xfer += oprot->writeString(_iter847->first); - xfer += oprot->writeString(_iter847->second); + xfer += oprot->writeString(_iter853->first); + xfer += oprot->writeString(_iter853->second); } xfer += oprot->writeMapEnd(); } @@ -17868,14 +17868,14 @@ uint32_t ThriftHiveMetastore_get_indexes_result::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size848; - ::apache::thrift::protocol::TType _etype851; - xfer += iprot->readListBegin(_etype851, _size848); - this->success.resize(_size848); - uint32_t _i852; - for (_i852 = 0; _i852 < _size848; ++_i852) + uint32_t _size854; + ::apache::thrift::protocol::TType _etype857; + xfer += iprot->readListBegin(_etype857, _size854); + this->success.resize(_size854); + uint32_t _i858; + for (_i858 = 0; _i858 < _size854; ++_i858) { - xfer += this->success[_i852].read(iprot); + xfer += this->success[_i858].read(iprot); } xfer += iprot->readListEnd(); } @@ -17922,10 +17922,10 @@ uint32_t ThriftHiveMetastore_get_indexes_result::write(::apache::thrift::protoco xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter853; - for (_iter853 = this->success.begin(); _iter853 != this->success.end(); ++_iter853) + std::vector ::const_iterator _iter859; + for (_iter859 = this->success.begin(); _iter859 != this->success.end(); ++_iter859) { - xfer += (*_iter853).write(oprot); + xfer += (*_iter859).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17968,14 +17968,14 @@ uint32_t ThriftHiveMetastore_get_indexes_presult::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size854; - ::apache::thrift::protocol::TType _etype857; - xfer += iprot->readListBegin(_etype857, _size854); - (*(this->success)).resize(_size854); - uint32_t _i858; - for (_i858 = 0; _i858 < _size854; ++_i858) + uint32_t _size860; + ::apache::thrift::protocol::TType _etype863; + xfer += iprot->readListBegin(_etype863, _size860); + (*(this->success)).resize(_size860); + uint32_t _i864; + for (_i864 = 0; _i864 < _size860; ++_i864) { - xfer += (*(this->success))[_i858].read(iprot); + xfer += (*(this->success))[_i864].read(iprot); } xfer += iprot->readListEnd(); } @@ -18134,14 +18134,14 @@ uint32_t ThriftHiveMetastore_get_index_names_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size859; - ::apache::thrift::protocol::TType _etype862; - xfer += iprot->readListBegin(_etype862, _size859); - this->success.resize(_size859); - uint32_t _i863; - for (_i863 = 0; _i863 < _size859; ++_i863) + uint32_t _size865; + ::apache::thrift::protocol::TType _etype868; + xfer += iprot->readListBegin(_etype868, _size865); + this->success.resize(_size865); + uint32_t _i869; + for (_i869 = 0; _i869 < _size865; ++_i869) { - xfer += iprot->readString(this->success[_i863]); + xfer += iprot->readString(this->success[_i869]); } xfer += iprot->readListEnd(); } @@ -18180,10 +18180,10 @@ uint32_t ThriftHiveMetastore_get_index_names_result::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter864; - for (_iter864 = this->success.begin(); _iter864 != this->success.end(); ++_iter864) + std::vector ::const_iterator _iter870; + for (_iter870 = this->success.begin(); _iter870 != this->success.end(); ++_iter870) { - xfer += oprot->writeString((*_iter864)); + xfer += oprot->writeString((*_iter870)); } xfer += oprot->writeListEnd(); } @@ -18222,14 +18222,14 @@ uint32_t ThriftHiveMetastore_get_index_names_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size865; - ::apache::thrift::protocol::TType _etype868; - xfer += iprot->readListBegin(_etype868, _size865); - (*(this->success)).resize(_size865); - uint32_t _i869; - for (_i869 = 0; _i869 < _size865; ++_i869) + uint32_t _size871; + ::apache::thrift::protocol::TType _etype874; + xfer += iprot->readListBegin(_etype874, _size871); + (*(this->success)).resize(_size871); + uint32_t _i875; + for (_i875 = 0; _i875 < _size871; ++_i875) { - xfer += iprot->readString((*(this->success))[_i869]); + xfer += iprot->readString((*(this->success))[_i875]); } xfer += iprot->readListEnd(); } @@ -21458,14 +21458,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size870; - ::apache::thrift::protocol::TType _etype873; - xfer += iprot->readListBegin(_etype873, _size870); - this->success.resize(_size870); - uint32_t _i874; - for (_i874 = 0; _i874 < _size870; ++_i874) + uint32_t _size876; + ::apache::thrift::protocol::TType _etype879; + xfer += iprot->readListBegin(_etype879, _size876); + this->success.resize(_size876); + uint32_t _i880; + for (_i880 = 0; _i880 < _size876; ++_i880) { - xfer += iprot->readString(this->success[_i874]); + xfer += iprot->readString(this->success[_i880]); } xfer += iprot->readListEnd(); } @@ -21504,10 +21504,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 _iter875; - for (_iter875 = this->success.begin(); _iter875 != this->success.end(); ++_iter875) + std::vector ::const_iterator _iter881; + for (_iter881 = this->success.begin(); _iter881 != this->success.end(); ++_iter881) { - xfer += oprot->writeString((*_iter875)); + xfer += oprot->writeString((*_iter881)); } xfer += oprot->writeListEnd(); } @@ -21546,14 +21546,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size876; - ::apache::thrift::protocol::TType _etype879; - xfer += iprot->readListBegin(_etype879, _size876); - (*(this->success)).resize(_size876); - uint32_t _i880; - for (_i880 = 0; _i880 < _size876; ++_i880) + uint32_t _size882; + ::apache::thrift::protocol::TType _etype885; + xfer += iprot->readListBegin(_etype885, _size882); + (*(this->success)).resize(_size882); + uint32_t _i886; + for (_i886 = 0; _i886 < _size882; ++_i886) { - xfer += iprot->readString((*(this->success))[_i880]); + xfer += iprot->readString((*(this->success))[_i886]); } xfer += iprot->readListEnd(); } @@ -21800,6 +21800,167 @@ uint32_t ThriftHiveMetastore_get_function_presult::read(::apache::thrift::protoc return xfer; } +uint32_t ThriftHiveMetastore_get_all_functions_args::read(::apache::thrift::protocol::TProtocol* iprot) { + + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t ThriftHiveMetastore_get_all_functions_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_functions_args"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +uint32_t ThriftHiveMetastore_get_all_functions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_functions_pargs"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +uint32_t ThriftHiveMetastore_get_all_functions_result::read(::apache::thrift::protocol::TProtocol* iprot) { + + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->success.read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o1.read(iprot); + this->__isset.o1 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t ThriftHiveMetastore_get_all_functions_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_functions_result"); + + if (this->__isset.success) { + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); + xfer += this->success.write(oprot); + xfer += oprot->writeFieldEnd(); + } else if (this->__isset.o1) { + xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->o1.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +uint32_t ThriftHiveMetastore_get_all_functions_presult::read(::apache::thrift::protocol::TProtocol* iprot) { + + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += (*(this->success)).read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o1.read(iprot); + this->__isset.o1 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + uint32_t ThriftHiveMetastore_create_role_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; @@ -22233,14 +22394,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size881; - ::apache::thrift::protocol::TType _etype884; - xfer += iprot->readListBegin(_etype884, _size881); - this->success.resize(_size881); - uint32_t _i885; - for (_i885 = 0; _i885 < _size881; ++_i885) + uint32_t _size887; + ::apache::thrift::protocol::TType _etype890; + xfer += iprot->readListBegin(_etype890, _size887); + this->success.resize(_size887); + uint32_t _i891; + for (_i891 = 0; _i891 < _size887; ++_i891) { - xfer += iprot->readString(this->success[_i885]); + xfer += iprot->readString(this->success[_i891]); } xfer += iprot->readListEnd(); } @@ -22279,10 +22440,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 _iter886; - for (_iter886 = this->success.begin(); _iter886 != this->success.end(); ++_iter886) + std::vector ::const_iterator _iter892; + for (_iter892 = this->success.begin(); _iter892 != this->success.end(); ++_iter892) { - xfer += oprot->writeString((*_iter886)); + xfer += oprot->writeString((*_iter892)); } xfer += oprot->writeListEnd(); } @@ -22321,14 +22482,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size887; - ::apache::thrift::protocol::TType _etype890; - xfer += iprot->readListBegin(_etype890, _size887); - (*(this->success)).resize(_size887); - uint32_t _i891; - for (_i891 = 0; _i891 < _size887; ++_i891) + uint32_t _size893; + ::apache::thrift::protocol::TType _etype896; + xfer += iprot->readListBegin(_etype896, _size893); + (*(this->success)).resize(_size893); + uint32_t _i897; + for (_i897 = 0; _i897 < _size893; ++_i897) { - xfer += iprot->readString((*(this->success))[_i891]); + xfer += iprot->readString((*(this->success))[_i897]); } xfer += iprot->readListEnd(); } @@ -22395,9 +22556,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast892; - xfer += iprot->readI32(ecast892); - this->principal_type = (PrincipalType::type)ecast892; + int32_t ecast898; + xfer += iprot->readI32(ecast898); + this->principal_type = (PrincipalType::type)ecast898; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -22413,9 +22574,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast893; - xfer += iprot->readI32(ecast893); - this->grantorType = (PrincipalType::type)ecast893; + int32_t ecast899; + xfer += iprot->readI32(ecast899); + this->grantorType = (PrincipalType::type)ecast899; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -22661,9 +22822,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast894; - xfer += iprot->readI32(ecast894); - this->principal_type = (PrincipalType::type)ecast894; + int32_t ecast900; + xfer += iprot->readI32(ecast900); + this->principal_type = (PrincipalType::type)ecast900; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -22869,9 +23030,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast895; - xfer += iprot->readI32(ecast895); - this->principal_type = (PrincipalType::type)ecast895; + int32_t ecast901; + xfer += iprot->readI32(ecast901); + this->principal_type = (PrincipalType::type)ecast901; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -22947,14 +23108,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size896; - ::apache::thrift::protocol::TType _etype899; - xfer += iprot->readListBegin(_etype899, _size896); - this->success.resize(_size896); - uint32_t _i900; - for (_i900 = 0; _i900 < _size896; ++_i900) + uint32_t _size902; + ::apache::thrift::protocol::TType _etype905; + xfer += iprot->readListBegin(_etype905, _size902); + this->success.resize(_size902); + uint32_t _i906; + for (_i906 = 0; _i906 < _size902; ++_i906) { - xfer += this->success[_i900].read(iprot); + xfer += this->success[_i906].read(iprot); } xfer += iprot->readListEnd(); } @@ -22993,10 +23154,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 _iter901; - for (_iter901 = this->success.begin(); _iter901 != this->success.end(); ++_iter901) + std::vector ::const_iterator _iter907; + for (_iter907 = this->success.begin(); _iter907 != this->success.end(); ++_iter907) { - xfer += (*_iter901).write(oprot); + xfer += (*_iter907).write(oprot); } xfer += oprot->writeListEnd(); } @@ -23035,14 +23196,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size902; - ::apache::thrift::protocol::TType _etype905; - xfer += iprot->readListBegin(_etype905, _size902); - (*(this->success)).resize(_size902); - uint32_t _i906; - for (_i906 = 0; _i906 < _size902; ++_i906) + uint32_t _size908; + ::apache::thrift::protocol::TType _etype911; + xfer += iprot->readListBegin(_etype911, _size908); + (*(this->success)).resize(_size908); + uint32_t _i912; + for (_i912 = 0; _i912 < _size908; ++_i912) { - xfer += (*(this->success))[_i906].read(iprot); + xfer += (*(this->success))[_i912].read(iprot); } xfer += iprot->readListEnd(); } @@ -23657,14 +23818,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 _size907; - ::apache::thrift::protocol::TType _etype910; - xfer += iprot->readListBegin(_etype910, _size907); - this->group_names.resize(_size907); - uint32_t _i911; - for (_i911 = 0; _i911 < _size907; ++_i911) + uint32_t _size913; + ::apache::thrift::protocol::TType _etype916; + xfer += iprot->readListBegin(_etype916, _size913); + this->group_names.resize(_size913); + uint32_t _i917; + for (_i917 = 0; _i917 < _size913; ++_i917) { - xfer += iprot->readString(this->group_names[_i911]); + xfer += iprot->readString(this->group_names[_i917]); } xfer += iprot->readListEnd(); } @@ -23700,10 +23861,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 _iter912; - for (_iter912 = this->group_names.begin(); _iter912 != this->group_names.end(); ++_iter912) + std::vector ::const_iterator _iter918; + for (_iter918 = this->group_names.begin(); _iter918 != this->group_names.end(); ++_iter918) { - xfer += oprot->writeString((*_iter912)); + xfer += oprot->writeString((*_iter918)); } xfer += oprot->writeListEnd(); } @@ -23729,10 +23890,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 _iter913; - for (_iter913 = (*(this->group_names)).begin(); _iter913 != (*(this->group_names)).end(); ++_iter913) + std::vector ::const_iterator _iter919; + for (_iter919 = (*(this->group_names)).begin(); _iter919 != (*(this->group_names)).end(); ++_iter919) { - xfer += oprot->writeString((*_iter913)); + xfer += oprot->writeString((*_iter919)); } xfer += oprot->writeListEnd(); } @@ -23889,9 +24050,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast914; - xfer += iprot->readI32(ecast914); - this->principal_type = (PrincipalType::type)ecast914; + int32_t ecast920; + xfer += iprot->readI32(ecast920); + this->principal_type = (PrincipalType::type)ecast920; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -23983,14 +24144,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size915; - ::apache::thrift::protocol::TType _etype918; - xfer += iprot->readListBegin(_etype918, _size915); - this->success.resize(_size915); - uint32_t _i919; - for (_i919 = 0; _i919 < _size915; ++_i919) + uint32_t _size921; + ::apache::thrift::protocol::TType _etype924; + xfer += iprot->readListBegin(_etype924, _size921); + this->success.resize(_size921); + uint32_t _i925; + for (_i925 = 0; _i925 < _size921; ++_i925) { - xfer += this->success[_i919].read(iprot); + xfer += this->success[_i925].read(iprot); } xfer += iprot->readListEnd(); } @@ -24029,10 +24190,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 _iter920; - for (_iter920 = this->success.begin(); _iter920 != this->success.end(); ++_iter920) + std::vector ::const_iterator _iter926; + for (_iter926 = this->success.begin(); _iter926 != this->success.end(); ++_iter926) { - xfer += (*_iter920).write(oprot); + xfer += (*_iter926).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24071,14 +24232,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size921; - ::apache::thrift::protocol::TType _etype924; - xfer += iprot->readListBegin(_etype924, _size921); - (*(this->success)).resize(_size921); - uint32_t _i925; - for (_i925 = 0; _i925 < _size921; ++_i925) + uint32_t _size927; + ::apache::thrift::protocol::TType _etype930; + xfer += iprot->readListBegin(_etype930, _size927); + (*(this->success)).resize(_size927); + uint32_t _i931; + for (_i931 = 0; _i931 < _size927; ++_i931) { - xfer += (*(this->success))[_i925].read(iprot); + xfer += (*(this->success))[_i931].read(iprot); } xfer += iprot->readListEnd(); } @@ -24685,14 +24846,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 _size926; - ::apache::thrift::protocol::TType _etype929; - xfer += iprot->readListBegin(_etype929, _size926); - this->group_names.resize(_size926); - uint32_t _i930; - for (_i930 = 0; _i930 < _size926; ++_i930) + uint32_t _size932; + ::apache::thrift::protocol::TType _etype935; + xfer += iprot->readListBegin(_etype935, _size932); + this->group_names.resize(_size932); + uint32_t _i936; + for (_i936 = 0; _i936 < _size932; ++_i936) { - xfer += iprot->readString(this->group_names[_i930]); + xfer += iprot->readString(this->group_names[_i936]); } xfer += iprot->readListEnd(); } @@ -24724,10 +24885,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 _iter931; - for (_iter931 = this->group_names.begin(); _iter931 != this->group_names.end(); ++_iter931) + std::vector ::const_iterator _iter937; + for (_iter937 = this->group_names.begin(); _iter937 != this->group_names.end(); ++_iter937) { - xfer += oprot->writeString((*_iter931)); + xfer += oprot->writeString((*_iter937)); } xfer += oprot->writeListEnd(); } @@ -24749,10 +24910,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 _iter932; - for (_iter932 = (*(this->group_names)).begin(); _iter932 != (*(this->group_names)).end(); ++_iter932) + std::vector ::const_iterator _iter938; + for (_iter938 = (*(this->group_names)).begin(); _iter938 != (*(this->group_names)).end(); ++_iter938) { - xfer += oprot->writeString((*_iter932)); + xfer += oprot->writeString((*_iter938)); } xfer += oprot->writeListEnd(); } @@ -24787,14 +24948,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size933; - ::apache::thrift::protocol::TType _etype936; - xfer += iprot->readListBegin(_etype936, _size933); - this->success.resize(_size933); - uint32_t _i937; - for (_i937 = 0; _i937 < _size933; ++_i937) + uint32_t _size939; + ::apache::thrift::protocol::TType _etype942; + xfer += iprot->readListBegin(_etype942, _size939); + this->success.resize(_size939); + uint32_t _i943; + for (_i943 = 0; _i943 < _size939; ++_i943) { - xfer += iprot->readString(this->success[_i937]); + xfer += iprot->readString(this->success[_i943]); } xfer += iprot->readListEnd(); } @@ -24833,10 +24994,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 _iter938; - for (_iter938 = this->success.begin(); _iter938 != this->success.end(); ++_iter938) + std::vector ::const_iterator _iter944; + for (_iter944 = this->success.begin(); _iter944 != this->success.end(); ++_iter944) { - xfer += oprot->writeString((*_iter938)); + xfer += oprot->writeString((*_iter944)); } xfer += oprot->writeListEnd(); } @@ -24875,14 +25036,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size939; - ::apache::thrift::protocol::TType _etype942; - xfer += iprot->readListBegin(_etype942, _size939); - (*(this->success)).resize(_size939); - uint32_t _i943; - for (_i943 = 0; _i943 < _size939; ++_i943) + uint32_t _size945; + ::apache::thrift::protocol::TType _etype948; + xfer += iprot->readListBegin(_etype948, _size945); + (*(this->success)).resize(_size945); + uint32_t _i949; + for (_i949 = 0; _i949 < _size945; ++_i949) { - xfer += iprot->readString((*(this->success))[_i943]); + xfer += iprot->readString((*(this->success))[_i949]); } xfer += iprot->readListEnd(); } @@ -34090,6 +34251,66 @@ void ThriftHiveMetastoreClient::recv_get_function(Function& _return) throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_function failed: unknown result"); } +void ThriftHiveMetastoreClient::get_all_functions(GetAllFunctionsResponse& _return) +{ + send_get_all_functions(); + recv_get_all_functions(_return); +} + +void ThriftHiveMetastoreClient::send_get_all_functions() +{ + int32_t cseqid = 0; + oprot_->writeMessageBegin("get_all_functions", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_all_functions_pargs args; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); +} + +void ThriftHiveMetastoreClient::recv_get_all_functions(GetAllFunctionsResponse& _return) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + iprot_->readMessageBegin(fname, mtype, rseqid); + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("get_all_functions") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + ThriftHiveMetastore_get_all_functions_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + return; + } + if (result.__isset.o1) { + throw result.o1; + } + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_all_functions failed: unknown result"); +} + bool ThriftHiveMetastoreClient::create_role(const Role& role) { send_create_role(role); @@ -41569,6 +41790,63 @@ void ThriftHiveMetastoreProcessor::process_get_function(int32_t seqid, ::apache: } } +void ThriftHiveMetastoreProcessor::process_get_all_functions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) +{ + void* ctx = NULL; + if (this->eventHandler_.get() != NULL) { + ctx = this->eventHandler_->getContext("ThriftHiveMetastore.get_all_functions", callContext); + } + ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "ThriftHiveMetastore.get_all_functions"); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_all_functions"); + } + + ThriftHiveMetastore_get_all_functions_args args; + args.read(iprot); + iprot->readMessageEnd(); + uint32_t bytes = iprot->getTransport()->readEnd(); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_all_functions", bytes); + } + + ThriftHiveMetastore_get_all_functions_result result; + try { + iface_->get_all_functions(result.success); + result.__isset.success = true; + } catch (MetaException &o1) { + result.o1 = o1; + result.__isset.o1 = true; + } catch (const std::exception& e) { + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_all_functions"); + } + + ::apache::thrift::TApplicationException x(e.what()); + oprot->writeMessageBegin("get_all_functions", ::apache::thrift::protocol::T_EXCEPTION, seqid); + x.write(oprot); + oprot->writeMessageEnd(); + oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + return; + } + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_all_functions"); + } + + oprot->writeMessageBegin("get_all_functions", ::apache::thrift::protocol::T_REPLY, seqid); + result.write(oprot); + oprot->writeMessageEnd(); + bytes = oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_all_functions", bytes); + } +} + void ThriftHiveMetastoreProcessor::process_create_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) { void* ctx = NULL; diff --git metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h index 0f86117..2c16190 100644 --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h @@ -104,6 +104,7 @@ class ThriftHiveMetastoreIf : virtual public ::facebook::fb303::FacebookService virtual void alter_function(const std::string& dbName, const std::string& funcName, const Function& newFunc) = 0; virtual void get_functions(std::vector & _return, const std::string& dbName, const std::string& pattern) = 0; virtual void get_function(Function& _return, const std::string& dbName, const std::string& funcName) = 0; + virtual void get_all_functions(GetAllFunctionsResponse& _return) = 0; virtual bool create_role(const Role& role) = 0; virtual bool drop_role(const std::string& role_name) = 0; virtual void get_role_names(std::vector & _return) = 0; @@ -448,6 +449,9 @@ class ThriftHiveMetastoreNull : virtual public ThriftHiveMetastoreIf , virtual p void get_function(Function& /* _return */, const std::string& /* dbName */, const std::string& /* funcName */) { return; } + void get_all_functions(GetAllFunctionsResponse& /* _return */) { + return; + } bool create_role(const Role& /* role */) { bool _return = false; return _return; @@ -13231,6 +13235,110 @@ class ThriftHiveMetastore_get_function_presult { }; + +class ThriftHiveMetastore_get_all_functions_args { + public: + + ThriftHiveMetastore_get_all_functions_args() { + } + + virtual ~ThriftHiveMetastore_get_all_functions_args() throw() {} + + + bool operator == (const ThriftHiveMetastore_get_all_functions_args & /* rhs */) const + { + return true; + } + bool operator != (const ThriftHiveMetastore_get_all_functions_args &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_get_all_functions_args & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class ThriftHiveMetastore_get_all_functions_pargs { + public: + + + virtual ~ThriftHiveMetastore_get_all_functions_pargs() throw() {} + + + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _ThriftHiveMetastore_get_all_functions_result__isset { + _ThriftHiveMetastore_get_all_functions_result__isset() : success(false), o1(false) {} + bool success; + bool o1; +} _ThriftHiveMetastore_get_all_functions_result__isset; + +class ThriftHiveMetastore_get_all_functions_result { + public: + + ThriftHiveMetastore_get_all_functions_result() { + } + + virtual ~ThriftHiveMetastore_get_all_functions_result() throw() {} + + GetAllFunctionsResponse success; + MetaException o1; + + _ThriftHiveMetastore_get_all_functions_result__isset __isset; + + void __set_success(const GetAllFunctionsResponse& val) { + success = val; + } + + void __set_o1(const MetaException& val) { + o1 = val; + } + + bool operator == (const ThriftHiveMetastore_get_all_functions_result & rhs) const + { + if (!(success == rhs.success)) + return false; + if (!(o1 == rhs.o1)) + return false; + return true; + } + bool operator != (const ThriftHiveMetastore_get_all_functions_result &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_get_all_functions_result & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _ThriftHiveMetastore_get_all_functions_presult__isset { + _ThriftHiveMetastore_get_all_functions_presult__isset() : success(false), o1(false) {} + bool success; + bool o1; +} _ThriftHiveMetastore_get_all_functions_presult__isset; + +class ThriftHiveMetastore_get_all_functions_presult { + public: + + + virtual ~ThriftHiveMetastore_get_all_functions_presult() throw() {} + + GetAllFunctionsResponse* success; + MetaException o1; + + _ThriftHiveMetastore_get_all_functions_presult__isset __isset; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + +}; + typedef struct _ThriftHiveMetastore_create_role_args__isset { _ThriftHiveMetastore_create_role_args__isset() : role(false) {} bool role; @@ -17607,6 +17715,9 @@ class ThriftHiveMetastoreClient : virtual public ThriftHiveMetastoreIf, public void get_function(Function& _return, const std::string& dbName, const std::string& funcName); void send_get_function(const std::string& dbName, const std::string& funcName); void recv_get_function(Function& _return); + void get_all_functions(GetAllFunctionsResponse& _return); + void send_get_all_functions(); + void recv_get_all_functions(GetAllFunctionsResponse& _return); bool create_role(const Role& role); void send_create_role(const Role& role); bool recv_create_role(); @@ -17810,6 +17921,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP void process_alter_function(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_functions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_function(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); + void process_get_all_functions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_create_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_drop_role(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_role_names(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); @@ -17937,6 +18049,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP processMap_["alter_function"] = &ThriftHiveMetastoreProcessor::process_alter_function; processMap_["get_functions"] = &ThriftHiveMetastoreProcessor::process_get_functions; processMap_["get_function"] = &ThriftHiveMetastoreProcessor::process_get_function; + processMap_["get_all_functions"] = &ThriftHiveMetastoreProcessor::process_get_all_functions; processMap_["create_role"] = &ThriftHiveMetastoreProcessor::process_create_role; processMap_["drop_role"] = &ThriftHiveMetastoreProcessor::process_drop_role; processMap_["get_role_names"] = &ThriftHiveMetastoreProcessor::process_get_role_names; @@ -18849,6 +18962,16 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi return; } + void get_all_functions(GetAllFunctionsResponse& _return) { + size_t sz = ifaces_.size(); + size_t i = 0; + for (; i < (sz - 1); ++i) { + ifaces_[i]->get_all_functions(_return); + } + ifaces_[i]->get_all_functions(_return); + return; + } + bool create_role(const Role& role) { size_t sz = ifaces_.size(); size_t i = 0; diff --git metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp index f5bd788..0afcf8c 100644 --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp @@ -462,6 +462,11 @@ class ThriftHiveMetastoreHandler : virtual public ThriftHiveMetastoreIf { printf("get_function\n"); } + void get_all_functions(GetAllFunctionsResponse& _return) { + // Your implementation goes here + printf("get_all_functions\n"); + } + bool create_role(const Role& role) { // Your implementation goes here printf("create_role\n"); diff --git metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp index d405446..7532ea5 100644 --- metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp +++ metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp @@ -10314,6 +10314,89 @@ void swap(FireEventResponse &a, FireEventResponse &b) { (void) b; } +const char* GetAllFunctionsResponse::ascii_fingerprint = "CEE0CA1D7402D4135EF7F42C0F0E0A68"; +const uint8_t GetAllFunctionsResponse::binary_fingerprint[16] = {0xCE,0xE0,0xCA,0x1D,0x74,0x02,0xD4,0x13,0x5E,0xF7,0xF4,0x2C,0x0F,0x0E,0x0A,0x68}; + +uint32_t GetAllFunctionsResponse::read(::apache::thrift::protocol::TProtocol* iprot) { + + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->functions.clear(); + uint32_t _size425; + ::apache::thrift::protocol::TType _etype428; + xfer += iprot->readListBegin(_etype428, _size425); + this->functions.resize(_size425); + uint32_t _i429; + for (_i429 = 0; _i429 < _size425; ++_i429) + { + xfer += this->functions[_i429].read(iprot); + } + xfer += iprot->readListEnd(); + } + this->__isset.functions = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t GetAllFunctionsResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + xfer += oprot->writeStructBegin("GetAllFunctionsResponse"); + + if (this->__isset.functions) { + 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 _iter430; + for (_iter430 = this->functions.begin(); _iter430 != this->functions.end(); ++_iter430) + { + xfer += (*_iter430).write(oprot); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(GetAllFunctionsResponse &a, GetAllFunctionsResponse &b) { + using ::std::swap; + swap(a.functions, b.functions); + swap(a.__isset, b.__isset); +} + const char* MetaException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; const uint8_t MetaException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; diff --git metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h index 9c91650..61a52cb 100644 --- metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h +++ metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h @@ -5666,6 +5666,52 @@ class FireEventResponse { void swap(FireEventResponse &a, FireEventResponse &b); +typedef struct _GetAllFunctionsResponse__isset { + _GetAllFunctionsResponse__isset() : functions(false) {} + bool functions; +} _GetAllFunctionsResponse__isset; + +class GetAllFunctionsResponse { + public: + + static const char* ascii_fingerprint; // = "CEE0CA1D7402D4135EF7F42C0F0E0A68"; + static const uint8_t binary_fingerprint[16]; // = {0xCE,0xE0,0xCA,0x1D,0x74,0x02,0xD4,0x13,0x5E,0xF7,0xF4,0x2C,0x0F,0x0E,0x0A,0x68}; + + GetAllFunctionsResponse() { + } + + virtual ~GetAllFunctionsResponse() throw() {} + + std::vector functions; + + _GetAllFunctionsResponse__isset __isset; + + void __set_functions(const std::vector & val) { + functions = val; + __isset.functions = true; + } + + bool operator == (const GetAllFunctionsResponse & rhs) const + { + if (__isset.functions != rhs.__isset.functions) + return false; + else if (__isset.functions && !(functions == rhs.functions)) + return false; + return true; + } + bool operator != (const GetAllFunctionsResponse &rhs) const { + return !(*this == rhs); + } + + bool operator < (const GetAllFunctionsResponse & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +void swap(GetAllFunctionsResponse &a, GetAllFunctionsResponse &b); + typedef struct _MetaException__isset { _MetaException__isset() : message(false) {} bool message; diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java index afb2b79..ab14d74 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java @@ -633,7 +633,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddDynamicPartition struct.partitionnames = new ArrayList(_list492.size); for (int _i493 = 0; _i493 < _list492.size; ++_i493) { - String _elem494; // optional + String _elem494; // required _elem494 = iprot.readString(); struct.partitionnames.add(_elem494); } @@ -725,7 +725,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartitions struct.partitionnames = new ArrayList(_list497.size); for (int _i498 = 0; _i498 < _list497.size; ++_i498) { - String _elem499; // optional + String _elem499; // required _elem499 = iprot.readString(); struct.partitionnames.add(_elem499); } diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java index 7bb72ba..ced8d4a 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java @@ -704,7 +704,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddPartitionsReques struct.parts = new ArrayList(_list388.size); for (int _i389 = 0; _i389 < _list388.size; ++_i389) { - Partition _elem390; // optional + Partition _elem390; // required _elem390 = new Partition(); _elem390.read(iprot); struct.parts.add(_elem390); @@ -824,7 +824,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddPartitionsRequest struct.parts = new ArrayList(_list393.size); for (int _i394 = 0; _i394 < _list393.size; ++_i394) { - Partition _elem395; // optional + Partition _elem395; // required _elem395 = new Partition(); _elem395.read(iprot); struct.parts.add(_elem395); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java index 875e04a..86c6fa2 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java @@ -346,7 +346,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddPartitionsResult struct.partitions = new ArrayList(_list380.size); for (int _i381 = 0; _i381 < _list380.size; ++_i381) { - Partition _elem382; // optional + Partition _elem382; // required _elem382 = new Partition(); _elem382.read(iprot); struct.partitions.add(_elem382); @@ -428,7 +428,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddPartitionsResult struct.partitions = new ArrayList(_list385.size); for (int _i386 = 0; _i386 < _list385.size; ++_i386) { - Partition _elem387; // optional + Partition _elem387; // required _elem387 = new Partition(); _elem387.read(iprot); struct.partitions.add(_elem387); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java index 0e1dbcb..8e0f757 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java @@ -439,7 +439,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AggrStats struct) t struct.colStats = new ArrayList(_list278.size); for (int _i279 = 0; _i279 < _list278.size; ++_i279) { - ColumnStatisticsObj _elem280; // optional + ColumnStatisticsObj _elem280; // required _elem280 = new ColumnStatisticsObj(); _elem280.read(iprot); struct.colStats.add(_elem280); @@ -522,7 +522,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AggrStats struct) th struct.colStats = new ArrayList(_list283.size); for (int _i284 = 0; _i284 < _list283.size; ++_i284) { - ColumnStatisticsObj _elem285; // optional + ColumnStatisticsObj _elem285; // required _elem285 = new ColumnStatisticsObj(); _elem285.read(iprot); struct.colStats.add(_elem285); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java index b34619f..a695645 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java @@ -451,7 +451,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ColumnStatistics st struct.statsObj = new ArrayList(_list270.size); for (int _i271 = 0; _i271 < _list270.size; ++_i271) { - ColumnStatisticsObj _elem272; // optional + ColumnStatisticsObj _elem272; // required _elem272 = new ColumnStatisticsObj(); _elem272.read(iprot); struct.statsObj.add(_elem272); @@ -531,7 +531,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ColumnStatistics str struct.statsObj = new ArrayList(_list275.size); for (int _i276 = 0; _i276 < _list275.size; ++_i276) { - ColumnStatisticsObj _elem277; // optional + ColumnStatisticsObj _elem277; // required _elem277 = new ColumnStatisticsObj(); _elem277.read(iprot); struct.statsObj.add(_elem277); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java index b7f69f2..156338a 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java @@ -346,7 +346,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, DropPartitionsResul struct.partitions = new ArrayList(_list396.size); for (int _i397 = 0; _i397 < _list396.size; ++_i397) { - Partition _elem398; // optional + Partition _elem398; // required _elem398 = new Partition(); _elem398.read(iprot); struct.partitions.add(_elem398); @@ -428,7 +428,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, DropPartitionsResult struct.partitions = new ArrayList(_list401.size); for (int _i402 = 0; _i402 < _list401.size; ++_i402) { - Partition _elem403; // optional + Partition _elem403; // required _elem403 = new Partition(); _elem403.read(iprot); struct.partitions.add(_elem403); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FieldSchema.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FieldSchema.java index a993810..c84fa29 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FieldSchema.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FieldSchema.java @@ -135,9 +135,9 @@ public FieldSchema( String comment) { this(); - this.name = name; - this.type = type; - this.comment = comment; + this.name = org.apache.hive.common.util.HiveStringUtils.intern(name); + this.type = org.apache.hive.common.util.HiveStringUtils.intern(type); + this.comment = org.apache.hive.common.util.HiveStringUtils.intern(comment); } /** @@ -145,13 +145,13 @@ public FieldSchema( */ public FieldSchema(FieldSchema other) { if (other.isSetName()) { - this.name = other.name; + this.name = org.apache.hive.common.util.HiveStringUtils.intern(other.name); } if (other.isSetType()) { - this.type = other.type; + this.type = org.apache.hive.common.util.HiveStringUtils.intern(other.type); } if (other.isSetComment()) { - this.comment = other.comment; + this.comment = org.apache.hive.common.util.HiveStringUtils.intern(other.comment); } } @@ -171,7 +171,7 @@ public String getName() { } public void setName(String name) { - this.name = name; + this.name = org.apache.hive.common.util.HiveStringUtils.intern(name); } public void unsetName() { @@ -194,7 +194,7 @@ public String getType() { } public void setType(String type) { - this.type = type; + this.type = org.apache.hive.common.util.HiveStringUtils.intern(type); } public void unsetType() { @@ -217,7 +217,7 @@ public String getComment() { } public void setComment(String comment) { - this.comment = comment; + this.comment = org.apache.hive.common.util.HiveStringUtils.intern(comment); } public void unsetComment() { diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java index 44b83da..4eacfa9 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java @@ -716,7 +716,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FireEventRequest st struct.partitionVals = new ArrayList(_list516.size); for (int _i517 = 0; _i517 < _list516.size; ++_i517) { - String _elem518; // optional + String _elem518; // required _elem518 = iprot.readString(); struct.partitionVals.add(_elem518); } @@ -846,7 +846,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FireEventRequest str struct.partitionVals = new ArrayList(_list521.size); for (int _i522 = 0; _i522 < _list521.size; ++_i522) { - String _elem523; // optional + String _elem523; // required _elem523 = iprot.readString(); struct.partitionVals.add(_elem523); } diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java index c40e33d..182fbf4 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java @@ -997,7 +997,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Function struct) th struct.resourceUris = new ArrayList(_list420.size); for (int _i421 = 0; _i421 < _list420.size; ++_i421) { - ResourceUri _elem422; // optional + ResourceUri _elem422; // required _elem422 = new ResourceUri(); _elem422.read(iprot); struct.resourceUris.add(_elem422); @@ -1180,7 +1180,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Function struct) thr struct.resourceUris = new ArrayList(_list425.size); for (int _i426 = 0; _i426 < _list425.size; ++_i426) { - ResourceUri _elem427; // optional + ResourceUri _elem427; // required _elem427 = new ResourceUri(); _elem427.read(iprot); struct.resourceUris.add(_elem427); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java index 9fe8d82..a84c0cb 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java @@ -447,7 +447,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetOpenTxnsInfoResp struct.open_txns = new ArrayList(_list428.size); for (int _i429 = 0; _i429 < _list428.size; ++_i429) { - TxnInfo _elem430; // optional + TxnInfo _elem430; // required _elem430 = new TxnInfo(); _elem430.read(iprot); struct.open_txns.add(_elem430); @@ -524,7 +524,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsInfoRespo struct.open_txns = new ArrayList(_list433.size); for (int _i434 = 0; _i434 < _list433.size; ++_i434) { - TxnInfo _elem435; // optional + TxnInfo _elem435; // required _elem435 = new TxnInfo(); _elem435.read(iprot); struct.open_txns.add(_elem435); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java index 917ecea..23dea5b 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java @@ -447,7 +447,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetOpenTxnsResponse struct.open_txns = new HashSet(2*_set436.size); for (int _i437 = 0; _i437 < _set436.size; ++_i437) { - long _elem438; // optional + long _elem438; // required _elem438 = iprot.readI64(); struct.open_txns.add(_elem438); } @@ -523,7 +523,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsResponse struct.open_txns = new HashSet(2*_set441.size); for (int _i442 = 0; _i442 < _set441.size; ++_i442) { - long _elem443; // optional + long _elem443; // required _elem443 = iprot.readI64(); struct.open_txns.add(_elem443); } diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleResponse.java index 3ef6224..083699b 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleResponse.java @@ -354,7 +354,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPrincipalsInRole struct.principalGrants = new ArrayList(_list86.size); for (int _i87 = 0; _i87 < _list86.size; ++_i87) { - RolePrincipalGrant _elem88; // optional + RolePrincipalGrant _elem88; // required _elem88 = new RolePrincipalGrant(); _elem88.read(iprot); struct.principalGrants.add(_elem88); @@ -425,7 +425,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetPrincipalsInRoleR struct.principalGrants = new ArrayList(_list91.size); for (int _i92 = 0; _i92 < _list91.size; ++_i92) { - RolePrincipalGrant _elem93; // optional + RolePrincipalGrant _elem93; // required _elem93 = new RolePrincipalGrant(); _elem93.read(iprot); struct.principalGrants.add(_elem93); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalResponse.java index 3ddc1ac..f745c08 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalResponse.java @@ -354,7 +354,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetRoleGrantsForPri struct.principalGrants = new ArrayList(_list78.size); for (int _i79 = 0; _i79 < _list78.size; ++_i79) { - RolePrincipalGrant _elem80; // optional + RolePrincipalGrant _elem80; // required _elem80 = new RolePrincipalGrant(); _elem80.read(iprot); struct.principalGrants.add(_elem80); @@ -425,7 +425,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetRoleGrantsForPrin struct.principalGrants = new ArrayList(_list83.size); for (int _i84 = 0; _i84 < _list83.size; ++_i84) { - RolePrincipalGrant _elem85; // optional + RolePrincipalGrant _elem85; // required _elem85 = new RolePrincipalGrant(); _elem85.read(iprot); struct.principalGrants.add(_elem85); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java index caf07d6..6f5327c 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java @@ -459,7 +459,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, HeartbeatTxnRangeRe struct.aborted = new HashSet(2*_set468.size); for (int _i469 = 0; _i469 < _set468.size; ++_i469) { - long _elem470; // optional + long _elem470; // required _elem470 = iprot.readI64(); struct.aborted.add(_elem470); } @@ -477,7 +477,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, HeartbeatTxnRangeRe struct.nosuch = new HashSet(2*_set471.size); for (int _i472 = 0; _i472 < _set471.size; ++_i472) { - long _elem473; // optional + long _elem473; // required _elem473 = iprot.readI64(); struct.nosuch.add(_elem473); } @@ -566,7 +566,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeRes struct.aborted = new HashSet(2*_set478.size); for (int _i479 = 0; _i479 < _set478.size; ++_i479) { - long _elem480; // optional + long _elem480; // required _elem480 = iprot.readI64(); struct.aborted.add(_elem480); } @@ -577,7 +577,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeRes struct.nosuch = new HashSet(2*_set481.size); for (int _i482 = 0; _i482 < _set481.size; ++_i482) { - long _elem483; // optional + long _elem483; // required _elem483 = iprot.readI64(); struct.nosuch.add(_elem483); } diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java index b22b211..997060f 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java @@ -710,7 +710,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, HiveObjectRef struc struct.partValues = new ArrayList(_list8.size); for (int _i9 = 0; _i9 < _list8.size; ++_i9) { - String _elem10; // optional + String _elem10; // required _elem10 = iprot.readString(); struct.partValues.add(_elem10); } @@ -853,7 +853,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, HiveObjectRef struct struct.partValues = new ArrayList(_list13.size); for (int _i14 = 0; _i14 < _list13.size; ++_i14) { - String _elem15; // optional + String _elem15; // required _elem15 = iprot.readString(); struct.partValues.add(_elem15); } diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java index c1992c0..24dacf5 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java @@ -354,7 +354,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestD struct.filesAdded = new ArrayList(_list508.size); for (int _i509 = 0; _i509 < _list508.size; ++_i509) { - String _elem510; // optional + String _elem510; // required _elem510 = iprot.readString(); struct.filesAdded.add(_elem510); } @@ -424,7 +424,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestDa struct.filesAdded = new ArrayList(_list513.size); for (int _i514 = 0; _i514 < _list513.size; ++_i514) { - String _elem515; // optional + String _elem515; // required _elem515 = iprot.readString(); struct.filesAdded.add(_elem515); } diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java index a5d8f9b..7f70f98 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java @@ -605,7 +605,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, LockRequest struct) struct.component = new ArrayList(_list452.size); for (int _i453 = 0; _i453 < _list452.size; ++_i453) { - LockComponent _elem454; // optional + LockComponent _elem454; // required _elem454 = new LockComponent(); _elem454.read(iprot); struct.component.add(_elem454); @@ -725,7 +725,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) struct.component = new ArrayList(_list457.size); for (int _i458 = 0; _i458 < _list457.size; ++_i458) { - LockComponent _elem459; // optional + LockComponent _elem459; // required _elem459 = new LockComponent(); _elem459.read(iprot); struct.component.add(_elem459); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java index 0123e87..c16802d 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java @@ -354,7 +354,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, NotificationEventRe struct.events = new ArrayList(_list500.size); for (int _i501 = 0; _i501 < _list500.size; ++_i501) { - NotificationEvent _elem502; // optional + NotificationEvent _elem502; // required _elem502 = new NotificationEvent(); _elem502.read(iprot); struct.events.add(_elem502); @@ -425,7 +425,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, NotificationEventRes struct.events = new ArrayList(_list505.size); for (int _i506 = 0; _i506 < _list505.size; ++_i506) { - NotificationEvent _elem507; // optional + NotificationEvent _elem507; // required _elem507 = new NotificationEvent(); _elem507.read(iprot); struct.events.add(_elem507); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java index f5efbe3..f369ab2 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java @@ -354,7 +354,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, OpenTxnsResponse st struct.txn_ids = new ArrayList(_list444.size); for (int _i445 = 0; _i445 < _list444.size; ++_i445) { - long _elem446; // optional + long _elem446; // required _elem446 = iprot.readI64(); struct.txn_ids.add(_elem446); } @@ -424,7 +424,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, OpenTxnsResponse str struct.txn_ids = new ArrayList(_list449.size); for (int _i450 = 0; _i450 < _list449.size; ++_i450) { - long _elem451; // optional + long _elem451; // required _elem451 = iprot.readI64(); struct.txn_ids.add(_elem451); } diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java index 7d29d09..242d54d 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java @@ -182,14 +182,14 @@ public Partition( { this(); this.values = values; - this.dbName = dbName; - this.tableName = tableName; + this.dbName = org.apache.hive.common.util.HiveStringUtils.intern(dbName); + this.tableName = org.apache.hive.common.util.HiveStringUtils.intern(tableName); this.createTime = createTime; setCreateTimeIsSet(true); this.lastAccessTime = lastAccessTime; setLastAccessTimeIsSet(true); this.sd = sd; - this.parameters = parameters; + this.parameters = org.apache.hive.common.util.HiveStringUtils.intern(parameters); } /** @@ -205,10 +205,10 @@ public Partition(Partition other) { this.values = __this__values; } if (other.isSetDbName()) { - this.dbName = other.dbName; + this.dbName = org.apache.hive.common.util.HiveStringUtils.intern(other.dbName); } if (other.isSetTableName()) { - this.tableName = other.tableName; + this.tableName = org.apache.hive.common.util.HiveStringUtils.intern(other.tableName); } this.createTime = other.createTime; this.lastAccessTime = other.lastAccessTime; @@ -222,9 +222,9 @@ public Partition(Partition other) { String other_element_key = other_element.getKey(); String other_element_value = other_element.getValue(); - String __this__parameters_copy_key = other_element_key; + String __this__parameters_copy_key = org.apache.hive.common.util.HiveStringUtils.intern(other_element_key); - String __this__parameters_copy_value = other_element_value; + String __this__parameters_copy_value = org.apache.hive.common.util.HiveStringUtils.intern(other_element_value); __this__parameters.put(__this__parameters_copy_key, __this__parameters_copy_value); } @@ -296,7 +296,7 @@ public String getDbName() { } public void setDbName(String dbName) { - this.dbName = dbName; + this.dbName = org.apache.hive.common.util.HiveStringUtils.intern(dbName); } public void unsetDbName() { @@ -319,7 +319,7 @@ public String getTableName() { } public void setTableName(String tableName) { - this.tableName = tableName; + this.tableName = org.apache.hive.common.util.HiveStringUtils.intern(tableName); } public void unsetTableName() { @@ -420,7 +420,7 @@ public void putToParameters(String key, String val) { } public void setParameters(Map parameters) { - this.parameters = parameters; + this.parameters = org.apache.hive.common.util.HiveStringUtils.intern(parameters); } public void unsetParameters() { @@ -945,7 +945,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Partition struct) t struct.values = new ArrayList(_list208.size); for (int _i209 = 0; _i209 < _list208.size; ++_i209) { - String _elem210; // optional + String _elem210; // required _elem210 = iprot.readString(); struct.values.add(_elem210); } @@ -1184,7 +1184,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Partition struct) th struct.values = new ArrayList(_list219.size); for (int _i220 = 0; _i220 < _list219.size; ++_i220) { - String _elem221; // optional + String _elem221; // required _elem221 = iprot.readString(); struct.values.add(_elem221); } diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java index bcd92b8..a634f55 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java @@ -350,7 +350,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionListCompos struct.partitions = new ArrayList(_list252.size); for (int _i253 = 0; _i253 < _list252.size; ++_i253) { - Partition _elem254; // optional + Partition _elem254; // required _elem254 = new Partition(); _elem254.read(iprot); struct.partitions.add(_elem254); @@ -430,7 +430,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionListComposi struct.partitions = new ArrayList(_list257.size); for (int _i258 = 0; _i258 < _list257.size; ++_i258) { - Partition _elem259; // optional + Partition _elem259; // required _elem259 = new Partition(); _elem259.read(iprot); struct.partitions.add(_elem259); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java index 18ab134..73d3067 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java @@ -434,7 +434,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionSpecWithSh struct.partitions = new ArrayList(_list244.size); for (int _i245 = 0; _i245 < _list244.size; ++_i245) { - PartitionWithoutSD _elem246; // optional + PartitionWithoutSD _elem246; // required _elem246 = new PartitionWithoutSD(); _elem246.read(iprot); struct.partitions.add(_elem246); @@ -534,7 +534,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionSpecWithSha struct.partitions = new ArrayList(_list249.size); for (int _i250 = 0; _i250 < _list249.size; ++_i250) { - PartitionWithoutSD _elem251; // optional + PartitionWithoutSD _elem251; // required _elem251 = new PartitionWithoutSD(); _elem251.read(iprot); struct.partitions.add(_elem251); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java index 193d9e9..112b723 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java @@ -780,7 +780,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionWithoutSD struct.values = new ArrayList(_list226.size); for (int _i227 = 0; _i227 < _list226.size; ++_i227) { - String _elem228; // optional + String _elem228; // required _elem228 = iprot.readString(); struct.values.add(_elem228); } @@ -980,7 +980,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionWithoutSD s struct.values = new ArrayList(_list237.size); for (int _i238 = 0; _i238 < _list237.size; ++_i238) { - String _elem239; // optional + String _elem239; // required _elem239 = iprot.readString(); struct.values.add(_elem239); } diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java index 525ce0e..b459058 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java @@ -439,7 +439,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsByExprRes struct.partitions = new ArrayList(_list322.size); for (int _i323 = 0; _i323 < _list322.size; ++_i323) { - Partition _elem324; // optional + Partition _elem324; // required _elem324 = new Partition(); _elem324.read(iprot); struct.partitions.add(_elem324); @@ -522,7 +522,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsByExprResu struct.partitions = new ArrayList(_list327.size); for (int _i328 = 0; _i328 < _list327.size; ++_i328) { - Partition _elem329; // optional + Partition _elem329; // required _elem329 = new Partition(); _elem329.read(iprot); struct.partitions.add(_elem329); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java index d224453..f515bc4 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java @@ -645,7 +645,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsStatsRequ struct.colNames = new ArrayList(_list364.size); for (int _i365 = 0; _i365 < _list364.size; ++_i365) { - String _elem366; // optional + String _elem366; // required _elem366 = iprot.readString(); struct.colNames.add(_elem366); } @@ -663,7 +663,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsStatsRequ struct.partNames = new ArrayList(_list367.size); for (int _i368 = 0; _i368 < _list367.size; ++_i368) { - String _elem369; // optional + String _elem369; // required _elem369 = iprot.readString(); struct.partNames.add(_elem369); } @@ -768,7 +768,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsReque struct.colNames = new ArrayList(_list374.size); for (int _i375 = 0; _i375 < _list374.size; ++_i375) { - String _elem376; // optional + String _elem376; // required _elem376 = iprot.readString(); struct.colNames.add(_elem376); } @@ -779,7 +779,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsReque struct.partNames = new ArrayList(_list377.size); for (int _i378 = 0; _i378 < _list377.size; ++_i378) { - String _elem379; // optional + String _elem379; // required _elem379 = iprot.readString(); struct.partNames.add(_elem379); } diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java index c9ae14e..bf0eb38 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java @@ -371,7 +371,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsStatsResu _val341 = new ArrayList(_list342.size); for (int _i343 = 0; _i343 < _list342.size; ++_i343) { - ColumnStatisticsObj _elem344; // optional + ColumnStatisticsObj _elem344; // required _elem344 = new ColumnStatisticsObj(); _elem344.read(iprot); _val341.add(_elem344); @@ -469,7 +469,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsResul _val352 = new ArrayList(_list353.size); for (int _i354 = 0; _i354 < _list353.size; ++_i354) { - ColumnStatisticsObj _elem355; // optional + ColumnStatisticsObj _elem355; // required _elem355 = new ColumnStatisticsObj(); _elem355.read(iprot); _val352.add(_elem355); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java index 0c9518a..eea86e5 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java @@ -587,7 +587,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PrincipalPrivilegeS _val27 = new ArrayList(_list28.size); for (int _i29 = 0; _i29 < _list28.size; ++_i29) { - PrivilegeGrantInfo _elem30; // optional + PrivilegeGrantInfo _elem30; // required _elem30 = new PrivilegeGrantInfo(); _elem30.read(iprot); _val27.add(_elem30); @@ -618,7 +618,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PrincipalPrivilegeS _val34 = new ArrayList(_list35.size); for (int _i36 = 0; _i36 < _list35.size; ++_i36) { - PrivilegeGrantInfo _elem37; // optional + PrivilegeGrantInfo _elem37; // required _elem37 = new PrivilegeGrantInfo(); _elem37.read(iprot); _val34.add(_elem37); @@ -649,7 +649,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PrincipalPrivilegeS _val41 = new ArrayList(_list42.size); for (int _i43 = 0; _i43 < _list42.size; ++_i43) { - PrivilegeGrantInfo _elem44; // optional + PrivilegeGrantInfo _elem44; // required _elem44 = new PrivilegeGrantInfo(); _elem44.read(iprot); _val41.add(_elem44); @@ -834,7 +834,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PrincipalPrivilegeSe _val60 = new ArrayList(_list61.size); for (int _i62 = 0; _i62 < _list61.size; ++_i62) { - PrivilegeGrantInfo _elem63; // optional + PrivilegeGrantInfo _elem63; // required _elem63 = new PrivilegeGrantInfo(); _elem63.read(iprot); _val60.add(_elem63); @@ -859,7 +859,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PrincipalPrivilegeSe _val67 = new ArrayList(_list68.size); for (int _i69 = 0; _i69 < _list68.size; ++_i69) { - PrivilegeGrantInfo _elem70; // optional + PrivilegeGrantInfo _elem70; // required _elem70 = new PrivilegeGrantInfo(); _elem70.read(iprot); _val67.add(_elem70); @@ -884,7 +884,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PrincipalPrivilegeSe _val74 = new ArrayList(_list75.size); for (int _i76 = 0; _i76 < _list75.size; ++_i76) { - PrivilegeGrantInfo _elem77; // optional + PrivilegeGrantInfo _elem77; // required _elem77 = new PrivilegeGrantInfo(); _elem77.read(iprot); _val74.add(_elem77); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java index 4285ed8..a4687ad 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java @@ -350,7 +350,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PrivilegeBag struct struct.privileges = new ArrayList(_list16.size); for (int _i17 = 0; _i17 < _list16.size; ++_i17) { - HiveObjectPrivilege _elem18; // optional + HiveObjectPrivilege _elem18; // required _elem18 = new HiveObjectPrivilege(); _elem18.read(iprot); struct.privileges.add(_elem18); @@ -430,7 +430,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PrivilegeBag struct) struct.privileges = new ArrayList(_list21.size); for (int _i22 = 0; _i22 < _list21.size; ++_i22) { - HiveObjectPrivilege _elem23; // optional + HiveObjectPrivilege _elem23; // required _elem23 = new HiveObjectPrivilege(); _elem23.read(iprot); struct.privileges.add(_elem23); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java index c2bb231..1da4f0c 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java @@ -169,7 +169,7 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip names = new ArrayList(_list404.size); for (int _i405 = 0; _i405 < _list404.size; ++_i405) { - String _elem406; // optional + String _elem406; // required _elem406 = iprot.readString(); names.add(_elem406); } @@ -188,7 +188,7 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip exprs = new ArrayList(_list407.size); for (int _i408 = 0; _i408 < _list407.size; ++_i408) { - DropPartitionsExpr _elem409; // optional + DropPartitionsExpr _elem409; // required _elem409 = new DropPartitionsExpr(); _elem409.read(iprot); exprs.add(_elem409); @@ -250,7 +250,7 @@ protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot names = new ArrayList(_list412.size); for (int _i413 = 0; _i413 < _list412.size; ++_i413) { - String _elem414; // optional + String _elem414; // required _elem414 = iprot.readString(); names.add(_elem414); } @@ -264,7 +264,7 @@ protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot exprs = new ArrayList(_list415.size); for (int _i416 = 0; _i416 < _list415.size; ++_i416) { - DropPartitionsExpr _elem417; // optional + DropPartitionsExpr _elem417; // required _elem417 = new DropPartitionsExpr(); _elem417.read(iprot); exprs.add(_elem417); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java index 31ee943..d130ba8 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java @@ -456,7 +456,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Schema struct) thro struct.fieldSchemas = new ArrayList(_list294.size); for (int _i295 = 0; _i295 < _list294.size; ++_i295) { - FieldSchema _elem296; // optional + FieldSchema _elem296; // required _elem296 = new FieldSchema(); _elem296.read(iprot); struct.fieldSchemas.add(_elem296); @@ -582,7 +582,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Schema struct) throw struct.fieldSchemas = new ArrayList(_list305.size); for (int _i306 = 0; _i306 < _list305.size; ++_i306) { - FieldSchema _elem307; // optional + FieldSchema _elem307; // required _elem307 = new FieldSchema(); _elem307.read(iprot); struct.fieldSchemas.add(_elem307); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java index 24d65bb..2466d8f 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java @@ -137,9 +137,9 @@ public SerDeInfo( Map parameters) { this(); - this.name = name; - this.serializationLib = serializationLib; - this.parameters = parameters; + this.name = org.apache.hive.common.util.HiveStringUtils.intern(name); + this.serializationLib = org.apache.hive.common.util.HiveStringUtils.intern(serializationLib); + this.parameters = org.apache.hive.common.util.HiveStringUtils.intern(parameters); } /** @@ -147,10 +147,10 @@ public SerDeInfo( */ public SerDeInfo(SerDeInfo other) { if (other.isSetName()) { - this.name = other.name; + this.name = org.apache.hive.common.util.HiveStringUtils.intern(other.name); } if (other.isSetSerializationLib()) { - this.serializationLib = other.serializationLib; + this.serializationLib = org.apache.hive.common.util.HiveStringUtils.intern(other.serializationLib); } if (other.isSetParameters()) { Map __this__parameters = new HashMap(); @@ -159,9 +159,9 @@ public SerDeInfo(SerDeInfo other) { String other_element_key = other_element.getKey(); String other_element_value = other_element.getValue(); - String __this__parameters_copy_key = other_element_key; + String __this__parameters_copy_key = org.apache.hive.common.util.HiveStringUtils.intern(other_element_key); - String __this__parameters_copy_value = other_element_value; + String __this__parameters_copy_value = org.apache.hive.common.util.HiveStringUtils.intern(other_element_value); __this__parameters.put(__this__parameters_copy_key, __this__parameters_copy_value); } @@ -185,7 +185,7 @@ public String getName() { } public void setName(String name) { - this.name = name; + this.name = org.apache.hive.common.util.HiveStringUtils.intern(name); } public void unsetName() { @@ -208,7 +208,7 @@ public String getSerializationLib() { } public void setSerializationLib(String serializationLib) { - this.serializationLib = serializationLib; + this.serializationLib = org.apache.hive.common.util.HiveStringUtils.intern(serializationLib); } public void unsetSerializationLib() { @@ -242,7 +242,7 @@ public void putToParameters(String key, String val) { } public void setParameters(Map parameters) { - this.parameters = parameters; + this.parameters = org.apache.hive.common.util.HiveStringUtils.intern(parameters); } public void unsetParameters() { diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java index e62e410..a7cf0a7 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java @@ -354,7 +354,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SetPartitionsStatsR struct.colStats = new ArrayList(_list286.size); for (int _i287 = 0; _i287 < _list286.size; ++_i287) { - ColumnStatistics _elem288; // optional + ColumnStatistics _elem288; // required _elem288 = new ColumnStatistics(); _elem288.read(iprot); struct.colStats.add(_elem288); @@ -425,7 +425,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, SetPartitionsStatsRe struct.colStats = new ArrayList(_list291.size); for (int _i292 = 0; _i292 < _list291.size; ++_i292) { - ColumnStatistics _elem293; // optional + ColumnStatistics _elem293; // required _elem293 = new ColumnStatistics(); _elem293.read(iprot); struct.colStats.add(_elem293); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java index c882b7b..d642edd 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java @@ -354,7 +354,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowCompactResponse struct.compacts = new ArrayList(_list484.size); for (int _i485 = 0; _i485 < _list484.size; ++_i485) { - ShowCompactResponseElement _elem486; // optional + ShowCompactResponseElement _elem486; // required _elem486 = new ShowCompactResponseElement(); _elem486.read(iprot); struct.compacts.add(_elem486); @@ -425,7 +425,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse struct.compacts = new ArrayList(_list489.size); for (int _i490 = 0; _i490 < _list489.size; ++_i490) { - ShowCompactResponseElement _elem491; // optional + ShowCompactResponseElement _elem491; // required _elem491 = new ShowCompactResponseElement(); _elem491.read(iprot); struct.compacts.add(_elem491); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java index 42cfe8c..9a86a88 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java @@ -350,7 +350,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowLocksResponse s struct.locks = new ArrayList(_list460.size); for (int _i461 = 0; _i461 < _list460.size; ++_i461) { - ShowLocksResponseElement _elem462; // optional + ShowLocksResponseElement _elem462; // required _elem462 = new ShowLocksResponseElement(); _elem462.read(iprot); struct.locks.add(_elem462); @@ -430,7 +430,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ShowLocksResponse st struct.locks = new ArrayList(_list465.size); for (int _i466 = 0; _i466 < _list465.size; ++_i466) { - ShowLocksResponseElement _elem467; // optional + ShowLocksResponseElement _elem467; // required _elem467 = new ShowLocksResponseElement(); _elem467.read(iprot); struct.locks.add(_elem467); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java index ab5c0ed..83438c7 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java @@ -566,7 +566,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SkewedInfo struct) struct.skewedColNames = new ArrayList(_list114.size); for (int _i115 = 0; _i115 < _list114.size; ++_i115) { - String _elem116; // optional + String _elem116; // required _elem116 = iprot.readString(); struct.skewedColNames.add(_elem116); } @@ -584,13 +584,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SkewedInfo struct) struct.skewedColValues = new ArrayList>(_list117.size); for (int _i118 = 0; _i118 < _list117.size; ++_i118) { - List _elem119; // optional + List _elem119; // required { org.apache.thrift.protocol.TList _list120 = iprot.readListBegin(); _elem119 = new ArrayList(_list120.size); for (int _i121 = 0; _i121 < _list120.size; ++_i121) { - String _elem122; // optional + String _elem122; // required _elem122 = iprot.readString(); _elem119.add(_elem122); } @@ -619,7 +619,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SkewedInfo struct) _key125 = new ArrayList(_list127.size); for (int _i128 = 0; _i128 < _list127.size; ++_i128) { - String _elem129; // optional + String _elem129; // required _elem129 = iprot.readString(); _key125.add(_elem129); } @@ -779,7 +779,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, SkewedInfo struct) t struct.skewedColNames = new ArrayList(_list140.size); for (int _i141 = 0; _i141 < _list140.size; ++_i141) { - String _elem142; // optional + String _elem142; // required _elem142 = iprot.readString(); struct.skewedColNames.add(_elem142); } @@ -792,13 +792,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, SkewedInfo struct) t struct.skewedColValues = new ArrayList>(_list143.size); for (int _i144 = 0; _i144 < _list143.size; ++_i144) { - List _elem145; // optional + List _elem145; // required { org.apache.thrift.protocol.TList _list146 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); _elem145 = new ArrayList(_list146.size); for (int _i147 = 0; _i147 < _list146.size; ++_i147) { - String _elem148; // optional + String _elem148; // required _elem148 = iprot.readString(); _elem145.add(_elem148); } @@ -821,7 +821,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, SkewedInfo struct) t _key151 = new ArrayList(_list153.size); for (int _i154 = 0; _i154 < _list153.size; ++_i154) { - String _elem155; // optional + String _elem155; // required _elem155 = iprot.readString(); _key151.add(_elem155); } diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java index 813b4f0..b91cc1c 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java @@ -216,17 +216,17 @@ public StorageDescriptor( { this(); this.cols = cols; - this.location = location; - this.inputFormat = inputFormat; - this.outputFormat = outputFormat; + this.location = org.apache.hive.common.util.HiveStringUtils.intern(location); + this.inputFormat = org.apache.hive.common.util.HiveStringUtils.intern(inputFormat); + this.outputFormat = org.apache.hive.common.util.HiveStringUtils.intern(outputFormat); this.compressed = compressed; setCompressedIsSet(true); this.numBuckets = numBuckets; setNumBucketsIsSet(true); this.serdeInfo = serdeInfo; - this.bucketCols = bucketCols; + this.bucketCols = org.apache.hive.common.util.HiveStringUtils.intern(bucketCols); this.sortCols = sortCols; - this.parameters = parameters; + this.parameters = org.apache.hive.common.util.HiveStringUtils.intern(parameters); } /** @@ -242,13 +242,13 @@ public StorageDescriptor(StorageDescriptor other) { this.cols = __this__cols; } if (other.isSetLocation()) { - this.location = other.location; + this.location = org.apache.hive.common.util.HiveStringUtils.intern(other.location); } if (other.isSetInputFormat()) { - this.inputFormat = other.inputFormat; + this.inputFormat = org.apache.hive.common.util.HiveStringUtils.intern(other.inputFormat); } if (other.isSetOutputFormat()) { - this.outputFormat = other.outputFormat; + this.outputFormat = org.apache.hive.common.util.HiveStringUtils.intern(other.outputFormat); } this.compressed = other.compressed; this.numBuckets = other.numBuckets; @@ -276,9 +276,9 @@ public StorageDescriptor(StorageDescriptor other) { String other_element_key = other_element.getKey(); String other_element_value = other_element.getValue(); - String __this__parameters_copy_key = other_element_key; + String __this__parameters_copy_key = org.apache.hive.common.util.HiveStringUtils.intern(other_element_key); - String __this__parameters_copy_value = other_element_value; + String __this__parameters_copy_value = org.apache.hive.common.util.HiveStringUtils.intern(other_element_value); __this__parameters.put(__this__parameters_copy_key, __this__parameters_copy_value); } @@ -356,7 +356,7 @@ public String getLocation() { } public void setLocation(String location) { - this.location = location; + this.location = org.apache.hive.common.util.HiveStringUtils.intern(location); } public void unsetLocation() { @@ -379,7 +379,7 @@ public String getInputFormat() { } public void setInputFormat(String inputFormat) { - this.inputFormat = inputFormat; + this.inputFormat = org.apache.hive.common.util.HiveStringUtils.intern(inputFormat); } public void unsetInputFormat() { @@ -402,7 +402,7 @@ public String getOutputFormat() { } public void setOutputFormat(String outputFormat) { - this.outputFormat = outputFormat; + this.outputFormat = org.apache.hive.common.util.HiveStringUtils.intern(outputFormat); } public void unsetOutputFormat() { @@ -507,7 +507,7 @@ public void addToBucketCols(String elem) { } public void setBucketCols(List bucketCols) { - this.bucketCols = bucketCols; + this.bucketCols = org.apache.hive.common.util.HiveStringUtils.intern(bucketCols); } public void unsetBucketCols() { @@ -579,7 +579,7 @@ public void putToParameters(String key, String val) { } public void setParameters(Map parameters) { - this.parameters = parameters; + this.parameters = org.apache.hive.common.util.HiveStringUtils.intern(parameters); } public void unsetParameters() { @@ -1304,7 +1304,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, StorageDescriptor s struct.cols = new ArrayList(_list156.size); for (int _i157 = 0; _i157 < _list156.size; ++_i157) { - FieldSchema _elem158; // optional + FieldSchema _elem158; // required _elem158 = new FieldSchema(); _elem158.read(iprot); struct.cols.add(_elem158); @@ -1372,7 +1372,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, StorageDescriptor s struct.bucketCols = new ArrayList(_list159.size); for (int _i160 = 0; _i160 < _list159.size; ++_i160) { - String _elem161; // optional + String _elem161; // required _elem161 = iprot.readString(); struct.bucketCols.add(_elem161); } @@ -1390,7 +1390,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, StorageDescriptor s struct.sortCols = new ArrayList(_list162.size); for (int _i163 = 0; _i163 < _list162.size; ++_i163) { - Order _elem164; // optional + Order _elem164; // required _elem164 = new Order(); _elem164.read(iprot); struct.sortCols.add(_elem164); @@ -1667,7 +1667,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, StorageDescriptor st struct.cols = new ArrayList(_list177.size); for (int _i178 = 0; _i178 < _list177.size; ++_i178) { - FieldSchema _elem179; // optional + FieldSchema _elem179; // required _elem179 = new FieldSchema(); _elem179.read(iprot); struct.cols.add(_elem179); @@ -1706,7 +1706,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, StorageDescriptor st struct.bucketCols = new ArrayList(_list180.size); for (int _i181 = 0; _i181 < _list180.size; ++_i181) { - String _elem182; // optional + String _elem182; // required _elem182 = iprot.readString(); struct.bucketCols.add(_elem182); } @@ -1719,7 +1719,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, StorageDescriptor st struct.sortCols = new ArrayList(_list183.size); for (int _i184 = 0; _i184 < _list183.size; ++_i184) { - Order _elem185; // optional + Order _elem185; // required _elem185 = new Order(); _elem185.read(iprot); struct.sortCols.add(_elem185); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java index 484bd6a..229a819 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java @@ -1481,7 +1481,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Table struct) throw struct.partitionKeys = new ArrayList(_list190.size); for (int _i191 = 0; _i191 < _list190.size; ++_i191) { - FieldSchema _elem192; // optional + FieldSchema _elem192; // required _elem192 = new FieldSchema(); _elem192.read(iprot); struct.partitionKeys.add(_elem192); @@ -1805,7 +1805,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Table struct) throws struct.partitionKeys = new ArrayList(_list201.size); for (int _i202 = 0; _i202 < _list201.size; ++_i202) { - FieldSchema _elem203; // optional + FieldSchema _elem203; // required _elem203 = new FieldSchema(); _elem203.read(iprot); struct.partitionKeys.add(_elem203); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java index 2073829..bd997b4 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java @@ -540,7 +540,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TableStatsRequest s struct.colNames = new ArrayList(_list356.size); for (int _i357 = 0; _i357 < _list356.size; ++_i357) { - String _elem358; // optional + String _elem358; // required _elem358 = iprot.readString(); struct.colNames.add(_elem358); } @@ -626,7 +626,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TableStatsRequest st struct.colNames = new ArrayList(_list361.size); for (int _i362 = 0; _i362 < _list361.size; ++_i362) { - String _elem363; // optional + String _elem363; // required _elem363 = iprot.readString(); struct.colNames.add(_elem363); } diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java index 541370f..68ecd7d 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java @@ -354,7 +354,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TableStatsResult st struct.tableStats = new ArrayList(_list330.size); for (int _i331 = 0; _i331 < _list330.size; ++_i331) { - ColumnStatisticsObj _elem332; // optional + ColumnStatisticsObj _elem332; // required _elem332 = new ColumnStatisticsObj(); _elem332.read(iprot); struct.tableStats.add(_elem332); @@ -425,7 +425,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TableStatsResult str struct.tableStats = new ArrayList(_list335.size); for (int _i336 = 0; _i336 < _list335.size; ++_i336) { - ColumnStatisticsObj _elem337; // optional + ColumnStatisticsObj _elem337; // required _elem337 = new ColumnStatisticsObj(); _elem337.read(iprot); struct.tableStats.add(_elem337); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java index 5fc965b..4787609 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java @@ -214,6 +214,8 @@ public Function get_function(String dbName, String funcName) throws MetaException, NoSuchObjectException, org.apache.thrift.TException; + public GetAllFunctionsResponse get_all_functions() throws MetaException, org.apache.thrift.TException; + public boolean create_role(Role role) throws MetaException, org.apache.thrift.TException; public boolean drop_role(String role_name) throws MetaException, org.apache.thrift.TException; @@ -464,6 +466,8 @@ public void get_function(String dbName, String funcName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_all_functions(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void create_role(Role role, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; public void drop_role(String role_name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; @@ -3293,6 +3297,31 @@ public Function recv_get_function() throws MetaException, NoSuchObjectException, throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_function failed: unknown result"); } + public GetAllFunctionsResponse get_all_functions() throws MetaException, org.apache.thrift.TException + { + send_get_all_functions(); + return recv_get_all_functions(); + } + + public void send_get_all_functions() throws org.apache.thrift.TException + { + get_all_functions_args args = new get_all_functions_args(); + sendBase("get_all_functions", args); + } + + public GetAllFunctionsResponse recv_get_all_functions() throws MetaException, org.apache.thrift.TException + { + get_all_functions_result result = new get_all_functions_result(); + receiveBase(result, "get_all_functions"); + if (result.isSetSuccess()) { + return result.success; + } + if (result.o1 != null) { + throw result.o1; + } + throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_all_functions failed: unknown result"); + } + public boolean create_role(Role role) throws MetaException, org.apache.thrift.TException { send_create_role(role); @@ -7440,6 +7469,35 @@ public Function getResult() throws MetaException, NoSuchObjectException, org.apa } } + public void get_all_functions(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + checkReady(); + get_all_functions_call method_call = new get_all_functions_call(resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class get_all_functions_call extends org.apache.thrift.async.TAsyncMethodCall { + public get_all_functions_call(org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("get_all_functions", org.apache.thrift.protocol.TMessageType.CALL, 0)); + get_all_functions_args args = new get_all_functions_args(); + args.write(prot); + prot.writeMessageEnd(); + } + + public GetAllFunctionsResponse getResult() throws MetaException, org.apache.thrift.TException { + if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException("Method call not finished!"); + } + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_get_all_functions(); + } + } + public void create_role(Role role, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); create_role_call method_call = new create_role_call(role, resultHandler, this, ___protocolFactory, ___transport); @@ -8691,6 +8749,7 @@ protected Processor(I iface, Map extends org.apache.thrift.ProcessFunction { + public get_all_functions() { + super("get_all_functions"); + } + + public get_all_functions_args getEmptyArgsInstance() { + return new get_all_functions_args(); + } + + protected boolean isOneway() { + return false; + } + + public get_all_functions_result getResult(I iface, get_all_functions_args args) throws org.apache.thrift.TException { + get_all_functions_result result = new get_all_functions_result(); + try { + result.success = iface.get_all_functions(); + } catch (MetaException o1) { + result.o1 = o1; + } + return result; + } + } + public static class create_role extends org.apache.thrift.ProcessFunction { public create_role() { super("create_role"); @@ -17324,13 +17407,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_databases_resul case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list524 = iprot.readListBegin(); - struct.success = new ArrayList(_list524.size); - for (int _i525 = 0; _i525 < _list524.size; ++_i525) + org.apache.thrift.protocol.TList _list532 = iprot.readListBegin(); + struct.success = new ArrayList(_list532.size); + for (int _i533 = 0; _i533 < _list532.size; ++_i533) { - String _elem526; // optional - _elem526 = iprot.readString(); - struct.success.add(_elem526); + String _elem534; // required + _elem534 = iprot.readString(); + struct.success.add(_elem534); } iprot.readListEnd(); } @@ -17365,9 +17448,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_databases_resu oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter527 : struct.success) + for (String _iter535 : struct.success) { - oprot.writeString(_iter527); + oprot.writeString(_iter535); } oprot.writeListEnd(); } @@ -17406,9 +17489,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter528 : struct.success) + for (String _iter536 : struct.success) { - oprot.writeString(_iter528); + oprot.writeString(_iter536); } } } @@ -17423,13 +17506,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_databases_result BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list529 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list529.size); - for (int _i530 = 0; _i530 < _list529.size; ++_i530) + org.apache.thrift.protocol.TList _list537 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list537.size); + for (int _i538 = 0; _i538 < _list537.size; ++_i538) { - String _elem531; // optional - _elem531 = iprot.readString(); - struct.success.add(_elem531); + String _elem539; // required + _elem539 = iprot.readString(); + struct.success.add(_elem539); } } struct.setSuccessIsSet(true); @@ -18086,13 +18169,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_databases_r case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list532 = iprot.readListBegin(); - struct.success = new ArrayList(_list532.size); - for (int _i533 = 0; _i533 < _list532.size; ++_i533) + org.apache.thrift.protocol.TList _list540 = iprot.readListBegin(); + struct.success = new ArrayList(_list540.size); + for (int _i541 = 0; _i541 < _list540.size; ++_i541) { - String _elem534; // optional - _elem534 = iprot.readString(); - struct.success.add(_elem534); + String _elem542; // required + _elem542 = iprot.readString(); + struct.success.add(_elem542); } iprot.readListEnd(); } @@ -18127,9 +18210,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_databases_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter535 : struct.success) + for (String _iter543 : struct.success) { - oprot.writeString(_iter535); + oprot.writeString(_iter543); } oprot.writeListEnd(); } @@ -18168,9 +18251,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter536 : struct.success) + for (String _iter544 : struct.success) { - oprot.writeString(_iter536); + oprot.writeString(_iter544); } } } @@ -18185,13 +18268,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_databases_re BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list537 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list537.size); - for (int _i538 = 0; _i538 < _list537.size; ++_i538) + org.apache.thrift.protocol.TList _list545 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list545.size); + for (int _i546 = 0; _i546 < _list545.size; ++_i546) { - String _elem539; // optional - _elem539 = iprot.readString(); - struct.success.add(_elem539); + String _elem547; // required + _elem547 = iprot.readString(); + struct.success.add(_elem547); } } struct.setSuccessIsSet(true); @@ -22798,16 +22881,16 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_type_all_result case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map540 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map540.size); - for (int _i541 = 0; _i541 < _map540.size; ++_i541) + org.apache.thrift.protocol.TMap _map548 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map548.size); + for (int _i549 = 0; _i549 < _map548.size; ++_i549) { - String _key542; // required - Type _val543; // required - _key542 = iprot.readString(); - _val543 = new Type(); - _val543.read(iprot); - struct.success.put(_key542, _val543); + String _key550; // required + Type _val551; // required + _key550 = iprot.readString(); + _val551 = new Type(); + _val551.read(iprot); + struct.success.put(_key550, _val551); } iprot.readMapEnd(); } @@ -22842,10 +22925,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_type_all_resul oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry _iter544 : struct.success.entrySet()) + for (Map.Entry _iter552 : struct.success.entrySet()) { - oprot.writeString(_iter544.getKey()); - _iter544.getValue().write(oprot); + oprot.writeString(_iter552.getKey()); + _iter552.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -22884,10 +22967,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_type_all_result if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter545 : struct.success.entrySet()) + for (Map.Entry _iter553 : struct.success.entrySet()) { - oprot.writeString(_iter545.getKey()); - _iter545.getValue().write(oprot); + oprot.writeString(_iter553.getKey()); + _iter553.getValue().write(oprot); } } } @@ -22902,16 +22985,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_type_all_result BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map546 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new HashMap(2*_map546.size); - for (int _i547 = 0; _i547 < _map546.size; ++_i547) + org.apache.thrift.protocol.TMap _map554 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new HashMap(2*_map554.size); + for (int _i555 = 0; _i555 < _map554.size; ++_i555) { - String _key548; // required - Type _val549; // required - _key548 = iprot.readString(); - _val549 = new Type(); - _val549.read(iprot); - struct.success.put(_key548, _val549); + String _key556; // required + Type _val557; // required + _key556 = iprot.readString(); + _val557 = new Type(); + _val557.read(iprot); + struct.success.put(_key556, _val557); } } struct.setSuccessIsSet(true); @@ -23946,14 +24029,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_fields_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list550 = iprot.readListBegin(); - struct.success = new ArrayList(_list550.size); - for (int _i551 = 0; _i551 < _list550.size; ++_i551) + org.apache.thrift.protocol.TList _list558 = iprot.readListBegin(); + struct.success = new ArrayList(_list558.size); + for (int _i559 = 0; _i559 < _list558.size; ++_i559) { - FieldSchema _elem552; // optional - _elem552 = new FieldSchema(); - _elem552.read(iprot); - struct.success.add(_elem552); + FieldSchema _elem560; // required + _elem560 = new FieldSchema(); + _elem560.read(iprot); + struct.success.add(_elem560); } iprot.readListEnd(); } @@ -24006,9 +24089,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_fields_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter553 : struct.success) + for (FieldSchema _iter561 : struct.success) { - _iter553.write(oprot); + _iter561.write(oprot); } oprot.writeListEnd(); } @@ -24063,9 +24146,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter554 : struct.success) + for (FieldSchema _iter562 : struct.success) { - _iter554.write(oprot); + _iter562.write(oprot); } } } @@ -24086,14 +24169,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_fields_result st BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list555 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list555.size); - for (int _i556 = 0; _i556 < _list555.size; ++_i556) + org.apache.thrift.protocol.TList _list563 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list563.size); + for (int _i564 = 0; _i564 < _list563.size; ++_i564) { - FieldSchema _elem557; // optional - _elem557 = new FieldSchema(); - _elem557.read(iprot); - struct.success.add(_elem557); + FieldSchema _elem565; // required + _elem565 = new FieldSchema(); + _elem565.read(iprot); + struct.success.add(_elem565); } } struct.setSuccessIsSet(true); @@ -25247,14 +25330,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_fields_with_env case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list558 = iprot.readListBegin(); - struct.success = new ArrayList(_list558.size); - for (int _i559 = 0; _i559 < _list558.size; ++_i559) + org.apache.thrift.protocol.TList _list566 = iprot.readListBegin(); + struct.success = new ArrayList(_list566.size); + for (int _i567 = 0; _i567 < _list566.size; ++_i567) { - FieldSchema _elem560; // optional - _elem560 = new FieldSchema(); - _elem560.read(iprot); - struct.success.add(_elem560); + FieldSchema _elem568; // required + _elem568 = new FieldSchema(); + _elem568.read(iprot); + struct.success.add(_elem568); } iprot.readListEnd(); } @@ -25307,9 +25390,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_fields_with_en oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter561 : struct.success) + for (FieldSchema _iter569 : struct.success) { - _iter561.write(oprot); + _iter569.write(oprot); } oprot.writeListEnd(); } @@ -25364,9 +25447,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter562 : struct.success) + for (FieldSchema _iter570 : struct.success) { - _iter562.write(oprot); + _iter570.write(oprot); } } } @@ -25387,14 +25470,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_fields_with_envi BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list563 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list563.size); - for (int _i564 = 0; _i564 < _list563.size; ++_i564) + org.apache.thrift.protocol.TList _list571 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list571.size); + for (int _i572 = 0; _i572 < _list571.size; ++_i572) { - FieldSchema _elem565; // optional - _elem565 = new FieldSchema(); - _elem565.read(iprot); - struct.success.add(_elem565); + FieldSchema _elem573; // required + _elem573 = new FieldSchema(); + _elem573.read(iprot); + struct.success.add(_elem573); } } struct.setSuccessIsSet(true); @@ -26439,14 +26522,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list566 = iprot.readListBegin(); - struct.success = new ArrayList(_list566.size); - for (int _i567 = 0; _i567 < _list566.size; ++_i567) + org.apache.thrift.protocol.TList _list574 = iprot.readListBegin(); + struct.success = new ArrayList(_list574.size); + for (int _i575 = 0; _i575 < _list574.size; ++_i575) { - FieldSchema _elem568; // optional - _elem568 = new FieldSchema(); - _elem568.read(iprot); - struct.success.add(_elem568); + FieldSchema _elem576; // required + _elem576 = new FieldSchema(); + _elem576.read(iprot); + struct.success.add(_elem576); } iprot.readListEnd(); } @@ -26499,9 +26582,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter569 : struct.success) + for (FieldSchema _iter577 : struct.success) { - _iter569.write(oprot); + _iter577.write(oprot); } oprot.writeListEnd(); } @@ -26556,9 +26639,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter570 : struct.success) + for (FieldSchema _iter578 : struct.success) { - _iter570.write(oprot); + _iter578.write(oprot); } } } @@ -26579,14 +26662,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_result st BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list571 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list571.size); - for (int _i572 = 0; _i572 < _list571.size; ++_i572) + org.apache.thrift.protocol.TList _list579 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list579.size); + for (int _i580 = 0; _i580 < _list579.size; ++_i580) { - FieldSchema _elem573; // optional - _elem573 = new FieldSchema(); - _elem573.read(iprot); - struct.success.add(_elem573); + FieldSchema _elem581; // required + _elem581 = new FieldSchema(); + _elem581.read(iprot); + struct.success.add(_elem581); } } struct.setSuccessIsSet(true); @@ -27740,14 +27823,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_with_env case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list574 = iprot.readListBegin(); - struct.success = new ArrayList(_list574.size); - for (int _i575 = 0; _i575 < _list574.size; ++_i575) + org.apache.thrift.protocol.TList _list582 = iprot.readListBegin(); + struct.success = new ArrayList(_list582.size); + for (int _i583 = 0; _i583 < _list582.size; ++_i583) { - FieldSchema _elem576; // optional - _elem576 = new FieldSchema(); - _elem576.read(iprot); - struct.success.add(_elem576); + FieldSchema _elem584; // required + _elem584 = new FieldSchema(); + _elem584.read(iprot); + struct.success.add(_elem584); } iprot.readListEnd(); } @@ -27800,9 +27883,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_with_en oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter577 : struct.success) + for (FieldSchema _iter585 : struct.success) { - _iter577.write(oprot); + _iter585.write(oprot); } oprot.writeListEnd(); } @@ -27857,9 +27940,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter578 : struct.success) + for (FieldSchema _iter586 : struct.success) { - _iter578.write(oprot); + _iter586.write(oprot); } } } @@ -27880,14 +27963,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_with_envi BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list579 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list579.size); - for (int _i580 = 0; _i580 < _list579.size; ++_i580) + org.apache.thrift.protocol.TList _list587 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list587.size); + for (int _i588 = 0; _i588 < _list587.size; ++_i588) { - FieldSchema _elem581; // optional - _elem581 = new FieldSchema(); - _elem581.read(iprot); - struct.success.add(_elem581); + FieldSchema _elem589; // required + _elem589 = new FieldSchema(); + _elem589.read(iprot); + struct.success.add(_elem589); } } struct.setSuccessIsSet(true); @@ -33130,13 +33213,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list582 = iprot.readListBegin(); - struct.success = new ArrayList(_list582.size); - for (int _i583 = 0; _i583 < _list582.size; ++_i583) + org.apache.thrift.protocol.TList _list590 = iprot.readListBegin(); + struct.success = new ArrayList(_list590.size); + for (int _i591 = 0; _i591 < _list590.size; ++_i591) { - String _elem584; // optional - _elem584 = iprot.readString(); - struct.success.add(_elem584); + String _elem592; // required + _elem592 = iprot.readString(); + struct.success.add(_elem592); } iprot.readListEnd(); } @@ -33171,9 +33254,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter585 : struct.success) + for (String _iter593 : struct.success) { - oprot.writeString(_iter585); + oprot.writeString(_iter593); } oprot.writeListEnd(); } @@ -33212,9 +33295,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter586 : struct.success) + for (String _iter594 : struct.success) { - oprot.writeString(_iter586); + oprot.writeString(_iter594); } } } @@ -33229,13 +33312,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_result st BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list587 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list587.size); - for (int _i588 = 0; _i588 < _list587.size; ++_i588) + org.apache.thrift.protocol.TList _list595 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list595.size); + for (int _i596 = 0; _i596 < _list595.size; ++_i596) { - String _elem589; // optional - _elem589 = iprot.readString(); - struct.success.add(_elem589); + String _elem597; // required + _elem597 = iprot.readString(); + struct.success.add(_elem597); } } struct.setSuccessIsSet(true); @@ -34004,13 +34087,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_tables_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list590 = iprot.readListBegin(); - struct.success = new ArrayList(_list590.size); - for (int _i591 = 0; _i591 < _list590.size; ++_i591) + org.apache.thrift.protocol.TList _list598 = iprot.readListBegin(); + struct.success = new ArrayList(_list598.size); + for (int _i599 = 0; _i599 < _list598.size; ++_i599) { - String _elem592; // optional - _elem592 = iprot.readString(); - struct.success.add(_elem592); + String _elem600; // required + _elem600 = iprot.readString(); + struct.success.add(_elem600); } iprot.readListEnd(); } @@ -34045,9 +34128,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_tables_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter593 : struct.success) + for (String _iter601 : struct.success) { - oprot.writeString(_iter593); + oprot.writeString(_iter601); } oprot.writeListEnd(); } @@ -34086,9 +34169,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter594 : struct.success) + for (String _iter602 : struct.success) { - oprot.writeString(_iter594); + oprot.writeString(_iter602); } } } @@ -34103,13 +34186,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list595 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list595.size); - for (int _i596 = 0; _i596 < _list595.size; ++_i596) + org.apache.thrift.protocol.TList _list603 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list603.size); + for (int _i604 = 0; _i604 < _list603.size; ++_i604) { - String _elem597; // optional - _elem597 = iprot.readString(); - struct.success.add(_elem597); + String _elem605; // required + _elem605 = iprot.readString(); + struct.success.add(_elem605); } } struct.setSuccessIsSet(true); @@ -35565,13 +35648,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_b case 2: // TBL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list598 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list598.size); - for (int _i599 = 0; _i599 < _list598.size; ++_i599) + org.apache.thrift.protocol.TList _list606 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list606.size); + for (int _i607 = 0; _i607 < _list606.size; ++_i607) { - String _elem600; // optional - _elem600 = iprot.readString(); - struct.tbl_names.add(_elem600); + String _elem608; // required + _elem608 = iprot.readString(); + struct.tbl_names.add(_elem608); } iprot.readListEnd(); } @@ -35602,9 +35685,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_objects_ oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tbl_names.size())); - for (String _iter601 : struct.tbl_names) + for (String _iter609 : struct.tbl_names) { - oprot.writeString(_iter601); + oprot.writeString(_iter609); } oprot.writeListEnd(); } @@ -35641,9 +35724,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetTbl_names()) { { oprot.writeI32(struct.tbl_names.size()); - for (String _iter602 : struct.tbl_names) + for (String _iter610 : struct.tbl_names) { - oprot.writeString(_iter602); + oprot.writeString(_iter610); } } } @@ -35659,13 +35742,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list603 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list603.size); - for (int _i604 = 0; _i604 < _list603.size; ++_i604) + org.apache.thrift.protocol.TList _list611 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list611.size); + for (int _i612 = 0; _i612 < _list611.size; ++_i612) { - String _elem605; // optional - _elem605 = iprot.readString(); - struct.tbl_names.add(_elem605); + String _elem613; // required + _elem613 = iprot.readString(); + struct.tbl_names.add(_elem613); } } struct.setTbl_namesIsSet(true); @@ -36233,14 +36316,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_b case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list606 = iprot.readListBegin(); - struct.success = new ArrayList
(_list606.size); - for (int _i607 = 0; _i607 < _list606.size; ++_i607) + org.apache.thrift.protocol.TList _list614 = iprot.readListBegin(); + struct.success = new ArrayList
(_list614.size); + for (int _i615 = 0; _i615 < _list614.size; ++_i615) { - Table _elem608; // optional - _elem608 = new Table(); - _elem608.read(iprot); - struct.success.add(_elem608); + Table _elem616; // required + _elem616 = new Table(); + _elem616.read(iprot); + struct.success.add(_elem616); } iprot.readListEnd(); } @@ -36293,9 +36376,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_objects_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Table _iter609 : struct.success) + for (Table _iter617 : struct.success) { - _iter609.write(oprot); + _iter617.write(oprot); } oprot.writeListEnd(); } @@ -36350,9 +36433,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter610 : struct.success) + for (Table _iter618 : struct.success) { - _iter610.write(oprot); + _iter618.write(oprot); } } } @@ -36373,14 +36456,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list611 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list611.size); - for (int _i612 = 0; _i612 < _list611.size; ++_i612) + org.apache.thrift.protocol.TList _list619 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list619.size); + for (int _i620 = 0; _i620 < _list619.size; ++_i620) { - Table _elem613; // optional - _elem613 = new Table(); - _elem613.read(iprot); - struct.success.add(_elem613); + Table _elem621; // required + _elem621 = new Table(); + _elem621.read(iprot); + struct.success.add(_elem621); } } struct.setSuccessIsSet(true); @@ -37529,13 +37612,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_names_by_ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list614 = iprot.readListBegin(); - struct.success = new ArrayList(_list614.size); - for (int _i615 = 0; _i615 < _list614.size; ++_i615) + org.apache.thrift.protocol.TList _list622 = iprot.readListBegin(); + struct.success = new ArrayList(_list622.size); + for (int _i623 = 0; _i623 < _list622.size; ++_i623) { - String _elem616; // optional - _elem616 = iprot.readString(); - struct.success.add(_elem616); + String _elem624; // required + _elem624 = iprot.readString(); + struct.success.add(_elem624); } iprot.readListEnd(); } @@ -37588,9 +37671,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_names_by oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter617 : struct.success) + for (String _iter625 : struct.success) { - oprot.writeString(_iter617); + oprot.writeString(_iter625); } oprot.writeListEnd(); } @@ -37645,9 +37728,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter618 : struct.success) + for (String _iter626 : struct.success) { - oprot.writeString(_iter618); + oprot.writeString(_iter626); } } } @@ -37668,13 +37751,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_f BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list619 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list619.size); - for (int _i620 = 0; _i620 < _list619.size; ++_i620) + org.apache.thrift.protocol.TList _list627 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list627.size); + for (int _i628 = 0; _i628 < _list627.size; ++_i628) { - String _elem621; // optional - _elem621 = iprot.readString(); - struct.success.add(_elem621); + String _elem629; // required + _elem629 = iprot.readString(); + struct.success.add(_elem629); } } struct.setSuccessIsSet(true); @@ -43533,14 +43616,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, add_partitions_args case 1: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list622 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list622.size); - for (int _i623 = 0; _i623 < _list622.size; ++_i623) + org.apache.thrift.protocol.TList _list630 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list630.size); + for (int _i631 = 0; _i631 < _list630.size; ++_i631) { - Partition _elem624; // optional - _elem624 = new Partition(); - _elem624.read(iprot); - struct.new_parts.add(_elem624); + Partition _elem632; // required + _elem632 = new Partition(); + _elem632.read(iprot); + struct.new_parts.add(_elem632); } iprot.readListEnd(); } @@ -43566,9 +43649,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, add_partitions_arg oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (Partition _iter625 : struct.new_parts) + for (Partition _iter633 : struct.new_parts) { - _iter625.write(oprot); + _iter633.write(oprot); } oprot.writeListEnd(); } @@ -43599,9 +43682,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, add_partitions_args if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter626 : struct.new_parts) + for (Partition _iter634 : struct.new_parts) { - _iter626.write(oprot); + _iter634.write(oprot); } } } @@ -43613,14 +43696,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partitions_args BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list627 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list627.size); - for (int _i628 = 0; _i628 < _list627.size; ++_i628) + org.apache.thrift.protocol.TList _list635 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list635.size); + for (int _i636 = 0; _i636 < _list635.size; ++_i636) { - Partition _elem629; // optional - _elem629 = new Partition(); - _elem629.read(iprot); - struct.new_parts.add(_elem629); + Partition _elem637; // required + _elem637 = new Partition(); + _elem637.read(iprot); + struct.new_parts.add(_elem637); } } struct.setNew_partsIsSet(true); @@ -44621,14 +44704,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, add_partitions_pspe case 1: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list630 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list630.size); - for (int _i631 = 0; _i631 < _list630.size; ++_i631) + org.apache.thrift.protocol.TList _list638 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list638.size); + for (int _i639 = 0; _i639 < _list638.size; ++_i639) { - PartitionSpec _elem632; // optional - _elem632 = new PartitionSpec(); - _elem632.read(iprot); - struct.new_parts.add(_elem632); + PartitionSpec _elem640; // required + _elem640 = new PartitionSpec(); + _elem640.read(iprot); + struct.new_parts.add(_elem640); } iprot.readListEnd(); } @@ -44654,9 +44737,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, add_partitions_psp oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (PartitionSpec _iter633 : struct.new_parts) + for (PartitionSpec _iter641 : struct.new_parts) { - _iter633.write(oprot); + _iter641.write(oprot); } oprot.writeListEnd(); } @@ -44687,9 +44770,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, add_partitions_pspe if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (PartitionSpec _iter634 : struct.new_parts) + for (PartitionSpec _iter642 : struct.new_parts) { - _iter634.write(oprot); + _iter642.write(oprot); } } } @@ -44701,14 +44784,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partitions_pspec BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list635 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list635.size); - for (int _i636 = 0; _i636 < _list635.size; ++_i636) + org.apache.thrift.protocol.TList _list643 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list643.size); + for (int _i644 = 0; _i644 < _list643.size; ++_i644) { - PartitionSpec _elem637; // optional - _elem637 = new PartitionSpec(); - _elem637.read(iprot); - struct.new_parts.add(_elem637); + PartitionSpec _elem645; // required + _elem645 = new PartitionSpec(); + _elem645.read(iprot); + struct.new_parts.add(_elem645); } } struct.setNew_partsIsSet(true); @@ -45887,13 +45970,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, append_partition_ar case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list638 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list638.size); - for (int _i639 = 0; _i639 < _list638.size; ++_i639) + org.apache.thrift.protocol.TList _list646 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list646.size); + for (int _i647 = 0; _i647 < _list646.size; ++_i647) { - String _elem640; // optional - _elem640 = iprot.readString(); - struct.part_vals.add(_elem640); + String _elem648; // required + _elem648 = iprot.readString(); + struct.part_vals.add(_elem648); } iprot.readListEnd(); } @@ -45929,9 +46012,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, append_partition_a oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter641 : struct.part_vals) + for (String _iter649 : struct.part_vals) { - oprot.writeString(_iter641); + oprot.writeString(_iter649); } oprot.writeListEnd(); } @@ -45974,9 +46057,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, append_partition_ar if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter642 : struct.part_vals) + for (String _iter650 : struct.part_vals) { - oprot.writeString(_iter642); + oprot.writeString(_iter650); } } } @@ -45996,13 +46079,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list643 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list643.size); - for (int _i644 = 0; _i644 < _list643.size; ++_i644) + org.apache.thrift.protocol.TList _list651 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list651.size); + for (int _i652 = 0; _i652 < _list651.size; ++_i652) { - String _elem645; // optional - _elem645 = iprot.readString(); - struct.part_vals.add(_elem645); + String _elem653; // required + _elem653 = iprot.readString(); + struct.part_vals.add(_elem653); } } struct.setPart_valsIsSet(true); @@ -48314,13 +48397,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, append_partition_wi case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list646 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list646.size); - for (int _i647 = 0; _i647 < _list646.size; ++_i647) + org.apache.thrift.protocol.TList _list654 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list654.size); + for (int _i655 = 0; _i655 < _list654.size; ++_i655) { - String _elem648; // optional - _elem648 = iprot.readString(); - struct.part_vals.add(_elem648); + String _elem656; // required + _elem656 = iprot.readString(); + struct.part_vals.add(_elem656); } iprot.readListEnd(); } @@ -48365,9 +48448,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, append_partition_w oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter649 : struct.part_vals) + for (String _iter657 : struct.part_vals) { - oprot.writeString(_iter649); + oprot.writeString(_iter657); } oprot.writeListEnd(); } @@ -48418,9 +48501,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, append_partition_wi if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter650 : struct.part_vals) + for (String _iter658 : struct.part_vals) { - oprot.writeString(_iter650); + oprot.writeString(_iter658); } } } @@ -48443,13 +48526,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list651 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list651.size); - for (int _i652 = 0; _i652 < _list651.size; ++_i652) + org.apache.thrift.protocol.TList _list659 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list659.size); + for (int _i660 = 0; _i660 < _list659.size; ++_i660) { - String _elem653; // optional - _elem653 = iprot.readString(); - struct.part_vals.add(_elem653); + String _elem661; // required + _elem661 = iprot.readString(); + struct.part_vals.add(_elem661); } } struct.setPart_valsIsSet(true); @@ -52322,13 +52405,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_partition_args case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list654 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list654.size); - for (int _i655 = 0; _i655 < _list654.size; ++_i655) + org.apache.thrift.protocol.TList _list662 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list662.size); + for (int _i663 = 0; _i663 < _list662.size; ++_i663) { - String _elem656; // optional - _elem656 = iprot.readString(); - struct.part_vals.add(_elem656); + String _elem664; // required + _elem664 = iprot.readString(); + struct.part_vals.add(_elem664); } iprot.readListEnd(); } @@ -52372,9 +52455,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, drop_partition_arg oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter657 : struct.part_vals) + for (String _iter665 : struct.part_vals) { - oprot.writeString(_iter657); + oprot.writeString(_iter665); } oprot.writeListEnd(); } @@ -52423,9 +52506,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, drop_partition_args if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter658 : struct.part_vals) + for (String _iter666 : struct.part_vals) { - oprot.writeString(_iter658); + oprot.writeString(_iter666); } } } @@ -52448,13 +52531,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list659 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list659.size); - for (int _i660 = 0; _i660 < _list659.size; ++_i660) + org.apache.thrift.protocol.TList _list667 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list667.size); + for (int _i668 = 0; _i668 < _list667.size; ++_i668) { - String _elem661; // optional - _elem661 = iprot.readString(); - struct.part_vals.add(_elem661); + String _elem669; // required + _elem669 = iprot.readString(); + struct.part_vals.add(_elem669); } } struct.setPart_valsIsSet(true); @@ -53696,13 +53779,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_partition_with case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list662 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list662.size); - for (int _i663 = 0; _i663 < _list662.size; ++_i663) + org.apache.thrift.protocol.TList _list670 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list670.size); + for (int _i671 = 0; _i671 < _list670.size; ++_i671) { - String _elem664; // optional - _elem664 = iprot.readString(); - struct.part_vals.add(_elem664); + String _elem672; // required + _elem672 = iprot.readString(); + struct.part_vals.add(_elem672); } iprot.readListEnd(); } @@ -53755,9 +53838,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, drop_partition_wit oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter665 : struct.part_vals) + for (String _iter673 : struct.part_vals) { - oprot.writeString(_iter665); + oprot.writeString(_iter673); } oprot.writeListEnd(); } @@ -53814,9 +53897,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, drop_partition_with if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter666 : struct.part_vals) + for (String _iter674 : struct.part_vals) { - oprot.writeString(_iter666); + oprot.writeString(_iter674); } } } @@ -53842,13 +53925,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list667 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list667.size); - for (int _i668 = 0; _i668 < _list667.size; ++_i668) + org.apache.thrift.protocol.TList _list675 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list675.size); + for (int _i676 = 0; _i676 < _list675.size; ++_i676) { - String _elem669; // optional - _elem669 = iprot.readString(); - struct.part_vals.add(_elem669); + String _elem677; // required + _elem677 = iprot.readString(); + struct.part_vals.add(_elem677); } } struct.setPart_valsIsSet(true); @@ -58453,13 +58536,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_args case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list670 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list670.size); - for (int _i671 = 0; _i671 < _list670.size; ++_i671) + org.apache.thrift.protocol.TList _list678 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list678.size); + for (int _i679 = 0; _i679 < _list678.size; ++_i679) { - String _elem672; // optional - _elem672 = iprot.readString(); - struct.part_vals.add(_elem672); + String _elem680; // required + _elem680 = iprot.readString(); + struct.part_vals.add(_elem680); } iprot.readListEnd(); } @@ -58495,9 +58578,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_args oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter673 : struct.part_vals) + for (String _iter681 : struct.part_vals) { - oprot.writeString(_iter673); + oprot.writeString(_iter681); } oprot.writeListEnd(); } @@ -58540,9 +58623,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_args if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter674 : struct.part_vals) + for (String _iter682 : struct.part_vals) { - oprot.writeString(_iter674); + oprot.writeString(_iter682); } } } @@ -58562,13 +58645,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list675 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list675.size); - for (int _i676 = 0; _i676 < _list675.size; ++_i676) + org.apache.thrift.protocol.TList _list683 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list683.size); + for (int _i684 = 0; _i684 < _list683.size; ++_i684) { - String _elem677; // optional - _elem677 = iprot.readString(); - struct.part_vals.add(_elem677); + String _elem685; // required + _elem685 = iprot.readString(); + struct.part_vals.add(_elem685); } } struct.setPart_valsIsSet(true); @@ -59797,15 +59880,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, exchange_partition_ case 1: // PARTITION_SPECS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map678 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map678.size); - for (int _i679 = 0; _i679 < _map678.size; ++_i679) + org.apache.thrift.protocol.TMap _map686 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map686.size); + for (int _i687 = 0; _i687 < _map686.size; ++_i687) { - String _key680; // required - String _val681; // required - _key680 = iprot.readString(); - _val681 = iprot.readString(); - struct.partitionSpecs.put(_key680, _val681); + String _key688; // required + String _val689; // required + _key688 = iprot.readString(); + _val689 = iprot.readString(); + struct.partitionSpecs.put(_key688, _val689); } iprot.readMapEnd(); } @@ -59863,10 +59946,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exchange_partition oprot.writeFieldBegin(PARTITION_SPECS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.partitionSpecs.size())); - for (Map.Entry _iter682 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter690 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter682.getKey()); - oprot.writeString(_iter682.getValue()); + oprot.writeString(_iter690.getKey()); + oprot.writeString(_iter690.getValue()); } oprot.writeMapEnd(); } @@ -59929,10 +60012,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter683 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter691 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter683.getKey()); - oprot.writeString(_iter683.getValue()); + oprot.writeString(_iter691.getKey()); + oprot.writeString(_iter691.getValue()); } } } @@ -59956,15 +60039,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partition_a BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map684 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionSpecs = new HashMap(2*_map684.size); - for (int _i685 = 0; _i685 < _map684.size; ++_i685) + org.apache.thrift.protocol.TMap _map692 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionSpecs = new HashMap(2*_map692.size); + for (int _i693 = 0; _i693 < _map692.size; ++_i693) { - String _key686; // required - String _val687; // required - _key686 = iprot.readString(); - _val687 = iprot.readString(); - struct.partitionSpecs.put(_key686, _val687); + String _key694; // required + String _val695; // required + _key694 = iprot.readString(); + _val695 = iprot.readString(); + struct.partitionSpecs.put(_key694, _val695); } } struct.setPartitionSpecsIsSet(true); @@ -61452,13 +61535,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_ case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list688 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list688.size); - for (int _i689 = 0; _i689 < _list688.size; ++_i689) + org.apache.thrift.protocol.TList _list696 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list696.size); + for (int _i697 = 0; _i697 < _list696.size; ++_i697) { - String _elem690; // optional - _elem690 = iprot.readString(); - struct.part_vals.add(_elem690); + String _elem698; // required + _elem698 = iprot.readString(); + struct.part_vals.add(_elem698); } iprot.readListEnd(); } @@ -61478,13 +61561,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_ case 5: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list691 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list691.size); - for (int _i692 = 0; _i692 < _list691.size; ++_i692) + org.apache.thrift.protocol.TList _list699 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list699.size); + for (int _i700 = 0; _i700 < _list699.size; ++_i700) { - String _elem693; // optional - _elem693 = iprot.readString(); - struct.group_names.add(_elem693); + String _elem701; // required + _elem701 = iprot.readString(); + struct.group_names.add(_elem701); } iprot.readListEnd(); } @@ -61520,9 +61603,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter694 : struct.part_vals) + for (String _iter702 : struct.part_vals) { - oprot.writeString(_iter694); + oprot.writeString(_iter702); } oprot.writeListEnd(); } @@ -61537,9 +61620,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter695 : struct.group_names) + for (String _iter703 : struct.group_names) { - oprot.writeString(_iter695); + oprot.writeString(_iter703); } oprot.writeListEnd(); } @@ -61588,9 +61671,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter696 : struct.part_vals) + for (String _iter704 : struct.part_vals) { - oprot.writeString(_iter696); + oprot.writeString(_iter704); } } } @@ -61600,9 +61683,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_ if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter697 : struct.group_names) + for (String _iter705 : struct.group_names) { - oprot.writeString(_iter697); + oprot.writeString(_iter705); } } } @@ -61622,13 +61705,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list698 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list698.size); - for (int _i699 = 0; _i699 < _list698.size; ++_i699) + org.apache.thrift.protocol.TList _list706 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list706.size); + for (int _i707 = 0; _i707 < _list706.size; ++_i707) { - String _elem700; // optional - _elem700 = iprot.readString(); - struct.part_vals.add(_elem700); + String _elem708; // required + _elem708 = iprot.readString(); + struct.part_vals.add(_elem708); } } struct.setPart_valsIsSet(true); @@ -61639,13 +61722,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list701 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list701.size); - for (int _i702 = 0; _i702 < _list701.size; ++_i702) + org.apache.thrift.protocol.TList _list709 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list709.size); + for (int _i710 = 0; _i710 < _list709.size; ++_i710) { - String _elem703; // optional - _elem703 = iprot.readString(); - struct.group_names.add(_elem703); + String _elem711; // required + _elem711 = iprot.readString(); + struct.group_names.add(_elem711); } } struct.setGroup_namesIsSet(true); @@ -64414,14 +64497,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list704 = iprot.readListBegin(); - struct.success = new ArrayList(_list704.size); - for (int _i705 = 0; _i705 < _list704.size; ++_i705) + org.apache.thrift.protocol.TList _list712 = iprot.readListBegin(); + struct.success = new ArrayList(_list712.size); + for (int _i713 = 0; _i713 < _list712.size; ++_i713) { - Partition _elem706; // optional - _elem706 = new Partition(); - _elem706.read(iprot); - struct.success.add(_elem706); + Partition _elem714; // required + _elem714 = new Partition(); + _elem714.read(iprot); + struct.success.add(_elem714); } iprot.readListEnd(); } @@ -64465,9 +64548,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter707 : struct.success) + for (Partition _iter715 : struct.success) { - _iter707.write(oprot); + _iter715.write(oprot); } oprot.writeListEnd(); } @@ -64514,9 +64597,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter708 : struct.success) + for (Partition _iter716 : struct.success) { - _iter708.write(oprot); + _iter716.write(oprot); } } } @@ -64534,14 +64617,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_resul BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list709 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list709.size); - for (int _i710 = 0; _i710 < _list709.size; ++_i710) + org.apache.thrift.protocol.TList _list717 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list717.size); + for (int _i718 = 0; _i718 < _list717.size; ++_i718) { - Partition _elem711; // optional - _elem711 = new Partition(); - _elem711.read(iprot); - struct.success.add(_elem711); + Partition _elem719; // required + _elem719 = new Partition(); + _elem719.read(iprot); + struct.success.add(_elem719); } } struct.setSuccessIsSet(true); @@ -65234,13 +65317,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with case 5: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list712 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list712.size); - for (int _i713 = 0; _i713 < _list712.size; ++_i713) + org.apache.thrift.protocol.TList _list720 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list720.size); + for (int _i721 = 0; _i721 < _list720.size; ++_i721) { - String _elem714; // optional - _elem714 = iprot.readString(); - struct.group_names.add(_elem714); + String _elem722; // required + _elem722 = iprot.readString(); + struct.group_names.add(_elem722); } iprot.readListEnd(); } @@ -65284,9 +65367,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_wit oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter715 : struct.group_names) + for (String _iter723 : struct.group_names) { - oprot.writeString(_iter715); + oprot.writeString(_iter723); } oprot.writeListEnd(); } @@ -65341,9 +65424,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter716 : struct.group_names) + for (String _iter724 : struct.group_names) { - oprot.writeString(_iter716); + oprot.writeString(_iter724); } } } @@ -65371,13 +65454,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list717 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list717.size); - for (int _i718 = 0; _i718 < _list717.size; ++_i718) + org.apache.thrift.protocol.TList _list725 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list725.size); + for (int _i726 = 0; _i726 < _list725.size; ++_i726) { - String _elem719; // optional - _elem719 = iprot.readString(); - struct.group_names.add(_elem719); + String _elem727; // required + _elem727 = iprot.readString(); + struct.group_names.add(_elem727); } } struct.setGroup_namesIsSet(true); @@ -65864,14 +65947,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list720 = iprot.readListBegin(); - struct.success = new ArrayList(_list720.size); - for (int _i721 = 0; _i721 < _list720.size; ++_i721) + org.apache.thrift.protocol.TList _list728 = iprot.readListBegin(); + struct.success = new ArrayList(_list728.size); + for (int _i729 = 0; _i729 < _list728.size; ++_i729) { - Partition _elem722; // optional - _elem722 = new Partition(); - _elem722.read(iprot); - struct.success.add(_elem722); + Partition _elem730; // required + _elem730 = new Partition(); + _elem730.read(iprot); + struct.success.add(_elem730); } iprot.readListEnd(); } @@ -65915,9 +65998,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_wit oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter723 : struct.success) + for (Partition _iter731 : struct.success) { - _iter723.write(oprot); + _iter731.write(oprot); } oprot.writeListEnd(); } @@ -65964,9 +66047,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter724 : struct.success) + for (Partition _iter732 : struct.success) { - _iter724.write(oprot); + _iter732.write(oprot); } } } @@ -65984,14 +66067,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list725 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list725.size); - for (int _i726 = 0; _i726 < _list725.size; ++_i726) + org.apache.thrift.protocol.TList _list733 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list733.size); + for (int _i734 = 0; _i734 < _list733.size; ++_i734) { - Partition _elem727; // optional - _elem727 = new Partition(); - _elem727.read(iprot); - struct.success.add(_elem727); + Partition _elem735; // required + _elem735 = new Partition(); + _elem735.read(iprot); + struct.success.add(_elem735); } } struct.setSuccessIsSet(true); @@ -67054,14 +67137,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_pspe case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list728 = iprot.readListBegin(); - struct.success = new ArrayList(_list728.size); - for (int _i729 = 0; _i729 < _list728.size; ++_i729) + org.apache.thrift.protocol.TList _list736 = iprot.readListBegin(); + struct.success = new ArrayList(_list736.size); + for (int _i737 = 0; _i737 < _list736.size; ++_i737) { - PartitionSpec _elem730; // optional - _elem730 = new PartitionSpec(); - _elem730.read(iprot); - struct.success.add(_elem730); + PartitionSpec _elem738; // required + _elem738 = new PartitionSpec(); + _elem738.read(iprot); + struct.success.add(_elem738); } iprot.readListEnd(); } @@ -67105,9 +67188,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_psp oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (PartitionSpec _iter731 : struct.success) + for (PartitionSpec _iter739 : struct.success) { - _iter731.write(oprot); + _iter739.write(oprot); } oprot.writeListEnd(); } @@ -67154,9 +67237,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter732 : struct.success) + for (PartitionSpec _iter740 : struct.success) { - _iter732.write(oprot); + _iter740.write(oprot); } } } @@ -67174,14 +67257,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list733 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list733.size); - for (int _i734 = 0; _i734 < _list733.size; ++_i734) + org.apache.thrift.protocol.TList _list741 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list741.size); + for (int _i742 = 0; _i742 < _list741.size; ++_i742) { - PartitionSpec _elem735; // optional - _elem735 = new PartitionSpec(); - _elem735.read(iprot); - struct.success.add(_elem735); + PartitionSpec _elem743; // required + _elem743 = new PartitionSpec(); + _elem743.read(iprot); + struct.success.add(_elem743); } } struct.setSuccessIsSet(true); @@ -68163,13 +68246,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list736 = iprot.readListBegin(); - struct.success = new ArrayList(_list736.size); - for (int _i737 = 0; _i737 < _list736.size; ++_i737) + org.apache.thrift.protocol.TList _list744 = iprot.readListBegin(); + struct.success = new ArrayList(_list744.size); + for (int _i745 = 0; _i745 < _list744.size; ++_i745) { - String _elem738; // optional - _elem738 = iprot.readString(); - struct.success.add(_elem738); + String _elem746; // required + _elem746 = iprot.readString(); + struct.success.add(_elem746); } iprot.readListEnd(); } @@ -68204,9 +68287,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter739 : struct.success) + for (String _iter747 : struct.success) { - oprot.writeString(_iter739); + oprot.writeString(_iter747); } oprot.writeListEnd(); } @@ -68245,9 +68328,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter740 : struct.success) + for (String _iter748 : struct.success) { - oprot.writeString(_iter740); + oprot.writeString(_iter748); } } } @@ -68262,13 +68345,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list741 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list741.size); - for (int _i742 = 0; _i742 < _list741.size; ++_i742) + org.apache.thrift.protocol.TList _list749 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list749.size); + for (int _i750 = 0; _i750 < _list749.size; ++_i750) { - String _elem743; // optional - _elem743 = iprot.readString(); - struct.success.add(_elem743); + String _elem751; // required + _elem751 = iprot.readString(); + struct.success.add(_elem751); } } struct.setSuccessIsSet(true); @@ -68859,13 +68942,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_a case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list744 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list744.size); - for (int _i745 = 0; _i745 < _list744.size; ++_i745) + org.apache.thrift.protocol.TList _list752 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list752.size); + for (int _i753 = 0; _i753 < _list752.size; ++_i753) { - String _elem746; // optional - _elem746 = iprot.readString(); - struct.part_vals.add(_elem746); + String _elem754; // required + _elem754 = iprot.readString(); + struct.part_vals.add(_elem754); } iprot.readListEnd(); } @@ -68909,9 +68992,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter747 : struct.part_vals) + for (String _iter755 : struct.part_vals) { - oprot.writeString(_iter747); + oprot.writeString(_iter755); } oprot.writeListEnd(); } @@ -68960,9 +69043,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_a if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter748 : struct.part_vals) + for (String _iter756 : struct.part_vals) { - oprot.writeString(_iter748); + oprot.writeString(_iter756); } } } @@ -68985,13 +69068,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list749 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list749.size); - for (int _i750 = 0; _i750 < _list749.size; ++_i750) + org.apache.thrift.protocol.TList _list757 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list757.size); + for (int _i758 = 0; _i758 < _list757.size; ++_i758) { - String _elem751; // optional - _elem751 = iprot.readString(); - struct.part_vals.add(_elem751); + String _elem759; // required + _elem759 = iprot.readString(); + struct.part_vals.add(_elem759); } } struct.setPart_valsIsSet(true); @@ -69482,14 +69565,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_r case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list752 = iprot.readListBegin(); - struct.success = new ArrayList(_list752.size); - for (int _i753 = 0; _i753 < _list752.size; ++_i753) + org.apache.thrift.protocol.TList _list760 = iprot.readListBegin(); + struct.success = new ArrayList(_list760.size); + for (int _i761 = 0; _i761 < _list760.size; ++_i761) { - Partition _elem754; // optional - _elem754 = new Partition(); - _elem754.read(iprot); - struct.success.add(_elem754); + Partition _elem762; // required + _elem762 = new Partition(); + _elem762.read(iprot); + struct.success.add(_elem762); } iprot.readListEnd(); } @@ -69533,9 +69616,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter755 : struct.success) + for (Partition _iter763 : struct.success) { - _iter755.write(oprot); + _iter763.write(oprot); } oprot.writeListEnd(); } @@ -69582,9 +69665,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter756 : struct.success) + for (Partition _iter764 : struct.success) { - _iter756.write(oprot); + _iter764.write(oprot); } } } @@ -69602,14 +69685,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_re BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list757 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list757.size); - for (int _i758 = 0; _i758 < _list757.size; ++_i758) + org.apache.thrift.protocol.TList _list765 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list765.size); + for (int _i766 = 0; _i766 < _list765.size; ++_i766) { - Partition _elem759; // optional - _elem759 = new Partition(); - _elem759.read(iprot); - struct.success.add(_elem759); + Partition _elem767; // required + _elem767 = new Partition(); + _elem767.read(iprot); + struct.success.add(_elem767); } } struct.setSuccessIsSet(true); @@ -70387,13 +70470,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list760 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list760.size); - for (int _i761 = 0; _i761 < _list760.size; ++_i761) + org.apache.thrift.protocol.TList _list768 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list768.size); + for (int _i769 = 0; _i769 < _list768.size; ++_i769) { - String _elem762; // optional - _elem762 = iprot.readString(); - struct.part_vals.add(_elem762); + String _elem770; // required + _elem770 = iprot.readString(); + struct.part_vals.add(_elem770); } iprot.readListEnd(); } @@ -70421,13 +70504,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w case 6: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list763 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list763.size); - for (int _i764 = 0; _i764 < _list763.size; ++_i764) + org.apache.thrift.protocol.TList _list771 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list771.size); + for (int _i772 = 0; _i772 < _list771.size; ++_i772) { - String _elem765; // optional - _elem765 = iprot.readString(); - struct.group_names.add(_elem765); + String _elem773; // required + _elem773 = iprot.readString(); + struct.group_names.add(_elem773); } iprot.readListEnd(); } @@ -70463,9 +70546,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter766 : struct.part_vals) + for (String _iter774 : struct.part_vals) { - oprot.writeString(_iter766); + oprot.writeString(_iter774); } oprot.writeListEnd(); } @@ -70483,9 +70566,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter767 : struct.group_names) + for (String _iter775 : struct.group_names) { - oprot.writeString(_iter767); + oprot.writeString(_iter775); } oprot.writeListEnd(); } @@ -70537,9 +70620,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter768 : struct.part_vals) + for (String _iter776 : struct.part_vals) { - oprot.writeString(_iter768); + oprot.writeString(_iter776); } } } @@ -70552,9 +70635,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter769 : struct.group_names) + for (String _iter777 : struct.group_names) { - oprot.writeString(_iter769); + oprot.writeString(_iter777); } } } @@ -70574,13 +70657,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list770 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list770.size); - for (int _i771 = 0; _i771 < _list770.size; ++_i771) + org.apache.thrift.protocol.TList _list778 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list778.size); + for (int _i779 = 0; _i779 < _list778.size; ++_i779) { - String _elem772; // optional - _elem772 = iprot.readString(); - struct.part_vals.add(_elem772); + String _elem780; // required + _elem780 = iprot.readString(); + struct.part_vals.add(_elem780); } } struct.setPart_valsIsSet(true); @@ -70595,13 +70678,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list773 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list773.size); - for (int _i774 = 0; _i774 < _list773.size; ++_i774) + org.apache.thrift.protocol.TList _list781 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list781.size); + for (int _i782 = 0; _i782 < _list781.size; ++_i782) { - String _elem775; // optional - _elem775 = iprot.readString(); - struct.group_names.add(_elem775); + String _elem783; // required + _elem783 = iprot.readString(); + struct.group_names.add(_elem783); } } struct.setGroup_namesIsSet(true); @@ -71088,14 +71171,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list776 = iprot.readListBegin(); - struct.success = new ArrayList(_list776.size); - for (int _i777 = 0; _i777 < _list776.size; ++_i777) + org.apache.thrift.protocol.TList _list784 = iprot.readListBegin(); + struct.success = new ArrayList(_list784.size); + for (int _i785 = 0; _i785 < _list784.size; ++_i785) { - Partition _elem778; // optional - _elem778 = new Partition(); - _elem778.read(iprot); - struct.success.add(_elem778); + Partition _elem786; // required + _elem786 = new Partition(); + _elem786.read(iprot); + struct.success.add(_elem786); } iprot.readListEnd(); } @@ -71139,9 +71222,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter779 : struct.success) + for (Partition _iter787 : struct.success) { - _iter779.write(oprot); + _iter787.write(oprot); } oprot.writeListEnd(); } @@ -71188,9 +71271,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter780 : struct.success) + for (Partition _iter788 : struct.success) { - _iter780.write(oprot); + _iter788.write(oprot); } } } @@ -71208,14 +71291,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list781 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list781.size); - for (int _i782 = 0; _i782 < _list781.size; ++_i782) + org.apache.thrift.protocol.TList _list789 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list789.size); + for (int _i790 = 0; _i790 < _list789.size; ++_i790) { - Partition _elem783; // optional - _elem783 = new Partition(); - _elem783.read(iprot); - struct.success.add(_elem783); + Partition _elem791; // required + _elem791 = new Partition(); + _elem791.read(iprot); + struct.success.add(_elem791); } } struct.setSuccessIsSet(true); @@ -71811,13 +71894,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list784 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list784.size); - for (int _i785 = 0; _i785 < _list784.size; ++_i785) + org.apache.thrift.protocol.TList _list792 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list792.size); + for (int _i793 = 0; _i793 < _list792.size; ++_i793) { - String _elem786; // optional - _elem786 = iprot.readString(); - struct.part_vals.add(_elem786); + String _elem794; // required + _elem794 = iprot.readString(); + struct.part_vals.add(_elem794); } iprot.readListEnd(); } @@ -71861,9 +71944,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter787 : struct.part_vals) + for (String _iter795 : struct.part_vals) { - oprot.writeString(_iter787); + oprot.writeString(_iter795); } oprot.writeListEnd(); } @@ -71912,9 +71995,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter788 : struct.part_vals) + for (String _iter796 : struct.part_vals) { - oprot.writeString(_iter788); + oprot.writeString(_iter796); } } } @@ -71937,13 +72020,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list789 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list789.size); - for (int _i790 = 0; _i790 < _list789.size; ++_i790) + org.apache.thrift.protocol.TList _list797 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list797.size); + for (int _i798 = 0; _i798 < _list797.size; ++_i798) { - String _elem791; // optional - _elem791 = iprot.readString(); - struct.part_vals.add(_elem791); + String _elem799; // required + _elem799 = iprot.readString(); + struct.part_vals.add(_elem799); } } struct.setPart_valsIsSet(true); @@ -72434,13 +72517,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list792 = iprot.readListBegin(); - struct.success = new ArrayList(_list792.size); - for (int _i793 = 0; _i793 < _list792.size; ++_i793) + org.apache.thrift.protocol.TList _list800 = iprot.readListBegin(); + struct.success = new ArrayList(_list800.size); + for (int _i801 = 0; _i801 < _list800.size; ++_i801) { - String _elem794; // optional - _elem794 = iprot.readString(); - struct.success.add(_elem794); + String _elem802; // required + _elem802 = iprot.readString(); + struct.success.add(_elem802); } iprot.readListEnd(); } @@ -72484,9 +72567,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter795 : struct.success) + for (String _iter803 : struct.success) { - oprot.writeString(_iter795); + oprot.writeString(_iter803); } oprot.writeListEnd(); } @@ -72533,9 +72616,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter796 : struct.success) + for (String _iter804 : struct.success) { - oprot.writeString(_iter796); + oprot.writeString(_iter804); } } } @@ -72553,13 +72636,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list797 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list797.size); - for (int _i798 = 0; _i798 < _list797.size; ++_i798) + org.apache.thrift.protocol.TList _list805 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list805.size); + for (int _i806 = 0; _i806 < _list805.size; ++_i806) { - String _elem799; // optional - _elem799 = iprot.readString(); - struct.success.add(_elem799); + String _elem807; // required + _elem807 = iprot.readString(); + struct.success.add(_elem807); } } struct.setSuccessIsSet(true); @@ -73726,14 +73809,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_f case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list800 = iprot.readListBegin(); - struct.success = new ArrayList(_list800.size); - for (int _i801 = 0; _i801 < _list800.size; ++_i801) + org.apache.thrift.protocol.TList _list808 = iprot.readListBegin(); + struct.success = new ArrayList(_list808.size); + for (int _i809 = 0; _i809 < _list808.size; ++_i809) { - Partition _elem802; // optional - _elem802 = new Partition(); - _elem802.read(iprot); - struct.success.add(_elem802); + Partition _elem810; // required + _elem810 = new Partition(); + _elem810.read(iprot); + struct.success.add(_elem810); } iprot.readListEnd(); } @@ -73777,9 +73860,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter803 : struct.success) + for (Partition _iter811 : struct.success) { - _iter803.write(oprot); + _iter811.write(oprot); } oprot.writeListEnd(); } @@ -73826,9 +73909,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter804 : struct.success) + for (Partition _iter812 : struct.success) { - _iter804.write(oprot); + _iter812.write(oprot); } } } @@ -73846,14 +73929,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_fi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list805 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list805.size); - for (int _i806 = 0; _i806 < _list805.size; ++_i806) + org.apache.thrift.protocol.TList _list813 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list813.size); + for (int _i814 = 0; _i814 < _list813.size; ++_i814) { - Partition _elem807; // optional - _elem807 = new Partition(); - _elem807.read(iprot); - struct.success.add(_elem807); + Partition _elem815; // required + _elem815 = new Partition(); + _elem815.read(iprot); + struct.success.add(_elem815); } } struct.setSuccessIsSet(true); @@ -75020,14 +75103,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_part_specs_by_f case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list808 = iprot.readListBegin(); - struct.success = new ArrayList(_list808.size); - for (int _i809 = 0; _i809 < _list808.size; ++_i809) + org.apache.thrift.protocol.TList _list816 = iprot.readListBegin(); + struct.success = new ArrayList(_list816.size); + for (int _i817 = 0; _i817 < _list816.size; ++_i817) { - PartitionSpec _elem810; // optional - _elem810 = new PartitionSpec(); - _elem810.read(iprot); - struct.success.add(_elem810); + PartitionSpec _elem818; // required + _elem818 = new PartitionSpec(); + _elem818.read(iprot); + struct.success.add(_elem818); } iprot.readListEnd(); } @@ -75071,9 +75154,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_part_specs_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (PartitionSpec _iter811 : struct.success) + for (PartitionSpec _iter819 : struct.success) { - _iter811.write(oprot); + _iter819.write(oprot); } oprot.writeListEnd(); } @@ -75120,9 +75203,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter812 : struct.success) + for (PartitionSpec _iter820 : struct.success) { - _iter812.write(oprot); + _iter820.write(oprot); } } } @@ -75140,14 +75223,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_fi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list813 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list813.size); - for (int _i814 = 0; _i814 < _list813.size; ++_i814) + org.apache.thrift.protocol.TList _list821 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list821.size); + for (int _i822 = 0; _i822 < _list821.size; ++_i822) { - PartitionSpec _elem815; // optional - _elem815 = new PartitionSpec(); - _elem815.read(iprot); - struct.success.add(_elem815); + PartitionSpec _elem823; // required + _elem823 = new PartitionSpec(); + _elem823.read(iprot); + struct.success.add(_elem823); } } struct.setSuccessIsSet(true); @@ -76598,13 +76681,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_n case 3: // NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list816 = iprot.readListBegin(); - struct.names = new ArrayList(_list816.size); - for (int _i817 = 0; _i817 < _list816.size; ++_i817) + org.apache.thrift.protocol.TList _list824 = iprot.readListBegin(); + struct.names = new ArrayList(_list824.size); + for (int _i825 = 0; _i825 < _list824.size; ++_i825) { - String _elem818; // optional - _elem818 = iprot.readString(); - struct.names.add(_elem818); + String _elem826; // required + _elem826 = iprot.readString(); + struct.names.add(_elem826); } iprot.readListEnd(); } @@ -76640,9 +76723,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.names.size())); - for (String _iter819 : struct.names) + for (String _iter827 : struct.names) { - oprot.writeString(_iter819); + oprot.writeString(_iter827); } oprot.writeListEnd(); } @@ -76685,9 +76768,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter820 : struct.names) + for (String _iter828 : struct.names) { - oprot.writeString(_iter820); + oprot.writeString(_iter828); } } } @@ -76707,13 +76790,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list821 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list821.size); - for (int _i822 = 0; _i822 < _list821.size; ++_i822) + org.apache.thrift.protocol.TList _list829 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list829.size); + for (int _i830 = 0; _i830 < _list829.size; ++_i830) { - String _elem823; // optional - _elem823 = iprot.readString(); - struct.names.add(_elem823); + String _elem831; // required + _elem831 = iprot.readString(); + struct.names.add(_elem831); } } struct.setNamesIsSet(true); @@ -77200,14 +77283,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_n case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list824 = iprot.readListBegin(); - struct.success = new ArrayList(_list824.size); - for (int _i825 = 0; _i825 < _list824.size; ++_i825) + org.apache.thrift.protocol.TList _list832 = iprot.readListBegin(); + struct.success = new ArrayList(_list832.size); + for (int _i833 = 0; _i833 < _list832.size; ++_i833) { - Partition _elem826; // optional - _elem826 = new Partition(); - _elem826.read(iprot); - struct.success.add(_elem826); + Partition _elem834; // required + _elem834 = new Partition(); + _elem834.read(iprot); + struct.success.add(_elem834); } iprot.readListEnd(); } @@ -77251,9 +77334,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter827 : struct.success) + for (Partition _iter835 : struct.success) { - _iter827.write(oprot); + _iter835.write(oprot); } oprot.writeListEnd(); } @@ -77300,9 +77383,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter828 : struct.success) + for (Partition _iter836 : struct.success) { - _iter828.write(oprot); + _iter836.write(oprot); } } } @@ -77320,14 +77403,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list829 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list829.size); - for (int _i830 = 0; _i830 < _list829.size; ++_i830) + org.apache.thrift.protocol.TList _list837 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list837.size); + for (int _i838 = 0; _i838 < _list837.size; ++_i838) { - Partition _elem831; // optional - _elem831 = new Partition(); - _elem831.read(iprot); - struct.success.add(_elem831); + Partition _elem839; // required + _elem839 = new Partition(); + _elem839.read(iprot); + struct.success.add(_elem839); } } struct.setSuccessIsSet(true); @@ -78877,14 +78960,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, alter_partitions_ar case 3: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list832 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list832.size); - for (int _i833 = 0; _i833 < _list832.size; ++_i833) + org.apache.thrift.protocol.TList _list840 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list840.size); + for (int _i841 = 0; _i841 < _list840.size; ++_i841) { - Partition _elem834; // optional - _elem834 = new Partition(); - _elem834.read(iprot); - struct.new_parts.add(_elem834); + Partition _elem842; // required + _elem842 = new Partition(); + _elem842.read(iprot); + struct.new_parts.add(_elem842); } iprot.readListEnd(); } @@ -78920,9 +79003,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, alter_partitions_a oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (Partition _iter835 : struct.new_parts) + for (Partition _iter843 : struct.new_parts) { - _iter835.write(oprot); + _iter843.write(oprot); } oprot.writeListEnd(); } @@ -78965,9 +79048,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, alter_partitions_ar if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter836 : struct.new_parts) + for (Partition _iter844 : struct.new_parts) { - _iter836.write(oprot); + _iter844.write(oprot); } } } @@ -78987,14 +79070,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list837 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list837.size); - for (int _i838 = 0; _i838 < _list837.size; ++_i838) + org.apache.thrift.protocol.TList _list845 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list845.size); + for (int _i846 = 0; _i846 < _list845.size; ++_i846) { - Partition _elem839; // optional - _elem839 = new Partition(); - _elem839.read(iprot); - struct.new_parts.add(_elem839); + Partition _elem847; // required + _elem847 = new Partition(); + _elem847.read(iprot); + struct.new_parts.add(_elem847); } } struct.setNew_partsIsSet(true); @@ -81193,13 +81276,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, rename_partition_ar case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list840 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list840.size); - for (int _i841 = 0; _i841 < _list840.size; ++_i841) + org.apache.thrift.protocol.TList _list848 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list848.size); + for (int _i849 = 0; _i849 < _list848.size; ++_i849) { - String _elem842; // optional - _elem842 = iprot.readString(); - struct.part_vals.add(_elem842); + String _elem850; // required + _elem850 = iprot.readString(); + struct.part_vals.add(_elem850); } iprot.readListEnd(); } @@ -81244,9 +81327,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, rename_partition_a oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter843 : struct.part_vals) + for (String _iter851 : struct.part_vals) { - oprot.writeString(_iter843); + oprot.writeString(_iter851); } oprot.writeListEnd(); } @@ -81297,9 +81380,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, rename_partition_ar if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter844 : struct.part_vals) + for (String _iter852 : struct.part_vals) { - oprot.writeString(_iter844); + oprot.writeString(_iter852); } } } @@ -81322,13 +81405,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list845 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list845.size); - for (int _i846 = 0; _i846 < _list845.size; ++_i846) + org.apache.thrift.protocol.TList _list853 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list853.size); + for (int _i854 = 0; _i854 < _list853.size; ++_i854) { - String _elem847; // optional - _elem847 = iprot.readString(); - struct.part_vals.add(_elem847); + String _elem855; // required + _elem855 = iprot.readString(); + struct.part_vals.add(_elem855); } } struct.setPart_valsIsSet(true); @@ -82205,13 +82288,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_has_ case 1: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list848 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list848.size); - for (int _i849 = 0; _i849 < _list848.size; ++_i849) + org.apache.thrift.protocol.TList _list856 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list856.size); + for (int _i857 = 0; _i857 < _list856.size; ++_i857) { - String _elem850; // optional - _elem850 = iprot.readString(); - struct.part_vals.add(_elem850); + String _elem858; // required + _elem858 = iprot.readString(); + struct.part_vals.add(_elem858); } iprot.readListEnd(); } @@ -82245,9 +82328,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_has oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter851 : struct.part_vals) + for (String _iter859 : struct.part_vals) { - oprot.writeString(_iter851); + oprot.writeString(_iter859); } oprot.writeListEnd(); } @@ -82284,9 +82367,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_has_ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter852 : struct.part_vals) + for (String _iter860 : struct.part_vals) { - oprot.writeString(_iter852); + oprot.writeString(_iter860); } } } @@ -82301,13 +82384,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_has_v BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list853 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list853.size); - for (int _i854 = 0; _i854 < _list853.size; ++_i854) + org.apache.thrift.protocol.TList _list861 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list861.size); + for (int _i862 = 0; _i862 < _list861.size; ++_i862) { - String _elem855; // optional - _elem855 = iprot.readString(); - struct.part_vals.add(_elem855); + String _elem863; // required + _elem863 = iprot.readString(); + struct.part_vals.add(_elem863); } } struct.setPart_valsIsSet(true); @@ -84465,13 +84548,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_v case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list856 = iprot.readListBegin(); - struct.success = new ArrayList(_list856.size); - for (int _i857 = 0; _i857 < _list856.size; ++_i857) + org.apache.thrift.protocol.TList _list864 = iprot.readListBegin(); + struct.success = new ArrayList(_list864.size); + for (int _i865 = 0; _i865 < _list864.size; ++_i865) { - String _elem858; // optional - _elem858 = iprot.readString(); - struct.success.add(_elem858); + String _elem866; // required + _elem866 = iprot.readString(); + struct.success.add(_elem866); } iprot.readListEnd(); } @@ -84506,9 +84589,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter859 : struct.success) + for (String _iter867 : struct.success) { - oprot.writeString(_iter859); + oprot.writeString(_iter867); } oprot.writeListEnd(); } @@ -84547,9 +84630,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter860 : struct.success) + for (String _iter868 : struct.success) { - oprot.writeString(_iter860); + oprot.writeString(_iter868); } } } @@ -84564,13 +84647,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_va BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list861 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list861.size); - for (int _i862 = 0; _i862 < _list861.size; ++_i862) + org.apache.thrift.protocol.TList _list869 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list869.size); + for (int _i870 = 0; _i870 < _list869.size; ++_i870) { - String _elem863; // optional - _elem863 = iprot.readString(); - struct.success.add(_elem863); + String _elem871; // required + _elem871 = iprot.readString(); + struct.success.add(_elem871); } } struct.setSuccessIsSet(true); @@ -85344,15 +85427,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map864 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map864.size); - for (int _i865 = 0; _i865 < _map864.size; ++_i865) + org.apache.thrift.protocol.TMap _map872 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map872.size); + for (int _i873 = 0; _i873 < _map872.size; ++_i873) { - String _key866; // required - String _val867; // required - _key866 = iprot.readString(); - _val867 = iprot.readString(); - struct.success.put(_key866, _val867); + String _key874; // required + String _val875; // required + _key874 = iprot.readString(); + _val875 = iprot.readString(); + struct.success.put(_key874, _val875); } iprot.readMapEnd(); } @@ -85387,10 +85470,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (Map.Entry _iter868 : struct.success.entrySet()) + for (Map.Entry _iter876 : struct.success.entrySet()) { - oprot.writeString(_iter868.getKey()); - oprot.writeString(_iter868.getValue()); + oprot.writeString(_iter876.getKey()); + oprot.writeString(_iter876.getValue()); } oprot.writeMapEnd(); } @@ -85429,10 +85512,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter869 : struct.success.entrySet()) + for (Map.Entry _iter877 : struct.success.entrySet()) { - oprot.writeString(_iter869.getKey()); - oprot.writeString(_iter869.getValue()); + oprot.writeString(_iter877.getKey()); + oprot.writeString(_iter877.getValue()); } } } @@ -85447,15 +85530,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_sp BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map870 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new HashMap(2*_map870.size); - for (int _i871 = 0; _i871 < _map870.size; ++_i871) + org.apache.thrift.protocol.TMap _map878 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new HashMap(2*_map878.size); + for (int _i879 = 0; _i879 < _map878.size; ++_i879) { - String _key872; // required - String _val873; // required - _key872 = iprot.readString(); - _val873 = iprot.readString(); - struct.success.put(_key872, _val873); + String _key880; // required + String _val881; // required + _key880 = iprot.readString(); + _val881 = iprot.readString(); + struct.success.put(_key880, _val881); } } struct.setSuccessIsSet(true); @@ -86061,15 +86144,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, markPartitionForEve case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map874 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map874.size); - for (int _i875 = 0; _i875 < _map874.size; ++_i875) + org.apache.thrift.protocol.TMap _map882 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map882.size); + for (int _i883 = 0; _i883 < _map882.size; ++_i883) { - String _key876; // required - String _val877; // required - _key876 = iprot.readString(); - _val877 = iprot.readString(); - struct.part_vals.put(_key876, _val877); + String _key884; // required + String _val885; // required + _key884 = iprot.readString(); + _val885 = iprot.readString(); + struct.part_vals.put(_key884, _val885); } iprot.readMapEnd(); } @@ -86113,10 +86196,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, markPartitionForEv oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (Map.Entry _iter878 : struct.part_vals.entrySet()) + for (Map.Entry _iter886 : struct.part_vals.entrySet()) { - oprot.writeString(_iter878.getKey()); - oprot.writeString(_iter878.getValue()); + oprot.writeString(_iter886.getKey()); + oprot.writeString(_iter886.getValue()); } oprot.writeMapEnd(); } @@ -86167,10 +86250,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter879 : struct.part_vals.entrySet()) + for (Map.Entry _iter887 : struct.part_vals.entrySet()) { - oprot.writeString(_iter879.getKey()); - oprot.writeString(_iter879.getValue()); + oprot.writeString(_iter887.getKey()); + oprot.writeString(_iter887.getValue()); } } } @@ -86193,15 +86276,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map880 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new HashMap(2*_map880.size); - for (int _i881 = 0; _i881 < _map880.size; ++_i881) + org.apache.thrift.protocol.TMap _map888 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new HashMap(2*_map888.size); + for (int _i889 = 0; _i889 < _map888.size; ++_i889) { - String _key882; // required - String _val883; // required - _key882 = iprot.readString(); - _val883 = iprot.readString(); - struct.part_vals.put(_key882, _val883); + String _key890; // required + String _val891; // required + _key890 = iprot.readString(); + _val891 = iprot.readString(); + struct.part_vals.put(_key890, _val891); } } struct.setPart_valsIsSet(true); @@ -87696,15 +87779,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, isPartitionMarkedFo case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map884 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map884.size); - for (int _i885 = 0; _i885 < _map884.size; ++_i885) + org.apache.thrift.protocol.TMap _map892 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map892.size); + for (int _i893 = 0; _i893 < _map892.size; ++_i893) { - String _key886; // required - String _val887; // required - _key886 = iprot.readString(); - _val887 = iprot.readString(); - struct.part_vals.put(_key886, _val887); + String _key894; // required + String _val895; // required + _key894 = iprot.readString(); + _val895 = iprot.readString(); + struct.part_vals.put(_key894, _val895); } iprot.readMapEnd(); } @@ -87748,10 +87831,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, isPartitionMarkedF oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (Map.Entry _iter888 : struct.part_vals.entrySet()) + for (Map.Entry _iter896 : struct.part_vals.entrySet()) { - oprot.writeString(_iter888.getKey()); - oprot.writeString(_iter888.getValue()); + oprot.writeString(_iter896.getKey()); + oprot.writeString(_iter896.getValue()); } oprot.writeMapEnd(); } @@ -87802,10 +87885,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter889 : struct.part_vals.entrySet()) + for (Map.Entry _iter897 : struct.part_vals.entrySet()) { - oprot.writeString(_iter889.getKey()); - oprot.writeString(_iter889.getValue()); + oprot.writeString(_iter897.getKey()); + oprot.writeString(_iter897.getValue()); } } } @@ -87828,15 +87911,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map890 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new HashMap(2*_map890.size); - for (int _i891 = 0; _i891 < _map890.size; ++_i891) + org.apache.thrift.protocol.TMap _map898 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new HashMap(2*_map898.size); + for (int _i899 = 0; _i899 < _map898.size; ++_i899) { - String _key892; // required - String _val893; // required - _key892 = iprot.readString(); - _val893 = iprot.readString(); - struct.part_vals.put(_key892, _val893); + String _key900; // required + String _val901; // required + _key900 = iprot.readString(); + _val901 = iprot.readString(); + struct.part_vals.put(_key900, _val901); } } struct.setPart_valsIsSet(true); @@ -94560,14 +94643,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_indexes_result case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list894 = iprot.readListBegin(); - struct.success = new ArrayList(_list894.size); - for (int _i895 = 0; _i895 < _list894.size; ++_i895) + org.apache.thrift.protocol.TList _list902 = iprot.readListBegin(); + struct.success = new ArrayList(_list902.size); + for (int _i903 = 0; _i903 < _list902.size; ++_i903) { - Index _elem896; // optional - _elem896 = new Index(); - _elem896.read(iprot); - struct.success.add(_elem896); + Index _elem904; // required + _elem904 = new Index(); + _elem904.read(iprot); + struct.success.add(_elem904); } iprot.readListEnd(); } @@ -94611,9 +94694,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_indexes_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Index _iter897 : struct.success) + for (Index _iter905 : struct.success) { - _iter897.write(oprot); + _iter905.write(oprot); } oprot.writeListEnd(); } @@ -94660,9 +94743,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_indexes_result if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Index _iter898 : struct.success) + for (Index _iter906 : struct.success) { - _iter898.write(oprot); + _iter906.write(oprot); } } } @@ -94680,14 +94763,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_indexes_result s BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list899 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list899.size); - for (int _i900 = 0; _i900 < _list899.size; ++_i900) + org.apache.thrift.protocol.TList _list907 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list907.size); + for (int _i908 = 0; _i908 < _list907.size; ++_i908) { - Index _elem901; // optional - _elem901 = new Index(); - _elem901.read(iprot); - struct.success.add(_elem901); + Index _elem909; // required + _elem909 = new Index(); + _elem909.read(iprot); + struct.success.add(_elem909); } } struct.setSuccessIsSet(true); @@ -95669,13 +95752,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_names_res case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list902 = iprot.readListBegin(); - struct.success = new ArrayList(_list902.size); - for (int _i903 = 0; _i903 < _list902.size; ++_i903) + org.apache.thrift.protocol.TList _list910 = iprot.readListBegin(); + struct.success = new ArrayList(_list910.size); + for (int _i911 = 0; _i911 < _list910.size; ++_i911) { - String _elem904; // optional - _elem904 = iprot.readString(); - struct.success.add(_elem904); + String _elem912; // required + _elem912 = iprot.readString(); + struct.success.add(_elem912); } iprot.readListEnd(); } @@ -95710,9 +95793,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_index_names_re oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter905 : struct.success) + for (String _iter913 : struct.success) { - oprot.writeString(_iter905); + oprot.writeString(_iter913); } oprot.writeListEnd(); } @@ -95751,9 +95834,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_index_names_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter906 : struct.success) + for (String _iter914 : struct.success) { - oprot.writeString(_iter906); + oprot.writeString(_iter914); } } } @@ -95768,13 +95851,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_index_names_resu BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list907 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list907.size); - for (int _i908 = 0; _i908 < _list907.size; ++_i908) + org.apache.thrift.protocol.TList _list915 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list915.size); + for (int _i916 = 0; _i916 < _list915.size; ++_i916) { - String _elem909; // optional - _elem909 = iprot.readString(); - struct.success.add(_elem909); + String _elem917; // required + _elem917 = iprot.readString(); + struct.success.add(_elem917); } } struct.setSuccessIsSet(true); @@ -111512,13 +111595,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_functions_resul case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list910 = iprot.readListBegin(); - struct.success = new ArrayList(_list910.size); - for (int _i911 = 0; _i911 < _list910.size; ++_i911) + org.apache.thrift.protocol.TList _list918 = iprot.readListBegin(); + struct.success = new ArrayList(_list918.size); + for (int _i919 = 0; _i919 < _list918.size; ++_i919) { - String _elem912; // optional - _elem912 = iprot.readString(); - struct.success.add(_elem912); + String _elem920; // required + _elem920 = iprot.readString(); + struct.success.add(_elem920); } iprot.readListEnd(); } @@ -111553,9 +111636,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_functions_resu oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter913 : struct.success) + for (String _iter921 : struct.success) { - oprot.writeString(_iter913); + oprot.writeString(_iter921); } oprot.writeListEnd(); } @@ -111594,9 +111677,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter914 : struct.success) + for (String _iter922 : struct.success) { - oprot.writeString(_iter914); + oprot.writeString(_iter922); } } } @@ -111611,13 +111694,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_functions_result BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list915 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list915.size); - for (int _i916 = 0; _i916 < _list915.size; ++_i916) + org.apache.thrift.protocol.TList _list923 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list923.size); + for (int _i924 = 0; _i924 < _list923.size; ++_i924) { - String _elem917; // optional - _elem917 = iprot.readString(); - struct.success.add(_elem917); + String _elem925; // required + _elem925 = iprot.readString(); + struct.success.add(_elem925); } } struct.setSuccessIsSet(true); @@ -111987,15 +112070,885 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_function_argsStandardSchemeFactory implements SchemeFactory { - public get_function_argsStandardScheme getScheme() { - return new get_function_argsStandardScheme(); + private static class get_function_argsStandardSchemeFactory implements SchemeFactory { + public get_function_argsStandardScheme getScheme() { + return new get_function_argsStandardScheme(); + } + } + + private static class get_function_argsStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, get_function_args struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // DB_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.dbName = iprot.readString(); + struct.setDbNameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // FUNC_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.funcName = iprot.readString(); + struct.setFuncNameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, get_function_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.dbName != null) { + oprot.writeFieldBegin(DB_NAME_FIELD_DESC); + oprot.writeString(struct.dbName); + oprot.writeFieldEnd(); + } + if (struct.funcName != null) { + oprot.writeFieldBegin(FUNC_NAME_FIELD_DESC); + oprot.writeString(struct.funcName); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class get_function_argsTupleSchemeFactory implements SchemeFactory { + public get_function_argsTupleScheme getScheme() { + return new get_function_argsTupleScheme(); + } + } + + private static class get_function_argsTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, get_function_args struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetDbName()) { + optionals.set(0); + } + if (struct.isSetFuncName()) { + optionals.set(1); + } + oprot.writeBitSet(optionals, 2); + if (struct.isSetDbName()) { + oprot.writeString(struct.dbName); + } + if (struct.isSetFuncName()) { + oprot.writeString(struct.funcName); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, get_function_args struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.dbName = iprot.readString(); + struct.setDbNameIsSet(true); + } + if (incoming.get(1)) { + struct.funcName = iprot.readString(); + struct.setFuncNameIsSet(true); + } + } + } + + } + + public static class get_function_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_function_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); + private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)2); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new get_function_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_function_resultTupleSchemeFactory()); + } + + private Function success; // required + private MetaException o1; // required + private NoSuchObjectException o2; // required + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short)0, "success"), + O1((short)1, "o1"), + O2((short)2, "o2"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // O1 + return O1; + case 2: // O2 + return O2; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Function.class))); + tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_function_result.class, metaDataMap); + } + + public get_function_result() { + } + + public get_function_result( + Function success, + MetaException o1, + NoSuchObjectException o2) + { + this(); + this.success = success; + this.o1 = o1; + this.o2 = o2; + } + + /** + * Performs a deep copy on other. + */ + public get_function_result(get_function_result other) { + if (other.isSetSuccess()) { + this.success = new Function(other.success); + } + if (other.isSetO1()) { + this.o1 = new MetaException(other.o1); + } + if (other.isSetO2()) { + this.o2 = new NoSuchObjectException(other.o2); + } + } + + public get_function_result deepCopy() { + return new get_function_result(this); + } + + @Override + public void clear() { + this.success = null; + this.o1 = null; + this.o2 = null; + } + + public Function getSuccess() { + return this.success; + } + + public void setSuccess(Function success) { + this.success = success; + } + + public void unsetSuccess() { + this.success = null; + } + + /** Returns true if field success is set (has been assigned a value) and false otherwise */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if (!value) { + this.success = null; + } + } + + public MetaException getO1() { + return this.o1; + } + + public void setO1(MetaException o1) { + this.o1 = o1; + } + + public void unsetO1() { + this.o1 = null; + } + + /** Returns true if field o1 is set (has been assigned a value) and false otherwise */ + public boolean isSetO1() { + return this.o1 != null; + } + + public void setO1IsSet(boolean value) { + if (!value) { + this.o1 = null; + } + } + + public NoSuchObjectException getO2() { + return this.o2; + } + + public void setO2(NoSuchObjectException o2) { + this.o2 = o2; + } + + public void unsetO2() { + this.o2 = null; + } + + /** Returns true if field o2 is set (has been assigned a value) and false otherwise */ + public boolean isSetO2() { + return this.o2 != null; + } + + public void setO2IsSet(boolean value) { + if (!value) { + this.o2 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if (value == null) { + unsetSuccess(); + } else { + setSuccess((Function)value); + } + break; + + case O1: + if (value == null) { + unsetO1(); + } else { + setO1((MetaException)value); + } + break; + + case O2: + if (value == null) { + unsetO2(); + } else { + setO2((NoSuchObjectException)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case O1: + return getO1(); + + case O2: + return getO2(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case O1: + return isSetO1(); + case O2: + return isSetO2(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof get_function_result) + return this.equals((get_function_result)that); + return false; + } + + public boolean equals(get_function_result that) { + if (that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if (this_present_success || that_present_success) { + if (!(this_present_success && that_present_success)) + return false; + if (!this.success.equals(that.success)) + return false; + } + + boolean this_present_o1 = true && this.isSetO1(); + boolean that_present_o1 = true && that.isSetO1(); + if (this_present_o1 || that_present_o1) { + if (!(this_present_o1 && that_present_o1)) + return false; + if (!this.o1.equals(that.o1)) + return false; + } + + boolean this_present_o2 = true && this.isSetO2(); + boolean that_present_o2 = true && that.isSetO2(); + if (this_present_o2 || that_present_o2) { + if (!(this_present_o2 && that_present_o2)) + return false; + if (!this.o2.equals(that.o2)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + HashCodeBuilder builder = new HashCodeBuilder(); + + boolean present_success = true && (isSetSuccess()); + builder.append(present_success); + if (present_success) + builder.append(success); + + boolean present_o1 = true && (isSetO1()); + builder.append(present_o1); + if (present_o1) + builder.append(o1); + + boolean present_o2 = true && (isSetO2()); + builder.append(present_o2); + if (present_o2) + builder.append(o2); + + return builder.toHashCode(); + } + + public int compareTo(get_function_result other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + get_function_result typedOther = (get_function_result)other; + + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO1()).compareTo(typedOther.isSetO1()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO1()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, typedOther.o1); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO2()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("get_function_result("); + boolean first = true; + + sb.append("success:"); + if (this.success == null) { + sb.append("null"); + } else { + sb.append(this.success); + } + first = false; + if (!first) sb.append(", "); + sb.append("o1:"); + if (this.o1 == null) { + sb.append("null"); + } else { + sb.append(this.o1); + } + first = false; + if (!first) sb.append(", "); + sb.append("o2:"); + if (this.o2 == null) { + sb.append("null"); + } else { + sb.append(this.o2); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if (success != null) { + success.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class get_function_resultStandardSchemeFactory implements SchemeFactory { + public get_function_resultStandardScheme getScheme() { + return new get_function_resultStandardScheme(); + } + } + + private static class get_function_resultStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, get_function_result struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new Function(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 1: // O1 + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.o1 = new MetaException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // O2 + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.o2 = new NoSuchObjectException(); + struct.o2.read(iprot); + struct.setO2IsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, get_function_result struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + struct.success.write(oprot); + oprot.writeFieldEnd(); + } + if (struct.o1 != null) { + oprot.writeFieldBegin(O1_FIELD_DESC); + struct.o1.write(oprot); + oprot.writeFieldEnd(); + } + if (struct.o2 != null) { + oprot.writeFieldBegin(O2_FIELD_DESC); + struct.o2.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class get_function_resultTupleSchemeFactory implements SchemeFactory { + public get_function_resultTupleScheme getScheme() { + return new get_function_resultTupleScheme(); + } + } + + private static class get_function_resultTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, get_function_result struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetSuccess()) { + optionals.set(0); + } + if (struct.isSetO1()) { + optionals.set(1); + } + if (struct.isSetO2()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); + if (struct.isSetSuccess()) { + struct.success.write(oprot); + } + if (struct.isSetO1()) { + struct.o1.write(oprot); + } + if (struct.isSetO2()) { + struct.o2.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, get_function_result struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(3); + if (incoming.get(0)) { + struct.success = new Function(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { + struct.o1 = new MetaException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); + } + if (incoming.get(2)) { + struct.o2 = new NoSuchObjectException(); + struct.o2.read(iprot); + struct.setO2IsSet(true); + } + } + } + + } + + public static class get_all_functions_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_all_functions_args"); + + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new get_all_functions_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_all_functions_argsTupleSchemeFactory()); + } + + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { +; + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + 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); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_all_functions_args.class, metaDataMap); + } + + public get_all_functions_args() { + } + + /** + * Performs a deep copy on other. + */ + public get_all_functions_args(get_all_functions_args other) { + } + + public get_all_functions_args deepCopy() { + return new get_all_functions_args(this); + } + + @Override + public void clear() { + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof get_all_functions_args) + return this.equals((get_all_functions_args)that); + return false; + } + + public boolean equals(get_all_functions_args that) { + if (that == null) + return false; + + return true; + } + + @Override + public int hashCode() { + HashCodeBuilder builder = new HashCodeBuilder(); + + return builder.toHashCode(); + } + + public int compareTo(get_all_functions_args other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + get_all_functions_args typedOther = (get_all_functions_args)other; + + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("get_all_functions_args("); + boolean first = true; + + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class get_all_functions_argsStandardSchemeFactory implements SchemeFactory { + public get_all_functions_argsStandardScheme getScheme() { + return new get_all_functions_argsStandardScheme(); } } - private static class get_function_argsStandardScheme extends StandardScheme { + private static class get_all_functions_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_function_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_functions_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -112005,22 +112958,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_function_args s break; } switch (schemeField.id) { - case 1: // DB_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.dbName = iprot.readString(); - struct.setDbNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // FUNC_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.funcName = iprot.readString(); - struct.setFuncNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -112030,92 +112967,56 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_function_args s struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_function_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_functions_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.dbName != null) { - oprot.writeFieldBegin(DB_NAME_FIELD_DESC); - oprot.writeString(struct.dbName); - oprot.writeFieldEnd(); - } - if (struct.funcName != null) { - oprot.writeFieldBegin(FUNC_NAME_FIELD_DESC); - oprot.writeString(struct.funcName); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class get_function_argsTupleSchemeFactory implements SchemeFactory { - public get_function_argsTupleScheme getScheme() { - return new get_function_argsTupleScheme(); + private static class get_all_functions_argsTupleSchemeFactory implements SchemeFactory { + public get_all_functions_argsTupleScheme getScheme() { + return new get_all_functions_argsTupleScheme(); } } - private static class get_function_argsTupleScheme extends TupleScheme { + private static class get_all_functions_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_function_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_all_functions_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; - BitSet optionals = new BitSet(); - if (struct.isSetDbName()) { - optionals.set(0); - } - if (struct.isSetFuncName()) { - optionals.set(1); - } - oprot.writeBitSet(optionals, 2); - if (struct.isSetDbName()) { - oprot.writeString(struct.dbName); - } - if (struct.isSetFuncName()) { - oprot.writeString(struct.funcName); - } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_function_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_all_functions_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.dbName = iprot.readString(); - struct.setDbNameIsSet(true); - } - if (incoming.get(1)) { - struct.funcName = iprot.readString(); - struct.setFuncNameIsSet(true); - } } } } - public static class get_function_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_function_result"); + public static class get_all_functions_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_all_functions_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_function_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_function_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_all_functions_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_all_functions_resultTupleSchemeFactory()); } - private Function success; // required + private GetAllFunctionsResponse success; // required private MetaException o1; // required - private NoSuchObjectException o2; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), - O1((short)1, "o1"), - O2((short)2, "o2"); + O1((short)1, "o1"); private static final Map byName = new HashMap(); @@ -112134,8 +113035,6 @@ public static _Fields findByThriftId(int fieldId) { return SUCCESS; case 1: // O1 return O1; - case 2: // O2 - return O2; default: return null; } @@ -112180,60 +113079,52 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Function.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetAllFunctionsResponse.class))); tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_function_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_all_functions_result.class, metaDataMap); } - public get_function_result() { + public get_all_functions_result() { } - public get_function_result( - Function success, - MetaException o1, - NoSuchObjectException o2) + public get_all_functions_result( + GetAllFunctionsResponse success, + MetaException o1) { this(); this.success = success; this.o1 = o1; - this.o2 = o2; } /** * Performs a deep copy on other. */ - public get_function_result(get_function_result other) { + public get_all_functions_result(get_all_functions_result other) { if (other.isSetSuccess()) { - this.success = new Function(other.success); + this.success = new GetAllFunctionsResponse(other.success); } if (other.isSetO1()) { this.o1 = new MetaException(other.o1); } - if (other.isSetO2()) { - this.o2 = new NoSuchObjectException(other.o2); - } } - public get_function_result deepCopy() { - return new get_function_result(this); + public get_all_functions_result deepCopy() { + return new get_all_functions_result(this); } @Override public void clear() { this.success = null; this.o1 = null; - this.o2 = null; } - public Function getSuccess() { + public GetAllFunctionsResponse getSuccess() { return this.success; } - public void setSuccess(Function success) { + public void setSuccess(GetAllFunctionsResponse success) { this.success = success; } @@ -112275,36 +113166,13 @@ public void setO1IsSet(boolean value) { } } - public NoSuchObjectException getO2() { - return this.o2; - } - - public void setO2(NoSuchObjectException o2) { - this.o2 = o2; - } - - public void unsetO2() { - this.o2 = null; - } - - /** Returns true if field o2 is set (has been assigned a value) and false otherwise */ - public boolean isSetO2() { - return this.o2 != null; - } - - public void setO2IsSet(boolean value) { - if (!value) { - this.o2 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: if (value == null) { unsetSuccess(); } else { - setSuccess((Function)value); + setSuccess((GetAllFunctionsResponse)value); } break; @@ -112316,14 +113184,6 @@ public void setFieldValue(_Fields field, Object value) { } break; - case O2: - if (value == null) { - unsetO2(); - } else { - setO2((NoSuchObjectException)value); - } - break; - } } @@ -112335,9 +113195,6 @@ public Object getFieldValue(_Fields field) { case O1: return getO1(); - case O2: - return getO2(); - } throw new IllegalStateException(); } @@ -112353,8 +113210,6 @@ public boolean isSet(_Fields field) { return isSetSuccess(); case O1: return isSetO1(); - case O2: - return isSetO2(); } throw new IllegalStateException(); } @@ -112363,12 +113218,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_function_result) - return this.equals((get_function_result)that); + if (that instanceof get_all_functions_result) + return this.equals((get_all_functions_result)that); return false; } - public boolean equals(get_function_result that) { + public boolean equals(get_all_functions_result that) { if (that == null) return false; @@ -112390,15 +113245,6 @@ public boolean equals(get_function_result that) { return false; } - boolean this_present_o2 = true && this.isSetO2(); - boolean that_present_o2 = true && that.isSetO2(); - if (this_present_o2 || that_present_o2) { - if (!(this_present_o2 && that_present_o2)) - return false; - if (!this.o2.equals(that.o2)) - return false; - } - return true; } @@ -112416,21 +113262,16 @@ public int hashCode() { if (present_o1) builder.append(o1); - boolean present_o2 = true && (isSetO2()); - builder.append(present_o2); - if (present_o2) - builder.append(o2); - return builder.toHashCode(); } - public int compareTo(get_function_result other) { + public int compareTo(get_all_functions_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - get_function_result typedOther = (get_function_result)other; + get_all_functions_result typedOther = (get_all_functions_result)other; lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); if (lastComparison != 0) { @@ -112452,16 +113293,6 @@ public int compareTo(get_function_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(typedOther.isSetO2()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, typedOther.o2); - if (lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -112479,7 +113310,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_function_result("); + StringBuilder sb = new StringBuilder("get_all_functions_result("); boolean first = true; sb.append("success:"); @@ -112497,14 +113328,6 @@ public String toString() { sb.append(this.o1); } first = false; - if (!first) sb.append(", "); - sb.append("o2:"); - if (this.o2 == null) { - sb.append("null"); - } else { - sb.append(this.o2); - } - first = false; sb.append(")"); return sb.toString(); } @@ -112533,15 +113356,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_function_resultStandardSchemeFactory implements SchemeFactory { - public get_function_resultStandardScheme getScheme() { - return new get_function_resultStandardScheme(); + private static class get_all_functions_resultStandardSchemeFactory implements SchemeFactory { + public get_all_functions_resultStandardScheme getScheme() { + return new get_all_functions_resultStandardScheme(); } } - private static class get_function_resultStandardScheme extends StandardScheme { + private static class get_all_functions_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_function_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_functions_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -112553,7 +113376,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_function_result switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new Function(); + struct.success = new GetAllFunctionsResponse(); struct.success.read(iprot); struct.setSuccessIsSet(true); } else { @@ -112569,15 +113392,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_function_result org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // O2 - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o2 = new NoSuchObjectException(); - struct.o2.read(iprot); - struct.setO2IsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -112587,7 +113401,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_function_result struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_function_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_functions_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -112601,27 +113415,22 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_function_resul struct.o1.write(oprot); oprot.writeFieldEnd(); } - if (struct.o2 != null) { - oprot.writeFieldBegin(O2_FIELD_DESC); - struct.o2.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class get_function_resultTupleSchemeFactory implements SchemeFactory { - public get_function_resultTupleScheme getScheme() { - return new get_function_resultTupleScheme(); + private static class get_all_functions_resultTupleSchemeFactory implements SchemeFactory { + public get_all_functions_resultTupleScheme getScheme() { + return new get_all_functions_resultTupleScheme(); } } - private static class get_function_resultTupleScheme extends TupleScheme { + private static class get_all_functions_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_function_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_all_functions_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -112630,27 +113439,21 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_function_result if (struct.isSetO1()) { optionals.set(1); } - if (struct.isSetO2()) { - optionals.set(2); - } - oprot.writeBitSet(optionals, 3); + oprot.writeBitSet(optionals, 2); if (struct.isSetSuccess()) { struct.success.write(oprot); } if (struct.isSetO1()) { struct.o1.write(oprot); } - if (struct.isSetO2()) { - struct.o2.write(oprot); - } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_function_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_all_functions_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); + BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { - struct.success = new Function(); + struct.success = new GetAllFunctionsResponse(); struct.success.read(iprot); struct.setSuccessIsSet(true); } @@ -112659,11 +113462,6 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_function_result struct.o1.read(iprot); struct.setO1IsSet(true); } - if (incoming.get(2)) { - struct.o2 = new NoSuchObjectException(); - struct.o2.read(iprot); - struct.setO2IsSet(true); - } } } @@ -114960,13 +115758,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_role_names_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list918 = iprot.readListBegin(); - struct.success = new ArrayList(_list918.size); - for (int _i919 = 0; _i919 < _list918.size; ++_i919) + org.apache.thrift.protocol.TList _list926 = iprot.readListBegin(); + struct.success = new ArrayList(_list926.size); + for (int _i927 = 0; _i927 < _list926.size; ++_i927) { - String _elem920; // optional - _elem920 = iprot.readString(); - struct.success.add(_elem920); + String _elem928; // required + _elem928 = iprot.readString(); + struct.success.add(_elem928); } iprot.readListEnd(); } @@ -115001,9 +115799,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_role_names_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter921 : struct.success) + for (String _iter929 : struct.success) { - oprot.writeString(_iter921); + oprot.writeString(_iter929); } oprot.writeListEnd(); } @@ -115042,9 +115840,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter922 : struct.success) + for (String _iter930 : struct.success) { - oprot.writeString(_iter922); + oprot.writeString(_iter930); } } } @@ -115059,13 +115857,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_role_names_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list923 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list923.size); - for (int _i924 = 0; _i924 < _list923.size; ++_i924) + org.apache.thrift.protocol.TList _list931 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list931.size); + for (int _i932 = 0; _i932 < _list931.size; ++_i932) { - String _elem925; // optional - _elem925 = iprot.readString(); - struct.success.add(_elem925); + String _elem933; // required + _elem933 = iprot.readString(); + struct.success.add(_elem933); } } struct.setSuccessIsSet(true); @@ -118356,14 +119154,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, list_roles_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list926 = iprot.readListBegin(); - struct.success = new ArrayList(_list926.size); - for (int _i927 = 0; _i927 < _list926.size; ++_i927) + org.apache.thrift.protocol.TList _list934 = iprot.readListBegin(); + struct.success = new ArrayList(_list934.size); + for (int _i935 = 0; _i935 < _list934.size; ++_i935) { - Role _elem928; // optional - _elem928 = new Role(); - _elem928.read(iprot); - struct.success.add(_elem928); + Role _elem936; // required + _elem936 = new Role(); + _elem936.read(iprot); + struct.success.add(_elem936); } iprot.readListEnd(); } @@ -118398,9 +119196,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, list_roles_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Role _iter929 : struct.success) + for (Role _iter937 : struct.success) { - _iter929.write(oprot); + _iter937.write(oprot); } oprot.writeListEnd(); } @@ -118439,9 +119237,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter930 : struct.success) + for (Role _iter938 : struct.success) { - _iter930.write(oprot); + _iter938.write(oprot); } } } @@ -118456,14 +119254,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_roles_result st BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list931 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list931.size); - for (int _i932 = 0; _i932 < _list931.size; ++_i932) + org.apache.thrift.protocol.TList _list939 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list939.size); + for (int _i940 = 0; _i940 < _list939.size; ++_i940) { - Role _elem933; // optional - _elem933 = new Role(); - _elem933.read(iprot); - struct.success.add(_elem933); + Role _elem941; // required + _elem941 = new Role(); + _elem941.read(iprot); + struct.success.add(_elem941); } } struct.setSuccessIsSet(true); @@ -121471,13 +122269,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_privilege_set_a case 3: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list934 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list934.size); - for (int _i935 = 0; _i935 < _list934.size; ++_i935) + org.apache.thrift.protocol.TList _list942 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list942.size); + for (int _i943 = 0; _i943 < _list942.size; ++_i943) { - String _elem936; // optional - _elem936 = iprot.readString(); - struct.group_names.add(_elem936); + String _elem944; // required + _elem944 = iprot.readString(); + struct.group_names.add(_elem944); } iprot.readListEnd(); } @@ -121513,9 +122311,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_privilege_set_ oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter937 : struct.group_names) + for (String _iter945 : struct.group_names) { - oprot.writeString(_iter937); + oprot.writeString(_iter945); } oprot.writeListEnd(); } @@ -121558,9 +122356,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_a if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter938 : struct.group_names) + for (String _iter946 : struct.group_names) { - oprot.writeString(_iter938); + oprot.writeString(_iter946); } } } @@ -121581,13 +122379,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list939 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list939.size); - for (int _i940 = 0; _i940 < _list939.size; ++_i940) + org.apache.thrift.protocol.TList _list947 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list947.size); + for (int _i948 = 0; _i948 < _list947.size; ++_i948) { - String _elem941; // optional - _elem941 = iprot.readString(); - struct.group_names.add(_elem941); + String _elem949; // required + _elem949 = iprot.readString(); + struct.group_names.add(_elem949); } } struct.setGroup_namesIsSet(true); @@ -123045,14 +123843,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, list_privileges_res case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list942 = iprot.readListBegin(); - struct.success = new ArrayList(_list942.size); - for (int _i943 = 0; _i943 < _list942.size; ++_i943) + org.apache.thrift.protocol.TList _list950 = iprot.readListBegin(); + struct.success = new ArrayList(_list950.size); + for (int _i951 = 0; _i951 < _list950.size; ++_i951) { - HiveObjectPrivilege _elem944; // optional - _elem944 = new HiveObjectPrivilege(); - _elem944.read(iprot); - struct.success.add(_elem944); + HiveObjectPrivilege _elem952; // required + _elem952 = new HiveObjectPrivilege(); + _elem952.read(iprot); + struct.success.add(_elem952); } iprot.readListEnd(); } @@ -123087,9 +123885,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, list_privileges_re oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (HiveObjectPrivilege _iter945 : struct.success) + for (HiveObjectPrivilege _iter953 : struct.success) { - _iter945.write(oprot); + _iter953.write(oprot); } oprot.writeListEnd(); } @@ -123128,9 +123926,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter946 : struct.success) + for (HiveObjectPrivilege _iter954 : struct.success) { - _iter946.write(oprot); + _iter954.write(oprot); } } } @@ -123145,14 +123943,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_privileges_resu BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list947 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list947.size); - for (int _i948 = 0; _i948 < _list947.size; ++_i948) + org.apache.thrift.protocol.TList _list955 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list955.size); + for (int _i956 = 0; _i956 < _list955.size; ++_i956) { - HiveObjectPrivilege _elem949; // optional - _elem949 = new HiveObjectPrivilege(); - _elem949.read(iprot); - struct.success.add(_elem949); + HiveObjectPrivilege _elem957; // required + _elem957 = new HiveObjectPrivilege(); + _elem957.read(iprot); + struct.success.add(_elem957); } } struct.setSuccessIsSet(true); @@ -126057,13 +126855,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, set_ugi_args struct case 2: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list950 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list950.size); - for (int _i951 = 0; _i951 < _list950.size; ++_i951) + org.apache.thrift.protocol.TList _list958 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list958.size); + for (int _i959 = 0; _i959 < _list958.size; ++_i959) { - String _elem952; // optional - _elem952 = iprot.readString(); - struct.group_names.add(_elem952); + String _elem960; // required + _elem960 = iprot.readString(); + struct.group_names.add(_elem960); } iprot.readListEnd(); } @@ -126094,9 +126892,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, set_ugi_args struc oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter953 : struct.group_names) + for (String _iter961 : struct.group_names) { - oprot.writeString(_iter953); + oprot.writeString(_iter961); } oprot.writeListEnd(); } @@ -126133,9 +126931,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter954 : struct.group_names) + for (String _iter962 : struct.group_names) { - oprot.writeString(_iter954); + oprot.writeString(_iter962); } } } @@ -126151,13 +126949,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list955 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list955.size); - for (int _i956 = 0; _i956 < _list955.size; ++_i956) + org.apache.thrift.protocol.TList _list963 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list963.size); + for (int _i964 = 0; _i964 < _list963.size; ++_i964) { - String _elem957; // optional - _elem957 = iprot.readString(); - struct.group_names.add(_elem957); + String _elem965; // required + _elem965 = iprot.readString(); + struct.group_names.add(_elem965); } } struct.setGroup_namesIsSet(true); @@ -126563,13 +127361,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, set_ugi_result stru case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list958 = iprot.readListBegin(); - struct.success = new ArrayList(_list958.size); - for (int _i959 = 0; _i959 < _list958.size; ++_i959) + org.apache.thrift.protocol.TList _list966 = iprot.readListBegin(); + struct.success = new ArrayList(_list966.size); + for (int _i967 = 0; _i967 < _list966.size; ++_i967) { - String _elem960; // optional - _elem960 = iprot.readString(); - struct.success.add(_elem960); + String _elem968; // required + _elem968 = iprot.readString(); + struct.success.add(_elem968); } iprot.readListEnd(); } @@ -126604,9 +127402,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, set_ugi_result str oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter961 : struct.success) + for (String _iter969 : struct.success) { - oprot.writeString(_iter961); + oprot.writeString(_iter969); } oprot.writeListEnd(); } @@ -126645,9 +127443,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter962 : struct.success) + for (String _iter970 : struct.success) { - oprot.writeString(_iter962); + oprot.writeString(_iter970); } } } @@ -126662,13 +127460,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_result struc BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list963 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list963.size); - for (int _i964 = 0; _i964 < _list963.size; ++_i964) + org.apache.thrift.protocol.TList _list971 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list971.size); + for (int _i972 = 0; _i972 < _list971.size; ++_i972) { - String _elem965; // optional - _elem965 = iprot.readString(); - struct.success.add(_elem965); + String _elem973; // required + _elem973 = iprot.readString(); + struct.success.add(_elem973); } } struct.setSuccessIsSet(true); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java index 1882b57..bb81e3c 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java @@ -618,7 +618,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Type struct) throws struct.fields = new ArrayList(_list0.size); for (int _i1 = 0; _i1 < _list0.size; ++_i1) { - FieldSchema _elem2; // optional + FieldSchema _elem2; // required _elem2 = new FieldSchema(); _elem2.read(iprot); struct.fields.add(_elem2); @@ -749,7 +749,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Type struct) throws struct.fields = new ArrayList(_list5.size); for (int _i6 = 0; _i6 < _list5.size; ++_i6) { - FieldSchema _elem7; // optional + FieldSchema _elem7; // required _elem7 = new FieldSchema(); _elem7.read(iprot); struct.fields.add(_elem7); diff --git metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php index 8342f6b..642a041 100644 --- metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -104,6 +104,7 @@ interface ThriftHiveMetastoreIf extends \FacebookServiceIf { public function alter_function($dbName, $funcName, \metastore\Function $newFunc); public function get_functions($dbName, $pattern); public function get_function($dbName, $funcName); + public function get_all_functions(); public function create_role(\metastore\Role $role); public function drop_role($role_name); public function get_role_names(); @@ -5347,6 +5348,59 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("get_function failed: unknown result"); } + public function get_all_functions() + { + $this->send_get_all_functions(); + return $this->recv_get_all_functions(); + } + + public function send_get_all_functions() + { + $args = new \metastore\ThriftHiveMetastore_get_all_functions_args(); + $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); + if ($bin_accel) + { + thrift_protocol_write_binary($this->output_, 'get_all_functions', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); + } + else + { + $this->output_->writeMessageBegin('get_all_functions', TMessageType::CALL, $this->seqid_); + $args->write($this->output_); + $this->output_->writeMessageEnd(); + $this->output_->getTransport()->flush(); + } + } + + public function recv_get_all_functions() + { + $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); + if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_all_functions_result', $this->input_->isStrictRead()); + else + { + $rseqid = 0; + $fname = null; + $mtype = 0; + + $this->input_->readMessageBegin($fname, $mtype, $rseqid); + if ($mtype == TMessageType::EXCEPTION) { + $x = new TApplicationException(); + $x->read($this->input_); + $this->input_->readMessageEnd(); + throw $x; + } + $result = new \metastore\ThriftHiveMetastore_get_all_functions_result(); + $result->read($this->input_); + $this->input_->readMessageEnd(); + } + if ($result->success !== null) { + return $result->success; + } + if ($result->o1 !== null) { + throw $result->o1; + } + throw new \Exception("get_all_functions failed: unknown result"); + } + public function create_role(\metastore\Role $role) { $this->send_create_role($role); @@ -8302,14 +8356,14 @@ class ThriftHiveMetastore_get_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size465 = 0; - $_etype468 = 0; - $xfer += $input->readListBegin($_etype468, $_size465); - for ($_i469 = 0; $_i469 < $_size465; ++$_i469) + $_size472 = 0; + $_etype475 = 0; + $xfer += $input->readListBegin($_etype475, $_size472); + for ($_i476 = 0; $_i476 < $_size472; ++$_i476) { - $elem470 = null; - $xfer += $input->readString($elem470); - $this->success []= $elem470; + $elem477 = null; + $xfer += $input->readString($elem477); + $this->success []= $elem477; } $xfer += $input->readListEnd(); } else { @@ -8345,9 +8399,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter471) + foreach ($this->success as $iter478) { - $xfer += $output->writeString($iter471); + $xfer += $output->writeString($iter478); } } $output->writeListEnd(); @@ -8472,14 +8526,14 @@ class ThriftHiveMetastore_get_all_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size472 = 0; - $_etype475 = 0; - $xfer += $input->readListBegin($_etype475, $_size472); - for ($_i476 = 0; $_i476 < $_size472; ++$_i476) + $_size479 = 0; + $_etype482 = 0; + $xfer += $input->readListBegin($_etype482, $_size479); + for ($_i483 = 0; $_i483 < $_size479; ++$_i483) { - $elem477 = null; - $xfer += $input->readString($elem477); - $this->success []= $elem477; + $elem484 = null; + $xfer += $input->readString($elem484); + $this->success []= $elem484; } $xfer += $input->readListEnd(); } else { @@ -8515,9 +8569,9 @@ class ThriftHiveMetastore_get_all_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter478) + foreach ($this->success as $iter485) { - $xfer += $output->writeString($iter478); + $xfer += $output->writeString($iter485); } } $output->writeListEnd(); @@ -9458,18 +9512,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size479 = 0; - $_ktype480 = 0; - $_vtype481 = 0; - $xfer += $input->readMapBegin($_ktype480, $_vtype481, $_size479); - for ($_i483 = 0; $_i483 < $_size479; ++$_i483) + $_size486 = 0; + $_ktype487 = 0; + $_vtype488 = 0; + $xfer += $input->readMapBegin($_ktype487, $_vtype488, $_size486); + for ($_i490 = 0; $_i490 < $_size486; ++$_i490) { - $key484 = ''; - $val485 = new \metastore\Type(); - $xfer += $input->readString($key484); - $val485 = new \metastore\Type(); - $xfer += $val485->read($input); - $this->success[$key484] = $val485; + $key491 = ''; + $val492 = new \metastore\Type(); + $xfer += $input->readString($key491); + $val492 = new \metastore\Type(); + $xfer += $val492->read($input); + $this->success[$key491] = $val492; } $xfer += $input->readMapEnd(); } else { @@ -9505,10 +9559,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter486 => $viter487) + foreach ($this->success as $kiter493 => $viter494) { - $xfer += $output->writeString($kiter486); - $xfer += $viter487->write($output); + $xfer += $output->writeString($kiter493); + $xfer += $viter494->write($output); } } $output->writeMapEnd(); @@ -9694,15 +9748,15 @@ class ThriftHiveMetastore_get_fields_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size488 = 0; - $_etype491 = 0; - $xfer += $input->readListBegin($_etype491, $_size488); - for ($_i492 = 0; $_i492 < $_size488; ++$_i492) + $_size495 = 0; + $_etype498 = 0; + $xfer += $input->readListBegin($_etype498, $_size495); + for ($_i499 = 0; $_i499 < $_size495; ++$_i499) { - $elem493 = null; - $elem493 = new \metastore\FieldSchema(); - $xfer += $elem493->read($input); - $this->success []= $elem493; + $elem500 = null; + $elem500 = new \metastore\FieldSchema(); + $xfer += $elem500->read($input); + $this->success []= $elem500; } $xfer += $input->readListEnd(); } else { @@ -9754,9 +9808,9 @@ class ThriftHiveMetastore_get_fields_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter494) + foreach ($this->success as $iter501) { - $xfer += $iter494->write($output); + $xfer += $iter501->write($output); } } $output->writeListEnd(); @@ -9977,15 +10031,15 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size495 = 0; - $_etype498 = 0; - $xfer += $input->readListBegin($_etype498, $_size495); - for ($_i499 = 0; $_i499 < $_size495; ++$_i499) + $_size502 = 0; + $_etype505 = 0; + $xfer += $input->readListBegin($_etype505, $_size502); + for ($_i506 = 0; $_i506 < $_size502; ++$_i506) { - $elem500 = null; - $elem500 = new \metastore\FieldSchema(); - $xfer += $elem500->read($input); - $this->success []= $elem500; + $elem507 = null; + $elem507 = new \metastore\FieldSchema(); + $xfer += $elem507->read($input); + $this->success []= $elem507; } $xfer += $input->readListEnd(); } else { @@ -10037,9 +10091,9 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter501) + foreach ($this->success as $iter508) { - $xfer += $iter501->write($output); + $xfer += $iter508->write($output); } } $output->writeListEnd(); @@ -10235,15 +10289,15 @@ class ThriftHiveMetastore_get_schema_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size502 = 0; - $_etype505 = 0; - $xfer += $input->readListBegin($_etype505, $_size502); - for ($_i506 = 0; $_i506 < $_size502; ++$_i506) + $_size509 = 0; + $_etype512 = 0; + $xfer += $input->readListBegin($_etype512, $_size509); + for ($_i513 = 0; $_i513 < $_size509; ++$_i513) { - $elem507 = null; - $elem507 = new \metastore\FieldSchema(); - $xfer += $elem507->read($input); - $this->success []= $elem507; + $elem514 = null; + $elem514 = new \metastore\FieldSchema(); + $xfer += $elem514->read($input); + $this->success []= $elem514; } $xfer += $input->readListEnd(); } else { @@ -10295,9 +10349,9 @@ class ThriftHiveMetastore_get_schema_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter508) + foreach ($this->success as $iter515) { - $xfer += $iter508->write($output); + $xfer += $iter515->write($output); } } $output->writeListEnd(); @@ -10518,15 +10572,15 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size509 = 0; - $_etype512 = 0; - $xfer += $input->readListBegin($_etype512, $_size509); - for ($_i513 = 0; $_i513 < $_size509; ++$_i513) + $_size516 = 0; + $_etype519 = 0; + $xfer += $input->readListBegin($_etype519, $_size516); + for ($_i520 = 0; $_i520 < $_size516; ++$_i520) { - $elem514 = null; - $elem514 = new \metastore\FieldSchema(); - $xfer += $elem514->read($input); - $this->success []= $elem514; + $elem521 = null; + $elem521 = new \metastore\FieldSchema(); + $xfer += $elem521->read($input); + $this->success []= $elem521; } $xfer += $input->readListEnd(); } else { @@ -10578,9 +10632,9 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter515) + foreach ($this->success as $iter522) { - $xfer += $iter515->write($output); + $xfer += $iter522->write($output); } } $output->writeListEnd(); @@ -11657,14 +11711,14 @@ class ThriftHiveMetastore_get_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size516 = 0; - $_etype519 = 0; - $xfer += $input->readListBegin($_etype519, $_size516); - for ($_i520 = 0; $_i520 < $_size516; ++$_i520) + $_size523 = 0; + $_etype526 = 0; + $xfer += $input->readListBegin($_etype526, $_size523); + for ($_i527 = 0; $_i527 < $_size523; ++$_i527) { - $elem521 = null; - $xfer += $input->readString($elem521); - $this->success []= $elem521; + $elem528 = null; + $xfer += $input->readString($elem528); + $this->success []= $elem528; } $xfer += $input->readListEnd(); } else { @@ -11700,9 +11754,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter522) + foreach ($this->success as $iter529) { - $xfer += $output->writeString($iter522); + $xfer += $output->writeString($iter529); } } $output->writeListEnd(); @@ -11849,14 +11903,14 @@ class ThriftHiveMetastore_get_all_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size523 = 0; - $_etype526 = 0; - $xfer += $input->readListBegin($_etype526, $_size523); - for ($_i527 = 0; $_i527 < $_size523; ++$_i527) + $_size530 = 0; + $_etype533 = 0; + $xfer += $input->readListBegin($_etype533, $_size530); + for ($_i534 = 0; $_i534 < $_size530; ++$_i534) { - $elem528 = null; - $xfer += $input->readString($elem528); - $this->success []= $elem528; + $elem535 = null; + $xfer += $input->readString($elem535); + $this->success []= $elem535; } $xfer += $input->readListEnd(); } else { @@ -11892,9 +11946,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter529) + foreach ($this->success as $iter536) { - $xfer += $output->writeString($iter529); + $xfer += $output->writeString($iter536); } } $output->writeListEnd(); @@ -12188,14 +12242,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size530 = 0; - $_etype533 = 0; - $xfer += $input->readListBegin($_etype533, $_size530); - for ($_i534 = 0; $_i534 < $_size530; ++$_i534) + $_size537 = 0; + $_etype540 = 0; + $xfer += $input->readListBegin($_etype540, $_size537); + for ($_i541 = 0; $_i541 < $_size537; ++$_i541) { - $elem535 = null; - $xfer += $input->readString($elem535); - $this->tbl_names []= $elem535; + $elem542 = null; + $xfer += $input->readString($elem542); + $this->tbl_names []= $elem542; } $xfer += $input->readListEnd(); } else { @@ -12228,9 +12282,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter536) + foreach ($this->tbl_names as $iter543) { - $xfer += $output->writeString($iter536); + $xfer += $output->writeString($iter543); } } $output->writeListEnd(); @@ -12319,15 +12373,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size537 = 0; - $_etype540 = 0; - $xfer += $input->readListBegin($_etype540, $_size537); - for ($_i541 = 0; $_i541 < $_size537; ++$_i541) + $_size544 = 0; + $_etype547 = 0; + $xfer += $input->readListBegin($_etype547, $_size544); + for ($_i548 = 0; $_i548 < $_size544; ++$_i548) { - $elem542 = null; - $elem542 = new \metastore\Table(); - $xfer += $elem542->read($input); - $this->success []= $elem542; + $elem549 = null; + $elem549 = new \metastore\Table(); + $xfer += $elem549->read($input); + $this->success []= $elem549; } $xfer += $input->readListEnd(); } else { @@ -12379,9 +12433,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter543) + foreach ($this->success as $iter550) { - $xfer += $iter543->write($output); + $xfer += $iter550->write($output); } } $output->writeListEnd(); @@ -12596,14 +12650,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size544 = 0; - $_etype547 = 0; - $xfer += $input->readListBegin($_etype547, $_size544); - for ($_i548 = 0; $_i548 < $_size544; ++$_i548) + $_size551 = 0; + $_etype554 = 0; + $xfer += $input->readListBegin($_etype554, $_size551); + for ($_i555 = 0; $_i555 < $_size551; ++$_i555) { - $elem549 = null; - $xfer += $input->readString($elem549); - $this->success []= $elem549; + $elem556 = null; + $xfer += $input->readString($elem556); + $this->success []= $elem556; } $xfer += $input->readListEnd(); } else { @@ -12655,9 +12709,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter550) + foreach ($this->success as $iter557) { - $xfer += $output->writeString($iter550); + $xfer += $output->writeString($iter557); } } $output->writeListEnd(); @@ -13883,15 +13937,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size551 = 0; - $_etype554 = 0; - $xfer += $input->readListBegin($_etype554, $_size551); - for ($_i555 = 0; $_i555 < $_size551; ++$_i555) + $_size558 = 0; + $_etype561 = 0; + $xfer += $input->readListBegin($_etype561, $_size558); + for ($_i562 = 0; $_i562 < $_size558; ++$_i562) { - $elem556 = null; - $elem556 = new \metastore\Partition(); - $xfer += $elem556->read($input); - $this->new_parts []= $elem556; + $elem563 = null; + $elem563 = new \metastore\Partition(); + $xfer += $elem563->read($input); + $this->new_parts []= $elem563; } $xfer += $input->readListEnd(); } else { @@ -13919,9 +13973,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter557) + foreach ($this->new_parts as $iter564) { - $xfer += $iter557->write($output); + $xfer += $iter564->write($output); } } $output->writeListEnd(); @@ -14121,15 +14175,15 @@ class ThriftHiveMetastore_add_partitions_pspec_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size558 = 0; - $_etype561 = 0; - $xfer += $input->readListBegin($_etype561, $_size558); - for ($_i562 = 0; $_i562 < $_size558; ++$_i562) + $_size565 = 0; + $_etype568 = 0; + $xfer += $input->readListBegin($_etype568, $_size565); + for ($_i569 = 0; $_i569 < $_size565; ++$_i569) { - $elem563 = null; - $elem563 = new \metastore\PartitionSpec(); - $xfer += $elem563->read($input); - $this->new_parts []= $elem563; + $elem570 = null; + $elem570 = new \metastore\PartitionSpec(); + $xfer += $elem570->read($input); + $this->new_parts []= $elem570; } $xfer += $input->readListEnd(); } else { @@ -14157,9 +14211,9 @@ class ThriftHiveMetastore_add_partitions_pspec_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter564) + foreach ($this->new_parts as $iter571) { - $xfer += $iter564->write($output); + $xfer += $iter571->write($output); } } $output->writeListEnd(); @@ -14388,14 +14442,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size565 = 0; - $_etype568 = 0; - $xfer += $input->readListBegin($_etype568, $_size565); - for ($_i569 = 0; $_i569 < $_size565; ++$_i569) + $_size572 = 0; + $_etype575 = 0; + $xfer += $input->readListBegin($_etype575, $_size572); + for ($_i576 = 0; $_i576 < $_size572; ++$_i576) { - $elem570 = null; - $xfer += $input->readString($elem570); - $this->part_vals []= $elem570; + $elem577 = null; + $xfer += $input->readString($elem577); + $this->part_vals []= $elem577; } $xfer += $input->readListEnd(); } else { @@ -14433,9 +14487,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter571) + foreach ($this->part_vals as $iter578) { - $xfer += $output->writeString($iter571); + $xfer += $output->writeString($iter578); } } $output->writeListEnd(); @@ -14898,14 +14952,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size572 = 0; - $_etype575 = 0; - $xfer += $input->readListBegin($_etype575, $_size572); - for ($_i576 = 0; $_i576 < $_size572; ++$_i576) + $_size579 = 0; + $_etype582 = 0; + $xfer += $input->readListBegin($_etype582, $_size579); + for ($_i583 = 0; $_i583 < $_size579; ++$_i583) { - $elem577 = null; - $xfer += $input->readString($elem577); - $this->part_vals []= $elem577; + $elem584 = null; + $xfer += $input->readString($elem584); + $this->part_vals []= $elem584; } $xfer += $input->readListEnd(); } else { @@ -14951,9 +15005,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter578) + foreach ($this->part_vals as $iter585) { - $xfer += $output->writeString($iter578); + $xfer += $output->writeString($iter585); } } $output->writeListEnd(); @@ -15738,14 +15792,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size579 = 0; - $_etype582 = 0; - $xfer += $input->readListBegin($_etype582, $_size579); - for ($_i583 = 0; $_i583 < $_size579; ++$_i583) + $_size586 = 0; + $_etype589 = 0; + $xfer += $input->readListBegin($_etype589, $_size586); + for ($_i590 = 0; $_i590 < $_size586; ++$_i590) { - $elem584 = null; - $xfer += $input->readString($elem584); - $this->part_vals []= $elem584; + $elem591 = null; + $xfer += $input->readString($elem591); + $this->part_vals []= $elem591; } $xfer += $input->readListEnd(); } else { @@ -15790,9 +15844,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter585) + foreach ($this->part_vals as $iter592) { - $xfer += $output->writeString($iter585); + $xfer += $output->writeString($iter592); } } $output->writeListEnd(); @@ -16021,14 +16075,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size586 = 0; - $_etype589 = 0; - $xfer += $input->readListBegin($_etype589, $_size586); - for ($_i590 = 0; $_i590 < $_size586; ++$_i590) + $_size593 = 0; + $_etype596 = 0; + $xfer += $input->readListBegin($_etype596, $_size593); + for ($_i597 = 0; $_i597 < $_size593; ++$_i597) { - $elem591 = null; - $xfer += $input->readString($elem591); - $this->part_vals []= $elem591; + $elem598 = null; + $xfer += $input->readString($elem598); + $this->part_vals []= $elem598; } $xfer += $input->readListEnd(); } else { @@ -16081,9 +16135,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter592) + foreach ($this->part_vals as $iter599) { - $xfer += $output->writeString($iter592); + $xfer += $output->writeString($iter599); } } $output->writeListEnd(); @@ -17022,14 +17076,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size593 = 0; - $_etype596 = 0; - $xfer += $input->readListBegin($_etype596, $_size593); - for ($_i597 = 0; $_i597 < $_size593; ++$_i597) + $_size600 = 0; + $_etype603 = 0; + $xfer += $input->readListBegin($_etype603, $_size600); + for ($_i604 = 0; $_i604 < $_size600; ++$_i604) { - $elem598 = null; - $xfer += $input->readString($elem598); - $this->part_vals []= $elem598; + $elem605 = null; + $xfer += $input->readString($elem605); + $this->part_vals []= $elem605; } $xfer += $input->readListEnd(); } else { @@ -17067,9 +17121,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter599) + foreach ($this->part_vals as $iter606) { - $xfer += $output->writeString($iter599); + $xfer += $output->writeString($iter606); } } $output->writeListEnd(); @@ -17287,17 +17341,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size600 = 0; - $_ktype601 = 0; - $_vtype602 = 0; - $xfer += $input->readMapBegin($_ktype601, $_vtype602, $_size600); - for ($_i604 = 0; $_i604 < $_size600; ++$_i604) + $_size607 = 0; + $_ktype608 = 0; + $_vtype609 = 0; + $xfer += $input->readMapBegin($_ktype608, $_vtype609, $_size607); + for ($_i611 = 0; $_i611 < $_size607; ++$_i611) { - $key605 = ''; - $val606 = ''; - $xfer += $input->readString($key605); - $xfer += $input->readString($val606); - $this->partitionSpecs[$key605] = $val606; + $key612 = ''; + $val613 = ''; + $xfer += $input->readString($key612); + $xfer += $input->readString($val613); + $this->partitionSpecs[$key612] = $val613; } $xfer += $input->readMapEnd(); } else { @@ -17353,10 +17407,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter607 => $viter608) + foreach ($this->partitionSpecs as $kiter614 => $viter615) { - $xfer += $output->writeString($kiter607); - $xfer += $output->writeString($viter608); + $xfer += $output->writeString($kiter614); + $xfer += $output->writeString($viter615); } } $output->writeMapEnd(); @@ -17652,14 +17706,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size609 = 0; - $_etype612 = 0; - $xfer += $input->readListBegin($_etype612, $_size609); - for ($_i613 = 0; $_i613 < $_size609; ++$_i613) + $_size616 = 0; + $_etype619 = 0; + $xfer += $input->readListBegin($_etype619, $_size616); + for ($_i620 = 0; $_i620 < $_size616; ++$_i620) { - $elem614 = null; - $xfer += $input->readString($elem614); - $this->part_vals []= $elem614; + $elem621 = null; + $xfer += $input->readString($elem621); + $this->part_vals []= $elem621; } $xfer += $input->readListEnd(); } else { @@ -17676,14 +17730,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size615 = 0; - $_etype618 = 0; - $xfer += $input->readListBegin($_etype618, $_size615); - for ($_i619 = 0; $_i619 < $_size615; ++$_i619) + $_size622 = 0; + $_etype625 = 0; + $xfer += $input->readListBegin($_etype625, $_size622); + for ($_i626 = 0; $_i626 < $_size622; ++$_i626) { - $elem620 = null; - $xfer += $input->readString($elem620); - $this->group_names []= $elem620; + $elem627 = null; + $xfer += $input->readString($elem627); + $this->group_names []= $elem627; } $xfer += $input->readListEnd(); } else { @@ -17721,9 +17775,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter621) + foreach ($this->part_vals as $iter628) { - $xfer += $output->writeString($iter621); + $xfer += $output->writeString($iter628); } } $output->writeListEnd(); @@ -17743,9 +17797,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter622) + foreach ($this->group_names as $iter629) { - $xfer += $output->writeString($iter622); + $xfer += $output->writeString($iter629); } } $output->writeListEnd(); @@ -18291,15 +18345,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size623 = 0; - $_etype626 = 0; - $xfer += $input->readListBegin($_etype626, $_size623); - for ($_i627 = 0; $_i627 < $_size623; ++$_i627) + $_size630 = 0; + $_etype633 = 0; + $xfer += $input->readListBegin($_etype633, $_size630); + for ($_i634 = 0; $_i634 < $_size630; ++$_i634) { - $elem628 = null; - $elem628 = new \metastore\Partition(); - $xfer += $elem628->read($input); - $this->success []= $elem628; + $elem635 = null; + $elem635 = new \metastore\Partition(); + $xfer += $elem635->read($input); + $this->success []= $elem635; } $xfer += $input->readListEnd(); } else { @@ -18343,9 +18397,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter629) + foreach ($this->success as $iter636) { - $xfer += $iter629->write($output); + $xfer += $iter636->write($output); } } $output->writeListEnd(); @@ -18476,14 +18530,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size630 = 0; - $_etype633 = 0; - $xfer += $input->readListBegin($_etype633, $_size630); - for ($_i634 = 0; $_i634 < $_size630; ++$_i634) + $_size637 = 0; + $_etype640 = 0; + $xfer += $input->readListBegin($_etype640, $_size637); + for ($_i641 = 0; $_i641 < $_size637; ++$_i641) { - $elem635 = null; - $xfer += $input->readString($elem635); - $this->group_names []= $elem635; + $elem642 = null; + $xfer += $input->readString($elem642); + $this->group_names []= $elem642; } $xfer += $input->readListEnd(); } else { @@ -18531,9 +18585,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter636) + foreach ($this->group_names as $iter643) { - $xfer += $output->writeString($iter636); + $xfer += $output->writeString($iter643); } } $output->writeListEnd(); @@ -18613,15 +18667,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size637 = 0; - $_etype640 = 0; - $xfer += $input->readListBegin($_etype640, $_size637); - for ($_i641 = 0; $_i641 < $_size637; ++$_i641) + $_size644 = 0; + $_etype647 = 0; + $xfer += $input->readListBegin($_etype647, $_size644); + for ($_i648 = 0; $_i648 < $_size644; ++$_i648) { - $elem642 = null; - $elem642 = new \metastore\Partition(); - $xfer += $elem642->read($input); - $this->success []= $elem642; + $elem649 = null; + $elem649 = new \metastore\Partition(); + $xfer += $elem649->read($input); + $this->success []= $elem649; } $xfer += $input->readListEnd(); } else { @@ -18665,9 +18719,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter643) + foreach ($this->success as $iter650) { - $xfer += $iter643->write($output); + $xfer += $iter650->write($output); } } $output->writeListEnd(); @@ -18869,15 +18923,15 @@ class ThriftHiveMetastore_get_partitions_pspec_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size644 = 0; - $_etype647 = 0; - $xfer += $input->readListBegin($_etype647, $_size644); - for ($_i648 = 0; $_i648 < $_size644; ++$_i648) + $_size651 = 0; + $_etype654 = 0; + $xfer += $input->readListBegin($_etype654, $_size651); + for ($_i655 = 0; $_i655 < $_size651; ++$_i655) { - $elem649 = null; - $elem649 = new \metastore\PartitionSpec(); - $xfer += $elem649->read($input); - $this->success []= $elem649; + $elem656 = null; + $elem656 = new \metastore\PartitionSpec(); + $xfer += $elem656->read($input); + $this->success []= $elem656; } $xfer += $input->readListEnd(); } else { @@ -18921,9 +18975,9 @@ class ThriftHiveMetastore_get_partitions_pspec_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter650) + foreach ($this->success as $iter657) { - $xfer += $iter650->write($output); + $xfer += $iter657->write($output); } } $output->writeListEnd(); @@ -19115,14 +19169,14 @@ class ThriftHiveMetastore_get_partition_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size651 = 0; - $_etype654 = 0; - $xfer += $input->readListBegin($_etype654, $_size651); - for ($_i655 = 0; $_i655 < $_size651; ++$_i655) + $_size658 = 0; + $_etype661 = 0; + $xfer += $input->readListBegin($_etype661, $_size658); + for ($_i662 = 0; $_i662 < $_size658; ++$_i662) { - $elem656 = null; - $xfer += $input->readString($elem656); - $this->success []= $elem656; + $elem663 = null; + $xfer += $input->readString($elem663); + $this->success []= $elem663; } $xfer += $input->readListEnd(); } else { @@ -19158,9 +19212,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter657) + foreach ($this->success as $iter664) { - $xfer += $output->writeString($iter657); + $xfer += $output->writeString($iter664); } } $output->writeListEnd(); @@ -19264,14 +19318,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size658 = 0; - $_etype661 = 0; - $xfer += $input->readListBegin($_etype661, $_size658); - for ($_i662 = 0; $_i662 < $_size658; ++$_i662) + $_size665 = 0; + $_etype668 = 0; + $xfer += $input->readListBegin($_etype668, $_size665); + for ($_i669 = 0; $_i669 < $_size665; ++$_i669) { - $elem663 = null; - $xfer += $input->readString($elem663); - $this->part_vals []= $elem663; + $elem670 = null; + $xfer += $input->readString($elem670); + $this->part_vals []= $elem670; } $xfer += $input->readListEnd(); } else { @@ -19316,9 +19370,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter664) + foreach ($this->part_vals as $iter671) { - $xfer += $output->writeString($iter664); + $xfer += $output->writeString($iter671); } } $output->writeListEnd(); @@ -19403,15 +19457,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size665 = 0; - $_etype668 = 0; - $xfer += $input->readListBegin($_etype668, $_size665); - for ($_i669 = 0; $_i669 < $_size665; ++$_i669) + $_size672 = 0; + $_etype675 = 0; + $xfer += $input->readListBegin($_etype675, $_size672); + for ($_i676 = 0; $_i676 < $_size672; ++$_i676) { - $elem670 = null; - $elem670 = new \metastore\Partition(); - $xfer += $elem670->read($input); - $this->success []= $elem670; + $elem677 = null; + $elem677 = new \metastore\Partition(); + $xfer += $elem677->read($input); + $this->success []= $elem677; } $xfer += $input->readListEnd(); } else { @@ -19455,9 +19509,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter671) + foreach ($this->success as $iter678) { - $xfer += $iter671->write($output); + $xfer += $iter678->write($output); } } $output->writeListEnd(); @@ -19586,14 +19640,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size672 = 0; - $_etype675 = 0; - $xfer += $input->readListBegin($_etype675, $_size672); - for ($_i676 = 0; $_i676 < $_size672; ++$_i676) + $_size679 = 0; + $_etype682 = 0; + $xfer += $input->readListBegin($_etype682, $_size679); + for ($_i683 = 0; $_i683 < $_size679; ++$_i683) { - $elem677 = null; - $xfer += $input->readString($elem677); - $this->part_vals []= $elem677; + $elem684 = null; + $xfer += $input->readString($elem684); + $this->part_vals []= $elem684; } $xfer += $input->readListEnd(); } else { @@ -19617,14 +19671,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size678 = 0; - $_etype681 = 0; - $xfer += $input->readListBegin($_etype681, $_size678); - for ($_i682 = 0; $_i682 < $_size678; ++$_i682) + $_size685 = 0; + $_etype688 = 0; + $xfer += $input->readListBegin($_etype688, $_size685); + for ($_i689 = 0; $_i689 < $_size685; ++$_i689) { - $elem683 = null; - $xfer += $input->readString($elem683); - $this->group_names []= $elem683; + $elem690 = null; + $xfer += $input->readString($elem690); + $this->group_names []= $elem690; } $xfer += $input->readListEnd(); } else { @@ -19662,9 +19716,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter684) + foreach ($this->part_vals as $iter691) { - $xfer += $output->writeString($iter684); + $xfer += $output->writeString($iter691); } } $output->writeListEnd(); @@ -19689,9 +19743,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter685) + foreach ($this->group_names as $iter692) { - $xfer += $output->writeString($iter685); + $xfer += $output->writeString($iter692); } } $output->writeListEnd(); @@ -19771,15 +19825,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size686 = 0; - $_etype689 = 0; - $xfer += $input->readListBegin($_etype689, $_size686); - for ($_i690 = 0; $_i690 < $_size686; ++$_i690) + $_size693 = 0; + $_etype696 = 0; + $xfer += $input->readListBegin($_etype696, $_size693); + for ($_i697 = 0; $_i697 < $_size693; ++$_i697) { - $elem691 = null; - $elem691 = new \metastore\Partition(); - $xfer += $elem691->read($input); - $this->success []= $elem691; + $elem698 = null; + $elem698 = new \metastore\Partition(); + $xfer += $elem698->read($input); + $this->success []= $elem698; } $xfer += $input->readListEnd(); } else { @@ -19823,9 +19877,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter692) + foreach ($this->success as $iter699) { - $xfer += $iter692->write($output); + $xfer += $iter699->write($output); } } $output->writeListEnd(); @@ -19934,14 +19988,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size693 = 0; - $_etype696 = 0; - $xfer += $input->readListBegin($_etype696, $_size693); - for ($_i697 = 0; $_i697 < $_size693; ++$_i697) + $_size700 = 0; + $_etype703 = 0; + $xfer += $input->readListBegin($_etype703, $_size700); + for ($_i704 = 0; $_i704 < $_size700; ++$_i704) { - $elem698 = null; - $xfer += $input->readString($elem698); - $this->part_vals []= $elem698; + $elem705 = null; + $xfer += $input->readString($elem705); + $this->part_vals []= $elem705; } $xfer += $input->readListEnd(); } else { @@ -19986,9 +20040,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter699) + foreach ($this->part_vals as $iter706) { - $xfer += $output->writeString($iter699); + $xfer += $output->writeString($iter706); } } $output->writeListEnd(); @@ -20072,14 +20126,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size700 = 0; - $_etype703 = 0; - $xfer += $input->readListBegin($_etype703, $_size700); - for ($_i704 = 0; $_i704 < $_size700; ++$_i704) + $_size707 = 0; + $_etype710 = 0; + $xfer += $input->readListBegin($_etype710, $_size707); + for ($_i711 = 0; $_i711 < $_size707; ++$_i711) { - $elem705 = null; - $xfer += $input->readString($elem705); - $this->success []= $elem705; + $elem712 = null; + $xfer += $input->readString($elem712); + $this->success []= $elem712; } $xfer += $input->readListEnd(); } else { @@ -20123,9 +20177,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter706) + foreach ($this->success as $iter713) { - $xfer += $output->writeString($iter706); + $xfer += $output->writeString($iter713); } } $output->writeListEnd(); @@ -20347,15 +20401,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size707 = 0; - $_etype710 = 0; - $xfer += $input->readListBegin($_etype710, $_size707); - for ($_i711 = 0; $_i711 < $_size707; ++$_i711) + $_size714 = 0; + $_etype717 = 0; + $xfer += $input->readListBegin($_etype717, $_size714); + for ($_i718 = 0; $_i718 < $_size714; ++$_i718) { - $elem712 = null; - $elem712 = new \metastore\Partition(); - $xfer += $elem712->read($input); - $this->success []= $elem712; + $elem719 = null; + $elem719 = new \metastore\Partition(); + $xfer += $elem719->read($input); + $this->success []= $elem719; } $xfer += $input->readListEnd(); } else { @@ -20399,9 +20453,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter713) + foreach ($this->success as $iter720) { - $xfer += $iter713->write($output); + $xfer += $iter720->write($output); } } $output->writeListEnd(); @@ -20623,15 +20677,15 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size714 = 0; - $_etype717 = 0; - $xfer += $input->readListBegin($_etype717, $_size714); - for ($_i718 = 0; $_i718 < $_size714; ++$_i718) + $_size721 = 0; + $_etype724 = 0; + $xfer += $input->readListBegin($_etype724, $_size721); + for ($_i725 = 0; $_i725 < $_size721; ++$_i725) { - $elem719 = null; - $elem719 = new \metastore\PartitionSpec(); - $xfer += $elem719->read($input); - $this->success []= $elem719; + $elem726 = null; + $elem726 = new \metastore\PartitionSpec(); + $xfer += $elem726->read($input); + $this->success []= $elem726; } $xfer += $input->readListEnd(); } else { @@ -20675,9 +20729,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter720) + foreach ($this->success as $iter727) { - $xfer += $iter720->write($output); + $xfer += $iter727->write($output); } } $output->writeListEnd(); @@ -20976,14 +21030,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size721 = 0; - $_etype724 = 0; - $xfer += $input->readListBegin($_etype724, $_size721); - for ($_i725 = 0; $_i725 < $_size721; ++$_i725) + $_size728 = 0; + $_etype731 = 0; + $xfer += $input->readListBegin($_etype731, $_size728); + for ($_i732 = 0; $_i732 < $_size728; ++$_i732) { - $elem726 = null; - $xfer += $input->readString($elem726); - $this->names []= $elem726; + $elem733 = null; + $xfer += $input->readString($elem733); + $this->names []= $elem733; } $xfer += $input->readListEnd(); } else { @@ -21021,9 +21075,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter727) + foreach ($this->names as $iter734) { - $xfer += $output->writeString($iter727); + $xfer += $output->writeString($iter734); } } $output->writeListEnd(); @@ -21103,15 +21157,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size728 = 0; - $_etype731 = 0; - $xfer += $input->readListBegin($_etype731, $_size728); - for ($_i732 = 0; $_i732 < $_size728; ++$_i732) + $_size735 = 0; + $_etype738 = 0; + $xfer += $input->readListBegin($_etype738, $_size735); + for ($_i739 = 0; $_i739 < $_size735; ++$_i739) { - $elem733 = null; - $elem733 = new \metastore\Partition(); - $xfer += $elem733->read($input); - $this->success []= $elem733; + $elem740 = null; + $elem740 = new \metastore\Partition(); + $xfer += $elem740->read($input); + $this->success []= $elem740; } $xfer += $input->readListEnd(); } else { @@ -21155,9 +21209,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter734) + foreach ($this->success as $iter741) { - $xfer += $iter734->write($output); + $xfer += $iter741->write($output); } } $output->writeListEnd(); @@ -21472,15 +21526,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size735 = 0; - $_etype738 = 0; - $xfer += $input->readListBegin($_etype738, $_size735); - for ($_i739 = 0; $_i739 < $_size735; ++$_i739) + $_size742 = 0; + $_etype745 = 0; + $xfer += $input->readListBegin($_etype745, $_size742); + for ($_i746 = 0; $_i746 < $_size742; ++$_i746) { - $elem740 = null; - $elem740 = new \metastore\Partition(); - $xfer += $elem740->read($input); - $this->new_parts []= $elem740; + $elem747 = null; + $elem747 = new \metastore\Partition(); + $xfer += $elem747->read($input); + $this->new_parts []= $elem747; } $xfer += $input->readListEnd(); } else { @@ -21518,9 +21572,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter741) + foreach ($this->new_parts as $iter748) { - $xfer += $iter741->write($output); + $xfer += $iter748->write($output); } } $output->writeListEnd(); @@ -21954,14 +22008,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size742 = 0; - $_etype745 = 0; - $xfer += $input->readListBegin($_etype745, $_size742); - for ($_i746 = 0; $_i746 < $_size742; ++$_i746) + $_size749 = 0; + $_etype752 = 0; + $xfer += $input->readListBegin($_etype752, $_size749); + for ($_i753 = 0; $_i753 < $_size749; ++$_i753) { - $elem747 = null; - $xfer += $input->readString($elem747); - $this->part_vals []= $elem747; + $elem754 = null; + $xfer += $input->readString($elem754); + $this->part_vals []= $elem754; } $xfer += $input->readListEnd(); } else { @@ -22007,9 +22061,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter748) + foreach ($this->part_vals as $iter755) { - $xfer += $output->writeString($iter748); + $xfer += $output->writeString($iter755); } } $output->writeListEnd(); @@ -22182,14 +22236,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size749 = 0; - $_etype752 = 0; - $xfer += $input->readListBegin($_etype752, $_size749); - for ($_i753 = 0; $_i753 < $_size749; ++$_i753) + $_size756 = 0; + $_etype759 = 0; + $xfer += $input->readListBegin($_etype759, $_size756); + for ($_i760 = 0; $_i760 < $_size756; ++$_i760) { - $elem754 = null; - $xfer += $input->readString($elem754); - $this->part_vals []= $elem754; + $elem761 = null; + $xfer += $input->readString($elem761); + $this->part_vals []= $elem761; } $xfer += $input->readListEnd(); } else { @@ -22224,9 +22278,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter755) + foreach ($this->part_vals as $iter762) { - $xfer += $output->writeString($iter755); + $xfer += $output->writeString($iter762); } } $output->writeListEnd(); @@ -22653,14 +22707,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size756 = 0; - $_etype759 = 0; - $xfer += $input->readListBegin($_etype759, $_size756); - for ($_i760 = 0; $_i760 < $_size756; ++$_i760) + $_size763 = 0; + $_etype766 = 0; + $xfer += $input->readListBegin($_etype766, $_size763); + for ($_i767 = 0; $_i767 < $_size763; ++$_i767) { - $elem761 = null; - $xfer += $input->readString($elem761); - $this->success []= $elem761; + $elem768 = null; + $xfer += $input->readString($elem768); + $this->success []= $elem768; } $xfer += $input->readListEnd(); } else { @@ -22696,9 +22750,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter762) + foreach ($this->success as $iter769) { - $xfer += $output->writeString($iter762); + $xfer += $output->writeString($iter769); } } $output->writeListEnd(); @@ -22849,17 +22903,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size763 = 0; - $_ktype764 = 0; - $_vtype765 = 0; - $xfer += $input->readMapBegin($_ktype764, $_vtype765, $_size763); - for ($_i767 = 0; $_i767 < $_size763; ++$_i767) + $_size770 = 0; + $_ktype771 = 0; + $_vtype772 = 0; + $xfer += $input->readMapBegin($_ktype771, $_vtype772, $_size770); + for ($_i774 = 0; $_i774 < $_size770; ++$_i774) { - $key768 = ''; - $val769 = ''; - $xfer += $input->readString($key768); - $xfer += $input->readString($val769); - $this->success[$key768] = $val769; + $key775 = ''; + $val776 = ''; + $xfer += $input->readString($key775); + $xfer += $input->readString($val776); + $this->success[$key775] = $val776; } $xfer += $input->readMapEnd(); } else { @@ -22895,10 +22949,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter770 => $viter771) + foreach ($this->success as $kiter777 => $viter778) { - $xfer += $output->writeString($kiter770); - $xfer += $output->writeString($viter771); + $xfer += $output->writeString($kiter777); + $xfer += $output->writeString($viter778); } } $output->writeMapEnd(); @@ -23006,17 +23060,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size772 = 0; - $_ktype773 = 0; - $_vtype774 = 0; - $xfer += $input->readMapBegin($_ktype773, $_vtype774, $_size772); - for ($_i776 = 0; $_i776 < $_size772; ++$_i776) + $_size779 = 0; + $_ktype780 = 0; + $_vtype781 = 0; + $xfer += $input->readMapBegin($_ktype780, $_vtype781, $_size779); + for ($_i783 = 0; $_i783 < $_size779; ++$_i783) { - $key777 = ''; - $val778 = ''; - $xfer += $input->readString($key777); - $xfer += $input->readString($val778); - $this->part_vals[$key777] = $val778; + $key784 = ''; + $val785 = ''; + $xfer += $input->readString($key784); + $xfer += $input->readString($val785); + $this->part_vals[$key784] = $val785; } $xfer += $input->readMapEnd(); } else { @@ -23061,10 +23115,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter779 => $viter780) + foreach ($this->part_vals as $kiter786 => $viter787) { - $xfer += $output->writeString($kiter779); - $xfer += $output->writeString($viter780); + $xfer += $output->writeString($kiter786); + $xfer += $output->writeString($viter787); } } $output->writeMapEnd(); @@ -23356,17 +23410,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size781 = 0; - $_ktype782 = 0; - $_vtype783 = 0; - $xfer += $input->readMapBegin($_ktype782, $_vtype783, $_size781); - for ($_i785 = 0; $_i785 < $_size781; ++$_i785) + $_size788 = 0; + $_ktype789 = 0; + $_vtype790 = 0; + $xfer += $input->readMapBegin($_ktype789, $_vtype790, $_size788); + for ($_i792 = 0; $_i792 < $_size788; ++$_i792) { - $key786 = ''; - $val787 = ''; - $xfer += $input->readString($key786); - $xfer += $input->readString($val787); - $this->part_vals[$key786] = $val787; + $key793 = ''; + $val794 = ''; + $xfer += $input->readString($key793); + $xfer += $input->readString($val794); + $this->part_vals[$key793] = $val794; } $xfer += $input->readMapEnd(); } else { @@ -23411,10 +23465,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter788 => $viter789) + foreach ($this->part_vals as $kiter795 => $viter796) { - $xfer += $output->writeString($kiter788); - $xfer += $output->writeString($viter789); + $xfer += $output->writeString($kiter795); + $xfer += $output->writeString($viter796); } } $output->writeMapEnd(); @@ -24774,15 +24828,15 @@ class ThriftHiveMetastore_get_indexes_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size790 = 0; - $_etype793 = 0; - $xfer += $input->readListBegin($_etype793, $_size790); - for ($_i794 = 0; $_i794 < $_size790; ++$_i794) + $_size797 = 0; + $_etype800 = 0; + $xfer += $input->readListBegin($_etype800, $_size797); + for ($_i801 = 0; $_i801 < $_size797; ++$_i801) { - $elem795 = null; - $elem795 = new \metastore\Index(); - $xfer += $elem795->read($input); - $this->success []= $elem795; + $elem802 = null; + $elem802 = new \metastore\Index(); + $xfer += $elem802->read($input); + $this->success []= $elem802; } $xfer += $input->readListEnd(); } else { @@ -24826,9 +24880,9 @@ class ThriftHiveMetastore_get_indexes_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter796) + foreach ($this->success as $iter803) { - $xfer += $iter796->write($output); + $xfer += $iter803->write($output); } } $output->writeListEnd(); @@ -25020,14 +25074,14 @@ class ThriftHiveMetastore_get_index_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size797 = 0; - $_etype800 = 0; - $xfer += $input->readListBegin($_etype800, $_size797); - for ($_i801 = 0; $_i801 < $_size797; ++$_i801) + $_size804 = 0; + $_etype807 = 0; + $xfer += $input->readListBegin($_etype807, $_size804); + for ($_i808 = 0; $_i808 < $_size804; ++$_i808) { - $elem802 = null; - $xfer += $input->readString($elem802); - $this->success []= $elem802; + $elem809 = null; + $xfer += $input->readString($elem809); + $this->success []= $elem809; } $xfer += $input->readListEnd(); } else { @@ -25063,9 +25117,9 @@ class ThriftHiveMetastore_get_index_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter803) + foreach ($this->success as $iter810) { - $xfer += $output->writeString($iter803); + $xfer += $output->writeString($iter810); } } $output->writeListEnd(); @@ -28293,14 +28347,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size804 = 0; - $_etype807 = 0; - $xfer += $input->readListBegin($_etype807, $_size804); - for ($_i808 = 0; $_i808 < $_size804; ++$_i808) + $_size811 = 0; + $_etype814 = 0; + $xfer += $input->readListBegin($_etype814, $_size811); + for ($_i815 = 0; $_i815 < $_size811; ++$_i815) { - $elem809 = null; - $xfer += $input->readString($elem809); - $this->success []= $elem809; + $elem816 = null; + $xfer += $input->readString($elem816); + $this->success []= $elem816; } $xfer += $input->readListEnd(); } else { @@ -28336,9 +28390,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter810) + foreach ($this->success as $iter817) { - $xfer += $output->writeString($iter810); + $xfer += $output->writeString($iter817); } } $output->writeListEnd(); @@ -28570,6 +28624,155 @@ class ThriftHiveMetastore_get_function_result { } +class ThriftHiveMetastore_get_all_functions_args { + static $_TSPEC; + + + public function __construct() { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + ); + } + } + + public function getName() { + return 'ThriftHiveMetastore_get_all_functions_args'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_all_functions_args'); + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class ThriftHiveMetastore_get_all_functions_result { + static $_TSPEC; + + public $success = null; + public $o1 = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 0 => array( + 'var' => 'success', + 'type' => TType::STRUCT, + 'class' => '\metastore\GetAllFunctionsResponse', + ), + 1 => array( + 'var' => 'o1', + 'type' => TType::STRUCT, + 'class' => '\metastore\MetaException', + ), + ); + } + if (is_array($vals)) { + if (isset($vals['success'])) { + $this->success = $vals['success']; + } + if (isset($vals['o1'])) { + $this->o1 = $vals['o1']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_get_all_functions_result'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 0: + if ($ftype == TType::STRUCT) { + $this->success = new \metastore\GetAllFunctionsResponse(); + $xfer += $this->success->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + case 1: + if ($ftype == TType::STRUCT) { + $this->o1 = new \metastore\MetaException(); + $xfer += $this->o1->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_all_functions_result'); + if ($this->success !== null) { + if (!is_object($this->success)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0); + $xfer += $this->success->write($output); + $xfer += $output->writeFieldEnd(); + } + if ($this->o1 !== null) { + $xfer += $output->writeFieldBegin('o1', TType::STRUCT, 1); + $xfer += $this->o1->write($output); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class ThriftHiveMetastore_create_role_args { static $_TSPEC; @@ -29013,14 +29216,14 @@ class ThriftHiveMetastore_get_role_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size811 = 0; - $_etype814 = 0; - $xfer += $input->readListBegin($_etype814, $_size811); - for ($_i815 = 0; $_i815 < $_size811; ++$_i815) + $_size818 = 0; + $_etype821 = 0; + $xfer += $input->readListBegin($_etype821, $_size818); + for ($_i822 = 0; $_i822 < $_size818; ++$_i822) { - $elem816 = null; - $xfer += $input->readString($elem816); - $this->success []= $elem816; + $elem823 = null; + $xfer += $input->readString($elem823); + $this->success []= $elem823; } $xfer += $input->readListEnd(); } else { @@ -29056,9 +29259,9 @@ class ThriftHiveMetastore_get_role_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter817) + foreach ($this->success as $iter824) { - $xfer += $output->writeString($iter817); + $xfer += $output->writeString($iter824); } } $output->writeListEnd(); @@ -29698,15 +29901,15 @@ class ThriftHiveMetastore_list_roles_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size818 = 0; - $_etype821 = 0; - $xfer += $input->readListBegin($_etype821, $_size818); - for ($_i822 = 0; $_i822 < $_size818; ++$_i822) + $_size825 = 0; + $_etype828 = 0; + $xfer += $input->readListBegin($_etype828, $_size825); + for ($_i829 = 0; $_i829 < $_size825; ++$_i829) { - $elem823 = null; - $elem823 = new \metastore\Role(); - $xfer += $elem823->read($input); - $this->success []= $elem823; + $elem830 = null; + $elem830 = new \metastore\Role(); + $xfer += $elem830->read($input); + $this->success []= $elem830; } $xfer += $input->readListEnd(); } else { @@ -29742,9 +29945,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter824) + foreach ($this->success as $iter831) { - $xfer += $iter824->write($output); + $xfer += $iter831->write($output); } } $output->writeListEnd(); @@ -30370,14 +30573,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size825 = 0; - $_etype828 = 0; - $xfer += $input->readListBegin($_etype828, $_size825); - for ($_i829 = 0; $_i829 < $_size825; ++$_i829) + $_size832 = 0; + $_etype835 = 0; + $xfer += $input->readListBegin($_etype835, $_size832); + for ($_i836 = 0; $_i836 < $_size832; ++$_i836) { - $elem830 = null; - $xfer += $input->readString($elem830); - $this->group_names []= $elem830; + $elem837 = null; + $xfer += $input->readString($elem837); + $this->group_names []= $elem837; } $xfer += $input->readListEnd(); } else { @@ -30418,9 +30621,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter831) + foreach ($this->group_names as $iter838) { - $xfer += $output->writeString($iter831); + $xfer += $output->writeString($iter838); } } $output->writeListEnd(); @@ -30707,15 +30910,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size832 = 0; - $_etype835 = 0; - $xfer += $input->readListBegin($_etype835, $_size832); - for ($_i836 = 0; $_i836 < $_size832; ++$_i836) + $_size839 = 0; + $_etype842 = 0; + $xfer += $input->readListBegin($_etype842, $_size839); + for ($_i843 = 0; $_i843 < $_size839; ++$_i843) { - $elem837 = null; - $elem837 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem837->read($input); - $this->success []= $elem837; + $elem844 = null; + $elem844 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem844->read($input); + $this->success []= $elem844; } $xfer += $input->readListEnd(); } else { @@ -30751,9 +30954,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter838) + foreach ($this->success as $iter845) { - $xfer += $iter838->write($output); + $xfer += $iter845->write($output); } } $output->writeListEnd(); @@ -31352,14 +31555,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size839 = 0; - $_etype842 = 0; - $xfer += $input->readListBegin($_etype842, $_size839); - for ($_i843 = 0; $_i843 < $_size839; ++$_i843) + $_size846 = 0; + $_etype849 = 0; + $xfer += $input->readListBegin($_etype849, $_size846); + for ($_i850 = 0; $_i850 < $_size846; ++$_i850) { - $elem844 = null; - $xfer += $input->readString($elem844); - $this->group_names []= $elem844; + $elem851 = null; + $xfer += $input->readString($elem851); + $this->group_names []= $elem851; } $xfer += $input->readListEnd(); } else { @@ -31392,9 +31595,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter845) + foreach ($this->group_names as $iter852) { - $xfer += $output->writeString($iter845); + $xfer += $output->writeString($iter852); } } $output->writeListEnd(); @@ -31464,14 +31667,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size846 = 0; - $_etype849 = 0; - $xfer += $input->readListBegin($_etype849, $_size846); - for ($_i850 = 0; $_i850 < $_size846; ++$_i850) + $_size853 = 0; + $_etype856 = 0; + $xfer += $input->readListBegin($_etype856, $_size853); + for ($_i857 = 0; $_i857 < $_size853; ++$_i857) { - $elem851 = null; - $xfer += $input->readString($elem851); - $this->success []= $elem851; + $elem858 = null; + $xfer += $input->readString($elem858); + $this->success []= $elem858; } $xfer += $input->readListEnd(); } else { @@ -31507,9 +31710,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter852) + foreach ($this->success as $iter859) { - $xfer += $output->writeString($iter852); + $xfer += $output->writeString($iter859); } } $output->writeListEnd(); diff --git metastore/src/gen/thrift/gen-php/metastore/Types.php metastore/src/gen/thrift/gen-php/metastore/Types.php index a1ce8cd..9d94810 100644 --- metastore/src/gen/thrift/gen-php/metastore/Types.php +++ metastore/src/gen/thrift/gen-php/metastore/Types.php @@ -12948,6 +12948,106 @@ class FireEventResponse { } +class GetAllFunctionsResponse { + static $_TSPEC; + + public $functions = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'functions', + 'type' => TType::LST, + 'etype' => TType::STRUCT, + 'elem' => array( + 'type' => TType::STRUCT, + 'class' => '\metastore\Function', + ), + ), + ); + } + if (is_array($vals)) { + if (isset($vals['functions'])) { + $this->functions = $vals['functions']; + } + } + } + + public function getName() { + return 'GetAllFunctionsResponse'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 1: + if ($ftype == TType::LST) { + $this->functions = array(); + $_size465 = 0; + $_etype468 = 0; + $xfer += $input->readListBegin($_etype468, $_size465); + for ($_i469 = 0; $_i469 < $_size465; ++$_i469) + { + $elem470 = null; + $elem470 = new \metastore\Function(); + $xfer += $elem470->read($input); + $this->functions []= $elem470; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('GetAllFunctionsResponse'); + if ($this->functions !== null) { + if (!is_array($this->functions)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('functions', TType::LST, 1); + { + $output->writeListBegin(TType::STRUCT, count($this->functions)); + { + foreach ($this->functions as $iter471) + { + $xfer += $iter471->write($output); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class MetaException extends TException { static $_TSPEC; diff --git metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote old mode 100644 new mode 100755 index 36aced3..edca0c9 --- metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote +++ metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote @@ -111,6 +111,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print ' void alter_function(string dbName, string funcName, Function newFunc)' print ' get_functions(string dbName, string pattern)' print ' Function get_function(string dbName, string funcName)' + print ' GetAllFunctionsResponse get_all_functions()' print ' bool create_role(Role role)' print ' bool drop_role(string role_name)' print ' get_role_names()' @@ -725,6 +726,12 @@ elif cmd == 'get_function': sys.exit(1) pp.pprint(client.get_function(args[0],args[1],)) +elif cmd == 'get_all_functions': + if len(args) != 0: + print 'get_all_functions requires 0 args' + sys.exit(1) + pp.pprint(client.get_all_functions()) + elif cmd == 'create_role': if len(args) != 1: print 'create_role requires 1 args' diff --git metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py index 4cc54e8..a04cc89 100644 --- metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -775,6 +775,9 @@ def get_function(self, dbName, funcName): """ pass + def get_all_functions(self, ): + pass + def create_role(self, role): """ Parameters: @@ -4325,6 +4328,33 @@ def recv_get_function(self, ): raise result.o2 raise TApplicationException(TApplicationException.MISSING_RESULT, "get_function failed: unknown result"); + def get_all_functions(self, ): + self.send_get_all_functions() + return self.recv_get_all_functions() + + def send_get_all_functions(self, ): + self._oprot.writeMessageBegin('get_all_functions', TMessageType.CALL, self._seqid) + args = get_all_functions_args() + args.write(self._oprot) + self._oprot.writeMessageEnd() + self._oprot.trans.flush() + + def recv_get_all_functions(self, ): + (fname, mtype, rseqid) = self._iprot.readMessageBegin() + if mtype == TMessageType.EXCEPTION: + x = TApplicationException() + x.read(self._iprot) + self._iprot.readMessageEnd() + raise x + result = get_all_functions_result() + result.read(self._iprot) + self._iprot.readMessageEnd() + if result.success is not None: + return result.success + if result.o1 is not None: + raise result.o1 + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_all_functions failed: unknown result"); + def create_role(self, role): """ Parameters: @@ -5527,6 +5557,7 @@ def __init__(self, handler): self._processMap["alter_function"] = Processor.process_alter_function self._processMap["get_functions"] = Processor.process_get_functions self._processMap["get_function"] = Processor.process_get_function + self._processMap["get_all_functions"] = Processor.process_get_all_functions self._processMap["create_role"] = Processor.process_create_role self._processMap["drop_role"] = Processor.process_drop_role self._processMap["get_role_names"] = Processor.process_get_role_names @@ -7056,6 +7087,20 @@ def process_get_function(self, seqid, iprot, oprot): oprot.writeMessageEnd() oprot.trans.flush() + def process_get_all_functions(self, seqid, iprot, oprot): + args = get_all_functions_args() + args.read(iprot) + iprot.readMessageEnd() + result = get_all_functions_result() + try: + result.success = self._handler.get_all_functions() + except MetaException as o1: + result.o1 = o1 + oprot.writeMessageBegin("get_all_functions", TMessageType.REPLY, seqid) + result.write(oprot) + oprot.writeMessageEnd() + oprot.trans.flush() + def process_create_role(self, seqid, iprot, oprot): args = create_role_args() args.read(iprot) @@ -8353,10 +8398,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype465, _size462) = iprot.readListBegin() - for _i466 in xrange(_size462): - _elem467 = iprot.readString(); - self.success.append(_elem467) + (_etype472, _size469) = iprot.readListBegin() + for _i473 in xrange(_size469): + _elem474 = iprot.readString(); + self.success.append(_elem474) iprot.readListEnd() else: iprot.skip(ftype) @@ -8379,8 +8424,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter468 in self.success: - oprot.writeString(iter468) + for iter475 in self.success: + oprot.writeString(iter475) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -8475,10 +8520,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype472, _size469) = iprot.readListBegin() - for _i473 in xrange(_size469): - _elem474 = iprot.readString(); - self.success.append(_elem474) + (_etype479, _size476) = iprot.readListBegin() + for _i480 in xrange(_size476): + _elem481 = iprot.readString(); + self.success.append(_elem481) iprot.readListEnd() else: iprot.skip(ftype) @@ -8501,8 +8546,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter475 in self.success: - oprot.writeString(iter475) + for iter482 in self.success: + oprot.writeString(iter482) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -9212,12 +9257,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype477, _vtype478, _size476 ) = iprot.readMapBegin() - for _i480 in xrange(_size476): - _key481 = iprot.readString(); - _val482 = Type() - _val482.read(iprot) - self.success[_key481] = _val482 + (_ktype484, _vtype485, _size483 ) = iprot.readMapBegin() + for _i487 in xrange(_size483): + _key488 = iprot.readString(); + _val489 = Type() + _val489.read(iprot) + self.success[_key488] = _val489 iprot.readMapEnd() else: iprot.skip(ftype) @@ -9240,9 +9285,9 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.MAP, 0) oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success)) - for kiter483,viter484 in self.success.items(): - oprot.writeString(kiter483) - viter484.write(oprot) + for kiter490,viter491 in self.success.items(): + oprot.writeString(kiter490) + viter491.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -9373,11 +9418,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype488, _size485) = iprot.readListBegin() - for _i489 in xrange(_size485): - _elem490 = FieldSchema() - _elem490.read(iprot) - self.success.append(_elem490) + (_etype495, _size492) = iprot.readListBegin() + for _i496 in xrange(_size492): + _elem497 = FieldSchema() + _elem497.read(iprot) + self.success.append(_elem497) iprot.readListEnd() else: iprot.skip(ftype) @@ -9412,8 +9457,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter491 in self.success: - iter491.write(oprot) + for iter498 in self.success: + iter498.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -9565,11 +9610,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype495, _size492) = iprot.readListBegin() - for _i496 in xrange(_size492): - _elem497 = FieldSchema() - _elem497.read(iprot) - self.success.append(_elem497) + (_etype502, _size499) = iprot.readListBegin() + for _i503 in xrange(_size499): + _elem504 = FieldSchema() + _elem504.read(iprot) + self.success.append(_elem504) iprot.readListEnd() else: iprot.skip(ftype) @@ -9604,8 +9649,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter498 in self.success: - iter498.write(oprot) + for iter505 in self.success: + iter505.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -9744,11 +9789,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype502, _size499) = iprot.readListBegin() - for _i503 in xrange(_size499): - _elem504 = FieldSchema() - _elem504.read(iprot) - self.success.append(_elem504) + (_etype509, _size506) = iprot.readListBegin() + for _i510 in xrange(_size506): + _elem511 = FieldSchema() + _elem511.read(iprot) + self.success.append(_elem511) iprot.readListEnd() else: iprot.skip(ftype) @@ -9783,8 +9828,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter505 in self.success: - iter505.write(oprot) + for iter512 in self.success: + iter512.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -9936,11 +9981,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype509, _size506) = iprot.readListBegin() - for _i510 in xrange(_size506): - _elem511 = FieldSchema() - _elem511.read(iprot) - self.success.append(_elem511) + (_etype516, _size513) = iprot.readListBegin() + for _i517 in xrange(_size513): + _elem518 = FieldSchema() + _elem518.read(iprot) + self.success.append(_elem518) iprot.readListEnd() else: iprot.skip(ftype) @@ -9975,8 +10020,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter512 in self.success: - iter512.write(oprot) + for iter519 in self.success: + iter519.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -10773,10 +10818,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype516, _size513) = iprot.readListBegin() - for _i517 in xrange(_size513): - _elem518 = iprot.readString(); - self.success.append(_elem518) + (_etype523, _size520) = iprot.readListBegin() + for _i524 in xrange(_size520): + _elem525 = iprot.readString(); + self.success.append(_elem525) iprot.readListEnd() else: iprot.skip(ftype) @@ -10799,8 +10844,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter519 in self.success: - oprot.writeString(iter519) + for iter526 in self.success: + oprot.writeString(iter526) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -10913,10 +10958,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype523, _size520) = iprot.readListBegin() - for _i524 in xrange(_size520): - _elem525 = iprot.readString(); - self.success.append(_elem525) + (_etype530, _size527) = iprot.readListBegin() + for _i531 in xrange(_size527): + _elem532 = iprot.readString(); + self.success.append(_elem532) iprot.readListEnd() else: iprot.skip(ftype) @@ -10939,8 +10984,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter526 in self.success: - oprot.writeString(iter526) + for iter533 in self.success: + oprot.writeString(iter533) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -11157,10 +11202,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype530, _size527) = iprot.readListBegin() - for _i531 in xrange(_size527): - _elem532 = iprot.readString(); - self.tbl_names.append(_elem532) + (_etype537, _size534) = iprot.readListBegin() + for _i538 in xrange(_size534): + _elem539 = iprot.readString(); + self.tbl_names.append(_elem539) iprot.readListEnd() else: iprot.skip(ftype) @@ -11181,8 +11226,8 @@ def write(self, oprot): if self.tbl_names is not None: oprot.writeFieldBegin('tbl_names', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.tbl_names)) - for iter533 in self.tbl_names: - oprot.writeString(iter533) + for iter540 in self.tbl_names: + oprot.writeString(iter540) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11237,11 +11282,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype537, _size534) = iprot.readListBegin() - for _i538 in xrange(_size534): - _elem539 = Table() - _elem539.read(iprot) - self.success.append(_elem539) + (_etype544, _size541) = iprot.readListBegin() + for _i545 in xrange(_size541): + _elem546 = Table() + _elem546.read(iprot) + self.success.append(_elem546) iprot.readListEnd() else: iprot.skip(ftype) @@ -11276,8 +11321,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter540 in self.success: - iter540.write(oprot) + for iter547 in self.success: + iter547.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -11428,10 +11473,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype544, _size541) = iprot.readListBegin() - for _i545 in xrange(_size541): - _elem546 = iprot.readString(); - self.success.append(_elem546) + (_etype551, _size548) = iprot.readListBegin() + for _i552 in xrange(_size548): + _elem553 = iprot.readString(); + self.success.append(_elem553) iprot.readListEnd() else: iprot.skip(ftype) @@ -11466,8 +11511,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter547 in self.success: - oprot.writeString(iter547) + for iter554 in self.success: + oprot.writeString(iter554) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -12361,11 +12406,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype551, _size548) = iprot.readListBegin() - for _i552 in xrange(_size548): - _elem553 = Partition() - _elem553.read(iprot) - self.new_parts.append(_elem553) + (_etype558, _size555) = iprot.readListBegin() + for _i559 in xrange(_size555): + _elem560 = Partition() + _elem560.read(iprot) + self.new_parts.append(_elem560) iprot.readListEnd() else: iprot.skip(ftype) @@ -12382,8 +12427,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter554 in self.new_parts: - iter554.write(oprot) + for iter561 in self.new_parts: + iter561.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12528,11 +12573,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype558, _size555) = iprot.readListBegin() - for _i559 in xrange(_size555): - _elem560 = PartitionSpec() - _elem560.read(iprot) - self.new_parts.append(_elem560) + (_etype565, _size562) = iprot.readListBegin() + for _i566 in xrange(_size562): + _elem567 = PartitionSpec() + _elem567.read(iprot) + self.new_parts.append(_elem567) iprot.readListEnd() else: iprot.skip(ftype) @@ -12549,8 +12594,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter561 in self.new_parts: - iter561.write(oprot) + for iter568 in self.new_parts: + iter568.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12711,10 +12756,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype565, _size562) = iprot.readListBegin() - for _i566 in xrange(_size562): - _elem567 = iprot.readString(); - self.part_vals.append(_elem567) + (_etype572, _size569) = iprot.readListBegin() + for _i573 in xrange(_size569): + _elem574 = iprot.readString(); + self.part_vals.append(_elem574) iprot.readListEnd() else: iprot.skip(ftype) @@ -12739,8 +12784,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter568 in self.part_vals: - oprot.writeString(iter568) + for iter575 in self.part_vals: + oprot.writeString(iter575) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13065,10 +13110,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype572, _size569) = iprot.readListBegin() - for _i573 in xrange(_size569): - _elem574 = iprot.readString(); - self.part_vals.append(_elem574) + (_etype579, _size576) = iprot.readListBegin() + for _i580 in xrange(_size576): + _elem581 = iprot.readString(); + self.part_vals.append(_elem581) iprot.readListEnd() else: iprot.skip(ftype) @@ -13099,8 +13144,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter575 in self.part_vals: - oprot.writeString(iter575) + for iter582 in self.part_vals: + oprot.writeString(iter582) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -13648,10 +13693,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype579, _size576) = iprot.readListBegin() - for _i580 in xrange(_size576): - _elem581 = iprot.readString(); - self.part_vals.append(_elem581) + (_etype586, _size583) = iprot.readListBegin() + for _i587 in xrange(_size583): + _elem588 = iprot.readString(); + self.part_vals.append(_elem588) iprot.readListEnd() else: iprot.skip(ftype) @@ -13681,8 +13726,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter582 in self.part_vals: - oprot.writeString(iter582) + for iter589 in self.part_vals: + oprot.writeString(iter589) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -13840,10 +13885,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype586, _size583) = iprot.readListBegin() - for _i587 in xrange(_size583): - _elem588 = iprot.readString(); - self.part_vals.append(_elem588) + (_etype593, _size590) = iprot.readListBegin() + for _i594 in xrange(_size590): + _elem595 = iprot.readString(); + self.part_vals.append(_elem595) iprot.readListEnd() else: iprot.skip(ftype) @@ -13879,8 +13924,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter589 in self.part_vals: - oprot.writeString(iter589) + for iter596 in self.part_vals: + oprot.writeString(iter596) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -14558,10 +14603,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype593, _size590) = iprot.readListBegin() - for _i594 in xrange(_size590): - _elem595 = iprot.readString(); - self.part_vals.append(_elem595) + (_etype600, _size597) = iprot.readListBegin() + for _i601 in xrange(_size597): + _elem602 = iprot.readString(); + self.part_vals.append(_elem602) iprot.readListEnd() else: iprot.skip(ftype) @@ -14586,8 +14631,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter596 in self.part_vals: - oprot.writeString(iter596) + for iter603 in self.part_vals: + oprot.writeString(iter603) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14732,11 +14777,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype598, _vtype599, _size597 ) = iprot.readMapBegin() - for _i601 in xrange(_size597): - _key602 = iprot.readString(); - _val603 = iprot.readString(); - self.partitionSpecs[_key602] = _val603 + (_ktype605, _vtype606, _size604 ) = iprot.readMapBegin() + for _i608 in xrange(_size604): + _key609 = iprot.readString(); + _val610 = iprot.readString(); + self.partitionSpecs[_key609] = _val610 iprot.readMapEnd() else: iprot.skip(ftype) @@ -14773,9 +14818,9 @@ def write(self, oprot): if self.partitionSpecs is not None: oprot.writeFieldBegin('partitionSpecs', TType.MAP, 1) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.partitionSpecs)) - for kiter604,viter605 in self.partitionSpecs.items(): - oprot.writeString(kiter604) - oprot.writeString(viter605) + for kiter611,viter612 in self.partitionSpecs.items(): + oprot.writeString(kiter611) + oprot.writeString(viter612) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -14972,10 +15017,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype609, _size606) = iprot.readListBegin() - for _i610 in xrange(_size606): - _elem611 = iprot.readString(); - self.part_vals.append(_elem611) + (_etype616, _size613) = iprot.readListBegin() + for _i617 in xrange(_size613): + _elem618 = iprot.readString(); + self.part_vals.append(_elem618) iprot.readListEnd() else: iprot.skip(ftype) @@ -14987,10 +15032,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype615, _size612) = iprot.readListBegin() - for _i616 in xrange(_size612): - _elem617 = iprot.readString(); - self.group_names.append(_elem617) + (_etype622, _size619) = iprot.readListBegin() + for _i623 in xrange(_size619): + _elem624 = iprot.readString(); + self.group_names.append(_elem624) iprot.readListEnd() else: iprot.skip(ftype) @@ -15015,8 +15060,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter618 in self.part_vals: - oprot.writeString(iter618) + for iter625 in self.part_vals: + oprot.writeString(iter625) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -15026,8 +15071,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter619 in self.group_names: - oprot.writeString(iter619) + for iter626 in self.group_names: + oprot.writeString(iter626) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15419,11 +15464,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype623, _size620) = iprot.readListBegin() - for _i624 in xrange(_size620): - _elem625 = Partition() - _elem625.read(iprot) - self.success.append(_elem625) + (_etype630, _size627) = iprot.readListBegin() + for _i631 in xrange(_size627): + _elem632 = Partition() + _elem632.read(iprot) + self.success.append(_elem632) iprot.readListEnd() else: iprot.skip(ftype) @@ -15452,8 +15497,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter626 in self.success: - iter626.write(oprot) + for iter633 in self.success: + iter633.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15540,10 +15585,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype630, _size627) = iprot.readListBegin() - for _i631 in xrange(_size627): - _elem632 = iprot.readString(); - self.group_names.append(_elem632) + (_etype637, _size634) = iprot.readListBegin() + for _i638 in xrange(_size634): + _elem639 = iprot.readString(); + self.group_names.append(_elem639) iprot.readListEnd() else: iprot.skip(ftype) @@ -15576,8 +15621,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter633 in self.group_names: - oprot.writeString(iter633) + for iter640 in self.group_names: + oprot.writeString(iter640) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15629,11 +15674,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype637, _size634) = iprot.readListBegin() - for _i638 in xrange(_size634): - _elem639 = Partition() - _elem639.read(iprot) - self.success.append(_elem639) + (_etype644, _size641) = iprot.readListBegin() + for _i645 in xrange(_size641): + _elem646 = Partition() + _elem646.read(iprot) + self.success.append(_elem646) iprot.readListEnd() else: iprot.skip(ftype) @@ -15662,8 +15707,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter640 in self.success: - iter640.write(oprot) + for iter647 in self.success: + iter647.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15807,11 +15852,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype644, _size641) = iprot.readListBegin() - for _i645 in xrange(_size641): - _elem646 = PartitionSpec() - _elem646.read(iprot) - self.success.append(_elem646) + (_etype651, _size648) = iprot.readListBegin() + for _i652 in xrange(_size648): + _elem653 = PartitionSpec() + _elem653.read(iprot) + self.success.append(_elem653) iprot.readListEnd() else: iprot.skip(ftype) @@ -15840,8 +15885,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter647 in self.success: - iter647.write(oprot) + for iter654 in self.success: + iter654.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15982,10 +16027,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype651, _size648) = iprot.readListBegin() - for _i652 in xrange(_size648): - _elem653 = iprot.readString(); - self.success.append(_elem653) + (_etype658, _size655) = iprot.readListBegin() + for _i659 in xrange(_size655): + _elem660 = iprot.readString(); + self.success.append(_elem660) iprot.readListEnd() else: iprot.skip(ftype) @@ -16008,8 +16053,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter654 in self.success: - oprot.writeString(iter654) + for iter661 in self.success: + oprot.writeString(iter661) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -16079,10 +16124,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype658, _size655) = iprot.readListBegin() - for _i659 in xrange(_size655): - _elem660 = iprot.readString(); - self.part_vals.append(_elem660) + (_etype665, _size662) = iprot.readListBegin() + for _i666 in xrange(_size662): + _elem667 = iprot.readString(); + self.part_vals.append(_elem667) iprot.readListEnd() else: iprot.skip(ftype) @@ -16112,8 +16157,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter661 in self.part_vals: - oprot.writeString(iter661) + for iter668 in self.part_vals: + oprot.writeString(iter668) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -16169,11 +16214,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype665, _size662) = iprot.readListBegin() - for _i666 in xrange(_size662): - _elem667 = Partition() - _elem667.read(iprot) - self.success.append(_elem667) + (_etype672, _size669) = iprot.readListBegin() + for _i673 in xrange(_size669): + _elem674 = Partition() + _elem674.read(iprot) + self.success.append(_elem674) iprot.readListEnd() else: iprot.skip(ftype) @@ -16202,8 +16247,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter668 in self.success: - iter668.write(oprot) + for iter675 in self.success: + iter675.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16283,10 +16328,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype672, _size669) = iprot.readListBegin() - for _i673 in xrange(_size669): - _elem674 = iprot.readString(); - self.part_vals.append(_elem674) + (_etype679, _size676) = iprot.readListBegin() + for _i680 in xrange(_size676): + _elem681 = iprot.readString(); + self.part_vals.append(_elem681) iprot.readListEnd() else: iprot.skip(ftype) @@ -16303,10 +16348,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype678, _size675) = iprot.readListBegin() - for _i679 in xrange(_size675): - _elem680 = iprot.readString(); - self.group_names.append(_elem680) + (_etype685, _size682) = iprot.readListBegin() + for _i686 in xrange(_size682): + _elem687 = iprot.readString(); + self.group_names.append(_elem687) iprot.readListEnd() else: iprot.skip(ftype) @@ -16331,8 +16376,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter681 in self.part_vals: - oprot.writeString(iter681) + for iter688 in self.part_vals: + oprot.writeString(iter688) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -16346,8 +16391,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 6) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter682 in self.group_names: - oprot.writeString(iter682) + for iter689 in self.group_names: + oprot.writeString(iter689) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16399,11 +16444,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype686, _size683) = iprot.readListBegin() - for _i687 in xrange(_size683): - _elem688 = Partition() - _elem688.read(iprot) - self.success.append(_elem688) + (_etype693, _size690) = iprot.readListBegin() + for _i694 in xrange(_size690): + _elem695 = Partition() + _elem695.read(iprot) + self.success.append(_elem695) iprot.readListEnd() else: iprot.skip(ftype) @@ -16432,8 +16477,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter689 in self.success: - iter689.write(oprot) + for iter696 in self.success: + iter696.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16507,10 +16552,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype693, _size690) = iprot.readListBegin() - for _i694 in xrange(_size690): - _elem695 = iprot.readString(); - self.part_vals.append(_elem695) + (_etype700, _size697) = iprot.readListBegin() + for _i701 in xrange(_size697): + _elem702 = iprot.readString(); + self.part_vals.append(_elem702) iprot.readListEnd() else: iprot.skip(ftype) @@ -16540,8 +16585,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter696 in self.part_vals: - oprot.writeString(iter696) + for iter703 in self.part_vals: + oprot.writeString(iter703) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -16597,10 +16642,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype700, _size697) = iprot.readListBegin() - for _i701 in xrange(_size697): - _elem702 = iprot.readString(); - self.success.append(_elem702) + (_etype707, _size704) = iprot.readListBegin() + for _i708 in xrange(_size704): + _elem709 = iprot.readString(); + self.success.append(_elem709) iprot.readListEnd() else: iprot.skip(ftype) @@ -16629,8 +16674,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter703 in self.success: - oprot.writeString(iter703) + for iter710 in self.success: + oprot.writeString(iter710) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16786,11 +16831,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype707, _size704) = iprot.readListBegin() - for _i708 in xrange(_size704): - _elem709 = Partition() - _elem709.read(iprot) - self.success.append(_elem709) + (_etype714, _size711) = iprot.readListBegin() + for _i715 in xrange(_size711): + _elem716 = Partition() + _elem716.read(iprot) + self.success.append(_elem716) iprot.readListEnd() else: iprot.skip(ftype) @@ -16819,8 +16864,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter710 in self.success: - iter710.write(oprot) + for iter717 in self.success: + iter717.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16976,11 +17021,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype714, _size711) = iprot.readListBegin() - for _i715 in xrange(_size711): - _elem716 = PartitionSpec() - _elem716.read(iprot) - self.success.append(_elem716) + (_etype721, _size718) = iprot.readListBegin() + for _i722 in xrange(_size718): + _elem723 = PartitionSpec() + _elem723.read(iprot) + self.success.append(_elem723) iprot.readListEnd() else: iprot.skip(ftype) @@ -17009,8 +17054,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter717 in self.success: - iter717.write(oprot) + for iter724 in self.success: + iter724.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17228,10 +17273,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype721, _size718) = iprot.readListBegin() - for _i722 in xrange(_size718): - _elem723 = iprot.readString(); - self.names.append(_elem723) + (_etype728, _size725) = iprot.readListBegin() + for _i729 in xrange(_size725): + _elem730 = iprot.readString(); + self.names.append(_elem730) iprot.readListEnd() else: iprot.skip(ftype) @@ -17256,8 +17301,8 @@ def write(self, oprot): if self.names is not None: oprot.writeFieldBegin('names', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.names)) - for iter724 in self.names: - oprot.writeString(iter724) + for iter731 in self.names: + oprot.writeString(iter731) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17309,11 +17354,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype728, _size725) = iprot.readListBegin() - for _i729 in xrange(_size725): - _elem730 = Partition() - _elem730.read(iprot) - self.success.append(_elem730) + (_etype735, _size732) = iprot.readListBegin() + for _i736 in xrange(_size732): + _elem737 = Partition() + _elem737.read(iprot) + self.success.append(_elem737) iprot.readListEnd() else: iprot.skip(ftype) @@ -17342,8 +17387,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter731 in self.success: - iter731.write(oprot) + for iter738 in self.success: + iter738.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17573,11 +17618,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype735, _size732) = iprot.readListBegin() - for _i736 in xrange(_size732): - _elem737 = Partition() - _elem737.read(iprot) - self.new_parts.append(_elem737) + (_etype742, _size739) = iprot.readListBegin() + for _i743 in xrange(_size739): + _elem744 = Partition() + _elem744.read(iprot) + self.new_parts.append(_elem744) iprot.readListEnd() else: iprot.skip(ftype) @@ -17602,8 +17647,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter738 in self.new_parts: - iter738.write(oprot) + for iter745 in self.new_parts: + iter745.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17915,10 +17960,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype742, _size739) = iprot.readListBegin() - for _i743 in xrange(_size739): - _elem744 = iprot.readString(); - self.part_vals.append(_elem744) + (_etype749, _size746) = iprot.readListBegin() + for _i750 in xrange(_size746): + _elem751 = iprot.readString(); + self.part_vals.append(_elem751) iprot.readListEnd() else: iprot.skip(ftype) @@ -17949,8 +17994,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter745 in self.part_vals: - oprot.writeString(iter745) + for iter752 in self.part_vals: + oprot.writeString(iter752) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -18078,10 +18123,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype749, _size746) = iprot.readListBegin() - for _i750 in xrange(_size746): - _elem751 = iprot.readString(); - self.part_vals.append(_elem751) + (_etype756, _size753) = iprot.readListBegin() + for _i757 in xrange(_size753): + _elem758 = iprot.readString(); + self.part_vals.append(_elem758) iprot.readListEnd() else: iprot.skip(ftype) @@ -18103,8 +18148,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter752 in self.part_vals: - oprot.writeString(iter752) + for iter759 in self.part_vals: + oprot.writeString(iter759) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -18433,10 +18478,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype756, _size753) = iprot.readListBegin() - for _i757 in xrange(_size753): - _elem758 = iprot.readString(); - self.success.append(_elem758) + (_etype763, _size760) = iprot.readListBegin() + for _i764 in xrange(_size760): + _elem765 = iprot.readString(); + self.success.append(_elem765) iprot.readListEnd() else: iprot.skip(ftype) @@ -18459,8 +18504,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter759 in self.success: - oprot.writeString(iter759) + for iter766 in self.success: + oprot.writeString(iter766) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18573,11 +18618,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype761, _vtype762, _size760 ) = iprot.readMapBegin() - for _i764 in xrange(_size760): - _key765 = iprot.readString(); - _val766 = iprot.readString(); - self.success[_key765] = _val766 + (_ktype768, _vtype769, _size767 ) = iprot.readMapBegin() + for _i771 in xrange(_size767): + _key772 = iprot.readString(); + _val773 = iprot.readString(); + self.success[_key772] = _val773 iprot.readMapEnd() else: iprot.skip(ftype) @@ -18600,9 +18645,9 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.MAP, 0) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.success)) - for kiter767,viter768 in self.success.items(): - oprot.writeString(kiter767) - oprot.writeString(viter768) + for kiter774,viter775 in self.success.items(): + oprot.writeString(kiter774) + oprot.writeString(viter775) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18672,11 +18717,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype770, _vtype771, _size769 ) = iprot.readMapBegin() - for _i773 in xrange(_size769): - _key774 = iprot.readString(); - _val775 = iprot.readString(); - self.part_vals[_key774] = _val775 + (_ktype777, _vtype778, _size776 ) = iprot.readMapBegin() + for _i780 in xrange(_size776): + _key781 = iprot.readString(); + _val782 = iprot.readString(); + self.part_vals[_key781] = _val782 iprot.readMapEnd() else: iprot.skip(ftype) @@ -18706,9 +18751,9 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.MAP, 3) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.part_vals)) - for kiter776,viter777 in self.part_vals.items(): - oprot.writeString(kiter776) - oprot.writeString(viter777) + for kiter783,viter784 in self.part_vals.items(): + oprot.writeString(kiter783) + oprot.writeString(viter784) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -18904,11 +18949,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype779, _vtype780, _size778 ) = iprot.readMapBegin() - for _i782 in xrange(_size778): - _key783 = iprot.readString(); - _val784 = iprot.readString(); - self.part_vals[_key783] = _val784 + (_ktype786, _vtype787, _size785 ) = iprot.readMapBegin() + for _i789 in xrange(_size785): + _key790 = iprot.readString(); + _val791 = iprot.readString(); + self.part_vals[_key790] = _val791 iprot.readMapEnd() else: iprot.skip(ftype) @@ -18938,9 +18983,9 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.MAP, 3) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.part_vals)) - for kiter785,viter786 in self.part_vals.items(): - oprot.writeString(kiter785) - oprot.writeString(viter786) + for kiter792,viter793 in self.part_vals.items(): + oprot.writeString(kiter792) + oprot.writeString(viter793) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -19912,11 +19957,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype790, _size787) = iprot.readListBegin() - for _i791 in xrange(_size787): - _elem792 = Index() - _elem792.read(iprot) - self.success.append(_elem792) + (_etype797, _size794) = iprot.readListBegin() + for _i798 in xrange(_size794): + _elem799 = Index() + _elem799.read(iprot) + self.success.append(_elem799) iprot.readListEnd() else: iprot.skip(ftype) @@ -19945,8 +19990,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter793 in self.success: - iter793.write(oprot) + for iter800 in self.success: + iter800.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20087,10 +20132,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype797, _size794) = iprot.readListBegin() - for _i798 in xrange(_size794): - _elem799 = iprot.readString(); - self.success.append(_elem799) + (_etype804, _size801) = iprot.readListBegin() + for _i805 in xrange(_size801): + _elem806 = iprot.readString(); + self.success.append(_elem806) iprot.readListEnd() else: iprot.skip(ftype) @@ -20113,8 +20158,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter800 in self.success: - oprot.writeString(iter800) + for iter807 in self.success: + oprot.writeString(iter807) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -22468,10 +22513,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype804, _size801) = iprot.readListBegin() - for _i805 in xrange(_size801): - _elem806 = iprot.readString(); - self.success.append(_elem806) + (_etype811, _size808) = iprot.readListBegin() + for _i812 in xrange(_size808): + _elem813 = iprot.readString(); + self.success.append(_elem813) iprot.readListEnd() else: iprot.skip(ftype) @@ -22494,8 +22539,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter807 in self.success: - oprot.writeString(iter807) + for iter814 in self.success: + oprot.writeString(iter814) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22678,6 +22723,121 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class get_all_functions_args: + + thrift_spec = ( + ) + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('get_all_functions_args') + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + +class get_all_functions_result: + """ + Attributes: + - success + - o1 + """ + + thrift_spec = ( + (0, TType.STRUCT, 'success', (GetAllFunctionsResponse, GetAllFunctionsResponse.thrift_spec), None, ), # 0 + (1, TType.STRUCT, 'o1', (MetaException, MetaException.thrift_spec), None, ), # 1 + ) + + def __init__(self, success=None, o1=None,): + self.success = success + self.o1 = o1 + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + if fid == 0: + if ftype == TType.STRUCT: + self.success = GetAllFunctionsResponse() + self.success.read(iprot) + else: + iprot.skip(ftype) + elif fid == 1: + if ftype == TType.STRUCT: + self.o1 = MetaException() + self.o1.read(iprot) + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('get_all_functions_result') + if self.success is not None: + oprot.writeFieldBegin('success', TType.STRUCT, 0) + self.success.write(oprot) + oprot.writeFieldEnd() + if self.o1 is not None: + oprot.writeFieldBegin('o1', TType.STRUCT, 1) + self.o1.write(oprot) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + class create_role_args: """ Attributes: @@ -23013,10 +23173,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype811, _size808) = iprot.readListBegin() - for _i812 in xrange(_size808): - _elem813 = iprot.readString(); - self.success.append(_elem813) + (_etype818, _size815) = iprot.readListBegin() + for _i819 in xrange(_size815): + _elem820 = iprot.readString(); + self.success.append(_elem820) iprot.readListEnd() else: iprot.skip(ftype) @@ -23039,8 +23199,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter814 in self.success: - oprot.writeString(iter814) + for iter821 in self.success: + oprot.writeString(iter821) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -23513,11 +23673,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype818, _size815) = iprot.readListBegin() - for _i819 in xrange(_size815): - _elem820 = Role() - _elem820.read(iprot) - self.success.append(_elem820) + (_etype825, _size822) = iprot.readListBegin() + for _i826 in xrange(_size822): + _elem827 = Role() + _elem827.read(iprot) + self.success.append(_elem827) iprot.readListEnd() else: iprot.skip(ftype) @@ -23540,8 +23700,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter821 in self.success: - iter821.write(oprot) + for iter828 in self.success: + iter828.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24011,10 +24171,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype825, _size822) = iprot.readListBegin() - for _i826 in xrange(_size822): - _elem827 = iprot.readString(); - self.group_names.append(_elem827) + (_etype832, _size829) = iprot.readListBegin() + for _i833 in xrange(_size829): + _elem834 = iprot.readString(); + self.group_names.append(_elem834) iprot.readListEnd() else: iprot.skip(ftype) @@ -24039,8 +24199,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter828 in self.group_names: - oprot.writeString(iter828) + for iter835 in self.group_names: + oprot.writeString(iter835) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -24247,11 +24407,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype832, _size829) = iprot.readListBegin() - for _i833 in xrange(_size829): - _elem834 = HiveObjectPrivilege() - _elem834.read(iprot) - self.success.append(_elem834) + (_etype839, _size836) = iprot.readListBegin() + for _i840 in xrange(_size836): + _elem841 = HiveObjectPrivilege() + _elem841.read(iprot) + self.success.append(_elem841) iprot.readListEnd() else: iprot.skip(ftype) @@ -24274,8 +24434,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter835 in self.success: - iter835.write(oprot) + for iter842 in self.success: + iter842.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24734,10 +24894,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype839, _size836) = iprot.readListBegin() - for _i840 in xrange(_size836): - _elem841 = iprot.readString(); - self.group_names.append(_elem841) + (_etype846, _size843) = iprot.readListBegin() + for _i847 in xrange(_size843): + _elem848 = iprot.readString(); + self.group_names.append(_elem848) iprot.readListEnd() else: iprot.skip(ftype) @@ -24758,8 +24918,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter842 in self.group_names: - oprot.writeString(iter842) + for iter849 in self.group_names: + oprot.writeString(iter849) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -24808,10 +24968,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype846, _size843) = iprot.readListBegin() - for _i847 in xrange(_size843): - _elem848 = iprot.readString(); - self.success.append(_elem848) + (_etype853, _size850) = iprot.readListBegin() + for _i854 in xrange(_size850): + _elem855 = iprot.readString(); + self.success.append(_elem855) iprot.readListEnd() else: iprot.skip(ftype) @@ -24834,8 +24994,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter849 in self.success: - oprot.writeString(iter849) + for iter856 in self.success: + oprot.writeString(iter856) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: diff --git metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py index 6afa506..850ac15 100644 --- metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py +++ metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py @@ -9078,6 +9078,75 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class GetAllFunctionsResponse: + """ + Attributes: + - functions + """ + + thrift_spec = ( + None, # 0 + (1, TType.LIST, 'functions', (TType.STRUCT,(Function, Function.thrift_spec)), None, ), # 1 + ) + + def __init__(self, functions=None,): + self.functions = functions + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + if fid == 1: + if ftype == TType.LIST: + self.functions = [] + (_etype465, _size462) = iprot.readListBegin() + for _i466 in xrange(_size462): + _elem467 = Function() + _elem467.read(iprot) + self.functions.append(_elem467) + iprot.readListEnd() + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('GetAllFunctionsResponse') + if self.functions is not None: + oprot.writeFieldBegin('functions', TType.LIST, 1) + oprot.writeListBegin(TType.STRUCT, len(self.functions)) + for iter468 in self.functions: + iter468.write(oprot) + oprot.writeListEnd() + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + class MetaException(TException): """ Attributes: diff --git metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb index 4ae5d53..03c5197 100644 --- metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb +++ metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb @@ -2231,6 +2231,22 @@ class FireEventResponse ::Thrift::Struct.generate_accessors self end +class GetAllFunctionsResponse + include ::Thrift::Struct, ::Thrift::Struct_Union + FUNCTIONS = 1 + + FIELDS = { + FUNCTIONS => {:type => ::Thrift::Types::LIST, :name => 'functions', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Function}, :optional => true} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self +end + class MetaException < ::Thrift::Exception include ::Thrift::Struct, ::Thrift::Struct_Union def initialize(message=nil) diff --git metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb index edc00d3..0fc17db 100644 --- metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb +++ metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb @@ -1523,6 +1523,22 @@ module ThriftHiveMetastore raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_function failed: unknown result') end + def get_all_functions() + send_get_all_functions() + return recv_get_all_functions() + end + + def send_get_all_functions() + send_message('get_all_functions', Get_all_functions_args) + end + + def recv_get_all_functions() + result = receive_message(Get_all_functions_result) + return result.success unless result.success.nil? + raise result.o1 unless result.o1.nil? + raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_all_functions failed: unknown result') + end + def create_role(role) send_create_role(role) return recv_create_role() @@ -3293,6 +3309,17 @@ module ThriftHiveMetastore write_result(result, oprot, 'get_function', seqid) end + def process_get_all_functions(seqid, iprot, oprot) + args = read_args(iprot, Get_all_functions_args) + result = Get_all_functions_result.new() + begin + result.success = @handler.get_all_functions() + rescue ::MetaException => o1 + result.o1 = o1 + end + write_result(result, oprot, 'get_all_functions', seqid) + end + def process_create_role(seqid, iprot, oprot) args = read_args(iprot, Create_role_args) result = Create_role_result.new() @@ -7143,6 +7170,39 @@ module ThriftHiveMetastore ::Thrift::Struct.generate_accessors self end + class Get_all_functions_args + include ::Thrift::Struct, ::Thrift::Struct_Union + + FIELDS = { + + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + + class Get_all_functions_result + include ::Thrift::Struct, ::Thrift::Struct_Union + SUCCESS = 0 + O1 = 1 + + FIELDS = { + SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::GetAllFunctionsResponse}, + O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::MetaException} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + class Create_role_args include ::Thrift::Struct, ::Thrift::Struct_Union ROLE = 1 diff --git metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java index ee2cea0..13c1e65 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java @@ -68,6 +68,7 @@ import org.apache.hadoop.hive.metastore.api.FireEventRequest; import org.apache.hadoop.hive.metastore.api.FireEventResponse; import org.apache.hadoop.hive.metastore.api.Function; +import org.apache.hadoop.hive.metastore.api.GetAllFunctionsResponse; import org.apache.hadoop.hive.metastore.api.GetOpenTxnsInfoResponse; import org.apache.hadoop.hive.metastore.api.GetOpenTxnsResponse; import org.apache.hadoop.hive.metastore.api.GetPrincipalsInRoleRequest; @@ -5540,6 +5541,26 @@ public void alter_function(String dbName, String funcName, Function newFunc) } @Override + public GetAllFunctionsResponse get_all_functions() + throws MetaException { + GetAllFunctionsResponse response = new GetAllFunctionsResponse(); + startFunction("get_all_functions"); + RawStore ms = getMS(); + List allFunctions = null; + Exception ex = null; + try { + allFunctions = ms.getAllFunctions(); + } catch (Exception e) { + ex = e; + throw newMetaException(e); + } finally { + endFunction("get_all_functions", allFunctions != null, ex); + } + response.setFunctions(allFunctions); + return response; + } + + @Override public Function get_function(String dbName, String funcName) throws MetaException, NoSuchObjectException, TException { startFunction("get_function", ": " + dbName + "." + funcName); diff --git metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java index 66fbfe4..482f278 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java @@ -76,6 +76,7 @@ import org.apache.hadoop.hive.metastore.api.FireEventRequest; import org.apache.hadoop.hive.metastore.api.FireEventResponse; import org.apache.hadoop.hive.metastore.api.Function; +import org.apache.hadoop.hive.metastore.api.GetAllFunctionsResponse; import org.apache.hadoop.hive.metastore.api.GetOpenTxnsInfoResponse; import org.apache.hadoop.hive.metastore.api.GetPrincipalsInRoleRequest; import org.apache.hadoop.hive.metastore.api.GetPrincipalsInRoleResponse; @@ -2044,6 +2045,12 @@ public Function getFunction(String dbName, String funcName) return client.get_functions(dbName, pattern); } + @Override + public GetAllFunctionsResponse getAllFunctions() + throws MetaException, TException { + return client.get_all_functions(); + } + protected void create_table_with_environment_context(Table tbl, EnvironmentContext envContext) throws AlreadyExistsException, InvalidObjectException, MetaException, NoSuchObjectException, TException { diff --git metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java index 9bf4bfb..5fde6d3 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java @@ -37,6 +37,7 @@ import org.apache.hadoop.hive.metastore.api.FireEventRequest; import org.apache.hadoop.hive.metastore.api.FireEventResponse; import org.apache.hadoop.hive.metastore.api.Function; +import org.apache.hadoop.hive.metastore.api.GetAllFunctionsResponse; import org.apache.hadoop.hive.metastore.api.GetOpenTxnsInfoResponse; import org.apache.hadoop.hive.metastore.api.GetPrincipalsInRoleRequest; import org.apache.hadoop.hive.metastore.api.GetPrincipalsInRoleResponse; @@ -1130,6 +1131,9 @@ Function getFunction(String dbName, String funcName) List getFunctions(String dbName, String pattern) throws MetaException, TException; + GetAllFunctionsResponse getAllFunctions() + throws MetaException, TException; + /** * Get a structure that details valid transactions. * @return list of valid transactions diff --git metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java index 39ab9e7..a37fbde 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java @@ -7098,6 +7098,17 @@ private Function convertToFunction(MFunction mfunc) { return func; } + private List convertToFunctions(List mfuncs) { + if (mfuncs == null) { + return null; + } + List functions = new ArrayList<>(); + for (MFunction mfunc : mfuncs) { + functions.add(convertToFunction(mfunc)); + } + return functions; + } + private MFunction convertToMFunction(Function func) throws InvalidObjectException { if (func == null) { return null; @@ -7257,6 +7268,23 @@ public Function getFunction(String dbName, String funcName) throws MetaException } @Override + public List getAllFunctions() throws MetaException { + boolean commited = false; + try { + openTransaction(); + Query query = pm.newQuery(MFunction.class); + List allFunctions = (List) query.execute(); + pm.retrieveAll(allFunctions); + commited = commitTransaction(); + return convertToFunctions(allFunctions); + } finally { + if (!commited) { + rollbackTransaction(); + } + } + } + + @Override public List getFunctions(String dbName, String pattern) throws MetaException { boolean commited = false; Query query = null; diff --git metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java index 2b49eab..7c85eea 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java @@ -551,6 +551,13 @@ public void dropFunction(String dbName, String funcName) public Function getFunction(String dbName, String funcName) throws MetaException; /** + * Retrieve all functions. + * @return + * @throws MetaException + */ + public List getAllFunctions() throws MetaException; + + /** * Retrieve list of function names based on name pattern. * @param dbName * @param pattern diff --git metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java index cf068e4..f184c56 100644 --- metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java +++ metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java @@ -19,6 +19,7 @@ package org.apache.hadoop.hive.metastore; import java.util.ArrayList; +import java.util.Collections; import java.util.List; import java.util.Map; import java.util.SortedSet; @@ -719,6 +720,12 @@ public Function getFunction(String dbName, String funcName) } @Override + public List getAllFunctions() + throws MetaException { + return Collections.emptyList(); + } + + @Override public List getFunctions(String dbName, String pattern) throws MetaException { return objectStore.getFunctions(dbName, pattern); diff --git metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java index ccf928a..83fb4bb 100644 --- metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java +++ metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java @@ -733,6 +733,12 @@ public Function getFunction(String dbName, String funcName) } @Override + public List getAllFunctions() + throws MetaException { + return Collections.emptyList(); + } + + @Override public List getFunctions(String dbName, String pattern) throws MetaException { return Collections.emptyList(); diff --git ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java index 00125fa..5840802 100644 --- ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java +++ ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java @@ -171,17 +171,16 @@ public synchronized void remove() { public static void reloadFunctions() throws HiveException { Hive db = Hive.get(); - for (String dbName : db.getAllDatabases()) { - for (String functionName : db.getFunctions(dbName, "*")) { - Function function = db.getFunction(dbName, functionName); - try { - FunctionRegistry.registerPermanentFunction( - FunctionUtils.qualifyFunctionName(functionName, dbName), function.getClassName(), - false, FunctionTask.toFunctionResource(function.getResourceUris())); - } catch (Exception e) { - LOG.warn("Failed to register persistent function " + - functionName + ":" + function.getClassName() + ". Ignore and continue."); - } + for (Function function : db.getAllFunctions()) { + String functionName = function.getFunctionName(); + try { + LOG.info("Registering function " + functionName + " " + function.getClassName()); + FunctionRegistry.registerPermanentFunction( + FunctionUtils.qualifyFunctionName(functionName, function.getDbName()), function.getClassName(), + false, FunctionTask.toFunctionResource(function.getResourceUris())); + } catch (Exception e) { + LOG.warn("Failed to register persistent function " + + functionName + ":" + function.getClassName() + ". Ignore and continue."); } } } @@ -3245,6 +3244,15 @@ public Function getFunction(String dbName, String funcName) throws HiveException } } + public List getAllFunctions() throws HiveException { + try { + List functions = getMSC().getAllFunctions().getFunctions(); + return functions == null ? new ArrayList() : functions; + } catch (TException te) { + throw new HiveException(te); + } + } + public List getFunctions(String dbName, String pattern) throws HiveException { try { return getMSC().getFunctions(dbName, pattern); diff --git serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java index dda3c5f..1b708dd 100644 --- serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java +++ serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java @@ -528,7 +528,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ThriftTestObj struc struct.field3 = new ArrayList(_list0.size); for (int _i1 = 0; _i1 < _list0.size; ++_i1) { - InnerStruct _elem2; // optional + InnerStruct _elem2; // required _elem2 = new InnerStruct(); _elem2.read(iprot); struct.field3.add(_elem2); @@ -636,7 +636,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ThriftTestObj struct struct.field3 = new ArrayList(_list5.size); for (int _i6 = 0; _i6 < _list5.size; ++_i6) { - InnerStruct _elem7; // optional + InnerStruct _elem7; // required _elem7 = new InnerStruct(); _elem7.read(iprot); struct.field3.add(_elem7); diff --git serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java index ff0c1f2..07ea8b9 100644 --- serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java +++ serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java @@ -1211,7 +1211,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Complex struct) thr struct.lint = new ArrayList(_list18.size); for (int _i19 = 0; _i19 < _list18.size; ++_i19) { - int _elem20; // optional + int _elem20; // required _elem20 = iprot.readI32(); struct.lint.add(_elem20); } @@ -1229,7 +1229,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Complex struct) thr struct.lString = new ArrayList(_list21.size); for (int _i22 = 0; _i22 < _list21.size; ++_i22) { - String _elem23; // optional + String _elem23; // required _elem23 = iprot.readString(); struct.lString.add(_elem23); } @@ -1247,7 +1247,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Complex struct) thr struct.lintString = new ArrayList(_list24.size); for (int _i25 = 0; _i25 < _list24.size; ++_i25) { - IntString _elem26; // optional + IntString _elem26; // required _elem26 = new IntString(); _elem26.read(iprot); struct.lintString.add(_elem26); @@ -1610,7 +1610,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Complex struct) thro struct.lint = new ArrayList(_list57.size); for (int _i58 = 0; _i58 < _list57.size; ++_i58) { - int _elem59; // optional + int _elem59; // required _elem59 = iprot.readI32(); struct.lint.add(_elem59); } @@ -1623,7 +1623,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Complex struct) thro struct.lString = new ArrayList(_list60.size); for (int _i61 = 0; _i61 < _list60.size; ++_i61) { - String _elem62; // optional + String _elem62; // required _elem62 = iprot.readString(); struct.lString.add(_elem62); } @@ -1636,7 +1636,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Complex struct) thro struct.lintString = new ArrayList(_list63.size); for (int _i64 = 0; _i64 < _list63.size; ++_i64) { - IntString _elem65; // optional + IntString _elem65; // required _elem65 = new IntString(); _elem65.read(iprot); struct.lintString.add(_elem65); diff --git serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java index fba49e4..386fef9 100644 --- serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java +++ serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java @@ -2280,7 +2280,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, MegaStruct struct) _val19 = new ArrayList(_list20.size); for (int _i21 = 0; _i21 < _list20.size; ++_i21) { - String _elem22; // optional + String _elem22; // required _elem22 = iprot.readString(); _val19.add(_elem22); } @@ -2310,7 +2310,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, MegaStruct struct) _val26 = new ArrayList(_list27.size); for (int _i28 = 0; _i28 < _list27.size; ++_i28) { - MiniStruct _elem29; // optional + MiniStruct _elem29; // required _elem29 = new MiniStruct(); _elem29.read(iprot); _val26.add(_elem29); @@ -2333,7 +2333,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, MegaStruct struct) struct.my_stringlist = new ArrayList(_list30.size); for (int _i31 = 0; _i31 < _list30.size; ++_i31) { - String _elem32; // optional + String _elem32; // required _elem32 = iprot.readString(); struct.my_stringlist.add(_elem32); } @@ -2351,7 +2351,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, MegaStruct struct) struct.my_structlist = new ArrayList(_list33.size); for (int _i34 = 0; _i34 < _list33.size; ++_i34) { - MiniStruct _elem35; // optional + MiniStruct _elem35; // required _elem35 = new MiniStruct(); _elem35.read(iprot); struct.my_structlist.add(_elem35); @@ -2370,7 +2370,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, MegaStruct struct) struct.my_enumlist = new ArrayList(_list36.size); for (int _i37 = 0; _i37 < _list36.size; ++_i37) { - MyEnum _elem38; // optional + MyEnum _elem38; // required _elem38 = MyEnum.findByValue(iprot.readI32()); struct.my_enumlist.add(_elem38); } @@ -2388,7 +2388,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, MegaStruct struct) struct.my_stringset = new HashSet(2*_set39.size); for (int _i40 = 0; _i40 < _set39.size; ++_i40) { - String _elem41; // optional + String _elem41; // required _elem41 = iprot.readString(); struct.my_stringset.add(_elem41); } @@ -2406,7 +2406,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, MegaStruct struct) struct.my_enumset = new HashSet(2*_set42.size); for (int _i43 = 0; _i43 < _set42.size; ++_i43) { - MyEnum _elem44; // optional + MyEnum _elem44; // required _elem44 = MyEnum.findByValue(iprot.readI32()); struct.my_enumset.add(_elem44); } @@ -2424,7 +2424,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, MegaStruct struct) struct.my_structset = new HashSet(2*_set45.size); for (int _i46 = 0; _i46 < _set45.size; ++_i46) { - MiniStruct _elem47; // optional + MiniStruct _elem47; // required _elem47 = new MiniStruct(); _elem47.read(iprot); struct.my_structset.add(_elem47); @@ -3023,7 +3023,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, MegaStruct struct) t _val95 = new ArrayList(_list96.size); for (int _i97 = 0; _i97 < _list96.size; ++_i97) { - String _elem98; // optional + String _elem98; // required _elem98 = iprot.readString(); _val95.add(_elem98); } @@ -3047,7 +3047,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, MegaStruct struct) t _val102 = new ArrayList(_list103.size); for (int _i104 = 0; _i104 < _list103.size; ++_i104) { - MiniStruct _elem105; // optional + MiniStruct _elem105; // required _elem105 = new MiniStruct(); _elem105.read(iprot); _val102.add(_elem105); @@ -3064,7 +3064,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, MegaStruct struct) t struct.my_stringlist = new ArrayList(_list106.size); for (int _i107 = 0; _i107 < _list106.size; ++_i107) { - String _elem108; // optional + String _elem108; // required _elem108 = iprot.readString(); struct.my_stringlist.add(_elem108); } @@ -3077,7 +3077,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, MegaStruct struct) t struct.my_structlist = new ArrayList(_list109.size); for (int _i110 = 0; _i110 < _list109.size; ++_i110) { - MiniStruct _elem111; // optional + MiniStruct _elem111; // required _elem111 = new MiniStruct(); _elem111.read(iprot); struct.my_structlist.add(_elem111); @@ -3091,7 +3091,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, MegaStruct struct) t struct.my_enumlist = new ArrayList(_list112.size); for (int _i113 = 0; _i113 < _list112.size; ++_i113) { - MyEnum _elem114; // optional + MyEnum _elem114; // required _elem114 = MyEnum.findByValue(iprot.readI32()); struct.my_enumlist.add(_elem114); } @@ -3104,7 +3104,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, MegaStruct struct) t struct.my_stringset = new HashSet(2*_set115.size); for (int _i116 = 0; _i116 < _set115.size; ++_i116) { - String _elem117; // optional + String _elem117; // required _elem117 = iprot.readString(); struct.my_stringset.add(_elem117); } @@ -3117,7 +3117,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, MegaStruct struct) t struct.my_enumset = new HashSet(2*_set118.size); for (int _i119 = 0; _i119 < _set118.size; ++_i119) { - MyEnum _elem120; // optional + MyEnum _elem120; // required _elem120 = MyEnum.findByValue(iprot.readI32()); struct.my_enumset.add(_elem120); } @@ -3130,7 +3130,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, MegaStruct struct) t struct.my_structset = new HashSet(2*_set121.size); for (int _i122 = 0; _i122 < _set121.size; ++_i122) { - MiniStruct _elem123; // optional + MiniStruct _elem123; // required _elem123 = new MiniStruct(); _elem123.read(iprot); struct.my_structset.add(_elem123); diff --git serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java index a50a508..aa56dc9 100644 --- serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java +++ serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java @@ -300,7 +300,7 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip lString = new ArrayList(_list0.size); for (int _i1 = 0; _i1 < _list0.size; ++_i1) { - String _elem2; // optional + String _elem2; // required _elem2 = iprot.readString(); lString.add(_elem2); } @@ -423,7 +423,7 @@ protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot lString = new ArrayList(_list9.size); for (int _i10 = 0; _i10 < _list9.size; ++_i10) { - String _elem11; // optional + String _elem11; // required _elem11 = iprot.readString(); lString.add(_elem11); } diff --git serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java index 334d225..676f2b2 100644 --- serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java +++ serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java @@ -431,7 +431,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SetIntString struct struct.sIntString = new HashSet(2*_set82.size); for (int _i83 = 0; _i83 < _set82.size; ++_i83) { - IntString _elem84; // optional + IntString _elem84; // required _elem84 = new IntString(); _elem84.read(iprot); struct.sIntString.add(_elem84); @@ -530,7 +530,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, SetIntString struct) struct.sIntString = new HashSet(2*_set87.size); for (int _i88 = 0; _i88 < _set87.size; ++_i88) { - IntString _elem89; // optional + IntString _elem89; // required _elem89 = new IntString(); _elem89.read(iprot); struct.sIntString.add(_elem89); diff --git service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java index 1c44789..745e6cc 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java +++ service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java @@ -3023,7 +3023,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, fetchN_result struc struct.success = new ArrayList(_list0.size); for (int _i1 = 0; _i1 < _list0.size; ++_i1) { - String _elem2; // optional + String _elem2; // required _elem2 = iprot.readString(); struct.success.add(_elem2); } @@ -3122,7 +3122,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, fetchN_result struct struct.success = new ArrayList(_list5.size); for (int _i6 = 0; _i6 < _list5.size; ++_i6) { - String _elem7; // optional + String _elem7; // required _elem7 = iprot.readString(); struct.success.add(_elem7); } @@ -3785,7 +3785,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, fetchAll_result str struct.success = new ArrayList(_list8.size); for (int _i9 = 0; _i9 < _list8.size; ++_i9) { - String _elem10; // optional + String _elem10; // required _elem10 = iprot.readString(); struct.success.add(_elem10); } @@ -3884,7 +3884,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, fetchAll_result stru struct.success = new ArrayList(_list13.size); for (int _i14 = 0; _i14 < _list13.size; ++_i14) { - String _elem15; // optional + String _elem15; // required _elem15 = iprot.readString(); struct.success.add(_elem15); } diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBinaryColumn.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBinaryColumn.java index 6b1b054..1ac28a2 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBinaryColumn.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBinaryColumn.java @@ -451,7 +451,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TBinaryColumn struc struct.values = new ArrayList(_list110.size); for (int _i111 = 0; _i111 < _list110.size; ++_i111) { - ByteBuffer _elem112; // optional + ByteBuffer _elem112; // required _elem112 = iprot.readBinary(); struct.values.add(_elem112); } @@ -535,7 +535,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TBinaryColumn struct struct.values = new ArrayList(_list115.size); for (int _i116 = 0; _i116 < _list115.size; ++_i116) { - ByteBuffer _elem117; // optional + ByteBuffer _elem117; // required _elem117 = iprot.readBinary(); struct.values.add(_elem117); } diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java index efd571c..b2bda35 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java @@ -449,7 +449,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TBoolColumn struct) struct.values = new ArrayList(_list54.size); for (int _i55 = 0; _i55 < _list54.size; ++_i55) { - boolean _elem56; // optional + boolean _elem56; // required _elem56 = iprot.readBool(); struct.values.add(_elem56); } @@ -533,7 +533,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TBoolColumn struct) struct.values = new ArrayList(_list59.size); for (int _i60 = 0; _i60 < _list59.size; ++_i60) { - boolean _elem61; // optional + boolean _elem61; // required _elem61 = iprot.readBool(); struct.values.add(_elem61); } diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java index 169bfde..defdec0 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java @@ -449,7 +449,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TByteColumn struct) struct.values = new ArrayList(_list62.size); for (int _i63 = 0; _i63 < _list62.size; ++_i63) { - byte _elem64; // optional + byte _elem64; // required _elem64 = iprot.readByte(); struct.values.add(_elem64); } @@ -533,7 +533,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TByteColumn struct) struct.values = new ArrayList(_list67.size); for (int _i68 = 0; _i68 < _list67.size; ++_i68) { - byte _elem69; // optional + byte _elem69; // required _elem69 = iprot.readByte(); struct.values.add(_elem69); } diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java index 4fc5454..88926c8 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java @@ -449,7 +449,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TDoubleColumn struc struct.values = new ArrayList(_list94.size); for (int _i95 = 0; _i95 < _list94.size; ++_i95) { - double _elem96; // optional + double _elem96; // required _elem96 = iprot.readDouble(); struct.values.add(_elem96); } @@ -533,7 +533,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TDoubleColumn struct struct.values = new ArrayList(_list99.size); for (int _i100 = 0; _i100 < _list99.size; ++_i100) { - double _elem101; // optional + double _elem101; // required _elem101 = iprot.readDouble(); struct.values.add(_elem101); } diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java index c973fcc..d0c3059 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java @@ -715,7 +715,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TGetTablesReq struc struct.tableTypes = new ArrayList(_list172.size); for (int _i173 = 0; _i173 < _list172.size; ++_i173) { - String _elem174; // optional + String _elem174; // required _elem174 = iprot.readString(); struct.tableTypes.add(_elem174); } @@ -856,7 +856,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TGetTablesReq struct struct.tableTypes = new ArrayList(_list177.size); for (int _i178 = 0; _i178 < _list177.size; ++_i178) { - String _elem179; // optional + String _elem179; // required _elem179 = iprot.readString(); struct.tableTypes.add(_elem179); } diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java index c836630..e997bd9 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java @@ -449,7 +449,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TI16Column struct) struct.values = new ArrayList(_list70.size); for (int _i71 = 0; _i71 < _list70.size; ++_i71) { - short _elem72; // optional + short _elem72; // required _elem72 = iprot.readI16(); struct.values.add(_elem72); } @@ -533,7 +533,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TI16Column struct) t struct.values = new ArrayList(_list75.size); for (int _i76 = 0; _i76 < _list75.size; ++_i76) { - short _elem77; // optional + short _elem77; // required _elem77 = iprot.readI16(); struct.values.add(_elem77); } diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java index 6c6c5f3..3cdd2a5 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java @@ -449,7 +449,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TI32Column struct) struct.values = new ArrayList(_list78.size); for (int _i79 = 0; _i79 < _list78.size; ++_i79) { - int _elem80; // optional + int _elem80; // required _elem80 = iprot.readI32(); struct.values.add(_elem80); } @@ -533,7 +533,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TI32Column struct) t struct.values = new ArrayList(_list83.size); for (int _i84 = 0; _i84 < _list83.size; ++_i84) { - int _elem85; // optional + int _elem85; // required _elem85 = iprot.readI32(); struct.values.add(_elem85); } diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java index cc383ed..c8fc41f 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java @@ -449,7 +449,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TI64Column struct) struct.values = new ArrayList(_list86.size); for (int _i87 = 0; _i87 < _list86.size; ++_i87) { - long _elem88; // optional + long _elem88; // required _elem88 = iprot.readI64(); struct.values.add(_elem88); } @@ -533,7 +533,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TI64Column struct) t struct.values = new ArrayList(_list91.size); for (int _i92 = 0; _i92 < _list91.size; ++_i92) { - long _elem93; // optional + long _elem93; // required _elem93 = iprot.readI64(); struct.values.add(_elem93); } diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java index a44cfb0..8e58aa5 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java @@ -354,7 +354,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TRow struct) throws struct.colVals = new ArrayList(_list46.size); for (int _i47 = 0; _i47 < _list46.size; ++_i47) { - TColumnValue _elem48; // optional + TColumnValue _elem48; // required _elem48 = new TColumnValue(); _elem48.read(iprot); struct.colVals.add(_elem48); @@ -425,7 +425,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TRow struct) throws struct.colVals = new ArrayList(_list51.size); for (int _i52 = 0; _i52 < _list51.size; ++_i52) { - TColumnValue _elem53; // optional + TColumnValue _elem53; // required _elem53 = new TColumnValue(); _elem53.read(iprot); struct.colVals.add(_elem53); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java index d16c8a4..4bb5749 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java @@ -549,7 +549,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TRowSet struct) thr struct.rows = new ArrayList(_list118.size); for (int _i119 = 0; _i119 < _list118.size; ++_i119) { - TRow _elem120; // optional + TRow _elem120; // required _elem120 = new TRow(); _elem120.read(iprot); struct.rows.add(_elem120); @@ -568,7 +568,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TRowSet struct) thr struct.columns = new ArrayList(_list121.size); for (int _i122 = 0; _i122 < _list121.size; ++_i122) { - TColumn _elem123; // optional + TColumn _elem123; // required _elem123 = new TColumn(); _elem123.read(iprot); struct.columns.add(_elem123); @@ -673,7 +673,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TRowSet struct) thro struct.rows = new ArrayList(_list128.size); for (int _i129 = 0; _i129 < _list128.size; ++_i129) { - TRow _elem130; // optional + TRow _elem130; // required _elem130 = new TRow(); _elem130.read(iprot); struct.rows.add(_elem130); @@ -687,7 +687,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TRowSet struct) thro struct.columns = new ArrayList(_list131.size); for (int _i132 = 0; _i132 < _list131.size; ++_i132) { - TColumn _elem133; // optional + TColumn _elem133; // required _elem133 = new TColumn(); _elem133.read(iprot); struct.columns.add(_elem133); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java index 24a746e..cb5010f 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java @@ -698,7 +698,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TStatus struct) thr struct.infoMessages = new ArrayList(_list134.size); for (int _i135 = 0; _i135 < _list134.size; ++_i135) { - String _elem136; // optional + String _elem136; // required _elem136 = iprot.readString(); struct.infoMessages.add(_elem136); } @@ -848,7 +848,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TStatus struct) thro struct.infoMessages = new ArrayList(_list139.size); for (int _i140 = 0; _i140 < _list139.size; ++_i140) { - String _elem141; // optional + String _elem141; // required _elem141 = iprot.readString(); struct.infoMessages.add(_elem141); } diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java index 3dae460..5398056 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java @@ -449,7 +449,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TStringColumn struc struct.values = new ArrayList(_list102.size); for (int _i103 = 0; _i103 < _list102.size; ++_i103) { - String _elem104; // optional + String _elem104; // required _elem104 = iprot.readString(); struct.values.add(_elem104); } @@ -533,7 +533,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TStringColumn struct struct.values = new ArrayList(_list107.size); for (int _i108 = 0; _i108 < _list107.size; ++_i108) { - String _elem109; // optional + String _elem109; // required _elem109 = iprot.readString(); struct.values.add(_elem109); } diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java index ff5e54d..e2882c2 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java @@ -354,7 +354,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TTableSchema struct struct.columns = new ArrayList(_list38.size); for (int _i39 = 0; _i39 < _list38.size; ++_i39) { - TColumnDesc _elem40; // optional + TColumnDesc _elem40; // required _elem40 = new TColumnDesc(); _elem40.read(iprot); struct.columns.add(_elem40); @@ -425,7 +425,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TTableSchema struct) struct.columns = new ArrayList(_list43.size); for (int _i44 = 0; _i44 < _list43.size; ++_i44) { - TColumnDesc _elem45; // optional + TColumnDesc _elem45; // required _elem45 = new TColumnDesc(); _elem45.read(iprot); struct.columns.add(_elem45); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java index 251f86a..d6a6d23 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java @@ -354,7 +354,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TTypeDesc struct) t struct.types = new ArrayList(_list30.size); for (int _i31 = 0; _i31 < _list30.size; ++_i31) { - TTypeEntry _elem32; // optional + TTypeEntry _elem32; // required _elem32 = new TTypeEntry(); _elem32.read(iprot); struct.types.add(_elem32); @@ -425,7 +425,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TTypeDesc struct) th struct.types = new ArrayList(_list35.size); for (int _i36 = 0; _i36 < _list35.size; ++_i36) { - TTypeEntry _elem37; // optional + TTypeEntry _elem37; // required _elem37 = new TTypeEntry(); _elem37.read(iprot); struct.types.add(_elem37); diff --git service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote old mode 100644 new mode 100755 diff --git service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote old mode 100644 new mode 100755